@esri/calcite-components 1.0.0-next.716 → 1.0.0-next.718
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-4dc4faa7.js → p-00ec0016.js} +3 -3
- package/dist/calcite/{p-b6fec5b5.entry.js → p-04cb3f87.entry.js} +2 -2
- package/dist/calcite/{p-553e4db0.entry.js → p-065ed10d.entry.js} +2 -2
- package/dist/calcite/p-0d17b4d1.entry.js +6 -0
- package/dist/calcite/{p-2e222f67.js → p-0ddacf33.js} +1 -1
- package/dist/calcite/{p-b00e6add.entry.js → p-0f570d0e.entry.js} +2 -2
- package/dist/calcite/{p-b39b6184.js → p-19014e93.js} +1 -1
- package/dist/calcite/{p-47ba3288.entry.js → p-19508829.entry.js} +2 -2
- package/dist/calcite/{p-a323fdf7.js → p-19844822.js} +2 -2
- package/dist/calcite/p-1c50c5a6.entry.js +6 -0
- package/dist/calcite/p-1e5c5ddd.entry.js +6 -0
- package/dist/calcite/p-2c0547f4.js +6 -0
- package/dist/calcite/p-2c71b6a6.entry.js +6 -0
- package/dist/calcite/{p-9ee55a4a.js → p-30c21909.js} +2 -2
- package/dist/calcite/{p-e632e76f.js → p-316c4296.js} +1 -1
- package/dist/calcite/{p-a9d0c2e6.entry.js → p-31cc78cc.entry.js} +2 -2
- package/dist/calcite/p-31f23169.entry.js +6 -0
- package/dist/calcite/{p-292cbe72.entry.js → p-38d00c9c.entry.js} +2 -2
- package/dist/calcite/p-3b107daa.entry.js +6 -0
- package/dist/calcite/{p-3173f26b.entry.js → p-3db40ca5.entry.js} +2 -2
- package/dist/calcite/{p-0f2b1932.entry.js → p-40219c50.entry.js} +2 -2
- package/dist/calcite/p-441aa5c6.entry.js +6 -0
- package/dist/calcite/{p-9eebb6af.entry.js → p-443fc8ed.entry.js} +2 -2
- package/dist/calcite/{p-b43be650.js → p-4b5573b6.js} +2 -2
- package/dist/calcite/{p-99f62bff.entry.js → p-4b7d701c.entry.js} +2 -2
- package/dist/calcite/p-4f2f76c8.js +6 -0
- package/dist/calcite/{p-34642a31.js → p-4fb25bba.js} +2 -2
- package/dist/calcite/p-52cccd8a.entry.js +6 -0
- package/dist/calcite/{p-40c9524a.entry.js → p-553a9675.entry.js} +2 -2
- package/dist/calcite/{p-da045418.entry.js → p-5856ff66.entry.js} +2 -2
- package/dist/calcite/{p-7fb4ead9.entry.js → p-59fc7ea9.entry.js} +2 -2
- package/dist/calcite/{p-f1fce7f5.js → p-5e245c4d.js} +1 -1
- package/dist/calcite/{p-8ce23952.js → p-5faa12c7.js} +1 -1
- package/dist/calcite/p-5fff8f8e.entry.js +6 -0
- package/dist/calcite/{p-d59f12ec.js → p-61014286.js} +1 -1
- package/dist/calcite/{p-d694b3fa.js → p-673ee207.js} +1 -1
- package/dist/calcite/{p-5b30ac57.entry.js → p-67fb19fc.entry.js} +2 -2
- package/dist/calcite/p-6cb2433e.entry.js +6 -0
- package/dist/calcite/{p-6094769f.entry.js → p-715cf08d.entry.js} +2 -2
- package/dist/calcite/{p-da49e96e.js → p-7443c43e.js} +1 -1
- package/dist/calcite/p-7446fe00.js +6 -0
- package/dist/calcite/{p-5980a4a9.js → p-782dc2f3.js} +2 -2
- package/dist/calcite/{p-43d5160a.entry.js → p-7f6d4f94.entry.js} +2 -2
- package/dist/calcite/p-808b76c4.entry.js +6 -0
- package/dist/calcite/{p-17d60545.js → p-816b39c2.js} +1 -1
- package/dist/calcite/{p-844b8d29.entry.js → p-847c5e2b.entry.js} +2 -2
- package/dist/calcite/{p-39927a3d.entry.js → p-88a8f0b4.entry.js} +2 -2
- package/dist/calcite/p-8ba3061e.entry.js +6 -0
- package/dist/calcite/{p-0101a0ea.js → p-8ff70c4b.js} +2 -2
- package/dist/calcite/p-92d63ead.entry.js +6 -0
- package/dist/calcite/{p-1c0c1caa.entry.js → p-95489e7b.entry.js} +2 -2
- package/dist/calcite/p-9825ed4b.entry.js +6 -0
- package/dist/calcite/{p-97de7569.entry.js → p-9c4bf6f8.entry.js} +2 -2
- package/dist/calcite/{p-58bafe49.js → p-a329554a.js} +2 -2
- package/dist/calcite/{p-dcfc2a69.entry.js → p-a66da22b.entry.js} +2 -2
- package/dist/calcite/{p-0ef30d2a.entry.js → p-a94aedc7.entry.js} +2 -2
- package/dist/calcite/{p-0d76fec7.js → p-aeef2440.js} +2 -2
- package/dist/calcite/{p-ffb901db.entry.js → p-b1f1a946.entry.js} +2 -2
- package/dist/calcite/p-b51fe6cc.js +6 -0
- package/dist/calcite/p-b68aebfb.entry.js +6 -0
- package/dist/calcite/{p-5efdaf1a.js → p-b848fb47.js} +1 -1
- package/dist/calcite/{p-01e56e65.js → p-ba5e2a0d.js} +1 -1
- package/dist/calcite/p-bbadc346.entry.js +6 -0
- package/dist/calcite/{p-50bd6670.js → p-bbc87a51.js} +3 -3
- package/dist/calcite/{p-dc2f02c7.entry.js → p-bdeebda7.entry.js} +2 -2
- package/dist/calcite/{p-647294f9.entry.js → p-be5ee47e.entry.js} +2 -2
- package/dist/calcite/{p-b0d5cbc4.entry.js → p-c172c9a7.entry.js} +2 -2
- package/dist/calcite/{p-5617cbc2.entry.js → p-c21dfa9a.entry.js} +2 -2
- package/dist/calcite/p-c665fb08.entry.js +6 -0
- package/dist/calcite/{p-c7c27627.js → p-c961781b.js} +2 -2
- package/dist/calcite/{p-aeb5d985.js → p-cd03a411.js} +1 -1
- package/dist/calcite/{p-453bf62f.entry.js → p-cdca08d7.entry.js} +2 -2
- package/dist/calcite/{p-add6a957.js → p-d0516b12.js} +2 -2
- package/dist/calcite/{p-54cc2eae.entry.js → p-d26f35cf.entry.js} +2 -2
- package/dist/calcite/p-d2e55233.entry.js +6 -0
- package/dist/calcite/{p-8efad35c.js → p-d41286aa.js} +1 -1
- package/dist/calcite/p-de33203e.entry.js +6 -0
- package/dist/calcite/{p-696b5fc4.entry.js → p-df1e5088.entry.js} +2 -2
- package/dist/calcite/{p-9c5cf3e5.entry.js → p-e35db35d.entry.js} +2 -2
- package/dist/calcite/{p-ee660969.js → p-e7b11517.js} +1 -1
- package/dist/calcite/{p-977b0cf7.entry.js → p-ea372283.entry.js} +2 -2
- package/dist/calcite/{p-7fb5a680.entry.js → p-f061f34e.entry.js} +2 -2
- package/dist/calcite/{p-7d0317f6.js → p-f3ffe383.js} +1 -1
- package/dist/calcite/p-f45da10e.entry.js +6 -0
- package/dist/calcite/p-f4955ff3.entry.js +6 -0
- package/dist/calcite/{p-f46b5b03.entry.js → p-f542f9be.entry.js} +2 -2
- package/dist/calcite/p-f569be4c.entry.js +6 -0
- package/dist/calcite/{p-51eaa3c1.entry.js → p-f6ec6ecc.entry.js} +2 -2
- package/dist/calcite/{p-8df8c06d.js → p-fc755c94.js} +1 -1
- package/dist/calcite/{p-3dd06bf5.entry.js → p-fdb96d50.entry.js} +2 -2
- package/dist/calcite/{p-7307ee74.entry.js → p-fecc9847.entry.js} +2 -2
- package/dist/calcite/p-fecd42af.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-ab5d5f5b.js → ExpandToggle-79cf7954.js} +5 -5
- package/dist/cjs/{Heading-4cd5441a.js → Heading-87d8f765.js} +2 -2
- package/dist/cjs/{app-globals-f7f58460.js → app-globals-eff6efe6.js} +2 -2
- package/dist/cjs/{array-150a7e80.js → array-8dbb0161.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 +12 -12
- 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 +14 -14
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
- 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 +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +25 -17
- package/dist/cjs/calcite-input-text.cjs.entry.js +24 -16
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +25 -17
- 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 +59 -59
- 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 +9 -9
- 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 +15 -15
- 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 +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-50a9746a.js → conditionalSlot-20f76b94.js} +3 -3
- package/dist/cjs/{debounce-c91440ad.js → debounce-5e204854.js} +1 -1
- package/dist/cjs/{dom-6ea74999.js → dom-0d61a321.js} +3 -3
- package/dist/cjs/{filter-20e9fd80.js → filter-45953cf9.js} +2 -2
- package/dist/cjs/{floating-ui-3340d6f1.js → floating-ui-b8de6f80.js} +4 -4
- package/dist/cjs/{focusTrapComponent-a0956b53.js → focusTrapComponent-8b05cc6b.js} +2 -2
- package/dist/cjs/{form-fb0c45f4.js → form-39dc60d9.js} +3 -3
- package/dist/cjs/{guid-594ff585.js → guid-2b3c7968.js} +1 -1
- package/dist/cjs/{index-96320fba.js → index-1015c3cb.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-9e3e6463.js → interactive-66115735.js} +1 -1
- package/dist/cjs/{key-08845828.js → key-5e60b5b4.js} +1 -1
- package/dist/cjs/{label-d94524ce.js → label-0afc69be.js} +2 -2
- package/dist/cjs/{loadable-d8791489.js → loadable-3b5bb97a.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-32ded11c.js → locale-525f0e78.js} +4 -4
- package/dist/cjs/{math-f0c3bbe1.js → math-93890db4.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-36f179d1.js → nonChromiumPlatformUtils-cf9b432c.js} +6 -6
- package/dist/cjs/{observers-b89ad177.js → observers-99c820c3.js} +1 -1
- package/dist/cjs/{openCloseComponent-ed067601.js → openCloseComponent-d8fca5bc.js} +2 -2
- package/dist/cjs/{resources-1559c371.js → resources-076bf070.js} +1 -1
- package/dist/cjs/{resources-73e0c512.js → resources-8546fef2.js} +1 -1
- package/dist/cjs/{resources-50af4f69.js → resources-a86982e3.js} +1 -1
- package/dist/cjs/{resources-aceebc13.js → resources-ac44b0e3.js} +5 -5
- package/dist/cjs/{resources-0fa71c78.js → resources-b73239a3.js} +1 -1
- package/dist/cjs/{resources-142c39f3.js → resources-bd84b217.js} +1 -1
- package/dist/cjs/{sortable.esm-47e7dc83.js → sortable.esm-1e476a8f.js} +1 -1
- package/dist/cjs/{t9n-7b73b9a2.js → t9n-f976316b.js} +3 -3
- package/dist/cjs/{utils-17f9b0dd.js → utils-3149ecd2.js} +3 -3
- package/dist/cjs/{utils-c756ad29.js → utils-6b366e24.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +3 -3
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +6 -6
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +8 -8
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +2 -2
- package/dist/collection/components/action-group/action-group.js +4 -4
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +4 -4
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +6 -6
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +6 -6
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +2 -2
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +6 -6
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/button/button.js +7 -7
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +3 -3
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +5 -6
- package/dist/collection/components/chip/chip.js +7 -7
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +6 -6
- 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 +4 -4
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +2 -2
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +10 -10
- 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 +5 -5
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +4 -4
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +5 -5
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +2 -2
- package/dist/collection/components/date-picker-day/date-picker-day.js +3 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +3 -3
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +6 -6
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +6 -6
- 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 +2 -2
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +3 -3
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +4 -4
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +2 -2
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +4 -4
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +3 -3
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +2 -2
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +3 -3
- 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 +5 -5
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +21 -12
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +11 -11
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +2 -2
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +21 -12
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +19 -10
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +6 -6
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +3 -3
- package/dist/collection/components/list/list.js +6 -6
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +3 -3
- 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 +2 -2
- 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 +5 -5
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +5 -5
- 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 +2 -2
- package/dist/collection/components/pagination/pagination.js +3 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +6 -6
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +5 -5
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +2 -2
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +5 -5
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +5 -5
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +8 -8
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +6 -6
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +2 -2
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +4 -4
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +2 -2
- package/dist/collection/components/segmented-control/segmented-control.js +3 -3
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +2 -2
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +5 -5
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +4 -4
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +4 -4
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +5 -5
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +4 -4
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +3 -3
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -2
- 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 +3 -3
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-nav/tab-nav.js +2 -2
- package/dist/collection/components/tab-title/tab-title.js +3 -3
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +3 -3
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +3 -3
- 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 +4 -4
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +5 -5
- 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 +4 -4
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +5 -5
- 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 +5 -5
- 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 +8 -8
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +6 -6
- 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 +3 -3
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +3 -3
- package/dist/collection/utils/focusTrapComponent.js +2 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +3 -3
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +4 -4
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +6 -6
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +5 -5
- 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 +4 -4
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +4 -4
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +5 -5
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +4 -4
- package/dist/components/calcite-combobox-item-group.js +3 -3
- package/dist/components/calcite-combobox-item.js +3 -3
- package/dist/components/calcite-combobox.js +7 -7
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -3
- 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 +4 -4
- package/dist/components/calcite-input-date-picker.js +7 -7
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +17 -8
- package/dist/components/calcite-input-text.js +16 -7
- package/dist/components/calcite-input-time-picker.js +5 -5
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +3 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +4 -4
- package/dist/components/calcite-notice.js +4 -4
- 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 +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +4 -4
- 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 +4 -4
- package/dist/components/calcite-rating.js +4 -4
- 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 +2 -2
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +3 -3
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +4 -4
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +5 -5
- package/dist/components/calcite-value-list.js +4 -4
- package/dist/components/checkbox.js +4 -4
- package/dist/components/chip.js +5 -5
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +3 -3
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +4 -4
- 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 +4 -4
- package/dist/components/filter.js +3 -3
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +2 -2
- 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 +17 -8
- 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 +2 -2
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +4 -4
- package/dist/components/pick-list-item.js +4 -4
- package/dist/components/popover.js +3 -3
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +10 -64
- package/dist/components/resources3.js +6 -10
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +3 -3
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +3 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +73 -0
- package/dist/esm/{ExpandToggle-ca7d7e5b.js → ExpandToggle-07753b95.js} +5 -5
- package/dist/esm/{Heading-f4697929.js → Heading-7782fc46.js} +2 -2
- package/dist/esm/{app-globals-2183d370.js → app-globals-aa6767e1.js} +2 -2
- package/dist/esm/{array-3cced84f.js → array-97b0f120.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 +12 -12
- 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 +14 -14
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +14 -14
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +12 -12
- 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 +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +16 -16
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +25 -17
- package/dist/esm/calcite-input-text.entry.js +24 -16
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +25 -17
- 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 +59 -59
- 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 +9 -9
- 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 +15 -15
- 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 +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-52f10ead.js → conditionalSlot-e4a98179.js} +3 -3
- package/dist/esm/{debounce-5eb465b3.js → debounce-a10d9cb6.js} +1 -1
- package/dist/esm/{dom-b47d5cec.js → dom-65007578.js} +3 -3
- package/dist/esm/{filter-9652fb3e.js → filter-b80021b2.js} +2 -2
- package/dist/esm/{floating-ui-de34ab71.js → floating-ui-b651e710.js} +4 -4
- package/dist/esm/{focusTrapComponent-243fd462.js → focusTrapComponent-dbb7a5a2.js} +2 -2
- package/dist/esm/{form-8088b6c8.js → form-71673322.js} +3 -3
- package/dist/esm/{guid-7013e0c9.js → guid-a444b611.js} +1 -1
- package/dist/esm/{index-c6a8f4fd.js → index-2becac0a.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-8963c5de.js → interactive-fcc0115a.js} +1 -1
- package/dist/esm/{key-7daa322a.js → key-28967eb2.js} +1 -1
- package/dist/esm/{label-85e8bdf3.js → label-9f7ab1e2.js} +2 -2
- package/dist/esm/{loadable-a8de2f9f.js → loadable-06f3da41.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-df9cf208.js → locale-6c8629ec.js} +4 -4
- package/dist/esm/{math-0c979d61.js → math-1e656e3e.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-4cdf0877.js → nonChromiumPlatformUtils-d9b2d19c.js} +6 -6
- package/dist/esm/{observers-eda0fd4b.js → observers-978f2f03.js} +1 -1
- package/dist/esm/{openCloseComponent-1dec55de.js → openCloseComponent-81cc920a.js} +2 -2
- package/dist/esm/{resources-839037ff.js → resources-1af6373b.js} +1 -1
- package/dist/esm/{resources-12c9a936.js → resources-1d45ff23.js} +1 -1
- package/dist/esm/{resources-8ee07c24.js → resources-6d5f8d50.js} +1 -1
- package/dist/esm/{resources-b84a7ae2.js → resources-82aefa35.js} +5 -5
- package/dist/esm/{resources-f4649a9f.js → resources-e5098978.js} +1 -1
- package/dist/esm/{resources-559a4e2e.js → resources-f4296894.js} +1 -1
- package/dist/esm/{sortable.esm-4c6ebf9f.js → sortable.esm-2c551011.js} +1 -1
- package/dist/esm/{t9n-81a04418.js → t9n-eb790683.js} +3 -3
- package/dist/esm/{utils-5ff06902.js → utils-431ba858.js} +1 -1
- package/dist/esm/{utils-89f77364.js → utils-c54ccf06.js} +3 -3
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -2
- package/dist/types/components/action/action.d.ts +3 -3
- package/dist/types/components/action-bar/action-bar.d.ts +2 -2
- package/dist/types/components/action-group/action-group.d.ts +2 -2
- package/dist/types/components/action-menu/action-menu.d.ts +2 -2
- package/dist/types/components/action-pad/action-pad.d.ts +2 -2
- package/dist/types/components/alert/alert.d.ts +5 -5
- package/dist/types/components/block/block.d.ts +3 -3
- package/dist/types/components/block-section/block-section.d.ts +3 -3
- package/dist/types/components/button/button.d.ts +6 -6
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/chip/chip.d.ts +4 -4
- package/dist/types/components/color-picker/color-picker.d.ts +4 -5
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +5 -5
- package/dist/types/components/combobox-item/combobox-item.d.ts +2 -2
- package/dist/types/components/date-picker/date-picker.d.ts +2 -2
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +1 -1
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +2 -2
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +1 -2
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +2 -2
- package/dist/types/components/fab/fab.d.ts +1 -1
- package/dist/types/components/filter/filter.d.ts +2 -2
- package/dist/types/components/flow-item/flow-item.d.ts +3 -3
- package/dist/types/components/graph/util.d.ts +1 -1
- package/dist/types/components/inline-editable/inline-editable.d.ts +3 -3
- package/dist/types/components/input/input.d.ts +7 -6
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -6
- package/dist/types/components/input-number/input-number.d.ts +6 -5
- package/dist/types/components/input-text/input-text.d.ts +4 -3
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +3 -3
- package/dist/types/components/link/link.d.ts +1 -1
- package/dist/types/components/list/list.d.ts +2 -2
- package/dist/types/components/list-item/list-item.d.ts +2 -2
- package/dist/types/components/modal/modal.d.ts +3 -3
- package/dist/types/components/notice/notice.d.ts +2 -2
- package/dist/types/components/pagination/pagination.d.ts +2 -2
- package/dist/types/components/panel/panel.d.ts +1 -1
- package/dist/types/components/pick-list/pick-list.d.ts +3 -3
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
- package/dist/types/components/popover/popover.d.ts +2 -2
- package/dist/types/components/radio-button/radio-button.d.ts +2 -2
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +1 -1
- package/dist/types/components/rating/rating.d.ts +3 -3
- package/dist/types/components/segmented-control/segmented-control.d.ts +2 -2
- package/dist/types/components/select/select.d.ts +2 -2
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +1 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
- package/dist/types/components/slider/slider.d.ts +4 -4
- package/dist/types/components/sortable-list/sortable-list.d.ts +2 -2
- package/dist/types/components/split-button/split-button.d.ts +2 -2
- package/dist/types/components/stepper/stepper.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/tab/tab.d.ts +1 -1
- package/dist/types/components/tab-nav/tab-nav.d.ts +2 -3
- package/dist/types/components/tab-title/tab-title.d.ts +2 -2
- package/dist/types/components/tabs/tabs.d.ts +1 -1
- package/dist/types/components/tile-select/tile-select.d.ts +2 -2
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +1 -1
- package/dist/types/components/time-picker/time-picker.d.ts +2 -2
- package/dist/types/components/tip/tip.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components/tree/tree.d.ts +1 -1
- package/dist/types/components/tree-item/tree-item.d.ts +2 -2
- package/dist/types/components/value-list/value-list.d.ts +4 -4
- package/dist/types/components/value-list-item/value-list-item.d.ts +1 -1
- package/hydrate/index.js +609 -582
- package/package.json +3 -3
- package/dist/calcite/p-1217ae09.entry.js +0 -6
- package/dist/calcite/p-18d58aff.entry.js +0 -6
- package/dist/calcite/p-19ab8d38.entry.js +0 -6
- package/dist/calcite/p-24e2ac12.js +0 -6
- package/dist/calcite/p-27e8e76b.entry.js +0 -6
- package/dist/calcite/p-2e08a672.entry.js +0 -6
- package/dist/calcite/p-2efd3081.entry.js +0 -6
- package/dist/calcite/p-358aeddc.entry.js +0 -6
- package/dist/calcite/p-5b309359.js +0 -6
- package/dist/calcite/p-5c6652f5.entry.js +0 -6
- package/dist/calcite/p-5d1e5070.entry.js +0 -6
- package/dist/calcite/p-5f478105.entry.js +0 -6
- package/dist/calcite/p-6dbc0e3d.entry.js +0 -6
- package/dist/calcite/p-7cd3ce21.js +0 -6
- package/dist/calcite/p-7e094f17.js +0 -6
- package/dist/calcite/p-8e343ac3.entry.js +0 -6
- package/dist/calcite/p-abca3f5f.entry.js +0 -6
- package/dist/calcite/p-b92d905e.entry.js +0 -6
- package/dist/calcite/p-caab9312.entry.js +0 -6
- package/dist/calcite/p-d1141332.entry.js +0 -6
- package/dist/calcite/p-f00509ed.entry.js +0 -6
- package/dist/calcite/p-f3c5a3b8.entry.js +0 -6
- package/dist/calcite/p-f4848833.entry.js +0 -6
- package/dist/calcite/p-f6ca5976.entry.js +0 -6
- package/dist/calcite/p-f757c072.entry.js +0 -6
- package/dist/calcite/p-fca56095.entry.js +0 -6
- package/dist/calcite/p-fe0ea7bb.entry.js +0 -6
- package/dist/components/resources4.js +0 -15
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.718
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -5923,18 +5923,64 @@ class Accordion {
|
|
|
5923
5923
|
}; }
|
|
5924
5924
|
}
|
|
5925
5925
|
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5926
|
+
/**
|
|
5927
|
+
* This utility ensures observers are created only for browser contexts.
|
|
5928
|
+
*
|
|
5929
|
+
* @param type - the type of observer to create
|
|
5930
|
+
* @param callback - the observer callback
|
|
5931
|
+
* @param options - the observer options
|
|
5932
|
+
*/
|
|
5933
|
+
function createObserver(type, callback, options) {
|
|
5934
|
+
{
|
|
5935
|
+
return undefined;
|
|
5936
|
+
}
|
|
5937
|
+
}
|
|
5938
|
+
|
|
5939
|
+
const observed = new Set();
|
|
5940
|
+
let mutationObserver$1;
|
|
5941
|
+
const observerOptions = { childList: true };
|
|
5942
|
+
/**
|
|
5943
|
+
* Helper to set up a conditional slot component on connectedCallback.
|
|
5944
|
+
*
|
|
5945
|
+
* @param component
|
|
5946
|
+
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
5947
|
+
*
|
|
5948
|
+
* ```
|
|
5949
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
5950
|
+
* ```
|
|
5951
|
+
*/
|
|
5952
|
+
function connectConditionalSlotComponent(component) {
|
|
5953
|
+
if (!mutationObserver$1) {
|
|
5954
|
+
mutationObserver$1 = createObserver();
|
|
5955
|
+
}
|
|
5956
|
+
mutationObserver$1.observe(component.el, observerOptions);
|
|
5957
|
+
}
|
|
5958
|
+
/**
|
|
5959
|
+
* Helper to tear down a conditional slot component on disconnectedCallback.
|
|
5960
|
+
*
|
|
5961
|
+
* @param component
|
|
5962
|
+
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
5963
|
+
*
|
|
5964
|
+
* ```
|
|
5965
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
5966
|
+
* ```
|
|
5967
|
+
*/
|
|
5968
|
+
function disconnectConditionalSlotComponent(component) {
|
|
5969
|
+
observed.delete(component.el);
|
|
5970
|
+
// we explicitly process queued mutations and disconnect and reconnect
|
|
5971
|
+
// the observer until MutationObserver gets an `unobserve` method
|
|
5972
|
+
// see https://github.com/whatwg/dom/issues/126
|
|
5973
|
+
processMutations(mutationObserver$1.takeRecords());
|
|
5974
|
+
mutationObserver$1.disconnect();
|
|
5975
|
+
for (const [element] of observed.entries()) {
|
|
5976
|
+
mutationObserver$1.observe(element, observerOptions);
|
|
5977
|
+
}
|
|
5978
|
+
}
|
|
5979
|
+
function processMutations(mutations) {
|
|
5980
|
+
mutations.forEach(({ target }) => {
|
|
5981
|
+
forceUpdate$1(target);
|
|
5982
|
+
});
|
|
5936
5983
|
}
|
|
5937
|
-
const guid = () => gen([2, 1, 1, 1, 3]);
|
|
5938
5984
|
|
|
5939
5985
|
/*!
|
|
5940
5986
|
* tabbable 6.0.1
|
|
@@ -6393,6 +6439,19 @@ var isFocusable = function isFocusable(node, options) {
|
|
|
6393
6439
|
return isNodeMatchingSelectorFocusable(options, node);
|
|
6394
6440
|
};
|
|
6395
6441
|
|
|
6442
|
+
function gen(counts) {
|
|
6443
|
+
return counts
|
|
6444
|
+
.map((count) => {
|
|
6445
|
+
let out = "";
|
|
6446
|
+
for (let i = 0; i < count; i++) {
|
|
6447
|
+
out += (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
|
|
6448
|
+
}
|
|
6449
|
+
return out;
|
|
6450
|
+
})
|
|
6451
|
+
.join("-");
|
|
6452
|
+
}
|
|
6453
|
+
const guid = () => gen([2, 1, 1, 1, 3]);
|
|
6454
|
+
|
|
6396
6455
|
const tabbableOptions = {
|
|
6397
6456
|
getShadowRoot: true
|
|
6398
6457
|
};
|
|
@@ -6631,65 +6690,6 @@ const focusElementInGroup = (elements, currentElement, destination) => {
|
|
|
6631
6690
|
return focusTarget;
|
|
6632
6691
|
};
|
|
6633
6692
|
|
|
6634
|
-
/**
|
|
6635
|
-
* This utility ensures observers are created only for browser contexts.
|
|
6636
|
-
*
|
|
6637
|
-
* @param type - the type of observer to create
|
|
6638
|
-
* @param callback - the observer callback
|
|
6639
|
-
* @param options - the observer options
|
|
6640
|
-
*/
|
|
6641
|
-
function createObserver(type, callback, options) {
|
|
6642
|
-
{
|
|
6643
|
-
return undefined;
|
|
6644
|
-
}
|
|
6645
|
-
}
|
|
6646
|
-
|
|
6647
|
-
const observed = new Set();
|
|
6648
|
-
let mutationObserver$1;
|
|
6649
|
-
const observerOptions = { childList: true };
|
|
6650
|
-
/**
|
|
6651
|
-
* Helper to set up a conditional slot component on connectedCallback.
|
|
6652
|
-
*
|
|
6653
|
-
* @param component
|
|
6654
|
-
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
6655
|
-
*
|
|
6656
|
-
* ```
|
|
6657
|
-
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
6658
|
-
* ```
|
|
6659
|
-
*/
|
|
6660
|
-
function connectConditionalSlotComponent(component) {
|
|
6661
|
-
if (!mutationObserver$1) {
|
|
6662
|
-
mutationObserver$1 = createObserver();
|
|
6663
|
-
}
|
|
6664
|
-
mutationObserver$1.observe(component.el, observerOptions);
|
|
6665
|
-
}
|
|
6666
|
-
/**
|
|
6667
|
-
* Helper to tear down a conditional slot component on disconnectedCallback.
|
|
6668
|
-
*
|
|
6669
|
-
* @param component
|
|
6670
|
-
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
6671
|
-
*
|
|
6672
|
-
* ```
|
|
6673
|
-
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
6674
|
-
* ```
|
|
6675
|
-
*/
|
|
6676
|
-
function disconnectConditionalSlotComponent(component) {
|
|
6677
|
-
observed.delete(component.el);
|
|
6678
|
-
// we explicitly process queued mutations and disconnect and reconnect
|
|
6679
|
-
// the observer until MutationObserver gets an `unobserve` method
|
|
6680
|
-
// see https://github.com/whatwg/dom/issues/126
|
|
6681
|
-
processMutations(mutationObserver$1.takeRecords());
|
|
6682
|
-
mutationObserver$1.disconnect();
|
|
6683
|
-
for (const [element] of observed.entries()) {
|
|
6684
|
-
mutationObserver$1.observe(element, observerOptions);
|
|
6685
|
-
}
|
|
6686
|
-
}
|
|
6687
|
-
function processMutations(mutations) {
|
|
6688
|
-
mutations.forEach(({ target }) => {
|
|
6689
|
-
forceUpdate$1(target);
|
|
6690
|
-
});
|
|
6691
|
-
}
|
|
6692
|
-
|
|
6693
6693
|
const SLOTS$u = {
|
|
6694
6694
|
actionsStart: "actions-start",
|
|
6695
6695
|
actionsEnd: "actions-end"
|
|
@@ -6856,21 +6856,6 @@ class AccordionItem {
|
|
|
6856
6856
|
}; }
|
|
6857
6857
|
}
|
|
6858
6858
|
|
|
6859
|
-
const CSS$V = {
|
|
6860
|
-
button: "button",
|
|
6861
|
-
buttonTextVisible: "button--text-visible",
|
|
6862
|
-
buttonCompact: "button--compact",
|
|
6863
|
-
indicatorText: "indicator-text",
|
|
6864
|
-
iconContainer: "icon-container",
|
|
6865
|
-
slotContainer: "slot-container",
|
|
6866
|
-
slotContainerHidden: "slot-container--hidden",
|
|
6867
|
-
textContainer: "text-container",
|
|
6868
|
-
textContainerVisible: "text-container--visible"
|
|
6869
|
-
};
|
|
6870
|
-
const SLOTS$t = {
|
|
6871
|
-
tooltip: "tooltip"
|
|
6872
|
-
};
|
|
6873
|
-
|
|
6874
6859
|
function noopClick() {
|
|
6875
6860
|
/** noop */
|
|
6876
6861
|
}
|
|
@@ -6911,6 +6896,60 @@ function updateHostInteraction(component, hostIsTabbable = false) {
|
|
|
6911
6896
|
component.el.removeAttribute("aria-disabled");
|
|
6912
6897
|
}
|
|
6913
6898
|
|
|
6899
|
+
const resolveMap = new WeakMap();
|
|
6900
|
+
const promiseMap = new WeakMap();
|
|
6901
|
+
/**
|
|
6902
|
+
* This helper util sets up the component for the ability to know when the component has been loaded.
|
|
6903
|
+
*
|
|
6904
|
+
* This should be used in the `componentWillLoad` lifecycle hook.
|
|
6905
|
+
*
|
|
6906
|
+
* ```
|
|
6907
|
+
* componentWillLoad(): void {
|
|
6908
|
+
* setUpLoadableComponent(this);
|
|
6909
|
+
* }
|
|
6910
|
+
* ```
|
|
6911
|
+
*
|
|
6912
|
+
* @param component
|
|
6913
|
+
*/
|
|
6914
|
+
function setUpLoadableComponent(component) {
|
|
6915
|
+
promiseMap.set(component, new Promise((resolve) => resolveMap.set(component, resolve)));
|
|
6916
|
+
}
|
|
6917
|
+
/**
|
|
6918
|
+
* This helper util lets the loadable component know that it is now loaded.
|
|
6919
|
+
*
|
|
6920
|
+
* This should be used in the `componentDidLoad` lifecycle hook.
|
|
6921
|
+
*
|
|
6922
|
+
* ```
|
|
6923
|
+
* componentDidLoad(): void {
|
|
6924
|
+
* setComponentLoaded(this);
|
|
6925
|
+
* }
|
|
6926
|
+
* ```
|
|
6927
|
+
*
|
|
6928
|
+
* @param component
|
|
6929
|
+
*/
|
|
6930
|
+
function setComponentLoaded(component) {
|
|
6931
|
+
resolveMap.get(component)();
|
|
6932
|
+
}
|
|
6933
|
+
/**
|
|
6934
|
+
* This helper util can be used to ensure a component has been loaded (The "componentDidLoad" stencil lifecycle method has been called).
|
|
6935
|
+
*
|
|
6936
|
+
* Requires "setUpLoadableComponent" and "setComponentLoaded" to be called first.
|
|
6937
|
+
*
|
|
6938
|
+
* A component developer can await this method before proceeding with any logic that requires a component to be loaded first.
|
|
6939
|
+
*
|
|
6940
|
+
* ```
|
|
6941
|
+
* async setFocus(): Promise<void> {
|
|
6942
|
+
* await componentLoaded(this);
|
|
6943
|
+
* }
|
|
6944
|
+
* ```
|
|
6945
|
+
*
|
|
6946
|
+
* @param component
|
|
6947
|
+
* @returns Promise<void>
|
|
6948
|
+
*/
|
|
6949
|
+
function componentLoaded(component) {
|
|
6950
|
+
return promiseMap.get(component);
|
|
6951
|
+
}
|
|
6952
|
+
|
|
6914
6953
|
function isActivationKey(key) {
|
|
6915
6954
|
return key === "Enter" || key === " ";
|
|
6916
6955
|
}
|
|
@@ -7417,64 +7456,25 @@ function defaultOnMessagesChange() {
|
|
|
7417
7456
|
mergeMessages(this);
|
|
7418
7457
|
}
|
|
7419
7458
|
|
|
7420
|
-
const
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
function setUpLoadableComponent(component) {
|
|
7436
|
-
|
|
7437
|
-
}
|
|
7459
|
+
const CSS$V = {
|
|
7460
|
+
button: "button",
|
|
7461
|
+
buttonTextVisible: "button--text-visible",
|
|
7462
|
+
buttonCompact: "button--compact",
|
|
7463
|
+
indicatorText: "indicator-text",
|
|
7464
|
+
iconContainer: "icon-container",
|
|
7465
|
+
slotContainer: "slot-container",
|
|
7466
|
+
slotContainerHidden: "slot-container--hidden",
|
|
7467
|
+
textContainer: "text-container",
|
|
7468
|
+
textContainerVisible: "text-container--visible"
|
|
7469
|
+
};
|
|
7470
|
+
const SLOTS$t = {
|
|
7471
|
+
tooltip: "tooltip"
|
|
7472
|
+
};
|
|
7473
|
+
|
|
7474
|
+
const actionCss = "@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-action: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-action{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-action:root{--calcite-internal-duration-factor:0}}/*!@:host*/.sc-calcite-action-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-h *.sc-calcite-action{box-sizing:border-box}/*!@:root*/.sc-calcite-action:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-action-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-action-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-action-h{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-action-h[disabled] .sc-calcite-action-s>[calcite-hydrated][disabled],[disabled].sc-calcite-action-h [calcite-hydrated][disabled].sc-calcite-action{opacity:1}/*!@.button*/.button.sc-calcite-action{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}/*!@.button:hover*/.button.sc-calcite-action:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@.button:focus*/.button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.button:active*/.button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-3)}/*!@.button .icon-container*/.button.sc-calcite-action .icon-container.sc-calcite-action{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}/*!@.button .text-container*/.button.sc-calcite-action .text-container.sc-calcite-action{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}/*!@.button .text-container--visible*/.button.sc-calcite-action .text-container--visible.sc-calcite-action{inline-size:auto;flex:1 1 auto;opacity:1}/*!@:host([scale=s]) .button*/[scale=s].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=s]) .button--text-visible .icon-container*/[scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{margin-inline-end:0.5rem}/*!@:host([scale=m]) .button*/[scale=m].sc-calcite-action-h .button.sc-calcite-action{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=m]) .button--text-visible .icon-container*/[scale=m].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{margin-inline-end:0.75rem}/*!@:host([scale=l]) .button*/[scale=l].sc-calcite-action-h .button.sc-calcite-action{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=l]) .button--text-visible .icon-container*/[scale=l].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{margin-inline-end:1rem}/*!@:host([alignment=center]) .button*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action{justify-content:center}/*!@:host([alignment=end]) .button*/[alignment=end].sc-calcite-action-h .button.sc-calcite-action{justify-content:flex-end}/*!@:host([alignment=center]) .button .text-container--visible,\n:host([alignment=end]) .button .text-container--visible*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action,[alignment=end].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action{flex:0 1 auto}/*!@:host([scale=s][compact]) .button,\n:host([scale=m][compact]) .button,\n:host([scale=l][compact]) .button*/[scale=s][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=m][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=l][compact].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0px}/*!@.slot-container*/.slot-container.sc-calcite-action{display:flex}/*!@.slot-container--hidden*/.slot-container--hidden.sc-calcite-action{display:none}/*!@.button--text-visible*/.button--text-visible.sc-calcite-action{inline-size:100%}/*!@:host([active]) .button,\n:host([active]) .button:hover,\n:host([active]) .button:focus,\n:host([active][loading]) .button*/[active].sc-calcite-action-h .button.sc-calcite-action,[active].sc-calcite-action-h .button.sc-calcite-action:hover,[active].sc-calcite-action-h .button.sc-calcite-action:focus,[active][loading].sc-calcite-action-h .button.sc-calcite-action{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([active]) .button:active*/[active].sc-calcite-action-h .button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([appearance=transparent]) .button*/[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host([appearance=transparent]) .button:hover,\n:host([appearance=transparent]) .button:focus*/[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:hover,[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}/*!@:host([active][appearance=transparent]) .button,\n:host([active][appearance=transparent]) .button:hover,\n:host([active][appearance=transparent]) .button:focus*/[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:hover,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][loading]) .button,\n:host([appearance=transparent][disabled]) .button*/[appearance=transparent][loading].sc-calcite-action-h .button.sc-calcite-action,[appearance=transparent][disabled].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent}/*!@:host([loading]) .button,\n:host([loading]) .button:hover,\n:host([loading]) .button:focus*/[loading].sc-calcite-action-h .button.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover,[loading].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-1)}/*!@:host([loading]) .button .text-container,\n:host([loading]) .button:hover .text-container,\n:host([loading]) .button:focus .text-container*/[loading].sc-calcite-action-h .button.sc-calcite-action .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:focus .text-container.sc-calcite-action{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([loading]) calcite-loader[inline]*/[loading].sc-calcite-action-h calcite-loader[inline].sc-calcite-action{color:var(--calcite-ui-text-3);margin-inline-end:0px}/*!@:host([disabled]) .button,\n:host([disabled]) .button:hover,\n:host([disabled]) .button:focus*/[disabled].sc-calcite-action-h .button.sc-calcite-action,[disabled].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled].sc-calcite-action-h .button.sc-calcite-action:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled][active]) .button,\n:host([disabled][active]) .button:hover,\n:host([disabled][active]) .button:focus*/[disabled][active].sc-calcite-action-h .button.sc-calcite-action,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([indicator]) .button::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}/*!@:host([indicator]) .button--text-visible::after*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto}/*!@:host([indicator]) .button--text-visible .text-container--visible*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action .text-container--visible.sc-calcite-action{margin-inline-end:1rem}/*!@:host([indicator]) .button:hover::after,\n:host([indicator]) .button:focus::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action:hover::after,[indicator].sc-calcite-action-h .button.sc-calcite-action:focus::after{border-color:var(--calcite-ui-foreground-1)}/*!@:host([indicator][scale=s]) .button::after*/[indicator][scale=s].sc-calcite-action-h .button.sc-calcite-action::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}/*!@:host([indicator][scale=s]) .button--text-visible::after*/[indicator][scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto;inset-inline-end:0.5rem}/*!@:host([indicator][active]) .button::after*/[indicator][active].sc-calcite-action-h .button.sc-calcite-action::after{border-color:var(--calcite-ui-foreground-3)}/*!@.indicator-text*/.indicator-text.sc-calcite-action{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}";
|
|
7475
|
+
|
|
7438
7476
|
/**
|
|
7439
|
-
*
|
|
7440
|
-
*
|
|
7441
|
-
* This should be used in the `componentDidLoad` lifecycle hook.
|
|
7442
|
-
*
|
|
7443
|
-
* ```
|
|
7444
|
-
* componentDidLoad(): void {
|
|
7445
|
-
* setComponentLoaded(this);
|
|
7446
|
-
* }
|
|
7447
|
-
* ```
|
|
7448
|
-
*
|
|
7449
|
-
* @param component
|
|
7450
|
-
*/
|
|
7451
|
-
function setComponentLoaded(component) {
|
|
7452
|
-
resolveMap.get(component)();
|
|
7453
|
-
}
|
|
7454
|
-
/**
|
|
7455
|
-
* This helper util can be used to ensure a component has been loaded (The "componentDidLoad" stencil lifecycle method has been called).
|
|
7456
|
-
*
|
|
7457
|
-
* Requires "setUpLoadableComponent" and "setComponentLoaded" to be called first.
|
|
7458
|
-
*
|
|
7459
|
-
* A component developer can await this method before proceeding with any logic that requires a component to be loaded first.
|
|
7460
|
-
*
|
|
7461
|
-
* ```
|
|
7462
|
-
* async setFocus(): Promise<void> {
|
|
7463
|
-
* await componentLoaded(this);
|
|
7464
|
-
* }
|
|
7465
|
-
* ```
|
|
7466
|
-
*
|
|
7467
|
-
* @param component
|
|
7468
|
-
* @returns Promise<void>
|
|
7469
|
-
*/
|
|
7470
|
-
function componentLoaded(component) {
|
|
7471
|
-
return promiseMap.get(component);
|
|
7472
|
-
}
|
|
7473
|
-
|
|
7474
|
-
const actionCss = "@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-action: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-action{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-action:root{--calcite-internal-duration-factor:0}}/*!@:host*/.sc-calcite-action-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-h *.sc-calcite-action{box-sizing:border-box}/*!@:root*/.sc-calcite-action:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-action-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-action-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-action-h{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-action-h[disabled] .sc-calcite-action-s>[calcite-hydrated][disabled],[disabled].sc-calcite-action-h [calcite-hydrated][disabled].sc-calcite-action{opacity:1}/*!@.button*/.button.sc-calcite-action{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}/*!@.button:hover*/.button.sc-calcite-action:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@.button:focus*/.button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.button:active*/.button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-3)}/*!@.button .icon-container*/.button.sc-calcite-action .icon-container.sc-calcite-action{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}/*!@.button .text-container*/.button.sc-calcite-action .text-container.sc-calcite-action{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}/*!@.button .text-container--visible*/.button.sc-calcite-action .text-container--visible.sc-calcite-action{inline-size:auto;flex:1 1 auto;opacity:1}/*!@:host([scale=s]) .button*/[scale=s].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=s]) .button--text-visible .icon-container*/[scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{margin-inline-end:0.5rem}/*!@:host([scale=m]) .button*/[scale=m].sc-calcite-action-h .button.sc-calcite-action{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=m]) .button--text-visible .icon-container*/[scale=m].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{margin-inline-end:0.75rem}/*!@:host([scale=l]) .button*/[scale=l].sc-calcite-action-h .button.sc-calcite-action{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([scale=l]) .button--text-visible .icon-container*/[scale=l].sc-calcite-action-h .button--text-visible.sc-calcite-action .icon-container.sc-calcite-action{margin-inline-end:1rem}/*!@:host([alignment=center]) .button*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action{justify-content:center}/*!@:host([alignment=end]) .button*/[alignment=end].sc-calcite-action-h .button.sc-calcite-action{justify-content:flex-end}/*!@:host([alignment=center]) .button .text-container--visible,\n:host([alignment=end]) .button .text-container--visible*/[alignment=center].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action,[alignment=end].sc-calcite-action-h .button.sc-calcite-action .text-container--visible.sc-calcite-action{flex:0 1 auto}/*!@:host([scale=s][compact]) .button,\n:host([scale=m][compact]) .button,\n:host([scale=l][compact]) .button*/[scale=s][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=m][compact].sc-calcite-action-h .button.sc-calcite-action,[scale=l][compact].sc-calcite-action-h .button.sc-calcite-action{padding-inline:0px}/*!@.slot-container*/.slot-container.sc-calcite-action{display:flex}/*!@.slot-container--hidden*/.slot-container--hidden.sc-calcite-action{display:none}/*!@.button--text-visible*/.button--text-visible.sc-calcite-action{inline-size:100%}/*!@:host([active]) .button,\n:host([active]) .button:hover,\n:host([active]) .button:focus,\n:host([active][loading]) .button*/[active].sc-calcite-action-h .button.sc-calcite-action,[active].sc-calcite-action-h .button.sc-calcite-action:hover,[active].sc-calcite-action-h .button.sc-calcite-action:focus,[active][loading].sc-calcite-action-h .button.sc-calcite-action{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([active]) .button:active*/[active].sc-calcite-action-h .button.sc-calcite-action:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([appearance=transparent]) .button*/[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host([appearance=transparent]) .button:hover,\n:host([appearance=transparent]) .button:focus*/[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:hover,[appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}/*!@:host([active][appearance=transparent]) .button,\n:host([active][appearance=transparent]) .button:hover,\n:host([active][appearance=transparent]) .button:focus*/[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:hover,[active][appearance=transparent].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][loading]) .button,\n:host([appearance=transparent][disabled]) .button*/[appearance=transparent][loading].sc-calcite-action-h .button.sc-calcite-action,[appearance=transparent][disabled].sc-calcite-action-h .button.sc-calcite-action{background-color:transparent}/*!@:host([loading]) .button,\n:host([loading]) .button:hover,\n:host([loading]) .button:focus*/[loading].sc-calcite-action-h .button.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover,[loading].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-1)}/*!@:host([loading]) .button .text-container,\n:host([loading]) .button:hover .text-container,\n:host([loading]) .button:focus .text-container*/[loading].sc-calcite-action-h .button.sc-calcite-action .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:hover .text-container.sc-calcite-action,[loading].sc-calcite-action-h .button.sc-calcite-action:focus .text-container.sc-calcite-action{opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([loading]) calcite-loader[inline]*/[loading].sc-calcite-action-h calcite-loader[inline].sc-calcite-action{color:var(--calcite-ui-text-3);margin-inline-end:0px}/*!@:host([disabled]) .button,\n:host([disabled]) .button:hover,\n:host([disabled]) .button:focus*/[disabled].sc-calcite-action-h .button.sc-calcite-action,[disabled].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled].sc-calcite-action-h .button.sc-calcite-action:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled][active]) .button,\n:host([disabled][active]) .button:hover,\n:host([disabled][active]) .button:focus*/[disabled][active].sc-calcite-action-h .button.sc-calcite-action,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:hover,[disabled][active].sc-calcite-action-h .button.sc-calcite-action:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([indicator]) .button::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}/*!@:host([indicator]) .button--text-visible::after*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto}/*!@:host([indicator]) .button--text-visible .text-container--visible*/[indicator].sc-calcite-action-h .button--text-visible.sc-calcite-action .text-container--visible.sc-calcite-action{margin-inline-end:1rem}/*!@:host([indicator]) .button:hover::after,\n:host([indicator]) .button:focus::after*/[indicator].sc-calcite-action-h .button.sc-calcite-action:hover::after,[indicator].sc-calcite-action-h .button.sc-calcite-action:focus::after{border-color:var(--calcite-ui-foreground-1)}/*!@:host([indicator][scale=s]) .button::after*/[indicator][scale=s].sc-calcite-action-h .button.sc-calcite-action::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}/*!@:host([indicator][scale=s]) .button--text-visible::after*/[indicator][scale=s].sc-calcite-action-h .button--text-visible.sc-calcite-action::after{inset-block-end:auto;inset-inline-end:0.5rem}/*!@:host([indicator][active]) .button::after*/[indicator][active].sc-calcite-action-h .button.sc-calcite-action::after{border-color:var(--calcite-ui-foreground-3)}/*!@.indicator-text*/.indicator-text.sc-calcite-action{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}";
|
|
7475
|
-
|
|
7476
|
-
/**
|
|
7477
|
-
* @slot - A slot for adding a `calcite-icon`.
|
|
7477
|
+
* @slot - A slot for adding a `calcite-icon`.
|
|
7478
7478
|
*/
|
|
7479
7479
|
class Action {
|
|
7480
7480
|
constructor(hostRef) {
|
|
@@ -7634,122 +7634,6 @@ class Action {
|
|
|
7634
7634
|
}; }
|
|
7635
7635
|
}
|
|
7636
7636
|
|
|
7637
|
-
const CSS$U = {
|
|
7638
|
-
menu: "menu",
|
|
7639
|
-
defaultTrigger: "default-trigger"
|
|
7640
|
-
};
|
|
7641
|
-
const SLOTS$s = {
|
|
7642
|
-
tooltip: "tooltip",
|
|
7643
|
-
trigger: "trigger"
|
|
7644
|
-
};
|
|
7645
|
-
const ICONS$h = {
|
|
7646
|
-
menu: "ellipsis"
|
|
7647
|
-
};
|
|
7648
|
-
|
|
7649
|
-
const SLOTS$r = {
|
|
7650
|
-
menuActions: "menu-actions",
|
|
7651
|
-
menuTooltip: "menu-tooltip"
|
|
7652
|
-
};
|
|
7653
|
-
const ICONS$g = {
|
|
7654
|
-
menu: "ellipsis"
|
|
7655
|
-
};
|
|
7656
|
-
|
|
7657
|
-
const overflowActionsDebounceInMs = 150;
|
|
7658
|
-
const groupBufferPx = 2;
|
|
7659
|
-
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
7660
|
-
const geActionDimensions = (actions) => {
|
|
7661
|
-
const actionLen = actions?.length;
|
|
7662
|
-
return {
|
|
7663
|
-
actionWidth: actionLen ? getAverage(actions.map((action) => action.clientWidth || 0)) : 0,
|
|
7664
|
-
actionHeight: actionLen ? getAverage(actions.map((action) => action.clientHeight || 0)) : 0
|
|
7665
|
-
};
|
|
7666
|
-
};
|
|
7667
|
-
const getMaxActionCount = ({ width, actionWidth, layout, height, actionHeight, groupCount }) => {
|
|
7668
|
-
const maxContainerPx = layout === "horizontal" ? width : height;
|
|
7669
|
-
const avgItemPx = layout === "horizontal" ? actionWidth : actionHeight;
|
|
7670
|
-
return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);
|
|
7671
|
-
};
|
|
7672
|
-
const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeight, height, groupCount }) => {
|
|
7673
|
-
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
7674
|
-
};
|
|
7675
|
-
const queryActions = (el) => {
|
|
7676
|
-
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$s.trigger : true);
|
|
7677
|
-
};
|
|
7678
|
-
const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
7679
|
-
let needToSlotCount = overflowCount;
|
|
7680
|
-
actionGroups.reverse().forEach((group) => {
|
|
7681
|
-
let slottedWithinGroupCount = 0;
|
|
7682
|
-
const groupActions = queryActions(group).reverse();
|
|
7683
|
-
groupActions.forEach((groupAction) => {
|
|
7684
|
-
if (groupAction.slot === SLOTS$r.menuActions) {
|
|
7685
|
-
groupAction.removeAttribute("slot");
|
|
7686
|
-
groupAction.textEnabled = expanded;
|
|
7687
|
-
}
|
|
7688
|
-
});
|
|
7689
|
-
if (needToSlotCount > 0) {
|
|
7690
|
-
groupActions.some((groupAction) => {
|
|
7691
|
-
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
7692
|
-
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
7693
|
-
groupAction.textEnabled = true;
|
|
7694
|
-
groupAction.setAttribute("slot", SLOTS$r.menuActions);
|
|
7695
|
-
slottedWithinGroupCount++;
|
|
7696
|
-
if (slottedWithinGroupCount > 1) {
|
|
7697
|
-
needToSlotCount--;
|
|
7698
|
-
}
|
|
7699
|
-
}
|
|
7700
|
-
return needToSlotCount < 1;
|
|
7701
|
-
});
|
|
7702
|
-
}
|
|
7703
|
-
forceUpdate$1(group);
|
|
7704
|
-
});
|
|
7705
|
-
};
|
|
7706
|
-
|
|
7707
|
-
const ICONS$f = {
|
|
7708
|
-
chevronsLeft: "chevrons-left",
|
|
7709
|
-
chevronsRight: "chevrons-right"
|
|
7710
|
-
};
|
|
7711
|
-
function getCalcitePosition(position, el) {
|
|
7712
|
-
return position || el.closest("calcite-shell-panel")?.position || "start";
|
|
7713
|
-
}
|
|
7714
|
-
function toggleChildActionText({ parent, expanded }) {
|
|
7715
|
-
queryActions(parent)
|
|
7716
|
-
.filter((el) => el.slot !== SLOTS$r.menuActions)
|
|
7717
|
-
.forEach((action) => (action.textEnabled = expanded));
|
|
7718
|
-
parent
|
|
7719
|
-
.querySelectorAll("calcite-action-group, calcite-action-menu")
|
|
7720
|
-
.forEach((el) => (el.expanded = expanded));
|
|
7721
|
-
}
|
|
7722
|
-
const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
|
|
7723
|
-
if (tooltip) {
|
|
7724
|
-
tooltip.referenceElement = !expanded && referenceElement ? referenceElement : null;
|
|
7725
|
-
}
|
|
7726
|
-
if (ref) {
|
|
7727
|
-
ref(referenceElement);
|
|
7728
|
-
}
|
|
7729
|
-
return referenceElement;
|
|
7730
|
-
};
|
|
7731
|
-
const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
|
|
7732
|
-
const rtl = getElementDir(el) === "rtl";
|
|
7733
|
-
const expandText = expanded ? intlCollapse : intlExpand;
|
|
7734
|
-
const icons = [ICONS$f.chevronsLeft, ICONS$f.chevronsRight];
|
|
7735
|
-
if (rtl) {
|
|
7736
|
-
icons.reverse();
|
|
7737
|
-
}
|
|
7738
|
-
const end = getCalcitePosition(position, el) === "end";
|
|
7739
|
-
const expandIcon = end ? icons[1] : icons[0];
|
|
7740
|
-
const collapseIcon = end ? icons[0] : icons[1];
|
|
7741
|
-
const actionNode = (hAsync("calcite-action", { icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
|
|
7742
|
-
return actionNode;
|
|
7743
|
-
};
|
|
7744
|
-
|
|
7745
|
-
const CSS$T = {
|
|
7746
|
-
actionGroupBottom: "action-group--bottom"
|
|
7747
|
-
};
|
|
7748
|
-
const SLOTS$q = {
|
|
7749
|
-
bottomActions: "bottom-actions",
|
|
7750
|
-
expandTooltip: "expand-tooltip"
|
|
7751
|
-
};
|
|
7752
|
-
|
|
7753
7637
|
/** Detect free variable `global` from Node.js. */
|
|
7754
7638
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
7755
7639
|
|
|
@@ -9013,6 +8897,122 @@ function throttle$1(func, wait, options) {
|
|
|
9013
8897
|
});
|
|
9014
8898
|
}
|
|
9015
8899
|
|
|
8900
|
+
const SLOTS$s = {
|
|
8901
|
+
menuActions: "menu-actions",
|
|
8902
|
+
menuTooltip: "menu-tooltip"
|
|
8903
|
+
};
|
|
8904
|
+
const ICONS$h = {
|
|
8905
|
+
menu: "ellipsis"
|
|
8906
|
+
};
|
|
8907
|
+
|
|
8908
|
+
const CSS$U = {
|
|
8909
|
+
menu: "menu",
|
|
8910
|
+
defaultTrigger: "default-trigger"
|
|
8911
|
+
};
|
|
8912
|
+
const SLOTS$r = {
|
|
8913
|
+
tooltip: "tooltip",
|
|
8914
|
+
trigger: "trigger"
|
|
8915
|
+
};
|
|
8916
|
+
const ICONS$g = {
|
|
8917
|
+
menu: "ellipsis"
|
|
8918
|
+
};
|
|
8919
|
+
|
|
8920
|
+
const overflowActionsDebounceInMs = 150;
|
|
8921
|
+
const groupBufferPx = 2;
|
|
8922
|
+
const getAverage = (arr) => arr.reduce((p, c) => p + c, 0) / arr.length;
|
|
8923
|
+
const geActionDimensions = (actions) => {
|
|
8924
|
+
const actionLen = actions?.length;
|
|
8925
|
+
return {
|
|
8926
|
+
actionWidth: actionLen ? getAverage(actions.map((action) => action.clientWidth || 0)) : 0,
|
|
8927
|
+
actionHeight: actionLen ? getAverage(actions.map((action) => action.clientHeight || 0)) : 0
|
|
8928
|
+
};
|
|
8929
|
+
};
|
|
8930
|
+
const getMaxActionCount = ({ width, actionWidth, layout, height, actionHeight, groupCount }) => {
|
|
8931
|
+
const maxContainerPx = layout === "horizontal" ? width : height;
|
|
8932
|
+
const avgItemPx = layout === "horizontal" ? actionWidth : actionHeight;
|
|
8933
|
+
return Math.floor((maxContainerPx - groupCount * groupBufferPx) / avgItemPx);
|
|
8934
|
+
};
|
|
8935
|
+
const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeight, height, groupCount }) => {
|
|
8936
|
+
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
8937
|
+
};
|
|
8938
|
+
const queryActions = (el) => {
|
|
8939
|
+
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$r.trigger : true);
|
|
8940
|
+
};
|
|
8941
|
+
const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
8942
|
+
let needToSlotCount = overflowCount;
|
|
8943
|
+
actionGroups.reverse().forEach((group) => {
|
|
8944
|
+
let slottedWithinGroupCount = 0;
|
|
8945
|
+
const groupActions = queryActions(group).reverse();
|
|
8946
|
+
groupActions.forEach((groupAction) => {
|
|
8947
|
+
if (groupAction.slot === SLOTS$s.menuActions) {
|
|
8948
|
+
groupAction.removeAttribute("slot");
|
|
8949
|
+
groupAction.textEnabled = expanded;
|
|
8950
|
+
}
|
|
8951
|
+
});
|
|
8952
|
+
if (needToSlotCount > 0) {
|
|
8953
|
+
groupActions.some((groupAction) => {
|
|
8954
|
+
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
8955
|
+
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
8956
|
+
groupAction.textEnabled = true;
|
|
8957
|
+
groupAction.setAttribute("slot", SLOTS$s.menuActions);
|
|
8958
|
+
slottedWithinGroupCount++;
|
|
8959
|
+
if (slottedWithinGroupCount > 1) {
|
|
8960
|
+
needToSlotCount--;
|
|
8961
|
+
}
|
|
8962
|
+
}
|
|
8963
|
+
return needToSlotCount < 1;
|
|
8964
|
+
});
|
|
8965
|
+
}
|
|
8966
|
+
forceUpdate$1(group);
|
|
8967
|
+
});
|
|
8968
|
+
};
|
|
8969
|
+
|
|
8970
|
+
const ICONS$f = {
|
|
8971
|
+
chevronsLeft: "chevrons-left",
|
|
8972
|
+
chevronsRight: "chevrons-right"
|
|
8973
|
+
};
|
|
8974
|
+
function getCalcitePosition(position, el) {
|
|
8975
|
+
return position || el.closest("calcite-shell-panel")?.position || "start";
|
|
8976
|
+
}
|
|
8977
|
+
function toggleChildActionText({ parent, expanded }) {
|
|
8978
|
+
queryActions(parent)
|
|
8979
|
+
.filter((el) => el.slot !== SLOTS$s.menuActions)
|
|
8980
|
+
.forEach((action) => (action.textEnabled = expanded));
|
|
8981
|
+
parent
|
|
8982
|
+
.querySelectorAll("calcite-action-group, calcite-action-menu")
|
|
8983
|
+
.forEach((el) => (el.expanded = expanded));
|
|
8984
|
+
}
|
|
8985
|
+
const setTooltipReference = ({ tooltip, referenceElement, expanded, ref }) => {
|
|
8986
|
+
if (tooltip) {
|
|
8987
|
+
tooltip.referenceElement = !expanded && referenceElement ? referenceElement : null;
|
|
8988
|
+
}
|
|
8989
|
+
if (ref) {
|
|
8990
|
+
ref(referenceElement);
|
|
8991
|
+
}
|
|
8992
|
+
return referenceElement;
|
|
8993
|
+
};
|
|
8994
|
+
const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position, tooltip, ref, scale }) => {
|
|
8995
|
+
const rtl = getElementDir(el) === "rtl";
|
|
8996
|
+
const expandText = expanded ? intlCollapse : intlExpand;
|
|
8997
|
+
const icons = [ICONS$f.chevronsLeft, ICONS$f.chevronsRight];
|
|
8998
|
+
if (rtl) {
|
|
8999
|
+
icons.reverse();
|
|
9000
|
+
}
|
|
9001
|
+
const end = getCalcitePosition(position, el) === "end";
|
|
9002
|
+
const expandIcon = end ? icons[1] : icons[0];
|
|
9003
|
+
const collapseIcon = end ? icons[0] : icons[1];
|
|
9004
|
+
const actionNode = (hAsync("calcite-action", { icon: expanded ? expandIcon : collapseIcon, onClick: toggle, ref: (referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref }), scale: scale, text: expandText, textEnabled: expanded }));
|
|
9005
|
+
return actionNode;
|
|
9006
|
+
};
|
|
9007
|
+
|
|
9008
|
+
const CSS$T = {
|
|
9009
|
+
actionGroupBottom: "action-group--bottom"
|
|
9010
|
+
};
|
|
9011
|
+
const SLOTS$q = {
|
|
9012
|
+
bottomActions: "bottom-actions",
|
|
9013
|
+
expandTooltip: "expand-tooltip"
|
|
9014
|
+
};
|
|
9015
|
+
|
|
9016
9016
|
const actionBarCss = "@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-action-bar: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-action-bar{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-action-bar{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-action-bar{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-action-bar{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-action-bar{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-action-bar:root{--calcite-internal-duration-factor:0}}/*!@:host*/.sc-calcite-action-bar-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-action-bar-h *.sc-calcite-action-bar{box-sizing:border-box}/*!@:root*/.sc-calcite-action-bar:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-action-bar-h{display:none}/*!@:host*/.sc-calcite-action-bar-h{pointer-events:auto;display:inline-flex;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-action-bar-h{flex-direction:column}/*!@:host([layout=horizontal])*/[layout=horizontal].sc-calcite-action-bar-h{flex-direction:row}/*!@:host([layout=vertical][overflow-actions-disabled])*/[layout=vertical][overflow-actions-disabled].sc-calcite-action-bar-h{overflow-y:auto}/*!@:host([layout=horizontal][overflow-actions-disabled])*/[layout=horizontal][overflow-actions-disabled].sc-calcite-action-bar-h{overflow-x:auto}/*!@:host([layout=vertical][expanded])*/[layout=vertical][expanded].sc-calcite-action-bar-h{max-inline-size:var(--calcite-action-bar-expanded-max-width)}/*!@::slotted(calcite-action-group)*/.sc-calcite-action-bar-s>calcite-action-group{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}/*!@:host([layout=horizontal]) ::slotted(calcite-action-group)*/.sc-calcite-action-bar-h[layout=horizontal] .sc-calcite-action-bar-s>calcite-action-group{border-width:0px;border-inline-end-width:1px;border-style:solid}/*!@::slotted(calcite-action-group:last-child)*/.sc-calcite-action-bar-s>calcite-action-group:last-child{border-block-end-width:0px;border-inline-end-width:0px}/*!@.action-group--bottom*/.action-group--bottom.sc-calcite-action-bar{flex-grow:1;justify-content:flex-end;padding-block-end:0px;padding-inline-end:0px}";
|
|
9017
9017
|
|
|
9018
9018
|
/**
|
|
@@ -9278,13 +9278,13 @@ class ActionGroup {
|
|
|
9278
9278
|
// --------------------------------------------------------------------------
|
|
9279
9279
|
renderTooltip() {
|
|
9280
9280
|
const { el } = this;
|
|
9281
|
-
const hasTooltip = getSlotted(el, SLOTS$
|
|
9282
|
-
return hasTooltip ? hAsync("slot", { name: SLOTS$
|
|
9281
|
+
const hasTooltip = getSlotted(el, SLOTS$s.menuTooltip);
|
|
9282
|
+
return hasTooltip ? hAsync("slot", { name: SLOTS$s.menuTooltip, slot: SLOTS$r.tooltip }) : null;
|
|
9283
9283
|
}
|
|
9284
9284
|
renderMenu() {
|
|
9285
9285
|
const { el, expanded, menuOpen, scale, layout, messages } = this;
|
|
9286
|
-
const hasMenuItems = getSlotted(el, SLOTS$
|
|
9287
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$
|
|
9286
|
+
const hasMenuItems = getSlotted(el, SLOTS$s.menuActions);
|
|
9287
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: messages.more, onCalciteActionMenuOpen: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-start" : "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$h.menu, scale: scale, slot: SLOTS$r.trigger, text: messages.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$s.menuActions }), this.renderTooltip())) : null;
|
|
9288
9288
|
}
|
|
9289
9289
|
render() {
|
|
9290
9290
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -9567,7 +9567,7 @@ class ActionMenu {
|
|
|
9567
9567
|
}
|
|
9568
9568
|
renderMenuButton() {
|
|
9569
9569
|
const { label, scale, expanded } = this;
|
|
9570
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$
|
|
9570
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$r.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$U.defaultTrigger, icon: ICONS$g.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
9571
9571
|
return menuButtonSlot;
|
|
9572
9572
|
}
|
|
9573
9573
|
renderMenuItems() {
|
|
@@ -9577,7 +9577,7 @@ class ActionMenu {
|
|
|
9577
9577
|
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$U.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9578
9578
|
}
|
|
9579
9579
|
render() {
|
|
9580
|
-
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$
|
|
9580
|
+
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$r.tooltip, onSlotchange: this.updateTooltip })));
|
|
9581
9581
|
}
|
|
9582
9582
|
isValidKey(key, supportedKeys) {
|
|
9583
9583
|
return !!supportedKeys.find((k) => k === key);
|
|
@@ -9749,33 +9749,6 @@ class ActionPad {
|
|
|
9749
9749
|
}; }
|
|
9750
9750
|
}
|
|
9751
9751
|
|
|
9752
|
-
const DURATIONS = {
|
|
9753
|
-
slow: 14000,
|
|
9754
|
-
medium: 10000,
|
|
9755
|
-
fast: 6000
|
|
9756
|
-
};
|
|
9757
|
-
const SLOTS$o = {
|
|
9758
|
-
actionsEnd: "actions-end",
|
|
9759
|
-
title: "title",
|
|
9760
|
-
message: "message",
|
|
9761
|
-
link: "link"
|
|
9762
|
-
};
|
|
9763
|
-
const CSS$R = {
|
|
9764
|
-
actionsEnd: "actions-end",
|
|
9765
|
-
container: "container",
|
|
9766
|
-
close: "alert-close",
|
|
9767
|
-
slottedInShell: "slotted-in-shell"
|
|
9768
|
-
};
|
|
9769
|
-
|
|
9770
|
-
var KindIcons;
|
|
9771
|
-
(function (KindIcons) {
|
|
9772
|
-
KindIcons["brand"] = "lightbulb";
|
|
9773
|
-
KindIcons["danger"] = "exclamationMarkTriangle";
|
|
9774
|
-
KindIcons["info"] = "information";
|
|
9775
|
-
KindIcons["success"] = "checkCircle";
|
|
9776
|
-
KindIcons["warning"] = "exclamationMarkTriangle";
|
|
9777
|
-
})(KindIcons || (KindIcons = {}));
|
|
9778
|
-
|
|
9779
9752
|
const componentToTransitionListeners = new WeakMap();
|
|
9780
9753
|
function transitionStart(event) {
|
|
9781
9754
|
if (event.propertyName === this.openTransitionProp && event.target === this.transitionEl) {
|
|
@@ -9859,6 +9832,33 @@ function disconnectOpenCloseComponent(component) {
|
|
|
9859
9832
|
componentToTransitionListeners.delete(component);
|
|
9860
9833
|
}
|
|
9861
9834
|
|
|
9835
|
+
var KindIcons;
|
|
9836
|
+
(function (KindIcons) {
|
|
9837
|
+
KindIcons["brand"] = "lightbulb";
|
|
9838
|
+
KindIcons["danger"] = "exclamationMarkTriangle";
|
|
9839
|
+
KindIcons["info"] = "information";
|
|
9840
|
+
KindIcons["success"] = "checkCircle";
|
|
9841
|
+
KindIcons["warning"] = "exclamationMarkTriangle";
|
|
9842
|
+
})(KindIcons || (KindIcons = {}));
|
|
9843
|
+
|
|
9844
|
+
const DURATIONS = {
|
|
9845
|
+
slow: 14000,
|
|
9846
|
+
medium: 10000,
|
|
9847
|
+
fast: 6000
|
|
9848
|
+
};
|
|
9849
|
+
const SLOTS$o = {
|
|
9850
|
+
actionsEnd: "actions-end",
|
|
9851
|
+
title: "title",
|
|
9852
|
+
message: "message",
|
|
9853
|
+
link: "link"
|
|
9854
|
+
};
|
|
9855
|
+
const CSS$R = {
|
|
9856
|
+
actionsEnd: "actions-end",
|
|
9857
|
+
container: "container",
|
|
9858
|
+
close: "alert-close",
|
|
9859
|
+
slottedInShell: "slotted-in-shell"
|
|
9860
|
+
};
|
|
9861
|
+
|
|
9862
9862
|
const alertCss = "@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-alert: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-alert{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-alert{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-alert{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-alert{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-alert{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-alert:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-alert:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-alert-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-alert-h{--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem}/*!@:host([scale=s]) slot[name=title]::slotted(*),\n:host([scale=s]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=s] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=s]) slot[name=message]::slotted(*),\n:host([scale=s]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=s] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) slot[name=link]::slotted(*),\n:host([scale=s]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=s] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=s] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--2);line-height:1.375}/*!@:host([scale=s]) .alert-queue-count*/[scale=s].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.5rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:3.5rem}/*!@:host([scale=s]) .alert-close*/[scale=s].sc-calcite-alert-h .alert-close.sc-calcite-alert{padding:0.5rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-alert-h{--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem}/*!@:host([scale=m]) slot[name=title]::slotted(*),\n:host([scale=m]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=m] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=m]) slot[name=message]::slotted(*),\n:host([scale=m]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=m] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) slot[name=link]::slotted(*),\n:host([scale=m]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=m] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=m] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size--1);line-height:1.375}/*!@:host([scale=m]) .alert-queue-count*/[scale=m].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:0.75rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:4.1875rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-alert-h{--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem}/*!@:host([scale=l]) slot[name=title]::slotted(*),\n:host([scale=l]) *::slotted([slot=title])*/.sc-calcite-alert-h[scale=l] slot[name=title].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=title]{margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}/*!@:host([scale=l]) slot[name=message]::slotted(*),\n:host([scale=l]) *::slotted([slot=message])*/.sc-calcite-alert-h[scale=l] slot[name=message].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=message]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) slot[name=link]::slotted(*),\n:host([scale=l]) *::slotted([slot=link])*/.sc-calcite-alert-h[scale=l] slot[name=link].sc-calcite-alert-s>*,.sc-calcite-alert-h[scale=l] *.sc-calcite-alert-s>[slot=link]{font-size:var(--calcite-font-size-0);line-height:1.375}/*!@:host([scale=l]) .alert-queue-count*/[scale=l].sc-calcite-alert-h .alert-queue-count.sc-calcite-alert{margin-inline:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-alert-h .container.sc-calcite-alert{--calcite-alert-min-height:5.625rem}/*!@:host*/.sc-calcite-alert-h{--calcite-alert-edge-distance:2rem;display:block}/*!@:host .container*/.sc-calcite-alert-h .container.sc-calcite-alert{pointer-events:none;position:fixed;z-index:500;margin-block:0px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0px solid transparent;border-inline:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3);min-block-size:var(--calcite-alert-min-height);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - (var(--calcite-alert-edge-distance) * 2 + 2px));max-block-size:0;transition:var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}/*!@:host .container.bottom, :host .container.top*/.sc-calcite-alert-h .container.bottom.sc-calcite-alert,.sc-calcite-alert-h .container.top.sc-calcite-alert{inset-inline-end:0;inset-inline-start:0}/*!@:host .container[class*=bottom]*/.sc-calcite-alert-h .container[class*=bottom].sc-calcite-alert{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=top]*/.sc-calcite-alert-h .container[class*=top].sc-calcite-alert{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}/*!@:host .container[class*=-start]*/.sc-calcite-alert-h .container[class*=-start].sc-calcite-alert{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}/*!@:host .container[class*=-end]*/.sc-calcite-alert-h .container[class*=-end].sc-calcite-alert{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}/*!@:host([calcite-hydrated-hidden])*/[calcite-hydrated-hidden].sc-calcite-alert-h{visibility:hidden !important;pointer-events:none}/*!@[hidden]*/[hidden].sc-calcite-alert{display:none}/*!@.container*/.container.sc-calcite-alert{display:flex;inline-size:100%;align-items:center;justify-content:center}/*!@.alert-close*/.alert-close.sc-calcite-alert{outline-color:transparent}/*!@.alert-close:focus*/.alert-close.sc-calcite-alert:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([open]) .container:not(.queued)*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued){max-block-size:100%;border-block-start-width:2px;opacity:1;pointer-events:initial}/*!@:host([open]) .container:not(.queued)[class*=bottom]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}/*!@:host([open]) .container:not(.queued)[class*=top]*/[open].sc-calcite-alert-h .container.sc-calcite-alert:not(.queued)[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}/*!@slot[name=title]::slotted(*),\n*::slotted([slot=title])*/slot[name=title].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=title]{font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@slot[name=message]::slotted(*),\n*::slotted([slot=message])*/slot[name=message].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=message]{margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:0.5rem}/*!@slot[name=link]::slotted(*),\n*::slotted([slot=link])*/slot[name=link].sc-calcite-alert-s>*,*.sc-calcite-alert-s>[slot=link]{display:inline-flex;color:var(--calcite-ui-text-link)}/*!@.alert-content*/.alert-content.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;flex-direction:column;overflow-wrap:break-word;background-color:var(--calcite-ui-foreground-1);flex:1 1 0;min-inline-size:0;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:0 var(--calcite-alert-spacing-token-small);border-end-start-radius:var(--calcite-border-radius);border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-content:first-of-type:not(:only-child)*/.alert-content.sc-calcite-alert:first-of-type:not(:only-child){padding-inline-start:var(--calcite-alert-spacing-token-large)}/*!@.alert-content:only-child*/.alert-content.sc-calcite-alert:only-child{padding:var(--calcite-alert-spacing-token-small)}/*!@.alert-icon*/.alert-icon.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;display:flex;align-items:center;align-self:stretch;background-color:var(--calcite-ui-foreground-1);padding-block:0px}/*!@.alert-close*/.alert-close.sc-calcite-alert{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large);flex:0 0 auto;cursor:pointer;align-self:stretch;overflow:hidden;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-block:0px;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;border-end-end-radius:var(--calcite-border-radius)}/*!@.alert-close:hover, .alert-close:focus*/.alert-close.sc-calcite-alert:hover,.alert-close.sc-calcite-alert:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.alert-close:open*/.alert-close.sc-calcite-alert:open{background-color:var(--calcite-ui-foreground-3)}/*!@.alert-queue-count*/.alert-queue-count.sc-calcite-alert{visibility:hidden;display:flex;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-ui-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline:0px solid transparent;border-start-end-radius:0}/*!@.alert-queue-count.active*/.alert-queue-count.active.sc-calcite-alert{visibility:visible;opacity:1}/*!@:host([auto-close]) > .alert-queue-count*/[auto-close].sc-calcite-alert-h>.alert-queue-count.sc-calcite-alert{border-inline-end:0px solid transparent}/*!@.alert-dismiss-progress*/.alert-dismiss-progress.sc-calcite-alert{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}/*!@.alert-dismiss-progress:after*/.alert-dismiss-progress.sc-calcite-alert:after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:\"\";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}/*!@.actions-end*/.actions-end.sc-calcite-alert{display:flex;align-self:stretch}/*!@:host([kind=brand]) .container*/[kind=brand].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-brand)}/*!@:host([kind=brand]) .container .alert-icon*/[kind=brand].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-brand)}/*!@:host([kind=info]) .container*/[kind=info].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-info)}/*!@:host([kind=info]) .container .alert-icon*/[kind=info].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-info)}/*!@:host([kind=danger]) .container*/[kind=danger].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-danger)}/*!@:host([kind=danger]) .container .alert-icon*/[kind=danger].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-danger)}/*!@:host([kind=success]) .container*/[kind=success].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-success)}/*!@:host([kind=success]) .container .alert-icon*/[kind=success].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-success)}/*!@:host([kind=warning]) .container*/[kind=warning].sc-calcite-alert-h .container.sc-calcite-alert{border-block-start-color:var(--calcite-ui-warning)}/*!@:host([kind=warning]) .container .alert-icon*/[kind=warning].sc-calcite-alert-h .container.sc-calcite-alert .alert-icon.sc-calcite-alert{color:var(--calcite-ui-warning)}/*!@:host([auto-close-duration=fast]) .alert-dismiss-progress:after*/[auto-close-duration=fast].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 6000ms ease-out}/*!@:host(:hover[auto-close-duration=fast]) .alert-dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=fast] .alert-dismiss-progress.sc-calcite-alert:after{animation-play-state:paused}/*!@:host([auto-close-duration=medium]) .alert-dismiss-progress:after*/[auto-close-duration=medium].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 10000ms ease-out}/*!@:host(:hover[auto-close-duration=medium]) .alert-dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=medium] .alert-dismiss-progress.sc-calcite-alert:after{animation-play-state:paused}/*!@:host([auto-close-duration=slow]) .alert-dismiss-progress:after*/[auto-close-duration=slow].sc-calcite-alert-h .alert-dismiss-progress.sc-calcite-alert:after{animation:dismissProgress 14000ms ease-out}/*!@:host(:hover[auto-close-duration=slow]) .alert-dismiss-progress:after*/.sc-calcite-alert-h:hover[auto-close-duration=slow] .alert-dismiss-progress.sc-calcite-alert:after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}/*!@.container.slotted-in-shell*/.container.slotted-in-shell.sc-calcite-alert{position:absolute}";
|
|
9863
9863
|
|
|
9864
9864
|
/**
|
|
@@ -10375,6 +10375,15 @@ class Avatar {
|
|
|
10375
10375
|
}; }
|
|
10376
10376
|
}
|
|
10377
10377
|
|
|
10378
|
+
function constrainHeadingLevel(level) {
|
|
10379
|
+
return Math.min(Math.max(Math.ceil(level), 1), 6);
|
|
10380
|
+
}
|
|
10381
|
+
const Heading = (props, children) => {
|
|
10382
|
+
const HeadingTag = props.level ? `h${props.level}` : "div";
|
|
10383
|
+
delete props.level;
|
|
10384
|
+
return hAsync(HeadingTag, { ...props }, children);
|
|
10385
|
+
};
|
|
10386
|
+
|
|
10378
10387
|
const CSS$Q = {
|
|
10379
10388
|
container: "container",
|
|
10380
10389
|
content: "content",
|
|
@@ -10407,15 +10416,6 @@ const ICONS$e = {
|
|
|
10407
10416
|
refresh: "refresh"
|
|
10408
10417
|
};
|
|
10409
10418
|
|
|
10410
|
-
function constrainHeadingLevel(level) {
|
|
10411
|
-
return Math.min(Math.max(Math.ceil(level), 1), 6);
|
|
10412
|
-
}
|
|
10413
|
-
const Heading = (props, children) => {
|
|
10414
|
-
const HeadingTag = props.level ? `h${props.level}` : "div";
|
|
10415
|
-
delete props.level;
|
|
10416
|
-
return hAsync(HeadingTag, { ...props }, children);
|
|
10417
|
-
};
|
|
10418
|
-
|
|
10419
10419
|
const blockCss = "@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-block: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-block{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-block{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-block{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-block{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-block{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-block:root{--calcite-internal-duration-factor:0}}/*!@:host*/.sc-calcite-block-h{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}/*!@:host **/.sc-calcite-block-h *.sc-calcite-block{box-sizing:border-box}/*!@:host*/.sc-calcite-block-h{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}/*!@:root*/.sc-calcite-block:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-block-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-block-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-block-h{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-block-h[disabled] .sc-calcite-block-s>[calcite-hydrated][disabled],[disabled].sc-calcite-block-h [calcite-hydrated][disabled].sc-calcite-block{opacity:1}/*!@.header*/.header.sc-calcite-block{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-block{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-block .heading.sc-calcite-block{flex:1 1 auto;padding:0.5rem}/*!@.header*/.header.sc-calcite-block{justify-content:flex-start;padding:0px}/*!@.header,\n.toggle*/.header.sc-calcite-block,.toggle.sc-calcite-block{grid-area:header}/*!@.header-container*/.header-container.sc-calcite-block{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:\"handle header control menu\";grid-column:header-start/menu-end;grid-row:1/2}/*!@.toggle*/.toggle.sc-calcite-block{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-color:transparent;text-align:initial;background-color:transparent}/*!@.toggle:hover*/.toggle.sc-calcite-block:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.toggle:focus*/.toggle.sc-calcite-block:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@calcite-loader[inline]*/calcite-loader[inline].sc-calcite-block{grid-area:control;align-self:center}/*!@calcite-handle*/calcite-handle.sc-calcite-block{grid-area:handle}/*!@.title*/.title.sc-calcite-block{margin:0px;padding:0.75rem}/*!@.header .title .heading*/.header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}/*!@.description*/.description.sc-calcite-block{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}/*!@.icon*/.icon.sc-calcite-block{margin-inline-start:0.75rem;margin-inline-end:0px;margin-block:0.75rem}/*!@.status-icon.valid*/.status-icon.valid.sc-calcite-block{color:var(--calcite-ui-success)}/*!@.status-icon.invalid*/.status-icon.invalid.sc-calcite-block{color:var(--calcite-ui-danger)}/*!@.status-icon.loading*/.status-icon.loading.sc-calcite-block{animation:spin calc(var(--calcite-internal-animation-timing-slow) * 2) linear infinite}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}/*!@.toggle-icon*/.toggle-icon.sc-calcite-block{margin-block:0.75rem;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:1rem;margin-inline-start:auto}/*!@.toggle:hover .toggle-icon*/.toggle.sc-calcite-block:hover .toggle-icon.sc-calcite-block{color:var(--calcite-ui-text-1)}/*!@.container*/.container.sc-calcite-block{position:relative;display:flex;block-size:100%;flex-direction:column}/*!@.content*/.content.sc-calcite-block{position:relative;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}/*!@.content*/.content.sc-calcite-block{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, 0.5rem);padding-inline:var(--calcite-block-padding, 0.625rem)}/*!@.control-container*/.control-container.sc-calcite-block{margin:0px;display:flex;grid-area:control}/*!@calcite-action-menu*/calcite-action-menu.sc-calcite-block{grid-area:menu}/*!@:host([open])*/[open].sc-calcite-block-h{margin-block:0.5rem}/*!@:host([open]) .header .title .heading*/[open].sc-calcite-block-h .header.sc-calcite-block .title.sc-calcite-block .heading.sc-calcite-block{color:var(--calcite-ui-text-1)}";
|
|
10420
10420
|
|
|
10421
10421
|
/**
|
|
@@ -10719,138 +10719,6 @@ class BlockSection {
|
|
|
10719
10719
|
}
|
|
10720
10720
|
})(HTMLFormElement.prototype);
|
|
10721
10721
|
|
|
10722
|
-
const CSS$O = {
|
|
10723
|
-
buttonLoader: "calcite-button--loader",
|
|
10724
|
-
content: "content",
|
|
10725
|
-
contentSlotted: "content--slotted",
|
|
10726
|
-
icon: "icon",
|
|
10727
|
-
iconStart: "icon--start",
|
|
10728
|
-
iconEnd: "icon--end",
|
|
10729
|
-
loadingIn: "loading-in",
|
|
10730
|
-
loadingOut: "loading-out",
|
|
10731
|
-
iconStartEmpty: "icon-start-empty",
|
|
10732
|
-
iconEndEmpty: "icon-end-empty",
|
|
10733
|
-
buttonPadding: "button-padding",
|
|
10734
|
-
buttonPaddingShrunk: "button-padding--shrunk"
|
|
10735
|
-
};
|
|
10736
|
-
|
|
10737
|
-
/**
|
|
10738
|
-
* Exported for testing purposes only
|
|
10739
|
-
*
|
|
10740
|
-
* @internal
|
|
10741
|
-
*/
|
|
10742
|
-
const labelClickEvent = "calciteInternalLabelClick";
|
|
10743
|
-
const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
10744
|
-
const labelDisconnectedEvent = "calciteInternaLabelDisconnected";
|
|
10745
|
-
const labelTagName = "calcite-label";
|
|
10746
|
-
const onLabelClickMap = new WeakMap();
|
|
10747
|
-
const onLabelConnectedMap = new WeakMap();
|
|
10748
|
-
const onLabelDisconnectedMap = new WeakMap();
|
|
10749
|
-
const unlabeledComponents = new Set();
|
|
10750
|
-
const findLabelForComponent = (componentEl) => {
|
|
10751
|
-
const { id } = componentEl;
|
|
10752
|
-
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
10753
|
-
if (forLabel) {
|
|
10754
|
-
return forLabel;
|
|
10755
|
-
}
|
|
10756
|
-
const parentLabel = closestElementCrossShadowBoundary(componentEl, labelTagName);
|
|
10757
|
-
if (!parentLabel ||
|
|
10758
|
-
// labelable components within other custom elements are not considered labelable
|
|
10759
|
-
hasAncestorCustomElements(parentLabel, componentEl)) {
|
|
10760
|
-
return null;
|
|
10761
|
-
}
|
|
10762
|
-
return parentLabel;
|
|
10763
|
-
};
|
|
10764
|
-
function hasAncestorCustomElements(label, componentEl) {
|
|
10765
|
-
let traversedElements;
|
|
10766
|
-
const customElementAncestorCheckEventType = "custom-element-ancestor-check";
|
|
10767
|
-
const listener = (event) => {
|
|
10768
|
-
event.stopImmediatePropagation();
|
|
10769
|
-
const composedPath = event.composedPath();
|
|
10770
|
-
traversedElements = composedPath.slice(composedPath.indexOf(componentEl), composedPath.indexOf(label));
|
|
10771
|
-
};
|
|
10772
|
-
label.addEventListener(customElementAncestorCheckEventType, listener, { once: true });
|
|
10773
|
-
componentEl.dispatchEvent(new CustomEvent(customElementAncestorCheckEventType, { composed: true, bubbles: true }));
|
|
10774
|
-
label.removeEventListener(customElementAncestorCheckEventType, listener);
|
|
10775
|
-
const ancestorCustomElements = traversedElements
|
|
10776
|
-
.filter((el) => el !== componentEl && el !== label)
|
|
10777
|
-
.filter((el) => el.tagName?.includes("-"));
|
|
10778
|
-
return ancestorCustomElements.length > 0;
|
|
10779
|
-
}
|
|
10780
|
-
/**
|
|
10781
|
-
* Helper to set up label interactions on connectedCallback.
|
|
10782
|
-
*
|
|
10783
|
-
* @param component
|
|
10784
|
-
*/
|
|
10785
|
-
function connectLabel(component) {
|
|
10786
|
-
const labelEl = findLabelForComponent(component.el);
|
|
10787
|
-
if (onLabelClickMap.has(labelEl) || (!labelEl && unlabeledComponents.has(component))) {
|
|
10788
|
-
return;
|
|
10789
|
-
}
|
|
10790
|
-
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
10791
|
-
if (labelEl) {
|
|
10792
|
-
component.labelEl = labelEl;
|
|
10793
|
-
const boundOnLabelClick = onLabelClick.bind(component);
|
|
10794
|
-
onLabelClickMap.set(component.labelEl, boundOnLabelClick);
|
|
10795
|
-
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
10796
|
-
unlabeledComponents.delete(component);
|
|
10797
|
-
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
10798
|
-
onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
|
|
10799
|
-
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
10800
|
-
}
|
|
10801
|
-
else if (!unlabeledComponents.has(component)) {
|
|
10802
|
-
boundOnLabelDisconnected();
|
|
10803
|
-
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
10804
|
-
}
|
|
10805
|
-
}
|
|
10806
|
-
/**
|
|
10807
|
-
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
10808
|
-
*
|
|
10809
|
-
* @param component
|
|
10810
|
-
*/
|
|
10811
|
-
function disconnectLabel(component) {
|
|
10812
|
-
unlabeledComponents.delete(component);
|
|
10813
|
-
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
10814
|
-
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
10815
|
-
onLabelConnectedMap.delete(component);
|
|
10816
|
-
onLabelDisconnectedMap.delete(component);
|
|
10817
|
-
if (!component.labelEl) {
|
|
10818
|
-
return;
|
|
10819
|
-
}
|
|
10820
|
-
const boundOnLabelClick = onLabelClickMap.get(component.labelEl);
|
|
10821
|
-
component.labelEl.removeEventListener(labelClickEvent, boundOnLabelClick);
|
|
10822
|
-
onLabelClickMap.delete(component.labelEl);
|
|
10823
|
-
}
|
|
10824
|
-
/**
|
|
10825
|
-
* Helper to get the label text from a component.
|
|
10826
|
-
*
|
|
10827
|
-
* @param component
|
|
10828
|
-
*/
|
|
10829
|
-
function getLabelText(component) {
|
|
10830
|
-
return component.label || component.labelEl?.textContent?.trim() || "";
|
|
10831
|
-
}
|
|
10832
|
-
function onLabelClick(event) {
|
|
10833
|
-
if (this.disabled) {
|
|
10834
|
-
return;
|
|
10835
|
-
}
|
|
10836
|
-
const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
|
|
10837
|
-
if (containedLabelableChildClicked) {
|
|
10838
|
-
return;
|
|
10839
|
-
}
|
|
10840
|
-
this.onLabelClick(event);
|
|
10841
|
-
}
|
|
10842
|
-
function onLabelConnected() {
|
|
10843
|
-
if (unlabeledComponents.has(this)) {
|
|
10844
|
-
connectLabel(this);
|
|
10845
|
-
}
|
|
10846
|
-
}
|
|
10847
|
-
function onLabelDisconnected() {
|
|
10848
|
-
unlabeledComponents.add(this);
|
|
10849
|
-
const boundOnLabelConnected = onLabelConnectedMap.get(this) || onLabelConnected.bind(this);
|
|
10850
|
-
onLabelConnectedMap.set(this, boundOnLabelConnected);
|
|
10851
|
-
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
10852
|
-
}
|
|
10853
|
-
|
|
10854
10722
|
/**
|
|
10855
10723
|
* Exported for testing purposes.
|
|
10856
10724
|
*/
|
|
@@ -11037,33 +10905,165 @@ function defaultSyncHiddenFormInput(component, input, value) {
|
|
|
11037
10905
|
else {
|
|
11038
10906
|
input.value = value || "";
|
|
11039
10907
|
}
|
|
11040
|
-
component.syncHiddenFormInput?.(input);
|
|
10908
|
+
component.syncHiddenFormInput?.(input);
|
|
10909
|
+
}
|
|
10910
|
+
/**
|
|
10911
|
+
* Helper to render the slot for form-associated component's hidden input.
|
|
10912
|
+
*
|
|
10913
|
+
* If the component has a default slot, this must be placed at the bottom of the component's root container to ensure it is the last child.
|
|
10914
|
+
*
|
|
10915
|
+
* render(): VNode {
|
|
10916
|
+
* <Host>
|
|
10917
|
+
* <div class={CSS.container}>
|
|
10918
|
+
* // ...
|
|
10919
|
+
* <HiddenFormInputSlot component={this} />
|
|
10920
|
+
* </div>
|
|
10921
|
+
* </Host>
|
|
10922
|
+
* }
|
|
10923
|
+
*
|
|
10924
|
+
* Note that the hidden-form-input Sass mixin must be added to the component's style to apply specific styles.
|
|
10925
|
+
*
|
|
10926
|
+
* @param root0
|
|
10927
|
+
* @param root0.component
|
|
10928
|
+
*/
|
|
10929
|
+
const HiddenFormInputSlot = ({ component }) => {
|
|
10930
|
+
syncHiddenFormInput(component);
|
|
10931
|
+
return hAsync("slot", { name: hiddenFormInputSlotName });
|
|
10932
|
+
};
|
|
10933
|
+
|
|
10934
|
+
/**
|
|
10935
|
+
* Exported for testing purposes only
|
|
10936
|
+
*
|
|
10937
|
+
* @internal
|
|
10938
|
+
*/
|
|
10939
|
+
const labelClickEvent = "calciteInternalLabelClick";
|
|
10940
|
+
const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
10941
|
+
const labelDisconnectedEvent = "calciteInternaLabelDisconnected";
|
|
10942
|
+
const labelTagName = "calcite-label";
|
|
10943
|
+
const onLabelClickMap = new WeakMap();
|
|
10944
|
+
const onLabelConnectedMap = new WeakMap();
|
|
10945
|
+
const onLabelDisconnectedMap = new WeakMap();
|
|
10946
|
+
const unlabeledComponents = new Set();
|
|
10947
|
+
const findLabelForComponent = (componentEl) => {
|
|
10948
|
+
const { id } = componentEl;
|
|
10949
|
+
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
10950
|
+
if (forLabel) {
|
|
10951
|
+
return forLabel;
|
|
10952
|
+
}
|
|
10953
|
+
const parentLabel = closestElementCrossShadowBoundary(componentEl, labelTagName);
|
|
10954
|
+
if (!parentLabel ||
|
|
10955
|
+
// labelable components within other custom elements are not considered labelable
|
|
10956
|
+
hasAncestorCustomElements(parentLabel, componentEl)) {
|
|
10957
|
+
return null;
|
|
10958
|
+
}
|
|
10959
|
+
return parentLabel;
|
|
10960
|
+
};
|
|
10961
|
+
function hasAncestorCustomElements(label, componentEl) {
|
|
10962
|
+
let traversedElements;
|
|
10963
|
+
const customElementAncestorCheckEventType = "custom-element-ancestor-check";
|
|
10964
|
+
const listener = (event) => {
|
|
10965
|
+
event.stopImmediatePropagation();
|
|
10966
|
+
const composedPath = event.composedPath();
|
|
10967
|
+
traversedElements = composedPath.slice(composedPath.indexOf(componentEl), composedPath.indexOf(label));
|
|
10968
|
+
};
|
|
10969
|
+
label.addEventListener(customElementAncestorCheckEventType, listener, { once: true });
|
|
10970
|
+
componentEl.dispatchEvent(new CustomEvent(customElementAncestorCheckEventType, { composed: true, bubbles: true }));
|
|
10971
|
+
label.removeEventListener(customElementAncestorCheckEventType, listener);
|
|
10972
|
+
const ancestorCustomElements = traversedElements
|
|
10973
|
+
.filter((el) => el !== componentEl && el !== label)
|
|
10974
|
+
.filter((el) => el.tagName?.includes("-"));
|
|
10975
|
+
return ancestorCustomElements.length > 0;
|
|
10976
|
+
}
|
|
10977
|
+
/**
|
|
10978
|
+
* Helper to set up label interactions on connectedCallback.
|
|
10979
|
+
*
|
|
10980
|
+
* @param component
|
|
10981
|
+
*/
|
|
10982
|
+
function connectLabel(component) {
|
|
10983
|
+
const labelEl = findLabelForComponent(component.el);
|
|
10984
|
+
if (onLabelClickMap.has(labelEl) || (!labelEl && unlabeledComponents.has(component))) {
|
|
10985
|
+
return;
|
|
10986
|
+
}
|
|
10987
|
+
const boundOnLabelDisconnected = onLabelDisconnected.bind(component);
|
|
10988
|
+
if (labelEl) {
|
|
10989
|
+
component.labelEl = labelEl;
|
|
10990
|
+
const boundOnLabelClick = onLabelClick.bind(component);
|
|
10991
|
+
onLabelClickMap.set(component.labelEl, boundOnLabelClick);
|
|
10992
|
+
component.labelEl.addEventListener(labelClickEvent, boundOnLabelClick);
|
|
10993
|
+
unlabeledComponents.delete(component);
|
|
10994
|
+
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
10995
|
+
onLabelDisconnectedMap.set(component, boundOnLabelDisconnected);
|
|
10996
|
+
document.addEventListener(labelDisconnectedEvent, boundOnLabelDisconnected);
|
|
10997
|
+
}
|
|
10998
|
+
else if (!unlabeledComponents.has(component)) {
|
|
10999
|
+
boundOnLabelDisconnected();
|
|
11000
|
+
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
11001
|
+
}
|
|
11041
11002
|
}
|
|
11042
11003
|
/**
|
|
11043
|
-
* Helper to
|
|
11044
|
-
*
|
|
11045
|
-
* If the component has a default slot, this must be placed at the bottom of the component's root container to ensure it is the last child.
|
|
11046
|
-
*
|
|
11047
|
-
* render(): VNode {
|
|
11048
|
-
* <Host>
|
|
11049
|
-
* <div class={CSS.container}>
|
|
11050
|
-
* // ...
|
|
11051
|
-
* <HiddenFormInputSlot component={this} />
|
|
11052
|
-
* </div>
|
|
11053
|
-
* </Host>
|
|
11054
|
-
* }
|
|
11004
|
+
* Helper to tear down label interactions on disconnectedCallback on labelable components.
|
|
11055
11005
|
*
|
|
11056
|
-
*
|
|
11006
|
+
* @param component
|
|
11007
|
+
*/
|
|
11008
|
+
function disconnectLabel(component) {
|
|
11009
|
+
unlabeledComponents.delete(component);
|
|
11010
|
+
document.removeEventListener(labelConnectedEvent, onLabelConnectedMap.get(component));
|
|
11011
|
+
document.removeEventListener(labelDisconnectedEvent, onLabelDisconnectedMap.get(component));
|
|
11012
|
+
onLabelConnectedMap.delete(component);
|
|
11013
|
+
onLabelDisconnectedMap.delete(component);
|
|
11014
|
+
if (!component.labelEl) {
|
|
11015
|
+
return;
|
|
11016
|
+
}
|
|
11017
|
+
const boundOnLabelClick = onLabelClickMap.get(component.labelEl);
|
|
11018
|
+
component.labelEl.removeEventListener(labelClickEvent, boundOnLabelClick);
|
|
11019
|
+
onLabelClickMap.delete(component.labelEl);
|
|
11020
|
+
}
|
|
11021
|
+
/**
|
|
11022
|
+
* Helper to get the label text from a component.
|
|
11057
11023
|
*
|
|
11058
|
-
* @param
|
|
11059
|
-
* @param root0.component
|
|
11024
|
+
* @param component
|
|
11060
11025
|
*/
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11026
|
+
function getLabelText(component) {
|
|
11027
|
+
return component.label || component.labelEl?.textContent?.trim() || "";
|
|
11028
|
+
}
|
|
11029
|
+
function onLabelClick(event) {
|
|
11030
|
+
if (this.disabled) {
|
|
11031
|
+
return;
|
|
11032
|
+
}
|
|
11033
|
+
const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
|
|
11034
|
+
if (containedLabelableChildClicked) {
|
|
11035
|
+
return;
|
|
11036
|
+
}
|
|
11037
|
+
this.onLabelClick(event);
|
|
11038
|
+
}
|
|
11039
|
+
function onLabelConnected() {
|
|
11040
|
+
if (unlabeledComponents.has(this)) {
|
|
11041
|
+
connectLabel(this);
|
|
11042
|
+
}
|
|
11043
|
+
}
|
|
11044
|
+
function onLabelDisconnected() {
|
|
11045
|
+
unlabeledComponents.add(this);
|
|
11046
|
+
const boundOnLabelConnected = onLabelConnectedMap.get(this) || onLabelConnected.bind(this);
|
|
11047
|
+
onLabelConnectedMap.set(this, boundOnLabelConnected);
|
|
11048
|
+
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11049
|
+
}
|
|
11050
|
+
|
|
11051
|
+
const CSS$O = {
|
|
11052
|
+
buttonLoader: "calcite-button--loader",
|
|
11053
|
+
content: "content",
|
|
11054
|
+
contentSlotted: "content--slotted",
|
|
11055
|
+
icon: "icon",
|
|
11056
|
+
iconStart: "icon--start",
|
|
11057
|
+
iconEnd: "icon--end",
|
|
11058
|
+
loadingIn: "loading-in",
|
|
11059
|
+
loadingOut: "loading-out",
|
|
11060
|
+
iconStartEmpty: "icon-start-empty",
|
|
11061
|
+
iconEndEmpty: "icon-end-empty",
|
|
11062
|
+
buttonPadding: "button-padding",
|
|
11063
|
+
buttonPaddingShrunk: "button-padding--shrunk"
|
|
11064
11064
|
};
|
|
11065
11065
|
|
|
11066
|
-
const buttonCss = "@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-button: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-button{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-button{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-button{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-button{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-button{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-button:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-button-h{display:inline-block;inline-size:auto;vertical-align:middle}/*!@:host([round])*/[round].sc-calcite-button-h{border-radius:50px}/*!@:host([round]) a, :host([round]) button*/[round].sc-calcite-button-h a.sc-calcite-button,[round].sc-calcite-button-h button.sc-calcite-button{border-radius:50px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{outline-color:transparent}/*!@:host button:focus,\n:host a:focus*/.sc-calcite-button-h button.sc-calcite-button:focus,.sc-calcite-button-h a.sc-calcite-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:0.5rem;--calcite-button-padding-x-internal:7px;--calcite-button-padding-y-internal:3px;padding-block:var(--calcite-button-padding-y-internal);padding-inline:var(--calcite-button-padding-x-internal);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}/*!@:host button:hover,\n:host a:hover*/.sc-calcite-button-h button.sc-calcite-button:hover,.sc-calcite-button-h a.sc-calcite-button:hover{text-decoration-line:none}/*!@.content*/.content.sc-calcite-button{display:flex;flex-basis:auto;margin-inline:var(--calcite-button-content-margin-internal)}/*!@.icon-start-empty .content*/.icon-start-empty.sc-calcite-button .content.sc-calcite-button{margin-inline-start:unset}/*!@.icon-end-empty .content*/.icon-end-empty.sc-calcite-button .content.sc-calcite-button{margin-inline-end:unset}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:0.75rem}/*!@:host([scale=l]) button,\n:host([scale=l]) a*/[scale=l].sc-calcite-button-h button.sc-calcite-button,[scale=l].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:1rem}/*!@:host([width=auto])*/[width=auto].sc-calcite-button-h{inline-size:auto}/*!@:host([width=half])*/[width=half].sc-calcite-button-h{inline-size:50%}/*!@:host([width=full])*/[width=full].sc-calcite-button-h{inline-size:100%}/*!@:host([alignment=center]:not([width=auto])) a,\n:host([alignment=center]:not([width=auto])) button*/[alignment=center].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=center].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:center}/*!@:host([alignment=start]:not([width=auto])) a,\n:host([alignment=start]:not([width=auto])) button*/[alignment=start].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=start].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:flex-start}/*!@:host([alignment=end]:not([width=auto])) a,\n:host([alignment=end]:not([width=auto])) button*/[alignment=end].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=end].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:flex-end}/*!@:host([alignment*=space-between]:not([width=auto])) a,\n:host([alignment*=space-between]:not([width=auto])) button*/[alignment*=space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment*=space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:space-between}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) .icon--start.sc-calcite-button{margin-inline-end:auto}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) a,\n:host([alignment=icon-start-space-between]:not([width=auto])) button*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) .icon--end.sc-calcite-button{margin-inline-start:auto}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) a,\n:host([alignment=icon-end-space-between]:not([width=auto])) button*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end*/[alignment=center].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[alignment=center].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{margin-inline-start:var(--calcite-button-content-margin-internal)}/*!@.icon*/.icon.sc-calcite-button{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-button-h[disabled] .sc-calcite-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-button-h [calcite-hydrated][disabled].sc-calcite-button{opacity:1}/*!@:host([loading])*/[loading].sc-calcite-button-h{pointer-events:none}/*!@:host([loading]) button,\n:host([loading]) a*/[loading].sc-calcite-button-h button.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}/*!@.calcite-button--loader*/.calcite-button--loader.sc-calcite-button{display:flex}/*!@.calcite-button--loader calcite-loader*/.calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.calcite-button--loader calcite-loader.loading-in*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-in.sc-calcite-button{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}/*!@.calcite-button--loader calcite-loader.loading-out*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-out.sc-calcite-button{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}/*!@:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,\n:host([loading]) a.content--slotted .calcite-button--loader calcite-loader*/[loading].sc-calcite-button-h button.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button,[loading].sc-calcite-button-h a.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin-inline-end:var(--calcite-button-content-margin-internal)}/*!@:host([loading]) button:not(.content--slotted) .icon--start,\n:host([loading]) button:not(.content--slotted) .icon--end,\n:host([loading]) a:not(.content--slotted) .icon--start,\n:host([loading]) a:not(.content--slotted) .icon--end*/[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button{display:none}/*!@:host([appearance]) button,\n:host([appearance]) a*/[appearance].sc-calcite-button-h button.sc-calcite-button,[appearance].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;border-color:transparent}/*!@:host([kind=brand]) button,\n:host([kind=brand]) a*/[kind=brand].sc-calcite-button-h button.sc-calcite-button,[kind=brand].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}/*!@:host([kind=brand]) button:hover, :host([kind=brand]) button:focus,\n:host([kind=brand]) a:hover,\n:host([kind=brand]) a:focus*/[kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[kind=brand].sc-calcite-button-h a.sc-calcite-button:hover,[kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-brand-hover)}/*!@:host([kind=brand]) button:active,\n:host([kind=brand]) a:active*/[kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[kind=brand].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-brand-press)}/*!@:host([kind=brand]) button calcite-loader,\n:host([kind=brand]) a calcite-loader*/[kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([kind=danger]) button,\n:host([kind=danger]) a*/[kind=danger].sc-calcite-button-h button.sc-calcite-button,[kind=danger].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([kind=danger]) button:hover, :host([kind=danger]) button:focus,\n:host([kind=danger]) a:hover,\n:host([kind=danger]) a:focus*/[kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[kind=danger].sc-calcite-button-h a.sc-calcite-button:hover,[kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-danger-hover)}/*!@:host([kind=danger]) button:active,\n:host([kind=danger]) a:active*/[kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[kind=danger].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-danger-press)}/*!@:host([kind=danger]) button calcite-loader,\n:host([kind=danger]) a calcite-loader*/[kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([kind=neutral]) button,\n:host([kind=neutral]) a*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button,[kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@:host([kind=neutral]) button:hover, :host([kind=neutral]) button:focus,\n:host([kind=neutral]) a:hover,\n:host([kind=neutral]) a:focus*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-foreground-2)}/*!@:host([kind=neutral]) button:active,\n:host([kind=neutral]) a:active*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([kind=neutral]) button calcite-loader,\n:host([kind=neutral]) a calcite-loader*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([kind=inverse]) button,\n:host([kind=inverse]) a*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button,[kind=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}/*!@:host([kind=inverse]) button:hover, :host([kind=inverse]) button:focus,\n:host([kind=inverse]) a:hover,\n:host([kind=inverse]) a:focus*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-inverse-hover)}/*!@:host([kind=inverse]) button:active,\n:host([kind=inverse]) a:active*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-inverse-press)}/*!@:host([kind=inverse]) button calcite-loader,\n:host([kind=inverse]) a calcite-loader*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=outline-fill]) button,\n:host([appearance=outline-fill]) a*/[appearance=outline-fill].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline-fill][kind=brand]) button,\n:host([appearance=outline-fill][kind=brand]) a*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=brand]) button:hover,\n:host([appearance=outline-fill][kind=brand]) a:hover*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline-fill][kind=brand]) button:focus,\n:host([appearance=outline-fill][kind=brand]) a:focus*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=brand]) button:active,\n:host([appearance=outline-fill][kind=brand]) a:active*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline-fill][kind=brand]) button calcite-loader,\n:host([appearance=outline-fill][kind=brand]) a calcite-loader*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=danger]) button,\n:host([appearance=outline-fill][kind=danger]) a*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=danger]) button:hover,\n:host([appearance=outline-fill][kind=danger]) a:hover*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline-fill][kind=danger]) button:focus,\n:host([appearance=outline-fill][kind=danger]) a:focus*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=danger]) button:active,\n:host([appearance=outline-fill][kind=danger]) a:active*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline-fill][kind=danger]) button calcite-loader,\n:host([appearance=outline-fill][kind=danger]) a calcite-loader*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=neutral]) button,\n:host([appearance=outline-fill][kind=neutral]) a*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button:hover,\n:host([appearance=outline-fill][kind=neutral]) a:hover*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button:focus,\n:host([appearance=outline-fill][kind=neutral]) a:focus*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button:active,\n:host([appearance=outline-fill][kind=neutral]) a:active*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button calcite-loader,\n:host([appearance=outline-fill][kind=neutral]) a calcite-loader*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline-fill][kind=inverse]) button,\n:host([appearance=outline-fill][kind=inverse]) a*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline-fill][kind=inverse]) button:hover,\n:host([appearance=outline-fill][kind=inverse]) a:hover*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline-fill][kind=inverse]) button:focus,\n:host([appearance=outline-fill][kind=inverse]) a:focus*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline-fill][kind=inverse]) button:active,\n:host([appearance=outline-fill][kind=inverse]) a:active*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline-fill][kind=inverse]) button calcite-loader,\n:host([appearance=outline-fill][kind=inverse]) a calcite-loader*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline]) button,\n:host([appearance=outline]) a*/[appearance=outline].sc-calcite-button-h button.sc-calcite-button,[appearance=outline].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline][kind=brand]) button,\n:host([appearance=outline][kind=brand]) a*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:transparent;color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=brand]) button:hover,\n:host([appearance=outline][kind=brand]) a:hover*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline][kind=brand]) button:focus,\n:host([appearance=outline][kind=brand]) a:focus*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=brand]) button:active,\n:host([appearance=outline][kind=brand]) a:active*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline][kind=brand]) button calcite-loader,\n:host([appearance=outline][kind=brand]) a calcite-loader*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=danger]) button,\n:host([appearance=outline][kind=danger]) a*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:transparent;color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=danger]) button:hover,\n:host([appearance=outline][kind=danger]) a:hover*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline][kind=danger]) button:focus,\n:host([appearance=outline][kind=danger]) a:focus*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=danger]) button:active,\n:host([appearance=outline][kind=danger]) a:active*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline][kind=danger]) button calcite-loader,\n:host([appearance=outline][kind=danger]) a calcite-loader*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=neutral]) button,\n:host([appearance=outline][kind=neutral]) a*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button:hover,\n:host([appearance=outline][kind=neutral]) a:hover*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button:focus,\n:host([appearance=outline][kind=neutral]) a:focus*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button:active,\n:host([appearance=outline][kind=neutral]) a:active*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button calcite-loader,\n:host([appearance=outline][kind=neutral]) a calcite-loader*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][kind=inverse]) button,\n:host([appearance=outline][kind=inverse]) a*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline][kind=inverse]) button:hover,\n:host([appearance=outline][kind=inverse]) a:hover*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline][kind=inverse]) button:focus,\n:host([appearance=outline][kind=inverse]) a:focus*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline][kind=inverse]) button:active,\n:host([appearance=outline][kind=inverse]) a:active*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline][kind=inverse]) button calcite-loader,\n:host([appearance=outline][kind=inverse]) a calcite-loader*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline-fill][split-child=primary]) button,\n:host([appearance=outline][split-child=primary]) button*/[appearance=outline-fill][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][split-child=primary].sc-calcite-button-h button.sc-calcite-button{border-inline-end-width:0;border-inline-start-width:1px}/*!@:host([appearance=outline-fill][split-child=secondary]) button,\n:host([appearance=outline][split-child=secondary]) button*/[appearance=outline-fill][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][split-child=secondary].sc-calcite-button-h button.sc-calcite-button{border-inline-start-width:0;border-inline-end-width:1px}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button,\n:host([appearance=transparent]:not(.enable-editing-button)) a*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button{background-color:transparent}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,\n:host([appearance=transparent]:not(.enable-editing-button)) a:hover,\n:host([appearance=transparent]:not(.enable-editing-button)) a:focus*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:focus,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:focus{background-color:var(--calcite-button-transparent-hover)}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:active,\n:host([appearance=transparent]:not(.enable-editing-button)) a:active*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:active,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:active{background-color:var(--calcite-button-transparent-press)}/*!@:host([appearance=transparent][kind=brand]) button,\n:host([appearance=transparent][kind=brand]) a*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=brand]) button:hover,\n:host([appearance=transparent][kind=brand]) a:hover*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=transparent][kind=brand]) button:focus,\n:host([appearance=transparent][kind=brand]) a:focus*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=brand]) button:active,\n:host([appearance=transparent][kind=brand]) a:active*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-brand-press)}/*!@:host([appearance=transparent][kind=brand]) button calcite-loader,\n:host([appearance=transparent][kind=brand]) a calcite-loader*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=danger]) button,\n:host([appearance=transparent][kind=danger]) a*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=danger]) button:hover,\n:host([appearance=transparent][kind=danger]) a:hover*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=transparent][kind=danger]) button:focus,\n:host([appearance=transparent][kind=danger]) a:focus*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=danger]) button:active,\n:host([appearance=transparent][kind=danger]) a:active*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-danger-press)}/*!@:host([appearance=transparent][kind=danger]) button calcite-loader,\n:host([appearance=transparent][kind=danger]) a calcite-loader*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,\n:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,\n:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader*/[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) button.sc-calcite-button,[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) a.sc-calcite-button,[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted)*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y-internal:0}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:hover{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][kind=neutral].enable-editing-button) button*/[appearance=transparent][kind=neutral].enable-editing-button.sc-calcite-button-h button.sc-calcite-button{background-color:transparent}/*!@:host(.confirm-changes-button) button:focus,\n:host(.cancel-editing-button) button:focus,\n:host(.enable-editing-button) button:focus*/.confirm-changes-button.sc-calcite-button-h button.sc-calcite-button:focus,.cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:focus,.enable-editing-button.sc-calcite-button-h button.sc-calcite-button:focus{outline-offset:-2px}/*!@:host([appearance=transparent][kind=inverse]) button,\n:host([appearance=transparent][kind=inverse]) a,\n:host([appearance=transparent][kind=inverse]) calcite-loader*/[appearance=transparent][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=transparent][kind=inverse].sc-calcite-button-h calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([scale=s]) button.content--slotted,\n:host([scale=s]) a.content--slotted*/[scale=s].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s].sc-calcite-button-h a.content--slotted.sc-calcite-button{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s][appearance=transparent]) button.content--slotted,\n:host([scale=s][appearance=transparent]) a.content--slotted*/[scale=s][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:0.5rem}/*!@:host([scale=s]) button,\n:host([scale=s]) a*/[scale=s].sc-calcite-button-h button.sc-calcite-button,[scale=s].sc-calcite-button-h a.sc-calcite-button{--calcite-button-padding-y-internal:3px}/*!@:host([scale=m]) button.content--slotted,\n:host([scale=m]) a.content--slotted*/[scale=m].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:11px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-padding-y-internal:7px}/*!@:host([scale=m][appearance=transparent]) button.content--slotted,\n:host([scale=m][appearance=transparent]) a.content--slotted*/[scale=m][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:0.75rem}/*!@:host([scale=l]) button.content--slotted,\n:host([scale=l]) a.content--slotted*/[scale=l].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .button-padding*/[scale=l].sc-calcite-button-h .button-padding.sc-calcite-button{--calcite-button-padding-x-internal:1rem;--calcite-button-padding-y-internal:11px}/*!@:host([scale=l]) .button-padding--shrunk*/[scale=l].sc-calcite-button-h .button-padding--shrunk.sc-calcite-button{--calcite-button-padding-y-internal:9px}/*!@:host([scale=s]) button:not(.content--slotted),\n:host([scale=s]) a:not(.content--slotted)*/[scale=s].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}/*!@:host([scale=m]) button:not(.content--slotted),\n:host([scale=m]) a:not(.content--slotted)*/[scale=m].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}/*!@:host([scale=l]) button:not(.content--slotted),\n:host([scale=l]) a:not(.content--slotted)*/[scale=l].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}/*!@:host([scale=l][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][appearance=transparent]) a:not(.content--slotted)*/[scale=l][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y-internal:0.625rem}/*!@:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:1.5rem}/*!@:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:33px}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{margin-inline-start:1rem}/*!@:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:2.75rem}";
|
|
11066
|
+
const buttonCss = "@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-button: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-button{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-button{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-button{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-button{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-button{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-button:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-button:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-button-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-button-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-button-h{display:inline-block;inline-size:auto;vertical-align:middle}/*!@:host([round])*/[round].sc-calcite-button-h{border-radius:50px}/*!@:host([round]) a, :host([round]) button*/[round].sc-calcite-button-h a.sc-calcite-button,[round].sc-calcite-button-h button.sc-calcite-button{border-radius:50px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{outline-color:transparent}/*!@:host button:focus,\n:host a:focus*/.sc-calcite-button-h button.sc-calcite-button:focus,.sc-calcite-button-h a.sc-calcite-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host button,\n:host a*/.sc-calcite-button-h button.sc-calcite-button,.sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:0.5rem;--calcite-button-padding-x-internal:7px;--calcite-button-padding-y-internal:3px;padding-block:var(--calcite-button-padding-y-internal);padding-inline:var(--calcite-button-padding-x-internal);position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-appearance:none;appearance:none;align-items:center;justify-content:center;border-radius:0px;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}/*!@:host button:hover,\n:host a:hover*/.sc-calcite-button-h button.sc-calcite-button:hover,.sc-calcite-button-h a.sc-calcite-button:hover{text-decoration-line:none}/*!@.content*/.content.sc-calcite-button{display:flex;flex-basis:auto;margin-inline:var(--calcite-button-content-margin-internal)}/*!@.icon-start-empty .content*/.icon-start-empty.sc-calcite-button .content.sc-calcite-button{margin-inline-start:unset}/*!@.icon-end-empty .content*/.icon-end-empty.sc-calcite-button .content.sc-calcite-button{margin-inline-end:unset}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:0.75rem}/*!@:host([scale=l]) button,\n:host([scale=l]) a*/[scale=l].sc-calcite-button-h button.sc-calcite-button,[scale=l].sc-calcite-button-h a.sc-calcite-button{--calcite-button-content-margin-internal:1rem}/*!@:host([width=auto])*/[width=auto].sc-calcite-button-h{inline-size:auto}/*!@:host([width=half])*/[width=half].sc-calcite-button-h{inline-size:50%}/*!@:host([width=full])*/[width=full].sc-calcite-button-h{inline-size:100%}/*!@:host([alignment=center]:not([width=auto])) a,\n:host([alignment=center]:not([width=auto])) button*/[alignment=center].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=center].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:center}/*!@:host([alignment=start]:not([width=auto])) a,\n:host([alignment=start]:not([width=auto])) button*/[alignment=start].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=start].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:flex-start}/*!@:host([alignment=end]:not([width=auto])) a,\n:host([alignment=end]:not([width=auto])) button*/[alignment=end].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=end].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:flex-end}/*!@:host([alignment*=space-between]:not([width=auto])) a,\n:host([alignment*=space-between]:not([width=auto])) button*/[alignment*=space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment*=space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{justify-content:space-between}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) .icon--start.sc-calcite-button{margin-inline-end:auto}/*!@:host([alignment=icon-start-space-between]:not([width=auto])) a,\n:host([alignment=icon-start-space-between]:not([width=auto])) button*/[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-start-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) .icon--end.sc-calcite-button{margin-inline-start:auto}/*!@:host([alignment=icon-end-space-between]:not([width=auto])) a,\n:host([alignment=icon-end-space-between]:not([width=auto])) button*/[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) a.sc-calcite-button,[alignment=icon-end-space-between].sc-calcite-button-h:not([width=auto]) button.sc-calcite-button{text-align:unset}/*!@:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end*/[alignment=center].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[alignment=center].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{margin-inline-start:var(--calcite-button-content-margin-internal)}/*!@.icon*/.icon.sc-calcite-button{position:relative;margin:0px;display:inline-flex;font-weight:var(--calcite-font-weight-normal);line-height:inherit}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-button-h[disabled] .sc-calcite-button-s>[calcite-hydrated][disabled],[disabled].sc-calcite-button-h [calcite-hydrated][disabled].sc-calcite-button{opacity:1}/*!@:host([loading])*/[loading].sc-calcite-button-h{pointer-events:none}/*!@:host([loading]) button,\n:host([loading]) a*/[loading].sc-calcite-button-h button.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(0.5)}100%{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}100%{inline-size:0;opacity:0;transform:scale(0.5)}}/*!@.calcite-button--loader*/.calcite-button--loader.sc-calcite-button{display:flex}/*!@.calcite-button--loader calcite-loader*/.calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin:0px;transition:inline-size var(--calcite-internal-animation-timing-slow) ease-in-out, opacity var(--calcite-internal-animation-timing-slow) ease-in-out, transform var(--calcite-internal-animation-timing-slow) ease-in-out}/*!@.calcite-button--loader calcite-loader.loading-in*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-in.sc-calcite-button{animation-name:loader-in;animation-duration:var(--calcite-internal-animation-timing-slow)}/*!@.calcite-button--loader calcite-loader.loading-out*/.calcite-button--loader.sc-calcite-button calcite-loader.loading-out.sc-calcite-button{animation-name:loader-out;animation-duration:var(--calcite-internal-animation-timing-slow)}/*!@:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,\n:host([loading]) a.content--slotted .calcite-button--loader calcite-loader*/[loading].sc-calcite-button-h button.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button,[loading].sc-calcite-button-h a.content--slotted.sc-calcite-button .calcite-button--loader.sc-calcite-button calcite-loader.sc-calcite-button{margin-inline-end:var(--calcite-button-content-margin-internal)}/*!@:host([loading]) button:not(.content--slotted) .icon--start,\n:host([loading]) button:not(.content--slotted) .icon--end,\n:host([loading]) a:not(.content--slotted) .icon--start,\n:host([loading]) a:not(.content--slotted) .icon--end*/[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button,[loading].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--end.sc-calcite-button{display:none}/*!@:host([appearance]) button,\n:host([appearance]) a*/[appearance].sc-calcite-button-h button.sc-calcite-button,[appearance].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;border-color:transparent}/*!@:host([kind=brand]) button,\n:host([kind=brand]) a*/[kind=brand].sc-calcite-button-h button.sc-calcite-button,[kind=brand].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-inverse)}/*!@:host([kind=brand]) button:hover, :host([kind=brand]) button:focus,\n:host([kind=brand]) a:hover,\n:host([kind=brand]) a:focus*/[kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[kind=brand].sc-calcite-button-h a.sc-calcite-button:hover,[kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-brand-hover)}/*!@:host([kind=brand]) button:active,\n:host([kind=brand]) a:active*/[kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[kind=brand].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-brand-press)}/*!@:host([kind=brand]) button calcite-loader,\n:host([kind=brand]) a calcite-loader*/[kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([kind=danger]) button,\n:host([kind=danger]) a*/[kind=danger].sc-calcite-button-h button.sc-calcite-button,[kind=danger].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}/*!@:host([kind=danger]) button:hover, :host([kind=danger]) button:focus,\n:host([kind=danger]) a:hover,\n:host([kind=danger]) a:focus*/[kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[kind=danger].sc-calcite-button-h a.sc-calcite-button:hover,[kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-danger-hover)}/*!@:host([kind=danger]) button:active,\n:host([kind=danger]) a:active*/[kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[kind=danger].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-danger-press)}/*!@:host([kind=danger]) button calcite-loader,\n:host([kind=danger]) a calcite-loader*/[kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([kind=neutral]) button,\n:host([kind=neutral]) a*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button,[kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}/*!@:host([kind=neutral]) button:hover, :host([kind=neutral]) button:focus,\n:host([kind=neutral]) a:hover,\n:host([kind=neutral]) a:focus*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-foreground-2)}/*!@:host([kind=neutral]) button:active,\n:host([kind=neutral]) a:active*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-foreground-1)}/*!@:host([kind=neutral]) button calcite-loader,\n:host([kind=neutral]) a calcite-loader*/[kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([kind=inverse]) button,\n:host([kind=inverse]) a*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button,[kind=inverse].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}/*!@:host([kind=inverse]) button:hover, :host([kind=inverse]) button:focus,\n:host([kind=inverse]) a:hover,\n:host([kind=inverse]) a:focus*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{background-color:var(--calcite-ui-inverse-hover)}/*!@:host([kind=inverse]) button:active,\n:host([kind=inverse]) a:active*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{background-color:var(--calcite-ui-inverse-press)}/*!@:host([kind=inverse]) button calcite-loader,\n:host([kind=inverse]) a calcite-loader*/[kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([appearance=outline-fill]) button,\n:host([appearance=outline-fill]) a*/[appearance=outline-fill].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline-fill][kind=brand]) button,\n:host([appearance=outline-fill][kind=brand]) a*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=brand]) button:hover,\n:host([appearance=outline-fill][kind=brand]) a:hover*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline-fill][kind=brand]) button:focus,\n:host([appearance=outline-fill][kind=brand]) a:focus*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=brand]) button:active,\n:host([appearance=outline-fill][kind=brand]) a:active*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline-fill][kind=brand]) button calcite-loader,\n:host([appearance=outline-fill][kind=brand]) a calcite-loader*/[appearance=outline-fill][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline-fill][kind=danger]) button,\n:host([appearance=outline-fill][kind=danger]) a*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=danger]) button:hover,\n:host([appearance=outline-fill][kind=danger]) a:hover*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline-fill][kind=danger]) button:focus,\n:host([appearance=outline-fill][kind=danger]) a:focus*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=danger]) button:active,\n:host([appearance=outline-fill][kind=danger]) a:active*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline-fill][kind=danger]) button calcite-loader,\n:host([appearance=outline-fill][kind=danger]) a calcite-loader*/[appearance=outline-fill][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline-fill][kind=neutral]) button,\n:host([appearance=outline-fill][kind=neutral]) a*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button:hover,\n:host([appearance=outline-fill][kind=neutral]) a:hover*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button:focus,\n:host([appearance=outline-fill][kind=neutral]) a:focus*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button:active,\n:host([appearance=outline-fill][kind=neutral]) a:active*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline-fill][kind=neutral]) button calcite-loader,\n:host([appearance=outline-fill][kind=neutral]) a calcite-loader*/[appearance=outline-fill][kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline-fill][kind=inverse]) button,\n:host([appearance=outline-fill][kind=inverse]) a*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline-fill][kind=inverse]) button:hover,\n:host([appearance=outline-fill][kind=inverse]) a:hover*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline-fill][kind=inverse]) button:focus,\n:host([appearance=outline-fill][kind=inverse]) a:focus*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline-fill][kind=inverse]) button:active,\n:host([appearance=outline-fill][kind=inverse]) a:active*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline-fill][kind=inverse]) button calcite-loader,\n:host([appearance=outline-fill][kind=inverse]) a calcite-loader*/[appearance=outline-fill][kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline-fill][kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline]) button,\n:host([appearance=outline]) a*/[appearance=outline].sc-calcite-button-h button.sc-calcite-button,[appearance=outline].sc-calcite-button-h a.sc-calcite-button{border-width:1px;border-style:solid;background-color:transparent;box-shadow:inset 0 0 0 1px transparent}/*!@:host([appearance=outline][kind=brand]) button,\n:host([appearance=outline][kind=brand]) a*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-brand);background-color:transparent;color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=brand]) button:hover,\n:host([appearance=outline][kind=brand]) a:hover*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}/*!@:host([appearance=outline][kind=brand]) button:focus,\n:host([appearance=outline][kind=brand]) a:focus*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=brand]) button:active,\n:host([appearance=outline][kind=brand]) a:active*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}/*!@:host([appearance=outline][kind=brand]) button calcite-loader,\n:host([appearance=outline][kind=brand]) a calcite-loader*/[appearance=outline][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=outline][kind=danger]) button,\n:host([appearance=outline][kind=danger]) a*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button{border-color:var(--calcite-ui-danger);background-color:transparent;color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=danger]) button:hover,\n:host([appearance=outline][kind=danger]) a:hover*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}/*!@:host([appearance=outline][kind=danger]) button:focus,\n:host([appearance=outline][kind=danger]) a:focus*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=danger]) button:active,\n:host([appearance=outline][kind=danger]) a:active*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}/*!@:host([appearance=outline][kind=danger]) button calcite-loader,\n:host([appearance=outline][kind=danger]) a calcite-loader*/[appearance=outline][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=outline][kind=neutral]) button,\n:host([appearance=outline][kind=neutral]) a*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-border-1)}/*!@:host([appearance=outline][kind=neutral]) button:hover,\n:host([appearance=outline][kind=neutral]) a:hover*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:hover{box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button:focus,\n:host([appearance=outline][kind=neutral]) a:focus*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:focus{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button:active,\n:host([appearance=outline][kind=neutral]) a:active*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button:active{box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}/*!@:host([appearance=outline][kind=neutral]) button calcite-loader,\n:host([appearance=outline][kind=neutral]) a calcite-loader*/[appearance=outline][kind=neutral].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=neutral].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline][kind=inverse]) button,\n:host([appearance=outline][kind=inverse]) a*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button{background-color:transparent;color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}/*!@:host([appearance=outline][kind=inverse]) button:hover,\n:host([appearance=outline][kind=inverse]) a:hover*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:hover{border-color:var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}/*!@:host([appearance=outline][kind=inverse]) button:focus,\n:host([appearance=outline][kind=inverse]) a:focus*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:focus{border-color:var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}/*!@:host([appearance=outline][kind=inverse]) button:active,\n:host([appearance=outline][kind=inverse]) a:active*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button:active,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button:active{border-color:var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}/*!@:host([appearance=outline][kind=inverse]) button calcite-loader,\n:host([appearance=outline][kind=inverse]) a calcite-loader*/[appearance=outline][kind=inverse].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=outline][kind=inverse].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=outline-fill][split-child=primary]) button,\n:host([appearance=outline][split-child=primary]) button*/[appearance=outline-fill][split-child=primary].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][split-child=primary].sc-calcite-button-h button.sc-calcite-button{border-inline-end-width:0;border-inline-start-width:1px}/*!@:host([appearance=outline-fill][split-child=secondary]) button,\n:host([appearance=outline][split-child=secondary]) button*/[appearance=outline-fill][split-child=secondary].sc-calcite-button-h button.sc-calcite-button,[appearance=outline][split-child=secondary].sc-calcite-button-h button.sc-calcite-button{border-inline-start-width:0;border-inline-end-width:1px}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button,\n:host([appearance=transparent]:not(.enable-editing-button)) a*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button{background-color:transparent}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,\n:host([appearance=transparent]:not(.enable-editing-button)) a:hover,\n:host([appearance=transparent]:not(.enable-editing-button)) a:focus*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:focus,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:hover,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:focus{background-color:var(--calcite-button-transparent-hover)}/*!@:host([appearance=transparent]:not(.enable-editing-button)) button:active,\n:host([appearance=transparent]:not(.enable-editing-button)) a:active*/[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) button.sc-calcite-button:active,[appearance=transparent].sc-calcite-button-h:not(.enable-editing-button) a.sc-calcite-button:active{background-color:var(--calcite-button-transparent-press)}/*!@:host([appearance=transparent][kind=brand]) button,\n:host([appearance=transparent][kind=brand]) a*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=brand]) button:hover,\n:host([appearance=transparent][kind=brand]) a:hover*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-brand-hover)}/*!@:host([appearance=transparent][kind=brand]) button:focus,\n:host([appearance=transparent][kind=brand]) a:focus*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=brand]) button:active,\n:host([appearance=transparent][kind=brand]) a:active*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-brand-press)}/*!@:host([appearance=transparent][kind=brand]) button calcite-loader,\n:host([appearance=transparent][kind=brand]) a calcite-loader*/[appearance=transparent][kind=brand].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][kind=brand].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-brand)}/*!@:host([appearance=transparent][kind=danger]) button,\n:host([appearance=transparent][kind=danger]) a*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=danger]) button:hover,\n:host([appearance=transparent][kind=danger]) a:hover*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:hover,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:hover{color:var(--calcite-ui-danger-hover)}/*!@:host([appearance=transparent][kind=danger]) button:focus,\n:host([appearance=transparent][kind=danger]) a:focus*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:focus,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:focus{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=danger]) button:active,\n:host([appearance=transparent][kind=danger]) a:active*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button:active,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button:active{color:var(--calcite-ui-danger-press)}/*!@:host([appearance=transparent][kind=danger]) button calcite-loader,\n:host([appearance=transparent][kind=danger]) a calcite-loader*/[appearance=transparent][kind=danger].sc-calcite-button-h button.sc-calcite-button calcite-loader.sc-calcite-button,[appearance=transparent][kind=danger].sc-calcite-button-h a.sc-calcite-button calcite-loader.sc-calcite-button{color:var(--calcite-ui-danger)}/*!@:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,\n:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,\n:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader*/[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) button.sc-calcite-button,[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) a.sc-calcite-button,[appearance=transparent][kind=neutral].sc-calcite-button-h:not(.cancel-editing-button) calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button{border-block-start-width:1px;border-block-end-width:1px;color:var(--calcite-ui-text-3);border-block-start-color:var(--calcite-ui-border-input);border-block-end-color:var(--calcite-ui-border-input);border-block-style:solid}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button:not(.content--slotted)*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y-internal:0}/*!@:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover*/[appearance=transparent][kind=neutral].cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:hover{color:var(--calcite-ui-text-1)}/*!@:host([appearance=transparent][kind=neutral].enable-editing-button) button*/[appearance=transparent][kind=neutral].enable-editing-button.sc-calcite-button-h button.sc-calcite-button{background-color:transparent}/*!@:host(.confirm-changes-button) button:focus,\n:host(.cancel-editing-button) button:focus,\n:host(.enable-editing-button) button:focus*/.confirm-changes-button.sc-calcite-button-h button.sc-calcite-button:focus,.cancel-editing-button.sc-calcite-button-h button.sc-calcite-button:focus,.enable-editing-button.sc-calcite-button-h button.sc-calcite-button:focus{outline-offset:-2px}/*!@:host([appearance=transparent][kind=inverse]) button,\n:host([appearance=transparent][kind=inverse]) a,\n:host([appearance=transparent][kind=inverse]) calcite-loader*/[appearance=transparent][kind=inverse].sc-calcite-button-h button.sc-calcite-button,[appearance=transparent][kind=inverse].sc-calcite-button-h a.sc-calcite-button,[appearance=transparent][kind=inverse].sc-calcite-button-h calcite-loader.sc-calcite-button{color:var(--calcite-ui-text-inverse)}/*!@:host([scale=s]) button.content--slotted,\n:host([scale=s]) a.content--slotted*/[scale=s].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s].sc-calcite-button-h a.content--slotted.sc-calcite-button{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s][appearance=transparent]) button.content--slotted,\n:host([scale=s][appearance=transparent]) a.content--slotted*/[scale=s][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=s][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:0.5rem}/*!@:host([scale=s]) button,\n:host([scale=s]) a*/[scale=s].sc-calcite-button-h button.sc-calcite-button,[scale=s].sc-calcite-button-h a.sc-calcite-button{--calcite-button-padding-y-internal:3px}/*!@:host([scale=m]) button.content--slotted,\n:host([scale=m]) a.content--slotted*/[scale=m].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:11px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) button,\n:host([scale=m]) a*/[scale=m].sc-calcite-button-h button.sc-calcite-button,[scale=m].sc-calcite-button-h a.sc-calcite-button{--calcite-button-padding-y-internal:7px}/*!@:host([scale=m][appearance=transparent]) button.content--slotted,\n:host([scale=m][appearance=transparent]) a.content--slotted*/[scale=m][appearance=transparent].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=m][appearance=transparent].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:0.75rem}/*!@:host([scale=l]) button.content--slotted,\n:host([scale=l]) a.content--slotted*/[scale=l].sc-calcite-button-h button.content--slotted.sc-calcite-button,[scale=l].sc-calcite-button-h a.content--slotted.sc-calcite-button{--calcite-button-padding-x-internal:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .button-padding*/[scale=l].sc-calcite-button-h .button-padding.sc-calcite-button{--calcite-button-padding-x-internal:1rem;--calcite-button-padding-y-internal:11px}/*!@:host([scale=l]) .button-padding--shrunk*/[scale=l].sc-calcite-button-h .button-padding--shrunk.sc-calcite-button{--calcite-button-padding-y-internal:9px}/*!@:host([scale=s]) button:not(.content--slotted),\n:host([scale=s]) a:not(.content--slotted)*/[scale=s].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}/*!@:host([scale=m]) button:not(.content--slotted),\n:host([scale=m]) a:not(.content--slotted)*/[scale=m].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}/*!@:host([scale=l]) button:not(.content--slotted),\n:host([scale=l]) a:not(.content--slotted)*/[scale=l].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:0.125rem;--calcite-button-padding-y-internal:9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}/*!@:host([scale=l][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][appearance=transparent]) a:not(.content--slotted)*/[scale=l][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-y-internal:0.625rem}/*!@:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=s][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:1.5rem}/*!@:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=m][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:33px}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end*/[scale=l][icon-start][icon-end].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button,[scale=l][icon-start][icon-end].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted) .icon--start.sc-calcite-button+.icon--end.sc-calcite-button{margin-inline-start:1rem}/*!@:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted)*/[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h button.sc-calcite-button:not(.content--slotted),[scale=l][icon-start][icon-end][appearance=transparent].sc-calcite-button-h a.sc-calcite-button:not(.content--slotted){--calcite-button-padding-x-internal:2.75rem}";
|
|
11067
11067
|
|
|
11068
11068
|
/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */
|
|
11069
11069
|
/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */
|
|
@@ -17785,6 +17785,8 @@ function setEndOfDay(date) {
|
|
|
17785
17785
|
return date;
|
|
17786
17786
|
}
|
|
17787
17787
|
|
|
17788
|
+
const HEADING_LEVEL = 2;
|
|
17789
|
+
|
|
17788
17790
|
/**
|
|
17789
17791
|
* Maps value to valueAsDate
|
|
17790
17792
|
*
|
|
@@ -17794,8 +17796,6 @@ function getValueAsDateRange(value) {
|
|
|
17794
17796
|
return value.map((v, index) => dateFromISO(v, index === 1));
|
|
17795
17797
|
}
|
|
17796
17798
|
|
|
17797
|
-
const HEADING_LEVEL = 2;
|
|
17798
|
-
|
|
17799
17799
|
const datePickerCss = "@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-date-picker: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-date-picker{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-date-picker{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-date-picker{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-date-picker{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-date-picker{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-date-picker:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-date-picker:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-date-picker-h{display:none}/*!@:host*/.sc-calcite-date-picker-h{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}/*!@:host([scale=s])*/[scale=s].sc-calcite-date-picker-h{max-inline-size:216px}/*!@:host([scale=m])*/[scale=m].sc-calcite-date-picker-h{max-inline-size:286px}/*!@:host([scale=l])*/[scale=l].sc-calcite-date-picker-h{max-inline-size:398px}";
|
|
17800
17800
|
|
|
17801
17801
|
class DatePicker {
|
|
@@ -19879,23 +19879,6 @@ class Flow {
|
|
|
19879
19879
|
}
|
|
19880
19880
|
|
|
19881
19881
|
const CSS$A = {
|
|
19882
|
-
backButton: "back-button"
|
|
19883
|
-
};
|
|
19884
|
-
const ICONS$9 = {
|
|
19885
|
-
backLeft: "chevron-left",
|
|
19886
|
-
backRight: "chevron-right"
|
|
19887
|
-
};
|
|
19888
|
-
const SLOTS$j = {
|
|
19889
|
-
headerActionsStart: "header-actions-start",
|
|
19890
|
-
headerActionsEnd: "header-actions-end",
|
|
19891
|
-
headerMenuActions: "header-menu-actions",
|
|
19892
|
-
headerContent: "header-content",
|
|
19893
|
-
fab: "fab",
|
|
19894
|
-
footer: "footer",
|
|
19895
|
-
footerActions: "footer-actions"
|
|
19896
|
-
};
|
|
19897
|
-
|
|
19898
|
-
const CSS$z = {
|
|
19899
19882
|
backButton: "back-button",
|
|
19900
19883
|
container: "container",
|
|
19901
19884
|
header: "header",
|
|
@@ -19912,12 +19895,29 @@ const CSS$z = {
|
|
|
19912
19895
|
fabContainer: "fab-container",
|
|
19913
19896
|
footer: "footer"
|
|
19914
19897
|
};
|
|
19915
|
-
const ICONS$
|
|
19898
|
+
const ICONS$9 = {
|
|
19916
19899
|
close: "x",
|
|
19917
19900
|
menu: "ellipsis",
|
|
19918
19901
|
backLeft: "chevron-left",
|
|
19919
19902
|
backRight: "chevron-right"
|
|
19920
19903
|
};
|
|
19904
|
+
const SLOTS$j = {
|
|
19905
|
+
headerActionsStart: "header-actions-start",
|
|
19906
|
+
headerActionsEnd: "header-actions-end",
|
|
19907
|
+
headerMenuActions: "header-menu-actions",
|
|
19908
|
+
headerContent: "header-content",
|
|
19909
|
+
fab: "fab",
|
|
19910
|
+
footer: "footer",
|
|
19911
|
+
footerActions: "footer-actions"
|
|
19912
|
+
};
|
|
19913
|
+
|
|
19914
|
+
const CSS$z = {
|
|
19915
|
+
backButton: "back-button"
|
|
19916
|
+
};
|
|
19917
|
+
const ICONS$8 = {
|
|
19918
|
+
backLeft: "chevron-left",
|
|
19919
|
+
backRight: "chevron-right"
|
|
19920
|
+
};
|
|
19921
19921
|
const SLOTS$i = {
|
|
19922
19922
|
headerActionsStart: "header-actions-start",
|
|
19923
19923
|
headerActionsEnd: "header-actions-end",
|
|
@@ -20054,13 +20054,13 @@ class FlowItem {
|
|
|
20054
20054
|
const rtl = getElementDir(el) === "rtl";
|
|
20055
20055
|
const { showBackButton, backButtonClick, messages } = this;
|
|
20056
20056
|
const label = messages.back;
|
|
20057
|
-
const icon = rtl ? ICONS$
|
|
20058
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
20057
|
+
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
20058
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$z.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label })) : null;
|
|
20059
20059
|
}
|
|
20060
20060
|
render() {
|
|
20061
20061
|
const { closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, backButtonEl } = this;
|
|
20062
20062
|
const label = messages.back;
|
|
20063
|
-
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll, ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$
|
|
20063
|
+
return (hAsync(Host, null, hAsync("calcite-panel", { closable: closable, closed: closed, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handlePanelClose, onCalcitePanelScroll: this.handlePanelScroll, ref: this.setContainerRef }, this.renderBackButton(), hAsync("slot", { name: SLOTS$i.headerActionsStart, slot: SLOTS$j.headerActionsStart }), hAsync("slot", { name: SLOTS$i.headerActionsEnd, slot: SLOTS$j.headerActionsEnd }), hAsync("slot", { name: SLOTS$i.headerContent, slot: SLOTS$j.headerContent }), hAsync("slot", { name: SLOTS$i.headerMenuActions, slot: SLOTS$j.headerMenuActions }), hAsync("slot", { name: SLOTS$i.fab, slot: SLOTS$j.fab }), hAsync("slot", { name: SLOTS$i.footerActions, slot: SLOTS$j.footerActions }), hAsync("slot", { name: SLOTS$i.footer, slot: SLOTS$j.footer }), hAsync("slot", null)), backButtonEl ? (hAsync("calcite-tooltip", { label: label, overlayPositioning: "fixed", placement: "top", referenceElement: backButtonEl }, label)) : null));
|
|
20064
20064
|
}
|
|
20065
20065
|
static get assetsDirs() { return ["assets"]; }
|
|
20066
20066
|
get el() { return getElement(this); }
|
|
@@ -21120,6 +21120,7 @@ class Input {
|
|
|
21120
21120
|
this.effectiveLocale = "";
|
|
21121
21121
|
this.defaultMessages = undefined;
|
|
21122
21122
|
this.localizedValue = undefined;
|
|
21123
|
+
this.slottedActionElDisabledInternally = false;
|
|
21123
21124
|
}
|
|
21124
21125
|
disabledWatcher() {
|
|
21125
21126
|
this.setDisabledAction();
|
|
@@ -21313,9 +21314,16 @@ class Input {
|
|
|
21313
21314
|
if (!slottedActionEl) {
|
|
21314
21315
|
return;
|
|
21315
21316
|
}
|
|
21316
|
-
this.disabled
|
|
21317
|
-
|
|
21318
|
-
|
|
21317
|
+
if (this.disabled) {
|
|
21318
|
+
if (slottedActionEl.getAttribute("disabled") == null) {
|
|
21319
|
+
this.slottedActionElDisabledInternally = true;
|
|
21320
|
+
}
|
|
21321
|
+
slottedActionEl.setAttribute("disabled", "");
|
|
21322
|
+
}
|
|
21323
|
+
else if (this.slottedActionElDisabledInternally) {
|
|
21324
|
+
slottedActionEl.removeAttribute("disabled");
|
|
21325
|
+
this.slottedActionElDisabledInternally = false;
|
|
21326
|
+
}
|
|
21319
21327
|
}
|
|
21320
21328
|
warnAboutInvalidNumberValue(value) {
|
|
21321
21329
|
if (this.type === "number" && value && !isValidNumber(value)) {
|
|
@@ -21419,6 +21427,7 @@ class Input {
|
|
|
21419
21427
|
"effectiveLocale": [32],
|
|
21420
21428
|
"defaultMessages": [32],
|
|
21421
21429
|
"localizedValue": [32],
|
|
21430
|
+
"slottedActionElDisabledInternally": [32],
|
|
21422
21431
|
"setFocus": [64],
|
|
21423
21432
|
"selectText": [64],
|
|
21424
21433
|
"internalSyncChildElValue": [64]
|
|
@@ -22372,6 +22381,7 @@ class InputNumber {
|
|
|
22372
22381
|
this.effectiveLocale = "";
|
|
22373
22382
|
this.defaultMessages = undefined;
|
|
22374
22383
|
this.localizedValue = undefined;
|
|
22384
|
+
this.slottedActionElDisabledInternally = false;
|
|
22375
22385
|
}
|
|
22376
22386
|
disabledWatcher() {
|
|
22377
22387
|
this.setDisabledAction();
|
|
@@ -22526,9 +22536,16 @@ class InputNumber {
|
|
|
22526
22536
|
if (!slottedActionEl) {
|
|
22527
22537
|
return;
|
|
22528
22538
|
}
|
|
22529
|
-
this.disabled
|
|
22530
|
-
|
|
22531
|
-
|
|
22539
|
+
if (this.disabled) {
|
|
22540
|
+
if (slottedActionEl.getAttribute("disabled") == null) {
|
|
22541
|
+
this.slottedActionElDisabledInternally = true;
|
|
22542
|
+
}
|
|
22543
|
+
slottedActionEl.setAttribute("disabled", "");
|
|
22544
|
+
}
|
|
22545
|
+
else if (this.slottedActionElDisabledInternally) {
|
|
22546
|
+
slottedActionEl.removeAttribute("disabled");
|
|
22547
|
+
this.slottedActionElDisabledInternally = false;
|
|
22548
|
+
}
|
|
22532
22549
|
}
|
|
22533
22550
|
warnAboutInvalidNumberValue(value) {
|
|
22534
22551
|
if (value && !isValidNumber(value)) {
|
|
@@ -22616,6 +22633,7 @@ class InputNumber {
|
|
|
22616
22633
|
"effectiveLocale": [32],
|
|
22617
22634
|
"defaultMessages": [32],
|
|
22618
22635
|
"localizedValue": [32],
|
|
22636
|
+
"slottedActionElDisabledInternally": [32],
|
|
22619
22637
|
"setFocus": [64],
|
|
22620
22638
|
"selectText": [64]
|
|
22621
22639
|
},
|
|
@@ -22798,6 +22816,7 @@ class InputText {
|
|
|
22798
22816
|
this.messageOverrides = undefined;
|
|
22799
22817
|
this.effectiveLocale = undefined;
|
|
22800
22818
|
this.defaultMessages = undefined;
|
|
22819
|
+
this.slottedActionElDisabledInternally = false;
|
|
22801
22820
|
}
|
|
22802
22821
|
disabledWatcher() {
|
|
22803
22822
|
this.setDisabledAction();
|
|
@@ -22900,9 +22919,16 @@ class InputText {
|
|
|
22900
22919
|
if (!slottedActionEl) {
|
|
22901
22920
|
return;
|
|
22902
22921
|
}
|
|
22903
|
-
this.disabled
|
|
22904
|
-
|
|
22905
|
-
|
|
22922
|
+
if (this.disabled) {
|
|
22923
|
+
if (slottedActionEl.getAttribute("disabled") == null) {
|
|
22924
|
+
this.slottedActionElDisabledInternally = true;
|
|
22925
|
+
}
|
|
22926
|
+
slottedActionEl.setAttribute("disabled", "");
|
|
22927
|
+
}
|
|
22928
|
+
else if (this.slottedActionElDisabledInternally) {
|
|
22929
|
+
slottedActionEl.removeAttribute("disabled");
|
|
22930
|
+
this.slottedActionElDisabledInternally = false;
|
|
22931
|
+
}
|
|
22906
22932
|
}
|
|
22907
22933
|
// --------------------------------------------------------------------------
|
|
22908
22934
|
//
|
|
@@ -22965,6 +22991,7 @@ class InputText {
|
|
|
22965
22991
|
"messageOverrides": [1040],
|
|
22966
22992
|
"effectiveLocale": [32],
|
|
22967
22993
|
"defaultMessages": [32],
|
|
22994
|
+
"slottedActionElDisabledInternally": [32],
|
|
22968
22995
|
"setFocus": [64],
|
|
22969
22996
|
"selectText": [64]
|
|
22970
22997
|
},
|
|
@@ -23617,37 +23644,6 @@ class Link {
|
|
|
23617
23644
|
}
|
|
23618
23645
|
|
|
23619
23646
|
const CSS$q = {
|
|
23620
|
-
container: "container",
|
|
23621
|
-
table: "table",
|
|
23622
|
-
scrim: "scrim",
|
|
23623
|
-
tableContainer: "table-container",
|
|
23624
|
-
sticky: "sticky-pos"
|
|
23625
|
-
};
|
|
23626
|
-
const debounceTimeout = 100;
|
|
23627
|
-
|
|
23628
|
-
const listItemGroupSelector = "calcite-list-item-group";
|
|
23629
|
-
const listItemSelector$1 = "calcite-list-item";
|
|
23630
|
-
function getListItemChildren(event) {
|
|
23631
|
-
const assignedElements = event.target.assignedElements({ flatten: true });
|
|
23632
|
-
const listItemGroupChildren = assignedElements.filter((el) => el?.matches(listItemGroupSelector))
|
|
23633
|
-
.map((group) => Array.from(group.querySelectorAll(listItemSelector$1)))
|
|
23634
|
-
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
23635
|
-
const listItemChildren = assignedElements.filter((el) => el?.matches(listItemSelector$1));
|
|
23636
|
-
return [...listItemGroupChildren, ...listItemChildren];
|
|
23637
|
-
}
|
|
23638
|
-
function updateListItemChildren(listItemChildren) {
|
|
23639
|
-
listItemChildren.forEach((listItem) => {
|
|
23640
|
-
listItem.setPosition = listItemChildren.indexOf(listItem) + 1;
|
|
23641
|
-
listItem.setSize = listItemChildren.length;
|
|
23642
|
-
});
|
|
23643
|
-
}
|
|
23644
|
-
function getDepth(element, includeGroup = false) {
|
|
23645
|
-
{
|
|
23646
|
-
return 0;
|
|
23647
|
-
}
|
|
23648
|
-
}
|
|
23649
|
-
|
|
23650
|
-
const CSS$p = {
|
|
23651
23647
|
container: "container",
|
|
23652
23648
|
containerBorderSelected: "container--border-selected",
|
|
23653
23649
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -23685,6 +23681,37 @@ const ICONS$6 = {
|
|
|
23685
23681
|
blank: "blank"
|
|
23686
23682
|
};
|
|
23687
23683
|
|
|
23684
|
+
const listItemGroupSelector = "calcite-list-item-group";
|
|
23685
|
+
const listItemSelector$1 = "calcite-list-item";
|
|
23686
|
+
function getListItemChildren(event) {
|
|
23687
|
+
const assignedElements = event.target.assignedElements({ flatten: true });
|
|
23688
|
+
const listItemGroupChildren = assignedElements.filter((el) => el?.matches(listItemGroupSelector))
|
|
23689
|
+
.map((group) => Array.from(group.querySelectorAll(listItemSelector$1)))
|
|
23690
|
+
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
23691
|
+
const listItemChildren = assignedElements.filter((el) => el?.matches(listItemSelector$1));
|
|
23692
|
+
return [...listItemGroupChildren, ...listItemChildren];
|
|
23693
|
+
}
|
|
23694
|
+
function updateListItemChildren(listItemChildren) {
|
|
23695
|
+
listItemChildren.forEach((listItem) => {
|
|
23696
|
+
listItem.setPosition = listItemChildren.indexOf(listItem) + 1;
|
|
23697
|
+
listItem.setSize = listItemChildren.length;
|
|
23698
|
+
});
|
|
23699
|
+
}
|
|
23700
|
+
function getDepth(element, includeGroup = false) {
|
|
23701
|
+
{
|
|
23702
|
+
return 0;
|
|
23703
|
+
}
|
|
23704
|
+
}
|
|
23705
|
+
|
|
23706
|
+
const CSS$p = {
|
|
23707
|
+
container: "container",
|
|
23708
|
+
table: "table",
|
|
23709
|
+
scrim: "scrim",
|
|
23710
|
+
tableContainer: "table-container",
|
|
23711
|
+
sticky: "sticky-pos"
|
|
23712
|
+
};
|
|
23713
|
+
const debounceTimeout = 100;
|
|
23714
|
+
|
|
23688
23715
|
const listCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-list:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-list{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-list{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-list{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-list{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-list{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-list:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-list:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-list-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-list-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-list-h{display:block}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-list-h[disabled] .sc-calcite-list-s>[calcite-hydrated][disabled],[disabled].sc-calcite-list-h [calcite-hydrated][disabled].sc-calcite-list{opacity:1}/*!@.container*/.container.sc-calcite-list{position:relative}/*!@.table-container*/.table-container.sc-calcite-list{position:relative;z-index:1;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}/*!@.table-container **/.table-container.sc-calcite-list *.sc-calcite-list{box-sizing:border-box}/*!@.table*/.table.sc-calcite-list{inline-size:100%}/*!@::slotted(calcite-list-item)*/.sc-calcite-list-s>calcite-list-item{margin-block-end:1px;--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@::slotted(calcite-list-item:last-child)*/.sc-calcite-list-s>calcite-list-item:last-child{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}/*!@.sticky-pos*/.sticky-pos.sc-calcite-list{position:sticky;inset-block-start:0px;z-index:300}/*!@calcite-filter*/calcite-filter.sc-calcite-list{margin-block-end:1px}";
|
|
23689
23716
|
|
|
23690
23717
|
const listItemSelector = "calcite-list-item";
|
|
@@ -23923,7 +23950,7 @@ class List$1 {
|
|
|
23923
23950
|
// --------------------------------------------------------------------------
|
|
23924
23951
|
render() {
|
|
23925
23952
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
23926
|
-
return (hAsync("div", { class: CSS$
|
|
23953
|
+
return (hAsync("div", { class: CSS$p.container }, loading ? hAsync("calcite-scrim", { class: CSS$p.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$p.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$p.sticky]: true } }, hAsync("th", { colSpan: MAX_COLUMNS }, hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: this.handleFilter, placeholder: filterPlaceholder, ref: (el) => (this.filterEl = el), value: filterText }))))) : null, hAsync("tbody", { class: CSS$p.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
23927
23954
|
}
|
|
23928
23955
|
get el() { return getElement(this); }
|
|
23929
23956
|
static get watchers() { return {
|
|
@@ -24172,7 +24199,7 @@ class ListItem {
|
|
|
24172
24199
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
24173
24200
|
return null;
|
|
24174
24201
|
}
|
|
24175
|
-
return (hAsync("td", { class: CSS$
|
|
24202
|
+
return (hAsync("td", { class: CSS$q.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
24176
24203
|
? selectionMode === "multiple"
|
|
24177
24204
|
? ICONS$6.selectedMultiple
|
|
24178
24205
|
: ICONS$6.selectedSingle
|
|
@@ -24181,31 +24208,31 @@ class ListItem {
|
|
|
24181
24208
|
renderOpen() {
|
|
24182
24209
|
const { el, open, openable, parentListEl } = this;
|
|
24183
24210
|
const dir = getElementDir(el);
|
|
24184
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
24211
|
+
return openable ? (hAsync("td", { class: CSS$q.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$q.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$6.blank, scale: "s" }))) : null;
|
|
24185
24212
|
}
|
|
24186
24213
|
renderActionsStart() {
|
|
24187
24214
|
const { label, hasActionsStart } = this;
|
|
24188
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
24215
|
+
return (hAsync("td", { "aria-label": label, class: CSS$q.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", ref: (el) => (this.actionsStartEl = el), role: "gridcell" }, hAsync("slot", { name: SLOTS$e.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
24189
24216
|
}
|
|
24190
24217
|
renderActionsEnd() {
|
|
24191
24218
|
const { label, hasActionsEnd } = this;
|
|
24192
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
24219
|
+
return (hAsync("td", { "aria-label": label, class: CSS$q.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", ref: (el) => (this.actionsEndEl = el), role: "gridcell" }, hAsync("slot", { name: SLOTS$e.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
24193
24220
|
}
|
|
24194
24221
|
renderContentStart() {
|
|
24195
24222
|
const { hasContentStart } = this;
|
|
24196
|
-
return (hAsync("div", { class: CSS$
|
|
24223
|
+
return (hAsync("div", { class: CSS$q.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$e.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
24197
24224
|
}
|
|
24198
24225
|
renderCustomContent() {
|
|
24199
24226
|
const { hasCustomContent } = this;
|
|
24200
|
-
return (hAsync("div", { class: CSS$
|
|
24227
|
+
return (hAsync("div", { class: CSS$q.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$e.content, onSlotchange: this.handleContentSlotChange })));
|
|
24201
24228
|
}
|
|
24202
24229
|
renderContentEnd() {
|
|
24203
24230
|
const { hasContentEnd } = this;
|
|
24204
|
-
return (hAsync("div", { class: CSS$
|
|
24231
|
+
return (hAsync("div", { class: CSS$q.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
24205
24232
|
}
|
|
24206
24233
|
renderContentProperties() {
|
|
24207
24234
|
const { label, description, hasCustomContent } = this;
|
|
24208
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
24235
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$q.content, key: "content" }, label ? (hAsync("div", { class: CSS$q.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$q.description, key: "description" }, description)) : null)) : null;
|
|
24209
24236
|
}
|
|
24210
24237
|
renderContentContainer() {
|
|
24211
24238
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -24217,9 +24244,9 @@ class ListItem {
|
|
|
24217
24244
|
this.renderContentEnd()
|
|
24218
24245
|
];
|
|
24219
24246
|
return (hAsync("td", { "aria-label": label, class: {
|
|
24220
|
-
[CSS$
|
|
24221
|
-
[CSS$
|
|
24222
|
-
[CSS$
|
|
24247
|
+
[CSS$q.contentContainer]: true,
|
|
24248
|
+
[CSS$q.contentContainerSelectable]: selectionMode !== "none",
|
|
24249
|
+
[CSS$q.contentContainerHasCenterContent]: hasCenterContent
|
|
24223
24250
|
}, key: "content-container", onClick: this.itemClicked, ref: (el) => (this.contentEl = el), role: "gridcell" }, content));
|
|
24224
24251
|
}
|
|
24225
24252
|
render() {
|
|
@@ -24228,12 +24255,12 @@ class ListItem {
|
|
|
24228
24255
|
const borderSelected = showBorder && selected;
|
|
24229
24256
|
const borderUnselected = showBorder && !selected;
|
|
24230
24257
|
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: {
|
|
24231
|
-
[CSS$
|
|
24232
|
-
[CSS$
|
|
24233
|
-
[CSS$
|
|
24258
|
+
[CSS$q.container]: true,
|
|
24259
|
+
[CSS$q.containerBorderSelected]: borderSelected,
|
|
24260
|
+
[CSS$q.containerBorderUnselected]: borderUnselected
|
|
24234
24261
|
}, onFocus: this.focusCellNull, onKeyDown: this.handleItemKeyDown, ref: (el) => (this.containerEl = el), role: "row", style: { "--calcite-list-item-spacing-indent-multiplier": `${this.visualLevel}` }, tabIndex: active ? 0 : -1 }, this.renderSelected(), this.renderOpen(), this.renderActionsStart(), this.renderContentContainer(), this.renderActionsEnd()), hAsync("div", { class: {
|
|
24235
|
-
[CSS$
|
|
24236
|
-
[CSS$
|
|
24262
|
+
[CSS$q.nestedContainer]: true,
|
|
24263
|
+
[CSS$q.nestedContainerHidden]: openable && !open
|
|
24237
24264
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
24238
24265
|
}
|
|
24239
24266
|
setSelectionDefaults() {
|
|
@@ -24423,38 +24450,6 @@ class Loader {
|
|
|
24423
24450
|
}; }
|
|
24424
24451
|
}
|
|
24425
24452
|
|
|
24426
|
-
const CSS$n = {
|
|
24427
|
-
modal: "modal",
|
|
24428
|
-
modalOpen: "modal--open",
|
|
24429
|
-
title: "title",
|
|
24430
|
-
header: "header",
|
|
24431
|
-
footer: "footer",
|
|
24432
|
-
scrim: "scrim",
|
|
24433
|
-
back: "back",
|
|
24434
|
-
close: "close",
|
|
24435
|
-
secondary: "secondary",
|
|
24436
|
-
primary: "primary",
|
|
24437
|
-
overflowHidden: "overflow-hidden",
|
|
24438
|
-
container: "container",
|
|
24439
|
-
slottedInShell: "slotted-in-shell",
|
|
24440
|
-
// these classes help apply the animation in phases to only set transform on open/close
|
|
24441
|
-
// this helps avoid a positioning issue for any floating-ui-owning children
|
|
24442
|
-
openingIdle: "modal--opening-idle",
|
|
24443
|
-
openingActive: "modal--opening-active",
|
|
24444
|
-
closingIdle: "modal--closing-idle",
|
|
24445
|
-
closingActive: "modal--closing-active"
|
|
24446
|
-
};
|
|
24447
|
-
const ICONS$5 = {
|
|
24448
|
-
close: "x"
|
|
24449
|
-
};
|
|
24450
|
-
const SLOTS$d = {
|
|
24451
|
-
content: "content",
|
|
24452
|
-
header: "header",
|
|
24453
|
-
back: "back",
|
|
24454
|
-
secondary: "secondary",
|
|
24455
|
-
primary: "primary"
|
|
24456
|
-
};
|
|
24457
|
-
|
|
24458
24453
|
/*!
|
|
24459
24454
|
* focus-trap 7.2.0
|
|
24460
24455
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
@@ -25247,6 +25242,38 @@ function updateFocusTrapElements(component) {
|
|
|
25247
25242
|
component.focusTrap?.updateContainerElements(component.focusTrapEl);
|
|
25248
25243
|
}
|
|
25249
25244
|
|
|
25245
|
+
const CSS$n = {
|
|
25246
|
+
modal: "modal",
|
|
25247
|
+
modalOpen: "modal--open",
|
|
25248
|
+
title: "title",
|
|
25249
|
+
header: "header",
|
|
25250
|
+
footer: "footer",
|
|
25251
|
+
scrim: "scrim",
|
|
25252
|
+
back: "back",
|
|
25253
|
+
close: "close",
|
|
25254
|
+
secondary: "secondary",
|
|
25255
|
+
primary: "primary",
|
|
25256
|
+
overflowHidden: "overflow-hidden",
|
|
25257
|
+
container: "container",
|
|
25258
|
+
slottedInShell: "slotted-in-shell",
|
|
25259
|
+
// these classes help apply the animation in phases to only set transform on open/close
|
|
25260
|
+
// this helps avoid a positioning issue for any floating-ui-owning children
|
|
25261
|
+
openingIdle: "modal--opening-idle",
|
|
25262
|
+
openingActive: "modal--opening-active",
|
|
25263
|
+
closingIdle: "modal--closing-idle",
|
|
25264
|
+
closingActive: "modal--closing-active"
|
|
25265
|
+
};
|
|
25266
|
+
const ICONS$5 = {
|
|
25267
|
+
close: "x"
|
|
25268
|
+
};
|
|
25269
|
+
const SLOTS$d = {
|
|
25270
|
+
content: "content",
|
|
25271
|
+
header: "header",
|
|
25272
|
+
back: "back",
|
|
25273
|
+
secondary: "secondary",
|
|
25274
|
+
primary: "primary"
|
|
25275
|
+
};
|
|
25276
|
+
|
|
25250
25277
|
const modalCss = "@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-modal: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-modal{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-modal{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-modal{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-modal{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-modal{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-modal:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-modal:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-modal-h{display:none}/*!@:host*/.sc-calcite-modal-h{position:absolute;inset:0px;z-index:700;display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}/*!@.container*/.container.sc-calcite-modal{position:fixed;inset:0px;z-index:700;display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}/*!@:host([scale=s])*/[scale=s].sc-calcite-modal-h{--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}/*!@:host([scale=m])*/[scale=m].sc-calcite-modal-h{--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}/*!@:host([scale=l])*/[scale=l].sc-calcite-modal-h{--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}/*!@.scrim*/.scrim.sc-calcite-modal{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-modal-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}/*!@.modal*/.modal.sc-calcite-modal{pointer-events:none;z-index:800;float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}/*!@.modal--opening-idle*/.modal--opening-idle.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@.modal--opening-active*/.modal--opening-active.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-idle*/.modal--closing-idle.sc-calcite-modal{transform:var(--calcite-modal-shown-position)}/*!@.modal--closing-active*/.modal--closing-active.sc-calcite-modal{transform:var(--calcite-modal-hidden-position)}/*!@:host([open])*/[open].sc-calcite-modal-h{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@:host([open]) .container*/[open].sc-calcite-modal-h .container.sc-calcite-modal{opacity:1;visibility:visible !important;transition-delay:0ms}/*!@:host([open]) .container .modal--open*/[open].sc-calcite-modal-h .container.sc-calcite-modal .modal--open.sc-calcite-modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}/*!@.header*/.header.sc-calcite-modal{z-index:400;display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto}/*!@.close*/.close.sc-calcite-modal{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}/*!@.close calcite-icon*/.close.sc-calcite-modal calcite-icon.sc-calcite-modal{pointer-events:none;vertical-align:-2px}/*!@.close:focus*/.close.sc-calcite-modal:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.close:hover, .close:focus, .close:active*/.close.sc-calcite-modal:hover,.close.sc-calcite-modal:focus,.close.sc-calcite-modal:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@.title*/.title.sc-calcite-modal{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text-internal)}/*!@.content*/.content.sc-calcite-modal{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;max-block-size:calc(100vh - 12rem);background-color:var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));padding-block:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));padding-inline:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}/*!@.content--no-footer*/.content--no-footer.sc-calcite-modal{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}/*!@slot[name=content]::slotted(*),\n*::slotted([slot=content])*/slot[name=content].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=content]{font-size:var(--calcite-modal-context-text-internal)}/*!@.footer*/.footer.sc-calcite-modal{z-index:400;margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}/*!@.footer--hide-back .back,\n.footer--hide-secondary .secondary*/.footer--hide-back.sc-calcite-modal .back.sc-calcite-modal,.footer--hide-secondary.sc-calcite-modal .secondary.sc-calcite-modal{display:none}/*!@.back*/.back.sc-calcite-modal{display:block;margin-inline-end:auto}/*!@.secondary*/.secondary.sc-calcite-modal{margin-inline:0.25rem;display:block}/*!@slot[name=primary]*/slot[name=primary].sc-calcite-modal{display:block}/*!@:host([width=small]) .modal*/[width=small].sc-calcite-modal-h .modal.sc-calcite-modal{inline-size:auto}/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:32rem}@media screen and (max-width: 35rem){/*!@:host([width=s]) .modal*/[width=s].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=s]) .content*/[width=s].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=s][docked]) .container*/[width=s][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:48rem}@media screen and (max-width: 51rem){/*!@:host([width=m]) .modal*/[width=m].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=m]) .content*/[width=m].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=m][docked]) .container*/[width=m][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{max-inline-size:94rem}@media screen and (max-width: 97rem){/*!@:host([width=l]) .modal*/[width=l].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px}/*!@:host([width=l]) .content*/[width=l].sc-calcite-modal-h .content.sc-calcite-modal{flex:1 1 auto;max-block-size:unset}/*!@:host([width=l][docked]) .container*/[width=l][docked].sc-calcite-modal-h .container.sc-calcite-modal{align-items:flex-end}}/*!@:host([fullscreen]) .modal*/[fullscreen].sc-calcite-modal-h .modal.sc-calcite-modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}/*!@:host([fullscreen]) .content*/[fullscreen].sc-calcite-modal-h .content.sc-calcite-modal{max-block-size:100%;flex:1 1 auto}/*!@:host([open][fullscreen]) .header*/[open][fullscreen].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0}/*!@:host([open][fullscreen]) .footer*/[open][fullscreen].sc-calcite-modal-h .footer.sc-calcite-modal{border-radius:0}/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{block-size:auto}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;flex:1 1 auto}@media screen and (max-width: 860px){/*!@:host([docked]) .modal*/[docked].sc-calcite-modal-h .modal.sc-calcite-modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}}/*!@:host([kind=brand]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-brand)}/*!@:host([kind=danger]) .modal*/[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-danger)}/*!@:host([kind=info]) .modal*/[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-info)}/*!@:host([kind=success]) .modal*/[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-success)}/*!@:host([kind=warning]) .modal*/[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-color:var(--calcite-ui-warning)}/*!@:host([kind=brand]) .modal,\n:host([kind=danger]) .modal,\n:host([kind=info]) .modal,\n:host([kind=success]) .modal,\n:host([kind=warning]) .modal*/[kind=brand].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=info].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=success].sc-calcite-modal-h .modal.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .modal.sc-calcite-modal{border-width:0px;border-block-start-width:4px;border-style:solid}/*!@:host([kind=brand]) .header,\n:host([kind=danger]) .header,\n:host([kind=info]) .header,\n:host([kind=success]) .header,\n:host([kind=warning]) .header*/[kind=brand].sc-calcite-modal-h .header.sc-calcite-modal,[kind=danger].sc-calcite-modal-h .header.sc-calcite-modal,[kind=info].sc-calcite-modal-h .header.sc-calcite-modal,[kind=success].sc-calcite-modal-h .header.sc-calcite-modal,[kind=warning].sc-calcite-modal-h .header.sc-calcite-modal{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){/*!@slot[name=header]::slotted(*),\n*::slotted([slot=header])*/slot[name=header].sc-calcite-modal-s>*,*.sc-calcite-modal-s>[slot=header]{font-size:var(--calcite-font-size-1)}/*!@.footer*/.footer.sc-calcite-modal{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){/*!@.footer*/.footer.sc-calcite-modal{flex-direction:column}/*!@.back,\n.secondary*/.back.sc-calcite-modal,.secondary.sc-calcite-modal{margin:0px;margin-block-end:0.25rem}}/*!@.container.slotted-in-shell*/.container.slotted-in-shell.sc-calcite-modal{position:absolute;pointer-events:auto}/*!@.container.slotted-in-shell calcite-scrim*/.container.slotted-in-shell.sc-calcite-modal calcite-scrim.sc-calcite-modal{position:absolute}";
|
|
25251
25278
|
|
|
25252
25279
|
/**
|
|
@@ -26189,31 +26216,31 @@ class Panel {
|
|
|
26189
26216
|
// --------------------------------------------------------------------------
|
|
26190
26217
|
renderHeaderContent() {
|
|
26191
26218
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
26192
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
26193
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
26194
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
26219
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$A.heading, level: headingLevel }, heading)) : null;
|
|
26220
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$A.description }, description) : null;
|
|
26221
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$A.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
26195
26222
|
}
|
|
26196
26223
|
/**
|
|
26197
26224
|
* Allows user to override the entire header-content node.
|
|
26198
26225
|
*/
|
|
26199
26226
|
renderHeaderSlottedContent() {
|
|
26200
|
-
return (hAsync("div", { class: CSS$
|
|
26227
|
+
return (hAsync("div", { class: CSS$A.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$j.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
26201
26228
|
}
|
|
26202
26229
|
renderHeaderStartActions() {
|
|
26203
26230
|
const { hasStartActions } = this;
|
|
26204
|
-
return (hAsync("div", { class: { [CSS$
|
|
26231
|
+
return (hAsync("div", { class: { [CSS$A.headerActionsStart]: true, [CSS$A.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$j.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
26205
26232
|
}
|
|
26206
26233
|
renderHeaderActionsEnd() {
|
|
26207
26234
|
const { close, hasEndActions, messages, closable } = this;
|
|
26208
26235
|
const text = messages.close;
|
|
26209
|
-
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$
|
|
26210
|
-
const slotNode = (hAsync("slot", { name: SLOTS$
|
|
26236
|
+
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$9.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
26237
|
+
const slotNode = (hAsync("slot", { name: SLOTS$j.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
26211
26238
|
const showContainer = hasEndActions || closableNode;
|
|
26212
|
-
return (hAsync("div", { class: { [CSS$
|
|
26239
|
+
return (hAsync("div", { class: { [CSS$A.headerActionsEnd]: true, [CSS$A.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
26213
26240
|
}
|
|
26214
26241
|
renderMenu() {
|
|
26215
26242
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
26216
|
-
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$
|
|
26243
|
+
return (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: messages.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$9.menu, slot: SLOTS$r.trigger, text: messages.options }), hAsync("slot", { name: SLOTS$j.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
|
26217
26244
|
}
|
|
26218
26245
|
renderHeaderNode() {
|
|
26219
26246
|
const { hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
|
@@ -26224,29 +26251,29 @@ class Panel {
|
|
|
26224
26251
|
hasEndActions ||
|
|
26225
26252
|
closable ||
|
|
26226
26253
|
hasMenuItems;
|
|
26227
|
-
return (hAsync("header", { class: CSS$
|
|
26254
|
+
return (hAsync("header", { class: CSS$A.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
26228
26255
|
}
|
|
26229
26256
|
renderFooterNode() {
|
|
26230
26257
|
const { hasFooterContent, hasFooterActions } = this;
|
|
26231
26258
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
26232
|
-
return (hAsync("footer", { class: CSS$
|
|
26259
|
+
return (hAsync("footer", { class: CSS$A.footer, hidden: !showFooter }, hAsync("slot", { key: "footer-slot", name: SLOTS$j.footer, onSlotchange: this.handleFooterSlotChange }), hAsync("slot", { key: "footer-actions-slot", name: SLOTS$j.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
|
26233
26260
|
}
|
|
26234
26261
|
renderContent() {
|
|
26235
26262
|
const { hasFab } = this;
|
|
26236
26263
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
26237
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
26264
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$A.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
26238
26265
|
return (hAsync("div", { class: {
|
|
26239
|
-
[CSS$
|
|
26240
|
-
[CSS$
|
|
26241
|
-
[CSS$
|
|
26266
|
+
[CSS$A.contentWrapper]: true,
|
|
26267
|
+
[CSS$A.contentContainer]: !hasFab,
|
|
26268
|
+
[CSS$A.contentHeight]: hasFab
|
|
26242
26269
|
}, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
26243
26270
|
}
|
|
26244
26271
|
renderFab() {
|
|
26245
|
-
return (hAsync("div", { class: CSS$
|
|
26272
|
+
return (hAsync("div", { class: CSS$A.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$j.fab, onSlotchange: this.handleFabSlotChange })));
|
|
26246
26273
|
}
|
|
26247
26274
|
render() {
|
|
26248
26275
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
26249
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
26276
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$A.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
26250
26277
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
26251
26278
|
}
|
|
26252
26279
|
static get assetsDirs() { return ["assets"]; }
|