@openremote/or-vaadin-components 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +30 -0
  2. package/custom-elements-jsx.d.ts +324 -0
  3. package/custom-elements.json +772 -0
  4. package/lib/or-vaadin-checkbox.d.ts +5 -0
  5. package/lib/or-vaadin-checkbox.d.ts.map +1 -0
  6. package/lib/or-vaadin-checkbox.js +34 -0
  7. package/lib/or-vaadin-checkbox.js.map +1 -0
  8. package/lib/or-vaadin-dialog.d.ts +6 -0
  9. package/lib/or-vaadin-dialog.d.ts.map +1 -0
  10. package/lib/or-vaadin-dialog.js +35 -0
  11. package/lib/or-vaadin-dialog.js.map +1 -0
  12. package/lib/or-vaadin-input.d.ts +103 -0
  13. package/lib/or-vaadin-input.d.ts.map +1 -0
  14. package/lib/or-vaadin-input.js +264 -0
  15. package/lib/or-vaadin-input.js.map +1 -0
  16. package/lib/or-vaadin-numberfield.d.ts +9 -0
  17. package/lib/or-vaadin-numberfield.d.ts.map +1 -0
  18. package/lib/or-vaadin-numberfield.js +38 -0
  19. package/lib/or-vaadin-numberfield.js.map +1 -0
  20. package/lib/or-vaadin-passwordfield.d.ts +9 -0
  21. package/lib/or-vaadin-passwordfield.d.ts.map +1 -0
  22. package/lib/or-vaadin-passwordfield.js +38 -0
  23. package/lib/or-vaadin-passwordfield.js.map +1 -0
  24. package/lib/or-vaadin-select.d.ts +5 -0
  25. package/lib/or-vaadin-select.d.ts.map +1 -0
  26. package/lib/or-vaadin-select.js +34 -0
  27. package/lib/or-vaadin-select.js.map +1 -0
  28. package/lib/or-vaadin-textarea.d.ts +9 -0
  29. package/lib/or-vaadin-textarea.d.ts.map +1 -0
  30. package/lib/or-vaadin-textarea.js +38 -0
  31. package/lib/or-vaadin-textarea.js.map +1 -0
  32. package/lib/or-vaadin-textfield.d.ts +9 -0
  33. package/lib/or-vaadin-textfield.d.ts.map +1 -0
  34. package/lib/or-vaadin-textfield.js +38 -0
  35. package/lib/or-vaadin-textfield.js.map +1 -0
  36. package/lib/util.d.ts +68 -0
  37. package/lib/util.d.ts.map +1 -0
  38. package/lib/util.js +372 -0
  39. package/lib/util.js.map +1 -0
  40. package/package.json +48 -0
  41. package/stories/or-vaadin-textfield.stories.ts +61 -0
@@ -0,0 +1,61 @@
1
+ /*
2
+ * Copyright 2025, OpenRemote Inc.
3
+ *
4
+ * See the CONTRIBUTORS.txt file in the distribution for a
5
+ * full listing of individual contributors.
6
+ *
7
+ * This program is free software: you can redistribute it and/or modify
8
+ * it under the terms of the GNU Affero General Public License as
9
+ * published by the Free Software Foundation, either version 3 of the
10
+ * License, or (at your option) any later version.
11
+ *
12
+ * This program is distributed in the hope that it will be useful,
13
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ * GNU Affero General Public License for more details.
16
+ *
17
+ * You should have received a copy of the GNU Affero General Public License
18
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+ */
20
+ import {setCustomElementsManifest, type Meta, type StoryObj } from "@storybook/web-components";
21
+ import {getStorybookHelpers} from "@wc-toolkit/storybook-helpers";
22
+ import customElements from "../custom-elements.json" with { type: "json" };
23
+ import packageJson from "../package.json" with { type: "json" };
24
+ import "../src/or-vaadin-textfield";
25
+
26
+ const tagName = "or-vaadin-textfield";
27
+ type Story = StoryObj;
28
+ setCustomElementsManifest(customElements);
29
+
30
+ const { events, args, argTypes, template } = getStorybookHelpers(tagName);
31
+
32
+ const meta: Meta = {
33
+ title: "Playground/or-vaadin-components/textfield",
34
+ component: tagName,
35
+ args: args,
36
+ argTypes: argTypes,
37
+ render: storyArgs => template(storyArgs),
38
+ excludeStories: /^[a-z].*/,
39
+ parameters: {
40
+ actions: {
41
+ handles: events
42
+ },
43
+ docs: {
44
+ subtitle: `<${tagName}>`,
45
+ description: "Text Field allows users to enter text. Prefix and suffix components, such as icons, are also supported."
46
+ }
47
+ }
48
+ };
49
+
50
+ export const Primary: Story = {
51
+ args: {
52
+ label: "Organization",
53
+ value: "OpenRemote"
54
+ }
55
+ };
56
+
57
+ export const examples: Story[] = [];
58
+
59
+ export {customElements, packageJson};
60
+
61
+ export default meta;