@pglevy/sailwind 0.2.0 → 0.3.0
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 +52 -173
- package/dist/components/ApplicationHeader/ApplicationHeader.d.ts +34 -0
- package/dist/components/ApplicationHeader/ApplicationHeader.d.ts.map +1 -0
- package/dist/components/ApplicationHeader/ApplicationHeader.js +236 -0
- package/dist/components/ApplicationHeader/ApplicationHeader.stories.d.ts +18 -0
- package/dist/components/ApplicationHeader/ApplicationHeader.stories.d.ts.map +1 -0
- package/dist/components/ApplicationHeader/index.d.ts +3 -0
- package/dist/components/ApplicationHeader/index.d.ts.map +1 -0
- package/dist/components/Button/Button.stories.d.ts +21 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/components/Button/ButtonArrayLayout.d.ts +0 -8
- package/dist/components/Button/ButtonArrayLayout.d.ts.map +1 -1
- package/dist/components/Button/ButtonWidget.d.ts +0 -7
- package/dist/components/Button/ButtonWidget.d.ts.map +1 -1
- package/dist/components/Card/Card.stories.d.ts +21 -0
- package/dist/components/Card/Card.stories.d.ts.map +1 -0
- package/dist/components/Card/CardLayout.d.ts +0 -9
- package/dist/components/Card/CardLayout.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.stories.d.ts +20 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Dialog/Dialog.stories.d.ts +18 -0
- package/dist/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts +22 -0
- package/dist/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
- package/dist/components/Dropdown/DropdownField.d.ts +0 -27
- package/dist/components/Dropdown/DropdownField.d.ts.map +1 -1
- package/dist/components/Dropdown/MultipleDropdownField.d.ts +0 -25
- package/dist/components/Dropdown/MultipleDropdownField.d.ts.map +1 -1
- package/dist/components/Heading/Heading.stories.d.ts +23 -0
- package/dist/components/Heading/Heading.stories.d.ts.map +1 -0
- package/dist/components/Image/Image.stories.d.ts +21 -0
- package/dist/components/Image/Image.stories.d.ts.map +1 -0
- package/dist/components/Image/UserImage.d.ts +0 -14
- package/dist/components/Image/UserImage.d.ts.map +1 -1
- package/dist/components/MessageBanner/MessageBanner.stories.d.ts +35 -0
- package/dist/components/MessageBanner/MessageBanner.stories.d.ts.map +1 -0
- package/dist/components/Milestone/Milestone.stories.d.ts +20 -0
- package/dist/components/Milestone/Milestone.stories.d.ts.map +1 -0
- package/dist/components/Milestone/MilestoneField.d.ts +0 -8
- package/dist/components/Milestone/MilestoneField.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +34 -0
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts.map +1 -0
- package/dist/components/RadioButton/RadioButton.stories.d.ts +20 -0
- package/dist/components/RadioButton/RadioButton.stories.d.ts.map +1 -0
- package/dist/components/RichText/RichText.stories.d.ts +19 -0
- package/dist/components/RichText/RichText.stories.d.ts.map +1 -0
- package/dist/components/Slider/Slider.stories.d.ts +26 -0
- package/dist/components/Slider/Slider.stories.d.ts.map +1 -0
- package/dist/components/Stamp/Stamp.stories.d.ts +19 -0
- package/dist/components/Stamp/Stamp.stories.d.ts.map +1 -0
- package/dist/components/Switch/Switch.stories.d.ts +26 -0
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +21 -0
- package/dist/components/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/components/Tag/Tag.stories.d.ts +23 -0
- package/dist/components/Tag/Tag.stories.d.ts.map +1 -0
- package/dist/components/Tag/TagField.d.ts +0 -8
- package/dist/components/Tag/TagField.d.ts.map +1 -1
- package/dist/components/TextField/TextField.d.ts +0 -10
- package/dist/components/TextField/TextField.d.ts.map +1 -1
- package/dist/components/TextField/TextField.stories.d.ts +46 -0
- package/dist/components/TextField/TextField.stories.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.stories.d.ts +24 -0
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/images/icon-app.svg +1 -0
- package/dist/images/icon-appian-header.png +0 -0
- package/dist/images/icon-expression-rule.svg +1 -0
- package/dist/images/icon-interface.svg +1 -0
- package/dist/images/icon-record-type.svg +1 -0
- package/dist/index.js +30 -30
- package/dist/stories/Welcome.stories.d.ts +11 -0
- package/dist/stories/Welcome.stories.d.ts.map +1 -0
- package/dist/stories/pages/ApplicationHeaderDemo.stories.d.ts +13 -0
- package/dist/stories/pages/ApplicationHeaderDemo.stories.d.ts.map +1 -0
- package/dist/stories/pages/ButtonTextFieldTest.stories.d.ts +13 -0
- package/dist/stories/pages/ButtonTextFieldTest.stories.d.ts.map +1 -0
- package/dist/stories/pages/ESGConferenceRegistration.stories.d.ts +13 -0
- package/dist/stories/pages/ESGConferenceRegistration.stories.d.ts.map +1 -0
- package/dist/stories/pages/InsuranceQuoteWizard.stories.d.ts +13 -0
- package/dist/stories/pages/InsuranceQuoteWizard.stories.d.ts.map +1 -0
- package/dist/stories/patterns/ApplicationStatus.stories.d.ts +12 -0
- package/dist/stories/patterns/ApplicationStatus.stories.d.ts.map +1 -0
- package/dist/stories/patterns/DocumentReview.stories.d.ts +12 -0
- package/dist/stories/patterns/DocumentReview.stories.d.ts.map +1 -0
- package/dist/stories/patterns/FormEntry.stories.d.ts +12 -0
- package/dist/stories/patterns/FormEntry.stories.d.ts.map +1 -0
- package/dist/stories/patterns/Publications.stories.d.ts +12 -0
- package/dist/stories/patterns/Publications.stories.d.ts.map +1 -0
- package/dist/stories/patterns/TaskDashboard.stories.d.ts +12 -0
- package/dist/stories/patterns/TaskDashboard.stories.d.ts.map +1 -0
- package/dist/stories/patterns/UserProfile.stories.d.ts +12 -0
- package/dist/stories/patterns/UserProfile.stories.d.ts.map +1 -0
- package/package.json +10 -4
- package/dist/components/TableOfContents.d.ts +0 -2
- package/dist/components/TableOfContents.d.ts.map +0 -1
- package/dist/components/TableOfContents.js +0 -147
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useLocation as c } from "wouter";
|
|
3
|
-
import { CardLayout as d } from "./Card/CardLayout.js";
|
|
4
|
-
import { HeadingField as s } from "./Heading/HeadingField.js";
|
|
5
|
-
import { RichTextDisplayField as l } from "./RichText/RichTextDisplayField.js";
|
|
6
|
-
import { TextItem as r } from "./RichText/TextItem.js";
|
|
7
|
-
import "react";
|
|
8
|
-
import "lucide-react";
|
|
9
|
-
const a = [
|
|
10
|
-
{
|
|
11
|
-
title: "Component Library",
|
|
12
|
-
items: [
|
|
13
|
-
{
|
|
14
|
-
title: "Components",
|
|
15
|
-
path: "/components",
|
|
16
|
-
description: "Interactive component demos and documentation"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
title: "Interface Patterns",
|
|
22
|
-
items: [
|
|
23
|
-
{
|
|
24
|
-
title: "Task Dashboard",
|
|
25
|
-
path: "/patterns/taskdashboard",
|
|
26
|
-
description: "Task management interface with status tracking"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
title: "Application Status",
|
|
30
|
-
path: "/patterns/applicationstatus",
|
|
31
|
-
description: "Application review and approval workflow"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
title: "Document Review",
|
|
35
|
-
path: "/patterns/documentreview",
|
|
36
|
-
description: "Document approval and feedback interface"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
title: "User Profile",
|
|
40
|
-
path: "/patterns/userprofile",
|
|
41
|
-
description: "User information and settings management"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
title: "Form Entry",
|
|
45
|
-
path: "/patterns/formentry",
|
|
46
|
-
description: "Data entry form with validation"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
title: "Publications",
|
|
50
|
-
path: "/patterns/publications",
|
|
51
|
-
description: "List of items in a card with tags and filtering"
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
title: "Pages",
|
|
57
|
-
items: [
|
|
58
|
-
{
|
|
59
|
-
title: "Button + TextField Alignment Test",
|
|
60
|
-
path: "/buttontextfieldtest",
|
|
61
|
-
description: "Test page for TextField and button vertical alignment"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
title: "ESG Conference Registration",
|
|
65
|
-
path: "/esgconferenceregistration",
|
|
66
|
-
description: "Event registration with multiple steps"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
title: "Insurance Quote Wizard",
|
|
70
|
-
path: "/insurancequotewizard",
|
|
71
|
-
description: "Multi-step insurance quote process"
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
], m = ({ item: e }) => {
|
|
76
|
-
const [, n] = c();
|
|
77
|
-
return /* @__PURE__ */ t("div", { className: "mb-4", children: /* @__PURE__ */ t(
|
|
78
|
-
l,
|
|
79
|
-
{
|
|
80
|
-
value: [
|
|
81
|
-
/* @__PURE__ */ t(
|
|
82
|
-
r,
|
|
83
|
-
{
|
|
84
|
-
text: e.title,
|
|
85
|
-
color: "ACCENT",
|
|
86
|
-
size: "MEDIUM",
|
|
87
|
-
link: () => n(e.path),
|
|
88
|
-
linkStyle: "STANDALONE"
|
|
89
|
-
},
|
|
90
|
-
"title"
|
|
91
|
-
),
|
|
92
|
-
/* @__PURE__ */ t("br", {}),
|
|
93
|
-
/* @__PURE__ */ t(
|
|
94
|
-
r,
|
|
95
|
-
{
|
|
96
|
-
text: e.description,
|
|
97
|
-
color: "SECONDARY",
|
|
98
|
-
size: "STANDARD"
|
|
99
|
-
},
|
|
100
|
-
"desc"
|
|
101
|
-
)
|
|
102
|
-
],
|
|
103
|
-
marginBelow: "EVEN_LESS"
|
|
104
|
-
}
|
|
105
|
-
) });
|
|
106
|
-
}, o = ({ group: e }) => /* @__PURE__ */ i("div", { children: [
|
|
107
|
-
/* @__PURE__ */ t(
|
|
108
|
-
s,
|
|
109
|
-
{
|
|
110
|
-
text: e.title,
|
|
111
|
-
size: "MEDIUM",
|
|
112
|
-
fontWeight: "SEMI_BOLD",
|
|
113
|
-
headingTag: "H2",
|
|
114
|
-
marginBelow: "STANDARD"
|
|
115
|
-
}
|
|
116
|
-
),
|
|
117
|
-
/* @__PURE__ */ t("div", { className: "space-y-2", children: e.items.map((n, p) => /* @__PURE__ */ t(m, { item: n }, p)) })
|
|
118
|
-
] }), x = () => /* @__PURE__ */ i("div", { className: "max-w-4xl mx-auto", children: [
|
|
119
|
-
/* @__PURE__ */ t(
|
|
120
|
-
s,
|
|
121
|
-
{
|
|
122
|
-
text: "Table of Contents",
|
|
123
|
-
size: "LARGE",
|
|
124
|
-
headingTag: "H2",
|
|
125
|
-
align: "CENTER",
|
|
126
|
-
marginBelow: "EVEN_LESS"
|
|
127
|
-
}
|
|
128
|
-
),
|
|
129
|
-
/* @__PURE__ */ t(
|
|
130
|
-
l,
|
|
131
|
-
{
|
|
132
|
-
value: ["Explore the available components and example interfaces"],
|
|
133
|
-
align: "CENTER",
|
|
134
|
-
marginBelow: "MORE"
|
|
135
|
-
}
|
|
136
|
-
),
|
|
137
|
-
/* @__PURE__ */ t(d, { padding: "MORE", marginBelow: "NONE", showBorder: !1, showShadow: !0, children: /* @__PURE__ */ i("div", { className: "grid gap-8 md:grid-cols-2", children: [
|
|
138
|
-
/* @__PURE__ */ i("div", { className: "space-y-8", children: [
|
|
139
|
-
/* @__PURE__ */ t(o, { group: a[0] }),
|
|
140
|
-
/* @__PURE__ */ t(o, { group: a[1] })
|
|
141
|
-
] }),
|
|
142
|
-
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(o, { group: a[2] }) })
|
|
143
|
-
] }) })
|
|
144
|
-
] });
|
|
145
|
-
export {
|
|
146
|
-
x as TableOfContents
|
|
147
|
-
};
|