@ebay/ui-core-react 7.3.1 → 7.3.2
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/CONTRIBUTING.md +236 -0
- package/LICENSE.md +21 -0
- package/dist/ebay-dialog-base/components/animation/index.js +1 -0
- package/dist/ebay-dialog-base/components/animation.d.ts.map +1 -0
- package/jest.config.js +52 -0
- package/package.json +1 -1
- package/src/common/__mocks__/random-id.ts +2 -0
- package/src/common/component-utils/array.polyfill.flat.ts +34 -0
- package/src/common/component-utils/forwardRef.tsx +15 -0
- package/src/common/component-utils/index.ts +2 -0
- package/src/common/component-utils/utils.ts +23 -0
- package/src/common/debounce.ts +11 -0
- package/src/common/event-utils/__tests__/helpers.ts +4 -0
- package/src/common/event-utils/__tests__/use-key-press.spec.tsx +30 -0
- package/src/common/event-utils/__tests__/use-roving-index.spec.tsx +81 -0
- package/src/common/event-utils/index.ts +128 -0
- package/src/common/event-utils/types.ts +38 -0
- package/src/common/event-utils/use-key-press.ts +38 -0
- package/src/common/event-utils/use-roving-index.ts +41 -0
- package/src/common/floating-label-utils/hooks.tsx +162 -0
- package/src/common/notice-utils/notice-content.tsx +19 -0
- package/src/common/notice-utils/notice-cta.tsx +15 -0
- package/src/common/notice-utils/notice-footer.tsx +15 -0
- package/src/common/notice-utils/notice-title.tsx +19 -0
- package/src/common/random-id.ts +14 -0
- package/src/common/range.ts +2 -0
- package/src/common/tooltip-utils/constants.ts +96 -0
- package/src/common/tooltip-utils/index.ts +7 -0
- package/src/common/tooltip-utils/tooltip-close-button.tsx +10 -0
- package/src/common/tooltip-utils/tooltip-content.tsx +62 -0
- package/src/common/tooltip-utils/tooltip-footer.tsx +15 -0
- package/src/common/tooltip-utils/tooltip-host.tsx +24 -0
- package/src/common/tooltip-utils/tooltip.tsx +49 -0
- package/src/common/tooltip-utils/types.ts +7 -0
- package/src/common/tooltip-utils/use-tooltip.ts +39 -0
- package/src/ebay-alert-dialog/__tests__/index.spec.tsx +36 -0
- package/src/ebay-alert-dialog/__tests__/index.stories.tsx +77 -0
- package/src/ebay-alert-dialog/__tests__/render.spec.tsx +16 -0
- package/src/ebay-alert-dialog/alert-dialog.tsx +53 -0
- package/src/ebay-alert-dialog/index.ts +1 -0
- package/src/ebay-badge/__tests__/index.spec.tsx +47 -0
- package/src/ebay-badge/__tests__/index.stories.tsx +31 -0
- package/src/ebay-badge/badge.tsx +32 -0
- package/src/ebay-badge/index.ts +1 -0
- package/src/ebay-breadcrumbs/__tests__/index.spec.tsx +40 -0
- package/src/ebay-breadcrumbs/__tests__/index.stories.tsx +94 -0
- package/src/ebay-breadcrumbs/__tests__/render.spec.tsx +59 -0
- package/src/ebay-breadcrumbs/breadcrumb-item.tsx +39 -0
- package/src/ebay-breadcrumbs/breadcrumbs.tsx +61 -0
- package/src/ebay-breadcrumbs/index.ts +2 -0
- package/src/ebay-button/__tests__/index.spec.tsx +131 -0
- package/src/ebay-button/__tests__/index.stories.tsx +406 -0
- package/src/ebay-button/button-cell.tsx +21 -0
- package/src/ebay-button/button-expand.tsx +18 -0
- package/src/ebay-button/button-loading.tsx +11 -0
- package/src/ebay-button/button-text.tsx +10 -0
- package/src/ebay-button/button.tsx +154 -0
- package/src/ebay-button/index.ts +3 -0
- package/src/ebay-button/types.ts +9 -0
- package/src/ebay-calendar/__tests__/__snapshots__/render.spec.tsx.snap +27 -0
- package/src/ebay-calendar/__tests__/index.spec.tsx +99 -0
- package/src/ebay-calendar/__tests__/index.stories.tsx +65 -0
- package/src/ebay-calendar/__tests__/render.spec.tsx +68 -0
- package/src/ebay-calendar/calendar.tsx +461 -0
- package/src/ebay-calendar/date-utils.ts +63 -0
- package/src/ebay-calendar/index.ts +1 -0
- package/src/ebay-carousel/__tests__/__snapshots__/index.spec.tsx.snap +39 -0
- package/src/ebay-carousel/__tests__/index.spec.tsx +55 -0
- package/src/ebay-carousel/__tests__/index.stories.tsx +68 -0
- package/src/ebay-carousel/carousel-control-button.tsx +45 -0
- package/src/ebay-carousel/carousel-item.tsx +52 -0
- package/src/ebay-carousel/carousel-list.tsx +102 -0
- package/src/ebay-carousel/carousel.tsx +137 -0
- package/src/ebay-carousel/helpers.ts +159 -0
- package/src/ebay-carousel/index.ts +2 -0
- package/src/ebay-carousel/scroll-to-transition.ts +123 -0
- package/src/ebay-carousel/types.ts +11 -0
- package/src/ebay-checkbox/__tests__/index.spec.tsx +36 -0
- package/src/ebay-checkbox/__tests__/index.stories.tsx +162 -0
- package/src/ebay-checkbox/__tests__/render.spec.tsx +39 -0
- package/src/ebay-checkbox/checkbox.tsx +89 -0
- package/src/ebay-checkbox/index.ts +1 -0
- package/src/ebay-confirm-dialog/__tests__/index.spec.tsx +59 -0
- package/src/ebay-confirm-dialog/__tests__/index.stories.tsx +70 -0
- package/src/ebay-confirm-dialog/__tests__/render.spec.tsx +42 -0
- package/src/ebay-confirm-dialog/confirm-dialog.tsx +63 -0
- package/src/ebay-confirm-dialog/index.ts +1 -0
- package/src/ebay-cta-button/__tests__/index.spec.tsx +48 -0
- package/src/ebay-cta-button/__tests__/index.stories.tsx +58 -0
- package/src/ebay-cta-button/cta-button.tsx +40 -0
- package/src/ebay-cta-button/index.ts +1 -0
- package/src/ebay-date-textbox/__tests__/__snapshots__/render.spec.tsx.snap +27 -0
- package/src/ebay-date-textbox/__tests__/index.spec.tsx +148 -0
- package/src/ebay-date-textbox/__tests__/index.stories.tsx +55 -0
- package/src/ebay-date-textbox/__tests__/render.spec.tsx +94 -0
- package/src/ebay-date-textbox/date-textbox.tsx +227 -0
- package/src/ebay-date-textbox/index.ts +1 -0
- package/src/ebay-dialog-base/__tests__/index.spec.tsx +83 -0
- package/src/ebay-dialog-base/__tests__/mocks.tsx +38 -0
- package/src/ebay-dialog-base/__tests__/server.spec.tsx +33 -0
- package/src/ebay-dialog-base/components/animation.ts +144 -0
- package/src/ebay-dialog-base/components/dialog-actions.tsx +9 -0
- package/src/ebay-dialog-base/components/dialog-close-button.tsx +9 -0
- package/src/ebay-dialog-base/components/dialog-footer.tsx +9 -0
- package/src/ebay-dialog-base/components/dialog-header.tsx +10 -0
- package/src/ebay-dialog-base/components/dialog-previous-button.tsx +23 -0
- package/src/ebay-dialog-base/components/dialogBase.tsx +234 -0
- package/src/ebay-dialog-base/dialog-base-with-state.tsx +61 -0
- package/src/ebay-dialog-base/index.ts +8 -0
- package/src/ebay-drawer-dialog/__tests__/index.spec.tsx +53 -0
- package/src/ebay-drawer-dialog/__tests__/index.stories.tsx +244 -0
- package/src/ebay-drawer-dialog/components/drawer.tsx +120 -0
- package/src/ebay-drawer-dialog/index.ts +1 -0
- package/src/ebay-eek/__tests__/index.spec.tsx +81 -0
- package/src/ebay-eek/__tests__/index.stories.tsx +102 -0
- package/src/ebay-eek/__tests__/render.spec.tsx +49 -0
- package/src/ebay-eek/eek-rating.tsx +46 -0
- package/src/ebay-eek/eek-util.ts +34 -0
- package/src/ebay-eek/index.ts +1 -0
- package/src/ebay-fake-menu/__tests__/index.spec.tsx +79 -0
- package/src/ebay-fake-menu/__tests__/index.stories.tsx +127 -0
- package/src/ebay-fake-menu/__tests__/render.spec.tsx +70 -0
- package/src/ebay-fake-menu/index.ts +3 -0
- package/src/ebay-fake-menu/menu-item-separator.tsx +17 -0
- package/src/ebay-fake-menu/menu-item.tsx +84 -0
- package/src/ebay-fake-menu/menu.tsx +58 -0
- package/src/ebay-fake-menu-button/__tests__/__snapshots__/render.spec.tsx.snap +79 -0
- package/src/ebay-fake-menu-button/__tests__/index.spec.tsx +99 -0
- package/src/ebay-fake-menu-button/__tests__/index.stories.tsx +202 -0
- package/src/ebay-fake-menu-button/__tests__/render.spec.tsx +166 -0
- package/src/ebay-fake-menu-button/index.ts +8 -0
- package/src/ebay-fake-menu-button/menu-button-item.tsx +6 -0
- package/src/ebay-fake-menu-button/menu-button-label.tsx +7 -0
- package/src/ebay-fake-menu-button/menu-button-separator.tsx +17 -0
- package/src/ebay-fake-menu-button/menu-button.tsx +147 -0
- package/src/ebay-fake-tabs/__tests__/index.spec.tsx +35 -0
- package/src/ebay-fake-tabs/__tests__/index.stories.tsx +54 -0
- package/src/ebay-fake-tabs/fake-tabs.tsx +41 -0
- package/src/ebay-fake-tabs/index.ts +2 -0
- package/src/ebay-fake-tabs/tab.tsx +23 -0
- package/src/ebay-field/__tests__/index.spec.tsx +42 -0
- package/src/ebay-field/__tests__/index.stories.tsx +159 -0
- package/src/ebay-field/description.tsx +30 -0
- package/src/ebay-field/field.tsx +24 -0
- package/src/ebay-field/index.ts +4 -0
- package/src/ebay-field/label.tsx +31 -0
- package/src/ebay-field/types.ts +7 -0
- package/src/ebay-fullscreen-dialog/__tests__/index.spec.tsx +52 -0
- package/src/ebay-fullscreen-dialog/__tests__/index.stories.tsx +96 -0
- package/src/ebay-fullscreen-dialog/__tests__/render.spec.tsx +44 -0
- package/src/ebay-fullscreen-dialog/fullscreen-dialog.tsx +32 -0
- package/src/ebay-fullscreen-dialog/index.ts +1 -0
- package/src/ebay-icon/__tests__/constants.ts +782 -0
- package/src/ebay-icon/__tests__/index.spec.tsx +46 -0
- package/src/ebay-icon/__tests__/index.stories.tsx +47 -0
- package/src/ebay-icon/icon.tsx +104 -0
- package/src/ebay-icon/index.ts +2 -0
- package/src/ebay-icon/types.ts +779 -0
- package/src/ebay-icon-button/__tests__/index.spec.tsx +59 -0
- package/src/ebay-icon-button/__tests__/index.stories.tsx +64 -0
- package/src/ebay-icon-button/__tests__/render.spec.tsx +61 -0
- package/src/ebay-icon-button/icon-button.tsx +84 -0
- package/src/ebay-icon-button/index.ts +1 -0
- package/src/ebay-infotip/__tests__/__snapshots__/render.spec.tsx.snap +40 -0
- package/src/ebay-infotip/__tests__/index.spec.tsx +108 -0
- package/src/ebay-infotip/__tests__/index.stories.tsx +204 -0
- package/src/ebay-infotip/__tests__/render.spec.tsx +121 -0
- package/src/ebay-infotip/ebay-infotip-content.tsx +10 -0
- package/src/ebay-infotip/ebay-infotip-heading.tsx +13 -0
- package/src/ebay-infotip/ebay-infotip-host.tsx +37 -0
- package/src/ebay-infotip/ebay-infotip.tsx +125 -0
- package/src/ebay-infotip/index.ts +5 -0
- package/src/ebay-infotip/types.ts +1 -0
- package/src/ebay-inline-notice/__tests__/index.spec.tsx +68 -0
- package/src/ebay-inline-notice/__tests__/index.stories.tsx +95 -0
- package/src/ebay-inline-notice/index.ts +3 -0
- package/src/ebay-inline-notice/inline-notice.tsx +62 -0
- package/src/ebay-inline-notice/types.ts +1 -0
- package/src/ebay-lightbox-dialog/__tests__/index.spec.tsx +52 -0
- package/src/ebay-lightbox-dialog/__tests__/index.stories.tsx +274 -0
- package/src/ebay-lightbox-dialog/index.ts +1 -0
- package/src/ebay-lightbox-dialog/lightbox-dialog.tsx +38 -0
- package/src/ebay-listbox-button/__tests__/__snapshots__/render.spec.tsx.snap +118 -0
- package/src/ebay-listbox-button/__tests__/index.spec.tsx +221 -0
- package/src/ebay-listbox-button/__tests__/index.stories.tsx +183 -0
- package/src/ebay-listbox-button/__tests__/render.spec.tsx +140 -0
- package/src/ebay-listbox-button/__tests__/statefull-test.tsx +34 -0
- package/src/ebay-listbox-button/index.ts +2 -0
- package/src/ebay-listbox-button/listbox-button-option.tsx +40 -0
- package/src/ebay-listbox-button/listbox-button.tsx +320 -0
- package/src/ebay-menu/__tests__/index.spec.tsx +287 -0
- package/src/ebay-menu/__tests__/index.stories.tsx +160 -0
- package/src/ebay-menu/index.ts +11 -0
- package/src/ebay-menu/menu-item-separator.tsx +17 -0
- package/src/ebay-menu/menu-item.tsx +69 -0
- package/src/ebay-menu/menu.tsx +174 -0
- package/src/ebay-menu/types.ts +30 -0
- package/src/ebay-menu-button/__tests__/__snapshots__/render.spec.tsx.snap +118 -0
- package/src/ebay-menu-button/__tests__/index.spec.tsx +104 -0
- package/src/ebay-menu-button/__tests__/index.stories.tsx +325 -0
- package/src/ebay-menu-button/__tests__/render.spec.tsx +202 -0
- package/src/ebay-menu-button/index.ts +10 -0
- package/src/ebay-menu-button/menu-button-item.tsx +4 -0
- package/src/ebay-menu-button/menu-button-label.tsx +5 -0
- package/src/ebay-menu-button/menu-button-separator.tsx +17 -0
- package/src/ebay-menu-button/menu-button.tsx +169 -0
- package/src/ebay-menu-button/types.ts +39 -0
- package/src/ebay-notice-base/components/ebay-notice-content/__tests__/index.spec.tsx +29 -0
- package/src/ebay-notice-base/components/ebay-notice-content/index.ts +1 -0
- package/src/ebay-notice-base/components/ebay-notice-content/notice-content.tsx +12 -0
- package/src/ebay-notice-base/components/ebay-notice-title/index.ts +1 -0
- package/src/ebay-notice-base/components/ebay-notice-title/notice-title.tsx +13 -0
- package/src/ebay-notice-base/index.ts +2 -0
- package/src/ebay-page-notice/__tests__/__snapshots__/render.spec.tsx.snap +112 -0
- package/src/ebay-page-notice/__tests__/index.spec.tsx +91 -0
- package/src/ebay-page-notice/__tests__/index.stories.tsx +117 -0
- package/src/ebay-page-notice/__tests__/render.spec.tsx +175 -0
- package/src/ebay-page-notice/index.ts +5 -0
- package/src/ebay-page-notice/page-notice-cta.tsx +15 -0
- package/src/ebay-page-notice/page-notice-footer.tsx +15 -0
- package/src/ebay-page-notice/page-notice-title.tsx +16 -0
- package/src/ebay-page-notice/page-notice.tsx +77 -0
- package/src/ebay-pagination/__tests__/__snapshots__/render.spec.tsx.snap +53 -0
- package/src/ebay-pagination/__tests__/helpers.spec.ts +171 -0
- package/src/ebay-pagination/__tests__/index.spec.tsx +130 -0
- package/src/ebay-pagination/__tests__/index.stories.tsx +317 -0
- package/src/ebay-pagination/__tests__/render.spec.tsx +129 -0
- package/src/ebay-pagination/const.ts +5 -0
- package/src/ebay-pagination/helpers.ts +119 -0
- package/src/ebay-pagination/index.ts +3 -0
- package/src/ebay-pagination/pagination-item.tsx +126 -0
- package/src/ebay-pagination/pagination.tsx +193 -0
- package/src/ebay-pagination/types.ts +2 -0
- package/src/ebay-panel-dialog/__tests__/index.spec.tsx +52 -0
- package/src/ebay-panel-dialog/__tests__/index.stories.tsx +124 -0
- package/src/ebay-panel-dialog/index.ts +1 -0
- package/src/ebay-panel-dialog/panel-dialog.tsx +40 -0
- package/src/ebay-progress-bar/__tests__/index.spec.tsx +41 -0
- package/src/ebay-progress-bar/__tests__/index.stories.tsx +50 -0
- package/src/ebay-progress-bar/index.ts +1 -0
- package/src/ebay-progress-bar/progress-bar.tsx +23 -0
- package/src/ebay-progress-spinner/__tests__/index.spec.tsx +19 -0
- package/src/ebay-progress-spinner/__tests__/index.stories.tsx +24 -0
- package/src/ebay-progress-spinner/index.ts +1 -0
- package/src/ebay-progress-spinner/progress-spinner.tsx +42 -0
- package/src/ebay-progress-stepper/__tests__/__snapshots__/index.spec.tsx.snap +183 -0
- package/src/ebay-progress-stepper/__tests__/index.spec.tsx +129 -0
- package/src/ebay-progress-stepper/__tests__/index.stories.tsx +170 -0
- package/src/ebay-progress-stepper/ebay-progress-step.tsx +58 -0
- package/src/ebay-progress-stepper/ebay-progress-stepper.tsx +68 -0
- package/src/ebay-progress-stepper/ebay-progress-title.tsx +13 -0
- package/src/ebay-progress-stepper/index.ts +4 -0
- package/src/ebay-progress-stepper/types.ts +3 -0
- package/src/ebay-radio/__tests__/index.spec.tsx +48 -0
- package/src/ebay-radio/__tests__/index.stories.tsx +193 -0
- package/src/ebay-radio/__tests__/render.spec.tsx +57 -0
- package/src/ebay-radio/index.ts +1 -0
- package/src/ebay-radio/radio.tsx +85 -0
- package/src/ebay-section-notice/__tests__/index.spec.tsx +109 -0
- package/src/ebay-section-notice/__tests__/index.stories.tsx +199 -0
- package/src/ebay-section-notice/index.ts +9 -0
- package/src/ebay-section-notice/section-notice-cta.tsx +15 -0
- package/src/ebay-section-notice/section-notice-footer.tsx +15 -0
- package/src/ebay-section-notice/section-notice-title.tsx +15 -0
- package/src/ebay-section-notice/section-notice.tsx +107 -0
- package/src/ebay-section-title/__tests__/index.spec.tsx +62 -0
- package/src/ebay-section-title/__tests__/index.stories.tsx +79 -0
- package/src/ebay-section-title/cta.tsx +26 -0
- package/src/ebay-section-title/index.ts +5 -0
- package/src/ebay-section-title/info.tsx +19 -0
- package/src/ebay-section-title/overflow.tsx +19 -0
- package/src/ebay-section-title/section-title.tsx +41 -0
- package/src/ebay-section-title/subtitle.tsx +19 -0
- package/src/ebay-section-title/title.tsx +19 -0
- package/src/ebay-segmented-buttons/__tests__/index.spec.tsx +42 -0
- package/src/ebay-segmented-buttons/__tests__/index.stories.tsx +52 -0
- package/src/ebay-segmented-buttons/button.tsx +39 -0
- package/src/ebay-segmented-buttons/index.ts +3 -0
- package/src/ebay-segmented-buttons/segmented-buttons.tsx +47 -0
- package/src/ebay-segmented-buttons/types.ts +15 -0
- package/src/ebay-select/__tests__/__snapshots__/render.spec.tsx.snap +16 -0
- package/src/ebay-select/__tests__/index.spec.tsx +99 -0
- package/src/ebay-select/__tests__/index.stories.tsx +221 -0
- package/src/ebay-select/__tests__/render.spec.tsx +92 -0
- package/src/ebay-select/ebay-select-option.tsx +10 -0
- package/src/ebay-select/ebay-select.tsx +164 -0
- package/src/ebay-select/index.ts +2 -0
- package/src/ebay-signal/__tests__/index.spec.tsx +26 -0
- package/src/ebay-signal/__tests__/index.stories.tsx +37 -0
- package/src/ebay-signal/index.ts +1 -0
- package/src/ebay-signal/signal.tsx +15 -0
- package/src/ebay-snackbar-dialog/__tests__/index.spec.tsx +151 -0
- package/src/ebay-snackbar-dialog/__tests__/index.stories.tsx +83 -0
- package/src/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.tsx +12 -0
- package/src/ebay-snackbar-dialog/components/ebay-snackbar-dialog.tsx +132 -0
- package/src/ebay-snackbar-dialog/index.ts +2 -0
- package/src/ebay-split-button/__tests__/__snapshots__/render.spec.tsx.snap +118 -0
- package/src/ebay-split-button/__tests__/index.spec.tsx +168 -0
- package/src/ebay-split-button/__tests__/index.stories.tsx +241 -0
- package/src/ebay-split-button/__tests__/render.spec.tsx +156 -0
- package/src/ebay-split-button/index.ts +5 -0
- package/src/ebay-split-button/split-button.tsx +54 -0
- package/src/ebay-split-button/types.ts +19 -0
- package/src/ebay-star-rating/__tests__/__snapshots__/index.spec.tsx.snap +307 -0
- package/src/ebay-star-rating/__tests__/index.spec.tsx +30 -0
- package/src/ebay-star-rating/__tests__/index.stories.tsx +35 -0
- package/src/ebay-star-rating/index.ts +1 -0
- package/src/ebay-star-rating/star-rating.tsx +29 -0
- package/src/ebay-star-rating-select/__tests__/__snapshots__/index.spec.tsx.snap +679 -0
- package/src/ebay-star-rating-select/__tests__/index.spec.tsx +105 -0
- package/src/ebay-star-rating-select/__tests__/index.stories.tsx +73 -0
- package/src/ebay-star-rating-select/__tests__/mocks.tsx +26 -0
- package/src/ebay-star-rating-select/index.ts +1 -0
- package/src/ebay-star-rating-select/star-rating-select.tsx +95 -0
- package/src/ebay-svg/__tests__/index.stories.tsx +16 -0
- package/src/ebay-svg/index.ts +1 -0
- package/src/ebay-svg/svg.tsx +23 -0
- package/src/ebay-svg/symbols.tsx +808 -0
- package/src/ebay-switch/__tests__/index.spec.tsx +28 -0
- package/src/ebay-switch/__tests__/index.stories.tsx +71 -0
- package/src/ebay-switch/__tests__/render.spec.tsx +37 -0
- package/src/ebay-switch/ebay-switch.tsx +56 -0
- package/src/ebay-switch/index.ts +1 -0
- package/src/ebay-tabs/__tests__/index.spec.tsx +205 -0
- package/src/ebay-tabs/__tests__/index.stories.tsx +301 -0
- package/src/ebay-tabs/index.ts +4 -0
- package/src/ebay-tabs/tab-panel.tsx +32 -0
- package/src/ebay-tabs/tab.tsx +38 -0
- package/src/ebay-tabs/tabs.tsx +104 -0
- package/src/ebay-tabs/types.ts +19 -0
- package/src/ebay-textbox/__tests__/__snapshots__/render.spec.tsx.snap +57 -0
- package/src/ebay-textbox/__tests__/index.spec.tsx +155 -0
- package/src/ebay-textbox/__tests__/index.stories.tsx +391 -0
- package/src/ebay-textbox/__tests__/render.spec.tsx +140 -0
- package/src/ebay-textbox/index.ts +7 -0
- package/src/ebay-textbox/postfix-icon.tsx +21 -0
- package/src/ebay-textbox/postfix-text.tsx +8 -0
- package/src/ebay-textbox/prefix-icon.tsx +12 -0
- package/src/ebay-textbox/prefix-text.tsx +8 -0
- package/src/ebay-textbox/textbox.tsx +209 -0
- package/src/ebay-textbox/types.ts +18 -0
- package/src/ebay-toast-dialog/__tests__/index.spec.tsx +41 -0
- package/src/ebay-toast-dialog/__tests__/index.stories.tsx +131 -0
- package/src/ebay-toast-dialog/components/toast.tsx +26 -0
- package/src/ebay-toast-dialog/index.ts +1 -0
- package/src/ebay-tooltip/__tests__/index.spec.tsx +183 -0
- package/src/ebay-tooltip/__tests__/index.stories.tsx +104 -0
- package/src/ebay-tooltip/__tests__/render.spec.tsx +79 -0
- package/src/ebay-tooltip/ebay-tooltip-content.tsx +11 -0
- package/src/ebay-tooltip/ebay-tooltip-host.tsx +11 -0
- package/src/ebay-tooltip/ebay-tooltip.tsx +96 -0
- package/src/ebay-tooltip/index.ts +8 -0
- package/src/ebay-tourtip/__tests__/__snapshots__/render.spec.tsx.snap +14 -0
- package/src/ebay-tourtip/__tests__/index.spec.tsx +105 -0
- package/src/ebay-tourtip/__tests__/index.stories.tsx +116 -0
- package/src/ebay-tourtip/__tests__/render.spec.tsx +214 -0
- package/src/ebay-tourtip/ebay-tourtip-content.tsx +11 -0
- package/src/ebay-tourtip/ebay-tourtip-footer.tsx +19 -0
- package/src/ebay-tourtip/ebay-tourtip-heading.tsx +23 -0
- package/src/ebay-tourtip/ebay-tourtip-host.tsx +11 -0
- package/src/ebay-tourtip/ebay-tourtip.tsx +89 -0
- package/src/ebay-tourtip/index.ts +6 -0
- package/src/ebay-video/__tests__/index.spec.tsx +39 -0
- package/src/ebay-video/__tests__/index.stories.tsx +147 -0
- package/src/ebay-video/__tests__/render.spec.tsx +55 -0
- package/src/ebay-video/const.ts +16 -0
- package/src/ebay-video/controls.tsx +42 -0
- package/src/ebay-video/index.ts +9 -0
- package/src/ebay-video/reportButton.tsx +13 -0
- package/src/ebay-video/shaka-player.d.ts +4 -0
- package/src/ebay-video/source.tsx +7 -0
- package/src/ebay-video/types.ts +10 -0
- package/src/ebay-video/video.tsx +291 -0
- package/src/events/index.ts +30 -0
- package/src/utils/index.ts +9 -0
- package/tsconfig.json +42 -0
- package/vite.config.mjs +50 -0
- package/ebay-dialog-base/components/animation/index.js +0 -1
- package/ebay-dialog-base/components/animation.d.ts.map +0 -1
- /package/{array.polyfill.flat-5BAolFdk.js → dist/array.polyfill.flat-5BAolFdk.js} +0 -0
- /package/{badge-CoHKfiPt.js → dist/badge-CoHKfiPt.js} +0 -0
- /package/{button-DGuEBUDJ.js → dist/button-DGuEBUDJ.js} +0 -0
- /package/{calendar-lAu6VfAb.js → dist/calendar-lAu6VfAb.js} +0 -0
- /package/{common → dist/common}/__mocks__/random-id.d.ts +0 -0
- /package/{common → dist/common}/__mocks__/random-id.d.ts.map +0 -0
- /package/{common → dist/common}/component-utils/array.polyfill.flat.d.ts +0 -0
- /package/{common → dist/common}/component-utils/array.polyfill.flat.d.ts.map +0 -0
- /package/{common → dist/common}/component-utils/forwardRef/index.js +0 -0
- /package/{common → dist/common}/component-utils/forwardRef.d.ts +0 -0
- /package/{common → dist/common}/component-utils/forwardRef.d.ts.map +0 -0
- /package/{common → dist/common}/component-utils/index.d.ts +0 -0
- /package/{common → dist/common}/component-utils/index.d.ts.map +0 -0
- /package/{common → dist/common}/component-utils/index.js +0 -0
- /package/{common → dist/common}/component-utils/utils/index.js +0 -0
- /package/{common → dist/common}/component-utils/utils.d.ts +0 -0
- /package/{common → dist/common}/component-utils/utils.d.ts.map +0 -0
- /package/{common → dist/common}/debounce.d.ts +0 -0
- /package/{common → dist/common}/debounce.d.ts.map +0 -0
- /package/{common → dist/common}/event-utils/index.d.ts +0 -0
- /package/{common → dist/common}/event-utils/index.d.ts.map +0 -0
- /package/{common → dist/common}/event-utils/index.js +0 -0
- /package/{common → dist/common}/event-utils/types.d.ts +0 -0
- /package/{common → dist/common}/event-utils/types.d.ts.map +0 -0
- /package/{common → dist/common}/event-utils/use-key-press.d.ts +0 -0
- /package/{common → dist/common}/event-utils/use-key-press.d.ts.map +0 -0
- /package/{common → dist/common}/event-utils/use-roving-index.d.ts +0 -0
- /package/{common → dist/common}/event-utils/use-roving-index.d.ts.map +0 -0
- /package/{common → dist/common}/floating-label-utils/hooks/index.js +0 -0
- /package/{common → dist/common}/floating-label-utils/hooks.d.ts +0 -0
- /package/{common → dist/common}/floating-label-utils/hooks.d.ts.map +0 -0
- /package/{common → dist/common}/notice-utils/notice-content.d.ts +0 -0
- /package/{common → dist/common}/notice-utils/notice-content.d.ts.map +0 -0
- /package/{common → dist/common}/notice-utils/notice-cta/index.js +0 -0
- /package/{common → dist/common}/notice-utils/notice-cta.d.ts +0 -0
- /package/{common → dist/common}/notice-utils/notice-cta.d.ts.map +0 -0
- /package/{common → dist/common}/notice-utils/notice-footer.d.ts +0 -0
- /package/{common → dist/common}/notice-utils/notice-footer.d.ts.map +0 -0
- /package/{common → dist/common}/notice-utils/notice-title.d.ts +0 -0
- /package/{common → dist/common}/notice-utils/notice-title.d.ts.map +0 -0
- /package/{common → dist/common}/random-id/index.js +0 -0
- /package/{common → dist/common}/random-id.d.ts +0 -0
- /package/{common → dist/common}/random-id.d.ts.map +0 -0
- /package/{common → dist/common}/range.d.ts +0 -0
- /package/{common → dist/common}/range.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/constants/index.js +0 -0
- /package/{common → dist/common}/tooltip-utils/constants.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/constants.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/index.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/index.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/index.js +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip-close-button.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip-close-button.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip-content.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip-content.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip-footer.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip-footer.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip-host.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip-host.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/tooltip.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/types.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/types.d.ts.map +0 -0
- /package/{common → dist/common}/tooltip-utils/use-tooltip.d.ts +0 -0
- /package/{common → dist/common}/tooltip-utils/use-tooltip.d.ts.map +0 -0
- /package/{debounce-BQsYxxOL.js → dist/debounce-BQsYxxOL.js} +0 -0
- /package/{dialog-previous-button-CpuFLkQp.js → dist/dialog-previous-button-CpuFLkQp.js} +0 -0
- /package/{drawer-rqXAEeqd.js → dist/drawer-rqXAEeqd.js} +0 -0
- /package/{ebay-alert-dialog → dist/ebay-alert-dialog}/alert-dialog.d.ts +0 -0
- /package/{ebay-alert-dialog → dist/ebay-alert-dialog}/alert-dialog.d.ts.map +0 -0
- /package/{ebay-alert-dialog → dist/ebay-alert-dialog}/index.d.ts +0 -0
- /package/{ebay-alert-dialog → dist/ebay-alert-dialog}/index.d.ts.map +0 -0
- /package/{ebay-alert-dialog → dist/ebay-alert-dialog}/index.js +0 -0
- /package/{ebay-badge → dist/ebay-badge}/badge.d.ts +0 -0
- /package/{ebay-badge → dist/ebay-badge}/badge.d.ts.map +0 -0
- /package/{ebay-badge → dist/ebay-badge}/index.d.ts +0 -0
- /package/{ebay-badge → dist/ebay-badge}/index.d.ts.map +0 -0
- /package/{ebay-badge → dist/ebay-badge}/index.js +0 -0
- /package/{ebay-breadcrumbs → dist/ebay-breadcrumbs}/breadcrumb-item.d.ts +0 -0
- /package/{ebay-breadcrumbs → dist/ebay-breadcrumbs}/breadcrumb-item.d.ts.map +0 -0
- /package/{ebay-breadcrumbs → dist/ebay-breadcrumbs}/breadcrumbs.d.ts +0 -0
- /package/{ebay-breadcrumbs → dist/ebay-breadcrumbs}/breadcrumbs.d.ts.map +0 -0
- /package/{ebay-breadcrumbs → dist/ebay-breadcrumbs}/index.d.ts +0 -0
- /package/{ebay-breadcrumbs → dist/ebay-breadcrumbs}/index.d.ts.map +0 -0
- /package/{ebay-breadcrumbs → dist/ebay-breadcrumbs}/index.js +0 -0
- /package/{ebay-button → dist/ebay-button}/button-cell.d.ts +0 -0
- /package/{ebay-button → dist/ebay-button}/button-cell.d.ts.map +0 -0
- /package/{ebay-button → dist/ebay-button}/button-expand.d.ts +0 -0
- /package/{ebay-button → dist/ebay-button}/button-expand.d.ts.map +0 -0
- /package/{ebay-button → dist/ebay-button}/button-loading.d.ts +0 -0
- /package/{ebay-button → dist/ebay-button}/button-loading.d.ts.map +0 -0
- /package/{ebay-button → dist/ebay-button}/button-text.d.ts +0 -0
- /package/{ebay-button → dist/ebay-button}/button-text.d.ts.map +0 -0
- /package/{ebay-button → dist/ebay-button}/button.d.ts +0 -0
- /package/{ebay-button → dist/ebay-button}/button.d.ts.map +0 -0
- /package/{ebay-button → dist/ebay-button}/index.d.ts +0 -0
- /package/{ebay-button → dist/ebay-button}/index.d.ts.map +0 -0
- /package/{ebay-button → dist/ebay-button}/index.js +0 -0
- /package/{ebay-button → dist/ebay-button}/types.d.ts +0 -0
- /package/{ebay-button → dist/ebay-button}/types.d.ts.map +0 -0
- /package/{ebay-calendar → dist/ebay-calendar}/calendar.d.ts +0 -0
- /package/{ebay-calendar → dist/ebay-calendar}/calendar.d.ts.map +0 -0
- /package/{ebay-calendar → dist/ebay-calendar}/date-utils.d.ts +0 -0
- /package/{ebay-calendar → dist/ebay-calendar}/date-utils.d.ts.map +0 -0
- /package/{ebay-calendar → dist/ebay-calendar}/index.d.ts +0 -0
- /package/{ebay-calendar → dist/ebay-calendar}/index.d.ts.map +0 -0
- /package/{ebay-calendar → dist/ebay-calendar}/index.js +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/carousel-control-button.d.ts +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/carousel-control-button.d.ts.map +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/carousel-item.d.ts +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/carousel-item.d.ts.map +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/carousel-list.d.ts +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/carousel-list.d.ts.map +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/carousel.d.ts +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/carousel.d.ts.map +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/helpers.d.ts +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/helpers.d.ts.map +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/index.d.ts +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/index.d.ts.map +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/index.js +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/scroll-to-transition.d.ts +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/scroll-to-transition.d.ts.map +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/types.d.ts +0 -0
- /package/{ebay-carousel → dist/ebay-carousel}/types.d.ts.map +0 -0
- /package/{ebay-checkbox → dist/ebay-checkbox}/checkbox.d.ts +0 -0
- /package/{ebay-checkbox → dist/ebay-checkbox}/checkbox.d.ts.map +0 -0
- /package/{ebay-checkbox → dist/ebay-checkbox}/index.d.ts +0 -0
- /package/{ebay-checkbox → dist/ebay-checkbox}/index.d.ts.map +0 -0
- /package/{ebay-checkbox → dist/ebay-checkbox}/index.js +0 -0
- /package/{ebay-confirm-dialog → dist/ebay-confirm-dialog}/confirm-dialog.d.ts +0 -0
- /package/{ebay-confirm-dialog → dist/ebay-confirm-dialog}/confirm-dialog.d.ts.map +0 -0
- /package/{ebay-confirm-dialog → dist/ebay-confirm-dialog}/index.d.ts +0 -0
- /package/{ebay-confirm-dialog → dist/ebay-confirm-dialog}/index.d.ts.map +0 -0
- /package/{ebay-confirm-dialog → dist/ebay-confirm-dialog}/index.js +0 -0
- /package/{ebay-cta-button → dist/ebay-cta-button}/cta-button.d.ts +0 -0
- /package/{ebay-cta-button → dist/ebay-cta-button}/cta-button.d.ts.map +0 -0
- /package/{ebay-cta-button → dist/ebay-cta-button}/index.d.ts +0 -0
- /package/{ebay-cta-button → dist/ebay-cta-button}/index.d.ts.map +0 -0
- /package/{ebay-cta-button → dist/ebay-cta-button}/index.js +0 -0
- /package/{ebay-date-textbox → dist/ebay-date-textbox}/date-textbox.d.ts +0 -0
- /package/{ebay-date-textbox → dist/ebay-date-textbox}/date-textbox.d.ts.map +0 -0
- /package/{ebay-date-textbox → dist/ebay-date-textbox}/index.d.ts +0 -0
- /package/{ebay-date-textbox → dist/ebay-date-textbox}/index.d.ts.map +0 -0
- /package/{ebay-date-textbox → dist/ebay-date-textbox}/index.js +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/animation.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-actions.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-actions.d.ts.map +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-close-button.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-close-button.d.ts.map +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-footer/index.js +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-footer.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-footer.d.ts.map +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-header/index.js +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-header.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-header.d.ts.map +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-previous-button.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialog-previous-button.d.ts.map +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialogBase.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/components/dialogBase.d.ts.map +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/dialog-base-with-state.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/dialog-base-with-state.d.ts.map +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/index.d.ts +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/index.d.ts.map +0 -0
- /package/{ebay-dialog-base → dist/ebay-dialog-base}/index.js +0 -0
- /package/{ebay-drawer-dialog → dist/ebay-drawer-dialog}/components/drawer.d.ts +0 -0
- /package/{ebay-drawer-dialog → dist/ebay-drawer-dialog}/components/drawer.d.ts.map +0 -0
- /package/{ebay-drawer-dialog → dist/ebay-drawer-dialog}/index.d.ts +0 -0
- /package/{ebay-drawer-dialog → dist/ebay-drawer-dialog}/index.d.ts.map +0 -0
- /package/{ebay-drawer-dialog → dist/ebay-drawer-dialog}/index.js +0 -0
- /package/{ebay-eek → dist/ebay-eek}/eek-rating.d.ts +0 -0
- /package/{ebay-eek → dist/ebay-eek}/eek-rating.d.ts.map +0 -0
- /package/{ebay-eek → dist/ebay-eek}/eek-util.d.ts +0 -0
- /package/{ebay-eek → dist/ebay-eek}/eek-util.d.ts.map +0 -0
- /package/{ebay-eek → dist/ebay-eek}/index.d.ts +0 -0
- /package/{ebay-eek → dist/ebay-eek}/index.d.ts.map +0 -0
- /package/{ebay-eek → dist/ebay-eek}/index.js +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/index.d.ts +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/index.d.ts.map +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/index.js +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/menu-item/index.js +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/menu-item-separator.d.ts +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/menu-item-separator.d.ts.map +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/menu-item.d.ts +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/menu-item.d.ts.map +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/menu.d.ts +0 -0
- /package/{ebay-fake-menu → dist/ebay-fake-menu}/menu.d.ts.map +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/index.d.ts +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/index.d.ts.map +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/index.js +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button/index.js +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button-item.d.ts +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button-item.d.ts.map +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button-label.d.ts +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button-label.d.ts.map +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button-separator.d.ts +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button-separator.d.ts.map +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button.d.ts +0 -0
- /package/{ebay-fake-menu-button → dist/ebay-fake-menu-button}/menu-button.d.ts.map +0 -0
- /package/{ebay-fake-tabs → dist/ebay-fake-tabs}/fake-tabs.d.ts +0 -0
- /package/{ebay-fake-tabs → dist/ebay-fake-tabs}/fake-tabs.d.ts.map +0 -0
- /package/{ebay-fake-tabs → dist/ebay-fake-tabs}/index.d.ts +0 -0
- /package/{ebay-fake-tabs → dist/ebay-fake-tabs}/index.d.ts.map +0 -0
- /package/{ebay-fake-tabs → dist/ebay-fake-tabs}/index.js +0 -0
- /package/{ebay-fake-tabs → dist/ebay-fake-tabs}/tab.d.ts +0 -0
- /package/{ebay-fake-tabs → dist/ebay-fake-tabs}/tab.d.ts.map +0 -0
- /package/{ebay-field → dist/ebay-field}/description.d.ts +0 -0
- /package/{ebay-field → dist/ebay-field}/description.d.ts.map +0 -0
- /package/{ebay-field → dist/ebay-field}/field.d.ts +0 -0
- /package/{ebay-field → dist/ebay-field}/field.d.ts.map +0 -0
- /package/{ebay-field → dist/ebay-field}/index.d.ts +0 -0
- /package/{ebay-field → dist/ebay-field}/index.d.ts.map +0 -0
- /package/{ebay-field → dist/ebay-field}/index.js +0 -0
- /package/{ebay-field → dist/ebay-field}/label.d.ts +0 -0
- /package/{ebay-field → dist/ebay-field}/label.d.ts.map +0 -0
- /package/{ebay-field → dist/ebay-field}/types.d.ts +0 -0
- /package/{ebay-field → dist/ebay-field}/types.d.ts.map +0 -0
- /package/{ebay-fullscreen-dialog → dist/ebay-fullscreen-dialog}/fullscreen-dialog.d.ts +0 -0
- /package/{ebay-fullscreen-dialog → dist/ebay-fullscreen-dialog}/fullscreen-dialog.d.ts.map +0 -0
- /package/{ebay-fullscreen-dialog → dist/ebay-fullscreen-dialog}/index.d.ts +0 -0
- /package/{ebay-fullscreen-dialog → dist/ebay-fullscreen-dialog}/index.d.ts.map +0 -0
- /package/{ebay-fullscreen-dialog → dist/ebay-fullscreen-dialog}/index.js +0 -0
- /package/{ebay-icon → dist/ebay-icon}/icon.d.ts +0 -0
- /package/{ebay-icon → dist/ebay-icon}/icon.d.ts.map +0 -0
- /package/{ebay-icon → dist/ebay-icon}/index.d.ts +0 -0
- /package/{ebay-icon → dist/ebay-icon}/index.d.ts.map +0 -0
- /package/{ebay-icon → dist/ebay-icon}/index.js +0 -0
- /package/{ebay-icon → dist/ebay-icon}/types.d.ts +0 -0
- /package/{ebay-icon → dist/ebay-icon}/types.d.ts.map +0 -0
- /package/{ebay-icon-button → dist/ebay-icon-button}/icon-button.d.ts +0 -0
- /package/{ebay-icon-button → dist/ebay-icon-button}/icon-button.d.ts.map +0 -0
- /package/{ebay-icon-button → dist/ebay-icon-button}/index.d.ts +0 -0
- /package/{ebay-icon-button → dist/ebay-icon-button}/index.d.ts.map +0 -0
- /package/{ebay-icon-button → dist/ebay-icon-button}/index.js +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/ebay-infotip-content.d.ts +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/ebay-infotip-content.d.ts.map +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/ebay-infotip-heading.d.ts +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/ebay-infotip-heading.d.ts.map +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/ebay-infotip-host.d.ts +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/ebay-infotip-host.d.ts.map +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/ebay-infotip.d.ts +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/ebay-infotip.d.ts.map +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/index.d.ts +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/index.d.ts.map +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/index.js +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/types.d.ts +0 -0
- /package/{ebay-infotip → dist/ebay-infotip}/types.d.ts.map +0 -0
- /package/{ebay-inline-notice → dist/ebay-inline-notice}/index.d.ts +0 -0
- /package/{ebay-inline-notice → dist/ebay-inline-notice}/index.d.ts.map +0 -0
- /package/{ebay-inline-notice → dist/ebay-inline-notice}/index.js +0 -0
- /package/{ebay-inline-notice → dist/ebay-inline-notice}/inline-notice.d.ts +0 -0
- /package/{ebay-inline-notice → dist/ebay-inline-notice}/inline-notice.d.ts.map +0 -0
- /package/{ebay-inline-notice → dist/ebay-inline-notice}/types.d.ts +0 -0
- /package/{ebay-inline-notice → dist/ebay-inline-notice}/types.d.ts.map +0 -0
- /package/{ebay-lightbox-dialog → dist/ebay-lightbox-dialog}/index.d.ts +0 -0
- /package/{ebay-lightbox-dialog → dist/ebay-lightbox-dialog}/index.d.ts.map +0 -0
- /package/{ebay-lightbox-dialog → dist/ebay-lightbox-dialog}/index.js +0 -0
- /package/{ebay-lightbox-dialog → dist/ebay-lightbox-dialog}/lightbox-dialog.d.ts +0 -0
- /package/{ebay-lightbox-dialog → dist/ebay-lightbox-dialog}/lightbox-dialog.d.ts.map +0 -0
- /package/{ebay-listbox-button → dist/ebay-listbox-button}/index.d.ts +0 -0
- /package/{ebay-listbox-button → dist/ebay-listbox-button}/index.d.ts.map +0 -0
- /package/{ebay-listbox-button → dist/ebay-listbox-button}/index.js +0 -0
- /package/{ebay-listbox-button → dist/ebay-listbox-button}/listbox-button-option.d.ts +0 -0
- /package/{ebay-listbox-button → dist/ebay-listbox-button}/listbox-button-option.d.ts.map +0 -0
- /package/{ebay-listbox-button → dist/ebay-listbox-button}/listbox-button.d.ts +0 -0
- /package/{ebay-listbox-button → dist/ebay-listbox-button}/listbox-button.d.ts.map +0 -0
- /package/{ebay-menu → dist/ebay-menu}/index.d.ts +0 -0
- /package/{ebay-menu → dist/ebay-menu}/index.d.ts.map +0 -0
- /package/{ebay-menu → dist/ebay-menu}/index.js +0 -0
- /package/{ebay-menu → dist/ebay-menu}/menu-item-separator.d.ts +0 -0
- /package/{ebay-menu → dist/ebay-menu}/menu-item-separator.d.ts.map +0 -0
- /package/{ebay-menu → dist/ebay-menu}/menu-item.d.ts +0 -0
- /package/{ebay-menu → dist/ebay-menu}/menu-item.d.ts.map +0 -0
- /package/{ebay-menu → dist/ebay-menu}/menu.d.ts +0 -0
- /package/{ebay-menu → dist/ebay-menu}/menu.d.ts.map +0 -0
- /package/{ebay-menu → dist/ebay-menu}/types.d.ts +0 -0
- /package/{ebay-menu → dist/ebay-menu}/types.d.ts.map +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/index.d.ts +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/index.d.ts.map +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/index.js +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/menu-button-item.d.ts +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/menu-button-item.d.ts.map +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/menu-button-label.d.ts +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/menu-button-label.d.ts.map +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/menu-button-separator.d.ts +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/menu-button-separator.d.ts.map +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/menu-button.d.ts +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/menu-button.d.ts.map +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/types.d.ts +0 -0
- /package/{ebay-menu-button → dist/ebay-menu-button}/types.d.ts.map +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/components/ebay-notice-content/index.d.ts +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/components/ebay-notice-content/index.d.ts.map +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/components/ebay-notice-content/notice-content.d.ts +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/components/ebay-notice-content/notice-content.d.ts.map +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/components/ebay-notice-title/index.d.ts +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/components/ebay-notice-title/index.d.ts.map +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/components/ebay-notice-title/notice-title.d.ts +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/components/ebay-notice-title/notice-title.d.ts.map +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/index.d.ts +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/index.d.ts.map +0 -0
- /package/{ebay-notice-base → dist/ebay-notice-base}/index.js +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/index.d.ts +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/index.d.ts.map +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/index.js +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/page-notice-cta.d.ts +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/page-notice-cta.d.ts.map +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/page-notice-footer.d.ts +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/page-notice-footer.d.ts.map +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/page-notice-title.d.ts +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/page-notice-title.d.ts.map +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/page-notice.d.ts +0 -0
- /package/{ebay-page-notice → dist/ebay-page-notice}/page-notice.d.ts.map +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/const.d.ts +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/const.d.ts.map +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/helpers.d.ts +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/helpers.d.ts.map +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/index.d.ts +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/index.d.ts.map +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/index.js +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/pagination-item.d.ts +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/pagination-item.d.ts.map +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/pagination.d.ts +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/pagination.d.ts.map +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/types.d.ts +0 -0
- /package/{ebay-pagination → dist/ebay-pagination}/types.d.ts.map +0 -0
- /package/{ebay-panel-dialog → dist/ebay-panel-dialog}/index.d.ts +0 -0
- /package/{ebay-panel-dialog → dist/ebay-panel-dialog}/index.d.ts.map +0 -0
- /package/{ebay-panel-dialog → dist/ebay-panel-dialog}/index.js +0 -0
- /package/{ebay-panel-dialog → dist/ebay-panel-dialog}/panel-dialog.d.ts +0 -0
- /package/{ebay-panel-dialog → dist/ebay-panel-dialog}/panel-dialog.d.ts.map +0 -0
- /package/{ebay-progress-bar → dist/ebay-progress-bar}/index.d.ts +0 -0
- /package/{ebay-progress-bar → dist/ebay-progress-bar}/index.d.ts.map +0 -0
- /package/{ebay-progress-bar → dist/ebay-progress-bar}/index.js +0 -0
- /package/{ebay-progress-bar → dist/ebay-progress-bar}/progress-bar.d.ts +0 -0
- /package/{ebay-progress-bar → dist/ebay-progress-bar}/progress-bar.d.ts.map +0 -0
- /package/{ebay-progress-spinner → dist/ebay-progress-spinner}/index.d.ts +0 -0
- /package/{ebay-progress-spinner → dist/ebay-progress-spinner}/index.d.ts.map +0 -0
- /package/{ebay-progress-spinner → dist/ebay-progress-spinner}/index.js +0 -0
- /package/{ebay-progress-spinner → dist/ebay-progress-spinner}/progress-spinner.d.ts +0 -0
- /package/{ebay-progress-spinner → dist/ebay-progress-spinner}/progress-spinner.d.ts.map +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/ebay-progress-step.d.ts +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/ebay-progress-step.d.ts.map +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/ebay-progress-stepper.d.ts +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/ebay-progress-stepper.d.ts.map +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/ebay-progress-title.d.ts +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/ebay-progress-title.d.ts.map +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/index.d.ts +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/index.d.ts.map +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/index.js +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/types.d.ts +0 -0
- /package/{ebay-progress-stepper → dist/ebay-progress-stepper}/types.d.ts.map +0 -0
- /package/{ebay-radio → dist/ebay-radio}/index.d.ts +0 -0
- /package/{ebay-radio → dist/ebay-radio}/index.d.ts.map +0 -0
- /package/{ebay-radio → dist/ebay-radio}/index.js +0 -0
- /package/{ebay-radio → dist/ebay-radio}/radio/index.js +0 -0
- /package/{ebay-radio → dist/ebay-radio}/radio.d.ts +0 -0
- /package/{ebay-radio → dist/ebay-radio}/radio.d.ts.map +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/index.d.ts +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/index.d.ts.map +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/index.js +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/section-notice-cta.d.ts +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/section-notice-cta.d.ts.map +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/section-notice-footer.d.ts +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/section-notice-footer.d.ts.map +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/section-notice-title.d.ts +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/section-notice-title.d.ts.map +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/section-notice.d.ts +0 -0
- /package/{ebay-section-notice → dist/ebay-section-notice}/section-notice.d.ts.map +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/cta.d.ts +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/cta.d.ts.map +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/index.d.ts +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/index.d.ts.map +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/index.js +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/info.d.ts +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/info.d.ts.map +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/overflow.d.ts +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/overflow.d.ts.map +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/section-title.d.ts +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/section-title.d.ts.map +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/subtitle.d.ts +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/subtitle.d.ts.map +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/title.d.ts +0 -0
- /package/{ebay-section-title → dist/ebay-section-title}/title.d.ts.map +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/button.d.ts +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/button.d.ts.map +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/index.d.ts +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/index.d.ts.map +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/index.js +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/segmented-buttons.d.ts +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/segmented-buttons.d.ts.map +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/types.d.ts +0 -0
- /package/{ebay-segmented-buttons → dist/ebay-segmented-buttons}/types.d.ts.map +0 -0
- /package/{ebay-select → dist/ebay-select}/ebay-select-option.d.ts +0 -0
- /package/{ebay-select → dist/ebay-select}/ebay-select-option.d.ts.map +0 -0
- /package/{ebay-select → dist/ebay-select}/ebay-select.d.ts +0 -0
- /package/{ebay-select → dist/ebay-select}/ebay-select.d.ts.map +0 -0
- /package/{ebay-select → dist/ebay-select}/index.d.ts +0 -0
- /package/{ebay-select → dist/ebay-select}/index.d.ts.map +0 -0
- /package/{ebay-select → dist/ebay-select}/index.js +0 -0
- /package/{ebay-signal → dist/ebay-signal}/index.d.ts +0 -0
- /package/{ebay-signal → dist/ebay-signal}/index.d.ts.map +0 -0
- /package/{ebay-signal → dist/ebay-signal}/index.js +0 -0
- /package/{ebay-signal → dist/ebay-signal}/signal.d.ts +0 -0
- /package/{ebay-signal → dist/ebay-signal}/signal.d.ts.map +0 -0
- /package/{ebay-snackbar-dialog → dist/ebay-snackbar-dialog}/components/ebay-snackbar-dialog-action.d.ts +0 -0
- /package/{ebay-snackbar-dialog → dist/ebay-snackbar-dialog}/components/ebay-snackbar-dialog-action.d.ts.map +0 -0
- /package/{ebay-snackbar-dialog → dist/ebay-snackbar-dialog}/components/ebay-snackbar-dialog.d.ts +0 -0
- /package/{ebay-snackbar-dialog → dist/ebay-snackbar-dialog}/components/ebay-snackbar-dialog.d.ts.map +0 -0
- /package/{ebay-snackbar-dialog → dist/ebay-snackbar-dialog}/index.d.ts +0 -0
- /package/{ebay-snackbar-dialog → dist/ebay-snackbar-dialog}/index.d.ts.map +0 -0
- /package/{ebay-snackbar-dialog → dist/ebay-snackbar-dialog}/index.js +0 -0
- /package/{ebay-split-button → dist/ebay-split-button}/index.d.ts +0 -0
- /package/{ebay-split-button → dist/ebay-split-button}/index.d.ts.map +0 -0
- /package/{ebay-split-button → dist/ebay-split-button}/index.js +0 -0
- /package/{ebay-split-button → dist/ebay-split-button}/split-button.d.ts +0 -0
- /package/{ebay-split-button → dist/ebay-split-button}/split-button.d.ts.map +0 -0
- /package/{ebay-split-button → dist/ebay-split-button}/types.d.ts +0 -0
- /package/{ebay-split-button → dist/ebay-split-button}/types.d.ts.map +0 -0
- /package/{ebay-star-rating → dist/ebay-star-rating}/index.d.ts +0 -0
- /package/{ebay-star-rating → dist/ebay-star-rating}/index.d.ts.map +0 -0
- /package/{ebay-star-rating → dist/ebay-star-rating}/index.js +0 -0
- /package/{ebay-star-rating → dist/ebay-star-rating}/star-rating.d.ts +0 -0
- /package/{ebay-star-rating → dist/ebay-star-rating}/star-rating.d.ts.map +0 -0
- /package/{ebay-star-rating-select → dist/ebay-star-rating-select}/index.d.ts +0 -0
- /package/{ebay-star-rating-select → dist/ebay-star-rating-select}/index.d.ts.map +0 -0
- /package/{ebay-star-rating-select → dist/ebay-star-rating-select}/index.js +0 -0
- /package/{ebay-star-rating-select → dist/ebay-star-rating-select}/star-rating-select.d.ts +0 -0
- /package/{ebay-star-rating-select → dist/ebay-star-rating-select}/star-rating-select.d.ts.map +0 -0
- /package/{ebay-svg → dist/ebay-svg}/index.d.ts +0 -0
- /package/{ebay-svg → dist/ebay-svg}/index.d.ts.map +0 -0
- /package/{ebay-svg → dist/ebay-svg}/index.js +0 -0
- /package/{ebay-svg → dist/ebay-svg}/svg.d.ts +0 -0
- /package/{ebay-svg → dist/ebay-svg}/svg.d.ts.map +0 -0
- /package/{ebay-svg → dist/ebay-svg}/symbols.d.ts +0 -0
- /package/{ebay-svg → dist/ebay-svg}/symbols.d.ts.map +0 -0
- /package/{ebay-switch → dist/ebay-switch}/ebay-switch.d.ts +0 -0
- /package/{ebay-switch → dist/ebay-switch}/ebay-switch.d.ts.map +0 -0
- /package/{ebay-switch → dist/ebay-switch}/index.d.ts +0 -0
- /package/{ebay-switch → dist/ebay-switch}/index.d.ts.map +0 -0
- /package/{ebay-switch → dist/ebay-switch}/index.js +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/index.d.ts +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/index.d.ts.map +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/index.js +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/tab-panel.d.ts +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/tab-panel.d.ts.map +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/tab.d.ts +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/tab.d.ts.map +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/tabs.d.ts +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/tabs.d.ts.map +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/types.d.ts +0 -0
- /package/{ebay-tabs → dist/ebay-tabs}/types.d.ts.map +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/index.d.ts +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/index.d.ts.map +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/index.js +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/postfix-icon.d.ts +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/postfix-icon.d.ts.map +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/postfix-text.d.ts +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/postfix-text.d.ts.map +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/prefix-icon.d.ts +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/prefix-icon.d.ts.map +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/prefix-text.d.ts +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/prefix-text.d.ts.map +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/textbox.d.ts +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/textbox.d.ts.map +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/types.d.ts +0 -0
- /package/{ebay-textbox → dist/ebay-textbox}/types.d.ts.map +0 -0
- /package/{ebay-toast-dialog → dist/ebay-toast-dialog}/components/toast.d.ts +0 -0
- /package/{ebay-toast-dialog → dist/ebay-toast-dialog}/components/toast.d.ts.map +0 -0
- /package/{ebay-toast-dialog → dist/ebay-toast-dialog}/index.d.ts +0 -0
- /package/{ebay-toast-dialog → dist/ebay-toast-dialog}/index.d.ts.map +0 -0
- /package/{ebay-toast-dialog → dist/ebay-toast-dialog}/index.js +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/ebay-tooltip-content.d.ts +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/ebay-tooltip-content.d.ts.map +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/ebay-tooltip-host.d.ts +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/ebay-tooltip-host.d.ts.map +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/ebay-tooltip.d.ts +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/ebay-tooltip.d.ts.map +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/index.d.ts +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/index.d.ts.map +0 -0
- /package/{ebay-tooltip → dist/ebay-tooltip}/index.js +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip-content.d.ts +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip-content.d.ts.map +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip-footer.d.ts +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip-footer.d.ts.map +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip-heading.d.ts +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip-heading.d.ts.map +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip-host.d.ts +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip-host.d.ts.map +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip.d.ts +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/ebay-tourtip.d.ts.map +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/index.d.ts +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/index.d.ts.map +0 -0
- /package/{ebay-tourtip → dist/ebay-tourtip}/index.js +0 -0
- /package/{ebay-video → dist/ebay-video}/const.d.ts +0 -0
- /package/{ebay-video → dist/ebay-video}/const.d.ts.map +0 -0
- /package/{ebay-video → dist/ebay-video}/controls.d.ts +0 -0
- /package/{ebay-video → dist/ebay-video}/controls.d.ts.map +0 -0
- /package/{ebay-video → dist/ebay-video}/index.d.ts +0 -0
- /package/{ebay-video → dist/ebay-video}/index.d.ts.map +0 -0
- /package/{ebay-video → dist/ebay-video}/index.js +0 -0
- /package/{ebay-video → dist/ebay-video}/reportButton.d.ts +0 -0
- /package/{ebay-video → dist/ebay-video}/reportButton.d.ts.map +0 -0
- /package/{ebay-video → dist/ebay-video}/source.d.ts +0 -0
- /package/{ebay-video → dist/ebay-video}/source.d.ts.map +0 -0
- /package/{ebay-video → dist/ebay-video}/types.d.ts +0 -0
- /package/{ebay-video → dist/ebay-video}/types.d.ts.map +0 -0
- /package/{ebay-video → dist/ebay-video}/video.d.ts +0 -0
- /package/{ebay-video → dist/ebay-video}/video.d.ts.map +0 -0
- /package/{events → dist/events}/index.d.ts +0 -0
- /package/{events → dist/events}/index.d.ts.map +0 -0
- /package/{events → dist/events}/index.js +0 -0
- /package/{icon-TuxfQndO.js → dist/icon-TuxfQndO.js} +0 -0
- /package/{icon-button-Cwaj-eT9.js → dist/icon-button-Cwaj-eT9.js} +0 -0
- /package/{label-CnrpYJ-g.js → dist/label-CnrpYJ-g.js} +0 -0
- /package/{menu-CV-INYLM.js → dist/menu-CV-INYLM.js} +0 -0
- /package/{menu-_LzP6yje.js → dist/menu-_LzP6yje.js} +0 -0
- /package/{menu-button-BZ66jxvI.js → dist/menu-button-BZ66jxvI.js} +0 -0
- /package/{notice-content-9iF4T8uB.js → dist/notice-content-9iF4T8uB.js} +0 -0
- /package/{notice-content-C0ZStfuX.js → dist/notice-content-C0ZStfuX.js} +0 -0
- /package/{notice-footer-Cw1DMzoB.js → dist/notice-footer-Cw1DMzoB.js} +0 -0
- /package/{progress-spinner-U2qOANON.js → dist/progress-spinner-U2qOANON.js} +0 -0
- /package/{range-DOsPN0h5.js → dist/range-DOsPN0h5.js} +0 -0
- /package/{textbox-dUhinDwj.js → dist/textbox-dUhinDwj.js} +0 -0
- /package/{use-roving-index-DoAVBgsp.js → dist/use-roving-index-DoAVBgsp.js} +0 -0
- /package/{use-tooltip-CL3_zAeg.js → dist/use-tooltip-CL3_zAeg.js} +0 -0
- /package/{utils → dist/utils}/index.d.ts +0 -0
- /package/{utils → dist/utils}/index.d.ts.map +0 -0
- /package/{utils → dist/utils}/index.js +0 -0
- /package/{ebay-alert-dialog → src/ebay-alert-dialog}/README.md +0 -0
- /package/{ebay-badge → src/ebay-badge}/README.md +0 -0
- /package/{ebay-breadcrumbs → src/ebay-breadcrumbs}/README.md +0 -0
- /package/{ebay-button → src/ebay-button}/README.md +0 -0
- /package/{ebay-calendar → src/ebay-calendar}/README.md +0 -0
- /package/{ebay-carousel → src/ebay-carousel}/README.md +0 -0
- /package/{ebay-checkbox → src/ebay-checkbox}/README.md +0 -0
- /package/{ebay-confirm-dialog → src/ebay-confirm-dialog}/README.md +0 -0
- /package/{ebay-cta-button → src/ebay-cta-button}/README.md +0 -0
- /package/{ebay-date-textbox → src/ebay-date-textbox}/README.md +0 -0
- /package/{ebay-dialog-base → src/ebay-dialog-base}/README.md +0 -0
- /package/{ebay-drawer-dialog → src/ebay-drawer-dialog}/README.md +0 -0
- /package/{ebay-eek → src/ebay-eek}/README.md +0 -0
- /package/{ebay-fake-menu → src/ebay-fake-menu}/README.md +0 -0
- /package/{ebay-fake-menu-button → src/ebay-fake-menu-button}/README.md +0 -0
- /package/{ebay-fake-tabs → src/ebay-fake-tabs}/README.md +0 -0
- /package/{ebay-field → src/ebay-field}/README.md +0 -0
- /package/{ebay-fullscreen-dialog → src/ebay-fullscreen-dialog}/README.md +0 -0
- /package/{ebay-icon → src/ebay-icon}/README.md +0 -0
- /package/{ebay-icon-button → src/ebay-icon-button}/README.md +0 -0
- /package/{ebay-infotip → src/ebay-infotip}/README.md +0 -0
- /package/{ebay-inline-notice → src/ebay-inline-notice}/README.md +0 -0
- /package/{ebay-lightbox-dialog → src/ebay-lightbox-dialog}/README.md +0 -0
- /package/{ebay-listbox-button → src/ebay-listbox-button}/README.md +0 -0
- /package/{ebay-menu → src/ebay-menu}/README.md +0 -0
- /package/{ebay-menu-button → src/ebay-menu-button}/README.md +0 -0
- /package/{ebay-page-notice → src/ebay-page-notice}/README.md +0 -0
- /package/{ebay-pagination → src/ebay-pagination}/README.md +0 -0
- /package/{ebay-panel-dialog → src/ebay-panel-dialog}/README.md +0 -0
- /package/{ebay-progress-bar → src/ebay-progress-bar}/README.md +0 -0
- /package/{ebay-progress-spinner → src/ebay-progress-spinner}/README.md +0 -0
- /package/{ebay-progress-stepper → src/ebay-progress-stepper}/README.md +0 -0
- /package/{ebay-radio → src/ebay-radio}/README.md +0 -0
- /package/{ebay-section-notice → src/ebay-section-notice}/README.md +0 -0
- /package/{ebay-section-title → src/ebay-section-title}/README.md +0 -0
- /package/{ebay-segmented-buttons → src/ebay-segmented-buttons}/README.md +0 -0
- /package/{ebay-select → src/ebay-select}/README.md +0 -0
- /package/{ebay-signal → src/ebay-signal}/README.md +0 -0
- /package/{ebay-snackbar-dialog → src/ebay-snackbar-dialog}/README.md +0 -0
- /package/{ebay-split-button → src/ebay-split-button}/README.md +0 -0
- /package/{ebay-star-rating → src/ebay-star-rating}/README.md +0 -0
- /package/{ebay-star-rating-select → src/ebay-star-rating-select}/README.md +0 -0
- /package/{ebay-svg → src/ebay-svg}/README.md +0 -0
- /package/{ebay-switch → src/ebay-switch}/README.md +0 -0
- /package/{ebay-tabs → src/ebay-tabs}/README.md +0 -0
- /package/{ebay-textbox → src/ebay-textbox}/README.md +0 -0
- /package/{ebay-toast-dialog → src/ebay-toast-dialog}/README.md +0 -0
- /package/{ebay-tooltip → src/ebay-tooltip}/README.md +0 -0
- /package/{ebay-tourtip → src/ebay-tourtip}/README.md +0 -0
- /package/{ebay-video → src/ebay-video}/README.md +0 -0
- /package/{events → src/events}/README.md +0 -0
- /package/{utils → src/utils}/README.md +0 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`ebay-split-button rendering renders split button correctly 1`] = `
|
|
4
|
+
<svg
|
|
5
|
+
aria-hidden="true"
|
|
6
|
+
class="icon icon--12"
|
|
7
|
+
focusable="false"
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
>
|
|
10
|
+
<use
|
|
11
|
+
xlink:href="#icon-chevron-down-12"
|
|
12
|
+
/>
|
|
13
|
+
</svg>
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
exports[`ebay-split-button rendering renders split button correctly 2`] = `
|
|
17
|
+
<svg
|
|
18
|
+
aria-hidden="true"
|
|
19
|
+
class="icon icon--12"
|
|
20
|
+
focusable="false"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
>
|
|
23
|
+
<use
|
|
24
|
+
xlink:href="#icon-chevron-down-12"
|
|
25
|
+
/>
|
|
26
|
+
</svg>
|
|
27
|
+
`;
|
|
28
|
+
|
|
29
|
+
exports[`ebay-split-button rendering renders split button correctly 3`] = `
|
|
30
|
+
<svg
|
|
31
|
+
aria-hidden="true"
|
|
32
|
+
class="icon icon--12"
|
|
33
|
+
focusable="false"
|
|
34
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
35
|
+
>
|
|
36
|
+
<use
|
|
37
|
+
xlink:href="#icon-chevron-down-12"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
`;
|
|
41
|
+
|
|
42
|
+
exports[`ebay-split-button rendering renders split button with controls correctly 1`] = `
|
|
43
|
+
<svg
|
|
44
|
+
aria-hidden="true"
|
|
45
|
+
class="icon icon--12"
|
|
46
|
+
focusable="false"
|
|
47
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
48
|
+
>
|
|
49
|
+
<use
|
|
50
|
+
xlink:href="#icon-chevron-down-12"
|
|
51
|
+
/>
|
|
52
|
+
</svg>
|
|
53
|
+
`;
|
|
54
|
+
|
|
55
|
+
exports[`ebay-split-button rendering renders split button with loading state correctly 1`] = `
|
|
56
|
+
<svg
|
|
57
|
+
aria-hidden="true"
|
|
58
|
+
class="icon icon--12"
|
|
59
|
+
focusable="false"
|
|
60
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
61
|
+
>
|
|
62
|
+
<use
|
|
63
|
+
xlink:href="#icon-chevron-down-12"
|
|
64
|
+
/>
|
|
65
|
+
</svg>
|
|
66
|
+
`;
|
|
67
|
+
|
|
68
|
+
exports[`ebay-split-button rendering renders split button with pre-loading state correctly 1`] = `
|
|
69
|
+
<svg
|
|
70
|
+
aria-hidden="true"
|
|
71
|
+
class="icon icon--12"
|
|
72
|
+
focusable="false"
|
|
73
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
74
|
+
>
|
|
75
|
+
<use
|
|
76
|
+
xlink:href="#icon-chevron-down-12"
|
|
77
|
+
/>
|
|
78
|
+
</svg>
|
|
79
|
+
`;
|
|
80
|
+
|
|
81
|
+
exports[`ebay-split-button rendering renders split button with size correctly 1`] = `
|
|
82
|
+
<svg
|
|
83
|
+
aria-hidden="true"
|
|
84
|
+
class="icon icon--12"
|
|
85
|
+
focusable="false"
|
|
86
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
87
|
+
>
|
|
88
|
+
<use
|
|
89
|
+
xlink:href="#icon-chevron-down-12"
|
|
90
|
+
/>
|
|
91
|
+
</svg>
|
|
92
|
+
`;
|
|
93
|
+
|
|
94
|
+
exports[`ebay-split-button rendering renders transparent split button correctly 1`] = `
|
|
95
|
+
<svg
|
|
96
|
+
aria-hidden="true"
|
|
97
|
+
class="icon icon--12"
|
|
98
|
+
focusable="false"
|
|
99
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
100
|
+
>
|
|
101
|
+
<use
|
|
102
|
+
xlink:href="#icon-chevron-down-12"
|
|
103
|
+
/>
|
|
104
|
+
</svg>
|
|
105
|
+
`;
|
|
106
|
+
|
|
107
|
+
exports[`ebay-split-button rendering renders truncated split button correctly 1`] = `
|
|
108
|
+
<svg
|
|
109
|
+
aria-hidden="true"
|
|
110
|
+
class="icon icon--12"
|
|
111
|
+
focusable="false"
|
|
112
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
113
|
+
>
|
|
114
|
+
<use
|
|
115
|
+
xlink:href="#icon-chevron-down-12"
|
|
116
|
+
/>
|
|
117
|
+
</svg>
|
|
118
|
+
`;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { fireEvent, render, screen } from '@testing-library/react'
|
|
3
|
+
import { EbayMenuButtonItem as Item } from '../../ebay-menu-button'
|
|
4
|
+
import { EbaySplitButton, Props } from '../index'
|
|
5
|
+
|
|
6
|
+
const values = ['first', 'second', 'third']
|
|
7
|
+
|
|
8
|
+
jest.mock('../../common/random-id')
|
|
9
|
+
|
|
10
|
+
describe('<EbaySplitButton>', () => {
|
|
11
|
+
describe('on button click', () => {
|
|
12
|
+
it('should fire onClick event', () => {
|
|
13
|
+
const spy = jest.fn()
|
|
14
|
+
const wrapper = render(splitButton({ onClick: spy }))
|
|
15
|
+
fireEvent.click(wrapper.getAllByRole('button')[0])
|
|
16
|
+
|
|
17
|
+
expect(spy).toHaveBeenCalled()
|
|
18
|
+
})
|
|
19
|
+
})
|
|
20
|
+
describe('on escape keydown', () => {
|
|
21
|
+
it('should fire onEscape event', () => {
|
|
22
|
+
const spy = jest.fn()
|
|
23
|
+
const wrapper = render(splitButton({ onEscape: (e) => spy(e) }))
|
|
24
|
+
|
|
25
|
+
fireEvent.keyDown(wrapper.getAllByRole('button')[0], { key: 'Escape' })
|
|
26
|
+
|
|
27
|
+
expect(spy).toHaveBeenCalled()
|
|
28
|
+
})
|
|
29
|
+
})
|
|
30
|
+
describe('on expand/collapse', () => {
|
|
31
|
+
it('should fire onExpand/onCollapse event', async () => {
|
|
32
|
+
const expandSpy = jest.fn()
|
|
33
|
+
const collapseSpy = jest.fn()
|
|
34
|
+
render(splitButton({ onExpand: expandSpy, onCollapse: collapseSpy }))
|
|
35
|
+
|
|
36
|
+
const dropdownButton = screen.getAllByRole('button')[1]
|
|
37
|
+
fireEvent.click(dropdownButton)
|
|
38
|
+
|
|
39
|
+
expect(expandSpy).toHaveBeenCalled()
|
|
40
|
+
expect(collapseSpy).not.toHaveBeenCalled()
|
|
41
|
+
|
|
42
|
+
expandSpy.mockReset()
|
|
43
|
+
collapseSpy.mockReset()
|
|
44
|
+
fireEvent.click(dropdownButton)
|
|
45
|
+
|
|
46
|
+
expect(expandSpy).not.toHaveBeenCalled()
|
|
47
|
+
expect(collapseSpy).toHaveBeenCalled()
|
|
48
|
+
})
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
describe('on focus/blur', () => {
|
|
52
|
+
it('should fire onFocus/onBlur event', () => {
|
|
53
|
+
const focusSpy = jest.fn()
|
|
54
|
+
const blurSpy = jest.fn()
|
|
55
|
+
render(splitButton({ onFocus: focusSpy, onBlur: blurSpy }))
|
|
56
|
+
|
|
57
|
+
const [mainButton] = screen.getAllByRole('button')
|
|
58
|
+
fireEvent.focus(mainButton)
|
|
59
|
+
|
|
60
|
+
expect(focusSpy).toHaveBeenCalled()
|
|
61
|
+
expect(blurSpy).not.toHaveBeenCalled()
|
|
62
|
+
|
|
63
|
+
focusSpy.mockReset()
|
|
64
|
+
blurSpy.mockReset()
|
|
65
|
+
fireEvent.blur(mainButton)
|
|
66
|
+
|
|
67
|
+
expect(focusSpy).not.toHaveBeenCalled()
|
|
68
|
+
expect(blurSpy).toHaveBeenCalled()
|
|
69
|
+
})
|
|
70
|
+
})
|
|
71
|
+
|
|
72
|
+
describe('on select', () => {
|
|
73
|
+
it('should fire onSelect event', () => {
|
|
74
|
+
const indexToSelect = 0
|
|
75
|
+
const spy = jest.fn()
|
|
76
|
+
render(splitButton({ onSelect: spy }))
|
|
77
|
+
|
|
78
|
+
const dropdownButton = screen.getAllByRole('button')[1]
|
|
79
|
+
fireEvent.click(dropdownButton)
|
|
80
|
+
const menuItem = screen.getAllByRole('menuitem')[indexToSelect]
|
|
81
|
+
fireEvent.click(menuItem)
|
|
82
|
+
const expectedEventProps = {
|
|
83
|
+
index: indexToSelect,
|
|
84
|
+
checked: [indexToSelect]
|
|
85
|
+
}
|
|
86
|
+
expect(spy).toHaveBeenCalledWith(expect.any(Object), expectedEventProps)
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
|
|
90
|
+
describe('type="radio"', () => {
|
|
91
|
+
it('should fire onChange event', () => {
|
|
92
|
+
const indexToCheck = 1
|
|
93
|
+
const anotherIndexToCheck = 2
|
|
94
|
+
const spy = jest.fn()
|
|
95
|
+
render(splitButton({ type: 'radio', onChange: spy }))
|
|
96
|
+
|
|
97
|
+
const dropdownButton = screen.getAllByRole('button')[1]
|
|
98
|
+
fireEvent.click(dropdownButton)
|
|
99
|
+
const menuItems = screen.getAllByRole('menuitemradio')
|
|
100
|
+
const menuItem = menuItems[indexToCheck]
|
|
101
|
+
fireEvent.click(menuItem)
|
|
102
|
+
|
|
103
|
+
const expectedEventProps = {
|
|
104
|
+
index: indexToCheck,
|
|
105
|
+
indexes: [indexToCheck],
|
|
106
|
+
checked: [indexToCheck],
|
|
107
|
+
checkedValues: [values[indexToCheck]]
|
|
108
|
+
}
|
|
109
|
+
expect(spy).toHaveBeenCalledWith(expect.any(Object), expectedEventProps)
|
|
110
|
+
spy.mockClear()
|
|
111
|
+
|
|
112
|
+
const anotherMenuItem = menuItems[anotherIndexToCheck]
|
|
113
|
+
fireEvent.click(anotherMenuItem)
|
|
114
|
+
|
|
115
|
+
const newerExpectedEventProps = {
|
|
116
|
+
index: anotherIndexToCheck,
|
|
117
|
+
indexes: [anotherIndexToCheck],
|
|
118
|
+
checked: [anotherIndexToCheck],
|
|
119
|
+
checkedValues: [values[anotherIndexToCheck]]
|
|
120
|
+
}
|
|
121
|
+
expect(spy).toHaveBeenCalledWith(expect.any(Object), newerExpectedEventProps)
|
|
122
|
+
})
|
|
123
|
+
})
|
|
124
|
+
|
|
125
|
+
describe('type="checkbox"', () => {
|
|
126
|
+
it('should fire onChange event', () => {
|
|
127
|
+
const indexToCheck = 1
|
|
128
|
+
const anotherIndexToCheck = 2
|
|
129
|
+
const spy = jest.fn()
|
|
130
|
+
render(splitButton({ type: 'checkbox', onChange: spy }))
|
|
131
|
+
|
|
132
|
+
const dropdownButton = screen.getAllByRole('button')[1]
|
|
133
|
+
fireEvent.click(dropdownButton)
|
|
134
|
+
const menuItems = screen.getAllByRole('menuitemcheckbox')
|
|
135
|
+
const menuItem = menuItems[indexToCheck]
|
|
136
|
+
fireEvent.click(menuItem)
|
|
137
|
+
|
|
138
|
+
const expectedEventProps = {
|
|
139
|
+
index: indexToCheck,
|
|
140
|
+
indexes: [indexToCheck],
|
|
141
|
+
checked: [indexToCheck],
|
|
142
|
+
checkedValues: [values[indexToCheck]]
|
|
143
|
+
}
|
|
144
|
+
expect(spy).toHaveBeenCalledWith(expect.any(Object), expectedEventProps)
|
|
145
|
+
spy.mockClear()
|
|
146
|
+
|
|
147
|
+
const anotherMenuItem = menuItems[anotherIndexToCheck]
|
|
148
|
+
fireEvent.click(anotherMenuItem)
|
|
149
|
+
|
|
150
|
+
const newerExpectedEventProps = {
|
|
151
|
+
index: anotherIndexToCheck,
|
|
152
|
+
indexes: [indexToCheck, anotherIndexToCheck],
|
|
153
|
+
checked: [indexToCheck, anotherIndexToCheck],
|
|
154
|
+
checkedValues: [values[indexToCheck], values[anotherIndexToCheck]]
|
|
155
|
+
}
|
|
156
|
+
expect(spy).toHaveBeenCalledWith(expect.any(Object), newerExpectedEventProps)
|
|
157
|
+
})
|
|
158
|
+
})
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
function splitButton(props: Props) {
|
|
162
|
+
return (
|
|
163
|
+
<EbaySplitButton {...props}>
|
|
164
|
+
Split Button
|
|
165
|
+
{[0, 1, 2].map((n, i) => <Item value={values[n]} key={i}>Item {n + 1}</Item>)}
|
|
166
|
+
</EbaySplitButton>
|
|
167
|
+
)
|
|
168
|
+
}
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import React, { useState } from 'react'
|
|
2
|
+
import { Meta } from '@storybook/react'
|
|
3
|
+
import { action } from '@storybook/addon-actions'
|
|
4
|
+
import { EbayIcon } from '../../ebay-icon'
|
|
5
|
+
import {
|
|
6
|
+
EbayMenuButtonItem as Item,
|
|
7
|
+
EbayMenuButtonSeparator as Separator
|
|
8
|
+
} from '../../ebay-menu-button'
|
|
9
|
+
import { EbaySplitButton } from '../index'
|
|
10
|
+
import { Priority } from '../../ebay-button'
|
|
11
|
+
|
|
12
|
+
Item.displayName = 'Item'
|
|
13
|
+
Item.toString = () => 'Item'
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
title: 'buttons/ebay-split-button'
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Controls = {
|
|
20
|
+
render: (args) => (
|
|
21
|
+
<EbaySplitButton {...args}>
|
|
22
|
+
Save document
|
|
23
|
+
<Item>Save as...</Item>
|
|
24
|
+
<Item>Export</Item>
|
|
25
|
+
</EbaySplitButton>
|
|
26
|
+
),
|
|
27
|
+
|
|
28
|
+
parameters: {
|
|
29
|
+
component: EbaySplitButton,
|
|
30
|
+
args: {
|
|
31
|
+
priority: 'secondary',
|
|
32
|
+
a11yMenuText: 'Show save options'
|
|
33
|
+
},
|
|
34
|
+
argTypes: {
|
|
35
|
+
priority: {
|
|
36
|
+
options: ['primary', 'secondary', 'tertiary', 'none'] as Priority[],
|
|
37
|
+
control: 'select'
|
|
38
|
+
},
|
|
39
|
+
onClick: { action: 'clicked' },
|
|
40
|
+
onKeyDown: { action: 'key down' },
|
|
41
|
+
onEscape: { action: 'Esc pressed' },
|
|
42
|
+
onFocus: { action: 'focused' },
|
|
43
|
+
onBlur: { action: 'blured' },
|
|
44
|
+
onCollapse: { action: 'collapsed' },
|
|
45
|
+
onExpand: { action: 'expanded' },
|
|
46
|
+
onSelect: { action: 'selected' }
|
|
47
|
+
}
|
|
48
|
+
} as Meta<typeof EbaySplitButton>
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export const Default = () => (
|
|
52
|
+
<>
|
|
53
|
+
<p>
|
|
54
|
+
<EbaySplitButton
|
|
55
|
+
priority="primary"
|
|
56
|
+
a11yMenuText="Show save options"
|
|
57
|
+
onClick={action('click')}
|
|
58
|
+
// testing TS compilation here:
|
|
59
|
+
onKeyDown={(e) => action('key down')(e)}
|
|
60
|
+
onSelect={(e, { index, checked }) => action('select')(e, { index, checked })}
|
|
61
|
+
onChange={(e, { index, checked }) => action('change')(e, { index, checked })}
|
|
62
|
+
//
|
|
63
|
+
onEscape={action('escape')}
|
|
64
|
+
onFocus={action('focus')}
|
|
65
|
+
onBlur={action('blur')}
|
|
66
|
+
onCollapse={action('collapse')}
|
|
67
|
+
onExpand={action('expand')}
|
|
68
|
+
>
|
|
69
|
+
Save document
|
|
70
|
+
<Item>Save as...</Item>
|
|
71
|
+
<Item>Export</Item>
|
|
72
|
+
</EbaySplitButton>
|
|
73
|
+
</p>
|
|
74
|
+
<p>
|
|
75
|
+
<EbaySplitButton a11yMenuText="Menu" onClick={action('clicked')}>
|
|
76
|
+
Split Button Menu with Separator
|
|
77
|
+
<Item>Item 1</Item>
|
|
78
|
+
<Item>Item 2</Item>
|
|
79
|
+
<Separator />
|
|
80
|
+
<Item>Item 3</Item>
|
|
81
|
+
</EbaySplitButton>
|
|
82
|
+
</p>
|
|
83
|
+
<p>
|
|
84
|
+
<EbaySplitButton priority="tertiary" a11yMenuText="Expand" onClick={action('clicked')}>
|
|
85
|
+
Tertiary button menu with icons
|
|
86
|
+
<Item>
|
|
87
|
+
<EbayIcon name="confirmation16" style={{ marginRight: '8px' }} /> Confirmed
|
|
88
|
+
</Item>
|
|
89
|
+
<Item>
|
|
90
|
+
<EbayIcon name="attention16" style={{ marginRight: '8px' }} /> Not yet confirmed
|
|
91
|
+
</Item>
|
|
92
|
+
<Item>
|
|
93
|
+
<EbayIcon name="attention16" style={{ marginRight: '8px' }} /> Not yet confirmed
|
|
94
|
+
</Item>
|
|
95
|
+
</EbaySplitButton>
|
|
96
|
+
</p>
|
|
97
|
+
</>
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
export const Size = () => (
|
|
101
|
+
<>
|
|
102
|
+
<p>
|
|
103
|
+
<EbaySplitButton
|
|
104
|
+
priority="primary"
|
|
105
|
+
size="large"
|
|
106
|
+
type="checkbox"
|
|
107
|
+
a11yMenuText="Show options"
|
|
108
|
+
onClick={action('clicked')}
|
|
109
|
+
onChange={action('change')}
|
|
110
|
+
>
|
|
111
|
+
Primary multi-select
|
|
112
|
+
<Item>Item 1</Item>
|
|
113
|
+
<Item checked>Item 2</Item>
|
|
114
|
+
<Item>Item 3</Item>
|
|
115
|
+
<Item checked>Item 4</Item>
|
|
116
|
+
</EbaySplitButton>
|
|
117
|
+
</p>
|
|
118
|
+
<p>
|
|
119
|
+
<EbaySplitButton
|
|
120
|
+
size="large"
|
|
121
|
+
type="radio"
|
|
122
|
+
a11yMenuText="Menu"
|
|
123
|
+
onClick={action('clicked')}
|
|
124
|
+
onChange={action('change')}
|
|
125
|
+
>
|
|
126
|
+
Single-select
|
|
127
|
+
<Item>Item 1</Item>
|
|
128
|
+
<Item checked>Item 2</Item>
|
|
129
|
+
<Item>Item 3</Item>
|
|
130
|
+
</EbaySplitButton>
|
|
131
|
+
</p>
|
|
132
|
+
<p>
|
|
133
|
+
<EbaySplitButton
|
|
134
|
+
size="large"
|
|
135
|
+
priority="tertiary"
|
|
136
|
+
a11yMenuText="Expand"
|
|
137
|
+
onClick={action('clicked')}
|
|
138
|
+
onSelect={action('select')}
|
|
139
|
+
>
|
|
140
|
+
Tertiary
|
|
141
|
+
<Item>Item 1</Item>
|
|
142
|
+
<Item>Item 2</Item>
|
|
143
|
+
<Item>Item 3</Item>
|
|
144
|
+
</EbaySplitButton>
|
|
145
|
+
</p>
|
|
146
|
+
</>
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
export const Truncated = () => (
|
|
150
|
+
<>
|
|
151
|
+
<p>
|
|
152
|
+
<EbaySplitButton
|
|
153
|
+
priority="primary"
|
|
154
|
+
style={{ maxWidth: '200px' }}
|
|
155
|
+
truncate
|
|
156
|
+
a11yMenuText="Show options"
|
|
157
|
+
onClick={action('clicked')}
|
|
158
|
+
>
|
|
159
|
+
Primary Split Button with truncated text label
|
|
160
|
+
<Item>Item 1</Item>
|
|
161
|
+
<Item>Item 2</Item>
|
|
162
|
+
<Item>Item 3</Item>
|
|
163
|
+
</EbaySplitButton>
|
|
164
|
+
</p>
|
|
165
|
+
<p>
|
|
166
|
+
<EbaySplitButton
|
|
167
|
+
style={{ maxWidth: '200px' }}
|
|
168
|
+
truncate
|
|
169
|
+
a11yMenuText="Menu"
|
|
170
|
+
onClick={action('clicked')}
|
|
171
|
+
>
|
|
172
|
+
Split Button with truncated text label
|
|
173
|
+
<Item>Item 1</Item>
|
|
174
|
+
<Item>Item 2</Item>
|
|
175
|
+
<Item>Item 3</Item>
|
|
176
|
+
</EbaySplitButton>
|
|
177
|
+
</p>
|
|
178
|
+
</>
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
export const Loading = (args) => {
|
|
182
|
+
const [loading, setLoading] = useState(false)
|
|
183
|
+
|
|
184
|
+
return (
|
|
185
|
+
<>
|
|
186
|
+
<p>
|
|
187
|
+
<EbaySplitButton
|
|
188
|
+
bodyState={loading ? 'loading' : 'reset'}
|
|
189
|
+
a11yMenuText="Show options"
|
|
190
|
+
a11yButtonLoadingText="Stand by or stop loading by using menu"
|
|
191
|
+
onClick={() => setLoading(true)}
|
|
192
|
+
onSelect={(e, { index }) => {
|
|
193
|
+
const value = [true, false][index]
|
|
194
|
+
setLoading(value)
|
|
195
|
+
}}
|
|
196
|
+
{...args}
|
|
197
|
+
>
|
|
198
|
+
Load
|
|
199
|
+
<Item disabled={loading}>Start loading</Item>
|
|
200
|
+
<Item disabled={!loading}>Stop loading</Item>
|
|
201
|
+
</EbaySplitButton>
|
|
202
|
+
</p>
|
|
203
|
+
</>
|
|
204
|
+
)
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export const Transparent = () => (
|
|
208
|
+
<div style={{ background: 'lightcyan', padding: '1em' }}>
|
|
209
|
+
<p>
|
|
210
|
+
<EbaySplitButton transparent a11yMenuText="Show options" onClick={action('clicked')}>
|
|
211
|
+
Transparent split button
|
|
212
|
+
<Item>Item 1</Item>
|
|
213
|
+
<Item>Item 2</Item>
|
|
214
|
+
<Item>Item 3</Item>
|
|
215
|
+
</EbaySplitButton>
|
|
216
|
+
</p>
|
|
217
|
+
<p>
|
|
218
|
+
<EbaySplitButton
|
|
219
|
+
priority="tertiary"
|
|
220
|
+
transparent
|
|
221
|
+
a11yMenuText="Show options"
|
|
222
|
+
onClick={action('clicked')}
|
|
223
|
+
>
|
|
224
|
+
Transparent tertiary split button
|
|
225
|
+
<Item>Item 1</Item>
|
|
226
|
+
<Item>Item 2</Item>
|
|
227
|
+
<Item>Item 3</Item>
|
|
228
|
+
</EbaySplitButton>
|
|
229
|
+
</p>
|
|
230
|
+
</div>
|
|
231
|
+
)
|
|
232
|
+
|
|
233
|
+
export const Disabled = () => (
|
|
234
|
+
<>
|
|
235
|
+
<p>
|
|
236
|
+
<EbaySplitButton disabled a11yMenuText="Show options" onClick={action('clicked')}>
|
|
237
|
+
Disabled Split Button
|
|
238
|
+
</EbaySplitButton>
|
|
239
|
+
</p>
|
|
240
|
+
</>
|
|
241
|
+
)
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { render, within } from '@testing-library/react'
|
|
3
|
+
import { composeStories } from '@storybook/react'
|
|
4
|
+
import * as stories from './index.stories'
|
|
5
|
+
|
|
6
|
+
const { Default, Disabled, Controls, Loading, Size, Transparent, Truncated } = composeStories(stories)
|
|
7
|
+
|
|
8
|
+
jest.mock('../../common/random-id')
|
|
9
|
+
|
|
10
|
+
describe('ebay-split-button rendering', () => {
|
|
11
|
+
it('renders split button correctly', () => {
|
|
12
|
+
const { container } = render(<Default />)
|
|
13
|
+
|
|
14
|
+
const [splitButton, splitButtonWithSeparator, splitButtonTertiary] = container.querySelectorAll('.split-button')
|
|
15
|
+
const buttonSave = within(splitButton as HTMLElement).getByRole('button', { name: 'Save document' })
|
|
16
|
+
expect(buttonSave).toHaveClass('btn btn--primary btn--split-start')
|
|
17
|
+
|
|
18
|
+
const menuButtonContainer: HTMLElement = splitButton.querySelector('.menu-button')
|
|
19
|
+
const buttonMenu = within(menuButtonContainer).getByRole('button', { name: 'Show save options' })
|
|
20
|
+
expect(buttonMenu).toHaveClass('btn menu-button__button btn--primary btn--split-end')
|
|
21
|
+
expect(buttonMenu).toHaveAttribute('aria-expanded', 'false')
|
|
22
|
+
expect(buttonMenu).toHaveAttribute('aria-haspopup', 'true')
|
|
23
|
+
expect(buttonMenu).toHaveAttribute('aria-controls', 'abc123')
|
|
24
|
+
expect(buttonMenu.querySelector('svg')).toMatchSnapshot()
|
|
25
|
+
|
|
26
|
+
const buttonWithSeparator = within(splitButtonWithSeparator as HTMLElement).getByRole('button', { name: 'Split Button Menu with Separator' })
|
|
27
|
+
expect(buttonWithSeparator).toHaveClass('btn btn--secondary btn--split-start')
|
|
28
|
+
|
|
29
|
+
const menuButtonWithSeparatorContainer: HTMLElement = splitButtonWithSeparator.querySelector('.menu-button')
|
|
30
|
+
const buttonMenuWithSeparator = within(menuButtonWithSeparatorContainer).getByRole('button', { name: 'Menu' })
|
|
31
|
+
expect(buttonMenuWithSeparator).toHaveClass('btn menu-button__button btn--secondary btn--split-end')
|
|
32
|
+
expect(buttonMenuWithSeparator).toHaveAttribute('aria-expanded', 'false')
|
|
33
|
+
expect(buttonMenuWithSeparator).toHaveAttribute('aria-haspopup', 'true')
|
|
34
|
+
expect(buttonMenuWithSeparator).toHaveAttribute('aria-controls', 'abc123')
|
|
35
|
+
expect(buttonMenuWithSeparator.querySelector('svg')).toMatchSnapshot()
|
|
36
|
+
|
|
37
|
+
const buttonTertiary = within(splitButtonTertiary as HTMLElement).getByRole('button', { name: 'Tertiary button menu with icons' })
|
|
38
|
+
expect(buttonTertiary).toHaveClass('btn btn--tertiary btn--split-start')
|
|
39
|
+
|
|
40
|
+
const menuButtonTertiaryContainer: HTMLElement = splitButtonTertiary.querySelector('.menu-button')
|
|
41
|
+
const buttonMenuTertiary = within(menuButtonTertiaryContainer).getByRole('button', { name: 'Expand' })
|
|
42
|
+
expect(buttonMenuTertiary).toHaveClass('btn menu-button__button btn--tertiary btn--split-end')
|
|
43
|
+
expect(buttonMenuTertiary).toHaveAttribute('aria-expanded', 'false')
|
|
44
|
+
expect(buttonMenuTertiary).toHaveAttribute('aria-haspopup', 'true')
|
|
45
|
+
expect(buttonMenuTertiary).toHaveAttribute('aria-controls', 'abc123')
|
|
46
|
+
expect(buttonMenuTertiary.querySelector('svg')).toMatchSnapshot()
|
|
47
|
+
})
|
|
48
|
+
|
|
49
|
+
it('renders disabled split button correctly', () => {
|
|
50
|
+
const { container } = render(<Disabled />)
|
|
51
|
+
|
|
52
|
+
const splitButton: HTMLElement = container.querySelector('.split-button')
|
|
53
|
+
const buttonSave = within(splitButton).getByRole('button', { name: 'Disabled Split Button' })
|
|
54
|
+
expect(buttonSave).toBeDisabled()
|
|
55
|
+
|
|
56
|
+
const menuButtonContainer: HTMLElement = splitButton.querySelector('.menu-button')
|
|
57
|
+
const buttonMenu = within(menuButtonContainer).getByRole('button', { name: 'Show options' })
|
|
58
|
+
expect(buttonMenu).toBeDisabled()
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
it('renders split button with controls correctly', () => {
|
|
62
|
+
const { container } = render(<Controls />)
|
|
63
|
+
|
|
64
|
+
const splitButton: HTMLElement = container.querySelector('.split-button')
|
|
65
|
+
const buttonSave = within(splitButton).getByRole('button', { name: 'Save document' })
|
|
66
|
+
expect(buttonSave).toHaveClass('btn btn--secondary btn--split-start')
|
|
67
|
+
|
|
68
|
+
const menuButtonContainer: HTMLElement = splitButton.querySelector('.menu-button')
|
|
69
|
+
const buttonMenu = within(menuButtonContainer).getByRole('button')
|
|
70
|
+
expect(buttonMenu).toHaveClass('btn menu-button__button btn--secondary btn--split-end')
|
|
71
|
+
expect(buttonMenu).toHaveAttribute('aria-expanded', 'false')
|
|
72
|
+
expect(buttonMenu).toHaveAttribute('aria-haspopup', 'true')
|
|
73
|
+
expect(buttonMenu).toHaveAttribute('aria-controls', 'abc123')
|
|
74
|
+
expect(buttonMenu.querySelector('svg')).toMatchSnapshot()
|
|
75
|
+
})
|
|
76
|
+
|
|
77
|
+
it('renders split button with pre-loading state correctly', () => {
|
|
78
|
+
const { container } = render(<Loading />)
|
|
79
|
+
|
|
80
|
+
const splitButton: HTMLElement = container.querySelector('.split-button')
|
|
81
|
+
const buttonSave = within(splitButton).getByRole('button', { name: 'Load' })
|
|
82
|
+
expect(buttonSave).toHaveClass('btn btn--secondary btn--split-start')
|
|
83
|
+
|
|
84
|
+
const menuButtonContainer: HTMLElement = splitButton.querySelector('.menu-button')
|
|
85
|
+
const buttonMenu = within(menuButtonContainer).getByRole('button', { name: 'Show options' })
|
|
86
|
+
expect(buttonMenu).toHaveClass('btn menu-button__button btn--secondary btn--split-end')
|
|
87
|
+
expect(buttonMenu).toHaveAttribute('aria-expanded', 'false')
|
|
88
|
+
expect(buttonMenu).toHaveAttribute('aria-haspopup', 'true')
|
|
89
|
+
expect(buttonMenu).toHaveAttribute('aria-controls', 'abc123')
|
|
90
|
+
expect(buttonMenu.querySelector('svg')).toMatchSnapshot()
|
|
91
|
+
})
|
|
92
|
+
|
|
93
|
+
it('renders split button with loading state correctly', () => {
|
|
94
|
+
const { container } = render(<Loading bodyState="loading" />)
|
|
95
|
+
|
|
96
|
+
const splitButton: HTMLElement = container.querySelector('.split-button')
|
|
97
|
+
const buttonSave = within(splitButton).getByRole('button', { name: 'Stand by or stop loading by using menu' })
|
|
98
|
+
expect(buttonSave).toHaveClass('btn btn--secondary btn--split-start')
|
|
99
|
+
|
|
100
|
+
const menuButtonContainer: HTMLElement = splitButton.querySelector('.menu-button')
|
|
101
|
+
const buttonMenu = within(menuButtonContainer).getByRole('button', { name: 'Show options' })
|
|
102
|
+
expect(buttonMenu).toHaveClass('btn menu-button__button btn--secondary btn--split-end')
|
|
103
|
+
expect(buttonMenu).toHaveAttribute('aria-expanded', 'false')
|
|
104
|
+
expect(buttonMenu).toHaveAttribute('aria-haspopup', 'true')
|
|
105
|
+
expect(buttonMenu).toHaveAttribute('aria-controls', 'abc123')
|
|
106
|
+
expect(buttonMenu.querySelector('svg')).toMatchSnapshot()
|
|
107
|
+
})
|
|
108
|
+
|
|
109
|
+
it('renders split button with size correctly', () => {
|
|
110
|
+
const { container } = render(<Size />)
|
|
111
|
+
|
|
112
|
+
const splitButton = container.querySelector('.split-button') as HTMLElement
|
|
113
|
+
const buttonSave = within(splitButton).getByRole('button', { name: 'Primary multi-select' })
|
|
114
|
+
expect(buttonSave).toHaveClass('btn btn--primary btn--large btn--split-start')
|
|
115
|
+
|
|
116
|
+
const menuButtonContainer = splitButton.querySelector('.menu-button') as HTMLElement
|
|
117
|
+
const buttonMenu = within(menuButtonContainer).getByRole('button', { name: 'Show options' })
|
|
118
|
+
expect(buttonMenu).toHaveClass('btn menu-button__button btn--primary btn--large btn--split-end')
|
|
119
|
+
expect(buttonMenu).toHaveAttribute('aria-expanded', 'false')
|
|
120
|
+
expect(buttonMenu).toHaveAttribute('aria-haspopup', 'true')
|
|
121
|
+
expect(buttonMenu).toHaveAttribute('aria-controls', 'abc123')
|
|
122
|
+
expect(buttonMenu.querySelector('svg')).toMatchSnapshot()
|
|
123
|
+
})
|
|
124
|
+
|
|
125
|
+
it('renders transparent split button correctly', () => {
|
|
126
|
+
const { container } = render(<Transparent />)
|
|
127
|
+
|
|
128
|
+
const splitButton: HTMLElement = container.querySelector('.split-button')
|
|
129
|
+
const buttonSave = within(splitButton).getByRole('button', { name: 'Transparent split button' })
|
|
130
|
+
expect(buttonSave).toHaveClass('btn btn--secondary btn--split-start btn--transparent')
|
|
131
|
+
|
|
132
|
+
const menuButtonContainer: HTMLElement = splitButton.querySelector('.menu-button')
|
|
133
|
+
const buttonMenu = within(menuButtonContainer).getByRole('button', { name: 'Show options' })
|
|
134
|
+
expect(buttonMenu).toHaveClass('btn menu-button__button btn--secondary btn--split-end btn--transparent')
|
|
135
|
+
expect(buttonMenu).toHaveAttribute('aria-expanded', 'false')
|
|
136
|
+
expect(buttonMenu).toHaveAttribute('aria-haspopup', 'true')
|
|
137
|
+
expect(buttonMenu).toHaveAttribute('aria-controls', 'abc123')
|
|
138
|
+
expect(buttonMenu.querySelector('svg')).toMatchSnapshot()
|
|
139
|
+
})
|
|
140
|
+
|
|
141
|
+
it('renders truncated split button correctly', () => {
|
|
142
|
+
const { container } = render(<Truncated />)
|
|
143
|
+
|
|
144
|
+
const [splitButton] = container.querySelectorAll('.split-button')
|
|
145
|
+
const buttonSave = within(splitButton as HTMLElement).getByRole('button', { name: 'Primary Split Button with truncated text label' })
|
|
146
|
+
expect(buttonSave).toHaveClass('btn btn--primary btn--split-start btn--truncated')
|
|
147
|
+
|
|
148
|
+
const menuButtonContainer = splitButton.querySelector('.menu-button') as HTMLElement
|
|
149
|
+
const buttonMenu = within(menuButtonContainer).getByRole('button', { name: 'Show options' })
|
|
150
|
+
expect(buttonMenu).toHaveClass('btn menu-button__button btn--primary btn--split-end')
|
|
151
|
+
expect(buttonMenu).toHaveAttribute('aria-expanded', 'false')
|
|
152
|
+
expect(buttonMenu).toHaveAttribute('aria-haspopup', 'true')
|
|
153
|
+
expect(buttonMenu).toHaveAttribute('aria-controls', 'abc123')
|
|
154
|
+
expect(buttonMenu.querySelector('svg')).toMatchSnapshot()
|
|
155
|
+
})
|
|
156
|
+
})
|