From 5ca0be39dfa0d83f3a07f7d36739aca840f6c6a0 Mon Sep 17 00:00:00 2001 From: maledr5 Date: Wed, 11 Dec 2024 15:06:35 +0100 Subject: [PATCH] chore(pie-textarea): DSW-2653 update component status to beta (#2113) * chore(pie-textarea): DSW-2653 update component status to beta * chore(pie-textarea): DSW-2653 update packages/components/README.md * Update packages/components/README.md Co-authored-by: Xander Marjoram --------- Co-authored-by: Xander Marjoram --- .changeset/smart-olives-walk.md | 6 ++++++ apps/pie-docs/src/componentStatusData.js | 1 + packages/components/README.md | 3 +++ packages/components/pie-textarea/package.json | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/smart-olives-walk.md diff --git a/.changeset/smart-olives-walk.md b/.changeset/smart-olives-walk.md new file mode 100644 index 0000000000..61fa78c985 --- /dev/null +++ b/.changeset/smart-olives-walk.md @@ -0,0 +1,6 @@ +--- +"@justeattakeaway/pie-textarea": patch +"pie-docs": patch +--- + +[Changed] - update the textarea component status to beta diff --git a/apps/pie-docs/src/componentStatusData.js b/apps/pie-docs/src/componentStatusData.js index 494af7742f..d6e26d41e1 100644 --- a/apps/pie-docs/src/componentStatusData.js +++ b/apps/pie-docs/src/componentStatusData.js @@ -1977,6 +1977,7 @@ const rows = [ }, { resource: resourceTypes.WEB_COMPONENTS, + link: 'https://webc.pie.design/?path=/story/textarea--default', status: webComponentStatuses['pie-textarea'], }, { diff --git a/packages/components/README.md b/packages/components/README.md index f63262096e..e929899d76 100644 --- a/packages/components/README.md +++ b/packages/components/README.md @@ -110,3 +110,6 @@ As with the browser tests, it is vital that the component to test is mounted and ## Bundling When we build a component, we run a plugin for Rollup named `rollup-plugin-visualizer`. This generates a file for each component named `stats.html` in the root of the component package. This file can be viewed in the browser to visualise the bundled Javascript and better understand what contributes to the size of the final build output. + +## Component Status changes +The `package.json` file of each component is the source of truth for its status. Any change of status will be automatically reflected in Storybook and the Documentation site. There is no need to manually change the `component-statuses.json` file. diff --git a/packages/components/pie-textarea/package.json b/packages/components/pie-textarea/package.json index 76fd2e2f21..45b3787ce2 100644 --- a/packages/components/pie-textarea/package.json +++ b/packages/components/pie-textarea/package.json @@ -13,7 +13,7 @@ "**/*.d.ts" ], "pieMetadata": { - "componentStatus": "alpha" + "componentStatus": "beta" }, "scripts": { "build": "run -T vite build",