From cb0b23e13569cd37f35853efe6f8c3b429fb4ea8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 18 Jan 2025 00:24:20 +0000 Subject: [PATCH] ci: release (next) --- .changeset/pre.json | 13 +++++++++++++ CHANGELOG.md | 14 ++++++++++++++ package-lock.json | 6 +++--- package.json | 2 +- src/common/charts/shared.ts | 4 +--- src/components/ebay-area-chart/README.md | 6 +++--- .../ebay-area-chart/area-chart.stories.ts | 4 ++-- src/components/ebay-bar-chart/component.ts | 2 +- src/components/ebay-line-chart/component.ts | 2 +- src/components/ebay-textbox/component-browser.ts | 9 ++++++--- 10 files changed, 45 insertions(+), 17 deletions(-) create mode 100644 .changeset/pre.json diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 000000000..942cd0351 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,13 @@ +{ + "mode": "pre", + "tag": "next", + "initialVersions": { + "@ebay/ebayui-core": "14.6.8" + }, + "changesets": [ + "sharp-bees-grin", + "sixty-experts-marry", + "thirty-walls-notice", + "wet-wombats-roll" + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fae1e040..7913faa31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # eBayUI-Core Changelog +## 14.7.0-next.0 + +### Minor Changes + +- [#2384](https://github.com/eBay/ebayui-core/pull/2384) [`38cb097`](https://github.com/eBay/ebayui-core/commit/38cb09726602a74995e42f11dbc67abd7a8f9844) Thanks [@agliga](https://github.com/agliga)! - Add area chart + +### Patch Changes + +- [#2384](https://github.com/eBay/ebayui-core/pull/2384) [`6755659`](https://github.com/eBay/ebayui-core/commit/675565960b6196cc8d244e4ac96b2a736c13907a) Thanks [@agliga](https://github.com/agliga)! - TS fix for combobox + +- [#2384](https://github.com/eBay/ebayui-core/pull/2384) [`ed4ed54`](https://github.com/eBay/ebayui-core/commit/ed4ed54f93c3cbc4230c8f4938a38c75eb79b2eb) Thanks [@agliga](https://github.com/agliga)! - Upgrade dependencies + +- [#2384](https://github.com/eBay/ebayui-core/pull/2384) [`4aaa0c8`](https://github.com/eBay/ebayui-core/commit/4aaa0c8a29c91cea172bc6cd4d2c1d56ee557c88) Thanks [@agliga](https://github.com/agliga)! - Updated the component-browser.ts file to reference shared attributes from tags-html.d.ts and added the Textbox class implementation. + ## 14.6.8 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index 402d34125..bbadd61ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "@ebay/ebayui-core", - "version": "14.6.8", + "version": "14.7.0-next.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ebay/ebayui-core", - "version": "14.6.8", + "version": "14.7.0-next.0", "license": "MIT", "dependencies": { "@floating-ui/dom": "^1.6.12", "@google/model-viewer": "^4.0.0", "@marko-tags/subscribe": "^0.5.1", - "highcharts": "11.4.8", + "highcharts": "^11.4.8", "makeup-active-descendant": "0.7.4", "makeup-expander": "~0.11.4", "makeup-floating-label": "~0.4.5", diff --git a/package.json b/package.json index 53806acc2..663ae75fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ebay/ebayui-core", - "version": "14.6.8", + "version": "14.7.0-next.0", "description": "Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.", "keywords": [ "marko-components" diff --git a/src/common/charts/shared.ts b/src/common/charts/shared.ts index 22302a6a2..4a4deb748 100644 --- a/src/common/charts/shared.ts +++ b/src/common/charts/shared.ts @@ -80,14 +80,12 @@ export const chartFontFamily = '"Market Sans", Arial, sans-serif', if (series[i].type === "bar") { (series[i] as Highcharts.SeriesBarOptions).borderColor = color; (series[i] as Highcharts.SeriesBarOptions).color = color; - } - else { + } else { (series[i] as Highcharts.SeriesAreaOptions).lineColor = color; (series[i] as Highcharts.SeriesAreaOptions).fillOpacity = 1; } } }, - setDonutColors = function (series: any) { const colors = [ { lineColor: chartPrimaryColor, borderColor: chartPrimaryColor }, diff --git a/src/components/ebay-area-chart/README.md b/src/components/ebay-area-chart/README.md index 396a18cd5..d83a2e2a8 100644 --- a/src/components/ebay-area-chart/README.md +++ b/src/components/ebay-area-chart/README.md @@ -11,6 +11,6 @@ The area chart displays one to five series of data points as an interactive stac ## Examples and Documentation -- [Storybook](https://ebay.github.io/ebayui-core/?path=/docs/charts-ebay-area-chart) -- [Storybook Docs](https://ebay.github.io/ebayui-core/?path=/docs/charts-ebay-area-chart) -- [Code Examples](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-area-chart/examples) +- [Storybook](https://ebay.github.io/ebayui-core/?path=/docs/charts-ebay-area-chart) +- [Storybook Docs](https://ebay.github.io/ebayui-core/?path=/docs/charts-ebay-area-chart) +- [Code Examples](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-area-chart/examples) diff --git a/src/components/ebay-area-chart/area-chart.stories.ts b/src/components/ebay-area-chart/area-chart.stories.ts index 918c61e47..54571d40a 100644 --- a/src/components/ebay-area-chart/area-chart.stories.ts +++ b/src/components/ebay-area-chart/area-chart.stories.ts @@ -19,7 +19,7 @@ const seriesDataWithoutLabels = sampleSeriesData.map((series) => { return rest; }), }; -}) +}); export default { title: "charts/ebay-area-chart", @@ -226,4 +226,4 @@ CustomHighchartOptions.args = { tickAmount: 4, }, }, -}; \ No newline at end of file +}; diff --git a/src/components/ebay-bar-chart/component.ts b/src/components/ebay-bar-chart/component.ts index 089731721..05eb14e24 100644 --- a/src/components/ebay-bar-chart/component.ts +++ b/src/components/ebay-bar-chart/component.ts @@ -98,7 +98,7 @@ class BarChart extends Marko.Component { : [this.input.series]; const stacked = this.input.stacked; const title = this.input.title; - + // controls rounded corders and spacing at the bottom of data points if (stacked) { series[0].bottom = true; // set a variable on the first series so it renders rounder corners on the bottom of the bar diff --git a/src/components/ebay-line-chart/component.ts b/src/components/ebay-line-chart/component.ts index c085b33db..3ca1d66a5 100644 --- a/src/components/ebay-line-chart/component.ts +++ b/src/components/ebay-line-chart/component.ts @@ -25,7 +25,7 @@ declare const Highcharts: typeof HighchartsTypes; interface SeriesLineOptions extends Highcharts.PlotLineOptions { data: Highcharts.PointOptionsObject[]; - type: "line", + type: "line"; } interface LineChartInput diff --git a/src/components/ebay-textbox/component-browser.ts b/src/components/ebay-textbox/component-browser.ts index ff39bf19d..c7793bb76 100644 --- a/src/components/ebay-textbox/component-browser.ts +++ b/src/components/ebay-textbox/component-browser.ts @@ -1,6 +1,10 @@ import FloatingLabel from "makeup-floating-label"; import type { WithNormalizedProps } from "../../global"; -import type { AttrOnOff, AttrString, AttrStringOrNumber } from "marko/tags-html"; +import type { + AttrOnOff, + AttrString, + AttrStringOrNumber, +} from "marko/tags-html"; export interface TextboxEvent { originalEvent: Event; @@ -35,7 +39,6 @@ interface TextboxInput extends Omit, `on${string}`> { autocorrect?: AttrOnOff; cols?: AttrStringOrNumber; rows?: AttrStringOrNumber; - } export interface Input extends WithNormalizedProps {} @@ -100,4 +103,4 @@ class Textbox extends Marko.Component { } } -export default Textbox; \ No newline at end of file +export default Textbox;