@elabs-ai/components-ui 5.3.0 → 5.3.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elabs-ai/components-ui",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"react": "^18.2.0 || ^19.0.0",
|
|
82
82
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
83
83
|
"react-hook-form": "^7.54.2",
|
|
84
|
-
"@elabs-ai/components-tokens": "^5.3.
|
|
84
|
+
"@elabs-ai/components-tokens": "^5.3.1"
|
|
85
85
|
},
|
|
86
86
|
"peerDependenciesMeta": {
|
|
87
87
|
"@hookform/resolvers": {
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"vitest": "^3.0.2",
|
|
114
114
|
"zod": "^3.24.1",
|
|
115
115
|
"@elabs-ai/components-eslint-config": "0.1.0",
|
|
116
|
-
"@elabs-ai/components-tokens": "5.3.
|
|
116
|
+
"@elabs-ai/components-tokens": "5.3.1",
|
|
117
117
|
"@elabs-ai/components-typescript-config": "0.1.0"
|
|
118
118
|
},
|
|
119
119
|
"scripts": {
|
|
@@ -38,7 +38,15 @@ import { Input } from "./components/input";
|
|
|
38
38
|
const meta = {
|
|
39
39
|
title: "Foundations/Decoration",
|
|
40
40
|
tags: ["autodocs"],
|
|
41
|
-
parameters: {
|
|
41
|
+
parameters: {
|
|
42
|
+
layout: "padded",
|
|
43
|
+
docs: {
|
|
44
|
+
description: {
|
|
45
|
+
component:
|
|
46
|
+
"The decoration dial: one 0–10 setting that adds or removes background texture and chart-fill expressiveness across a whole subtree, without touching controls.",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
42
50
|
} satisfies Meta;
|
|
43
51
|
export default meta;
|
|
44
52
|
|
|
@@ -35,6 +35,14 @@ const meta = {
|
|
|
35
35
|
title: "States/Illustrations",
|
|
36
36
|
component: Demo,
|
|
37
37
|
tags: ["autodocs"],
|
|
38
|
+
parameters: {
|
|
39
|
+
docs: {
|
|
40
|
+
description: {
|
|
41
|
+
component:
|
|
42
|
+
"The illustration set behind the empty, error and loading states: token-coloured, legible at small sizes and matched to both themes.",
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
38
46
|
argTypes: {
|
|
39
47
|
size: {
|
|
40
48
|
control: "text",
|
package/src/motion.stories.tsx
CHANGED
|
@@ -138,7 +138,15 @@ function MotionDemo() {
|
|
|
138
138
|
const meta = {
|
|
139
139
|
title: "Foundations/Motion",
|
|
140
140
|
tags: ["autodocs"],
|
|
141
|
-
parameters: {
|
|
141
|
+
parameters: {
|
|
142
|
+
layout: "centered",
|
|
143
|
+
docs: {
|
|
144
|
+
description: {
|
|
145
|
+
component:
|
|
146
|
+
"The motion system: duration and easing tokens that every transition uses, scaled by the person's motion preference down to none.",
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
142
150
|
} satisfies Meta;
|
|
143
151
|
|
|
144
152
|
export default meta;
|