@pglevy/sailwind 0.4.0 → 0.5.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/README.md +19 -2
- package/dist/components/Button/Button.stories.d.ts +13 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Button/ButtonWidget.d.ts.map +1 -1
- package/dist/components/Button/ButtonWidget.js +67 -61
- package/dist/components/Card/Card.stories.d.ts +30 -0
- package/dist/components/Card/Card.stories.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts +22 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/components/Checkbox/CheckboxField.js +63 -60
- package/dist/components/Dialog/Dialog.stories.d.ts +10 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.stories.d.ts +10 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts.map +1 -1
- package/dist/components/Heading/Heading.stories.d.ts +29 -0
- package/dist/components/Heading/Heading.stories.d.ts.map +1 -1
- package/dist/components/MessageBanner/MessageBanner.stories.d.ts +20 -0
- package/dist/components/MessageBanner/MessageBanner.stories.d.ts.map +1 -1
- package/dist/components/Milestone/Milestone.stories.d.ts +17 -0
- package/dist/components/Milestone/Milestone.stories.d.ts.map +1 -1
- package/dist/components/Milestone/MilestoneField.d.ts.map +1 -1
- package/dist/components/Milestone/MilestoneField.js +43 -42
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +35 -34
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +13 -0
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts.map +1 -1
- package/dist/components/RadioButton/RadioButton.stories.d.ts +22 -0
- package/dist/components/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/dist/components/ReadOnlyGrid/GridColumn.d.ts +35 -0
- package/dist/components/ReadOnlyGrid/GridColumn.d.ts.map +1 -0
- package/dist/components/ReadOnlyGrid/GridColumn.js +5 -0
- package/dist/components/ReadOnlyGrid/ReadOnlyGrid.d.ts +52 -0
- package/dist/components/ReadOnlyGrid/ReadOnlyGrid.d.ts.map +1 -0
- package/dist/components/ReadOnlyGrid/ReadOnlyGrid.js +277 -0
- package/dist/components/ReadOnlyGrid/ReadOnlyGrid.stories.d.ts +65 -0
- package/dist/components/ReadOnlyGrid/ReadOnlyGrid.stories.d.ts.map +1 -0
- package/dist/components/ReadOnlyGrid/index.d.ts +5 -0
- package/dist/components/ReadOnlyGrid/index.d.ts.map +1 -0
- package/dist/components/RichText/RichText.stories.d.ts +18 -0
- package/dist/components/RichText/RichText.stories.d.ts.map +1 -1
- package/dist/components/Slider/SliderField.d.ts.map +1 -1
- package/dist/components/Slider/SliderField.js +69 -68
- package/dist/components/Stamp/Stamp.stories.d.ts +24 -0
- package/dist/components/Stamp/Stamp.stories.d.ts.map +1 -1
- package/dist/components/Stamp/StampField.js +5 -5
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.stories.d.ts +17 -0
- package/dist/components/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/components/Tag/Tag.stories.d.ts +10 -0
- package/dist/components/Tag/Tag.stories.d.ts.map +1 -1
- package/dist/components/Tag/TagField.d.ts.map +1 -1
- package/dist/components/Tag/TagField.js +1 -0
- package/dist/components/TextField/TextField.stories.d.ts +10 -0
- package/dist/components/TextField/TextField.stories.d.ts.map +1 -1
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/Toggle/ToggleField.js +20 -20
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.js +40 -36
- package/dist/test/setup.d.ts +1 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/dist/types/sail.d.ts +15 -0
- package/dist/types/sail.d.ts.map +1 -1
- package/package.json +23 -8
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import * as s from "lucide-react";
|
|
4
4
|
const q = ({
|
|
5
5
|
label: m,
|
|
6
|
-
labelPosition:
|
|
6
|
+
labelPosition: g = "ABOVE",
|
|
7
7
|
instructions: p,
|
|
8
8
|
helpTooltip: A,
|
|
9
9
|
icon: c,
|
|
@@ -12,7 +12,7 @@ const q = ({
|
|
|
12
12
|
contentColor: i = "STANDARD",
|
|
13
13
|
size: n = "MEDIUM",
|
|
14
14
|
align: u = "CENTER",
|
|
15
|
-
tooltip:
|
|
15
|
+
tooltip: D,
|
|
16
16
|
showWhen: C = !0,
|
|
17
17
|
accessibilityText: N,
|
|
18
18
|
link: o,
|
|
@@ -142,8 +142,8 @@ const q = ({
|
|
|
142
142
|
{
|
|
143
143
|
className: B,
|
|
144
144
|
style: G,
|
|
145
|
-
title:
|
|
146
|
-
role: o ? "button" :
|
|
145
|
+
title: D,
|
|
146
|
+
role: o ? "button" : "img",
|
|
147
147
|
tabIndex: o ? 0 : void 0,
|
|
148
148
|
"aria-label": N || l || `${c} stamp`,
|
|
149
149
|
children: Y()
|
|
@@ -152,7 +152,7 @@ const q = ({
|
|
|
152
152
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), o?.onClick?.());
|
|
153
153
|
}, children: T }) : T;
|
|
154
154
|
return /* @__PURE__ */ d("div", { className: _, children: [
|
|
155
|
-
!m ||
|
|
155
|
+
!m || g === "COLLAPSED" ? N ? /* @__PURE__ */ a("span", { className: "sr-only", children: m || N }) : null : /* @__PURE__ */ d("label", { className: "text-base font-medium text-gray-900 block mb-2", children: [
|
|
156
156
|
m,
|
|
157
157
|
A && /* @__PURE__ */ a(
|
|
158
158
|
"span",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"Switch.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAK3D,QAAA,MAAM,IAAI;;;;;;;CAK0B,CAAA;AAEpC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KASvB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAW9B,CAAA;AAGD,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAA"}
|
|
@@ -6,6 +6,23 @@ declare const meta: {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
size: {
|
|
11
|
+
control: "select";
|
|
12
|
+
options: string[];
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
control: "text";
|
|
16
|
+
};
|
|
17
|
+
orientation: {
|
|
18
|
+
control: "select";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
activationMode: {
|
|
22
|
+
control: "select";
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
9
26
|
};
|
|
10
27
|
export default meta;
|
|
11
28
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAQ3D,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAQ3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAWwB,CAAA;AAElC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAoBlC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE,KA8ExC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KA6DjC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KASvB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KASvB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAU5B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAU9B,CAAA"}
|
|
@@ -13,6 +13,16 @@ declare const meta: {
|
|
|
13
13
|
backgroundColor: string;
|
|
14
14
|
}[];
|
|
15
15
|
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
size: {
|
|
18
|
+
control: "select";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
marginBelow: {
|
|
22
|
+
control: "select";
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
16
26
|
};
|
|
17
27
|
export default meta;
|
|
18
28
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAeuB,CAAA;AAEjC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA;AAEhC,eAAO,MAAM,cAAc,EAAE,KAS5B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAS7B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagField.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/TagField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,cAAc,EAAqB,MAAM,kBAAkB,CAAA;AAIjH;;GAEG;AACH,KAAK,OAAO,GAAG,OAAO,CAAC,QAAQ,EAAE,OAAO,GAAG,UAAU,CAAC,CAAA;AAEtD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,oCAAoC;IACpC,IAAI,EAAE,YAAY,EAAE,CAAA;IACpB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,mCAAmC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,yCAAyC;IACzC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uBAAuB;IACvB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mCAAmC;IACnC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,mCAAmC;IACnC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,wFAAwF;IACxF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"TagField.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/TagField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,cAAc,EAAqB,MAAM,kBAAkB,CAAA;AAIjH;;GAEG;AACH,KAAK,OAAO,GAAG,OAAO,CAAC,QAAQ,EAAE,OAAO,GAAG,UAAU,CAAC,CAAA;AAEtD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,oCAAoC;IACpC,IAAI,EAAE,YAAY,EAAE,CAAA;IACpB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,mCAAmC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,yCAAyC;IACzC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uBAAuB;IACvB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mCAAmC;IACnC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,mCAAmC;IACnC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,wFAAwF;IACxF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA+I5C,CAAA"}
|
|
@@ -32,6 +32,16 @@ declare const meta: {
|
|
|
32
32
|
marginAbove?: import('../..').SAILMarginSize | undefined;
|
|
33
33
|
marginBelow?: import('../..').SAILMarginSize | undefined;
|
|
34
34
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
35
|
+
argTypes: {
|
|
36
|
+
labelPosition: {
|
|
37
|
+
control: "select";
|
|
38
|
+
options: string[];
|
|
39
|
+
};
|
|
40
|
+
align: {
|
|
41
|
+
control: "select";
|
|
42
|
+
options: string[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
35
45
|
};
|
|
36
46
|
export default meta;
|
|
37
47
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"TextField.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAI3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBwB,CAAA;AAElC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAQhC,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAOpB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAM3B,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAsBjC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"Toggle.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/Toggle.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAK3D,QAAA,MAAM,IAAI;;;;;;;CAK0B,CAAA;AAEpC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAqBrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAYtB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAY1B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAazB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAavB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAYzB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAY3B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAY5B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAA"}
|
|
@@ -8,7 +8,7 @@ const J = ({
|
|
|
8
8
|
text: d,
|
|
9
9
|
instructions: h,
|
|
10
10
|
required: c = !1,
|
|
11
|
-
disabled:
|
|
11
|
+
disabled: g = !1,
|
|
12
12
|
value: p = !1,
|
|
13
13
|
validations: u = [],
|
|
14
14
|
saveInto: S,
|
|
@@ -23,12 +23,12 @@ const J = ({
|
|
|
23
23
|
marginBelow: L = "STANDARD",
|
|
24
24
|
size: G = "STANDARD",
|
|
25
25
|
color: E = "ACCENT",
|
|
26
|
-
style:
|
|
27
|
-
icon:
|
|
26
|
+
style: s = "OUTLINE",
|
|
27
|
+
icon: o,
|
|
28
28
|
iconPosition: x = "START"
|
|
29
29
|
}) => {
|
|
30
30
|
if (!y) return null;
|
|
31
|
-
const
|
|
31
|
+
const n = `togglefield-${Math.random().toString(36).substr(2, 9)}`, U = {
|
|
32
32
|
SMALL: "px-3 py-1.5 text-sm",
|
|
33
33
|
STANDARD: "px-4 py-2.5 text-base",
|
|
34
34
|
MEDIUM: "px-6 py-3 text-lg",
|
|
@@ -37,17 +37,17 @@ const J = ({
|
|
|
37
37
|
if (E.startsWith("#"))
|
|
38
38
|
return "border-2";
|
|
39
39
|
const e = E;
|
|
40
|
-
return
|
|
40
|
+
return s === "SOLID" ? {
|
|
41
41
|
ACCENT: "border-2 border-blue-500 bg-white text-blue-500 data-[state=on]:bg-blue-500 data-[state=on]:text-white data-[state=on]:border-blue-500 hover:bg-blue-50 data-[state=on]:hover:bg-blue-700",
|
|
42
42
|
POSITIVE: "border-2 border-green-700 bg-white text-green-700 data-[state=on]:bg-green-700 data-[state=on]:text-white data-[state=on]:border-green-700 hover:bg-green-50 data-[state=on]:hover:bg-green-900",
|
|
43
43
|
NEGATIVE: "border-2 border-red-700 bg-white text-red-700 data-[state=on]:bg-red-700 data-[state=on]:text-white data-[state=on]:border-red-700 hover:bg-red-50 data-[state=on]:hover:bg-red-900",
|
|
44
44
|
SECONDARY: "border-2 border-gray-700 bg-white text-gray-700 data-[state=on]:bg-gray-700 data-[state=on]:text-white data-[state=on]:border-gray-700 hover:bg-gray-50 data-[state=on]:hover:bg-gray-900"
|
|
45
|
-
}[e] :
|
|
45
|
+
}[e] : s === "OUTLINE" ? {
|
|
46
46
|
ACCENT: "border-2 border-blue-500 text-blue-500 bg-white data-[state=on]:bg-blue-100 hover:bg-blue-50",
|
|
47
47
|
POSITIVE: "border-2 border-green-700 text-green-700 bg-white data-[state=on]:bg-green-100 hover:bg-green-50",
|
|
48
48
|
NEGATIVE: "border-2 border-red-700 text-red-700 bg-white data-[state=on]:bg-red-100 hover:bg-red-50",
|
|
49
49
|
SECONDARY: "border-2 border-gray-700 text-gray-700 bg-white data-[state=on]:bg-gray-100 hover:bg-gray-50"
|
|
50
|
-
}[e] :
|
|
50
|
+
}[e] : s === "GHOST" ? {
|
|
51
51
|
ACCENT: "border-2 border-transparent text-blue-500 bg-transparent data-[state=on]:bg-blue-100 hover:bg-blue-50",
|
|
52
52
|
POSITIVE: "border-2 border-transparent text-green-700 bg-transparent data-[state=on]:bg-green-100 hover:bg-green-50",
|
|
53
53
|
NEGATIVE: "border-2 border-transparent text-red-700 bg-transparent data-[state=on]:bg-red-100 hover:bg-red-50",
|
|
@@ -55,7 +55,7 @@ const J = ({
|
|
|
55
55
|
}[e] : "";
|
|
56
56
|
}, V = (e) => {
|
|
57
57
|
const r = v || S;
|
|
58
|
-
r && !
|
|
58
|
+
r && !g && r(e);
|
|
59
59
|
}, C = (e) => {
|
|
60
60
|
const T = ((j) => j.split("-").map((f) => f.charAt(0).toUpperCase() + f.slice(1)).join(""))(e);
|
|
61
61
|
if (T in a)
|
|
@@ -76,32 +76,32 @@ const J = ({
|
|
|
76
76
|
ARROW_DOWN: "ArrowDown"
|
|
77
77
|
}[e];
|
|
78
78
|
return i && i in a ? a[i] : a.Circle;
|
|
79
|
-
},
|
|
79
|
+
}, b = u.length > 0, W = c && !p && m, F = /* @__PURE__ */ I(
|
|
80
80
|
_.Root,
|
|
81
81
|
{
|
|
82
|
-
id:
|
|
82
|
+
id: n,
|
|
83
83
|
pressed: p,
|
|
84
84
|
onPressedChange: V,
|
|
85
|
-
disabled:
|
|
85
|
+
disabled: g,
|
|
86
86
|
className: [
|
|
87
87
|
"inline-flex items-center justify-center gap-2",
|
|
88
88
|
"font-medium transition-colors rounded-sm",
|
|
89
89
|
U[G],
|
|
90
90
|
M(),
|
|
91
|
-
|
|
91
|
+
g ? "opacity-50 cursor-not-allowed" : "cursor-pointer"
|
|
92
92
|
].filter(Boolean).join(" "),
|
|
93
|
-
"aria-label": A || d || l,
|
|
94
|
-
"aria-describedby": h ? `${
|
|
95
|
-
"aria-invalid":
|
|
96
|
-
"aria-errormessage":
|
|
93
|
+
"aria-label": A || d || l || (o ? o.replace(/-/g, " ") : void 0),
|
|
94
|
+
"aria-describedby": h ? `${n}-instructions` : void 0,
|
|
95
|
+
"aria-invalid": b,
|
|
96
|
+
"aria-errormessage": b ? `${n}-error` : void 0,
|
|
97
97
|
children: [
|
|
98
|
-
|
|
98
|
+
o && x === "START" && /* @__PURE__ */ t("span", { "aria-hidden": "true", children: N.createElement(C(o), { size: 16 }) }),
|
|
99
99
|
d && /* @__PURE__ */ t("span", { children: d }),
|
|
100
|
-
|
|
100
|
+
o && x === "END" && /* @__PURE__ */ t("span", { "aria-hidden": "true", children: N.createElement(C(o), { size: 16 }) })
|
|
101
101
|
]
|
|
102
102
|
}
|
|
103
103
|
), P = /* @__PURE__ */ I(H, { children: [
|
|
104
|
-
|
|
104
|
+
b && /* @__PURE__ */ t("div", { id: `${n}-error`, className: "mt-2", role: "alert", children: u.map((e, r) => /* @__PURE__ */ t("p", { className: "text-sm text-red-700", children: e }, r)) }),
|
|
105
105
|
W && /* @__PURE__ */ t("p", { className: "text-sm text-red-700 mt-2", role: "alert", children: m })
|
|
106
106
|
] });
|
|
107
107
|
return /* @__PURE__ */ t(
|
|
@@ -113,7 +113,7 @@ const J = ({
|
|
|
113
113
|
instructions: h,
|
|
114
114
|
helpTooltip: O,
|
|
115
115
|
accessibilityText: A,
|
|
116
|
-
inputId:
|
|
116
|
+
inputId: n,
|
|
117
117
|
marginAbove: D,
|
|
118
118
|
marginBelow: L,
|
|
119
119
|
footer: P,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAA;AAGxB,cAAc,OAAO,CAAA;AAGrB,cAAc,UAAU,CAAA;AAGxB,cAAc,QAAQ,CAAA;AAGtB,cAAc,WAAW,CAAA;AAGzB,cAAc,iBAAiB,CAAA;AAG/B,cAAc,aAAa,CAAA;AAG3B,cAAc,eAAe,CAAA;AAG7B,cAAc,YAAY,CAAA;AAG1B,cAAc,SAAS,CAAA;AAGvB,cAAc,aAAa,CAAA;AAG3B,cAAc,YAAY,CAAA;AAG1B,cAAc,eAAe,CAAA;AAG7B,cAAc,YAAY,CAAA;AAG1B,cAAc,UAAU,CAAA;AAGxB,cAAc,UAAU,CAAA;AAGxB,cAAc,UAAU,CAAA;AAGxB,cAAc,QAAQ,CAAA;AAGtB,cAAc,SAAS,CAAA;AAGvB,cAAc,UAAU,CAAA;AAGxB,cAAc,qBAAqB,CAAA;AAGnC,cAAc,gBAAgB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAA;AAGxB,cAAc,OAAO,CAAA;AAGrB,cAAc,UAAU,CAAA;AAGxB,cAAc,QAAQ,CAAA;AAGtB,cAAc,WAAW,CAAA;AAGzB,cAAc,iBAAiB,CAAA;AAG/B,cAAc,aAAa,CAAA;AAG3B,cAAc,eAAe,CAAA;AAG7B,cAAc,YAAY,CAAA;AAG1B,cAAc,SAAS,CAAA;AAGvB,cAAc,aAAa,CAAA;AAG3B,cAAc,YAAY,CAAA;AAG1B,cAAc,eAAe,CAAA;AAG7B,cAAc,YAAY,CAAA;AAG1B,cAAc,UAAU,CAAA;AAGxB,cAAc,UAAU,CAAA;AAGxB,cAAc,UAAU,CAAA;AAGxB,cAAc,QAAQ,CAAA;AAGtB,cAAc,SAAS,CAAA;AAGvB,cAAc,UAAU,CAAA;AAGxB,cAAc,qBAAqB,CAAA;AAGnC,cAAc,gBAAgB,CAAA;AAG9B,cAAc,gBAAgB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,60 +1,64 @@
|
|
|
1
|
-
import { FieldLabel as
|
|
1
|
+
import { FieldLabel as e } from "./components/shared/FieldLabel.js";
|
|
2
2
|
import { FieldWrapper as p } from "./components/shared/FieldWrapper.js";
|
|
3
|
-
import { CollapsibleSection as
|
|
3
|
+
import { CollapsibleSection as i } from "./components/shared/CollapsibleSection.js";
|
|
4
4
|
import { TagField as l } from "./components/Tag/TagField.js";
|
|
5
|
-
import { TagItem as
|
|
5
|
+
import { TagItem as f } from "./components/Tag/TagItem.js";
|
|
6
6
|
import { ButtonWidget as F } from "./components/Button/ButtonWidget.js";
|
|
7
7
|
import { ButtonArrayLayout as g } from "./components/Button/ButtonArrayLayout.js";
|
|
8
|
-
import { CardLayout as
|
|
9
|
-
import { HeadingField as
|
|
10
|
-
import { MessageBanner as
|
|
11
|
-
import { MilestoneField as
|
|
12
|
-
import { ProgressBar as
|
|
13
|
-
import { RichTextDisplayField as
|
|
14
|
-
import { TextItem as
|
|
8
|
+
import { CardLayout as u } from "./components/Card/CardLayout.js";
|
|
9
|
+
import { HeadingField as c } from "./components/Heading/HeadingField.js";
|
|
10
|
+
import { MessageBanner as B } from "./components/MessageBanner/MessageBanner.js";
|
|
11
|
+
import { MilestoneField as b } from "./components/Milestone/MilestoneField.js";
|
|
12
|
+
import { ProgressBar as D } from "./components/ProgressBar/ProgressBar.js";
|
|
13
|
+
import { RichTextDisplayField as h } from "./components/RichText/RichTextDisplayField.js";
|
|
14
|
+
import { TextItem as A } from "./components/RichText/TextItem.js";
|
|
15
15
|
import { Icon as M } from "./components/RichText/Icon.js";
|
|
16
|
-
import { StampField as
|
|
17
|
-
import { TextField as
|
|
18
|
-
import { CheckboxField as
|
|
19
|
-
import { RadioButtonField as
|
|
20
|
-
import { DropdownField as
|
|
21
|
-
import { MultipleDropdownField as
|
|
22
|
-
import { SwitchField as
|
|
16
|
+
import { StampField as G } from "./components/Stamp/StampField.js";
|
|
17
|
+
import { TextField as W } from "./components/TextField/TextField.js";
|
|
18
|
+
import { CheckboxField as v } from "./components/Checkbox/CheckboxField.js";
|
|
19
|
+
import { RadioButtonField as O } from "./components/RadioButton/RadioButtonField.js";
|
|
20
|
+
import { DropdownField as j } from "./components/Dropdown/DropdownField.js";
|
|
21
|
+
import { MultipleDropdownField as z } from "./components/Dropdown/MultipleDropdownField.js";
|
|
22
|
+
import { SwitchField as J } from "./components/Switch/SwitchField.js";
|
|
23
23
|
import { ToggleField as Q } from "./components/Toggle/ToggleField.js";
|
|
24
24
|
import { SliderField as V } from "./components/Slider/SliderField.js";
|
|
25
25
|
import { TabsField as Y } from "./components/Tabs/TabsField.js";
|
|
26
26
|
import { ImageField as _ } from "./components/Image/ImageField.js";
|
|
27
27
|
import { DialogField as oo } from "./components/Dialog/DialogField.js";
|
|
28
|
-
import { ApplicationHeader as
|
|
28
|
+
import { ApplicationHeader as eo } from "./components/ApplicationHeader/ApplicationHeader.js";
|
|
29
29
|
import { SideNavAdmin as po } from "./components/SideNavAdmin/SideNavAdmin.js";
|
|
30
|
+
import { ReadOnlyGrid as io } from "./components/ReadOnlyGrid/ReadOnlyGrid.js";
|
|
31
|
+
import { GridColumn as lo } from "./components/ReadOnlyGrid/GridColumn.js";
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
eo as ApplicationHeader,
|
|
32
34
|
g as ButtonArrayLayout,
|
|
33
35
|
F as ButtonWidget,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
u as CardLayout,
|
|
37
|
+
v as CheckboxField,
|
|
38
|
+
i as CollapsibleSection,
|
|
37
39
|
oo as DialogField,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
j as DropdownField,
|
|
41
|
+
e as FieldLabel,
|
|
40
42
|
p as FieldWrapper,
|
|
41
|
-
|
|
43
|
+
lo as GridColumn,
|
|
44
|
+
c as HeadingField,
|
|
42
45
|
M as Icon,
|
|
43
46
|
_ as ImageField,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
B as MessageBanner,
|
|
48
|
+
b as MilestoneField,
|
|
49
|
+
z as MultipleDropdownField,
|
|
50
|
+
D as ProgressBar,
|
|
51
|
+
O as RadioButtonField,
|
|
52
|
+
io as ReadOnlyGrid,
|
|
53
|
+
h as RichTextDisplayField,
|
|
50
54
|
po as SideNavAdmin,
|
|
51
55
|
V as SliderField,
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
G as StampField,
|
|
57
|
+
J as SwitchField,
|
|
54
58
|
Y as TabsField,
|
|
55
59
|
l as TagField,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
f as TagItem,
|
|
61
|
+
W as TextField,
|
|
62
|
+
A as TextItem,
|
|
59
63
|
Q as ToggleField
|
|
60
64
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/test/setup.ts"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAA"}
|
package/dist/types/sail.d.ts
CHANGED
|
@@ -34,4 +34,19 @@ export type SAILLabelPosition = "ABOVE" | "ADJACENT" | "COLLAPSED" | "JUSTIFIED"
|
|
|
34
34
|
* Semantic color values matching SAIL's color constants
|
|
35
35
|
*/
|
|
36
36
|
export type SAILSemanticColor = "ACCENT" | "POSITIVE" | "NEGATIVE" | "SECONDARY" | "STANDARD";
|
|
37
|
+
/**
|
|
38
|
+
* Sort configuration for grid columns
|
|
39
|
+
*/
|
|
40
|
+
export interface SortInfo {
|
|
41
|
+
field: string;
|
|
42
|
+
ascending: boolean;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Grid height values matching SAIL's height parameter for grids
|
|
46
|
+
*/
|
|
47
|
+
export type SAILGridHeight = "SHORT" | "SHORT_PLUS" | "MEDIUM" | "MEDIUM_PLUS" | "TALL" | "TALL_PLUS" | "EXTRA_TALL" | "AUTO";
|
|
48
|
+
/**
|
|
49
|
+
* Grid column width values matching SAIL's width parameter for grid columns
|
|
50
|
+
*/
|
|
51
|
+
export type SAILGridColumnWidth = "AUTO" | "ICON" | "ICON_PLUS" | "NARROW" | "NARROW_PLUS" | "MEDIUM" | "MEDIUM_PLUS" | "WIDE" | "1X" | "2X" | "3X" | "4X" | "5X" | "6X" | "7X" | "8X" | "9X" | "10X";
|
|
37
52
|
//# sourceMappingURL=sail.d.ts.map
|
package/dist/types/sail.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sail.d.ts","sourceRoot":"","sources":["../../src/types/sail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,CAAA;AAE3F;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,CAAA;AAE9F;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,aAAa,CAAA;AAEtF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;AAElD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAA;AAEhF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"sail.d.ts","sourceRoot":"","sources":["../../src/types/sail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,CAAA;AAE3F;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,CAAA;AAE9F;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,aAAa,GAAG,YAAY,GAAG,aAAa,CAAA;AAEtF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;AAElD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAA;AAEhF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAA;AAE7F;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,OAAO,GAAG,YAAY,GACtB,QAAQ,GAAG,aAAa,GACxB,MAAM,GAAG,WAAW,GACpB,YAAY,GAAG,MAAM,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC3B,MAAM,GAAG,MAAM,GAAG,WAAW,GAC7B,QAAQ,GAAG,aAAa,GACxB,QAAQ,GAAG,aAAa,GACxB,MAAM,GACN,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAChC,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pglevy/sailwind",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Appian SAIL components for React - Pre-release version under active development",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -53,7 +53,11 @@
|
|
|
53
53
|
"version:patch": "npm version patch",
|
|
54
54
|
"version:minor": "npm version minor",
|
|
55
55
|
"version:major": "npm version major",
|
|
56
|
-
"release": "npm run build:lib && npm publish --access public"
|
|
56
|
+
"release": "npm run build:lib && npm publish --access public",
|
|
57
|
+
"test": "vitest --run",
|
|
58
|
+
"test-storybook": "vitest --run --project=storybook",
|
|
59
|
+
"test:unit": "vitest --run --project=unit",
|
|
60
|
+
"a11y-audit": "node scripts/a11y-audit.cjs"
|
|
57
61
|
},
|
|
58
62
|
"peerDependencies": {
|
|
59
63
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -71,28 +75,39 @@
|
|
|
71
75
|
},
|
|
72
76
|
"devDependencies": {
|
|
73
77
|
"@eslint/js": "^9.36.0",
|
|
74
|
-
"@storybook/addon-a11y": "^10.2.
|
|
75
|
-
"@storybook/addon-docs": "^10.2.
|
|
76
|
-
"@storybook/addon-themes": "^10.2.
|
|
77
|
-
"@storybook/
|
|
78
|
+
"@storybook/addon-a11y": "^10.2.19",
|
|
79
|
+
"@storybook/addon-docs": "^10.2.19",
|
|
80
|
+
"@storybook/addon-themes": "^10.2.19",
|
|
81
|
+
"@storybook/addon-vitest": "^10.2.19",
|
|
82
|
+
"@storybook/react-vite": "^10.2.19",
|
|
78
83
|
"@tailwindcss/postcss": "^4.1.14",
|
|
84
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
85
|
+
"@testing-library/react": "^16.3.2",
|
|
86
|
+
"@testing-library/user-event": "^14.6.1",
|
|
79
87
|
"@types/react": "^19.1.13",
|
|
80
88
|
"@types/react-dom": "^19.1.9",
|
|
81
89
|
"@vitejs/plugin-react": "^5.0.3",
|
|
90
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
91
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
82
92
|
"autoprefixer": "^10.4.21",
|
|
93
|
+
"baseline-browser-mapping": "^2.10.8",
|
|
83
94
|
"eslint": "^9.36.0",
|
|
84
95
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
85
96
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
97
|
+
"fast-check": "^4.5.3",
|
|
86
98
|
"globals": "^16.4.0",
|
|
99
|
+
"jsdom": "^28.1.0",
|
|
87
100
|
"playwright": "^1.56.1",
|
|
88
101
|
"postcss": "^8.5.6",
|
|
89
102
|
"react": "^19.1.1",
|
|
90
103
|
"react-dom": "^19.1.1",
|
|
91
|
-
"storybook": "^10.2.
|
|
104
|
+
"storybook": "^10.2.19",
|
|
92
105
|
"tailwindcss": "^4.1.14",
|
|
93
106
|
"typescript": "~5.8.3",
|
|
94
107
|
"typescript-eslint": "^8.44.0",
|
|
95
108
|
"vite": "^7.1.7",
|
|
96
|
-
"vite-plugin-dts": "^4.5.4"
|
|
109
|
+
"vite-plugin-dts": "^4.5.4",
|
|
110
|
+
"vitest": "^4.0.18",
|
|
111
|
+
"eslint-plugin-storybook": "10.2.19"
|
|
97
112
|
}
|
|
98
113
|
}
|