@esri/calcite-components 1.0.0-next.711 → 1.0.0-next.712
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-aa479698.entry.js → p-02021481.entry.js} +2 -2
- package/dist/calcite/{p-a103f94d.js → p-02c3217d.js} +1 -1
- package/dist/calcite/{p-88c6d47a.js → p-047faabc.js} +1 -1
- package/dist/calcite/{p-738dab01.entry.js → p-07eef4ec.entry.js} +2 -2
- package/dist/calcite/{p-4d2ed733.js → p-08cf47c5.js} +1 -1
- package/dist/calcite/{p-b8334abb.entry.js → p-11279882.entry.js} +2 -2
- package/dist/calcite/{p-2782b8e9.entry.js → p-1534597a.entry.js} +2 -2
- package/dist/calcite/{p-dbf2f19b.entry.js → p-155a4208.entry.js} +2 -2
- package/dist/calcite/{p-00687b77.entry.js → p-159d2cbd.entry.js} +2 -2
- package/dist/calcite/{p-0843f34a.entry.js → p-164087fe.entry.js} +2 -2
- package/dist/calcite/{p-306810ae.entry.js → p-1cd56a1f.entry.js} +2 -2
- package/dist/calcite/{p-4948e415.entry.js → p-1eb586c3.entry.js} +2 -2
- package/dist/calcite/{p-6e7701e0.entry.js → p-1fd50e7d.entry.js} +2 -2
- package/dist/calcite/{p-d89e0ab7.js → p-2137d25c.js} +2 -2
- package/dist/calcite/{p-265bbe7a.entry.js → p-21afc95a.entry.js} +2 -2
- package/dist/calcite/{p-01f0cfe3.entry.js → p-23748d02.entry.js} +2 -2
- package/dist/calcite/{p-be454525.entry.js → p-24f4e0a9.entry.js} +2 -2
- package/dist/calcite/{p-3bf74dd0.js → p-28142ad7.js} +2 -2
- package/dist/calcite/{p-29f99c23.entry.js → p-31aff083.entry.js} +2 -2
- package/dist/calcite/{p-d53b308c.js → p-3252b6d6.js} +1 -1
- package/dist/calcite/{p-24a5bd23.js → p-357dcf8f.js} +2 -2
- package/dist/calcite/{p-da1934c2.entry.js → p-37422c56.entry.js} +2 -2
- package/dist/calcite/{p-a0539974.entry.js → p-37795c8e.entry.js} +2 -2
- package/dist/calcite/{p-ff914a0f.entry.js → p-379b4826.entry.js} +2 -2
- package/dist/calcite/{p-097d173c.entry.js → p-38f3b6e6.entry.js} +2 -2
- package/dist/calcite/{p-d4c7c3c4.js → p-3907c132.js} +1 -1
- package/dist/calcite/{p-f51ab0ca.js → p-3afcd6ed.js} +2 -2
- package/dist/calcite/{p-95e119f1.entry.js → p-3d681c7a.entry.js} +2 -2
- package/dist/calcite/{p-332d775c.entry.js → p-3e5e030e.entry.js} +2 -2
- package/dist/calcite/{p-a5900217.entry.js → p-3f201106.entry.js} +2 -2
- package/dist/calcite/{p-3852b7d6.entry.js → p-446aa6f4.entry.js} +2 -2
- package/dist/calcite/{p-d074b88e.entry.js → p-44ea818d.entry.js} +2 -2
- package/dist/calcite/{p-34a948fe.entry.js → p-460801d1.entry.js} +2 -2
- package/dist/calcite/{p-2c7fb141.js → p-4793f1c4.js} +1 -1
- package/dist/calcite/{p-3ef388ce.js → p-489de608.js} +1 -1
- package/dist/calcite/p-530524f5.js +6 -0
- package/dist/calcite/{p-277990ff.js → p-595d6310.js} +2 -2
- package/dist/calcite/p-597dc447.entry.js +6 -0
- package/dist/calcite/{p-57f186c2.entry.js → p-59969d42.entry.js} +2 -2
- package/dist/calcite/{p-0a350fed.js → p-60cdf9c4.js} +2 -2
- package/dist/calcite/{p-035f7a6f.js → p-6179a0c7.js} +1 -1
- package/dist/calcite/{p-3096387f.entry.js → p-62bce5e5.entry.js} +2 -2
- package/dist/calcite/{p-ec0a8bbd.js → p-70025f43.js} +2 -2
- package/dist/calcite/{p-8c96b044.entry.js → p-715654d7.entry.js} +2 -2
- package/dist/calcite/{p-3dd09201.js → p-725f6850.js} +1 -1
- package/dist/calcite/{p-661a014d.entry.js → p-74b2cea5.entry.js} +2 -2
- package/dist/calcite/{p-a9ca3076.entry.js → p-82a160a4.entry.js} +2 -2
- package/dist/calcite/{p-607e5599.entry.js → p-86ba80e0.entry.js} +2 -2
- package/dist/calcite/{p-0002eeae.js → p-888977d2.js} +1 -1
- package/dist/calcite/{p-2711ae4a.entry.js → p-891e771a.entry.js} +2 -2
- package/dist/calcite/{p-4f745197.entry.js → p-8c2b58af.entry.js} +2 -2
- package/dist/calcite/{p-8b02e131.entry.js → p-8c67df32.entry.js} +2 -2
- package/dist/calcite/{p-b49402d8.js → p-9176fc84.js} +2 -2
- package/dist/calcite/{p-5a314c83.entry.js → p-9356033b.entry.js} +2 -2
- package/dist/calcite/{p-23b2c276.entry.js → p-943807d8.entry.js} +2 -2
- package/dist/calcite/{p-f7bc4d68.js → p-98c2057c.js} +1 -1
- package/dist/calcite/{p-df933b6c.entry.js → p-98eb34e2.entry.js} +2 -2
- package/dist/calcite/{p-ae1368aa.entry.js → p-9921ffec.entry.js} +2 -2
- package/dist/calcite/p-9bd08931.entry.js +6 -0
- package/dist/calcite/{p-a01ffbf3.js → p-a1b2b027.js} +2 -2
- package/dist/calcite/{p-d2fa9383.entry.js → p-a4293bb8.entry.js} +2 -2
- package/dist/calcite/{p-77586815.js → p-a5a81a8a.js} +1 -1
- package/dist/calcite/{p-3ef41fe7.js → p-aac55118.js} +2 -2
- package/dist/calcite/{p-465d5146.js → p-b4f33750.js} +2 -2
- package/dist/calcite/{p-f9b10882.entry.js → p-b53d5428.entry.js} +2 -2
- package/dist/calcite/{p-ad477fb0.js → p-b775953e.js} +2 -2
- package/dist/calcite/{p-fd3e1595.entry.js → p-b99e5289.entry.js} +2 -2
- package/dist/calcite/{p-24c1ffec.entry.js → p-babc24b9.entry.js} +2 -2
- package/dist/calcite/{p-243dceb9.entry.js → p-bc45355d.entry.js} +2 -2
- package/dist/calcite/{p-97d578b7.entry.js → p-bcf9bb55.entry.js} +2 -2
- package/dist/calcite/{p-5dc0d285.entry.js → p-c0790d34.entry.js} +2 -2
- package/dist/calcite/{p-6dbcaa63.entry.js → p-c476c0f5.entry.js} +2 -2
- package/dist/calcite/{p-4b47ec46.js → p-cb2bb973.js} +1 -1
- package/dist/calcite/{p-e6c341e4.entry.js → p-ce87c7a2.entry.js} +2 -2
- package/dist/calcite/{p-f18ec30b.js → p-d41dd7d8.js} +2 -2
- package/dist/calcite/{p-c36b3b78.entry.js → p-d5edb748.entry.js} +2 -2
- package/dist/calcite/{p-b9400f0a.entry.js → p-d63baacf.entry.js} +2 -2
- package/dist/calcite/{p-01629dbf.entry.js → p-d656b567.entry.js} +2 -2
- package/dist/calcite/{p-b8d5d39f.entry.js → p-d7a0122b.entry.js} +2 -2
- package/dist/calcite/{p-c52fca73.entry.js → p-deb1c502.entry.js} +2 -2
- package/dist/calcite/p-e1124f02.entry.js +6 -0
- package/dist/calcite/{p-54fbc488.entry.js → p-e3f88ad3.entry.js} +2 -2
- package/dist/calcite/{p-e93ba0cb.entry.js → p-e46d9d82.entry.js} +2 -2
- package/dist/calcite/{p-4df98023.js → p-e7f83e32.js} +1 -1
- package/dist/calcite/p-e8eef1d3.js +6 -0
- package/dist/calcite/{p-23fc8d49.entry.js → p-ea5a2702.entry.js} +2 -2
- package/dist/calcite/{p-efbd313c.js → p-ec0cc063.js} +2 -2
- package/dist/calcite/{p-54b7f9d5.js → p-edad3fdd.js} +1 -1
- package/dist/calcite/{p-4a2089d3.entry.js → p-f1d58d6b.entry.js} +2 -2
- package/dist/calcite/{p-e1c0f3bf.entry.js → p-f3400eb8.entry.js} +2 -2
- package/dist/calcite/{p-6bd41c68.entry.js → p-f5af9ff9.entry.js} +2 -2
- package/dist/calcite/{p-33d5ae9b.js → p-fb95eda3.js} +1 -1
- package/dist/cjs/{ExpandToggle-8d09f302.js → ExpandToggle-3db4f635.js} +5 -5
- package/dist/cjs/{Heading-b72abeb6.js → Heading-5dc0da14.js} +2 -2
- package/dist/cjs/{app-globals-39d3f68f.js → app-globals-e2763821.js} +2 -2
- package/dist/cjs/{array-d7b1825c.js → array-2e7f71c5.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- 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 +19 -19
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-91a33264.js → conditionalSlot-66dfd245.js} +3 -3
- package/dist/cjs/{debounce-e088d727.js → debounce-5b619841.js} +1 -1
- package/dist/cjs/{dom-32815ac6.js → dom-227f988e.js} +3 -3
- package/dist/cjs/{filter-c2819fd9.js → filter-477a824f.js} +2 -2
- package/dist/cjs/{floating-ui-29eaebb2.js → floating-ui-9ccecac1.js} +4 -4
- package/dist/cjs/{focusTrapComponent-11f09f23.js → focusTrapComponent-bbe7018f.js} +2 -2
- package/dist/cjs/{form-55493146.js → form-28e8d75c.js} +3 -3
- package/dist/cjs/{guid-039c974b.js → guid-42ca6cca.js} +1 -1
- package/dist/cjs/{index-afec58ed.js → index-7a2cabc2.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-a812bc7a.js → interactive-73fbe4bb.js} +1 -1
- package/dist/cjs/{key-d469c8d7.js → key-173da5fa.js} +1 -1
- package/dist/cjs/{label-8d7b59f0.js → label-e5759a33.js} +2 -2
- package/dist/cjs/{loadable-0c93ce60.js → loadable-44e384bf.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-a9a1ea6e.js → locale-55ade41f.js} +4 -4
- package/dist/cjs/{math-afb0b6d1.js → math-9106936e.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-cf7f4a44.js → nonChromiumPlatformUtils-6916bef7.js} +6 -6
- package/dist/cjs/{observers-6fd40e82.js → observers-0ba20023.js} +1 -1
- package/dist/cjs/{openCloseComponent-c3020ab5.js → openCloseComponent-2551b9e8.js} +2 -2
- package/dist/cjs/{resources-cb81a3f5.js → resources-69ed7899.js} +1 -1
- package/dist/cjs/{resources-01845d86.js → resources-9effcbbd.js} +1 -1
- package/dist/cjs/{resources-7f8498e8.js → resources-b443e75e.js} +1 -1
- package/dist/cjs/{resources-bb26a8ca.js → resources-b89d3bc8.js} +1 -1
- package/dist/cjs/{resources-e4d9dfc5.js → resources-de4196d1.js} +5 -5
- package/dist/cjs/{resources-af6a21e9.js → resources-e844fe5f.js} +1 -1
- package/dist/cjs/{sortable.esm-85870020.js → sortable.esm-d9a0a92d.js} +1 -1
- package/dist/cjs/{t9n-ecaaa594.js → t9n-75577bc1.js} +3 -3
- package/dist/cjs/{utils-88c7bc0d.js → utils-153c6f08.js} +1 -1
- package/dist/cjs/{utils-8402efb3.js → utils-39d0049e.js} +3 -3
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/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 +2 -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 +2 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -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 +6 -6
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +5 -5
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +2 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -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/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/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +6 -6
- package/dist/components/calcite-segmented-control.js +7 -7
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/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/resources4.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/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/esm/{ExpandToggle-ee6b8ff5.js → ExpandToggle-1138898e.js} +5 -5
- package/dist/esm/{Heading-18b321ae.js → Heading-63c8c7c0.js} +2 -2
- package/dist/esm/{app-globals-47408ef1.js → app-globals-892dad3f.js} +2 -2
- package/dist/esm/{array-d0bb3ff4.js → array-96b4087b.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +14 -14
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +12 -12
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +16 -16
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +14 -14
- 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 +18 -18
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-d6ec7640.js → conditionalSlot-74ad42ef.js} +3 -3
- package/dist/esm/{debounce-b3f2f7a5.js → debounce-d76804f4.js} +1 -1
- package/dist/esm/{dom-f02c027a.js → dom-37e96644.js} +3 -3
- package/dist/esm/{filter-979bdc9b.js → filter-40aff77f.js} +2 -2
- package/dist/esm/{floating-ui-036911e9.js → floating-ui-2333b1c9.js} +4 -4
- package/dist/esm/{focusTrapComponent-5cfdb0e4.js → focusTrapComponent-780cbd6e.js} +2 -2
- package/dist/esm/{form-44bf35fc.js → form-88c5d417.js} +3 -3
- package/dist/esm/{guid-1af37c35.js → guid-6aca7a2a.js} +1 -1
- package/dist/esm/{index-779147a7.js → index-cd595ef3.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-f1517c31.js → interactive-71459bb6.js} +1 -1
- package/dist/esm/{key-9ce2c5bc.js → key-a41393d8.js} +1 -1
- package/dist/esm/{label-f65c7d46.js → label-8f3d9a12.js} +2 -2
- package/dist/esm/{loadable-dafeb75c.js → loadable-640fc427.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-fc171aad.js → locale-826d3978.js} +4 -4
- package/dist/esm/{math-d3759808.js → math-3abe9b59.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-9ba39311.js → nonChromiumPlatformUtils-8dae6162.js} +6 -6
- package/dist/esm/{observers-dd4f5805.js → observers-ed7ba519.js} +1 -1
- package/dist/esm/{openCloseComponent-1e7b415f.js → openCloseComponent-bfcce235.js} +2 -2
- package/dist/esm/{resources-3da5e794.js → resources-043d31a4.js} +1 -1
- package/dist/esm/{resources-931f07f4.js → resources-0f04cce2.js} +1 -1
- package/dist/esm/{resources-f65b30a9.js → resources-2c38e806.js} +1 -1
- package/dist/esm/{resources-4c9aa7da.js → resources-2d3a4960.js} +1 -1
- package/dist/esm/{resources-f72b1d13.js → resources-651a7c0d.js} +1 -1
- package/dist/esm/{resources-76872121.js → resources-e42956c8.js} +5 -5
- package/dist/esm/{sortable.esm-6cfb0394.js → sortable.esm-8e4b5659.js} +1 -1
- package/dist/esm/{t9n-b6b974d1.js → t9n-dac31ad1.js} +3 -3
- package/dist/esm/{utils-5a541812.js → utils-5548444f.js} +3 -3
- package/dist/esm/{utils-7ac73796.js → utils-b6eb41b4.js} +1 -1
- package/dist/extras/docs-json.json +28 -80
- 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/pick-list/pick-list.d.ts +1 -0
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +1 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -0
- package/dist/types/components/segmented-control/segmented-control.d.ts +3 -3
- package/dist/types/components/segmented-control-item/segmented-control-item.d.ts +2 -2
- package/dist/types/components/value-list/value-list.d.ts +1 -0
- package/dist/types/components/value-list-item/value-list-item.d.ts +1 -0
- package/dist/types/components.d.ts +1 -1
- package/dist/types/preact.d.ts +4 -4
- package/hydrate/index.js +273 -268
- package/package.json +1 -1
- package/dist/calcite/p-0034b984.entry.js +0 -6
- package/dist/calcite/p-46c39f68.js +0 -6
- package/dist/calcite/p-5685ee7a.entry.js +0 -6
- package/dist/calcite/p-5a19617d.entry.js +0 -6
- package/dist/calcite/p-6989e236.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.712
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -26638,6 +26638,7 @@ const pickListCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-do
|
|
|
26638
26638
|
* @slot - A slot for adding `calcite-pick-list-item` or `calcite-pick-list-group` elements. Items are displayed as a vertical list.
|
|
26639
26639
|
* @slot menu-actions - A slot for adding a button and menu combination for performing actions, such as sorting.
|
|
26640
26640
|
*/
|
|
26641
|
+
/** @deprecated Use the `list` component instead. */
|
|
26641
26642
|
class PickList {
|
|
26642
26643
|
constructor(hostRef) {
|
|
26643
26644
|
registerInstance(this, hostRef);
|
|
@@ -26784,6 +26785,7 @@ const pickListGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes
|
|
|
26784
26785
|
/**
|
|
26785
26786
|
* @slot - A slot for adding `calcite-pick-list-item` elements.
|
|
26786
26787
|
*/
|
|
26788
|
+
/** @deprecated Use the `list` component instead. */
|
|
26787
26789
|
class PickListGroup {
|
|
26788
26790
|
constructor(hostRef) {
|
|
26789
26791
|
registerInstance(this, hostRef);
|
|
@@ -26864,6 +26866,7 @@ const pickListItemCss = "@charset \"UTF-8\";@keyframes in{0%{opacity:0}100%{opac
|
|
|
26864
26866
|
* @slot actions-end - A slot for adding `calcite-action`s or content to the end side of the component.
|
|
26865
26867
|
* @slot actions-start - A slot for adding `calcite-action`s or content to the start side of the component.
|
|
26866
26868
|
*/
|
|
26869
|
+
/** @deprecated Use the `list` component instead. */
|
|
26867
26870
|
class PickListItem {
|
|
26868
26871
|
constructor(hostRef) {
|
|
26869
26872
|
registerInstance(this, hostRef);
|
|
@@ -27887,268 +27890,6 @@ class RadioButtonGroup {
|
|
|
27887
27890
|
}; }
|
|
27888
27891
|
}
|
|
27889
27892
|
|
|
27890
|
-
const segmentedControlCss = "@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-segmented-control: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-segmented-control{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-segmented-control{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-segmented-control{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-segmented-control{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-segmented-control{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-segmented-control:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-segmented-control:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-segmented-control-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-segmented-control-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-segmented-control-h{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}/*!@:host([appearance=outline])*/[appearance=outline].sc-calcite-segmented-control-h{background-color:transparent}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-segmented-control-h[disabled] .sc-calcite-segmented-control-s>[calcite-hydrated][disabled],[disabled].sc-calcite-segmented-control-h [calcite-hydrated][disabled].sc-calcite-segmented-control{opacity:1}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-segmented-control-h{flex-direction:column;align-items:flex-start;align-self:flex-start}/*!@:host([width=full])*/[width=full].sc-calcite-segmented-control-h{inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}/*!@:host([width=full]) ::slotted(calcite-segmented-control-item)*/.sc-calcite-segmented-control-h[width=full] .sc-calcite-segmented-control-s>calcite-segmented-control-item{flex:1 1 auto}/*!@:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item)*/.sc-calcite-segmented-control-h[width=full][layout=vertical] .sc-calcite-segmented-control-s>calcite-segmented-control-item{justify-content:flex-start}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-segmented-control-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}";
|
|
27891
|
-
|
|
27892
|
-
/**
|
|
27893
|
-
* @slot - A slot for adding `calcite-segmented-control-item`s.
|
|
27894
|
-
*/
|
|
27895
|
-
class RadioGroup {
|
|
27896
|
-
constructor(hostRef) {
|
|
27897
|
-
registerInstance(this, hostRef);
|
|
27898
|
-
this.calciteRadioGroupChange = createEvent(this, "calciteRadioGroupChange", 6);
|
|
27899
|
-
//--------------------------------------------------------------------------
|
|
27900
|
-
//
|
|
27901
|
-
// Event Listeners
|
|
27902
|
-
//
|
|
27903
|
-
//--------------------------------------------------------------------------
|
|
27904
|
-
this.handleClick = (event) => {
|
|
27905
|
-
if (event.target.localName === "calcite-segmented-control-item") {
|
|
27906
|
-
this.selectItem(event.target, true);
|
|
27907
|
-
}
|
|
27908
|
-
};
|
|
27909
|
-
this.appearance = "solid";
|
|
27910
|
-
this.disabled = false;
|
|
27911
|
-
this.required = false;
|
|
27912
|
-
this.layout = "horizontal";
|
|
27913
|
-
this.name = undefined;
|
|
27914
|
-
this.scale = "m";
|
|
27915
|
-
this.value = null;
|
|
27916
|
-
this.selectedItem = undefined;
|
|
27917
|
-
this.width = "auto";
|
|
27918
|
-
}
|
|
27919
|
-
valueHandler(value) {
|
|
27920
|
-
const items = this.getItems();
|
|
27921
|
-
items.forEach((item) => (item.checked = item.value === value));
|
|
27922
|
-
}
|
|
27923
|
-
handleSelectedItemChange(newItem, oldItem) {
|
|
27924
|
-
this.value = newItem?.value;
|
|
27925
|
-
if (newItem === oldItem) {
|
|
27926
|
-
return;
|
|
27927
|
-
}
|
|
27928
|
-
const items = this.getItems();
|
|
27929
|
-
const match = Array.from(items)
|
|
27930
|
-
.filter((item) => item === newItem)
|
|
27931
|
-
.pop();
|
|
27932
|
-
if (match) {
|
|
27933
|
-
this.selectItem(match);
|
|
27934
|
-
}
|
|
27935
|
-
else if (items[0]) {
|
|
27936
|
-
items[0].tabIndex = 0;
|
|
27937
|
-
}
|
|
27938
|
-
}
|
|
27939
|
-
//--------------------------------------------------------------------------
|
|
27940
|
-
//
|
|
27941
|
-
// Lifecycle
|
|
27942
|
-
//
|
|
27943
|
-
//--------------------------------------------------------------------------
|
|
27944
|
-
componentWillLoad() {
|
|
27945
|
-
setUpLoadableComponent(this);
|
|
27946
|
-
const items = this.getItems();
|
|
27947
|
-
const lastChecked = Array.from(items)
|
|
27948
|
-
.filter((item) => item.checked)
|
|
27949
|
-
.pop();
|
|
27950
|
-
if (lastChecked) {
|
|
27951
|
-
this.selectItem(lastChecked);
|
|
27952
|
-
}
|
|
27953
|
-
else if (items[0]) {
|
|
27954
|
-
items[0].tabIndex = 0;
|
|
27955
|
-
}
|
|
27956
|
-
}
|
|
27957
|
-
componentDidLoad() {
|
|
27958
|
-
afterConnectDefaultValueSet(this, this.value);
|
|
27959
|
-
setComponentLoaded(this);
|
|
27960
|
-
}
|
|
27961
|
-
connectedCallback() {
|
|
27962
|
-
connectLabel(this);
|
|
27963
|
-
connectForm(this);
|
|
27964
|
-
}
|
|
27965
|
-
disconnectedCallback() {
|
|
27966
|
-
disconnectLabel(this);
|
|
27967
|
-
disconnectForm(this);
|
|
27968
|
-
}
|
|
27969
|
-
componentDidRender() {
|
|
27970
|
-
updateHostInteraction(this);
|
|
27971
|
-
}
|
|
27972
|
-
render() {
|
|
27973
|
-
return (hAsync(Host, { onClick: this.handleClick, role: "radiogroup" }, hAsync("slot", null), hAsync(HiddenFormInputSlot, { component: this })));
|
|
27974
|
-
}
|
|
27975
|
-
handleSelected(event) {
|
|
27976
|
-
event.preventDefault();
|
|
27977
|
-
this.selectItem(event.target);
|
|
27978
|
-
event.stopPropagation();
|
|
27979
|
-
}
|
|
27980
|
-
handleKeyDown(event) {
|
|
27981
|
-
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
27982
|
-
const { key } = event;
|
|
27983
|
-
const { el, selectedItem } = this;
|
|
27984
|
-
if (keys.indexOf(key) === -1) {
|
|
27985
|
-
return;
|
|
27986
|
-
}
|
|
27987
|
-
let adjustedKey = key;
|
|
27988
|
-
if (getElementDir(el) === "rtl") {
|
|
27989
|
-
if (key === "ArrowRight") {
|
|
27990
|
-
adjustedKey = "ArrowLeft";
|
|
27991
|
-
}
|
|
27992
|
-
if (key === "ArrowLeft") {
|
|
27993
|
-
adjustedKey = "ArrowRight";
|
|
27994
|
-
}
|
|
27995
|
-
}
|
|
27996
|
-
const items = this.getItems();
|
|
27997
|
-
let selectedIndex = -1;
|
|
27998
|
-
items.forEach((item, index) => {
|
|
27999
|
-
if (item === selectedItem) {
|
|
28000
|
-
selectedIndex = index;
|
|
28001
|
-
}
|
|
28002
|
-
});
|
|
28003
|
-
switch (adjustedKey) {
|
|
28004
|
-
case "ArrowLeft":
|
|
28005
|
-
case "ArrowUp":
|
|
28006
|
-
event.preventDefault();
|
|
28007
|
-
const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
|
|
28008
|
-
this.selectItem(previous, true);
|
|
28009
|
-
return;
|
|
28010
|
-
case "ArrowRight":
|
|
28011
|
-
case "ArrowDown":
|
|
28012
|
-
event.preventDefault();
|
|
28013
|
-
const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
|
|
28014
|
-
this.selectItem(next, true);
|
|
28015
|
-
return;
|
|
28016
|
-
case " ":
|
|
28017
|
-
event.preventDefault();
|
|
28018
|
-
this.selectItem(event.target, true);
|
|
28019
|
-
return;
|
|
28020
|
-
default:
|
|
28021
|
-
return;
|
|
28022
|
-
}
|
|
28023
|
-
}
|
|
28024
|
-
// --------------------------------------------------------------------------
|
|
28025
|
-
//
|
|
28026
|
-
// Methods
|
|
28027
|
-
//
|
|
28028
|
-
// --------------------------------------------------------------------------
|
|
28029
|
-
/** Sets focus on the component. */
|
|
28030
|
-
async setFocus() {
|
|
28031
|
-
await componentLoaded(this);
|
|
28032
|
-
(this.selectedItem || this.getItems()[0])?.focus();
|
|
28033
|
-
}
|
|
28034
|
-
//--------------------------------------------------------------------------
|
|
28035
|
-
//
|
|
28036
|
-
// Private Methods
|
|
28037
|
-
//
|
|
28038
|
-
//--------------------------------------------------------------------------
|
|
28039
|
-
onLabelClick() {
|
|
28040
|
-
this.setFocus();
|
|
28041
|
-
}
|
|
28042
|
-
getItems() {
|
|
28043
|
-
return this.el.querySelectorAll("calcite-segmented-control-item");
|
|
28044
|
-
}
|
|
28045
|
-
selectItem(selected, emit = false) {
|
|
28046
|
-
if (selected === this.selectedItem) {
|
|
28047
|
-
return;
|
|
28048
|
-
}
|
|
28049
|
-
const items = this.getItems();
|
|
28050
|
-
let match = null;
|
|
28051
|
-
items.forEach((item) => {
|
|
28052
|
-
const matches = item.value === selected.value;
|
|
28053
|
-
if ((matches && !item.checked) || (!matches && item.checked)) {
|
|
28054
|
-
item.checked = matches;
|
|
28055
|
-
}
|
|
28056
|
-
item.tabIndex = matches ? 0 : -1;
|
|
28057
|
-
if (matches) {
|
|
28058
|
-
match = item;
|
|
28059
|
-
if (emit) {
|
|
28060
|
-
this.calciteRadioGroupChange.emit();
|
|
28061
|
-
}
|
|
28062
|
-
}
|
|
28063
|
-
});
|
|
28064
|
-
this.selectedItem = match;
|
|
28065
|
-
}
|
|
28066
|
-
get el() { return getElement(this); }
|
|
28067
|
-
static get watchers() { return {
|
|
28068
|
-
"value": ["valueHandler"],
|
|
28069
|
-
"selectedItem": ["handleSelectedItemChange"]
|
|
28070
|
-
}; }
|
|
28071
|
-
static get style() { return segmentedControlCss; }
|
|
28072
|
-
static get cmpMeta() { return {
|
|
28073
|
-
"$flags$": 9,
|
|
28074
|
-
"$tagName$": "calcite-segmented-control",
|
|
28075
|
-
"$members$": {
|
|
28076
|
-
"appearance": [513],
|
|
28077
|
-
"disabled": [516],
|
|
28078
|
-
"required": [516],
|
|
28079
|
-
"layout": [513],
|
|
28080
|
-
"name": [513],
|
|
28081
|
-
"scale": [513],
|
|
28082
|
-
"value": [1025],
|
|
28083
|
-
"selectedItem": [1040],
|
|
28084
|
-
"width": [513],
|
|
28085
|
-
"setFocus": [64]
|
|
28086
|
-
},
|
|
28087
|
-
"$listeners$": [[0, "calciteInternalRadioGroupItemChange", "handleSelected"], [0, "keydown", "handleKeyDown"]],
|
|
28088
|
-
"$lazyBundleId$": "-",
|
|
28089
|
-
"$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["required", "required"], ["layout", "layout"], ["name", "name"], ["scale", "scale"], ["width", "width"]]
|
|
28090
|
-
}; }
|
|
28091
|
-
}
|
|
28092
|
-
|
|
28093
|
-
const SLOTS$8 = {
|
|
28094
|
-
input: "input"
|
|
28095
|
-
};
|
|
28096
|
-
const CSS$f = {
|
|
28097
|
-
segmentedControlItemIcon: "segmented-control-item-icon"
|
|
28098
|
-
};
|
|
28099
|
-
|
|
28100
|
-
const segmentedControlItemCss = "@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-segmented-control-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-segmented-control-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-segmented-control-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-segmented-control-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-segmented-control-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-segmented-control-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-segmented-control-item:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-segmented-control-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-segmented-control-item-h{display:none}/*!@:host*/.sc-calcite-segmented-control-item-h{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}/*!@:host label*/.sc-calcite-segmented-control-item-h label.sc-calcite-segmented-control-item{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}/*!@.label--horizontal*/.label--horizontal.sc-calcite-segmented-control-item{justify-content:center}/*!@:host*/.sc-calcite-segmented-control-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-segmented-control-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}/*!@.label--scale-s*/.label--scale-s.sc-calcite-segmented-control-item{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}/*!@.label--scale-m*/.label--scale-m.sc-calcite-segmented-control-item{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}/*!@.label--scale-l*/.label--scale-l.sc-calcite-segmented-control-item{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host(:hover) label*/.sc-calcite-segmented-control-item-h:hover label.sc-calcite-segmented-control-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host(:active) label*/.sc-calcite-segmented-control-item-h:active label.sc-calcite-segmented-control-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host([checked]) label*/[checked].sc-calcite-segmented-control-item-h label.sc-calcite-segmented-control-item{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}/*!@:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill*/[checked].sc-calcite-segmented-control-item-h .label--outline.sc-calcite-segmented-control-item,[checked].sc-calcite-segmented-control-item-h .label--outline-fill.sc-calcite-segmented-control-item{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-segmented-control-item-h .label--outline.sc-calcite-segmented-control-item{background-color:transparent}/*!@::slotted(input)*/.sc-calcite-segmented-control-item-s>input{display:none}@media (forced-colors: active){/*!@:host([checked]) label*/[checked].sc-calcite-segmented-control-item-h label.sc-calcite-segmented-control-item{background-color:highlight}/*!@:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill*/[checked].sc-calcite-segmented-control-item-h .label--outline.sc-calcite-segmented-control-item,[checked].sc-calcite-segmented-control-item-h .label--outline-fill.sc-calcite-segmented-control-item{outline:2px solid transparent;outline-offset:2px}/*!@:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon*/[checked].sc-calcite-segmented-control-item-h label.sc-calcite-segmented-control-item:not([class~=label--outline]) .segmented-control-item-icon.sc-calcite-segmented-control-item{color:highlightText}}/*!@.segmented-control-item-icon*/.segmented-control-item-icon.sc-calcite-segmented-control-item{position:relative;margin:0px;display:inline-flex;line-height:inherit}/*!@:host([icon-start]) .label--scale-s .segmented-control-item-icon*/[icon-start].sc-calcite-segmented-control-item-h .label--scale-s.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-end:0.5rem}/*!@:host([icon-end]) .label--scale-s .segmented-control-item-icon*/[icon-end].sc-calcite-segmented-control-item-h .label--scale-s.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-start:0.5rem}/*!@:host([icon-start]) .label--scale-m .segmented-control-item-icon*/[icon-start].sc-calcite-segmented-control-item-h .label--scale-m.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-end:0.75rem}/*!@:host([icon-end]) .label--scale-m .segmented-control-item-icon*/[icon-end].sc-calcite-segmented-control-item-h .label--scale-m.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-start:0.75rem}/*!@:host([icon-start]) .label--scale-l .segmented-control-item-icon*/[icon-start].sc-calcite-segmented-control-item-h .label--scale-l.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-end:1rem}/*!@:host([icon-end]) .label--scale-l .segmented-control-item-icon*/[icon-end].sc-calcite-segmented-control-item-h .label--scale-l.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-start:1rem}";
|
|
28101
|
-
|
|
28102
|
-
class RadioGroupItem {
|
|
28103
|
-
constructor(hostRef) {
|
|
28104
|
-
registerInstance(this, hostRef);
|
|
28105
|
-
this.calciteInternalRadioGroupItemChange = createEvent(this, "calciteInternalRadioGroupItemChange", 6);
|
|
28106
|
-
this.checked = false;
|
|
28107
|
-
this.iconFlipRtl = false;
|
|
28108
|
-
this.iconStart = undefined;
|
|
28109
|
-
this.iconEnd = undefined;
|
|
28110
|
-
this.value = undefined;
|
|
28111
|
-
}
|
|
28112
|
-
handleCheckedChange() {
|
|
28113
|
-
this.calciteInternalRadioGroupItemChange.emit();
|
|
28114
|
-
}
|
|
28115
|
-
render() {
|
|
28116
|
-
const { checked, value } = this;
|
|
28117
|
-
const scale = getElementProp(this.el, "scale", "m");
|
|
28118
|
-
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
28119
|
-
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
28120
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$f.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
28121
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$f.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
28122
|
-
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
28123
|
-
"label--scale-s": scale === "s",
|
|
28124
|
-
"label--scale-m": scale === "m",
|
|
28125
|
-
"label--scale-l": scale === "l",
|
|
28126
|
-
"label--horizontal": layout === "horizontal",
|
|
28127
|
-
"label--outline": appearance === "outline",
|
|
28128
|
-
"label--outline-fill": appearance === "outline-fill"
|
|
28129
|
-
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$8.input }), this.iconEnd ? iconEndEl : null)));
|
|
28130
|
-
}
|
|
28131
|
-
get el() { return getElement(this); }
|
|
28132
|
-
static get watchers() { return {
|
|
28133
|
-
"checked": ["handleCheckedChange"]
|
|
28134
|
-
}; }
|
|
28135
|
-
static get style() { return segmentedControlItemCss; }
|
|
28136
|
-
static get cmpMeta() { return {
|
|
28137
|
-
"$flags$": 9,
|
|
28138
|
-
"$tagName$": "calcite-segmented-control-item",
|
|
28139
|
-
"$members$": {
|
|
28140
|
-
"checked": [1540],
|
|
28141
|
-
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
28142
|
-
"iconStart": [513, "icon-start"],
|
|
28143
|
-
"iconEnd": [513, "icon-end"],
|
|
28144
|
-
"value": [1032]
|
|
28145
|
-
},
|
|
28146
|
-
"$listeners$": undefined,
|
|
28147
|
-
"$lazyBundleId$": "-",
|
|
28148
|
-
"$attrsToReflect$": [["checked", "checked"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["iconEnd", "icon-end"]]
|
|
28149
|
-
}; }
|
|
28150
|
-
}
|
|
28151
|
-
|
|
28152
27893
|
const StarIcon = ({ full, scale, partial }) => (hAsync("calcite-icon", { ...{
|
|
28153
27894
|
class: partial ? undefined : "icon",
|
|
28154
27895
|
icon: full ? "star-f" : "star",
|
|
@@ -28411,7 +28152,7 @@ class Rating {
|
|
|
28411
28152
|
}; }
|
|
28412
28153
|
}
|
|
28413
28154
|
|
|
28414
|
-
const CSS$
|
|
28155
|
+
const CSS$f = {
|
|
28415
28156
|
scrim: "scrim",
|
|
28416
28157
|
content: "content"
|
|
28417
28158
|
};
|
|
@@ -28461,8 +28202,8 @@ class Scrim {
|
|
|
28461
28202
|
const { el, loading, messages } = this;
|
|
28462
28203
|
const hasContent = el.innerHTML.trim().length > 0;
|
|
28463
28204
|
const loaderNode = loading ? hAsync("calcite-loader", { label: messages.loading }) : null;
|
|
28464
|
-
const contentNode = hasContent ? (hAsync("div", { class: CSS$
|
|
28465
|
-
return (hAsync("div", { class: CSS$
|
|
28205
|
+
const contentNode = hasContent ? (hAsync("div", { class: CSS$f.content }, hAsync("slot", null))) : null;
|
|
28206
|
+
return (hAsync("div", { class: CSS$f.scrim }, loaderNode, contentNode));
|
|
28466
28207
|
}
|
|
28467
28208
|
static get assetsDirs() { return ["assets"]; }
|
|
28468
28209
|
get el() { return getElement(this); }
|
|
@@ -28487,6 +28228,268 @@ class Scrim {
|
|
|
28487
28228
|
}; }
|
|
28488
28229
|
}
|
|
28489
28230
|
|
|
28231
|
+
const segmentedControlCss = "@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-segmented-control: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-segmented-control{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-segmented-control{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-segmented-control{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-segmented-control{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-segmented-control{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-segmented-control:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-segmented-control:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-segmented-control-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-segmented-control-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-segmented-control-h{display:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}/*!@:host([appearance=outline])*/[appearance=outline].sc-calcite-segmented-control-h{background-color:transparent}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-segmented-control-h[disabled] .sc-calcite-segmented-control-s>[calcite-hydrated][disabled],[disabled].sc-calcite-segmented-control-h [calcite-hydrated][disabled].sc-calcite-segmented-control{opacity:1}/*!@:host([layout=vertical])*/[layout=vertical].sc-calcite-segmented-control-h{flex-direction:column;align-items:flex-start;align-self:flex-start}/*!@:host([width=full])*/[width=full].sc-calcite-segmented-control-h{inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}/*!@:host([width=full]) ::slotted(calcite-segmented-control-item)*/.sc-calcite-segmented-control-h[width=full] .sc-calcite-segmented-control-s>calcite-segmented-control-item{flex:1 1 auto}/*!@:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item)*/.sc-calcite-segmented-control-h[width=full][layout=vertical] .sc-calcite-segmented-control-s>calcite-segmented-control-item{justify-content:flex-start}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-segmented-control-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}";
|
|
28232
|
+
|
|
28233
|
+
/**
|
|
28234
|
+
* @slot - A slot for adding `calcite-segmented-control-item`s.
|
|
28235
|
+
*/
|
|
28236
|
+
class SegmentedControl {
|
|
28237
|
+
constructor(hostRef) {
|
|
28238
|
+
registerInstance(this, hostRef);
|
|
28239
|
+
this.calciteSegmentedControlChange = createEvent(this, "calciteSegmentedControlChange", 6);
|
|
28240
|
+
//--------------------------------------------------------------------------
|
|
28241
|
+
//
|
|
28242
|
+
// Event Listeners
|
|
28243
|
+
//
|
|
28244
|
+
//--------------------------------------------------------------------------
|
|
28245
|
+
this.handleClick = (event) => {
|
|
28246
|
+
if (event.target.localName === "calcite-segmented-control-item") {
|
|
28247
|
+
this.selectItem(event.target, true);
|
|
28248
|
+
}
|
|
28249
|
+
};
|
|
28250
|
+
this.appearance = "solid";
|
|
28251
|
+
this.disabled = false;
|
|
28252
|
+
this.required = false;
|
|
28253
|
+
this.layout = "horizontal";
|
|
28254
|
+
this.name = undefined;
|
|
28255
|
+
this.scale = "m";
|
|
28256
|
+
this.value = null;
|
|
28257
|
+
this.selectedItem = undefined;
|
|
28258
|
+
this.width = "auto";
|
|
28259
|
+
}
|
|
28260
|
+
valueHandler(value) {
|
|
28261
|
+
const items = this.getItems();
|
|
28262
|
+
items.forEach((item) => (item.checked = item.value === value));
|
|
28263
|
+
}
|
|
28264
|
+
handleSelectedItemChange(newItem, oldItem) {
|
|
28265
|
+
this.value = newItem?.value;
|
|
28266
|
+
if (newItem === oldItem) {
|
|
28267
|
+
return;
|
|
28268
|
+
}
|
|
28269
|
+
const items = this.getItems();
|
|
28270
|
+
const match = Array.from(items)
|
|
28271
|
+
.filter((item) => item === newItem)
|
|
28272
|
+
.pop();
|
|
28273
|
+
if (match) {
|
|
28274
|
+
this.selectItem(match);
|
|
28275
|
+
}
|
|
28276
|
+
else if (items[0]) {
|
|
28277
|
+
items[0].tabIndex = 0;
|
|
28278
|
+
}
|
|
28279
|
+
}
|
|
28280
|
+
//--------------------------------------------------------------------------
|
|
28281
|
+
//
|
|
28282
|
+
// Lifecycle
|
|
28283
|
+
//
|
|
28284
|
+
//--------------------------------------------------------------------------
|
|
28285
|
+
componentWillLoad() {
|
|
28286
|
+
setUpLoadableComponent(this);
|
|
28287
|
+
const items = this.getItems();
|
|
28288
|
+
const lastChecked = Array.from(items)
|
|
28289
|
+
.filter((item) => item.checked)
|
|
28290
|
+
.pop();
|
|
28291
|
+
if (lastChecked) {
|
|
28292
|
+
this.selectItem(lastChecked);
|
|
28293
|
+
}
|
|
28294
|
+
else if (items[0]) {
|
|
28295
|
+
items[0].tabIndex = 0;
|
|
28296
|
+
}
|
|
28297
|
+
}
|
|
28298
|
+
componentDidLoad() {
|
|
28299
|
+
afterConnectDefaultValueSet(this, this.value);
|
|
28300
|
+
setComponentLoaded(this);
|
|
28301
|
+
}
|
|
28302
|
+
connectedCallback() {
|
|
28303
|
+
connectLabel(this);
|
|
28304
|
+
connectForm(this);
|
|
28305
|
+
}
|
|
28306
|
+
disconnectedCallback() {
|
|
28307
|
+
disconnectLabel(this);
|
|
28308
|
+
disconnectForm(this);
|
|
28309
|
+
}
|
|
28310
|
+
componentDidRender() {
|
|
28311
|
+
updateHostInteraction(this);
|
|
28312
|
+
}
|
|
28313
|
+
render() {
|
|
28314
|
+
return (hAsync(Host, { onClick: this.handleClick, role: "radiogroup" }, hAsync("slot", null), hAsync(HiddenFormInputSlot, { component: this })));
|
|
28315
|
+
}
|
|
28316
|
+
handleSelected(event) {
|
|
28317
|
+
event.preventDefault();
|
|
28318
|
+
this.selectItem(event.target);
|
|
28319
|
+
event.stopPropagation();
|
|
28320
|
+
}
|
|
28321
|
+
handleKeyDown(event) {
|
|
28322
|
+
const keys = ["ArrowLeft", "ArrowUp", "ArrowRight", "ArrowDown", " "];
|
|
28323
|
+
const { key } = event;
|
|
28324
|
+
const { el, selectedItem } = this;
|
|
28325
|
+
if (keys.indexOf(key) === -1) {
|
|
28326
|
+
return;
|
|
28327
|
+
}
|
|
28328
|
+
let adjustedKey = key;
|
|
28329
|
+
if (getElementDir(el) === "rtl") {
|
|
28330
|
+
if (key === "ArrowRight") {
|
|
28331
|
+
adjustedKey = "ArrowLeft";
|
|
28332
|
+
}
|
|
28333
|
+
if (key === "ArrowLeft") {
|
|
28334
|
+
adjustedKey = "ArrowRight";
|
|
28335
|
+
}
|
|
28336
|
+
}
|
|
28337
|
+
const items = this.getItems();
|
|
28338
|
+
let selectedIndex = -1;
|
|
28339
|
+
items.forEach((item, index) => {
|
|
28340
|
+
if (item === selectedItem) {
|
|
28341
|
+
selectedIndex = index;
|
|
28342
|
+
}
|
|
28343
|
+
});
|
|
28344
|
+
switch (adjustedKey) {
|
|
28345
|
+
case "ArrowLeft":
|
|
28346
|
+
case "ArrowUp":
|
|
28347
|
+
event.preventDefault();
|
|
28348
|
+
const previous = selectedIndex < 1 ? items.item(items.length - 1) : items.item(selectedIndex - 1);
|
|
28349
|
+
this.selectItem(previous, true);
|
|
28350
|
+
return;
|
|
28351
|
+
case "ArrowRight":
|
|
28352
|
+
case "ArrowDown":
|
|
28353
|
+
event.preventDefault();
|
|
28354
|
+
const next = selectedIndex === -1 ? items.item(1) : items.item(selectedIndex + 1) || items.item(0);
|
|
28355
|
+
this.selectItem(next, true);
|
|
28356
|
+
return;
|
|
28357
|
+
case " ":
|
|
28358
|
+
event.preventDefault();
|
|
28359
|
+
this.selectItem(event.target, true);
|
|
28360
|
+
return;
|
|
28361
|
+
default:
|
|
28362
|
+
return;
|
|
28363
|
+
}
|
|
28364
|
+
}
|
|
28365
|
+
// --------------------------------------------------------------------------
|
|
28366
|
+
//
|
|
28367
|
+
// Methods
|
|
28368
|
+
//
|
|
28369
|
+
// --------------------------------------------------------------------------
|
|
28370
|
+
/** Sets focus on the component. */
|
|
28371
|
+
async setFocus() {
|
|
28372
|
+
await componentLoaded(this);
|
|
28373
|
+
(this.selectedItem || this.getItems()[0])?.focus();
|
|
28374
|
+
}
|
|
28375
|
+
//--------------------------------------------------------------------------
|
|
28376
|
+
//
|
|
28377
|
+
// Private Methods
|
|
28378
|
+
//
|
|
28379
|
+
//--------------------------------------------------------------------------
|
|
28380
|
+
onLabelClick() {
|
|
28381
|
+
this.setFocus();
|
|
28382
|
+
}
|
|
28383
|
+
getItems() {
|
|
28384
|
+
return this.el.querySelectorAll("calcite-segmented-control-item");
|
|
28385
|
+
}
|
|
28386
|
+
selectItem(selected, emit = false) {
|
|
28387
|
+
if (selected === this.selectedItem) {
|
|
28388
|
+
return;
|
|
28389
|
+
}
|
|
28390
|
+
const items = this.getItems();
|
|
28391
|
+
let match = null;
|
|
28392
|
+
items.forEach((item) => {
|
|
28393
|
+
const matches = item.value === selected.value;
|
|
28394
|
+
if ((matches && !item.checked) || (!matches && item.checked)) {
|
|
28395
|
+
item.checked = matches;
|
|
28396
|
+
}
|
|
28397
|
+
item.tabIndex = matches ? 0 : -1;
|
|
28398
|
+
if (matches) {
|
|
28399
|
+
match = item;
|
|
28400
|
+
if (emit) {
|
|
28401
|
+
this.calciteSegmentedControlChange.emit();
|
|
28402
|
+
}
|
|
28403
|
+
}
|
|
28404
|
+
});
|
|
28405
|
+
this.selectedItem = match;
|
|
28406
|
+
}
|
|
28407
|
+
get el() { return getElement(this); }
|
|
28408
|
+
static get watchers() { return {
|
|
28409
|
+
"value": ["valueHandler"],
|
|
28410
|
+
"selectedItem": ["handleSelectedItemChange"]
|
|
28411
|
+
}; }
|
|
28412
|
+
static get style() { return segmentedControlCss; }
|
|
28413
|
+
static get cmpMeta() { return {
|
|
28414
|
+
"$flags$": 9,
|
|
28415
|
+
"$tagName$": "calcite-segmented-control",
|
|
28416
|
+
"$members$": {
|
|
28417
|
+
"appearance": [513],
|
|
28418
|
+
"disabled": [516],
|
|
28419
|
+
"required": [516],
|
|
28420
|
+
"layout": [513],
|
|
28421
|
+
"name": [513],
|
|
28422
|
+
"scale": [513],
|
|
28423
|
+
"value": [1025],
|
|
28424
|
+
"selectedItem": [1040],
|
|
28425
|
+
"width": [513],
|
|
28426
|
+
"setFocus": [64]
|
|
28427
|
+
},
|
|
28428
|
+
"$listeners$": [[0, "calciteInternalSegmentedControlItemChange", "handleSelected"], [0, "keydown", "handleKeyDown"]],
|
|
28429
|
+
"$lazyBundleId$": "-",
|
|
28430
|
+
"$attrsToReflect$": [["appearance", "appearance"], ["disabled", "disabled"], ["required", "required"], ["layout", "layout"], ["name", "name"], ["scale", "scale"], ["width", "width"]]
|
|
28431
|
+
}; }
|
|
28432
|
+
}
|
|
28433
|
+
|
|
28434
|
+
const SLOTS$8 = {
|
|
28435
|
+
input: "input"
|
|
28436
|
+
};
|
|
28437
|
+
const CSS$e = {
|
|
28438
|
+
segmentedControlItemIcon: "segmented-control-item-icon"
|
|
28439
|
+
};
|
|
28440
|
+
|
|
28441
|
+
const segmentedControlItemCss = "@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-segmented-control-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-segmented-control-item{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-segmented-control-item{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-segmented-control-item{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-segmented-control-item{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-segmented-control-item{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-segmented-control-item:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-segmented-control-item:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-segmented-control-item-h{display:none}/*!@:host*/.sc-calcite-segmented-control-item-h{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}/*!@:host label*/.sc-calcite-segmented-control-item-h label.sc-calcite-segmented-control-item{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}/*!@.label--horizontal*/.label--horizontal.sc-calcite-segmented-control-item{justify-content:center}/*!@:host*/.sc-calcite-segmented-control-item-h{outline-color:transparent}/*!@:host(:focus)*/.sc-calcite-segmented-control-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-1px}/*!@.label--scale-s*/.label--scale-s.sc-calcite-segmented-control-item{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}/*!@.label--scale-m*/.label--scale-m.sc-calcite-segmented-control-item{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}/*!@.label--scale-l*/.label--scale-l.sc-calcite-segmented-control-item{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host(:hover) label*/.sc-calcite-segmented-control-item-h:hover label.sc-calcite-segmented-control-item{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}/*!@:host(:active) label*/.sc-calcite-segmented-control-item-h:active label.sc-calcite-segmented-control-item{background-color:var(--calcite-ui-foreground-3)}/*!@:host([checked]) label*/[checked].sc-calcite-segmented-control-item-h label.sc-calcite-segmented-control-item{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}/*!@:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill*/[checked].sc-calcite-segmented-control-item-h .label--outline.sc-calcite-segmented-control-item,[checked].sc-calcite-segmented-control-item-h .label--outline-fill.sc-calcite-segmented-control-item{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}/*!@:host([checked]) .label--outline*/[checked].sc-calcite-segmented-control-item-h .label--outline.sc-calcite-segmented-control-item{background-color:transparent}/*!@::slotted(input)*/.sc-calcite-segmented-control-item-s>input{display:none}@media (forced-colors: active){/*!@:host([checked]) label*/[checked].sc-calcite-segmented-control-item-h label.sc-calcite-segmented-control-item{background-color:highlight}/*!@:host([checked]) .label--outline,\n:host([checked]) .label--outline-fill*/[checked].sc-calcite-segmented-control-item-h .label--outline.sc-calcite-segmented-control-item,[checked].sc-calcite-segmented-control-item-h .label--outline-fill.sc-calcite-segmented-control-item{outline:2px solid transparent;outline-offset:2px}/*!@:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon*/[checked].sc-calcite-segmented-control-item-h label.sc-calcite-segmented-control-item:not([class~=label--outline]) .segmented-control-item-icon.sc-calcite-segmented-control-item{color:highlightText}}/*!@.segmented-control-item-icon*/.segmented-control-item-icon.sc-calcite-segmented-control-item{position:relative;margin:0px;display:inline-flex;line-height:inherit}/*!@:host([icon-start]) .label--scale-s .segmented-control-item-icon*/[icon-start].sc-calcite-segmented-control-item-h .label--scale-s.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-end:0.5rem}/*!@:host([icon-end]) .label--scale-s .segmented-control-item-icon*/[icon-end].sc-calcite-segmented-control-item-h .label--scale-s.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-start:0.5rem}/*!@:host([icon-start]) .label--scale-m .segmented-control-item-icon*/[icon-start].sc-calcite-segmented-control-item-h .label--scale-m.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-end:0.75rem}/*!@:host([icon-end]) .label--scale-m .segmented-control-item-icon*/[icon-end].sc-calcite-segmented-control-item-h .label--scale-m.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-start:0.75rem}/*!@:host([icon-start]) .label--scale-l .segmented-control-item-icon*/[icon-start].sc-calcite-segmented-control-item-h .label--scale-l.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-end:1rem}/*!@:host([icon-end]) .label--scale-l .segmented-control-item-icon*/[icon-end].sc-calcite-segmented-control-item-h .label--scale-l.sc-calcite-segmented-control-item .segmented-control-item-icon.sc-calcite-segmented-control-item{margin-inline-start:1rem}";
|
|
28442
|
+
|
|
28443
|
+
class SegmentedControlItem {
|
|
28444
|
+
constructor(hostRef) {
|
|
28445
|
+
registerInstance(this, hostRef);
|
|
28446
|
+
this.calciteInternalSegmentedControlItemChange = createEvent(this, "calciteInternalSegmentedControlItemChange", 6);
|
|
28447
|
+
this.checked = false;
|
|
28448
|
+
this.iconFlipRtl = false;
|
|
28449
|
+
this.iconStart = undefined;
|
|
28450
|
+
this.iconEnd = undefined;
|
|
28451
|
+
this.value = undefined;
|
|
28452
|
+
}
|
|
28453
|
+
handleCheckedChange() {
|
|
28454
|
+
this.calciteInternalSegmentedControlItemChange.emit();
|
|
28455
|
+
}
|
|
28456
|
+
render() {
|
|
28457
|
+
const { checked, value } = this;
|
|
28458
|
+
const scale = getElementProp(this.el, "scale", "m");
|
|
28459
|
+
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
28460
|
+
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
28461
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$e.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
28462
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$e.segmentedControlItemIcon, flipRtl: this.iconFlipRtl, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
28463
|
+
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), "aria-label": value, role: "radio" }, hAsync("label", { class: {
|
|
28464
|
+
"label--scale-s": scale === "s",
|
|
28465
|
+
"label--scale-m": scale === "m",
|
|
28466
|
+
"label--scale-l": scale === "l",
|
|
28467
|
+
"label--horizontal": layout === "horizontal",
|
|
28468
|
+
"label--outline": appearance === "outline",
|
|
28469
|
+
"label--outline-fill": appearance === "outline-fill"
|
|
28470
|
+
} }, this.iconStart ? iconStartEl : null, hAsync("slot", null, value), hAsync("slot", { name: SLOTS$8.input }), this.iconEnd ? iconEndEl : null)));
|
|
28471
|
+
}
|
|
28472
|
+
get el() { return getElement(this); }
|
|
28473
|
+
static get watchers() { return {
|
|
28474
|
+
"checked": ["handleCheckedChange"]
|
|
28475
|
+
}; }
|
|
28476
|
+
static get style() { return segmentedControlItemCss; }
|
|
28477
|
+
static get cmpMeta() { return {
|
|
28478
|
+
"$flags$": 9,
|
|
28479
|
+
"$tagName$": "calcite-segmented-control-item",
|
|
28480
|
+
"$members$": {
|
|
28481
|
+
"checked": [1540],
|
|
28482
|
+
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
28483
|
+
"iconStart": [513, "icon-start"],
|
|
28484
|
+
"iconEnd": [513, "icon-end"],
|
|
28485
|
+
"value": [1032]
|
|
28486
|
+
},
|
|
28487
|
+
"$listeners$": undefined,
|
|
28488
|
+
"$lazyBundleId$": "-",
|
|
28489
|
+
"$attrsToReflect$": [["checked", "checked"], ["iconFlipRtl", "icon-flip-rtl"], ["iconStart", "icon-start"], ["iconEnd", "icon-end"]]
|
|
28490
|
+
}; }
|
|
28491
|
+
}
|
|
28492
|
+
|
|
28490
28493
|
const CSS$d = {
|
|
28491
28494
|
icon: "icon",
|
|
28492
28495
|
iconContainer: "icon-container",
|
|
@@ -36775,6 +36778,7 @@ const valueListCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-d
|
|
|
36775
36778
|
* @slot - A slot for adding `calcite-value-list-item` elements. List items are displayed as a vertical list.
|
|
36776
36779
|
* @slot menu-actions - A slot for adding a button and menu combination for performing actions, such as sorting.
|
|
36777
36780
|
*/
|
|
36781
|
+
/** @deprecated Use the `list` component instead. */
|
|
36778
36782
|
class ValueList {
|
|
36779
36783
|
constructor(hostRef) {
|
|
36780
36784
|
registerInstance(this, hostRef);
|
|
@@ -37044,6 +37048,7 @@ const valueListItemCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes
|
|
|
37044
37048
|
* @slot actions-end - A slot for adding `calcite-action`s or content to the end side of the component.
|
|
37045
37049
|
* @slot actions-start - A slot for adding `calcite-action`s or content to the start side of the component.
|
|
37046
37050
|
*/
|
|
37051
|
+
/** @deprecated Use the `list` component instead. */
|
|
37047
37052
|
class ValueListItem {
|
|
37048
37053
|
constructor(hostRef) {
|
|
37049
37054
|
registerInstance(this, hostRef);
|
|
@@ -37240,10 +37245,10 @@ registerComponents([
|
|
|
37240
37245
|
Progress,
|
|
37241
37246
|
RadioButton,
|
|
37242
37247
|
RadioButtonGroup,
|
|
37243
|
-
RadioGroup,
|
|
37244
|
-
RadioGroupItem,
|
|
37245
37248
|
Rating,
|
|
37246
37249
|
Scrim,
|
|
37250
|
+
SegmentedControl,
|
|
37251
|
+
SegmentedControlItem,
|
|
37247
37252
|
Select,
|
|
37248
37253
|
Shell,
|
|
37249
37254
|
ShellCenterRow,
|