@esri/calcite-components 1.3.2-next.0 → 1.3.2-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-d11d3e40.entry.js → p-01c8fedf.entry.js} +2 -2
- package/dist/calcite/{p-4d6e515d.entry.js → p-01e3a451.entry.js} +2 -2
- package/dist/calcite/{p-cdee250a.entry.js → p-028522ec.entry.js} +2 -2
- package/dist/calcite/p-0598bda0.entry.js +6 -0
- package/dist/calcite/{p-052d1097.entry.js → p-05a3b620.entry.js} +2 -2
- package/dist/calcite/{p-b0338d61.js → p-0a01d398.js} +1 -1
- package/dist/calcite/{p-33b7a885.js → p-0a40a73d.js} +2 -2
- package/dist/calcite/{p-4ff78dd2.entry.js → p-0d660f74.entry.js} +2 -2
- package/dist/calcite/p-131494b9.js +6 -0
- package/dist/calcite/{p-cb9aa3d4.entry.js → p-2f2e66f6.entry.js} +2 -2
- package/dist/calcite/{p-51e8b61e.js → p-2fe0978d.js} +2 -2
- package/dist/calcite/{p-60437ce0.js → p-33b448b3.js} +1 -1
- package/dist/calcite/{p-2be2e2d5.entry.js → p-3501bf04.entry.js} +2 -2
- package/dist/calcite/{p-04daaa9e.entry.js → p-36b4feb4.entry.js} +2 -2
- package/dist/calcite/{p-22262caf.js → p-36e1b89c.js} +2 -2
- package/dist/calcite/{p-713aa6e5.entry.js → p-37f005c3.entry.js} +2 -2
- package/dist/calcite/p-3d712f5b.entry.js +6 -0
- package/dist/calcite/{p-2bbdee31.entry.js → p-3dedcad6.entry.js} +2 -2
- package/dist/calcite/{p-ef7d634c.entry.js → p-4026a322.entry.js} +2 -2
- package/dist/calcite/p-42bab940.entry.js +6 -0
- package/dist/calcite/{p-4602c221.js → p-4b27807a.js} +2 -2
- package/dist/calcite/{p-f9ee8fda.entry.js → p-51c0cb87.entry.js} +2 -2
- package/dist/calcite/{p-05d6b36a.js → p-589510ea.js} +1 -1
- package/dist/calcite/p-5df6d828.entry.js +6 -0
- package/dist/calcite/{p-f040a23e.entry.js → p-5f661243.entry.js} +2 -2
- package/dist/calcite/{p-c2c180f5.entry.js → p-63e1c5bf.entry.js} +2 -2
- package/dist/calcite/{p-b7a28eb1.entry.js → p-66647e6d.entry.js} +2 -2
- package/dist/calcite/{p-51056c71.entry.js → p-6d2b6c69.entry.js} +2 -2
- package/dist/calcite/{p-09c3fb35.js → p-6d41bea9.js} +1 -1
- package/dist/calcite/{p-c735656c.js → p-710e3d87.js} +2 -2
- package/dist/calcite/{p-2f3c1323.entry.js → p-72de9a1f.entry.js} +2 -2
- package/dist/calcite/{p-d333ca1c.js → p-737634a4.js} +1 -1
- package/dist/calcite/{p-364370e6.entry.js → p-7784d895.entry.js} +2 -2
- package/dist/calcite/{p-8f84d4bc.js → p-798c7402.js} +1 -1
- package/dist/calcite/p-7e1e4b42.entry.js +6 -0
- package/dist/calcite/{p-6572b82e.js → p-7f471c9a.js} +1 -1
- package/dist/calcite/{p-16ee0934.js → p-826b0e60.js} +1 -1
- package/dist/calcite/{p-71c9f9e9.js → p-82b4c33d.js} +2 -2
- package/dist/calcite/{p-9e82d696.js → p-83836d53.js} +3 -3
- package/dist/calcite/{p-9c66dcc7.js → p-85f7f790.js} +1 -1
- package/dist/calcite/p-8aa50184.entry.js +6 -0
- package/dist/calcite/p-8b158eee.entry.js +6 -0
- package/dist/calcite/{p-0e1d008b.entry.js → p-8c8e5de0.entry.js} +2 -2
- package/dist/calcite/{p-bf820006.entry.js → p-90089585.entry.js} +2 -2
- package/dist/calcite/{p-87b8083d.entry.js → p-92a60dbb.entry.js} +2 -2
- package/dist/calcite/{p-b7a40c30.js → p-953e16f4.js} +1 -1
- package/dist/calcite/{p-4dd23f83.entry.js → p-96be7ffd.entry.js} +2 -2
- package/dist/calcite/{p-e3a7e244.entry.js → p-973db802.entry.js} +2 -2
- package/dist/calcite/p-978422b7.entry.js +6 -0
- package/dist/calcite/p-979f7b48.js +6 -0
- package/dist/calcite/p-97e35e4c.entry.js +6 -0
- package/dist/calcite/{p-7d9cccfb.entry.js → p-9b6c5890.entry.js} +2 -2
- package/dist/calcite/{p-54e2a078.js → p-9c8d9667.js} +1 -1
- package/dist/calcite/{p-c1c8b042.entry.js → p-a02f229f.entry.js} +2 -2
- package/dist/calcite/{p-aeff41ec.entry.js → p-a2cbf797.entry.js} +2 -2
- package/dist/calcite/{p-15bba971.entry.js → p-a674865e.entry.js} +2 -2
- package/dist/calcite/{p-06716c2a.entry.js → p-a68f17f2.entry.js} +2 -2
- package/dist/calcite/{p-86a59bd5.entry.js → p-acd46f4e.entry.js} +2 -2
- package/dist/calcite/{p-ee73b30b.js → p-b5580140.js} +1 -1
- package/dist/calcite/{p-f2cfcce9.entry.js → p-b78764b4.entry.js} +2 -2
- package/dist/calcite/p-ba26ad24.js +6 -0
- package/dist/calcite/{p-606315c8.js → p-ba52567c.js} +2 -2
- package/dist/calcite/{p-638546c1.entry.js → p-baa9ef47.entry.js} +2 -2
- package/dist/calcite/{p-eeeb7f8c.js → p-bf0a9b58.js} +1 -1
- package/dist/calcite/{p-b4d8b254.entry.js → p-c3993b7a.entry.js} +2 -2
- package/dist/calcite/{p-d808f040.entry.js → p-c43f8385.entry.js} +2 -2
- package/dist/calcite/p-c48edec5.js +6 -0
- package/dist/calcite/{p-72941e8b.entry.js → p-c6468b20.entry.js} +2 -2
- package/dist/calcite/{p-bbe0d61a.entry.js → p-c6a55def.entry.js} +2 -2
- package/dist/calcite/{p-ddc29476.entry.js → p-c6e6e982.entry.js} +2 -2
- package/dist/calcite/{p-3471f08e.entry.js → p-c7cc0a15.entry.js} +2 -2
- package/dist/calcite/{p-8582e5c8.entry.js → p-ca31fd0e.entry.js} +2 -2
- package/dist/calcite/{p-59a99bd9.entry.js → p-caa17c16.entry.js} +2 -2
- package/dist/calcite/{p-a35ab2d9.entry.js → p-cb37cfa3.entry.js} +2 -2
- package/dist/calcite/{p-cf8625a9.js → p-cb3daeec.js} +1 -1
- package/dist/calcite/{p-358df66d.entry.js → p-cdb17471.entry.js} +2 -2
- package/dist/calcite/{p-73825804.entry.js → p-cdba0ca7.entry.js} +2 -2
- package/dist/calcite/p-cdcb9e9c.js +6 -0
- package/dist/calcite/{p-d5bf1eaa.entry.js → p-cf8fc052.entry.js} +2 -2
- package/dist/calcite/{p-73a72a8e.entry.js → p-d02ffe0b.entry.js} +2 -2
- package/dist/calcite/{p-7642fd42.entry.js → p-d1e863af.entry.js} +2 -2
- package/dist/calcite/{p-58b6d432.entry.js → p-d531ba8a.entry.js} +2 -2
- package/dist/calcite/{p-71573f04.js → p-daa9a63e.js} +1 -1
- package/dist/calcite/{p-4795c77a.entry.js → p-dbd279b6.entry.js} +2 -2
- package/dist/calcite/p-e0158650.js +6 -0
- package/dist/calcite/{p-e22cc436.js → p-e06969bd.js} +2 -2
- package/dist/calcite/{p-f929831d.entry.js → p-e4ec929c.entry.js} +2 -2
- package/dist/calcite/{p-0361b565.entry.js → p-e6338c12.entry.js} +2 -2
- package/dist/calcite/{p-112a9b8c.entry.js → p-e71e7b23.entry.js} +2 -2
- package/dist/calcite/{p-cd3fc93d.entry.js → p-e8b110d2.entry.js} +2 -2
- package/dist/calcite/{p-fcea38ae.entry.js → p-eb8e22d6.entry.js} +2 -2
- package/dist/calcite/{p-1ce55251.entry.js → p-eca7c6f5.entry.js} +2 -2
- package/dist/calcite/{p-365f62cf.js → p-ee1fa110.js} +1 -1
- package/dist/calcite/{p-238e3845.js → p-f36afd78.js} +1 -1
- package/dist/calcite/{p-d33e751c.js → p-f96ba1ba.js} +2 -2
- package/dist/calcite/{p-94d4f54e.js → p-fb158b31.js} +2 -2
- package/dist/cjs/{ExpandToggle-d078b471.js → ExpandToggle-d31f578d.js} +5 -5
- package/dist/cjs/FloatingArrow-5f8aadd9.js +45 -0
- package/dist/cjs/{Heading-b49d5be3.js → Heading-39312b27.js} +2 -2
- package/dist/cjs/{app-globals-b14a6221.js → app-globals-809155e1.js} +2 -2
- package/dist/cjs/{array-c80e86cd.js → array-9ede7139.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +21 -21
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +14 -14
- 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-c90149c9.js → composed-offset-position.esm-f2a438f2.js} +1 -1
- package/dist/cjs/{conditionalSlot-479f9ad2.js → conditionalSlot-89dd1b13.js} +3 -3
- package/dist/cjs/{debounce-4f008c84.js → debounce-91a61a04.js} +1 -1
- package/dist/cjs/{dom-6b4505c6.js → dom-db3c5f37.js} +3 -3
- package/dist/cjs/{filter-457056de.js → filter-8b3fa394.js} +2 -2
- package/dist/cjs/{floating-ui-05417f36.js → floating-ui-9b71954c.js} +48 -13
- package/dist/cjs/{focusTrapComponent-c2139283.js → focusTrapComponent-295c3d5f.js} +2 -2
- package/dist/cjs/{form-5abb1df9.js → form-15c41be4.js} +3 -3
- package/dist/cjs/{guid-acc82603.js → guid-f62420ef.js} +1 -1
- package/dist/cjs/{index-988cfb9e.js → index-a4701abc.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-4befcd71.js → interactive-dddb9446.js} +1 -1
- package/dist/cjs/{key-dfc689eb.js → key-1164152c.js} +1 -1
- package/dist/cjs/{label-26cc2382.js → label-17c2070b.js} +2 -2
- package/dist/cjs/{loadable-7cee5ce4.js → loadable-f75b12eb.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-85891003.js → locale-64833313.js} +4 -4
- package/dist/cjs/{math-243fd44c.js → math-4f32d1e9.js} +1 -1
- package/dist/cjs/{observers-5af76dd4.js → observers-d0fed7a3.js} +1 -1
- package/dist/cjs/{openCloseComponent-d04c9de7.js → openCloseComponent-711564e2.js} +2 -2
- package/dist/cjs/{resources-5ccc6596.js → resources-07297d7b.js} +1 -1
- package/dist/cjs/{resources-c62f161b.js → resources-11051685.js} +1 -1
- package/dist/cjs/{resources-07883251.js → resources-8847bfbd.js} +1 -1
- package/dist/cjs/{resources-50caac1e.js → resources-b7b567ef.js} +5 -5
- package/dist/cjs/{resources-e3eea8b1.js → resources-bf8e95a7.js} +1 -1
- package/dist/cjs/{resources-c2911608.js → resources-fb8d8acd.js} +1 -1
- package/dist/cjs/{sortable.esm-a70bb8fd.js → sortable.esm-58b606b1.js} +1 -1
- package/dist/cjs/{t9n-b6587056.js → t9n-d5968ce8.js} +3 -3
- package/dist/cjs/{throttle-7ec820d2.js → throttle-8ab55e30.js} +2 -2
- package/dist/cjs/{utils-a24cf55d.js → utils-7f35c955.js} +3 -3
- package/dist/cjs/{utils-478d3c95.js → utils-cfc508a0.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +38 -0
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.css +5 -35
- package/dist/collection/components/popover/popover.js +7 -5
- package/dist/collection/components/popover/resources.js +1 -2
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +2 -3
- package/dist/collection/components/tooltip/tooltip.css +5 -34
- package/dist/collection/components/tooltip/tooltip.js +7 -5
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +45 -10
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +43 -0
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +45 -10
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +8 -7
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +8 -7
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-c8468e94.js → ExpandToggle-95c932bf.js} +5 -5
- package/dist/esm/FloatingArrow-02a2ef0c.js +43 -0
- package/dist/esm/{Heading-227fc5d2.js → Heading-244cb834.js} +2 -2
- package/dist/esm/{app-globals-77191fcf.js → app-globals-3724cb01.js} +2 -2
- package/dist/esm/{array-0d557fd8.js → array-eb7e6e5e.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +14 -14
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +12 -12
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +21 -21
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +14 -14
- 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-86171ace.js → composed-offset-position.esm-a2d8351c.js} +1 -1
- package/dist/esm/{conditionalSlot-181dc3b0.js → conditionalSlot-f9d5977f.js} +3 -3
- package/dist/esm/{debounce-35321fb2.js → debounce-a14fc0cd.js} +1 -1
- package/dist/esm/{dom-27306953.js → dom-a93adf14.js} +3 -3
- package/dist/esm/{filter-3640de15.js → filter-51ef5dff.js} +2 -2
- package/dist/esm/{floating-ui-231be115.js → floating-ui-db0cf258.js} +48 -13
- package/dist/esm/{focusTrapComponent-db169b98.js → focusTrapComponent-3d0d454f.js} +2 -2
- package/dist/esm/{form-1a0df3da.js → form-3fd76cf2.js} +3 -3
- package/dist/esm/{guid-c2fcf47b.js → guid-0bdb468f.js} +1 -1
- package/dist/esm/{index-fbb9d8c3.js → index-8f8f3220.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-0de960ae.js → interactive-0fff7f67.js} +1 -1
- package/dist/esm/{key-cdc437c9.js → key-af4e57ef.js} +1 -1
- package/dist/esm/{label-f6fe62f5.js → label-2325b9fa.js} +2 -2
- package/dist/esm/{loadable-c32ddac6.js → loadable-5a821483.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-129fa34e.js → locale-a8d14d38.js} +4 -4
- package/dist/esm/{math-f12efc72.js → math-023c6c41.js} +1 -1
- package/dist/esm/{observers-c750d333.js → observers-4eeeb055.js} +1 -1
- package/dist/esm/{openCloseComponent-d461b2e6.js → openCloseComponent-6ce95d5c.js} +2 -2
- package/dist/esm/{resources-2cb51007.js → resources-0013cd58.js} +1 -1
- package/dist/esm/{resources-87b924bf.js → resources-16593efc.js} +1 -1
- package/dist/esm/{resources-17ce21f6.js → resources-3ee227ee.js} +1 -1
- package/dist/esm/{resources-8ed1f607.js → resources-9adfec0c.js} +5 -5
- package/dist/esm/{resources-ce1c60f3.js → resources-bc3be5a2.js} +1 -1
- package/dist/esm/{resources-8622e0ff.js → resources-dbc2c84a.js} +1 -1
- package/dist/esm/{sortable.esm-989c4c14.js → sortable.esm-0075641b.js} +1 -1
- package/dist/esm/{t9n-0f60c48c.js → t9n-816eca76.js} +3 -3
- package/dist/esm/{throttle-5733523e.js → throttle-3a2c7956.js} +2 -2
- package/dist/esm/{utils-947fc225.js → utils-a96c7252.js} +1 -1
- package/dist/esm/{utils-76dd7c99.js → utils-b935c023.js} +3 -3
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/functional/FloatingArrow.d.ts +20 -0
- package/dist/types/components/popover/popover.d.ts +4 -3
- package/dist/types/components/popover/resources.d.ts +0 -1
- package/dist/types/components/tooltip/resources.d.ts +0 -1
- package/dist/types/components/tooltip/tooltip.d.ts +3 -2
- package/dist/types/utils/floating-ui.d.ts +40 -5
- package/hydrate/index.js +397 -327
- package/package.json +4 -4
- package/dist/calcite/p-066207ef.entry.js +0 -6
- package/dist/calcite/p-0cc526bd.entry.js +0 -6
- package/dist/calcite/p-10d23cc8.js +0 -6
- package/dist/calcite/p-21ebbaab.js +0 -6
- package/dist/calcite/p-261ebfa1.js +0 -6
- package/dist/calcite/p-337b6c63.js +0 -6
- package/dist/calcite/p-3f73f4c1.entry.js +0 -6
- package/dist/calcite/p-42bc55f1.js +0 -6
- package/dist/calcite/p-44868671.entry.js +0 -6
- package/dist/calcite/p-482930d1.entry.js +0 -6
- package/dist/calcite/p-96ba4514.entry.js +0 -6
- package/dist/calcite/p-c14f4664.entry.js +0 -6
- package/dist/calcite/p-c8c48679.entry.js +0 -6
- package/dist/calcite/p-e578946f.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.3.2-next.
|
|
4
|
+
* v1.3.2-next.1
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6782,7 +6782,7 @@ const SLOTS$v = {
|
|
|
6782
6782
|
actionsStart: "actions-start",
|
|
6783
6783
|
actionsEnd: "actions-end"
|
|
6784
6784
|
};
|
|
6785
|
-
const CSS$
|
|
6785
|
+
const CSS$_ = {
|
|
6786
6786
|
icon: "icon",
|
|
6787
6787
|
header: "header",
|
|
6788
6788
|
headerContent: "header-content",
|
|
@@ -6853,28 +6853,28 @@ class AccordionItem {
|
|
|
6853
6853
|
// --------------------------------------------------------------------------
|
|
6854
6854
|
renderActionsStart() {
|
|
6855
6855
|
const { el } = this;
|
|
6856
|
-
return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS$
|
|
6856
|
+
return getSlotted(el, SLOTS$v.actionsStart) ? (hAsync("div", { class: CSS$_.actionsStart }, hAsync("slot", { name: SLOTS$v.actionsStart }))) : null;
|
|
6857
6857
|
}
|
|
6858
6858
|
renderActionsEnd() {
|
|
6859
6859
|
const { el } = this;
|
|
6860
|
-
return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
6860
|
+
return getSlotted(el, SLOTS$v.actionsEnd) ? (hAsync("div", { class: CSS$_.actionsEnd }, hAsync("slot", { name: SLOTS$v.actionsEnd }))) : null;
|
|
6861
6861
|
}
|
|
6862
6862
|
render() {
|
|
6863
6863
|
const { iconFlipRtl } = this;
|
|
6864
6864
|
const dir = getElementDir(this.el);
|
|
6865
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
6866
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
6865
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$_.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6866
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$_.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6867
6867
|
const { description } = this;
|
|
6868
6868
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6869
6869
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6870
6870
|
[`icon-type--${this.iconType}`]: true
|
|
6871
|
-
} }, hAsync("div", { class: { [CSS$
|
|
6871
|
+
} }, hAsync("div", { class: { [CSS$_.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$_.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$_.headerContainer }, iconStartEl, hAsync("div", { class: CSS$_.headerText }, hAsync("span", { class: CSS$_.heading }, this.heading), description ? hAsync("span", { class: CSS$_.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$_.expandIcon, icon: this.iconType === "chevron"
|
|
6872
6872
|
? "chevronDown"
|
|
6873
6873
|
: this.iconType === "caret"
|
|
6874
6874
|
? "caretDown"
|
|
6875
6875
|
: this.expanded
|
|
6876
6876
|
? "minus"
|
|
6877
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
6877
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$_.content }, hAsync("slot", null)))));
|
|
6878
6878
|
}
|
|
6879
6879
|
//--------------------------------------------------------------------------
|
|
6880
6880
|
//
|
|
@@ -7662,7 +7662,7 @@ function defaultOnMessagesChange() {
|
|
|
7662
7662
|
mergeMessages(this);
|
|
7663
7663
|
}
|
|
7664
7664
|
|
|
7665
|
-
const CSS$
|
|
7665
|
+
const CSS$Z = {
|
|
7666
7666
|
button: "button",
|
|
7667
7667
|
buttonTextVisible: "button--text-visible",
|
|
7668
7668
|
buttonCompact: "button--compact",
|
|
@@ -7771,14 +7771,14 @@ class Action {
|
|
|
7771
7771
|
renderTextContainer() {
|
|
7772
7772
|
const { text, textEnabled } = this;
|
|
7773
7773
|
const textContainerClasses = {
|
|
7774
|
-
[CSS$
|
|
7775
|
-
[CSS$
|
|
7774
|
+
[CSS$Z.textContainer]: true,
|
|
7775
|
+
[CSS$Z.textContainerVisible]: textEnabled
|
|
7776
7776
|
};
|
|
7777
7777
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
7778
7778
|
}
|
|
7779
7779
|
renderIndicatorText() {
|
|
7780
7780
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
7781
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
7781
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$Z.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
7782
7782
|
}
|
|
7783
7783
|
renderIconContainer() {
|
|
7784
7784
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -7789,18 +7789,18 @@ class Action {
|
|
|
7789
7789
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
7790
7790
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
7791
7791
|
const slotContainerNode = (hAsync("div", { class: {
|
|
7792
|
-
[CSS$
|
|
7793
|
-
[CSS$
|
|
7792
|
+
[CSS$Z.slotContainer]: true,
|
|
7793
|
+
[CSS$Z.slotContainerHidden]: loading
|
|
7794
7794
|
} }, hAsync("slot", null)));
|
|
7795
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
7795
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$Z.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
7796
7796
|
}
|
|
7797
7797
|
render() {
|
|
7798
7798
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages } = this;
|
|
7799
7799
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
7800
7800
|
const buttonClasses = {
|
|
7801
|
-
[CSS$
|
|
7802
|
-
[CSS$
|
|
7803
|
-
[CSS$
|
|
7801
|
+
[CSS$Z.button]: true,
|
|
7802
|
+
[CSS$Z.buttonTextVisible]: textEnabled,
|
|
7803
|
+
[CSS$Z.buttonCompact]: compact
|
|
7804
7804
|
};
|
|
7805
7805
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId,
|
|
7806
7806
|
// eslint-disable-next-line react/jsx-sort-props
|
|
@@ -9113,7 +9113,7 @@ const ICONS$h = {
|
|
|
9113
9113
|
menu: "ellipsis"
|
|
9114
9114
|
};
|
|
9115
9115
|
|
|
9116
|
-
const CSS$
|
|
9116
|
+
const CSS$Y = {
|
|
9117
9117
|
menu: "menu",
|
|
9118
9118
|
defaultTrigger: "default-trigger"
|
|
9119
9119
|
};
|
|
@@ -9215,7 +9215,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
9215
9215
|
return actionNode;
|
|
9216
9216
|
};
|
|
9217
9217
|
|
|
9218
|
-
const CSS$
|
|
9218
|
+
const CSS$X = {
|
|
9219
9219
|
actionGroupBottom: "action-group--bottom"
|
|
9220
9220
|
};
|
|
9221
9221
|
const SLOTS$r = {
|
|
@@ -9403,7 +9403,7 @@ class ActionBar {
|
|
|
9403
9403
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9404
9404
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9405
9405
|
ref: this.setExpandToggleRef })) : null;
|
|
9406
|
-
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9406
|
+
return getSlotted(el, SLOTS$r.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$X.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$r.bottomActions }), hAsync("slot", { name: SLOTS$r.expandTooltip }), expandToggleNode)) : null;
|
|
9407
9407
|
}
|
|
9408
9408
|
render() {
|
|
9409
9409
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
|
@@ -9809,7 +9809,7 @@ class ActionMenu {
|
|
|
9809
9809
|
}
|
|
9810
9810
|
renderMenuButton() {
|
|
9811
9811
|
const { label, scale, expanded } = this;
|
|
9812
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
9812
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$Y.defaultTrigger, icon: ICONS$g.menu, scale: scale, text: label, textEnabled: expanded,
|
|
9813
9813
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9814
9814
|
ref: this.setDefaultMenuButtonEl })));
|
|
9815
9815
|
return menuButtonSlot;
|
|
@@ -9818,7 +9818,7 @@ class ActionMenu {
|
|
|
9818
9818
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
9819
9819
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
9820
9820
|
const activeDescendantId = activeAction?.id || null;
|
|
9821
|
-
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
9821
|
+
return (hAsync("calcite-popover", { flipPlacements: flipPlacements, focusTrapDisabled: true, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, pointerDisabled: true, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$Y.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9822
9822
|
}
|
|
9823
9823
|
render() {
|
|
9824
9824
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -9854,7 +9854,7 @@ class ActionMenu {
|
|
|
9854
9854
|
}; }
|
|
9855
9855
|
}
|
|
9856
9856
|
|
|
9857
|
-
const CSS$
|
|
9857
|
+
const CSS$W = {
|
|
9858
9858
|
actionGroupBottom: "action-group--bottom",
|
|
9859
9859
|
container: "container"
|
|
9860
9860
|
};
|
|
@@ -9974,10 +9974,10 @@ class ActionPad {
|
|
|
9974
9974
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, scale: scale, toggle: toggleExpand, tooltip: tooltip,
|
|
9975
9975
|
// eslint-disable-next-line react/jsx-sort-props
|
|
9976
9976
|
ref: this.setExpandToggleRef })) : null;
|
|
9977
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9977
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$W.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
9978
9978
|
}
|
|
9979
9979
|
render() {
|
|
9980
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
9980
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$W.container }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup())));
|
|
9981
9981
|
}
|
|
9982
9982
|
static get delegatesFocus() { return true; }
|
|
9983
9983
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -10113,7 +10113,7 @@ const SLOTS$p = {
|
|
|
10113
10113
|
message: "message",
|
|
10114
10114
|
link: "link"
|
|
10115
10115
|
};
|
|
10116
|
-
const CSS$
|
|
10116
|
+
const CSS$V = {
|
|
10117
10117
|
actionsEnd: "actions-end",
|
|
10118
10118
|
container: "container",
|
|
10119
10119
|
close: "alert-close",
|
|
@@ -10271,10 +10271,10 @@ class Alert {
|
|
|
10271
10271
|
container: true,
|
|
10272
10272
|
queued,
|
|
10273
10273
|
[placement]: true,
|
|
10274
|
-
[CSS$
|
|
10274
|
+
[CSS$V.slottedInShell]: this.slottedInShell
|
|
10275
10275
|
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null,
|
|
10276
10276
|
// eslint-disable-next-line react/jsx-sort-props
|
|
10277
|
-
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$
|
|
10277
|
+
ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$p.title }), hAsync("slot", { name: SLOTS$p.message }), hAsync("slot", { name: SLOTS$p.link })), hAsync("div", { class: CSS$V.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10278
10278
|
}
|
|
10279
10279
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10280
10280
|
alertSync(event) {
|
|
@@ -10649,7 +10649,7 @@ const Heading = (props, children) => {
|
|
|
10649
10649
|
return hAsync(HeadingTag, { ...props }, children);
|
|
10650
10650
|
};
|
|
10651
10651
|
|
|
10652
|
-
const CSS$
|
|
10652
|
+
const CSS$U = {
|
|
10653
10653
|
container: "container",
|
|
10654
10654
|
content: "content",
|
|
10655
10655
|
headerContainer: "header-container",
|
|
@@ -10760,31 +10760,31 @@ class Block {
|
|
|
10760
10760
|
const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
|
|
10761
10761
|
const hasIcon = getSlotted(el, SLOTS$o.icon) || statusIcon;
|
|
10762
10762
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$o.icon })) : (hAsync("calcite-icon", { class: {
|
|
10763
|
-
[CSS$
|
|
10764
|
-
[CSS$
|
|
10765
|
-
[CSS$
|
|
10766
|
-
[CSS$
|
|
10763
|
+
[CSS$U.statusIcon]: true,
|
|
10764
|
+
[CSS$U.valid]: status == "valid",
|
|
10765
|
+
[CSS$U.invalid]: status == "invalid",
|
|
10766
|
+
[CSS$U.loading]: showingLoadingStatus
|
|
10767
10767
|
}, icon: statusIcon, scale: "m" }));
|
|
10768
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
10768
|
+
return hasIcon ? hAsync("div", { class: CSS$U.icon }, iconEl) : null;
|
|
10769
10769
|
}
|
|
10770
10770
|
renderTitle() {
|
|
10771
10771
|
const { heading, headingLevel, description } = this;
|
|
10772
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
10772
|
+
return heading || description ? (hAsync("div", { class: CSS$U.title }, hAsync(Heading, { class: CSS$U.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$U.description }, description) : null)) : null;
|
|
10773
10773
|
}
|
|
10774
10774
|
render() {
|
|
10775
10775
|
const { collapsible, el, loading, open, messages } = this;
|
|
10776
10776
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
10777
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
10777
|
+
const headerContent = (hAsync("header", { class: CSS$U.header }, this.renderIcon(), this.renderTitle()));
|
|
10778
10778
|
const hasControl = !!getSlotted(el, SLOTS$o.control);
|
|
10779
10779
|
const hasMenuActions = !!getSlotted(el, SLOTS$o.headerMenuActions);
|
|
10780
10780
|
const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
|
|
10781
10781
|
const { guid } = this;
|
|
10782
10782
|
const regionId = `${guid}-region`;
|
|
10783
10783
|
const buttonId = `${guid}-button`;
|
|
10784
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
10784
|
+
const headerNode = (hAsync("div", { class: CSS$U.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$U.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$U.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$U.controlContainer }, hAsync("slot", { name: SLOTS$o.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$o.headerMenuActions }))) : null));
|
|
10785
10785
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
10786
|
-
[CSS$
|
|
10787
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
10786
|
+
[CSS$U.container]: true
|
|
10787
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$U.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
10788
10788
|
}
|
|
10789
10789
|
static get assetsDirs() { return ["assets"]; }
|
|
10790
10790
|
get el() { return getElement(this); }
|
|
@@ -10817,7 +10817,7 @@ class Block {
|
|
|
10817
10817
|
}; }
|
|
10818
10818
|
}
|
|
10819
10819
|
|
|
10820
|
-
const CSS$
|
|
10820
|
+
const CSS$T = {
|
|
10821
10821
|
content: "content",
|
|
10822
10822
|
invalid: "invalid",
|
|
10823
10823
|
toggle: "toggle",
|
|
@@ -10903,9 +10903,9 @@ class BlockSection {
|
|
|
10903
10903
|
const { status } = this;
|
|
10904
10904
|
const statusIcon = ICONS$d[status] ?? false;
|
|
10905
10905
|
const statusIconClasses = {
|
|
10906
|
-
[CSS$
|
|
10907
|
-
[CSS$
|
|
10908
|
-
[CSS$
|
|
10906
|
+
[CSS$T.statusIcon]: true,
|
|
10907
|
+
[CSS$T.valid]: status == "valid",
|
|
10908
|
+
[CSS$T.invalid]: status == "invalid"
|
|
10909
10909
|
};
|
|
10910
10910
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
10911
10911
|
}
|
|
@@ -10922,13 +10922,13 @@ class BlockSection {
|
|
|
10922
10922
|
const regionId = `${guid}-region`;
|
|
10923
10923
|
const buttonId = `${guid}-button`;
|
|
10924
10924
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
10925
|
-
[CSS$
|
|
10926
|
-
[CSS$
|
|
10927
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
10928
|
-
[CSS$
|
|
10929
|
-
[CSS$
|
|
10930
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
10931
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
10925
|
+
[CSS$T.toggle]: true,
|
|
10926
|
+
[CSS$T.toggleSwitch]: true
|
|
10927
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$T.toggleSwitchContent }, hAsync("span", { class: CSS$T.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
10928
|
+
[CSS$T.sectionHeader]: true,
|
|
10929
|
+
[CSS$T.toggle]: true
|
|
10930
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$T.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
10931
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$T.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
10932
10932
|
}
|
|
10933
10933
|
static get assetsDirs() { return ["assets"]; }
|
|
10934
10934
|
get el() { return getElement(this); }
|
|
@@ -11339,7 +11339,7 @@ function onLabelDisconnected() {
|
|
|
11339
11339
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11340
11340
|
}
|
|
11341
11341
|
|
|
11342
|
-
const CSS$
|
|
11342
|
+
const CSS$S = {
|
|
11343
11343
|
buttonLoader: "calcite-button--loader",
|
|
11344
11344
|
content: "content",
|
|
11345
11345
|
contentSlotted: "content--slotted",
|
|
@@ -11465,17 +11465,17 @@ class Button {
|
|
|
11465
11465
|
render() {
|
|
11466
11466
|
const childElType = this.href ? "a" : "button";
|
|
11467
11467
|
const Tag = childElType;
|
|
11468
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11468
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$S.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$S.loadingIn : CSS$S.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11469
11469
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11470
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11471
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11472
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11470
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$S.icon]: true, [CSS$S.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11471
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$S.icon]: true, [CSS$S.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11472
|
+
const contentEl = (hAsync("span", { class: CSS$S.content, ref: (el) => (this.contentEl = el) }, hAsync("slot", null)));
|
|
11473
11473
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
11474
|
-
[CSS$
|
|
11475
|
-
[CSS$
|
|
11476
|
-
[CSS$
|
|
11477
|
-
[CSS$
|
|
11478
|
-
[CSS$
|
|
11474
|
+
[CSS$S.buttonPadding]: noStartEndIcons,
|
|
11475
|
+
[CSS$S.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11476
|
+
[CSS$S.contentSlotted]: this.hasContent,
|
|
11477
|
+
[CSS$S.iconStartEmpty]: !this.iconStart,
|
|
11478
|
+
[CSS$S.iconEndEmpty]: !this.iconEnd
|
|
11479
11479
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: this.setChildEl, rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, title: this.tooltipText, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
11480
11480
|
}
|
|
11481
11481
|
//--------------------------------------------------------------------------
|
|
@@ -11556,7 +11556,7 @@ class Button {
|
|
|
11556
11556
|
}; }
|
|
11557
11557
|
}
|
|
11558
11558
|
|
|
11559
|
-
const CSS$
|
|
11559
|
+
const CSS$R = {
|
|
11560
11560
|
container: "container",
|
|
11561
11561
|
header: "header",
|
|
11562
11562
|
footer: "footer",
|
|
@@ -11641,7 +11641,7 @@ class Card {
|
|
|
11641
11641
|
render() {
|
|
11642
11642
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
11643
11643
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
11644
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
11644
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$R.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
11645
11645
|
}
|
|
11646
11646
|
effectiveLocaleChange() {
|
|
11647
11647
|
updateMessages(this, this.effectiveLocale);
|
|
@@ -11651,24 +11651,24 @@ class Card {
|
|
|
11651
11651
|
this.calciteCardSelect.emit();
|
|
11652
11652
|
}
|
|
11653
11653
|
renderThumbnail() {
|
|
11654
|
-
return getSlotted(this.el, SLOTS$n.thumbnail) ? (hAsync("section", { class: CSS$
|
|
11654
|
+
return getSlotted(this.el, SLOTS$n.thumbnail) ? (hAsync("section", { class: CSS$R.thumbnailWrapper }, hAsync("slot", { name: SLOTS$n.thumbnail }))) : null;
|
|
11655
11655
|
}
|
|
11656
11656
|
renderCheckbox() {
|
|
11657
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
11657
|
+
return (hAsync("calcite-label", { class: CSS$R.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: this.messages.select })));
|
|
11658
11658
|
}
|
|
11659
11659
|
renderHeader() {
|
|
11660
11660
|
const { el } = this;
|
|
11661
11661
|
const title = getSlotted(el, SLOTS$n.title);
|
|
11662
11662
|
const subtitle = getSlotted(el, SLOTS$n.subtitle);
|
|
11663
11663
|
const hasHeader = title || subtitle;
|
|
11664
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
11664
|
+
return hasHeader ? (hAsync("header", { class: CSS$R.header }, hAsync("slot", { name: SLOTS$n.title }), hAsync("slot", { name: SLOTS$n.subtitle }))) : null;
|
|
11665
11665
|
}
|
|
11666
11666
|
renderFooter() {
|
|
11667
11667
|
const { el } = this;
|
|
11668
11668
|
const startFooter = getSlotted(el, SLOTS$n.footerStart);
|
|
11669
11669
|
const endFooter = getSlotted(el, SLOTS$n.footerEnd);
|
|
11670
11670
|
const hasFooter = startFooter || endFooter;
|
|
11671
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
11671
|
+
return hasFooter ? (hAsync("footer", { class: CSS$R.footer }, hAsync("slot", { name: SLOTS$n.footerStart }), hAsync("slot", { name: SLOTS$n.footerEnd }))) : null;
|
|
11672
11672
|
}
|
|
11673
11673
|
static get assetsDirs() { return ["assets"]; }
|
|
11674
11674
|
get el() { return getElement(this); }
|
|
@@ -11834,7 +11834,7 @@ class Checkbox {
|
|
|
11834
11834
|
}; }
|
|
11835
11835
|
}
|
|
11836
11836
|
|
|
11837
|
-
const CSS$
|
|
11837
|
+
const CSS$Q = {
|
|
11838
11838
|
title: "title",
|
|
11839
11839
|
close: "close",
|
|
11840
11840
|
imageContainer: "image-container",
|
|
@@ -12003,7 +12003,7 @@ class Chip {
|
|
|
12003
12003
|
//
|
|
12004
12004
|
//--------------------------------------------------------------------------
|
|
12005
12005
|
renderChipImage() {
|
|
12006
|
-
return (hAsync("div", { class: CSS$
|
|
12006
|
+
return (hAsync("div", { class: CSS$Q.imageContainer }, hAsync("slot", { name: SLOTS$m.image, onSlotchange: this.handleSlotImageChange })));
|
|
12007
12007
|
}
|
|
12008
12008
|
renderSelectionIcon() {
|
|
12009
12009
|
const icon = this.selectionMode === "multiple" && this.selected
|
|
@@ -12014,17 +12014,17 @@ class Chip {
|
|
|
12014
12014
|
? ICONS$c.checkedSingle
|
|
12015
12015
|
: undefined;
|
|
12016
12016
|
return (hAsync("div", { class: {
|
|
12017
|
-
[CSS$
|
|
12018
|
-
[CSS$
|
|
12017
|
+
[CSS$Q.selectIcon]: true,
|
|
12018
|
+
[CSS$Q.selectIconActive]: this.selectionMode === "multiple" || this.selected
|
|
12019
12019
|
} }, hAsync("calcite-icon", { icon: icon, scale: this.scale === "l" ? "m" : "s" })));
|
|
12020
12020
|
}
|
|
12021
12021
|
renderCloseButton() {
|
|
12022
|
-
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$
|
|
12022
|
+
return (hAsync("button", { "aria-label": this.messages.dismissLabel, class: CSS$Q.close, onClick: this.close, onKeyDown: this.closeButtonKeyDownHandler, tabIndex: this.disabled ? -1 : 0,
|
|
12023
12023
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12024
12024
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$c.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
12025
12025
|
}
|
|
12026
12026
|
renderIcon() {
|
|
12027
|
-
return (hAsync("calcite-icon", { class: CSS$
|
|
12027
|
+
return (hAsync("calcite-icon", { class: CSS$Q.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
12028
12028
|
}
|
|
12029
12029
|
render() {
|
|
12030
12030
|
const disableInteraction = this.disabled || (!this.disabled && !this.interactive);
|
|
@@ -12038,21 +12038,21 @@ class Chip {
|
|
|
12038
12038
|
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
12039
12039
|
? toAriaBoolean(this.selected)
|
|
12040
12040
|
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
12041
|
-
[CSS$
|
|
12042
|
-
[CSS$
|
|
12043
|
-
[CSS$
|
|
12044
|
-
[CSS$
|
|
12045
|
-
[CSS$
|
|
12046
|
-
[CSS$
|
|
12047
|
-
[CSS$
|
|
12048
|
-
[CSS$
|
|
12041
|
+
[CSS$Q.container]: true,
|
|
12042
|
+
[CSS$Q.textSlotted]: this.hasText,
|
|
12043
|
+
[CSS$Q.imageSlotted]: this.hasImage,
|
|
12044
|
+
[CSS$Q.selectable]: this.selectionMode !== "none",
|
|
12045
|
+
[CSS$Q.multiple]: this.selectionMode === "multiple",
|
|
12046
|
+
[CSS$Q.closable]: this.closable,
|
|
12047
|
+
[CSS$Q.nonInteractive]: !this.interactive,
|
|
12048
|
+
[CSS$Q.isCircle]: !this.closable &&
|
|
12049
12049
|
!this.hasText &&
|
|
12050
12050
|
(!this.icon || !this.hasImage) &&
|
|
12051
12051
|
(this.selectionMode === "none" ||
|
|
12052
12052
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected))
|
|
12053
12053
|
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
12054
12054
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12055
|
-
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$
|
|
12055
|
+
ref: (el) => (this.containerEl = el) }, this.selectionMode !== "none" && this.renderSelectionIcon(), this.renderChipImage(), this.icon && this.renderIcon(), hAsync("span", { class: CSS$Q.title }, hAsync("slot", null)), this.closable && this.renderCloseButton())));
|
|
12056
12056
|
}
|
|
12057
12057
|
static get assetsDirs() { return ["assets"]; }
|
|
12058
12058
|
get el() { return getElement(this); }
|
|
@@ -14377,7 +14377,7 @@ function zeroArray(array, length) {
|
|
|
14377
14377
|
|
|
14378
14378
|
var color = Color;
|
|
14379
14379
|
|
|
14380
|
-
const CSS$
|
|
14380
|
+
const CSS$P = {
|
|
14381
14381
|
container: "container",
|
|
14382
14382
|
controlSection: "control-section",
|
|
14383
14383
|
hexOptions: "color-hex-options",
|
|
@@ -14729,7 +14729,7 @@ class ColorPicker {
|
|
|
14729
14729
|
const { channelMode: activeChannelMode, messages } = this;
|
|
14730
14730
|
const selected = channelMode === activeChannelMode;
|
|
14731
14731
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
14732
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
14732
|
+
return (hAsync("calcite-tab-title", { class: CSS$P.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
14733
14733
|
};
|
|
14734
14734
|
this.renderChannelsTab = (channelMode) => {
|
|
14735
14735
|
const { channelMode: activeChannelMode, channels, messages } = this;
|
|
@@ -14742,11 +14742,11 @@ class ColorPicker {
|
|
|
14742
14742
|
? [messages.red, messages.green, messages.blue]
|
|
14743
14743
|
: [messages.hue, messages.saturation, messages.value];
|
|
14744
14744
|
const direction = getElementDir(this.el);
|
|
14745
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
14745
|
+
return (hAsync("calcite-tab", { class: CSS$P.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$P.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
14746
14746
|
/* the channel container is ltr, so we apply the host's direction */
|
|
14747
14747
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
14748
14748
|
};
|
|
14749
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$
|
|
14749
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$P.channel, "data-channel-index": index, dir: direction, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value?.toString() }));
|
|
14750
14750
|
this.deleteColor = () => {
|
|
14751
14751
|
const colorToDelete = this.color.hex();
|
|
14752
14752
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -14879,7 +14879,7 @@ class ColorPicker {
|
|
|
14879
14879
|
this.shiftKeyChannelAdjustment = 0;
|
|
14880
14880
|
const { key } = event;
|
|
14881
14881
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
14882
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
14882
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$P.channel))) {
|
|
14883
14883
|
return;
|
|
14884
14884
|
}
|
|
14885
14885
|
const { shiftKey } = event;
|
|
@@ -14962,26 +14962,26 @@ class ColorPicker {
|
|
|
14962
14962
|
const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
14963
14963
|
const noColor = color === null;
|
|
14964
14964
|
const vertical = scopeOrientation === "vertical";
|
|
14965
|
-
return (hAsync("div", { class: CSS$
|
|
14966
|
-
[CSS$
|
|
14967
|
-
[CSS$
|
|
14965
|
+
return (hAsync("div", { class: CSS$P.container }, hAsync("div", { class: CSS$P.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
|
|
14966
|
+
[CSS$P.colorFieldAndSlider]: true,
|
|
14967
|
+
[CSS$P.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
14968
14968
|
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove,
|
|
14969
14969
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14970
|
-
ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
14970
|
+
ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$P.scope]: true, [CSS$P.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0",
|
|
14971
14971
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14972
|
-
ref: this.storeColorFieldScope }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$
|
|
14972
|
+
ref: this.storeColorFieldScope }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$P.scope]: true, [CSS$P.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0",
|
|
14973
14973
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14974
14974
|
ref: this.storeHueScope })), hideHex && hideChannels ? null : (hAsync("div", { class: {
|
|
14975
|
-
[CSS$
|
|
14976
|
-
[CSS$
|
|
14977
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
14978
|
-
[CSS$
|
|
14979
|
-
[CSS$
|
|
14980
|
-
} }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
14981
|
-
[CSS$
|
|
14982
|
-
[CSS$
|
|
14983
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$
|
|
14984
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
14975
|
+
[CSS$P.controlSection]: true,
|
|
14976
|
+
[CSS$P.section]: true
|
|
14977
|
+
} }, hideHex ? null : (hAsync("div", { class: CSS$P.hexOptions }, hAsync("span", { class: {
|
|
14978
|
+
[CSS$P.header]: true,
|
|
14979
|
+
[CSS$P.headerHex]: true
|
|
14980
|
+
} }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$P.control, hexLabel: messages.hex, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
14981
|
+
[CSS$P.colorModeContainer]: true,
|
|
14982
|
+
[CSS$P.splitSection]: true
|
|
14983
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$P.savedColorsSection]: true, [CSS$P.section]: true } }, hAsync("div", { class: CSS$P.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$P.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$P.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$P.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$P.savedColors }, [
|
|
14984
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$P.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
14985
14985
|
])) : null))));
|
|
14986
14986
|
}
|
|
14987
14987
|
// --------------------------------------------------------------------------
|
|
@@ -15215,7 +15215,7 @@ class ColorPicker {
|
|
|
15215
15215
|
}; }
|
|
15216
15216
|
}
|
|
15217
15217
|
|
|
15218
|
-
const CSS$
|
|
15218
|
+
const CSS$O = {
|
|
15219
15219
|
container: "container",
|
|
15220
15220
|
preview: "preview",
|
|
15221
15221
|
input: "input"
|
|
@@ -15328,9 +15328,9 @@ class ColorPickerHexInput {
|
|
|
15328
15328
|
render() {
|
|
15329
15329
|
const { value } = this;
|
|
15330
15330
|
const hexInputValue = this.formatForInternalInput(value);
|
|
15331
|
-
return (hAsync("div", { class: CSS$
|
|
15331
|
+
return (hAsync("div", { class: CSS$O.container }, hAsync("calcite-input", { class: CSS$O.input, label: this.hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", scale: this.scale, value: hexInputValue,
|
|
15332
15332
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15333
|
-
ref: this.storeInputRef }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$
|
|
15333
|
+
ref: this.storeInputRef }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$O.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
15334
15334
|
}
|
|
15335
15335
|
//--------------------------------------------------------------------------
|
|
15336
15336
|
//
|
|
@@ -15406,7 +15406,7 @@ class ColorPickerHexInput {
|
|
|
15406
15406
|
}; }
|
|
15407
15407
|
}
|
|
15408
15408
|
|
|
15409
|
-
const CSS$
|
|
15409
|
+
const CSS$N = {
|
|
15410
15410
|
swatch: "swatch",
|
|
15411
15411
|
noColorIcon: "no-color-icon"
|
|
15412
15412
|
};
|
|
@@ -15441,7 +15441,7 @@ class ColorPickerSwatch {
|
|
|
15441
15441
|
const hex = internalColor.hex();
|
|
15442
15442
|
const theme = getModeName(el);
|
|
15443
15443
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
15444
|
-
return (hAsync("svg", { class: CSS$
|
|
15444
|
+
return (hAsync("svg", { class: CSS$N.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
15445
15445
|
}
|
|
15446
15446
|
get el() { return getElement(this); }
|
|
15447
15447
|
static get watchers() { return {
|
|
@@ -17025,12 +17025,18 @@ async function reposition(component, options, delayed = false) {
|
|
|
17025
17025
|
if (!component.open) {
|
|
17026
17026
|
return;
|
|
17027
17027
|
}
|
|
17028
|
-
return delayed ? debouncedReposition(options) : positionFloatingUI(options);
|
|
17028
|
+
return delayed ? debouncedReposition(component, options) : positionFloatingUI(component, options);
|
|
17029
17029
|
}
|
|
17030
17030
|
const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
17031
17031
|
leading: true,
|
|
17032
17032
|
maxWait: repositionDebounceTimeout
|
|
17033
17033
|
});
|
|
17034
|
+
const ARROW_CSS_TRANSFORM = {
|
|
17035
|
+
top: "",
|
|
17036
|
+
left: "rotate(-90deg)",
|
|
17037
|
+
bottom: "rotate(180deg)",
|
|
17038
|
+
right: "rotate(90deg)"
|
|
17039
|
+
};
|
|
17034
17040
|
/**
|
|
17035
17041
|
* Positions the floating element relative to the reference element.
|
|
17036
17042
|
*
|
|
@@ -17047,10 +17053,30 @@ const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeo
|
|
|
17047
17053
|
* @param root0.offsetSkidding
|
|
17048
17054
|
* @param root0.arrowEl
|
|
17049
17055
|
* @param root0.type
|
|
17050
|
-
* @param
|
|
17056
|
+
* @param component
|
|
17057
|
+
* @param root0.referenceEl.referenceEl
|
|
17058
|
+
* @param root0.referenceEl.floatingEl
|
|
17059
|
+
* @param root0.referenceEl.overlayPositioning
|
|
17060
|
+
* @param root0.referenceEl.placement
|
|
17061
|
+
* @param root0.referenceEl.flipDisabled
|
|
17062
|
+
* @param root0.referenceEl.flipPlacements
|
|
17063
|
+
* @param root0.referenceEl.offsetDistance
|
|
17064
|
+
* @param root0.referenceEl.offsetSkidding
|
|
17065
|
+
* @param root0.referenceEl.arrowEl
|
|
17066
|
+
* @param root0.referenceEl.type
|
|
17067
|
+
* @param component.referenceEl
|
|
17068
|
+
* @param component.floatingEl
|
|
17069
|
+
* @param component.overlayPositioning
|
|
17070
|
+
* @param component.placement
|
|
17071
|
+
* @param component.flipDisabled
|
|
17072
|
+
* @param component.flipPlacements
|
|
17073
|
+
* @param component.offsetDistance
|
|
17074
|
+
* @param component.offsetSkidding
|
|
17075
|
+
* @param component.arrowEl
|
|
17076
|
+
* @param component.type
|
|
17051
17077
|
*/
|
|
17052
|
-
async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding,
|
|
17053
|
-
if (!referenceEl || !floatingEl
|
|
17078
|
+
async function positionFloatingUI(component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
|
|
17079
|
+
if (!referenceEl || !floatingEl) {
|
|
17054
17080
|
return null;
|
|
17055
17081
|
}
|
|
17056
17082
|
await floatingUIBrowserCheck;
|
|
@@ -17069,14 +17095,23 @@ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning
|
|
|
17069
17095
|
type
|
|
17070
17096
|
})
|
|
17071
17097
|
});
|
|
17072
|
-
if (middlewareData
|
|
17073
|
-
const { x
|
|
17098
|
+
if (arrowEl && middlewareData.arrow) {
|
|
17099
|
+
const { x, y } = middlewareData.arrow;
|
|
17100
|
+
const side = effectivePlacement.split("-")[0];
|
|
17101
|
+
const alignment = x != null ? "left" : "top";
|
|
17102
|
+
const transform = ARROW_CSS_TRANSFORM[side];
|
|
17103
|
+
const reset = { left: "", top: "", bottom: "", right: "" };
|
|
17104
|
+
if ("floatingLayout" in component) {
|
|
17105
|
+
component.floatingLayout = side === "left" || side === "right" ? "horizontal" : "vertical";
|
|
17106
|
+
}
|
|
17074
17107
|
Object.assign(arrowEl.style, {
|
|
17075
|
-
|
|
17076
|
-
|
|
17108
|
+
...reset,
|
|
17109
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
17110
|
+
[side]: "100%",
|
|
17111
|
+
transform
|
|
17077
17112
|
});
|
|
17078
17113
|
}
|
|
17079
|
-
const referenceHidden = middlewareData
|
|
17114
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
17080
17115
|
const visibility = referenceHidden ? "hidden" : null;
|
|
17081
17116
|
const pointerEvents = visibility ? "none" : null;
|
|
17082
17117
|
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
@@ -18028,7 +18063,7 @@ class Combobox {
|
|
|
18028
18063
|
}; }
|
|
18029
18064
|
}
|
|
18030
18065
|
|
|
18031
|
-
const CSS$
|
|
18066
|
+
const CSS$M = {
|
|
18032
18067
|
icon: "icon",
|
|
18033
18068
|
iconActive: "icon--active",
|
|
18034
18069
|
iconIndent: "icon--indent",
|
|
@@ -18105,20 +18140,20 @@ class ComboboxItem {
|
|
|
18105
18140
|
// --------------------------------------------------------------------------
|
|
18106
18141
|
renderIcon(iconPath) {
|
|
18107
18142
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
18108
|
-
[CSS$
|
|
18109
|
-
[CSS$
|
|
18110
|
-
[CSS$
|
|
18143
|
+
[CSS$M.custom]: !!this.icon,
|
|
18144
|
+
[CSS$M.iconActive]: this.icon && this.selected,
|
|
18145
|
+
[CSS$M.iconIndent]: true
|
|
18111
18146
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
18112
18147
|
}
|
|
18113
18148
|
renderSelectIndicator(showDot, iconPath) {
|
|
18114
18149
|
return showDot ? (hAsync("span", { class: {
|
|
18115
|
-
[CSS$
|
|
18116
|
-
[CSS$
|
|
18117
|
-
[CSS$
|
|
18150
|
+
[CSS$M.icon]: true,
|
|
18151
|
+
[CSS$M.dot]: true,
|
|
18152
|
+
[CSS$M.iconIndent]: true
|
|
18118
18153
|
} })) : (hAsync("calcite-icon", { class: {
|
|
18119
|
-
[CSS$
|
|
18120
|
-
[CSS$
|
|
18121
|
-
[CSS$
|
|
18154
|
+
[CSS$M.icon]: true,
|
|
18155
|
+
[CSS$M.iconActive]: this.selected,
|
|
18156
|
+
[CSS$M.iconIndent]: true
|
|
18122
18157
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
18123
18158
|
}
|
|
18124
18159
|
renderChildren() {
|
|
@@ -18133,10 +18168,10 @@ class ComboboxItem {
|
|
|
18133
18168
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
18134
18169
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
18135
18170
|
const classes = {
|
|
18136
|
-
[CSS$
|
|
18137
|
-
[CSS$
|
|
18138
|
-
[CSS$
|
|
18139
|
-
[CSS$
|
|
18171
|
+
[CSS$M.label]: true,
|
|
18172
|
+
[CSS$M.selected]: this.selected,
|
|
18173
|
+
[CSS$M.active]: this.active,
|
|
18174
|
+
[CSS$M.single]: isSingleSelect
|
|
18140
18175
|
};
|
|
18141
18176
|
const depth = getDepth$1();
|
|
18142
18177
|
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderSelectIndicator(showDot, iconPath), this.renderIcon(iconPath), hAsync("span", { class: "title" }, this.textLabel)), this.renderChildren())));
|
|
@@ -18167,7 +18202,7 @@ class ComboboxItem {
|
|
|
18167
18202
|
}; }
|
|
18168
18203
|
}
|
|
18169
18204
|
|
|
18170
|
-
const CSS$
|
|
18205
|
+
const CSS$L = {
|
|
18171
18206
|
list: "list",
|
|
18172
18207
|
label: "label",
|
|
18173
18208
|
title: "title"
|
|
@@ -18203,7 +18238,7 @@ class ComboboxItemGroup {
|
|
|
18203
18238
|
render() {
|
|
18204
18239
|
const { el, scale } = this;
|
|
18205
18240
|
const depth = getDepth$1();
|
|
18206
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
18241
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$L.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$L.label]: true }, id: this.guid, role: "presentation", style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("span", { class: CSS$L.title }, this.label)), hAsync("slot", null)));
|
|
18207
18242
|
}
|
|
18208
18243
|
get el() { return getElement(this); }
|
|
18209
18244
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -19355,7 +19390,7 @@ class DatePickerMonth {
|
|
|
19355
19390
|
}
|
|
19356
19391
|
|
|
19357
19392
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
19358
|
-
const CSS$
|
|
19393
|
+
const CSS$K = {
|
|
19359
19394
|
header: "header",
|
|
19360
19395
|
month: "month",
|
|
19361
19396
|
chevron: "chevron",
|
|
@@ -19455,7 +19490,7 @@ class DatePickerMonthHeader {
|
|
|
19455
19490
|
this.setNextPrevMonthDates();
|
|
19456
19491
|
}
|
|
19457
19492
|
render() {
|
|
19458
|
-
return hAsync("div", { class: CSS$
|
|
19493
|
+
return hAsync("div", { class: CSS$K.header }, this.renderContent());
|
|
19459
19494
|
}
|
|
19460
19495
|
renderContent() {
|
|
19461
19496
|
const { messages, localeData, activeDate } = this;
|
|
@@ -19478,12 +19513,12 @@ class DatePickerMonthHeader {
|
|
|
19478
19513
|
const order = getOrder(unitOrder);
|
|
19479
19514
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
19480
19515
|
const suffix = localeData.year?.suffix;
|
|
19481
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
19516
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$K.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$K.textReverse]: reverse } }, hAsync(Heading, { class: CSS$K.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$K.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
19482
19517
|
year: true,
|
|
19483
|
-
[CSS$
|
|
19518
|
+
[CSS$K.yearSuffix]: !!suffix
|
|
19484
19519
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
19485
19520
|
// eslint-disable-next-line react/jsx-sort-props
|
|
19486
|
-
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$
|
|
19521
|
+
ref: (el) => (this.yearInput = el) }), suffix && hAsync("span", { class: CSS$K.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$K.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
19487
19522
|
}
|
|
19488
19523
|
setNextPrevMonthDates() {
|
|
19489
19524
|
if (!this.activeDate) {
|
|
@@ -19985,7 +20020,7 @@ class Dropdown {
|
|
|
19985
20020
|
}; }
|
|
19986
20021
|
}
|
|
19987
20022
|
|
|
19988
|
-
const CSS$
|
|
20023
|
+
const CSS$J = {
|
|
19989
20024
|
containerSmall: "container--s",
|
|
19990
20025
|
containerMedium: "container--m",
|
|
19991
20026
|
containerLarge: "container--l"
|
|
@@ -20018,9 +20053,9 @@ class DropdownGroup {
|
|
|
20018
20053
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
20019
20054
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
20020
20055
|
container: true,
|
|
20021
|
-
[CSS$
|
|
20022
|
-
[CSS$
|
|
20023
|
-
[CSS$
|
|
20056
|
+
[CSS$J.containerSmall]: scale === "s",
|
|
20057
|
+
[CSS$J.containerMedium]: scale === "m",
|
|
20058
|
+
[CSS$J.containerLarge]: scale === "l"
|
|
20024
20059
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
20025
20060
|
}
|
|
20026
20061
|
//--------------------------------------------------------------------------
|
|
@@ -20061,7 +20096,7 @@ class DropdownGroup {
|
|
|
20061
20096
|
}; }
|
|
20062
20097
|
}
|
|
20063
20098
|
|
|
20064
|
-
const CSS$
|
|
20099
|
+
const CSS$I = {
|
|
20065
20100
|
containerLink: "container--link",
|
|
20066
20101
|
containerSmall: "container--s",
|
|
20067
20102
|
containerMedium: "container--m",
|
|
@@ -20126,9 +20161,9 @@ class DropdownItem {
|
|
|
20126
20161
|
}
|
|
20127
20162
|
render() {
|
|
20128
20163
|
const scale = getElementProp(this.el, "scale", this.scale);
|
|
20129
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
20130
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
20131
|
-
const iconEndEl = (hAsync("calcite-icon", { class: CSS$
|
|
20164
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$I.iconStart, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
20165
|
+
const contentNode = (hAsync("span", { class: CSS$I.itemContent }, hAsync("slot", null)));
|
|
20166
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$I.iconEnd, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
20132
20167
|
const slottedContent = this.iconStart && this.iconEnd
|
|
20133
20168
|
? [iconStartEl, contentNode, iconEndEl]
|
|
20134
20169
|
: this.iconStart
|
|
@@ -20136,7 +20171,7 @@ class DropdownItem {
|
|
|
20136
20171
|
: this.iconEnd
|
|
20137
20172
|
? [contentNode, iconEndEl]
|
|
20138
20173
|
: contentNode;
|
|
20139
|
-
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$
|
|
20174
|
+
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$I.link, href: this.href, rel: this.rel, tabIndex: -1, target: this.target,
|
|
20140
20175
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20141
20176
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
20142
20177
|
const itemRole = this.href
|
|
@@ -20149,14 +20184,14 @@ class DropdownItem {
|
|
|
20149
20184
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
20150
20185
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
20151
20186
|
container: true,
|
|
20152
|
-
[CSS$
|
|
20153
|
-
[CSS$
|
|
20154
|
-
[CSS$
|
|
20155
|
-
[CSS$
|
|
20156
|
-
[CSS$
|
|
20157
|
-
[CSS$
|
|
20158
|
-
[CSS$
|
|
20159
|
-
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$
|
|
20187
|
+
[CSS$I.containerLink]: !!this.href,
|
|
20188
|
+
[CSS$I.containerSmall]: scale === "s",
|
|
20189
|
+
[CSS$I.containerMedium]: scale === "m",
|
|
20190
|
+
[CSS$I.containerLarge]: scale === "l",
|
|
20191
|
+
[CSS$I.containerMulti]: this.selectionMode === "multiple",
|
|
20192
|
+
[CSS$I.containerSingle]: this.selectionMode === "single",
|
|
20193
|
+
[CSS$I.containerNone]: this.selectionMode === "none"
|
|
20194
|
+
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$I.icon, icon: this.selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
20160
20195
|
}
|
|
20161
20196
|
//--------------------------------------------------------------------------
|
|
20162
20197
|
//
|
|
@@ -20262,7 +20297,7 @@ class DropdownItem {
|
|
|
20262
20297
|
}; }
|
|
20263
20298
|
}
|
|
20264
20299
|
|
|
20265
|
-
const CSS$
|
|
20300
|
+
const CSS$H = {
|
|
20266
20301
|
button: "button"
|
|
20267
20302
|
};
|
|
20268
20303
|
const ICONS$b = {
|
|
@@ -20317,7 +20352,7 @@ class Fab {
|
|
|
20317
20352
|
render() {
|
|
20318
20353
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
|
|
20319
20354
|
const title = !textEnabled ? label || text || null : null;
|
|
20320
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
20355
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$H.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, round: true, scale: scale, title: title, type: "button", width: "auto",
|
|
20321
20356
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20322
20357
|
ref: (buttonEl) => {
|
|
20323
20358
|
this.buttonEl = buttonEl;
|
|
@@ -20347,7 +20382,7 @@ class Fab {
|
|
|
20347
20382
|
}; }
|
|
20348
20383
|
}
|
|
20349
20384
|
|
|
20350
|
-
const CSS$
|
|
20385
|
+
const CSS$G = {
|
|
20351
20386
|
container: "container",
|
|
20352
20387
|
searchIcon: "search-icon"
|
|
20353
20388
|
};
|
|
@@ -20459,7 +20494,7 @@ class Filter {
|
|
|
20459
20494
|
// --------------------------------------------------------------------------
|
|
20460
20495
|
render() {
|
|
20461
20496
|
const { disabled, scale } = this;
|
|
20462
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
20497
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$G.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$a.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, scale: scale, type: "text", value: this.value,
|
|
20463
20498
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20464
20499
|
ref: (el) => {
|
|
20465
20500
|
this.textInput = el;
|
|
@@ -20497,7 +20532,7 @@ class Filter {
|
|
|
20497
20532
|
}; }
|
|
20498
20533
|
}
|
|
20499
20534
|
|
|
20500
|
-
const CSS$
|
|
20535
|
+
const CSS$F = {
|
|
20501
20536
|
frame: "frame",
|
|
20502
20537
|
frameAdvancing: "frame--advancing",
|
|
20503
20538
|
frameRetreating: "frame--retreating"
|
|
@@ -20597,9 +20632,9 @@ class Flow {
|
|
|
20597
20632
|
render() {
|
|
20598
20633
|
const { flowDirection } = this;
|
|
20599
20634
|
const frameDirectionClasses = {
|
|
20600
|
-
[CSS$
|
|
20601
|
-
[CSS$
|
|
20602
|
-
[CSS$
|
|
20635
|
+
[CSS$F.frame]: true,
|
|
20636
|
+
[CSS$F.frameAdvancing]: flowDirection === "advancing",
|
|
20637
|
+
[CSS$F.frameRetreating]: flowDirection === "retreating"
|
|
20603
20638
|
};
|
|
20604
20639
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
20605
20640
|
}
|
|
@@ -20620,7 +20655,7 @@ class Flow {
|
|
|
20620
20655
|
}; }
|
|
20621
20656
|
}
|
|
20622
20657
|
|
|
20623
|
-
const CSS$
|
|
20658
|
+
const CSS$E = {
|
|
20624
20659
|
actionBarContainer: "action-bar-container",
|
|
20625
20660
|
backButton: "back-button",
|
|
20626
20661
|
container: "container",
|
|
@@ -20655,7 +20690,7 @@ const SLOTS$k = {
|
|
|
20655
20690
|
footerActions: "footer-actions"
|
|
20656
20691
|
};
|
|
20657
20692
|
|
|
20658
|
-
const CSS$
|
|
20693
|
+
const CSS$D = {
|
|
20659
20694
|
backButton: "back-button"
|
|
20660
20695
|
};
|
|
20661
20696
|
const ICONS$8 = {
|
|
@@ -20799,7 +20834,7 @@ class FlowItem {
|
|
|
20799
20834
|
const { showBackButton, backButtonClick, messages } = this;
|
|
20800
20835
|
const label = messages.back;
|
|
20801
20836
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
20802
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
20837
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$D.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, scale: "s", slot: "header-actions-start", text: label,
|
|
20803
20838
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20804
20839
|
ref: this.setBackRef })) : null;
|
|
20805
20840
|
}
|
|
@@ -21070,7 +21105,7 @@ class Graph {
|
|
|
21070
21105
|
}; }
|
|
21071
21106
|
}
|
|
21072
21107
|
|
|
21073
|
-
const CSS$
|
|
21108
|
+
const CSS$C = {
|
|
21074
21109
|
handle: "handle",
|
|
21075
21110
|
handleActivated: "handle--activated"
|
|
21076
21111
|
};
|
|
@@ -21165,7 +21200,7 @@ class Handle {
|
|
|
21165
21200
|
render() {
|
|
21166
21201
|
return (
|
|
21167
21202
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
21168
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
21203
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$C.handle]: true, [CSS$C.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0", title: this.messages.dragHandle,
|
|
21169
21204
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21170
21205
|
ref: (el) => {
|
|
21171
21206
|
this.handleButton = el;
|
|
@@ -21196,7 +21231,7 @@ class Handle {
|
|
|
21196
21231
|
}; }
|
|
21197
21232
|
}
|
|
21198
21233
|
|
|
21199
|
-
const CSS$
|
|
21234
|
+
const CSS$B = {
|
|
21200
21235
|
icon: "icon",
|
|
21201
21236
|
flipRtl: "flip-rtl"
|
|
21202
21237
|
};
|
|
@@ -21244,7 +21279,7 @@ class Icon {
|
|
|
21244
21279
|
const semantic = !!textLabel;
|
|
21245
21280
|
const paths = [].concat(pathData || "");
|
|
21246
21281
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
21247
|
-
[CSS$
|
|
21282
|
+
[CSS$B.flipRtl]: dir === "rtl" && flipRtl,
|
|
21248
21283
|
svg: true
|
|
21249
21284
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
21250
21285
|
}
|
|
@@ -21290,7 +21325,7 @@ class Icon {
|
|
|
21290
21325
|
}; }
|
|
21291
21326
|
}
|
|
21292
21327
|
|
|
21293
|
-
const CSS$
|
|
21328
|
+
const CSS$A = {
|
|
21294
21329
|
wrapper: "wrapper",
|
|
21295
21330
|
confirmChangesButton: "confirm-changes-button",
|
|
21296
21331
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -21438,16 +21473,16 @@ class InlineEditable {
|
|
|
21438
21473
|
updateHostInteraction(this);
|
|
21439
21474
|
}
|
|
21440
21475
|
render() {
|
|
21441
|
-
return (hAsync("div", { class: CSS$
|
|
21476
|
+
return (hAsync("div", { class: CSS$A.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$A.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$A.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$A.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, scale: this.scale, style: {
|
|
21442
21477
|
opacity: this.editingEnabled ? "0" : "1",
|
|
21443
21478
|
width: this.editingEnabled ? "0" : "inherit"
|
|
21444
21479
|
}, type: "button",
|
|
21445
21480
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21446
21481
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
21447
|
-
hAsync("div", { class: CSS$
|
|
21482
|
+
hAsync("div", { class: CSS$A.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$A.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, scale: this.scale, type: "button",
|
|
21448
21483
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21449
21484
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
21450
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
21485
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$A.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, scale: this.scale, type: "button",
|
|
21451
21486
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21452
21487
|
ref: (el) => (this.confirmEditingButton = el) })
|
|
21453
21488
|
])));
|
|
@@ -21533,7 +21568,7 @@ class InlineEditable {
|
|
|
21533
21568
|
}; }
|
|
21534
21569
|
}
|
|
21535
21570
|
|
|
21536
|
-
const CSS$
|
|
21571
|
+
const CSS$z = {
|
|
21537
21572
|
loader: "loader",
|
|
21538
21573
|
clearButton: "clear-button",
|
|
21539
21574
|
editingEnabled: "editing-enabled",
|
|
@@ -22122,38 +22157,38 @@ class Input {
|
|
|
22122
22157
|
// --------------------------------------------------------------------------
|
|
22123
22158
|
render() {
|
|
22124
22159
|
const dir = getElementDir(this.el);
|
|
22125
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22126
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
22127
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22160
|
+
const loader = (hAsync("div", { class: CSS$z.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
22161
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$z.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
22162
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$z.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
22128
22163
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
22129
22164
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
22130
|
-
[CSS$
|
|
22131
|
-
[CSS$
|
|
22165
|
+
[CSS$z.numberButtonItem]: true,
|
|
22166
|
+
[CSS$z.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22132
22167
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
22133
22168
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
22134
|
-
[CSS$
|
|
22135
|
-
[CSS$
|
|
22169
|
+
[CSS$z.numberButtonItem]: true,
|
|
22170
|
+
[CSS$z.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22136
22171
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
22137
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
22138
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22139
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22172
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$z.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
22173
|
+
const prefixText = hAsync("div", { class: CSS$z.prefix }, this.prefixText);
|
|
22174
|
+
const suffixText = hAsync("div", { class: CSS$z.suffix }, this.suffixText);
|
|
22140
22175
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
22141
22176
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22142
22177
|
ref: this.setChildNumberElRef })) : null;
|
|
22143
22178
|
const childEl = this.type !== "number"
|
|
22144
22179
|
? [
|
|
22145
22180
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
22146
|
-
[CSS$
|
|
22147
|
-
[CSS$
|
|
22181
|
+
[CSS$z.editingEnabled]: this.editingEnabled,
|
|
22182
|
+
[CSS$z.inlineChild]: !!this.inlineEditableEl
|
|
22148
22183
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value,
|
|
22149
22184
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22150
22185
|
ref: this.setChildElRef }),
|
|
22151
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
22186
|
+
this.isTextarea ? (hAsync("div", { class: CSS$z.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
|
|
22152
22187
|
]
|
|
22153
22188
|
: null;
|
|
22154
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22189
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$z.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
22155
22190
|
? numberButtonsHorizontalDown
|
|
22156
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
22191
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$z.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$z.actionWrapper }, hAsync("slot", { name: SLOTS$i.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
22157
22192
|
? numberButtonsVertical
|
|
22158
22193
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
22159
22194
|
? numberButtonsHorizontalUp
|
|
@@ -22229,7 +22264,7 @@ class Input {
|
|
|
22229
22264
|
}; }
|
|
22230
22265
|
}
|
|
22231
22266
|
|
|
22232
|
-
const CSS$
|
|
22267
|
+
const CSS$y = {
|
|
22233
22268
|
menu: "menu-container",
|
|
22234
22269
|
menuActive: "menu-container--active",
|
|
22235
22270
|
toggleIcon: "toggle-icon"
|
|
@@ -23464,8 +23499,8 @@ class InputDatePicker {
|
|
|
23464
23499
|
ref: this.setStartWrapper }, hAsync("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
23465
23500
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23466
23501
|
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start")), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
23467
|
-
[CSS$
|
|
23468
|
-
[CSS$
|
|
23502
|
+
[CSS$y.menu]: true,
|
|
23503
|
+
[CSS$y.menuActive]: this.open
|
|
23469
23504
|
}, id: this.dialogId, role: "dialog",
|
|
23470
23505
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23471
23506
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -23487,7 +23522,7 @@ class InputDatePicker {
|
|
|
23487
23522
|
ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
23488
23523
|
}
|
|
23489
23524
|
renderToggleIcon(open) {
|
|
23490
|
-
return (hAsync("span", { class: CSS$
|
|
23525
|
+
return (hAsync("span", { class: CSS$y.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
23491
23526
|
}
|
|
23492
23527
|
setReferenceEl() {
|
|
23493
23528
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -23734,7 +23769,7 @@ class InputMessage {
|
|
|
23734
23769
|
}; }
|
|
23735
23770
|
}
|
|
23736
23771
|
|
|
23737
|
-
const CSS$
|
|
23772
|
+
const CSS$x = {
|
|
23738
23773
|
loader: "loader",
|
|
23739
23774
|
clearButton: "clear-button",
|
|
23740
23775
|
editingEnabled: "editing-enabled",
|
|
@@ -24236,27 +24271,27 @@ class InputNumber {
|
|
|
24236
24271
|
// --------------------------------------------------------------------------
|
|
24237
24272
|
render() {
|
|
24238
24273
|
const dir = getElementDir(this.el);
|
|
24239
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24240
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24241
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24274
|
+
const loader = (hAsync("div", { class: CSS$x.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24275
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$x.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24276
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$x.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
24242
24277
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24243
24278
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24244
|
-
[CSS$
|
|
24245
|
-
[CSS$
|
|
24279
|
+
[CSS$x.numberButtonItem]: true,
|
|
24280
|
+
[CSS$x.buttonItemHorizontal]: isHorizontalNumberButton
|
|
24246
24281
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
24247
24282
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24248
|
-
[CSS$
|
|
24249
|
-
[CSS$
|
|
24283
|
+
[CSS$x.numberButtonItem]: true,
|
|
24284
|
+
[CSS$x.buttonItemHorizontal]: isHorizontalNumberButton
|
|
24250
24285
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
24251
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24252
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24253
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
24286
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$x.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
24287
|
+
const prefixText = hAsync("div", { class: CSS$x.prefix }, this.prefixText);
|
|
24288
|
+
const suffixText = hAsync("div", { class: CSS$x.suffix }, this.suffixText);
|
|
24254
24289
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
24255
24290
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24256
24291
|
ref: this.setChildNumberElRef }));
|
|
24257
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24292
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$x.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
24258
24293
|
? numberButtonsHorizontalDown
|
|
24259
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
24294
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$x.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$x.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
24260
24295
|
? numberButtonsHorizontalUp
|
|
24261
24296
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
24262
24297
|
}
|
|
@@ -24323,7 +24358,7 @@ class InputNumber {
|
|
|
24323
24358
|
}; }
|
|
24324
24359
|
}
|
|
24325
24360
|
|
|
24326
|
-
const CSS$
|
|
24361
|
+
const CSS$w = {
|
|
24327
24362
|
loader: "loader",
|
|
24328
24363
|
clearButton: "clear-button",
|
|
24329
24364
|
editingEnabled: "editing-enabled",
|
|
@@ -24621,18 +24656,18 @@ class InputText {
|
|
|
24621
24656
|
// --------------------------------------------------------------------------
|
|
24622
24657
|
render() {
|
|
24623
24658
|
const dir = getElementDir(this.el);
|
|
24624
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24625
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24626
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24627
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24628
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
24659
|
+
const loader = (hAsync("div", { class: CSS$w.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
24660
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$w.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
24661
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$w.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
24662
|
+
const prefixText = hAsync("div", { class: CSS$w.prefix }, this.prefixText);
|
|
24663
|
+
const suffixText = hAsync("div", { class: CSS$w.suffix }, this.suffixText);
|
|
24629
24664
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24630
|
-
[CSS$
|
|
24631
|
-
[CSS$
|
|
24665
|
+
[CSS$w.editingEnabled]: this.editingEnabled,
|
|
24666
|
+
[CSS$w.inlineChild]: !!this.inlineEditableEl
|
|
24632
24667
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value,
|
|
24633
24668
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24634
24669
|
ref: this.setChildElRef }));
|
|
24635
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
24670
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$w.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$w.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$w.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
24636
24671
|
}
|
|
24637
24672
|
static get assetsDirs() { return ["assets"]; }
|
|
24638
24673
|
get el() { return getElement(this); }
|
|
@@ -24859,7 +24894,7 @@ function parseTimeString(value) {
|
|
|
24859
24894
|
};
|
|
24860
24895
|
}
|
|
24861
24896
|
|
|
24862
|
-
const CSS$
|
|
24897
|
+
const CSS$v = {
|
|
24863
24898
|
toggleIcon: "toggle-icon"
|
|
24864
24899
|
};
|
|
24865
24900
|
|
|
@@ -25172,7 +25207,7 @@ class InputTimePicker {
|
|
|
25172
25207
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25173
25208
|
}
|
|
25174
25209
|
renderToggleIcon(open) {
|
|
25175
|
-
return (hAsync("span", { class: CSS$
|
|
25210
|
+
return (hAsync("span", { class: CSS$v.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25176
25211
|
}
|
|
25177
25212
|
static get delegatesFocus() { return true; }
|
|
25178
25213
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -25219,7 +25254,7 @@ class InputTimePicker {
|
|
|
25219
25254
|
}; }
|
|
25220
25255
|
}
|
|
25221
25256
|
|
|
25222
|
-
const CSS$
|
|
25257
|
+
const CSS$u = {
|
|
25223
25258
|
container: "container"
|
|
25224
25259
|
};
|
|
25225
25260
|
|
|
@@ -25259,7 +25294,7 @@ class Label {
|
|
|
25259
25294
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
25260
25295
|
}
|
|
25261
25296
|
render() {
|
|
25262
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
25297
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$u.container }, hAsync("slot", null))));
|
|
25263
25298
|
}
|
|
25264
25299
|
get el() { return getElement(this); }
|
|
25265
25300
|
static get style() { return labelCss; }
|
|
@@ -25388,7 +25423,7 @@ class Link {
|
|
|
25388
25423
|
}; }
|
|
25389
25424
|
}
|
|
25390
25425
|
|
|
25391
|
-
const CSS$
|
|
25426
|
+
const CSS$t = {
|
|
25392
25427
|
container: "container",
|
|
25393
25428
|
containerBorderSelected: "container--border-selected",
|
|
25394
25429
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -25449,7 +25484,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
25449
25484
|
}
|
|
25450
25485
|
}
|
|
25451
25486
|
|
|
25452
|
-
const CSS$
|
|
25487
|
+
const CSS$s = {
|
|
25453
25488
|
container: "container",
|
|
25454
25489
|
table: "table",
|
|
25455
25490
|
scrim: "scrim",
|
|
@@ -25683,9 +25718,9 @@ class List$1 {
|
|
|
25683
25718
|
// --------------------------------------------------------------------------
|
|
25684
25719
|
render() {
|
|
25685
25720
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
25686
|
-
return (hAsync("div", { class: CSS$
|
|
25721
|
+
return (hAsync("div", { class: CSS$s.container }, loading ? hAsync("calcite-scrim", { class: CSS$s.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$s.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$s.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, value: filterText,
|
|
25687
25722
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25688
|
-
ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$
|
|
25723
|
+
ref: (el) => (this.filterEl = el) }))))) : null, hAsync("tbody", { class: CSS$s.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
25689
25724
|
}
|
|
25690
25725
|
updateListItems() {
|
|
25691
25726
|
const { selectionAppearance, selectionMode } = this;
|
|
@@ -25974,7 +26009,7 @@ class ListItem {
|
|
|
25974
26009
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
25975
26010
|
return null;
|
|
25976
26011
|
}
|
|
25977
|
-
return (hAsync("td", { class: CSS$
|
|
26012
|
+
return (hAsync("td", { class: CSS$t.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
25978
26013
|
? selectionMode === "multiple"
|
|
25979
26014
|
? ICONS$6.selectedMultiple
|
|
25980
26015
|
: ICONS$6.selectedSingle
|
|
@@ -25983,35 +26018,35 @@ class ListItem {
|
|
|
25983
26018
|
renderOpen() {
|
|
25984
26019
|
const { el, open, openable, parentListEl } = this;
|
|
25985
26020
|
const dir = getElementDir(el);
|
|
25986
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
26021
|
+
return openable ? (hAsync("td", { class: CSS$t.openContainer, key: "open-container", onClick: this.toggleOpen }, hAsync("calcite-icon", { icon: open ? ICONS$6.open : dir === "rtl" ? ICONS$6.closedRTL : ICONS$6.closedLTR, scale: "s" }))) : parentListEl?.openable ? (hAsync("td", { class: CSS$t.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$6.blank, scale: "s" }))) : null;
|
|
25987
26022
|
}
|
|
25988
26023
|
renderActionsStart() {
|
|
25989
26024
|
const { label, hasActionsStart } = this;
|
|
25990
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
26025
|
+
return (hAsync("td", { "aria-label": label, class: CSS$t.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", role: "gridcell",
|
|
25991
26026
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25992
26027
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$f.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
25993
26028
|
}
|
|
25994
26029
|
renderActionsEnd() {
|
|
25995
26030
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
25996
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
26031
|
+
return (hAsync("td", { "aria-label": label, class: CSS$t.actionsEnd, hidden: !(hasActionsEnd || closable), key: "actions-end-container", role: "gridcell",
|
|
25997
26032
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25998
26033
|
ref: (el) => (this.actionsEndEl = el) }, hAsync("slot", { name: SLOTS$f.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), closable ? (hAsync("calcite-action", { appearance: "transparent", icon: ICONS$6.close, key: "close-action", label: messages.close, onClick: this.closeClickHandler, text: messages.close })) : null));
|
|
25999
26034
|
}
|
|
26000
26035
|
renderContentStart() {
|
|
26001
26036
|
const { hasContentStart } = this;
|
|
26002
|
-
return (hAsync("div", { class: CSS$
|
|
26037
|
+
return (hAsync("div", { class: CSS$t.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$f.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
26003
26038
|
}
|
|
26004
26039
|
renderCustomContent() {
|
|
26005
26040
|
const { hasCustomContent } = this;
|
|
26006
|
-
return (hAsync("div", { class: CSS$
|
|
26041
|
+
return (hAsync("div", { class: CSS$t.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$f.content, onSlotchange: this.handleContentSlotChange })));
|
|
26007
26042
|
}
|
|
26008
26043
|
renderContentEnd() {
|
|
26009
26044
|
const { hasContentEnd } = this;
|
|
26010
|
-
return (hAsync("div", { class: CSS$
|
|
26045
|
+
return (hAsync("div", { class: CSS$t.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$f.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
26011
26046
|
}
|
|
26012
26047
|
renderContentProperties() {
|
|
26013
26048
|
const { label, description, hasCustomContent } = this;
|
|
26014
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
26049
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$t.content, key: "content" }, label ? (hAsync("div", { class: CSS$t.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$t.description, key: "description" }, description)) : null)) : null;
|
|
26015
26050
|
}
|
|
26016
26051
|
renderContentContainer() {
|
|
26017
26052
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -26023,9 +26058,9 @@ class ListItem {
|
|
|
26023
26058
|
this.renderContentEnd()
|
|
26024
26059
|
];
|
|
26025
26060
|
return (hAsync("td", { "aria-label": label, class: {
|
|
26026
|
-
[CSS$
|
|
26027
|
-
[CSS$
|
|
26028
|
-
[CSS$
|
|
26061
|
+
[CSS$t.contentContainer]: true,
|
|
26062
|
+
[CSS$t.contentContainerSelectable]: selectionMode !== "none",
|
|
26063
|
+
[CSS$t.contentContainerHasCenterContent]: hasCenterContent
|
|
26029
26064
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
26030
26065
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26031
26066
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -26036,14 +26071,14 @@ class ListItem {
|
|
|
26036
26071
|
const borderSelected = showBorder && selected;
|
|
26037
26072
|
const borderUnselected = showBorder && !selected;
|
|
26038
26073
|
return (hAsync(Host, null, hAsync("tr", { "aria-expanded": openable ? toAriaBoolean(open) : null, "aria-label": label, "aria-level": level, "aria-posinset": setPosition, "aria-selected": toAriaBoolean(selected), "aria-setsize": setSize, class: {
|
|
26039
|
-
[CSS$
|
|
26040
|
-
[CSS$
|
|
26041
|
-
[CSS$
|
|
26074
|
+
[CSS$t.container]: true,
|
|
26075
|
+
[CSS$t.containerBorderSelected]: borderSelected,
|
|
26076
|
+
[CSS$t.containerBorderUnselected]: borderUnselected
|
|
26042
26077
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
26043
26078
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26044
26079
|
ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
26045
|
-
[CSS$
|
|
26046
|
-
[CSS$
|
|
26080
|
+
[CSS$t.nestedContainer]: true,
|
|
26081
|
+
[CSS$t.nestedContainerHidden]: openable && !open
|
|
26047
26082
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
26048
26083
|
}
|
|
26049
26084
|
setSelectionDefaults() {
|
|
@@ -26106,7 +26141,7 @@ class ListItem {
|
|
|
26106
26141
|
}; }
|
|
26107
26142
|
}
|
|
26108
26143
|
|
|
26109
|
-
const CSS$
|
|
26144
|
+
const CSS$r = {
|
|
26110
26145
|
container: "container",
|
|
26111
26146
|
heading: "heading"
|
|
26112
26147
|
};
|
|
@@ -26142,7 +26177,7 @@ class ListItemGroup {
|
|
|
26142
26177
|
// --------------------------------------------------------------------------
|
|
26143
26178
|
render() {
|
|
26144
26179
|
const { heading, visualLevel } = this;
|
|
26145
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
26180
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$r.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$r.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", null)));
|
|
26146
26181
|
}
|
|
26147
26182
|
get el() { return getElement(this); }
|
|
26148
26183
|
static get style() { return listItemGroupCss; }
|
|
@@ -26242,7 +26277,7 @@ class Loader {
|
|
|
26242
26277
|
}; }
|
|
26243
26278
|
}
|
|
26244
26279
|
|
|
26245
|
-
const CSS$
|
|
26280
|
+
const CSS$q = {
|
|
26246
26281
|
modal: "modal",
|
|
26247
26282
|
title: "title",
|
|
26248
26283
|
header: "header",
|
|
@@ -26415,50 +26450,50 @@ class Modal {
|
|
|
26415
26450
|
}
|
|
26416
26451
|
render() {
|
|
26417
26452
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
26418
|
-
[CSS$
|
|
26419
|
-
[CSS$
|
|
26420
|
-
[CSS$
|
|
26421
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
26422
|
-
[CSS$
|
|
26453
|
+
[CSS$q.container]: true,
|
|
26454
|
+
[CSS$q.containerOpen]: this.isOpen,
|
|
26455
|
+
[CSS$q.slottedInShell]: this.slottedInShell
|
|
26456
|
+
} }, hAsync("calcite-scrim", { class: CSS$q.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
26457
|
+
[CSS$q.modal]: true
|
|
26423
26458
|
},
|
|
26424
26459
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26425
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
26426
|
-
[CSS$
|
|
26427
|
-
[CSS$
|
|
26460
|
+
ref: this.setTransitionEl }, hAsync("div", { class: CSS$q.header }, this.renderCloseButton(), hAsync("header", { class: CSS$q.title }, hAsync("slot", { name: CSS$q.header }))), this.renderContentTop(), hAsync("div", { class: {
|
|
26461
|
+
[CSS$q.content]: true,
|
|
26462
|
+
[CSS$q.contentNoFooter]: !this.hasFooter
|
|
26428
26463
|
},
|
|
26429
26464
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26430
26465
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$e.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
26431
26466
|
}
|
|
26432
26467
|
renderFooter() {
|
|
26433
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
26468
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$q.footer, key: "footer" }, hAsync("span", { class: CSS$q.back }, hAsync("slot", { name: SLOTS$e.back })), hAsync("span", { class: CSS$q.secondary }, hAsync("slot", { name: SLOTS$e.secondary })), hAsync("span", { class: CSS$q.primary }, hAsync("slot", { name: SLOTS$e.primary })))) : null;
|
|
26434
26469
|
}
|
|
26435
26470
|
renderContentTop() {
|
|
26436
|
-
return (hAsync("div", { class: CSS$
|
|
26471
|
+
return (hAsync("div", { class: CSS$q.contentTop, hidden: !this.hasContentTop }, hAsync("slot", { name: SLOTS$e.contentTop, onSlotchange: this.contentTopSlotChangeHandler })));
|
|
26437
26472
|
}
|
|
26438
26473
|
renderContentBottom() {
|
|
26439
|
-
return (hAsync("div", { class: CSS$
|
|
26474
|
+
return (hAsync("div", { class: CSS$q.contentBottom, hidden: !this.hasContentBottom }, hAsync("slot", { name: SLOTS$e.contentBottom, onSlotchange: this.contentBottomSlotChangeHandler })));
|
|
26440
26475
|
}
|
|
26441
26476
|
renderCloseButton() {
|
|
26442
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
26477
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$q.close, key: "button", onClick: this.close, title: this.messages.close,
|
|
26443
26478
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26444
26479
|
ref: (el) => (this.closeButtonEl = el) }, hAsync("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
26445
26480
|
}
|
|
26446
26481
|
renderStyle() {
|
|
26447
26482
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
26448
|
-
return (hAsync("style", null, `.${CSS$
|
|
26483
|
+
return (hAsync("style", null, `.${CSS$q.container} {
|
|
26449
26484
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
26450
26485
|
}
|
|
26451
|
-
.${CSS$
|
|
26486
|
+
.${CSS$q.modal} {
|
|
26452
26487
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
26453
26488
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
26454
26489
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
26455
26490
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
26456
26491
|
}
|
|
26457
26492
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
26458
|
-
.${CSS$
|
|
26493
|
+
.${CSS$q.container} {
|
|
26459
26494
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
26460
26495
|
}
|
|
26461
|
-
.${CSS$
|
|
26496
|
+
.${CSS$q.modal} {
|
|
26462
26497
|
max-block-size: 100% !important;
|
|
26463
26498
|
inline-size: 100% !important;
|
|
26464
26499
|
max-inline-size: 100% !important;
|
|
@@ -26525,31 +26560,31 @@ class Modal {
|
|
|
26525
26560
|
}
|
|
26526
26561
|
}
|
|
26527
26562
|
onBeforeOpen() {
|
|
26528
|
-
this.transitionEl.classList.add(CSS$
|
|
26563
|
+
this.transitionEl.classList.add(CSS$q.openingActive);
|
|
26529
26564
|
this.calciteModalBeforeOpen.emit();
|
|
26530
26565
|
}
|
|
26531
26566
|
onOpen() {
|
|
26532
|
-
this.transitionEl.classList.remove(CSS$
|
|
26567
|
+
this.transitionEl.classList.remove(CSS$q.openingIdle, CSS$q.openingActive);
|
|
26533
26568
|
this.calciteModalOpen.emit();
|
|
26534
26569
|
activateFocusTrap(this);
|
|
26535
26570
|
}
|
|
26536
26571
|
onBeforeClose() {
|
|
26537
|
-
this.transitionEl.classList.add(CSS$
|
|
26572
|
+
this.transitionEl.classList.add(CSS$q.closingActive);
|
|
26538
26573
|
this.calciteModalBeforeClose.emit();
|
|
26539
26574
|
}
|
|
26540
26575
|
onClose() {
|
|
26541
|
-
this.transitionEl.classList.remove(CSS$
|
|
26576
|
+
this.transitionEl.classList.remove(CSS$q.closingIdle, CSS$q.closingActive);
|
|
26542
26577
|
this.calciteModalClose.emit();
|
|
26543
26578
|
deactivateFocusTrap(this);
|
|
26544
26579
|
}
|
|
26545
26580
|
async toggleModal(value) {
|
|
26546
26581
|
onToggleOpenCloseComponent(this);
|
|
26547
26582
|
if (value) {
|
|
26548
|
-
this.transitionEl?.classList.add(CSS$
|
|
26583
|
+
this.transitionEl?.classList.add(CSS$q.openingIdle);
|
|
26549
26584
|
this.openModal();
|
|
26550
26585
|
}
|
|
26551
26586
|
else {
|
|
26552
|
-
this.transitionEl?.classList.add(CSS$
|
|
26587
|
+
this.transitionEl?.classList.add(CSS$q.closingIdle);
|
|
26553
26588
|
this.close();
|
|
26554
26589
|
}
|
|
26555
26590
|
}
|
|
@@ -26563,11 +26598,11 @@ class Modal {
|
|
|
26563
26598
|
this.titleId = ensureId(titleEl);
|
|
26564
26599
|
this.contentId = ensureId(contentEl);
|
|
26565
26600
|
if (!this.slottedInShell) {
|
|
26566
|
-
document.documentElement.classList.add(CSS$
|
|
26601
|
+
document.documentElement.classList.add(CSS$q.overflowHidden);
|
|
26567
26602
|
}
|
|
26568
26603
|
}
|
|
26569
26604
|
removeOverflowHiddenClass() {
|
|
26570
|
-
document.documentElement.classList.remove(CSS$
|
|
26605
|
+
document.documentElement.classList.remove(CSS$q.overflowHidden);
|
|
26571
26606
|
}
|
|
26572
26607
|
static get assetsDirs() { return ["assets"]; }
|
|
26573
26608
|
get el() { return getElement(this); }
|
|
@@ -26620,7 +26655,7 @@ const SLOTS$d = {
|
|
|
26620
26655
|
link: "link",
|
|
26621
26656
|
actionsEnd: "actions-end"
|
|
26622
26657
|
};
|
|
26623
|
-
const CSS$
|
|
26658
|
+
const CSS$p = {
|
|
26624
26659
|
actionsEnd: "actions-end",
|
|
26625
26660
|
close: "notice-close",
|
|
26626
26661
|
container: "container",
|
|
@@ -26699,11 +26734,11 @@ class Notice {
|
|
|
26699
26734
|
}
|
|
26700
26735
|
render() {
|
|
26701
26736
|
const { el } = this;
|
|
26702
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
26737
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$p.close, onClick: this.close,
|
|
26703
26738
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26704
26739
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26705
26740
|
const hasActionEnd = getSlotted(el, SLOTS$d.actionsEnd);
|
|
26706
|
-
return (hAsync("div", { class: CSS$
|
|
26741
|
+
return (hAsync("div", { class: CSS$p.container }, this.requestedIcon ? (hAsync("div", { class: CSS$p.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$p.content }, hAsync("slot", { name: SLOTS$d.title }), hAsync("slot", { name: SLOTS$d.message }), hAsync("slot", { name: SLOTS$d.link })), hasActionEnd ? (hAsync("div", { class: CSS$p.actionsEnd }, hAsync("slot", { name: SLOTS$d.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
26707
26742
|
}
|
|
26708
26743
|
//--------------------------------------------------------------------------
|
|
26709
26744
|
//
|
|
@@ -26882,7 +26917,7 @@ class OptionGroup {
|
|
|
26882
26917
|
}; }
|
|
26883
26918
|
}
|
|
26884
26919
|
|
|
26885
|
-
const CSS$
|
|
26920
|
+
const CSS$o = {
|
|
26886
26921
|
page: "page",
|
|
26887
26922
|
selected: "is-selected",
|
|
26888
26923
|
previous: "previous",
|
|
@@ -27040,8 +27075,8 @@ class Pagination {
|
|
|
27040
27075
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
27041
27076
|
const selected = start === this.startItem;
|
|
27042
27077
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
27043
|
-
[CSS$
|
|
27044
|
-
[CSS$
|
|
27078
|
+
[CSS$o.page]: true,
|
|
27079
|
+
[CSS$o.selected]: selected
|
|
27045
27080
|
}, onClick: () => {
|
|
27046
27081
|
this.startItem = start;
|
|
27047
27082
|
this.emitUpdate();
|
|
@@ -27049,12 +27084,12 @@ class Pagination {
|
|
|
27049
27084
|
}
|
|
27050
27085
|
renderLeftEllipsis() {
|
|
27051
27086
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
27052
|
-
return hAsync("span", { class: `${CSS$
|
|
27087
|
+
return hAsync("span", { class: `${CSS$o.ellipsis} ${CSS$o.ellipsisStart}` }, "\u2026");
|
|
27053
27088
|
}
|
|
27054
27089
|
}
|
|
27055
27090
|
renderRightEllipsis() {
|
|
27056
27091
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
27057
|
-
return hAsync("span", { class: `${CSS$
|
|
27092
|
+
return hAsync("span", { class: `${CSS$o.ellipsis} ${CSS$o.ellipsisEnd}` }, "\u2026");
|
|
27058
27093
|
}
|
|
27059
27094
|
}
|
|
27060
27095
|
render() {
|
|
@@ -27062,11 +27097,11 @@ class Pagination {
|
|
|
27062
27097
|
const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
|
|
27063
27098
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
27064
27099
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.messages.previous, class: {
|
|
27065
|
-
[CSS$
|
|
27066
|
-
[CSS$
|
|
27100
|
+
[CSS$o.previous]: true,
|
|
27101
|
+
[CSS$o.disabled]: prevDisabled
|
|
27067
27102
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: this.scale === "l" ? "m" : "s" })), totalItems > pageSize ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.messages.next, class: {
|
|
27068
|
-
[CSS$
|
|
27069
|
-
[CSS$
|
|
27103
|
+
[CSS$o.next]: true,
|
|
27104
|
+
[CSS$o.disabled]: nextDisabled
|
|
27070
27105
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: this.scale === "l" ? "m" : "s" }))));
|
|
27071
27106
|
}
|
|
27072
27107
|
static get delegatesFocus() { return true; }
|
|
@@ -27295,22 +27330,22 @@ class Panel {
|
|
|
27295
27330
|
// --------------------------------------------------------------------------
|
|
27296
27331
|
renderHeaderContent() {
|
|
27297
27332
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
27298
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
27299
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
27300
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
27333
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$E.heading, level: headingLevel }, heading)) : null;
|
|
27334
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$E.description }, description) : null;
|
|
27335
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$E.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
27301
27336
|
}
|
|
27302
27337
|
renderActionBar() {
|
|
27303
|
-
return (hAsync("div", { class: CSS$
|
|
27338
|
+
return (hAsync("div", { class: CSS$E.actionBarContainer, hidden: !this.hasActionBar }, hAsync("slot", { name: SLOTS$k.actionBar, onSlotchange: this.handleActionBarSlotChange })));
|
|
27304
27339
|
}
|
|
27305
27340
|
/**
|
|
27306
27341
|
* Allows user to override the entire header-content node.
|
|
27307
27342
|
*/
|
|
27308
27343
|
renderHeaderSlottedContent() {
|
|
27309
|
-
return (hAsync("div", { class: CSS$
|
|
27344
|
+
return (hAsync("div", { class: CSS$E.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$k.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
27310
27345
|
}
|
|
27311
27346
|
renderHeaderStartActions() {
|
|
27312
27347
|
const { hasStartActions } = this;
|
|
27313
|
-
return (hAsync("div", { class: { [CSS$
|
|
27348
|
+
return (hAsync("div", { class: { [CSS$E.headerActionsStart]: true, [CSS$E.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$k.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
27314
27349
|
}
|
|
27315
27350
|
renderHeaderActionsEnd() {
|
|
27316
27351
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -27320,7 +27355,7 @@ class Panel {
|
|
|
27320
27355
|
ref: this.setCloseRef })) : null;
|
|
27321
27356
|
const slotNode = (hAsync("slot", { name: SLOTS$k.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
27322
27357
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
27323
|
-
return (hAsync("div", { class: { [CSS$
|
|
27358
|
+
return (hAsync("div", { class: { [CSS$E.headerActionsEnd]: true, [CSS$E.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, this.renderMenu(), closableNode));
|
|
27324
27359
|
}
|
|
27325
27360
|
renderMenu() {
|
|
27326
27361
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -27335,31 +27370,31 @@ class Panel {
|
|
|
27335
27370
|
hasEndActions ||
|
|
27336
27371
|
closable ||
|
|
27337
27372
|
hasMenuItems;
|
|
27338
|
-
return (hAsync("header", { class: CSS$
|
|
27373
|
+
return (hAsync("header", { class: CSS$E.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()));
|
|
27339
27374
|
}
|
|
27340
27375
|
renderFooterNode() {
|
|
27341
27376
|
const { hasFooterContent, hasFooterActions } = this;
|
|
27342
27377
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
27343
|
-
return (hAsync("footer", { class: CSS$
|
|
27378
|
+
return (hAsync("footer", { class: CSS$E.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$k.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$k.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
27344
27379
|
}
|
|
27345
27380
|
renderContent() {
|
|
27346
27381
|
const { hasFab } = this;
|
|
27347
27382
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
27348
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
27383
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$E.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
27349
27384
|
return (hAsync("div", { class: {
|
|
27350
|
-
[CSS$
|
|
27351
|
-
[CSS$
|
|
27352
|
-
[CSS$
|
|
27385
|
+
[CSS$E.contentWrapper]: true,
|
|
27386
|
+
[CSS$E.contentContainer]: !hasFab,
|
|
27387
|
+
[CSS$E.contentHeight]: hasFab
|
|
27353
27388
|
}, onScroll: this.panelScrollHandler,
|
|
27354
27389
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27355
27390
|
ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
27356
27391
|
}
|
|
27357
27392
|
renderFab() {
|
|
27358
|
-
return (hAsync("div", { class: CSS$
|
|
27393
|
+
return (hAsync("div", { class: CSS$E.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$k.fab, onSlotchange: this.handleFabSlotChange })));
|
|
27359
27394
|
}
|
|
27360
27395
|
render() {
|
|
27361
27396
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
27362
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
27397
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$E.container, hidden: closed, onKeyDown: panelKeyDownHandler, tabIndex: closable ? 0 : -1,
|
|
27363
27398
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27364
27399
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderActionBar(), this.renderContent(), this.renderFooterNode()));
|
|
27365
27400
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -27404,7 +27439,7 @@ class Panel {
|
|
|
27404
27439
|
}; }
|
|
27405
27440
|
}
|
|
27406
27441
|
|
|
27407
|
-
const CSS$
|
|
27442
|
+
const CSS$n = {
|
|
27408
27443
|
sticky: "sticky-pos"
|
|
27409
27444
|
};
|
|
27410
27445
|
var ICON_TYPES$1;
|
|
@@ -27417,7 +27452,7 @@ const SLOTS$c = {
|
|
|
27417
27452
|
menuActions: "menu-actions"
|
|
27418
27453
|
};
|
|
27419
27454
|
|
|
27420
|
-
const CSS$
|
|
27455
|
+
const CSS$m = {
|
|
27421
27456
|
heading: "heading",
|
|
27422
27457
|
container: "container",
|
|
27423
27458
|
indented: "container--indented"
|
|
@@ -27743,7 +27778,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
27743
27778
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
27744
27779
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27745
27780
|
ref: storeAssistiveEl })) : null,
|
|
27746
|
-
hAsync("header", { class: { [CSS$
|
|
27781
|
+
hAsync("header", { class: { [CSS$n.sticky]: true } },
|
|
27747
27782
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
27748
27783
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27749
27784
|
ref: setFilterEl })) : null,
|
|
@@ -27932,14 +27967,14 @@ class PickListGroup {
|
|
|
27932
27967
|
const { el, groupTitle, headingLevel } = this;
|
|
27933
27968
|
const hasParentItem = getSlotted(el, SLOTS$b.parentItem) !== null;
|
|
27934
27969
|
const sectionClasses = {
|
|
27935
|
-
[CSS$
|
|
27936
|
-
[CSS$
|
|
27970
|
+
[CSS$m.container]: true,
|
|
27971
|
+
[CSS$m.indented]: hasParentItem
|
|
27937
27972
|
};
|
|
27938
27973
|
const title = groupTitle;
|
|
27939
27974
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
27940
27975
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
27941
27976
|
const level = headingLevel || relativeLevel;
|
|
27942
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
27977
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$m.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$b.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
27943
27978
|
}
|
|
27944
27979
|
get el() { return getElement(this); }
|
|
27945
27980
|
static get style() { return pickListGroupCss; }
|
|
@@ -27956,7 +27991,7 @@ class PickListGroup {
|
|
|
27956
27991
|
}; }
|
|
27957
27992
|
}
|
|
27958
27993
|
|
|
27959
|
-
const CSS$
|
|
27994
|
+
const CSS$l = {
|
|
27960
27995
|
actions: "actions",
|
|
27961
27996
|
actionsEnd: "actions--end",
|
|
27962
27997
|
actionsStart: "actions--start",
|
|
@@ -28116,28 +28151,28 @@ class PickListItem {
|
|
|
28116
28151
|
return null;
|
|
28117
28152
|
}
|
|
28118
28153
|
return (hAsync("span", { class: {
|
|
28119
|
-
[CSS$
|
|
28120
|
-
[CSS$
|
|
28154
|
+
[CSS$l.icon]: true,
|
|
28155
|
+
[CSS$l.iconDot]: icon === ICON_TYPES$1.circle
|
|
28121
28156
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$4.checked, scale: "s" })) : null));
|
|
28122
28157
|
}
|
|
28123
28158
|
renderRemoveAction() {
|
|
28124
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
28159
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$l.remove, icon: ICONS$4.remove, onClick: this.removeClickHandler, slot: SLOTS$a.actionsEnd, text: this.messages.remove })) : null;
|
|
28125
28160
|
}
|
|
28126
28161
|
renderActionsStart() {
|
|
28127
28162
|
const { el } = this;
|
|
28128
28163
|
const hasActionsStart = getSlotted(el, SLOTS$a.actionsStart);
|
|
28129
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
28164
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$l.actions]: true, [CSS$l.actionsStart]: true } }, hAsync("slot", { name: SLOTS$a.actionsStart }))) : null;
|
|
28130
28165
|
}
|
|
28131
28166
|
renderActionsEnd() {
|
|
28132
28167
|
const { el, removable } = this;
|
|
28133
28168
|
const hasActionsEnd = getSlotted(el, SLOTS$a.actionsEnd);
|
|
28134
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
28169
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$l.actions]: true, [CSS$l.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$a.actionsEnd }), this.renderRemoveAction())) : null;
|
|
28135
28170
|
}
|
|
28136
28171
|
render() {
|
|
28137
28172
|
const { description, label } = this;
|
|
28138
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
28173
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$l.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, tabIndex: 0,
|
|
28139
28174
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28140
|
-
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$
|
|
28175
|
+
ref: (focusEl) => (this.focusEl = focusEl) }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$l.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$l.title }, label), description ? hAsync("span", { class: CSS$l.description }, description) : null)), this.renderActionsEnd()));
|
|
28141
28176
|
}
|
|
28142
28177
|
static get assetsDirs() { return ["assets"]; }
|
|
28143
28178
|
get el() { return getElement(this); }
|
|
@@ -28180,9 +28215,8 @@ class PickListItem {
|
|
|
28180
28215
|
}; }
|
|
28181
28216
|
}
|
|
28182
28217
|
|
|
28183
|
-
const CSS$
|
|
28218
|
+
const CSS$k = {
|
|
28184
28219
|
container: "container",
|
|
28185
|
-
arrow: "arrow",
|
|
28186
28220
|
imageContainer: "image-container",
|
|
28187
28221
|
closeButtonContainer: "close-button-container",
|
|
28188
28222
|
closeButton: "close-button",
|
|
@@ -28275,7 +28309,42 @@ class PopoverManager {
|
|
|
28275
28309
|
}
|
|
28276
28310
|
}
|
|
28277
28311
|
|
|
28278
|
-
const
|
|
28312
|
+
const CSS$j = {
|
|
28313
|
+
arrow: "calcite-floating-ui-arrow",
|
|
28314
|
+
arrowStroke: "calcite-floating-ui-arrow__stroke"
|
|
28315
|
+
};
|
|
28316
|
+
const DEFAULTS = {
|
|
28317
|
+
width: 12,
|
|
28318
|
+
height: 6,
|
|
28319
|
+
strokeWidth: 1
|
|
28320
|
+
};
|
|
28321
|
+
/**
|
|
28322
|
+
* Renders a SVG element to be used as a floating-ui arrow.
|
|
28323
|
+
*
|
|
28324
|
+
* This functional component should be rendered inside a `FloatingUIComponent` when it needs an arrow element.
|
|
28325
|
+
*
|
|
28326
|
+
* @param floatingLayout.floatingLayout
|
|
28327
|
+
* @param floatingLayout – The effective floating layout to render the arrow vertically or horizontally. Possible values: `vertical` or `horizontal`.
|
|
28328
|
+
*
|
|
28329
|
+
* See [floating-ui](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts)
|
|
28330
|
+
* @param floatingLayout.key
|
|
28331
|
+
* @param floatingLayout.ref
|
|
28332
|
+
*/
|
|
28333
|
+
const FloatingArrow = ({ floatingLayout, key, ref }) => {
|
|
28334
|
+
const { width, height, strokeWidth } = DEFAULTS;
|
|
28335
|
+
const svgX = width / 2;
|
|
28336
|
+
const isVertical = floatingLayout === "vertical";
|
|
28337
|
+
const dValue = "M0,0" +
|
|
28338
|
+
` H${width}` +
|
|
28339
|
+
` L${width - svgX},${height}` +
|
|
28340
|
+
` Q${svgX},${height} ${svgX},${height}` +
|
|
28341
|
+
" Z";
|
|
28342
|
+
return (hAsync("svg", { "aria-hidden": "true", class: CSS$j.arrow, height: width, key: key, ref: ref, viewBox: `0 0 ${width} ${width + (!isVertical ? strokeWidth : 0)}`, width: width + (isVertical ? strokeWidth : 0) },
|
|
28343
|
+
strokeWidth > 0 && (hAsync("path", { class: CSS$j.arrowStroke, d: dValue, fill: "none", "stroke-width": strokeWidth + 1 })),
|
|
28344
|
+
hAsync("path", { d: dValue, stroke: "none" })));
|
|
28345
|
+
};
|
|
28346
|
+
|
|
28347
|
+
const popoverCss = "@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-popover: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-popover{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-popover{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-popover:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-popover:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{--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*/.calcite-floating-ui-anim.sc-calcite-popover{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-popover-h .calcite-floating-ui-anim.sc-calcite-popover{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-popover-h .calcite-floating-ui-anim--active.sc-calcite-popover{opacity:1;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-popover-h{visibility:hidden !important;pointer-events:none}/*!@.calcite-floating-ui-arrow*/.calcite-floating-ui-arrow.sc-calcite-popover{pointer-events:none;position:absolute;z-index:-1;fill:var(--calcite-ui-foreground-1)}/*!@.calcite-floating-ui-arrow__stroke*/.calcite-floating-ui-arrow__stroke.sc-calcite-popover{stroke:var(--calcite-ui-border-3)}/*!@:host([scale=s]) .heading*/[scale=s].sc-calcite-popover-h .heading.sc-calcite-popover{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .heading*/[scale=m].sc-calcite-popover-h .heading.sc-calcite-popover{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .heading*/[scale=l].sc-calcite-popover-h .heading.sc-calcite-popover{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-popover{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-ui-border-3)}/*!@.heading*/.heading.sc-calcite-popover{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*/.container.sc-calcite-popover{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-ui-text-1)}/*!@.container.has-header*/.container.has-header.sc-calcite-popover{flex-direction:column}/*!@.content*/.content.sc-calcite-popover{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*/.close-button-container.sc-calcite-popover{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{block-size:100%}";
|
|
28279
28348
|
|
|
28280
28349
|
const manager$1 = new PopoverManager();
|
|
28281
28350
|
/**
|
|
@@ -28386,6 +28455,7 @@ class Popover {
|
|
|
28386
28455
|
this.scale = "m";
|
|
28387
28456
|
this.triggerDisabled = false;
|
|
28388
28457
|
this.effectiveLocale = "";
|
|
28458
|
+
this.floatingLayout = "vertical";
|
|
28389
28459
|
this.effectiveReferenceElement = undefined;
|
|
28390
28460
|
this.defaultMessages = undefined;
|
|
28391
28461
|
}
|
|
@@ -28481,7 +28551,6 @@ class Popover {
|
|
|
28481
28551
|
flipPlacements: filteredFlipPlacements,
|
|
28482
28552
|
offsetDistance,
|
|
28483
28553
|
offsetSkidding,
|
|
28484
|
-
includeArrow: !this.pointerDisabled,
|
|
28485
28554
|
arrowEl,
|
|
28486
28555
|
type: "popover"
|
|
28487
28556
|
}, delayed);
|
|
@@ -28527,20 +28596,20 @@ class Popover {
|
|
|
28527
28596
|
// --------------------------------------------------------------------------
|
|
28528
28597
|
renderCloseButton() {
|
|
28529
28598
|
const { messages, closable } = this;
|
|
28530
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
28599
|
+
return closable ? (hAsync("div", { class: CSS$k.closeButtonContainer, key: CSS$k.closeButtonContainer }, hAsync("calcite-action", { appearance: "transparent", class: CSS$k.closeButton, onClick: this.hide, scale: this.scale, text: messages.close,
|
|
28531
28600
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28532
28601
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
28533
28602
|
}
|
|
28534
28603
|
renderHeader() {
|
|
28535
28604
|
const { heading, headingLevel } = this;
|
|
28536
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
28537
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
28605
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$k.heading, level: headingLevel }, heading)) : null;
|
|
28606
|
+
return headingNode ? (hAsync("div", { class: CSS$k.header, key: CSS$k.header }, headingNode, this.renderCloseButton())) : null;
|
|
28538
28607
|
}
|
|
28539
28608
|
render() {
|
|
28540
|
-
const { effectiveReferenceElement, heading, label, open, pointerDisabled } = this;
|
|
28609
|
+
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
28541
28610
|
const displayed = effectiveReferenceElement && open;
|
|
28542
28611
|
const hidden = !displayed;
|
|
28543
|
-
const arrowNode = !pointerDisabled ? (hAsync(
|
|
28612
|
+
const arrowNode = !pointerDisabled ? (hAsync(FloatingArrow, { floatingLayout: floatingLayout, key: "floating-arrow",
|
|
28544
28613
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28545
28614
|
ref: this.storeArrowEl })) : null;
|
|
28546
28615
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, hAsync("div", { class: {
|
|
@@ -28549,9 +28618,9 @@ class Popover {
|
|
|
28549
28618
|
},
|
|
28550
28619
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28551
28620
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
28552
|
-
[CSS$
|
|
28553
|
-
[CSS$
|
|
28554
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
28621
|
+
[CSS$k.hasHeader]: !!heading,
|
|
28622
|
+
[CSS$k.container]: true
|
|
28623
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$k.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
28555
28624
|
}
|
|
28556
28625
|
static get assetsDirs() { return ["assets"]; }
|
|
28557
28626
|
get el() { return getElement(this); }
|
|
@@ -28592,6 +28661,7 @@ class Popover {
|
|
|
28592
28661
|
"scale": [513],
|
|
28593
28662
|
"triggerDisabled": [516, "trigger-disabled"],
|
|
28594
28663
|
"effectiveLocale": [32],
|
|
28664
|
+
"floatingLayout": [32],
|
|
28595
28665
|
"effectiveReferenceElement": [32],
|
|
28596
28666
|
"defaultMessages": [32],
|
|
28597
28667
|
"reposition": [64],
|
|
@@ -37486,8 +37556,7 @@ class TipManager {
|
|
|
37486
37556
|
}
|
|
37487
37557
|
|
|
37488
37558
|
const CSS$2 = {
|
|
37489
|
-
container: "container"
|
|
37490
|
-
arrow: "arrow"
|
|
37559
|
+
container: "container"
|
|
37491
37560
|
};
|
|
37492
37561
|
const TOOLTIP_DELAY_MS = 500;
|
|
37493
37562
|
const ARIA_DESCRIBED_BY = "aria-describedby";
|
|
@@ -37640,7 +37709,7 @@ class TooltipManager {
|
|
|
37640
37709
|
}
|
|
37641
37710
|
}
|
|
37642
37711
|
|
|
37643
|
-
const tooltipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tooltip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tooltip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tooltip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tooltip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tooltip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tooltip:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tooltip-h{display:none}/*!@:host*/.sc-calcite-tooltip-h{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, 901);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-tooltip-h .calcite-floating-ui-anim--active.sc-calcite-tooltip{opacity:1;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tooltip-h{visibility:hidden !important;pointer-events:none}/*!@.arrow
|
|
37712
|
+
const tooltipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-tooltip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tooltip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tooltip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tooltip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tooltip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tooltip:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-tooltip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tooltip-h{display:none}/*!@:host*/.sc-calcite-tooltip-h{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, 901);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}/*!@:host([data-placement^=bottom]) .calcite-floating-ui-anim*/[data-placement^=bottom].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(-5px)}/*!@:host([data-placement^=top]) .calcite-floating-ui-anim*/[data-placement^=top].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateY(5px)}/*!@:host([data-placement^=left]) .calcite-floating-ui-anim*/[data-placement^=left].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(5px)}/*!@:host([data-placement^=right]) .calcite-floating-ui-anim*/[data-placement^=right].sc-calcite-tooltip-h .calcite-floating-ui-anim.sc-calcite-tooltip{transform:translateX(-5px)}/*!@:host([data-placement]) .calcite-floating-ui-anim--active*/[data-placement].sc-calcite-tooltip-h .calcite-floating-ui-anim--active.sc-calcite-tooltip{opacity:1;transform:translate(0)}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-tooltip-h{visibility:hidden !important;pointer-events:none}/*!@.calcite-floating-ui-arrow*/.calcite-floating-ui-arrow.sc-calcite-tooltip{pointer-events:none;position:absolute;z-index:-1;fill:var(--calcite-ui-foreground-1)}/*!@.calcite-floating-ui-arrow__stroke*/.calcite-floating-ui-arrow__stroke.sc-calcite-tooltip{stroke:var(--calcite-ui-border-3)}/*!@.container*/.container.sc-calcite-tooltip{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}/*!@.calcite-floating-ui-anim*/.calcite-floating-ui-anim.sc-calcite-tooltip{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-tooltip::before{outline:1px solid var(--calcite-ui-border-3)}";
|
|
37644
37713
|
|
|
37645
37714
|
const manager = new TooltipManager();
|
|
37646
37715
|
/**
|
|
@@ -37705,6 +37774,7 @@ class Tooltip {
|
|
|
37705
37774
|
this.placement = "auto";
|
|
37706
37775
|
this.referenceElement = undefined;
|
|
37707
37776
|
this.effectiveReferenceElement = undefined;
|
|
37777
|
+
this.floatingLayout = "vertical";
|
|
37708
37778
|
}
|
|
37709
37779
|
offsetDistanceOffsetHandler() {
|
|
37710
37780
|
this.reposition(true);
|
|
@@ -37766,7 +37836,6 @@ class Tooltip {
|
|
|
37766
37836
|
placement,
|
|
37767
37837
|
offsetDistance,
|
|
37768
37838
|
offsetSkidding,
|
|
37769
|
-
includeArrow: true,
|
|
37770
37839
|
arrowEl,
|
|
37771
37840
|
type: "tooltip"
|
|
37772
37841
|
}, delayed);
|
|
@@ -37794,7 +37863,7 @@ class Tooltip {
|
|
|
37794
37863
|
//
|
|
37795
37864
|
// --------------------------------------------------------------------------
|
|
37796
37865
|
render() {
|
|
37797
|
-
const { effectiveReferenceElement, label, open } = this;
|
|
37866
|
+
const { effectiveReferenceElement, label, open, floatingLayout } = this;
|
|
37798
37867
|
const displayed = effectiveReferenceElement && open;
|
|
37799
37868
|
const hidden = !displayed;
|
|
37800
37869
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, hAsync("div", { class: {
|
|
@@ -37802,7 +37871,7 @@ class Tooltip {
|
|
|
37802
37871
|
[FloatingCSS.animationActive]: displayed
|
|
37803
37872
|
},
|
|
37804
37873
|
// eslint-disable-next-line react/jsx-sort-props
|
|
37805
|
-
ref: this.setTransitionEl }, hAsync(
|
|
37874
|
+
ref: this.setTransitionEl }, hAsync(FloatingArrow, { floatingLayout: floatingLayout,
|
|
37806
37875
|
// eslint-disable-next-line react/jsx-sort-props
|
|
37807
37876
|
ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$2.container }, hAsync("slot", null)))));
|
|
37808
37877
|
}
|
|
@@ -37829,6 +37898,7 @@ class Tooltip {
|
|
|
37829
37898
|
"placement": [513],
|
|
37830
37899
|
"referenceElement": [1, "reference-element"],
|
|
37831
37900
|
"effectiveReferenceElement": [32],
|
|
37901
|
+
"floatingLayout": [32],
|
|
37832
37902
|
"reposition": [64]
|
|
37833
37903
|
},
|
|
37834
37904
|
"$listeners$": undefined,
|
|
@@ -38865,8 +38935,8 @@ class ValueListItem {
|
|
|
38865
38935
|
const { icon, iconFlipRtl } = this;
|
|
38866
38936
|
if (icon === ICON_TYPES$1.grip) {
|
|
38867
38937
|
return (hAsync("span", { class: {
|
|
38868
|
-
[CSS$
|
|
38869
|
-
[CSS$
|
|
38938
|
+
[CSS$l.handle]: true,
|
|
38939
|
+
[CSS$l.handleActivated]: this.handleActivated
|
|
38870
38940
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => (this.handleEl = el), role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
38871
38941
|
}
|
|
38872
38942
|
}
|