@pglevy/sailwind 0.2.0 → 0.4.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 +81 -170
- package/dist/components/ApplicationHeader/ApplicationHeader.d.ts +42 -0
- package/dist/components/ApplicationHeader/ApplicationHeader.d.ts.map +1 -0
- package/dist/components/ApplicationHeader/ApplicationHeader.js +251 -0
- package/dist/components/ApplicationHeader/ApplicationHeader.stories.d.ts +19 -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/SideNavAdmin/SideNavAdmin.d.ts +23 -0
- package/dist/components/SideNavAdmin/SideNavAdmin.d.ts.map +1 -0
- package/dist/components/SideNavAdmin/SideNavAdmin.js +143 -0
- package/dist/components/SideNavAdmin/SideNavAdmin.stories.d.ts +13 -0
- package/dist/components/SideNavAdmin/SideNavAdmin.stories.d.ts.map +1 -0
- package/dist/components/SideNavAdmin/index.d.ts +3 -0
- package/dist/components/SideNavAdmin/index.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 +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.js +26 -24
- package/dist/stories/Welcome.stories.d.ts +11 -0
- package/dist/stories/Welcome.stories.d.ts.map +1 -0
- package/dist/stories/pages/AdminConsoleDemo.stories.d.ts +13 -0
- package/dist/stories/pages/AdminConsoleDemo.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 +13 -4
- package/public/images/icon-app.svg +1 -0
- package/public/images/icon-appian-header.png +0 -0
- package/public/images/icon-cog.svg +1 -0
- package/public/images/icon-expression-rule.svg +1 -0
- package/public/images/icon-interface.svg +1 -0
- package/public/images/icon-record-type.svg +1 -0
- package/dist/components/TableOfContents.d.ts +0 -2
- package/dist/components/TableOfContents.d.ts.map +0 -1
- package/dist/components/TableOfContents.js +0 -147
- package/dist/esg_world_logo_no_year.png +0 -0
- package/dist/uifaces-human-avatar.jpg +0 -0
- package/dist/vite.svg +0 -1
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { RichTextDisplayField as t } from "../RichText/RichTextDisplayField.js";
|
|
4
|
+
import { TextItem as i } from "../RichText/TextItem.js";
|
|
5
|
+
import { Icon as c } from "../RichText/Icon.js";
|
|
6
|
+
const m = [
|
|
7
|
+
{
|
|
8
|
+
heading: "SYSTEM",
|
|
9
|
+
items: [
|
|
10
|
+
{ label: "Branding" },
|
|
11
|
+
{ label: "Data Retention" },
|
|
12
|
+
{ label: "File Upload" },
|
|
13
|
+
{ label: "Internationalization" },
|
|
14
|
+
{ label: "Mobile" },
|
|
15
|
+
{ label: "Permissions" },
|
|
16
|
+
{ label: "Plug-ins" },
|
|
17
|
+
{ label: "Portals" },
|
|
18
|
+
{ label: "Typefaces" },
|
|
19
|
+
{ label: "User Start Pages" }
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
heading: "AUTHENTICATION",
|
|
24
|
+
items: [
|
|
25
|
+
{ label: "Appian" },
|
|
26
|
+
{ label: "LDAP" },
|
|
27
|
+
{ label: "Maintenance Window" },
|
|
28
|
+
{ label: "Sign-In Page" },
|
|
29
|
+
{ label: "Single Sign-On" },
|
|
30
|
+
{ label: "Users" },
|
|
31
|
+
{ label: "Web API Authentication" }
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
heading: "DEVOPS",
|
|
36
|
+
items: [
|
|
37
|
+
{ label: "Deployment" },
|
|
38
|
+
{ label: "Health Check" },
|
|
39
|
+
{ label: "Infrastructure" }
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
heading: "INTEGRATION",
|
|
44
|
+
items: [
|
|
45
|
+
{ label: "AI Services" },
|
|
46
|
+
{ label: "Certificates" },
|
|
47
|
+
{ label: "Data Sources" },
|
|
48
|
+
{ label: "Email" },
|
|
49
|
+
{ label: "Embedded Interfaces" },
|
|
50
|
+
{ label: "HTTP Proxy" },
|
|
51
|
+
{ label: "Legacy Web Services" },
|
|
52
|
+
{ label: "Logging" },
|
|
53
|
+
{ label: "Microsoft Office" },
|
|
54
|
+
{ label: "Third-Party Credentials" },
|
|
55
|
+
{ label: "WalkMe" }
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
heading: "MONITORING",
|
|
60
|
+
items: [
|
|
61
|
+
{ label: "Current User Activity" },
|
|
62
|
+
{ label: "Document Reports" },
|
|
63
|
+
{ label: "Import History" },
|
|
64
|
+
{ label: "Rule Performance" }
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
heading: "ENGINEERING",
|
|
69
|
+
items: [
|
|
70
|
+
{ label: "Data Calls by Request" },
|
|
71
|
+
{ label: "Development Configurations" },
|
|
72
|
+
{ label: "Feature Toggles" }
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
], p = ({
|
|
76
|
+
sections: r = m,
|
|
77
|
+
activeItem: s = "Branding",
|
|
78
|
+
onItemClick: n
|
|
79
|
+
}) => /* @__PURE__ */ e("nav", { className: "py-4 px-4 w-64", "aria-label": "Admin navigation", children: r.map((a) => /* @__PURE__ */ o("div", { className: "mb-4", children: [
|
|
80
|
+
/* @__PURE__ */ e(
|
|
81
|
+
t,
|
|
82
|
+
{
|
|
83
|
+
marginBelow: "EVEN_LESS",
|
|
84
|
+
value: [
|
|
85
|
+
/* @__PURE__ */ e(
|
|
86
|
+
i,
|
|
87
|
+
{
|
|
88
|
+
text: a.heading,
|
|
89
|
+
size: "SMALL",
|
|
90
|
+
color: "SECONDARY"
|
|
91
|
+
},
|
|
92
|
+
"heading"
|
|
93
|
+
)
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
),
|
|
97
|
+
/* @__PURE__ */ e("ul", { className: "list-none p-0 m-0 pl-3", children: a.items.map((l) => {
|
|
98
|
+
const b = l.label === s;
|
|
99
|
+
return /* @__PURE__ */ e("li", { className: "mb-1", children: /* @__PURE__ */ e(
|
|
100
|
+
t,
|
|
101
|
+
{
|
|
102
|
+
marginBelow: "EVEN_LESS",
|
|
103
|
+
value: b ? [
|
|
104
|
+
/* @__PURE__ */ e(
|
|
105
|
+
i,
|
|
106
|
+
{
|
|
107
|
+
text: l.label,
|
|
108
|
+
style: "STRONG",
|
|
109
|
+
color: "STANDARD",
|
|
110
|
+
size: "SMALL"
|
|
111
|
+
},
|
|
112
|
+
"label"
|
|
113
|
+
),
|
|
114
|
+
/* @__PURE__ */ e("span", { children: " " }, "spacer"),
|
|
115
|
+
/* @__PURE__ */ e(
|
|
116
|
+
c,
|
|
117
|
+
{
|
|
118
|
+
icon: "chevron-right",
|
|
119
|
+
size: "SMALL",
|
|
120
|
+
color: "STANDARD"
|
|
121
|
+
},
|
|
122
|
+
"caret"
|
|
123
|
+
)
|
|
124
|
+
] : [
|
|
125
|
+
/* @__PURE__ */ e(
|
|
126
|
+
i,
|
|
127
|
+
{
|
|
128
|
+
text: l.label,
|
|
129
|
+
color: "ACCENT",
|
|
130
|
+
size: "SMALL",
|
|
131
|
+
link: l.link || (n ? () => n(l.label) : void 0),
|
|
132
|
+
linkStyle: "STANDALONE"
|
|
133
|
+
},
|
|
134
|
+
"label"
|
|
135
|
+
)
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
) }, l.label);
|
|
139
|
+
}) })
|
|
140
|
+
] }, a.heading)) });
|
|
141
|
+
export {
|
|
142
|
+
p as SideNavAdmin
|
|
143
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./SideNavAdmin').SideNavAdminProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
//# sourceMappingURL=SideNavAdmin.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SideNavAdmin.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavAdmin/SideNavAdmin.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;;CAK2B,CAAA;AAErC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SideNavAdmin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,YAAY,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./SliderField').SliderFieldProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const SingleValuePositive: Story;
|
|
14
|
+
export declare const RangeSlider: Story;
|
|
15
|
+
export declare const RangeSliderNegative: Story;
|
|
16
|
+
export declare const VerticalOrientation: Story;
|
|
17
|
+
export declare const SizeSmall: Story;
|
|
18
|
+
export declare const SizeStandard: Story;
|
|
19
|
+
export declare const SizeMedium: Story;
|
|
20
|
+
export declare const SizeLarge: Story;
|
|
21
|
+
export declare const ColorAccent: Story;
|
|
22
|
+
export declare const ColorPositive: Story;
|
|
23
|
+
export declare const ColorNegative: Story;
|
|
24
|
+
export declare const ColorCustomHex: Story;
|
|
25
|
+
export declare const Disabled: Story;
|
|
26
|
+
//# sourceMappingURL=Slider.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAI3D,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,mBAAmB,EAAE,KAqBjC,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAqBzB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAqBjC,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAkBjC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAcvB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,KAc1B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAcvB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAazB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAa3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAa3B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAa5B,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KActB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./StampField').StampFieldProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const SemanticColors: Story;
|
|
14
|
+
export declare const TransparentBackground: Story;
|
|
15
|
+
export declare const TextStamps: Story;
|
|
16
|
+
export declare const Sizes: Story;
|
|
17
|
+
export declare const Shapes: Story;
|
|
18
|
+
export declare const WithLabelAndInstructions: Story;
|
|
19
|
+
//# sourceMappingURL=Stamp.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stamp.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Stamp/Stamp.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;;CAKyB,CAAA;AAEnC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAOnC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KASnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,KAWtC,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./SwitchField').SwitchFieldProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const Unchecked: Story;
|
|
14
|
+
export declare const WithInstructions: Story;
|
|
15
|
+
export declare const SmallSize: Story;
|
|
16
|
+
export declare const StandardSize: Story;
|
|
17
|
+
export declare const MediumSize: Story;
|
|
18
|
+
export declare const LargeSize: Story;
|
|
19
|
+
export declare const ColorAccent: Story;
|
|
20
|
+
export declare const ColorPositive: Story;
|
|
21
|
+
export declare const ColorNegative: Story;
|
|
22
|
+
export declare const CustomHexColor: Story;
|
|
23
|
+
export declare const DisabledOff: Story;
|
|
24
|
+
export declare const DisabledOn: Story;
|
|
25
|
+
export declare const AdjacentLabel: Story;
|
|
26
|
+
//# sourceMappingURL=Switch.stories.d.ts.map
|
|
@@ -0,0 +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;AAI3D,QAAA,MAAM,IAAI;;;;;;;CAK0B,CAAA;AAEpC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAUrB,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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./TabsField').TabsFieldProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const BasicHorizontalWithContent: Story;
|
|
14
|
+
export declare const VerticalOrientation: Story;
|
|
15
|
+
export declare const SizeSmall: Story;
|
|
16
|
+
export declare const SizeLarge: Story;
|
|
17
|
+
export declare const ColorPositive: Story;
|
|
18
|
+
export declare const ColorNegative: Story;
|
|
19
|
+
export declare const ColorCustomHex: Story;
|
|
20
|
+
export declare const ManualActivation: Story;
|
|
21
|
+
//# sourceMappingURL=Tabs.stories.d.ts.map
|
|
@@ -0,0 +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;;;;;;;CAKwB,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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./TagField').TagFieldProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
args: {
|
|
10
|
+
size: "STANDARD";
|
|
11
|
+
tags: {
|
|
12
|
+
text: string;
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const Default: Story;
|
|
20
|
+
export declare const SemanticColors: Story;
|
|
21
|
+
export declare const CustomHexColors: Story;
|
|
22
|
+
export declare const SmallSize: Story;
|
|
23
|
+
//# sourceMappingURL=Tag.stories.d.ts.map
|
|
@@ -0,0 +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;;;;;;;;;;;;;;CAWuB,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,KAW5B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAW7B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAA"}
|
|
@@ -38,14 +38,6 @@ export interface TagFieldProps {
|
|
|
38
38
|
/**
|
|
39
39
|
* TagField Component
|
|
40
40
|
* Displays a list of short text labels with colored backgrounds
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* <TagField
|
|
44
|
-
* size="STANDARD"
|
|
45
|
-
* tags={[
|
|
46
|
-
* { text: "URGENT", backgroundColor: "#FED7DE", textColor: "#9F0019" }
|
|
47
|
-
* ]}
|
|
48
|
-
* />
|
|
49
41
|
*/
|
|
50
42
|
export declare const TagField: React.FC<TagFieldProps>;
|
|
51
43
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagField.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/TagField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,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,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,CA8I5C,CAAA"}
|
|
@@ -72,16 +72,6 @@ export interface TextFieldProps {
|
|
|
72
72
|
* Displays and allows entry of a single line of text.
|
|
73
73
|
* Maps to SAIL a!textField() function.
|
|
74
74
|
*
|
|
75
|
-
* @example
|
|
76
|
-
* ```tsx
|
|
77
|
-
* <TextField
|
|
78
|
-
* label="Email Address"
|
|
79
|
-
* placeholder="user@example.com"
|
|
80
|
-
* value={email}
|
|
81
|
-
* saveInto={(value) => setEmail(value)}
|
|
82
|
-
* required
|
|
83
|
-
* />
|
|
84
|
-
* ```
|
|
85
75
|
*/
|
|
86
76
|
export declare const TextField: React.FC<TextFieldProps>;
|
|
87
77
|
export {};
|
|
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AM,CAAA;IACxB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,yCAAyC;IACzC,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qEAAqE;IACrE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,qEAAqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mEAAmE;IACnE,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,kDAAkD;IAClD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,mEAAmE;IACnE,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,6DAA6D;IAC7D,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,6DAA6D;IAC7D,WAAW,CAAC,EAAE,cAAc,CAAA;CAC7B;AAED
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEzE;;GAEG;AACH,KAAK,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE5C;;GAEG;AACH,KAAK,YAAY,GACb,MAAM,GACN,OAAO,GACP,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,SAAS,GACT,oBAAoB,GACpB,YAAY,GACZ,WAAW,GACX,KAAK,GACL,KAAK,CAAA;AAET;;GAEG;AACH,KAAK,YAAY,GAAG,UAAU,GAAG,SAAS,CAAA;AAE1C;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CA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AAW,CAAC,EAAE,cAAc,CAAA;CAC7B;AAED;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiK9C,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./TextField').TextFieldProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
decorators: ((Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
10
|
+
label?: string | undefined;
|
|
11
|
+
instructions?: string | undefined;
|
|
12
|
+
required?: boolean | undefined;
|
|
13
|
+
readOnly?: boolean | undefined;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
|
+
value?: string | undefined;
|
|
16
|
+
validations?: string[] | undefined;
|
|
17
|
+
saveInto?: ((value: string) => void) | undefined;
|
|
18
|
+
onChange?: ((value: string) => void) | undefined;
|
|
19
|
+
refreshAfter?: ("KEYPRESS" | "UNFOCUS") | undefined;
|
|
20
|
+
validationGroup?: string | undefined;
|
|
21
|
+
requiredMessage?: string | undefined;
|
|
22
|
+
align?: ("CENTER" | "LEFT" | "RIGHT") | undefined;
|
|
23
|
+
labelPosition?: import('../..').SAILLabelPosition | undefined;
|
|
24
|
+
placeholder?: string | undefined;
|
|
25
|
+
helpTooltip?: string | undefined;
|
|
26
|
+
masked?: boolean | undefined;
|
|
27
|
+
accessibilityText?: string | undefined;
|
|
28
|
+
showWhen?: boolean | undefined;
|
|
29
|
+
inputPurpose?: ("NAME" | "EMAIL" | "PHONE_NUMBER" | "STREET_ADDRESS" | "POSTAL_CODE" | "COUNTRY" | "CREDIT_CARD_NUMBER" | "FIRST_NAME" | "LAST_NAME" | "DOB" | "OFF") | undefined;
|
|
30
|
+
characterLimit?: number | undefined;
|
|
31
|
+
showCharacterCount?: boolean | undefined;
|
|
32
|
+
marginAbove?: import('../..').SAILMarginSize | undefined;
|
|
33
|
+
marginBelow?: import('../..').SAILMarginSize | undefined;
|
|
34
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
35
|
+
};
|
|
36
|
+
export default meta;
|
|
37
|
+
type Story = StoryObj<typeof meta>;
|
|
38
|
+
export declare const Default: Story;
|
|
39
|
+
export declare const WithCharacterLimit: Story;
|
|
40
|
+
export declare const Masked: Story;
|
|
41
|
+
export declare const ReadOnly: Story;
|
|
42
|
+
export declare const AdjacentLabel: Story;
|
|
43
|
+
export declare const RightAligned: Story;
|
|
44
|
+
export declare const WithHelpTooltip: Story;
|
|
45
|
+
export declare const WithValidationError: Story;
|
|
46
|
+
//# sourceMappingURL=TextField.stories.d.ts.map
|
|
@@ -0,0 +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;AAG3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYwB,CAAA;AAElC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAMrB,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,KAkBjC,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./ToggleField').ToggleFieldProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const WithIcon: Story;
|
|
14
|
+
export declare const StyleSolid: Story;
|
|
15
|
+
export declare const StyleOutline: Story;
|
|
16
|
+
export declare const StyleGhost: Story;
|
|
17
|
+
export declare const IconAtStart: Story;
|
|
18
|
+
export declare const IconAtEnd: Story;
|
|
19
|
+
export declare const ColorAccent: Story;
|
|
20
|
+
export declare const ColorPositive: Story;
|
|
21
|
+
export declare const ColorNegative: Story;
|
|
22
|
+
export declare const ColorSecondary: Story;
|
|
23
|
+
export declare const Disabled: Story;
|
|
24
|
+
//# sourceMappingURL=Toggle.stories.d.ts.map
|
|
@@ -0,0 +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;AAI3D,QAAA,MAAM,IAAI;;;;;;;CAK0B,CAAA;AAEpC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAWrB,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"}
|
|
@@ -18,5 +18,6 @@ export * from './Slider';
|
|
|
18
18
|
export * from './Tabs';
|
|
19
19
|
export * from './Image';
|
|
20
20
|
export * from './Dialog';
|
|
21
|
-
export
|
|
21
|
+
export * from './ApplicationHeader';
|
|
22
|
+
export * from './SideNavAdmin';
|
|
22
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,
|
|
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"}
|
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { FieldLabel as r } from "./components/shared/FieldLabel.js";
|
|
2
2
|
import { FieldWrapper as p } from "./components/shared/FieldWrapper.js";
|
|
3
|
-
import { CollapsibleSection as
|
|
3
|
+
import { CollapsibleSection as m } from "./components/shared/CollapsibleSection.js";
|
|
4
4
|
import { TagField as l } from "./components/Tag/TagField.js";
|
|
5
5
|
import { TagItem as d } 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
8
|
import { CardLayout as T } from "./components/Card/CardLayout.js";
|
|
9
|
-
import { HeadingField as
|
|
10
|
-
import { MessageBanner as
|
|
11
|
-
import { MilestoneField as
|
|
9
|
+
import { HeadingField as u } from "./components/Heading/HeadingField.js";
|
|
10
|
+
import { MessageBanner as S } from "./components/MessageBanner/MessageBanner.js";
|
|
11
|
+
import { MilestoneField as y } from "./components/Milestone/MilestoneField.js";
|
|
12
12
|
import { ProgressBar as I } from "./components/ProgressBar/ProgressBar.js";
|
|
13
|
-
import { RichTextDisplayField as
|
|
14
|
-
import { TextItem as
|
|
15
|
-
import { Icon as
|
|
16
|
-
import { StampField as
|
|
17
|
-
import { TextField as
|
|
18
|
-
import { CheckboxField as
|
|
19
|
-
import { RadioButtonField as
|
|
13
|
+
import { RichTextDisplayField as w } from "./components/RichText/RichTextDisplayField.js";
|
|
14
|
+
import { TextItem as C } from "./components/RichText/TextItem.js";
|
|
15
|
+
import { Icon as M } from "./components/RichText/Icon.js";
|
|
16
|
+
import { StampField as R } from "./components/Stamp/StampField.js";
|
|
17
|
+
import { TextField as k } from "./components/TextField/TextField.js";
|
|
18
|
+
import { CheckboxField as N } from "./components/Checkbox/CheckboxField.js";
|
|
19
|
+
import { RadioButtonField as j } from "./components/RadioButton/RadioButtonField.js";
|
|
20
20
|
import { DropdownField as z } from "./components/Dropdown/DropdownField.js";
|
|
21
21
|
import { MultipleDropdownField as G } from "./components/Dropdown/MultipleDropdownField.js";
|
|
22
22
|
import { SwitchField as K } from "./components/Switch/SwitchField.js";
|
|
@@ -25,34 +25,36 @@ 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 {
|
|
28
|
+
import { ApplicationHeader as ro } from "./components/ApplicationHeader/ApplicationHeader.js";
|
|
29
|
+
import { SideNavAdmin as po } from "./components/SideNavAdmin/SideNavAdmin.js";
|
|
29
30
|
export {
|
|
31
|
+
ro as ApplicationHeader,
|
|
30
32
|
g as ButtonArrayLayout,
|
|
31
33
|
F as ButtonWidget,
|
|
32
34
|
T as CardLayout,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
N as CheckboxField,
|
|
36
|
+
m as CollapsibleSection,
|
|
35
37
|
oo as DialogField,
|
|
36
38
|
z as DropdownField,
|
|
37
39
|
r as FieldLabel,
|
|
38
40
|
p as FieldWrapper,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
u as HeadingField,
|
|
42
|
+
M as Icon,
|
|
41
43
|
_ as ImageField,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
S as MessageBanner,
|
|
45
|
+
y as MilestoneField,
|
|
44
46
|
G as MultipleDropdownField,
|
|
45
47
|
I as ProgressBar,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
j as RadioButtonField,
|
|
49
|
+
w as RichTextDisplayField,
|
|
50
|
+
po as SideNavAdmin,
|
|
48
51
|
V as SliderField,
|
|
49
|
-
|
|
52
|
+
R as StampField,
|
|
50
53
|
K as SwitchField,
|
|
51
|
-
ro as TableOfContents,
|
|
52
54
|
Y as TabsField,
|
|
53
55
|
l as TagField,
|
|
54
56
|
d as TagItem,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
k as TextField,
|
|
58
|
+
C as TextItem,
|
|
57
59
|
Q as ToggleField
|
|
58
60
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
parameters: {
|
|
5
|
+
layout: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
type Story = StoryObj<typeof meta>;
|
|
10
|
+
export declare const Overview: Story;
|
|
11
|
+
//# sourceMappingURL=Welcome.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Welcome.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Welcome.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEtD,QAAA,MAAM,IAAI;;;;;CAKM,CAAA;AAEhB,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,QAAQ,EAAE,KA8FtB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as AdminConsoleDemo } from '../../pages/AdminConsoleDemo';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AdminConsoleDemo;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
//# sourceMappingURL=AdminConsoleDemo.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminConsoleDemo.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/pages/AdminConsoleDemo.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,gBAAgB,MAAM,8BAA8B,CAAA;AAE3D,QAAA,MAAM,IAAI;;;;;;CAI+B,CAAA;AAEzC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as ApplicationHeaderDemo } from '../../pages/ApplicationHeaderDemo';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ApplicationHeaderDemo;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
//# sourceMappingURL=ApplicationHeaderDemo.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationHeaderDemo.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/pages/ApplicationHeaderDemo.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,qBAAqB,MAAM,mCAAmC,CAAA;AAErE,QAAA,MAAM,IAAI;;;;;;CAIoC,CAAA;AAE9C,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as ButtonTextFieldTest } from '../../pages/ButtonTextFieldTest';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ButtonTextFieldTest;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
//# sourceMappingURL=ButtonTextFieldTest.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonTextFieldTest.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/pages/ButtonTextFieldTest.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,mBAAmB,MAAM,iCAAiC,CAAA;AAEjE,QAAA,MAAM,IAAI;;;;;;CAIkC,CAAA;AAE5C,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as ESGConferenceRegistration } from '../../pages/ESGConferenceRegistration';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ESGConferenceRegistration;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
//# sourceMappingURL=ESGConferenceRegistration.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ESGConferenceRegistration.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/pages/ESGConferenceRegistration.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,yBAAyB,MAAM,uCAAuC,CAAA;AAE7E,QAAA,MAAM,IAAI;;;;;;CAIwC,CAAA;AAElD,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|