@esri/calcite-components 1.0.0-next.688 → 1.0.0-next.689
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-8baf2174.js → p-054d38c2.js} +1 -1
- package/dist/calcite/{p-ba1b607b.entry.js → p-0670fece.entry.js} +2 -2
- package/dist/calcite/{p-53957a1e.js → p-0d1fee25.js} +1 -1
- package/dist/calcite/{p-05184915.entry.js → p-120c841f.entry.js} +2 -2
- package/dist/calcite/{p-bddc071d.entry.js → p-149ab82e.entry.js} +2 -2
- package/dist/calcite/p-1748e126.entry.js +6 -0
- package/dist/calcite/{p-fa950085.js → p-1889a50a.js} +1 -1
- package/dist/calcite/{p-30ef40e1.js → p-1bd32072.js} +2 -2
- package/dist/calcite/{p-ff3474f4.js → p-1cc9ea12.js} +1 -1
- package/dist/calcite/{p-7178dcd3.entry.js → p-24a1e4b0.entry.js} +2 -2
- package/dist/calcite/{p-ba4c3232.entry.js → p-262720cf.entry.js} +2 -2
- package/dist/calcite/{p-6e54b6f1.entry.js → p-2b379de2.entry.js} +2 -2
- package/dist/calcite/{p-1d439742.js → p-2b3acbc8.js} +1 -1
- package/dist/calcite/{p-b3f6da6b.entry.js → p-2beb10ba.entry.js} +2 -2
- package/dist/calcite/{p-e7becc39.js → p-2fbe2c72.js} +2 -2
- package/dist/calcite/{p-0e46f6c4.entry.js → p-300b0e74.entry.js} +2 -2
- package/dist/calcite/{p-ee7d445c.entry.js → p-3230f94d.entry.js} +2 -2
- package/dist/calcite/{p-29af00d6.entry.js → p-33710f7c.entry.js} +2 -2
- package/dist/calcite/{p-8c9948a1.entry.js → p-33daacd5.entry.js} +2 -2
- package/dist/calcite/{p-98d52cdb.entry.js → p-376ce480.entry.js} +2 -2
- package/dist/calcite/{p-a7c33fba.js → p-395e8a96.js} +2 -2
- package/dist/calcite/{p-0f3a7fea.entry.js → p-3d90cf7e.entry.js} +2 -2
- package/dist/calcite/{p-41a88ded.js → p-41cd4324.js} +1 -1
- package/dist/calcite/{p-e110ef0c.js → p-42d77ba5.js} +1 -1
- package/dist/calcite/{p-d23f9a48.js → p-456f9366.js} +2 -2
- package/dist/calcite/{p-e3a4daa5.js → p-486c4f42.js} +1 -1
- package/dist/calcite/{p-14a9ff2d.js → p-4da405bc.js} +1 -1
- package/dist/calcite/{p-4459ad18.entry.js → p-4e343b1b.entry.js} +2 -2
- package/dist/calcite/{p-7e7db5e0.entry.js → p-4e42d419.entry.js} +2 -2
- package/dist/calcite/{p-b717fef4.entry.js → p-4fc3e48c.entry.js} +2 -2
- package/dist/calcite/{p-7f8670b5.entry.js → p-55e053ad.entry.js} +2 -2
- package/dist/calcite/{p-03692eb4.entry.js → p-56e5d30a.entry.js} +2 -2
- package/dist/calcite/{p-6b28f89f.entry.js → p-575d134d.entry.js} +2 -2
- package/dist/calcite/{p-87812497.entry.js → p-578a8847.entry.js} +2 -2
- package/dist/calcite/{p-03b4a90c.entry.js → p-58375b6e.entry.js} +2 -2
- package/dist/calcite/{p-f54d786c.js → p-59a1b266.js} +2 -2
- package/dist/calcite/{p-3dd90e41.entry.js → p-59c0c139.entry.js} +2 -2
- package/dist/calcite/{p-90e490a8.entry.js → p-5a5ff62d.entry.js} +2 -2
- package/dist/calcite/{p-088a36fc.js → p-5a9ea46a.js} +1 -1
- package/dist/calcite/{p-9ddf235c.entry.js → p-5d02a7ae.entry.js} +2 -2
- package/dist/calcite/{p-6af4bd32.entry.js → p-61853608.entry.js} +2 -2
- package/dist/calcite/{p-c43e5fc1.entry.js → p-65fdd691.entry.js} +2 -2
- package/dist/calcite/{p-b8c6eef7.entry.js → p-6b4880f7.entry.js} +2 -2
- package/dist/calcite/{p-83f60e26.entry.js → p-6eda10b8.entry.js} +2 -2
- package/dist/calcite/{p-ce88d255.js → p-72115b6b.js} +1 -1
- package/dist/calcite/{p-50c38192.js → p-7262aafe.js} +1 -1
- package/dist/calcite/{p-6a3a7ac1.js → p-75387433.js} +2 -2
- package/dist/calcite/{p-b23ba5ee.entry.js → p-80286e62.entry.js} +2 -2
- package/dist/calcite/{p-7d764aa5.entry.js → p-81fcf4eb.entry.js} +2 -2
- package/dist/calcite/{p-170c416b.entry.js → p-859384c8.entry.js} +2 -2
- package/dist/calcite/{p-875c01df.js → p-85abf1cb.js} +2 -2
- package/dist/calcite/{p-ba346b28.js → p-87539809.js} +2 -2
- package/dist/calcite/{p-1beb4b96.js → p-87612240.js} +2 -2
- package/dist/calcite/{p-33707365.entry.js → p-891caed0.entry.js} +2 -2
- package/dist/calcite/{p-3f5784de.entry.js → p-8a1d5dee.entry.js} +2 -2
- package/dist/calcite/{p-36296a46.js → p-96d8a241.js} +1 -1
- package/dist/calcite/{p-8c22b4ba.entry.js → p-99c67887.entry.js} +2 -2
- package/dist/calcite/{p-25207c45.entry.js → p-9afce1f6.entry.js} +2 -2
- package/dist/calcite/{p-1bf6de03.js → p-9cf190dc.js} +2 -2
- package/dist/calcite/{p-7c004d7f.entry.js → p-a1ebe617.entry.js} +2 -2
- package/dist/calcite/{p-47708aa1.js → p-a385a70f.js} +2 -2
- package/dist/calcite/{p-d2539202.js → p-a66fde8e.js} +2 -2
- package/dist/calcite/{p-79f57550.js → p-ab7440a3.js} +2 -2
- package/dist/calcite/{p-0a44e1a0.entry.js → p-aba5f28e.entry.js} +2 -2
- package/dist/calcite/{p-57b1553f.entry.js → p-af322e22.entry.js} +2 -2
- package/dist/calcite/{p-614ab3a0.js → p-b0e47557.js} +1 -1
- package/dist/calcite/{p-a3202e3b.entry.js → p-b1239f27.entry.js} +2 -2
- package/dist/calcite/{p-3b297d55.entry.js → p-b2d38058.entry.js} +2 -2
- package/dist/calcite/{p-9c35ac3e.js → p-b368034c.js} +1 -1
- package/dist/calcite/{p-c5dae9bd.entry.js → p-b7bffea1.entry.js} +2 -2
- package/dist/calcite/p-ba060527.js +6 -0
- package/dist/calcite/{p-ce3753b3.entry.js → p-bd0e2ed1.entry.js} +2 -2
- package/dist/calcite/{p-fd49ba77.entry.js → p-bd6e6a6b.entry.js} +2 -2
- package/dist/calcite/{p-5f5ac1fb.entry.js → p-bdfcf4b8.entry.js} +2 -2
- package/dist/calcite/{p-425fdd87.entry.js → p-bf6880e2.entry.js} +2 -2
- package/dist/calcite/p-bf6884dd.js +6 -0
- package/dist/calcite/{p-082deb6e.entry.js → p-c4f6661a.entry.js} +2 -2
- package/dist/calcite/{p-bbe40e60.entry.js → p-c56a5e53.entry.js} +2 -2
- package/dist/calcite/{p-be647bb0.entry.js → p-c66cf075.entry.js} +2 -2
- package/dist/calcite/{p-96eea750.entry.js → p-ca5bbcf7.entry.js} +2 -2
- package/dist/calcite/{p-520e91fe.entry.js → p-cc13e1d7.entry.js} +2 -2
- package/dist/calcite/{p-ed75cb7c.entry.js → p-cd66ace2.entry.js} +2 -2
- package/dist/calcite/{p-fcf778e7.entry.js → p-d0f563e0.entry.js} +2 -2
- package/dist/calcite/{p-4e55e6b9.entry.js → p-d6f96d11.entry.js} +2 -2
- package/dist/calcite/{p-3c2cc334.js → p-d7120535.js} +2 -2
- package/dist/calcite/{p-39065362.entry.js → p-d76e7921.entry.js} +2 -2
- package/dist/calcite/{p-6bf81193.js → p-e0525143.js} +1 -1
- package/dist/calcite/{p-868cc943.entry.js → p-ec6f8310.entry.js} +2 -2
- package/dist/calcite/{p-7952623e.entry.js → p-ed3acefb.entry.js} +2 -2
- package/dist/calcite/{p-c58baaf1.entry.js → p-f4d5ebcc.entry.js} +2 -2
- package/dist/calcite/{p-885d36fc.entry.js → p-f705d519.entry.js} +2 -2
- package/dist/calcite/{p-93c297c2.entry.js → p-faede651.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-2f1975a8.js → ExpandToggle-f4786b5e.js} +5 -5
- package/dist/cjs/{Heading-ab835192.js → Heading-c29b23df.js} +2 -2
- package/dist/cjs/{app-globals-1e133316.js → app-globals-125764d1.js} +2 -2
- package/dist/cjs/{array-6a64003f.js → array-5f92afe4.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-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +168 -67
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- 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 +8 -8
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-a53d134c.js → conditionalSlot-065a02b4.js} +3 -3
- package/dist/cjs/{debounce-693cccee.js → debounce-1ed64f70.js} +1 -1
- package/dist/cjs/{dom-2db5c855.js → dom-6fbe7ece.js} +3 -3
- package/dist/cjs/{filter-28153bb2.js → filter-f0fb1c4b.js} +2 -2
- package/dist/cjs/{floating-ui-e70ae22d.js → floating-ui-4f9b605c.js} +4 -4
- package/dist/cjs/{focusTrapComponent-c906f778.js → focusTrapComponent-21e7afab.js} +2 -2
- package/dist/cjs/{form-132d25cc.js → form-92343eec.js} +3 -3
- package/dist/cjs/{guid-b1c57a9d.js → guid-504b7f27.js} +1 -1
- package/dist/cjs/{index-ca650359.js → index-d9b80b7d.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-63d6086f.js → interactive-ddb549b3.js} +1 -1
- package/dist/cjs/{key-daca21ec.js → key-b4976030.js} +1 -1
- package/dist/cjs/{label-53aedc4b.js → label-2dd814a6.js} +2 -2
- package/dist/cjs/{loadable-f17eb8de.js → loadable-a37932e6.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-635fc90b.js → locale-07381711.js} +4 -4
- package/dist/cjs/{math-06685661.js → math-1609a588.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-9af29c60.js → nonChromiumPlatformUtils-93dd1ea8.js} +6 -6
- package/dist/cjs/{observers-1d66d5a8.js → observers-fbdf9162.js} +1 -1
- package/dist/cjs/{openCloseComponent-9efefc2b.js → openCloseComponent-fa52ef36.js} +2 -2
- package/dist/cjs/{resources-36d2967b.js → resources-20c56745.js} +1 -1
- package/dist/cjs/{resources-f90ea3f5.js → resources-398c5b5c.js} +1 -1
- package/dist/cjs/{resources-b73d9c4a.js → resources-61b8733c.js} +1 -1
- package/dist/cjs/{resources-82afd1a5.js → resources-91f13649.js} +5 -5
- package/dist/cjs/{resources-8087d6d8.js → resources-b4d34bc5.js} +1 -1
- package/dist/cjs/{resources-e5ef5941.js → resources-d123496e.js} +1 -1
- package/dist/cjs/{sortable.esm-2928f84b.js → sortable.esm-5e092384.js} +1 -1
- package/dist/cjs/{t9n-04ab4138.js → t9n-29be16fd.js} +3 -3
- package/dist/cjs/{utils-23374f68.js → utils-6659b4fc.js} +3 -3
- package/dist/cjs/{utils-f6c8c735.js → utils-d45a7093.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +8 -5
- 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 +9 -6
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +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 +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/radio-group/radio-group.js +8 -5
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/function/star.js +11 -0
- package/dist/collection/components/{radio-group → rating}/interfaces.js +0 -0
- package/dist/collection/components/rating/rating.css +13 -14
- package/dist/collection/components/rating/rating.js +259 -169
- 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/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 +2 -2
- 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 +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/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-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +166 -66
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +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-15065447.js → ExpandToggle-7bd95431.js} +5 -5
- package/dist/esm/{Heading-9b5fbace.js → Heading-494a55dd.js} +2 -2
- package/dist/esm/{app-globals-04237413.js → app-globals-acca29b6.js} +2 -2
- package/dist/esm/{array-5620c9b1.js → array-e666de36.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-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +168 -67
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- 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 +8 -8
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-6b3ef2f2.js → conditionalSlot-b8bdd052.js} +3 -3
- package/dist/esm/{debounce-b264a4e1.js → debounce-98073f50.js} +1 -1
- package/dist/esm/{dom-de5aecd4.js → dom-d94df9a5.js} +3 -3
- package/dist/esm/{filter-9ed111dd.js → filter-ca34d28b.js} +2 -2
- package/dist/esm/{floating-ui-f26fc166.js → floating-ui-97c4fec9.js} +4 -4
- package/dist/esm/{focusTrapComponent-9000a762.js → focusTrapComponent-7fd24756.js} +2 -2
- package/dist/esm/{form-b78dc36a.js → form-ac890af0.js} +3 -3
- package/dist/esm/{guid-8f7fe7c8.js → guid-230be676.js} +1 -1
- package/dist/esm/{index-060a705f.js → index-5f7cf6ee.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-ae092e9c.js → interactive-c75d1eb9.js} +1 -1
- package/dist/esm/{key-5ec4c2bc.js → key-dbd13dac.js} +1 -1
- package/dist/esm/{label-80f7ccf8.js → label-197f2352.js} +2 -2
- package/dist/esm/{loadable-750111ac.js → loadable-7da1063b.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-e208823a.js → locale-e606392b.js} +4 -4
- package/dist/esm/{math-777c49fc.js → math-95335d1b.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-fd8e55ff.js → nonChromiumPlatformUtils-a252d3f4.js} +6 -6
- package/dist/esm/{observers-5c7edd4c.js → observers-3a4fc545.js} +1 -1
- package/dist/esm/{openCloseComponent-094d088c.js → openCloseComponent-50a476fd.js} +2 -2
- package/dist/esm/{resources-8414d284.js → resources-6f8b45fa.js} +1 -1
- package/dist/esm/{resources-367d3b9d.js → resources-752aeb79.js} +1 -1
- package/dist/esm/{resources-3eaa39ad.js → resources-90fbff17.js} +1 -1
- package/dist/esm/{resources-75b6a96e.js → resources-b03b6aa5.js} +1 -1
- package/dist/esm/{resources-50606976.js → resources-db712a6e.js} +1 -1
- package/dist/esm/{resources-ac2d82f7.js → resources-faebb08d.js} +5 -5
- package/dist/esm/{sortable.esm-501b5d17.js → sortable.esm-031a6a08.js} +1 -1
- package/dist/esm/{t9n-f24b458f.js → t9n-db099d35.js} +3 -3
- package/dist/esm/{utils-499a2ba7.js → utils-798690fd.js} +1 -1
- package/dist/esm/{utils-ed7335dc.js → utils-ad3257f2.js} +3 -3
- package/dist/extras/docs-json.json +14 -28
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +3 -3
- package/dist/types/components/accordion/interfaces.d.ts +0 -1
- package/dist/types/components/color-picker/color-picker.d.ts +3 -5
- package/dist/types/components/color-picker/interfaces.d.ts +0 -1
- package/dist/types/components/interfaces.d.ts +1 -1
- package/dist/types/components/radio-group/radio-group.d.ts +2 -3
- package/dist/types/components/rating/function/star.d.ts +3 -0
- package/dist/types/components/rating/interfaces.d.ts +18 -0
- package/dist/types/components/rating/rating.d.ts +42 -31
- package/dist/types/components/switch/switch.d.ts +0 -2
- package/dist/types/components.d.ts +17 -12
- package/hydrate/index.js +166 -65
- package/package.json +1 -1
- package/dist/calcite/p-3564b9e0.js +0 -6
- package/dist/calcite/p-9d604886.entry.js +0 -6
- package/dist/calcite/p-c99a1393.js +0 -6
- package/dist/types/components/radio-group/interfaces.d.ts +0 -1
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { I as Input, d as defineCustomElement$1 } from './input.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { L as Label, d as defineCustomElement$1 } from './label.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { L as Link, d as defineCustomElement$1 } from './link.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getListItemChildren, u as updateListItemChildren, a as getDepth, C as CSS, I as ICONS, S as SLOTS } from './resources2.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { L as Loader, d as defineCustomElement$1 } from './loader.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getSlotted, h as focusElement, j as ensureId } from './dom.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { K as KindIcons } from './resources.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { n as numberStringFormatter, c as connectLocalized, d as disconnectLocalized } from './locale.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { P as Panel, d as defineCustomElement$1 } from './panel.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { C as CSS, S as SLOTS } from './resources4.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { P as PickListItem, d as defineCustomElement$1 } from './pick-list-item.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { I as ICON_TYPES } from './resources3.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { P as Popover, d as defineCustomElement$1 } from './popover.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { P as Progress, d as defineCustomElement$1 } from './progress.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getElementProp, t as toAriaBoolean } from './dom.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir } from './dom.js';
|
|
@@ -1,21 +1,26 @@
|
|
|
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.689
|
|
5
5
|
*/
|
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent,
|
|
6
|
+
import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
8
|
import { c as connectLabel, d as disconnectLabel } from './label2.js';
|
|
9
9
|
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
11
|
-
import { i as isActivationKey } from './key.js';
|
|
12
11
|
import { c as connectLocalized, d as disconnectLocalized } from './locale.js';
|
|
13
|
-
import { c as connectMessages, s as setUpMessages, d as disconnectMessages
|
|
12
|
+
import { u as updateMessages, c as connectMessages, s as setUpMessages, d as disconnectMessages } from './t9n.js';
|
|
14
13
|
import { a as setUpLoadableComponent, s as setComponentLoaded, c as componentLoaded } from './loadable.js';
|
|
15
14
|
import { d as defineCustomElement$3 } from './chip.js';
|
|
16
15
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
17
16
|
|
|
18
|
-
const
|
|
17
|
+
const StarIcon = ({ full, scale, partial }) => (h("calcite-icon", { ...{
|
|
18
|
+
class: partial ? undefined : "icon",
|
|
19
|
+
icon: full ? "star-f" : "star",
|
|
20
|
+
scale
|
|
21
|
+
} }));
|
|
22
|
+
|
|
23
|
+
const ratingCss = "@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(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}";
|
|
19
24
|
|
|
20
25
|
const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
21
26
|
constructor() {
|
|
@@ -23,33 +28,104 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
23
28
|
this.__registerHost();
|
|
24
29
|
this.__attachShadow();
|
|
25
30
|
this.calciteRatingChange = createEvent(this, "calciteRatingChange", 6);
|
|
26
|
-
this.
|
|
27
|
-
|
|
28
|
-
event.preventDefault();
|
|
29
|
-
this.updateValue(0);
|
|
30
|
-
}
|
|
31
|
+
this.handleRatingPointerOver = () => {
|
|
32
|
+
this.isKeyboardInteraction = false;
|
|
31
33
|
};
|
|
32
|
-
this.
|
|
34
|
+
this.handleRatingPointerOut = () => {
|
|
35
|
+
this.isKeyboardInteraction = true;
|
|
36
|
+
this.hoverValue = null;
|
|
37
|
+
this.focusValue = null;
|
|
38
|
+
this.hasFocus = false;
|
|
39
|
+
};
|
|
40
|
+
this.handleRatingFocusIn = () => {
|
|
41
|
+
const selectedInput = this.value > 0 ? this.value - 1 : 0;
|
|
42
|
+
const focusInput = this.inputRefs[selectedInput];
|
|
43
|
+
const focusValue = Number(focusInput.value);
|
|
44
|
+
focusInput.select();
|
|
45
|
+
this.focusValue = focusValue;
|
|
46
|
+
this.hoverValue = focusValue;
|
|
33
47
|
this.hasFocus = true;
|
|
34
|
-
|
|
35
|
-
|
|
48
|
+
};
|
|
49
|
+
this.handleRatingFocusLeave = () => {
|
|
50
|
+
this.focusValue = null;
|
|
51
|
+
this.hoverValue = null;
|
|
52
|
+
this.hasFocus = false;
|
|
53
|
+
};
|
|
54
|
+
this.handleHostKeyDown = () => {
|
|
55
|
+
this.isKeyboardInteraction = true;
|
|
56
|
+
};
|
|
57
|
+
this.handleInputKeyDown = (event) => {
|
|
58
|
+
const target = event.currentTarget;
|
|
59
|
+
const inputVal = Number(target.value);
|
|
60
|
+
const key = event.key;
|
|
61
|
+
const numberKey = key == " " ? undefined : Number(key);
|
|
62
|
+
this.emit = true;
|
|
63
|
+
if (isNaN(numberKey)) {
|
|
64
|
+
switch (key) {
|
|
65
|
+
case "Enter":
|
|
66
|
+
case " ":
|
|
67
|
+
this.value = !this.required && this.value === inputVal ? 0 : inputVal;
|
|
68
|
+
break;
|
|
69
|
+
case "ArrowLeft":
|
|
70
|
+
this.value = inputVal - 1;
|
|
71
|
+
break;
|
|
72
|
+
case "ArrowRight":
|
|
73
|
+
this.value = inputVal + 1;
|
|
74
|
+
break;
|
|
75
|
+
case "Tab":
|
|
76
|
+
if (this.hasFocus) {
|
|
77
|
+
this.hasFocus = false;
|
|
78
|
+
this.focusValue = null;
|
|
79
|
+
this.hoverValue = null;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
36
82
|
}
|
|
37
83
|
else {
|
|
38
|
-
this.
|
|
84
|
+
if (!this.required && numberKey >= 0 && numberKey <= this.max) {
|
|
85
|
+
this.value = numberKey;
|
|
86
|
+
}
|
|
87
|
+
else if (this.required && numberKey > 0 && numberKey <= this.max) {
|
|
88
|
+
this.value = numberKey;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
this.handleInputChange = (event) => {
|
|
93
|
+
if (this.isKeyboardInteraction === true) {
|
|
94
|
+
const inputVal = Number(event.target["value"]);
|
|
95
|
+
this.focusValue = inputVal;
|
|
96
|
+
this.hoverValue = inputVal;
|
|
97
|
+
this.value = inputVal;
|
|
39
98
|
}
|
|
40
99
|
};
|
|
100
|
+
this.handleLabelPointerOver = (event) => {
|
|
101
|
+
const target = event.currentTarget;
|
|
102
|
+
const newPointerValue = Number(target.firstChild["value"] || 0);
|
|
103
|
+
this.hoverValue = newPointerValue;
|
|
104
|
+
this.focusValue = null;
|
|
105
|
+
};
|
|
106
|
+
this.handleLabelPointerDown = (event) => {
|
|
107
|
+
const target = event.currentTarget;
|
|
108
|
+
const inputVal = Number(target.firstChild["value"] || 0);
|
|
109
|
+
this.focusValue = null;
|
|
110
|
+
this.hoverValue = null;
|
|
111
|
+
this.emit = true;
|
|
112
|
+
this.value = !this.required && this.value === inputVal ? 0 : inputVal;
|
|
113
|
+
};
|
|
114
|
+
this.emit = false;
|
|
41
115
|
this.guid = `calcite-ratings-${guid()}`;
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
this.readOnly = false;
|
|
45
|
-
this.disabled = false;
|
|
46
|
-
this.showChip = false;
|
|
47
|
-
this.count = undefined;
|
|
116
|
+
this.isKeyboardInteraction = true;
|
|
117
|
+
this.max = 5;
|
|
48
118
|
this.average = undefined;
|
|
49
|
-
this.
|
|
119
|
+
this.count = undefined;
|
|
120
|
+
this.disabled = false;
|
|
50
121
|
this.messages = undefined;
|
|
51
122
|
this.messageOverrides = undefined;
|
|
123
|
+
this.name = undefined;
|
|
124
|
+
this.readOnly = false;
|
|
52
125
|
this.required = false;
|
|
126
|
+
this.scale = "m";
|
|
127
|
+
this.showChip = false;
|
|
128
|
+
this.value = 0;
|
|
53
129
|
this.effectiveLocale = "";
|
|
54
130
|
this.defaultMessages = undefined;
|
|
55
131
|
this.hoverValue = undefined;
|
|
@@ -59,6 +135,17 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
59
135
|
onMessagesChange() {
|
|
60
136
|
/* wired up by t9n util */
|
|
61
137
|
}
|
|
138
|
+
handleValueUpdate(newValue) {
|
|
139
|
+
this.hoverValue = newValue;
|
|
140
|
+
this.focusValue = newValue;
|
|
141
|
+
if (this.emit) {
|
|
142
|
+
this.calciteRatingChange.emit();
|
|
143
|
+
}
|
|
144
|
+
this.emit = false;
|
|
145
|
+
}
|
|
146
|
+
effectiveLocaleChange() {
|
|
147
|
+
updateMessages(this, this.effectiveLocale);
|
|
148
|
+
}
|
|
62
149
|
//--------------------------------------------------------------------------
|
|
63
150
|
//
|
|
64
151
|
// Lifecycle
|
|
@@ -73,6 +160,41 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
73
160
|
async componentWillLoad() {
|
|
74
161
|
await setUpMessages(this);
|
|
75
162
|
setUpLoadableComponent(this);
|
|
163
|
+
this.inputRefs = Array(this.max);
|
|
164
|
+
}
|
|
165
|
+
componentWillRender() {
|
|
166
|
+
this.starsMap = Array.from({ length: this.max }, (_, i) => {
|
|
167
|
+
const value = i + 1;
|
|
168
|
+
const average = !this.focusValue &&
|
|
169
|
+
!this.hoverValue &&
|
|
170
|
+
this.average &&
|
|
171
|
+
!this.value &&
|
|
172
|
+
value <= this.average;
|
|
173
|
+
const checked = value === this.value;
|
|
174
|
+
const focused = this.isKeyboardInteraction && this.hasFocus && this.focusValue === value;
|
|
175
|
+
const fraction = this.average && this.average + 1 - value;
|
|
176
|
+
const hovered = value <= this.hoverValue;
|
|
177
|
+
const id = `${this.guid}-${value}`;
|
|
178
|
+
const partial = !this.focusValue &&
|
|
179
|
+
!this.hoverValue &&
|
|
180
|
+
!this.value &&
|
|
181
|
+
!hovered &&
|
|
182
|
+
fraction > 0 &&
|
|
183
|
+
fraction < 1;
|
|
184
|
+
const selected = this.value >= value;
|
|
185
|
+
return {
|
|
186
|
+
average,
|
|
187
|
+
checked,
|
|
188
|
+
focused,
|
|
189
|
+
fraction,
|
|
190
|
+
hovered,
|
|
191
|
+
id,
|
|
192
|
+
idx: i,
|
|
193
|
+
partial,
|
|
194
|
+
selected,
|
|
195
|
+
value
|
|
196
|
+
};
|
|
197
|
+
});
|
|
76
198
|
}
|
|
77
199
|
componentDidLoad() {
|
|
78
200
|
setComponentLoaded(this);
|
|
@@ -86,37 +208,21 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
86
208
|
componentDidRender() {
|
|
87
209
|
updateHostInteraction(this);
|
|
88
210
|
}
|
|
89
|
-
//--------------------------------------------------------------------------
|
|
90
|
-
//
|
|
91
|
-
// Event Listeners
|
|
92
|
-
//
|
|
93
|
-
//--------------------------------------------------------------------------
|
|
94
|
-
blurHandler() {
|
|
95
|
-
this.hasFocus = false;
|
|
96
|
-
}
|
|
97
|
-
// --------------------------------------------------------------------------
|
|
98
|
-
//
|
|
99
|
-
// Render Methods
|
|
100
|
-
//
|
|
101
|
-
// --------------------------------------------------------------------------
|
|
102
|
-
renderStars() {
|
|
103
|
-
return [1, 2, 3, 4, 5].map((i) => {
|
|
104
|
-
const selected = this.value >= i;
|
|
105
|
-
const average = this.average && !this.value && i <= this.average;
|
|
106
|
-
const hovered = i <= this.hoverValue;
|
|
107
|
-
const fraction = this.average && this.average + 1 - i;
|
|
108
|
-
const partial = !this.value && !hovered && fraction > 0 && fraction < 1;
|
|
109
|
-
const focused = this.hasFocus && this.focusValue === i;
|
|
110
|
-
return (h("span", { class: { wrapper: true } }, h("label", { class: { star: true, focused, selected, average, hovered, partial }, htmlFor: `${this.guid}-${i}`, onPointerOver: () => {
|
|
111
|
-
this.hoverValue = i;
|
|
112
|
-
} }, h("calcite-icon", { "aria-hidden": "true", class: "icon", icon: selected || average || this.readOnly ? "star-f" : "star", scale: this.scale }), partial && (h("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, h("calcite-icon", { icon: "star-f", scale: this.scale }))), h("span", { class: "visually-hidden" }, this.messages.stars.replace("${num}", `${i}`))), h("input", { checked: i === this.value, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: `${this.guid}-${i}`, name: this.guid, onChange: () => this.updateValue(i), onClick: (event) =>
|
|
113
|
-
// click is fired from the component's label, so we treat this as an internal event
|
|
114
|
-
event.stopPropagation(), onFocus: () => this.onFocusChange(i), onKeyDown: this.onKeyboardPressed, ref: (el) => (i === 1 || i === this.value) && (this.inputFocusRef = el), type: "radio", value: i })));
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
211
|
render() {
|
|
118
|
-
|
|
119
|
-
|
|
212
|
+
return (h(Host, { onBlur: this.handleRatingFocusLeave, onFocus: this.handleRatingFocusIn, onKeyDown: this.handleHostKeyDown, onPointerOut: this.handleRatingPointerOut, onPointerOver: this.handleRatingPointerOver }, h("span", { class: "wrapper" }, h("fieldset", { class: "fieldset", disabled: this.disabled }, h("legend", { class: "visually-hidden" }, this.messages.rating), this.starsMap.map(({ average, checked, focused, fraction, hovered, id, idx, partial, selected, value }) => {
|
|
213
|
+
return (h("label", { class: {
|
|
214
|
+
star: true,
|
|
215
|
+
focused,
|
|
216
|
+
selected,
|
|
217
|
+
hovered,
|
|
218
|
+
average,
|
|
219
|
+
partial
|
|
220
|
+
}, htmlFor: id, onPointerDown: this.handleLabelPointerDown, onPointerOver: this.handleLabelPointerOver }, h("input", { checked: checked, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: id, name: this.guid, onChange: this.handleInputChange, onKeyDown: this.handleInputKeyDown, ref: (el) => {
|
|
221
|
+
this.inputRefs[idx] = el;
|
|
222
|
+
return ((value === 1 || value === this.value) &&
|
|
223
|
+
(this.inputFocusRef = el));
|
|
224
|
+
}, type: "radio", value: value }), h(StarIcon, { full: selected || average, scale: this.scale }), partial && (h("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, h(StarIcon, { full: true, partial: true, scale: this.scale }))), h("span", { class: "visually-hidden" }, this.messages.stars.replace("${num}", `${value}`))));
|
|
225
|
+
}), (this.count || this.average) && this.showChip ? (h("calcite-chip", { scale: this.scale, value: this.count?.toString() }, !!this.average && h("span", { class: "number--average" }, this.average.toString()), !!this.count && h("span", { class: "number--count" }, "(", this.count?.toString(), ")"))) : null), h(HiddenFormInputSlot, { component: this }))));
|
|
120
226
|
}
|
|
121
227
|
//--------------------------------------------------------------------------
|
|
122
228
|
//
|
|
@@ -126,10 +232,6 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
126
232
|
onLabelClick() {
|
|
127
233
|
this.setFocus();
|
|
128
234
|
}
|
|
129
|
-
updateValue(value) {
|
|
130
|
-
this.value = value;
|
|
131
|
-
this.calciteRatingChange.emit();
|
|
132
|
-
}
|
|
133
235
|
//--------------------------------------------------------------------------
|
|
134
236
|
//
|
|
135
237
|
// Public Methods
|
|
@@ -140,35 +242,33 @@ const Rating = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
140
242
|
await componentLoaded(this);
|
|
141
243
|
this.inputFocusRef?.focus();
|
|
142
244
|
}
|
|
143
|
-
effectiveLocaleChange() {
|
|
144
|
-
updateMessages(this, this.effectiveLocale);
|
|
145
|
-
}
|
|
146
245
|
static get assetsDirs() { return ["assets"]; }
|
|
147
246
|
get el() { return this; }
|
|
148
247
|
static get watchers() { return {
|
|
149
248
|
"messageOverrides": ["onMessagesChange"],
|
|
249
|
+
"value": ["handleValueUpdate"],
|
|
150
250
|
"effectiveLocale": ["effectiveLocaleChange"]
|
|
151
251
|
}; }
|
|
152
252
|
static get style() { return ratingCss; }
|
|
153
253
|
}, [1, "calcite-rating", {
|
|
154
|
-
"scale": [513],
|
|
155
|
-
"value": [1538],
|
|
156
|
-
"readOnly": [516, "read-only"],
|
|
157
|
-
"disabled": [516],
|
|
158
|
-
"showChip": [516, "show-chip"],
|
|
159
|
-
"count": [514],
|
|
160
254
|
"average": [514],
|
|
161
|
-
"
|
|
255
|
+
"count": [514],
|
|
256
|
+
"disabled": [516],
|
|
162
257
|
"messages": [1040],
|
|
163
258
|
"messageOverrides": [1040],
|
|
259
|
+
"name": [513],
|
|
260
|
+
"readOnly": [516, "read-only"],
|
|
164
261
|
"required": [516],
|
|
262
|
+
"scale": [513],
|
|
263
|
+
"showChip": [516, "show-chip"],
|
|
264
|
+
"value": [1538],
|
|
165
265
|
"effectiveLocale": [32],
|
|
166
266
|
"defaultMessages": [32],
|
|
167
267
|
"hoverValue": [32],
|
|
168
268
|
"focusValue": [32],
|
|
169
269
|
"hasFocus": [32],
|
|
170
270
|
"setFocus": [64]
|
|
171
|
-
}
|
|
271
|
+
}]);
|
|
172
272
|
function defineCustomElement$1() {
|
|
173
273
|
if (typeof customElements === "undefined") {
|
|
174
274
|
return;
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { S as Scrim, d as defineCustomElement$1 } from './scrim.js';
|
|
7
7
|
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { h as focusElement } from './dom.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, forceUpdate } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir, i as isPrimaryPointerButton, b as getSlotted } from './dom.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -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.689
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { S as Sortable } from './sortable.esm.js';
|