@esri/calcite-components 1.0.0-next.725 → 1.0.0-next.727
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-0a783ed0.entry.js → p-03f222a7.entry.js} +2 -2
- package/dist/calcite/{p-ad017399.js → p-08798a80.js} +1 -1
- package/dist/calcite/{p-b9245a49.js → p-0b730564.js} +2 -2
- package/dist/calcite/{p-364bea86.entry.js → p-0d04f0f3.entry.js} +2 -2
- package/dist/calcite/{p-2c6bdafe.entry.js → p-0f643b2c.entry.js} +2 -2
- package/dist/calcite/{p-86ace5d2.js → p-104ffb49.js} +1 -1
- package/dist/calcite/{p-beca789d.entry.js → p-1555592b.entry.js} +2 -2
- package/dist/calcite/{p-1f3046b5.entry.js → p-160aa889.entry.js} +2 -2
- package/dist/calcite/{p-ab140ff4.entry.js → p-164f657b.entry.js} +2 -2
- package/dist/calcite/{p-a51e44aa.entry.js → p-1c0555a4.entry.js} +2 -2
- package/dist/calcite/p-1f411d5c.js +6 -0
- package/dist/calcite/p-20b7cce6.entry.js +6 -0
- package/dist/calcite/{p-ee928d7c.js → p-2ba37140.js} +1 -1
- package/dist/calcite/{p-586b1e25.entry.js → p-2e7f2b15.entry.js} +2 -2
- package/dist/calcite/{p-ddf67637.entry.js → p-30a338d2.entry.js} +2 -2
- package/dist/calcite/{p-852f593a.entry.js → p-32dc4ce3.entry.js} +2 -2
- package/dist/calcite/{p-cf9cbc91.js → p-35a2003a.js} +1 -1
- package/dist/calcite/{p-8630aefc.entry.js → p-380b34b7.entry.js} +2 -2
- package/dist/calcite/{p-658d6d57.entry.js → p-3865c56e.entry.js} +2 -2
- package/dist/calcite/{p-28a7d95a.entry.js → p-3c0873f9.entry.js} +2 -2
- package/dist/calcite/{p-dbe9d0c9.entry.js → p-42239314.entry.js} +2 -2
- package/dist/calcite/{p-b18ce7f0.entry.js → p-452b0863.entry.js} +2 -2
- package/dist/calcite/{p-8b5a0f9e.entry.js → p-4954af88.entry.js} +2 -2
- package/dist/calcite/{p-ee5840d6.entry.js → p-4b97c551.entry.js} +2 -2
- package/dist/calcite/p-511b3140.js +6 -0
- package/dist/calcite/p-52887dc8.entry.js +6 -0
- package/dist/calcite/{p-b3f5e336.js → p-531c52ad.js} +2 -2
- package/dist/calcite/{p-2147190e.entry.js → p-58c44fb3.entry.js} +2 -2
- package/dist/calcite/{p-a8f8fc36.entry.js → p-595a8bda.entry.js} +2 -2
- package/dist/calcite/{p-04653a62.js → p-5c7563b1.js} +1 -1
- package/dist/calcite/{p-aa6358c0.entry.js → p-5e60ce3b.entry.js} +2 -2
- package/dist/calcite/{p-533c9679.js → p-678213c0.js} +2 -2
- package/dist/calcite/{p-b2058d52.entry.js → p-6cac04db.entry.js} +2 -2
- package/dist/calcite/{p-ded6e36a.entry.js → p-70abb7c0.entry.js} +2 -2
- package/dist/calcite/{p-86a26ccf.entry.js → p-75657de2.entry.js} +2 -2
- package/dist/calcite/{p-78375145.js → p-7742662c.js} +2 -2
- package/dist/calcite/{p-88ea8d9c.js → p-77915866.js} +1 -1
- package/dist/calcite/{p-e3b14308.entry.js → p-782e21ab.entry.js} +2 -2
- package/dist/calcite/{p-a34bda32.entry.js → p-792c2eea.entry.js} +2 -2
- package/dist/calcite/{p-e24ff041.entry.js → p-7ee9425b.entry.js} +2 -2
- package/dist/calcite/{p-c26bb057.js → p-7fa7bc48.js} +3 -3
- package/dist/calcite/p-807b5709.entry.js +6 -0
- package/dist/calcite/{p-0e959115.entry.js → p-83c089d7.entry.js} +2 -2
- package/dist/calcite/{p-1407351a.entry.js → p-83f821d5.entry.js} +2 -2
- package/dist/calcite/{p-d5a55037.entry.js → p-84cf16e1.entry.js} +2 -2
- package/dist/calcite/{p-f535ea1c.js → p-8bbc84df.js} +2 -2
- package/dist/calcite/{p-5c82fc32.js → p-8bd17484.js} +1 -1
- package/dist/calcite/{p-818b1928.js → p-8bf2ffdf.js} +1 -1
- package/dist/calcite/{p-14f26750.js → p-8db10649.js} +1 -1
- package/dist/calcite/{p-810d14fa.entry.js → p-8e219068.entry.js} +2 -2
- package/dist/calcite/{p-66a2b14f.entry.js → p-9002cf6e.entry.js} +2 -2
- package/dist/calcite/{p-9730b833.js → p-92e89bc7.js} +1 -1
- package/dist/calcite/{p-203d20ce.js → p-941177f5.js} +2 -2
- package/dist/calcite/p-952e0287.entry.js +6 -0
- package/dist/calcite/{p-efb57402.js → p-991922b2.js} +1 -1
- package/dist/calcite/{p-3878a471.entry.js → p-9b6f6d6d.entry.js} +2 -2
- package/dist/calcite/{p-0b1b268f.entry.js → p-9d5f84fa.entry.js} +2 -2
- package/dist/calcite/{p-b042aac7.entry.js → p-a0079530.entry.js} +2 -2
- package/dist/calcite/{p-2fca9f3c.entry.js → p-a35d5c31.entry.js} +2 -2
- package/dist/calcite/p-a5420eba.js +6 -0
- package/dist/calcite/{p-55f6bd16.js → p-a5dfc1c9.js} +1 -1
- package/dist/calcite/{p-4b34c47f.entry.js → p-a6e9ed14.entry.js} +2 -2
- package/dist/calcite/{p-3c682c21.entry.js → p-b0f702a9.entry.js} +2 -2
- package/dist/calcite/{p-78feaeb0.entry.js → p-b6329f0d.entry.js} +2 -2
- package/dist/calcite/{p-10e6ed33.entry.js → p-ba1e83c4.entry.js} +2 -2
- package/dist/calcite/{p-cd2fd579.entry.js → p-bc6206a3.entry.js} +2 -2
- package/dist/calcite/p-bd9846bb.entry.js +6 -0
- package/dist/calcite/p-be1d2207.entry.js +6 -0
- package/dist/calcite/{p-09455848.js → p-c1921800.js} +2 -2
- package/dist/calcite/p-c40d1842.js +6 -0
- package/dist/calcite/{p-3842c510.entry.js → p-cb8225a1.entry.js} +2 -2
- package/dist/calcite/{p-78bc55a8.js → p-cd35d81b.js} +1 -1
- package/dist/calcite/{p-dc173cb2.entry.js → p-cd75bcd9.entry.js} +2 -2
- package/dist/calcite/{p-994ee2de.js → p-cdcb6ed8.js} +1 -1
- package/dist/calcite/{p-25be13e4.js → p-ceafc5bf.js} +2 -2
- package/dist/calcite/{p-2bcbf5ab.entry.js → p-d1183ca8.entry.js} +2 -2
- package/dist/calcite/{p-2728fb02.js → p-d20f1ef2.js} +2 -2
- package/dist/calcite/{p-8c055d1a.js → p-d264ccb6.js} +1 -1
- package/dist/calcite/{p-9ad3611d.entry.js → p-d2cf4f22.entry.js} +2 -2
- package/dist/calcite/{p-9e70ec06.entry.js → p-d500183f.entry.js} +2 -2
- package/dist/calcite/{p-c5b54e59.entry.js → p-d57609f4.entry.js} +2 -2
- package/dist/calcite/{p-97d36946.entry.js → p-d828ba69.entry.js} +2 -2
- package/dist/calcite/{p-47bc7e75.entry.js → p-df42589c.entry.js} +2 -2
- package/dist/calcite/{p-ab98a90b.js → p-e004108b.js} +2 -2
- package/dist/calcite/{p-a4a7e6b5.js → p-e8ef2188.js} +1 -1
- package/dist/calcite/{p-4b5e9b8c.js → p-e96c4569.js} +2 -2
- package/dist/calcite/{p-c024e3e1.entry.js → p-ea09fce7.entry.js} +2 -2
- package/dist/calcite/{p-3d3ae128.entry.js → p-eb144698.entry.js} +2 -2
- package/dist/calcite/{p-6c2b3b03.entry.js → p-ec633f59.entry.js} +2 -2
- package/dist/calcite/p-f1563d33.entry.js +6 -0
- package/dist/calcite/p-f15a9872.entry.js +6 -0
- package/dist/calcite/{p-4f92d84a.entry.js → p-f5cd86b8.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-a86c1de4.js → ExpandToggle-527bfd72.js} +5 -5
- package/dist/cjs/{Heading-4c27eabc.js → Heading-d77fa3a3.js} +2 -2
- package/dist/cjs/{app-globals-721f236b.js → app-globals-c94824be.js} +2 -2
- package/dist/cjs/{array-69c68c3a.js → array-0d83c190.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 +28 -21
- 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 +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +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 +14 -14
- 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-48c5f2b7.js → conditionalSlot-147c3597.js} +3 -3
- package/dist/cjs/{debounce-527845ab.js → debounce-9edd0d6e.js} +1 -1
- package/dist/cjs/{dom-ea75ebc6.js → dom-3ca6902f.js} +3 -3
- package/dist/cjs/{filter-63b99a74.js → filter-f84c7137.js} +2 -2
- package/dist/cjs/{floating-ui-8b500d37.js → floating-ui-176d73c0.js} +4 -4
- package/dist/cjs/{focusTrapComponent-3e8b3ae5.js → focusTrapComponent-d211e7ac.js} +2 -2
- package/dist/cjs/{form-dfdb5854.js → form-a81e4b71.js} +3 -3
- package/dist/cjs/{guid-326b9ffc.js → guid-8b490898.js} +1 -1
- package/dist/cjs/{index-3b279769.js → index-1710f516.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-6e2189a0.js → interactive-4eaafec8.js} +1 -1
- package/dist/cjs/{key-d2a3113b.js → key-3813e6d8.js} +1 -1
- package/dist/cjs/{label-40dad301.js → label-bc15360c.js} +2 -2
- package/dist/cjs/{loadable-8f56241b.js → loadable-51fd17a5.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-749b1b33.js → locale-3bef19c3.js} +4 -4
- package/dist/cjs/{math-bc689fd2.js → math-da540801.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-c4cab33f.js → nonChromiumPlatformUtils-cf73ac0a.js} +6 -6
- package/dist/cjs/{observers-3a4631fe.js → observers-7e0b8aad.js} +1 -1
- package/dist/cjs/{openCloseComponent-7ce7f8ba.js → openCloseComponent-0b622ffd.js} +2 -2
- package/dist/cjs/{resources-c9384387.js → resources-3188aca1.js} +1 -1
- package/dist/cjs/{resources-8420020e.js → resources-52b8a551.js} +5 -5
- package/dist/cjs/{resources-1af6102f.js → resources-7ddd246d.js} +1 -1
- package/dist/cjs/{resources-66e1bb4c.js → resources-af3f995b.js} +1 -1
- package/dist/cjs/{resources-9f8df57c.js → resources-bd019e12.js} +1 -1
- package/dist/cjs/{resources-5b5cc23d.js → resources-e95831d6.js} +1 -1
- package/dist/cjs/{sortable.esm-27bf9d47.js → sortable.esm-c9ae6a42.js} +1 -1
- package/dist/cjs/{t9n-386e499c.js → t9n-f5ff83ce.js} +3 -3
- package/dist/cjs/{utils-856ada87.js → utils-472172ec.js} +3 -3
- package/dist/cjs/{utils-b72793e7.js → utils-fc0a7618.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/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.css +2 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +11 -9
- package/dist/collection/components/dropdown-item/resources.js +7 -2
- 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.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.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.css +2 -2
- package/dist/collection/components/tip/tip.js +6 -6
- 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 +17 -10
- 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 +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-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 +5 -5
- 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-d62d4b31.js → ExpandToggle-35bfc8e6.js} +5 -5
- package/dist/esm/{Heading-88da2afc.js → Heading-27071a6d.js} +2 -2
- package/dist/esm/{app-globals-60c891c4.js → app-globals-5af2b0ec.js} +2 -2
- package/dist/esm/{array-ef9c1e49.js → array-7fb337da.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 +28 -21
- 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 +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +9 -9
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +15 -15
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +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 +14 -14
- 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-fef27a44.js → conditionalSlot-cfdaad45.js} +3 -3
- package/dist/esm/{debounce-0897a785.js → debounce-eba006af.js} +1 -1
- package/dist/esm/{dom-bba5df31.js → dom-7b6e1d16.js} +3 -3
- package/dist/esm/{filter-4e8095e0.js → filter-63500199.js} +2 -2
- package/dist/esm/{floating-ui-0d9437a9.js → floating-ui-b26d1afe.js} +4 -4
- package/dist/esm/{focusTrapComponent-5cb423e8.js → focusTrapComponent-56cfddea.js} +2 -2
- package/dist/esm/{form-4b2e5ff4.js → form-0d64b25b.js} +3 -3
- package/dist/esm/{guid-9cffc4b6.js → guid-0d9a81ab.js} +1 -1
- package/dist/esm/{index-59e7e406.js → index-6dde6c68.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-2c045acb.js → interactive-854b7e2a.js} +1 -1
- package/dist/esm/{key-ed34ff27.js → key-1bd53f6f.js} +1 -1
- package/dist/esm/{label-91eddf2a.js → label-1746db7e.js} +2 -2
- package/dist/esm/{loadable-bcd09496.js → loadable-02dfd3f8.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-03073f00.js → locale-94fab538.js} +4 -4
- package/dist/esm/{math-7d1eda53.js → math-029ab0b9.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-7eb84948.js → nonChromiumPlatformUtils-2a696f6f.js} +6 -6
- package/dist/esm/{observers-0a725326.js → observers-a91d5d4b.js} +1 -1
- package/dist/esm/{openCloseComponent-c7b0a1a1.js → openCloseComponent-cdb663ef.js} +2 -2
- package/dist/esm/{resources-a6081a42.js → resources-212382d7.js} +1 -1
- package/dist/esm/{resources-61d2909f.js → resources-3498f0f5.js} +1 -1
- package/dist/esm/{resources-2fd91195.js → resources-50a3c640.js} +5 -5
- package/dist/esm/{resources-45ac1ed8.js → resources-5ea976d7.js} +1 -1
- package/dist/esm/{resources-6b21e09d.js → resources-81fa3ed5.js} +1 -1
- package/dist/esm/{resources-8512d3d9.js → resources-c7b823b9.js} +1 -1
- package/dist/esm/{sortable.esm-f6883bad.js → sortable.esm-71ca0379.js} +1 -1
- package/dist/esm/{t9n-410cbf0e.js → t9n-f9f07c8e.js} +3 -3
- package/dist/esm/{utils-f2bcfc18.js → utils-099bcbf4.js} +3 -3
- package/dist/esm/{utils-6d34f322.js → utils-c7ed2ac1.js} +1 -1
- package/dist/extras/docs-json.json +4 -4
- package/dist/extras/vscode-data.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +4 -2
- package/dist/types/components/dropdown-item/resources.d.ts +5 -0
- package/dist/types/components/tab-title/resources.d.ts +8 -0
- package/dist/types/components/tip/tip.d.ts +2 -2
- package/dist/types/components.d.ts +3 -3
- package/hydrate/index.js +370 -353
- package/package.json +1 -1
- package/dist/calcite/p-03485dee.entry.js +0 -6
- package/dist/calcite/p-102ec804.entry.js +0 -6
- package/dist/calcite/p-2cfbec83.entry.js +0 -6
- package/dist/calcite/p-3002440f.js +0 -6
- package/dist/calcite/p-464fe3b1.js +0 -6
- package/dist/calcite/p-467612d9.entry.js +0 -6
- package/dist/calcite/p-4ab86e02.entry.js +0 -6
- package/dist/calcite/p-6063a46b.entry.js +0 -6
- package/dist/calcite/p-7e55bfc7.entry.js +0 -6
- package/dist/calcite/p-8a1aa0f7.js +0 -6
- package/dist/calcite/p-aa2b91de.js +0 -6
- package/dist/calcite/p-b0100929.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.727
|
|
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,17 +19331,22 @@ 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",
|
|
19338
19338
|
containerLarge: "container--l",
|
|
19339
19339
|
containerMulti: "container--multi-selection",
|
|
19340
19340
|
containerSingle: "container--single-selection",
|
|
19341
|
-
containerNone: "container--none-selection"
|
|
19341
|
+
containerNone: "container--none-selection",
|
|
19342
|
+
icon: "dropdown-item-icon",
|
|
19343
|
+
iconEnd: "dropdown-item-icon-end",
|
|
19344
|
+
iconStart: "dropdown-item-icon-start",
|
|
19345
|
+
itemContent: "dropdown-item-content",
|
|
19346
|
+
link: "dropdown-link"
|
|
19342
19347
|
};
|
|
19343
19348
|
|
|
19344
|
-
const dropdownItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-dropdown-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-dropdown-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown-item:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-dropdown-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-item-h{display:none}/*!@.container--s*/.container--s.sc-calcite-dropdown-item{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}/*!@.container--m*/.container--m.sc-calcite-dropdown-item{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}/*!@.container--l*/.container--l.sc-calcite-dropdown-item{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}/*!@.container--s.container--none-selection*/.container--s.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.25rem}/*!@.container--s.container--none-selection .dropdown-link*/.container--s.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@.container--m.container--none-selection*/.container--m.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.5rem}/*!@.container--m.container--none-selection .dropdown-link*/.container--m.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@.container--l.container--none-selection*/.container--l.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.75rem}/*!@.container--l.container--none-selection .dropdown-link*/.container--l.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@:host*/.sc-calcite-dropdown-item-h{position:relative;display:flex;flex-grow:1;align-items:center}/*!@.container*/.container.sc-calcite-dropdown-item{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}/*!@.dropdown-item-content*/.dropdown-item-content.sc-calcite-dropdown-item{flex:1 1 auto;padding-inline-end:auto;padding-inline-start:0.25rem}/*!@:host,\n.container--link a*/.sc-calcite-dropdown-item-h,.container--link.sc-calcite-dropdown-item a.sc-calcite-dropdown-item{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-dropdown-item-h:focus{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.container--link*/.container--link.sc-calcite-dropdown-item{padding:0px}/*!@.container--link a*/.container--link.sc-calcite-dropdown-item a.sc-calcite-dropdown-item{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@.container--s .dropdown-link*/.container--s.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}/*!@.container--m .dropdown-link*/.container--m.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}/*!@.container--l .dropdown-link*/.container--l.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}/*!@:host(:hover) .container,\n:host(:active) .container*/.sc-calcite-dropdown-item-h:hover .container.sc-calcite-dropdown-item,.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host(:hover) .container--link .dropdown-link,\n:host(:active) .container--link .dropdown-link*/.sc-calcite-dropdown-item-h:hover .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item,.sc-calcite-dropdown-item-h:active .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .container*/.sc-calcite-dropdown-item-h:focus .container.sc-calcite-dropdown-item{color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host(:active) .container*/.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host(:hover) .container:before,\n:host(:active) .container:before,\n:host(:focus) .container:before*/.sc-calcite-dropdown-item-h:hover .container.sc-calcite-dropdown-item:before,.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item:before,.sc-calcite-dropdown-item-h:focus .container.sc-calcite-dropdown-item:before{opacity:1}/*!@:host([selected]) .container:not(.container--none-selection),\n:host([selected]) .container--link .dropdown-link*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection),[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .container:not(.container--none-selection):before,\n:host([selected]) .container--link .dropdown-link:before*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection):before,[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item:before{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selected]) .container:not(.container--none-selection) calcite-icon,\n:host([selected]) .container--link .dropdown-link calcite-icon*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection) calcite-icon.sc-calcite-dropdown-item,[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item calcite-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-brand)}/*!@.container--multi-selection:before,\n.container--none-selection:before*/.container--multi-selection.sc-calcite-dropdown-item:before,.container--none-selection.sc-calcite-dropdown-item:before{display:none}/*!@.container--s:before*/.container--s.sc-calcite-dropdown-item:before{inset-inline-start:0.5rem}/*!@.container--m:before*/.container--m.sc-calcite-dropdown-item:before{inset-inline-start:0.75rem}/*!@.container--l:before*/.container--l.sc-calcite-dropdown-item:before{inset-inline-start:1rem}/*!@.dropdown-item-icon*/.dropdown-item-icon.sc-calcite-dropdown-item{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}/*!@.container--s .dropdown-item-icon*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.25rem}/*!@.container--m .dropdown-item-icon*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.5rem}/*!@.container--l .dropdown-item-icon*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.75rem}/*!@:host(:hover) .dropdown-item-icon*/.sc-calcite-dropdown-item-h:hover .dropdown-item-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-border-1);opacity:1}/*!@:host([selected]) .dropdown-item-icon*/[selected].sc-calcite-dropdown-item-h .dropdown-item-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-brand);opacity:1}/*!@.container--s .dropdown-item-icon-start*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:0.5rem;margin-inline-start:0.25rem}/*!@.container--s .dropdown-item-icon-end*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:0.5rem}/*!@.container--m .dropdown-item-icon-start*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:0.75rem;margin-inline-start:0.25rem}/*!@.container--m .dropdown-item-icon-end*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:0.75rem}/*!@.container--l .dropdown-item-icon-start*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:1rem;margin-inline-start:0.25rem}/*!@.container--l .dropdown-item-icon-end*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:1rem}";
|
|
19349
|
+
const dropdownItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-dropdown-item:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-dropdown-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-dropdown-item:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-dropdown-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-item-h{display:none}/*!@.container--s*/.container--s.sc-calcite-dropdown-item{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}/*!@.container--m*/.container--m.sc-calcite-dropdown-item{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}/*!@.container--l*/.container--l.sc-calcite-dropdown-item{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}/*!@.container--s.container--none-selection*/.container--s.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.25rem}/*!@.container--s.container--none-selection .dropdown-link*/.container--s.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@.container--m.container--none-selection*/.container--m.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.5rem}/*!@.container--m.container--none-selection .dropdown-link*/.container--m.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@.container--l.container--none-selection*/.container--l.container--none-selection.sc-calcite-dropdown-item{padding-inline-start:0.75rem}/*!@.container--l.container--none-selection .dropdown-link*/.container--l.container--none-selection.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-inline-start:0px}/*!@:host*/.sc-calcite-dropdown-item-h{position:relative;display:flex;flex-grow:1;align-items:center}/*!@.container*/.container.sc-calcite-dropdown-item{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}/*!@.dropdown-item-content*/.dropdown-item-content.sc-calcite-dropdown-item{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}/*!@:host,\n.container--link a*/.sc-calcite-dropdown-item-h,.container--link.sc-calcite-dropdown-item a.sc-calcite-dropdown-item{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-dropdown-item-h:focus{outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.container--link*/.container--link.sc-calcite-dropdown-item{padding:0px}/*!@.container--link a*/.container--link.sc-calcite-dropdown-item a.sc-calcite-dropdown-item{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@.container--s .dropdown-link*/.container--s.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}/*!@.container--m .dropdown-link*/.container--m.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}/*!@.container--l .dropdown-link*/.container--l.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}/*!@:host(:hover) .container,\n:host(:active) .container*/.sc-calcite-dropdown-item-h:hover .container.sc-calcite-dropdown-item,.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host(:hover) .container--link .dropdown-link,\n:host(:active) .container--link .dropdown-link*/.sc-calcite-dropdown-item-h:hover .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item,.sc-calcite-dropdown-item-h:active .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .container*/.sc-calcite-dropdown-item-h:focus .container.sc-calcite-dropdown-item{color:var(--calcite-ui-text-1);text-decoration-line:none}/*!@:host(:active) .container*/.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host(:hover) .container:before,\n:host(:active) .container:before,\n:host(:focus) .container:before*/.sc-calcite-dropdown-item-h:hover .container.sc-calcite-dropdown-item:before,.sc-calcite-dropdown-item-h:active .container.sc-calcite-dropdown-item:before,.sc-calcite-dropdown-item-h:focus .container.sc-calcite-dropdown-item:before{opacity:1}/*!@:host([selected]) .container:not(.container--none-selection),\n:host([selected]) .container--link .dropdown-link*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection),[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}/*!@:host([selected]) .container:not(.container--none-selection):before,\n:host([selected]) .container--link .dropdown-link:before*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection):before,[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item:before{opacity:1;color:var(--calcite-ui-brand)}/*!@:host([selected]) .container:not(.container--none-selection) calcite-icon,\n:host([selected]) .container--link .dropdown-link calcite-icon*/[selected].sc-calcite-dropdown-item-h .container.sc-calcite-dropdown-item:not(.container--none-selection) calcite-icon.sc-calcite-dropdown-item,[selected].sc-calcite-dropdown-item-h .container--link.sc-calcite-dropdown-item .dropdown-link.sc-calcite-dropdown-item calcite-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-brand)}/*!@.container--multi-selection:before,\n.container--none-selection:before*/.container--multi-selection.sc-calcite-dropdown-item:before,.container--none-selection.sc-calcite-dropdown-item:before{display:none}/*!@.container--s:before*/.container--s.sc-calcite-dropdown-item:before{inset-inline-start:0.5rem}/*!@.container--m:before*/.container--m.sc-calcite-dropdown-item:before{inset-inline-start:0.75rem}/*!@.container--l:before*/.container--l.sc-calcite-dropdown-item:before{inset-inline-start:1rem}/*!@.dropdown-item-icon*/.dropdown-item-icon.sc-calcite-dropdown-item{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}/*!@.container--s .dropdown-item-icon*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.25rem}/*!@.container--m .dropdown-item-icon*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.5rem}/*!@.container--l .dropdown-item-icon*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon.sc-calcite-dropdown-item{inset-inline-start:0.75rem}/*!@:host(:hover) .dropdown-item-icon*/.sc-calcite-dropdown-item-h:hover .dropdown-item-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-border-1);opacity:1}/*!@:host([selected]) .dropdown-item-icon*/[selected].sc-calcite-dropdown-item-h .dropdown-item-icon.sc-calcite-dropdown-item{color:var(--calcite-ui-brand);opacity:1}/*!@.container--s .dropdown-item-icon-start*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:0.5rem;margin-inline-start:0.25rem}/*!@.container--s .dropdown-item-icon-end*/.container--s.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:0.5rem}/*!@.container--m .dropdown-item-icon-start*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:0.75rem;margin-inline-start:0.25rem}/*!@.container--m .dropdown-item-icon-end*/.container--m.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:0.75rem}/*!@.container--l .dropdown-item-icon-start*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon-start.sc-calcite-dropdown-item{margin-inline-end:1rem;margin-inline-start:0.25rem}/*!@.container--l .dropdown-item-icon-end*/.container--l.sc-calcite-dropdown-item .dropdown-item-icon-end.sc-calcite-dropdown-item{margin-inline-start:1rem}";
|
|
19345
19350
|
|
|
19346
19351
|
/**
|
|
19347
19352
|
* @slot - A slot for adding text.
|
|
@@ -19353,6 +19358,8 @@ class DropdownItem {
|
|
|
19353
19358
|
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect", 6);
|
|
19354
19359
|
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent", 6);
|
|
19355
19360
|
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest", 6);
|
|
19361
|
+
/** Specifies the scale of dropdown-item controlled by the parent, defaults to m */
|
|
19362
|
+
this.scale = "m";
|
|
19356
19363
|
this.selected = false;
|
|
19357
19364
|
this.iconFlipRtl = undefined;
|
|
19358
19365
|
this.iconStart = undefined;
|
|
@@ -19388,18 +19395,18 @@ class DropdownItem {
|
|
|
19388
19395
|
this.initialize();
|
|
19389
19396
|
}
|
|
19390
19397
|
render() {
|
|
19391
|
-
const scale = getElementProp(this.el, "scale",
|
|
19392
|
-
const iconStartEl = (hAsync("calcite-icon", { class:
|
|
19393
|
-
const contentNode = (hAsync("span", { class:
|
|
19394
|
-
const iconEndEl = (hAsync("calcite-icon", { class:
|
|
19398
|
+
const scale = getElementProp(this.el, "scale", this.scale);
|
|
19399
|
+
const iconStartEl = (hAsync("calcite-icon", { class: CSS$F.iconStart, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: scale === "l" ? "m" : "s" }));
|
|
19400
|
+
const contentNode = (hAsync("span", { class: CSS$F.itemContent }, hAsync("slot", null)));
|
|
19401
|
+
const iconEndEl = (hAsync("calcite-icon", { class: CSS$F.iconEnd, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: scale === "l" ? "m" : "s" }));
|
|
19395
19402
|
const slottedContent = this.iconStart && this.iconEnd
|
|
19396
19403
|
? [iconStartEl, contentNode, iconEndEl]
|
|
19397
19404
|
: this.iconStart
|
|
19398
|
-
? [iconStartEl,
|
|
19405
|
+
? [iconStartEl, contentNode]
|
|
19399
19406
|
: this.iconEnd
|
|
19400
19407
|
? [contentNode, iconEndEl]
|
|
19401
19408
|
: contentNode;
|
|
19402
|
-
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class:
|
|
19409
|
+
const contentEl = !this.href ? (slottedContent) : (hAsync("a", { "aria-label": this.label, class: CSS$F.link, href: this.href, ref: (el) => (this.childLink = el), rel: this.rel, tabIndex: -1, target: this.target }, slottedContent));
|
|
19403
19410
|
const itemRole = this.href
|
|
19404
19411
|
? null
|
|
19405
19412
|
: this.selectionMode === "single"
|
|
@@ -19410,14 +19417,14 @@ class DropdownItem {
|
|
|
19410
19417
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
|
|
19411
19418
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
19412
19419
|
container: true,
|
|
19413
|
-
[CSS$
|
|
19414
|
-
[CSS$
|
|
19415
|
-
[CSS$
|
|
19416
|
-
[CSS$
|
|
19417
|
-
[CSS$
|
|
19418
|
-
[CSS$
|
|
19419
|
-
[CSS$
|
|
19420
|
-
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class:
|
|
19420
|
+
[CSS$F.containerLink]: !!this.href,
|
|
19421
|
+
[CSS$F.containerSmall]: scale === "s",
|
|
19422
|
+
[CSS$F.containerMedium]: scale === "m",
|
|
19423
|
+
[CSS$F.containerLarge]: scale === "l",
|
|
19424
|
+
[CSS$F.containerMulti]: this.selectionMode === "multiple",
|
|
19425
|
+
[CSS$F.containerSingle]: this.selectionMode === "single",
|
|
19426
|
+
[CSS$F.containerNone]: this.selectionMode === "none"
|
|
19427
|
+
} }, this.selectionMode !== "none" ? (hAsync("calcite-icon", { class: CSS$F.icon, icon: this.selectionMode === "multiple" ? "check" : "bullet-point", scale: scale === "l" ? "m" : "s" })) : null, contentEl)));
|
|
19421
19428
|
}
|
|
19422
19429
|
//--------------------------------------------------------------------------
|
|
19423
19430
|
//
|
|
@@ -19523,7 +19530,7 @@ class DropdownItem {
|
|
|
19523
19530
|
}; }
|
|
19524
19531
|
}
|
|
19525
19532
|
|
|
19526
|
-
const CSS$
|
|
19533
|
+
const CSS$E = {
|
|
19527
19534
|
button: "button"
|
|
19528
19535
|
};
|
|
19529
19536
|
const ICONS$b = {
|
|
@@ -19578,7 +19585,7 @@ class Fab {
|
|
|
19578
19585
|
render() {
|
|
19579
19586
|
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
|
|
19580
19587
|
const title = !textEnabled ? label || text || null : null;
|
|
19581
|
-
return (hAsync("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS$
|
|
19588
|
+
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
19589
|
this.buttonEl = buttonEl;
|
|
19583
19590
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
19584
19591
|
}
|
|
@@ -19606,7 +19613,7 @@ class Fab {
|
|
|
19606
19613
|
}; }
|
|
19607
19614
|
}
|
|
19608
19615
|
|
|
19609
|
-
const CSS$
|
|
19616
|
+
const CSS$D = {
|
|
19610
19617
|
container: "container",
|
|
19611
19618
|
searchIcon: "search-icon"
|
|
19612
19619
|
};
|
|
@@ -19719,7 +19726,7 @@ class Filter {
|
|
|
19719
19726
|
// --------------------------------------------------------------------------
|
|
19720
19727
|
render() {
|
|
19721
19728
|
const { disabled, scale } = this;
|
|
19722
|
-
return (hAsync(Fragment, null, hAsync("div", { class: CSS$
|
|
19729
|
+
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
19730
|
this.textInput = el;
|
|
19724
19731
|
}, scale: scale, type: "text", value: this.value })))));
|
|
19725
19732
|
}
|
|
@@ -19755,7 +19762,7 @@ class Filter {
|
|
|
19755
19762
|
}; }
|
|
19756
19763
|
}
|
|
19757
19764
|
|
|
19758
|
-
const CSS$
|
|
19765
|
+
const CSS$C = {
|
|
19759
19766
|
frame: "frame",
|
|
19760
19767
|
frameAdvancing: "frame--advancing",
|
|
19761
19768
|
frameRetreating: "frame--retreating"
|
|
@@ -19855,9 +19862,9 @@ class Flow {
|
|
|
19855
19862
|
render() {
|
|
19856
19863
|
const { flowDirection } = this;
|
|
19857
19864
|
const frameDirectionClasses = {
|
|
19858
|
-
[CSS$
|
|
19859
|
-
[CSS$
|
|
19860
|
-
[CSS$
|
|
19865
|
+
[CSS$C.frame]: true,
|
|
19866
|
+
[CSS$C.frameAdvancing]: flowDirection === "advancing",
|
|
19867
|
+
[CSS$C.frameRetreating]: flowDirection === "retreating"
|
|
19861
19868
|
};
|
|
19862
19869
|
return (hAsync("div", { class: frameDirectionClasses }, hAsync("slot", null)));
|
|
19863
19870
|
}
|
|
@@ -19878,7 +19885,7 @@ class Flow {
|
|
|
19878
19885
|
}; }
|
|
19879
19886
|
}
|
|
19880
19887
|
|
|
19881
|
-
const CSS$
|
|
19888
|
+
const CSS$B = {
|
|
19882
19889
|
backButton: "back-button",
|
|
19883
19890
|
container: "container",
|
|
19884
19891
|
header: "header",
|
|
@@ -19911,7 +19918,7 @@ const SLOTS$j = {
|
|
|
19911
19918
|
footerActions: "footer-actions"
|
|
19912
19919
|
};
|
|
19913
19920
|
|
|
19914
|
-
const CSS$
|
|
19921
|
+
const CSS$A = {
|
|
19915
19922
|
backButton: "back-button"
|
|
19916
19923
|
};
|
|
19917
19924
|
const ICONS$8 = {
|
|
@@ -20055,7 +20062,7 @@ class FlowItem {
|
|
|
20055
20062
|
const { showBackButton, backButtonClick, messages } = this;
|
|
20056
20063
|
const label = messages.back;
|
|
20057
20064
|
const icon = rtl ? ICONS$8.backRight : ICONS$8.backLeft;
|
|
20058
|
-
return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$
|
|
20065
|
+
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
20066
|
}
|
|
20060
20067
|
render() {
|
|
20061
20068
|
const { closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, backButtonEl } = this;
|
|
@@ -20322,7 +20329,7 @@ class Graph {
|
|
|
20322
20329
|
}; }
|
|
20323
20330
|
}
|
|
20324
20331
|
|
|
20325
|
-
const CSS$
|
|
20332
|
+
const CSS$z = {
|
|
20326
20333
|
handle: "handle",
|
|
20327
20334
|
handleActivated: "handle--activated"
|
|
20328
20335
|
};
|
|
@@ -20398,7 +20405,7 @@ class Handle {
|
|
|
20398
20405
|
render() {
|
|
20399
20406
|
return (
|
|
20400
20407
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
20401
|
-
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
20408
|
+
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
20409
|
this.handleButton = el;
|
|
20403
20410
|
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
|
|
20404
20411
|
}
|
|
@@ -20418,7 +20425,7 @@ class Handle {
|
|
|
20418
20425
|
}; }
|
|
20419
20426
|
}
|
|
20420
20427
|
|
|
20421
|
-
const CSS$
|
|
20428
|
+
const CSS$y = {
|
|
20422
20429
|
icon: "icon",
|
|
20423
20430
|
flipRtl: "flip-rtl"
|
|
20424
20431
|
};
|
|
@@ -20466,7 +20473,7 @@ class Icon {
|
|
|
20466
20473
|
const semantic = !!textLabel;
|
|
20467
20474
|
const paths = [].concat(pathData || "");
|
|
20468
20475
|
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { "aria-hidden": "true", class: {
|
|
20469
|
-
[CSS$
|
|
20476
|
+
[CSS$y.flipRtl]: dir === "rtl" && flipRtl,
|
|
20470
20477
|
svg: true
|
|
20471
20478
|
}, 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
20479
|
}
|
|
@@ -20512,7 +20519,7 @@ class Icon {
|
|
|
20512
20519
|
}; }
|
|
20513
20520
|
}
|
|
20514
20521
|
|
|
20515
|
-
const CSS$
|
|
20522
|
+
const CSS$x = {
|
|
20516
20523
|
wrapper: "wrapper",
|
|
20517
20524
|
confirmChangesButton: "confirm-changes-button",
|
|
20518
20525
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -20660,12 +20667,12 @@ class InlineEditable {
|
|
|
20660
20667
|
updateHostInteraction(this);
|
|
20661
20668
|
}
|
|
20662
20669
|
render() {
|
|
20663
|
-
return (hAsync("div", { class: CSS$
|
|
20670
|
+
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
20671
|
opacity: this.editingEnabled ? "0" : "1",
|
|
20665
20672
|
width: this.editingEnabled ? "0" : "inherit"
|
|
20666
20673
|
}, type: "button" }), this.shouldShowControls && [
|
|
20667
|
-
hAsync("div", { class: CSS$
|
|
20668
|
-
hAsync("calcite-button", { appearance: "solid", class: CSS$
|
|
20674
|
+
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" })),
|
|
20675
|
+
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
20676
|
])));
|
|
20670
20677
|
}
|
|
20671
20678
|
//--------------------------------------------------------------------------
|
|
@@ -20750,7 +20757,7 @@ class InlineEditable {
|
|
|
20750
20757
|
}; }
|
|
20751
20758
|
}
|
|
20752
20759
|
|
|
20753
|
-
const CSS$
|
|
20760
|
+
const CSS$w = {
|
|
20754
20761
|
loader: "loader",
|
|
20755
20762
|
clearButton: "clear-button",
|
|
20756
20763
|
editingEnabled: "editing-enabled",
|
|
@@ -20778,7 +20785,7 @@ const SLOTS$h = {
|
|
|
20778
20785
|
action: "action"
|
|
20779
20786
|
};
|
|
20780
20787
|
|
|
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}";
|
|
20788
|
+
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
20789
|
|
|
20783
20790
|
/**
|
|
20784
20791
|
* @slot action - A slot for positioning a `calcite-button` next to the component.
|
|
@@ -21337,34 +21344,34 @@ class Input {
|
|
|
21337
21344
|
// --------------------------------------------------------------------------
|
|
21338
21345
|
render() {
|
|
21339
21346
|
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$
|
|
21347
|
+
const loader = (hAsync("div", { class: CSS$w.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
21348
|
+
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" })));
|
|
21349
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$w.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
21343
21350
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
21344
21351
|
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" })));
|
|
21352
|
+
[CSS$w.numberButtonItem]: true,
|
|
21353
|
+
[CSS$w.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21354
|
+
}, "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
21355
|
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$
|
|
21356
|
+
[CSS$w.numberButtonItem]: true,
|
|
21357
|
+
[CSS$w.buttonItemHorizontal]: isHorizontalNumberButton
|
|
21358
|
+
}, "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" })));
|
|
21359
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$w.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
21360
|
+
const prefixText = hAsync("div", { class: CSS$w.prefix }, this.prefixText);
|
|
21361
|
+
const suffixText = hAsync("div", { class: CSS$w.suffix }, this.suffixText);
|
|
21355
21362
|
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
21363
|
const childEl = this.type !== "number"
|
|
21357
21364
|
? [
|
|
21358
21365
|
hAsync(this.childElType, { accept: this.accept, "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
21359
|
-
[CSS$
|
|
21360
|
-
[CSS$
|
|
21366
|
+
[CSS$w.editingEnabled]: this.editingEnabled,
|
|
21367
|
+
[CSS$w.inlineChild]: !!this.inlineEditableEl
|
|
21361
21368
|
}, 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$
|
|
21369
|
+
this.isTextarea ? (hAsync("div", { class: CSS$w.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
|
|
21363
21370
|
]
|
|
21364
21371
|
: null;
|
|
21365
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$
|
|
21372
|
+
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
21373
|
? numberButtonsHorizontalDown
|
|
21367
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
21374
|
+
: 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
21375
|
? numberButtonsVertical
|
|
21369
21376
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
21370
21377
|
? numberButtonsHorizontalUp
|
|
@@ -21438,7 +21445,7 @@ class Input {
|
|
|
21438
21445
|
}; }
|
|
21439
21446
|
}
|
|
21440
21447
|
|
|
21441
|
-
const CSS$
|
|
21448
|
+
const CSS$v = {
|
|
21442
21449
|
menu: "menu-container",
|
|
21443
21450
|
menuActive: "menu-container--active"
|
|
21444
21451
|
};
|
|
@@ -21836,14 +21843,14 @@ class InputDatePicker {
|
|
|
21836
21843
|
useGrouping: false
|
|
21837
21844
|
};
|
|
21838
21845
|
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$
|
|
21846
|
+
[CSS$v.menu]: true,
|
|
21847
|
+
[CSS$v.menuActive]: this.open
|
|
21841
21848
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
21842
21849
|
["calendar-picker-wrapper"]: true,
|
|
21843
21850
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
21844
21851
|
[FloatingCSS.animation]: true,
|
|
21845
21852
|
[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: {
|
|
21853
|
+
}, 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
21854
|
input: true,
|
|
21848
21855
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
21849
21856
|
}, 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 +22076,7 @@ class InputMessage {
|
|
|
22069
22076
|
}; }
|
|
22070
22077
|
}
|
|
22071
22078
|
|
|
22072
|
-
const CSS$
|
|
22079
|
+
const CSS$u = {
|
|
22073
22080
|
loader: "loader",
|
|
22074
22081
|
clearButton: "clear-button",
|
|
22075
22082
|
editingEnabled: "editing-enabled",
|
|
@@ -22089,7 +22096,7 @@ const SLOTS$g = {
|
|
|
22089
22096
|
action: "action"
|
|
22090
22097
|
};
|
|
22091
22098
|
|
|
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}";
|
|
22099
|
+
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
22100
|
|
|
22094
22101
|
/**
|
|
22095
22102
|
* @slot action - A slot for positioning a button next to the component.
|
|
@@ -22559,25 +22566,25 @@ class InputNumber {
|
|
|
22559
22566
|
// --------------------------------------------------------------------------
|
|
22560
22567
|
render() {
|
|
22561
22568
|
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$
|
|
22569
|
+
const loader = (hAsync("div", { class: CSS$u.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
22570
|
+
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" })));
|
|
22571
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$u.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
22565
22572
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
22566
22573
|
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" })));
|
|
22574
|
+
[CSS$u.numberButtonItem]: true,
|
|
22575
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22576
|
+
}, "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
22577
|
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$
|
|
22578
|
+
[CSS$u.numberButtonItem]: true,
|
|
22579
|
+
[CSS$u.buttonItemHorizontal]: isHorizontalNumberButton
|
|
22580
|
+
}, "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" })));
|
|
22581
|
+
const numberButtonsVertical = (hAsync("div", { class: CSS$u.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
22582
|
+
const prefixText = hAsync("div", { class: CSS$u.prefix }, this.prefixText);
|
|
22583
|
+
const suffixText = hAsync("div", { class: CSS$u.suffix }, this.suffixText);
|
|
22577
22584
|
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$
|
|
22585
|
+
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
22586
|
? numberButtonsHorizontalDown
|
|
22580
|
-
: null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$
|
|
22587
|
+
: 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
22588
|
? numberButtonsHorizontalUp
|
|
22582
22589
|
: null, hAsync(HiddenFormInputSlot, { component: this }))));
|
|
22583
22590
|
}
|
|
@@ -22643,7 +22650,7 @@ class InputNumber {
|
|
|
22643
22650
|
}; }
|
|
22644
22651
|
}
|
|
22645
22652
|
|
|
22646
|
-
const CSS$
|
|
22653
|
+
const CSS$t = {
|
|
22647
22654
|
loader: "loader",
|
|
22648
22655
|
clearButton: "clear-button",
|
|
22649
22656
|
editingEnabled: "editing-enabled",
|
|
@@ -22660,7 +22667,7 @@ const SLOTS$f = {
|
|
|
22660
22667
|
action: "action"
|
|
22661
22668
|
};
|
|
22662
22669
|
|
|
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}";
|
|
22670
|
+
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
22671
|
|
|
22665
22672
|
/**
|
|
22666
22673
|
* @slot action - A slot for positioning a button next to the component.
|
|
@@ -22937,16 +22944,16 @@ class InputText {
|
|
|
22937
22944
|
// --------------------------------------------------------------------------
|
|
22938
22945
|
render() {
|
|
22939
22946
|
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$
|
|
22947
|
+
const loader = (hAsync("div", { class: CSS$t.loader }, hAsync("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
22948
|
+
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" })));
|
|
22949
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
22950
|
+
const prefixText = hAsync("div", { class: CSS$t.prefix }, this.prefixText);
|
|
22951
|
+
const suffixText = hAsync("div", { class: CSS$t.suffix }, this.suffixText);
|
|
22945
22952
|
const childEl = (hAsync("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
22946
|
-
[CSS$
|
|
22947
|
-
[CSS$
|
|
22953
|
+
[CSS$t.editingEnabled]: this.editingEnabled,
|
|
22954
|
+
[CSS$t.inlineChild]: !!this.inlineEditableEl
|
|
22948
22955
|
}, 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$
|
|
22956
|
+
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
22957
|
}
|
|
22951
22958
|
static get assetsDirs() { return ["assets"]; }
|
|
22952
22959
|
get el() { return getElement(this); }
|
|
@@ -23479,7 +23486,7 @@ class InputTimePicker {
|
|
|
23479
23486
|
}; }
|
|
23480
23487
|
}
|
|
23481
23488
|
|
|
23482
|
-
const CSS$
|
|
23489
|
+
const CSS$s = {
|
|
23483
23490
|
container: "container"
|
|
23484
23491
|
};
|
|
23485
23492
|
|
|
@@ -23519,7 +23526,7 @@ class Label {
|
|
|
23519
23526
|
document.dispatchEvent(new CustomEvent(labelDisconnectedEvent));
|
|
23520
23527
|
}
|
|
23521
23528
|
render() {
|
|
23522
|
-
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$
|
|
23529
|
+
return (hAsync(Host, { onClick: this.labelClickHandler }, hAsync("div", { class: CSS$s.container }, hAsync("slot", null))));
|
|
23523
23530
|
}
|
|
23524
23531
|
get el() { return getElement(this); }
|
|
23525
23532
|
static get style() { return labelCss; }
|
|
@@ -23643,7 +23650,7 @@ class Link {
|
|
|
23643
23650
|
}; }
|
|
23644
23651
|
}
|
|
23645
23652
|
|
|
23646
|
-
const CSS$
|
|
23653
|
+
const CSS$r = {
|
|
23647
23654
|
container: "container",
|
|
23648
23655
|
containerBorderSelected: "container--border-selected",
|
|
23649
23656
|
containerBorderUnselected: "container--border-unselected",
|
|
@@ -23703,7 +23710,7 @@ function getDepth(element, includeGroup = false) {
|
|
|
23703
23710
|
}
|
|
23704
23711
|
}
|
|
23705
23712
|
|
|
23706
|
-
const CSS$
|
|
23713
|
+
const CSS$q = {
|
|
23707
23714
|
container: "container",
|
|
23708
23715
|
table: "table",
|
|
23709
23716
|
scrim: "scrim",
|
|
@@ -23950,7 +23957,7 @@ class List$1 {
|
|
|
23950
23957
|
// --------------------------------------------------------------------------
|
|
23951
23958
|
render() {
|
|
23952
23959
|
const { loading, label, disabled, dataForFilter, filterEnabled, filterPlaceholder, filterText } = this;
|
|
23953
|
-
return (hAsync("div", { class: CSS$
|
|
23960
|
+
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
23961
|
}
|
|
23955
23962
|
get el() { return getElement(this); }
|
|
23956
23963
|
static get watchers() { return {
|
|
@@ -24199,7 +24206,7 @@ class ListItem {
|
|
|
24199
24206
|
if (selectionMode === "none" || selectionAppearance === "border") {
|
|
24200
24207
|
return null;
|
|
24201
24208
|
}
|
|
24202
|
-
return (hAsync("td", { class: CSS$
|
|
24209
|
+
return (hAsync("td", { class: CSS$r.selectionContainer, key: "selection-container", onClick: this.itemClicked }, hAsync("calcite-icon", { icon: selected
|
|
24203
24210
|
? selectionMode === "multiple"
|
|
24204
24211
|
? ICONS$6.selectedMultiple
|
|
24205
24212
|
: ICONS$6.selectedSingle
|
|
@@ -24208,31 +24215,31 @@ class ListItem {
|
|
|
24208
24215
|
renderOpen() {
|
|
24209
24216
|
const { el, open, openable, parentListEl } = this;
|
|
24210
24217
|
const dir = getElementDir(el);
|
|
24211
|
-
return openable ? (hAsync("td", { class: CSS$
|
|
24218
|
+
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
24219
|
}
|
|
24213
24220
|
renderActionsStart() {
|
|
24214
24221
|
const { label, hasActionsStart } = this;
|
|
24215
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
24222
|
+
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
24223
|
}
|
|
24217
24224
|
renderActionsEnd() {
|
|
24218
24225
|
const { label, hasActionsEnd } = this;
|
|
24219
|
-
return (hAsync("td", { "aria-label": label, class: CSS$
|
|
24226
|
+
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
24227
|
}
|
|
24221
24228
|
renderContentStart() {
|
|
24222
24229
|
const { hasContentStart } = this;
|
|
24223
|
-
return (hAsync("div", { class: CSS$
|
|
24230
|
+
return (hAsync("div", { class: CSS$r.contentStart, hidden: !hasContentStart }, hAsync("slot", { name: SLOTS$e.contentStart, onSlotchange: this.handleContentStartSlotChange })));
|
|
24224
24231
|
}
|
|
24225
24232
|
renderCustomContent() {
|
|
24226
24233
|
const { hasCustomContent } = this;
|
|
24227
|
-
return (hAsync("div", { class: CSS$
|
|
24234
|
+
return (hAsync("div", { class: CSS$r.customContent, hidden: !hasCustomContent }, hAsync("slot", { name: SLOTS$e.content, onSlotchange: this.handleContentSlotChange })));
|
|
24228
24235
|
}
|
|
24229
24236
|
renderContentEnd() {
|
|
24230
24237
|
const { hasContentEnd } = this;
|
|
24231
|
-
return (hAsync("div", { class: CSS$
|
|
24238
|
+
return (hAsync("div", { class: CSS$r.contentEnd, hidden: !hasContentEnd }, hAsync("slot", { name: SLOTS$e.contentEnd, onSlotchange: this.handleContentEndSlotChange })));
|
|
24232
24239
|
}
|
|
24233
24240
|
renderContentProperties() {
|
|
24234
24241
|
const { label, description, hasCustomContent } = this;
|
|
24235
|
-
return !hasCustomContent && (!!label || !!description) ? (hAsync("div", { class: CSS$
|
|
24242
|
+
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
24243
|
}
|
|
24237
24244
|
renderContentContainer() {
|
|
24238
24245
|
const { description, label, selectionMode, hasCustomContent } = this;
|
|
@@ -24244,9 +24251,9 @@ class ListItem {
|
|
|
24244
24251
|
this.renderContentEnd()
|
|
24245
24252
|
];
|
|
24246
24253
|
return (hAsync("td", { "aria-label": label, class: {
|
|
24247
|
-
[CSS$
|
|
24248
|
-
[CSS$
|
|
24249
|
-
[CSS$
|
|
24254
|
+
[CSS$r.contentContainer]: true,
|
|
24255
|
+
[CSS$r.contentContainerSelectable]: selectionMode !== "none",
|
|
24256
|
+
[CSS$r.contentContainerHasCenterContent]: hasCenterContent
|
|
24250
24257
|
}, key: "content-container", onClick: this.itemClicked, ref: (el) => (this.contentEl = el), role: "gridcell" }, content));
|
|
24251
24258
|
}
|
|
24252
24259
|
render() {
|
|
@@ -24255,12 +24262,12 @@ class ListItem {
|
|
|
24255
24262
|
const borderSelected = showBorder && selected;
|
|
24256
24263
|
const borderUnselected = showBorder && !selected;
|
|
24257
24264
|
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$
|
|
24265
|
+
[CSS$r.container]: true,
|
|
24266
|
+
[CSS$r.containerBorderSelected]: borderSelected,
|
|
24267
|
+
[CSS$r.containerBorderUnselected]: borderUnselected
|
|
24261
24268
|
}, 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$
|
|
24269
|
+
[CSS$r.nestedContainer]: true,
|
|
24270
|
+
[CSS$r.nestedContainerHidden]: openable && !open
|
|
24264
24271
|
} }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
24265
24272
|
}
|
|
24266
24273
|
setSelectionDefaults() {
|
|
@@ -24314,7 +24321,7 @@ class ListItem {
|
|
|
24314
24321
|
}; }
|
|
24315
24322
|
}
|
|
24316
24323
|
|
|
24317
|
-
const CSS$
|
|
24324
|
+
const CSS$p = {
|
|
24318
24325
|
container: "container",
|
|
24319
24326
|
heading: "heading"
|
|
24320
24327
|
};
|
|
@@ -24350,7 +24357,7 @@ class ListItemGroup {
|
|
|
24350
24357
|
// --------------------------------------------------------------------------
|
|
24351
24358
|
render() {
|
|
24352
24359
|
const { heading, visualLevel } = this;
|
|
24353
|
-
return (hAsync(Host, null, hAsync("tr", { class: CSS$
|
|
24360
|
+
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
24361
|
}
|
|
24355
24362
|
get el() { return getElement(this); }
|
|
24356
24363
|
static get style() { return listItemGroupCss; }
|
|
@@ -25242,7 +25249,7 @@ function updateFocusTrapElements(component) {
|
|
|
25242
25249
|
component.focusTrap?.updateContainerElements(component.focusTrapEl);
|
|
25243
25250
|
}
|
|
25244
25251
|
|
|
25245
|
-
const CSS$
|
|
25252
|
+
const CSS$o = {
|
|
25246
25253
|
modal: "modal",
|
|
25247
25254
|
modalOpen: "modal--open",
|
|
25248
25255
|
title: "title",
|
|
@@ -25398,38 +25405,38 @@ class Modal {
|
|
|
25398
25405
|
}
|
|
25399
25406
|
render() {
|
|
25400
25407
|
return (hAsync(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, hAsync("div", { class: {
|
|
25401
|
-
[CSS$
|
|
25402
|
-
[CSS$
|
|
25403
|
-
} }, hAsync("calcite-scrim", { class: CSS$
|
|
25404
|
-
[CSS$
|
|
25405
|
-
[CSS$
|
|
25406
|
-
}, ref: this.setTransitionEl }, hAsync("div", { class: CSS$
|
|
25407
|
-
[CSS$
|
|
25408
|
-
[CSS$
|
|
25408
|
+
[CSS$o.container]: true,
|
|
25409
|
+
[CSS$o.slottedInShell]: this.slottedInShell
|
|
25410
|
+
} }, hAsync("calcite-scrim", { class: CSS$o.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), hAsync("div", { class: {
|
|
25411
|
+
[CSS$o.modal]: true,
|
|
25412
|
+
[CSS$o.modalOpen]: this.isOpen
|
|
25413
|
+
}, 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: {
|
|
25414
|
+
[CSS$o.content]: true,
|
|
25415
|
+
[CSS$o.contentNoFooter]: !this.hasFooter
|
|
25409
25416
|
}, ref: (el) => (this.modalContent = el) }, hAsync("slot", { name: SLOTS$d.content })), this.renderFooter()))));
|
|
25410
25417
|
}
|
|
25411
25418
|
renderFooter() {
|
|
25412
|
-
return this.hasFooter ? (hAsync("div", { class: CSS$
|
|
25419
|
+
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;
|
|
25413
25420
|
}
|
|
25414
25421
|
renderCloseButton() {
|
|
25415
|
-
return !this.closeButtonDisabled ? (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
25422
|
+
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;
|
|
25416
25423
|
}
|
|
25417
25424
|
renderStyle() {
|
|
25418
25425
|
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
25419
|
-
return (hAsync("style", null, `.${CSS$
|
|
25426
|
+
return (hAsync("style", null, `.${CSS$o.container} {
|
|
25420
25427
|
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
25421
25428
|
}
|
|
25422
|
-
.${CSS$
|
|
25429
|
+
.${CSS$o.modal} {
|
|
25423
25430
|
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
25424
25431
|
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
25425
25432
|
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
25426
25433
|
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
25427
25434
|
}
|
|
25428
25435
|
@media screen and (max-width: ${this.cssWidth}) {
|
|
25429
|
-
.${CSS$
|
|
25436
|
+
.${CSS$o.container} {
|
|
25430
25437
|
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
25431
25438
|
}
|
|
25432
|
-
.${CSS$
|
|
25439
|
+
.${CSS$o.modal} {
|
|
25433
25440
|
max-block-size: 100% !important;
|
|
25434
25441
|
inline-size: 100% !important;
|
|
25435
25442
|
max-inline-size: 100% !important;
|
|
@@ -25496,31 +25503,31 @@ class Modal {
|
|
|
25496
25503
|
}
|
|
25497
25504
|
}
|
|
25498
25505
|
onBeforeOpen() {
|
|
25499
|
-
this.transitionEl.classList.add(CSS$
|
|
25506
|
+
this.transitionEl.classList.add(CSS$o.openingActive);
|
|
25500
25507
|
this.calciteModalBeforeOpen.emit();
|
|
25501
25508
|
}
|
|
25502
25509
|
onOpen() {
|
|
25503
|
-
this.transitionEl.classList.remove(CSS$
|
|
25510
|
+
this.transitionEl.classList.remove(CSS$o.openingIdle, CSS$o.openingActive);
|
|
25504
25511
|
this.calciteModalOpen.emit();
|
|
25505
25512
|
activateFocusTrap(this);
|
|
25506
25513
|
}
|
|
25507
25514
|
onBeforeClose() {
|
|
25508
|
-
this.transitionEl.classList.add(CSS$
|
|
25515
|
+
this.transitionEl.classList.add(CSS$o.closingActive);
|
|
25509
25516
|
this.calciteModalBeforeClose.emit();
|
|
25510
25517
|
}
|
|
25511
25518
|
onClose() {
|
|
25512
|
-
this.transitionEl.classList.remove(CSS$
|
|
25519
|
+
this.transitionEl.classList.remove(CSS$o.closingIdle, CSS$o.closingActive);
|
|
25513
25520
|
this.calciteModalClose.emit();
|
|
25514
25521
|
deactivateFocusTrap(this);
|
|
25515
25522
|
}
|
|
25516
25523
|
async toggleModal(value) {
|
|
25517
25524
|
onToggleOpenCloseComponent(this);
|
|
25518
25525
|
if (value) {
|
|
25519
|
-
this.transitionEl?.classList.add(CSS$
|
|
25526
|
+
this.transitionEl?.classList.add(CSS$o.openingIdle);
|
|
25520
25527
|
this.openModal();
|
|
25521
25528
|
}
|
|
25522
25529
|
else {
|
|
25523
|
-
this.transitionEl?.classList.add(CSS$
|
|
25530
|
+
this.transitionEl?.classList.add(CSS$o.closingIdle);
|
|
25524
25531
|
this.close();
|
|
25525
25532
|
}
|
|
25526
25533
|
}
|
|
@@ -25534,11 +25541,11 @@ class Modal {
|
|
|
25534
25541
|
this.titleId = ensureId(titleEl);
|
|
25535
25542
|
this.contentId = ensureId(contentEl);
|
|
25536
25543
|
if (!this.slottedInShell) {
|
|
25537
|
-
document.documentElement.classList.add(CSS$
|
|
25544
|
+
document.documentElement.classList.add(CSS$o.overflowHidden);
|
|
25538
25545
|
}
|
|
25539
25546
|
}
|
|
25540
25547
|
removeOverflowHiddenClass() {
|
|
25541
|
-
document.documentElement.classList.remove(CSS$
|
|
25548
|
+
document.documentElement.classList.remove(CSS$o.overflowHidden);
|
|
25542
25549
|
}
|
|
25543
25550
|
static get assetsDirs() { return ["assets"]; }
|
|
25544
25551
|
get el() { return getElement(this); }
|
|
@@ -25589,7 +25596,7 @@ const SLOTS$c = {
|
|
|
25589
25596
|
link: "link",
|
|
25590
25597
|
actionsEnd: "actions-end"
|
|
25591
25598
|
};
|
|
25592
|
-
const CSS$
|
|
25599
|
+
const CSS$n = {
|
|
25593
25600
|
actionsEnd: "actions-end",
|
|
25594
25601
|
close: "notice-close",
|
|
25595
25602
|
container: "container",
|
|
@@ -25668,9 +25675,9 @@ class Notice {
|
|
|
25668
25675
|
}
|
|
25669
25676
|
render() {
|
|
25670
25677
|
const { el } = this;
|
|
25671
|
-
const closeButton = (hAsync("button", { "aria-label": this.messages.close, class: CSS$
|
|
25678
|
+
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" })));
|
|
25672
25679
|
const hasActionEnd = getSlotted(el, SLOTS$c.actionsEnd);
|
|
25673
|
-
return (hAsync("div", { class: CSS$
|
|
25680
|
+
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));
|
|
25674
25681
|
}
|
|
25675
25682
|
//--------------------------------------------------------------------------
|
|
25676
25683
|
//
|
|
@@ -25849,7 +25856,7 @@ class OptionGroup {
|
|
|
25849
25856
|
}; }
|
|
25850
25857
|
}
|
|
25851
25858
|
|
|
25852
|
-
const CSS$
|
|
25859
|
+
const CSS$m = {
|
|
25853
25860
|
page: "page",
|
|
25854
25861
|
selected: "is-selected",
|
|
25855
25862
|
previous: "previous",
|
|
@@ -25995,8 +26002,8 @@ class Pagination {
|
|
|
25995
26002
|
};
|
|
25996
26003
|
const displayedPage = numberStringFormatter.localize(page.toString());
|
|
25997
26004
|
return (hAsync("button", { class: {
|
|
25998
|
-
[CSS$
|
|
25999
|
-
[CSS$
|
|
26005
|
+
[CSS$m.page]: true,
|
|
26006
|
+
[CSS$m.selected]: start === this.start
|
|
26000
26007
|
}, onClick: () => {
|
|
26001
26008
|
this.start = start;
|
|
26002
26009
|
this.emitUpdate();
|
|
@@ -26004,12 +26011,12 @@ class Pagination {
|
|
|
26004
26011
|
}
|
|
26005
26012
|
renderLeftEllipsis() {
|
|
26006
26013
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
26007
|
-
return hAsync("span", { class: `${CSS$
|
|
26014
|
+
return hAsync("span", { class: `${CSS$m.ellipsis} ${CSS$m.ellipsisStart}` }, "\u2026");
|
|
26008
26015
|
}
|
|
26009
26016
|
}
|
|
26010
26017
|
renderRightEllipsis() {
|
|
26011
26018
|
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
26012
|
-
return hAsync("span", { class: `${CSS$
|
|
26019
|
+
return hAsync("span", { class: `${CSS$m.ellipsis} ${CSS$m.ellipsisEnd}` }, "\u2026");
|
|
26013
26020
|
}
|
|
26014
26021
|
}
|
|
26015
26022
|
render() {
|
|
@@ -26017,11 +26024,11 @@ class Pagination {
|
|
|
26017
26024
|
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
26018
26025
|
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
26019
26026
|
return (hAsync(Fragment, null, hAsync("button", { "aria-label": this.messages.previous, class: {
|
|
26020
|
-
[CSS$
|
|
26021
|
-
[CSS$
|
|
26027
|
+
[CSS$m.previous]: true,
|
|
26028
|
+
[CSS$m.disabled]: prevDisabled
|
|
26022
26029
|
}, 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: {
|
|
26023
|
-
[CSS$
|
|
26024
|
-
[CSS$
|
|
26030
|
+
[CSS$m.next]: true,
|
|
26031
|
+
[CSS$m.disabled]: nextDisabled
|
|
26025
26032
|
}, disabled: nextDisabled, onClick: this.nextClicked }, hAsync("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
26026
26033
|
}
|
|
26027
26034
|
static get delegatesFocus() { return true; }
|
|
@@ -26242,19 +26249,19 @@ class Panel {
|
|
|
26242
26249
|
// --------------------------------------------------------------------------
|
|
26243
26250
|
renderHeaderContent() {
|
|
26244
26251
|
const { heading, headingLevel, description, hasHeaderContent } = this;
|
|
26245
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
26246
|
-
const descriptionNode = description ? hAsync("span", { class: CSS$
|
|
26247
|
-
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$
|
|
26252
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$B.heading, level: headingLevel }, heading)) : null;
|
|
26253
|
+
const descriptionNode = description ? hAsync("span", { class: CSS$B.description }, description) : null;
|
|
26254
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (hAsync("div", { class: CSS$B.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
|
26248
26255
|
}
|
|
26249
26256
|
/**
|
|
26250
26257
|
* Allows user to override the entire header-content node.
|
|
26251
26258
|
*/
|
|
26252
26259
|
renderHeaderSlottedContent() {
|
|
26253
|
-
return (hAsync("div", { class: CSS$
|
|
26260
|
+
return (hAsync("div", { class: CSS$B.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, hAsync("slot", { name: SLOTS$j.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
|
26254
26261
|
}
|
|
26255
26262
|
renderHeaderStartActions() {
|
|
26256
26263
|
const { hasStartActions } = this;
|
|
26257
|
-
return (hAsync("div", { class: { [CSS$
|
|
26264
|
+
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 })));
|
|
26258
26265
|
}
|
|
26259
26266
|
renderHeaderActionsEnd() {
|
|
26260
26267
|
const { close, hasEndActions, messages, closable } = this;
|
|
@@ -26262,7 +26269,7 @@ class Panel {
|
|
|
26262
26269
|
const closableNode = closable ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$9.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
|
26263
26270
|
const slotNode = (hAsync("slot", { name: SLOTS$j.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
|
26264
26271
|
const showContainer = hasEndActions || closableNode;
|
|
26265
|
-
return (hAsync("div", { class: { [CSS$
|
|
26272
|
+
return (hAsync("div", { class: { [CSS$B.headerActionsEnd]: true, [CSS$B.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
|
26266
26273
|
}
|
|
26267
26274
|
renderMenu() {
|
|
26268
26275
|
const { hasMenuItems, messages, menuOpen } = this;
|
|
@@ -26277,29 +26284,29 @@ class Panel {
|
|
|
26277
26284
|
hasEndActions ||
|
|
26278
26285
|
closable ||
|
|
26279
26286
|
hasMenuItems;
|
|
26280
|
-
return (hAsync("header", { class: CSS$
|
|
26287
|
+
return (hAsync("header", { class: CSS$B.header, hidden: !showHeader }, this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
|
26281
26288
|
}
|
|
26282
26289
|
renderFooterNode() {
|
|
26283
26290
|
const { hasFooterContent, hasFooterActions } = this;
|
|
26284
26291
|
const showFooter = hasFooterContent || hasFooterActions;
|
|
26285
|
-
return (hAsync("footer", { class: CSS$
|
|
26292
|
+
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 })));
|
|
26286
26293
|
}
|
|
26287
26294
|
renderContent() {
|
|
26288
26295
|
const { hasFab } = this;
|
|
26289
26296
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
26290
|
-
const containerNode = hasFab ? (hAsync("section", { class: CSS$
|
|
26297
|
+
const containerNode = hasFab ? (hAsync("section", { class: CSS$B.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
|
26291
26298
|
return (hAsync("div", { class: {
|
|
26292
|
-
[CSS$
|
|
26293
|
-
[CSS$
|
|
26294
|
-
[CSS$
|
|
26299
|
+
[CSS$B.contentWrapper]: true,
|
|
26300
|
+
[CSS$B.contentContainer]: !hasFab,
|
|
26301
|
+
[CSS$B.contentHeight]: hasFab
|
|
26295
26302
|
}, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
|
26296
26303
|
}
|
|
26297
26304
|
renderFab() {
|
|
26298
|
-
return (hAsync("div", { class: CSS$
|
|
26305
|
+
return (hAsync("div", { class: CSS$B.fabContainer, hidden: !this.hasFab }, hAsync("slot", { name: SLOTS$j.fab, onSlotchange: this.handleFabSlotChange })));
|
|
26299
26306
|
}
|
|
26300
26307
|
render() {
|
|
26301
26308
|
const { loading, panelKeyDownHandler, closed, closable } = this;
|
|
26302
|
-
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$
|
|
26309
|
+
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()));
|
|
26303
26310
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
26304
26311
|
}
|
|
26305
26312
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -26341,7 +26348,7 @@ class Panel {
|
|
|
26341
26348
|
}; }
|
|
26342
26349
|
}
|
|
26343
26350
|
|
|
26344
|
-
const CSS$
|
|
26351
|
+
const CSS$l = {
|
|
26345
26352
|
sticky: "sticky-pos"
|
|
26346
26353
|
};
|
|
26347
26354
|
var ICON_TYPES$1;
|
|
@@ -26354,7 +26361,7 @@ const SLOTS$b = {
|
|
|
26354
26361
|
menuActions: "menu-actions"
|
|
26355
26362
|
};
|
|
26356
26363
|
|
|
26357
|
-
const CSS$
|
|
26364
|
+
const CSS$k = {
|
|
26358
26365
|
heading: "heading",
|
|
26359
26366
|
container: "container",
|
|
26360
26367
|
indented: "container--indented"
|
|
@@ -26678,7 +26685,7 @@ const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handle
|
|
|
26678
26685
|
return (hAsync(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
26679
26686
|
hAsync("section", null,
|
|
26680
26687
|
dragEnabled ? (hAsync("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
26681
|
-
hAsync("header", { class: { [CSS$
|
|
26688
|
+
hAsync("header", { class: { [CSS$l.sticky]: true } },
|
|
26682
26689
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, ref: setFilterEl, value: filterText })) : null,
|
|
26683
26690
|
hAsync("slot", { name: SLOTS$b.menuActions })),
|
|
26684
26691
|
loading ? hAsync("calcite-scrim", { loading: loading }) : null,
|
|
@@ -26865,14 +26872,14 @@ class PickListGroup {
|
|
|
26865
26872
|
const { el, groupTitle, headingLevel } = this;
|
|
26866
26873
|
const hasParentItem = getSlotted(el, SLOTS$a.parentItem) !== null;
|
|
26867
26874
|
const sectionClasses = {
|
|
26868
|
-
[CSS$
|
|
26869
|
-
[CSS$
|
|
26875
|
+
[CSS$k.container]: true,
|
|
26876
|
+
[CSS$k.indented]: hasParentItem
|
|
26870
26877
|
};
|
|
26871
26878
|
const title = groupTitle;
|
|
26872
26879
|
const parentLevel = el.closest("calcite-pick-list")?.headingLevel;
|
|
26873
26880
|
const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
|
|
26874
26881
|
const level = headingLevel || relativeLevel;
|
|
26875
|
-
return (hAsync(Fragment, null, title ? (hAsync(Heading, { class: CSS$
|
|
26882
|
+
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))));
|
|
26876
26883
|
}
|
|
26877
26884
|
get el() { return getElement(this); }
|
|
26878
26885
|
static get style() { return pickListGroupCss; }
|
|
@@ -26889,7 +26896,7 @@ class PickListGroup {
|
|
|
26889
26896
|
}; }
|
|
26890
26897
|
}
|
|
26891
26898
|
|
|
26892
|
-
const CSS$
|
|
26899
|
+
const CSS$j = {
|
|
26893
26900
|
actions: "actions",
|
|
26894
26901
|
actionsEnd: "actions--end",
|
|
26895
26902
|
actionsStart: "actions--start",
|
|
@@ -27049,26 +27056,26 @@ class PickListItem {
|
|
|
27049
27056
|
return null;
|
|
27050
27057
|
}
|
|
27051
27058
|
return (hAsync("span", { class: {
|
|
27052
|
-
[CSS$
|
|
27053
|
-
[CSS$
|
|
27059
|
+
[CSS$j.icon]: true,
|
|
27060
|
+
[CSS$j.iconDot]: icon === ICON_TYPES$1.circle
|
|
27054
27061
|
}, onClick: this.pickListClickHandler }, icon === ICON_TYPES$1.square ? (hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS$4.checked, scale: "s" })) : null));
|
|
27055
27062
|
}
|
|
27056
27063
|
renderRemoveAction() {
|
|
27057
|
-
return this.removable ? (hAsync("calcite-action", { class: CSS$
|
|
27064
|
+
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;
|
|
27058
27065
|
}
|
|
27059
27066
|
renderActionsStart() {
|
|
27060
27067
|
const { el } = this;
|
|
27061
27068
|
const hasActionsStart = getSlotted(el, SLOTS$9.actionsStart);
|
|
27062
|
-
return hasActionsStart ? (hAsync("div", { class: { [CSS$
|
|
27069
|
+
return hasActionsStart ? (hAsync("div", { class: { [CSS$j.actions]: true, [CSS$j.actionsStart]: true } }, hAsync("slot", { name: SLOTS$9.actionsStart }))) : null;
|
|
27063
27070
|
}
|
|
27064
27071
|
renderActionsEnd() {
|
|
27065
27072
|
const { el, removable } = this;
|
|
27066
27073
|
const hasActionsEnd = getSlotted(el, SLOTS$9.actionsEnd);
|
|
27067
|
-
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$
|
|
27074
|
+
return hasActionsEnd || removable ? (hAsync("div", { class: { [CSS$j.actions]: true, [CSS$j.actionsEnd]: true } }, hAsync("slot", { name: SLOTS$9.actionsEnd }), this.renderRemoveAction())) : null;
|
|
27068
27075
|
}
|
|
27069
27076
|
render() {
|
|
27070
27077
|
const { description, label } = this;
|
|
27071
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$
|
|
27078
|
+
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()));
|
|
27072
27079
|
}
|
|
27073
27080
|
static get assetsDirs() { return ["assets"]; }
|
|
27074
27081
|
get el() { return getElement(this); }
|
|
@@ -27111,7 +27118,7 @@ class PickListItem {
|
|
|
27111
27118
|
}; }
|
|
27112
27119
|
}
|
|
27113
27120
|
|
|
27114
|
-
const CSS$
|
|
27121
|
+
const CSS$i = {
|
|
27115
27122
|
container: "container",
|
|
27116
27123
|
arrow: "arrow",
|
|
27117
27124
|
imageContainer: "image-container",
|
|
@@ -27456,25 +27463,25 @@ class Popover {
|
|
|
27456
27463
|
// --------------------------------------------------------------------------
|
|
27457
27464
|
renderCloseButton() {
|
|
27458
27465
|
const { messages, closable } = this;
|
|
27459
|
-
return closable ? (hAsync("div", { class: CSS$
|
|
27466
|
+
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;
|
|
27460
27467
|
}
|
|
27461
27468
|
renderHeader() {
|
|
27462
27469
|
const { heading, headingLevel } = this;
|
|
27463
|
-
const headingNode = heading ? (hAsync(Heading, { class: CSS$
|
|
27464
|
-
return headingNode ? (hAsync("div", { class: CSS$
|
|
27470
|
+
const headingNode = heading ? (hAsync(Heading, { class: CSS$i.heading, level: headingLevel }, heading)) : null;
|
|
27471
|
+
return headingNode ? (hAsync("div", { class: CSS$i.header, key: CSS$i.header }, headingNode, this.renderCloseButton())) : null;
|
|
27465
27472
|
}
|
|
27466
27473
|
render() {
|
|
27467
27474
|
const { effectiveReferenceElement, heading, label, open, pointerDisabled } = this;
|
|
27468
27475
|
const displayed = effectiveReferenceElement && open;
|
|
27469
27476
|
const hidden = !displayed;
|
|
27470
|
-
const arrowNode = !pointerDisabled ? hAsync("div", { class: CSS$
|
|
27477
|
+
const arrowNode = !pointerDisabled ? hAsync("div", { class: CSS$i.arrow, ref: this.storeArrowEl }) : null;
|
|
27471
27478
|
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: {
|
|
27472
27479
|
[FloatingCSS.animation]: true,
|
|
27473
27480
|
[FloatingCSS.animationActive]: displayed
|
|
27474
27481
|
}, ref: this.setTransitionEl }, arrowNode, hAsync("div", { class: {
|
|
27475
|
-
[CSS$
|
|
27476
|
-
[CSS$
|
|
27477
|
-
} }, this.renderHeader(), hAsync("div", { class: CSS$
|
|
27482
|
+
[CSS$i.hasHeader]: !!heading,
|
|
27483
|
+
[CSS$i.container]: true
|
|
27484
|
+
} }, this.renderHeader(), hAsync("div", { class: CSS$i.content }, hAsync("slot", null)), !heading ? this.renderCloseButton() : null))));
|
|
27478
27485
|
}
|
|
27479
27486
|
static get assetsDirs() { return ["assets"]; }
|
|
27480
27487
|
get el() { return getElement(this); }
|
|
@@ -27565,7 +27572,7 @@ class Progress {
|
|
|
27565
27572
|
}; }
|
|
27566
27573
|
}
|
|
27567
27574
|
|
|
27568
|
-
const CSS$
|
|
27575
|
+
const CSS$h = {
|
|
27569
27576
|
container: "container"
|
|
27570
27577
|
};
|
|
27571
27578
|
|
|
@@ -27802,7 +27809,7 @@ class RadioButton {
|
|
|
27802
27809
|
// --------------------------------------------------------------------------
|
|
27803
27810
|
render() {
|
|
27804
27811
|
const tabIndex = this.getTabIndex();
|
|
27805
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$
|
|
27812
|
+
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 })));
|
|
27806
27813
|
}
|
|
27807
27814
|
get el() { return getElement(this); }
|
|
27808
27815
|
static get watchers() { return {
|
|
@@ -28205,7 +28212,7 @@ class Rating {
|
|
|
28205
28212
|
}; }
|
|
28206
28213
|
}
|
|
28207
28214
|
|
|
28208
|
-
const CSS$
|
|
28215
|
+
const CSS$g = {
|
|
28209
28216
|
scrim: "scrim",
|
|
28210
28217
|
content: "content"
|
|
28211
28218
|
};
|
|
@@ -28255,8 +28262,8 @@ class Scrim {
|
|
|
28255
28262
|
const { el, loading, messages } = this;
|
|
28256
28263
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
28257
28264
|
const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
|
|
28258
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
28259
|
-
return (hAsync("div", { class: CSS$
|
|
28265
|
+
const contentNode = hasContent ? (hAsync("div", { class: CSS$g.content }, hAsync("slot", null))) : null;
|
|
28266
|
+
return (hAsync("div", { class: CSS$g.scrim }, loaderNode, contentNode));
|
|
28260
28267
|
}
|
|
28261
28268
|
static get assetsDirs() { return ["assets"]; }
|
|
28262
28269
|
get el() { return getElement(this); }
|
|
@@ -28487,7 +28494,7 @@ class SegmentedControl {
|
|
|
28487
28494
|
const SLOTS$8 = {
|
|
28488
28495
|
input: "input"
|
|
28489
28496
|
};
|
|
28490
|
-
const CSS$
|
|
28497
|
+
const CSS$f = {
|
|
28491
28498
|
segmentedControlItemIcon: "segmented-control-item-icon"
|
|
28492
28499
|
};
|
|
28493
28500
|
|
|
@@ -28511,8 +28518,8 @@ class SegmentedControlItem {
|
|
|
28511
28518
|
const scale = getElementProp(this.el, "scale", "m");
|
|
28512
28519
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
28513
28520
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
28514
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
28515
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
28521
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$f.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
28522
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$f.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
28516
28523
|
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
28517
28524
|
"label--scale-s": scale === "s",
|
|
28518
28525
|
"label--scale-m": scale === "m",
|
|
@@ -28543,7 +28550,7 @@ class SegmentedControlItem {
|
|
|
28543
28550
|
}; }
|
|
28544
28551
|
}
|
|
28545
28552
|
|
|
28546
|
-
const CSS$
|
|
28553
|
+
const CSS$e = {
|
|
28547
28554
|
icon: "icon",
|
|
28548
28555
|
iconContainer: "icon-container",
|
|
28549
28556
|
select: "select"
|
|
@@ -28727,10 +28734,10 @@ class Select {
|
|
|
28727
28734
|
//
|
|
28728
28735
|
//--------------------------------------------------------------------------
|
|
28729
28736
|
renderChevron() {
|
|
28730
|
-
return (hAsync("div", { class: CSS$
|
|
28737
|
+
return (hAsync("div", { class: CSS$e.iconContainer }, hAsync("calcite-icon", { class: CSS$e.icon, icon: "chevron-down", scale: "s" })));
|
|
28731
28738
|
}
|
|
28732
28739
|
render() {
|
|
28733
|
-
return (hAsync(Fragment, null, hAsync("select", { "aria-label": this.label, class: CSS$
|
|
28740
|
+
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 })));
|
|
28734
28741
|
}
|
|
28735
28742
|
get el() { return getElement(this); }
|
|
28736
28743
|
static get watchers() { return {
|
|
@@ -28758,7 +28765,7 @@ class Select {
|
|
|
28758
28765
|
}; }
|
|
28759
28766
|
}
|
|
28760
28767
|
|
|
28761
|
-
const CSS$
|
|
28768
|
+
const CSS$d = {
|
|
28762
28769
|
main: "main",
|
|
28763
28770
|
content: "content",
|
|
28764
28771
|
contentBehind: "content--behind",
|
|
@@ -28844,7 +28851,7 @@ class Shell {
|
|
|
28844
28851
|
return (hAsync("div", { hidden: !this.hasHeader }, hAsync("slot", { key: "header", name: SLOTS$7.header, onSlotchange: this.handleHeaderSlotChange })));
|
|
28845
28852
|
}
|
|
28846
28853
|
renderFooter() {
|
|
28847
|
-
return (hAsync("div", { class: CSS$
|
|
28854
|
+
return (hAsync("div", { class: CSS$d.footer, hidden: !this.hasFooter, key: "footer" }, hAsync("slot", { name: SLOTS$7.footer, onSlotchange: this.handleFooterSlotChange })));
|
|
28848
28855
|
}
|
|
28849
28856
|
renderAlerts() {
|
|
28850
28857
|
return (hAsync("div", { hidden: !this.hasAlerts }, hAsync("slot", { key: "alerts", name: SLOTS$7.alerts, onSlotchange: this.handleAlertsSlotChange })));
|
|
@@ -28859,21 +28866,21 @@ class Shell {
|
|
|
28859
28866
|
const content = !!this.contentBehind
|
|
28860
28867
|
? [
|
|
28861
28868
|
hAsync("div", { class: {
|
|
28862
|
-
[CSS$
|
|
28863
|
-
[CSS$
|
|
28869
|
+
[CSS$d.content]: true,
|
|
28870
|
+
[CSS$d.contentBehind]: true
|
|
28864
28871
|
}, key: contentContainerKey }, defaultSlotNode),
|
|
28865
28872
|
centerRowSlotNode
|
|
28866
28873
|
]
|
|
28867
28874
|
: [
|
|
28868
|
-
hAsync("div", { class: CSS$
|
|
28875
|
+
hAsync("div", { class: CSS$d.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
|
28869
28876
|
];
|
|
28870
28877
|
return content;
|
|
28871
28878
|
}
|
|
28872
28879
|
renderMain() {
|
|
28873
|
-
return (hAsync("div", { class: CSS$
|
|
28880
|
+
return (hAsync("div", { class: CSS$d.main }, hAsync("slot", { name: SLOTS$7.panelStart }), this.renderContent(), hAsync("slot", { name: SLOTS$7.panelEnd })));
|
|
28874
28881
|
}
|
|
28875
28882
|
renderPositionedSlots() {
|
|
28876
|
-
return (hAsync("div", { class: CSS$
|
|
28883
|
+
return (hAsync("div", { class: CSS$d.positionedSlotWrapper }, this.renderAlerts(), this.renderModals()));
|
|
28877
28884
|
}
|
|
28878
28885
|
render() {
|
|
28879
28886
|
return (hAsync(Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter(), this.renderPositionedSlots()));
|
|
@@ -28896,7 +28903,7 @@ class Shell {
|
|
|
28896
28903
|
}; }
|
|
28897
28904
|
}
|
|
28898
28905
|
|
|
28899
|
-
const CSS$
|
|
28906
|
+
const CSS$c = {
|
|
28900
28907
|
actionBarContainer: "action-bar-container",
|
|
28901
28908
|
content: "content"
|
|
28902
28909
|
};
|
|
@@ -28935,9 +28942,9 @@ class ShellCenterRow {
|
|
|
28935
28942
|
// --------------------------------------------------------------------------
|
|
28936
28943
|
render() {
|
|
28937
28944
|
const { el } = this;
|
|
28938
|
-
const contentNode = (hAsync("div", { class: CSS$
|
|
28945
|
+
const contentNode = (hAsync("div", { class: CSS$c.content }, hAsync("slot", null)));
|
|
28939
28946
|
const actionBar = getSlotted(el, SLOTS$6.actionBar);
|
|
28940
|
-
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$
|
|
28947
|
+
const actionBarNode = actionBar ? (hAsync("div", { class: CSS$c.actionBarContainer, key: "action-bar" }, hAsync("slot", { name: SLOTS$6.actionBar }))) : null;
|
|
28941
28948
|
const children = [actionBarNode, contentNode];
|
|
28942
28949
|
if (actionBar?.position === "end") {
|
|
28943
28950
|
children.reverse();
|
|
@@ -28960,7 +28967,7 @@ class ShellCenterRow {
|
|
|
28960
28967
|
}; }
|
|
28961
28968
|
}
|
|
28962
28969
|
|
|
28963
|
-
const CSS$
|
|
28970
|
+
const CSS$b = {
|
|
28964
28971
|
container: "container",
|
|
28965
28972
|
content: "content",
|
|
28966
28973
|
contentHeader: "content__header",
|
|
@@ -29133,19 +29140,19 @@ class ShellPanel {
|
|
|
29133
29140
|
renderHeader() {
|
|
29134
29141
|
const { el } = this;
|
|
29135
29142
|
const hasHeader = getSlotted(el, SLOTS$5.header);
|
|
29136
|
-
return hasHeader ? (hAsync("div", { class: CSS$
|
|
29143
|
+
return hasHeader ? (hAsync("div", { class: CSS$b.contentHeader, key: "header" }, hAsync("slot", { name: SLOTS$5.header }))) : null;
|
|
29137
29144
|
}
|
|
29138
29145
|
render() {
|
|
29139
29146
|
const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, resizable } = this;
|
|
29140
29147
|
const allowResizing = !detached && resizable;
|
|
29141
|
-
const contentNode = (hAsync("div", { class: { [CSS$
|
|
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$
|
|
29148
|
+
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))));
|
|
29149
|
+
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;
|
|
29143
29150
|
const actionBarNode = hAsync("slot", { key: "action-bar", name: SLOTS$5.actionBar });
|
|
29144
29151
|
const mainNodes = [actionBarNode, contentNode, separatorNode];
|
|
29145
29152
|
if (position === "end") {
|
|
29146
29153
|
mainNodes.reverse();
|
|
29147
29154
|
}
|
|
29148
|
-
return hAsync("div", { class: { [CSS$
|
|
29155
|
+
return hAsync("div", { class: { [CSS$b.container]: true } }, mainNodes);
|
|
29149
29156
|
}
|
|
29150
29157
|
// --------------------------------------------------------------------------
|
|
29151
29158
|
//
|
|
@@ -29209,7 +29216,7 @@ class ShellPanel {
|
|
|
29209
29216
|
}; }
|
|
29210
29217
|
}
|
|
29211
29218
|
|
|
29212
|
-
const CSS$
|
|
29219
|
+
const CSS$a = {
|
|
29213
29220
|
handleLabel: "handle__label",
|
|
29214
29221
|
handleLabelMinValue: "handle__label--minValue",
|
|
29215
29222
|
handleLabelValue: "handle__label--value",
|
|
@@ -29400,8 +29407,8 @@ class Slider {
|
|
|
29400
29407
|
const leftThumbOffset = `${mirror ? 100 - minInterval : minInterval}%`;
|
|
29401
29408
|
const rightThumbOffset = `${mirror ? maxInterval : 100 - maxInterval}%`;
|
|
29402
29409
|
const valueIsRange = isRange(this.value);
|
|
29403
|
-
const handleLabelMinValueClasses = `${CSS$
|
|
29404
|
-
const handleLabelValueClasses = `${CSS$
|
|
29410
|
+
const handleLabelMinValueClasses = `${CSS$a.handleLabel} ${CSS$a.handleLabelMinValue}`;
|
|
29411
|
+
const handleLabelValueClasses = `${CSS$a.handleLabel} ${CSS$a.handleLabelValue}`;
|
|
29405
29412
|
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: {
|
|
29406
29413
|
thumb: true,
|
|
29407
29414
|
"thumb--value": true,
|
|
@@ -29511,8 +29518,8 @@ class Slider {
|
|
|
29511
29518
|
const displayedTickValue = this.determineGroupSeparator(tick);
|
|
29512
29519
|
const tickLabel = (hAsync("span", { class: {
|
|
29513
29520
|
tick__label: true,
|
|
29514
|
-
[CSS$
|
|
29515
|
-
[CSS$
|
|
29521
|
+
[CSS$a.tickMin]: isMinTickLabel,
|
|
29522
|
+
[CSS$a.tickMax]: isMaxTickLabel
|
|
29516
29523
|
} }, displayedTickValue));
|
|
29517
29524
|
if (this.labelTicks && !this.hasHistogram && !valueIsRange) {
|
|
29518
29525
|
return tickLabel;
|
|
@@ -33075,7 +33082,7 @@ _extends(Remove, {
|
|
|
33075
33082
|
Sortable.mount(new AutoScrollPlugin());
|
|
33076
33083
|
Sortable.mount(Remove, Revert);
|
|
33077
33084
|
|
|
33078
|
-
const CSS$
|
|
33085
|
+
const CSS$9 = {
|
|
33079
33086
|
sortItem: "sort-item",
|
|
33080
33087
|
container: "container",
|
|
33081
33088
|
containerHorizontal: "container--horizontal",
|
|
@@ -33208,9 +33215,9 @@ class SortableList {
|
|
|
33208
33215
|
const { layout } = this;
|
|
33209
33216
|
const horizontal = layout === "horizontal" || false;
|
|
33210
33217
|
return (hAsync("div", { class: {
|
|
33211
|
-
[CSS$
|
|
33212
|
-
[CSS$
|
|
33213
|
-
[CSS$
|
|
33218
|
+
[CSS$9.container]: true,
|
|
33219
|
+
[CSS$9.containerVertical]: !horizontal,
|
|
33220
|
+
[CSS$9.containerHorizontal]: horizontal
|
|
33214
33221
|
} }, hAsync("slot", null)));
|
|
33215
33222
|
}
|
|
33216
33223
|
get el() { return getElement(this); }
|
|
@@ -33233,7 +33240,7 @@ class SortableList {
|
|
|
33233
33240
|
}; }
|
|
33234
33241
|
}
|
|
33235
33242
|
|
|
33236
|
-
const CSS$
|
|
33243
|
+
const CSS$8 = {
|
|
33237
33244
|
container: "split-button__container",
|
|
33238
33245
|
dividerContainer: "split-button__divider-container",
|
|
33239
33246
|
divider: "split-button__divider",
|
|
@@ -33290,13 +33297,13 @@ class SplitButton {
|
|
|
33290
33297
|
}
|
|
33291
33298
|
render() {
|
|
33292
33299
|
const widthClasses = {
|
|
33293
|
-
[CSS$
|
|
33294
|
-
[CSS$
|
|
33295
|
-
[CSS$
|
|
33296
|
-
[CSS$
|
|
33300
|
+
[CSS$8.container]: true,
|
|
33301
|
+
[CSS$8.widthAuto]: this.width === "auto",
|
|
33302
|
+
[CSS$8.widthHalf]: this.width === "half",
|
|
33303
|
+
[CSS$8.widthFull]: this.width === "full"
|
|
33297
33304
|
};
|
|
33298
33305
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
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$
|
|
33306
|
+
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))));
|
|
33300
33307
|
}
|
|
33301
33308
|
get dropdownIcon() {
|
|
33302
33309
|
return this.dropdownIconType === "chevron"
|
|
@@ -33843,7 +33850,7 @@ class Switch {
|
|
|
33843
33850
|
}; }
|
|
33844
33851
|
}
|
|
33845
33852
|
|
|
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{
|
|
33853
|
+
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}";
|
|
33847
33854
|
|
|
33848
33855
|
/**
|
|
33849
33856
|
* @slot - A slot for adding custom content.
|
|
@@ -34161,7 +34168,16 @@ class TabNav {
|
|
|
34161
34168
|
}; }
|
|
34162
34169
|
}
|
|
34163
34170
|
|
|
34164
|
-
const
|
|
34171
|
+
const CSS$7 = {
|
|
34172
|
+
container: "container",
|
|
34173
|
+
containerHasText: "container--has-text",
|
|
34174
|
+
iconEnd: "icon-end",
|
|
34175
|
+
iconStart: "icon-start",
|
|
34176
|
+
iconPresent: "icon-present",
|
|
34177
|
+
titleIcon: "calcite-tab-title--icon"
|
|
34178
|
+
};
|
|
34179
|
+
|
|
34180
|
+
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}}";
|
|
34165
34181
|
|
|
34166
34182
|
/**
|
|
34167
34183
|
* @slot - A slot for adding text.
|
|
@@ -34242,11 +34258,12 @@ class TabTitle {
|
|
|
34242
34258
|
}
|
|
34243
34259
|
render() {
|
|
34244
34260
|
const id = this.el.id || this.guid;
|
|
34245
|
-
const iconStartEl = (hAsync("calcite-icon", { class:
|
|
34246
|
-
const iconEndEl = (hAsync("calcite-icon", { class:
|
|
34261
|
+
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" }));
|
|
34262
|
+
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" }));
|
|
34247
34263
|
return (hAsync(Host, { "aria-controls": this.controls, "aria-selected": toAriaBoolean(this.selected), id: id, role: "tab", tabIndex: this.selected ? 0 : -1 }, hAsync("div", { class: {
|
|
34248
34264
|
container: true,
|
|
34249
|
-
|
|
34265
|
+
[CSS$7.iconPresent]: this.iconStart || this.iconEnd ? true : null,
|
|
34266
|
+
[CSS$7.containerHasText]: this.hasText
|
|
34250
34267
|
}, ref: (el) => this.resizeObserver?.observe(el) }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
34251
34268
|
}
|
|
34252
34269
|
async componentDidLoad() {
|
|
@@ -35526,7 +35543,7 @@ const SLOTS$2 = {
|
|
|
35526
35543
|
thumbnail: "thumbnail"
|
|
35527
35544
|
};
|
|
35528
35545
|
|
|
35529
|
-
const tipCss = "@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-tip: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-tip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tip:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-tip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tip-h{display:none}/*!@:host*/.sc-calcite-tip-h{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@:host **/.sc-calcite-tip-h *.sc-calcite-tip{box-sizing:border-box}/*!@.container*/.container.sc-calcite-tip{inline-size:100%;padding:1rem}/*!@:host([
|
|
35546
|
+
const tipCss = "@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-tip: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-tip{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tip{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tip{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tip{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tip{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-tip:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-tip:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-tip-h{display:none}/*!@:host*/.sc-calcite-tip-h{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}/*!@:host **/.sc-calcite-tip-h *.sc-calcite-tip{box-sizing:border-box}/*!@.container*/.container.sc-calcite-tip{inline-size:100%;padding:1rem}/*!@:host([closed]),\n:host([closed]) .container*/[closed].sc-calcite-tip-h,[closed].sc-calcite-tip-h .container.sc-calcite-tip{display:none}/*!@:host([selected]) .container*/[selected].sc-calcite-tip-h .container.sc-calcite-tip{margin:0px;border-style:none;padding:0px}/*!@.header*/.header.sc-calcite-tip{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}/*!@.heading*/.heading.sc-calcite-tip{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}/*!@.header .heading*/.header.sc-calcite-tip .heading.sc-calcite-tip{flex:1 1 auto;padding:0.5rem}/*!@.header*/.header.sc-calcite-tip{margin-block-end:0.5rem}/*!@.header .heading*/.header.sc-calcite-tip .heading.sc-calcite-tip{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-1)}/*!@.container[hidden]*/.container[hidden].sc-calcite-tip{display:none}/*!@.content*/.content.sc-calcite-tip{display:flex}/*!@.info*/.info.sc-calcite-tip{padding-block:0px;padding-inline:1rem;inline-size:70%}/*!@.info:only-child*/.info.sc-calcite-tip:only-child{inline-size:100%;padding-inline:0px}/*!@::slotted(p)*/.sc-calcite-tip-s>p{margin-block-start:0px}/*!@::slotted(a)*/.sc-calcite-tip-s>a{outline-color:transparent;color:var(--calcite-ui-brand)}/*!@::slotted(a:focus)*/.sc-calcite-tip-s>a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.image-frame*/.image-frame.sc-calcite-tip{inline-size:25%}/*!@.image-frame img*/.image-frame.sc-calcite-tip img.sc-calcite-tip{max-inline-size:100%}/*!@::slotted(img)*/.sc-calcite-tip-s>img{max-inline-size:100%}";
|
|
35530
35547
|
|
|
35531
35548
|
/**
|
|
35532
35549
|
* @slot - A slot for adding text and a hyperlink.
|
|
@@ -35542,10 +35559,10 @@ class Tip {
|
|
|
35542
35559
|
//
|
|
35543
35560
|
// --------------------------------------------------------------------------
|
|
35544
35561
|
this.hideTip = () => {
|
|
35545
|
-
this.
|
|
35562
|
+
this.closed = true;
|
|
35546
35563
|
this.calciteTipDismiss.emit();
|
|
35547
35564
|
};
|
|
35548
|
-
this.
|
|
35565
|
+
this.closed = false;
|
|
35549
35566
|
this.closeDisabled = false;
|
|
35550
35567
|
this.heading = undefined;
|
|
35551
35568
|
this.headingLevel = undefined;
|
|
@@ -35619,7 +35636,7 @@ class Tip {
|
|
|
35619
35636
|
"$flags$": 9,
|
|
35620
35637
|
"$tagName$": "calcite-tip",
|
|
35621
35638
|
"$members$": {
|
|
35622
|
-
"
|
|
35639
|
+
"closed": [1540],
|
|
35623
35640
|
"closeDisabled": [516, "close-disabled"],
|
|
35624
35641
|
"heading": [1],
|
|
35625
35642
|
"headingLevel": [514, "heading-level"],
|
|
@@ -35631,7 +35648,7 @@ class Tip {
|
|
|
35631
35648
|
},
|
|
35632
35649
|
"$listeners$": undefined,
|
|
35633
35650
|
"$lazyBundleId$": "-",
|
|
35634
|
-
"$attrsToReflect$": [["
|
|
35651
|
+
"$attrsToReflect$": [["closed", "closed"], ["closeDisabled", "close-disabled"], ["headingLevel", "heading-level"], ["selected", "selected"]]
|
|
35635
35652
|
}; }
|
|
35636
35653
|
}
|
|
35637
35654
|
|
|
@@ -37201,8 +37218,8 @@ class ValueListItem {
|
|
|
37201
37218
|
const { icon, iconFlipRtl } = this;
|
|
37202
37219
|
if (icon === ICON_TYPES$1.grip) {
|
|
37203
37220
|
return (hAsync("span", { class: {
|
|
37204
|
-
[CSS$
|
|
37205
|
-
[CSS$
|
|
37221
|
+
[CSS$j.handle]: true,
|
|
37222
|
+
[CSS$j.handleActivated]: this.handleActivated
|
|
37206
37223
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { flipRtl: iconFlipRtl, icon: ICONS.drag, scale: "s" })));
|
|
37207
37224
|
}
|
|
37208
37225
|
}
|