@esri/calcite-components 1.3.1 → 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-df84b94c.entry.js → p-01c8fedf.entry.js} +2 -2
- package/dist/calcite/{p-c6c23d93.entry.js → p-01e3a451.entry.js} +2 -2
- package/dist/calcite/{p-0e6b5256.entry.js → p-028522ec.entry.js} +2 -2
- package/dist/calcite/p-0598bda0.entry.js +6 -0
- package/dist/calcite/{p-27dc0fc5.entry.js → p-05a3b620.entry.js} +2 -2
- package/dist/calcite/{p-13bfd922.js → p-0a01d398.js} +1 -1
- package/dist/calcite/{p-c68eeaa9.js → p-0a40a73d.js} +2 -2
- package/dist/calcite/{p-8eaf75a3.entry.js → p-0d660f74.entry.js} +2 -2
- package/dist/calcite/p-131494b9.js +6 -0
- package/dist/calcite/{p-27fb27d3.entry.js → p-2f2e66f6.entry.js} +2 -2
- package/dist/calcite/{p-8e5e5190.js → p-2fe0978d.js} +3 -3
- package/dist/calcite/{p-2faaa608.js → p-33b448b3.js} +1 -1
- package/dist/calcite/{p-39253071.entry.js → p-3501bf04.entry.js} +2 -2
- package/dist/calcite/{p-8c9c43af.entry.js → p-36b4feb4.entry.js} +2 -2
- package/dist/calcite/{p-1d49e68c.js → p-36e1b89c.js} +2 -2
- package/dist/calcite/{p-bbe5fb45.entry.js → p-37f005c3.entry.js} +2 -2
- package/dist/calcite/{p-83a876fa.entry.js → p-3d712f5b.entry.js} +2 -2
- package/dist/calcite/{p-df007ae6.entry.js → p-3dedcad6.entry.js} +2 -2
- package/dist/calcite/{p-7cdcdd5c.entry.js → p-4026a322.entry.js} +2 -2
- package/dist/calcite/p-42bab940.entry.js +6 -0
- package/dist/calcite/{p-47e1b38e.js → p-4b27807a.js} +2 -2
- package/dist/calcite/{p-2b145b39.entry.js → p-51c0cb87.entry.js} +2 -2
- package/dist/calcite/{p-903b156b.js → p-589510ea.js} +1 -1
- package/dist/calcite/p-5df6d828.entry.js +6 -0
- package/dist/calcite/{p-e9c959f9.entry.js → p-5f661243.entry.js} +2 -2
- package/dist/calcite/{p-dae67ef0.entry.js → p-63e1c5bf.entry.js} +2 -2
- package/dist/calcite/{p-c50e6d87.entry.js → p-66647e6d.entry.js} +2 -2
- package/dist/calcite/{p-0d65b36f.entry.js → p-6d2b6c69.entry.js} +2 -2
- package/dist/calcite/{p-020fe041.js → p-6d41bea9.js} +1 -1
- package/dist/calcite/{p-9967dff2.js → p-710e3d87.js} +2 -2
- package/dist/calcite/{p-23317176.entry.js → p-72de9a1f.entry.js} +2 -2
- package/dist/calcite/{p-8fae74c7.js → p-737634a4.js} +1 -1
- package/dist/calcite/{p-9fdbc396.entry.js → p-7784d895.entry.js} +2 -2
- package/dist/calcite/{p-6501ec0c.js → p-798c7402.js} +1 -1
- package/dist/calcite/{p-64f768a7.entry.js → p-7e1e4b42.entry.js} +2 -2
- package/dist/calcite/{p-a9019cff.js → p-7f471c9a.js} +1 -1
- package/dist/calcite/{p-42e3fe80.js → p-826b0e60.js} +1 -1
- package/dist/calcite/{p-dafcda44.js → p-82b4c33d.js} +2 -2
- package/dist/calcite/{p-87ac3e4f.js → p-83836d53.js} +3 -3
- package/dist/calcite/{p-afc83cab.js → p-85f7f790.js} +1 -1
- package/dist/calcite/{p-dc38fd77.entry.js → p-8aa50184.entry.js} +2 -2
- package/dist/calcite/{p-5c142e97.entry.js → p-8b158eee.entry.js} +2 -2
- package/dist/calcite/{p-d8590f42.entry.js → p-8c8e5de0.entry.js} +2 -2
- package/dist/calcite/p-90089585.entry.js +6 -0
- package/dist/calcite/{p-2f9db287.entry.js → p-92a60dbb.entry.js} +2 -2
- package/dist/calcite/{p-8da06711.js → p-953e16f4.js} +1 -1
- package/dist/calcite/{p-df1a5f71.entry.js → p-96be7ffd.entry.js} +2 -2
- package/dist/calcite/{p-e06fe311.entry.js → p-973db802.entry.js} +2 -2
- package/dist/calcite/p-978422b7.entry.js +6 -0
- package/dist/calcite/{p-55082516.js → p-979f7b48.js} +2 -2
- package/dist/calcite/{p-4b52dad7.entry.js → p-97e35e4c.entry.js} +2 -2
- package/dist/calcite/{p-71c7653a.entry.js → p-9b6c5890.entry.js} +2 -2
- package/dist/calcite/{p-0d9fe062.js → p-9c8d9667.js} +1 -1
- package/dist/calcite/{p-9a8f18f0.entry.js → p-a02f229f.entry.js} +2 -2
- package/dist/calcite/{p-ea9eb9a2.entry.js → p-a2cbf797.entry.js} +2 -2
- package/dist/calcite/{p-e673a538.entry.js → p-a674865e.entry.js} +2 -2
- package/dist/calcite/{p-5a2ac975.entry.js → p-a68f17f2.entry.js} +2 -2
- package/dist/calcite/{p-f8b77d56.entry.js → p-acd46f4e.entry.js} +2 -2
- package/dist/calcite/{p-f4a8ac9e.js → p-b5580140.js} +1 -1
- package/dist/calcite/p-b78764b4.entry.js +6 -0
- package/dist/calcite/p-ba26ad24.js +6 -0
- package/dist/calcite/{p-e14dfea6.js → p-ba52567c.js} +2 -2
- package/dist/calcite/{p-802dd503.entry.js → p-baa9ef47.entry.js} +2 -2
- package/dist/calcite/{p-8f7a98a4.js → p-bf0a9b58.js} +1 -1
- package/dist/calcite/{p-b42a705f.entry.js → p-c3993b7a.entry.js} +2 -2
- package/dist/calcite/{p-3aecb68d.entry.js → p-c43f8385.entry.js} +2 -2
- package/dist/calcite/p-c48edec5.js +6 -0
- package/dist/calcite/{p-2532504c.entry.js → p-c6468b20.entry.js} +2 -2
- package/dist/calcite/{p-12238ddc.entry.js → p-c6a55def.entry.js} +2 -2
- package/dist/calcite/{p-613d899d.entry.js → p-c6e6e982.entry.js} +2 -2
- package/dist/calcite/{p-e9318e59.entry.js → p-c7cc0a15.entry.js} +2 -2
- package/dist/calcite/{p-d4a45048.entry.js → p-ca31fd0e.entry.js} +2 -2
- package/dist/calcite/{p-ed0d938b.entry.js → p-caa17c16.entry.js} +2 -2
- package/dist/calcite/{p-c5d0e232.entry.js → p-cb37cfa3.entry.js} +2 -2
- package/dist/calcite/{p-b62c250d.js → p-cb3daeec.js} +1 -1
- package/dist/calcite/{p-727a9fac.entry.js → p-cdb17471.entry.js} +2 -2
- package/dist/calcite/{p-fef9f642.entry.js → p-cdba0ca7.entry.js} +2 -2
- package/dist/calcite/p-cdcb9e9c.js +6 -0
- package/dist/calcite/{p-70ff8f9d.entry.js → p-cf8fc052.entry.js} +2 -2
- package/dist/calcite/{p-209e0198.entry.js → p-d02ffe0b.entry.js} +2 -2
- package/dist/calcite/{p-a9e694f3.entry.js → p-d1e863af.entry.js} +2 -2
- package/dist/calcite/{p-9a8cf9e4.entry.js → p-d531ba8a.entry.js} +2 -2
- package/dist/calcite/{p-7809ca1c.js → p-daa9a63e.js} +1 -1
- package/dist/calcite/{p-4977b0be.entry.js → p-dbd279b6.entry.js} +2 -2
- package/dist/calcite/{p-42547642.js → p-e0158650.js} +2 -2
- package/dist/calcite/{p-c5fbe712.js → p-e06969bd.js} +2 -2
- package/dist/calcite/{p-aa8f3d7b.entry.js → p-e4ec929c.entry.js} +2 -2
- package/dist/calcite/{p-79b65ee1.entry.js → p-e6338c12.entry.js} +2 -2
- package/dist/calcite/{p-1595bbef.entry.js → p-e71e7b23.entry.js} +2 -2
- package/dist/calcite/{p-22e991b5.entry.js → p-e8b110d2.entry.js} +2 -2
- package/dist/calcite/{p-98455273.entry.js → p-eb8e22d6.entry.js} +2 -2
- package/dist/calcite/{p-bc889dcd.entry.js → p-eca7c6f5.entry.js} +2 -2
- package/dist/calcite/{p-04ce6a44.js → p-ee1fa110.js} +1 -1
- package/dist/calcite/{p-a13bda61.js → p-f36afd78.js} +1 -1
- package/dist/calcite/{p-5aa613f7.js → p-f96ba1ba.js} +2 -2
- package/dist/calcite/{p-d5e21062.js → p-fb158b31.js} +2 -2
- package/dist/cjs/{ExpandToggle-947434a4.js → ExpandToggle-d31f578d.js} +5 -5
- package/dist/cjs/FloatingArrow-5f8aadd9.js +45 -0
- package/dist/cjs/{Heading-20b67425.js → Heading-39312b27.js} +2 -2
- package/dist/cjs/{app-globals-9ba6b0cc.js → app-globals-809155e1.js} +2 -2
- package/dist/cjs/{array-da4fcd0c.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 +23 -18
- 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-4b6e3943.js → composed-offset-position.esm-f2a438f2.js} +1 -1
- package/dist/cjs/{conditionalSlot-9b3ddb25.js → conditionalSlot-89dd1b13.js} +3 -3
- package/dist/cjs/{debounce-da530cb5.js → debounce-91a61a04.js} +1 -1
- package/dist/cjs/{dom-7ab6d024.js → dom-db3c5f37.js} +3 -3
- package/dist/cjs/{filter-461ab333.js → filter-8b3fa394.js} +2 -2
- package/dist/cjs/{floating-ui-b758e2c0.js → floating-ui-9b71954c.js} +48 -13
- package/dist/cjs/{focusTrapComponent-d27aab0e.js → focusTrapComponent-295c3d5f.js} +2 -2
- package/dist/cjs/{form-4bed662a.js → form-15c41be4.js} +3 -3
- package/dist/cjs/{guid-7409a2ca.js → guid-f62420ef.js} +1 -1
- package/dist/cjs/{index-8f657955.js → index-a4701abc.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-204d1a7b.js → interactive-dddb9446.js} +1 -1
- package/dist/cjs/{key-d9efdfd7.js → key-1164152c.js} +1 -1
- package/dist/cjs/{label-4e65d022.js → label-17c2070b.js} +2 -2
- package/dist/cjs/{loadable-fc8fa538.js → loadable-f75b12eb.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-f95eef23.js → locale-64833313.js} +4 -4
- package/dist/cjs/{math-94e9f7e6.js → math-4f32d1e9.js} +1 -1
- package/dist/cjs/{observers-411ba9d5.js → observers-d0fed7a3.js} +1 -1
- package/dist/cjs/{openCloseComponent-9bc2dd08.js → openCloseComponent-711564e2.js} +2 -2
- package/dist/cjs/{resources-d3f0dc5e.js → resources-07297d7b.js} +1 -1
- package/dist/cjs/{resources-fc37ae13.js → resources-11051685.js} +1 -1
- package/dist/cjs/{resources-d340ae07.js → resources-8847bfbd.js} +1 -1
- package/dist/cjs/{resources-83e26348.js → resources-b7b567ef.js} +5 -5
- package/dist/cjs/{resources-f292dae3.js → resources-bf8e95a7.js} +1 -1
- package/dist/cjs/{resources-600ed68c.js → resources-fb8d8acd.js} +1 -1
- package/dist/cjs/{sortable.esm-7a496075.js → sortable.esm-58b606b1.js} +1 -1
- package/dist/cjs/{t9n-a112ac4e.js → t9n-d5968ce8.js} +3 -3
- package/dist/cjs/{throttle-e7857756.js → throttle-8ab55e30.js} +2 -2
- package/dist/cjs/{utils-151c2df5.js → utils-7f35c955.js} +3 -3
- package/dist/cjs/{utils-17edb7a7.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 +12 -7
- 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 +12 -7
- 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-e09532ea.js → ExpandToggle-95c932bf.js} +5 -5
- package/dist/esm/FloatingArrow-02a2ef0c.js +43 -0
- package/dist/esm/{Heading-6f5aa533.js → Heading-244cb834.js} +2 -2
- package/dist/esm/{app-globals-c72831ce.js → app-globals-3724cb01.js} +2 -2
- package/dist/esm/{array-6129451d.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 +23 -18
- 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-faa7a382.js → composed-offset-position.esm-a2d8351c.js} +1 -1
- package/dist/esm/{conditionalSlot-6c900849.js → conditionalSlot-f9d5977f.js} +3 -3
- package/dist/esm/{debounce-64205f72.js → debounce-a14fc0cd.js} +1 -1
- package/dist/esm/{dom-f43600cc.js → dom-a93adf14.js} +3 -3
- package/dist/esm/{filter-9824a5af.js → filter-51ef5dff.js} +2 -2
- package/dist/esm/{floating-ui-d67a5863.js → floating-ui-db0cf258.js} +48 -13
- package/dist/esm/{focusTrapComponent-1bf450db.js → focusTrapComponent-3d0d454f.js} +2 -2
- package/dist/esm/{form-ab8ca8ce.js → form-3fd76cf2.js} +3 -3
- package/dist/esm/{guid-2d284fea.js → guid-0bdb468f.js} +1 -1
- package/dist/esm/{index-965fa063.js → index-8f8f3220.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-52e332ad.js → interactive-0fff7f67.js} +1 -1
- package/dist/esm/{key-7431b13d.js → key-af4e57ef.js} +1 -1
- package/dist/esm/{label-a9defed5.js → label-2325b9fa.js} +2 -2
- package/dist/esm/{loadable-78120f14.js → loadable-5a821483.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-d5c82e5f.js → locale-a8d14d38.js} +4 -4
- package/dist/esm/{math-38226c39.js → math-023c6c41.js} +1 -1
- package/dist/esm/{observers-a18d699e.js → observers-4eeeb055.js} +1 -1
- package/dist/esm/{openCloseComponent-4530fa36.js → openCloseComponent-6ce95d5c.js} +2 -2
- package/dist/esm/{resources-1fee6922.js → resources-0013cd58.js} +1 -1
- package/dist/esm/{resources-ede9e7e2.js → resources-16593efc.js} +1 -1
- package/dist/esm/{resources-ca62785f.js → resources-3ee227ee.js} +1 -1
- package/dist/esm/{resources-32c39dbe.js → resources-9adfec0c.js} +5 -5
- package/dist/esm/{resources-f6701afe.js → resources-bc3be5a2.js} +1 -1
- package/dist/esm/{resources-e91499cd.js → resources-dbc2c84a.js} +1 -1
- package/dist/esm/{sortable.esm-59e41ab2.js → sortable.esm-0075641b.js} +1 -1
- package/dist/esm/{t9n-dc8901e6.js → t9n-816eca76.js} +3 -3
- package/dist/esm/{throttle-1f485b5b.js → throttle-3a2c7956.js} +2 -2
- package/dist/esm/{utils-197fc6b8.js → utils-a96c7252.js} +1 -1
- package/dist/esm/{utils-26f534f2.js → utils-b935c023.js} +3 -3
- package/dist/extras/docs-json.json +1 -1
- package/dist/extras/vscode-data.json +6462 -0
- 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 +408 -333
- package/package.json +4 -4
- package/dist/calcite/p-011e777d.entry.js +0 -6
- package/dist/calcite/p-0e48b2f1.entry.js +0 -6
- package/dist/calcite/p-59b572cd.entry.js +0 -6
- package/dist/calcite/p-634dd639.js +0 -6
- package/dist/calcite/p-6607ed78.entry.js +0 -6
- package/dist/calcite/p-79a333c1.entry.js +0 -6
- package/dist/calcite/p-96a353f1.js +0 -6
- package/dist/calcite/p-e23e73cf.entry.js +0 -6
- package/dist/calcite/p-e925473a.js +0 -6
- package/dist/types/components/textarea/assets/textarea/t9n/index.d.ts +0 -4
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.3.1
|
|
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,40 +12014,45 @@ 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);
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12035
|
-
|
|
12036
|
-
|
|
12037
|
-
|
|
12038
|
-
|
|
12039
|
-
|
|
12031
|
+
const role = this.selectionMode === "multiple" && this.interactive
|
|
12032
|
+
? "checkbox"
|
|
12033
|
+
: this.selectionMode !== "none" && this.interactive
|
|
12034
|
+
? "radio"
|
|
12035
|
+
: this.interactive
|
|
12036
|
+
? "button"
|
|
12037
|
+
: undefined;
|
|
12038
|
+
return (hAsync(Host, null, hAsync("div", { "aria-checked": this.selectionMode !== "none" && this.interactive
|
|
12039
|
+
? toAriaBoolean(this.selected)
|
|
12040
|
+
: undefined, "aria-disabled": disableInteraction ? toAriaBoolean(this.disabled) : undefined, "aria-label": this.label, class: {
|
|
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 &&
|
|
12040
12049
|
!this.hasText &&
|
|
12041
12050
|
(!this.icon || !this.hasImage) &&
|
|
12042
12051
|
(this.selectionMode === "none" ||
|
|
12043
12052
|
(!!this.selectionMode && this.selectionMode !== "multiple" && !this.selected))
|
|
12044
|
-
}, onClick: this.handleEmittingEvent, role:
|
|
12045
|
-
? "checkbox"
|
|
12046
|
-
: this.interactive
|
|
12047
|
-
? "radio"
|
|
12048
|
-
: undefined, tabIndex: disableInteraction ? -1 : 0,
|
|
12053
|
+
}, onClick: this.handleEmittingEvent, role: role, tabIndex: disableInteraction ? -1 : 0,
|
|
12049
12054
|
// eslint-disable-next-line react/jsx-sort-props
|
|
12050
|
-
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())));
|
|
12051
12056
|
}
|
|
12052
12057
|
static get assetsDirs() { return ["assets"]; }
|
|
12053
12058
|
get el() { return getElement(this); }
|
|
@@ -14372,7 +14377,7 @@ function zeroArray(array, length) {
|
|
|
14372
14377
|
|
|
14373
14378
|
var color = Color;
|
|
14374
14379
|
|
|
14375
|
-
const CSS$
|
|
14380
|
+
const CSS$P = {
|
|
14376
14381
|
container: "container",
|
|
14377
14382
|
controlSection: "control-section",
|
|
14378
14383
|
hexOptions: "color-hex-options",
|
|
@@ -14724,7 +14729,7 @@ class ColorPicker {
|
|
|
14724
14729
|
const { channelMode: activeChannelMode, messages } = this;
|
|
14725
14730
|
const selected = channelMode === activeChannelMode;
|
|
14726
14731
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
14727
|
-
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));
|
|
14728
14733
|
};
|
|
14729
14734
|
this.renderChannelsTab = (channelMode) => {
|
|
14730
14735
|
const { channelMode: activeChannelMode, channels, messages } = this;
|
|
@@ -14737,11 +14742,11 @@ class ColorPicker {
|
|
|
14737
14742
|
? [messages.red, messages.green, messages.blue]
|
|
14738
14743
|
: [messages.hue, messages.saturation, messages.value];
|
|
14739
14744
|
const direction = getElementDir(this.el);
|
|
14740
|
-
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) =>
|
|
14741
14746
|
/* the channel container is ltr, so we apply the host's direction */
|
|
14742
14747
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
14743
14748
|
};
|
|
14744
|
-
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() }));
|
|
14745
14750
|
this.deleteColor = () => {
|
|
14746
14751
|
const colorToDelete = this.color.hex();
|
|
14747
14752
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -14874,7 +14879,7 @@ class ColorPicker {
|
|
|
14874
14879
|
this.shiftKeyChannelAdjustment = 0;
|
|
14875
14880
|
const { key } = event;
|
|
14876
14881
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
14877
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
14882
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$P.channel))) {
|
|
14878
14883
|
return;
|
|
14879
14884
|
}
|
|
14880
14885
|
const { shiftKey } = event;
|
|
@@ -14957,26 +14962,26 @@ class ColorPicker {
|
|
|
14957
14962
|
const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
14958
14963
|
const noColor = color === null;
|
|
14959
14964
|
const vertical = scopeOrientation === "vertical";
|
|
14960
|
-
return (hAsync("div", { class: CSS$
|
|
14961
|
-
[CSS$
|
|
14962
|
-
[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
|
|
14963
14968
|
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove,
|
|
14964
14969
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14965
|
-
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",
|
|
14966
14971
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14967
|
-
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",
|
|
14968
14973
|
// eslint-disable-next-line react/jsx-sort-props
|
|
14969
14974
|
ref: this.storeHueScope })), hideHex && hideChannels ? null : (hAsync("div", { class: {
|
|
14970
|
-
[CSS$
|
|
14971
|
-
[CSS$
|
|
14972
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
14973
|
-
[CSS$
|
|
14974
|
-
[CSS$
|
|
14975
|
-
} }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
14976
|
-
[CSS$
|
|
14977
|
-
[CSS$
|
|
14978
|
-
}, 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$
|
|
14979
|
-
...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 })))
|
|
14980
14985
|
])) : null))));
|
|
14981
14986
|
}
|
|
14982
14987
|
// --------------------------------------------------------------------------
|
|
@@ -15210,7 +15215,7 @@ class ColorPicker {
|
|
|
15210
15215
|
}; }
|
|
15211
15216
|
}
|
|
15212
15217
|
|
|
15213
|
-
const CSS$
|
|
15218
|
+
const CSS$O = {
|
|
15214
15219
|
container: "container",
|
|
15215
15220
|
preview: "preview",
|
|
15216
15221
|
input: "input"
|
|
@@ -15323,9 +15328,9 @@ class ColorPickerHexInput {
|
|
|
15323
15328
|
render() {
|
|
15324
15329
|
const { value } = this;
|
|
15325
15330
|
const hexInputValue = this.formatForInternalInput(value);
|
|
15326
|
-
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,
|
|
15327
15332
|
// eslint-disable-next-line react/jsx-sort-props
|
|
15328
|
-
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));
|
|
15329
15334
|
}
|
|
15330
15335
|
//--------------------------------------------------------------------------
|
|
15331
15336
|
//
|
|
@@ -15401,7 +15406,7 @@ class ColorPickerHexInput {
|
|
|
15401
15406
|
}; }
|
|
15402
15407
|
}
|
|
15403
15408
|
|
|
15404
|
-
const CSS$
|
|
15409
|
+
const CSS$N = {
|
|
15405
15410
|
swatch: "swatch",
|
|
15406
15411
|
noColorIcon: "no-color-icon"
|
|
15407
15412
|
};
|
|
@@ -15436,7 +15441,7 @@ class ColorPickerSwatch {
|
|
|
15436
15441
|
const hex = internalColor.hex();
|
|
15437
15442
|
const theme = getModeName(el);
|
|
15438
15443
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
15439
|
-
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%" })));
|
|
15440
15445
|
}
|
|
15441
15446
|
get el() { return getElement(this); }
|
|
15442
15447
|
static get watchers() { return {
|
|
@@ -17020,12 +17025,18 @@ async function reposition(component, options, delayed = false) {
|
|
|
17020
17025
|
if (!component.open) {
|
|
17021
17026
|
return;
|
|
17022
17027
|
}
|
|
17023
|
-
return delayed ? debouncedReposition(options) : positionFloatingUI(options);
|
|
17028
|
+
return delayed ? debouncedReposition(component, options) : positionFloatingUI(component, options);
|
|
17024
17029
|
}
|
|
17025
17030
|
const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeout, {
|
|
17026
17031
|
leading: true,
|
|
17027
17032
|
maxWait: repositionDebounceTimeout
|
|
17028
17033
|
});
|
|
17034
|
+
const ARROW_CSS_TRANSFORM = {
|
|
17035
|
+
top: "",
|
|
17036
|
+
left: "rotate(-90deg)",
|
|
17037
|
+
bottom: "rotate(180deg)",
|
|
17038
|
+
right: "rotate(90deg)"
|
|
17039
|
+
};
|
|
17029
17040
|
/**
|
|
17030
17041
|
* Positions the floating element relative to the reference element.
|
|
17031
17042
|
*
|
|
@@ -17042,10 +17053,30 @@ const debouncedReposition = debounce(positionFloatingUI, repositionDebounceTimeo
|
|
|
17042
17053
|
* @param root0.offsetSkidding
|
|
17043
17054
|
* @param root0.arrowEl
|
|
17044
17055
|
* @param root0.type
|
|
17045
|
-
* @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
|
|
17046
17077
|
*/
|
|
17047
|
-
async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding,
|
|
17048
|
-
if (!referenceEl || !floatingEl
|
|
17078
|
+
async function positionFloatingUI(component, { referenceEl, floatingEl, overlayPositioning = "absolute", placement, flipDisabled, flipPlacements, offsetDistance, offsetSkidding, arrowEl, type }) {
|
|
17079
|
+
if (!referenceEl || !floatingEl) {
|
|
17049
17080
|
return null;
|
|
17050
17081
|
}
|
|
17051
17082
|
await floatingUIBrowserCheck;
|
|
@@ -17064,14 +17095,23 @@ async function positionFloatingUI({ referenceEl, floatingEl, overlayPositioning
|
|
|
17064
17095
|
type
|
|
17065
17096
|
})
|
|
17066
17097
|
});
|
|
17067
|
-
if (middlewareData
|
|
17068
|
-
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
|
+
}
|
|
17069
17107
|
Object.assign(arrowEl.style, {
|
|
17070
|
-
|
|
17071
|
-
|
|
17108
|
+
...reset,
|
|
17109
|
+
[alignment]: `${alignment == "left" ? x : y}px`,
|
|
17110
|
+
[side]: "100%",
|
|
17111
|
+
transform
|
|
17072
17112
|
});
|
|
17073
17113
|
}
|
|
17074
|
-
const referenceHidden = middlewareData
|
|
17114
|
+
const referenceHidden = middlewareData.hide?.referenceHidden;
|
|
17075
17115
|
const visibility = referenceHidden ? "hidden" : null;
|
|
17076
17116
|
const pointerEvents = visibility ? "none" : null;
|
|
17077
17117
|
floatingEl.setAttribute(placementDataAttribute, effectivePlacement);
|
|
@@ -18023,7 +18063,7 @@ class Combobox {
|
|
|
18023
18063
|
}; }
|
|
18024
18064
|
}
|
|
18025
18065
|
|
|
18026
|
-
const CSS$
|
|
18066
|
+
const CSS$M = {
|
|
18027
18067
|
icon: "icon",
|
|
18028
18068
|
iconActive: "icon--active",
|
|
18029
18069
|
iconIndent: "icon--indent",
|
|
@@ -18100,20 +18140,20 @@ class ComboboxItem {
|
|
|
18100
18140
|
// --------------------------------------------------------------------------
|
|
18101
18141
|
renderIcon(iconPath) {
|
|
18102
18142
|
return this.icon ? (hAsync("calcite-icon", { class: {
|
|
18103
|
-
[CSS$
|
|
18104
|
-
[CSS$
|
|
18105
|
-
[CSS$
|
|
18143
|
+
[CSS$M.custom]: !!this.icon,
|
|
18144
|
+
[CSS$M.iconActive]: this.icon && this.selected,
|
|
18145
|
+
[CSS$M.iconIndent]: true
|
|
18106
18146
|
}, flipRtl: this.iconFlipRtl, icon: this.icon || iconPath, key: "icon", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
18107
18147
|
}
|
|
18108
18148
|
renderSelectIndicator(showDot, iconPath) {
|
|
18109
18149
|
return showDot ? (hAsync("span", { class: {
|
|
18110
|
-
[CSS$
|
|
18111
|
-
[CSS$
|
|
18112
|
-
[CSS$
|
|
18150
|
+
[CSS$M.icon]: true,
|
|
18151
|
+
[CSS$M.dot]: true,
|
|
18152
|
+
[CSS$M.iconIndent]: true
|
|
18113
18153
|
} })) : (hAsync("calcite-icon", { class: {
|
|
18114
|
-
[CSS$
|
|
18115
|
-
[CSS$
|
|
18116
|
-
[CSS$
|
|
18154
|
+
[CSS$M.icon]: true,
|
|
18155
|
+
[CSS$M.iconActive]: this.selected,
|
|
18156
|
+
[CSS$M.iconIndent]: true
|
|
18117
18157
|
}, flipRtl: this.iconFlipRtl, icon: iconPath, key: "indicator", scale: this.scale === "l" ? "m" : "s" }));
|
|
18118
18158
|
}
|
|
18119
18159
|
renderChildren() {
|
|
@@ -18128,10 +18168,10 @@ class ComboboxItem {
|
|
|
18128
18168
|
const defaultIcon = isSingleSelect ? "dot" : "check";
|
|
18129
18169
|
const iconPath = this.disabled ? "circle-disallowed" : defaultIcon;
|
|
18130
18170
|
const classes = {
|
|
18131
|
-
[CSS$
|
|
18132
|
-
[CSS$
|
|
18133
|
-
[CSS$
|
|
18134
|
-
[CSS$
|
|
18171
|
+
[CSS$M.label]: true,
|
|
18172
|
+
[CSS$M.selected]: this.selected,
|
|
18173
|
+
[CSS$M.active]: this.active,
|
|
18174
|
+
[CSS$M.single]: isSingleSelect
|
|
18135
18175
|
};
|
|
18136
18176
|
const depth = getDepth$1();
|
|
18137
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())));
|
|
@@ -18162,7 +18202,7 @@ class ComboboxItem {
|
|
|
18162
18202
|
}; }
|
|
18163
18203
|
}
|
|
18164
18204
|
|
|
18165
|
-
const CSS$
|
|
18205
|
+
const CSS$L = {
|
|
18166
18206
|
list: "list",
|
|
18167
18207
|
label: "label",
|
|
18168
18208
|
title: "title"
|
|
@@ -18198,7 +18238,7 @@ class ComboboxItemGroup {
|
|
|
18198
18238
|
render() {
|
|
18199
18239
|
const { el, scale } = this;
|
|
18200
18240
|
const depth = getDepth$1();
|
|
18201
|
-
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)));
|
|
18202
18242
|
}
|
|
18203
18243
|
get el() { return getElement(this); }
|
|
18204
18244
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -19350,7 +19390,7 @@ class DatePickerMonth {
|
|
|
19350
19390
|
}
|
|
19351
19391
|
|
|
19352
19392
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
19353
|
-
const CSS$
|
|
19393
|
+
const CSS$K = {
|
|
19354
19394
|
header: "header",
|
|
19355
19395
|
month: "month",
|
|
19356
19396
|
chevron: "chevron",
|
|
@@ -19450,7 +19490,7 @@ class DatePickerMonthHeader {
|
|
|
19450
19490
|
this.setNextPrevMonthDates();
|
|
19451
19491
|
}
|
|
19452
19492
|
render() {
|
|
19453
|
-
return hAsync("div", { class: CSS$
|
|
19493
|
+
return hAsync("div", { class: CSS$K.header }, this.renderContent());
|
|
19454
19494
|
}
|
|
19455
19495
|
renderContent() {
|
|
19456
19496
|
const { messages, localeData, activeDate } = this;
|
|
@@ -19473,12 +19513,12 @@ class DatePickerMonthHeader {
|
|
|
19473
19513
|
const order = getOrder(unitOrder);
|
|
19474
19514
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
19475
19515
|
const suffix = localeData.year?.suffix;
|
|
19476
|
-
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: {
|
|
19477
19517
|
year: true,
|
|
19478
|
-
[CSS$
|
|
19518
|
+
[CSS$K.yearSuffix]: !!suffix
|
|
19479
19519
|
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", type: "text", value: localizedYear,
|
|
19480
19520
|
// eslint-disable-next-line react/jsx-sort-props
|
|
19481
|
-
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 }))));
|
|
19482
19522
|
}
|
|
19483
19523
|
setNextPrevMonthDates() {
|
|
19484
19524
|
if (!this.activeDate) {
|
|
@@ -19980,7 +20020,7 @@ class Dropdown {
|
|
|
19980
20020
|
}; }
|
|
19981
20021
|
}
|
|
19982
20022
|
|
|
19983
|
-
const CSS$
|
|
20023
|
+
const CSS$J = {
|
|
19984
20024
|
containerSmall: "container--s",
|
|
19985
20025
|
containerMedium: "container--m",
|
|
19986
20026
|
containerLarge: "container--l"
|
|
@@ -20013,9 +20053,9 @@ class DropdownGroup {
|
|
|
20013
20053
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
20014
20054
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
20015
20055
|
container: true,
|
|
20016
|
-
[CSS$
|
|
20017
|
-
[CSS$
|
|
20018
|
-
[CSS$
|
|
20056
|
+
[CSS$J.containerSmall]: scale === "s",
|
|
20057
|
+
[CSS$J.containerMedium]: scale === "m",
|
|
20058
|
+
[CSS$J.containerLarge]: scale === "l"
|
|
20019
20059
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
20020
20060
|
}
|
|
20021
20061
|
//--------------------------------------------------------------------------
|
|
@@ -20056,7 +20096,7 @@ class DropdownGroup {
|
|
|
20056
20096
|
}; }
|
|
20057
20097
|
}
|
|
20058
20098
|
|
|
20059
|
-
const CSS$
|
|
20099
|
+
const CSS$I = {
|
|
20060
20100
|
containerLink: "container--link",
|
|
20061
20101
|
containerSmall: "container--s",
|
|
20062
20102
|
containerMedium: "container--m",
|
|
@@ -20121,9 +20161,9 @@ class DropdownItem {
|
|
|
20121
20161
|
}
|
|
20122
20162
|
render() {
|
|
20123
20163
|
const scale = getElementProp(this.el, "scale", this.scale);
|
|
20124
|
-
const iconStartEl = (hAsync("calcite-icon", { class: CSS$
|
|
20125
|
-
const contentNode = (hAsync("span", { class: CSS$
|
|
20126
|
-
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" }));
|
|
20127
20167
|
const slottedContent = this.iconStart && this.iconEnd
|
|
20128
20168
|
? [iconStartEl, contentNode, iconEndEl]
|
|
20129
20169
|
: this.iconStart
|
|
@@ -20131,7 +20171,7 @@ class DropdownItem {
|
|
|
20131
20171
|
: this.iconEnd
|
|
20132
20172
|
? [contentNode, iconEndEl]
|
|
20133
20173
|
: contentNode;
|
|
20134
|
-
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,
|
|
20135
20175
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20136
20176
|
ref: (el) => (this.childLink = el) }, slottedContent));
|
|
20137
20177
|
const itemRole = this.href
|
|
@@ -20144,14 +20184,14 @@ class DropdownItem {
|
|
|
20144
20184
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
20145
20185
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
20146
20186
|
container: true,
|
|
20147
|
-
[CSS$
|
|
20148
|
-
[CSS$
|
|
20149
|
-
[CSS$
|
|
20150
|
-
[CSS$
|
|
20151
|
-
[CSS$
|
|
20152
|
-
[CSS$
|
|
20153
|
-
[CSS$
|
|
20154
|
-
} }, 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)));
|
|
20155
20195
|
}
|
|
20156
20196
|
//--------------------------------------------------------------------------
|
|
20157
20197
|
//
|
|
@@ -20257,7 +20297,7 @@ class DropdownItem {
|
|
|
20257
20297
|
}; }
|
|
20258
20298
|
}
|
|
20259
20299
|
|
|
20260
|
-
const CSS$
|
|
20300
|
+
const CSS$H = {
|
|
20261
20301
|
button: "button"
|
|
20262
20302
|
};
|
|
20263
20303
|
const ICONS$b = {
|
|
@@ -20312,7 +20352,7 @@ class Fab {
|
|
|
20312
20352
|
render() {
|
|
20313
20353
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
|
|
20314
20354
|
const title = !textEnabled ? label || text || null : null;
|
|
20315
|
-
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",
|
|
20316
20356
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20317
20357
|
ref: (buttonEl) => {
|
|
20318
20358
|
this.buttonEl = buttonEl;
|
|
@@ -20342,7 +20382,7 @@ class Fab {
|
|
|
20342
20382
|
}; }
|
|
20343
20383
|
}
|
|
20344
20384
|
|
|
20345
|
-
const CSS$
|
|
20385
|
+
const CSS$G = {
|
|
20346
20386
|
container: "container",
|
|
20347
20387
|
searchIcon: "search-icon"
|
|
20348
20388
|
};
|
|
@@ -20454,7 +20494,7 @@ class Filter {
|
|
|
20454
20494
|
// --------------------------------------------------------------------------
|
|
20455
20495
|
render() {
|
|
20456
20496
|
const { disabled, scale } = this;
|
|
20457
|
-
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,
|
|
20458
20498
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20459
20499
|
ref: (el) => {
|
|
20460
20500
|
this.textInput = el;
|
|
@@ -20492,7 +20532,7 @@ class Filter {
|
|
|
20492
20532
|
}; }
|
|
20493
20533
|
}
|
|
20494
20534
|
|
|
20495
|
-
const CSS$
|
|
20535
|
+
const CSS$F = {
|
|
20496
20536
|
frame: "frame",
|
|
20497
20537
|
frameAdvancing: "frame--advancing",
|
|
20498
20538
|
frameRetreating: "frame--retreating"
|
|
@@ -20592,9 +20632,9 @@ class Flow {
|
|
|
20592
20632
|
render() {
|
|
20593
20633
|
const { flowDirection } = this;
|
|
20594
20634
|
const frameDirectionClasses = {
|
|
20595
|
-
[CSS$
|
|
20596
|
-
[CSS$
|
|
20597
|
-
[CSS$
|
|
20635
|
+
[CSS$F.frame]: true,
|
|
20636
|
+
[CSS$F.frameAdvancing]: flowDirection === "advancing",
|
|
20637
|
+
[CSS$F.frameRetreating]: flowDirection === "retreating"
|
|
20598
20638
|
};
|
|
20599
20639
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
20600
20640
|
}
|
|
@@ -20615,7 +20655,7 @@ class Flow {
|
|
|
20615
20655
|
}; }
|
|
20616
20656
|
}
|
|
20617
20657
|
|
|
20618
|
-
const CSS$
|
|
20658
|
+
const CSS$E = {
|
|
20619
20659
|
actionBarContainer: "action-bar-container",
|
|
20620
20660
|
backButton: "back-button",
|
|
20621
20661
|
container: "container",
|
|
@@ -20650,7 +20690,7 @@ const SLOTS$k = {
|
|
|
20650
20690
|
footerActions: "footer-actions"
|
|
20651
20691
|
};
|
|
20652
20692
|
|
|
20653
|
-
const CSS$
|
|
20693
|
+
const CSS$D = {
|
|
20654
20694
|
backButton: "back-button"
|
|
20655
20695
|
};
|
|
20656
20696
|
const ICONS$8 = {
|
|
@@ -20794,7 +20834,7 @@ class FlowItem {
|
|
|
20794
20834
|
const { showBackButton, backButtonClick, messages } = this;
|
|
20795
20835
|
const label = messages.back;
|
|
20796
20836
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
20797
|
-
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,
|
|
20798
20838
|
// eslint-disable-next-line react/jsx-sort-props
|
|
20799
20839
|
ref: this.setBackRef })) : null;
|
|
20800
20840
|
}
|
|
@@ -21065,7 +21105,7 @@ class Graph {
|
|
|
21065
21105
|
}; }
|
|
21066
21106
|
}
|
|
21067
21107
|
|
|
21068
|
-
const CSS$
|
|
21108
|
+
const CSS$C = {
|
|
21069
21109
|
handle: "handle",
|
|
21070
21110
|
handleActivated: "handle--activated"
|
|
21071
21111
|
};
|
|
@@ -21160,7 +21200,7 @@ class Handle {
|
|
|
21160
21200
|
render() {
|
|
21161
21201
|
return (
|
|
21162
21202
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
21163
|
-
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,
|
|
21164
21204
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21165
21205
|
ref: (el) => {
|
|
21166
21206
|
this.handleButton = el;
|
|
@@ -21191,7 +21231,7 @@ class Handle {
|
|
|
21191
21231
|
}; }
|
|
21192
21232
|
}
|
|
21193
21233
|
|
|
21194
|
-
const CSS$
|
|
21234
|
+
const CSS$B = {
|
|
21195
21235
|
icon: "icon",
|
|
21196
21236
|
flipRtl: "flip-rtl"
|
|
21197
21237
|
};
|
|
@@ -21239,7 +21279,7 @@ class Icon {
|
|
|
21239
21279
|
const semantic = !!textLabel;
|
|
21240
21280
|
const paths = [].concat(pathData || "");
|
|
21241
21281
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
21242
|
-
[CSS$
|
|
21282
|
+
[CSS$B.flipRtl]: dir === "rtl" && flipRtl,
|
|
21243
21283
|
svg: true
|
|
21244
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 }))))));
|
|
21245
21285
|
}
|
|
@@ -21285,7 +21325,7 @@ class Icon {
|
|
|
21285
21325
|
}; }
|
|
21286
21326
|
}
|
|
21287
21327
|
|
|
21288
|
-
const CSS$
|
|
21328
|
+
const CSS$A = {
|
|
21289
21329
|
wrapper: "wrapper",
|
|
21290
21330
|
confirmChangesButton: "confirm-changes-button",
|
|
21291
21331
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -21433,16 +21473,16 @@ class InlineEditable {
|
|
|
21433
21473
|
updateHostInteraction(this);
|
|
21434
21474
|
}
|
|
21435
21475
|
render() {
|
|
21436
|
-
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: {
|
|
21437
21477
|
opacity: this.editingEnabled ? "0" : "1",
|
|
21438
21478
|
width: this.editingEnabled ? "0" : "inherit"
|
|
21439
21479
|
}, type: "button",
|
|
21440
21480
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21441
21481
|
ref: (el) => (this.enableEditingButton = el) }), this.shouldShowControls && [
|
|
21442
|
-
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",
|
|
21443
21483
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21444
21484
|
ref: (el) => (this.cancelEditingButton = el) })),
|
|
21445
|
-
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",
|
|
21446
21486
|
// eslint-disable-next-line react/jsx-sort-props
|
|
21447
21487
|
ref: (el) => (this.confirmEditingButton = el) })
|
|
21448
21488
|
])));
|
|
@@ -21528,7 +21568,7 @@ class InlineEditable {
|
|
|
21528
21568
|
}; }
|
|
21529
21569
|
}
|
|
21530
21570
|
|
|
21531
|
-
const CSS$
|
|
21571
|
+
const CSS$z = {
|
|
21532
21572
|
loader: "loader",
|
|
21533
21573
|
clearButton: "clear-button",
|
|
21534
21574
|
editingEnabled: "editing-enabled",
|
|
@@ -22117,38 +22157,38 @@ class Input {
|
|
|
22117
22157
|
// --------------------------------------------------------------------------
|
|
22118
22158
|
render() {
|
|
22119
22159
|
const dir = getElementDir(this.el);
|
|
22120
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22121
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
22122
|
-
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" }));
|
|
22123
22163
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
22124
22164
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
22125
|
-
[CSS$
|
|
22126
|
-
[CSS$
|
|
22165
|
+
[CSS$z.numberButtonItem]: true,
|
|
22166
|
+
[CSS$z.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22127
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" })));
|
|
22128
22168
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
22129
|
-
[CSS$
|
|
22130
|
-
[CSS$
|
|
22169
|
+
[CSS$z.numberButtonItem]: true,
|
|
22170
|
+
[CSS$z.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22131
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" })));
|
|
22132
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
22133
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22134
|
-
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);
|
|
22135
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,
|
|
22136
22176
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22137
22177
|
ref: this.setChildNumberElRef })) : null;
|
|
22138
22178
|
const childEl = this.type !== "number"
|
|
22139
22179
|
? [
|
|
22140
22180
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
22141
|
-
[CSS$
|
|
22142
|
-
[CSS$
|
|
22181
|
+
[CSS$z.editingEnabled]: this.editingEnabled,
|
|
22182
|
+
[CSS$z.inlineChild]: !!this.inlineEditableEl
|
|
22143
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,
|
|
22144
22184
|
// eslint-disable-next-line react/jsx-sort-props
|
|
22145
22185
|
ref: this.setChildElRef }),
|
|
22146
|
-
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
|
|
22147
22187
|
]
|
|
22148
22188
|
: null;
|
|
22149
|
-
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
|
|
22150
22190
|
? numberButtonsHorizontalDown
|
|
22151
|
-
: 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
|
|
22152
22192
|
? numberButtonsVertical
|
|
22153
22193
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
22154
22194
|
? numberButtonsHorizontalUp
|
|
@@ -22224,7 +22264,7 @@ class Input {
|
|
|
22224
22264
|
}; }
|
|
22225
22265
|
}
|
|
22226
22266
|
|
|
22227
|
-
const CSS$
|
|
22267
|
+
const CSS$y = {
|
|
22228
22268
|
menu: "menu-container",
|
|
22229
22269
|
menuActive: "menu-container--active",
|
|
22230
22270
|
toggleIcon: "toggle-icon"
|
|
@@ -23459,8 +23499,8 @@ class InputDatePicker {
|
|
|
23459
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",
|
|
23460
23500
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23461
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: {
|
|
23462
|
-
[CSS$
|
|
23463
|
-
[CSS$
|
|
23502
|
+
[CSS$y.menu]: true,
|
|
23503
|
+
[CSS$y.menuActive]: this.open
|
|
23464
23504
|
}, id: this.dialogId, role: "dialog",
|
|
23465
23505
|
// eslint-disable-next-line react/jsx-sort-props
|
|
23466
23506
|
ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -23482,7 +23522,7 @@ class InputDatePicker {
|
|
|
23482
23522
|
ref: this.setEndInput }), this.renderToggleIcon(this.open && this.focusedInput === "end"))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
23483
23523
|
}
|
|
23484
23524
|
renderToggleIcon(open) {
|
|
23485
|
-
return (hAsync("span", { class: CSS$
|
|
23525
|
+
return (hAsync("span", { class: CSS$y.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
23486
23526
|
}
|
|
23487
23527
|
setReferenceEl() {
|
|
23488
23528
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -23729,7 +23769,7 @@ class InputMessage {
|
|
|
23729
23769
|
}; }
|
|
23730
23770
|
}
|
|
23731
23771
|
|
|
23732
|
-
const CSS$
|
|
23772
|
+
const CSS$x = {
|
|
23733
23773
|
loader: "loader",
|
|
23734
23774
|
clearButton: "clear-button",
|
|
23735
23775
|
editingEnabled: "editing-enabled",
|
|
@@ -24231,27 +24271,27 @@ class InputNumber {
|
|
|
24231
24271
|
// --------------------------------------------------------------------------
|
|
24232
24272
|
render() {
|
|
24233
24273
|
const dir = getElementDir(this.el);
|
|
24234
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24235
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24236
|
-
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" }));
|
|
24237
24277
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
24238
24278
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24239
|
-
[CSS$
|
|
24240
|
-
[CSS$
|
|
24279
|
+
[CSS$x.numberButtonItem]: true,
|
|
24280
|
+
[CSS$x.buttonItemHorizontal]: isHorizontalNumberButton
|
|
24241
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" })));
|
|
24242
24282
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
24243
|
-
[CSS$
|
|
24244
|
-
[CSS$
|
|
24283
|
+
[CSS$x.numberButtonItem]: true,
|
|
24284
|
+
[CSS$x.buttonItemHorizontal]: isHorizontalNumberButton
|
|
24245
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" })));
|
|
24246
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
24247
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24248
|
-
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);
|
|
24249
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,
|
|
24250
24290
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24251
24291
|
ref: this.setChildNumberElRef }));
|
|
24252
|
-
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
|
|
24253
24293
|
? numberButtonsHorizontalDown
|
|
24254
|
-
: 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
|
|
24255
24295
|
? numberButtonsHorizontalUp
|
|
24256
24296
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
24257
24297
|
}
|
|
@@ -24318,7 +24358,7 @@ class InputNumber {
|
|
|
24318
24358
|
}; }
|
|
24319
24359
|
}
|
|
24320
24360
|
|
|
24321
|
-
const CSS$
|
|
24361
|
+
const CSS$w = {
|
|
24322
24362
|
loader: "loader",
|
|
24323
24363
|
clearButton: "clear-button",
|
|
24324
24364
|
editingEnabled: "editing-enabled",
|
|
@@ -24616,18 +24656,18 @@ class InputText {
|
|
|
24616
24656
|
// --------------------------------------------------------------------------
|
|
24617
24657
|
render() {
|
|
24618
24658
|
const dir = getElementDir(this.el);
|
|
24619
|
-
const loader = (hAsync("div", { class: CSS$
|
|
24620
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
24621
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
24622
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
24623
|
-
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);
|
|
24624
24664
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
24625
|
-
[CSS$
|
|
24626
|
-
[CSS$
|
|
24665
|
+
[CSS$w.editingEnabled]: this.editingEnabled,
|
|
24666
|
+
[CSS$w.inlineChild]: !!this.inlineEditableEl
|
|
24627
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,
|
|
24628
24668
|
// eslint-disable-next-line react/jsx-sort-props
|
|
24629
24669
|
ref: this.setChildElRef }));
|
|
24630
|
-
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 }))));
|
|
24631
24671
|
}
|
|
24632
24672
|
static get assetsDirs() { return ["assets"]; }
|
|
24633
24673
|
get el() { return getElement(this); }
|
|
@@ -24854,7 +24894,7 @@ function parseTimeString(value) {
|
|
|
24854
24894
|
};
|
|
24855
24895
|
}
|
|
24856
24896
|
|
|
24857
|
-
const CSS$
|
|
24897
|
+
const CSS$v = {
|
|
24858
24898
|
toggleIcon: "toggle-icon"
|
|
24859
24899
|
};
|
|
24860
24900
|
|
|
@@ -25167,7 +25207,7 @@ class InputTimePicker {
|
|
|
25167
25207
|
ref: this.setCalciteTimePickerEl })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
25168
25208
|
}
|
|
25169
25209
|
renderToggleIcon(open) {
|
|
25170
|
-
return (hAsync("span", { class: CSS$
|
|
25210
|
+
return (hAsync("span", { class: CSS$v.toggleIcon }, hAsync("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
25171
25211
|
}
|
|
25172
25212
|
static get delegatesFocus() { return true; }
|
|
25173
25213
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -25214,7 +25254,7 @@ class InputTimePicker {
|
|
|
25214
25254
|
}; }
|
|
25215
25255
|
}
|
|
25216
25256
|
|
|
25217
|
-
const CSS$
|
|
25257
|
+
const CSS$u = {
|
|
25218
25258
|
container: "container"
|
|
25219
25259
|
};
|
|
25220
25260
|
|
|
@@ -25254,7 +25294,7 @@ class Label {
|
|
|
25254
25294
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
25255
25295
|
}
|
|
25256
25296
|
render() {
|
|
25257
|
-
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))));
|
|
25258
25298
|
}
|
|
25259
25299
|
get el() { return getElement(this); }
|
|
25260
25300
|
static get style() { return labelCss; }
|
|
@@ -25383,7 +25423,7 @@ class Link {
|
|
|
25383
25423
|
}; }
|
|
25384
25424
|
}
|
|
25385
25425
|
|
|
25386
|
-
const CSS$
|
|
25426
|
+
const CSS$t = {
|
|
25387
25427
|
container: "container",
|
|
25388
25428
|
containerBorderSelected: "container--border-selected",
|
|
25389
25429
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -25444,7 +25484,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
25444
25484
|
}
|
|
25445
25485
|
}
|
|
25446
25486
|
|
|
25447
|
-
const CSS$
|
|
25487
|
+
const CSS$s = {
|
|
25448
25488
|
container: "container",
|
|
25449
25489
|
table: "table",
|
|
25450
25490
|
scrim: "scrim",
|
|
@@ -25678,9 +25718,9 @@ class List$1 {
|
|
|
25678
25718
|
// --------------------------------------------------------------------------
|
|
25679
25719
|
render() {
|
|
25680
25720
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
25681
|
-
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,
|
|
25682
25722
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25683
|
-
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 })))));
|
|
25684
25724
|
}
|
|
25685
25725
|
updateListItems() {
|
|
25686
25726
|
const { selectionAppearance, selectionMode } = this;
|
|
@@ -25969,7 +26009,7 @@ class ListItem {
|
|
|
25969
26009
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
25970
26010
|
return null;
|
|
25971
26011
|
}
|
|
25972
|
-
return (hAsync("td", { class: CSS$
|
|
26012
|
+
return (hAsync("td", { class: CSS$t.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
25973
26013
|
? selectionMode === "multiple"
|
|
25974
26014
|
? ICONS$6.selectedMultiple
|
|
25975
26015
|
: ICONS$6.selectedSingle
|
|
@@ -25978,35 +26018,35 @@ class ListItem {
|
|
|
25978
26018
|
renderOpen() {
|
|
25979
26019
|
const { el, open, openable, parentListEl } = this;
|
|
25980
26020
|
const dir = getElementDir(el);
|
|
25981
|
-
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;
|
|
25982
26022
|
}
|
|
25983
26023
|
renderActionsStart() {
|
|
25984
26024
|
const { label, hasActionsStart } = this;
|
|
25985
|
-
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",
|
|
25986
26026
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25987
26027
|
ref: (el) => (this.actionsStartEl = el) }, hAsync("slot", { name: SLOTS$f.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
25988
26028
|
}
|
|
25989
26029
|
renderActionsEnd() {
|
|
25990
26030
|
const { label, hasActionsEnd, closable, messages } = this;
|
|
25991
|
-
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",
|
|
25992
26032
|
// eslint-disable-next-line react/jsx-sort-props
|
|
25993
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));
|
|
25994
26034
|
}
|
|
25995
26035
|
renderContentStart() {
|
|
25996
26036
|
const { hasContentStart } = this;
|
|
25997
|
-
return (hAsync("div", { class: CSS$
|
|
26037
|
+
return (hAsync("div", { class: CSS$t.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$f.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
25998
26038
|
}
|
|
25999
26039
|
renderCustomContent() {
|
|
26000
26040
|
const { hasCustomContent } = this;
|
|
26001
|
-
return (hAsync("div", { class: CSS$
|
|
26041
|
+
return (hAsync("div", { class: CSS$t.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$f.content, onSlotchange: this.handleContentSlotChange })));
|
|
26002
26042
|
}
|
|
26003
26043
|
renderContentEnd() {
|
|
26004
26044
|
const { hasContentEnd } = this;
|
|
26005
|
-
return (hAsync("div", { class: CSS$
|
|
26045
|
+
return (hAsync("div", { class: CSS$t.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$f.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
26006
26046
|
}
|
|
26007
26047
|
renderContentProperties() {
|
|
26008
26048
|
const { label, description, hasCustomContent } = this;
|
|
26009
|
-
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;
|
|
26010
26050
|
}
|
|
26011
26051
|
renderContentContainer() {
|
|
26012
26052
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -26018,9 +26058,9 @@ class ListItem {
|
|
|
26018
26058
|
this.renderContentEnd()
|
|
26019
26059
|
];
|
|
26020
26060
|
return (hAsync("td", { "aria-label": label, class: {
|
|
26021
|
-
[CSS$
|
|
26022
|
-
[CSS$
|
|
26023
|
-
[CSS$
|
|
26061
|
+
[CSS$t.contentContainer]: true,
|
|
26062
|
+
[CSS$t.contentContainerSelectable]: selectionMode !== "none",
|
|
26063
|
+
[CSS$t.contentContainerHasCenterContent]: hasCenterContent
|
|
26024
26064
|
}, key: "content-container", onClick: this.itemClicked, role: "gridcell",
|
|
26025
26065
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26026
26066
|
ref: (el) => (this.contentEl = el) }, content));
|
|
@@ -26031,14 +26071,14 @@ class ListItem {
|
|
|
26031
26071
|
const borderSelected = showBorder && selected;
|
|
26032
26072
|
const borderUnselected = showBorder && !selected;
|
|
26033
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: {
|
|
26034
|
-
[CSS$
|
|
26035
|
-
[CSS$
|
|
26036
|
-
[CSS$
|
|
26074
|
+
[CSS$t.container]: true,
|
|
26075
|
+
[CSS$t.containerBorderSelected]: borderSelected,
|
|
26076
|
+
[CSS$t.containerBorderUnselected]: borderUnselected
|
|
26037
26077
|
}, hidden: closed, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1,
|
|
26038
26078
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26039
26079
|
ref: (el) => (this.containerEl = el) }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
26040
|
-
[CSS$
|
|
26041
|
-
[CSS$
|
|
26080
|
+
[CSS$t.nestedContainer]: true,
|
|
26081
|
+
[CSS$t.nestedContainerHidden]: openable && !open
|
|
26042
26082
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
26043
26083
|
}
|
|
26044
26084
|
setSelectionDefaults() {
|
|
@@ -26101,7 +26141,7 @@ class ListItem {
|
|
|
26101
26141
|
}; }
|
|
26102
26142
|
}
|
|
26103
26143
|
|
|
26104
|
-
const CSS$
|
|
26144
|
+
const CSS$r = {
|
|
26105
26145
|
container: "container",
|
|
26106
26146
|
heading: "heading"
|
|
26107
26147
|
};
|
|
@@ -26137,7 +26177,7 @@ class ListItemGroup {
|
|
|
26137
26177
|
// --------------------------------------------------------------------------
|
|
26138
26178
|
render() {
|
|
26139
26179
|
const { heading, visualLevel } = this;
|
|
26140
|
-
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)));
|
|
26141
26181
|
}
|
|
26142
26182
|
get el() { return getElement(this); }
|
|
26143
26183
|
static get style() { return listItemGroupCss; }
|
|
@@ -26237,7 +26277,7 @@ class Loader {
|
|
|
26237
26277
|
}; }
|
|
26238
26278
|
}
|
|
26239
26279
|
|
|
26240
|
-
const CSS$
|
|
26280
|
+
const CSS$q = {
|
|
26241
26281
|
modal: "modal",
|
|
26242
26282
|
title: "title",
|
|
26243
26283
|
header: "header",
|
|
@@ -26410,50 +26450,50 @@ class Modal {
|
|
|
26410
26450
|
}
|
|
26411
26451
|
render() {
|
|
26412
26452
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
26413
|
-
[CSS$
|
|
26414
|
-
[CSS$
|
|
26415
|
-
[CSS$
|
|
26416
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
26417
|
-
[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
|
|
26418
26458
|
},
|
|
26419
26459
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26420
|
-
ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
26421
|
-
[CSS$
|
|
26422
|
-
[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
|
|
26423
26463
|
},
|
|
26424
26464
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26425
26465
|
ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$e.content })), this.renderContentBottom(), this.renderFooter()))));
|
|
26426
26466
|
}
|
|
26427
26467
|
renderFooter() {
|
|
26428
|
-
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;
|
|
26429
26469
|
}
|
|
26430
26470
|
renderContentTop() {
|
|
26431
|
-
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 })));
|
|
26432
26472
|
}
|
|
26433
26473
|
renderContentBottom() {
|
|
26434
|
-
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 })));
|
|
26435
26475
|
}
|
|
26436
26476
|
renderCloseButton() {
|
|
26437
|
-
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,
|
|
26438
26478
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26439
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;
|
|
26440
26480
|
}
|
|
26441
26481
|
renderStyle() {
|
|
26442
26482
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
26443
|
-
return (hAsync("style", null, `.${CSS$
|
|
26483
|
+
return (hAsync("style", null, `.${CSS$q.container} {
|
|
26444
26484
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
26445
26485
|
}
|
|
26446
|
-
.${CSS$
|
|
26486
|
+
.${CSS$q.modal} {
|
|
26447
26487
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
26448
26488
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
26449
26489
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
26450
26490
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
26451
26491
|
}
|
|
26452
26492
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
26453
|
-
.${CSS$
|
|
26493
|
+
.${CSS$q.container} {
|
|
26454
26494
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
26455
26495
|
}
|
|
26456
|
-
.${CSS$
|
|
26496
|
+
.${CSS$q.modal} {
|
|
26457
26497
|
max-block-size: 100% !important;
|
|
26458
26498
|
inline-size: 100% !important;
|
|
26459
26499
|
max-inline-size: 100% !important;
|
|
@@ -26520,31 +26560,31 @@ class Modal {
|
|
|
26520
26560
|
}
|
|
26521
26561
|
}
|
|
26522
26562
|
onBeforeOpen() {
|
|
26523
|
-
this.transitionEl.classList.add(CSS$
|
|
26563
|
+
this.transitionEl.classList.add(CSS$q.openingActive);
|
|
26524
26564
|
this.calciteModalBeforeOpen.emit();
|
|
26525
26565
|
}
|
|
26526
26566
|
onOpen() {
|
|
26527
|
-
this.transitionEl.classList.remove(CSS$
|
|
26567
|
+
this.transitionEl.classList.remove(CSS$q.openingIdle, CSS$q.openingActive);
|
|
26528
26568
|
this.calciteModalOpen.emit();
|
|
26529
26569
|
activateFocusTrap(this);
|
|
26530
26570
|
}
|
|
26531
26571
|
onBeforeClose() {
|
|
26532
|
-
this.transitionEl.classList.add(CSS$
|
|
26572
|
+
this.transitionEl.classList.add(CSS$q.closingActive);
|
|
26533
26573
|
this.calciteModalBeforeClose.emit();
|
|
26534
26574
|
}
|
|
26535
26575
|
onClose() {
|
|
26536
|
-
this.transitionEl.classList.remove(CSS$
|
|
26576
|
+
this.transitionEl.classList.remove(CSS$q.closingIdle, CSS$q.closingActive);
|
|
26537
26577
|
this.calciteModalClose.emit();
|
|
26538
26578
|
deactivateFocusTrap(this);
|
|
26539
26579
|
}
|
|
26540
26580
|
async toggleModal(value) {
|
|
26541
26581
|
onToggleOpenCloseComponent(this);
|
|
26542
26582
|
if (value) {
|
|
26543
|
-
this.transitionEl?.classList.add(CSS$
|
|
26583
|
+
this.transitionEl?.classList.add(CSS$q.openingIdle);
|
|
26544
26584
|
this.openModal();
|
|
26545
26585
|
}
|
|
26546
26586
|
else {
|
|
26547
|
-
this.transitionEl?.classList.add(CSS$
|
|
26587
|
+
this.transitionEl?.classList.add(CSS$q.closingIdle);
|
|
26548
26588
|
this.close();
|
|
26549
26589
|
}
|
|
26550
26590
|
}
|
|
@@ -26558,11 +26598,11 @@ class Modal {
|
|
|
26558
26598
|
this.titleId = ensureId(titleEl);
|
|
26559
26599
|
this.contentId = ensureId(contentEl);
|
|
26560
26600
|
if (!this.slottedInShell) {
|
|
26561
|
-
document.documentElement.classList.add(CSS$
|
|
26601
|
+
document.documentElement.classList.add(CSS$q.overflowHidden);
|
|
26562
26602
|
}
|
|
26563
26603
|
}
|
|
26564
26604
|
removeOverflowHiddenClass() {
|
|
26565
|
-
document.documentElement.classList.remove(CSS$
|
|
26605
|
+
document.documentElement.classList.remove(CSS$q.overflowHidden);
|
|
26566
26606
|
}
|
|
26567
26607
|
static get assetsDirs() { return ["assets"]; }
|
|
26568
26608
|
get el() { return getElement(this); }
|
|
@@ -26615,7 +26655,7 @@ const SLOTS$d = {
|
|
|
26615
26655
|
link: "link",
|
|
26616
26656
|
actionsEnd: "actions-end"
|
|
26617
26657
|
};
|
|
26618
|
-
const CSS$
|
|
26658
|
+
const CSS$p = {
|
|
26619
26659
|
actionsEnd: "actions-end",
|
|
26620
26660
|
close: "notice-close",
|
|
26621
26661
|
container: "container",
|
|
@@ -26694,11 +26734,11 @@ class Notice {
|
|
|
26694
26734
|
}
|
|
26695
26735
|
render() {
|
|
26696
26736
|
const { el } = this;
|
|
26697
|
-
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,
|
|
26698
26738
|
// eslint-disable-next-line react/jsx-sort-props
|
|
26699
26739
|
ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
26700
26740
|
const hasActionEnd = getSlotted(el, SLOTS$d.actionsEnd);
|
|
26701
|
-
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));
|
|
26702
26742
|
}
|
|
26703
26743
|
//--------------------------------------------------------------------------
|
|
26704
26744
|
//
|
|
@@ -26877,7 +26917,7 @@ class OptionGroup {
|
|
|
26877
26917
|
}; }
|
|
26878
26918
|
}
|
|
26879
26919
|
|
|
26880
|
-
const CSS$
|
|
26920
|
+
const CSS$o = {
|
|
26881
26921
|
page: "page",
|
|
26882
26922
|
selected: "is-selected",
|
|
26883
26923
|
previous: "previous",
|
|
@@ -27035,8 +27075,8 @@ class Pagination {
|
|
|
27035
27075
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
27036
27076
|
const selected = start === this.startItem;
|
|
27037
27077
|
return (hAsync("button", { "aria-current": selected ? "page" : "false", class: {
|
|
27038
|
-
[CSS$
|
|
27039
|
-
[CSS$
|
|
27078
|
+
[CSS$o.page]: true,
|
|
27079
|
+
[CSS$o.selected]: selected
|
|
27040
27080
|
}, onClick: () => {
|
|
27041
27081
|
this.startItem = start;
|
|
27042
27082
|
this.emitUpdate();
|
|
@@ -27044,12 +27084,12 @@ class Pagination {
|
|
|
27044
27084
|
}
|
|
27045
27085
|
renderLeftEllipsis() {
|
|
27046
27086
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
27047
|
-
return hAsync("span", { class: `${CSS$
|
|
27087
|
+
return hAsync("span", { class: `${CSS$o.ellipsis} ${CSS$o.ellipsisStart}` }, "\u2026");
|
|
27048
27088
|
}
|
|
27049
27089
|
}
|
|
27050
27090
|
renderRightEllipsis() {
|
|
27051
27091
|
if (this.totalItems / this.pageSize > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
27052
|
-
return hAsync("span", { class: `${CSS$
|
|
27092
|
+
return hAsync("span", { class: `${CSS$o.ellipsis} ${CSS$o.ellipsisEnd}` }, "\u2026");
|
|
27053
27093
|
}
|
|
27054
27094
|
}
|
|
27055
27095
|
render() {
|
|
@@ -27057,11 +27097,11 @@ class Pagination {
|
|
|
27057
27097
|
const prevDisabled = pageSize === 1 ? startItem <= pageSize : startItem < pageSize;
|
|
27058
27098
|
const nextDisabled = pageSize === 1 ? startItem + pageSize > totalItems : startItem + pageSize > totalItems;
|
|
27059
27099
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.messages.previous, class: {
|
|
27060
|
-
[CSS$
|
|
27061
|
-
[CSS$
|
|
27100
|
+
[CSS$o.previous]: true,
|
|
27101
|
+
[CSS$o.disabled]: prevDisabled
|
|
27062
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: {
|
|
27063
|
-
[CSS$
|
|
27064
|
-
[CSS$
|
|
27103
|
+
[CSS$o.next]: true,
|
|
27104
|
+
[CSS$o.disabled]: nextDisabled
|
|
27065
27105
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: this.scale === "l" ? "m" : "s" }))));
|
|
27066
27106
|
}
|
|
27067
27107
|
static get delegatesFocus() { return true; }
|
|
@@ -27290,22 +27330,22 @@ class Panel {
|
|
|
27290
27330
|
// --------------------------------------------------------------------------
|
|
27291
27331
|
renderHeaderContent() {
|
|
27292
27332
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
27293
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
27294
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
27295
|
-
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;
|
|
27296
27336
|
}
|
|
27297
27337
|
renderActionBar() {
|
|
27298
|
-
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 })));
|
|
27299
27339
|
}
|
|
27300
27340
|
/**
|
|
27301
27341
|
* Allows user to override the entire header-content node.
|
|
27302
27342
|
*/
|
|
27303
27343
|
renderHeaderSlottedContent() {
|
|
27304
|
-
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 })));
|
|
27305
27345
|
}
|
|
27306
27346
|
renderHeaderStartActions() {
|
|
27307
27347
|
const { hasStartActions } = this;
|
|
27308
|
-
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 })));
|
|
27309
27349
|
}
|
|
27310
27350
|
renderHeaderActionsEnd() {
|
|
27311
27351
|
const { close, hasEndActions, messages, closable, hasMenuItems } = this;
|
|
@@ -27315,7 +27355,7 @@ class Panel {
|
|
|
27315
27355
|
ref: this.setCloseRef })) : null;
|
|
27316
27356
|
const slotNode = (hAsync("slot", { name: SLOTS$k.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
27317
27357
|
const showContainer = hasEndActions || closableNode || hasMenuItems;
|
|
27318
|
-
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));
|
|
27319
27359
|
}
|
|
27320
27360
|
renderMenu() {
|
|
27321
27361
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -27330,31 +27370,31 @@ class Panel {
|
|
|
27330
27370
|
hasEndActions ||
|
|
27331
27371
|
closable ||
|
|
27332
27372
|
hasMenuItems;
|
|
27333
|
-
return (hAsync("header", { class: CSS$
|
|
27373
|
+
return (hAsync("header", { class: CSS$E.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd()));
|
|
27334
27374
|
}
|
|
27335
27375
|
renderFooterNode() {
|
|
27336
27376
|
const { hasFooterContent, hasFooterActions } = this;
|
|
27337
27377
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
27338
|
-
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 })));
|
|
27339
27379
|
}
|
|
27340
27380
|
renderContent() {
|
|
27341
27381
|
const { hasFab } = this;
|
|
27342
27382
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
27343
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
27383
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$E.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
27344
27384
|
return (hAsync("div", { class: {
|
|
27345
|
-
[CSS$
|
|
27346
|
-
[CSS$
|
|
27347
|
-
[CSS$
|
|
27385
|
+
[CSS$E.contentWrapper]: true,
|
|
27386
|
+
[CSS$E.contentContainer]: !hasFab,
|
|
27387
|
+
[CSS$E.contentHeight]: hasFab
|
|
27348
27388
|
}, onScroll: this.panelScrollHandler,
|
|
27349
27389
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27350
27390
|
ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
27351
27391
|
}
|
|
27352
27392
|
renderFab() {
|
|
27353
|
-
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 })));
|
|
27354
27394
|
}
|
|
27355
27395
|
render() {
|
|
27356
27396
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
27357
|
-
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,
|
|
27358
27398
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27359
27399
|
ref: this.setContainerRef }, this.renderHeaderNode(), this.renderActionBar(), this.renderContent(), this.renderFooterNode()));
|
|
27360
27400
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
@@ -27399,7 +27439,7 @@ class Panel {
|
|
|
27399
27439
|
}; }
|
|
27400
27440
|
}
|
|
27401
27441
|
|
|
27402
|
-
const CSS$
|
|
27442
|
+
const CSS$n = {
|
|
27403
27443
|
sticky: "sticky-pos"
|
|
27404
27444
|
};
|
|
27405
27445
|
var ICON_TYPES$1;
|
|
@@ -27412,7 +27452,7 @@ const SLOTS$c = {
|
|
|
27412
27452
|
menuActions: "menu-actions"
|
|
27413
27453
|
};
|
|
27414
27454
|
|
|
27415
|
-
const CSS$
|
|
27455
|
+
const CSS$m = {
|
|
27416
27456
|
heading: "heading",
|
|
27417
27457
|
container: "container",
|
|
27418
27458
|
indented: "container--indented"
|
|
@@ -27738,7 +27778,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
27738
27778
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text",
|
|
27739
27779
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27740
27780
|
ref: storeAssistiveEl })) : null,
|
|
27741
|
-
hAsync("header", { class: { [CSS$
|
|
27781
|
+
hAsync("header", { class: { [CSS$n.sticky]: true } },
|
|
27742
27782
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, value: filterText,
|
|
27743
27783
|
// eslint-disable-next-line react/jsx-sort-props
|
|
27744
27784
|
ref: setFilterEl })) : null,
|
|
@@ -27927,14 +27967,14 @@ class PickListGroup {
|
|
|
27927
27967
|
const { el, groupTitle, headingLevel } = this;
|
|
27928
27968
|
const hasParentItem = getSlotted(el, SLOTS$b.parentItem) !== null;
|
|
27929
27969
|
const sectionClasses = {
|
|
27930
|
-
[CSS$
|
|
27931
|
-
[CSS$
|
|
27970
|
+
[CSS$m.container]: true,
|
|
27971
|
+
[CSS$m.indented]: hasParentItem
|
|
27932
27972
|
};
|
|
27933
27973
|
const title = groupTitle;
|
|
27934
27974
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
27935
27975
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
27936
27976
|
const level = headingLevel || relativeLevel;
|
|
27937
|
-
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))));
|
|
27938
27978
|
}
|
|
27939
27979
|
get el() { return getElement(this); }
|
|
27940
27980
|
static get style() { return pickListGroupCss; }
|
|
@@ -27951,7 +27991,7 @@ class PickListGroup {
|
|
|
27951
27991
|
}; }
|
|
27952
27992
|
}
|
|
27953
27993
|
|
|
27954
|
-
const CSS$
|
|
27994
|
+
const CSS$l = {
|
|
27955
27995
|
actions: "actions",
|
|
27956
27996
|
actionsEnd: "actions--end",
|
|
27957
27997
|
actionsStart: "actions--start",
|
|
@@ -28111,28 +28151,28 @@ class PickListItem {
|
|
|
28111
28151
|
return null;
|
|
28112
28152
|
}
|
|
28113
28153
|
return (hAsync("span", { class: {
|
|
28114
|
-
[CSS$
|
|
28115
|
-
[CSS$
|
|
28154
|
+
[CSS$l.icon]: true,
|
|
28155
|
+
[CSS$l.iconDot]: icon === ICON_TYPES$1.circle
|
|
28116
28156
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$4.checked, scale: "s" })) : null));
|
|
28117
28157
|
}
|
|
28118
28158
|
renderRemoveAction() {
|
|
28119
|
-
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;
|
|
28120
28160
|
}
|
|
28121
28161
|
renderActionsStart() {
|
|
28122
28162
|
const { el } = this;
|
|
28123
28163
|
const hasActionsStart = getSlotted(el, SLOTS$a.actionsStart);
|
|
28124
|
-
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;
|
|
28125
28165
|
}
|
|
28126
28166
|
renderActionsEnd() {
|
|
28127
28167
|
const { el, removable } = this;
|
|
28128
28168
|
const hasActionsEnd = getSlotted(el, SLOTS$a.actionsEnd);
|
|
28129
|
-
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;
|
|
28130
28170
|
}
|
|
28131
28171
|
render() {
|
|
28132
28172
|
const { description, label } = this;
|
|
28133
|
-
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,
|
|
28134
28174
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28135
|
-
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()));
|
|
28136
28176
|
}
|
|
28137
28177
|
static get assetsDirs() { return ["assets"]; }
|
|
28138
28178
|
get el() { return getElement(this); }
|
|
@@ -28175,9 +28215,8 @@ class PickListItem {
|
|
|
28175
28215
|
}; }
|
|
28176
28216
|
}
|
|
28177
28217
|
|
|
28178
|
-
const CSS$
|
|
28218
|
+
const CSS$k = {
|
|
28179
28219
|
container: "container",
|
|
28180
|
-
arrow: "arrow",
|
|
28181
28220
|
imageContainer: "image-container",
|
|
28182
28221
|
closeButtonContainer: "close-button-container",
|
|
28183
28222
|
closeButton: "close-button",
|
|
@@ -28270,7 +28309,42 @@ class PopoverManager {
|
|
|
28270
28309
|
}
|
|
28271
28310
|
}
|
|
28272
28311
|
|
|
28273
|
-
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%}";
|
|
28274
28348
|
|
|
28275
28349
|
const manager$1 = new PopoverManager();
|
|
28276
28350
|
/**
|
|
@@ -28381,6 +28455,7 @@ class Popover {
|
|
|
28381
28455
|
this.scale = "m";
|
|
28382
28456
|
this.triggerDisabled = false;
|
|
28383
28457
|
this.effectiveLocale = "";
|
|
28458
|
+
this.floatingLayout = "vertical";
|
|
28384
28459
|
this.effectiveReferenceElement = undefined;
|
|
28385
28460
|
this.defaultMessages = undefined;
|
|
28386
28461
|
}
|
|
@@ -28476,7 +28551,6 @@ class Popover {
|
|
|
28476
28551
|
flipPlacements: filteredFlipPlacements,
|
|
28477
28552
|
offsetDistance,
|
|
28478
28553
|
offsetSkidding,
|
|
28479
|
-
includeArrow: !this.pointerDisabled,
|
|
28480
28554
|
arrowEl,
|
|
28481
28555
|
type: "popover"
|
|
28482
28556
|
}, delayed);
|
|
@@ -28522,20 +28596,20 @@ class Popover {
|
|
|
28522
28596
|
// --------------------------------------------------------------------------
|
|
28523
28597
|
renderCloseButton() {
|
|
28524
28598
|
const { messages, closable } = this;
|
|
28525
|
-
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,
|
|
28526
28600
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28527
28601
|
ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
28528
28602
|
}
|
|
28529
28603
|
renderHeader() {
|
|
28530
28604
|
const { heading, headingLevel } = this;
|
|
28531
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
28532
|
-
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;
|
|
28533
28607
|
}
|
|
28534
28608
|
render() {
|
|
28535
|
-
const { effectiveReferenceElement, heading, label, open, pointerDisabled } = this;
|
|
28609
|
+
const { effectiveReferenceElement, heading, label, open, pointerDisabled, floatingLayout } = this;
|
|
28536
28610
|
const displayed = effectiveReferenceElement && open;
|
|
28537
28611
|
const hidden = !displayed;
|
|
28538
|
-
const arrowNode = !pointerDisabled ? (hAsync(
|
|
28612
|
+
const arrowNode = !pointerDisabled ? (hAsync(FloatingArrow, { floatingLayout: floatingLayout, key: "floating-arrow",
|
|
28539
28613
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28540
28614
|
ref: this.storeArrowEl })) : null;
|
|
28541
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: {
|
|
@@ -28544,9 +28618,9 @@ class Popover {
|
|
|
28544
28618
|
},
|
|
28545
28619
|
// eslint-disable-next-line react/jsx-sort-props
|
|
28546
28620
|
ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
28547
|
-
[CSS$
|
|
28548
|
-
[CSS$
|
|
28549
|
-
} }, 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))));
|
|
28550
28624
|
}
|
|
28551
28625
|
static get assetsDirs() { return ["assets"]; }
|
|
28552
28626
|
get el() { return getElement(this); }
|
|
@@ -28587,6 +28661,7 @@ class Popover {
|
|
|
28587
28661
|
"scale": [513],
|
|
28588
28662
|
"triggerDisabled": [516, "trigger-disabled"],
|
|
28589
28663
|
"effectiveLocale": [32],
|
|
28664
|
+
"floatingLayout": [32],
|
|
28590
28665
|
"effectiveReferenceElement": [32],
|
|
28591
28666
|
"defaultMessages": [32],
|
|
28592
28667
|
"reposition": [64],
|
|
@@ -37481,8 +37556,7 @@ class TipManager {
|
|
|
37481
37556
|
}
|
|
37482
37557
|
|
|
37483
37558
|
const CSS$2 = {
|
|
37484
|
-
container: "container"
|
|
37485
|
-
arrow: "arrow"
|
|
37559
|
+
container: "container"
|
|
37486
37560
|
};
|
|
37487
37561
|
const TOOLTIP_DELAY_MS = 500;
|
|
37488
37562
|
const ARIA_DESCRIBED_BY = "aria-describedby";
|
|
@@ -37635,7 +37709,7 @@ class TooltipManager {
|
|
|
37635
37709
|
}
|
|
37636
37710
|
}
|
|
37637
37711
|
|
|
37638
|
-
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)}";
|
|
37639
37713
|
|
|
37640
37714
|
const manager = new TooltipManager();
|
|
37641
37715
|
/**
|
|
@@ -37700,6 +37774,7 @@ class Tooltip {
|
|
|
37700
37774
|
this.placement = "auto";
|
|
37701
37775
|
this.referenceElement = undefined;
|
|
37702
37776
|
this.effectiveReferenceElement = undefined;
|
|
37777
|
+
this.floatingLayout = "vertical";
|
|
37703
37778
|
}
|
|
37704
37779
|
offsetDistanceOffsetHandler() {
|
|
37705
37780
|
this.reposition(true);
|
|
@@ -37761,7 +37836,6 @@ class Tooltip {
|
|
|
37761
37836
|
placement,
|
|
37762
37837
|
offsetDistance,
|
|
37763
37838
|
offsetSkidding,
|
|
37764
|
-
includeArrow: true,
|
|
37765
37839
|
arrowEl,
|
|
37766
37840
|
type: "tooltip"
|
|
37767
37841
|
}, delayed);
|
|
@@ -37789,7 +37863,7 @@ class Tooltip {
|
|
|
37789
37863
|
//
|
|
37790
37864
|
// --------------------------------------------------------------------------
|
|
37791
37865
|
render() {
|
|
37792
|
-
const { effectiveReferenceElement, label, open } = this;
|
|
37866
|
+
const { effectiveReferenceElement, label, open, floatingLayout } = this;
|
|
37793
37867
|
const displayed = effectiveReferenceElement && open;
|
|
37794
37868
|
const hidden = !displayed;
|
|
37795
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: {
|
|
@@ -37797,7 +37871,7 @@ class Tooltip {
|
|
|
37797
37871
|
[FloatingCSS.animationActive]: displayed
|
|
37798
37872
|
},
|
|
37799
37873
|
// eslint-disable-next-line react/jsx-sort-props
|
|
37800
|
-
ref: this.setTransitionEl }, hAsync(
|
|
37874
|
+
ref: this.setTransitionEl }, hAsync(FloatingArrow, { floatingLayout: floatingLayout,
|
|
37801
37875
|
// eslint-disable-next-line react/jsx-sort-props
|
|
37802
37876
|
ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$2.container }, hAsync("slot", null)))));
|
|
37803
37877
|
}
|
|
@@ -37824,6 +37898,7 @@ class Tooltip {
|
|
|
37824
37898
|
"placement": [513],
|
|
37825
37899
|
"referenceElement": [1, "reference-element"],
|
|
37826
37900
|
"effectiveReferenceElement": [32],
|
|
37901
|
+
"floatingLayout": [32],
|
|
37827
37902
|
"reposition": [64]
|
|
37828
37903
|
},
|
|
37829
37904
|
"$listeners$": undefined,
|
|
@@ -38860,8 +38935,8 @@ class ValueListItem {
|
|
|
38860
38935
|
const { icon, iconFlipRtl } = this;
|
|
38861
38936
|
if (icon === ICON_TYPES$1.grip) {
|
|
38862
38937
|
return (hAsync("span", { class: {
|
|
38863
|
-
[CSS$
|
|
38864
|
-
[CSS$
|
|
38938
|
+
[CSS$l.handle]: true,
|
|
38939
|
+
[CSS$l.handleActivated]: this.handleActivated
|
|
38865
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" })));
|
|
38866
38941
|
}
|
|
38867
38942
|
}
|