diff --git a/.changeset/famous-peas-own.md b/.changeset/famous-peas-own.md deleted file mode 100644 index 60e93e4da..000000000 --- a/.changeset/famous-peas-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": minor ---- - -Search header for filter menu & filter menu button diff --git a/.changeset/great-ants-watch.md b/.changeset/great-ants-watch.md deleted file mode 100644 index 7073f5f5b..000000000 --- a/.changeset/great-ants-watch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": patch ---- - -Added localization for ebay-video component diff --git a/.changeset/mighty-buckets-tan.md b/.changeset/mighty-buckets-tan.md deleted file mode 100644 index a4f012e4b..000000000 --- a/.changeset/mighty-buckets-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": minor ---- - -fix(combobox): added viewAllOptions control diff --git a/.changeset/plenty-drinks-sniff.md b/.changeset/plenty-drinks-sniff.md deleted file mode 100644 index e174782d3..000000000 --- a/.changeset/plenty-drinks-sniff.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": patch ---- - -refactor(storybook/examples): fully migrate stories and examples to typescript diff --git a/.changeset/plenty-tips-perform.md b/.changeset/plenty-tips-perform.md deleted file mode 100644 index e3482bcad..000000000 --- a/.changeset/plenty-tips-perform.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": minor ---- - -feat(carousel): respect reduced-motion during autoplay diff --git a/.changeset/sixty-bananas-kick.md b/.changeset/sixty-bananas-kick.md deleted file mode 100644 index 40e784667..000000000 --- a/.changeset/sixty-bananas-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@ebay/ebayui-core": minor ---- - -ebay-ccd: new component diff --git a/CHANGELOG.md b/CHANGELOG.md index f8a33f7a3..9d37ff117 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # eBayUI-Core Changelog +## 14.5.0 + +### Minor Changes + +- [#2330](https://github.com/eBay/ebayui-core/pull/2330) [`9ebb7c9`](https://github.com/eBay/ebayui-core/commit/9ebb7c92885b3beef4266639513297e8af74cdd0) Thanks [@LuLaValva](https://github.com/LuLaValva)! - Search header for filter menu & filter menu button + +- [#2320](https://github.com/eBay/ebayui-core/pull/2320) [`73ff807`](https://github.com/eBay/ebayui-core/commit/73ff807fa1d9989ece78b9c5482d40b4351e2f49) Thanks [@saiponnada](https://github.com/saiponnada)! - fix(combobox): added viewAllOptions control + +- [#2319](https://github.com/eBay/ebayui-core/pull/2319) [`a41ae29`](https://github.com/eBay/ebayui-core/commit/a41ae2928ea9301a6bda8ca5dbce835519777b99) Thanks [@saiponnada](https://github.com/saiponnada)! - feat(carousel): respect reduced-motion during autoplay + +- [#2327](https://github.com/eBay/ebayui-core/pull/2327) [`30b5859`](https://github.com/eBay/ebayui-core/commit/30b58590f04f3ef65a96f6026b182b8947e9c964) Thanks [@agliga](https://github.com/agliga)! - ebay-ccd: new component + +### Patch Changes + +- [#2324](https://github.com/eBay/ebayui-core/pull/2324) [`60ebb19`](https://github.com/eBay/ebayui-core/commit/60ebb196d8dc0f1a2bf443d62c1dedab33987a61) Thanks [@UDAY556](https://github.com/UDAY556)! - Added localization for ebay-video component + +- [#2332](https://github.com/eBay/ebayui-core/pull/2332) [`c006353`](https://github.com/eBay/ebayui-core/commit/c00635390b9c302cce10135d2f59b6a22c298019) Thanks [@ArtBlue](https://github.com/ArtBlue)! - refactor(storybook/examples): fully migrate stories and examples to typescript + ## 14.4.1 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index ad0effc95..aa6e7eb17 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ebay/ebayui-core", - "version": "14.4.1", + "version": "14.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ebay/ebayui-core", - "version": "14.4.1", + "version": "14.5.0", "license": "MIT", "dependencies": { "@floating-ui/dom": "^1.6.12", diff --git a/package.json b/package.json index a1695efbd..9aebd3faa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ebay/ebayui-core", - "version": "14.4.1", + "version": "14.5.0", "description": "Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.", "scripts": { "installMarkoV5": "npm i marko@5 @marko/compiler@5 --force", diff --git a/src/components/components/ebay-dialog-base/component.ts b/src/components/components/ebay-dialog-base/component.ts index 9fc7aea15..a2781506e 100644 --- a/src/components/components/ebay-dialog-base/component.ts +++ b/src/components/components/ebay-dialog-base/component.ts @@ -20,7 +20,9 @@ interface DialogBaseInput extends Omit, `on${string}`> { "close-button-text"?: AttrString; "close-button-class"?: AttrClass; "a11y-close-text"?: AttrString; - "close-button"?: Marko.Renderable | Marko.AttrTag<{ renderBody: Marko.Body }>; + "close-button"?: + | Marko.Renderable + | Marko.AttrTag<{ renderBody: Marko.Body }>; "is-modal"?: boolean; "ignore-escape"?: boolean; "window-type"?: string; diff --git a/src/components/ebay-3d-viewer/3d-viewer.stories.ts b/src/components/ebay-3d-viewer/3d-viewer.stories.ts index 14de0d721..2021ab8a2 100644 --- a/src/components/ebay-3d-viewer/3d-viewer.stories.ts +++ b/src/components/ebay-3d-viewer/3d-viewer.stories.ts @@ -152,7 +152,7 @@ export default { }, }, }, -} ; +}; export const Default = Template.bind({}); Default.args = { diff --git a/src/components/ebay-carousel/carousel.stories.ts b/src/components/ebay-carousel/carousel.stories.ts index 3c5378179..0e8d4b763 100644 --- a/src/components/ebay-carousel/carousel.stories.ts +++ b/src/components/ebay-carousel/carousel.stories.ts @@ -1,6 +1,4 @@ -import { - buildExtensionTemplate, -} from "../../common/storybook/utils"; +import { buildExtensionTemplate } from "../../common/storybook/utils"; import carousel from "./index.marko"; import Readme from "./README.md"; import continiousTemplate from "./examples/continuous.marko"; diff --git a/src/components/ebay-carousel/component.ts b/src/components/ebay-carousel/component.ts index 34073a561..bd068fdf5 100644 --- a/src/components/ebay-carousel/component.ts +++ b/src/components/ebay-carousel/component.ts @@ -6,7 +6,7 @@ import { processHtmlAttributes } from "../../common/html-attributes"; import { onScrollDebounced as onScroll } from "./utils/on-scroll-debounced"; import { scrollTransition } from "./utils/scroll-transition"; import type { WithNormalizedProps } from "../../global"; -import { useReducedMotion } from "../../common/dom"; +import { useReducedMotion } from "../../common/dom"; type Direction = typeof LEFT | typeof RIGHT; // Used for carousel slide direction. @@ -519,7 +519,7 @@ class Carousel extends Marko.Component { this.skipScrolling = false; // If user had reduced motion turned on in OS settings, pause autoplay. - if(useReducedMotion) { + if (useReducedMotion) { this.state.paused = true; } diff --git a/src/components/ebay-chip/chip.stories.ts b/src/components/ebay-chip/chip.stories.ts index 4c3727553..19c6630f6 100644 --- a/src/components/ebay-chip/chip.stories.ts +++ b/src/components/ebay-chip/chip.stories.ts @@ -45,7 +45,7 @@ export default { export const Default = Template.bind({}); Default.args = { renderBody: "chip text" as any, -} ; +}; Default.parameters = { docs: { source: { diff --git a/src/components/ebay-chips-combobox/chips-combobox.stories.ts b/src/components/ebay-chips-combobox/chips-combobox.stories.ts index 3e85b743b..8846339cc 100644 --- a/src/components/ebay-chips-combobox/chips-combobox.stories.ts +++ b/src/components/ebay-chips-combobox/chips-combobox.stories.ts @@ -6,7 +6,6 @@ import DefaultCode from "./examples/default.marko?raw"; import SelectedTemplate from "./examples/selected.marko"; import SelectedCode from "./examples/selected.marko?raw"; - export default { title: "form input/ebay-chips-combobox", component: Combobox, diff --git a/src/components/ebay-combobox/component.ts b/src/components/ebay-combobox/component.ts index 09bc6f131..17d1c9fc9 100644 --- a/src/components/ebay-combobox/component.ts +++ b/src/components/ebay-combobox/component.ts @@ -28,10 +28,11 @@ interface ComboboxInput extends Omit, `on${string}`> { "list-selection"?: "manual" | "automatic"; "floating-label"?: boolean; "view-all-options"?: boolean; - button?: Marko.Input<"button"> & Marko.AttrTag<{ - htmlAttributes?: Record; - renderBody?: Marko.Body; - }>; + button?: Marko.Input<"button"> & + Marko.AttrTag<{ + htmlAttributes?: Record; + renderBody?: Marko.Body; + }>; options?: Marko.AttrTag; "chevron-size"?: "large"; "on-focus"?: (event: ComboboxEvent) => void; diff --git a/src/components/ebay-cta-button/cta-button.stories.ts b/src/components/ebay-cta-button/cta-button.stories.ts index f1515978c..7baeaa791 100644 --- a/src/components/ebay-cta-button/cta-button.stories.ts +++ b/src/components/ebay-cta-button/cta-button.stories.ts @@ -6,7 +6,7 @@ import Cta, { type Input } from "./index.marko"; const Template: Story = (args) => ({ input: { ...args, - renderBody: function(out: any) { + renderBody: function (out: any) { out.html(args.renderBody); } as any, }, diff --git a/src/components/ebay-details/details.stories.ts b/src/components/ebay-details/details.stories.ts index 7b09c7c9d..1e30441d5 100644 --- a/src/components/ebay-details/details.stories.ts +++ b/src/components/ebay-details/details.stories.ts @@ -7,7 +7,7 @@ import type { Input } from "./component-browser"; const Template: Story = (args) => ({ input: { ...args, - renderBody: function(out: any) { + renderBody: function (out: any) { out.html(args.renderBody); } as any, }, @@ -88,7 +88,8 @@ export default { export const Standard = Template.bind({}); Standard.args = { - renderBody: `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.` as any, + renderBody: + `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.` as any, text: "Show me the details!", size: "regular", open: false, diff --git a/src/components/ebay-fake-link/fake-link.stories.ts b/src/components/ebay-fake-link/fake-link.stories.ts index d4e10563a..b09a26d19 100644 --- a/src/components/ebay-fake-link/fake-link.stories.ts +++ b/src/components/ebay-fake-link/fake-link.stories.ts @@ -7,7 +7,7 @@ import type { Input } from "./component-browser"; const Template: Story = (args) => ({ input: { ...args, - renderBody: function(out: any) { + renderBody: function (out: any) { out.html(args.renderBody); } as any, }, diff --git a/src/components/ebay-icon/examples/all.marko b/src/components/ebay-icon/examples/all.marko index c60a906b7..f20857714 100644 --- a/src/components/ebay-icon/examples/all.marko +++ b/src/components/ebay-icon/examples/all.marko @@ -690,6 +690,24 @@ div.icon-examples span.text -- ebay-cb-32-colored-icon + div + span.icon + ebay-ccd-charger-included-icon + span.text + -- ebay-ccd-charger-included-icon + + div + span.icon + ebay-ccd-charger-not-included-icon + span.text + -- ebay-ccd-charger-not-included-icon + + div + span.icon + ebay-ccd-top-icon + span.text + -- ebay-ccd-top-icon + div span.icon ebay-certified-recycled-16-icon diff --git a/src/components/ebay-switch/switch.stories.ts b/src/components/ebay-switch/switch.stories.ts index e93f7c904..d82fe861e 100644 --- a/src/components/ebay-switch/switch.stories.ts +++ b/src/components/ebay-switch/switch.stories.ts @@ -32,7 +32,7 @@ export default { }, }, }, -} ; +}; export const WithLabel: Story = (args) => ({ input: args, diff --git a/src/components/ebay-table/table.stories.ts b/src/components/ebay-table/table.stories.ts index 05d82aa69..f15b02c21 100644 --- a/src/components/ebay-table/table.stories.ts +++ b/src/components/ebay-table/table.stories.ts @@ -128,7 +128,7 @@ export default { }, }, }, -} ; +}; export const Default = buildExtensionTemplate(defaultTemplate, defaultCode); export const TableDensity = buildExtensionTemplate(