@ebay/ui-core-react 7.3.2 → 7.3.3
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/package.json +1 -1
- package/CONTRIBUTING.md +0 -236
- package/LICENSE.md +0 -21
- package/jest.config.js +0 -52
- package/src/common/__mocks__/random-id.ts +0 -2
- package/src/common/component-utils/array.polyfill.flat.ts +0 -34
- package/src/common/component-utils/forwardRef.tsx +0 -15
- package/src/common/component-utils/index.ts +0 -2
- package/src/common/component-utils/utils.ts +0 -23
- package/src/common/debounce.ts +0 -11
- package/src/common/event-utils/__tests__/helpers.ts +0 -4
- package/src/common/event-utils/__tests__/use-key-press.spec.tsx +0 -30
- package/src/common/event-utils/__tests__/use-roving-index.spec.tsx +0 -81
- package/src/common/event-utils/index.ts +0 -128
- package/src/common/event-utils/types.ts +0 -38
- package/src/common/event-utils/use-key-press.ts +0 -38
- package/src/common/event-utils/use-roving-index.ts +0 -41
- package/src/common/floating-label-utils/hooks.tsx +0 -162
- package/src/common/notice-utils/notice-content.tsx +0 -19
- package/src/common/notice-utils/notice-cta.tsx +0 -15
- package/src/common/notice-utils/notice-footer.tsx +0 -15
- package/src/common/notice-utils/notice-title.tsx +0 -19
- package/src/common/random-id.ts +0 -14
- package/src/common/range.ts +0 -2
- package/src/common/tooltip-utils/constants.ts +0 -96
- package/src/common/tooltip-utils/index.ts +0 -7
- package/src/common/tooltip-utils/tooltip-close-button.tsx +0 -10
- package/src/common/tooltip-utils/tooltip-content.tsx +0 -62
- package/src/common/tooltip-utils/tooltip-footer.tsx +0 -15
- package/src/common/tooltip-utils/tooltip-host.tsx +0 -24
- package/src/common/tooltip-utils/tooltip.tsx +0 -49
- package/src/common/tooltip-utils/types.ts +0 -7
- package/src/common/tooltip-utils/use-tooltip.ts +0 -39
- package/src/ebay-alert-dialog/__tests__/index.spec.tsx +0 -36
- package/src/ebay-alert-dialog/__tests__/index.stories.tsx +0 -77
- package/src/ebay-alert-dialog/__tests__/render.spec.tsx +0 -16
- package/src/ebay-alert-dialog/alert-dialog.tsx +0 -53
- package/src/ebay-alert-dialog/index.ts +0 -1
- package/src/ebay-badge/__tests__/index.spec.tsx +0 -47
- package/src/ebay-badge/__tests__/index.stories.tsx +0 -31
- package/src/ebay-badge/badge.tsx +0 -32
- package/src/ebay-badge/index.ts +0 -1
- package/src/ebay-breadcrumbs/__tests__/index.spec.tsx +0 -40
- package/src/ebay-breadcrumbs/__tests__/index.stories.tsx +0 -94
- package/src/ebay-breadcrumbs/__tests__/render.spec.tsx +0 -59
- package/src/ebay-breadcrumbs/breadcrumb-item.tsx +0 -39
- package/src/ebay-breadcrumbs/breadcrumbs.tsx +0 -61
- package/src/ebay-breadcrumbs/index.ts +0 -2
- package/src/ebay-button/__tests__/index.spec.tsx +0 -131
- package/src/ebay-button/__tests__/index.stories.tsx +0 -406
- package/src/ebay-button/button-cell.tsx +0 -21
- package/src/ebay-button/button-expand.tsx +0 -18
- package/src/ebay-button/button-loading.tsx +0 -11
- package/src/ebay-button/button-text.tsx +0 -10
- package/src/ebay-button/button.tsx +0 -154
- package/src/ebay-button/index.ts +0 -3
- package/src/ebay-button/types.ts +0 -9
- package/src/ebay-calendar/__tests__/__snapshots__/render.spec.tsx.snap +0 -27
- package/src/ebay-calendar/__tests__/index.spec.tsx +0 -99
- package/src/ebay-calendar/__tests__/index.stories.tsx +0 -65
- package/src/ebay-calendar/__tests__/render.spec.tsx +0 -68
- package/src/ebay-calendar/calendar.tsx +0 -461
- package/src/ebay-calendar/date-utils.ts +0 -63
- package/src/ebay-calendar/index.ts +0 -1
- package/src/ebay-carousel/__tests__/__snapshots__/index.spec.tsx.snap +0 -39
- package/src/ebay-carousel/__tests__/index.spec.tsx +0 -55
- package/src/ebay-carousel/__tests__/index.stories.tsx +0 -68
- package/src/ebay-carousel/carousel-control-button.tsx +0 -45
- package/src/ebay-carousel/carousel-item.tsx +0 -52
- package/src/ebay-carousel/carousel-list.tsx +0 -102
- package/src/ebay-carousel/carousel.tsx +0 -137
- package/src/ebay-carousel/helpers.ts +0 -159
- package/src/ebay-carousel/index.ts +0 -2
- package/src/ebay-carousel/scroll-to-transition.ts +0 -123
- package/src/ebay-carousel/types.ts +0 -11
- package/src/ebay-checkbox/__tests__/index.spec.tsx +0 -36
- package/src/ebay-checkbox/__tests__/index.stories.tsx +0 -162
- package/src/ebay-checkbox/__tests__/render.spec.tsx +0 -39
- package/src/ebay-checkbox/checkbox.tsx +0 -89
- package/src/ebay-checkbox/index.ts +0 -1
- package/src/ebay-confirm-dialog/__tests__/index.spec.tsx +0 -59
- package/src/ebay-confirm-dialog/__tests__/index.stories.tsx +0 -70
- package/src/ebay-confirm-dialog/__tests__/render.spec.tsx +0 -42
- package/src/ebay-confirm-dialog/confirm-dialog.tsx +0 -63
- package/src/ebay-confirm-dialog/index.ts +0 -1
- package/src/ebay-cta-button/__tests__/index.spec.tsx +0 -48
- package/src/ebay-cta-button/__tests__/index.stories.tsx +0 -58
- package/src/ebay-cta-button/cta-button.tsx +0 -40
- package/src/ebay-cta-button/index.ts +0 -1
- package/src/ebay-date-textbox/__tests__/__snapshots__/render.spec.tsx.snap +0 -27
- package/src/ebay-date-textbox/__tests__/index.spec.tsx +0 -148
- package/src/ebay-date-textbox/__tests__/index.stories.tsx +0 -55
- package/src/ebay-date-textbox/__tests__/render.spec.tsx +0 -94
- package/src/ebay-date-textbox/date-textbox.tsx +0 -227
- package/src/ebay-date-textbox/index.ts +0 -1
- package/src/ebay-dialog-base/__tests__/index.spec.tsx +0 -83
- package/src/ebay-dialog-base/__tests__/mocks.tsx +0 -38
- package/src/ebay-dialog-base/__tests__/server.spec.tsx +0 -33
- package/src/ebay-dialog-base/components/animation.ts +0 -144
- package/src/ebay-dialog-base/components/dialog-actions.tsx +0 -9
- package/src/ebay-dialog-base/components/dialog-close-button.tsx +0 -9
- package/src/ebay-dialog-base/components/dialog-footer.tsx +0 -9
- package/src/ebay-dialog-base/components/dialog-header.tsx +0 -10
- package/src/ebay-dialog-base/components/dialog-previous-button.tsx +0 -23
- package/src/ebay-dialog-base/components/dialogBase.tsx +0 -234
- package/src/ebay-dialog-base/dialog-base-with-state.tsx +0 -61
- package/src/ebay-dialog-base/index.ts +0 -8
- package/src/ebay-drawer-dialog/__tests__/index.spec.tsx +0 -53
- package/src/ebay-drawer-dialog/__tests__/index.stories.tsx +0 -244
- package/src/ebay-drawer-dialog/components/drawer.tsx +0 -120
- package/src/ebay-drawer-dialog/index.ts +0 -1
- package/src/ebay-eek/__tests__/index.spec.tsx +0 -81
- package/src/ebay-eek/__tests__/index.stories.tsx +0 -102
- package/src/ebay-eek/__tests__/render.spec.tsx +0 -49
- package/src/ebay-eek/eek-rating.tsx +0 -46
- package/src/ebay-eek/eek-util.ts +0 -34
- package/src/ebay-eek/index.ts +0 -1
- package/src/ebay-fake-menu/__tests__/index.spec.tsx +0 -79
- package/src/ebay-fake-menu/__tests__/index.stories.tsx +0 -127
- package/src/ebay-fake-menu/__tests__/render.spec.tsx +0 -70
- package/src/ebay-fake-menu/index.ts +0 -3
- package/src/ebay-fake-menu/menu-item-separator.tsx +0 -17
- package/src/ebay-fake-menu/menu-item.tsx +0 -84
- package/src/ebay-fake-menu/menu.tsx +0 -58
- package/src/ebay-fake-menu-button/__tests__/__snapshots__/render.spec.tsx.snap +0 -79
- package/src/ebay-fake-menu-button/__tests__/index.spec.tsx +0 -99
- package/src/ebay-fake-menu-button/__tests__/index.stories.tsx +0 -202
- package/src/ebay-fake-menu-button/__tests__/render.spec.tsx +0 -166
- package/src/ebay-fake-menu-button/index.ts +0 -8
- package/src/ebay-fake-menu-button/menu-button-item.tsx +0 -6
- package/src/ebay-fake-menu-button/menu-button-label.tsx +0 -7
- package/src/ebay-fake-menu-button/menu-button-separator.tsx +0 -17
- package/src/ebay-fake-menu-button/menu-button.tsx +0 -147
- package/src/ebay-fake-tabs/__tests__/index.spec.tsx +0 -35
- package/src/ebay-fake-tabs/__tests__/index.stories.tsx +0 -54
- package/src/ebay-fake-tabs/fake-tabs.tsx +0 -41
- package/src/ebay-fake-tabs/index.ts +0 -2
- package/src/ebay-fake-tabs/tab.tsx +0 -23
- package/src/ebay-field/__tests__/index.spec.tsx +0 -42
- package/src/ebay-field/__tests__/index.stories.tsx +0 -159
- package/src/ebay-field/description.tsx +0 -30
- package/src/ebay-field/field.tsx +0 -24
- package/src/ebay-field/index.ts +0 -4
- package/src/ebay-field/label.tsx +0 -31
- package/src/ebay-field/types.ts +0 -7
- package/src/ebay-fullscreen-dialog/__tests__/index.spec.tsx +0 -52
- package/src/ebay-fullscreen-dialog/__tests__/index.stories.tsx +0 -96
- package/src/ebay-fullscreen-dialog/__tests__/render.spec.tsx +0 -44
- package/src/ebay-fullscreen-dialog/fullscreen-dialog.tsx +0 -32
- package/src/ebay-fullscreen-dialog/index.ts +0 -1
- package/src/ebay-icon/__tests__/constants.ts +0 -782
- package/src/ebay-icon/__tests__/index.spec.tsx +0 -46
- package/src/ebay-icon/__tests__/index.stories.tsx +0 -47
- package/src/ebay-icon/icon.tsx +0 -104
- package/src/ebay-icon/index.ts +0 -2
- package/src/ebay-icon/types.ts +0 -779
- package/src/ebay-icon-button/__tests__/index.spec.tsx +0 -59
- package/src/ebay-icon-button/__tests__/index.stories.tsx +0 -64
- package/src/ebay-icon-button/__tests__/render.spec.tsx +0 -61
- package/src/ebay-icon-button/icon-button.tsx +0 -84
- package/src/ebay-icon-button/index.ts +0 -1
- package/src/ebay-infotip/__tests__/__snapshots__/render.spec.tsx.snap +0 -40
- package/src/ebay-infotip/__tests__/index.spec.tsx +0 -108
- package/src/ebay-infotip/__tests__/index.stories.tsx +0 -204
- package/src/ebay-infotip/__tests__/render.spec.tsx +0 -121
- package/src/ebay-infotip/ebay-infotip-content.tsx +0 -10
- package/src/ebay-infotip/ebay-infotip-heading.tsx +0 -13
- package/src/ebay-infotip/ebay-infotip-host.tsx +0 -37
- package/src/ebay-infotip/ebay-infotip.tsx +0 -125
- package/src/ebay-infotip/index.ts +0 -5
- package/src/ebay-infotip/types.ts +0 -1
- package/src/ebay-inline-notice/__tests__/index.spec.tsx +0 -68
- package/src/ebay-inline-notice/__tests__/index.stories.tsx +0 -95
- package/src/ebay-inline-notice/index.ts +0 -3
- package/src/ebay-inline-notice/inline-notice.tsx +0 -62
- package/src/ebay-inline-notice/types.ts +0 -1
- package/src/ebay-lightbox-dialog/__tests__/index.spec.tsx +0 -52
- package/src/ebay-lightbox-dialog/__tests__/index.stories.tsx +0 -274
- package/src/ebay-lightbox-dialog/index.ts +0 -1
- package/src/ebay-lightbox-dialog/lightbox-dialog.tsx +0 -38
- package/src/ebay-listbox-button/__tests__/__snapshots__/render.spec.tsx.snap +0 -118
- package/src/ebay-listbox-button/__tests__/index.spec.tsx +0 -221
- package/src/ebay-listbox-button/__tests__/index.stories.tsx +0 -183
- package/src/ebay-listbox-button/__tests__/render.spec.tsx +0 -140
- package/src/ebay-listbox-button/__tests__/statefull-test.tsx +0 -34
- package/src/ebay-listbox-button/index.ts +0 -2
- package/src/ebay-listbox-button/listbox-button-option.tsx +0 -40
- package/src/ebay-listbox-button/listbox-button.tsx +0 -320
- package/src/ebay-menu/__tests__/index.spec.tsx +0 -287
- package/src/ebay-menu/__tests__/index.stories.tsx +0 -160
- package/src/ebay-menu/index.ts +0 -11
- package/src/ebay-menu/menu-item-separator.tsx +0 -17
- package/src/ebay-menu/menu-item.tsx +0 -69
- package/src/ebay-menu/menu.tsx +0 -174
- package/src/ebay-menu/types.ts +0 -30
- package/src/ebay-menu-button/__tests__/__snapshots__/render.spec.tsx.snap +0 -118
- package/src/ebay-menu-button/__tests__/index.spec.tsx +0 -104
- package/src/ebay-menu-button/__tests__/index.stories.tsx +0 -325
- package/src/ebay-menu-button/__tests__/render.spec.tsx +0 -202
- package/src/ebay-menu-button/index.ts +0 -10
- package/src/ebay-menu-button/menu-button-item.tsx +0 -4
- package/src/ebay-menu-button/menu-button-label.tsx +0 -5
- package/src/ebay-menu-button/menu-button-separator.tsx +0 -17
- package/src/ebay-menu-button/menu-button.tsx +0 -169
- package/src/ebay-menu-button/types.ts +0 -39
- package/src/ebay-notice-base/components/ebay-notice-content/__tests__/index.spec.tsx +0 -29
- package/src/ebay-notice-base/components/ebay-notice-content/index.ts +0 -1
- package/src/ebay-notice-base/components/ebay-notice-content/notice-content.tsx +0 -12
- package/src/ebay-notice-base/components/ebay-notice-title/index.ts +0 -1
- package/src/ebay-notice-base/components/ebay-notice-title/notice-title.tsx +0 -13
- package/src/ebay-notice-base/index.ts +0 -2
- package/src/ebay-page-notice/__tests__/__snapshots__/render.spec.tsx.snap +0 -112
- package/src/ebay-page-notice/__tests__/index.spec.tsx +0 -91
- package/src/ebay-page-notice/__tests__/index.stories.tsx +0 -117
- package/src/ebay-page-notice/__tests__/render.spec.tsx +0 -175
- package/src/ebay-page-notice/index.ts +0 -5
- package/src/ebay-page-notice/page-notice-cta.tsx +0 -15
- package/src/ebay-page-notice/page-notice-footer.tsx +0 -15
- package/src/ebay-page-notice/page-notice-title.tsx +0 -16
- package/src/ebay-page-notice/page-notice.tsx +0 -77
- package/src/ebay-pagination/__tests__/__snapshots__/render.spec.tsx.snap +0 -53
- package/src/ebay-pagination/__tests__/helpers.spec.ts +0 -171
- package/src/ebay-pagination/__tests__/index.spec.tsx +0 -130
- package/src/ebay-pagination/__tests__/index.stories.tsx +0 -317
- package/src/ebay-pagination/__tests__/render.spec.tsx +0 -129
- package/src/ebay-pagination/const.ts +0 -5
- package/src/ebay-pagination/helpers.ts +0 -119
- package/src/ebay-pagination/index.ts +0 -3
- package/src/ebay-pagination/pagination-item.tsx +0 -126
- package/src/ebay-pagination/pagination.tsx +0 -193
- package/src/ebay-pagination/types.ts +0 -2
- package/src/ebay-panel-dialog/__tests__/index.spec.tsx +0 -52
- package/src/ebay-panel-dialog/__tests__/index.stories.tsx +0 -124
- package/src/ebay-panel-dialog/index.ts +0 -1
- package/src/ebay-panel-dialog/panel-dialog.tsx +0 -40
- package/src/ebay-progress-bar/__tests__/index.spec.tsx +0 -41
- package/src/ebay-progress-bar/__tests__/index.stories.tsx +0 -50
- package/src/ebay-progress-bar/index.ts +0 -1
- package/src/ebay-progress-bar/progress-bar.tsx +0 -23
- package/src/ebay-progress-spinner/__tests__/index.spec.tsx +0 -19
- package/src/ebay-progress-spinner/__tests__/index.stories.tsx +0 -24
- package/src/ebay-progress-spinner/index.ts +0 -1
- package/src/ebay-progress-spinner/progress-spinner.tsx +0 -42
- package/src/ebay-progress-stepper/__tests__/__snapshots__/index.spec.tsx.snap +0 -183
- package/src/ebay-progress-stepper/__tests__/index.spec.tsx +0 -129
- package/src/ebay-progress-stepper/__tests__/index.stories.tsx +0 -170
- package/src/ebay-progress-stepper/ebay-progress-step.tsx +0 -58
- package/src/ebay-progress-stepper/ebay-progress-stepper.tsx +0 -68
- package/src/ebay-progress-stepper/ebay-progress-title.tsx +0 -13
- package/src/ebay-progress-stepper/index.ts +0 -4
- package/src/ebay-progress-stepper/types.ts +0 -3
- package/src/ebay-radio/__tests__/index.spec.tsx +0 -48
- package/src/ebay-radio/__tests__/index.stories.tsx +0 -193
- package/src/ebay-radio/__tests__/render.spec.tsx +0 -57
- package/src/ebay-radio/index.ts +0 -1
- package/src/ebay-radio/radio.tsx +0 -85
- package/src/ebay-section-notice/__tests__/index.spec.tsx +0 -109
- package/src/ebay-section-notice/__tests__/index.stories.tsx +0 -199
- package/src/ebay-section-notice/index.ts +0 -9
- package/src/ebay-section-notice/section-notice-cta.tsx +0 -15
- package/src/ebay-section-notice/section-notice-footer.tsx +0 -15
- package/src/ebay-section-notice/section-notice-title.tsx +0 -15
- package/src/ebay-section-notice/section-notice.tsx +0 -107
- package/src/ebay-section-title/__tests__/index.spec.tsx +0 -62
- package/src/ebay-section-title/__tests__/index.stories.tsx +0 -79
- package/src/ebay-section-title/cta.tsx +0 -26
- package/src/ebay-section-title/index.ts +0 -5
- package/src/ebay-section-title/info.tsx +0 -19
- package/src/ebay-section-title/overflow.tsx +0 -19
- package/src/ebay-section-title/section-title.tsx +0 -41
- package/src/ebay-section-title/subtitle.tsx +0 -19
- package/src/ebay-section-title/title.tsx +0 -19
- package/src/ebay-segmented-buttons/__tests__/index.spec.tsx +0 -42
- package/src/ebay-segmented-buttons/__tests__/index.stories.tsx +0 -52
- package/src/ebay-segmented-buttons/button.tsx +0 -39
- package/src/ebay-segmented-buttons/index.ts +0 -3
- package/src/ebay-segmented-buttons/segmented-buttons.tsx +0 -47
- package/src/ebay-segmented-buttons/types.ts +0 -15
- package/src/ebay-select/__tests__/__snapshots__/render.spec.tsx.snap +0 -16
- package/src/ebay-select/__tests__/index.spec.tsx +0 -99
- package/src/ebay-select/__tests__/index.stories.tsx +0 -221
- package/src/ebay-select/__tests__/render.spec.tsx +0 -92
- package/src/ebay-select/ebay-select-option.tsx +0 -10
- package/src/ebay-select/ebay-select.tsx +0 -164
- package/src/ebay-select/index.ts +0 -2
- package/src/ebay-signal/__tests__/index.spec.tsx +0 -26
- package/src/ebay-signal/__tests__/index.stories.tsx +0 -37
- package/src/ebay-signal/index.ts +0 -1
- package/src/ebay-signal/signal.tsx +0 -15
- package/src/ebay-snackbar-dialog/__tests__/index.spec.tsx +0 -151
- package/src/ebay-snackbar-dialog/__tests__/index.stories.tsx +0 -83
- package/src/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.tsx +0 -12
- package/src/ebay-snackbar-dialog/components/ebay-snackbar-dialog.tsx +0 -132
- package/src/ebay-snackbar-dialog/index.ts +0 -2
- package/src/ebay-split-button/__tests__/__snapshots__/render.spec.tsx.snap +0 -118
- package/src/ebay-split-button/__tests__/index.spec.tsx +0 -168
- package/src/ebay-split-button/__tests__/index.stories.tsx +0 -241
- package/src/ebay-split-button/__tests__/render.spec.tsx +0 -156
- package/src/ebay-split-button/index.ts +0 -5
- package/src/ebay-split-button/split-button.tsx +0 -54
- package/src/ebay-split-button/types.ts +0 -19
- package/src/ebay-star-rating/__tests__/__snapshots__/index.spec.tsx.snap +0 -307
- package/src/ebay-star-rating/__tests__/index.spec.tsx +0 -30
- package/src/ebay-star-rating/__tests__/index.stories.tsx +0 -35
- package/src/ebay-star-rating/index.ts +0 -1
- package/src/ebay-star-rating/star-rating.tsx +0 -29
- package/src/ebay-star-rating-select/__tests__/__snapshots__/index.spec.tsx.snap +0 -679
- package/src/ebay-star-rating-select/__tests__/index.spec.tsx +0 -105
- package/src/ebay-star-rating-select/__tests__/index.stories.tsx +0 -73
- package/src/ebay-star-rating-select/__tests__/mocks.tsx +0 -26
- package/src/ebay-star-rating-select/index.ts +0 -1
- package/src/ebay-star-rating-select/star-rating-select.tsx +0 -95
- package/src/ebay-svg/__tests__/index.stories.tsx +0 -16
- package/src/ebay-svg/index.ts +0 -1
- package/src/ebay-svg/svg.tsx +0 -23
- package/src/ebay-svg/symbols.tsx +0 -808
- package/src/ebay-switch/__tests__/index.spec.tsx +0 -28
- package/src/ebay-switch/__tests__/index.stories.tsx +0 -71
- package/src/ebay-switch/__tests__/render.spec.tsx +0 -37
- package/src/ebay-switch/ebay-switch.tsx +0 -56
- package/src/ebay-switch/index.ts +0 -1
- package/src/ebay-tabs/__tests__/index.spec.tsx +0 -205
- package/src/ebay-tabs/__tests__/index.stories.tsx +0 -301
- package/src/ebay-tabs/index.ts +0 -4
- package/src/ebay-tabs/tab-panel.tsx +0 -32
- package/src/ebay-tabs/tab.tsx +0 -38
- package/src/ebay-tabs/tabs.tsx +0 -104
- package/src/ebay-tabs/types.ts +0 -19
- package/src/ebay-textbox/__tests__/__snapshots__/render.spec.tsx.snap +0 -57
- package/src/ebay-textbox/__tests__/index.spec.tsx +0 -155
- package/src/ebay-textbox/__tests__/index.stories.tsx +0 -391
- package/src/ebay-textbox/__tests__/render.spec.tsx +0 -140
- package/src/ebay-textbox/index.ts +0 -7
- package/src/ebay-textbox/postfix-icon.tsx +0 -21
- package/src/ebay-textbox/postfix-text.tsx +0 -8
- package/src/ebay-textbox/prefix-icon.tsx +0 -12
- package/src/ebay-textbox/prefix-text.tsx +0 -8
- package/src/ebay-textbox/textbox.tsx +0 -209
- package/src/ebay-textbox/types.ts +0 -18
- package/src/ebay-toast-dialog/__tests__/index.spec.tsx +0 -41
- package/src/ebay-toast-dialog/__tests__/index.stories.tsx +0 -131
- package/src/ebay-toast-dialog/components/toast.tsx +0 -26
- package/src/ebay-toast-dialog/index.ts +0 -1
- package/src/ebay-tooltip/__tests__/index.spec.tsx +0 -183
- package/src/ebay-tooltip/__tests__/index.stories.tsx +0 -104
- package/src/ebay-tooltip/__tests__/render.spec.tsx +0 -79
- package/src/ebay-tooltip/ebay-tooltip-content.tsx +0 -11
- package/src/ebay-tooltip/ebay-tooltip-host.tsx +0 -11
- package/src/ebay-tooltip/ebay-tooltip.tsx +0 -96
- package/src/ebay-tooltip/index.ts +0 -8
- package/src/ebay-tourtip/__tests__/__snapshots__/render.spec.tsx.snap +0 -14
- package/src/ebay-tourtip/__tests__/index.spec.tsx +0 -105
- package/src/ebay-tourtip/__tests__/index.stories.tsx +0 -116
- package/src/ebay-tourtip/__tests__/render.spec.tsx +0 -214
- package/src/ebay-tourtip/ebay-tourtip-content.tsx +0 -11
- package/src/ebay-tourtip/ebay-tourtip-footer.tsx +0 -19
- package/src/ebay-tourtip/ebay-tourtip-heading.tsx +0 -23
- package/src/ebay-tourtip/ebay-tourtip-host.tsx +0 -11
- package/src/ebay-tourtip/ebay-tourtip.tsx +0 -89
- package/src/ebay-tourtip/index.ts +0 -6
- package/src/ebay-video/__tests__/index.spec.tsx +0 -39
- package/src/ebay-video/__tests__/index.stories.tsx +0 -147
- package/src/ebay-video/__tests__/render.spec.tsx +0 -55
- package/src/ebay-video/const.ts +0 -16
- package/src/ebay-video/controls.tsx +0 -42
- package/src/ebay-video/index.ts +0 -9
- package/src/ebay-video/reportButton.tsx +0 -13
- package/src/ebay-video/shaka-player.d.ts +0 -4
- package/src/ebay-video/source.tsx +0 -7
- package/src/ebay-video/types.ts +0 -10
- package/src/ebay-video/video.tsx +0 -291
- package/src/events/index.ts +0 -30
- package/src/utils/index.ts +0 -9
- package/tsconfig.json +0 -42
- package/vite.config.mjs +0 -50
- /package/{dist/array.polyfill.flat-5BAolFdk.js → array.polyfill.flat-5BAolFdk.js} +0 -0
- /package/{dist/badge-CoHKfiPt.js → badge-CoHKfiPt.js} +0 -0
- /package/{dist/button-DGuEBUDJ.js → button-DGuEBUDJ.js} +0 -0
- /package/{dist/calendar-lAu6VfAb.js → calendar-lAu6VfAb.js} +0 -0
- /package/{dist/common → common}/__mocks__/random-id.d.ts +0 -0
- /package/{dist/common → common}/__mocks__/random-id.d.ts.map +0 -0
- /package/{dist/common → common}/component-utils/array.polyfill.flat.d.ts +0 -0
- /package/{dist/common → common}/component-utils/array.polyfill.flat.d.ts.map +0 -0
- /package/{dist/common → common}/component-utils/forwardRef/index.js +0 -0
- /package/{dist/common → common}/component-utils/forwardRef.d.ts +0 -0
- /package/{dist/common → common}/component-utils/forwardRef.d.ts.map +0 -0
- /package/{dist/common → common}/component-utils/index.d.ts +0 -0
- /package/{dist/common → common}/component-utils/index.d.ts.map +0 -0
- /package/{dist/common → common}/component-utils/index.js +0 -0
- /package/{dist/common → common}/component-utils/utils/index.js +0 -0
- /package/{dist/common → common}/component-utils/utils.d.ts +0 -0
- /package/{dist/common → common}/component-utils/utils.d.ts.map +0 -0
- /package/{dist/common → common}/debounce.d.ts +0 -0
- /package/{dist/common → common}/debounce.d.ts.map +0 -0
- /package/{dist/common → common}/event-utils/index.d.ts +0 -0
- /package/{dist/common → common}/event-utils/index.d.ts.map +0 -0
- /package/{dist/common → common}/event-utils/index.js +0 -0
- /package/{dist/common → common}/event-utils/types.d.ts +0 -0
- /package/{dist/common → common}/event-utils/types.d.ts.map +0 -0
- /package/{dist/common → common}/event-utils/use-key-press.d.ts +0 -0
- /package/{dist/common → common}/event-utils/use-key-press.d.ts.map +0 -0
- /package/{dist/common → common}/event-utils/use-roving-index.d.ts +0 -0
- /package/{dist/common → common}/event-utils/use-roving-index.d.ts.map +0 -0
- /package/{dist/common → common}/floating-label-utils/hooks/index.js +0 -0
- /package/{dist/common → common}/floating-label-utils/hooks.d.ts +0 -0
- /package/{dist/common → common}/floating-label-utils/hooks.d.ts.map +0 -0
- /package/{dist/common → common}/notice-utils/notice-content.d.ts +0 -0
- /package/{dist/common → common}/notice-utils/notice-content.d.ts.map +0 -0
- /package/{dist/common → common}/notice-utils/notice-cta/index.js +0 -0
- /package/{dist/common → common}/notice-utils/notice-cta.d.ts +0 -0
- /package/{dist/common → common}/notice-utils/notice-cta.d.ts.map +0 -0
- /package/{dist/common → common}/notice-utils/notice-footer.d.ts +0 -0
- /package/{dist/common → common}/notice-utils/notice-footer.d.ts.map +0 -0
- /package/{dist/common → common}/notice-utils/notice-title.d.ts +0 -0
- /package/{dist/common → common}/notice-utils/notice-title.d.ts.map +0 -0
- /package/{dist/common → common}/random-id/index.js +0 -0
- /package/{dist/common → common}/random-id.d.ts +0 -0
- /package/{dist/common → common}/random-id.d.ts.map +0 -0
- /package/{dist/common → common}/range.d.ts +0 -0
- /package/{dist/common → common}/range.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/constants/index.js +0 -0
- /package/{dist/common → common}/tooltip-utils/constants.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/constants.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/index.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/index.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/index.js +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip-close-button.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip-close-button.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip-content.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip-content.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip-footer.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip-footer.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip-host.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip-host.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/tooltip.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/types.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/types.d.ts.map +0 -0
- /package/{dist/common → common}/tooltip-utils/use-tooltip.d.ts +0 -0
- /package/{dist/common → common}/tooltip-utils/use-tooltip.d.ts.map +0 -0
- /package/{dist/debounce-BQsYxxOL.js → debounce-BQsYxxOL.js} +0 -0
- /package/{dist/dialog-previous-button-CpuFLkQp.js → dialog-previous-button-CpuFLkQp.js} +0 -0
- /package/{dist/drawer-rqXAEeqd.js → drawer-rqXAEeqd.js} +0 -0
- /package/{src/ebay-alert-dialog → ebay-alert-dialog}/README.md +0 -0
- /package/{dist/ebay-alert-dialog → ebay-alert-dialog}/alert-dialog.d.ts +0 -0
- /package/{dist/ebay-alert-dialog → ebay-alert-dialog}/alert-dialog.d.ts.map +0 -0
- /package/{dist/ebay-alert-dialog → ebay-alert-dialog}/index.d.ts +0 -0
- /package/{dist/ebay-alert-dialog → ebay-alert-dialog}/index.d.ts.map +0 -0
- /package/{dist/ebay-alert-dialog → ebay-alert-dialog}/index.js +0 -0
- /package/{src/ebay-badge → ebay-badge}/README.md +0 -0
- /package/{dist/ebay-badge → ebay-badge}/badge.d.ts +0 -0
- /package/{dist/ebay-badge → ebay-badge}/badge.d.ts.map +0 -0
- /package/{dist/ebay-badge → ebay-badge}/index.d.ts +0 -0
- /package/{dist/ebay-badge → ebay-badge}/index.d.ts.map +0 -0
- /package/{dist/ebay-badge → ebay-badge}/index.js +0 -0
- /package/{src/ebay-breadcrumbs → ebay-breadcrumbs}/README.md +0 -0
- /package/{dist/ebay-breadcrumbs → ebay-breadcrumbs}/breadcrumb-item.d.ts +0 -0
- /package/{dist/ebay-breadcrumbs → ebay-breadcrumbs}/breadcrumb-item.d.ts.map +0 -0
- /package/{dist/ebay-breadcrumbs → ebay-breadcrumbs}/breadcrumbs.d.ts +0 -0
- /package/{dist/ebay-breadcrumbs → ebay-breadcrumbs}/breadcrumbs.d.ts.map +0 -0
- /package/{dist/ebay-breadcrumbs → ebay-breadcrumbs}/index.d.ts +0 -0
- /package/{dist/ebay-breadcrumbs → ebay-breadcrumbs}/index.d.ts.map +0 -0
- /package/{dist/ebay-breadcrumbs → ebay-breadcrumbs}/index.js +0 -0
- /package/{src/ebay-button → ebay-button}/README.md +0 -0
- /package/{dist/ebay-button → ebay-button}/button-cell.d.ts +0 -0
- /package/{dist/ebay-button → ebay-button}/button-cell.d.ts.map +0 -0
- /package/{dist/ebay-button → ebay-button}/button-expand.d.ts +0 -0
- /package/{dist/ebay-button → ebay-button}/button-expand.d.ts.map +0 -0
- /package/{dist/ebay-button → ebay-button}/button-loading.d.ts +0 -0
- /package/{dist/ebay-button → ebay-button}/button-loading.d.ts.map +0 -0
- /package/{dist/ebay-button → ebay-button}/button-text.d.ts +0 -0
- /package/{dist/ebay-button → ebay-button}/button-text.d.ts.map +0 -0
- /package/{dist/ebay-button → ebay-button}/button.d.ts +0 -0
- /package/{dist/ebay-button → ebay-button}/button.d.ts.map +0 -0
- /package/{dist/ebay-button → ebay-button}/index.d.ts +0 -0
- /package/{dist/ebay-button → ebay-button}/index.d.ts.map +0 -0
- /package/{dist/ebay-button → ebay-button}/index.js +0 -0
- /package/{dist/ebay-button → ebay-button}/types.d.ts +0 -0
- /package/{dist/ebay-button → ebay-button}/types.d.ts.map +0 -0
- /package/{src/ebay-calendar → ebay-calendar}/README.md +0 -0
- /package/{dist/ebay-calendar → ebay-calendar}/calendar.d.ts +0 -0
- /package/{dist/ebay-calendar → ebay-calendar}/calendar.d.ts.map +0 -0
- /package/{dist/ebay-calendar → ebay-calendar}/date-utils.d.ts +0 -0
- /package/{dist/ebay-calendar → ebay-calendar}/date-utils.d.ts.map +0 -0
- /package/{dist/ebay-calendar → ebay-calendar}/index.d.ts +0 -0
- /package/{dist/ebay-calendar → ebay-calendar}/index.d.ts.map +0 -0
- /package/{dist/ebay-calendar → ebay-calendar}/index.js +0 -0
- /package/{src/ebay-carousel → ebay-carousel}/README.md +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/carousel-control-button.d.ts +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/carousel-control-button.d.ts.map +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/carousel-item.d.ts +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/carousel-item.d.ts.map +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/carousel-list.d.ts +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/carousel-list.d.ts.map +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/carousel.d.ts +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/carousel.d.ts.map +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/helpers.d.ts +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/helpers.d.ts.map +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/index.d.ts +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/index.d.ts.map +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/index.js +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/scroll-to-transition.d.ts +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/scroll-to-transition.d.ts.map +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/types.d.ts +0 -0
- /package/{dist/ebay-carousel → ebay-carousel}/types.d.ts.map +0 -0
- /package/{src/ebay-checkbox → ebay-checkbox}/README.md +0 -0
- /package/{dist/ebay-checkbox → ebay-checkbox}/checkbox.d.ts +0 -0
- /package/{dist/ebay-checkbox → ebay-checkbox}/checkbox.d.ts.map +0 -0
- /package/{dist/ebay-checkbox → ebay-checkbox}/index.d.ts +0 -0
- /package/{dist/ebay-checkbox → ebay-checkbox}/index.d.ts.map +0 -0
- /package/{dist/ebay-checkbox → ebay-checkbox}/index.js +0 -0
- /package/{src/ebay-confirm-dialog → ebay-confirm-dialog}/README.md +0 -0
- /package/{dist/ebay-confirm-dialog → ebay-confirm-dialog}/confirm-dialog.d.ts +0 -0
- /package/{dist/ebay-confirm-dialog → ebay-confirm-dialog}/confirm-dialog.d.ts.map +0 -0
- /package/{dist/ebay-confirm-dialog → ebay-confirm-dialog}/index.d.ts +0 -0
- /package/{dist/ebay-confirm-dialog → ebay-confirm-dialog}/index.d.ts.map +0 -0
- /package/{dist/ebay-confirm-dialog → ebay-confirm-dialog}/index.js +0 -0
- /package/{src/ebay-cta-button → ebay-cta-button}/README.md +0 -0
- /package/{dist/ebay-cta-button → ebay-cta-button}/cta-button.d.ts +0 -0
- /package/{dist/ebay-cta-button → ebay-cta-button}/cta-button.d.ts.map +0 -0
- /package/{dist/ebay-cta-button → ebay-cta-button}/index.d.ts +0 -0
- /package/{dist/ebay-cta-button → ebay-cta-button}/index.d.ts.map +0 -0
- /package/{dist/ebay-cta-button → ebay-cta-button}/index.js +0 -0
- /package/{src/ebay-date-textbox → ebay-date-textbox}/README.md +0 -0
- /package/{dist/ebay-date-textbox → ebay-date-textbox}/date-textbox.d.ts +0 -0
- /package/{dist/ebay-date-textbox → ebay-date-textbox}/date-textbox.d.ts.map +0 -0
- /package/{dist/ebay-date-textbox → ebay-date-textbox}/index.d.ts +0 -0
- /package/{dist/ebay-date-textbox → ebay-date-textbox}/index.d.ts.map +0 -0
- /package/{dist/ebay-date-textbox → ebay-date-textbox}/index.js +0 -0
- /package/{src/ebay-dialog-base → ebay-dialog-base}/README.md +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/animation/index.js +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/animation.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/animation.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-actions.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-actions.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-close-button.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-close-button.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-footer/index.js +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-footer.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-footer.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-header/index.js +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-header.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-header.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-previous-button.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialog-previous-button.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialogBase.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/components/dialogBase.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/dialog-base-with-state.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/dialog-base-with-state.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/index.d.ts +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/index.d.ts.map +0 -0
- /package/{dist/ebay-dialog-base → ebay-dialog-base}/index.js +0 -0
- /package/{src/ebay-drawer-dialog → ebay-drawer-dialog}/README.md +0 -0
- /package/{dist/ebay-drawer-dialog → ebay-drawer-dialog}/components/drawer.d.ts +0 -0
- /package/{dist/ebay-drawer-dialog → ebay-drawer-dialog}/components/drawer.d.ts.map +0 -0
- /package/{dist/ebay-drawer-dialog → ebay-drawer-dialog}/index.d.ts +0 -0
- /package/{dist/ebay-drawer-dialog → ebay-drawer-dialog}/index.d.ts.map +0 -0
- /package/{dist/ebay-drawer-dialog → ebay-drawer-dialog}/index.js +0 -0
- /package/{src/ebay-eek → ebay-eek}/README.md +0 -0
- /package/{dist/ebay-eek → ebay-eek}/eek-rating.d.ts +0 -0
- /package/{dist/ebay-eek → ebay-eek}/eek-rating.d.ts.map +0 -0
- /package/{dist/ebay-eek → ebay-eek}/eek-util.d.ts +0 -0
- /package/{dist/ebay-eek → ebay-eek}/eek-util.d.ts.map +0 -0
- /package/{dist/ebay-eek → ebay-eek}/index.d.ts +0 -0
- /package/{dist/ebay-eek → ebay-eek}/index.d.ts.map +0 -0
- /package/{dist/ebay-eek → ebay-eek}/index.js +0 -0
- /package/{src/ebay-fake-menu → ebay-fake-menu}/README.md +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/index.d.ts +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/index.d.ts.map +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/index.js +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/menu-item/index.js +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/menu-item-separator.d.ts +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/menu-item-separator.d.ts.map +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/menu-item.d.ts +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/menu-item.d.ts.map +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/menu.d.ts +0 -0
- /package/{dist/ebay-fake-menu → ebay-fake-menu}/menu.d.ts.map +0 -0
- /package/{src/ebay-fake-menu-button → ebay-fake-menu-button}/README.md +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/index.d.ts +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/index.d.ts.map +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/index.js +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button/index.js +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button-item.d.ts +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button-item.d.ts.map +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button-label.d.ts +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button-label.d.ts.map +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button-separator.d.ts +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button-separator.d.ts.map +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button.d.ts +0 -0
- /package/{dist/ebay-fake-menu-button → ebay-fake-menu-button}/menu-button.d.ts.map +0 -0
- /package/{src/ebay-fake-tabs → ebay-fake-tabs}/README.md +0 -0
- /package/{dist/ebay-fake-tabs → ebay-fake-tabs}/fake-tabs.d.ts +0 -0
- /package/{dist/ebay-fake-tabs → ebay-fake-tabs}/fake-tabs.d.ts.map +0 -0
- /package/{dist/ebay-fake-tabs → ebay-fake-tabs}/index.d.ts +0 -0
- /package/{dist/ebay-fake-tabs → ebay-fake-tabs}/index.d.ts.map +0 -0
- /package/{dist/ebay-fake-tabs → ebay-fake-tabs}/index.js +0 -0
- /package/{dist/ebay-fake-tabs → ebay-fake-tabs}/tab.d.ts +0 -0
- /package/{dist/ebay-fake-tabs → ebay-fake-tabs}/tab.d.ts.map +0 -0
- /package/{src/ebay-field → ebay-field}/README.md +0 -0
- /package/{dist/ebay-field → ebay-field}/description.d.ts +0 -0
- /package/{dist/ebay-field → ebay-field}/description.d.ts.map +0 -0
- /package/{dist/ebay-field → ebay-field}/field.d.ts +0 -0
- /package/{dist/ebay-field → ebay-field}/field.d.ts.map +0 -0
- /package/{dist/ebay-field → ebay-field}/index.d.ts +0 -0
- /package/{dist/ebay-field → ebay-field}/index.d.ts.map +0 -0
- /package/{dist/ebay-field → ebay-field}/index.js +0 -0
- /package/{dist/ebay-field → ebay-field}/label.d.ts +0 -0
- /package/{dist/ebay-field → ebay-field}/label.d.ts.map +0 -0
- /package/{dist/ebay-field → ebay-field}/types.d.ts +0 -0
- /package/{dist/ebay-field → ebay-field}/types.d.ts.map +0 -0
- /package/{src/ebay-fullscreen-dialog → ebay-fullscreen-dialog}/README.md +0 -0
- /package/{dist/ebay-fullscreen-dialog → ebay-fullscreen-dialog}/fullscreen-dialog.d.ts +0 -0
- /package/{dist/ebay-fullscreen-dialog → ebay-fullscreen-dialog}/fullscreen-dialog.d.ts.map +0 -0
- /package/{dist/ebay-fullscreen-dialog → ebay-fullscreen-dialog}/index.d.ts +0 -0
- /package/{dist/ebay-fullscreen-dialog → ebay-fullscreen-dialog}/index.d.ts.map +0 -0
- /package/{dist/ebay-fullscreen-dialog → ebay-fullscreen-dialog}/index.js +0 -0
- /package/{src/ebay-icon → ebay-icon}/README.md +0 -0
- /package/{dist/ebay-icon → ebay-icon}/icon.d.ts +0 -0
- /package/{dist/ebay-icon → ebay-icon}/icon.d.ts.map +0 -0
- /package/{dist/ebay-icon → ebay-icon}/index.d.ts +0 -0
- /package/{dist/ebay-icon → ebay-icon}/index.d.ts.map +0 -0
- /package/{dist/ebay-icon → ebay-icon}/index.js +0 -0
- /package/{dist/ebay-icon → ebay-icon}/types.d.ts +0 -0
- /package/{dist/ebay-icon → ebay-icon}/types.d.ts.map +0 -0
- /package/{src/ebay-icon-button → ebay-icon-button}/README.md +0 -0
- /package/{dist/ebay-icon-button → ebay-icon-button}/icon-button.d.ts +0 -0
- /package/{dist/ebay-icon-button → ebay-icon-button}/icon-button.d.ts.map +0 -0
- /package/{dist/ebay-icon-button → ebay-icon-button}/index.d.ts +0 -0
- /package/{dist/ebay-icon-button → ebay-icon-button}/index.d.ts.map +0 -0
- /package/{dist/ebay-icon-button → ebay-icon-button}/index.js +0 -0
- /package/{src/ebay-infotip → ebay-infotip}/README.md +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/ebay-infotip-content.d.ts +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/ebay-infotip-content.d.ts.map +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/ebay-infotip-heading.d.ts +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/ebay-infotip-heading.d.ts.map +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/ebay-infotip-host.d.ts +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/ebay-infotip-host.d.ts.map +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/ebay-infotip.d.ts +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/ebay-infotip.d.ts.map +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/index.d.ts +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/index.d.ts.map +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/index.js +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/types.d.ts +0 -0
- /package/{dist/ebay-infotip → ebay-infotip}/types.d.ts.map +0 -0
- /package/{src/ebay-inline-notice → ebay-inline-notice}/README.md +0 -0
- /package/{dist/ebay-inline-notice → ebay-inline-notice}/index.d.ts +0 -0
- /package/{dist/ebay-inline-notice → ebay-inline-notice}/index.d.ts.map +0 -0
- /package/{dist/ebay-inline-notice → ebay-inline-notice}/index.js +0 -0
- /package/{dist/ebay-inline-notice → ebay-inline-notice}/inline-notice.d.ts +0 -0
- /package/{dist/ebay-inline-notice → ebay-inline-notice}/inline-notice.d.ts.map +0 -0
- /package/{dist/ebay-inline-notice → ebay-inline-notice}/types.d.ts +0 -0
- /package/{dist/ebay-inline-notice → ebay-inline-notice}/types.d.ts.map +0 -0
- /package/{src/ebay-lightbox-dialog → ebay-lightbox-dialog}/README.md +0 -0
- /package/{dist/ebay-lightbox-dialog → ebay-lightbox-dialog}/index.d.ts +0 -0
- /package/{dist/ebay-lightbox-dialog → ebay-lightbox-dialog}/index.d.ts.map +0 -0
- /package/{dist/ebay-lightbox-dialog → ebay-lightbox-dialog}/index.js +0 -0
- /package/{dist/ebay-lightbox-dialog → ebay-lightbox-dialog}/lightbox-dialog.d.ts +0 -0
- /package/{dist/ebay-lightbox-dialog → ebay-lightbox-dialog}/lightbox-dialog.d.ts.map +0 -0
- /package/{src/ebay-listbox-button → ebay-listbox-button}/README.md +0 -0
- /package/{dist/ebay-listbox-button → ebay-listbox-button}/index.d.ts +0 -0
- /package/{dist/ebay-listbox-button → ebay-listbox-button}/index.d.ts.map +0 -0
- /package/{dist/ebay-listbox-button → ebay-listbox-button}/index.js +0 -0
- /package/{dist/ebay-listbox-button → ebay-listbox-button}/listbox-button-option.d.ts +0 -0
- /package/{dist/ebay-listbox-button → ebay-listbox-button}/listbox-button-option.d.ts.map +0 -0
- /package/{dist/ebay-listbox-button → ebay-listbox-button}/listbox-button.d.ts +0 -0
- /package/{dist/ebay-listbox-button → ebay-listbox-button}/listbox-button.d.ts.map +0 -0
- /package/{src/ebay-menu → ebay-menu}/README.md +0 -0
- /package/{dist/ebay-menu → ebay-menu}/index.d.ts +0 -0
- /package/{dist/ebay-menu → ebay-menu}/index.d.ts.map +0 -0
- /package/{dist/ebay-menu → ebay-menu}/index.js +0 -0
- /package/{dist/ebay-menu → ebay-menu}/menu-item-separator.d.ts +0 -0
- /package/{dist/ebay-menu → ebay-menu}/menu-item-separator.d.ts.map +0 -0
- /package/{dist/ebay-menu → ebay-menu}/menu-item.d.ts +0 -0
- /package/{dist/ebay-menu → ebay-menu}/menu-item.d.ts.map +0 -0
- /package/{dist/ebay-menu → ebay-menu}/menu.d.ts +0 -0
- /package/{dist/ebay-menu → ebay-menu}/menu.d.ts.map +0 -0
- /package/{dist/ebay-menu → ebay-menu}/types.d.ts +0 -0
- /package/{dist/ebay-menu → ebay-menu}/types.d.ts.map +0 -0
- /package/{src/ebay-menu-button → ebay-menu-button}/README.md +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/index.d.ts +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/index.d.ts.map +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/index.js +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/menu-button-item.d.ts +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/menu-button-item.d.ts.map +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/menu-button-label.d.ts +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/menu-button-label.d.ts.map +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/menu-button-separator.d.ts +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/menu-button-separator.d.ts.map +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/menu-button.d.ts +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/menu-button.d.ts.map +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/types.d.ts +0 -0
- /package/{dist/ebay-menu-button → ebay-menu-button}/types.d.ts.map +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/components/ebay-notice-content/index.d.ts +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/components/ebay-notice-content/index.d.ts.map +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/components/ebay-notice-content/notice-content.d.ts +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/components/ebay-notice-content/notice-content.d.ts.map +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/components/ebay-notice-title/index.d.ts +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/components/ebay-notice-title/index.d.ts.map +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/components/ebay-notice-title/notice-title.d.ts +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/components/ebay-notice-title/notice-title.d.ts.map +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/index.d.ts +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/index.d.ts.map +0 -0
- /package/{dist/ebay-notice-base → ebay-notice-base}/index.js +0 -0
- /package/{src/ebay-page-notice → ebay-page-notice}/README.md +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/index.d.ts +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/index.d.ts.map +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/index.js +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/page-notice-cta.d.ts +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/page-notice-cta.d.ts.map +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/page-notice-footer.d.ts +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/page-notice-footer.d.ts.map +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/page-notice-title.d.ts +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/page-notice-title.d.ts.map +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/page-notice.d.ts +0 -0
- /package/{dist/ebay-page-notice → ebay-page-notice}/page-notice.d.ts.map +0 -0
- /package/{src/ebay-pagination → ebay-pagination}/README.md +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/const.d.ts +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/const.d.ts.map +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/helpers.d.ts +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/helpers.d.ts.map +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/index.d.ts +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/index.d.ts.map +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/index.js +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/pagination-item.d.ts +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/pagination-item.d.ts.map +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/pagination.d.ts +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/pagination.d.ts.map +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/types.d.ts +0 -0
- /package/{dist/ebay-pagination → ebay-pagination}/types.d.ts.map +0 -0
- /package/{src/ebay-panel-dialog → ebay-panel-dialog}/README.md +0 -0
- /package/{dist/ebay-panel-dialog → ebay-panel-dialog}/index.d.ts +0 -0
- /package/{dist/ebay-panel-dialog → ebay-panel-dialog}/index.d.ts.map +0 -0
- /package/{dist/ebay-panel-dialog → ebay-panel-dialog}/index.js +0 -0
- /package/{dist/ebay-panel-dialog → ebay-panel-dialog}/panel-dialog.d.ts +0 -0
- /package/{dist/ebay-panel-dialog → ebay-panel-dialog}/panel-dialog.d.ts.map +0 -0
- /package/{src/ebay-progress-bar → ebay-progress-bar}/README.md +0 -0
- /package/{dist/ebay-progress-bar → ebay-progress-bar}/index.d.ts +0 -0
- /package/{dist/ebay-progress-bar → ebay-progress-bar}/index.d.ts.map +0 -0
- /package/{dist/ebay-progress-bar → ebay-progress-bar}/index.js +0 -0
- /package/{dist/ebay-progress-bar → ebay-progress-bar}/progress-bar.d.ts +0 -0
- /package/{dist/ebay-progress-bar → ebay-progress-bar}/progress-bar.d.ts.map +0 -0
- /package/{src/ebay-progress-spinner → ebay-progress-spinner}/README.md +0 -0
- /package/{dist/ebay-progress-spinner → ebay-progress-spinner}/index.d.ts +0 -0
- /package/{dist/ebay-progress-spinner → ebay-progress-spinner}/index.d.ts.map +0 -0
- /package/{dist/ebay-progress-spinner → ebay-progress-spinner}/index.js +0 -0
- /package/{dist/ebay-progress-spinner → ebay-progress-spinner}/progress-spinner.d.ts +0 -0
- /package/{dist/ebay-progress-spinner → ebay-progress-spinner}/progress-spinner.d.ts.map +0 -0
- /package/{src/ebay-progress-stepper → ebay-progress-stepper}/README.md +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/ebay-progress-step.d.ts +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/ebay-progress-step.d.ts.map +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/ebay-progress-stepper.d.ts +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/ebay-progress-stepper.d.ts.map +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/ebay-progress-title.d.ts +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/ebay-progress-title.d.ts.map +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/index.d.ts +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/index.d.ts.map +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/index.js +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/types.d.ts +0 -0
- /package/{dist/ebay-progress-stepper → ebay-progress-stepper}/types.d.ts.map +0 -0
- /package/{src/ebay-radio → ebay-radio}/README.md +0 -0
- /package/{dist/ebay-radio → ebay-radio}/index.d.ts +0 -0
- /package/{dist/ebay-radio → ebay-radio}/index.d.ts.map +0 -0
- /package/{dist/ebay-radio → ebay-radio}/index.js +0 -0
- /package/{dist/ebay-radio → ebay-radio}/radio/index.js +0 -0
- /package/{dist/ebay-radio → ebay-radio}/radio.d.ts +0 -0
- /package/{dist/ebay-radio → ebay-radio}/radio.d.ts.map +0 -0
- /package/{src/ebay-section-notice → ebay-section-notice}/README.md +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/index.d.ts +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/index.d.ts.map +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/index.js +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/section-notice-cta.d.ts +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/section-notice-cta.d.ts.map +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/section-notice-footer.d.ts +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/section-notice-footer.d.ts.map +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/section-notice-title.d.ts +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/section-notice-title.d.ts.map +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/section-notice.d.ts +0 -0
- /package/{dist/ebay-section-notice → ebay-section-notice}/section-notice.d.ts.map +0 -0
- /package/{src/ebay-section-title → ebay-section-title}/README.md +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/cta.d.ts +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/cta.d.ts.map +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/index.d.ts +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/index.d.ts.map +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/index.js +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/info.d.ts +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/info.d.ts.map +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/overflow.d.ts +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/overflow.d.ts.map +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/section-title.d.ts +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/section-title.d.ts.map +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/subtitle.d.ts +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/subtitle.d.ts.map +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/title.d.ts +0 -0
- /package/{dist/ebay-section-title → ebay-section-title}/title.d.ts.map +0 -0
- /package/{src/ebay-segmented-buttons → ebay-segmented-buttons}/README.md +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/button.d.ts +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/button.d.ts.map +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/index.d.ts +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/index.d.ts.map +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/index.js +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/segmented-buttons.d.ts +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/segmented-buttons.d.ts.map +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/types.d.ts +0 -0
- /package/{dist/ebay-segmented-buttons → ebay-segmented-buttons}/types.d.ts.map +0 -0
- /package/{src/ebay-select → ebay-select}/README.md +0 -0
- /package/{dist/ebay-select → ebay-select}/ebay-select-option.d.ts +0 -0
- /package/{dist/ebay-select → ebay-select}/ebay-select-option.d.ts.map +0 -0
- /package/{dist/ebay-select → ebay-select}/ebay-select.d.ts +0 -0
- /package/{dist/ebay-select → ebay-select}/ebay-select.d.ts.map +0 -0
- /package/{dist/ebay-select → ebay-select}/index.d.ts +0 -0
- /package/{dist/ebay-select → ebay-select}/index.d.ts.map +0 -0
- /package/{dist/ebay-select → ebay-select}/index.js +0 -0
- /package/{src/ebay-signal → ebay-signal}/README.md +0 -0
- /package/{dist/ebay-signal → ebay-signal}/index.d.ts +0 -0
- /package/{dist/ebay-signal → ebay-signal}/index.d.ts.map +0 -0
- /package/{dist/ebay-signal → ebay-signal}/index.js +0 -0
- /package/{dist/ebay-signal → ebay-signal}/signal.d.ts +0 -0
- /package/{dist/ebay-signal → ebay-signal}/signal.d.ts.map +0 -0
- /package/{src/ebay-snackbar-dialog → ebay-snackbar-dialog}/README.md +0 -0
- /package/{dist/ebay-snackbar-dialog → ebay-snackbar-dialog}/components/ebay-snackbar-dialog-action.d.ts +0 -0
- /package/{dist/ebay-snackbar-dialog → ebay-snackbar-dialog}/components/ebay-snackbar-dialog-action.d.ts.map +0 -0
- /package/{dist/ebay-snackbar-dialog → ebay-snackbar-dialog}/components/ebay-snackbar-dialog.d.ts +0 -0
- /package/{dist/ebay-snackbar-dialog → ebay-snackbar-dialog}/components/ebay-snackbar-dialog.d.ts.map +0 -0
- /package/{dist/ebay-snackbar-dialog → ebay-snackbar-dialog}/index.d.ts +0 -0
- /package/{dist/ebay-snackbar-dialog → ebay-snackbar-dialog}/index.d.ts.map +0 -0
- /package/{dist/ebay-snackbar-dialog → ebay-snackbar-dialog}/index.js +0 -0
- /package/{src/ebay-split-button → ebay-split-button}/README.md +0 -0
- /package/{dist/ebay-split-button → ebay-split-button}/index.d.ts +0 -0
- /package/{dist/ebay-split-button → ebay-split-button}/index.d.ts.map +0 -0
- /package/{dist/ebay-split-button → ebay-split-button}/index.js +0 -0
- /package/{dist/ebay-split-button → ebay-split-button}/split-button.d.ts +0 -0
- /package/{dist/ebay-split-button → ebay-split-button}/split-button.d.ts.map +0 -0
- /package/{dist/ebay-split-button → ebay-split-button}/types.d.ts +0 -0
- /package/{dist/ebay-split-button → ebay-split-button}/types.d.ts.map +0 -0
- /package/{src/ebay-star-rating → ebay-star-rating}/README.md +0 -0
- /package/{dist/ebay-star-rating → ebay-star-rating}/index.d.ts +0 -0
- /package/{dist/ebay-star-rating → ebay-star-rating}/index.d.ts.map +0 -0
- /package/{dist/ebay-star-rating → ebay-star-rating}/index.js +0 -0
- /package/{dist/ebay-star-rating → ebay-star-rating}/star-rating.d.ts +0 -0
- /package/{dist/ebay-star-rating → ebay-star-rating}/star-rating.d.ts.map +0 -0
- /package/{src/ebay-star-rating-select → ebay-star-rating-select}/README.md +0 -0
- /package/{dist/ebay-star-rating-select → ebay-star-rating-select}/index.d.ts +0 -0
- /package/{dist/ebay-star-rating-select → ebay-star-rating-select}/index.d.ts.map +0 -0
- /package/{dist/ebay-star-rating-select → ebay-star-rating-select}/index.js +0 -0
- /package/{dist/ebay-star-rating-select → ebay-star-rating-select}/star-rating-select.d.ts +0 -0
- /package/{dist/ebay-star-rating-select → ebay-star-rating-select}/star-rating-select.d.ts.map +0 -0
- /package/{src/ebay-svg → ebay-svg}/README.md +0 -0
- /package/{dist/ebay-svg → ebay-svg}/index.d.ts +0 -0
- /package/{dist/ebay-svg → ebay-svg}/index.d.ts.map +0 -0
- /package/{dist/ebay-svg → ebay-svg}/index.js +0 -0
- /package/{dist/ebay-svg → ebay-svg}/svg.d.ts +0 -0
- /package/{dist/ebay-svg → ebay-svg}/svg.d.ts.map +0 -0
- /package/{dist/ebay-svg → ebay-svg}/symbols.d.ts +0 -0
- /package/{dist/ebay-svg → ebay-svg}/symbols.d.ts.map +0 -0
- /package/{src/ebay-switch → ebay-switch}/README.md +0 -0
- /package/{dist/ebay-switch → ebay-switch}/ebay-switch.d.ts +0 -0
- /package/{dist/ebay-switch → ebay-switch}/ebay-switch.d.ts.map +0 -0
- /package/{dist/ebay-switch → ebay-switch}/index.d.ts +0 -0
- /package/{dist/ebay-switch → ebay-switch}/index.d.ts.map +0 -0
- /package/{dist/ebay-switch → ebay-switch}/index.js +0 -0
- /package/{src/ebay-tabs → ebay-tabs}/README.md +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/index.d.ts +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/index.d.ts.map +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/index.js +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/tab-panel.d.ts +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/tab-panel.d.ts.map +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/tab.d.ts +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/tab.d.ts.map +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/tabs.d.ts +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/tabs.d.ts.map +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/types.d.ts +0 -0
- /package/{dist/ebay-tabs → ebay-tabs}/types.d.ts.map +0 -0
- /package/{src/ebay-textbox → ebay-textbox}/README.md +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/index.d.ts +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/index.d.ts.map +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/index.js +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/postfix-icon.d.ts +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/postfix-icon.d.ts.map +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/postfix-text.d.ts +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/postfix-text.d.ts.map +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/prefix-icon.d.ts +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/prefix-icon.d.ts.map +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/prefix-text.d.ts +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/prefix-text.d.ts.map +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/textbox.d.ts +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/textbox.d.ts.map +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/types.d.ts +0 -0
- /package/{dist/ebay-textbox → ebay-textbox}/types.d.ts.map +0 -0
- /package/{src/ebay-toast-dialog → ebay-toast-dialog}/README.md +0 -0
- /package/{dist/ebay-toast-dialog → ebay-toast-dialog}/components/toast.d.ts +0 -0
- /package/{dist/ebay-toast-dialog → ebay-toast-dialog}/components/toast.d.ts.map +0 -0
- /package/{dist/ebay-toast-dialog → ebay-toast-dialog}/index.d.ts +0 -0
- /package/{dist/ebay-toast-dialog → ebay-toast-dialog}/index.d.ts.map +0 -0
- /package/{dist/ebay-toast-dialog → ebay-toast-dialog}/index.js +0 -0
- /package/{src/ebay-tooltip → ebay-tooltip}/README.md +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/ebay-tooltip-content.d.ts +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/ebay-tooltip-content.d.ts.map +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/ebay-tooltip-host.d.ts +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/ebay-tooltip-host.d.ts.map +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/ebay-tooltip.d.ts +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/ebay-tooltip.d.ts.map +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/index.d.ts +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/index.d.ts.map +0 -0
- /package/{dist/ebay-tooltip → ebay-tooltip}/index.js +0 -0
- /package/{src/ebay-tourtip → ebay-tourtip}/README.md +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip-content.d.ts +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip-content.d.ts.map +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip-footer.d.ts +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip-footer.d.ts.map +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip-heading.d.ts +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip-heading.d.ts.map +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip-host.d.ts +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip-host.d.ts.map +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip.d.ts +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/ebay-tourtip.d.ts.map +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/index.d.ts +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/index.d.ts.map +0 -0
- /package/{dist/ebay-tourtip → ebay-tourtip}/index.js +0 -0
- /package/{src/ebay-video → ebay-video}/README.md +0 -0
- /package/{dist/ebay-video → ebay-video}/const.d.ts +0 -0
- /package/{dist/ebay-video → ebay-video}/const.d.ts.map +0 -0
- /package/{dist/ebay-video → ebay-video}/controls.d.ts +0 -0
- /package/{dist/ebay-video → ebay-video}/controls.d.ts.map +0 -0
- /package/{dist/ebay-video → ebay-video}/index.d.ts +0 -0
- /package/{dist/ebay-video → ebay-video}/index.d.ts.map +0 -0
- /package/{dist/ebay-video → ebay-video}/index.js +0 -0
- /package/{dist/ebay-video → ebay-video}/reportButton.d.ts +0 -0
- /package/{dist/ebay-video → ebay-video}/reportButton.d.ts.map +0 -0
- /package/{dist/ebay-video → ebay-video}/source.d.ts +0 -0
- /package/{dist/ebay-video → ebay-video}/source.d.ts.map +0 -0
- /package/{dist/ebay-video → ebay-video}/types.d.ts +0 -0
- /package/{dist/ebay-video → ebay-video}/types.d.ts.map +0 -0
- /package/{dist/ebay-video → ebay-video}/video.d.ts +0 -0
- /package/{dist/ebay-video → ebay-video}/video.d.ts.map +0 -0
- /package/{src/events → events}/README.md +0 -0
- /package/{dist/events → events}/index.d.ts +0 -0
- /package/{dist/events → events}/index.d.ts.map +0 -0
- /package/{dist/events → events}/index.js +0 -0
- /package/{dist/icon-TuxfQndO.js → icon-TuxfQndO.js} +0 -0
- /package/{dist/icon-button-Cwaj-eT9.js → icon-button-Cwaj-eT9.js} +0 -0
- /package/{dist/label-CnrpYJ-g.js → label-CnrpYJ-g.js} +0 -0
- /package/{dist/menu-CV-INYLM.js → menu-CV-INYLM.js} +0 -0
- /package/{dist/menu-_LzP6yje.js → menu-_LzP6yje.js} +0 -0
- /package/{dist/menu-button-BZ66jxvI.js → menu-button-BZ66jxvI.js} +0 -0
- /package/{dist/notice-content-9iF4T8uB.js → notice-content-9iF4T8uB.js} +0 -0
- /package/{dist/notice-content-C0ZStfuX.js → notice-content-C0ZStfuX.js} +0 -0
- /package/{dist/notice-footer-Cw1DMzoB.js → notice-footer-Cw1DMzoB.js} +0 -0
- /package/{dist/progress-spinner-U2qOANON.js → progress-spinner-U2qOANON.js} +0 -0
- /package/{dist/range-DOsPN0h5.js → range-DOsPN0h5.js} +0 -0
- /package/{dist/textbox-dUhinDwj.js → textbox-dUhinDwj.js} +0 -0
- /package/{dist/use-roving-index-DoAVBgsp.js → use-roving-index-DoAVBgsp.js} +0 -0
- /package/{dist/use-tooltip-CL3_zAeg.js → use-tooltip-CL3_zAeg.js} +0 -0
- /package/{src/utils → utils}/README.md +0 -0
- /package/{dist/utils → utils}/index.d.ts +0 -0
- /package/{dist/utils → utils}/index.d.ts.map +0 -0
- /package/{dist/utils → utils}/index.js +0 -0
package/package.json
CHANGED
package/CONTRIBUTING.md
DELETED
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
# Contributing
|
|
2
|
-
|
|
3
|
-
This page contains instructions and guidelines for anybody contributing code to the eBayUI React project.
|
|
4
|
-
|
|
5
|
-
## Quick guidance for contribution
|
|
6
|
-
|
|
7
|
-
- Create a feature branch `git checkout -b features/new-component`
|
|
8
|
-
- `yarn install` to install dependencies
|
|
9
|
-
- Add documentation:
|
|
10
|
-
* `README.md` on component level
|
|
11
|
-
* Unit test
|
|
12
|
-
* Storybook file for snapshot tests and also component showcase/demo
|
|
13
|
-
- Make your changes pass the:
|
|
14
|
-
* `yarn lint`. You can do `yarn lint --fix` to automatically fix small lint issues (e.g indentation, whitespace, semicolons, ...)
|
|
15
|
-
* `yarn test`. Do `yarn test -u` to automatically the snapshot tests.
|
|
16
|
-
|
|
17
|
-
## Extended guidance
|
|
18
|
-
|
|
19
|
-
- [Development](#development)
|
|
20
|
-
- [Pull Requests](#pull-requests)
|
|
21
|
-
- [Branching Strategy](#branching-strategy)
|
|
22
|
-
- [Unit Tests](#unit-tests)
|
|
23
|
-
- [Storybook](#storybook)
|
|
24
|
-
- [Definition of Done](#definition-of-done)
|
|
25
|
-
- [Notes](#notes)
|
|
26
|
-
- [Support](#support)
|
|
27
|
-
|
|
28
|
-
## Development
|
|
29
|
-
|
|
30
|
-
This section includes information on system requirements, running the local server, tests and package scripts.
|
|
31
|
-
|
|
32
|
-
### System Requirements
|
|
33
|
-
|
|
34
|
-
- [Node.js](https://nodejs.org/en/) (v18+ preferred)
|
|
35
|
-
- Preferably yarn (`npm i -g yarn`), but npm should work as well
|
|
36
|
-
|
|
37
|
-
Clone this repo to your local environment then run `yarn` or `npm i` to install all dependencies.
|
|
38
|
-
|
|
39
|
-
### Local Server with Storybook
|
|
40
|
-
|
|
41
|
-
Execute `yarn storybook` (or `yarn storybook-node16` for node@<=16) to start local web server with storybook. this will allow you to develop components in isolation. Stories
|
|
42
|
-
|
|
43
|
-
### Tests
|
|
44
|
-
|
|
45
|
-
Execute `yarn test` to run all tests or `yarn coverage` to run test with coverage, reports are shown in the console and stored as `coverage/lcov-report/index.html`.
|
|
46
|
-
|
|
47
|
-
Most of our tests verify html snapshots against the generated html that the current component outputs. If these change the test will fail. In order to update the snapshots, one needs to run `yarn test -u` and then new snapshots will be generated, which should be checked in. Please make sure that snapshot changes make sense.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
## Pull Requests
|
|
51
|
-
|
|
52
|
-
This section contains information and etiquette regarding pull requests (or "PRs" as they are often called).
|
|
53
|
-
|
|
54
|
-
### Before You Start
|
|
55
|
-
|
|
56
|
-
If you are creating a new component or significantly altering an existing one, please ensure that an issue has been created _before_ you start any work, and that it has been assigned to you. The same goes for any big new additions or changes to the project structure, CI or documentation.
|
|
57
|
-
|
|
58
|
-
We ask this because:
|
|
59
|
-
|
|
60
|
-
- we want to avoid cases where developers build something that does not align with our wants & needs
|
|
61
|
-
- we want to be able to carefully plan our sprint and test cycles with minimal disruption
|
|
62
|
-
- we want to avoid cases where two developers duplicate work
|
|
63
|
-
|
|
64
|
-
### Writing Code
|
|
65
|
-
|
|
66
|
-
The contents of a pull request should be related to a single issue only (or, at most, perhaps two very closely related issues). The reviewer has the right to reject a pull request that contains anything non-issue related.
|
|
67
|
-
|
|
68
|
-
Whilst it may be tempting to fix any [broken windows](https://www.rtuin.nl/2012/08/software-development-and-the-broken-windows-theory/) that you encounter, we ask you not to because:
|
|
69
|
-
|
|
70
|
-
- it can distract the reviewer from the main issue at hand
|
|
71
|
-
- it can add additional time needed for the reviewer
|
|
72
|
-
- it can increase the chance of regressions
|
|
73
|
-
- it can make rollbacks more difficult
|
|
74
|
-
|
|
75
|
-
So please be a good citizen and create separate issues or pull requests for any broken windows that you find.
|
|
76
|
-
|
|
77
|
-
### Moving Code
|
|
78
|
-
|
|
79
|
-
Please try and isolate "noisy" commits that only _move_ many files or lines of code, from commits that actually modify code logic. The reviewer has the right to reject a pull request that is difficult to reason with due to too much _unnecessary_ noise in the diff.
|
|
80
|
-
|
|
81
|
-
For example, assuming moving some code doesn't put the app into a broken state, the move can be considered a safe atomic commit (e.g. "moved functions x, y and z to bottom of file"). The actual _fixes_ to functions x, y and z can then be made in a follow up commit (e.g. "fixed functions x, y and z") which will be easier for the reviewer to diff.
|
|
82
|
-
|
|
83
|
-
### Breaking Changes
|
|
84
|
-
|
|
85
|
-
Please think very carefully before introducing breaking API changes. Breaking changes may only be introduced in a major version. If you wish to alter the API _before_ a major version, then aliases can often be a good way to achieve this. Using an alias, the old API can be deprecated and will still continue to function.
|
|
86
|
-
|
|
87
|
-
### Deprecating Code
|
|
88
|
-
|
|
89
|
-
Any deprecated code should be clearly documented in the code comments and the release notes. Deprecated code will typically be scheduled for removal in the next major version. Example:
|
|
90
|
-
```ts
|
|
91
|
-
type TabsProps = {
|
|
92
|
-
onSelect?: (props: OnSelectProps) => void;
|
|
93
|
-
/**
|
|
94
|
-
* @deprecated Use onSelect instead
|
|
95
|
-
*/
|
|
96
|
-
onTabSelect?: (index: number) => void;
|
|
97
|
-
}
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### Avoiding Conflicts
|
|
101
|
-
|
|
102
|
-
It is your responsibility to ensure that your feature branch has no merge conflicts with its base branch. A pull request created and sent for review containing many conflicts does not inspire confidence in the reviewer.
|
|
103
|
-
|
|
104
|
-
The best way to ensure there are no conflicts is by keeping your branch up to date with its base branch and resolving any conflicts in your own branch early & often. If you are the only developer working in the feature branch, then it is usually better to rebase. If another developer is sharing your branch, then merging is the safer option (as it doesn't require a force push).
|
|
105
|
-
|
|
106
|
-
If you are working on a large feature, that takes many days, then there is a good chance that the base branch will have received other commits during that time. If you wait till the very end before syncing your branch with the base branch, then you may have to deal with some difficult merge conflicts.
|
|
107
|
-
|
|
108
|
-
### Commit History
|
|
109
|
-
|
|
110
|
-
Whilst having multiple "work in progress", "almost done" and "merged branch" type commits in a feature branch is fine, we wish to refrain from those commits polluting the milestone and master branch history. On the flip side, although rarer in comparison, we might also have some _atomic_ commits in our feature branch that we absolutely wish to keep as part of the project history.
|
|
111
|
-
|
|
112
|
-
Before creating your pull request you have two options regarding what to do with the commit history of your feature branch:
|
|
113
|
-
|
|
114
|
-
1. Squash all superfluous commits. If more than 1 commit remains, then clearly label your PR as "do not squash" in order to keep this commit history. Any subsequent commits to the branch (i.e. those made after code review) may also need squashing by you.
|
|
115
|
-
2. Do not squash any commits and clearly mark your PR as "must squash" to indicate to the reviewer that you do not wish to keep any commit history. If you wish to keep any subsequent commits (i.e. after code review), you will now need to switch tracks to option 1 above.
|
|
116
|
-
|
|
117
|
-
If a pull request is received with a bewildering commit history that is difficult to reason with (e.g. 10+ commits containing obscure commit messages, previously committed code, old branch merges, etc), it will take much more time to review and raise a lot of questions.
|
|
118
|
-
|
|
119
|
-
### Merging the Pull Request
|
|
120
|
-
|
|
121
|
-
An admin will merge or squash the pull request when it receives one or two approvals depending on its complexity. Please try to avoid committing any more code at this point unless it is absolutely necessary, as this may invalidate the prior approvals (depending on branch settings).
|
|
122
|
-
|
|
123
|
-
At least one of the commit messages should include a reference to the issue number it resolves (example: `[#45] Extract contributing document from readme`).
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
## Branching Strategy
|
|
127
|
-
|
|
128
|
-
Members of the eBayUI team must work in the main repository. Non-members must work in their own fork.
|
|
129
|
-
|
|
130
|
-
Do not attempt to commit feature work directly to the master branch. Pushes to the master branch should only be used for important corrections to the documentation or website. The master branch **always** reflects the current production facing code.
|
|
131
|
-
|
|
132
|
-
All other branches are "milestone" branches or "issue" branches.
|
|
133
|
-
|
|
134
|
-
Every milestone branch must be created from the master branch. The branch name must match the milestone name, For example, when beginning work on the 2.9.0 release, a "2.9.0" milestone branch would be created from the master branch.
|
|
135
|
-
|
|
136
|
-
Work for every issue must go in it's own branch. The branch name will match the issue number. For example, for issue number 202, a branch named "202" would be created. Remember: more than one developer may work in an issue branch, so please be courteous!
|
|
137
|
-
|
|
138
|
-
Issue branches must be created from the relevant milestone branch. For example, if issue 202 will go out in the v2.6.7 milestone, then the 202 issue branch must be created from the 2.6.7 milestone branch. This helps to keep any rebasing sane.
|
|
139
|
-
|
|
140
|
-
<strike>When work on an issue branch is complete and committed upstream, the GitHub Action must successfully run on that branch.</strike>
|
|
141
|
-
|
|
142
|
-
When all milestone issues are complete, and merged into the milestone branch, an admin will either perform a pre-release, or they will merge the milestone branch into the master branch in preparation for a final release.
|
|
143
|
-
|
|
144
|
-
A milestone branch will be deleted after it has been merged into master. There is no need to keep these milestone branches lying around, as we can go back to any point in time using git tags.
|
|
145
|
-
|
|
146
|
-
With this strategy, there are rarely more than a handful of branches at any one moment in time:
|
|
147
|
-
|
|
148
|
-
- main branch (reflects current production code/release)
|
|
149
|
-
- next minor or major milestone branch
|
|
150
|
-
- _n_ number of feature/issue branches
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
## Unit Tests
|
|
154
|
-
|
|
155
|
-
Each component has two suites of unit tests: rendering tests & user interaction tests.
|
|
156
|
-
|
|
157
|
-
Our unit tests follow the "black-box" approach. We test only the exposed, public API. We do not explicitly test the internal, private methods. Private methods are considered to be tested _implicitly_ whenever we test part of the public API (which can be evidenced via code coverage reports).
|
|
158
|
-
|
|
159
|
-
Rendering testing test that given component props, we test that the rendered html matches our expected outcome. You can use either snapshots or directly `expect(title).toBeInTheDocument()`.
|
|
160
|
-
|
|
161
|
-
User interaction testing should check that certain callbacks are called when user interactions occur. For example, when a user clicks on a button, we should check that the `onClick` callback is called. We should also check that the callback is called with the correct arguments. We should also check that the callback is not called when the user does not interact with the component. Also, we should check that certain component rendering changes occurs when user interacts with it. For example, when a user clicks on a button, we should check that the button is disabled.
|
|
162
|
-
|
|
163
|
-
For both types of tests, please observe the following golden rules:
|
|
164
|
-
|
|
165
|
-
- A test should only test one thing. Watch out for the words 'and' & 'or' in your test description!
|
|
166
|
-
- A test should not contain conditional logic. We don't want to have to write tests for our tests!
|
|
167
|
-
- A test description should avoid interpolated strings. Test descriptions should be human-readable (readable != parsable).
|
|
168
|
-
- Quality of the test > quantity of tests. A test that is not well written is worse than no test at all, it wastes your and other developers time.
|
|
169
|
-
- A test should be deterministic. A test should not fail or pass randomly. If it does, then it is not a well written test.
|
|
170
|
-
- A test should be isolated. A test should not rely on any other test or external factors. If it does, then it is not a well written test.
|
|
171
|
-
|
|
172
|
-
Above all, all aspects of a test should be human-readable. A simple litmus test for this is that anybody should be able to read the test and, within a few seconds, be able to tell you what the _purpose_ of the test is. If they are confused, or ask questions, then it is not a well written test. Go back and refactor!
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
## Storybook
|
|
176
|
-
|
|
177
|
-
Storybook is used for components development. It allows you to develop components in isolation. Storybook is also used for visual regression testing. It is also used for documentation and to showcase components.
|
|
178
|
-
|
|
179
|
-
Each component has its own storybook file in `__tests__/index.stories.tsx`. The storybook file contains stories for all component's variants.
|
|
180
|
-
|
|
181
|
-
It can also be used to test component's snapshots.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
## Definition of Done
|
|
185
|
-
|
|
186
|
-
A component is considered "done", and ready for merge into release branch, when the following 3 checkpoints have been satisfied:
|
|
187
|
-
|
|
188
|
-
1. Foundational layer review
|
|
189
|
-
|
|
190
|
-
- Visual design (DS6)
|
|
191
|
-
- Markup structure ([Bones](https://github.com/ianmcburnie/bones))
|
|
192
|
-
- Accessibility pattern ([MIND pattern](https://ebay.gitbook.io/mindpatterns/))
|
|
193
|
-
- CSS ([Skin](https://ebay.github.io/skin/))
|
|
194
|
-
|
|
195
|
-
2. Component layer review
|
|
196
|
-
|
|
197
|
-
- Props API
|
|
198
|
-
- Callback API
|
|
199
|
-
- Unit tests
|
|
200
|
-
- Integration test
|
|
201
|
-
- Performance test
|
|
202
|
-
- Documentation
|
|
203
|
-
|
|
204
|
-
3. Code review
|
|
205
|
-
|
|
206
|
-
- Linter should catch syntax and style issues
|
|
207
|
-
- Prefer performance to readability, but readability over "space-saving" code
|
|
208
|
-
- Apply the single-responsibility principle to functions
|
|
209
|
-
- Refactor long functions into several small functions
|
|
210
|
-
- Extract component parts to keep its main file small (one-two pages of code)
|
|
211
|
-
- Identify and move common utility functions to libraries or static methods
|
|
212
|
-
- Any (inline) CSS should come from Skin
|
|
213
|
-
|
|
214
|
-
One way to comply those guidelines is to implement your new component as similar as possible with the Marko [eBayUI Core](https://github.com/eBay/ebayui-core), or port the Marko implementation to React. This means the new component should:
|
|
215
|
-
|
|
216
|
-
- Output the same HTML structure
|
|
217
|
-
- Have similar behaviour (e.g open menu dropdown on click and keyboard)
|
|
218
|
-
- Support the same props/attributes (e.g. ebay-breadcrumb `a11y-heading-text`, or ebay-button `priority`)
|
|
219
|
-
- Support the same callbacks/events (e.g. ebay-select `select-change` event will become EbaySelect `onSelectChange` callback).
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
## Notes
|
|
223
|
-
|
|
224
|
-
### How to update icons on skin changes
|
|
225
|
-
|
|
226
|
-
This will update `EbaySvg` and `EbayIcon` components:
|
|
227
|
-
```shell script
|
|
228
|
-
yarn update-icons
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
## Support
|
|
235
|
-
|
|
236
|
-
Write an email to tmanyanov@ebay.com
|
package/LICENSE.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 eBay Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/jest.config.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
'testEnvironment': 'jsdom',
|
|
3
|
-
'resolver': 'jest-pnp-resolver',
|
|
4
|
-
'moduleNameMapper': {
|
|
5
|
-
'\\.(css|less)$': 'identity-obj-proxy'
|
|
6
|
-
},
|
|
7
|
-
'transform': {
|
|
8
|
-
'^.+\\.tsx?$': 'ts-jest'
|
|
9
|
-
},
|
|
10
|
-
'testRegex': '(/__tests__/.*(spec))\\.(tsx?)$',
|
|
11
|
-
'transformIgnorePatterns': [
|
|
12
|
-
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$',
|
|
13
|
-
'^.+\\.module\\.(css|less)$'
|
|
14
|
-
],
|
|
15
|
-
'moduleFileExtensions': [
|
|
16
|
-
'ts',
|
|
17
|
-
'tsx',
|
|
18
|
-
'js',
|
|
19
|
-
'json'
|
|
20
|
-
],
|
|
21
|
-
'modulePathIgnorePatterns': [
|
|
22
|
-
'<rootDir>/build/',
|
|
23
|
-
'<rootDir>/.yarn-cache/v2/', // ignore yarn cache to make it pass Altus CI
|
|
24
|
-
"<rootDir>/build-ebay/", // ignore build-ebay injected on CI
|
|
25
|
-
],
|
|
26
|
-
// A set of global variables that need to be available in all test environments
|
|
27
|
-
globals: {
|
|
28
|
-
'ts-jest': {
|
|
29
|
-
diagnostics: false, // hide non-essential info
|
|
30
|
-
isolatedModules: true // skip type checks
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
reporters: [
|
|
34
|
-
'default',
|
|
35
|
-
'jest-junit'
|
|
36
|
-
],
|
|
37
|
-
'collectCoverageFrom': [
|
|
38
|
-
'src/**/*.{ts,tsx}',
|
|
39
|
-
'!**/__tests__/**/*.{ts,tsx}', // exclude test files
|
|
40
|
-
'!src/components/*/index.ts', // exclude components re-exporter file
|
|
41
|
-
'!src/**/*.stories.tsx',
|
|
42
|
-
'!src/**/index.d.ts',
|
|
43
|
-
'!src/config.ts',
|
|
44
|
-
'!**/node_modules/**'
|
|
45
|
-
],
|
|
46
|
-
'coverageReporters': [
|
|
47
|
-
'json', 'lcov', 'text', 'cobertura'
|
|
48
|
-
],
|
|
49
|
-
setupFilesAfterEnv: [
|
|
50
|
-
'<rootDir>/config/jest/setup-tests.ts'
|
|
51
|
-
]
|
|
52
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* adapted from:
|
|
3
|
-
* https://github.com/behnammodi/polyfill/blob/master/array.polyfill.js
|
|
4
|
-
* Array.prototype.flat()
|
|
5
|
-
* version 0.0.0
|
|
6
|
-
* Feature Chrome Firefox Internet Explorer Opera Safari Edge
|
|
7
|
-
* Basic support 69 62 (No) 56 12 (No)
|
|
8
|
-
* -------------------------------------------------------------------------------
|
|
9
|
-
*/
|
|
10
|
-
if (!Array.prototype.flat) {
|
|
11
|
-
// eslint-disable-next-line no-extend-native
|
|
12
|
-
Object.defineProperty(Array.prototype, 'flat', {
|
|
13
|
-
configurable: true,
|
|
14
|
-
writable: true,
|
|
15
|
-
value: function (d) {
|
|
16
|
-
const depthArg =
|
|
17
|
-
typeof d === 'undefined' ? 1 : Number(d) || 0
|
|
18
|
-
const result = []
|
|
19
|
-
const forEach = result.forEach
|
|
20
|
-
|
|
21
|
-
const flatDeep = (arr, depth) =>
|
|
22
|
-
forEach.call(arr, val => {
|
|
23
|
-
if (depth > 0 && Array.isArray(val)) {
|
|
24
|
-
flatDeep(val, depth - 1)
|
|
25
|
-
} else {
|
|
26
|
-
result.push(val)
|
|
27
|
-
}
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
flatDeep(this, depthArg)
|
|
31
|
-
return result
|
|
32
|
-
}
|
|
33
|
-
})
|
|
34
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { FC, forwardRef } from 'react'
|
|
2
|
-
|
|
3
|
-
const getDisplayName = <Props, >(Component: FC<Props>) => Component.displayName || Component.name || 'Component'
|
|
4
|
-
|
|
5
|
-
// Typescript will automatically find the return type crom forwardRef() function
|
|
6
|
-
// Disabling eslint for this use case
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
|
8
|
-
export const withForwardRef = <Props, >(Component: FC<Props>) => {
|
|
9
|
-
const ForwardRef = forwardRef<FC<Props>, Props>((props, ref) =>
|
|
10
|
-
<Component {...props} forwardedRef={ref} />)
|
|
11
|
-
|
|
12
|
-
ForwardRef.displayName = getDisplayName<Props>(Component)
|
|
13
|
-
|
|
14
|
-
return ForwardRef
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Children, FC, ReactElement, ReactNode } from 'react'
|
|
2
|
-
import './array.polyfill.flat' // for Mobile Safari 11
|
|
3
|
-
|
|
4
|
-
export function findComponent(nodes: ReactNode = [], componentType: FC): ReactElement | undefined {
|
|
5
|
-
const elements = Children.toArray(nodes) as ReactElement[]
|
|
6
|
-
return elements.find(({ type }) => type === componentType) || null
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export function excludeComponent(nodes: ReactNode = [], componentType: FC): ReactElement[] {
|
|
10
|
-
const elements = Children.toArray(nodes) as ReactElement[]
|
|
11
|
-
return elements.filter(({ type }) => type !== componentType)
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export function filterByType(nodes: ReactNode = [], componentType: FC | FC[]): ReactElement[] {
|
|
15
|
-
const elements = Children.toArray(nodes) as ReactElement[]
|
|
16
|
-
const types = [componentType].flat()
|
|
17
|
-
return elements.filter(({ type }) => types.includes(type as any))
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export function filterBy(nodes: ReactNode = [], predicate: (el: ReactElement) => boolean): ReactElement[] {
|
|
21
|
-
const elements = Children.toArray(nodes) as ReactElement[]
|
|
22
|
-
return elements.filter(predicate)
|
|
23
|
-
}
|
package/src/common/debounce.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export function debounce<F extends(...args: Parameters<F>) => ReturnType<F>>(
|
|
2
|
-
fn: F,
|
|
3
|
-
ms: number
|
|
4
|
-
): (...args: Parameters<F>) => void {
|
|
5
|
-
let timer: ReturnType<typeof setTimeout>
|
|
6
|
-
|
|
7
|
-
return (...args) => {
|
|
8
|
-
clearTimeout(timer)
|
|
9
|
-
timer = setTimeout(() => fn(...args), ms)
|
|
10
|
-
}
|
|
11
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { act, renderHook } from '@testing-library/react-hooks/dom'
|
|
2
|
-
import { fireEvent } from '@testing-library/react'
|
|
3
|
-
import useKeyPress from '../use-key-press'
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
describe('useKeyPress', () => {
|
|
7
|
-
it('should return [false,false] by default', () => {
|
|
8
|
-
const { result } = renderHook(() => useKeyPress())
|
|
9
|
-
|
|
10
|
-
expect(result.current).toEqual([false, false])
|
|
11
|
-
})
|
|
12
|
-
it('should return [true,false] on arrow-up', () => {
|
|
13
|
-
const { result } = renderHook(() => useKeyPress())
|
|
14
|
-
|
|
15
|
-
act(() => {
|
|
16
|
-
fireEvent.keyDown(window, { key: 'ArrowUp' })
|
|
17
|
-
})
|
|
18
|
-
|
|
19
|
-
expect(result.current).toEqual([true, false])
|
|
20
|
-
})
|
|
21
|
-
it('should return [false,true] on arrow-down', () => {
|
|
22
|
-
const { result } = renderHook(() => useKeyPress())
|
|
23
|
-
|
|
24
|
-
act(() => {
|
|
25
|
-
fireEvent.keyDown(window, { key: 'ArrowDown' })
|
|
26
|
-
})
|
|
27
|
-
|
|
28
|
-
expect(result.current).toEqual([false, true])
|
|
29
|
-
})
|
|
30
|
-
})
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react'
|
|
2
|
-
import { act, renderHook } from '@testing-library/react-hooks/dom'
|
|
3
|
-
import { fireEvent } from '@testing-library/react'
|
|
4
|
-
import useRovingIndex from '../use-roving-index'
|
|
5
|
-
|
|
6
|
-
const TestComponent: FC = () => <div />
|
|
7
|
-
|
|
8
|
-
const children = [
|
|
9
|
-
<div />,
|
|
10
|
-
<TestComponent />,
|
|
11
|
-
<TestComponent />,
|
|
12
|
-
<div />
|
|
13
|
-
]
|
|
14
|
-
|
|
15
|
-
describe('useRovingIndex', () => {
|
|
16
|
-
it('should return undefined by default', () => {
|
|
17
|
-
const { result } = renderHook(() => useRovingIndex(children, TestComponent))
|
|
18
|
-
|
|
19
|
-
expect(result.current[0]).toBeUndefined()
|
|
20
|
-
expect(typeof result.current[1]).toEqual('function')
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
it('should update index', () => {
|
|
24
|
-
const { result } = renderHook(() => useRovingIndex(children, TestComponent))
|
|
25
|
-
|
|
26
|
-
act(() => {
|
|
27
|
-
result.current[1](0)
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
expect(result.current[0]).toEqual(0)
|
|
31
|
-
})
|
|
32
|
-
|
|
33
|
-
it('should ignore non-focusable elements', () => {
|
|
34
|
-
const { result, rerender } = renderHook(() => useRovingIndex(children, TestComponent))
|
|
35
|
-
|
|
36
|
-
act(() => {
|
|
37
|
-
result.current[1](0)
|
|
38
|
-
})
|
|
39
|
-
rerender()
|
|
40
|
-
|
|
41
|
-
act(() => {
|
|
42
|
-
fireEvent.keyDown(window, { key: 'ArrowDown' })
|
|
43
|
-
})
|
|
44
|
-
expect(result.current[0]).toEqual(0)
|
|
45
|
-
rerender()
|
|
46
|
-
|
|
47
|
-
act(() => {
|
|
48
|
-
fireEvent.keyDown(window, { key: 'ArrowDown' })
|
|
49
|
-
})
|
|
50
|
-
|
|
51
|
-
expect(result.current[0]).toEqual(0)
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
it('should update index on keyDown', () => {
|
|
55
|
-
const { result, rerender } = renderHook(() => useRovingIndex(children, TestComponent))
|
|
56
|
-
|
|
57
|
-
act(() => {
|
|
58
|
-
result.current[1](1)
|
|
59
|
-
})
|
|
60
|
-
rerender()
|
|
61
|
-
|
|
62
|
-
act(() => {
|
|
63
|
-
fireEvent.keyDown(window, { key: 'ArrowDown' })
|
|
64
|
-
})
|
|
65
|
-
expect(result.current[0]).toEqual(2)
|
|
66
|
-
})
|
|
67
|
-
|
|
68
|
-
it('should update index on keyDown', () => {
|
|
69
|
-
const { result, rerender } = renderHook(() => useRovingIndex(children, TestComponent))
|
|
70
|
-
|
|
71
|
-
act(() => {
|
|
72
|
-
result.current[1](2)
|
|
73
|
-
})
|
|
74
|
-
rerender()
|
|
75
|
-
|
|
76
|
-
act(() => {
|
|
77
|
-
fireEvent.keyDown(window, { key: 'ArrowUp' })
|
|
78
|
-
})
|
|
79
|
-
expect(result.current[0]).toEqual(1)
|
|
80
|
-
})
|
|
81
|
-
})
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Based on https://github.com/eBay/ebayui-core/edit/master/src/common/event-utils/index.js
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import React from 'react'
|
|
6
|
-
import { Key } from './types'
|
|
7
|
-
|
|
8
|
-
type Callback = () => void
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Generic keydown handler used by more specific cases
|
|
12
|
-
* @param {Array} keyList: List of acceptable keys
|
|
13
|
-
* @param {KeyboardEvent} e
|
|
14
|
-
* @param {Function} callback
|
|
15
|
-
*/
|
|
16
|
-
function handleKeydown(keyList: Key[], e: React.KeyboardEvent, callback: Callback = () => {}): void {
|
|
17
|
-
if (keyList.includes(e.key as Key)) {
|
|
18
|
-
callback()
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// inverse of found keys
|
|
23
|
-
function handleNotKeydown(keyList: Key[], e: React.KeyboardEvent, callback: Callback = () => {}): void {
|
|
24
|
-
if (!keyList.includes(e.key as Key)) {
|
|
25
|
-
callback()
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export function handleEnterKeydown(e: React.KeyboardEvent, callback: Callback): void {
|
|
30
|
-
if (e.key === 'Enter') {
|
|
31
|
-
callback()
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function handleActionKeydown(e: React.KeyboardEvent, callback: Callback): void {
|
|
36
|
-
if (isActionKey(e.key as Key)) {
|
|
37
|
-
callback()
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function isActionKey(key: Key): boolean {
|
|
42
|
-
return [' ', 'Enter'].includes(key)
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function handleEscapeKeydown(e: React.KeyboardEvent, callback: Callback): void {
|
|
46
|
-
handleKeydown(['Esc', 'Escape'], e, callback)
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function handleUpDownArrowsKeydown(e: React.KeyboardEvent, callback: Callback): void {
|
|
50
|
-
handleKeydown(['Up', 'ArrowUp', 'Down', 'ArrowDown'], e, callback)
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function handleLeftRightArrowsKeydown(e: React.KeyboardEvent, callback: Callback): void {
|
|
54
|
-
handleKeydown(['Left', 'ArrowLeft', 'Right', 'ArrowRight'], e, callback)
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// only fire for character input, not modifier/meta keys (enter, escape, backspace, tab, etc.)
|
|
58
|
-
export function handleTextInput(e: React.KeyboardEvent, callback: Callback): void {
|
|
59
|
-
const keyList: Key[] = [
|
|
60
|
-
// Edge
|
|
61
|
-
'Esc',
|
|
62
|
-
'Left',
|
|
63
|
-
'Up',
|
|
64
|
-
'Right',
|
|
65
|
-
'Down',
|
|
66
|
-
// Browsers
|
|
67
|
-
'Tab',
|
|
68
|
-
'Enter',
|
|
69
|
-
'Shift',
|
|
70
|
-
'Control',
|
|
71
|
-
'Alt',
|
|
72
|
-
'CapsLock',
|
|
73
|
-
'Escape',
|
|
74
|
-
'ArrowLeft',
|
|
75
|
-
'ArrowUp',
|
|
76
|
-
'ArrowRight',
|
|
77
|
-
'ArrowDown',
|
|
78
|
-
'Meta'
|
|
79
|
-
]
|
|
80
|
-
|
|
81
|
-
handleNotKeydown(keyList, e, callback)
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function preventDefaultIfHijax(e: React.KeyboardEvent, hijax: boolean): void {
|
|
85
|
-
if (hijax) {
|
|
86
|
-
e.preventDefault()
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
type Handler = (e: KeyboardEvent | Event) => void
|
|
91
|
-
|
|
92
|
-
const handlers: Handler[] = []
|
|
93
|
-
|
|
94
|
-
export function addEventListener(_: unknown, handler: Handler): void {
|
|
95
|
-
if (handlers.length === 0) {
|
|
96
|
-
window.addEventListener('resize', handleResize)
|
|
97
|
-
}
|
|
98
|
-
handlers.push(handler)
|
|
99
|
-
}
|
|
100
|
-
export function removeEventListener(_: unknown, handler: Handler): void {
|
|
101
|
-
if (handlers.length === 1) {
|
|
102
|
-
window.removeEventListener('resize', handleResize)
|
|
103
|
-
}
|
|
104
|
-
handlers.splice(handlers.indexOf(handler), 1)
|
|
105
|
-
}
|
|
106
|
-
export function handleResize(e: KeyboardEvent | Event): void {
|
|
107
|
-
window.removeEventListener('resize', handleResize)
|
|
108
|
-
const callback = () => {
|
|
109
|
-
if (handlers.length) {
|
|
110
|
-
handlers.forEach(handler => handler(e))
|
|
111
|
-
window.addEventListener('resize', handleResize)
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
if (window.requestAnimationFrame) {
|
|
115
|
-
window.requestAnimationFrame(callback)
|
|
116
|
-
} else {
|
|
117
|
-
window.setTimeout(callback, 16)
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export function wrapEvent(parentEventHandler: Handler = () => {}, localEventHandler: Handler) {
|
|
122
|
-
return (e: KeyboardEvent): void => {
|
|
123
|
-
parentEventHandler(e)
|
|
124
|
-
if (!e.defaultPrevented) {
|
|
125
|
-
return localEventHandler(e)
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|