@ebay/ui-core-react 8.5.2 → 8.7.0
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/README.md +104 -84
- package/common/__mocks__/random-id.d.ts.map +1 -1
- package/common/component-utils/forwardRef.d.ts +1 -1
- package/common/component-utils/forwardRef.d.ts.map +1 -1
- package/common/component-utils/index.d.ts +2 -2
- package/common/component-utils/index.d.ts.map +1 -1
- package/common/component-utils/utils.d.ts +2 -2
- package/common/component-utils/utils.d.ts.map +1 -1
- package/common/debounce.d.ts.map +1 -1
- package/common/dropdown.d.ts +10 -10
- package/common/dropdown.d.ts.map +1 -1
- package/common/event-utils/index.d.ts +2 -2
- package/common/event-utils/index.d.ts.map +1 -1
- package/common/event-utils/types.d.ts +4 -4
- package/common/event-utils/types.d.ts.map +1 -1
- package/common/event-utils/use-key-press.d.ts.map +1 -1
- package/common/event-utils/use-roving-index.d.ts +1 -1
- package/common/event-utils/use-roving-index.d.ts.map +1 -1
- package/common/floating-label-utils/hooks.d.ts +6 -6
- package/common/floating-label-utils/hooks.d.ts.map +1 -1
- package/common/notice-utils/notice-content.d.ts +2 -2
- package/common/notice-utils/notice-content.d.ts.map +1 -1
- package/common/notice-utils/notice-cta.d.ts +2 -2
- package/common/notice-utils/notice-cta.d.ts.map +1 -1
- package/common/notice-utils/notice-footer.d.ts +2 -2
- package/common/notice-utils/notice-footer.d.ts.map +1 -1
- package/common/notice-utils/notice-title.d.ts +3 -3
- package/common/notice-utils/notice-title.d.ts.map +1 -1
- package/common/random-id.d.ts.map +1 -1
- package/common/range.d.ts.map +1 -1
- package/common/tooltip-utils/constants.d.ts +2 -2
- package/common/tooltip-utils/constants.d.ts.map +1 -1
- package/common/tooltip-utils/index.d.ts +7 -7
- package/common/tooltip-utils/index.d.ts.map +1 -1
- package/common/tooltip-utils/tooltip-close-button.d.ts +1 -1
- package/common/tooltip-utils/tooltip-close-button.d.ts.map +1 -1
- package/common/tooltip-utils/tooltip-content.d.ts +2 -2
- package/common/tooltip-utils/tooltip-content.d.ts.map +1 -1
- package/common/tooltip-utils/tooltip-footer.d.ts +2 -2
- package/common/tooltip-utils/tooltip-footer.d.ts.map +1 -1
- package/common/tooltip-utils/tooltip-host.d.ts +1 -1
- package/common/tooltip-utils/tooltip-host.d.ts.map +1 -1
- package/common/tooltip-utils/tooltip.d.ts +3 -3
- package/common/tooltip-utils/tooltip.d.ts.map +1 -1
- package/common/tooltip-utils/types.d.ts +2 -2
- package/common/tooltip-utils/types.d.ts.map +1 -1
- package/common/tooltip-utils/use-tooltip.d.ts +1 -1
- package/common/tooltip-utils/use-tooltip.d.ts.map +1 -1
- package/dialog-previous-button-B1dTCOv2.js +1 -0
- package/ebay-accordion/accordion.d.ts +5 -5
- package/ebay-accordion/accordion.d.ts.map +1 -1
- package/ebay-accordion/index.d.ts +2 -2
- package/ebay-accordion/index.d.ts.map +1 -1
- package/ebay-accordion/index.js +2 -2
- package/ebay-alert-dialog/README.md +14 -11
- package/ebay-alert-dialog/alert-dialog.d.ts +2 -2
- package/ebay-alert-dialog/alert-dialog.d.ts.map +1 -1
- package/ebay-alert-dialog/index.d.ts +1 -1
- package/ebay-alert-dialog/index.d.ts.map +1 -1
- package/ebay-alert-dialog/index.js +1 -1
- package/ebay-avatar/avatar-image.d.ts +2 -2
- package/ebay-avatar/avatar-image.d.ts.map +1 -1
- package/ebay-avatar/avatar.d.ts +3 -3
- package/ebay-avatar/avatar.d.ts.map +1 -1
- package/ebay-avatar/index.d.ts +3 -3
- package/ebay-avatar/index.d.ts.map +1 -1
- package/ebay-avatar/types.d.ts +1 -1
- package/ebay-avatar/utils.d.ts +1 -1
- package/ebay-avatar/utils.d.ts.map +1 -1
- package/ebay-badge/README.md +13 -8
- package/ebay-badge/badge.d.ts +3 -3
- package/ebay-badge/badge.d.ts.map +1 -1
- package/ebay-badge/index.d.ts +1 -1
- package/ebay-badge/index.d.ts.map +1 -1
- package/ebay-breadcrumbs/README.md +18 -13
- package/ebay-breadcrumbs/breadcrumb-item.d.ts +3 -3
- package/ebay-breadcrumbs/breadcrumb-item.d.ts.map +1 -1
- package/ebay-breadcrumbs/breadcrumbs.d.ts +3 -3
- package/ebay-breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/ebay-breadcrumbs/index.d.ts +2 -2
- package/ebay-breadcrumbs/index.d.ts.map +1 -1
- package/ebay-button/README.md +34 -23
- package/ebay-button/button-cell.d.ts +3 -3
- package/ebay-button/button-cell.d.ts.map +1 -1
- package/ebay-button/button-expand.d.ts +1 -1
- package/ebay-button/button-expand.d.ts.map +1 -1
- package/ebay-button/button-loading.d.ts +1 -1
- package/ebay-button/button-loading.d.ts.map +1 -1
- package/ebay-button/button-text.d.ts +2 -2
- package/ebay-button/button-text.d.ts.map +1 -1
- package/ebay-button/button.d.ts +3 -3
- package/ebay-button/button.d.ts.map +1 -1
- package/ebay-button/index.d.ts +3 -3
- package/ebay-button/index.d.ts.map +1 -1
- package/ebay-button/types.d.ts +5 -5
- package/ebay-button/types.d.ts.map +1 -1
- package/ebay-calendar/README.md +23 -20
- package/ebay-calendar/calendar.d.ts +2 -2
- package/ebay-calendar/calendar.d.ts.map +1 -1
- package/ebay-calendar/date-utils.d.ts +1 -1
- package/ebay-calendar/date-utils.d.ts.map +1 -1
- package/ebay-calendar/index.d.ts +1 -1
- package/ebay-calendar/index.d.ts.map +1 -1
- package/ebay-carousel/README.md +21 -22
- package/ebay-carousel/carousel-control-button.d.ts +2 -2
- package/ebay-carousel/carousel-control-button.d.ts.map +1 -1
- package/ebay-carousel/carousel-item.d.ts +3 -3
- package/ebay-carousel/carousel-item.d.ts.map +1 -1
- package/ebay-carousel/carousel-list.d.ts +2 -2
- package/ebay-carousel/carousel-list.d.ts.map +1 -1
- package/ebay-carousel/carousel.d.ts +2 -2
- package/ebay-carousel/carousel.d.ts.map +1 -1
- package/ebay-carousel/helpers.d.ts +5 -5
- package/ebay-carousel/helpers.d.ts.map +1 -1
- package/ebay-carousel/index.d.ts +2 -2
- package/ebay-carousel/index.d.ts.map +1 -1
- package/ebay-carousel/scroll-to-transition.d.ts.map +1 -1
- package/ebay-carousel/types.d.ts +5 -5
- package/ebay-carousel/types.d.ts.map +1 -1
- package/ebay-ccd/README.md +11 -17
- package/ebay-ccd/ccd.d.ts +4 -4
- package/ebay-ccd/ccd.d.ts.map +1 -1
- package/ebay-ccd/index.d.ts +1 -1
- package/ebay-character-count/README.md +6 -6
- package/ebay-character-count/character-count.d.ts +3 -3
- package/ebay-character-count/character-count.d.ts.map +1 -1
- package/ebay-character-count/index.d.ts +2 -2
- package/ebay-checkbox/README.md +14 -9
- package/ebay-checkbox/checkbox.d.ts +3 -3
- package/ebay-checkbox/checkbox.d.ts.map +1 -1
- package/ebay-checkbox/index.d.ts +2 -2
- package/ebay-checkbox/index.d.ts.map +1 -1
- package/ebay-checkbox/types.d.ts +2 -2
- package/ebay-checkbox/types.d.ts.map +1 -1
- package/ebay-chip/README.md +6 -10
- package/ebay-chip/chip.d.ts +3 -3
- package/ebay-chip/chip.d.ts.map +1 -1
- package/ebay-chip/index.d.ts +1 -1
- package/ebay-chip/index.d.ts.map +1 -1
- package/ebay-chips-combobox/chips-combobox.d.ts +4 -4
- package/ebay-chips-combobox/chips-combobox.d.ts.map +1 -1
- package/ebay-chips-combobox/index.d.ts +3 -3
- package/ebay-chips-combobox/index.d.ts.map +1 -1
- package/ebay-chips-combobox/types.d.ts +1 -1
- package/ebay-chips-combobox/types.d.ts.map +1 -1
- package/ebay-combobox/combobox-button.d.ts +2 -2
- package/ebay-combobox/combobox-button.d.ts.map +1 -1
- package/ebay-combobox/combobox-option.d.ts +2 -2
- package/ebay-combobox/combobox-option.d.ts.map +1 -1
- package/ebay-combobox/combobox.d.ts +3 -3
- package/ebay-combobox/combobox.d.ts.map +1 -1
- package/ebay-combobox/index.d.ts +4 -4
- package/ebay-combobox/index.d.ts.map +1 -1
- package/ebay-combobox/types.d.ts +4 -4
- package/ebay-combobox/types.d.ts.map +1 -1
- package/ebay-confirm-dialog/README.md +17 -13
- package/ebay-confirm-dialog/confirm-dialog.d.ts +3 -3
- package/ebay-confirm-dialog/confirm-dialog.d.ts.map +1 -1
- package/ebay-confirm-dialog/index.d.ts +1 -1
- package/ebay-confirm-dialog/index.d.ts.map +1 -1
- package/ebay-confirm-dialog/index.js +1 -1
- package/ebay-cta-button/README.md +15 -9
- package/ebay-cta-button/cta-button.d.ts +3 -3
- package/ebay-cta-button/cta-button.d.ts.map +1 -1
- package/ebay-cta-button/index.d.ts +1 -1
- package/ebay-cta-button/index.d.ts.map +1 -1
- package/ebay-date-textbox/README.md +25 -24
- package/ebay-date-textbox/date-textbox.d.ts +4 -4
- package/ebay-date-textbox/date-textbox.d.ts.map +1 -1
- package/ebay-date-textbox/index.d.ts +1 -1
- package/ebay-date-textbox/index.d.ts.map +1 -1
- package/ebay-details/ebay-details.d.ts +5 -6
- package/ebay-details/ebay-details.d.ts.map +1 -1
- package/ebay-details/index.d.ts +1 -1
- package/ebay-details/index.d.ts.map +1 -1
- package/ebay-details/index.js +1 -1
- package/ebay-details-BuPepKYE.js +1 -0
- package/ebay-dialog-base/README.md +2 -6
- package/ebay-dialog-base/components/animation.d.ts +2 -2
- package/ebay-dialog-base/components/animation.d.ts.map +1 -1
- package/ebay-dialog-base/components/dialog-actions.d.ts +1 -1
- package/ebay-dialog-base/components/dialog-actions.d.ts.map +1 -1
- package/ebay-dialog-base/components/dialog-close-button.d.ts +1 -1
- package/ebay-dialog-base/components/dialog-close-button.d.ts.map +1 -1
- package/ebay-dialog-base/components/dialog-footer.d.ts +1 -1
- package/ebay-dialog-base/components/dialog-footer.d.ts.map +1 -1
- package/ebay-dialog-base/components/dialog-header.d.ts +2 -2
- package/ebay-dialog-base/components/dialog-header.d.ts.map +1 -1
- package/ebay-dialog-base/components/dialog-previous-button.d.ts +2 -2
- package/ebay-dialog-base/components/dialog-previous-button.d.ts.map +1 -1
- package/ebay-dialog-base/components/dialogBase.d.ts +8 -8
- package/ebay-dialog-base/components/dialogBase.d.ts.map +1 -1
- package/ebay-dialog-base/dialog-base-with-state.d.ts +2 -2
- package/ebay-dialog-base/dialog-base-with-state.d.ts.map +1 -1
- package/ebay-dialog-base/index.d.ts +9 -9
- package/ebay-dialog-base/index.d.ts.map +1 -1
- package/ebay-dialog-base/index.js +1 -1
- package/ebay-dialog-base/types.d.ts +1 -1
- package/ebay-dialog-base/types.d.ts.map +1 -1
- package/ebay-drawer-dialog-deprecated/README.md +18 -8
- package/ebay-drawer-dialog-deprecated/components/drawer.d.ts +2 -2
- package/ebay-drawer-dialog-deprecated/components/drawer.d.ts.map +1 -1
- package/ebay-drawer-dialog-deprecated/index.d.ts +1 -1
- package/ebay-drawer-dialog-deprecated/index.d.ts.map +1 -1
- package/ebay-drawer-dialog-deprecated/index.js +1 -1
- package/ebay-education-notice/README.md +6 -9
- package/ebay-education-notice/education-notice-footer.d.ts +1 -1
- package/ebay-education-notice/education-notice-footer.d.ts.map +1 -1
- package/ebay-education-notice/education-notice-title.d.ts +2 -2
- package/ebay-education-notice/education-notice-title.d.ts.map +1 -1
- package/ebay-education-notice/education-notice.d.ts +6 -6
- package/ebay-education-notice/education-notice.d.ts.map +1 -1
- package/ebay-education-notice/index.d.ts +4 -4
- package/ebay-education-notice/index.d.ts.map +1 -1
- package/ebay-education-notice/types.d.ts +1 -1
- package/ebay-education-notice/types.d.ts.map +1 -1
- package/ebay-eek/README.md +13 -8
- package/ebay-eek/eek-rating.d.ts +1 -1
- package/ebay-eek/eek-rating.d.ts.map +1 -1
- package/ebay-eek/eek-util.d.ts +1 -1
- package/ebay-eek/eek-util.d.ts.map +1 -1
- package/ebay-eek/index.d.ts +1 -1
- package/ebay-eek/index.d.ts.map +1 -1
- package/ebay-fake-link/fake-link.d.ts +4 -4
- package/ebay-fake-link/fake-link.d.ts.map +1 -1
- package/ebay-fake-link/index.d.ts +1 -1
- package/ebay-fake-link/index.d.ts.map +1 -1
- package/ebay-fake-menu/README.md +23 -15
- package/ebay-fake-menu/index.d.ts +3 -3
- package/ebay-fake-menu/index.d.ts.map +1 -1
- package/ebay-fake-menu/menu-item-separator.d.ts +2 -2
- package/ebay-fake-menu/menu-item-separator.d.ts.map +1 -1
- package/ebay-fake-menu/menu-item.d.ts +3 -3
- package/ebay-fake-menu/menu-item.d.ts.map +1 -1
- package/ebay-fake-menu/menu.d.ts +3 -3
- package/ebay-fake-menu/menu.d.ts.map +1 -1
- package/ebay-fake-menu-button/README.md +34 -31
- package/ebay-fake-menu-button/index.d.ts +4 -4
- package/ebay-fake-menu-button/index.d.ts.map +1 -1
- package/ebay-fake-menu-button/menu-button-item.d.ts +2 -2
- package/ebay-fake-menu-button/menu-button-item.d.ts.map +1 -1
- package/ebay-fake-menu-button/menu-button-label.d.ts +1 -1
- package/ebay-fake-menu-button/menu-button-label.d.ts.map +1 -1
- package/ebay-fake-menu-button/menu-button-separator.d.ts +2 -2
- package/ebay-fake-menu-button/menu-button-separator.d.ts.map +1 -1
- package/ebay-fake-menu-button/menu-button.d.ts +5 -5
- package/ebay-fake-menu-button/menu-button.d.ts.map +1 -1
- package/ebay-fake-tabs/README.md +14 -9
- package/ebay-fake-tabs/fake-tabs.d.ts +2 -2
- package/ebay-fake-tabs/fake-tabs.d.ts.map +1 -1
- package/ebay-fake-tabs/index.d.ts +2 -2
- package/ebay-fake-tabs/index.d.ts.map +1 -1
- package/ebay-fake-tabs/tab.d.ts +3 -3
- package/ebay-fake-tabs/tab.d.ts.map +1 -1
- package/ebay-field/README.md +30 -21
- package/ebay-field/description.d.ts +3 -3
- package/ebay-field/description.d.ts.map +1 -1
- package/ebay-field/field.d.ts +2 -2
- package/ebay-field/field.d.ts.map +1 -1
- package/ebay-field/index.d.ts +4 -4
- package/ebay-field/index.d.ts.map +1 -1
- package/ebay-field/label.d.ts +3 -3
- package/ebay-field/label.d.ts.map +1 -1
- package/ebay-field/types.d.ts +4 -4
- package/ebay-field/types.d.ts.map +1 -1
- package/ebay-file-input/README.md +4 -8
- package/ebay-file-input/file-input.d.ts +3 -3
- package/ebay-file-input/file-input.d.ts.map +1 -1
- package/ebay-file-input/index.d.ts +1 -1
- package/ebay-file-input/index.d.ts.map +1 -1
- package/ebay-file-input/types.d.ts +1 -1
- package/ebay-file-preview-card/README.md +25 -8
- package/ebay-file-preview-card/ebay-file-preview-card-action.d.ts +6 -0
- package/ebay-file-preview-card/ebay-file-preview-card-action.d.ts.map +1 -0
- package/ebay-file-preview-card/file-preview-action.d.ts +10 -7
- package/ebay-file-preview-card/file-preview-action.d.ts.map +1 -1
- package/ebay-file-preview-card/file-preview-card.d.ts +9 -7
- package/ebay-file-preview-card/file-preview-card.d.ts.map +1 -1
- package/ebay-file-preview-card/file-preview-content.d.ts +3 -3
- package/ebay-file-preview-card/file-preview-content.d.ts.map +1 -1
- package/ebay-file-preview-card/file-preview-label.d.ts +2 -2
- package/ebay-file-preview-card/file-preview-label.d.ts.map +1 -1
- package/ebay-file-preview-card/index.d.ts +3 -2
- package/ebay-file-preview-card/index.d.ts.map +1 -1
- package/ebay-file-preview-card/index.js +1 -1
- package/ebay-file-preview-card/types.d.ts +2 -2
- package/ebay-file-preview-card/types.d.ts.map +1 -1
- package/ebay-file-preview-card-group/README.md +5 -4
- package/ebay-file-preview-card-group/file-preview-card-group.d.ts +6 -5
- package/ebay-file-preview-card-group/file-preview-card-group.d.ts.map +1 -1
- package/ebay-file-preview-card-group/index.d.ts +1 -1
- package/ebay-file-preview-card-group/index.d.ts.map +1 -1
- package/ebay-file-preview-card-group/index.js +1 -1
- package/ebay-file-preview-card-group/types.d.ts +2 -2
- package/ebay-file-preview-card-group/types.d.ts.map +1 -1
- package/ebay-filter/filter.d.ts +3 -3
- package/ebay-filter/filter.d.ts.map +1 -1
- package/ebay-filter/index.d.ts +2 -2
- package/ebay-filter/index.d.ts.map +1 -1
- package/ebay-filter/types.d.ts +1 -1
- package/ebay-filter/types.d.ts.map +1 -1
- package/ebay-filter-menu/filter-menu-footer-button.d.ts +4 -4
- package/ebay-filter-menu/filter-menu-footer-button.d.ts.map +1 -1
- package/ebay-filter-menu/filter-menu-item.d.ts +4 -4
- package/ebay-filter-menu/filter-menu-item.d.ts.map +1 -1
- package/ebay-filter-menu/filter-menu.d.ts +3 -3
- package/ebay-filter-menu/filter-menu.d.ts.map +1 -1
- package/ebay-filter-menu/index.d.ts +4 -4
- package/ebay-filter-menu/index.d.ts.map +1 -1
- package/ebay-filter-menu/types.d.ts +3 -3
- package/ebay-filter-menu/types.d.ts.map +1 -1
- package/ebay-filter-menu-button/README.md +5 -5
- package/ebay-filter-menu-button/filter-menu-button.d.ts +2 -2
- package/ebay-filter-menu-button/filter-menu-button.d.ts.map +1 -1
- package/ebay-filter-menu-button/index.d.ts +2 -2
- package/ebay-filter-menu-button/index.d.ts.map +1 -1
- package/ebay-fullscreen-dialog-deprecated/README.md +13 -10
- package/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.d.ts +3 -3
- package/ebay-fullscreen-dialog-deprecated/fullscreen-dialog.d.ts.map +1 -1
- package/ebay-fullscreen-dialog-deprecated/index.d.ts +1 -1
- package/ebay-fullscreen-dialog-deprecated/index.d.ts.map +1 -1
- package/ebay-fullscreen-dialog-deprecated/index.js +1 -1
- package/ebay-icon/README.md +13 -9
- package/ebay-icon/icon.d.ts +5 -5
- package/ebay-icon/icon.d.ts.map +1 -1
- package/ebay-icon/index.d.ts +2 -2
- package/ebay-icon/index.d.ts.map +1 -1
- package/ebay-icon-button/README.md +23 -15
- package/ebay-icon-button/icon-button.d.ts +5 -5
- package/ebay-icon-button/icon-button.d.ts.map +1 -1
- package/ebay-icon-button/index.d.ts +1 -1
- package/ebay-icon-button/index.d.ts.map +1 -1
- package/ebay-image-placeholder/README.md +1 -6
- package/ebay-image-placeholder/image-placeholder.d.ts +1 -1
- package/ebay-image-placeholder/image-placeholder.d.ts.map +1 -1
- package/ebay-image-placeholder/index.d.ts +1 -1
- package/ebay-image-placeholder/index.d.ts.map +1 -1
- package/ebay-infotip/README.md +17 -20
- package/ebay-infotip/ebay-infotip-content.d.ts +3 -3
- package/ebay-infotip/ebay-infotip-content.d.ts.map +1 -1
- package/ebay-infotip/ebay-infotip-heading.d.ts +2 -2
- package/ebay-infotip/ebay-infotip-heading.d.ts.map +1 -1
- package/ebay-infotip/ebay-infotip-host.d.ts +4 -4
- package/ebay-infotip/ebay-infotip-host.d.ts.map +1 -1
- package/ebay-infotip/ebay-infotip.d.ts +5 -5
- package/ebay-infotip/ebay-infotip.d.ts.map +1 -1
- package/ebay-infotip/index.d.ts +5 -5
- package/ebay-infotip/index.d.ts.map +1 -1
- package/ebay-infotip/index.js +1 -1
- package/ebay-infotip/types.d.ts +1 -1
- package/ebay-infotip/types.d.ts.map +1 -1
- package/ebay-inline-notice/README.md +8 -8
- package/ebay-inline-notice/index.d.ts +3 -3
- package/ebay-inline-notice/index.d.ts.map +1 -1
- package/ebay-inline-notice/inline-notice.d.ts +4 -4
- package/ebay-inline-notice/inline-notice.d.ts.map +1 -1
- package/ebay-inline-notice/types.d.ts +1 -1
- package/ebay-inline-notice/types.d.ts.map +1 -1
- package/ebay-lightbox-dialog/README.md +17 -13
- package/ebay-lightbox-dialog/index.d.ts +1 -1
- package/ebay-lightbox-dialog/index.d.ts.map +1 -1
- package/ebay-lightbox-dialog/index.js +1 -1
- package/ebay-lightbox-dialog/lightbox-dialog.d.ts +7 -7
- package/ebay-lightbox-dialog/lightbox-dialog.d.ts.map +1 -1
- package/ebay-list/README.md +149 -0
- package/ebay-list/index.d.ts +5 -0
- package/ebay-list/index.d.ts.map +1 -0
- package/ebay-list/index.js +1 -0
- package/ebay-list/list-item-leading.d.ts +7 -0
- package/ebay-list/list-item-leading.d.ts.map +1 -0
- package/ebay-list/list-item-trailing.d.ts +7 -0
- package/ebay-list/list-item-trailing.d.ts.map +1 -0
- package/ebay-list/list-item.d.ts +11 -0
- package/ebay-list/list-item.d.ts.map +1 -0
- package/ebay-list/list.d.ts +8 -0
- package/ebay-list/list.d.ts.map +1 -0
- package/ebay-list/types.d.ts +6 -0
- package/ebay-list/types.d.ts.map +1 -0
- package/ebay-listbox/README.md +16 -26
- package/ebay-listbox/index.d.ts +3 -3
- package/ebay-listbox/index.d.ts.map +1 -1
- package/ebay-listbox/listbox-option-description.d.ts +2 -2
- package/ebay-listbox/listbox-option-description.d.ts.map +1 -1
- package/ebay-listbox/listbox-option.d.ts +2 -2
- package/ebay-listbox/listbox-option.d.ts.map +1 -1
- package/ebay-listbox/listbox.d.ts +5 -5
- package/ebay-listbox/listbox.d.ts.map +1 -1
- package/ebay-listbox-button/README.md +17 -9
- package/ebay-listbox-button/index.d.ts +2 -2
- package/ebay-listbox-button/index.d.ts.map +1 -1
- package/ebay-listbox-button/listbox-button-option.d.ts +3 -3
- package/ebay-listbox-button/listbox-button-option.d.ts.map +1 -1
- package/ebay-listbox-button/listbox-button.d.ts +3 -3
- package/ebay-listbox-button/listbox-button.d.ts.map +1 -1
- package/ebay-menu/README.md +24 -20
- package/ebay-menu/index.d.ts +4 -4
- package/ebay-menu/index.d.ts.map +1 -1
- package/ebay-menu/menu-item-separator.d.ts +2 -2
- package/ebay-menu/menu-item-separator.d.ts.map +1 -1
- package/ebay-menu/menu-item.d.ts +3 -3
- package/ebay-menu/menu-item.d.ts.map +1 -1
- package/ebay-menu/menu.d.ts +2 -2
- package/ebay-menu/menu.d.ts.map +1 -1
- package/ebay-menu/types.d.ts +7 -7
- package/ebay-menu/types.d.ts.map +1 -1
- package/ebay-menu-button/README.md +33 -30
- package/ebay-menu-button/index.d.ts +5 -5
- package/ebay-menu-button/index.d.ts.map +1 -1
- package/ebay-menu-button/menu-button-item.d.ts +1 -1
- package/ebay-menu-button/menu-button-item.d.ts.map +1 -1
- package/ebay-menu-button/menu-button-label.d.ts +1 -1
- package/ebay-menu-button/menu-button-label.d.ts.map +1 -1
- package/ebay-menu-button/menu-button-separator.d.ts +2 -2
- package/ebay-menu-button/menu-button-separator.d.ts.map +1 -1
- package/ebay-menu-button/menu-button.d.ts +2 -2
- package/ebay-menu-button/menu-button.d.ts.map +1 -1
- package/ebay-menu-button/types.d.ts +6 -6
- package/ebay-menu-button/types.d.ts.map +1 -1
- package/ebay-notice-base/components/ebay-notice-content/index.d.ts +1 -1
- package/ebay-notice-base/components/ebay-notice-content/index.d.ts.map +1 -1
- package/ebay-notice-base/components/ebay-notice-content/notice-content.d.ts +3 -3
- package/ebay-notice-base/components/ebay-notice-content/notice-content.d.ts.map +1 -1
- package/ebay-notice-base/components/ebay-notice-title/index.d.ts +1 -1
- package/ebay-notice-base/components/ebay-notice-title/index.d.ts.map +1 -1
- package/ebay-notice-base/components/ebay-notice-title/notice-title.d.ts +1 -1
- package/ebay-notice-base/components/ebay-notice-title/notice-title.d.ts.map +1 -1
- package/ebay-notice-base/index.d.ts +2 -2
- package/ebay-notice-base/index.d.ts.map +1 -1
- package/ebay-page-notice/README.md +13 -11
- package/ebay-page-notice/index.d.ts +5 -5
- package/ebay-page-notice/index.d.ts.map +1 -1
- package/ebay-page-notice/page-notice-cta.d.ts +1 -1
- package/ebay-page-notice/page-notice-cta.d.ts.map +1 -1
- package/ebay-page-notice/page-notice-footer.d.ts +1 -1
- package/ebay-page-notice/page-notice-footer.d.ts.map +1 -1
- package/ebay-page-notice/page-notice-title.d.ts +2 -2
- package/ebay-page-notice/page-notice-title.d.ts.map +1 -1
- package/ebay-page-notice/page-notice.d.ts +4 -4
- package/ebay-page-notice/page-notice.d.ts.map +1 -1
- package/ebay-pagination/README.md +29 -23
- package/ebay-pagination/const.d.ts.map +1 -1
- package/ebay-pagination/helpers.d.ts +1 -1
- package/ebay-pagination/helpers.d.ts.map +1 -1
- package/ebay-pagination/index.d.ts +3 -3
- package/ebay-pagination/index.d.ts.map +1 -1
- package/ebay-pagination/pagination-item.d.ts +4 -4
- package/ebay-pagination/pagination-item.d.ts.map +1 -1
- package/ebay-pagination/pagination.d.ts +4 -4
- package/ebay-pagination/pagination.d.ts.map +1 -1
- package/ebay-pagination/types.d.ts +2 -2
- package/ebay-pagination/types.d.ts.map +1 -1
- package/ebay-panel-dialog/README.md +14 -11
- package/ebay-panel-dialog/index.d.ts +1 -1
- package/ebay-panel-dialog/index.d.ts.map +1 -1
- package/ebay-panel-dialog/index.js +1 -1
- package/ebay-panel-dialog/panel-dialog.d.ts +4 -4
- package/ebay-panel-dialog/panel-dialog.d.ts.map +1 -1
- package/ebay-progress-bar/README.md +13 -8
- package/ebay-progress-bar/index.d.ts +1 -1
- package/ebay-progress-bar/index.d.ts.map +1 -1
- package/ebay-progress-bar/progress-bar.d.ts +2 -2
- package/ebay-progress-bar/progress-bar.d.ts.map +1 -1
- package/ebay-progress-bar-expressive/README.md +12 -9
- package/ebay-progress-bar-expressive/index.d.ts +2 -2
- package/ebay-progress-bar-expressive/index.d.ts.map +1 -1
- package/ebay-progress-bar-expressive/progress-bar-expressive-message.d.ts +2 -2
- package/ebay-progress-bar-expressive/progress-bar-expressive-message.d.ts.map +1 -1
- package/ebay-progress-bar-expressive/progress-bar-expressive.d.ts +3 -3
- package/ebay-progress-bar-expressive/progress-bar-expressive.d.ts.map +1 -1
- package/ebay-progress-spinner/README.md +12 -7
- package/ebay-progress-spinner/index.d.ts +1 -1
- package/ebay-progress-spinner/index.d.ts.map +1 -1
- package/ebay-progress-spinner/progress-spinner.d.ts +4 -4
- package/ebay-progress-spinner/progress-spinner.d.ts.map +1 -1
- package/ebay-progress-stepper/README.md +13 -12
- package/ebay-progress-stepper/ebay-progress-step.d.ts +2 -2
- package/ebay-progress-stepper/ebay-progress-step.d.ts.map +1 -1
- package/ebay-progress-stepper/ebay-progress-stepper.d.ts +2 -2
- package/ebay-progress-stepper/ebay-progress-stepper.d.ts.map +1 -1
- package/ebay-progress-stepper/ebay-progress-title.d.ts +1 -1
- package/ebay-progress-stepper/ebay-progress-title.d.ts.map +1 -1
- package/ebay-progress-stepper/index.d.ts +4 -4
- package/ebay-progress-stepper/index.d.ts.map +1 -1
- package/ebay-progress-stepper/types.d.ts +2 -2
- package/ebay-radio/README.md +19 -11
- package/ebay-radio/index.d.ts +1 -1
- package/ebay-radio/index.d.ts.map +1 -1
- package/ebay-radio/radio.d.ts +4 -4
- package/ebay-radio/radio.d.ts.map +1 -1
- package/ebay-section-notice/README.md +15 -13
- package/ebay-section-notice/index.d.ts +5 -5
- package/ebay-section-notice/index.d.ts.map +1 -1
- package/ebay-section-notice/section-notice-cta.d.ts +1 -1
- package/ebay-section-notice/section-notice-cta.d.ts.map +1 -1
- package/ebay-section-notice/section-notice-footer.d.ts +1 -1
- package/ebay-section-notice/section-notice-footer.d.ts.map +1 -1
- package/ebay-section-notice/section-notice-title.d.ts +2 -2
- package/ebay-section-notice/section-notice-title.d.ts.map +1 -1
- package/ebay-section-notice/section-notice.d.ts +6 -6
- package/ebay-section-notice/section-notice.d.ts.map +1 -1
- package/ebay-section-title/README.md +23 -16
- package/ebay-section-title/cta.d.ts +2 -2
- package/ebay-section-title/cta.d.ts.map +1 -1
- package/ebay-section-title/index.d.ts +5 -5
- package/ebay-section-title/index.d.ts.map +1 -1
- package/ebay-section-title/info.d.ts +2 -2
- package/ebay-section-title/info.d.ts.map +1 -1
- package/ebay-section-title/overflow.d.ts +2 -2
- package/ebay-section-title/overflow.d.ts.map +1 -1
- package/ebay-section-title/section-title.d.ts +2 -2
- package/ebay-section-title/section-title.d.ts.map +1 -1
- package/ebay-section-title/subtitle.d.ts +2 -2
- package/ebay-section-title/subtitle.d.ts.map +1 -1
- package/ebay-section-title/title.d.ts +2 -2
- package/ebay-section-title/title.d.ts.map +1 -1
- package/ebay-segmented-buttons/README.md +11 -8
- package/ebay-segmented-buttons/button.d.ts +2 -2
- package/ebay-segmented-buttons/button.d.ts.map +1 -1
- package/ebay-segmented-buttons/index.d.ts +3 -3
- package/ebay-segmented-buttons/index.d.ts.map +1 -1
- package/ebay-segmented-buttons/segmented-buttons.d.ts +2 -2
- package/ebay-segmented-buttons/segmented-buttons.d.ts.map +1 -1
- package/ebay-segmented-buttons/types.d.ts +5 -5
- package/ebay-segmented-buttons/types.d.ts.map +1 -1
- package/ebay-select/README.md +38 -27
- package/ebay-select/ebay-select-option.d.ts +2 -2
- package/ebay-select/ebay-select-option.d.ts.map +1 -1
- package/ebay-select/ebay-select.d.ts +4 -4
- package/ebay-select/ebay-select.d.ts.map +1 -1
- package/ebay-select/index.d.ts +2 -2
- package/ebay-select/index.d.ts.map +1 -1
- package/ebay-signal/README.md +13 -6
- package/ebay-signal/index.d.ts +1 -1
- package/ebay-signal/index.d.ts.map +1 -1
- package/ebay-signal/signal.d.ts +3 -3
- package/ebay-signal/signal.d.ts.map +1 -1
- package/ebay-skeleton/ebay-skeleton-avatar.d.ts +2 -2
- package/ebay-skeleton/ebay-skeleton-avatar.d.ts.map +1 -1
- package/ebay-skeleton/ebay-skeleton-button.d.ts +3 -3
- package/ebay-skeleton/ebay-skeleton-button.d.ts.map +1 -1
- package/ebay-skeleton/ebay-skeleton-image.d.ts +2 -2
- package/ebay-skeleton/ebay-skeleton-image.d.ts.map +1 -1
- package/ebay-skeleton/ebay-skeleton-text.d.ts +3 -3
- package/ebay-skeleton/ebay-skeleton-text.d.ts.map +1 -1
- package/ebay-skeleton/ebay-skeleton-textbox.d.ts +2 -2
- package/ebay-skeleton/ebay-skeleton-textbox.d.ts.map +1 -1
- package/ebay-skeleton/ebay-skeleton.d.ts +3 -3
- package/ebay-skeleton/ebay-skeleton.d.ts.map +1 -1
- package/ebay-skeleton/index.d.ts +6 -6
- package/ebay-skeleton/index.d.ts.map +1 -1
- package/ebay-skeleton/types.d.ts +4 -4
- package/ebay-skeleton/types.d.ts.map +1 -1
- package/ebay-snackbar-dialog/README.md +21 -16
- package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts +1 -1
- package/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.d.ts.map +1 -1
- package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts +4 -4
- package/ebay-snackbar-dialog/components/ebay-snackbar-dialog.d.ts.map +1 -1
- package/ebay-snackbar-dialog/index.d.ts +2 -2
- package/ebay-snackbar-dialog/index.d.ts.map +1 -1
- package/ebay-snackbar-dialog/index.js +1 -1
- package/ebay-split-button/README.md +29 -23
- package/ebay-split-button/index.d.ts +2 -2
- package/ebay-split-button/index.d.ts.map +1 -1
- package/ebay-split-button/split-button.d.ts +2 -2
- package/ebay-split-button/split-button.d.ts.map +1 -1
- package/ebay-split-button/types.d.ts +5 -5
- package/ebay-split-button/types.d.ts.map +1 -1
- package/ebay-star-rating/README.md +13 -7
- package/ebay-star-rating/index.d.ts +1 -1
- package/ebay-star-rating/index.d.ts.map +1 -1
- package/ebay-star-rating/star-rating.d.ts +2 -2
- package/ebay-star-rating/star-rating.d.ts.map +1 -1
- package/ebay-star-rating-select/README.md +20 -14
- package/ebay-star-rating-select/index.d.ts +1 -1
- package/ebay-star-rating-select/index.d.ts.map +1 -1
- package/ebay-star-rating-select/star-rating-select.d.ts +3 -3
- package/ebay-star-rating-select/star-rating-select.d.ts.map +1 -1
- package/ebay-svg/README.md +11 -8
- package/ebay-svg/index.d.ts +1 -1
- package/ebay-svg/index.d.ts.map +1 -1
- package/ebay-svg/svg.d.ts +2 -2
- package/ebay-svg/svg.d.ts.map +1 -1
- package/ebay-switch/README.md +13 -6
- package/ebay-switch/ebay-switch.d.ts +3 -3
- package/ebay-switch/ebay-switch.d.ts.map +1 -1
- package/ebay-switch/index.d.ts +1 -1
- package/ebay-switch/index.d.ts.map +1 -1
- package/ebay-table/index.d.ts +5 -5
- package/ebay-table/index.d.ts.map +1 -1
- package/ebay-table/table-cell.d.ts +3 -3
- package/ebay-table/table-cell.d.ts.map +1 -1
- package/ebay-table/table-header.d.ts +3 -3
- package/ebay-table/table-header.d.ts.map +1 -1
- package/ebay-table/table-row.d.ts +4 -4
- package/ebay-table/table-row.d.ts.map +1 -1
- package/ebay-table/table.d.ts +4 -4
- package/ebay-table/table.d.ts.map +1 -1
- package/ebay-table/types.d.ts +7 -7
- package/ebay-table/types.d.ts.map +1 -1
- package/ebay-tabs/README.md +16 -10
- package/ebay-tabs/index.d.ts +4 -4
- package/ebay-tabs/index.d.ts.map +1 -1
- package/ebay-tabs/tab-panel.d.ts +2 -2
- package/ebay-tabs/tab-panel.d.ts.map +1 -1
- package/ebay-tabs/tab.d.ts +2 -2
- package/ebay-tabs/tab.d.ts.map +1 -1
- package/ebay-tabs/tabs.d.ts +2 -2
- package/ebay-tabs/tabs.d.ts.map +1 -1
- package/ebay-tabs/types.d.ts +4 -4
- package/ebay-tabs/types.d.ts.map +1 -1
- package/ebay-textbox/README.md +38 -29
- package/ebay-textbox/index.d.ts +6 -6
- package/ebay-textbox/index.d.ts.map +1 -1
- package/ebay-textbox/postfix-icon.d.ts +2 -2
- package/ebay-textbox/postfix-icon.d.ts.map +1 -1
- package/ebay-textbox/postfix-text.d.ts +2 -2
- package/ebay-textbox/postfix-text.d.ts.map +1 -1
- package/ebay-textbox/prefix-icon.d.ts +2 -2
- package/ebay-textbox/prefix-icon.d.ts.map +1 -1
- package/ebay-textbox/prefix-text.d.ts +2 -2
- package/ebay-textbox/prefix-text.d.ts.map +1 -1
- package/ebay-textbox/textbox.d.ts +5 -5
- package/ebay-textbox/textbox.d.ts.map +1 -1
- package/ebay-textbox/types.d.ts +6 -6
- package/ebay-textbox/types.d.ts.map +1 -1
- package/ebay-toast-dialog/README.md +7 -6
- package/ebay-toast-dialog/components/toast.d.ts +3 -3
- package/ebay-toast-dialog/components/toast.d.ts.map +1 -1
- package/ebay-toast-dialog/index.d.ts +1 -1
- package/ebay-toast-dialog/index.d.ts.map +1 -1
- package/ebay-toast-dialog/index.js +1 -1
- package/ebay-toggle-button/index.d.ts +2 -2
- package/ebay-toggle-button/index.d.ts.map +1 -1
- package/ebay-toggle-button/toggle-button.d.ts +2 -2
- package/ebay-toggle-button/toggle-button.d.ts.map +1 -1
- package/ebay-toggle-button/types.d.ts +5 -5
- package/ebay-toggle-button/types.d.ts.map +1 -1
- package/ebay-toggle-button-group/README.md +12 -12
- package/ebay-toggle-button-group/index.d.ts +2 -2
- package/ebay-toggle-button-group/index.d.ts.map +1 -1
- package/ebay-toggle-button-group/toggle-button-group.d.ts +2 -2
- package/ebay-toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/ebay-toggle-button-group/types.d.ts +5 -5
- package/ebay-toggle-button-group/types.d.ts.map +1 -1
- package/ebay-tooltip/README.md +10 -7
- package/ebay-tooltip/ebay-tooltip-content.d.ts +3 -3
- package/ebay-tooltip/ebay-tooltip-content.d.ts.map +1 -1
- package/ebay-tooltip/ebay-tooltip-host.d.ts +3 -3
- package/ebay-tooltip/ebay-tooltip-host.d.ts.map +1 -1
- package/ebay-tooltip/ebay-tooltip.d.ts +3 -3
- package/ebay-tooltip/ebay-tooltip.d.ts.map +1 -1
- package/ebay-tooltip/index.d.ts +5 -5
- package/ebay-tooltip/index.d.ts.map +1 -1
- package/ebay-tourtip/README.md +23 -26
- package/ebay-tourtip/ebay-tourtip-content.d.ts +3 -3
- package/ebay-tourtip/ebay-tourtip-content.d.ts.map +1 -1
- package/ebay-tourtip/ebay-tourtip-footer.d.ts +2 -2
- package/ebay-tourtip/ebay-tourtip-footer.d.ts.map +1 -1
- package/ebay-tourtip/ebay-tourtip-heading.d.ts +2 -2
- package/ebay-tourtip/ebay-tourtip-heading.d.ts.map +1 -1
- package/ebay-tourtip/ebay-tourtip-host.d.ts +3 -3
- package/ebay-tourtip/ebay-tourtip-host.d.ts.map +1 -1
- package/ebay-tourtip/ebay-tourtip.d.ts +4 -4
- package/ebay-tourtip/ebay-tourtip.d.ts.map +1 -1
- package/ebay-tourtip/index.d.ts +6 -6
- package/ebay-tourtip/index.d.ts.map +1 -1
- package/ebay-tri-state-checkbox/Readme.md +15 -12
- package/ebay-tri-state-checkbox/index.d.ts +2 -2
- package/ebay-tri-state-checkbox/index.d.ts.map +1 -1
- package/ebay-tri-state-checkbox/tri-state-checkbox.d.ts +3 -3
- package/ebay-tri-state-checkbox/tri-state-checkbox.d.ts.map +1 -1
- package/ebay-tri-state-checkbox/types.d.ts +3 -3
- package/ebay-tri-state-checkbox/types.d.ts.map +1 -1
- package/ebay-video/README.md +24 -19
- package/ebay-video/const.d.ts.map +1 -1
- package/ebay-video/controls.d.ts.map +1 -1
- package/ebay-video/index.d.ts +3 -3
- package/ebay-video/index.d.ts.map +1 -1
- package/ebay-video/reportButton.d.ts +1 -1
- package/ebay-video/reportButton.d.ts.map +1 -1
- package/ebay-video/source.d.ts +2 -2
- package/ebay-video/source.d.ts.map +1 -1
- package/ebay-video/types.d.ts +3 -3
- package/ebay-video/types.d.ts.map +1 -1
- package/ebay-video/video.d.ts +4 -4
- package/ebay-video/video.d.ts.map +1 -1
- package/events/index.d.ts +4 -4
- package/events/index.d.ts.map +1 -1
- package/file-preview-card-BD6TIsY7.js +1 -0
- package/{lightbox-dialog-B19PMyMY.js → lightbox-dialog-DqcQsTSy.js} +1 -1
- package/package.json +79 -78
- package/utils/index.d.ts +6 -6
- package/utils/index.d.ts.map +1 -1
- package/dialog-previous-button-DR6Ujner.js +0 -1
- package/ebay-details-CwOA53up.js +0 -1
- package/file-preview-card-D4qnvGtF.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay-skeleton-button.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ebay-skeleton-button.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAExE,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,GAAG;IAC/F,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,kBAAkB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,uBAAuB,CAAC,CAAC,CAAC,KAAG,SASpG,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from
|
|
2
|
-
import { BaseSkeletonComponentProps, SupportedElements } from
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { BaseSkeletonComponentProps, SupportedElements } from "./types";
|
|
3
3
|
export type EbaySkeletonImageProps<T extends SupportedElements> = BaseSkeletonComponentProps<T>;
|
|
4
4
|
declare const EbaySkeletonImage: <T extends SupportedElements = "div">(props: EbaySkeletonImageProps<T>) => ReactNode;
|
|
5
5
|
export default EbaySkeletonImage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay-skeleton-image.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-image.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ebay-skeleton-image.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-image.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAExE,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAC;AAEhG,QAAA,MAAM,iBAAiB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,sBAAsB,CAAC,CAAC,CAAC,KAAG,SAGlG,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from
|
|
2
|
-
import { BaseSkeletonComponentProps, SupportedElements } from
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { BaseSkeletonComponentProps, SupportedElements } from "./types";
|
|
3
3
|
export type EbaySkeletonTextProps<T extends SupportedElements> = BaseSkeletonComponentProps<T> & {
|
|
4
|
-
size?:
|
|
4
|
+
size?: "small" | "large";
|
|
5
5
|
multiline?: boolean;
|
|
6
6
|
};
|
|
7
7
|
declare const EbaySkeletonText: <T extends SupportedElements = "div">(props: EbaySkeletonTextProps<T>) => ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay-skeleton-text.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-text.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ebay-skeleton-text.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-text.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAExE,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,GAAG;IAC7F,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,qBAAqB,CAAC,CAAC,CAAC,KAAG,SAchG,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from
|
|
2
|
-
import { BaseSkeletonComponentProps, SupportedElements } from
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { BaseSkeletonComponentProps, SupportedElements } from "./types";
|
|
3
3
|
export type EbaySkeletonTextboxProps<T extends SupportedElements> = BaseSkeletonComponentProps<T>;
|
|
4
4
|
declare const EbaySkeletonTextbox: <T extends SupportedElements = "div">(props: EbaySkeletonTextboxProps<T>) => ReactNode;
|
|
5
5
|
export default EbaySkeletonTextbox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay-skeleton-textbox.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-textbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ebay-skeleton-textbox.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton-textbox.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAExE,MAAM,MAAM,wBAAwB,CAAC,CAAC,SAAS,iBAAiB,IAAI,0BAA0B,CAAC,CAAC,CAAC,CAAC;AAElG,QAAA,MAAM,mBAAmB,GAAI,CAAC,SAAS,iBAAiB,GAAG,KAAK,EAAE,OAAO,wBAAwB,CAAC,CAAC,CAAC,KAAG,SAItG,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentProps, FC } from
|
|
2
|
-
export type EbaySkeletonProps = ComponentProps<
|
|
3
|
-
color?:
|
|
1
|
+
import { ComponentProps, FC } from "react";
|
|
2
|
+
export type EbaySkeletonProps = ComponentProps<"div"> & {
|
|
3
|
+
color?: "purple" | "green" | "blue";
|
|
4
4
|
};
|
|
5
5
|
declare const EbaySkeleton: FC<EbaySkeletonProps>;
|
|
6
6
|
export default EbaySkeleton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay-skeleton.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ebay-skeleton.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/ebay-skeleton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACpD,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;CACvC,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAIvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/ebay-skeleton/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { default as EbaySkeleton, type EbaySkeletonProps } from
|
|
2
|
-
export { default as EbaySkeletonAvatar, type EbaySkeletonAvatarProps } from
|
|
3
|
-
export { default as EbaySkeletonButton, type EbaySkeletonButtonProps } from
|
|
4
|
-
export { default as EbaySkeletonImage, type EbaySkeletonImageProps } from
|
|
5
|
-
export { default as EbaySkeletonText, type EbaySkeletonTextProps } from
|
|
6
|
-
export { default as EbaySkeletonTextbox, type EbaySkeletonTextboxProps } from
|
|
1
|
+
export { default as EbaySkeleton, type EbaySkeletonProps } from "./ebay-skeleton";
|
|
2
|
+
export { default as EbaySkeletonAvatar, type EbaySkeletonAvatarProps } from "./ebay-skeleton-avatar";
|
|
3
|
+
export { default as EbaySkeletonButton, type EbaySkeletonButtonProps } from "./ebay-skeleton-button";
|
|
4
|
+
export { default as EbaySkeletonImage, type EbaySkeletonImageProps } from "./ebay-skeleton-image";
|
|
5
|
+
export { default as EbaySkeletonText, type EbaySkeletonTextProps } from "./ebay-skeleton-text";
|
|
6
|
+
export { default as EbaySkeletonTextbox, type EbaySkeletonTextboxProps } from "./ebay-skeleton-textbox";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAClG,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,yBAAyB,CAAC"}
|
package/ebay-skeleton/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { JSX } from
|
|
2
|
-
export type SupportedElements =
|
|
3
|
-
export type BaseSkeletonComponentProps<T extends SupportedElements =
|
|
1
|
+
import { JSX } from "react";
|
|
2
|
+
export type SupportedElements = "div" | "span";
|
|
3
|
+
export type BaseSkeletonComponentProps<T extends SupportedElements = "div"> = {
|
|
4
4
|
as?: T;
|
|
5
|
-
} & Omit<JSX.IntrinsicElements[T],
|
|
5
|
+
} & Omit<JSX.IntrinsicElements[T], "ref">;
|
|
6
6
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-skeleton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,MAAM,CAAC;AAE/C,MAAM,MAAM,0BAA0B,CAAC,CAAC,SAAS,iBAAiB,GAAG,KAAK,IAAI;IAC1E,EAAE,CAAC,EAAE,CAAC,CAAC;CACV,GAAG,IAAI,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -7,16 +7,19 @@ The user usually will want to manage the state of the snackbar, and so should pr
|
|
|
7
7
|
In the case where the application developer only wants to manage the initial state of the snackbar, the dev can choose to provide only the open state as a boolean. This is useful when a dev wants the snackbar to appear only once on initial render and then disappear.
|
|
8
8
|
|
|
9
9
|
## Demo
|
|
10
|
+
|
|
10
11
|
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/dialogs-ebay-snackbar-dialog--default)
|
|
11
12
|
|
|
12
13
|
## Import JS
|
|
14
|
+
|
|
13
15
|
```jsx harmony
|
|
14
|
-
import { EbaySnackbarDialog, EbaySnackbarDialogAction } from
|
|
16
|
+
import { EbaySnackbarDialog, EbaySnackbarDialogAction } from "@ebay/ui-core-react/ebay-snackbar-dialog";
|
|
15
17
|
```
|
|
16
18
|
|
|
17
19
|
## Import following styles from SKIN
|
|
20
|
+
|
|
18
21
|
```jsx harmony
|
|
19
|
-
import
|
|
22
|
+
import "@ebay/skin/snackbar-dialog";
|
|
20
23
|
```
|
|
21
24
|
|
|
22
25
|
## Usage
|
|
@@ -30,28 +33,30 @@ import '@ebay/skin/snackbar-dialog';
|
|
|
30
33
|
```jsx harmony
|
|
31
34
|
<EbaySnackbarDialog open>
|
|
32
35
|
<p>Snackbar with action</p>
|
|
33
|
-
<EbaySnackbarDialogAction accessKey="U" aria-label="Undo - Access Key: U">
|
|
36
|
+
<EbaySnackbarDialogAction accessKey="U" aria-label="Undo - Access Key: U">
|
|
37
|
+
Undo
|
|
38
|
+
</EbaySnackbarDialogAction>
|
|
34
39
|
</EbaySnackbarDialog>
|
|
35
40
|
```
|
|
36
41
|
|
|
37
42
|
## Attributes
|
|
38
43
|
|
|
39
|
-
Name
|
|
40
|
-
|
|
41
|
-
`open`
|
|
42
|
-
`layout`
|
|
43
|
-
`animated` | Boolean | Yes
|
|
44
|
+
| Name | Type | Stateful | Required | Description |
|
|
45
|
+
| ---------- | ------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
46
|
+
| `open` | Boolean | Yes | No | Whether snackbar is open or not. |
|
|
47
|
+
| `layout` | String | No | No | Direction of row or column for the text and the action button. Default is 'row'. Options are 'row' and 'column'. |
|
|
48
|
+
| `animated` | Boolean | Yes | No | Renders the dialog with an animation. Note that the dialog will always be present in the DOM |
|
|
44
49
|
|
|
45
50
|
## Events
|
|
46
51
|
|
|
47
|
-
Event
|
|
48
|
-
|
|
49
|
-
`onOpen`
|
|
50
|
-
`onClose`
|
|
51
|
-
`onAction` |
|
|
52
|
+
| Event | Data | Description |
|
|
53
|
+
| ---------- | ---- | ----------------------- |
|
|
54
|
+
| `onOpen` | | Snackbar opened |
|
|
55
|
+
| `onClose` | | Snackbar closed |
|
|
56
|
+
| `onAction` | | Snackbar clicked action |
|
|
52
57
|
|
|
53
58
|
## EbaySnackbarDialogAction Props
|
|
54
59
|
|
|
55
|
-
Name
|
|
56
|
-
|
|
57
|
-
`accessKey` | String | No
|
|
60
|
+
| Name | Type | Stateful | Required | Description |
|
|
61
|
+
| ----------- | ------ | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
62
|
+
| `accessKey` | String | No | No | [`accesskey`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey) HTML attribute that generated a keyboard shortcut for the action element. Use together with `aria-label` to give more information to the user. |
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ComponentProps, ReactElement } from
|
|
1
|
+
import { ComponentProps, ReactElement } from "react";
|
|
2
2
|
export declare const EbaySnackbarDialogAction: ({ className, children, ...rest }: ComponentProps<"button">) => ReactElement;
|
|
3
3
|
//# sourceMappingURL=ebay-snackbar-dialog-action.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay-snackbar-dialog-action.d.ts","sourceRoot":"","sources":["../../../src/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ebay-snackbar-dialog-action.d.ts","sourceRoot":"","sources":["../../../src/ebay-snackbar-dialog/components/ebay-snackbar-dialog-action.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5D,eAAO,MAAM,wBAAwB,GAAI,kCAAkC,cAAc,CAAC,QAAQ,CAAC,KAAG,YAIrG,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { KeyboardEventHandler, MouseEventHandler, ReactElement } from
|
|
2
|
-
import { DialogBaseProps } from
|
|
3
|
-
export type EbaySnackbarDialogProps = Omit<DialogBaseProps<HTMLElement>,
|
|
4
|
-
layout?:
|
|
1
|
+
import { KeyboardEventHandler, MouseEventHandler, ReactElement } from "react";
|
|
2
|
+
import { DialogBaseProps } from "../../ebay-dialog-base";
|
|
3
|
+
export type EbaySnackbarDialogProps = Omit<DialogBaseProps<HTMLElement>, "a11yCloseText"> & {
|
|
4
|
+
layout?: "row" | "column";
|
|
5
5
|
onOpen?: () => void;
|
|
6
6
|
onClose?: () => void;
|
|
7
7
|
onAction?: MouseEventHandler<HTMLButtonElement> & KeyboardEventHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebay-snackbar-dialog.d.ts","sourceRoot":"","sources":["../../../src/ebay-snackbar-dialog/components/ebay-snackbar-dialog.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,YAAY,EAA+B,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"ebay-snackbar-dialog.d.ts","sourceRoot":"","sources":["../../../src/ebay-snackbar-dialog/components/ebay-snackbar-dialog.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,YAAY,EAA+B,MAAM,OAAO,CAAC;AAClH,OAAO,EAAE,eAAe,EAA0C,MAAM,wBAAwB,CAAC;AAIjG,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,eAAe,CAAC,GAAG;IACxF,MAAM,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,oBAAoB,CAAC;CAC1E,CAAC;AAIF,eAAO,MAAM,kBAAkB,GAAI,2EAShC,uBAAuB,KAAG,YA8G5B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { EbaySnackbarDialog, type EbaySnackbarDialogProps } from
|
|
2
|
-
export { EbaySnackbarDialogAction } from
|
|
1
|
+
export { EbaySnackbarDialog, type EbaySnackbarDialogProps } from "./components/ebay-snackbar-dialog";
|
|
2
|
+
export { EbaySnackbarDialogAction } from "./components/ebay-snackbar-dialog-action";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-snackbar-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-snackbar-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACrG,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("../tslib.es6-C4EgNkz1.js"),y=require("classnames"),e=require("react"),h=require("../dialog-previous-button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("../tslib.es6-C4EgNkz1.js"),y=require("classnames"),e=require("react"),h=require("../dialog-previous-button-B1dTCOv2.js");require("../icon-button-CHW6Lezn.js");const k=require("../utils-C9NL3q0j.js"),E=n=>{var{className:l,children:c}=n,r=C.__rest(n,["className","children"]);return e.createElement("button",Object.assign({className:y(l,"fake-link")},r),c)},R=6e3,B=n=>{var{className:l,onOpen:c=()=>{},onClose:r=()=>{},layout:D,open:i,children:f,onAction:u}=n,S=C.__rest(n,["className","onOpen","onClose","layout","open","children","onAction"]);const o=e.useRef(new Set),g=e.useRef(null),[T,v]=e.useState(i),t=k.findComponent(f,E),_=k.excludeComponent(f,E),s=()=>{clearTimeout(g.current)},d=()=>{v(!1),r()},m=()=>{o.current.size===0&&(s(),g.current=setTimeout(()=>{d()},R))},q=()=>{v(!0),c(),m()},N=()=>{s(),o.current.add("focus")},O=()=>{o.current.delete("focus"),m()},A=()=>{s(),o.current.add("mouseEnter")},M=()=>{o.current.delete("mouseEnter"),m()},w=p=>{var a,b;s(),u==null||u(p),(b=(a=t==null?void 0:t.props)===null||a===void 0?void 0:a.onClick)===null||b===void 0||b.call(a,p),d()};return e.useEffect(()=>()=>{s()},[]),e.useEffect(()=>{i?q():d()},[i]),e.createElement(h.DialogBaseWithState,Object.assign({},S,{open:T,isModal:!1,baseEl:"aside",classPrefix:"snackbar-dialog",transitionElement:"root",a11yCloseText:"",buttonPosition:"hidden",className:y(l,"snackbar-dialog--transition"),windowClass:D==="column"&&"snackbar-dialog__window--column",onFocus:N,onBlur:O,onMouseEnter:A,onMouseLeave:M}),_,t?e.createElement(h.EbayDialogActions,null,e.cloneElement(t,{onClick:w})):null)};exports.EbaySnackbarDialog=B;exports.EbaySnackbarDialogAction=E;
|
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
# EbaySplitButton
|
|
2
2
|
|
|
3
3
|
## Demo
|
|
4
|
+
|
|
4
5
|
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/buttons-ebay-split-button--controls)
|
|
5
6
|
|
|
6
7
|
## Usage
|
|
7
8
|
|
|
8
9
|
### Import JS
|
|
10
|
+
|
|
9
11
|
```jsx harmony
|
|
10
|
-
import { EbaySplitButton } from
|
|
12
|
+
import { EbaySplitButton } from "@ebay/ui-core-react/ebay-split-button";
|
|
11
13
|
```
|
|
12
14
|
|
|
13
15
|
### Import following styles from SKIN
|
|
16
|
+
|
|
14
17
|
```jsx harmony
|
|
15
|
-
import "@ebay/skin/split-button"
|
|
18
|
+
import "@ebay/skin/split-button";
|
|
16
19
|
```
|
|
17
20
|
|
|
18
21
|
### Or import styles using SCSS/CSS
|
|
22
|
+
|
|
19
23
|
```jsx harmony
|
|
20
|
-
import
|
|
24
|
+
import "@ebay/skin/split-button.css";
|
|
21
25
|
```
|
|
22
26
|
|
|
23
27
|
### Icon button
|
|
28
|
+
|
|
24
29
|
```jsx harmony
|
|
25
30
|
<EbaySplitButton a11yMenuText="Show save options">
|
|
26
31
|
Save document
|
|
@@ -30,23 +35,24 @@ import '@ebay/skin/split-button.css'
|
|
|
30
35
|
```
|
|
31
36
|
|
|
32
37
|
## Props
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
`
|
|
37
|
-
`
|
|
38
|
-
`
|
|
39
|
-
`
|
|
40
|
-
`
|
|
41
|
-
`
|
|
42
|
-
`
|
|
43
|
-
`
|
|
44
|
-
`
|
|
45
|
-
`
|
|
46
|
-
`
|
|
47
|
-
`
|
|
48
|
-
`
|
|
49
|
-
`
|
|
50
|
-
`
|
|
51
|
-
`
|
|
52
|
-
`
|
|
38
|
+
|
|
39
|
+
| Name | Type | Stateful | Required | Description | Data |
|
|
40
|
+
| ----------------------- | -------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---- |
|
|
41
|
+
| `a11yMenuText` | String | No | Yes | aria label for menu button part |
|
|
42
|
+
| `href` | String | No | No | url for link behaviour (switches to anchor tag) |
|
|
43
|
+
| `size` | String | No | No | button size: `small` or `large` |
|
|
44
|
+
| `priority` | String | No | No | `primary`, `secondary` (default), `tertiary`, `none` |
|
|
45
|
+
| `bodyState` | String | No | No | `loading` adds progress spinner, when user interacts with button, `reset` should be called to reset `aria-live` state, default is `none` |
|
|
46
|
+
| `a11yButtonLoadingText` | String | No | No | `aria-label` for button when `bodyState` is `loading` |
|
|
47
|
+
| `type` | String | No | No | menu items type: `radio` or `checkbox` |
|
|
48
|
+
| `transparent` | Boolean | No | No | for transparent background |
|
|
49
|
+
| `disabled` | Boolean | Yes | No |
|
|
50
|
+
| `partiallyDisabled` | Boolean | No | No | sets `aria-disabled` but not `disabled` prop |
|
|
51
|
+
| `onClick` | Function | - | No | click or action key pressed (`Space` or `Enter`) |
|
|
52
|
+
| `onEscape` | Function | - | No | `Esc`-key pressed |
|
|
53
|
+
| `onFocus` | Function | - | No | triggered on focus |
|
|
54
|
+
| `onBlur` | Function | - | No | triggered on blur |
|
|
55
|
+
| `onExpand` | Function | - | No | Called when content is expanded |
|
|
56
|
+
| `onCollapse` | Function | - | No | Called when content is collapsed |
|
|
57
|
+
| `onChange` | Function | - | No | Arguments: (e: event, { index: number, checked: number[], checkedValues: string[] }) for type `radio`/`checkbox` |
|
|
58
|
+
| `onSelect` | Function | - | No | Arguments: (e: event, { index: number, checked: number[] }), not for use with type `radio`/`checkbox` |
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as EbaySplitButton } from
|
|
2
|
-
export type { EbaySplitButtonProps, Props } from
|
|
1
|
+
export { default as EbaySplitButton } from "./split-button";
|
|
2
|
+
export type { EbaySplitButtonProps, Props } from "./types";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC5D,YAAY,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-button.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/split-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"split-button.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/split-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,KAAK,CA6C9B,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ComponentProps } from
|
|
2
|
-
import { EbayButtonProps } from
|
|
3
|
-
import { EbayMenuProps } from
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { EbayButtonProps } from "../ebay-button";
|
|
3
|
+
import { EbayMenuProps } from "../ebay-menu";
|
|
4
4
|
export type EbaySplitButtonProps = {
|
|
5
5
|
a11yMenuText?: string;
|
|
6
6
|
a11yButtonLoadingText?: string;
|
|
7
7
|
onCollapse?: () => void;
|
|
8
8
|
onExpand?: () => void;
|
|
9
9
|
};
|
|
10
|
-
type MenuEvents =
|
|
11
|
-
export type Props = EbaySplitButtonProps & Omit<EbayButtonProps,
|
|
10
|
+
type MenuEvents = "onSelect" | "onChange";
|
|
11
|
+
export type Props = EbaySplitButtonProps & Omit<EbayButtonProps, "ref"> & Omit<ComponentProps<"button">, "type" | MenuEvents> & Omit<ComponentProps<"a">, MenuEvents> & Omit<EbayMenuProps, "priority">;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/ebay-split-button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,oBAAoB,GAAG;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,KAAK,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;AAE1C,MAAM,MAAM,KAAK,GAAG,oBAAoB,GACpC,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,GAC5B,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,GACnD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,GACrC,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
# EbayStarRating
|
|
2
|
+
|
|
2
3
|
For full stars use (rating from 0-5): ebay-star-rating-{rating} For half stars use: ebay-star-rating-{rating}-5 DS v1.0.0
|
|
3
4
|
|
|
4
5
|
## Demo
|
|
6
|
+
|
|
5
7
|
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/graphics-icons-ebay-star-rating--stars)
|
|
6
8
|
|
|
7
9
|
## Usage
|
|
10
|
+
|
|
8
11
|
```
|
|
9
12
|
yarn add @ebay/ui-core-react
|
|
10
13
|
```
|
|
11
14
|
|
|
12
15
|
### Import JS
|
|
16
|
+
|
|
13
17
|
```jsx harmony
|
|
14
|
-
import { EbayStarRating } from
|
|
18
|
+
import { EbayStarRating } from "@ebay/ui-core-react/ebay-star-rating";
|
|
15
19
|
```
|
|
16
20
|
|
|
17
21
|
## Import following styles from Skin
|
|
22
|
+
|
|
18
23
|
```jsx harmony
|
|
19
|
-
import
|
|
24
|
+
import "@ebay/skin/star-rating";
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
## ...or using SCSS/CSS
|
|
28
|
+
|
|
23
29
|
```jsx harmony
|
|
24
|
-
import
|
|
30
|
+
import "@ebay/skin/star-rating.css";
|
|
25
31
|
```
|
|
26
32
|
|
|
27
33
|
```jsx harmony
|
|
@@ -31,7 +37,7 @@ import '@ebay/skin/star-rating.css'
|
|
|
31
37
|
|
|
32
38
|
## Attributes
|
|
33
39
|
|
|
34
|
-
Name
|
|
35
|
-
|
|
36
|
-
| `a11yText`
|
|
37
|
-
| `value`
|
|
40
|
+
| Name | Type | Stateful | Description |
|
|
41
|
+
| ---------- | ------ | -------- | ----------- | ------------------------------------------------------------------------------------------- |
|
|
42
|
+
| `a11yText` | String | No | Yes | text for non-decorative inline icon; icon is assumed to be decorative if this is not passed |
|
|
43
|
+
| `value` | String | No | Yes | The amount of stars to be filled. Can be "2-5" for 2 and a half stars. |
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as EbayStarRating, type Props as EbayStarRatingProps } from
|
|
1
|
+
export { default as EbayStarRating, type Props as EbayStarRatingProps } from "./star-rating";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,mBAAmB,EAAE,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,KAAK,KAAK,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"star-rating.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating/star-rating.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"star-rating.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating/star-rating.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKlD,MAAM,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAM7B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
# EbayStarRatingSelect
|
|
2
|
+
|
|
2
3
|
use (rating from 0-5)
|
|
3
4
|
|
|
4
5
|
## Demo
|
|
6
|
+
|
|
5
7
|
[Storybook](https://opensource.ebay.com/ebayui-core-react/main/?path=/story/form-input-ebay-star-rating-select--isolated)
|
|
6
8
|
|
|
7
9
|
## Usage
|
|
10
|
+
|
|
8
11
|
```
|
|
9
12
|
yarn add @ebay/ui-core-react
|
|
10
13
|
```
|
|
11
14
|
|
|
12
15
|
### Import JS
|
|
16
|
+
|
|
13
17
|
```jsx harmony
|
|
14
|
-
import { EbayStarRatingSelect } from
|
|
18
|
+
import { EbayStarRatingSelect } from "@ebay/ui-core-react/ebay-star-rating-select";
|
|
15
19
|
```
|
|
16
20
|
|
|
17
21
|
## Import following styles from Skin
|
|
22
|
+
|
|
18
23
|
```jsx harmony
|
|
19
|
-
import
|
|
24
|
+
import "@ebay/skin/star-rating-select";
|
|
20
25
|
```
|
|
21
26
|
|
|
22
27
|
## ...or using SCSS/CSS
|
|
28
|
+
|
|
23
29
|
```jsx harmony
|
|
24
|
-
import
|
|
30
|
+
import "@ebay/skin/star-rating.css";
|
|
25
31
|
```
|
|
26
32
|
|
|
27
33
|
```jsx harmony
|
|
@@ -30,17 +36,17 @@ import '@ebay/skin/star-rating.css'
|
|
|
30
36
|
|
|
31
37
|
## Attributes
|
|
32
38
|
|
|
33
|
-
Name
|
|
34
|
-
|
|
35
|
-
| `a11yStarText`
|
|
36
|
-
| `a11yText`
|
|
37
|
-
| `value`
|
|
38
|
-
| `disabled`
|
|
39
|
+
| Name | Type | Stateful | Description |
|
|
40
|
+
| -------------- | ------- | -------- | -------------------------------- | ---------------------------------------------------------------------- |
|
|
41
|
+
| `a11yStarText` | array | No | Yes | array of strings for star inputs |
|
|
42
|
+
| `a11yText` | String | No | Yes | container aria-label |
|
|
43
|
+
| `value` | String | No | Yes | The amount of stars to be filled. Can be "2-5" for 2 and a half stars. |
|
|
44
|
+
| `disabled` | Boolean | No | Rating stars are disabled or not |
|
|
39
45
|
|
|
40
46
|
## Callbacks
|
|
41
47
|
|
|
42
|
-
| Name
|
|
43
|
-
|
|
44
|
-
| `onChange`
|
|
45
|
-
| `onFocus`
|
|
46
|
-
| `onKeydown` | Function | No | triggered on keydown
|
|
48
|
+
| Name | Type | Required | Description | Data |
|
|
49
|
+
| ----------- | -------- | -------- | ------------------------- | ------------------------------------ |
|
|
50
|
+
| `onChange` | Function | No | triggered on value change | `(ChangeEvent, { value: number })` |
|
|
51
|
+
| `onFocus` | Function | No | triggered on focus | `(FocusEvent, { value: number })` |
|
|
52
|
+
| `onKeydown` | Function | No | triggered on keydown | `(KeyboardEvent, { value: number })` |
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as EbayStarRatingSelect, type EventProps } from
|
|
1
|
+
export { default as EbayStarRatingSelect, type EventProps } from "./star-rating-select";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentProps, FC } from
|
|
2
|
-
import { EbayChangeEventHandler, EbayFocusEventHandler, EbayKeyboardEventHandler } from
|
|
1
|
+
import { ComponentProps, FC } from "react";
|
|
2
|
+
import { EbayChangeEventHandler, EbayFocusEventHandler, EbayKeyboardEventHandler } from "../common/event-utils/types";
|
|
3
3
|
export type EventProps = {
|
|
4
4
|
value: number;
|
|
5
5
|
};
|
|
6
|
-
type Props = ComponentProps<
|
|
6
|
+
type Props = ComponentProps<"div"> & {
|
|
7
7
|
a11yText?: string;
|
|
8
8
|
value?: string;
|
|
9
9
|
a11yStarText?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"star-rating-select.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating-select/star-rating-select.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAuB,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"star-rating-select.d.ts","sourceRoot":"","sources":["../../src/ebay-star-rating-select/star-rating-select.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAIvE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAGtH,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC3C,KAAK,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,wBAAwB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;IACnE,QAAQ,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;IAChE,OAAO,CAAC,EAAE,qBAAqB,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;CACjE,CAAC;AASF,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAkEnC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|