Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Docs: Storybook Vaadin improvements (#2520)

Martin Peetersd47bf5208245
diff --git a/ui/app/storybook/.storybook/preview.ts b/ui/app/storybook/.storybook/preview.ts
index 8b9f67812..8b19931e6 100644
--- a/ui/app/storybook/.storybook/preview.ts
+++ b/ui/app/storybook/.storybook/preview.ts
@@ -22,11 +22,20 @@ import {setStorybookHelpersConfig} from "@wc-toolkit/storybook-helpers";
import {themes} from "storybook/theming";
import "./styles.css";
-setStorybookHelpersConfig({ hideArgRef: true });
+setStorybookHelpersConfig({ hideArgRef: true, categoryOrder: ["attributes", "cssProps", "cssParts", "events", "methods"] });
+const style = globalThis.getComputedStyle(document.documentElement);
const preview: Preview = {
parameters: {
controls: {
+ expanded: true,
+ disableSaveFromUI: true,
+ presetColors: [
+ style.getPropertyValue("--or-color-primary").trim(),
+ style.getPropertyValue("--or-color-error").trim(),
+ style.getPropertyValue("--or-color-warning").trim(),
+ style.getPropertyValue("--or-color-success").trim()
+ ],
matchers: {
color: /(background|color)$/i,
date: /Date$/i
diff --git a/ui/app/storybook/docs/components/or-mwc-input-button.mdx b/ui/app/storybook/docs/components/or-mwc-input-button.mdx
index dfa208d7b..d6d3c9113 100644
--- a/ui/app/storybook/docs/components/or-mwc-input-button.mdx
+++ b/ui/app/storybook/docs/components/or-mwc-input-button.mdx
@@ -22,6 +22,6 @@ import { Meta } from '@storybook/addon-docs/blocks';
import * as ComponentStory from "../../../../component/or-mwc-components/stories/input/button.stories"; // stories need relative imports
import {ComponentDocs} from "../../util/componentdocs.mdx";
-<Meta title="Components/Button" />
+<Meta title="Deprecated/Button (Material UI)" />
<ComponentDocs story={ComponentStory} options={{displayName: "Button"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-mwc-input-checkbox.mdx b/ui/app/storybook/docs/components/or-mwc-input-checkbox.mdx
index 2bf0d3354..21b074286 100644
--- a/ui/app/storybook/docs/components/or-mwc-input-checkbox.mdx
+++ b/ui/app/storybook/docs/components/or-mwc-input-checkbox.mdx
@@ -22,6 +22,6 @@ import { Meta } from '@storybook/addon-docs/blocks';
import * as ComponentStory from "../../../../component/or-mwc-components/stories/input/checkbox.stories"; // stories need relative imports
import {ComponentDocs} from "../../util/componentdocs.mdx";
-<Meta title="Components/Checkbox" />
+<Meta title="Deprecated/Checkbox (Material UI)" />
<ComponentDocs story={ComponentStory} options={{displayName: "Checkbox"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-mwc-input-color.mdx b/ui/app/storybook/docs/components/or-mwc-input-color.mdx
index 4552e50c1..19206cdb0 100644
--- a/ui/app/storybook/docs/components/or-mwc-input-color.mdx
+++ b/ui/app/storybook/docs/components/or-mwc-input-color.mdx
@@ -22,6 +22,6 @@ import { Meta } from '@storybook/addon-docs/blocks';
import * as ComponentStory from "../../../../component/or-mwc-components/stories/input/color.stories"; // stories need relative imports
import {ComponentDocs} from "../../util/componentdocs.mdx";
-<Meta title="Components/Color Picker" />
+<Meta title="Deprecated/Color Picker (Material UI)" />
<ComponentDocs story={ComponentStory} options={{displayName: "Color Picker"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-mwc-input-date.mdx b/ui/app/storybook/docs/components/or-mwc-input-date.mdx
index a4777e4b9..b81b57894 100644
--- a/ui/app/storybook/docs/components/or-mwc-input-date.mdx
+++ b/ui/app/storybook/docs/components/or-mwc-input-date.mdx
@@ -22,6 +22,6 @@ import { Meta } from '@storybook/addon-docs/blocks';
import * as ComponentStory from "../../../../component/or-mwc-components/stories/input/date.stories"; // stories need relative imports
import {ComponentDocs} from "../../util/componentdocs.mdx";
-<Meta title="Components/Date and Time picker" />
+<Meta title="Deprecated/Date and Time picker (Material UI)" />
<ComponentDocs story={ComponentStory} options={{displayName: "Date and Time picker"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-mwc-input-input.mdx b/ui/app/storybook/docs/components/or-mwc-input-input.mdx
index d017541df..e6b22219c 100644
--- a/ui/app/storybook/docs/components/or-mwc-input-input.mdx
+++ b/ui/app/storybook/docs/components/or-mwc-input-input.mdx
@@ -22,6 +22,6 @@ import { Meta } from '@storybook/addon-docs/blocks';
import * as ComponentStory from "../../../../component/or-mwc-components/stories/input/input.stories"; // stories need relative imports
import {ComponentDocs} from "../../util/componentdocs.mdx";
-<Meta title="Components/Input Field" />
+<Meta title="Deprecated/Input Field (Material UI)" />
<ComponentDocs story={ComponentStory} options={{displayName: "Input Field"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-mwc-input-select.mdx b/ui/app/storybook/docs/components/or-mwc-input-select.mdx
index 2e5e3d260..cd04233ea 100644
--- a/ui/app/storybook/docs/components/or-mwc-input-select.mdx
+++ b/ui/app/storybook/docs/components/or-mwc-input-select.mdx
@@ -22,6 +22,6 @@ import { Meta } from '@storybook/addon-docs/blocks';
import * as ComponentStory from "../../../../component/or-mwc-components/stories/input/select.stories"; // stories need relative imports
import {ComponentDocs} from "../../util/componentdocs.mdx";
-<Meta title="Components/Select" />
+<Meta title="Deprecated/Select (Material UI)" />
<ComponentDocs story={ComponentStory} options={{displayName: "Select"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-vaadin-button.mdx b/ui/app/storybook/docs/components/or-vaadin-button.mdx
new file mode 100644
index 000000000..1ae10edad
--- /dev/null
+++ b/ui/app/storybook/docs/components/or-vaadin-button.mdx
@@ -0,0 +1,27 @@
+{/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/}
+
+import { Meta } from '@storybook/addon-docs/blocks';
+import * as ComponentStory from "../../../../component/or-vaadin-components/stories/or-vaadin-button.stories"; // stories need relative imports
+import {ComponentDocs} from "../../util/componentdocs.mdx";
+
+<Meta title="Components/Button" />
+
+<ComponentDocs story={ComponentStory} options={{displayName: "Button"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-vaadin-checkbox.mdx b/ui/app/storybook/docs/components/or-vaadin-checkbox.mdx
new file mode 100644
index 000000000..b8142799c
--- /dev/null
+++ b/ui/app/storybook/docs/components/or-vaadin-checkbox.mdx
@@ -0,0 +1,27 @@
+{/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/}
+
+import { Meta } from '@storybook/addon-docs/blocks';
+import * as ComponentStory from "../../../../component/or-vaadin-components/stories/or-vaadin-checkbox.stories"; // stories need relative imports
+import {ComponentDocs} from "../../util/componentdocs.mdx";
+
+<Meta title="Components/Checkbox" />
+
+<ComponentDocs story={ComponentStory} options={{displayName: "Checkbox"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-vaadin-numberfield.mdx b/ui/app/storybook/docs/components/or-vaadin-numberfield.mdx
new file mode 100644
index 000000000..3ab0c08da
--- /dev/null
+++ b/ui/app/storybook/docs/components/or-vaadin-numberfield.mdx
@@ -0,0 +1,27 @@
+{/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/}
+
+import { Meta } from '@storybook/addon-docs/blocks';
+import * as ComponentStory from "../../../../component/or-vaadin-components/stories/or-vaadin-number-field.stories"; // stories need relative imports
+import {ComponentDocs} from "../../util/componentdocs.mdx";
+
+<Meta title="Components/Number Field" />
+
+<ComponentDocs story={ComponentStory} options={{displayName: "Number Field"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/docs/components/or-vaadin-textfield.mdx b/ui/app/storybook/docs/components/or-vaadin-textfield.mdx
new file mode 100644
index 000000000..47db1bfd9
--- /dev/null
+++ b/ui/app/storybook/docs/components/or-vaadin-textfield.mdx
@@ -0,0 +1,27 @@
+{/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/}
+
+import { Meta } from '@storybook/addon-docs/blocks';
+import * as ComponentStory from "../../../../component/or-vaadin-components/stories/or-vaadin-text-field.stories"; // stories need relative imports
+import {ComponentDocs} from "../../util/componentdocs.mdx";
+
+<Meta title="Components/Text Field" />
+
+<ComponentDocs story={ComponentStory} options={{displayName: "Text Field"}} elementsjson={ComponentStory.customElements} />
diff --git a/ui/app/storybook/package.json b/ui/app/storybook/package.json
index 2080ddc39..3019cc246 100644
--- a/ui/app/storybook/package.json
+++ b/ui/app/storybook/package.json
@@ -18,13 +18,13 @@
},
"devDependencies": {
"@rsbuild/core": "~1.7.3",
- "@storybook/addon-a11y": "~10.1.11",
- "@storybook/addon-docs": "~10.1.11",
- "@storybook/web-components": "~10.1.11",
+ "@storybook/addon-a11y": "~10.2.4",
+ "@storybook/addon-docs": "~10.2.4",
+ "@storybook/web-components": "~10.2.4",
"@types/react": "^18.3.12",
"@wc-toolkit/storybook-helpers": "^10.0.0",
- "storybook": "~10.1.11",
- "storybook-web-components-rsbuild": "~3.2.0",
+ "storybook": "~10.2.4",
+ "storybook-web-components-rsbuild": "~3.2.2",
"typescript": "5.8.3"
}
}
diff --git a/ui/component/or-chart/stories/chart.stories.ts b/ui/component/or-chart/stories/chart.stories.ts
index f8fb4e395..2dc76ec56 100644
--- a/ui/component/or-chart/stories/chart.stories.ts
+++ b/ui/component/or-chart/stories/chart.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {type Meta, setCustomElementsManifest, type StoryObj} from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../storybook-utils";
import {Asset, AssetQuery, WellknownMetaItems} from "@openremote/model";
import manager from "@openremote/core";
import {html} from "lit";
@@ -31,7 +31,7 @@ const tagName = "or-chart";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-chart",
diff --git a/ui/component/or-map/stories/map.stories.ts b/ui/component/or-map/stories/map.stories.ts
index d91e52034..846bc0075 100644
--- a/ui/component/or-map/stories/map.stories.ts
+++ b/ui/component/or-map/stories/map.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {type Meta, setCustomElementsManifest, type StoryObj} from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";;
+import {getORStorybookHelpers} from "../../storybook-utils";
import manager from "@openremote/core";
import {html} from "lit";
import customElements from "../custom-elements.json" with {type: "json"};
@@ -30,7 +30,7 @@ const tagName = "or-map";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-map",
diff --git a/ui/component/or-mwc-components/stories/input/button.stories.ts b/ui/component/or-mwc-components/stories/input/button.stories.ts
index 9aea46ae6..aa5b29941 100644
--- a/ui/component/or-mwc-components/stories/input/button.stories.ts
+++ b/ui/component/or-mwc-components/stories/input/button.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../../storybook-utils";
import customElements from "../../custom-elements.json" with { type: "json" };
import packageJson from "../../package.json" with { type: "json" };
import {InputType} from "../../src/or-mwc-input";
@@ -28,7 +28,7 @@ const tagName = "or-mwc-input";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-mwc-input/button",
diff --git a/ui/component/or-mwc-components/stories/input/checkbox.stories.ts b/ui/component/or-mwc-components/stories/input/checkbox.stories.ts
index bb60f5cd1..9a1e70fd3 100644
--- a/ui/component/or-mwc-components/stories/input/checkbox.stories.ts
+++ b/ui/component/or-mwc-components/stories/input/checkbox.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../../storybook-utils";
import customElements from "../../custom-elements.json" with { type: "json" };
import packageJson from "../../package.json" with { type: "json" };
import {InputType} from "../../src/or-mwc-input";
@@ -28,7 +28,7 @@ const tagName = "or-mwc-input";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-mwc-input/checkbox",
diff --git a/ui/component/or-mwc-components/stories/input/color.stories.ts b/ui/component/or-mwc-components/stories/input/color.stories.ts
index ead49a5db..b901aef74 100644
--- a/ui/component/or-mwc-components/stories/input/color.stories.ts
+++ b/ui/component/or-mwc-components/stories/input/color.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../../storybook-utils";
import customElements from "../../custom-elements.json" with { type: "json" };
import packageJson from "../../package.json" with { type: "json" };
import {InputType} from "../../src/or-mwc-input";
@@ -28,7 +28,7 @@ const tagName = "or-mwc-input";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-mwc-input/color",
diff --git a/ui/component/or-mwc-components/stories/input/date.stories.ts b/ui/component/or-mwc-components/stories/input/date.stories.ts
index e4bfb6c39..e439a994d 100644
--- a/ui/component/or-mwc-components/stories/input/date.stories.ts
+++ b/ui/component/or-mwc-components/stories/input/date.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../../storybook-utils";
import customElements from "../../custom-elements.json" with { type: "json" };
import packageJson from "../../package.json" with { type: "json" };
import {InputType} from "../../src/or-mwc-input";
@@ -28,7 +28,7 @@ const tagName = "or-mwc-input";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-mwc-input/date",
diff --git a/ui/component/or-mwc-components/stories/input/input.stories.ts b/ui/component/or-mwc-components/stories/input/input.stories.ts
index 692fbbb9f..ecd12b21c 100644
--- a/ui/component/or-mwc-components/stories/input/input.stories.ts
+++ b/ui/component/or-mwc-components/stories/input/input.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../../storybook-utils";
import customElements from "../../custom-elements.json" with { type: "json" };
import packageJson from "../../package.json" with { type: "json" };
import {InputType} from "../../src/or-mwc-input";
@@ -28,7 +28,7 @@ const tagName = "or-mwc-input";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-mwc-input/input",
diff --git a/ui/component/or-mwc-components/stories/input/select.stories.ts b/ui/component/or-mwc-components/stories/input/select.stories.ts
index fed5327f1..6bc97c1f5 100644
--- a/ui/component/or-mwc-components/stories/input/select.stories.ts
+++ b/ui/component/or-mwc-components/stories/input/select.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../../storybook-utils";
import customElements from "../../custom-elements.json" with { type: "json" };
import packageJson from "../../package.json" with { type: "json" };
import {InputType} from "../../src/or-mwc-input";
@@ -28,7 +28,7 @@ const tagName = "or-mwc-input";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-mwc-input/select",
diff --git a/ui/component/or-mwc-components/stories/table.stories.ts b/ui/component/or-mwc-components/stories/table.stories.ts
index ad151ad4f..06d3e5a11 100644
--- a/ui/component/or-mwc-components/stories/table.stories.ts
+++ b/ui/component/or-mwc-components/stories/table.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../storybook-utils";
import customElements from "../custom-elements.json" with { type: "json" };
import packageJson from "../package.json" with { type: "json" };
import "../src/or-mwc-table";
@@ -27,7 +27,7 @@ const tagName = "or-mwc-table";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-mwc-table",
diff --git a/ui/component/or-scheduler/stories/or-scheduler.stories.ts b/ui/component/or-scheduler/stories/or-scheduler.stories.ts
index b5ea391a8..2b447bc85 100644
--- a/ui/component/or-scheduler/stories/or-scheduler.stories.ts
+++ b/ui/component/or-scheduler/stories/or-scheduler.stories.ts
@@ -19,7 +19,7 @@
*/
import { html } from "lit";
import { setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import { getStorybookHelpers } from "@wc-toolkit/storybook-helpers";
+import { getORStorybookHelpers } from "../../storybook-utils.js";
import customElements from "../custom-elements.json" with { type: "json" };
import packageJson from "../package.json" with { type: "json" };
import manager from "@openremote/core";
diff --git a/ui/component/or-translate/stories/or-translate.stories.ts b/ui/component/or-translate/stories/or-translate.stories.ts
index f614ec68d..31d575ccc 100644
--- a/ui/component/or-translate/stories/or-translate.stories.ts
+++ b/ui/component/or-translate/stories/or-translate.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../storybook-utils";
import customElements from "../custom-elements.json" with { type: "json" };
import packageJson from "../package.json" with { type: "json" };
import i18nextBackend from "i18next-http-backend";
@@ -29,7 +29,7 @@ const tagName = "or-translate";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-translate",
diff --git a/ui/component/or-tree-menu/stories/or-tree-menu.stories.ts b/ui/component/or-tree-menu/stories/or-tree-menu.stories.ts
index 91c8e97b6..055414c5c 100644
--- a/ui/component/or-tree-menu/stories/or-tree-menu.stories.ts
+++ b/ui/component/or-tree-menu/stories/or-tree-menu.stories.ts
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../storybook-utils";
import customElements from "../custom-elements.json" with { type: "json" };
import packageJson from "../package.json" with { type: "json" };
import "../src/index";
@@ -27,7 +27,7 @@ const tagName = "or-tree-menu";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-tree-menu",
diff --git a/ui/component/or-vaadin-components/custom-elements-manifest.config.mjs b/ui/component/or-vaadin-components/custom-elements-manifest.config.mjs
new file mode 100644
index 000000000..93ceffb92
--- /dev/null
+++ b/ui/component/or-vaadin-components/custom-elements-manifest.config.mjs
@@ -0,0 +1,116 @@
+/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+import baseConfig from "../custom-elements-manifest.config.mjs";
+import {cemInheritancePlugin} from "@wc-toolkit/cem-inheritance";
+import {fileURLToPath} from "node:url";
+
+/**
+ * Custom plugin that we wrote ourselves, that parses the JSDoc format that Vaadin uses,
+ * and generates the Custom Elements Manifest JSON fields for it.
+ */
+const VaadinJSDocParserPlugin = {
+ name: 'vaadin-jsdoc-parser',
+ analyzePhase({ ts, node, moduleDoc }) {
+ if (node.kind !== ts.SyntaxKind.ClassDeclaration) return;
+ const declaration = moduleDoc.declarations.find(d => d.name === node.name.getText());
+ const description = declaration?.description; // The JSDoc text above the class
+ if (!description) return;
+
+ const sections = [
+ /*{ key: 'shadow DOM parts', category: 'cssParts', inputType: undefined },*/ // TODO: Fix CSS parts to not override HTML attributes
+ { key: 'state attributes', category: 'attributes', inputType: 'boolean' },
+ { key: 'custom CSS properties', category: 'cssProperties', inputType: 'string' }
+ ];
+
+ /**
+ * To parse the JSDoc text into categories, we need a complex regex pattern to parse the values out.
+ * It extracts backticked names and grabs its description by checking for the `|` symbol.
+ * The generated list would be inserted into the custom-elements.json file.
+ * Example JSDoc:
+ * ---
+ * state attributes
+ * `is-active` | Whether the component is toggled on.
+ * `disabled` | Prevents user interaction.
+ * custom CSS properties
+ * `--bg-color` | The background color of the button.
+ */
+ sections.forEach(({ key, category, inputType }, i) => {
+ const content = description.split(key)[1]?.split(sections[i + 1]?.key || '$')[0] || '';
+ const matches = [...content.matchAll(/`([^`]+)`(?:\s*\|\s*([^\n|]+))?/g)];
+ declaration[category] ??= [];
+
+ const entries = matches.flatMap(([_, name, desc]) => {
+ return [{
+ name: name,
+ description: desc?.trim(),
+ ...(inputType && { type: { text: inputType } })
+ }]
+ });
+ declaration[category].push(...entries);
+ });
+ if(declaration) {
+ console.debug(`Injected additional JSDoc documentation for class ${declaration.name}`);
+ }
+ }
+}
+
+/**
+ * Custom plugin that we wrote ourselves, that corrects the 'extends' keyword for our Vaadin classes.
+ * The analyzer does not understand `extends (TextField as new () => TextField & LitElement)`,
+ * so we manually parse the Vaadin class, and link it to the correct Vaadin NPM package.
+ */
+const VaadinSuperclassParserPlugin = {
+ name: 'vaadin-superclass-parser',
+ analyzePhase({ ts, node, moduleDoc }) {
+ if (node.kind !== ts.SyntaxKind.ClassDeclaration || !node.heritageClauses) return;
+ if (!node.name) return;
+
+ const className = node.name.getText();
+ const declaration = moduleDoc.declarations?.find(d => d.name === className);
+ const extendsClause = node.heritageClauses.find(h => h.token === ts.SyntaxKind.ExtendsKeyword);
+ const baseName = extendsClause?.types[0]?.getText().match(/\(([^ ]+) as/)?.[1];
+
+ if (declaration && baseName) {
+ const pkg = baseName.replaceAll(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); // For example, parses TextField to 'text-field'
+ declaration.superclass = {
+ name: baseName,
+ package: `@vaadin/${pkg}`
+ };
+ console.debug(`Resolved conflict for super class documentation for: @vaadin/${pkg}`);
+ }
+ }
+}
+
+/* -------------------------------- */
+
+// Retrieve path to the Vaadin NPM package
+const vaadinFilesURL = new URL("../*/src/*.js", import.meta.resolve("@vaadin/button/package.json"));
+const vaadinPath = fileURLToPath(vaadinFilesURL).replaceAll('\\', '/');
+
+export default {
+ ...baseConfig,
+ globs: [...baseConfig.globs, vaadinPath], // Also analyze the code inside the Vaadin folder
+ plugins: [
+ ...baseConfig.plugins,
+ VaadinSuperclassParserPlugin, // Resolve conflict in package names
+ cemInheritancePlugin(), // Inject the analysis of the inherited Vaadin code
+ VaadinJSDocParserPlugin // Inject JSDoc of the inherited Vaadin code
+ ]
+}
diff --git a/ui/component/or-vaadin-components/package.json b/ui/component/or-vaadin-components/package.json
index 12e14e4ee..a1ac61505 100644
--- a/ui/component/or-vaadin-components/package.json
+++ b/ui/component/or-vaadin-components/package.json
@@ -22,7 +22,7 @@
},
"scripts": {
"clean": "npx tsc -b --clean && npx shx rm -rf dist lib",
- "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
+ "analyze": "npx cem analyze --config custom-elements-manifest.config.mjs",
"build": "npx tsc -b",
"test": "npx tsc -b && npx playwright test",
"prepack": "npx tsc -b"
diff --git a/ui/component/or-vaadin-components/src/or-vaadin-button.ts b/ui/component/or-vaadin-components/src/or-vaadin-button.ts
index 8866c9887..0b84e4128 100644
--- a/ui/component/or-vaadin-components/src/or-vaadin-button.ts
+++ b/ui/component/or-vaadin-components/src/or-vaadin-button.ts
@@ -17,9 +17,12 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import { customElement } from "lit/decorators.js";
-import { Button } from "@vaadin/button";
-import { OrVaadinComponent } from "./util";
+import {customElement} from "lit/decorators.js";
+import {Button} from "@vaadin/button";
+import {OrVaadinComponent} from "./util";
+import {type LitElement} from "lit";
@customElement("or-vaadin-button")
-export class OrVaadinButton extends Button implements OrVaadinComponent {}
+export class OrVaadinButton extends (Button as new () => Button & LitElement) implements OrVaadinComponent {
+
+}
diff --git a/ui/component/or-vaadin-components/src/or-vaadin-checkbox.ts b/ui/component/or-vaadin-components/src/or-vaadin-checkbox.ts
index 8eb1af55c..a13d33c66 100644
--- a/ui/component/or-vaadin-components/src/or-vaadin-checkbox.ts
+++ b/ui/component/or-vaadin-components/src/or-vaadin-checkbox.ts
@@ -20,8 +20,9 @@
import {customElement} from "lit/decorators.js";
import {Checkbox} from "@vaadin/checkbox";
import {OrVaadinComponent} from "./util";
+import {type LitElement} from "lit";
@customElement("or-vaadin-checkbox")
-export class OrVaadinCheckbox extends Checkbox implements OrVaadinComponent {
+export class OrVaadinCheckbox extends (Checkbox as new () => Checkbox & LitElement) implements OrVaadinComponent {
}
diff --git a/ui/component/or-vaadin-components/src/or-vaadin-dialog.ts b/ui/component/or-vaadin-components/src/or-vaadin-dialog.ts
index eedf06873..8dd0e287f 100644
--- a/ui/component/or-vaadin-components/src/or-vaadin-dialog.ts
+++ b/ui/component/or-vaadin-components/src/or-vaadin-dialog.ts
@@ -17,10 +17,10 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import { Dialog } from "@vaadin/dialog";
-import { OrVaadinComponent } from "./util";
-import { customElement } from "lit/decorators.js";
-import { css, LitElement } from "lit";
+import {Dialog} from "@vaadin/dialog";
+import {OrVaadinComponent} from "./util";
+import {customElement} from "lit/decorators.js";
+import {type LitElement, css} from "lit";
/**
* Vaadin uses custom directives for rendering the dialog content.
@@ -39,7 +39,8 @@ export {
type WithLit<T> = T & typeof LitElement;
@customElement("or-vaadin-dialog")
-export class OrVaadinDialog extends Dialog implements OrVaadinComponent {
+export class OrVaadinDialog extends (Dialog as new () => Dialog & LitElement) implements OrVaadinComponent {
+
static get styles() {
return [
(Dialog as WithLit<typeof Dialog>).styles,
@@ -55,7 +56,7 @@ export class OrVaadinDialog extends Dialog implements OrVaadinComponent {
::part(content) {
padding: 0 var(--lumo-space-l);
}
- `,
+ `
];
}
diff --git a/ui/component/or-vaadin-components/src/or-vaadin-number-field.ts b/ui/component/or-vaadin-components/src/or-vaadin-number-field.ts
index 8ecd4962f..b70ea5e8a 100644
--- a/ui/component/or-vaadin-components/src/or-vaadin-number-field.ts
+++ b/ui/component/or-vaadin-components/src/or-vaadin-number-field.ts
@@ -20,7 +20,7 @@
import {customElement} from "lit/decorators.js";
import {NumberField} from "@vaadin/number-field";
import {OrVaadinComponent} from "./util";
-import {LitElement} from "lit";
+import {type LitElement} from "lit";
@customElement("or-vaadin-number-field")
export class OrVaadinNumberField extends (NumberField as new () => NumberField & LitElement) implements OrVaadinComponent {
diff --git a/ui/component/or-vaadin-components/src/or-vaadin-password-field.ts b/ui/component/or-vaadin-components/src/or-vaadin-password-field.ts
index 62f44f14f..e9a127110 100644
--- a/ui/component/or-vaadin-components/src/or-vaadin-password-field.ts
+++ b/ui/component/or-vaadin-components/src/or-vaadin-password-field.ts
@@ -20,7 +20,7 @@
import {customElement} from "lit/decorators.js";
import {PasswordField} from "@vaadin/password-field";
import {OrVaadinComponent} from "./util";
-import {LitElement} from "lit";
+import {type LitElement} from "lit";
@customElement("or-vaadin-password-field")
export class OrVaadinPasswordField extends (PasswordField as new () => PasswordField & LitElement) implements OrVaadinComponent {
diff --git a/ui/component/or-vaadin-components/src/or-vaadin-select.ts b/ui/component/or-vaadin-components/src/or-vaadin-select.ts
index 874d48828..96ff172f2 100644
--- a/ui/component/or-vaadin-components/src/or-vaadin-select.ts
+++ b/ui/component/or-vaadin-components/src/or-vaadin-select.ts
@@ -20,7 +20,9 @@
import {Select} from "@vaadin/select";
import {customElement} from "lit/decorators.js";
import {OrVaadinComponent} from "./util";
+import {type LitElement} from "lit";
@customElement("or-vaadin-select")
-export class OrVaadinSelect extends Select implements OrVaadinComponent {
+export class OrVaadinSelect extends (Select as new () => Select & LitElement) implements OrVaadinComponent {
+
}
diff --git a/ui/component/or-vaadin-components/src/or-vaadin-text-area.ts b/ui/component/or-vaadin-components/src/or-vaadin-text-area.ts
index 55d44ba11..ef387d9c3 100644
--- a/ui/component/or-vaadin-components/src/or-vaadin-text-area.ts
+++ b/ui/component/or-vaadin-components/src/or-vaadin-text-area.ts
@@ -20,7 +20,7 @@
import {customElement} from "lit/decorators.js";
import {TextArea} from "@vaadin/text-area";
import {OrVaadinComponent} from "./util";
-import {LitElement} from "lit";
+import {type LitElement} from "lit";
@customElement("or-vaadin-text-area")
export class OrVaadinTextArea extends (TextArea as new () => TextArea & LitElement) implements OrVaadinComponent {
diff --git a/ui/component/or-vaadin-components/src/or-vaadin-text-field.ts b/ui/component/or-vaadin-components/src/or-vaadin-text-field.ts
index 0e23fe514..78ded62a7 100644
--- a/ui/component/or-vaadin-components/src/or-vaadin-text-field.ts
+++ b/ui/component/or-vaadin-components/src/or-vaadin-text-field.ts
@@ -19,7 +19,7 @@
*/
import {customElement} from "lit/decorators.js";
import {TextField} from "@vaadin/text-field";
-import {LitElement} from "lit";
+import {type LitElement} from "lit";
import {OrVaadinComponent} from "./util";
@customElement("or-vaadin-text-field")
diff --git a/ui/component/or-vaadin-components/stories/or-vaadin-button.stories.ts b/ui/component/or-vaadin-components/stories/or-vaadin-button.stories.ts
new file mode 100644
index 000000000..c6d2c48db
--- /dev/null
+++ b/ui/component/or-vaadin-components/stories/or-vaadin-button.stories.ts
@@ -0,0 +1,79 @@
+/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+import {setCustomElementsManifest, type Meta, type StoryObj} from "@storybook/web-components";
+import {getORStorybookHelpers} from "../../storybook-utils";
+import customElements from "../custom-elements.json" with {type: "json"};
+import packageJson from "../package.json" with {type: "json"};
+import {html} from "lit";
+import "../src/or-vaadin-button";
+
+const tagName = "or-vaadin-button";
+type Story = StoryObj;
+setCustomElementsManifest(customElements);
+
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
+
+const meta: Meta = {
+ title: "Playground/or-vaadin-components/button",
+ component: tagName,
+ args: args,
+ argTypes: argTypes,
+ render: storyArgs => template(storyArgs),
+ excludeStories: /^[a-z].*/,
+ parameters: {
+ actions: {
+ handles: events
+ },
+ docs: {
+ subtitle: `<${tagName}>`,
+ description: "The Button component allows users to perform actions. It comes in several different style variants and supports icons as well as text labels."
+ }
+ }
+};
+
+export const Primary: Story = {
+ render: args => template(args, html`<span>Button</span>`)
+};
+
+const themeVariants = [
+ { theme: "primary" },
+ { theme: "secondary" },
+ { theme: "tertiary" }
+];
+
+export const Themes: Story = {
+ name: "Themes example",
+ parameters: {
+ title: "Using different variants / themes",
+ summary: "You can change the theme of the button using the `theme` HTML attribute:"
+ },
+ render: () => html`
+ ${template(themeVariants[0], html`<span>Primary</span>`)}
+ ${template(themeVariants[1], html`<span>Secondary</span>`)}
+ ${template(themeVariants[2], html`<span>Tertiary</span>`)}
+ `
+};
+
+export const examples = [Themes];
+
+export {customElements, packageJson};
+
+
+export default meta;
diff --git a/ui/component/or-vaadin-components/stories/or-vaadin-checkbox.stories.ts b/ui/component/or-vaadin-components/stories/or-vaadin-checkbox.stories.ts
new file mode 100644
index 000000000..f8eceab54
--- /dev/null
+++ b/ui/component/or-vaadin-components/stories/or-vaadin-checkbox.stories.ts
@@ -0,0 +1,59 @@
+/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+import {setCustomElementsManifest, type Meta, type StoryObj} from "@storybook/web-components";
+import {getORStorybookHelpers} from "../../storybook-utils";
+import customElements from "../custom-elements.json" with {type: "json"};
+import packageJson from "../package.json" with {type: "json"};
+import "../src/or-vaadin-checkbox";
+
+const tagName = "or-vaadin-checkbox";
+type Story = StoryObj;
+setCustomElementsManifest(customElements);
+
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
+
+const meta: Meta = {
+ title: "Playground/or-vaadin-components/checkbox",
+ component: tagName,
+ args: args,
+ argTypes: argTypes,
+ render: storyArgs => template(storyArgs),
+ excludeStories: /^[a-z].*/,
+ parameters: {
+ actions: {
+ handles: events
+ },
+ docs: {
+ subtitle: `<${tagName}>`,
+ description: "Checkbox is an input field representing a binary choice."
+ }
+ }
+};
+
+export const Primary: Story = {
+ args: {
+ label: "Checkbox"
+ }
+};
+
+export {customElements, packageJson};
+
+
+export default meta;
diff --git a/ui/component/or-vaadin-components/stories/or-vaadin-dialog.stories.ts b/ui/component/or-vaadin-components/stories/or-vaadin-dialog.stories.ts
index 101904262..2aab5d460 100644
--- a/ui/component/or-vaadin-components/stories/or-vaadin-dialog.stories.ts
+++ b/ui/component/or-vaadin-components/stories/or-vaadin-dialog.stories.ts
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, OpenRemote Inc.
+ * Copyright 2026, OpenRemote Inc.
*
* See the CONTRIBUTORS.txt file in the distribution for a
* full listing of individual contributors.
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../storybook-utils";
import customElements from "../custom-elements.json" with { type: "json" };
import packageJson from "../package.json" with { type: "json" };
import {html} from "lit";
@@ -33,7 +33,7 @@ const tagName = "or-vaadin-dialog";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-vaadin-components/dialog",
diff --git a/ui/component/or-vaadin-components/stories/or-vaadin-number-field.stories.ts b/ui/component/or-vaadin-components/stories/or-vaadin-number-field.stories.ts
new file mode 100644
index 000000000..8eec75bdb
--- /dev/null
+++ b/ui/component/or-vaadin-components/stories/or-vaadin-number-field.stories.ts
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
+import {getORStorybookHelpers} from "../../storybook-utils";
+import customElements from "../custom-elements.json" with { type: "json" };
+import packageJson from "../package.json" with { type: "json" };
+import "../src/or-vaadin-number-field";
+
+const tagName = "or-vaadin-number-field";
+type Story = StoryObj;
+setCustomElementsManifest(customElements);
+
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
+
+const meta: Meta = {
+ title: "Playground/or-vaadin-components/number-field",
+ component: tagName,
+ args: args,
+ argTypes: argTypes,
+ render: storyArgs => template(storyArgs),
+ excludeStories: /^[a-z].*/,
+ parameters: {
+ actions: {
+ handles: events
+ },
+ docs: {
+ subtitle: `<${tagName}>`,
+ description: "Number Field is an input field that accepts only numeric input. The input can be a decimal or an integer."
+ }
+ }
+};
+
+export const Primary: Story = {
+ args: {
+ value: 100
+ }
+};
+
+export const examples: Story[] = [];
+
+export {customElements, packageJson};
+
+export default meta;
diff --git a/ui/component/or-vaadin-components/stories/or-vaadin-text-field.stories.ts b/ui/component/or-vaadin-components/stories/or-vaadin-text-field.stories.ts
index f1f10ffd9..7191c0ba6 100644
--- a/ui/component/or-vaadin-components/stories/or-vaadin-text-field.stories.ts
+++ b/ui/component/or-vaadin-components/stories/or-vaadin-text-field.stories.ts
@@ -1,5 +1,5 @@
/*
- * Copyright 2025, OpenRemote Inc.
+ * Copyright 2026, OpenRemote Inc.
*
* See the CONTRIBUTORS.txt file in the distribution for a
* full listing of individual contributors.
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
-import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+import {getORStorybookHelpers} from "../../storybook-utils";
import customElements from "../custom-elements.json" with { type: "json" };
import packageJson from "../package.json" with { type: "json" };
import "../src/or-vaadin-text-field";
@@ -27,7 +27,7 @@ const tagName = "or-vaadin-text-field";
type Story = StoryObj;
setCustomElementsManifest(customElements);
-const { events, args, argTypes, template } = getStorybookHelpers(tagName);
+const { events, args, argTypes, template } = getORStorybookHelpers(tagName);
const meta: Meta = {
title: "Playground/or-vaadin-components/text-field",
diff --git a/ui/component/storybook-utils.js b/ui/component/storybook-utils.js
new file mode 100644
index 000000000..bc194b39d
--- /dev/null
+++ b/ui/component/storybook-utils.js
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2026, OpenRemote Inc.
+ *
+ * See the CONTRIBUTORS.txt file in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
+
+export function getORStorybookHelpers(tagName) {
+ const config = getStorybookHelpers(tagName);
+
+ // Sort arguments, so that CSS properties end up on the bottom
+ if (config.args) {
+ const entries = Object.entries(config.args);
+ config.args = Object.fromEntries([
+ ...entries.filter(([k]) => !k.startsWith("--")),
+ ...entries.filter(([k]) => k.startsWith("--"))
+ ]);
+ }
+ return config;
+}
diff --git a/ui/util/package.json b/ui/util/package.json
index 8549f5925..283b184bd 100644
--- a/ui/util/package.json
+++ b/ui/util/package.json
@@ -9,13 +9,14 @@
},
"license": "AGPL-3.0-or-later",
"dependencies": {
- "@custom-elements-manifest/analyzer": "^0.10.4",
+ "@custom-elements-manifest/analyzer": "^0.11.0",
"@rspack/cli": "~1.7.5",
"@rspack/core": "~1.7.5",
"@types/react": "^18",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
- "@wc-toolkit/jsx-types": "^1.4.2",
+ "@wc-toolkit/cem-inheritance": "~1.2.2",
+ "@wc-toolkit/jsx-types": "~1.4.3",
"@wc-toolkit/storybook-helpers": "^10.0.0",
"@webcomponents/webcomponentsjs": "^2.6.0",
"cross-env": "^7.0.3",
diff --git a/yarn.lock b/yarn.lock
index 72e5b792d..bc6da4206 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -64,11 +64,11 @@ __metadata:
languageName: node
linkType: hard
-"@custom-elements-manifest/analyzer@npm:^0.10.4":
- version: 0.10.4
- resolution: "@custom-elements-manifest/analyzer@npm:0.10.4"
+"@custom-elements-manifest/analyzer@npm:^0.11.0":
+ version: 0.11.0
+ resolution: "@custom-elements-manifest/analyzer@npm:0.11.0"
dependencies:
- "@custom-elements-manifest/find-dependencies": "npm:^0.0.5"
+ "@custom-elements-manifest/find-dependencies": "npm:^0.0.7"
"@github/catalyst": "npm:^1.6.0"
"@web/config-loader": "npm:0.1.3"
chokidar: "npm:3.5.2"
@@ -81,16 +81,17 @@ __metadata:
bin:
cem: cem.js
custom-elements-manifest: cem.js
- checksum: 10c0/a0f60cb88363057a4e672139ebbfd8167ee7feea71fc743e2c8f066d5add3ba5f2bf45b3ac579f4fe64e50add7ba01bf609dec5a6683be9a3ef785fcaa1c1577
+ checksum: 10c0/8710abf95d232ed1002f5b6170e47500f767705e9e0f31c71778f934de6dcb48a3dbe8f126e212e131615a088408f1c2b1daac505376c20a99af0eb538450c0c
languageName: node
linkType: hard
-"@custom-elements-manifest/find-dependencies@npm:^0.0.5":
- version: 0.0.5
- resolution: "@custom-elements-manifest/find-dependencies@npm:0.0.5"
+"@custom-elements-manifest/find-dependencies@npm:^0.0.7":
+ version: 0.0.7
+ resolution: "@custom-elements-manifest/find-dependencies@npm:0.0.7"
dependencies:
- es-module-lexer: "npm:^0.9.3"
- checksum: 10c0/8640e2f2412978df377c16020891371a6831bf1b5ec24515ae5828ee672c73ad8cea5a3762f47be8c07c1b1c825763068084523d59c5da4f919ed9082f6fb121
+ oxc-resolver: "npm:^11.9.0"
+ rs-module-lexer: "npm:^2.5.1"
+ checksum: 10c0/442dc5a9cdbeb891ecbfaa47903ea6655092fa1bf497e77fddb6978083e37eb1a665a462412ba30d8a6c5186daa1db989ca70fe9487d04b9cd947320c6b12540
languageName: node
linkType: hard
@@ -111,6 +112,16 @@ __metadata:
languageName: node
linkType: hard
+"@emnapi/core@npm:^1.7.1":
+ version: 1.8.1
+ resolution: "@emnapi/core@npm:1.8.1"
+ dependencies:
+ "@emnapi/wasi-threads": "npm:1.1.0"
+ tslib: "npm:^2.4.0"
+ checksum: 10c0/2c242f4b49779bac403e1cbcc98edacdb1c8ad36562408ba9a20663824669e930bc8493be46a2522d9dc946b8d96cd7073970bae914928c7671b5221c85b432e
+ languageName: node
+ linkType: hard
+
"@emnapi/runtime@npm:^1.5.0":
version: 1.5.0
resolution: "@emnapi/runtime@npm:1.5.0"
@@ -120,6 +131,15 @@ __metadata:
languageName: node
linkType: hard
+"@emnapi/runtime@npm:^1.7.1":
+ version: 1.8.1
+ resolution: "@emnapi/runtime@npm:1.8.1"
+ dependencies:
+ tslib: "npm:^2.4.0"
+ checksum: 10c0/f4929d75e37aafb24da77d2f58816761fe3f826aad2e37fa6d4421dac9060cbd5098eea1ac3c9ecc4526b89deb58153852fa432f87021dc57863f2ff726d713f
+ languageName: node
+ linkType: hard
+
"@emnapi/wasi-threads@npm:1.1.0":
version: 1.1.0
resolution: "@emnapi/wasi-threads@npm:1.1.0"
@@ -1597,6 +1617,17 @@ __metadata:
languageName: node
linkType: hard
+"@napi-rs/wasm-runtime@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "@napi-rs/wasm-runtime@npm:1.1.1"
+ dependencies:
+ "@emnapi/core": "npm:^1.7.1"
+ "@emnapi/runtime": "npm:^1.7.1"
+ "@tybys/wasm-util": "npm:^0.10.1"
+ checksum: 10c0/04d57b67e80736e41fe44674a011878db0a8ad893f4d44abb9d3608debb7c174224cba2796ed5b0c1d367368159f3ca6be45f1c59222f70e32ddc880f803d447
+ languageName: node
+ linkType: hard
+
"@nodelib/fs.scandir@npm:2.1.5":
version: 2.1.5
resolution: "@nodelib/fs.scandir@npm:2.1.5"
@@ -2201,14 +2232,14 @@ __metadata:
dependencies:
"@openremote/theme": "workspace:*"
"@rsbuild/core": "npm:~1.7.3"
- "@storybook/addon-a11y": "npm:~10.1.11"
- "@storybook/addon-docs": "npm:~10.1.11"
- "@storybook/web-components": "npm:~10.1.11"
+ "@storybook/addon-a11y": "npm:~10.2.4"
+ "@storybook/addon-docs": "npm:~10.2.4"
+ "@storybook/web-components": "npm:~10.2.4"
"@types/react": "npm:^18.3.12"
"@wc-toolkit/storybook-helpers": "npm:^10.0.0"
lit: "npm:^3.3.1"
- storybook: "npm:~10.1.11"
- storybook-web-components-rsbuild: "npm:~3.2.0"
+ storybook: "npm:~10.2.4"
+ storybook-web-components-rsbuild: "npm:~3.2.2"
typescript: "npm:5.8.3"
languageName: unknown
linkType: soft
@@ -2246,13 +2277,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "@openremote/util@workspace:ui/util"
dependencies:
- "@custom-elements-manifest/analyzer": "npm:^0.10.4"
+ "@custom-elements-manifest/analyzer": "npm:^0.11.0"
"@rspack/cli": "npm:~1.7.5"
"@rspack/core": "npm:~1.7.5"
"@types/react": "npm:^18"
"@typescript-eslint/eslint-plugin": "npm:^5.9.0"
"@typescript-eslint/parser": "npm:^5.9.0"
- "@wc-toolkit/jsx-types": "npm:^1.4.2"
+ "@wc-toolkit/cem-inheritance": "npm:~1.2.2"
+ "@wc-toolkit/jsx-types": "npm:~1.4.3"
"@wc-toolkit/storybook-helpers": "npm:^10.0.0"
"@webcomponents/webcomponentsjs": "npm:^2.6.0"
cross-env: "npm:^7.0.3"
@@ -2277,6 +2309,148 @@ __metadata:
languageName: unknown
linkType: soft
+"@oxc-resolver/binding-android-arm-eabi@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-android-arm-eabi@npm:11.17.0"
+ conditions: os=android & cpu=arm
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-android-arm64@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-android-arm64@npm:11.17.0"
+ conditions: os=android & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-darwin-arm64@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-darwin-arm64@npm:11.17.0"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-darwin-x64@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-darwin-x64@npm:11.17.0"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-freebsd-x64@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-freebsd-x64@npm:11.17.0"
+ conditions: os=freebsd & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-arm-gnueabihf@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-arm-gnueabihf@npm:11.17.0"
+ conditions: os=linux & cpu=arm
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-arm-musleabihf@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-arm-musleabihf@npm:11.17.0"
+ conditions: os=linux & cpu=arm
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-arm64-gnu@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-arm64-gnu@npm:11.17.0"
+ conditions: os=linux & cpu=arm64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-arm64-musl@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-arm64-musl@npm:11.17.0"
+ conditions: os=linux & cpu=arm64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-ppc64-gnu@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-ppc64-gnu@npm:11.17.0"
+ conditions: os=linux & cpu=ppc64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-riscv64-gnu@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-riscv64-gnu@npm:11.17.0"
+ conditions: os=linux & cpu=riscv64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-riscv64-musl@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-riscv64-musl@npm:11.17.0"
+ conditions: os=linux & cpu=riscv64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-s390x-gnu@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-s390x-gnu@npm:11.17.0"
+ conditions: os=linux & cpu=s390x & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-x64-gnu@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-x64-gnu@npm:11.17.0"
+ conditions: os=linux & cpu=x64 & libc=glibc
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-linux-x64-musl@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-linux-x64-musl@npm:11.17.0"
+ conditions: os=linux & cpu=x64 & libc=musl
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-openharmony-arm64@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-openharmony-arm64@npm:11.17.0"
+ conditions: os=openharmony & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-wasm32-wasi@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-wasm32-wasi@npm:11.17.0"
+ dependencies:
+ "@napi-rs/wasm-runtime": "npm:^1.1.1"
+ conditions: cpu=wasm32
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-win32-arm64-msvc@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-win32-arm64-msvc@npm:11.17.0"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-win32-ia32-msvc@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-win32-ia32-msvc@npm:11.17.0"
+ conditions: os=win32 & cpu=ia32
+ languageName: node
+ linkType: hard
+
+"@oxc-resolver/binding-win32-x64-msvc@npm:11.17.0":
+ version: 11.17.0
+ resolution: "@oxc-resolver/binding-win32-x64-msvc@npm:11.17.0"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@playwright/experimental-ct-core@npm:1.57.0":
version: 1.57.0
resolution: "@playwright/experimental-ct-core@npm:1.57.0"
@@ -2815,44 +2989,44 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/addon-a11y@npm:~10.1.11":
- version: 10.1.11
- resolution: "@storybook/addon-a11y@npm:10.1.11"
+"@storybook/addon-a11y@npm:~10.2.4":
+ version: 10.2.4
+ resolution: "@storybook/addon-a11y@npm:10.2.4"
dependencies:
"@storybook/global": "npm:^5.0.0"
axe-core: "npm:^4.2.0"
peerDependencies:
- storybook: ^10.1.11
- checksum: 10c0/f2d4ae2684d86745dde7490cf1b37fb09638267c8d8fa251237e9ad96329d75ecbc918fa0beaba55ca4037a6e540b172a7f1430421e077de012bd2921cc2e356
+ storybook: ^10.2.4
+ checksum: 10c0/ee913027228ff51766fa378f7e7ac7432fd281670ede331b9525c27df0c90eb0064aef3e1254b04d5b88a27b51ec3da1fda51f668a5e39374c9b8aee8da183b9
languageName: node
linkType: hard
-"@storybook/addon-docs@npm:~10.1.11":
- version: 10.1.11
- resolution: "@storybook/addon-docs@npm:10.1.11"
+"@storybook/addon-docs@npm:~10.2.4":
+ version: 10.2.4
+ resolution: "@storybook/addon-docs@npm:10.2.4"
dependencies:
"@mdx-js/react": "npm:^3.0.0"
- "@storybook/csf-plugin": "npm:10.1.11"
- "@storybook/icons": "npm:^2.0.0"
- "@storybook/react-dom-shim": "npm:10.1.11"
+ "@storybook/csf-plugin": "npm:10.2.4"
+ "@storybook/icons": "npm:^2.0.1"
+ "@storybook/react-dom-shim": "npm:10.2.4"
react: "npm:^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
react-dom: "npm:^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
ts-dedent: "npm:^2.0.0"
peerDependencies:
- storybook: ^10.1.11
- checksum: 10c0/93006f0efc4dd92d296a32960ae886820e03240c26ad18caa7cd784d132bfc96a719d5929e49ff29d621fa8086a98d0be399eb81b182d6fb7071f575623bbb8c
+ storybook: ^10.2.4
+ checksum: 10c0/8335f595817468780c0620e2a7949e96d6ceff74b975cc624701d720a7a8021f1fc5488f2330bcd617a5d7f770e3143a31f7dfc63a2f46691eaca64413b865b6
languageName: node
linkType: hard
-"@storybook/csf-plugin@npm:10.1.11":
- version: 10.1.11
- resolution: "@storybook/csf-plugin@npm:10.1.11"
+"@storybook/csf-plugin@npm:10.2.4":
+ version: 10.2.4
+ resolution: "@storybook/csf-plugin@npm:10.2.4"
dependencies:
unplugin: "npm:^2.3.5"
peerDependencies:
esbuild: "*"
rollup: "*"
- storybook: ^10.1.11
+ storybook: ^10.2.4
vite: "*"
webpack: "*"
peerDependenciesMeta:
@@ -2864,7 +3038,7 @@ __metadata:
optional: true
webpack:
optional: true
- checksum: 10c0/15c01fcb0c5f1bd5c14e02f75c2d0712ed2ea4706baa91ab18b4c257379f2b32df8420a7d49f2cd2ca068b0e99c32f68c3189d60ecb81102415c85fa3bbb02eb
+ checksum: 10c0/a9824d9f33a52b5f2fc52b70df636bca853b1b58401924cf3e5bff9bdccc714ef74672fd1d14235e65a8cf845f4c1d3a75ef9531f83ea4c56afac0a372e3fa1f
languageName: node
linkType: hard
@@ -2875,7 +3049,7 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/icons@npm:^2.0.0":
+"@storybook/icons@npm:^2.0.1":
version: 2.0.1
resolution: "@storybook/icons@npm:2.0.1"
peerDependencies:
@@ -2885,28 +3059,28 @@ __metadata:
languageName: node
linkType: hard
-"@storybook/react-dom-shim@npm:10.1.11":
- version: 10.1.11
- resolution: "@storybook/react-dom-shim@npm:10.1.11"
+"@storybook/react-dom-shim@npm:10.2.4":
+ version: 10.2.4
+ resolution: "@storybook/react-dom-shim@npm:10.2.4"
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
- storybook: ^10.1.11
- checksum: 10c0/4f9eda8ededabd5191eabe2d9e8f387812786b3fbaf7f2cd8fa27d0ef0550bb90eb8341d76f2e89ecc14abf2a1bca6add10ae34de23d18d3d81ae11f041479ef
+ storybook: ^10.2.4
+ checksum: 10c0/08c30ad95a10ac228a3f44bf54efe17d18e48597c57a980b9d12fadb3bb23b79cc5a857143c27d18b57658e0b49029267d2a501a26e2867f4eadbbd3fbdd455e
languageName: node
linkType: hard
-"@storybook/web-components@npm:^10.1.9, @storybook/web-components@npm:~10.1.11":
- version: 10.1.11
- resolution: "@storybook/web-components@npm:10.1.11"
+"@storybook/web-components@npm:^10.1.11, @storybook/web-components@npm:~10.2.4":
+ version: 10.2.4
+ resolution: "@storybook/web-components@npm:10.2.4"
dependencies:
"@storybook/global": "npm:^5.0.0"
tiny-invariant: "npm:^1.3.1"
ts-dedent: "npm:^2.0.0"
peerDependencies:
lit: ^2.0.0 || ^3.0.0
- storybook: ^10.1.11
- checksum: 10c0/bb68ef2a965b9790721dcfb6039b28a19025d9e960d7a1cc1673516fbe7eacaa33653a9d30a9b160913487b97ad29834f2fbc848e49436d70a5e983430a60332
+ storybook: ^10.2.4
+ checksum: 10c0/028c280a6bd86fbdb5c0ed65e6219e40ec1293768c40552957594ffc31c09bd45f131a0bb9929f641d4c99b5507152739f003cf21b2e5b89757b40555c6a8bb0
languageName: node
linkType: hard
@@ -4001,7 +4175,23 @@ __metadata:
languageName: node
linkType: hard
-"@wc-toolkit/jsx-types@npm:^1.4.2":
+"@wc-toolkit/cem-inheritance@npm:~1.2.2":
+ version: 1.2.2
+ resolution: "@wc-toolkit/cem-inheritance@npm:1.2.2"
+ dependencies:
+ "@wc-toolkit/jsdoc-tags": "npm:^1.1.0"
+ checksum: 10c0/3fbc66badd00a8606d21d4cdd93b49c93fe0de3a3a095182db0408426e0c2623760b41dee2c8f1694ae51355198e66bda95cf1234d8e5b3d857611851997ac3c
+ languageName: node
+ linkType: hard
+
+"@wc-toolkit/jsdoc-tags@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "@wc-toolkit/jsdoc-tags@npm:1.1.0"
+ checksum: 10c0/5cbf93bca0b7846ec348317f8db40a23db2b54d8ee14e06f136cd088eec93ada1493e40cebad2585cc8ab2ddb6544c4bac21c5ee00e2eb7d744e8ca1f2e8c776
+ languageName: node
+ linkType: hard
+
+"@wc-toolkit/jsx-types@npm:~1.4.3":
version: 1.4.3
resolution: "@wc-toolkit/jsx-types@npm:1.4.3"
checksum: 10c0/54971ff6666858e26ae7156f0d38588c6ee2a914c2085880459767186575f36bf0a8e1e0d1e781e2ed29fa43d69d5ef562f8cf625e009ecf6954e0911d3eca46
@@ -4185,6 +4375,69 @@ __metadata:
languageName: node
linkType: hard
+"@xn-sakina/rml-darwin-arm64@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-darwin-arm64@npm:2.6.0"
+ conditions: os=darwin & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@xn-sakina/rml-darwin-x64@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-darwin-x64@npm:2.6.0"
+ conditions: os=darwin & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@xn-sakina/rml-linux-arm-gnueabihf@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-linux-arm-gnueabihf@npm:2.6.0"
+ conditions: os=linux & cpu=arm
+ languageName: node
+ linkType: hard
+
+"@xn-sakina/rml-linux-arm64-gnu@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-linux-arm64-gnu@npm:2.6.0"
+ conditions: os=linux & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@xn-sakina/rml-linux-arm64-musl@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-linux-arm64-musl@npm:2.6.0"
+ conditions: os=linux & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@xn-sakina/rml-linux-x64-gnu@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-linux-x64-gnu@npm:2.6.0"
+ conditions: os=linux & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@xn-sakina/rml-linux-x64-musl@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-linux-x64-musl@npm:2.6.0"
+ conditions: os=linux & cpu=x64
+ languageName: node
+ linkType: hard
+
+"@xn-sakina/rml-win32-arm64-msvc@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-win32-arm64-msvc@npm:2.6.0"
+ conditions: os=win32 & cpu=arm64
+ languageName: node
+ linkType: hard
+
+"@xn-sakina/rml-win32-x64-msvc@npm:2.6.0":
+ version: 2.6.0
+ resolution: "@xn-sakina/rml-win32-x64-msvc@npm:2.6.0"
+ conditions: os=win32 & cpu=x64
+ languageName: node
+ linkType: hard
+
"@xtuc/ieee754@npm:^1.2.0":
version: 1.2.0
resolution: "@xtuc/ieee754@npm:1.2.0"
@@ -4979,7 +5232,7 @@ __metadata:
languageName: node
linkType: hard
-"cjs-module-lexer@npm:^2.1.1":
+"cjs-module-lexer@npm:^2.2.0":
version: 2.2.0
resolution: "cjs-module-lexer@npm:2.2.0"
checksum: 10c0/aec4ca58f87145fac221386790ecaae8b012f2e2359a45acb61d8c75ea4fa84f6ea869f17abc1a7e91a808eff0fed581209632f03540de16f72f0a28f5fd35ac
@@ -5894,13 +6147,6 @@ __metadata:
languageName: node
linkType: hard
-"es-module-lexer@npm:^0.9.3":
- version: 0.9.3
- resolution: "es-module-lexer@npm:0.9.3"
- checksum: 10c0/be77d73aee709fdc68d22b9938da81dfee3bc45e8d601629258643fe5bfdab253d6e2540035e035cfa8cf52a96366c1c19b46bcc23b4507b1d44e5907d2e7f6c
- languageName: node
- linkType: hard
-
"es-module-lexer@npm:^1.2.1":
version: 1.4.1
resolution: "es-module-lexer@npm:1.4.1"
@@ -6774,7 +7020,7 @@ __metadata:
languageName: node
linkType: hard
-"fs-extra@npm:^11.1.1, fs-extra@npm:^11.3.2":
+"fs-extra@npm:^11.1.1":
version: 11.3.2
resolution: "fs-extra@npm:11.3.2"
dependencies:
@@ -6785,6 +7031,17 @@ __metadata:
languageName: node
linkType: hard
+"fs-extra@npm:^11.3.3":
+ version: 11.3.3
+ resolution: "fs-extra@npm:11.3.3"
+ dependencies:
+ graceful-fs: "npm:^4.2.0"
+ jsonfile: "npm:^6.0.1"
+ universalify: "npm:^2.0.0"
+ checksum: 10c0/984924ff4104e3e9f351b658a864bf3b354b2c90429f57aec0acd12d92c4e6b762cbacacdffb4e745b280adce882e1f980c485d9f02c453f769ab4e7fc646ce3
+ languageName: node
+ linkType: hard
+
"fs-minipass@npm:^3.0.0":
version: 3.0.3
resolution: "fs-minipass@npm:3.0.3"
@@ -8934,6 +9191,75 @@ __metadata:
languageName: node
linkType: hard
+"oxc-resolver@npm:^11.9.0":
+ version: 11.17.0
+ resolution: "oxc-resolver@npm:11.17.0"
+ dependencies:
+ "@oxc-resolver/binding-android-arm-eabi": "npm:11.17.0"
+ "@oxc-resolver/binding-android-arm64": "npm:11.17.0"
+ "@oxc-resolver/binding-darwin-arm64": "npm:11.17.0"
+ "@oxc-resolver/binding-darwin-x64": "npm:11.17.0"
+ "@oxc-resolver/binding-freebsd-x64": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-arm-gnueabihf": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-arm-musleabihf": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-arm64-gnu": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-arm64-musl": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-ppc64-gnu": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-riscv64-gnu": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-riscv64-musl": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-s390x-gnu": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-x64-gnu": "npm:11.17.0"
+ "@oxc-resolver/binding-linux-x64-musl": "npm:11.17.0"
+ "@oxc-resolver/binding-openharmony-arm64": "npm:11.17.0"
+ "@oxc-resolver/binding-wasm32-wasi": "npm:11.17.0"
+ "@oxc-resolver/binding-win32-arm64-msvc": "npm:11.17.0"
+ "@oxc-resolver/binding-win32-ia32-msvc": "npm:11.17.0"
+ "@oxc-resolver/binding-win32-x64-msvc": "npm:11.17.0"
+ dependenciesMeta:
+ "@oxc-resolver/binding-android-arm-eabi":
+ optional: true
+ "@oxc-resolver/binding-android-arm64":
+ optional: true
+ "@oxc-resolver/binding-darwin-arm64":
+ optional: true
+ "@oxc-resolver/binding-darwin-x64":
+ optional: true
+ "@oxc-resolver/binding-freebsd-x64":
+ optional: true
+ "@oxc-resolver/binding-linux-arm-gnueabihf":
+ optional: true
+ "@oxc-resolver/binding-linux-arm-musleabihf":
+ optional: true
+ "@oxc-resolver/binding-linux-arm64-gnu":
+ optional: true
+ "@oxc-resolver/binding-linux-arm64-musl":
+ optional: true
+ "@oxc-resolver/binding-linux-ppc64-gnu":
+ optional: true
+ "@oxc-resolver/binding-linux-riscv64-gnu":
+ optional: true
+ "@oxc-resolver/binding-linux-riscv64-musl":
+ optional: true
+ "@oxc-resolver/binding-linux-s390x-gnu":
+ optional: true
+ "@oxc-resolver/binding-linux-x64-gnu":
+ optional: true
+ "@oxc-resolver/binding-linux-x64-musl":
+ optional: true
+ "@oxc-resolver/binding-openharmony-arm64":
+ optional: true
+ "@oxc-resolver/binding-wasm32-wasi":
+ optional: true
+ "@oxc-resolver/binding-win32-arm64-msvc":
+ optional: true
+ "@oxc-resolver/binding-win32-ia32-msvc":
+ optional: true
+ "@oxc-resolver/binding-win32-x64-msvc":
+ optional: true
+ checksum: 10c0/22c7a183dcc89c752dce5c4bf4b9fbd5e63f72b79286831e6b386cf30e9de3c3f5f5cc012a4441f7e584b61574c63f980530bf43b28718d5f347c505978ccf90
+ languageName: node
+ linkType: hard
+
"p-finally@npm:^1.0.0":
version: 1.0.0
resolution: "p-finally@npm:1.0.0"
@@ -9832,6 +10158,42 @@ __metadata:
languageName: node
linkType: hard
+"rs-module-lexer@npm:^2.5.1":
+ version: 2.6.0
+ resolution: "rs-module-lexer@npm:2.6.0"
+ dependencies:
+ "@xn-sakina/rml-darwin-arm64": "npm:2.6.0"
+ "@xn-sakina/rml-darwin-x64": "npm:2.6.0"
+ "@xn-sakina/rml-linux-arm-gnueabihf": "npm:2.6.0"
+ "@xn-sakina/rml-linux-arm64-gnu": "npm:2.6.0"
+ "@xn-sakina/rml-linux-arm64-musl": "npm:2.6.0"
+ "@xn-sakina/rml-linux-x64-gnu": "npm:2.6.0"
+ "@xn-sakina/rml-linux-x64-musl": "npm:2.6.0"
+ "@xn-sakina/rml-win32-arm64-msvc": "npm:2.6.0"
+ "@xn-sakina/rml-win32-x64-msvc": "npm:2.6.0"
+ dependenciesMeta:
+ "@xn-sakina/rml-darwin-arm64":
+ optional: true
+ "@xn-sakina/rml-darwin-x64":
+ optional: true
+ "@xn-sakina/rml-linux-arm-gnueabihf":
+ optional: true
+ "@xn-sakina/rml-linux-arm64-gnu":
+ optional: true
+ "@xn-sakina/rml-linux-arm64-musl":
+ optional: true
+ "@xn-sakina/rml-linux-x64-gnu":
+ optional: true
+ "@xn-sakina/rml-linux-x64-musl":
+ optional: true
+ "@xn-sakina/rml-win32-arm64-msvc":
+ optional: true
+ "@xn-sakina/rml-win32-x64-msvc":
+ optional: true
+ checksum: 10c0/a40d6d5708446ebb55974a4907cb0eac3651b79290b7676361bbc3733fb59c8dabd3d50c1de04b148509b4fddee9cb49a3eaa33994987644f3bb877bb192336c
+ languageName: node
+ linkType: hard
+
"rsbuild-plugin-html-minifier-terser@npm:^1.1.2":
version: 1.1.2
resolution: "rsbuild-plugin-html-minifier-terser@npm:1.1.2"
@@ -10009,15 +10371,6 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:^7.6.2":
- version: 7.7.2
- resolution: "semver@npm:7.7.2"
- bin:
- semver: bin/semver.js
- checksum: 10c0/aca305edfbf2383c22571cb7714f48cadc7ac95371b4b52362fb8eeffdfbc0de0669368b82b2b15978f8848f01d7114da65697e56cd8c37b0dab8c58e543f9ea
- languageName: node
- linkType: hard
-
"semver@npm:^7.7.3":
version: 7.7.3
resolution: "semver@npm:7.7.3"
@@ -10491,18 +10844,18 @@ __metadata:
languageName: node
linkType: hard
-"storybook-builder-rsbuild@npm:3.2.0":
- version: 3.2.0
- resolution: "storybook-builder-rsbuild@npm:3.2.0"
+"storybook-builder-rsbuild@npm:3.2.2":
+ version: 3.2.2
+ resolution: "storybook-builder-rsbuild@npm:3.2.2"
dependencies:
"@rsbuild/plugin-type-check": "npm:^1.3.2"
"@vitest/mocker": "npm:3.2.4"
browser-assert: "npm:^1.2.1"
case-sensitive-paths-webpack-plugin: "npm:^2.4.0"
- cjs-module-lexer: "npm:^2.1.1"
+ cjs-module-lexer: "npm:^2.2.0"
constants-browserify: "npm:^1.0.0"
es-module-lexer: "npm:^1.7.0"
- fs-extra: "npm:^11.3.2"
+ fs-extra: "npm:^11.3.3"
magic-string: "npm:^0.30.21"
path-browserify: "npm:^1.0.1"
picocolors: "npm:^1.1.1"
@@ -10525,30 +10878,30 @@ __metadata:
optional: true
typescript:
optional: true
- checksum: 10c0/87ac5730141a7bdc9932f61eddd550d69c333713bcf85efb7d679cc2411d890ae5972311b4885aa5b28fe3565a9f55aeb787f6918ae6379beee02a9fb391c305
+ checksum: 10c0/172a969b5c35c1f440c1ede9591c5cf02d084d2b450e15473c985879fa7190efe330067d9678c4839e96d02636b50ff312832a8b636dc6806b9cd4d5fb3aa191
languageName: node
linkType: hard
-"storybook-web-components-rsbuild@npm:~3.2.0":
- version: 3.2.0
- resolution: "storybook-web-components-rsbuild@npm:3.2.0"
+"storybook-web-components-rsbuild@npm:~3.2.2":
+ version: 3.2.2
+ resolution: "storybook-web-components-rsbuild@npm:3.2.2"
dependencies:
- "@storybook/web-components": "npm:^10.1.9"
- storybook-builder-rsbuild: "npm:3.2.0"
+ "@storybook/web-components": "npm:^10.1.11"
+ storybook-builder-rsbuild: "npm:3.2.2"
peerDependencies:
"@rsbuild/core": ^1.5.0
lit: ^2.0.0 || ^3.0.0
storybook: ^10.1.0
- checksum: 10c0/9a9cffa8a3ae5b66baffa5cef3e1d9847b20c4533216790712b7a85e203cc4ce5b655aa7c726ef11c9b491472742a3257246a27ecf03be091371f84f5e1a3f60
+ checksum: 10c0/e5f8d685f2d5c1ca7768b57cde4777ea58264dfa7c8d3115ba9a4f87e5dd3e4560d5fac24b3229c9d2e8275663c3dbf57060f956a5babe36e7a17e6998c6e5d5
languageName: node
linkType: hard
-"storybook@npm:~10.1.11":
- version: 10.1.11
- resolution: "storybook@npm:10.1.11"
+"storybook@npm:~10.2.4":
+ version: 10.2.4
+ resolution: "storybook@npm:10.2.4"
dependencies:
"@storybook/global": "npm:^5.0.0"
- "@storybook/icons": "npm:^2.0.0"
+ "@storybook/icons": "npm:^2.0.1"
"@testing-library/jest-dom": "npm:^6.6.3"
"@testing-library/user-event": "npm:^14.6.1"
"@vitest/expect": "npm:3.2.4"
@@ -10556,7 +10909,7 @@ __metadata:
esbuild: "npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0 || ^0.25.0 || ^0.26.0 || ^0.27.0"
open: "npm:^10.2.0"
recast: "npm:^0.23.5"
- semver: "npm:^7.6.2"
+ semver: "npm:^7.7.3"
use-sync-external-store: "npm:^1.5.0"
ws: "npm:^8.18.0"
peerDependencies:
@@ -10566,7 +10919,7 @@ __metadata:
optional: true
bin:
storybook: ./dist/bin/dispatcher.js
- checksum: 10c0/7942e76585e388b6dc12c29fe0624bd524ab61070353466af7b8dd2152e7f1dcb303727e8891677283f46e3d7d920354f617245e70eca2fd4c80a1b691e390a2
+ checksum: 10c0/e4eac7ad5c1dea5a64c5c47e6bac070af8cb75ee6d38dae97afe401f89b5d27716fc6a06cc96adc631edbc234b944a2e7bc80583e5ada8e704c4725d3087941b
languageName: node
linkType: hard