@esri/calcite-components 1.0.0-next.686 → 1.0.0-next.688
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-e89c8d76.entry.js → p-03692eb4.entry.js} +2 -2
- package/dist/calcite/{p-e3a28f90.entry.js → p-03b4a90c.entry.js} +2 -2
- package/dist/calcite/p-05184915.entry.js +6 -0
- package/dist/calcite/p-082deb6e.entry.js +6 -0
- package/dist/calcite/{p-9c0603ed.js → p-088a36fc.js} +1 -1
- package/dist/calcite/{p-ec77737a.entry.js → p-0a44e1a0.entry.js} +2 -2
- package/dist/calcite/{p-da4c815d.entry.js → p-0e46f6c4.entry.js} +2 -2
- package/dist/calcite/p-0f3a7fea.entry.js +6 -0
- package/dist/calcite/{p-e2c6054a.js → p-14a9ff2d.js} +1 -1
- package/dist/calcite/p-170c416b.entry.js +6 -0
- package/dist/calcite/{p-0bf912c2.js → p-1beb4b96.js} +2 -2
- package/dist/calcite/{p-a4eb5631.js → p-1bf6de03.js} +2 -2
- package/dist/calcite/{p-db3efad1.js → p-1d439742.js} +1 -1
- package/dist/calcite/{p-84be75f4.entry.js → p-25207c45.entry.js} +2 -2
- package/dist/calcite/{p-dffa4b0a.entry.js → p-29af00d6.entry.js} +2 -2
- package/dist/calcite/{p-7824938d.js → p-30ef40e1.js} +2 -2
- package/dist/calcite/p-33707365.entry.js +6 -0
- package/dist/calcite/p-3564b9e0.js +6 -0
- package/dist/calcite/{p-8ed3ae17.js → p-36296a46.js} +1 -1
- package/dist/calcite/p-39065362.entry.js +6 -0
- package/dist/calcite/{p-bdf6eeda.entry.js → p-3b297d55.entry.js} +2 -2
- package/dist/calcite/{p-68d716fd.js → p-3c2cc334.js} +2 -2
- package/dist/calcite/{p-7f8f81d4.entry.js → p-3dd90e41.entry.js} +2 -2
- package/dist/calcite/p-3f5784de.entry.js +6 -0
- package/dist/calcite/{p-6824ca41.js → p-41a88ded.js} +1 -1
- package/dist/calcite/{p-28d5a917.entry.js → p-425fdd87.entry.js} +2 -2
- package/dist/calcite/{p-5e42938f.entry.js → p-4459ad18.entry.js} +2 -2
- package/dist/calcite/{p-1cb2d5b4.js → p-47708aa1.js} +2 -2
- package/dist/calcite/p-4e55e6b9.entry.js +6 -0
- package/dist/calcite/{p-f0bbc245.js → p-50c38192.js} +1 -1
- package/dist/calcite/{p-20091960.entry.js → p-520e91fe.entry.js} +2 -2
- package/dist/calcite/{p-6a629195.js → p-53957a1e.js} +1 -1
- package/dist/calcite/{p-b3aac60f.entry.js → p-57b1553f.entry.js} +2 -2
- package/dist/calcite/p-5f5ac1fb.entry.js +6 -0
- package/dist/calcite/{p-f463abfb.js → p-614ab3a0.js} +1 -1
- package/dist/calcite/{p-69840c6d.js → p-6a3a7ac1.js} +2 -2
- package/dist/calcite/p-6af4bd32.entry.js +6 -0
- package/dist/calcite/{p-33088377.entry.js → p-6b28f89f.entry.js} +2 -2
- package/dist/calcite/{p-b6fcce91.js → p-6bf81193.js} +2 -2
- package/dist/calcite/{p-913087ab.entry.js → p-6e54b6f1.entry.js} +2 -2
- package/dist/calcite/p-7178dcd3.entry.js +6 -0
- package/dist/calcite/p-7952623e.entry.js +6 -0
- package/dist/calcite/{p-c75f0b1e.js → p-79f57550.js} +2 -2
- package/dist/calcite/{p-164a3e2f.entry.js → p-7c004d7f.entry.js} +2 -2
- package/dist/calcite/p-7d764aa5.entry.js +6 -0
- package/dist/calcite/p-7e7db5e0.entry.js +6 -0
- package/dist/calcite/{p-586c7163.entry.js → p-7f8670b5.entry.js} +2 -2
- package/dist/calcite/p-83f60e26.entry.js +6 -0
- package/dist/calcite/p-868cc943.entry.js +6 -0
- package/dist/calcite/{p-d3ebc9c4.js → p-875c01df.js} +2 -2
- package/dist/calcite/p-87812497.entry.js +6 -0
- package/dist/calcite/{p-6ec640f5.entry.js → p-885d36fc.entry.js} +2 -2
- package/dist/calcite/{p-ede72305.js → p-8baf2174.js} +1 -1
- package/dist/calcite/{p-daa7ee0f.entry.js → p-8c22b4ba.entry.js} +2 -2
- package/dist/calcite/{p-6fcfc44c.entry.js → p-8c9948a1.entry.js} +2 -2
- package/dist/calcite/{p-a50e3ece.entry.js → p-90e490a8.entry.js} +2 -2
- package/dist/calcite/p-93c297c2.entry.js +6 -0
- package/dist/calcite/p-96eea750.entry.js +6 -0
- package/dist/calcite/p-98d52cdb.entry.js +6 -0
- package/dist/calcite/{p-319cf9bc.js → p-9c35ac3e.js} +1 -1
- package/dist/calcite/{p-21410fff.entry.js → p-9d604886.entry.js} +2 -2
- package/dist/calcite/{p-43679ce3.entry.js → p-9ddf235c.entry.js} +2 -2
- package/dist/calcite/{p-5984670c.entry.js → p-a3202e3b.entry.js} +2 -2
- package/dist/calcite/{p-e98fc94d.js → p-a7c33fba.js} +2 -2
- package/dist/calcite/p-b23ba5ee.entry.js +6 -0
- package/dist/calcite/{p-56890424.entry.js → p-b3f6da6b.entry.js} +2 -2
- package/dist/calcite/{p-edd3a715.entry.js → p-b717fef4.entry.js} +2 -2
- package/dist/calcite/{p-58e96a1a.entry.js → p-b8c6eef7.entry.js} +2 -2
- package/dist/calcite/{p-8a6441e0.entry.js → p-ba1b607b.entry.js} +2 -2
- package/dist/calcite/p-ba346b28.js +6 -0
- package/dist/calcite/{p-dcf59d52.entry.js → p-ba4c3232.entry.js} +2 -2
- package/dist/calcite/p-bbe40e60.entry.js +6 -0
- package/dist/calcite/{p-0529e8c1.entry.js → p-bddc071d.entry.js} +2 -2
- package/dist/calcite/{p-4c0443e2.entry.js → p-be647bb0.entry.js} +2 -2
- package/dist/calcite/{p-af1288b8.entry.js → p-c43e5fc1.entry.js} +2 -2
- package/dist/calcite/p-c58baaf1.entry.js +6 -0
- package/dist/calcite/p-c5dae9bd.entry.js +6 -0
- package/dist/calcite/p-c99a1393.js +6 -0
- package/dist/calcite/{p-0ae8a5d4.entry.js → p-ce3753b3.entry.js} +2 -2
- package/dist/calcite/{p-7dfe187f.js → p-ce88d255.js} +1 -1
- package/dist/calcite/{p-cafac5b3.js → p-d23f9a48.js} +2 -2
- package/dist/calcite/{p-99eb0e56.js → p-d2539202.js} +2 -2
- package/dist/calcite/{p-4f1a0bed.js → p-e110ef0c.js} +1 -1
- package/dist/calcite/{p-e5dcb599.js → p-e3a4daa5.js} +1 -1
- package/dist/calcite/p-e7becc39.js +6 -0
- package/dist/calcite/{p-71e1037d.entry.js → p-ed75cb7c.entry.js} +2 -2
- package/dist/calcite/{p-20a384f5.entry.js → p-ee7d445c.entry.js} +2 -2
- package/dist/calcite/{p-22bd55ca.js → p-f54d786c.js} +2 -2
- package/dist/calcite/{p-26604cdc.js → p-fa950085.js} +1 -1
- package/dist/calcite/{p-9deaa309.entry.js → p-fcf778e7.entry.js} +2 -2
- package/dist/calcite/{p-055ab9b3.entry.js → p-fd49ba77.entry.js} +2 -2
- package/dist/calcite/{p-198a7d55.js → p-ff3474f4.js} +1 -1
- package/dist/cjs/{ExpandToggle-45756a68.js → ExpandToggle-2f1975a8.js} +5 -5
- package/dist/cjs/{Heading-6b74fdc4.js → Heading-ab835192.js} +2 -2
- package/dist/cjs/{app-globals-6c97e8a2.js → app-globals-1e133316.js} +2 -2
- package/dist/cjs/{array-b496dbca.js → array-6a64003f.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +11 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -22
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +16 -21
- package/dist/cjs/calcite-action.cjs.entry.js +14 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +15 -14
- 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 +16 -17
- 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 +52 -21
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -16
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +25 -23
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +12 -11
- package/dist/cjs/calcite-filter.cjs.entry.js +15 -14
- 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 +14 -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 +17 -21
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -17
- package/dist/cjs/calcite-input-message.cjs.entry.js +7 -6
- 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 +16 -14
- 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 +14 -13
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -18
- 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 +4 -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 +13 -13
- 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 +7 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -11
- 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 +8 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +11 -10
- 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 +19 -18
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-50a96097.js → conditionalSlot-a53d134c.js} +3 -3
- package/dist/cjs/{debounce-f24e2e2f.js → debounce-693cccee.js} +1 -1
- package/dist/cjs/{dom-53afe91f.js → dom-2db5c855.js} +3 -3
- package/dist/cjs/{filter-0da1914f.js → filter-28153bb2.js} +2 -2
- package/dist/cjs/{floating-ui-e30dce0b.js → floating-ui-e70ae22d.js} +4 -4
- package/dist/cjs/{focusTrapComponent-370096c6.js → focusTrapComponent-c906f778.js} +2 -2
- package/dist/cjs/{form-6130c77e.js → form-132d25cc.js} +3 -3
- package/dist/cjs/{guid-9d815eba.js → guid-b1c57a9d.js} +1 -1
- package/dist/cjs/{index-d849f743.js → index-ca650359.js} +5 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-013cee30.js → interactive-63d6086f.js} +1 -1
- package/dist/cjs/{key-3ef28a50.js → key-daca21ec.js} +1 -1
- package/dist/cjs/{label-b113cdc7.js → label-53aedc4b.js} +2 -2
- package/dist/cjs/{loadable-ea8b063e.js → loadable-f17eb8de.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-f78f4a21.js → locale-635fc90b.js} +4 -4
- package/dist/cjs/{math-2b139bd1.js → math-06685661.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-90ba9262.js → nonChromiumPlatformUtils-9af29c60.js} +6 -6
- package/dist/cjs/{observers-acb48387.js → observers-1d66d5a8.js} +1 -1
- package/dist/cjs/{openCloseComponent-c6da7e66.js → openCloseComponent-9efefc2b.js} +2 -2
- package/dist/cjs/{resources-9f1b6663.js → resources-36d2967b.js} +1 -1
- package/dist/cjs/{resources-811c186c.js → resources-8087d6d8.js} +1 -1
- package/dist/cjs/{resources-4037854b.js → resources-82afd1a5.js} +5 -5
- package/dist/cjs/{resources-04373cab.js → resources-b73d9c4a.js} +1 -1
- package/dist/cjs/{resources-2af6490c.js → resources-e5ef5941.js} +1 -1
- package/dist/cjs/{resources-0f7ff7d4.js → resources-f90ea3f5.js} +1 -1
- package/dist/cjs/{sortable.esm-088fbcb3.js → sortable.esm-2928f84b.js} +1 -1
- package/dist/cjs/{t9n-c5ff0399.js → t9n-04ab4138.js} +3 -3
- package/dist/cjs/{utils-436492ba.js → utils-23374f68.js} +3 -3
- package/dist/cjs/{utils-9566b8bd.js → utils-f6c8c735.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +27 -3
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +22 -3
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +7 -21
- 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 +2 -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 +7 -21
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +23 -4
- 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.css +154 -198
- package/dist/collection/components/button/button.js +21 -36
- 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.css +132 -85
- package/dist/collection/components/chip/chip.js +56 -22
- package/dist/collection/components/chip/resources.js +5 -2
- package/dist/collection/components/color-picker/color-picker.js +5 -4
- 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 +23 -4
- 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 +22 -3
- 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 +2 -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 +2 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +2 -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 +38 -16
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +3 -3
- 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 +6 -10
- 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 +3 -2
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +21 -2
- 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 +3 -2
- 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 +2 -2
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +22 -3
- 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 +2 -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 +22 -3
- 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 +2 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- 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/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/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 +2 -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.css +30 -36
- package/dist/collection/components/split-button/split-button.js +22 -15
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +21 -2
- 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 +22 -3
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +22 -3
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +2 -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 +22 -3
- 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 +3 -2
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +5 -3
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -7
- package/dist/components/calcite-accordion-item.js +7 -4
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +5 -10
- 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 +5 -10
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +5 -3
- package/dist/components/calcite-avatar.js +2 -2
- 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 +6 -5
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +5 -3
- package/dist/components/calcite-combobox.js +6 -4
- 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 +3 -2
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +9 -7
- 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 +7 -11
- package/dist/components/calcite-input-date-picker.js +4 -3
- package/dist/components/calcite-input-message.js +4 -2
- 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 +4 -3
- 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 +2 -2
- package/dist/components/calcite-notice.js +4 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +3 -2
- 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 +3 -2
- package/dist/components/calcite-radio-button.js +2 -2
- 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 +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- 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 +3 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +7 -6
- package/dist/components/calcite-stepper-item.js +4 -2
- package/dist/components/calcite-stepper.js +2 -2
- 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 +5 -3
- 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 +2 -2
- package/dist/components/calcite-value-list-item.js +5 -3
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +48 -14
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- 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 +3 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +4 -3
- package/dist/components/filter.js +4 -4
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +2 -2
- 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 +2 -2
- 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 +5 -3
- 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 +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +6 -4
- package/dist/components/time-picker.js +3 -2
- 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-0bb88d72.js → ExpandToggle-15065447.js} +5 -5
- package/dist/esm/{Heading-1a57f4fd.js → Heading-9b5fbace.js} +2 -2
- package/dist/esm/{app-globals-954fbe00.js → app-globals-04237413.js} +2 -2
- package/dist/esm/{array-ca991b39.js → array-5620c9b1.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +11 -9
- package/dist/esm/calcite-action-bar.entry.js +17 -22
- package/dist/esm/calcite-action-group.entry.js +13 -12
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +16 -21
- package/dist/esm/calcite-action.entry.js +14 -13
- package/dist/esm/calcite-alert.entry.js +15 -14
- 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 +16 -17
- 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 +52 -21
- package/dist/esm/calcite-color-picker_3.entry.js +17 -16
- package/dist/esm/calcite-combobox_3.entry.js +25 -23
- package/dist/esm/calcite-date-picker_4.entry.js +13 -12
- package/dist/esm/calcite-dropdown_3.entry.js +14 -12
- package/dist/esm/calcite-fab.entry.js +12 -11
- package/dist/esm/calcite-filter.entry.js +15 -14
- 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 +14 -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 +17 -21
- package/dist/esm/calcite-input-date-picker.entry.js +18 -17
- package/dist/esm/calcite-input-message.entry.js +7 -6
- 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 +16 -14
- 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 +14 -13
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -9
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +19 -18
- 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 +4 -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 +13 -13
- 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 +7 -6
- package/dist/esm/calcite-stepper_2.entry.js +12 -11
- 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 +8 -7
- package/dist/esm/calcite-tile.entry.js +11 -10
- 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 +19 -18
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-1712a58c.js → conditionalSlot-6b3ef2f2.js} +3 -3
- package/dist/esm/{debounce-4298a315.js → debounce-b264a4e1.js} +1 -1
- package/dist/esm/{dom-285f7254.js → dom-de5aecd4.js} +3 -3
- package/dist/esm/{filter-0b175e02.js → filter-9ed111dd.js} +2 -2
- package/dist/esm/{floating-ui-af754833.js → floating-ui-f26fc166.js} +4 -4
- package/dist/esm/{focusTrapComponent-e98c4d67.js → focusTrapComponent-9000a762.js} +2 -2
- package/dist/esm/{form-a4fdb454.js → form-b78dc36a.js} +3 -3
- package/dist/esm/{guid-e4a64dcc.js → guid-8f7fe7c8.js} +1 -1
- package/dist/esm/{index-030b26cd.js → index-060a705f.js} +5 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-23c0ffb9.js → interactive-ae092e9c.js} +1 -1
- package/dist/esm/{key-f99c6711.js → key-5ec4c2bc.js} +1 -1
- package/dist/esm/{label-231b23ff.js → label-80f7ccf8.js} +2 -2
- package/dist/esm/{loadable-672fa2c5.js → loadable-750111ac.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-3fd5ccfe.js → locale-e208823a.js} +4 -4
- package/dist/esm/{math-a20c9503.js → math-777c49fc.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-90a9b8f0.js → nonChromiumPlatformUtils-fd8e55ff.js} +6 -6
- package/dist/esm/{observers-33f3ce83.js → observers-5c7edd4c.js} +1 -1
- package/dist/esm/{openCloseComponent-fee0a561.js → openCloseComponent-094d088c.js} +2 -2
- package/dist/esm/{resources-5f7b4bda.js → resources-367d3b9d.js} +1 -1
- package/dist/esm/{resources-946fa0a5.js → resources-3eaa39ad.js} +1 -1
- package/dist/esm/{resources-54fdcb42.js → resources-50606976.js} +1 -1
- package/dist/esm/{resources-3e7e475f.js → resources-75b6a96e.js} +1 -1
- package/dist/esm/{resources-59a7547d.js → resources-8414d284.js} +1 -1
- package/dist/esm/{resources-c02d2c2f.js → resources-ac2d82f7.js} +5 -5
- package/dist/esm/{sortable.esm-ed721727.js → sortable.esm-501b5d17.js} +1 -1
- package/dist/esm/{t9n-d57055a9.js → t9n-f24b458f.js} +3 -3
- package/dist/esm/{utils-661a3129.js → utils-499a2ba7.js} +1 -1
- package/dist/esm/{utils-27f32f99.js → utils-ed7335dc.js} +3 -3
- package/dist/extras/docs-json.json +401 -192
- 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-item/accordion-item.d.ts +3 -0
- package/dist/types/components/action/action.d.ts +2 -0
- package/dist/types/components/action-bar/action-bar.d.ts +1 -3
- package/dist/types/components/action-pad/action-pad.d.ts +1 -3
- package/dist/types/components/alert/alert.d.ts +2 -0
- package/dist/types/components/button/button.d.ts +5 -11
- package/dist/types/components/button/interfaces.d.ts +0 -2
- package/dist/types/components/chip/chip.d.ts +13 -5
- package/dist/types/components/chip/resources.d.ts +3 -0
- package/dist/types/components/combobox/combobox.d.ts +2 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
- package/dist/types/components/fab/fab.d.ts +6 -5
- package/dist/types/components/input-message/input-message.d.ts +2 -0
- package/dist/types/components/interfaces.d.ts +2 -2
- package/dist/types/components/notice/notice.d.ts +2 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -0
- package/dist/types/components/split-button/split-button.d.ts +5 -5
- package/dist/types/components/stepper-item/stepper-item.d.ts +2 -0
- package/dist/types/components/tile/tile.d.ts +2 -0
- package/dist/types/components/tile-select/tile-select.d.ts +2 -0
- package/dist/types/components/value-list-item/value-list-item.d.ts +2 -0
- package/dist/types/components.d.ts +159 -56
- package/hydrate/index.js +165 -112
- package/package.json +1 -1
- package/dist/calcite/p-039fa17a.entry.js +0 -6
- package/dist/calcite/p-0b98a470.entry.js +0 -6
- package/dist/calcite/p-19b960b8.entry.js +0 -6
- package/dist/calcite/p-1dea13ec.entry.js +0 -6
- package/dist/calcite/p-2b3a9485.entry.js +0 -6
- package/dist/calcite/p-4e8d4e58.entry.js +0 -6
- package/dist/calcite/p-4f24d324.entry.js +0 -6
- package/dist/calcite/p-5616d5b9.entry.js +0 -6
- package/dist/calcite/p-5c8487bb.entry.js +0 -6
- package/dist/calcite/p-61e195c0.js +0 -6
- package/dist/calcite/p-72772692.entry.js +0 -6
- package/dist/calcite/p-72e7b7a4.entry.js +0 -6
- package/dist/calcite/p-78ddc1aa.entry.js +0 -6
- package/dist/calcite/p-7a985267.entry.js +0 -6
- package/dist/calcite/p-7f50fca0.entry.js +0 -6
- package/dist/calcite/p-81215b22.entry.js +0 -6
- package/dist/calcite/p-84640f88.entry.js +0 -6
- package/dist/calcite/p-8c12a8f0.entry.js +0 -6
- package/dist/calcite/p-8f4bb839.entry.js +0 -6
- package/dist/calcite/p-abffa97f.entry.js +0 -6
- package/dist/calcite/p-b9518a53.entry.js +0 -6
- package/dist/calcite/p-cae27dce.entry.js +0 -6
- package/dist/calcite/p-cd4cc051.entry.js +0 -6
- package/dist/calcite/p-f0454ff1.js +0 -6
- package/dist/calcite/p-f0e2bf7f.entry.js +0 -6
- package/dist/calcite/p-f778e1bd.js +0 -6
- package/dist/calcite/p-fc028034.js +0 -6
- package/dist/calcite/p-fd33542e.entry.js +0 -6
- package/dist/collection/components/chip/interfaces.js +0 -1
- package/dist/types/components/chip/interfaces.d.ts +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import Color from "color";
|
|
8
8
|
import { CSS, DEFAULT_COLOR, DEFAULT_STORAGE_KEY_PREFIX, DIMENSIONS, HSV_LIMITS, RGB_LIMITS } from "./resources";
|
|
9
|
-
import {
|
|
9
|
+
import { getElementDir, isPrimaryPointerButton } from "../../utils/dom";
|
|
10
10
|
import { colorEqual, CSSColorMode, normalizeHex, parseMode } from "./utils";
|
|
11
11
|
import { throttle } from "lodash-es";
|
|
12
12
|
import { clamp } from "../../utils/math";
|
|
@@ -447,7 +447,7 @@ export class ColorPicker {
|
|
|
447
447
|
/** Sets focus on the component. */
|
|
448
448
|
async setFocus() {
|
|
449
449
|
await componentLoaded(this);
|
|
450
|
-
|
|
450
|
+
this.el.focus();
|
|
451
451
|
}
|
|
452
452
|
//--------------------------------------------------------------------------
|
|
453
453
|
//
|
|
@@ -515,7 +515,7 @@ export class ColorPicker {
|
|
|
515
515
|
} }, messages.hex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h("calcite-tabs", { class: {
|
|
516
516
|
[CSS.colorModeContainer]: true,
|
|
517
517
|
[CSS.splitSection]: true
|
|
518
|
-
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS.savedColorsSection]: true, [CSS.section]: true } }, h("div", { class: CSS.header }, h("label", null, messages.saved), h("div", { class: CSS.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS.deleteColor,
|
|
518
|
+
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "title-group" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS.savedColorsSection]: true, [CSS.section]: true } }, h("div", { class: CSS.header }, h("label", null, messages.saved), h("div", { class: CSS.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS.deleteColor, disabled: noColor, iconStart: "minus", kind: "neutral", label: messages.deleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS.saveColor, disabled: noColor, iconStart: "plus", kind: "neutral", label: messages.saveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS.savedColors }, [
|
|
519
519
|
...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
520
520
|
])) : null))));
|
|
521
521
|
}
|
|
@@ -703,6 +703,7 @@ export class ColorPicker {
|
|
|
703
703
|
}
|
|
704
704
|
static get is() { return "calcite-color-picker"; }
|
|
705
705
|
static get encapsulation() { return "shadow"; }
|
|
706
|
+
static get delegatesFocus() { return true; }
|
|
706
707
|
static get originalStyleUrls() {
|
|
707
708
|
return {
|
|
708
709
|
"$": ["color-picker.scss"]
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import Color from "color";
|
|
7
7
|
export const CSS = {
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { hexChar, isLonghandHex, isValidHex, normalizeHex, rgbToHex } from "../color-picker/utils";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import Color from "color";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { filter } from "../../utils/filter";
|
|
@@ -308,6 +308,7 @@ export class Combobox {
|
|
|
308
308
|
this.label = undefined;
|
|
309
309
|
this.placeholder = undefined;
|
|
310
310
|
this.placeholderIcon = undefined;
|
|
311
|
+
this.placeholderIconFlipRtl = false;
|
|
311
312
|
this.maxItems = 0;
|
|
312
313
|
this.name = undefined;
|
|
313
314
|
this.allowCustomValues = undefined;
|
|
@@ -728,7 +729,7 @@ export class Combobox {
|
|
|
728
729
|
const ancestors = [...getItemAncestors(item)].reverse();
|
|
729
730
|
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
|
730
731
|
const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
|
|
731
|
-
return (h("calcite-chip", { class: chipClasses, closable: true, icon: item.icon, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, messageOverrides: { dismissLabel: messages.removeTag }, onCalciteChipClose: () => this.calciteChipCloseHandler(item), scale: scale, title: label, value: item.value }, label));
|
|
732
|
+
return (h("calcite-chip", { class: chipClasses, closable: true, icon: item.icon, iconFlipRtl: item.iconFlipRtl, id: item.guid ? `${chipUidPrefix}${item.guid}` : null, key: item.textLabel, messageOverrides: { dismissLabel: messages.removeTag }, onCalciteChipClose: () => this.calciteChipCloseHandler(item), scale: scale, title: label, value: item.value }, label));
|
|
732
733
|
});
|
|
733
734
|
}
|
|
734
735
|
renderInput() {
|
|
@@ -766,14 +767,14 @@ export class Combobox {
|
|
|
766
767
|
}, ref: setFloatingEl }, h("div", { class: classes, ref: setContainerEl }, h("ul", { class: { list: true, "list--hide": !open } }, h("slot", null)))));
|
|
767
768
|
}
|
|
768
769
|
renderIconStart() {
|
|
769
|
-
const { selectedItems, placeholderIcon, selectionMode } = this;
|
|
770
|
+
const { selectedItems, placeholderIcon, selectionMode, placeholderIconFlipRtl } = this;
|
|
770
771
|
const selectedItem = selectedItems[0];
|
|
771
772
|
const selectedIcon = selectedItem?.icon;
|
|
772
773
|
const singleSelectionMode = selectionMode === "single";
|
|
773
774
|
const iconAtStart = !this.open && selectedItem
|
|
774
775
|
? !!selectedIcon && singleSelectionMode
|
|
775
776
|
: !!this.placeholderIcon && (!selectedItem || singleSelectionMode);
|
|
776
|
-
return (iconAtStart && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: "s" }))));
|
|
777
|
+
return (iconAtStart && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", flipRtl: this.open && selectedItem ? selectedItem.iconFlipRtl : placeholderIconFlipRtl, icon: !this.open && selectedItem ? selectedIcon : placeholderIcon, scale: "s" }))));
|
|
777
778
|
}
|
|
778
779
|
renderIconEnd() {
|
|
779
780
|
const { open } = this;
|
|
@@ -890,6 +891,24 @@ export class Combobox {
|
|
|
890
891
|
"attribute": "placeholder-icon",
|
|
891
892
|
"reflect": true
|
|
892
893
|
},
|
|
894
|
+
"placeholderIconFlipRtl": {
|
|
895
|
+
"type": "boolean",
|
|
896
|
+
"mutable": false,
|
|
897
|
+
"complexType": {
|
|
898
|
+
"original": "boolean",
|
|
899
|
+
"resolved": "boolean",
|
|
900
|
+
"references": {}
|
|
901
|
+
},
|
|
902
|
+
"required": false,
|
|
903
|
+
"optional": false,
|
|
904
|
+
"docs": {
|
|
905
|
+
"tags": [],
|
|
906
|
+
"text": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`)."
|
|
907
|
+
},
|
|
908
|
+
"attribute": "placeholder-icon-flip-rtl",
|
|
909
|
+
"reflect": true,
|
|
910
|
+
"defaultValue": "false"
|
|
911
|
+
},
|
|
893
912
|
"maxItems": {
|
|
894
913
|
"type": "number",
|
|
895
914
|
"mutable": false,
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export const ComboboxItem = "CALCITE-COMBOBOX-ITEM";
|
|
7
7
|
export const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { nodeListToArray } from "../../utils/dom";
|
|
7
7
|
import { ComboboxChildSelector } from "./resources";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h } from "@stencil/core";
|
|
7
7
|
import { getElementProp, getSlotted } from "../../utils/dom";
|
|
@@ -31,6 +31,7 @@ export class ComboboxItem {
|
|
|
31
31
|
this.ancestors = undefined;
|
|
32
32
|
this.guid = guid();
|
|
33
33
|
this.icon = undefined;
|
|
34
|
+
this.iconFlipRtl = false;
|
|
34
35
|
this.textLabel = undefined;
|
|
35
36
|
this.value = undefined;
|
|
36
37
|
this.filterDisabled = undefined;
|
|
@@ -77,7 +78,7 @@ export class ComboboxItem {
|
|
|
77
78
|
//
|
|
78
79
|
// --------------------------------------------------------------------------
|
|
79
80
|
renderIcon(isSingle) {
|
|
80
|
-
const { icon, disabled, selected } = this;
|
|
81
|
+
const { icon, disabled, selected, iconFlipRtl } = this;
|
|
81
82
|
const level = `${CSS.icon}--indent`;
|
|
82
83
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
83
84
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
@@ -91,7 +92,7 @@ export class ComboboxItem {
|
|
|
91
92
|
[CSS.custom]: !!icon,
|
|
92
93
|
[CSS.iconActive]: icon && selected,
|
|
93
94
|
[level]: true
|
|
94
|
-
}, icon: icon || iconPath, scale: "s" }));
|
|
95
|
+
}, flipRtl: iconFlipRtl, icon: icon || iconPath, scale: "s" }));
|
|
95
96
|
}
|
|
96
97
|
renderChildren() {
|
|
97
98
|
if (getSlotted(this.el)) {
|
|
@@ -233,6 +234,24 @@ export class ComboboxItem {
|
|
|
233
234
|
"attribute": "icon",
|
|
234
235
|
"reflect": true
|
|
235
236
|
},
|
|
237
|
+
"iconFlipRtl": {
|
|
238
|
+
"type": "boolean",
|
|
239
|
+
"mutable": false,
|
|
240
|
+
"complexType": {
|
|
241
|
+
"original": "boolean",
|
|
242
|
+
"resolved": "boolean",
|
|
243
|
+
"references": {}
|
|
244
|
+
},
|
|
245
|
+
"required": false,
|
|
246
|
+
"optional": false,
|
|
247
|
+
"docs": {
|
|
248
|
+
"tags": [],
|
|
249
|
+
"text": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`)."
|
|
250
|
+
},
|
|
251
|
+
"attribute": "icon-flip-rtl",
|
|
252
|
+
"reflect": true,
|
|
253
|
+
"defaultValue": "false"
|
|
254
|
+
},
|
|
236
255
|
"textLabel": {
|
|
237
256
|
"type": "string",
|
|
238
257
|
"mutable": false,
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { CSS } from "./resources";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host, Build } from "@stencil/core";
|
|
7
7
|
import { getLocaleData, getValueAsDateRange } from "./utils";
|
|
@@ -400,6 +400,7 @@ export class DatePicker {
|
|
|
400
400
|
}
|
|
401
401
|
static get is() { return "calcite-date-picker"; }
|
|
402
402
|
static get encapsulation() { return "shadow"; }
|
|
403
|
+
static get delegatesFocus() { return true; }
|
|
403
404
|
static get originalStyleUrls() {
|
|
404
405
|
return {
|
|
405
406
|
"$": ["date-picker.scss"]
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { getAssetPath } from "@stencil/core";
|
|
7
7
|
import { getSupportedLocale } from "../../utils/locale";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h } from "@stencil/core";
|
|
7
7
|
import { closestElementCrossShadowBoundary, getElementDir } from "../../utils/dom";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { Host, h } from "@stencil/core";
|
|
7
7
|
import { inRange, sameDate, dateFromRange } from "../../utils/date";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h, Fragment } from "@stencil/core";
|
|
7
7
|
import { dateFromRange, nextMonth, prevMonth, getOrder } from "../../utils/date";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
7
7
|
export const CSS = {
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { focusElement, isPrimaryPointerButton, toAriaBoolean } from "../../utils/dom";
|
|
@@ -398,6 +398,7 @@ export class Dropdown {
|
|
|
398
398
|
}
|
|
399
399
|
static get is() { return "calcite-dropdown"; }
|
|
400
400
|
static get encapsulation() { return "shadow"; }
|
|
401
|
+
static get delegatesFocus() { return true; }
|
|
401
402
|
static get originalStyleUrls() {
|
|
402
403
|
return {
|
|
403
404
|
"$": ["dropdown.scss"]
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export const SLOTS = {
|
|
7
7
|
dropdownTrigger: "trigger"
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementProp } from "../../utils/dom";
|
|
@@ -57,6 +57,7 @@ export class DropdownGroup {
|
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "calcite-dropdown-group"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
60
|
+
static get delegatesFocus() { return true; }
|
|
60
61
|
static get originalStyleUrls() {
|
|
61
62
|
return {
|
|
62
63
|
"$": ["dropdown-group.scss"]
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
containerSmall: "container--s",
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementProp, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
containerLink: "container--link",
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { CSS, ICONS } from "./resources";
|
|
@@ -10,10 +10,11 @@ import { updateHostInteraction } from "../../utils/interactive";
|
|
|
10
10
|
import { setUpLoadableComponent, setComponentLoaded, componentLoaded } from "../../utils/loadable";
|
|
11
11
|
export class Fab {
|
|
12
12
|
constructor() {
|
|
13
|
-
this.appearance = "
|
|
14
|
-
this.
|
|
13
|
+
this.appearance = "solid";
|
|
14
|
+
this.kind = "brand";
|
|
15
15
|
this.disabled = false;
|
|
16
16
|
this.icon = ICONS.plus;
|
|
17
|
+
this.iconFlipRtl = false;
|
|
17
18
|
this.label = undefined;
|
|
18
19
|
this.loading = false;
|
|
19
20
|
this.scale = "m";
|
|
@@ -50,9 +51,9 @@ export class Fab {
|
|
|
50
51
|
//
|
|
51
52
|
// --------------------------------------------------------------------------
|
|
52
53
|
render() {
|
|
53
|
-
const { appearance,
|
|
54
|
+
const { appearance, kind, disabled, loading, scale, textEnabled, icon, label, text, iconFlipRtl } = this;
|
|
54
55
|
const title = !textEnabled ? label || text || null : null;
|
|
55
|
-
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS.button,
|
|
56
|
+
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline-fill", class: CSS.button, disabled: disabled, iconFlipRtl: iconFlipRtl ? "start" : null, iconStart: icon, kind: kind, label: label, loading: loading, ref: (buttonEl) => {
|
|
56
57
|
this.buttonEl = buttonEl;
|
|
57
58
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
58
59
|
}
|
|
@@ -74,8 +75,8 @@ export class Fab {
|
|
|
74
75
|
"type": "string",
|
|
75
76
|
"mutable": false,
|
|
76
77
|
"complexType": {
|
|
77
|
-
"original": "Extract<\"solid\" | \"outline\", Appearance>",
|
|
78
|
-
"resolved": "\"outline\" | \"solid\"",
|
|
78
|
+
"original": "Extract<\"solid\" | \"outline-fill\", Appearance>",
|
|
79
|
+
"resolved": "\"outline-fill\" | \"solid\"",
|
|
79
80
|
"references": {
|
|
80
81
|
"Extract": {
|
|
81
82
|
"location": "global"
|
|
@@ -94,18 +95,21 @@ export class Fab {
|
|
|
94
95
|
},
|
|
95
96
|
"attribute": "appearance",
|
|
96
97
|
"reflect": true,
|
|
97
|
-
"defaultValue": "\"
|
|
98
|
+
"defaultValue": "\"solid\""
|
|
98
99
|
},
|
|
99
|
-
"
|
|
100
|
+
"kind": {
|
|
100
101
|
"type": "string",
|
|
101
102
|
"mutable": false,
|
|
102
103
|
"complexType": {
|
|
103
|
-
"original": "
|
|
104
|
-
"resolved": "\"
|
|
104
|
+
"original": "Extract<\"brand\" | \"danger\" | \"inverse\" | \"neutral\", Kind>",
|
|
105
|
+
"resolved": "\"brand\" | \"danger\" | \"inverse\" | \"neutral\"",
|
|
105
106
|
"references": {
|
|
106
|
-
"
|
|
107
|
+
"Extract": {
|
|
108
|
+
"location": "global"
|
|
109
|
+
},
|
|
110
|
+
"Kind": {
|
|
107
111
|
"location": "import",
|
|
108
|
-
"path": "../
|
|
112
|
+
"path": "../interfaces"
|
|
109
113
|
}
|
|
110
114
|
}
|
|
111
115
|
},
|
|
@@ -113,11 +117,11 @@ export class Fab {
|
|
|
113
117
|
"optional": false,
|
|
114
118
|
"docs": {
|
|
115
119
|
"tags": [],
|
|
116
|
-
"text": "Specifies the
|
|
120
|
+
"text": "Specifies the kind of the component (will apply to border and background)."
|
|
117
121
|
},
|
|
118
|
-
"attribute": "
|
|
122
|
+
"attribute": "kind",
|
|
119
123
|
"reflect": true,
|
|
120
|
-
"defaultValue": "\"
|
|
124
|
+
"defaultValue": "\"brand\""
|
|
121
125
|
},
|
|
122
126
|
"disabled": {
|
|
123
127
|
"type": "boolean",
|
|
@@ -158,6 +162,24 @@ export class Fab {
|
|
|
158
162
|
"reflect": true,
|
|
159
163
|
"defaultValue": "ICONS.plus"
|
|
160
164
|
},
|
|
165
|
+
"iconFlipRtl": {
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"mutable": false,
|
|
168
|
+
"complexType": {
|
|
169
|
+
"original": "boolean",
|
|
170
|
+
"resolved": "boolean",
|
|
171
|
+
"references": {}
|
|
172
|
+
},
|
|
173
|
+
"required": false,
|
|
174
|
+
"optional": false,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [],
|
|
177
|
+
"text": "When `true`, the icon will be flipped when the element direction is right-to-left (`\"rtl\"`)."
|
|
178
|
+
},
|
|
179
|
+
"attribute": "icon-flip-rtl",
|
|
180
|
+
"reflect": true,
|
|
181
|
+
"defaultValue": "false"
|
|
182
|
+
},
|
|
161
183
|
"label": {
|
|
162
184
|
"type": "string",
|
|
163
185
|
"mutable": false,
|
|
@@ -1,12 +1,11 @@
|
|
|
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.688
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { debounce } from "lodash-es";
|
|
8
8
|
import { CSS, DEBOUNCE_TIMEOUT, ICONS } from "./resources";
|
|
9
|
-
import { focusElement } from "../../utils/dom";
|
|
10
9
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
11
10
|
import { filter } from "../../utils/filter";
|
|
12
11
|
import { connectLocalized, disconnectLocalized } from "../../utils/locale";
|
|
@@ -95,7 +94,7 @@ export class Filter {
|
|
|
95
94
|
/** Sets focus on the component. */
|
|
96
95
|
async setFocus() {
|
|
97
96
|
await componentLoaded(this);
|
|
98
|
-
|
|
97
|
+
this.el?.focus();
|
|
99
98
|
}
|
|
100
99
|
updateFiltered(filtered, emit = false) {
|
|
101
100
|
this.filteredItems.length = 0;
|
|
@@ -117,6 +116,7 @@ export class Filter {
|
|
|
117
116
|
}
|
|
118
117
|
static get is() { return "calcite-filter"; }
|
|
119
118
|
static get encapsulation() { return "shadow"; }
|
|
119
|
+
static get delegatesFocus() { return true; }
|
|
120
120
|
static get originalStyleUrls() {
|
|
121
121
|
return {
|
|
122
122
|
"$": ["filter.scss"]
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { CSS } from "./resources";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir } from "../../utils/dom";
|
|
@@ -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.688
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
backButton: "back-button"
|