@esri/calcite-components 1.0.0-next.724 → 1.0.0-next.726
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-1c19d41f.entry.js → p-021b54c2.entry.js} +2 -2
- package/dist/calcite/{p-d1b4c430.js → p-04d8acd3.js} +1 -1
- package/dist/calcite/{p-1c85b58c.entry.js → p-08a074d5.entry.js} +2 -2
- package/dist/calcite/{p-cd66833b.entry.js → p-10d3c944.entry.js} +2 -2
- package/dist/calcite/{p-1c613a99.entry.js → p-11aea5a9.entry.js} +2 -2
- package/dist/calcite/{p-a54a2205.js → p-122b55f9.js} +1 -1
- package/dist/calcite/p-12b3bdc3.entry.js +6 -0
- package/dist/calcite/{p-7109c45b.entry.js → p-12bb4130.entry.js} +2 -2
- package/dist/calcite/{p-b7280763.js → p-14072c6f.js} +1 -1
- package/dist/calcite/{p-76e33887.entry.js → p-160a36b5.entry.js} +2 -2
- package/dist/calcite/{p-44f06ec4.entry.js → p-1652a7a3.entry.js} +2 -2
- package/dist/calcite/{p-86c03429.entry.js → p-16bb4fc8.entry.js} +2 -2
- package/dist/calcite/{p-c9661cad.js → p-1e645a5c.js} +2 -2
- package/dist/calcite/p-1fddc401.js +6 -0
- package/dist/calcite/{p-db44be01.entry.js → p-210bbd9d.entry.js} +2 -2
- package/dist/calcite/{p-82eb0563.js → p-236d973c.js} +1 -1
- package/dist/calcite/{p-0148b26e.entry.js → p-23ae7b62.entry.js} +2 -2
- package/dist/calcite/{p-d9d93c29.js → p-24b97e95.js} +1 -1
- package/dist/calcite/{p-a8aa492e.js → p-250db644.js} +2 -2
- package/dist/calcite/{p-9aa653a7.js → p-2d86c240.js} +2 -2
- package/dist/calcite/{p-7a298d5e.entry.js → p-2e5e3be3.entry.js} +2 -2
- package/dist/calcite/{p-67170dcd.entry.js → p-2ee44dc4.entry.js} +2 -2
- package/dist/calcite/p-30a17636.js +6 -0
- package/dist/calcite/{p-c0e5b679.entry.js → p-3b4539ee.entry.js} +2 -2
- package/dist/calcite/{p-0fa49152.js → p-3c510f17.js} +2 -2
- package/dist/calcite/{p-d10fcacf.entry.js → p-3e610165.entry.js} +2 -2
- package/dist/calcite/{p-3a282cd9.js → p-3edd8d0c.js} +2 -2
- package/dist/calcite/{p-d6bb3d55.js → p-41777944.js} +1 -1
- package/dist/calcite/{p-76a407c2.js → p-427ef50e.js} +2 -2
- package/dist/calcite/{p-b2f8dd28.js → p-45c5a225.js} +2 -2
- package/dist/calcite/{p-732e4293.entry.js → p-468d6f81.entry.js} +2 -2
- package/dist/calcite/{p-514f3251.entry.js → p-46ea2f82.entry.js} +2 -2
- package/dist/calcite/{p-afe1472b.entry.js → p-4bf3d29d.entry.js} +2 -2
- package/dist/calcite/{p-23e6b7fd.entry.js → p-4d85a03c.entry.js} +2 -2
- package/dist/calcite/{p-b5224b18.entry.js → p-4f68bd9e.entry.js} +2 -2
- package/dist/calcite/{p-52b0e14e.js → p-50f93606.js} +1 -1
- package/dist/calcite/p-526600f3.entry.js +6 -0
- package/dist/calcite/{p-d00edd17.entry.js → p-52bbb009.entry.js} +2 -2
- package/dist/calcite/{p-49b70417.entry.js → p-568c593e.entry.js} +2 -2
- package/dist/calcite/{p-5a185fd9.entry.js → p-5755165c.entry.js} +2 -2
- package/dist/calcite/{p-e1be6872.js → p-5784927a.js} +1 -1
- package/dist/calcite/{p-1117f4fe.entry.js → p-59718a3c.entry.js} +2 -2
- package/dist/calcite/{p-3753e766.entry.js → p-5adb35a5.entry.js} +2 -2
- package/dist/calcite/{p-aaf74c02.js → p-6475dd71.js} +1 -1
- package/dist/calcite/p-651f77ee.entry.js +6 -0
- package/dist/calcite/{p-3bcfbbcb.entry.js → p-6a23101f.entry.js} +2 -2
- package/dist/calcite/{p-1ff179ca.js → p-6f471e6f.js} +1 -1
- package/dist/calcite/{p-0db3dd97.entry.js → p-7413820a.entry.js} +2 -2
- package/dist/calcite/{p-7a8e0025.entry.js → p-7a2128e4.entry.js} +2 -2
- package/dist/calcite/{p-e7b36231.js → p-7a4bb56d.js} +1 -1
- package/dist/calcite/{p-16cda1d5.js → p-7baa7af6.js} +1 -1
- package/dist/calcite/{p-caf9fc5b.entry.js → p-7becbeac.entry.js} +2 -2
- package/dist/calcite/{p-ca852b1e.entry.js → p-7d3af475.entry.js} +2 -2
- package/dist/calcite/{p-ac00e47b.entry.js → p-82334e0f.entry.js} +2 -2
- package/dist/calcite/{p-0f7ab4b1.entry.js → p-838b5b10.entry.js} +2 -2
- package/dist/calcite/{p-bef4bd3a.js → p-904ede2f.js} +2 -2
- package/dist/calcite/{p-d3291ac5.entry.js → p-9714801c.entry.js} +2 -2
- package/dist/calcite/{p-af49120c.entry.js → p-981ee5e2.entry.js} +2 -2
- package/dist/calcite/{p-51b10234.entry.js → p-9bc9fec0.entry.js} +2 -2
- package/dist/calcite/{p-0dc8d589.entry.js → p-a0369216.entry.js} +2 -2
- package/dist/calcite/{p-05288a06.entry.js → p-a28373db.entry.js} +2 -2
- package/dist/calcite/{p-064064a6.entry.js → p-a5bc478a.entry.js} +2 -2
- package/dist/calcite/{p-51aa59f7.entry.js → p-b2fa485d.entry.js} +2 -2
- package/dist/calcite/{p-158e7425.entry.js → p-b35d43b8.entry.js} +2 -2
- package/dist/calcite/{p-9f3a6a21.entry.js → p-b88a9698.entry.js} +2 -2
- package/dist/calcite/{p-59fc015c.entry.js → p-ba1762fa.entry.js} +2 -2
- package/dist/calcite/{p-4f503606.entry.js → p-bbeb2b16.entry.js} +2 -2
- package/dist/calcite/{p-9ac45ae0.entry.js → p-bc3509e9.entry.js} +2 -2
- package/dist/calcite/{p-51fd4854.js → p-bffe7314.js} +1 -1
- package/dist/calcite/{p-cd776015.entry.js → p-c1318ed6.entry.js} +2 -2
- package/dist/calcite/{p-37f69fcc.js → p-c516cd1d.js} +2 -2
- package/dist/calcite/p-c9112343.entry.js +6 -0
- package/dist/calcite/{p-e8594c75.entry.js → p-ca25c90f.entry.js} +2 -2
- package/dist/calcite/{p-b669bf29.entry.js → p-cd1f5b43.entry.js} +2 -2
- package/dist/calcite/{p-94fca586.js → p-d082ad83.js} +2 -2
- package/dist/calcite/p-d12b885c.entry.js +6 -0
- package/dist/calcite/p-d272ca58.entry.js +6 -0
- package/dist/calcite/{p-a6f38a93.js → p-d3ae8646.js} +1 -1
- package/dist/calcite/{p-49c77295.entry.js → p-d9fc0680.entry.js} +2 -2
- package/dist/calcite/{p-eaca583a.entry.js → p-df67f5db.entry.js} +2 -2
- package/dist/calcite/{p-91829219.js → p-e19822ce.js} +1 -1
- package/dist/calcite/{p-54545725.entry.js → p-e2862abc.entry.js} +2 -2
- package/dist/calcite/p-e2fc9fde.entry.js +6 -0
- package/dist/calcite/{p-697ab3dd.js → p-e367a58a.js} +2 -2
- package/dist/calcite/{p-19e07294.entry.js → p-eb84d106.entry.js} +2 -2
- package/dist/calcite/{p-cd8505c5.entry.js → p-ec6d8b2e.entry.js} +2 -2
- package/dist/calcite/p-ece0762e.js +6 -0
- package/dist/calcite/{p-c010c051.entry.js → p-ef2b676c.entry.js} +2 -2
- package/dist/calcite/{p-fe84c836.js → p-fa560a48.js} +2 -2
- package/dist/calcite/{p-b9dc7da1.js → p-fcac5643.js} +3 -3
- package/dist/calcite/{p-1ca1ed37.entry.js → p-fdfa86da.entry.js} +2 -2
- package/dist/calcite/{p-21207de0.js → p-fe341e88.js} +1 -1
- package/dist/cjs/{ExpandToggle-d3e06ad7.js → ExpandToggle-155a1d73.js} +5 -5
- package/dist/cjs/{Heading-08ff10da.js → Heading-5cc79f17.js} +2 -2
- package/dist/cjs/{app-globals-93bc8f98.js → app-globals-564df41e.js} +2 -2
- package/dist/cjs/{array-f0953262.js → array-529c5292.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 +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +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 +17 -17
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +20 -20
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +66 -38
- 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 +22 -12
- 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-6aaa38f1.js → conditionalSlot-e7a7b5c8.js} +3 -3
- package/dist/cjs/{debounce-1a8db0d6.js → debounce-146db067.js} +1 -1
- package/dist/cjs/{dom-0a5b927d.js → dom-d995a70f.js} +3 -3
- package/dist/cjs/{filter-16c42d9b.js → filter-d6d1913c.js} +2 -2
- package/dist/cjs/{floating-ui-6d7806dc.js → floating-ui-bf7c5a54.js} +4 -4
- package/dist/cjs/{focusTrapComponent-9417b2cc.js → focusTrapComponent-a21479f8.js} +2 -2
- package/dist/cjs/{form-b8b59e5a.js → form-e6a87e3a.js} +3 -3
- package/dist/cjs/{guid-f2215689.js → guid-78c62093.js} +1 -1
- package/dist/cjs/{index-36299ccc.js → index-5ff9d146.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-feac58a5.js → interactive-1c4392e5.js} +1 -1
- package/dist/cjs/{key-15b118a5.js → key-b39d300c.js} +1 -1
- package/dist/cjs/{label-f418f667.js → label-67b59d15.js} +2 -2
- package/dist/cjs/{loadable-adeb9935.js → loadable-e2b8e790.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-631c5c03.js → locale-08827d86.js} +4 -4
- package/dist/cjs/{math-cf9b09da.js → math-e28a333d.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-76147cfb.js → nonChromiumPlatformUtils-3b0c65d1.js} +6 -6
- package/dist/cjs/{observers-3c79a9a2.js → observers-2c505074.js} +1 -1
- package/dist/cjs/{openCloseComponent-c1bf5577.js → openCloseComponent-07388aad.js} +2 -2
- package/dist/cjs/{resources-c285cb07.js → resources-39406e64.js} +1 -1
- package/dist/cjs/{resources-0821533b.js → resources-5e119f4e.js} +1 -1
- package/dist/cjs/{resources-2a2a848e.js → resources-7fc525bb.js} +1 -1
- package/dist/cjs/{resources-b4fa1cd5.js → resources-83d2e50b.js} +1 -1
- package/dist/cjs/{resources-539acaef.js → resources-a1fc1121.js} +1 -1
- package/dist/cjs/{resources-a4954229.js → resources-d032e141.js} +5 -5
- package/dist/cjs/{sortable.esm-7299ab69.js → sortable.esm-72baa2b0.js} +1 -1
- package/dist/cjs/{t9n-d037fc7d.js → t9n-7e3e109c.js} +3 -3
- package/dist/cjs/{utils-36c536d1.js → utils-38b9d3e2.js} +1 -1
- package/dist/cjs/{utils-0652e432.js → utils-a55ee6a4.js} +3 -3
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +1 -1
- package/dist/collection/components/input/input.js +6 -6
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +2 -2
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +1 -1
- package/dist/collection/components/input-number/input-number.js +5 -5
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +1 -1
- package/dist/collection/components/input-text/input-text.js +3 -3
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.css +19 -14
- package/dist/collection/components/modal/modal.js +58 -30
- package/dist/collection/components/modal/resources.js +3 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.css +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +13 -0
- package/dist/collection/components/tab-title/tab-title.css +4 -2
- package/dist/collection/components/tab-title/tab-title.js +6 -4
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +2 -2
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +6 -6
- package/dist/components/calcite-input-text.js +4 -4
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +57 -27
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- 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 +7 -7
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +15 -5
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-30b5ea3a.js → ExpandToggle-5dbae2e1.js} +5 -5
- package/dist/esm/{Heading-70bba858.js → Heading-1481ae4f.js} +2 -2
- package/dist/esm/{app-globals-e7b2d5bb.js → app-globals-91ffa454.js} +2 -2
- package/dist/esm/{array-aa5ab30e.js → array-b59381e5.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 +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +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 +17 -17
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +19 -19
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +20 -20
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +66 -38
- 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 +22 -12
- 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-db10f4ae.js → conditionalSlot-5c750db0.js} +3 -3
- package/dist/esm/{debounce-7c47980c.js → debounce-69e19d50.js} +1 -1
- package/dist/esm/{dom-2d541128.js → dom-6fe4b4de.js} +3 -3
- package/dist/esm/{filter-1b53dd9d.js → filter-19858e32.js} +2 -2
- package/dist/esm/{floating-ui-53a78340.js → floating-ui-75744909.js} +4 -4
- package/dist/esm/{focusTrapComponent-fd4a14e9.js → focusTrapComponent-bed967de.js} +2 -2
- package/dist/esm/{form-d0b6e545.js → form-d8b2f9b0.js} +3 -3
- package/dist/esm/{guid-592b871e.js → guid-4f0fa581.js} +1 -1
- package/dist/esm/{index-d0455540.js → index-3c04bf37.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-5301292c.js → interactive-671affad.js} +1 -1
- package/dist/esm/{key-394af23c.js → key-71f47441.js} +1 -1
- package/dist/esm/{label-4a60d1f6.js → label-e4cf2417.js} +2 -2
- package/dist/esm/{loadable-e23c3256.js → loadable-45587ee3.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-88f57e28.js → locale-0d4dbe90.js} +4 -4
- package/dist/esm/{math-2937c3db.js → math-eec0946f.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-09093758.js → nonChromiumPlatformUtils-6119a661.js} +6 -6
- package/dist/esm/{observers-d6f4fb38.js → observers-07fff8a4.js} +1 -1
- package/dist/esm/{openCloseComponent-0ff5b8f6.js → openCloseComponent-87bc71a0.js} +2 -2
- package/dist/esm/{resources-27bc990e.js → resources-20e004eb.js} +1 -1
- package/dist/esm/{resources-e00d8548.js → resources-4f3a8289.js} +5 -5
- package/dist/esm/{resources-2edebbd8.js → resources-6d87aff3.js} +1 -1
- package/dist/esm/{resources-22504962.js → resources-8702fb2f.js} +1 -1
- package/dist/esm/{resources-818b8578.js → resources-ed8d02a0.js} +1 -1
- package/dist/esm/{resources-0927db26.js → resources-ee39438c.js} +1 -1
- package/dist/esm/{sortable.esm-4850abe9.js → sortable.esm-4a9f8583.js} +1 -1
- package/dist/esm/{t9n-aadd7066.js → t9n-6748d54e.js} +3 -3
- package/dist/esm/{utils-0148bda2.js → utils-1c5eed2d.js} +3 -3
- package/dist/esm/{utils-29e36bf5.js → utils-7f1080df.js} +1 -1
- package/dist/extras/docs-json.json +14 -7
- package/dist/extras/vscode-data.json +2 -2
- 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/modal/modal.d.ts +7 -3
- package/dist/types/components/modal/resources.d.ts +2 -0
- package/dist/types/components/tab-title/resources.d.ts +8 -0
- package/dist/types/components.d.ts +6 -6
- package/hydrate/index.js +391 -355
- package/package.json +1 -1
- package/dist/calcite/p-46495c13.entry.js +0 -6
- package/dist/calcite/p-47631d70.js +0 -6
- package/dist/calcite/p-50943062.entry.js +0 -6
- package/dist/calcite/p-6c857b8f.js +0 -6
- package/dist/calcite/p-85c20e1b.entry.js +0 -6
- package/dist/calcite/p-8f70c0b7.js +0 -6
- package/dist/calcite/p-aaa7ef61.entry.js +0 -6
- package/dist/calcite/p-ad9bd676.entry.js +0 -6
- package/dist/calcite/p-b0e306ca.entry.js +0 -6
- package/dist/calcite/p-b6e03d23.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.726
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6692,7 +6692,7 @@ const SLOTS$u = {
|
|
|
6692
6692
|
actionsStart: "actions-start",
|
|
6693
6693
|
actionsEnd: "actions-end"
|
|
6694
6694
|
};
|
|
6695
|
-
const CSS$
|
|
6695
|
+
const CSS$X = {
|
|
6696
6696
|
icon: "icon",
|
|
6697
6697
|
header: "header",
|
|
6698
6698
|
headerContent: "header-content",
|
|
@@ -6762,28 +6762,28 @@ class AccordionItem {
|
|
|
6762
6762
|
// --------------------------------------------------------------------------
|
|
6763
6763
|
renderActionsStart() {
|
|
6764
6764
|
const { el } = this;
|
|
6765
|
-
return getSlotted(el, SLOTS$u.actionsStart) ? (hAsync("div", { class: CSS$
|
|
6765
|
+
return getSlotted(el, SLOTS$u.actionsStart) ? (hAsync("div", { class: CSS$X.actionsStart }, hAsync("slot", { name: SLOTS$u.actionsStart }))) : null;
|
|
6766
6766
|
}
|
|
6767
6767
|
renderActionsEnd() {
|
|
6768
6768
|
const { el } = this;
|
|
6769
|
-
return getSlotted(el, SLOTS$u.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
6769
|
+
return getSlotted(el, SLOTS$u.actionsEnd) ? (hAsync("div", { class: CSS$X.actionsEnd }, hAsync("slot", { name: SLOTS$u.actionsEnd }))) : null;
|
|
6770
6770
|
}
|
|
6771
6771
|
render() {
|
|
6772
6772
|
const { iconFlipRtl } = this;
|
|
6773
6773
|
const dir = getElementDir(this.el);
|
|
6774
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
6775
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
6774
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$X.iconStart, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "start", icon: this.iconStart, key: "icon-start", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6775
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$X.iconEnd, flipRtl: iconFlipRtl === "both" || iconFlipRtl === "end", icon: this.iconEnd, key: "icon-end", scale: this.scale === "l" ? "m" : "s" })) : null;
|
|
6776
6776
|
const { description } = this;
|
|
6777
6777
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6778
6778
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6779
6779
|
[`icon-type--${this.iconType}`]: true
|
|
6780
|
-
} }, hAsync("div", { class: { [CSS$
|
|
6780
|
+
} }, hAsync("div", { class: { [CSS$X.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$X.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$X.headerContainer }, iconStartEl, hAsync("div", { class: CSS$X.headerText }, hAsync("span", { class: CSS$X.heading }, this.heading), description ? hAsync("span", { class: CSS$X.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$X.expandIcon, icon: this.iconType === "chevron"
|
|
6781
6781
|
? "chevronDown"
|
|
6782
6782
|
: this.iconType === "caret"
|
|
6783
6783
|
? "caretDown"
|
|
6784
6784
|
: this.expanded
|
|
6785
6785
|
? "minus"
|
|
6786
|
-
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
6786
|
+
: "plus", scale: this.scale === "l" ? "m" : "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$X.content }, hAsync("slot", null)))));
|
|
6787
6787
|
}
|
|
6788
6788
|
//--------------------------------------------------------------------------
|
|
6789
6789
|
//
|
|
@@ -7457,7 +7457,7 @@ function defaultOnMessagesChange() {
|
|
|
7457
7457
|
mergeMessages(this);
|
|
7458
7458
|
}
|
|
7459
7459
|
|
|
7460
|
-
const CSS$
|
|
7460
|
+
const CSS$W = {
|
|
7461
7461
|
button: "button",
|
|
7462
7462
|
buttonTextVisible: "button--text-visible",
|
|
7463
7463
|
buttonCompact: "button--compact",
|
|
@@ -7566,14 +7566,14 @@ class Action {
|
|
|
7566
7566
|
renderTextContainer() {
|
|
7567
7567
|
const { text, textEnabled } = this;
|
|
7568
7568
|
const textContainerClasses = {
|
|
7569
|
-
[CSS$
|
|
7570
|
-
[CSS$
|
|
7569
|
+
[CSS$W.textContainer]: true,
|
|
7570
|
+
[CSS$W.textContainerVisible]: textEnabled
|
|
7571
7571
|
};
|
|
7572
7572
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
7573
7573
|
}
|
|
7574
7574
|
renderIndicatorText() {
|
|
7575
7575
|
const { indicator, messages, indicatorId, buttonId } = this;
|
|
7576
|
-
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$
|
|
7576
|
+
return (hAsync("div", { "aria-labelledby": buttonId, "aria-live": "polite", class: CSS$W.indicatorText, id: indicatorId, role: "region" }, indicator ? messages.indicator : null));
|
|
7577
7577
|
}
|
|
7578
7578
|
renderIconContainer() {
|
|
7579
7579
|
const { loading, icon, scale, el, iconFlipRtl } = this;
|
|
@@ -7584,18 +7584,18 @@ class Action {
|
|
|
7584
7584
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
7585
7585
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
7586
7586
|
const slotContainerNode = (hAsync("div", { class: {
|
|
7587
|
-
[CSS$
|
|
7588
|
-
[CSS$
|
|
7587
|
+
[CSS$W.slotContainer]: true,
|
|
7588
|
+
[CSS$W.slotContainerHidden]: loading
|
|
7589
7589
|
} }, hAsync("slot", null)));
|
|
7590
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
7590
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$W.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
7591
7591
|
}
|
|
7592
7592
|
render() {
|
|
7593
7593
|
const { active, compact, disabled, loading, textEnabled, label, text, indicator, indicatorId, buttonId, messages } = this;
|
|
7594
7594
|
const ariaLabel = `${label || text}${indicator ? ` (${messages.indicator})` : ""}`;
|
|
7595
7595
|
const buttonClasses = {
|
|
7596
|
-
[CSS$
|
|
7597
|
-
[CSS$
|
|
7598
|
-
[CSS$
|
|
7596
|
+
[CSS$W.button]: true,
|
|
7597
|
+
[CSS$W.buttonTextVisible]: textEnabled,
|
|
7598
|
+
[CSS$W.buttonCompact]: compact
|
|
7599
7599
|
};
|
|
7600
7600
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-controls": indicator ? indicatorId : null, "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, "aria-pressed": toAriaBoolean(active), class: buttonClasses, disabled: disabled, id: buttonId, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$t.tooltip, onSlotchange: this.handleTooltipSlotChange }), this.renderIndicatorText()));
|
|
7601
7601
|
}
|
|
@@ -8906,7 +8906,7 @@ const ICONS$h = {
|
|
|
8906
8906
|
menu: "ellipsis"
|
|
8907
8907
|
};
|
|
8908
8908
|
|
|
8909
|
-
const CSS$
|
|
8909
|
+
const CSS$V = {
|
|
8910
8910
|
menu: "menu",
|
|
8911
8911
|
defaultTrigger: "default-trigger"
|
|
8912
8912
|
};
|
|
@@ -9006,7 +9006,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
9006
9006
|
return actionNode;
|
|
9007
9007
|
};
|
|
9008
9008
|
|
|
9009
|
-
const CSS$
|
|
9009
|
+
const CSS$U = {
|
|
9010
9010
|
actionGroupBottom: "action-group--bottom"
|
|
9011
9011
|
};
|
|
9012
9012
|
const SLOTS$q = {
|
|
@@ -9178,7 +9178,7 @@ class ActionBar {
|
|
|
9178
9178
|
const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
|
|
9179
9179
|
const tooltip = getSlotted(el, SLOTS$q.expandTooltip);
|
|
9180
9180
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
9181
|
-
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9181
|
+
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$U.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
9182
9182
|
}
|
|
9183
9183
|
render() {
|
|
9184
9184
|
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
@@ -9568,14 +9568,14 @@ class ActionMenu {
|
|
|
9568
9568
|
}
|
|
9569
9569
|
renderMenuButton() {
|
|
9570
9570
|
const { label, scale, expanded } = this;
|
|
9571
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$r.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
9571
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$r.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$V.defaultTrigger, icon: ICONS$g.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
9572
9572
|
return menuButtonSlot;
|
|
9573
9573
|
}
|
|
9574
9574
|
renderMenuItems() {
|
|
9575
9575
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
9576
9576
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
9577
9577
|
const activeDescendantId = activeAction?.id || null;
|
|
9578
|
-
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$
|
|
9578
|
+
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$V.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
9579
9579
|
}
|
|
9580
9580
|
render() {
|
|
9581
9581
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$r.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -9611,7 +9611,7 @@ class ActionMenu {
|
|
|
9611
9611
|
}; }
|
|
9612
9612
|
}
|
|
9613
9613
|
|
|
9614
|
-
const CSS$
|
|
9614
|
+
const CSS$T = {
|
|
9615
9615
|
actionGroupBottom: "action-group--bottom",
|
|
9616
9616
|
container: "container"
|
|
9617
9617
|
};
|
|
@@ -9715,10 +9715,10 @@ class ActionPad {
|
|
|
9715
9715
|
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout } = this;
|
|
9716
9716
|
const tooltip = getSlotted(el, SLOTS$p.expandTooltip);
|
|
9717
9717
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: messages.collapse, intlExpand: messages.expand, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
9718
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
9718
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$T.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
9719
9719
|
}
|
|
9720
9720
|
render() {
|
|
9721
|
-
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$
|
|
9721
|
+
return (hAsync(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, hAsync("div", { class: CSS$T.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
9722
9722
|
}
|
|
9723
9723
|
static get delegatesFocus() { return true; }
|
|
9724
9724
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -9853,7 +9853,7 @@ const SLOTS$o = {
|
|
|
9853
9853
|
message: "message",
|
|
9854
9854
|
link: "link"
|
|
9855
9855
|
};
|
|
9856
|
-
const CSS$
|
|
9856
|
+
const CSS$S = {
|
|
9857
9857
|
actionsEnd: "actions-end",
|
|
9858
9858
|
container: "container",
|
|
9859
9859
|
close: "alert-close",
|
|
@@ -10009,8 +10009,8 @@ class Alert {
|
|
|
10009
10009
|
container: true,
|
|
10010
10010
|
queued,
|
|
10011
10011
|
[placement]: true,
|
|
10012
|
-
[CSS$
|
|
10013
|
-
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), hAsync("div", { class: CSS$
|
|
10012
|
+
[CSS$S.slottedInShell]: this.slottedInShell
|
|
10013
|
+
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseLeave : null, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), hAsync("div", { class: CSS$S.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, closeButton, open && !queued && autoClose ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
10014
10014
|
}
|
|
10015
10015
|
// when an alert is opened or closed, update queue and determine active alert
|
|
10016
10016
|
alertSync(event) {
|
|
@@ -10385,7 +10385,7 @@ const Heading = (props, children) => {
|
|
|
10385
10385
|
return hAsync(HeadingTag, { ...props }, children);
|
|
10386
10386
|
};
|
|
10387
10387
|
|
|
10388
|
-
const CSS$
|
|
10388
|
+
const CSS$R = {
|
|
10389
10389
|
container: "container",
|
|
10390
10390
|
content: "content",
|
|
10391
10391
|
headerContainer: "header-container",
|
|
@@ -10496,31 +10496,31 @@ class Block {
|
|
|
10496
10496
|
const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
|
|
10497
10497
|
const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
|
|
10498
10498
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (hAsync("calcite-icon", { class: {
|
|
10499
|
-
[CSS$
|
|
10500
|
-
[CSS$
|
|
10501
|
-
[CSS$
|
|
10502
|
-
[CSS$
|
|
10499
|
+
[CSS$R.statusIcon]: true,
|
|
10500
|
+
[CSS$R.valid]: status == "valid",
|
|
10501
|
+
[CSS$R.invalid]: status == "invalid",
|
|
10502
|
+
[CSS$R.loading]: showingLoadingStatus
|
|
10503
10503
|
}, icon: statusIcon, scale: "m" }));
|
|
10504
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
10504
|
+
return hasIcon ? hAsync("div", { class: CSS$R.icon }, iconEl) : null;
|
|
10505
10505
|
}
|
|
10506
10506
|
renderTitle() {
|
|
10507
10507
|
const { heading, headingLevel, description } = this;
|
|
10508
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
10508
|
+
return heading || description ? (hAsync("div", { class: CSS$R.title }, hAsync(Heading, { class: CSS$R.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$R.description }, description) : null)) : null;
|
|
10509
10509
|
}
|
|
10510
10510
|
render() {
|
|
10511
10511
|
const { collapsible, el, loading, open, messages } = this;
|
|
10512
10512
|
const toggleLabel = open ? messages.collapse : messages.expand;
|
|
10513
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
10513
|
+
const headerContent = (hAsync("header", { class: CSS$R.header }, this.renderIcon(), this.renderTitle()));
|
|
10514
10514
|
const hasControl = !!getSlotted(el, SLOTS$n.control);
|
|
10515
10515
|
const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
|
|
10516
10516
|
const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
|
|
10517
10517
|
const { guid } = this;
|
|
10518
10518
|
const regionId = `${guid}-region`;
|
|
10519
10519
|
const buttonId = `${guid}-button`;
|
|
10520
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
10520
|
+
const headerNode = (hAsync("div", { class: CSS$R.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$R.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$R.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, label: messages.loading })) : hasControl ? (hAsync("div", { class: CSS$R.controlContainer }, hAsync("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: messages.options }, hAsync("slot", { name: SLOTS$n.headerMenuActions }))) : null));
|
|
10521
10521
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
10522
|
-
[CSS$
|
|
10523
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
10522
|
+
[CSS$R.container]: true
|
|
10523
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$R.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
10524
10524
|
}
|
|
10525
10525
|
static get assetsDirs() { return ["assets"]; }
|
|
10526
10526
|
get el() { return getElement(this); }
|
|
@@ -10553,7 +10553,7 @@ class Block {
|
|
|
10553
10553
|
}; }
|
|
10554
10554
|
}
|
|
10555
10555
|
|
|
10556
|
-
const CSS$
|
|
10556
|
+
const CSS$Q = {
|
|
10557
10557
|
content: "content",
|
|
10558
10558
|
invalid: "invalid",
|
|
10559
10559
|
toggle: "toggle",
|
|
@@ -10639,9 +10639,9 @@ class BlockSection {
|
|
|
10639
10639
|
const { status } = this;
|
|
10640
10640
|
const statusIcon = ICONS$d[status] ?? false;
|
|
10641
10641
|
const statusIconClasses = {
|
|
10642
|
-
[CSS$
|
|
10643
|
-
[CSS$
|
|
10644
|
-
[CSS$
|
|
10642
|
+
[CSS$Q.statusIcon]: true,
|
|
10643
|
+
[CSS$Q.valid]: status == "valid",
|
|
10644
|
+
[CSS$Q.invalid]: status == "invalid"
|
|
10645
10645
|
};
|
|
10646
10646
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
10647
10647
|
}
|
|
@@ -10658,13 +10658,13 @@ class BlockSection {
|
|
|
10658
10658
|
const regionId = `${guid}-region`;
|
|
10659
10659
|
const buttonId = `${guid}-button`;
|
|
10660
10660
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
10661
|
-
[CSS$
|
|
10662
|
-
[CSS$
|
|
10663
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
10664
|
-
[CSS$
|
|
10665
|
-
[CSS$
|
|
10666
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
10667
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
10661
|
+
[CSS$Q.toggle]: true,
|
|
10662
|
+
[CSS$Q.toggleSwitch]: true
|
|
10663
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$Q.toggleSwitchContent }, hAsync("span", { class: CSS$Q.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
10664
|
+
[CSS$Q.sectionHeader]: true,
|
|
10665
|
+
[CSS$Q.toggle]: true
|
|
10666
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$Q.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
10667
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$Q.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
10668
10668
|
}
|
|
10669
10669
|
static get assetsDirs() { return ["assets"]; }
|
|
10670
10670
|
get el() { return getElement(this); }
|
|
@@ -11049,7 +11049,7 @@ function onLabelDisconnected() {
|
|
|
11049
11049
|
document.addEventListener(labelConnectedEvent, boundOnLabelConnected);
|
|
11050
11050
|
}
|
|
11051
11051
|
|
|
11052
|
-
const CSS$
|
|
11052
|
+
const CSS$P = {
|
|
11053
11053
|
buttonLoader: "calcite-button--loader",
|
|
11054
11054
|
content: "content",
|
|
11055
11055
|
contentSlotted: "content--slotted",
|
|
@@ -11158,17 +11158,17 @@ class Button {
|
|
|
11158
11158
|
render() {
|
|
11159
11159
|
const childElType = this.href ? "a" : "button";
|
|
11160
11160
|
const Tag = childElType;
|
|
11161
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
11161
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$P.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$P.loadingIn : CSS$P.loadingOut, inline: true, label: this.messages.loading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
11162
11162
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
11163
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11164
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
11165
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
11163
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$P.icon]: true, [CSS$P.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
11164
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$P.icon]: true, [CSS$P.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
11165
|
+
const contentEl = (hAsync("span", { class: CSS$P.content }, hAsync("slot", null)));
|
|
11166
11166
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
11167
|
-
[CSS$
|
|
11168
|
-
[CSS$
|
|
11169
|
-
[CSS$
|
|
11170
|
-
[CSS$
|
|
11171
|
-
[CSS$
|
|
11167
|
+
[CSS$P.buttonPadding]: noStartEndIcons,
|
|
11168
|
+
[CSS$P.buttonPaddingShrunk]: !noStartEndIcons,
|
|
11169
|
+
[CSS$P.contentSlotted]: this.hasContent,
|
|
11170
|
+
[CSS$P.iconStartEmpty]: !this.iconStart,
|
|
11171
|
+
[CSS$P.iconEndEmpty]: !this.iconEnd
|
|
11172
11172
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
11173
11173
|
}
|
|
11174
11174
|
//--------------------------------------------------------------------------
|
|
@@ -11247,7 +11247,7 @@ class Button {
|
|
|
11247
11247
|
}; }
|
|
11248
11248
|
}
|
|
11249
11249
|
|
|
11250
|
-
const CSS$
|
|
11250
|
+
const CSS$O = {
|
|
11251
11251
|
container: "container",
|
|
11252
11252
|
header: "header",
|
|
11253
11253
|
footer: "footer",
|
|
@@ -11332,7 +11332,7 @@ class Card {
|
|
|
11332
11332
|
render() {
|
|
11333
11333
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
11334
11334
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
11335
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
11335
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.messages.loading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$O.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
11336
11336
|
}
|
|
11337
11337
|
effectiveLocaleChange() {
|
|
11338
11338
|
updateMessages(this, this.effectiveLocale);
|
|
@@ -11342,25 +11342,25 @@ class Card {
|
|
|
11342
11342
|
this.calciteCardSelect.emit();
|
|
11343
11343
|
}
|
|
11344
11344
|
renderThumbnail() {
|
|
11345
|
-
return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$
|
|
11345
|
+
return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$O.thumbnailWrapper }, hAsync("slot", { name: SLOTS$m.thumbnail }))) : null;
|
|
11346
11346
|
}
|
|
11347
11347
|
renderCheckbox() {
|
|
11348
11348
|
const checkboxLabel = this.selected ? this.messages.deselect : this.messages.select;
|
|
11349
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
11349
|
+
return (hAsync("calcite-label", { class: CSS$O.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
11350
11350
|
}
|
|
11351
11351
|
renderHeader() {
|
|
11352
11352
|
const { el } = this;
|
|
11353
11353
|
const title = getSlotted(el, SLOTS$m.title);
|
|
11354
11354
|
const subtitle = getSlotted(el, SLOTS$m.subtitle);
|
|
11355
11355
|
const hasHeader = title || subtitle;
|
|
11356
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
11356
|
+
return hasHeader ? (hAsync("header", { class: CSS$O.header }, hAsync("slot", { name: SLOTS$m.title }), hAsync("slot", { name: SLOTS$m.subtitle }))) : null;
|
|
11357
11357
|
}
|
|
11358
11358
|
renderFooter() {
|
|
11359
11359
|
const { el } = this;
|
|
11360
11360
|
const startFooter = getSlotted(el, SLOTS$m.footerStart);
|
|
11361
11361
|
const endFooter = getSlotted(el, SLOTS$m.footerEnd);
|
|
11362
11362
|
const hasFooter = startFooter || endFooter;
|
|
11363
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
11363
|
+
return hasFooter ? (hAsync("footer", { class: CSS$O.footer }, hAsync("slot", { name: SLOTS$m.footerStart }), hAsync("slot", { name: SLOTS$m.footerEnd }))) : null;
|
|
11364
11364
|
}
|
|
11365
11365
|
static get assetsDirs() { return ["assets"]; }
|
|
11366
11366
|
get el() { return getElement(this); }
|
|
@@ -11516,7 +11516,7 @@ class Checkbox {
|
|
|
11516
11516
|
}; }
|
|
11517
11517
|
}
|
|
11518
11518
|
|
|
11519
|
-
const CSS$
|
|
11519
|
+
const CSS$N = {
|
|
11520
11520
|
title: "title",
|
|
11521
11521
|
close: "close",
|
|
11522
11522
|
imageContainer: "image-container",
|
|
@@ -11633,16 +11633,16 @@ class Chip {
|
|
|
11633
11633
|
//
|
|
11634
11634
|
//--------------------------------------------------------------------------
|
|
11635
11635
|
renderChipImage() {
|
|
11636
|
-
return (hAsync("div", { class: CSS$
|
|
11636
|
+
return (hAsync("div", { class: CSS$N.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$l.image, onSlotchange: this.handleSlotImageChange })));
|
|
11637
11637
|
}
|
|
11638
11638
|
render() {
|
|
11639
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
11640
|
-
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.messages.dismissLabel, class: CSS$
|
|
11639
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$N.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
|
|
11640
|
+
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.messages.dismissLabel, class: CSS$N.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$N.closeIcon, icon: ICONS$c.close, scale: this.scale === "l" ? "m" : "s" })));
|
|
11641
11641
|
return (hAsync("div", { class: {
|
|
11642
|
-
[CSS$
|
|
11643
|
-
[CSS$
|
|
11644
|
-
[CSS$
|
|
11645
|
-
} }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$
|
|
11642
|
+
[CSS$N.container]: true,
|
|
11643
|
+
[CSS$N.contentSlotted]: this.hasContent,
|
|
11644
|
+
[CSS$N.imageSlotted]: this.hasImage
|
|
11645
|
+
} }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$N.title, id: this.guid }, hAsync("slot", null)), this.closable ? closeButton : null));
|
|
11646
11646
|
}
|
|
11647
11647
|
static get assetsDirs() { return ["assets"]; }
|
|
11648
11648
|
get el() { return getElement(this); }
|
|
@@ -13787,7 +13787,7 @@ function zeroArray(array, length) {
|
|
|
13787
13787
|
|
|
13788
13788
|
var color = Color;
|
|
13789
13789
|
|
|
13790
|
-
const CSS$
|
|
13790
|
+
const CSS$M = {
|
|
13791
13791
|
container: "container",
|
|
13792
13792
|
controlSection: "control-section",
|
|
13793
13793
|
hexOptions: "color-hex-options",
|
|
@@ -14140,7 +14140,7 @@ class ColorPicker {
|
|
|
14140
14140
|
const { channelMode: activeChannelMode, messages } = this;
|
|
14141
14141
|
const selected = channelMode === activeChannelMode;
|
|
14142
14142
|
const label = channelMode === "rgb" ? messages.rgb : messages.hsv;
|
|
14143
|
-
return (hAsync("calcite-tab-title", { class: CSS$
|
|
14143
|
+
return (hAsync("calcite-tab-title", { class: CSS$M.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate, selected: selected }, label));
|
|
14144
14144
|
};
|
|
14145
14145
|
this.renderChannelsTab = (channelMode) => {
|
|
14146
14146
|
const { channelMode: activeChannelMode, channels, messages } = this;
|
|
@@ -14153,11 +14153,11 @@ class ColorPicker {
|
|
|
14153
14153
|
? [messages.red, messages.green, messages.blue]
|
|
14154
14154
|
: [messages.hue, messages.saturation, messages.value];
|
|
14155
14155
|
const direction = getElementDir(this.el);
|
|
14156
|
-
return (hAsync("calcite-tab", { class: CSS$
|
|
14156
|
+
return (hAsync("calcite-tab", { class: CSS$M.control, key: channelMode, selected: selected }, hAsync("div", { class: CSS$M.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
14157
14157
|
/* the channel container is ltr, so we apply the host's direction */
|
|
14158
14158
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
14159
14159
|
};
|
|
14160
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$
|
|
14160
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$M.channel, "data-channel-index": index, dir: direction, label: ariaLabel, lang: this.effectiveLocale, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value?.toString() }));
|
|
14161
14161
|
this.deleteColor = () => {
|
|
14162
14162
|
const colorToDelete = this.color.hex();
|
|
14163
14163
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -14290,7 +14290,7 @@ class ColorPicker {
|
|
|
14290
14290
|
this.shiftKeyChannelAdjustment = 0;
|
|
14291
14291
|
const { key } = event;
|
|
14292
14292
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
14293
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
14293
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$M.channel))) {
|
|
14294
14294
|
return;
|
|
14295
14295
|
}
|
|
14296
14296
|
const { shiftKey } = event;
|
|
@@ -14373,20 +14373,20 @@ class ColorPicker {
|
|
|
14373
14373
|
const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
14374
14374
|
const noColor = color === null;
|
|
14375
14375
|
const vertical = scopeOrientation === "vertical";
|
|
14376
|
-
return (hAsync("div", { class: CSS$
|
|
14377
|
-
[CSS$
|
|
14378
|
-
[CSS$
|
|
14379
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
14380
|
-
[CSS$
|
|
14381
|
-
[CSS$
|
|
14382
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
14383
|
-
[CSS$
|
|
14384
|
-
[CSS$
|
|
14385
|
-
} }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
14386
|
-
[CSS$
|
|
14387
|
-
[CSS$
|
|
14388
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$
|
|
14389
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
14376
|
+
return (hAsync("div", { class: CSS$M.container }, hAsync("div", { class: CSS$M.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
|
|
14377
|
+
[CSS$M.colorFieldAndSlider]: true,
|
|
14378
|
+
[CSS$M.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
14379
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? messages.value : messages.saturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$M.scope]: true, [CSS$M.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), hAsync("div", { "aria-label": messages.hue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$M.scope]: true, [CSS$M.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (hAsync("div", { class: {
|
|
14380
|
+
[CSS$M.controlSection]: true,
|
|
14381
|
+
[CSS$M.section]: true
|
|
14382
|
+
} }, hideHex ? null : (hAsync("div", { class: CSS$M.hexOptions }, hAsync("span", { class: {
|
|
14383
|
+
[CSS$M.header]: true,
|
|
14384
|
+
[CSS$M.headerHex]: true
|
|
14385
|
+
} }, messages.hex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$M.control, hexLabel: messages.hex, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
14386
|
+
[CSS$M.colorModeContainer]: true,
|
|
14387
|
+
[CSS$M.splitSection]: true
|
|
14388
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$M.savedColorsSection]: true, [CSS$M.section]: true } }, hAsync("div", { class: CSS$M.header }, hAsync("label", null, messages.saved), hAsync("div", { class: CSS$M.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$M.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$M.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$M.savedColors }, [
|
|
14389
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$M.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
14390
14390
|
])) : null))));
|
|
14391
14391
|
}
|
|
14392
14392
|
// --------------------------------------------------------------------------
|
|
@@ -14620,7 +14620,7 @@ class ColorPicker {
|
|
|
14620
14620
|
}; }
|
|
14621
14621
|
}
|
|
14622
14622
|
|
|
14623
|
-
const CSS$
|
|
14623
|
+
const CSS$L = {
|
|
14624
14624
|
container: "container",
|
|
14625
14625
|
preview: "preview",
|
|
14626
14626
|
input: "input"
|
|
@@ -14733,7 +14733,7 @@ class ColorPickerHexInput {
|
|
|
14733
14733
|
render() {
|
|
14734
14734
|
const { value } = this;
|
|
14735
14735
|
const hexInputValue = this.formatForInternalInput(value);
|
|
14736
|
-
return (hAsync("div", { class: CSS$
|
|
14736
|
+
return (hAsync("div", { class: CSS$L.container }, hAsync("calcite-input", { class: CSS$L.input, label: this.hexLabel, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$L.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
14737
14737
|
}
|
|
14738
14738
|
//--------------------------------------------------------------------------
|
|
14739
14739
|
//
|
|
@@ -14809,7 +14809,7 @@ class ColorPickerHexInput {
|
|
|
14809
14809
|
}; }
|
|
14810
14810
|
}
|
|
14811
14811
|
|
|
14812
|
-
const CSS$
|
|
14812
|
+
const CSS$K = {
|
|
14813
14813
|
swatch: "swatch",
|
|
14814
14814
|
noColorIcon: "no-color-icon"
|
|
14815
14815
|
};
|
|
@@ -14844,7 +14844,7 @@ class ColorPickerSwatch {
|
|
|
14844
14844
|
const hex = internalColor.hex();
|
|
14845
14845
|
const theme = getModeName(el);
|
|
14846
14846
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
14847
|
-
return (hAsync("svg", { class: CSS$
|
|
14847
|
+
return (hAsync("svg", { class: CSS$K.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
14848
14848
|
}
|
|
14849
14849
|
get el() { return getElement(this); }
|
|
14850
14850
|
static get watchers() { return {
|
|
@@ -17389,7 +17389,7 @@ class Combobox {
|
|
|
17389
17389
|
}; }
|
|
17390
17390
|
}
|
|
17391
17391
|
|
|
17392
|
-
const CSS$
|
|
17392
|
+
const CSS$J = {
|
|
17393
17393
|
icon: "icon",
|
|
17394
17394
|
iconActive: "icon--active",
|
|
17395
17395
|
custom: "icon--custom",
|
|
@@ -17465,18 +17465,18 @@ class ComboboxItem {
|
|
|
17465
17465
|
// --------------------------------------------------------------------------
|
|
17466
17466
|
renderIcon(isSingle) {
|
|
17467
17467
|
const { icon, disabled, selected, iconFlipRtl } = this;
|
|
17468
|
-
const level = `${CSS$
|
|
17468
|
+
const level = `${CSS$J.icon}--indent`;
|
|
17469
17469
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
17470
17470
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
17471
17471
|
const showDot = isSingle && !icon && !disabled;
|
|
17472
17472
|
return showDot ? (hAsync("span", { class: {
|
|
17473
|
-
[CSS$
|
|
17474
|
-
[CSS$
|
|
17473
|
+
[CSS$J.icon]: true,
|
|
17474
|
+
[CSS$J.dot]: true,
|
|
17475
17475
|
[level]: true
|
|
17476
17476
|
} })) : (hAsync("calcite-icon", { class: {
|
|
17477
|
-
[CSS$
|
|
17478
|
-
[CSS$
|
|
17479
|
-
[CSS$
|
|
17477
|
+
[CSS$J.icon]: !icon,
|
|
17478
|
+
[CSS$J.custom]: !!icon,
|
|
17479
|
+
[CSS$J.iconActive]: icon && selected,
|
|
17480
17480
|
[level]: true
|
|
17481
17481
|
}, flipRtl: iconFlipRtl, icon: icon || iconPath, scale: this.scale === "l" ? "m" : "s" }));
|
|
17482
17482
|
}
|
|
@@ -17489,13 +17489,13 @@ class ComboboxItem {
|
|
|
17489
17489
|
render() {
|
|
17490
17490
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multiple") === "single";
|
|
17491
17491
|
const classes = {
|
|
17492
|
-
[CSS$
|
|
17493
|
-
[CSS$
|
|
17494
|
-
[CSS$
|
|
17495
|
-
[CSS$
|
|
17492
|
+
[CSS$J.label]: true,
|
|
17493
|
+
[CSS$J.selected]: this.selected,
|
|
17494
|
+
[CSS$J.active]: this.active,
|
|
17495
|
+
[CSS$J.single]: isSingleSelect
|
|
17496
17496
|
};
|
|
17497
17497
|
const depth = getDepth$1();
|
|
17498
|
-
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$
|
|
17498
|
+
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$J.title }, this.textLabel)), this.renderChildren())));
|
|
17499
17499
|
}
|
|
17500
17500
|
get el() { return getElement(this); }
|
|
17501
17501
|
static get watchers() { return {
|
|
@@ -17523,7 +17523,7 @@ class ComboboxItem {
|
|
|
17523
17523
|
}; }
|
|
17524
17524
|
}
|
|
17525
17525
|
|
|
17526
|
-
const CSS$
|
|
17526
|
+
const CSS$I = {
|
|
17527
17527
|
list: "list",
|
|
17528
17528
|
label: "label",
|
|
17529
17529
|
title: "title"
|
|
@@ -17558,8 +17558,8 @@ class ComboboxItemGroup {
|
|
|
17558
17558
|
// --------------------------------------------------------------------------
|
|
17559
17559
|
render() {
|
|
17560
17560
|
const { el, scale } = this;
|
|
17561
|
-
const indent = `${CSS$
|
|
17562
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
17561
|
+
const indent = `${CSS$I.label}--indent-${getDepth$1()}`;
|
|
17562
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$I.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$I.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$I.title }, this.label)), hAsync("slot", null)));
|
|
17563
17563
|
}
|
|
17564
17564
|
get el() { return getElement(this); }
|
|
17565
17565
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -18645,7 +18645,7 @@ class DatePickerMonth {
|
|
|
18645
18645
|
}
|
|
18646
18646
|
|
|
18647
18647
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
18648
|
-
const CSS$
|
|
18648
|
+
const CSS$H = {
|
|
18649
18649
|
header: "header",
|
|
18650
18650
|
month: "month",
|
|
18651
18651
|
chevron: "chevron",
|
|
@@ -18746,7 +18746,7 @@ class DatePickerMonthHeader {
|
|
|
18746
18746
|
this.setNextPrevMonthDates();
|
|
18747
18747
|
}
|
|
18748
18748
|
render() {
|
|
18749
|
-
return hAsync("div", { class: CSS$
|
|
18749
|
+
return hAsync("div", { class: CSS$H.header }, this.renderContent());
|
|
18750
18750
|
}
|
|
18751
18751
|
renderContent() {
|
|
18752
18752
|
const { messages, localeData, activeDate } = this;
|
|
@@ -18769,10 +18769,10 @@ class DatePickerMonthHeader {
|
|
|
18769
18769
|
const order = getOrder(unitOrder);
|
|
18770
18770
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
18771
18771
|
const suffix = localeData.year?.suffix;
|
|
18772
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$
|
|
18772
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": messages.prevMonth, class: CSS$H.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$H.textReverse]: reverse } }, hAsync(Heading, { class: CSS$H.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$H.yearWrap }, hAsync("input", { "aria-label": messages.year, class: {
|
|
18773
18773
|
year: true,
|
|
18774
|
-
[CSS$
|
|
18775
|
-
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && hAsync("span", { class: CSS$
|
|
18774
|
+
[CSS$H.yearSuffix]: !!suffix
|
|
18775
|
+
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && hAsync("span", { class: CSS$H.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": messages.nextMonth, class: CSS$H.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
18776
18776
|
}
|
|
18777
18777
|
setNextPrevMonthDates() {
|
|
18778
18778
|
if (!this.activeDate) {
|
|
@@ -19255,7 +19255,7 @@ class Dropdown {
|
|
|
19255
19255
|
}; }
|
|
19256
19256
|
}
|
|
19257
19257
|
|
|
19258
|
-
const CSS$
|
|
19258
|
+
const CSS$G = {
|
|
19259
19259
|
containerSmall: "container--s",
|
|
19260
19260
|
containerMedium: "container--m",
|
|
19261
19261
|
containerLarge: "container--l"
|
|
@@ -19288,9 +19288,9 @@ class DropdownGroup {
|
|
|
19288
19288
|
const dropdownSeparator = this.groupPosition > 0 ? hAsync("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
19289
19289
|
return (hAsync(Host, { "aria-label": this.groupTitle, role: "group" }, hAsync("div", { class: {
|
|
19290
19290
|
container: true,
|
|
19291
|
-
[CSS$
|
|
19292
|
-
[CSS$
|
|
19293
|
-
[CSS$
|
|
19291
|
+
[CSS$G.containerSmall]: scale === "s",
|
|
19292
|
+
[CSS$G.containerMedium]: scale === "m",
|
|
19293
|
+
[CSS$G.containerLarge]: scale === "l"
|
|
19294
19294
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, hAsync("slot", null))));
|
|
19295
19295
|
}
|
|
19296
19296
|
//--------------------------------------------------------------------------
|
|
@@ -19331,7 +19331,7 @@ class DropdownGroup {
|
|
|
19331
19331
|
}; }
|
|
19332
19332
|
}
|
|
19333
19333
|
|
|
19334
|
-
const CSS$
|
|
19334
|
+
const CSS$F = {
|
|
19335
19335
|
containerLink: "container--link",
|
|
19336
19336
|
containerSmall: "container--s",
|
|
19337
19337
|
containerMedium: "container--m",
|
|
@@ -19410,13 +19410,13 @@ class DropdownItem {
|
|
|
19410
19410
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
19411
19411
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
19412
19412
|
container: true,
|
|
19413
|
-
[CSS$
|
|
19414
|
-
[CSS$
|
|
19415
|
-
[CSS$
|
|
19416
|
-
[CSS$
|
|
19417
|
-
[CSS$
|
|
19418
|
-
[CSS$
|
|
19419
|
-
[CSS$
|
|
19413
|
+
[CSS$F.containerLink]: !!this.href,
|
|
19414
|
+
[CSS$F.containerSmall]: scale === "s",
|
|
19415
|
+
[CSS$F.containerMedium]: scale === "m",
|
|
19416
|
+
[CSS$F.containerLarge]: scale === "l",
|
|
19417
|
+
[CSS$F.containerMulti]: this.selectionMode === "multiple",
|
|
19418
|
+
[CSS$F.containerSingle]: this.selectionMode === "single",
|
|
19419
|
+
[CSS$F.containerNone]: this.selectionMode === "none"
|
|
19420
19420
|
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multiple" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
19421
19421
|
}
|
|
19422
19422
|
//--------------------------------------------------------------------------
|
|
@@ -19523,7 +19523,7 @@ class DropdownItem {
|
|
|
19523
19523
|
}; }
|
|
19524
19524
|
}
|
|
19525
19525
|
|
|
19526
|
-
const CSS$
|
|
19526
|
+
const CSS$E = {
|
|
19527
19527
|
button: "button"
|
|
19528
19528
|
};
|
|
19529
19529
|
const ICONS$b = {
|
|
@@ -19578,7 +19578,7 @@ class Fab {
|
|
|
19578
19578
|
render() {
|
|
19579
19579
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
|
|
19580
19580
|
const title = !textEnabled ? label || text || null : null;
|
|
19581
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
19581
|
+
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$E.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, ref: (buttonEl) => {
|
|
19582
19582
|
this.buttonEl = buttonEl;
|
|
19583
19583
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
19584
19584
|
}
|
|
@@ -19606,7 +19606,7 @@ class Fab {
|
|
|
19606
19606
|
}; }
|
|
19607
19607
|
}
|
|
19608
19608
|
|
|
19609
|
-
const CSS$
|
|
19609
|
+
const CSS$D = {
|
|
19610
19610
|
container: "container",
|
|
19611
19611
|
searchIcon: "search-icon"
|
|
19612
19612
|
};
|
|
@@ -19719,7 +19719,7 @@ class Filter {
|
|
|
19719
19719
|
// --------------------------------------------------------------------------
|
|
19720
19720
|
render() {
|
|
19721
19721
|
const { disabled, scale } = this;
|
|
19722
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
19722
|
+
return (hAsync(Fragment, null, hAsync("div", { class: CSS$D.container }, hAsync("label", null, hAsync("calcite-input", { "aria-label": this.messages.label, clearable: true, disabled: disabled, icon: ICONS$a.search, messageOverrides: { clear: this.messages.clear }, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
19723
19723
|
this.textInput = el;
|
|
19724
19724
|
}, scale: scale, type: "text", value: this.value })))));
|
|
19725
19725
|
}
|
|
@@ -19755,7 +19755,7 @@ class Filter {
|
|
|
19755
19755
|
}; }
|
|
19756
19756
|
}
|
|
19757
19757
|
|
|
19758
|
-
const CSS$
|
|
19758
|
+
const CSS$C = {
|
|
19759
19759
|
frame: "frame",
|
|
19760
19760
|
frameAdvancing: "frame--advancing",
|
|
19761
19761
|
frameRetreating: "frame--retreating"
|
|
@@ -19855,9 +19855,9 @@ class Flow {
|
|
|
19855
19855
|
render() {
|
|
19856
19856
|
const { flowDirection } = this;
|
|
19857
19857
|
const frameDirectionClasses = {
|
|
19858
|
-
[CSS$
|
|
19859
|
-
[CSS$
|
|
19860
|
-
[CSS$
|
|
19858
|
+
[CSS$C.frame]: true,
|
|
19859
|
+
[CSS$C.frameAdvancing]: flowDirection === "advancing",
|
|
19860
|
+
[CSS$C.frameRetreating]: flowDirection === "retreating"
|
|
19861
19861
|
};
|
|
19862
19862
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
19863
19863
|
}
|
|
@@ -19878,7 +19878,7 @@ class Flow {
|
|
|
19878
19878
|
}; }
|
|
19879
19879
|
}
|
|
19880
19880
|
|
|
19881
|
-
const CSS$
|
|
19881
|
+
const CSS$B = {
|
|
19882
19882
|
backButton: "back-button",
|
|
19883
19883
|
container: "container",
|
|
19884
19884
|
header: "header",
|
|
@@ -19911,7 +19911,7 @@ const SLOTS$j = {
|
|
|
19911
19911
|
footerActions: "footer-actions"
|
|
19912
19912
|
};
|
|
19913
19913
|
|
|
19914
|
-
const CSS$
|
|
19914
|
+
const CSS$A = {
|
|
19915
19915
|
backButton: "back-button"
|
|
19916
19916
|
};
|
|
19917
19917
|
const ICONS$8 = {
|
|
@@ -20055,7 +20055,7 @@ class FlowItem {
|
|
|
20055
20055
|
const { showBackButton, backButtonClick, messages } = this;
|
|
20056
20056
|
const label = messages.back;
|
|
20057
20057
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
20058
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
20058
|
+
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$A.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label })) : null;
|
|
20059
20059
|
}
|
|
20060
20060
|
render() {
|
|
20061
20061
|
const { closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, backButtonEl } = this;
|
|
@@ -20322,7 +20322,7 @@ class Graph {
|
|
|
20322
20322
|
}; }
|
|
20323
20323
|
}
|
|
20324
20324
|
|
|
20325
|
-
const CSS$
|
|
20325
|
+
const CSS$z = {
|
|
20326
20326
|
handle: "handle",
|
|
20327
20327
|
handleActivated: "handle--activated"
|
|
20328
20328
|
};
|
|
@@ -20398,7 +20398,7 @@ class Handle {
|
|
|
20398
20398
|
render() {
|
|
20399
20399
|
return (
|
|
20400
20400
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
20401
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
20401
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$z.handle]: true, [CSS$z.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
20402
20402
|
this.handleButton = el;
|
|
20403
20403
|
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
|
|
20404
20404
|
}
|
|
@@ -20418,7 +20418,7 @@ class Handle {
|
|
|
20418
20418
|
}; }
|
|
20419
20419
|
}
|
|
20420
20420
|
|
|
20421
|
-
const CSS$
|
|
20421
|
+
const CSS$y = {
|
|
20422
20422
|
icon: "icon",
|
|
20423
20423
|
flipRtl: "flip-rtl"
|
|
20424
20424
|
};
|
|
@@ -20466,7 +20466,7 @@ class Icon {
|
|
|
20466
20466
|
const semantic = !!textLabel;
|
|
20467
20467
|
const paths = [].concat(pathData || "");
|
|
20468
20468
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
20469
|
-
[CSS$
|
|
20469
|
+
[CSS$y.flipRtl]: dir === "rtl" && flipRtl,
|
|
20470
20470
|
svg: true
|
|
20471
20471
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
20472
20472
|
}
|
|
@@ -20512,7 +20512,7 @@ class Icon {
|
|
|
20512
20512
|
}; }
|
|
20513
20513
|
}
|
|
20514
20514
|
|
|
20515
|
-
const CSS$
|
|
20515
|
+
const CSS$x = {
|
|
20516
20516
|
wrapper: "wrapper",
|
|
20517
20517
|
confirmChangesButton: "confirm-changes-button",
|
|
20518
20518
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -20660,12 +20660,12 @@ class InlineEditable {
|
|
|
20660
20660
|
updateHostInteraction(this);
|
|
20661
20661
|
}
|
|
20662
20662
|
render() {
|
|
20663
|
-
return (hAsync("div", { class: CSS$
|
|
20663
|
+
return (hAsync("div", { class: CSS$x.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, hAsync("div", { class: CSS$x.inputWrapper }, hAsync("slot", null)), hAsync("div", { class: CSS$x.controlsWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$x.enableEditingButton, disabled: this.disabled, iconStart: "pencil", kind: "neutral", label: this.messages.enableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
|
|
20664
20664
|
opacity: this.editingEnabled ? "0" : "1",
|
|
20665
20665
|
width: this.editingEnabled ? "0" : "inherit"
|
|
20666
20666
|
}, type: "button" }), this.shouldShowControls && [
|
|
20667
|
-
hAsync("div", { class: CSS$
|
|
20668
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
20667
|
+
hAsync("div", { class: CSS$x.cancelEditingButtonWrapper }, hAsync("calcite-button", { appearance: "transparent", class: CSS$x.cancelEditingButton, disabled: this.disabled, iconStart: "x", kind: "neutral", label: this.messages.cancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
|
|
20668
|
+
hAsync("calcite-button", { appearance: "solid", class: CSS$x.confirmChangesButton, disabled: this.disabled, iconStart: "check", kind: "brand", label: this.messages.confirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
|
|
20669
20669
|
])));
|
|
20670
20670
|
}
|
|
20671
20671
|
//--------------------------------------------------------------------------
|
|
@@ -20750,7 +20750,7 @@ class InlineEditable {
|
|
|
20750
20750
|
}; }
|
|
20751
20751
|
}
|
|
20752
20752
|
|
|
20753
|
-
const CSS$
|
|
20753
|
+
const CSS$w = {
|
|
20754
20754
|
loader: "loader",
|
|
20755
20755
|
clearButton: "clear-button",
|
|
20756
20756
|
editingEnabled: "editing-enabled",
|
|
@@ -20778,7 +20778,7 @@ const SLOTS$h = {
|
|
|
20778
20778
|
action: "action"
|
|
20779
20779
|
};
|
|
20780
20780
|
|
|
20781
|
-
const inputCss = "@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-input: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-input{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-input:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-input-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-h{display:block}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-h input.sc-calcite-input,[scale=s].sc-calcite-input-h .prefix.sc-calcite-input,[scale=s].sc-calcite-input-h .suffix.sc-calcite-input{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-input-h textarea.sc-calcite-input{block-size:1.5rem;min-block-size:1.5rem}/*!@:host([scale=s]) .number-button-wrapper, :host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button*/[scale=s].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=s].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=s].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{block-size:1.5rem}/*!@:host([scale=s]) input[type=file]*/[scale=s].sc-calcite-input-h input[type=file].sc-calcite-input{block-size:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-h .clear-button.sc-calcite-input{min-block-size:1.5rem;min-inline-size:1.5rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-input-h textarea.sc-calcite-input{block-size:auto;padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix*/[scale=m].sc-calcite-input-h input.sc-calcite-input,[scale=m].sc-calcite-input-h .prefix.sc-calcite-input,[scale=m].sc-calcite-input-h .suffix.sc-calcite-input{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-input-h textarea.sc-calcite-input{min-block-size:2rem}/*!@:host([scale=m]) .number-button-wrapper, :host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=m].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=m].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{block-size:2rem}/*!@:host([scale=m]) input[type=file]*/[scale=m].sc-calcite-input-h input[type=file].sc-calcite-input{block-size:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-h .clear-button.sc-calcite-input{min-block-size:2rem;min-inline-size:2rem}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-input-h textarea.sc-calcite-input{block-size:auto;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix*/[scale=l].sc-calcite-input-h input.sc-calcite-input,[scale=l].sc-calcite-input-h .prefix.sc-calcite-input,[scale=l].sc-calcite-input-h .suffix.sc-calcite-input{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-input-h textarea.sc-calcite-input{min-block-size:2.75rem}/*!@:host([scale=l]) .number-button-wrapper, :host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button*/[scale=l].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=l].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=l].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{block-size:2.75rem}/*!@:host([scale=l]) input[type=file]*/[scale=l].sc-calcite-input-h input[type=file].sc-calcite-input{block-size:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-h .clear-button.sc-calcite-input{min-block-size:2.75rem;min-inline-size:2.75rem}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-input-h textarea.sc-calcite-input{block-size:auto;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([disabled]) textarea*/[disabled].sc-calcite-input-h textarea.sc-calcite-input{resize:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-h[disabled] .sc-calcite-input-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-h [calcite-hydrated][disabled].sc-calcite-input{opacity:1}/*!@:host textarea,\n:host input*/.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}/*!@:host input[type=search]::-webkit-search-decoration*/.sc-calcite-input-h input[type=search].sc-calcite-input::-webkit-search-decoration{-webkit-appearance:none}/*!@:host input, :host textarea*/.sc-calcite-input-h input.sc-calcite-input,.sc-calcite-input-h textarea.sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}/*!@:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder, :host textarea::placeholder, :host textarea:-ms-input-placeholder, :host textarea::-ms-input-placeholder*/.sc-calcite-input-h input.sc-calcite-input::placeholder,.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@:host input:focus, :host textarea:focus*/.sc-calcite-input-h input.sc-calcite-input:focus,.sc-calcite-input-h textarea.sc-calcite-input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly], :host textarea[readonly]*/.sc-calcite-input-h input[readonly].sc-calcite-input,.sc-calcite-input-h textarea[readonly].sc-calcite-input{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus, :host textarea[readonly]:focus*/.sc-calcite-input-h input[readonly].sc-calcite-input:focus,.sc-calcite-input-h textarea[readonly].sc-calcite-input:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-h calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-3)}/*!@:host textarea,\n:host input*/.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-input{outline-color:transparent}/*!@:host textarea:focus,\n:host input:focus*/.sc-calcite-input-h textarea.sc-calcite-input:focus,.sc-calcite-input-h input.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input, :host([status=invalid]) textarea*/[status=invalid].sc-calcite-input-h input.sc-calcite-input,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus, :host([status=invalid]) textarea:focus*/[status=invalid].sc-calcite-input-h input.sc-calcite-input:focus,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-h .icon.sc-calcite-input{inset-inline-start:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-h .icon.sc-calcite-input{inset-inline-start:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-h .icon.sc-calcite-input{inset-inline-start:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-inline-start:2rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-inline-start:2.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-inline-start:3rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}/*!@.icon*/.icon.sc-calcite-input{pointer-events:none;position:absolute;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.icon,\n.resize-icon-wrapper*/.icon.sc-calcite-input,.resize-icon-wrapper.sc-calcite-input{z-index:1}/*!@input[type=text]::-ms-clear,\ninput[type=text]::-ms-reveal*/input[type=text].sc-calcite-input::-ms-clear,input[type=text].sc-calcite-input::-ms-reveal{display:none;block-size:0px;inline-size:0px}/*!@input[type=search]::-webkit-search-decoration,\ninput[type=search]::-webkit-search-cancel-button,\ninput[type=search]::-webkit-search-results-button,\ninput[type=search]::-webkit-search-results-decoration,\ninput[type=date]::-webkit-clear-button,\ninput[type=time]::-webkit-clear-button*/input[type=search].sc-calcite-input::-webkit-search-decoration,input[type=search].sc-calcite-input::-webkit-search-cancel-button,input[type=search].sc-calcite-input::-webkit-search-results-button,input[type=search].sc-calcite-input::-webkit-search-results-decoration,input[type=date].sc-calcite-input::-webkit-clear-button,input[type=time].sc-calcite-input::-webkit-clear-button{display:none}/*!@.clear-button*/.clear-button.sc-calcite-input{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}/*!@.clear-button:hover*/.clear-button.sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:hover calcite-icon*/.clear-button.sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:active*/.clear-button.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input:active calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.loader*/.loader.sc-calcite-input{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input{order:7;display:flex}/*!@.prefix,\n.suffix*/.prefix.sc-calcite-input,.suffix.sc-calcite-input{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}/*!@.prefix*/.prefix.sc-calcite-input{order:2;border-inline-end-width:0px}/*!@.suffix*/.suffix.sc-calcite-input{order:5;border-inline-start-width:0px}/*!@:host([alignment=start]) textarea, :host([alignment=start]) input*/[alignment=start].sc-calcite-input-h textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h input.sc-calcite-input{text-align:start}/*!@:host([alignment=end]) textarea, :host([alignment=end]) input*/[alignment=end].sc-calcite-input-h textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h input.sc-calcite-input{text-align:end}/*!@:host input[type=number]*/.sc-calcite-input-h input[type=number].sc-calcite-input{-moz-appearance:textfield}/*!@:host input[type=number]::-webkit-inner-spin-button, :host input[type=number]::-webkit-outer-spin-button*/.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-inner-spin-button,.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}/*!@.number-button-wrapper*/.number-button-wrapper.sc-calcite-input{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host([number-button-type=vertical]) .wrapper*/[number-button-type=vertical].sc-calcite-input-h .wrapper.sc-calcite-input{flex-direction:row;display:flex}/*!@:host([number-button-type=vertical]) input,\n:host([number-button-type=vertical]) textarea*/[number-button-type=vertical].sc-calcite-input-h input.sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h textarea.sc-calcite-input{order:2}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input{transform:rotate(-90deg)}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{transform:rotate(-90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down], .number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon, .number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{transform:rotate(90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{order:5}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input{border-block-start-width:0px}/*!@.number-button-item*/.number-button-item.sc-calcite-input{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}/*!@.number-button-item calcite-icon*/.number-button-item.sc-calcite-input calcite-icon.sc-calcite-input{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.number-button-item:focus*/.number-button-item.sc-calcite-input:focus{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item:focus calcite-icon*/.number-button-item.sc-calcite-input:focus calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.number-button-item:active*/.number-button-item.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}/*!@.number-button-item:disabled*/.number-button-item.sc-calcite-input:disabled{pointer-events:none}/*!@.wrapper*/.wrapper.sc-calcite-input{position:relative;display:flex;flex-direction:row;align-items:center}/*!@:host input::-webkit-calendar-picker-indicator*/.sc-calcite-input-h input.sc-calcite-input::-webkit-calendar-picker-indicator{display:none}/*!@:host input[type=date]::-webkit-input-placeholder*/.sc-calcite-input-h input[type=date].sc-calcite-input::-webkit-input-placeholder{visibility:hidden !important}/*!@:host textarea::-webkit-resizer*/.sc-calcite-input-h textarea.sc-calcite-input::-webkit-resizer{position:absolute;inset-block-end:0px;box-sizing:border-box;padding-block:0px;padding-inline:0.25rem;inset-inline-end:0}/*!@.resize-icon-wrapper*/.resize-icon-wrapper.sc-calcite-input{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}/*!@.resize-icon-wrapper calcite-icon*/.resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{inset-block-end:0.25rem;inset-inline-end:0.25rem;transform:rotate(-45deg)}/*!@.calcite--rtl .resize-icon-wrapper calcite-icon*/.calcite--rtl.sc-calcite-input .resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{transform:rotate(45deg)}/*!@:host([type=color]) input*/[type=color].sc-calcite-input-h input.sc-calcite-input{padding:0.25rem}/*!@:host([type=file]) input*/[type=file].sc-calcite-input-h input.sc-calcite-input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}/*!@:host([type=file][scale=s]) input*/[type=file][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-block:1px;padding-inline:0.5rem}/*!@:host([type=file][scale=m]) input*/[type=file][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-block:0.25rem;padding-inline:0.75rem}/*!@:host([type=file][scale=l]) input*/[type=file][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-block:0.5rem;padding-inline:1rem}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-h input.sc-calcite-input{border-block-end-width:0px}/*!@:host(.border-top-color-one) input*/.border-top-color-one.sc-calcite-input-h input.sc-calcite-input{border-block-start-color:var(--calcite-ui-border-1)}/*!@:host .inline-child*/.sc-calcite-input-h .inline-child.sc-calcite-input{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host .inline-child .editing-enabled*/.sc-calcite-input-h .inline-child.sc-calcite-input .editing-enabled.sc-calcite-input{background-color:inherit}/*!@:host .inline-child:not(.editing-enabled)*/.sc-calcite-input-h .inline-child.sc-calcite-input:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
20781
|
+
const inputCss = "@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-input: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-input{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-input:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-input-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-h{display:block}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-h input.sc-calcite-input,[scale=s].sc-calcite-input-h .prefix.sc-calcite-input,[scale=s].sc-calcite-input-h .suffix.sc-calcite-input{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-input-h textarea.sc-calcite-input{block-size:1.5rem;min-block-size:1.5rem}/*!@:host([scale=s]) .number-button-wrapper, :host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button*/[scale=s].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=s].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=s].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{block-size:1.5rem}/*!@:host([scale=s]) input[type=file]*/[scale=s].sc-calcite-input-h input[type=file].sc-calcite-input{block-size:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-h .clear-button.sc-calcite-input{min-block-size:1.5rem;min-inline-size:1.5rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-input-h textarea.sc-calcite-input{block-size:auto;padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix*/[scale=m].sc-calcite-input-h input.sc-calcite-input,[scale=m].sc-calcite-input-h .prefix.sc-calcite-input,[scale=m].sc-calcite-input-h .suffix.sc-calcite-input{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-input-h textarea.sc-calcite-input{min-block-size:2rem}/*!@:host([scale=m]) .number-button-wrapper, :host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=m].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=m].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{block-size:2rem}/*!@:host([scale=m]) input[type=file]*/[scale=m].sc-calcite-input-h input[type=file].sc-calcite-input{block-size:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-h .clear-button.sc-calcite-input{min-block-size:2rem;min-inline-size:2rem}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-input-h textarea.sc-calcite-input{block-size:auto;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix*/[scale=l].sc-calcite-input-h input.sc-calcite-input,[scale=l].sc-calcite-input-h .prefix.sc-calcite-input,[scale=l].sc-calcite-input-h .suffix.sc-calcite-input{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-input-h textarea.sc-calcite-input{min-block-size:2.75rem}/*!@:host([scale=l]) .number-button-wrapper, :host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button*/[scale=l].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=l].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=l].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{block-size:2.75rem}/*!@:host([scale=l]) input[type=file]*/[scale=l].sc-calcite-input-h input[type=file].sc-calcite-input{block-size:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-h .clear-button.sc-calcite-input{min-block-size:2.75rem;min-inline-size:2.75rem}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-input-h textarea.sc-calcite-input{block-size:auto;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([disabled]) textarea*/[disabled].sc-calcite-input-h textarea.sc-calcite-input{resize:none}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-h[disabled] .sc-calcite-input-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-h [calcite-hydrated][disabled].sc-calcite-input{opacity:1}/*!@:host textarea,\n:host input*/.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}/*!@:host input[type=search]::-webkit-search-decoration*/.sc-calcite-input-h input[type=search].sc-calcite-input::-webkit-search-decoration{-webkit-appearance:none}/*!@:host input, :host textarea*/.sc-calcite-input-h input.sc-calcite-input,.sc-calcite-input-h textarea.sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}/*!@:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder, :host textarea::placeholder, :host textarea:-ms-input-placeholder, :host textarea::-ms-input-placeholder*/.sc-calcite-input-h input.sc-calcite-input::placeholder,.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@:host input:focus, :host textarea:focus*/.sc-calcite-input-h input.sc-calcite-input:focus,.sc-calcite-input-h textarea.sc-calcite-input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly], :host textarea[readonly]*/.sc-calcite-input-h input[readonly].sc-calcite-input,.sc-calcite-input-h textarea[readonly].sc-calcite-input{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus, :host textarea[readonly]:focus*/.sc-calcite-input-h input[readonly].sc-calcite-input:focus,.sc-calcite-input-h textarea[readonly].sc-calcite-input:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-h calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-3)}/*!@:host textarea,\n:host input*/.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-input{outline-color:transparent}/*!@:host textarea:focus,\n:host input:focus*/.sc-calcite-input-h textarea.sc-calcite-input:focus,.sc-calcite-input-h input.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input, :host([status=invalid]) textarea*/[status=invalid].sc-calcite-input-h input.sc-calcite-input,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus, :host([status=invalid]) textarea:focus*/[status=invalid].sc-calcite-input-h input.sc-calcite-input:focus,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-h .icon.sc-calcite-input{inset-inline-start:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-h .icon.sc-calcite-input{inset-inline-start:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-h .icon.sc-calcite-input{inset-inline-start:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-inline-start:2rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-inline-start:2.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-inline-start:3.5rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}/*!@.icon*/.icon.sc-calcite-input{pointer-events:none;position:absolute;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.icon,\n.resize-icon-wrapper*/.icon.sc-calcite-input,.resize-icon-wrapper.sc-calcite-input{z-index:1}/*!@input[type=text]::-ms-clear,\ninput[type=text]::-ms-reveal*/input[type=text].sc-calcite-input::-ms-clear,input[type=text].sc-calcite-input::-ms-reveal{display:none;block-size:0px;inline-size:0px}/*!@input[type=search]::-webkit-search-decoration,\ninput[type=search]::-webkit-search-cancel-button,\ninput[type=search]::-webkit-search-results-button,\ninput[type=search]::-webkit-search-results-decoration,\ninput[type=date]::-webkit-clear-button,\ninput[type=time]::-webkit-clear-button*/input[type=search].sc-calcite-input::-webkit-search-decoration,input[type=search].sc-calcite-input::-webkit-search-cancel-button,input[type=search].sc-calcite-input::-webkit-search-results-button,input[type=search].sc-calcite-input::-webkit-search-results-decoration,input[type=date].sc-calcite-input::-webkit-clear-button,input[type=time].sc-calcite-input::-webkit-clear-button{display:none}/*!@.clear-button*/.clear-button.sc-calcite-input{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}/*!@.clear-button:hover*/.clear-button.sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:hover calcite-icon*/.clear-button.sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:active*/.clear-button.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input:active calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.loader*/.loader.sc-calcite-input{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input{order:7;display:flex}/*!@.prefix,\n.suffix*/.prefix.sc-calcite-input,.suffix.sc-calcite-input{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}/*!@.prefix*/.prefix.sc-calcite-input{order:2;border-inline-end-width:0px}/*!@.suffix*/.suffix.sc-calcite-input{order:5;border-inline-start-width:0px}/*!@:host([alignment=start]) textarea, :host([alignment=start]) input*/[alignment=start].sc-calcite-input-h textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h input.sc-calcite-input{text-align:start}/*!@:host([alignment=end]) textarea, :host([alignment=end]) input*/[alignment=end].sc-calcite-input-h textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h input.sc-calcite-input{text-align:end}/*!@:host input[type=number]*/.sc-calcite-input-h input[type=number].sc-calcite-input{-moz-appearance:textfield}/*!@:host input[type=number]::-webkit-inner-spin-button, :host input[type=number]::-webkit-outer-spin-button*/.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-inner-spin-button,.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}/*!@.number-button-wrapper*/.number-button-wrapper.sc-calcite-input{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host([number-button-type=vertical]) .wrapper*/[number-button-type=vertical].sc-calcite-input-h .wrapper.sc-calcite-input{flex-direction:row;display:flex}/*!@:host([number-button-type=vertical]) input,\n:host([number-button-type=vertical]) textarea*/[number-button-type=vertical].sc-calcite-input-h input.sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h textarea.sc-calcite-input{order:2}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input{transform:rotate(-90deg)}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{transform:rotate(-90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down], .number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon, .number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{transform:rotate(90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{order:5}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input{border-block-start-width:0px}/*!@.number-button-item*/.number-button-item.sc-calcite-input{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}/*!@.number-button-item calcite-icon*/.number-button-item.sc-calcite-input calcite-icon.sc-calcite-input{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.number-button-item:focus*/.number-button-item.sc-calcite-input:focus{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item:focus calcite-icon*/.number-button-item.sc-calcite-input:focus calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.number-button-item:active*/.number-button-item.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}/*!@.number-button-item:disabled*/.number-button-item.sc-calcite-input:disabled{pointer-events:none}/*!@.wrapper*/.wrapper.sc-calcite-input{position:relative;display:flex;flex-direction:row;align-items:center}/*!@:host input::-webkit-calendar-picker-indicator*/.sc-calcite-input-h input.sc-calcite-input::-webkit-calendar-picker-indicator{display:none}/*!@:host input[type=date]::-webkit-input-placeholder*/.sc-calcite-input-h input[type=date].sc-calcite-input::-webkit-input-placeholder{visibility:hidden !important}/*!@:host textarea::-webkit-resizer*/.sc-calcite-input-h textarea.sc-calcite-input::-webkit-resizer{position:absolute;inset-block-end:0px;box-sizing:border-box;padding-block:0px;padding-inline:0.25rem;inset-inline-end:0}/*!@.resize-icon-wrapper*/.resize-icon-wrapper.sc-calcite-input{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}/*!@.resize-icon-wrapper calcite-icon*/.resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{inset-block-end:0.25rem;inset-inline-end:0.25rem;transform:rotate(-45deg)}/*!@.calcite--rtl .resize-icon-wrapper calcite-icon*/.calcite--rtl.sc-calcite-input .resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{transform:rotate(45deg)}/*!@:host([type=color]) input*/[type=color].sc-calcite-input-h input.sc-calcite-input{padding:0.25rem}/*!@:host([type=file]) input*/[type=file].sc-calcite-input-h input.sc-calcite-input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}/*!@:host([type=file][scale=s]) input*/[type=file][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-block:1px;padding-inline:0.5rem}/*!@:host([type=file][scale=m]) input*/[type=file][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-block:0.25rem;padding-inline:0.75rem}/*!@:host([type=file][scale=l]) input*/[type=file][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-block:0.5rem;padding-inline:1rem}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-h input.sc-calcite-input{border-block-end-width:0px}/*!@:host(.border-top-color-one) input*/.border-top-color-one.sc-calcite-input-h input.sc-calcite-input{border-block-start-color:var(--calcite-ui-border-1)}/*!@:host .inline-child*/.sc-calcite-input-h .inline-child.sc-calcite-input{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host .inline-child .editing-enabled*/.sc-calcite-input-h .inline-child.sc-calcite-input .editing-enabled.sc-calcite-input{background-color:inherit}/*!@:host .inline-child:not(.editing-enabled)*/.sc-calcite-input-h .inline-child.sc-calcite-input:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
20782
20782
|
|
|
20783
20783
|
/**
|
|
20784
20784
|
* @slot action - A slot for positioning a `calcite-button` next to the component.
|
|
@@ -21337,34 +21337,34 @@ class Input {
|
|
|
21337
21337
|
// --------------------------------------------------------------------------
|
|
21338
21338
|
render() {
|
|
21339
21339
|
const dir = getElementDir(this.el);
|
|
21340
|
-
const loader = (hAsync("div", { class: CSS$
|
|
21341
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
21342
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
21340
|
+
const loader = (hAsync("div", { class: CSS$w.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
21341
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$w.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
21342
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$w.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
21343
21343
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
21344
21344
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
21345
|
-
[CSS$
|
|
21346
|
-
[CSS$
|
|
21347
|
-
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
21345
|
+
[CSS$w.numberButtonItem]: true,
|
|
21346
|
+
[CSS$w.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21347
|
+
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
21348
21348
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
21349
|
-
[CSS$
|
|
21350
|
-
[CSS$
|
|
21351
|
-
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
21352
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
21353
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
21354
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
21349
|
+
[CSS$w.numberButtonItem]: true,
|
|
21350
|
+
[CSS$w.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21351
|
+
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
21352
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$w.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
21353
|
+
const prefixText = hAsync("div", { class: CSS$w.prefix }, this.prefixText);
|
|
21354
|
+
const suffixText = hAsync("div", { class: CSS$w.suffix }, this.suffixText);
|
|
21355
21355
|
const localeNumberInput = this.type === "number" ? (hAsync("input", { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, multiple: this.multiple, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
21356
21356
|
const childEl = this.type !== "number"
|
|
21357
21357
|
? [
|
|
21358
21358
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
21359
|
-
[CSS$
|
|
21360
|
-
[CSS$
|
|
21359
|
+
[CSS$w.editingEnabled]: this.editingEnabled,
|
|
21360
|
+
[CSS$w.inlineChild]: !!this.inlineEditableEl
|
|
21361
21361
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
|
|
21362
|
-
this.isTextarea ? (hAsync("div", { class: CSS$
|
|
21362
|
+
this.isTextarea ? (hAsync("div", { class: CSS$w.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
|
|
21363
21363
|
]
|
|
21364
21364
|
: null;
|
|
21365
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
21365
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$w.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
21366
21366
|
? numberButtonsHorizontalDown
|
|
21367
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
21367
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$w.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$w.actionWrapper }, hAsync("slot", { name: SLOTS$h.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
21368
21368
|
? numberButtonsVertical
|
|
21369
21369
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
21370
21370
|
? numberButtonsHorizontalUp
|
|
@@ -21438,7 +21438,7 @@ class Input {
|
|
|
21438
21438
|
}; }
|
|
21439
21439
|
}
|
|
21440
21440
|
|
|
21441
|
-
const CSS$
|
|
21441
|
+
const CSS$v = {
|
|
21442
21442
|
menu: "menu-container",
|
|
21443
21443
|
menuActive: "menu-container--active"
|
|
21444
21444
|
};
|
|
@@ -21836,14 +21836,14 @@ class InputDatePicker {
|
|
|
21836
21836
|
useGrouping: false
|
|
21837
21837
|
};
|
|
21838
21838
|
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text" })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
21839
|
-
[CSS$
|
|
21840
|
-
[CSS$
|
|
21839
|
+
[CSS$v.menu]: true,
|
|
21840
|
+
[CSS$v.menuActive]: this.open
|
|
21841
21841
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
21842
21842
|
["calendar-picker-wrapper"]: true,
|
|
21843
21843
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
21844
21844
|
[FloatingCSS.animation]: true,
|
|
21845
21845
|
[FloatingCSS.animationActive]: this.open
|
|
21846
|
-
}, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
|
|
21846
|
+
}, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: this.scale === "l" ? "m" : "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: this.scale === "l" ? "m" : "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
|
|
21847
21847
|
input: true,
|
|
21848
21848
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
21849
21849
|
}, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text" }))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
@@ -22069,7 +22069,7 @@ class InputMessage {
|
|
|
22069
22069
|
}; }
|
|
22070
22070
|
}
|
|
22071
22071
|
|
|
22072
|
-
const CSS$
|
|
22072
|
+
const CSS$u = {
|
|
22073
22073
|
loader: "loader",
|
|
22074
22074
|
clearButton: "clear-button",
|
|
22075
22075
|
editingEnabled: "editing-enabled",
|
|
@@ -22089,7 +22089,7 @@ const SLOTS$g = {
|
|
|
22089
22089
|
action: "action"
|
|
22090
22090
|
};
|
|
22091
22091
|
|
|
22092
|
-
const inputNumberCss = "@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-input-number: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-input-number{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-number{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-number{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-number{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-number{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-number:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-input-number:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-input-number-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-number-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-number-h{display:block}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .suffix.sc-calcite-input-number{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .number-button-wrapper, :host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button*/[scale=s].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{block-size:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-block-size:1.5rem;min-inline-size:1.5rem}/*!@:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix*/[scale=m].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .suffix.sc-calcite-input-number{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .number-button-wrapper, :host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{block-size:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-block-size:2rem;min-inline-size:2rem}/*!@:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix*/[scale=l].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .suffix.sc-calcite-input-number{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .number-button-wrapper, :host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button*/[scale=l].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{block-size:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-block-size:2.75rem;min-inline-size:2.75rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-number-h[disabled] .sc-calcite-input-number-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-number-h [calcite-hydrated][disabled].sc-calcite-input-number{opacity:1}/*!@:host input*/.sc-calcite-input-number-h input.sc-calcite-input-number{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}/*!@:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder*/.sc-calcite-input-number-h input.sc-calcite-input-number::placeholder,.sc-calcite-input-number-h input.sc-calcite-input-number:-ms-input-placeholder,.sc-calcite-input-number-h input.sc-calcite-input-number::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@:host input:focus*/.sc-calcite-input-number-h input.sc-calcite-input-number:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly]*/.sc-calcite-input-number-h input[readonly].sc-calcite-input-number{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus*/.sc-calcite-input-number-h input[readonly].sc-calcite-input-number:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-number-h calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-3)}/*!@:host input*/.sc-calcite-input-number-h input.sc-calcite-input-number{outline-color:transparent}/*!@:host input:focus*/.sc-calcite-input-number-h input.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input*/[status=invalid].sc-calcite-input-number-h input.sc-calcite-input-number{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus*/[status=invalid].sc-calcite-input-number-h input.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-number-h input.sc-calcite-input-number{padding-inline-start:2rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-number-h input.sc-calcite-input-number{padding-inline-start:2.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-number-h input.sc-calcite-input-number{padding-inline-start:3rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input-number{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}/*!@.icon*/.icon.sc-calcite-input-number{pointer-events:none;position:absolute;z-index:1;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button*/.clear-button.sc-calcite-input-number{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}/*!@.clear-button:hover*/.clear-button.sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:hover calcite-icon*/.clear-button.sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:active*/.clear-button.sc-calcite-input-number:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input-number:active calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input-number:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.loader*/.loader.sc-calcite-input-number{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input-number{order:7;display:flex}/*!@.prefix,\n.suffix*/.prefix.sc-calcite-input-number,.suffix.sc-calcite-input-number{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}/*!@.prefix*/.prefix.sc-calcite-input-number{order:2;border-inline-end-width:0px}/*!@.suffix*/.suffix.sc-calcite-input-number{order:5;border-inline-start-width:0px}/*!@:host([alignment=start]) input*/[alignment=start].sc-calcite-input-number-h input.sc-calcite-input-number{text-align:start}/*!@:host([alignment=end]) input*/[alignment=end].sc-calcite-input-number-h input.sc-calcite-input-number{text-align:end}/*!@.number-button-wrapper*/.number-button-wrapper.sc-calcite-input-number{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host([number-button-type=vertical]) .wrapper*/[number-button-type=vertical].sc-calcite-input-number-h .wrapper.sc-calcite-input-number{flex-direction:row;display:flex}/*!@:host([number-button-type=vertical]) input*/[number-button-type=vertical].sc-calcite-input-number-h input.sc-calcite-input-number{order:2}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-number-h .calcite--rtl.sc-calcite-input-number .number-button-item[data-adjustment=down].sc-calcite-input-number calcite-icon.sc-calcite-input-number{transform:rotate(-90deg)}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-number-h .calcite--rtl.sc-calcite-input-number .number-button-item[data-adjustment=up].sc-calcite-input-number calcite-icon.sc-calcite-input-number{transform:rotate(-90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down], .number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon, .number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number calcite-icon.sc-calcite-input-number,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number calcite-icon.sc-calcite-input-number{transform:rotate(90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number{order:5}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=up].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=up].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number{border-block-start-width:0px}/*!@.number-button-item*/.number-button-item.sc-calcite-input-number{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}/*!@.number-button-item calcite-icon*/.number-button-item.sc-calcite-input-number calcite-icon.sc-calcite-input-number{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.number-button-item:focus*/.number-button-item.sc-calcite-input-number:focus{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item:focus calcite-icon*/.number-button-item.sc-calcite-input-number:focus calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.number-button-item:active*/.number-button-item.sc-calcite-input-number:active{background-color:var(--calcite-ui-foreground-3)}/*!@.number-button-item:disabled*/.number-button-item.sc-calcite-input-number:disabled{pointer-events:none}/*!@.wrapper*/.wrapper.sc-calcite-input-number{position:relative;display:flex;flex-direction:row;align-items:center}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-number-h input.sc-calcite-input-number{border-block-end-width:0px}/*!@:host(.border-top-color-one) input*/.border-top-color-one.sc-calcite-input-number-h input.sc-calcite-input-number{border-block-start-color:var(--calcite-ui-border-1)}/*!@:host .inline-child*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host .inline-child .editing-enabled*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number .editing-enabled.sc-calcite-input-number{background-color:inherit}/*!@:host .inline-child:not(.editing-enabled)*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-number-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
22092
|
+
const inputNumberCss = "@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-input-number: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-input-number{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-number{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-number{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-number{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-number{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-number:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-input-number:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-input-number-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-number-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-number-h{display:block}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .suffix.sc-calcite-input-number{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .number-button-wrapper, :host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button*/[scale=s].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=s].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{block-size:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-block-size:1.5rem;min-inline-size:1.5rem}/*!@:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix*/[scale=m].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .suffix.sc-calcite-input-number{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .number-button-wrapper, :host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=m].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{block-size:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-block-size:2rem;min-inline-size:2rem}/*!@:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix*/[scale=l].sc-calcite-input-number-h input.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .prefix.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .suffix.sc-calcite-input-number{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .number-button-wrapper, :host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button*/[scale=l].sc-calcite-input-number-h .number-button-wrapper.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number,[scale=l].sc-calcite-input-number-h .action-wrapper.sc-calcite-input-number calcite-button.sc-calcite-input-number button.sc-calcite-input-number{block-size:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-number-h .clear-button.sc-calcite-input-number{min-block-size:2.75rem;min-inline-size:2.75rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-number-h[disabled] .sc-calcite-input-number-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-number-h [calcite-hydrated][disabled].sc-calcite-input-number{opacity:1}/*!@:host input*/.sc-calcite-input-number-h input.sc-calcite-input-number{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}/*!@:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder*/.sc-calcite-input-number-h input.sc-calcite-input-number::placeholder,.sc-calcite-input-number-h input.sc-calcite-input-number:-ms-input-placeholder,.sc-calcite-input-number-h input.sc-calcite-input-number::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@:host input:focus*/.sc-calcite-input-number-h input.sc-calcite-input-number:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly]*/.sc-calcite-input-number-h input[readonly].sc-calcite-input-number{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus*/.sc-calcite-input-number-h input[readonly].sc-calcite-input-number:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-number-h calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-3)}/*!@:host input*/.sc-calcite-input-number-h input.sc-calcite-input-number{outline-color:transparent}/*!@:host input:focus*/.sc-calcite-input-number-h input.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input*/[status=invalid].sc-calcite-input-number-h input.sc-calcite-input-number{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus*/[status=invalid].sc-calcite-input-number-h input.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-number-h .icon.sc-calcite-input-number{inset-inline-start:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-number-h input.sc-calcite-input-number{padding-inline-start:2rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-number-h input.sc-calcite-input-number{padding-inline-start:2.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-number-h input.sc-calcite-input-number{padding-inline-start:3.5rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input-number{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}/*!@.icon*/.icon.sc-calcite-input-number{pointer-events:none;position:absolute;z-index:1;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button*/.clear-button.sc-calcite-input-number{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}/*!@.clear-button:hover*/.clear-button.sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:hover calcite-icon*/.clear-button.sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:active*/.clear-button.sc-calcite-input-number:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input-number:active calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input-number:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input-number:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.loader*/.loader.sc-calcite-input-number{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input-number{order:7;display:flex}/*!@.prefix,\n.suffix*/.prefix.sc-calcite-input-number,.suffix.sc-calcite-input-number{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}/*!@.prefix*/.prefix.sc-calcite-input-number{order:2;border-inline-end-width:0px}/*!@.suffix*/.suffix.sc-calcite-input-number{order:5;border-inline-start-width:0px}/*!@:host([alignment=start]) input*/[alignment=start].sc-calcite-input-number-h input.sc-calcite-input-number{text-align:start}/*!@:host([alignment=end]) input*/[alignment=end].sc-calcite-input-number-h input.sc-calcite-input-number{text-align:end}/*!@.number-button-wrapper*/.number-button-wrapper.sc-calcite-input-number{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host([number-button-type=vertical]) .wrapper*/[number-button-type=vertical].sc-calcite-input-number-h .wrapper.sc-calcite-input-number{flex-direction:row;display:flex}/*!@:host([number-button-type=vertical]) input*/[number-button-type=vertical].sc-calcite-input-number-h input.sc-calcite-input-number{order:2}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-number-h .calcite--rtl.sc-calcite-input-number .number-button-item[data-adjustment=down].sc-calcite-input-number calcite-icon.sc-calcite-input-number{transform:rotate(-90deg)}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-number-h .calcite--rtl.sc-calcite-input-number .number-button-item[data-adjustment=up].sc-calcite-input-number calcite-icon.sc-calcite-input-number{transform:rotate(-90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down], .number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon, .number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number calcite-icon.sc-calcite-input-number,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number calcite-icon.sc-calcite-input-number{transform:rotate(90deg)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number{order:5}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=up].sc-calcite-input-number:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=up].sc-calcite-input-number:hover calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]*/[number-button-type=vertical].sc-calcite-input-number-h .number-button-item[data-adjustment=down].sc-calcite-input-number{border-block-start-width:0px}/*!@.number-button-item*/.number-button-item.sc-calcite-input-number{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}/*!@.number-button-item calcite-icon*/.number-button-item.sc-calcite-input-number calcite-icon.sc-calcite-input-number{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.number-button-item:focus*/.number-button-item.sc-calcite-input-number:focus{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item:focus calcite-icon*/.number-button-item.sc-calcite-input-number:focus calcite-icon.sc-calcite-input-number{color:var(--calcite-ui-text-1)}/*!@.number-button-item:active*/.number-button-item.sc-calcite-input-number:active{background-color:var(--calcite-ui-foreground-3)}/*!@.number-button-item:disabled*/.number-button-item.sc-calcite-input-number:disabled{pointer-events:none}/*!@.wrapper*/.wrapper.sc-calcite-input-number{position:relative;display:flex;flex-direction:row;align-items:center}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-number-h input.sc-calcite-input-number{border-block-end-width:0px}/*!@:host(.border-top-color-one) input*/.border-top-color-one.sc-calcite-input-number-h input.sc-calcite-input-number{border-block-start-color:var(--calcite-ui-border-1)}/*!@:host .inline-child*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@:host .inline-child .editing-enabled*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number .editing-enabled.sc-calcite-input-number{background-color:inherit}/*!@:host .inline-child:not(.editing-enabled)*/.sc-calcite-input-number-h .inline-child.sc-calcite-input-number:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-number-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
22093
22093
|
|
|
22094
22094
|
/**
|
|
22095
22095
|
* @slot action - A slot for positioning a button next to the component.
|
|
@@ -22559,25 +22559,25 @@ class InputNumber {
|
|
|
22559
22559
|
// --------------------------------------------------------------------------
|
|
22560
22560
|
render() {
|
|
22561
22561
|
const dir = getElementDir(this.el);
|
|
22562
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22563
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
22564
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22562
|
+
const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
22563
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$u.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
22564
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
22565
22565
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
22566
22566
|
const numberButtonsHorizontalUp = (hAsync("button", { "aria-hidden": "true", class: {
|
|
22567
|
-
[CSS$
|
|
22568
|
-
[CSS$
|
|
22569
|
-
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
22567
|
+
[CSS$u.numberButtonItem]: true,
|
|
22568
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22569
|
+
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
22570
22570
|
const numberButtonsHorizontalDown = (hAsync("button", { "aria-hidden": "true", class: {
|
|
22571
|
-
[CSS$
|
|
22572
|
-
[CSS$
|
|
22573
|
-
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
22574
|
-
const numberButtonsVertical = (hAsync("div", { class: CSS$
|
|
22575
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22576
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22571
|
+
[CSS$u.numberButtonItem]: true,
|
|
22572
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22573
|
+
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
22574
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$u.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
22575
|
+
const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
|
|
22576
|
+
const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
|
|
22577
22577
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
22578
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22578
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$u.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
22579
22579
|
? numberButtonsHorizontalDown
|
|
22580
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
22580
|
+
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$u.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$u.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
22581
22581
|
? numberButtonsHorizontalUp
|
|
22582
22582
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
22583
22583
|
}
|
|
@@ -22643,7 +22643,7 @@ class InputNumber {
|
|
|
22643
22643
|
}; }
|
|
22644
22644
|
}
|
|
22645
22645
|
|
|
22646
|
-
const CSS$
|
|
22646
|
+
const CSS$t = {
|
|
22647
22647
|
loader: "loader",
|
|
22648
22648
|
clearButton: "clear-button",
|
|
22649
22649
|
editingEnabled: "editing-enabled",
|
|
@@ -22660,7 +22660,7 @@ const SLOTS$f = {
|
|
|
22660
22660
|
action: "action"
|
|
22661
22661
|
};
|
|
22662
22662
|
|
|
22663
|
-
const inputTextCss = "@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-input-text: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-input-text{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-text{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-text{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-text{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-text{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-text:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-input-text:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-input-text-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-text-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-text-h{display:block}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button*/[scale=s].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:1.5rem;min-inline-size:1.5rem}/*!@:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix*/[scale=m].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:2rem;min-inline-size:2rem}/*!@:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix*/[scale=l].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button*/[scale=l].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:2.75rem;min-inline-size:2.75rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-text-h[disabled] .sc-calcite-input-text-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-text-h [calcite-hydrated][disabled].sc-calcite-input-text{opacity:1}/*!@input*/input.sc-calcite-input-text{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}/*!@:host input*/.sc-calcite-input-text-h input.sc-calcite-input-text{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}/*!@:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder*/.sc-calcite-input-text-h input.sc-calcite-input-text::placeholder,.sc-calcite-input-text-h input.sc-calcite-input-text:-ms-input-placeholder,.sc-calcite-input-text-h input.sc-calcite-input-text::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@:host input:focus*/.sc-calcite-input-text-h input.sc-calcite-input-text:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly]*/.sc-calcite-input-text-h input[readonly].sc-calcite-input-text{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus*/.sc-calcite-input-text-h input[readonly].sc-calcite-input-text:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-text-h calcite-icon.sc-calcite-input-text{color:var(--calcite-ui-text-3)}/*!@input*/input.sc-calcite-input-text{outline-color:transparent}/*!@input:focus*/input.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input*/[status=invalid].sc-calcite-input-text-h input.sc-calcite-input-text{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus*/[status=invalid].sc-calcite-input-text-h input.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-text-h input.sc-calcite-input-text{padding-inline-start:2rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-text-h input.sc-calcite-input-text{padding-inline-start:2.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-text-h input.sc-calcite-input-text{padding-inline-start:3rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input-text{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}/*!@.icon*/.icon.sc-calcite-input-text{pointer-events:none;position:absolute;z-index:1;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@input[type=text]::-ms-clear,\ninput[type=text]::-ms-reveal*/input[type=text].sc-calcite-input-text::-ms-clear,input[type=text].sc-calcite-input-text::-ms-reveal{display:none;block-size:0px;inline-size:0px}/*!@.clear-button*/.clear-button.sc-calcite-input-text{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}/*!@.clear-button:hover*/.clear-button.sc-calcite-input-text:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:hover calcite-icon*/.clear-button.sc-calcite-input-text:hover calcite-icon.sc-calcite-input-text{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:active*/.clear-button.sc-calcite-input-text:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input-text:active calcite-icon.sc-calcite-input-text{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input-text:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.loader*/.loader.sc-calcite-input-text{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input-text{order:7;display:flex}/*!@.prefix,\n.suffix*/.prefix.sc-calcite-input-text,.suffix.sc-calcite-input-text{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}/*!@.prefix*/.prefix.sc-calcite-input-text{order:2;border-inline-end-width:0px}/*!@.suffix*/.suffix.sc-calcite-input-text{order:5;border-inline-start-width:0px}/*!@:host([alignment=start]) input*/[alignment=start].sc-calcite-input-text-h input.sc-calcite-input-text{text-align:start}/*!@:host([alignment=end]) input*/[alignment=end].sc-calcite-input-text-h input.sc-calcite-input-text{text-align:end}/*!@.wrapper*/.wrapper.sc-calcite-input-text{position:relative;display:flex;flex-direction:row;align-items:center}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-text-h input.sc-calcite-input-text{border-block-end-width:0px}/*!@:host(.border-top-color-one) input*/.border-top-color-one.sc-calcite-input-text-h input.sc-calcite-input-text{border-block-start-color:var(--calcite-ui-border-1)}/*!@.inline-child*/.inline-child.sc-calcite-input-text{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.inline-child .editing-enabled*/.inline-child.sc-calcite-input-text .editing-enabled.sc-calcite-input-text{background-color:inherit}/*!@.inline-child:not(.editing-enabled)*/.inline-child.sc-calcite-input-text:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-text-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
22663
|
+
const inputTextCss = "@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-input-text: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-input-text{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-input-text{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input-text{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input-text{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input-text{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-input-text:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-input-text:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-input-text-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-input-text-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-input-text-h{display:block}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=s]) .action-wrapper calcite-button, :host([scale=s]) .action-wrapper calcite-button button*/[scale=s].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=s].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:1.5rem;min-inline-size:1.5rem}/*!@:host([scale=m]) input, :host([scale=m]) .prefix, :host([scale=m]) .suffix*/[scale=m].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=m].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:2rem;min-inline-size:2rem}/*!@:host([scale=l]) input, :host([scale=l]) .prefix, :host([scale=l]) .suffix*/[scale=l].sc-calcite-input-text-h input.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .prefix.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .suffix.sc-calcite-input-text{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=l]) .action-wrapper calcite-button, :host([scale=l]) .action-wrapper calcite-button button*/[scale=l].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text,[scale=l].sc-calcite-input-text-h .action-wrapper.sc-calcite-input-text calcite-button.sc-calcite-input-text button.sc-calcite-input-text{block-size:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-text-h .clear-button.sc-calcite-input-text{min-block-size:2.75rem;min-inline-size:2.75rem}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-input-text-h[disabled] .sc-calcite-input-text-s>[calcite-hydrated][disabled],[disabled].sc-calcite-input-text-h [calcite-hydrated][disabled].sc-calcite-input-text{opacity:1}/*!@input*/input.sc-calcite-input-text{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}/*!@:host input*/.sc-calcite-input-text-h input.sc-calcite-input-text{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}/*!@:host input::placeholder, :host input:-ms-input-placeholder, :host input::-ms-input-placeholder*/.sc-calcite-input-text-h input.sc-calcite-input-text::placeholder,.sc-calcite-input-text-h input.sc-calcite-input-text:-ms-input-placeholder,.sc-calcite-input-text-h input.sc-calcite-input-text::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@:host input:focus*/.sc-calcite-input-text-h input.sc-calcite-input-text:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly]*/.sc-calcite-input-text-h input[readonly].sc-calcite-input-text{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus*/.sc-calcite-input-text-h input[readonly].sc-calcite-input-text:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-text-h calcite-icon.sc-calcite-input-text{color:var(--calcite-ui-text-3)}/*!@input*/input.sc-calcite-input-text{outline-color:transparent}/*!@input:focus*/input.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input*/[status=invalid].sc-calcite-input-text-h input.sc-calcite-input-text{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus*/[status=invalid].sc-calcite-input-text-h input.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-text-h .icon.sc-calcite-input-text{inset-inline-start:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-text-h input.sc-calcite-input-text{padding-inline-start:2rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-text-h input.sc-calcite-input-text{padding-inline-start:2.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-text-h input.sc-calcite-input-text{padding-inline-start:3.5rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input-text{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}/*!@.icon*/.icon.sc-calcite-input-text{pointer-events:none;position:absolute;z-index:1;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@input[type=text]::-ms-clear,\ninput[type=text]::-ms-reveal*/input[type=text].sc-calcite-input-text::-ms-clear,input[type=text].sc-calcite-input-text::-ms-reveal{display:none;block-size:0px;inline-size:0px}/*!@.clear-button*/.clear-button.sc-calcite-input-text{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}/*!@.clear-button:hover*/.clear-button.sc-calcite-input-text:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:hover calcite-icon*/.clear-button.sc-calcite-input-text:hover calcite-icon.sc-calcite-input-text{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.clear-button:active*/.clear-button.sc-calcite-input-text:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input-text:active calcite-icon.sc-calcite-input-text{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input-text:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input-text:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.loader*/.loader.sc-calcite-input-text{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input-text{order:7;display:flex}/*!@.prefix,\n.suffix*/.prefix.sc-calcite-input-text,.suffix.sc-calcite-input-text{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}/*!@.prefix*/.prefix.sc-calcite-input-text{order:2;border-inline-end-width:0px}/*!@.suffix*/.suffix.sc-calcite-input-text{order:5;border-inline-start-width:0px}/*!@:host([alignment=start]) input*/[alignment=start].sc-calcite-input-text-h input.sc-calcite-input-text{text-align:start}/*!@:host([alignment=end]) input*/[alignment=end].sc-calcite-input-text-h input.sc-calcite-input-text{text-align:end}/*!@.wrapper*/.wrapper.sc-calcite-input-text{position:relative;display:flex;flex-direction:row;align-items:center}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-text-h input.sc-calcite-input-text{border-block-end-width:0px}/*!@:host(.border-top-color-one) input*/.border-top-color-one.sc-calcite-input-text-h input.sc-calcite-input-text{border-block-start-color:var(--calcite-ui-border-1)}/*!@.inline-child*/.inline-child.sc-calcite-input-text{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.inline-child .editing-enabled*/.inline-child.sc-calcite-input-text .editing-enabled.sc-calcite-input-text{background-color:inherit}/*!@.inline-child:not(.editing-enabled)*/.inline-child.sc-calcite-input-text:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-input-text-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
22664
22664
|
|
|
22665
22665
|
/**
|
|
22666
22666
|
* @slot action - A slot for positioning a button next to the component.
|
|
@@ -22937,16 +22937,16 @@ class InputText {
|
|
|
22937
22937
|
// --------------------------------------------------------------------------
|
|
22938
22938
|
render() {
|
|
22939
22939
|
const dir = getElementDir(this.el);
|
|
22940
|
-
const loader = (hAsync("div", { class: CSS$
|
|
22941
|
-
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$
|
|
22942
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
22943
|
-
const prefixText = hAsync("div", { class: CSS$
|
|
22944
|
-
const suffixText = hAsync("div", { class: CSS$
|
|
22940
|
+
const loader = (hAsync("div", { class: CSS$t.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
22941
|
+
const inputClearButton = (hAsync("button", { "aria-label": this.messages.clear, class: CSS$t.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
22942
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
22943
|
+
const prefixText = hAsync("div", { class: CSS$t.prefix }, this.prefixText);
|
|
22944
|
+
const suffixText = hAsync("div", { class: CSS$t.suffix }, this.suffixText);
|
|
22945
22945
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
22946
|
-
[CSS$
|
|
22947
|
-
[CSS$
|
|
22946
|
+
[CSS$t.editingEnabled]: this.editingEnabled,
|
|
22947
|
+
[CSS$t.inlineChild]: !!this.inlineEditableEl
|
|
22948
22948
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value }));
|
|
22949
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
22949
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$t.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$t.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$t.actionWrapper }, hAsync("slot", { name: SLOTS$f.action })), this.suffixText ? suffixText : null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
22950
22950
|
}
|
|
22951
22951
|
static get assetsDirs() { return ["assets"]; }
|
|
22952
22952
|
get el() { return getElement(this); }
|
|
@@ -23479,7 +23479,7 @@ class InputTimePicker {
|
|
|
23479
23479
|
}; }
|
|
23480
23480
|
}
|
|
23481
23481
|
|
|
23482
|
-
const CSS$
|
|
23482
|
+
const CSS$s = {
|
|
23483
23483
|
container: "container"
|
|
23484
23484
|
};
|
|
23485
23485
|
|
|
@@ -23519,7 +23519,7 @@ class Label {
|
|
|
23519
23519
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
23520
23520
|
}
|
|
23521
23521
|
render() {
|
|
23522
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
23522
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$s.container }, hAsync("slot", null))));
|
|
23523
23523
|
}
|
|
23524
23524
|
get el() { return getElement(this); }
|
|
23525
23525
|
static get style() { return labelCss; }
|
|
@@ -23643,7 +23643,7 @@ class Link {
|
|
|
23643
23643
|
}; }
|
|
23644
23644
|
}
|
|
23645
23645
|
|
|
23646
|
-
const CSS$
|
|
23646
|
+
const CSS$r = {
|
|
23647
23647
|
container: "container",
|
|
23648
23648
|
containerBorderSelected: "container--border-selected",
|
|
23649
23649
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -23703,7 +23703,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
23703
23703
|
}
|
|
23704
23704
|
}
|
|
23705
23705
|
|
|
23706
|
-
const CSS$
|
|
23706
|
+
const CSS$q = {
|
|
23707
23707
|
container: "container",
|
|
23708
23708
|
table: "table",
|
|
23709
23709
|
scrim: "scrim",
|
|
@@ -23950,7 +23950,7 @@ class List$1 {
|
|
|
23950
23950
|
// --------------------------------------------------------------------------
|
|
23951
23951
|
render() {
|
|
23952
23952
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
23953
|
-
return (hAsync("div", { class: CSS$
|
|
23953
|
+
return (hAsync("div", { class: CSS$q.container }, loading ? hAsync("calcite-scrim", { class: CSS$q.scrim, loading: loading }) : null, hAsync("table", { "aria-busy": toAriaBoolean(loading), "aria-label": label || "", class: CSS$q.table, onKeyDown: this.handleListKeydown, role: "treegrid" }, filterEnabled ? (hAsync("thead", null, hAsync("tr", { class: { [CSS$q.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$q.tableContainer }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange })))));
|
|
23954
23954
|
}
|
|
23955
23955
|
get el() { return getElement(this); }
|
|
23956
23956
|
static get watchers() { return {
|
|
@@ -24199,7 +24199,7 @@ class ListItem {
|
|
|
24199
24199
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
24200
24200
|
return null;
|
|
24201
24201
|
}
|
|
24202
|
-
return (hAsync("td", { class: CSS$
|
|
24202
|
+
return (hAsync("td", { class: CSS$r.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
24203
24203
|
? selectionMode === "multiple"
|
|
24204
24204
|
? ICONS$6.selectedMultiple
|
|
24205
24205
|
: ICONS$6.selectedSingle
|
|
@@ -24208,31 +24208,31 @@ class ListItem {
|
|
|
24208
24208
|
renderOpen() {
|
|
24209
24209
|
const { el, open, openable, parentListEl } = this;
|
|
24210
24210
|
const dir = getElementDir(el);
|
|
24211
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
24211
|
+
return openable ? (hAsync("td", { class: CSS$r.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$r.openContainer, key: "open-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: ICONS$6.blank, scale: "s" }))) : null;
|
|
24212
24212
|
}
|
|
24213
24213
|
renderActionsStart() {
|
|
24214
24214
|
const { label, hasActionsStart } = this;
|
|
24215
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
24215
|
+
return (hAsync("td", { "aria-label": label, class: CSS$r.actionsStart, hidden: !hasActionsStart, key: "actions-start-container", ref: (el) => (this.actionsStartEl = el), role: "gridcell" }, hAsync("slot", { name: SLOTS$e.actionsStart, onSlotchange: this.handleActionsStartSlotChange })));
|
|
24216
24216
|
}
|
|
24217
24217
|
renderActionsEnd() {
|
|
24218
24218
|
const { label, hasActionsEnd } = this;
|
|
24219
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
24219
|
+
return (hAsync("td", { "aria-label": label, class: CSS$r.actionsEnd, hidden: !hasActionsEnd, key: "actions-end-container", ref: (el) => (this.actionsEndEl = el), role: "gridcell" }, hAsync("slot", { name: SLOTS$e.actionsEnd, onSlotchange: this.handleActionsEndSlotChange })));
|
|
24220
24220
|
}
|
|
24221
24221
|
renderContentStart() {
|
|
24222
24222
|
const { hasContentStart } = this;
|
|
24223
|
-
return (hAsync("div", { class: CSS$
|
|
24223
|
+
return (hAsync("div", { class: CSS$r.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$e.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
24224
24224
|
}
|
|
24225
24225
|
renderCustomContent() {
|
|
24226
24226
|
const { hasCustomContent } = this;
|
|
24227
|
-
return (hAsync("div", { class: CSS$
|
|
24227
|
+
return (hAsync("div", { class: CSS$r.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$e.content, onSlotchange: this.handleContentSlotChange })));
|
|
24228
24228
|
}
|
|
24229
24229
|
renderContentEnd() {
|
|
24230
24230
|
const { hasContentEnd } = this;
|
|
24231
|
-
return (hAsync("div", { class: CSS$
|
|
24231
|
+
return (hAsync("div", { class: CSS$r.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
24232
24232
|
}
|
|
24233
24233
|
renderContentProperties() {
|
|
24234
24234
|
const { label, description, hasCustomContent } = this;
|
|
24235
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
24235
|
+
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$r.content, key: "content" }, label ? (hAsync("div", { class: CSS$r.label, key: "label" }, label)) : null, description ? (hAsync("div", { class: CSS$r.description, key: "description" }, description)) : null)) : null;
|
|
24236
24236
|
}
|
|
24237
24237
|
renderContentContainer() {
|
|
24238
24238
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -24244,9 +24244,9 @@ class ListItem {
|
|
|
24244
24244
|
this.renderContentEnd()
|
|
24245
24245
|
];
|
|
24246
24246
|
return (hAsync("td", { "aria-label": label, class: {
|
|
24247
|
-
[CSS$
|
|
24248
|
-
[CSS$
|
|
24249
|
-
[CSS$
|
|
24247
|
+
[CSS$r.contentContainer]: true,
|
|
24248
|
+
[CSS$r.contentContainerSelectable]: selectionMode !== "none",
|
|
24249
|
+
[CSS$r.contentContainerHasCenterContent]: hasCenterContent
|
|
24250
24250
|
}, key: "content-container", onClick: this.itemClicked, ref: (el) => (this.contentEl = el), role: "gridcell" }, content));
|
|
24251
24251
|
}
|
|
24252
24252
|
render() {
|
|
@@ -24255,12 +24255,12 @@ class ListItem {
|
|
|
24255
24255
|
const borderSelected = showBorder && selected;
|
|
24256
24256
|
const borderUnselected = showBorder && !selected;
|
|
24257
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: {
|
|
24258
|
-
[CSS$
|
|
24259
|
-
[CSS$
|
|
24260
|
-
[CSS$
|
|
24258
|
+
[CSS$r.container]: true,
|
|
24259
|
+
[CSS$r.containerBorderSelected]: borderSelected,
|
|
24260
|
+
[CSS$r.containerBorderUnselected]: borderUnselected
|
|
24261
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: {
|
|
24262
|
-
[CSS$
|
|
24263
|
-
[CSS$
|
|
24262
|
+
[CSS$r.nestedContainer]: true,
|
|
24263
|
+
[CSS$r.nestedContainerHidden]: openable && !open
|
|
24264
24264
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
24265
24265
|
}
|
|
24266
24266
|
setSelectionDefaults() {
|
|
@@ -24314,7 +24314,7 @@ class ListItem {
|
|
|
24314
24314
|
}; }
|
|
24315
24315
|
}
|
|
24316
24316
|
|
|
24317
|
-
const CSS$
|
|
24317
|
+
const CSS$p = {
|
|
24318
24318
|
container: "container",
|
|
24319
24319
|
heading: "heading"
|
|
24320
24320
|
};
|
|
@@ -24350,7 +24350,7 @@ class ListItemGroup {
|
|
|
24350
24350
|
// --------------------------------------------------------------------------
|
|
24351
24351
|
render() {
|
|
24352
24352
|
const { heading, visualLevel } = this;
|
|
24353
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
24353
|
+
return (hAsync(Host, null, hAsync("tr", { class: CSS$p.container, style: { "--calcite-list-item-spacing-indent-multiplier": `${visualLevel}` } }, hAsync("td", { class: CSS$p.heading, colSpan: MAX_COLUMNS }, heading)), hAsync("slot", null)));
|
|
24354
24354
|
}
|
|
24355
24355
|
get el() { return getElement(this); }
|
|
24356
24356
|
static get style() { return listItemGroupCss; }
|
|
@@ -25242,7 +25242,7 @@ function updateFocusTrapElements(component) {
|
|
|
25242
25242
|
component.focusTrap?.updateContainerElements(component.focusTrapEl);
|
|
25243
25243
|
}
|
|
25244
25244
|
|
|
25245
|
-
const CSS$
|
|
25245
|
+
const CSS$o = {
|
|
25246
25246
|
modal: "modal",
|
|
25247
25247
|
modalOpen: "modal--open",
|
|
25248
25248
|
title: "title",
|
|
@@ -25255,6 +25255,8 @@ const CSS$n = {
|
|
|
25255
25255
|
primary: "primary",
|
|
25256
25256
|
overflowHidden: "overflow-hidden",
|
|
25257
25257
|
container: "container",
|
|
25258
|
+
content: "content",
|
|
25259
|
+
contentNoFooter: "content--no-footer",
|
|
25258
25260
|
slottedInShell: "slotted-in-shell",
|
|
25259
25261
|
// these classes help apply the animation in phases to only set transform on open/close
|
|
25260
25262
|
// this helps avoid a positioning issue for any floating-ui-owning children
|
|
@@ -25274,7 +25276,7 @@ const SLOTS$d = {
|
|
|
25274
25276
|
primary: "primary"
|
|
25275
25277
|
};
|
|
25276
25278
|
|
|
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}";
|
|
25279
|
+
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;padding-block:var(--calcite-modal-padding-internal);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:100%;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-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@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%}/*!@: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-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@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%}/*!@: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-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@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%}/*!@: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%;border-radius:0px;--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:var(--calcite-modal-height, auto)}/*!@:host([docked]) .content*/[docked].sc-calcite-modal-h .content.sc-calcite-modal{block-size:auto;flex:1 1 auto}/*!@: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}";
|
|
25278
25280
|
|
|
25279
25281
|
/**
|
|
25280
25282
|
* @slot header - A slot for adding header text.
|
|
@@ -25291,6 +25293,7 @@ class Modal {
|
|
|
25291
25293
|
this.calciteModalBeforeOpen = createEvent(this, "calciteModalBeforeOpen", 6);
|
|
25292
25294
|
this.calciteModalOpen = createEvent(this, "calciteModalOpen", 6);
|
|
25293
25295
|
this.mutationObserver = createObserver();
|
|
25296
|
+
this.cssVarObserver = createObserver();
|
|
25294
25297
|
this.openTransitionProp = "opacity";
|
|
25295
25298
|
//--------------------------------------------------------------------------
|
|
25296
25299
|
//
|
|
@@ -25323,6 +25326,10 @@ class Modal {
|
|
|
25323
25326
|
this.updateFooterVisibility = () => {
|
|
25324
25327
|
this.hasFooter = !!getSlotted(this.el, [SLOTS$d.back, SLOTS$d.primary, SLOTS$d.secondary]);
|
|
25325
25328
|
};
|
|
25329
|
+
this.updateSizeCssVars = () => {
|
|
25330
|
+
this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");
|
|
25331
|
+
this.cssHeight = getComputedStyle(this.el).getPropertyValue("--calcite-modal-height");
|
|
25332
|
+
};
|
|
25326
25333
|
this.open = false;
|
|
25327
25334
|
this.beforeClose = () => Promise.resolve();
|
|
25328
25335
|
this.closeButtonDisabled = false;
|
|
@@ -25337,6 +25344,8 @@ class Modal {
|
|
|
25337
25344
|
this.messages = undefined;
|
|
25338
25345
|
this.messageOverrides = undefined;
|
|
25339
25346
|
this.slottedInShell = undefined;
|
|
25347
|
+
this.cssWidth = undefined;
|
|
25348
|
+
this.cssHeight = undefined;
|
|
25340
25349
|
this.hasFooter = true;
|
|
25341
25350
|
this.isOpen = false;
|
|
25342
25351
|
this.effectiveLocale = undefined;
|
|
@@ -25370,7 +25379,9 @@ class Modal {
|
|
|
25370
25379
|
}
|
|
25371
25380
|
connectedCallback() {
|
|
25372
25381
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
25382
|
+
this.cssVarObserver?.observe(this.el, { attributeFilter: ["style"] });
|
|
25373
25383
|
this.updateFooterVisibility();
|
|
25384
|
+
this.updateSizeCssVars();
|
|
25374
25385
|
connectConditionalSlotComponent(this);
|
|
25375
25386
|
connectLocalized(this);
|
|
25376
25387
|
connectMessages(this);
|
|
@@ -25378,6 +25389,7 @@ class Modal {
|
|
|
25378
25389
|
disconnectedCallback() {
|
|
25379
25390
|
this.removeOverflowHiddenClass();
|
|
25380
25391
|
this.mutationObserver?.disconnect();
|
|
25392
|
+
this.cssVarObserver?.disconnect();
|
|
25381
25393
|
disconnectConditionalSlotComponent(this);
|
|
25382
25394
|
deactivateFocusTrap(this);
|
|
25383
25395
|
disconnectLocalized(this);
|
|
@@ -25385,41 +25397,53 @@ class Modal {
|
|
|
25385
25397
|
this.slottedInShell = false;
|
|
25386
25398
|
}
|
|
25387
25399
|
render() {
|
|
25388
|
-
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
25389
|
-
[CSS$
|
|
25390
|
-
[CSS$
|
|
25391
|
-
}
|
|
25392
|
-
|
|
25393
|
-
|
|
25400
|
+
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
25401
|
+
[CSS$o.container]: true,
|
|
25402
|
+
[CSS$o.slottedInShell]: this.slottedInShell
|
|
25403
|
+
} }, hAsync("calcite-scrim", { class: CSS$o.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
25404
|
+
[CSS$o.modal]: true,
|
|
25405
|
+
[CSS$o.modalOpen]: this.isOpen
|
|
25406
|
+
}, ref: this.setTransitionEl }, hAsync("div", { class: CSS$o.header }, this.renderCloseButton(), hAsync("header", { class: CSS$o.title }, hAsync("slot", { name: CSS$o.header }))), hAsync("div", { class: {
|
|
25407
|
+
[CSS$o.content]: true,
|
|
25408
|
+
[CSS$o.contentNoFooter]: !this.hasFooter
|
|
25394
25409
|
}, ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$d.content })), this.renderFooter()))));
|
|
25395
25410
|
}
|
|
25396
25411
|
renderFooter() {
|
|
25397
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
25412
|
+
return this.hasFooter ? (hAsync("div", { class: CSS$o.footer, key: "footer" }, hAsync("span", { class: CSS$o.back }, hAsync("slot", { name: SLOTS$d.back })), hAsync("span", { class: CSS$o.secondary }, hAsync("slot", { name: SLOTS$d.secondary })), hAsync("span", { class: CSS$o.primary }, hAsync("slot", { name: SLOTS$d.primary })))) : null;
|
|
25398
25413
|
}
|
|
25399
25414
|
renderCloseButton() {
|
|
25400
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
25415
|
+
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$o.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.messages.close }, hAsync("calcite-icon", { icon: ICONS$5.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
25401
25416
|
}
|
|
25402
25417
|
renderStyle() {
|
|
25403
|
-
|
|
25404
|
-
|
|
25405
|
-
|
|
25406
|
-
|
|
25407
|
-
|
|
25408
|
-
|
|
25409
|
-
|
|
25410
|
-
|
|
25411
|
-
|
|
25412
|
-
|
|
25413
|
-
max-width:
|
|
25414
|
-
|
|
25415
|
-
|
|
25416
|
-
|
|
25417
|
-
|
|
25418
|
-
|
|
25419
|
-
|
|
25420
|
-
|
|
25421
|
-
|
|
25422
|
-
|
|
25418
|
+
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
25419
|
+
return (hAsync("style", null, `.${CSS$o.container} {
|
|
25420
|
+
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
25421
|
+
}
|
|
25422
|
+
.${CSS$o.modal} {
|
|
25423
|
+
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
25424
|
+
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
25425
|
+
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
25426
|
+
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
25427
|
+
}
|
|
25428
|
+
@media screen and (max-width: ${this.cssWidth}) {
|
|
25429
|
+
.${CSS$o.container} {
|
|
25430
|
+
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
25431
|
+
}
|
|
25432
|
+
.${CSS$o.modal} {
|
|
25433
|
+
max-block-size: 100% !important;
|
|
25434
|
+
inline-size: 100% !important;
|
|
25435
|
+
max-inline-size: 100% !important;
|
|
25436
|
+
min-inline-size: 100% !important;
|
|
25437
|
+
margin: 0 !important;
|
|
25438
|
+
${!this.docked ? `block-size: 100% !important;` : ""}
|
|
25439
|
+
${!this.docked ? `border-radius: 0 !important;` : ""}
|
|
25440
|
+
${this.docked
|
|
25441
|
+
? `border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;`
|
|
25442
|
+
: ""}
|
|
25443
|
+
}
|
|
25444
|
+
}
|
|
25445
|
+
`));
|
|
25446
|
+
}
|
|
25423
25447
|
}
|
|
25424
25448
|
effectiveLocaleChange() {
|
|
25425
25449
|
updateMessages(this, this.effectiveLocale);
|
|
@@ -25472,31 +25496,31 @@ class Modal {
|
|
|
25472
25496
|
}
|
|
25473
25497
|
}
|
|
25474
25498
|
onBeforeOpen() {
|
|
25475
|
-
this.transitionEl.classList.add(CSS$
|
|
25499
|
+
this.transitionEl.classList.add(CSS$o.openingActive);
|
|
25476
25500
|
this.calciteModalBeforeOpen.emit();
|
|
25477
25501
|
}
|
|
25478
25502
|
onOpen() {
|
|
25479
|
-
this.transitionEl.classList.remove(CSS$
|
|
25503
|
+
this.transitionEl.classList.remove(CSS$o.openingIdle, CSS$o.openingActive);
|
|
25480
25504
|
this.calciteModalOpen.emit();
|
|
25481
25505
|
activateFocusTrap(this);
|
|
25482
25506
|
}
|
|
25483
25507
|
onBeforeClose() {
|
|
25484
|
-
this.transitionEl.classList.add(CSS$
|
|
25508
|
+
this.transitionEl.classList.add(CSS$o.closingActive);
|
|
25485
25509
|
this.calciteModalBeforeClose.emit();
|
|
25486
25510
|
}
|
|
25487
25511
|
onClose() {
|
|
25488
|
-
this.transitionEl.classList.remove(CSS$
|
|
25512
|
+
this.transitionEl.classList.remove(CSS$o.closingIdle, CSS$o.closingActive);
|
|
25489
25513
|
this.calciteModalClose.emit();
|
|
25490
25514
|
deactivateFocusTrap(this);
|
|
25491
25515
|
}
|
|
25492
25516
|
async toggleModal(value) {
|
|
25493
25517
|
onToggleOpenCloseComponent(this);
|
|
25494
25518
|
if (value) {
|
|
25495
|
-
this.transitionEl?.classList.add(CSS$
|
|
25519
|
+
this.transitionEl?.classList.add(CSS$o.openingIdle);
|
|
25496
25520
|
this.openModal();
|
|
25497
25521
|
}
|
|
25498
25522
|
else {
|
|
25499
|
-
this.transitionEl?.classList.add(CSS$
|
|
25523
|
+
this.transitionEl?.classList.add(CSS$o.closingIdle);
|
|
25500
25524
|
this.close();
|
|
25501
25525
|
}
|
|
25502
25526
|
}
|
|
@@ -25510,11 +25534,11 @@ class Modal {
|
|
|
25510
25534
|
this.titleId = ensureId(titleEl);
|
|
25511
25535
|
this.contentId = ensureId(contentEl);
|
|
25512
25536
|
if (!this.slottedInShell) {
|
|
25513
|
-
document.documentElement.classList.add(CSS$
|
|
25537
|
+
document.documentElement.classList.add(CSS$o.overflowHidden);
|
|
25514
25538
|
}
|
|
25515
25539
|
}
|
|
25516
25540
|
removeOverflowHiddenClass() {
|
|
25517
|
-
document.documentElement.classList.remove(CSS$
|
|
25541
|
+
document.documentElement.classList.remove(CSS$o.overflowHidden);
|
|
25518
25542
|
}
|
|
25519
25543
|
static get assetsDirs() { return ["assets"]; }
|
|
25520
25544
|
get el() { return getElement(this); }
|
|
@@ -25537,12 +25561,14 @@ class Modal {
|
|
|
25537
25561
|
"docked": [516],
|
|
25538
25562
|
"escapeDisabled": [516, "escape-disabled"],
|
|
25539
25563
|
"scale": [513],
|
|
25540
|
-
"width": [
|
|
25564
|
+
"width": [513],
|
|
25541
25565
|
"fullscreen": [516],
|
|
25542
25566
|
"kind": [513],
|
|
25543
25567
|
"messages": [1040],
|
|
25544
25568
|
"messageOverrides": [1040],
|
|
25545
25569
|
"slottedInShell": [1028, "slotted-in-shell"],
|
|
25570
|
+
"cssWidth": [32],
|
|
25571
|
+
"cssHeight": [32],
|
|
25546
25572
|
"hasFooter": [32],
|
|
25547
25573
|
"isOpen": [32],
|
|
25548
25574
|
"effectiveLocale": [32],
|
|
@@ -25563,7 +25589,7 @@ const SLOTS$c = {
|
|
|
25563
25589
|
link: "link",
|
|
25564
25590
|
actionsEnd: "actions-end"
|
|
25565
25591
|
};
|
|
25566
|
-
const CSS$
|
|
25592
|
+
const CSS$n = {
|
|
25567
25593
|
actionsEnd: "actions-end",
|
|
25568
25594
|
close: "notice-close",
|
|
25569
25595
|
container: "container",
|
|
@@ -25642,9 +25668,9 @@ class Notice {
|
|
|
25642
25668
|
}
|
|
25643
25669
|
render() {
|
|
25644
25670
|
const { el } = this;
|
|
25645
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
25671
|
+
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$n.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
25646
25672
|
const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
|
|
25647
|
-
return (hAsync("div", { class: CSS$
|
|
25673
|
+
return (hAsync("div", { class: CSS$n.container }, this.requestedIcon ? (hAsync("div", { class: CSS$n.icon }, hAsync("calcite-icon", { flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: CSS$n.content }, hAsync("slot", { name: SLOTS$c.title }), hAsync("slot", { name: SLOTS$c.message }), hAsync("slot", { name: SLOTS$c.link })), hasActionEnd ? (hAsync("div", { class: CSS$n.actionsEnd }, hAsync("slot", { name: SLOTS$c.actionsEnd }))) : null, this.closable ? closeButton : null));
|
|
25648
25674
|
}
|
|
25649
25675
|
//--------------------------------------------------------------------------
|
|
25650
25676
|
//
|
|
@@ -25823,7 +25849,7 @@ class OptionGroup {
|
|
|
25823
25849
|
}; }
|
|
25824
25850
|
}
|
|
25825
25851
|
|
|
25826
|
-
const CSS$
|
|
25852
|
+
const CSS$m = {
|
|
25827
25853
|
page: "page",
|
|
25828
25854
|
selected: "is-selected",
|
|
25829
25855
|
previous: "previous",
|
|
@@ -25969,8 +25995,8 @@ class Pagination {
|
|
|
25969
25995
|
};
|
|
25970
25996
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
25971
25997
|
return (hAsync("button", { class: {
|
|
25972
|
-
[CSS$
|
|
25973
|
-
[CSS$
|
|
25998
|
+
[CSS$m.page]: true,
|
|
25999
|
+
[CSS$m.selected]: start === this.start
|
|
25974
26000
|
}, onClick: () => {
|
|
25975
26001
|
this.start = start;
|
|
25976
26002
|
this.emitUpdate();
|
|
@@ -25978,12 +26004,12 @@ class Pagination {
|
|
|
25978
26004
|
}
|
|
25979
26005
|
renderLeftEllipsis() {
|
|
25980
26006
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
25981
|
-
return hAsync("span", { class: `${CSS$
|
|
26007
|
+
return hAsync("span", { class: `${CSS$m.ellipsis} ${CSS$m.ellipsisStart}` }, "\u2026");
|
|
25982
26008
|
}
|
|
25983
26009
|
}
|
|
25984
26010
|
renderRightEllipsis() {
|
|
25985
26011
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
25986
|
-
return hAsync("span", { class: `${CSS$
|
|
26012
|
+
return hAsync("span", { class: `${CSS$m.ellipsis} ${CSS$m.ellipsisEnd}` }, "\u2026");
|
|
25987
26013
|
}
|
|
25988
26014
|
}
|
|
25989
26015
|
render() {
|
|
@@ -25991,11 +26017,11 @@ class Pagination {
|
|
|
25991
26017
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
25992
26018
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
25993
26019
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.messages.previous, class: {
|
|
25994
|
-
[CSS$
|
|
25995
|
-
[CSS$
|
|
26020
|
+
[CSS$m.previous]: true,
|
|
26021
|
+
[CSS$m.disabled]: prevDisabled
|
|
25996
26022
|
}, disabled: prevDisabled, onClick: this.previousClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: "s" })), total > num ? this.renderPage(1) : null, this.renderLeftEllipsis(), this.renderPages(), this.renderRightEllipsis(), this.renderPage(this.getLastStart()), hAsync("button", { "aria-label": this.messages.next, class: {
|
|
25997
|
-
[CSS$
|
|
25998
|
-
[CSS$
|
|
26023
|
+
[CSS$m.next]: true,
|
|
26024
|
+
[CSS$m.disabled]: nextDisabled
|
|
25999
26025
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
26000
26026
|
}
|
|
26001
26027
|
static get delegatesFocus() { return true; }
|
|
@@ -26216,19 +26242,19 @@ class Panel {
|
|
|
26216
26242
|
// --------------------------------------------------------------------------
|
|
26217
26243
|
renderHeaderContent() {
|
|
26218
26244
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
26219
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
26220
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
26221
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
26245
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$B.heading, level: headingLevel }, heading)) : null;
|
|
26246
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$B.description }, description) : null;
|
|
26247
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$B.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
26222
26248
|
}
|
|
26223
26249
|
/**
|
|
26224
26250
|
* Allows user to override the entire header-content node.
|
|
26225
26251
|
*/
|
|
26226
26252
|
renderHeaderSlottedContent() {
|
|
26227
|
-
return (hAsync("div", { class: CSS$
|
|
26253
|
+
return (hAsync("div", { class: CSS$B.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$j.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
26228
26254
|
}
|
|
26229
26255
|
renderHeaderStartActions() {
|
|
26230
26256
|
const { hasStartActions } = this;
|
|
26231
|
-
return (hAsync("div", { class: { [CSS$
|
|
26257
|
+
return (hAsync("div", { class: { [CSS$B.headerActionsStart]: true, [CSS$B.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, hAsync("slot", { name: SLOTS$j.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
|
26232
26258
|
}
|
|
26233
26259
|
renderHeaderActionsEnd() {
|
|
26234
26260
|
const { close, hasEndActions, messages, closable } = this;
|
|
@@ -26236,7 +26262,7 @@ class Panel {
|
|
|
26236
26262
|
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$9.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
26237
26263
|
const slotNode = (hAsync("slot", { name: SLOTS$j.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
26238
26264
|
const showContainer = hasEndActions || closableNode;
|
|
26239
|
-
return (hAsync("div", { class: { [CSS$
|
|
26265
|
+
return (hAsync("div", { class: { [CSS$B.headerActionsEnd]: true, [CSS$B.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
26240
26266
|
}
|
|
26241
26267
|
renderMenu() {
|
|
26242
26268
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -26251,29 +26277,29 @@ class Panel {
|
|
|
26251
26277
|
hasEndActions ||
|
|
26252
26278
|
closable ||
|
|
26253
26279
|
hasMenuItems;
|
|
26254
|
-
return (hAsync("header", { class: CSS$
|
|
26280
|
+
return (hAsync("header", { class: CSS$B.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
26255
26281
|
}
|
|
26256
26282
|
renderFooterNode() {
|
|
26257
26283
|
const { hasFooterContent, hasFooterActions } = this;
|
|
26258
26284
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
26259
|
-
return (hAsync("footer", { class: CSS$
|
|
26285
|
+
return (hAsync("footer", { class: CSS$B.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 })));
|
|
26260
26286
|
}
|
|
26261
26287
|
renderContent() {
|
|
26262
26288
|
const { hasFab } = this;
|
|
26263
26289
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
26264
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
26290
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$B.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
26265
26291
|
return (hAsync("div", { class: {
|
|
26266
|
-
[CSS$
|
|
26267
|
-
[CSS$
|
|
26268
|
-
[CSS$
|
|
26292
|
+
[CSS$B.contentWrapper]: true,
|
|
26293
|
+
[CSS$B.contentContainer]: !hasFab,
|
|
26294
|
+
[CSS$B.contentHeight]: hasFab
|
|
26269
26295
|
}, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
26270
26296
|
}
|
|
26271
26297
|
renderFab() {
|
|
26272
|
-
return (hAsync("div", { class: CSS$
|
|
26298
|
+
return (hAsync("div", { class: CSS$B.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$j.fab, onSlotchange: this.handleFabSlotChange })));
|
|
26273
26299
|
}
|
|
26274
26300
|
render() {
|
|
26275
26301
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
26276
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
26302
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$B.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
26277
26303
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
26278
26304
|
}
|
|
26279
26305
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -26315,7 +26341,7 @@ class Panel {
|
|
|
26315
26341
|
}; }
|
|
26316
26342
|
}
|
|
26317
26343
|
|
|
26318
|
-
const CSS$
|
|
26344
|
+
const CSS$l = {
|
|
26319
26345
|
sticky: "sticky-pos"
|
|
26320
26346
|
};
|
|
26321
26347
|
var ICON_TYPES$1;
|
|
@@ -26328,7 +26354,7 @@ const SLOTS$b = {
|
|
|
26328
26354
|
menuActions: "menu-actions"
|
|
26329
26355
|
};
|
|
26330
26356
|
|
|
26331
|
-
const CSS$
|
|
26357
|
+
const CSS$k = {
|
|
26332
26358
|
heading: "heading",
|
|
26333
26359
|
container: "container",
|
|
26334
26360
|
indented: "container--indented"
|
|
@@ -26652,7 +26678,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
26652
26678
|
return (hAsync(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
26653
26679
|
hAsync("section", null,
|
|
26654
26680
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
26655
|
-
hAsync("header", { class: { [CSS$
|
|
26681
|
+
hAsync("header", { class: { [CSS$l.sticky]: true } },
|
|
26656
26682
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, ref: setFilterEl, value: filterText })) : null,
|
|
26657
26683
|
hAsync("slot", { name: SLOTS$b.menuActions })),
|
|
26658
26684
|
loading ? hAsync("calcite-scrim", { loading: loading }) : null,
|
|
@@ -26839,14 +26865,14 @@ class PickListGroup {
|
|
|
26839
26865
|
const { el, groupTitle, headingLevel } = this;
|
|
26840
26866
|
const hasParentItem = getSlotted(el, SLOTS$a.parentItem) !== null;
|
|
26841
26867
|
const sectionClasses = {
|
|
26842
|
-
[CSS$
|
|
26843
|
-
[CSS$
|
|
26868
|
+
[CSS$k.container]: true,
|
|
26869
|
+
[CSS$k.indented]: hasParentItem
|
|
26844
26870
|
};
|
|
26845
26871
|
const title = groupTitle;
|
|
26846
26872
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
26847
26873
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
26848
26874
|
const level = headingLevel || relativeLevel;
|
|
26849
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
26875
|
+
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$k.heading, level: level }, title)) : null, hAsync("slot", { name: SLOTS$a.parentItem }), hAsync("section", { class: sectionClasses }, hAsync("slot", null))));
|
|
26850
26876
|
}
|
|
26851
26877
|
get el() { return getElement(this); }
|
|
26852
26878
|
static get style() { return pickListGroupCss; }
|
|
@@ -26863,7 +26889,7 @@ class PickListGroup {
|
|
|
26863
26889
|
}; }
|
|
26864
26890
|
}
|
|
26865
26891
|
|
|
26866
|
-
const CSS$
|
|
26892
|
+
const CSS$j = {
|
|
26867
26893
|
actions: "actions",
|
|
26868
26894
|
actionsEnd: "actions--end",
|
|
26869
26895
|
actionsStart: "actions--start",
|
|
@@ -27023,26 +27049,26 @@ class PickListItem {
|
|
|
27023
27049
|
return null;
|
|
27024
27050
|
}
|
|
27025
27051
|
return (hAsync("span", { class: {
|
|
27026
|
-
[CSS$
|
|
27027
|
-
[CSS$
|
|
27052
|
+
[CSS$j.icon]: true,
|
|
27053
|
+
[CSS$j.iconDot]: icon === ICON_TYPES$1.circle
|
|
27028
27054
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$4.checked, scale: "s" })) : null));
|
|
27029
27055
|
}
|
|
27030
27056
|
renderRemoveAction() {
|
|
27031
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
27057
|
+
return this.removable ? (hAsync("calcite-action", { class: CSS$j.remove, icon: ICONS$4.remove, onClick: this.removeClickHandler, slot: SLOTS$9.actionsEnd, text: this.messages.remove })) : null;
|
|
27032
27058
|
}
|
|
27033
27059
|
renderActionsStart() {
|
|
27034
27060
|
const { el } = this;
|
|
27035
27061
|
const hasActionsStart = getSlotted(el, SLOTS$9.actionsStart);
|
|
27036
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
27062
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$j.actions]: true, [CSS$j.actionsStart]: true } }, hAsync("slot", { name: SLOTS$9.actionsStart }))) : null;
|
|
27037
27063
|
}
|
|
27038
27064
|
renderActionsEnd() {
|
|
27039
27065
|
const { el, removable } = this;
|
|
27040
27066
|
const hasActionsEnd = getSlotted(el, SLOTS$9.actionsEnd);
|
|
27041
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
27067
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$j.actions]: true, [CSS$j.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$9.actionsEnd }), this.renderRemoveAction())) : null;
|
|
27042
27068
|
}
|
|
27043
27069
|
render() {
|
|
27044
27070
|
const { description, label } = this;
|
|
27045
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
27071
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$j.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$j.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$j.title }, label), description ? hAsync("span", { class: CSS$j.description }, description) : null)), this.renderActionsEnd()));
|
|
27046
27072
|
}
|
|
27047
27073
|
static get assetsDirs() { return ["assets"]; }
|
|
27048
27074
|
get el() { return getElement(this); }
|
|
@@ -27085,7 +27111,7 @@ class PickListItem {
|
|
|
27085
27111
|
}; }
|
|
27086
27112
|
}
|
|
27087
27113
|
|
|
27088
|
-
const CSS$
|
|
27114
|
+
const CSS$i = {
|
|
27089
27115
|
container: "container",
|
|
27090
27116
|
arrow: "arrow",
|
|
27091
27117
|
imageContainer: "image-container",
|
|
@@ -27430,25 +27456,25 @@ class Popover {
|
|
|
27430
27456
|
// --------------------------------------------------------------------------
|
|
27431
27457
|
renderCloseButton() {
|
|
27432
27458
|
const { messages, closable } = this;
|
|
27433
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
27459
|
+
return closable ? (hAsync("div", { class: CSS$i.closeButtonContainer, key: CSS$i.closeButtonContainer }, hAsync("calcite-action", { class: CSS$i.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: this.scale, text: messages.close }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : this.scale })))) : null;
|
|
27434
27460
|
}
|
|
27435
27461
|
renderHeader() {
|
|
27436
27462
|
const { heading, headingLevel } = this;
|
|
27437
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
27438
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
27463
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$i.heading, level: headingLevel }, heading)) : null;
|
|
27464
|
+
return headingNode ? (hAsync("div", { class: CSS$i.header, key: CSS$i.header }, headingNode, this.renderCloseButton())) : null;
|
|
27439
27465
|
}
|
|
27440
27466
|
render() {
|
|
27441
27467
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled } = this;
|
|
27442
27468
|
const displayed = effectiveReferenceElement && open;
|
|
27443
27469
|
const hidden = !displayed;
|
|
27444
|
-
const arrowNode = !pointerDisabled ? hAsync("div", { class: CSS$
|
|
27470
|
+
const arrowNode = !pointerDisabled ? hAsync("div", { class: CSS$i.arrow, ref: this.storeArrowEl }) : null;
|
|
27445
27471
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, hAsync("div", { class: {
|
|
27446
27472
|
[FloatingCSS.animation]: true,
|
|
27447
27473
|
[FloatingCSS.animationActive]: displayed
|
|
27448
27474
|
}, ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
27449
|
-
[CSS$
|
|
27450
|
-
[CSS$
|
|
27451
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
27475
|
+
[CSS$i.hasHeader]: !!heading,
|
|
27476
|
+
[CSS$i.container]: true
|
|
27477
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$i.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
27452
27478
|
}
|
|
27453
27479
|
static get assetsDirs() { return ["assets"]; }
|
|
27454
27480
|
get el() { return getElement(this); }
|
|
@@ -27539,7 +27565,7 @@ class Progress {
|
|
|
27539
27565
|
}; }
|
|
27540
27566
|
}
|
|
27541
27567
|
|
|
27542
|
-
const CSS$
|
|
27568
|
+
const CSS$h = {
|
|
27543
27569
|
container: "container"
|
|
27544
27570
|
};
|
|
27545
27571
|
|
|
@@ -27776,7 +27802,7 @@ class RadioButton {
|
|
|
27776
27802
|
// --------------------------------------------------------------------------
|
|
27777
27803
|
render() {
|
|
27778
27804
|
const tabIndex = this.getTabIndex();
|
|
27779
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
27805
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$h.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: tabIndex }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
27780
27806
|
}
|
|
27781
27807
|
get el() { return getElement(this); }
|
|
27782
27808
|
static get watchers() { return {
|
|
@@ -28179,7 +28205,7 @@ class Rating {
|
|
|
28179
28205
|
}; }
|
|
28180
28206
|
}
|
|
28181
28207
|
|
|
28182
|
-
const CSS$
|
|
28208
|
+
const CSS$g = {
|
|
28183
28209
|
scrim: "scrim",
|
|
28184
28210
|
content: "content"
|
|
28185
28211
|
};
|
|
@@ -28229,8 +28255,8 @@ class Scrim {
|
|
|
28229
28255
|
const { el, loading, messages } = this;
|
|
28230
28256
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
28231
28257
|
const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
|
|
28232
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
28233
|
-
return (hAsync("div", { class: CSS$
|
|
28258
|
+
const contentNode = hasContent ? (hAsync("div", { class: CSS$g.content }, hAsync("slot", null))) : null;
|
|
28259
|
+
return (hAsync("div", { class: CSS$g.scrim }, loaderNode, contentNode));
|
|
28234
28260
|
}
|
|
28235
28261
|
static get assetsDirs() { return ["assets"]; }
|
|
28236
28262
|
get el() { return getElement(this); }
|
|
@@ -28461,7 +28487,7 @@ class SegmentedControl {
|
|
|
28461
28487
|
const SLOTS$8 = {
|
|
28462
28488
|
input: "input"
|
|
28463
28489
|
};
|
|
28464
|
-
const CSS$
|
|
28490
|
+
const CSS$f = {
|
|
28465
28491
|
segmentedControlItemIcon: "segmented-control-item-icon"
|
|
28466
28492
|
};
|
|
28467
28493
|
|
|
@@ -28485,8 +28511,8 @@ class SegmentedControlItem {
|
|
|
28485
28511
|
const scale = getElementProp(this.el, "scale", "m");
|
|
28486
28512
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
28487
28513
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
28488
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
28489
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
28514
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$f.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
28515
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$f.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
28490
28516
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
28491
28517
|
"label--scale-s": scale === "s",
|
|
28492
28518
|
"label--scale-m": scale === "m",
|
|
@@ -28517,7 +28543,7 @@ class SegmentedControlItem {
|
|
|
28517
28543
|
}; }
|
|
28518
28544
|
}
|
|
28519
28545
|
|
|
28520
|
-
const CSS$
|
|
28546
|
+
const CSS$e = {
|
|
28521
28547
|
icon: "icon",
|
|
28522
28548
|
iconContainer: "icon-container",
|
|
28523
28549
|
select: "select"
|
|
@@ -28701,10 +28727,10 @@ class Select {
|
|
|
28701
28727
|
//
|
|
28702
28728
|
//--------------------------------------------------------------------------
|
|
28703
28729
|
renderChevron() {
|
|
28704
|
-
return (hAsync("div", { class: CSS$
|
|
28730
|
+
return (hAsync("div", { class: CSS$e.iconContainer }, hAsync("calcite-icon", { class: CSS$e.icon, icon: "chevron-down", scale: "s" })));
|
|
28705
28731
|
}
|
|
28706
28732
|
render() {
|
|
28707
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": this.label, class: CSS$
|
|
28733
|
+
return (hAsync(Fragment, null, hAsync("select", { "aria-label": this.label, class: CSS$e.select, disabled: this.disabled, onChange: this.handleInternalSelectChange, ref: this.storeSelectRef }, hAsync("slot", null)), this.renderChevron(), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28708
28734
|
}
|
|
28709
28735
|
get el() { return getElement(this); }
|
|
28710
28736
|
static get watchers() { return {
|
|
@@ -28732,7 +28758,7 @@ class Select {
|
|
|
28732
28758
|
}; }
|
|
28733
28759
|
}
|
|
28734
28760
|
|
|
28735
|
-
const CSS$
|
|
28761
|
+
const CSS$d = {
|
|
28736
28762
|
main: "main",
|
|
28737
28763
|
content: "content",
|
|
28738
28764
|
contentBehind: "content--behind",
|
|
@@ -28818,7 +28844,7 @@ class Shell {
|
|
|
28818
28844
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$7.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
28819
28845
|
}
|
|
28820
28846
|
renderFooter() {
|
|
28821
|
-
return (hAsync("div", { class: CSS$
|
|
28847
|
+
return (hAsync("div", { class: CSS$d.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$7.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
28822
28848
|
}
|
|
28823
28849
|
renderAlerts() {
|
|
28824
28850
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$7.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -28833,21 +28859,21 @@ class Shell {
|
|
|
28833
28859
|
const content = !!this.contentBehind
|
|
28834
28860
|
? [
|
|
28835
28861
|
hAsync("div", { class: {
|
|
28836
|
-
[CSS$
|
|
28837
|
-
[CSS$
|
|
28862
|
+
[CSS$d.content]: true,
|
|
28863
|
+
[CSS$d.contentBehind]: true
|
|
28838
28864
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
28839
28865
|
centerRowSlotNode
|
|
28840
28866
|
]
|
|
28841
28867
|
: [
|
|
28842
|
-
hAsync("div", { class: CSS$
|
|
28868
|
+
hAsync("div", { class: CSS$d.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
|
28843
28869
|
];
|
|
28844
28870
|
return content;
|
|
28845
28871
|
}
|
|
28846
28872
|
renderMain() {
|
|
28847
|
-
return (hAsync("div", { class: CSS$
|
|
28873
|
+
return (hAsync("div", { class: CSS$d.main }, hAsync("slot", { name: SLOTS$7.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$7.panelEnd })));
|
|
28848
28874
|
}
|
|
28849
28875
|
renderPositionedSlots() {
|
|
28850
|
-
return (hAsync("div", { class: CSS$
|
|
28876
|
+
return (hAsync("div", { class: CSS$d.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));
|
|
28851
28877
|
}
|
|
28852
28878
|
render() {
|
|
28853
28879
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -28870,7 +28896,7 @@ class Shell {
|
|
|
28870
28896
|
}; }
|
|
28871
28897
|
}
|
|
28872
28898
|
|
|
28873
|
-
const CSS$
|
|
28899
|
+
const CSS$c = {
|
|
28874
28900
|
actionBarContainer: "action-bar-container",
|
|
28875
28901
|
content: "content"
|
|
28876
28902
|
};
|
|
@@ -28909,9 +28935,9 @@ class ShellCenterRow {
|
|
|
28909
28935
|
// --------------------------------------------------------------------------
|
|
28910
28936
|
render() {
|
|
28911
28937
|
const { el } = this;
|
|
28912
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
28938
|
+
const contentNode = (hAsync("div", { class: CSS$c.content }, hAsync("slot", null)));
|
|
28913
28939
|
const actionBar = getSlotted(el, SLOTS$6.actionBar);
|
|
28914
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
28940
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$c.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
28915
28941
|
const children = [actionBarNode, contentNode];
|
|
28916
28942
|
if (actionBar?.position === "end") {
|
|
28917
28943
|
children.reverse();
|
|
@@ -28934,7 +28960,7 @@ class ShellCenterRow {
|
|
|
28934
28960
|
}; }
|
|
28935
28961
|
}
|
|
28936
28962
|
|
|
28937
|
-
const CSS$
|
|
28963
|
+
const CSS$b = {
|
|
28938
28964
|
container: "container",
|
|
28939
28965
|
content: "content",
|
|
28940
28966
|
contentHeader: "content__header",
|
|
@@ -29107,19 +29133,19 @@ class ShellPanel {
|
|
|
29107
29133
|
renderHeader() {
|
|
29108
29134
|
const { el } = this;
|
|
29109
29135
|
const hasHeader = getSlotted(el, SLOTS$5.header);
|
|
29110
|
-
return hasHeader ? (hAsync("div", { class: CSS$
|
|
29136
|
+
return hasHeader ? (hAsync("div", { class: CSS$b.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$5.header }))) : null;
|
|
29111
29137
|
}
|
|
29112
29138
|
render() {
|
|
29113
29139
|
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, resizable } = this;
|
|
29114
29140
|
const allowResizing = !detached && resizable;
|
|
29115
|
-
const contentNode = (hAsync("div", { class: { [CSS$
|
|
29116
|
-
const separatorNode = allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth ?? initialContentWidth, class: CSS$
|
|
29141
|
+
const contentNode = (hAsync("div", { class: { [CSS$b.content]: true, [CSS$b.contentDetached]: detached }, hidden: collapsed, key: "content", ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), hAsync("div", { class: CSS$b.contentBody }, hAsync("slot", null))));
|
|
29142
|
+
const separatorNode = allowResizing ? (hAsync("div", { "aria-label": this.messages.resize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth ?? initialContentWidth, class: CSS$b.separator, key: "separator", onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
|
|
29117
29143
|
const actionBarNode = hAsync("slot", { key: "action-bar", name: SLOTS$5.actionBar });
|
|
29118
29144
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
29119
29145
|
if (position === "end") {
|
|
29120
29146
|
mainNodes.reverse();
|
|
29121
29147
|
}
|
|
29122
|
-
return hAsync("div", { class: { [CSS$
|
|
29148
|
+
return hAsync("div", { class: { [CSS$b.container]: true } }, mainNodes);
|
|
29123
29149
|
}
|
|
29124
29150
|
// --------------------------------------------------------------------------
|
|
29125
29151
|
//
|
|
@@ -29183,7 +29209,7 @@ class ShellPanel {
|
|
|
29183
29209
|
}; }
|
|
29184
29210
|
}
|
|
29185
29211
|
|
|
29186
|
-
const CSS$
|
|
29212
|
+
const CSS$a = {
|
|
29187
29213
|
handleLabel: "handle__label",
|
|
29188
29214
|
handleLabelMinValue: "handle__label--minValue",
|
|
29189
29215
|
handleLabelValue: "handle__label--value",
|
|
@@ -29374,8 +29400,8 @@ class Slider {
|
|
|
29374
29400
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
29375
29401
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
29376
29402
|
const valueIsRange = isRange(this.value);
|
|
29377
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
29378
|
-
const handleLabelValueClasses = `${CSS$
|
|
29403
|
+
const handleLabelMinValueClasses = `${CSS$a.handleLabel} ${CSS$a.handleLabelMinValue}`;
|
|
29404
|
+
const handleLabelValueClasses = `${CSS$a.handleLabel} ${CSS$a.handleLabelValue}`;
|
|
29379
29405
|
const handle = (hAsync("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
29380
29406
|
thumb: true,
|
|
29381
29407
|
"thumb--value": true,
|
|
@@ -29485,8 +29511,8 @@ class Slider {
|
|
|
29485
29511
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
29486
29512
|
const tickLabel = (hAsync("span", { class: {
|
|
29487
29513
|
tick__label: true,
|
|
29488
|
-
[CSS$
|
|
29489
|
-
[CSS$
|
|
29514
|
+
[CSS$a.tickMin]: isMinTickLabel,
|
|
29515
|
+
[CSS$a.tickMax]: isMaxTickLabel
|
|
29490
29516
|
} }, displayedTickValue));
|
|
29491
29517
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
29492
29518
|
return tickLabel;
|
|
@@ -33049,7 +33075,7 @@ _extends(Remove, {
|
|
|
33049
33075
|
Sortable.mount(new AutoScrollPlugin());
|
|
33050
33076
|
Sortable.mount(Remove, Revert);
|
|
33051
33077
|
|
|
33052
|
-
const CSS$
|
|
33078
|
+
const CSS$9 = {
|
|
33053
33079
|
sortItem: "sort-item",
|
|
33054
33080
|
container: "container",
|
|
33055
33081
|
containerHorizontal: "container--horizontal",
|
|
@@ -33182,9 +33208,9 @@ class SortableList {
|
|
|
33182
33208
|
const { layout } = this;
|
|
33183
33209
|
const horizontal = layout === "horizontal" || false;
|
|
33184
33210
|
return (hAsync("div", { class: {
|
|
33185
|
-
[CSS$
|
|
33186
|
-
[CSS$
|
|
33187
|
-
[CSS$
|
|
33211
|
+
[CSS$9.container]: true,
|
|
33212
|
+
[CSS$9.containerVertical]: !horizontal,
|
|
33213
|
+
[CSS$9.containerHorizontal]: horizontal
|
|
33188
33214
|
} }, hAsync("slot", null)));
|
|
33189
33215
|
}
|
|
33190
33216
|
get el() { return getElement(this); }
|
|
@@ -33207,7 +33233,7 @@ class SortableList {
|
|
|
33207
33233
|
}; }
|
|
33208
33234
|
}
|
|
33209
33235
|
|
|
33210
|
-
const CSS$
|
|
33236
|
+
const CSS$8 = {
|
|
33211
33237
|
container: "split-button__container",
|
|
33212
33238
|
dividerContainer: "split-button__divider-container",
|
|
33213
33239
|
divider: "split-button__divider",
|
|
@@ -33264,13 +33290,13 @@ class SplitButton {
|
|
|
33264
33290
|
}
|
|
33265
33291
|
render() {
|
|
33266
33292
|
const widthClasses = {
|
|
33267
|
-
[CSS$
|
|
33268
|
-
[CSS$
|
|
33269
|
-
[CSS$
|
|
33270
|
-
[CSS$
|
|
33293
|
+
[CSS$8.container]: true,
|
|
33294
|
+
[CSS$8.widthAuto]: this.width === "auto",
|
|
33295
|
+
[CSS$8.widthHalf]: this.width === "half",
|
|
33296
|
+
[CSS$8.widthFull]: this.width === "full"
|
|
33271
33297
|
};
|
|
33272
33298
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
33273
|
-
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$
|
|
33299
|
+
return (hAsync("div", { class: widthClasses }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, kind: this.kind, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", type: "button", width: buttonWidth }, this.primaryText), hAsync("div", { class: CSS$8.dividerContainer }, hAsync("div", { class: CSS$8.divider })), hAsync("calcite-dropdown", { disabled: this.disabled, onClick: this.calciteSplitButtonSecondaryClickHandler, open: this.active, overlayPositioning: this.overlayPositioning, placement: "bottom-end", scale: this.scale, width: this.scale }, hAsync("calcite-button", { appearance: this.appearance, disabled: this.disabled, "icon-start": this.dropdownIcon, kind: this.kind, label: this.dropdownLabel, scale: this.scale, slot: "trigger", splitChild: "secondary", type: "button" }), hAsync("slot", null))));
|
|
33274
33300
|
}
|
|
33275
33301
|
get dropdownIcon() {
|
|
33276
33302
|
return this.dropdownIconType === "chevron"
|
|
@@ -33817,7 +33843,7 @@ class Switch {
|
|
|
33817
33843
|
}; }
|
|
33818
33844
|
}
|
|
33819
33845
|
|
|
33820
|
-
const tabCss = "@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-tab: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-tab{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tab{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tab:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-tab:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tab-h{display:none}/*!@:host([selected]) section,\n:host([selected]) .container*/[selected].sc-calcite-tab-h section.sc-calcite-tab,[selected].sc-calcite-tab-h .container.sc-calcite-tab{display:block}/*!@:host*/.sc-calcite-tab-h{display:none;block-size:100%;inline-size:100%}/*!@:host([selected])*/[selected].sc-calcite-tab-h{display:block;block-size:100%;inline-size:100%;overflow:auto}/*!@section,\n.container*/section.sc-calcite-tab,.container.sc-calcite-tab{display:none;block-size:100%;inline-size:100%}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-h{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-h{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-h{
|
|
33846
|
+
const tabCss = "@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-tab: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-tab{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tab{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tab:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-tab:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tab-h{display:none}/*!@:host([selected]) section,\n:host([selected]) .container*/[selected].sc-calcite-tab-h section.sc-calcite-tab,[selected].sc-calcite-tab-h .container.sc-calcite-tab{display:block}/*!@:host*/.sc-calcite-tab-h{display:none;block-size:100%;inline-size:100%}/*!@:host([selected])*/[selected].sc-calcite-tab-h{display:block;block-size:100%;inline-size:100%;overflow:auto}/*!@section,\n.container*/section.sc-calcite-tab,.container.sc-calcite-tab{display:none;block-size:100%;inline-size:100%}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-h{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-tab-h{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-h{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-block:13px}";
|
|
33821
33847
|
|
|
33822
33848
|
/**
|
|
33823
33849
|
* @slot - A slot for adding custom content.
|
|
@@ -34135,7 +34161,16 @@ class TabNav {
|
|
|
34135
34161
|
}; }
|
|
34136
34162
|
}
|
|
34137
34163
|
|
|
34138
|
-
const
|
|
34164
|
+
const CSS$7 = {
|
|
34165
|
+
container: "container",
|
|
34166
|
+
containerHasText: "container--has-text",
|
|
34167
|
+
iconEnd: "icon-end",
|
|
34168
|
+
iconStart: "icon-start",
|
|
34169
|
+
iconPresent: "icon-present",
|
|
34170
|
+
titleIcon: "calcite-tab-title--icon"
|
|
34171
|
+
};
|
|
34172
|
+
|
|
34173
|
+
const tabTitleCss = "@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-tab-title: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-tab-title{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tab-title{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tab-title{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tab-title{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tab-title{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tab-title:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-tab-title:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tab-title-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-tab-title-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-tab-title-h{display:block;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px;margin-inline-end:1.25rem}/*!@:host([layout=center])*/[layout=center].sc-calcite-tab-title-h{margin-block:0px;margin-inline:1.25rem;text-align:center;flex-basis:12rem;margin:auto}/*!@:host([position=bottom]) .container*/[position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}/*!@:host .container*/.sc-calcite-tab-title-h .container.sc-calcite-tab-title{outline-color:transparent}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host(:active) a,\n:host(:focus) a,\n:host(:hover) a*/.sc-calcite-tab-title-h:active a.sc-calcite-tab-title,.sc-calcite-tab-title-h:focus a.sc-calcite-tab-title,.sc-calcite-tab-title-h:hover a.sc-calcite-tab-title{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host([selected]) .container*/[selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-color:transparent;color:var(--calcite-ui-text-1)}/*!@:host([disabled]) .container*/[disabled].sc-calcite-tab-title-h .container.sc-calcite-tab-title{pointer-events:none;opacity:0.5}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tab-title-h[disabled] .sc-calcite-tab-title-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tab-title-h [calcite-hydrated][disabled].sc-calcite-tab-title{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-tab-title-h{margin-inline-end:1rem}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-tab-title-h{margin-inline-end:1.5rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@.container*/.container.sc-calcite-tab-title{box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-appearance:none;appearance:none;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-block-end-width:2px;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}/*!@.calcite-tab-title--icon*/.calcite-tab-title--icon.sc-calcite-tab-title{position:relative;margin:0px;display:inline-flex;align-self:center}/*!@.calcite-tab-title--icon svg*/.calcite-tab-title--icon.sc-calcite-tab-title svg.sc-calcite-tab-title{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}/*!@.container--has-text*/.container--has-text.sc-calcite-tab-title{padding:0.25rem}/*!@.container--has-text .calcite-tab-title--icon.icon-start*/.container--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-start.sc-calcite-tab-title{margin-inline-end:0.5rem}/*!@.container--has-text .calcite-tab-title--icon.icon-end*/.container--has-text.sc-calcite-tab-title .calcite-tab-title--icon.icon-end.sc-calcite-tab-title{margin-inline-start:0.5rem}/*!@:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child*/[icon-start][icon-end].sc-calcite-tab-title-h .calcite-tab-title--icon.sc-calcite-tab-title:first-child{margin-inline-end:0.5rem}/*!@:host([bordered])*/[bordered].sc-calcite-tab-title-h{margin-inline-end:0}/*!@:host([bordered][selected])*/[bordered][selected].sc-calcite-tab-title-h{box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}/*!@:host([bordered][selected][position=bottom])*/[bordered][selected][position=bottom].sc-calcite-tab-title-h{box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}/*!@:host([bordered]:hover) .container,\n:host([bordered]:focus) .container,\n:host([bordered]:active) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title,[bordered].sc-calcite-tab-title-h:active .container.sc-calcite-tab-title{position:relative}/*!@:host([bordered]:hover) .container*/[bordered].sc-calcite-tab-title-h:hover .container.sc-calcite-tab-title{background-color:var(--calcite-button-transparent-hover)}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:unset;border-inline-start:1px solid transparent;border-inline-end:1px solid transparent}/*!@:host([bordered][position=bottom]) .container*/[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:unset}/*!@:host([selected][bordered]) .container*/[selected][bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-inline-start-color:var(--calcite-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:0.75rem}/*!@:host([bordered][scale=s]) .container*/[bordered][scale=s].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:0.5rem}/*!@:host([bordered][scale=l]) .container*/[bordered][scale=l].sc-calcite-tab-title-h .container.sc-calcite-tab-title{padding-inline:1rem}/*!@:host([bordered][scale=l]) .icon-present*/[bordered][scale=l].sc-calcite-tab-title-h .icon-present.sc-calcite-tab-title{padding-block:11px}@media (forced-colors: active){/*!@:host*/.sc-calcite-tab-title-h{outline-width:0;outline-offset:0}/*!@:host(:focus) .container*/.sc-calcite-tab-title-h:focus .container.sc-calcite-tab-title{outline-color:highlight}/*!@:host([bordered]) .container*/[bordered].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:solid}/*!@:host([bordered][position=bottom]) .container*/[bordered][position=bottom].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:solid}/*!@:host([bordered][selected]) .container*/[bordered][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-end-style:none}/*!@:host([bordered][position=bottom][selected]) .container*/[bordered][position=bottom][selected].sc-calcite-tab-title-h .container.sc-calcite-tab-title{border-block-start-style:none}}";
|
|
34139
34174
|
|
|
34140
34175
|
/**
|
|
34141
34176
|
* @slot - A slot for adding text.
|
|
@@ -34216,11 +34251,12 @@ class TabTitle {
|
|
|
34216
34251
|
}
|
|
34217
34252
|
render() {
|
|
34218
34253
|
const id = this.el.id || this.guid;
|
|
34219
|
-
const iconStartEl = (hAsync("calcite-icon", { class:
|
|
34220
|
-
const iconEndEl = (hAsync("calcite-icon", { class:
|
|
34254
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$7.titleIcon]: true, [CSS$7.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
34255
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$7.titleIcon]: true, [CSS$7.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
34221
34256
|
return (hAsync(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.selected), id: id, role: "tab", tabIndex: this.selected ? 0 : -1 }, hAsync("div", { class: {
|
|
34222
34257
|
container: true,
|
|
34223
|
-
|
|
34258
|
+
[CSS$7.iconPresent]: this.iconStart || this.iconEnd ? true : null,
|
|
34259
|
+
[CSS$7.containerHasText]: this.hasText
|
|
34224
34260
|
}, ref: (el) => this.resizeObserver?.observe(el) }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
34225
34261
|
}
|
|
34226
34262
|
async componentDidLoad() {
|
|
@@ -37175,8 +37211,8 @@ class ValueListItem {
|
|
|
37175
37211
|
const { icon, iconFlipRtl } = this;
|
|
37176
37212
|
if (icon === ICON_TYPES$1.grip) {
|
|
37177
37213
|
return (hAsync("span", { class: {
|
|
37178
|
-
[CSS$
|
|
37179
|
-
[CSS$
|
|
37214
|
+
[CSS$j.handle]: true,
|
|
37215
|
+
[CSS$j.handleActivated]: this.handleActivated
|
|
37180
37216
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
37181
37217
|
}
|
|
37182
37218
|
}
|