@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
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Sailwind
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@pglevy/sailwind)
|
|
4
|
+
|
|
5
|
+
A React component library for vibe coding that speaks Appian SAIL
|
|
4
6
|
|
|
5
7
|
## Overview
|
|
6
8
|
|
|
@@ -20,6 +22,20 @@ Browse the **[Component Reference](https://pglevy.github.io/sailwind/)** to see
|
|
|
20
22
|
npm install @pglevy/sailwind
|
|
21
23
|
```
|
|
22
24
|
|
|
25
|
+
### Peer Dependencies
|
|
26
|
+
|
|
27
|
+
Sailwind requires React 18 or 19 as a peer dependency:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install react react-dom
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Supported versions:
|
|
34
|
+
- `react` — `^18.0.0 || ^19.0.0`
|
|
35
|
+
- `react-dom` — `^18.0.0 || ^19.0.0`
|
|
36
|
+
|
|
37
|
+
These are listed as `peerDependencies` in the package, so your project needs to provide them.
|
|
38
|
+
|
|
23
39
|
### Setup
|
|
24
40
|
|
|
25
41
|
Import the CSS in your main entry file (e.g., `main.tsx` or `App.tsx`):
|
|
@@ -122,7 +138,8 @@ a!tagField(
|
|
|
122
138
|
|
|
123
139
|
- **[Component Reference](https://pglevy.github.io/sailwind/)** — Live Storybook with all components
|
|
124
140
|
- **[TAILWIND-SAIL-MAPPING.md](TAILWIND-SAIL-MAPPING.md)** — Tailwind to SAIL style mappings
|
|
125
|
-
- **[
|
|
141
|
+
- **[CONTRIBUTING.md](CONTRIBUTING.md)** — How to contribute to the project
|
|
142
|
+
- **[AGENTS.md](AGENTS.md)** — Guidance for AI agents working with the library
|
|
126
143
|
- **[SAIL Docs](https://docs.appian.com/suite/help/25.3/)** — Official Appian SAIL reference
|
|
127
144
|
|
|
128
145
|
## License
|
|
@@ -6,6 +6,19 @@ declare const meta: {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
style: {
|
|
11
|
+
control: "select";
|
|
12
|
+
options: string[];
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
control: "text";
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
control: "select";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
9
22
|
};
|
|
10
23
|
export default meta;
|
|
11
24
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAK3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;CAU2B,CAAA;AAErC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAerB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAYjC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAYnC,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAW1B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAU5B,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAU9B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KASzB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonWidget.d.ts","sourceRoot":"","sources":["../../../src/components/Button/ButtonW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
|
-
const
|
|
6
|
-
label:
|
|
7
|
-
style:
|
|
8
|
-
color:
|
|
9
|
-
size:
|
|
10
|
-
width:
|
|
11
|
-
disabled:
|
|
12
|
-
submit:
|
|
13
|
-
showWhen:
|
|
14
|
-
icon:
|
|
15
|
-
iconPosition:
|
|
16
|
-
accessibilityText:
|
|
17
|
-
tooltip:
|
|
18
|
-
loadingIndicator:
|
|
19
|
-
saveInto:
|
|
20
|
-
onClick:
|
|
21
|
-
value:
|
|
22
|
-
className:
|
|
3
|
+
import * as W from "lucide-react";
|
|
4
|
+
import { mergeClasses as Y } from "../../utils/classNames.js";
|
|
5
|
+
const K = ({
|
|
6
|
+
label: i,
|
|
7
|
+
style: t = "OUTLINE",
|
|
8
|
+
color: e = "ACCENT",
|
|
9
|
+
size: u = "STANDARD",
|
|
10
|
+
width: A,
|
|
11
|
+
disabled: l = !1,
|
|
12
|
+
submit: x = !1,
|
|
13
|
+
showWhen: E = !0,
|
|
14
|
+
icon: s,
|
|
15
|
+
iconPosition: p = "START",
|
|
16
|
+
accessibilityText: N,
|
|
17
|
+
tooltip: f,
|
|
18
|
+
loadingIndicator: n = !1,
|
|
19
|
+
saveInto: T,
|
|
20
|
+
onClick: S,
|
|
21
|
+
value: I,
|
|
22
|
+
className: m
|
|
23
23
|
}) => {
|
|
24
|
-
if (!
|
|
25
|
-
const
|
|
24
|
+
if (!E) return null;
|
|
25
|
+
const v = {
|
|
26
26
|
SMALL: "px-3 py-2 text-sm",
|
|
27
27
|
// 12px horizontal, 8px vertical
|
|
28
28
|
STANDARD: "px-4 py-2 text-base",
|
|
@@ -31,80 +31,86 @@ const j = ({
|
|
|
31
31
|
// 24px horizontal, 12px vertical
|
|
32
32
|
LARGE: "px-10 py-4 text-xl"
|
|
33
33
|
// 40px horizontal, 16px vertical
|
|
34
|
-
},
|
|
35
|
-
|
|
34
|
+
}, D = A === "FILL" ? "w-full" : "w-auto", y = (r) => {
|
|
35
|
+
const o = parseInt(r.slice(1, 3), 16), h = parseInt(r.slice(3, 5), 16), b = parseInt(r.slice(5, 7), 16), d = ($) => {
|
|
36
|
+
const g = $ / 255;
|
|
37
|
+
return g <= 0.04045 ? g / 12.92 : Math.pow((g + 0.055) / 1.055, 2.4);
|
|
38
|
+
}, C = 0.2126 * d(o) + 0.7152 * d(h) + 0.0722 * d(b), V = (1 + 0.05) / (C + 0.05), U = (C + 0.05) / (0 + 0.05);
|
|
39
|
+
return V >= U ? "#ffffff" : "#000000";
|
|
40
|
+
}, L = () => {
|
|
41
|
+
if (!e.startsWith("#")) return;
|
|
36
42
|
const r = {};
|
|
37
|
-
return
|
|
38
|
-
},
|
|
39
|
-
if (
|
|
43
|
+
return t === "SOLID" ? (r.backgroundColor = e, r.borderColor = "transparent", r.color = y(e)) : t === "OUTLINE" ? (r.borderColor = e, r.color = e, r.backgroundColor = "#ffffff") : (t === "GHOST" || t === "LINK") && (r.color = e, r.borderColor = "transparent"), Object.keys(r).length > 0 ? r : void 0;
|
|
44
|
+
}, O = () => {
|
|
45
|
+
if (e.startsWith("#"))
|
|
40
46
|
return "border";
|
|
41
|
-
const r =
|
|
42
|
-
return
|
|
47
|
+
const r = e;
|
|
48
|
+
return t === "SOLID" ? {
|
|
43
49
|
ACCENT: "border border-transparent bg-blue-500 text-white hover:bg-blue-700",
|
|
44
50
|
POSITIVE: "border border-transparent bg-green-700 text-white hover:bg-green-900",
|
|
45
51
|
NEGATIVE: "border border-transparent bg-red-700 text-white hover:bg-red-900",
|
|
46
52
|
SECONDARY: "border border-transparent bg-gray-700 text-white hover:bg-gray-900",
|
|
47
53
|
STANDARD: "border border-transparent bg-gray-900 text-white hover:bg-gray-700"
|
|
48
|
-
}[r] :
|
|
54
|
+
}[r] : t === "OUTLINE" ? {
|
|
49
55
|
ACCENT: "border border-blue-500 text-blue-500 bg-white hover:bg-blue-100",
|
|
50
56
|
POSITIVE: "border border-green-700 text-green-700 bg-white hover:bg-green-100",
|
|
51
57
|
NEGATIVE: "border border-red-700 text-red-700 bg-white hover:bg-red-100",
|
|
52
58
|
SECONDARY: "border border-gray-700 text-gray-700 bg-white hover:bg-gray-100",
|
|
53
59
|
STANDARD: "border border-gray-900 text-gray-900 bg-white hover:bg-gray-100"
|
|
54
|
-
}[r] :
|
|
60
|
+
}[r] : t === "GHOST" ? {
|
|
55
61
|
ACCENT: "border border-transparent text-blue-500 hover:bg-blue-100",
|
|
56
62
|
POSITIVE: "border border-transparent text-green-700 hover:bg-green-100",
|
|
57
63
|
NEGATIVE: "border border-transparent text-red-700 hover:bg-red-100",
|
|
58
64
|
SECONDARY: "border border-transparent text-gray-700 hover:bg-gray-100",
|
|
59
65
|
STANDARD: "border border-transparent text-gray-900 hover:bg-gray-100"
|
|
60
|
-
}[r] :
|
|
66
|
+
}[r] : t === "LINK" ? {
|
|
61
67
|
ACCENT: "border border-transparent text-blue-500 hover:underline",
|
|
62
68
|
POSITIVE: "border border-transparent text-green-700 hover:underline",
|
|
63
69
|
NEGATIVE: "border border-transparent text-red-700 hover:underline",
|
|
64
70
|
SECONDARY: "border border-transparent text-gray-700 hover:underline",
|
|
65
71
|
STANDARD: "border border-transparent text-gray-900 hover:underline"
|
|
66
72
|
}[r] : "";
|
|
67
|
-
},
|
|
73
|
+
}, w = () => "", R = `
|
|
68
74
|
inline-flex items-center justify-center gap-1
|
|
69
75
|
font-medium transition-colors h-auto rounded-sm
|
|
70
76
|
focus:outline-none focus:ring-2 focus:ring-sky-500 focus:ring-offset-2
|
|
71
|
-
${
|
|
72
|
-
${
|
|
73
|
-
${
|
|
74
|
-
${
|
|
75
|
-
${
|
|
76
|
-
`.replace(/\s+/g, " ").trim(),
|
|
77
|
-
const r =
|
|
78
|
-
r && !
|
|
79
|
-
},
|
|
80
|
-
if (!
|
|
81
|
-
const r =
|
|
82
|
-
return
|
|
77
|
+
${v[u]}
|
|
78
|
+
${D}
|
|
79
|
+
${w()}
|
|
80
|
+
${O()}
|
|
81
|
+
${l || n ? "opacity-50 cursor-not-allowed" : "cursor-pointer"}
|
|
82
|
+
`.replace(/\s+/g, " ").trim(), M = Y(R, m), k = () => {
|
|
83
|
+
const r = S || T;
|
|
84
|
+
r && !l && !n && r(I);
|
|
85
|
+
}, a = (() => {
|
|
86
|
+
if (!s) return null;
|
|
87
|
+
const r = s.split("-").map((b) => b.charAt(0).toUpperCase() + b.slice(1)).join(""), o = W[r];
|
|
88
|
+
return o ? /* @__PURE__ */ c(o, { size: {
|
|
83
89
|
SMALL: 14,
|
|
84
90
|
STANDARD: 16,
|
|
85
91
|
MEDIUM: 18,
|
|
86
92
|
LARGE: 20
|
|
87
|
-
}[
|
|
88
|
-
})(),
|
|
89
|
-
return /* @__PURE__ */
|
|
93
|
+
}[u], "aria-hidden": "true" }) : (console.warn(`Icon "${s}" not found in Lucide icons`), null);
|
|
94
|
+
})(), G = L();
|
|
95
|
+
return /* @__PURE__ */ j(
|
|
90
96
|
"button",
|
|
91
97
|
{
|
|
92
|
-
type:
|
|
93
|
-
onClick:
|
|
94
|
-
disabled:
|
|
95
|
-
className:
|
|
96
|
-
style:
|
|
97
|
-
"aria-label":
|
|
98
|
-
title:
|
|
98
|
+
type: x ? "submit" : "button",
|
|
99
|
+
onClick: k,
|
|
100
|
+
disabled: l || n,
|
|
101
|
+
className: M,
|
|
102
|
+
style: G,
|
|
103
|
+
"aria-label": N || i || f || (s ? s.replace(/-/g, " ") : void 0),
|
|
104
|
+
title: f,
|
|
99
105
|
children: [
|
|
100
|
-
|
|
101
|
-
!
|
|
102
|
-
|
|
103
|
-
!
|
|
106
|
+
n && /* @__PURE__ */ c("span", { className: "animate-spin", "aria-label": "loading", children: "⟳" }),
|
|
107
|
+
!n && a && p === "START" && a,
|
|
108
|
+
i && /* @__PURE__ */ c("span", { children: i }),
|
|
109
|
+
!n && a && p === "END" && a
|
|
104
110
|
]
|
|
105
111
|
}
|
|
106
112
|
);
|
|
107
113
|
};
|
|
108
114
|
export {
|
|
109
|
-
|
|
115
|
+
K as ButtonWidget
|
|
110
116
|
};
|
|
@@ -6,6 +6,36 @@ declare const meta: {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
shape: {
|
|
11
|
+
control: "select";
|
|
12
|
+
options: string[];
|
|
13
|
+
};
|
|
14
|
+
padding: {
|
|
15
|
+
control: "select";
|
|
16
|
+
options: string[];
|
|
17
|
+
};
|
|
18
|
+
style: {
|
|
19
|
+
control: "select";
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
decorativeBarPosition: {
|
|
23
|
+
control: "select";
|
|
24
|
+
options: string[];
|
|
25
|
+
};
|
|
26
|
+
decorativeBarColor: {
|
|
27
|
+
control: "select";
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
marginAbove: {
|
|
31
|
+
control: "select";
|
|
32
|
+
options: string[];
|
|
33
|
+
};
|
|
34
|
+
marginBelow: {
|
|
35
|
+
control: "select";
|
|
36
|
+
options: string[];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
9
39
|
};
|
|
10
40
|
export default meta;
|
|
11
41
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"Card.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcyB,CAAA;AAEnC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAarB,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAe9B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAehC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAqBjC,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAkBpB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAc7B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAwBxB,CAAA"}
|
|
@@ -6,6 +6,28 @@ declare const meta: {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
labelPosition: {
|
|
11
|
+
control: "select";
|
|
12
|
+
options: string[];
|
|
13
|
+
};
|
|
14
|
+
choiceLayout: {
|
|
15
|
+
control: "select";
|
|
16
|
+
options: string[];
|
|
17
|
+
};
|
|
18
|
+
choiceStyle: {
|
|
19
|
+
control: "select";
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
choicePosition: {
|
|
23
|
+
control: "select";
|
|
24
|
+
options: string[];
|
|
25
|
+
};
|
|
26
|
+
spacing: {
|
|
27
|
+
control: "select";
|
|
28
|
+
options: string[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
9
31
|
};
|
|
10
32
|
export default meta;
|
|
11
33
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAK3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAqBrB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAmBxB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAWvC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAQ/B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAkB/B,CAAA"}
|
|
@@ -1,79 +1,82 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
1
|
+
import { jsx as r, jsxs as x, Fragment as P } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { FieldWrapper as
|
|
4
|
-
const
|
|
3
|
+
import { FieldWrapper as H } from "../shared/FieldWrapper.js";
|
|
4
|
+
const X = ({
|
|
5
5
|
label: C,
|
|
6
|
-
instructions:
|
|
7
|
-
required:
|
|
8
|
-
disabled:
|
|
9
|
-
choiceLabels:
|
|
10
|
-
choiceValues:
|
|
6
|
+
instructions: m,
|
|
7
|
+
required: g = !1,
|
|
8
|
+
disabled: n = !1,
|
|
9
|
+
choiceLabels: R,
|
|
10
|
+
choiceValues: b,
|
|
11
11
|
value: i = [],
|
|
12
12
|
validations: u = [],
|
|
13
|
-
saveInto:
|
|
14
|
-
onChange:
|
|
15
|
-
validationGroup:
|
|
16
|
-
requiredMessage:
|
|
17
|
-
align:
|
|
18
|
-
labelPosition:
|
|
19
|
-
helpTooltip:
|
|
13
|
+
saveInto: T,
|
|
14
|
+
onChange: S,
|
|
15
|
+
validationGroup: L,
|
|
16
|
+
requiredMessage: h,
|
|
17
|
+
align: A,
|
|
18
|
+
labelPosition: j = "ABOVE",
|
|
19
|
+
helpTooltip: k,
|
|
20
20
|
choiceLayout: c = "STACKED",
|
|
21
|
-
accessibilityText:
|
|
22
|
-
showWhen:
|
|
23
|
-
choiceStyle:
|
|
24
|
-
spacing:
|
|
21
|
+
accessibilityText: w,
|
|
22
|
+
showWhen: M = !0,
|
|
23
|
+
choiceStyle: a = "STANDARD",
|
|
24
|
+
spacing: D = "STANDARD",
|
|
25
25
|
data: U,
|
|
26
26
|
sort: W,
|
|
27
27
|
marginAbove: v = "NONE",
|
|
28
|
-
marginBelow:
|
|
28
|
+
marginBelow: B = "STANDARD",
|
|
29
29
|
choicePosition: O
|
|
30
30
|
}) => {
|
|
31
|
-
if (!
|
|
32
|
-
const s = `checkboxfield-${Math.random().toString(36).substr(2, 9)}`, $ = O ?? (
|
|
31
|
+
if (!M) return null;
|
|
32
|
+
const s = `checkboxfield-${Math.random().toString(36).substr(2, 9)}`, $ = O ?? (a === "CARDS" ? "END" : "START"), F = {
|
|
33
33
|
STANDARD: c === "STACKED" ? "gap-2" : "gap-4",
|
|
34
34
|
MORE: c === "STACKED" ? "gap-4" : "gap-6",
|
|
35
35
|
EVEN_MORE: c === "STACKED" ? "gap-6" : "gap-8"
|
|
36
|
-
},
|
|
36
|
+
}, K = {
|
|
37
37
|
STANDARD: "gap-2",
|
|
38
38
|
MORE: "gap-4",
|
|
39
39
|
EVEN_MORE: "gap-6"
|
|
40
|
-
},
|
|
40
|
+
}, V = {
|
|
41
41
|
LEFT: "justify-start",
|
|
42
42
|
START: "justify-start",
|
|
43
43
|
CENTER: "justify-center",
|
|
44
44
|
RIGHT: "justify-end",
|
|
45
45
|
END: "justify-end"
|
|
46
|
-
}, E = (
|
|
47
|
-
const
|
|
48
|
-
if (!
|
|
49
|
-
const l = e ? [...i,
|
|
50
|
-
|
|
51
|
-
}, p = u.length > 0,
|
|
46
|
+
}, E = (t, e) => {
|
|
47
|
+
const o = S || T;
|
|
48
|
+
if (!o) return;
|
|
49
|
+
const l = e ? [...i, t] : i.filter((d) => d !== t);
|
|
50
|
+
o(l);
|
|
51
|
+
}, p = u.length > 0, _ = g && !i.length && h, y = /* @__PURE__ */ r(
|
|
52
52
|
"div",
|
|
53
53
|
{
|
|
54
54
|
className: [
|
|
55
55
|
c === "STACKED" ? "flex flex-col" : "flex flex-wrap",
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
F[D],
|
|
57
|
+
A && V[A]
|
|
58
58
|
].filter(Boolean).join(" "),
|
|
59
59
|
role: "group",
|
|
60
|
-
"aria-describedby":
|
|
61
|
-
children:
|
|
62
|
-
const
|
|
60
|
+
"aria-describedby": m ? `${s}-instructions` : void 0,
|
|
61
|
+
children: R.map((t, e) => {
|
|
62
|
+
const o = b[e], l = i.includes(o), d = `${s}-choice-${e}`, I = [
|
|
63
63
|
"flex",
|
|
64
64
|
"items-center",
|
|
65
|
-
|
|
65
|
+
K[D],
|
|
66
66
|
$ === "END" && "flex-row-reverse",
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
a === "CARDS" && "border border-gray-200 rounded-sm p-4 hover:border-blue-500 transition-colors cursor-pointer",
|
|
68
|
+
a === "CARDS" && l && "border-blue-500 bg-blue-50",
|
|
69
|
+
n && "opacity-50 cursor-not-allowed"
|
|
70
70
|
].filter(Boolean).join(" ");
|
|
71
|
-
return /* @__PURE__ */
|
|
71
|
+
return /* @__PURE__ */ x(
|
|
72
72
|
"div",
|
|
73
73
|
{
|
|
74
74
|
className: I,
|
|
75
75
|
onClick: (f) => {
|
|
76
|
-
|
|
76
|
+
if (a === "CARDS" && !n) {
|
|
77
|
+
const N = f.target;
|
|
78
|
+
N.tagName !== "INPUT" && N.tagName !== "LABEL" && E(o, !l);
|
|
79
|
+
}
|
|
77
80
|
},
|
|
78
81
|
children: [
|
|
79
82
|
/* @__PURE__ */ r(
|
|
@@ -82,11 +85,11 @@ const Y = ({
|
|
|
82
85
|
id: d,
|
|
83
86
|
type: "checkbox",
|
|
84
87
|
checked: l,
|
|
85
|
-
disabled:
|
|
86
|
-
onChange: (f) => E(
|
|
88
|
+
disabled: n,
|
|
89
|
+
onChange: (f) => E(o, f.target.checked),
|
|
87
90
|
className: [
|
|
88
91
|
"h-4 w-4 rounded border-gray-200 text-blue-500 focus:ring-blue-500",
|
|
89
|
-
|
|
92
|
+
n ? "cursor-not-allowed" : "cursor-pointer"
|
|
90
93
|
].filter(Boolean).join(" "),
|
|
91
94
|
"aria-invalid": p,
|
|
92
95
|
"aria-errormessage": p ? `${s}-error` : void 0
|
|
@@ -95,13 +98,13 @@ const Y = ({
|
|
|
95
98
|
/* @__PURE__ */ r(
|
|
96
99
|
"label",
|
|
97
100
|
{
|
|
98
|
-
htmlFor:
|
|
101
|
+
htmlFor: d,
|
|
99
102
|
className: [
|
|
100
103
|
"text-base text-gray-900",
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
a === "CARDS" && "flex-1",
|
|
105
|
+
n ? "cursor-not-allowed" : "cursor-pointer"
|
|
103
106
|
].filter(Boolean).join(" "),
|
|
104
|
-
children:
|
|
107
|
+
children: t
|
|
105
108
|
}
|
|
106
109
|
)
|
|
107
110
|
]
|
|
@@ -110,27 +113,27 @@ const Y = ({
|
|
|
110
113
|
);
|
|
111
114
|
})
|
|
112
115
|
}
|
|
113
|
-
), G = /* @__PURE__ */
|
|
114
|
-
p && /* @__PURE__ */ r("div", { id: `${s}-error`, className: "mt-2", role: "alert", children: u.map((
|
|
115
|
-
|
|
116
|
+
), G = /* @__PURE__ */ x(P, { children: [
|
|
117
|
+
p && /* @__PURE__ */ r("div", { id: `${s}-error`, className: "mt-2", role: "alert", children: u.map((t, e) => /* @__PURE__ */ r("p", { className: "text-sm text-red-700", children: t }, e)) }),
|
|
118
|
+
_ && /* @__PURE__ */ r("p", { className: "text-sm text-red-700 mt-2", role: "alert", children: h })
|
|
116
119
|
] });
|
|
117
120
|
return /* @__PURE__ */ r(
|
|
118
|
-
|
|
121
|
+
H,
|
|
119
122
|
{
|
|
120
123
|
label: C,
|
|
121
|
-
labelPosition:
|
|
122
|
-
required:
|
|
123
|
-
instructions:
|
|
124
|
-
helpTooltip:
|
|
125
|
-
accessibilityText:
|
|
124
|
+
labelPosition: j,
|
|
125
|
+
required: g,
|
|
126
|
+
instructions: m,
|
|
127
|
+
helpTooltip: k,
|
|
128
|
+
accessibilityText: w,
|
|
126
129
|
inputId: s,
|
|
127
130
|
marginAbove: v,
|
|
128
|
-
marginBelow:
|
|
131
|
+
marginBelow: B,
|
|
129
132
|
footer: G,
|
|
130
|
-
children:
|
|
133
|
+
children: y
|
|
131
134
|
}
|
|
132
135
|
);
|
|
133
136
|
};
|
|
134
137
|
export {
|
|
135
|
-
|
|
138
|
+
X as CheckboxField
|
|
136
139
|
};
|
|
@@ -6,6 +6,16 @@ declare const meta: {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
width: {
|
|
11
|
+
control: "select";
|
|
12
|
+
options: string[];
|
|
13
|
+
};
|
|
14
|
+
height: {
|
|
15
|
+
control: "select";
|
|
16
|
+
options: string[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
9
19
|
};
|
|
10
20
|
export default meta;
|
|
11
21
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"Dialog.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAO3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAS0B,CAAA;AAEpC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAiCrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAuExB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KA4DhC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAiBxB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAqBxB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAgB1B,CAAA"}
|
|
@@ -6,6 +6,16 @@ declare const meta: {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
labelPosition: {
|
|
11
|
+
control: "select";
|
|
12
|
+
options: string[];
|
|
13
|
+
};
|
|
14
|
+
searchDisplay: {
|
|
15
|
+
control: "select";
|
|
16
|
+
options: string[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
9
19
|
};
|
|
10
20
|
export default meta;
|
|
11
21
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"Dropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAM3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAS4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAkCrB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KAiBhC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAuCxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAuC7B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAsB/B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,KA2BhC,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,KAgB9B,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAoBnC,CAAA"}
|
|
@@ -9,6 +9,35 @@ declare const meta: {
|
|
|
9
9
|
args: {
|
|
10
10
|
text: string;
|
|
11
11
|
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
size: {
|
|
14
|
+
control: "select";
|
|
15
|
+
options: string[];
|
|
16
|
+
};
|
|
17
|
+
headingTag: {
|
|
18
|
+
control: "select";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
fontWeight: {
|
|
22
|
+
control: "select";
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
align: {
|
|
26
|
+
control: "select";
|
|
27
|
+
options: string[];
|
|
28
|
+
};
|
|
29
|
+
marginAbove: {
|
|
30
|
+
control: "select";
|
|
31
|
+
options: string[];
|
|
32
|
+
};
|
|
33
|
+
marginBelow: {
|
|
34
|
+
control: "select";
|
|
35
|
+
options: string[];
|
|
36
|
+
};
|
|
37
|
+
color: {
|
|
38
|
+
control: "text";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
12
41
|
};
|
|
13
42
|
export default meta;
|
|
14
43
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Heading/Heading.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"Heading.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Heading/Heading.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB2B,CAAA;AAErC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAWnB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAU5B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAK5B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KASzB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAWzB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAA"}
|