@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,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as InsuranceQuoteWizard } from '../../pages/InsuranceQuoteWizard';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof InsuranceQuoteWizard;
|
|
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=InsuranceQuoteWizard.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InsuranceQuoteWizard.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/pages/InsuranceQuoteWizard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,oBAAoB,MAAM,kCAAkC,CAAA;AAEnE,QAAA,MAAM,IAAI;;;;;;CAImC,CAAA;AAE7C,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
//# sourceMappingURL=ApplicationStatus.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationStatus.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/patterns/ApplicationStatus.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;CAIgC,CAAA;AAE1C,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
//# sourceMappingURL=DocumentReview.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentReview.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/patterns/DocumentReview.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;CAI6B,CAAA;AAEvC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
//# sourceMappingURL=FormEntry.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormEntry.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/patterns/FormEntry.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;CAIwB,CAAA;AAElC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<{}>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
//# sourceMappingURL=Publications.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Publications.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/patterns/Publications.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;CAI2B,CAAA;AAErC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
//# sourceMappingURL=TaskDashboard.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TaskDashboard.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/patterns/TaskDashboard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;CAI4B,CAAA;AAEtC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const Default: Story;
|
|
12
|
+
//# sourceMappingURL=UserProfile.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserProfile.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/patterns/UserProfile.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAG3D,QAAA,MAAM,IAAI;;;;;;CAI0B,CAAA;AAEpC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pglevy/sailwind",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Appian SAIL components for React - Pre-release version under active development",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
"import": "./dist/index.js",
|
|
11
11
|
"types": "./dist/index.d.ts"
|
|
12
12
|
},
|
|
13
|
+
"./index.css": "./dist/index.css",
|
|
14
|
+
"./images/*": "./public/images/*",
|
|
13
15
|
"./package.json": "./package.json"
|
|
14
16
|
},
|
|
15
17
|
"files": [
|
|
16
18
|
"dist",
|
|
19
|
+
"public/images",
|
|
17
20
|
"README.md",
|
|
18
21
|
"LICENSE"
|
|
19
22
|
],
|
|
@@ -42,13 +45,15 @@
|
|
|
42
45
|
"build:lib": "vite build --mode library",
|
|
43
46
|
"lint": "eslint .",
|
|
44
47
|
"preview": "vite preview",
|
|
48
|
+
"storybook": "storybook dev -p 6006",
|
|
49
|
+
"build-storybook": "storybook build",
|
|
45
50
|
"check-page": "node scripts/quick-check.cjs",
|
|
46
51
|
"check-page:full": "node scripts/full-check.cjs",
|
|
47
52
|
"prepublishOnly": "npm run build:lib",
|
|
48
53
|
"version:patch": "npm version patch",
|
|
49
54
|
"version:minor": "npm version minor",
|
|
50
55
|
"version:major": "npm version major",
|
|
51
|
-
"release": "npm run build:lib && npm publish"
|
|
56
|
+
"release": "npm run build:lib && npm publish --access public"
|
|
52
57
|
},
|
|
53
58
|
"peerDependencies": {
|
|
54
59
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -62,11 +67,14 @@
|
|
|
62
67
|
"@radix-ui/react-switch": "^1.2.6",
|
|
63
68
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
64
69
|
"@radix-ui/react-toggle": "^1.1.10",
|
|
65
|
-
"lucide-react": "^0.545.0"
|
|
66
|
-
"wouter": "^3.7.1"
|
|
70
|
+
"lucide-react": "^0.545.0"
|
|
67
71
|
},
|
|
68
72
|
"devDependencies": {
|
|
69
73
|
"@eslint/js": "^9.36.0",
|
|
74
|
+
"@storybook/addon-a11y": "^10.2.8",
|
|
75
|
+
"@storybook/addon-docs": "^10.2.8",
|
|
76
|
+
"@storybook/addon-themes": "^10.2.8",
|
|
77
|
+
"@storybook/react-vite": "^10.2.8",
|
|
70
78
|
"@tailwindcss/postcss": "^4.1.14",
|
|
71
79
|
"@types/react": "^19.1.13",
|
|
72
80
|
"@types/react-dom": "^19.1.9",
|
|
@@ -80,6 +88,7 @@
|
|
|
80
88
|
"postcss": "^8.5.6",
|
|
81
89
|
"react": "^19.1.1",
|
|
82
90
|
"react-dom": "^19.1.1",
|
|
91
|
+
"storybook": "^10.2.8",
|
|
83
92
|
"tailwindcss": "^4.1.14",
|
|
84
93
|
"typescript": "~5.8.3",
|
|
85
94
|
"typescript-eslint": "^8.44.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="144" height="144" viewBox="0 0 144 144"><defs><style>.a{fill:#2322f0;}.b{fill:#fff;}.c{fill:#c7c7e0;}</style></defs><rect class="a" width="144" height="144"/><path class="b" d="M63.6,120H29.34a4.09,4.09,0,0,1-4.09-4.09V81.6a4.09,4.09,0,0,1,4.09-4.09H63.6a4.09,4.09,0,0,1,4.08,4.09v34.26A4.09,4.09,0,0,1,63.6,120Zm-30.18-8.18H59.51V85.68H33.42Z"/><path class="b" d="M117,120H82.71a4.09,4.09,0,0,1-4.08-4.09V81.6a4.09,4.09,0,0,1,4.08-4.09H117a4.08,4.08,0,0,1,4.08,4.09v34.26A4.08,4.08,0,0,1,117,120ZM86.8,111.77h26.09V85.68H86.8Z"/><path class="b" d="M117,67.17H82.71a4.09,4.09,0,0,1-4.08-4.09V28.82a4.09,4.09,0,0,1,4.08-4.09H117a4.08,4.08,0,0,1,4.08,4.09V63.08A4.08,4.08,0,0,1,117,67.17ZM86.8,59h26.09V32.91H86.8Z"/><rect class="c" x="36.32" y="37.44" width="17" height="17" transform="translate(-19.36 45.15) rotate(-45)"/><path class="b" d="M65.54,43.08l-17.8-17.8a4,4,0,0,0-5.78,0l-17.8,17.8a4,4,0,0,0,0,5.78L42,66.66a3.83,3.83,0,0,0,2.86,1.17,4.05,4.05,0,0,0,2.92-1.17l17.8-17.8A4.12,4.12,0,0,0,65.54,43.08ZM44.82,58l-12-12,12-12,12,12Z"/></svg>
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="144" height="144" viewBox="0 0 144 144"><defs><style>.a{fill:#2322f0;}.b{fill:#fff;}</style></defs><rect class="a" width="144" height="144"/><path class="b" d="M79.74,121.74H63.34a3.73,3.73,0,0,1-3.73-3.52L59,106.78a35.07,35.07,0,0,1-3.32-1.45l-8.18,7.44a3.76,3.76,0,0,1-5.17-.13L30.71,101a3.74,3.74,0,0,1-.14-5.12l7.6-8.55c-.48-1.07-.92-2.17-1.31-3.32l-11-.56a3.74,3.74,0,0,1-3.55-3.73V63.34a3.73,3.73,0,0,1,3.52-3.73L37.23,59c.42-1.1.89-2.18,1.42-3.24l-7.43-8.22a3.73,3.73,0,0,1,.13-5.15L43,30.72a3.75,3.75,0,0,1,5.14-.15l8.57,7.64c1.06-.47,2.15-.91,3.29-1.29l.55-11.11a3.74,3.74,0,0,1,3.74-3.55h16.4a3.75,3.75,0,0,1,3.74,3.52l.65,11.51a34.29,34.29,0,0,1,3.23,1.41l8.21-7.47a3.76,3.76,0,0,1,5.17.12L113.28,43a3.75,3.75,0,0,1,.15,5.14l-7.65,8.59q.72,1.61,1.29,3.27l11.12.56a3.74,3.74,0,0,1,3.55,3.73v16.4a3.75,3.75,0,0,1-3.52,3.74l-11.51.65a34.29,34.29,0,0,1-1.41,3.23l7.47,8.22a3.74,3.74,0,0,1-.12,5.16L101,113.28a3.74,3.74,0,0,1-5.13.15l-8.56-7.61A35,35,0,0,1,84,107.13l-.56,11.06A3.74,3.74,0,0,1,79.74,121.74Zm-12.87-7.48h9.31l.51-10.14a3.76,3.76,0,0,1,2.79-3.43,29.84,29.84,0,0,0,6.66-2.61,3.87,3.87,0,0,1,4.31.5l7.78,6.91,6.61-6.6L98,91.35a3.74,3.74,0,0,1-.44-4.44,27.15,27.15,0,0,0,2.83-6.49,3.76,3.76,0,0,1,3.39-2.69l10.51-.61v-9.3l-10.2-.51a3.76,3.76,0,0,1-3.43-2.79A29.84,29.84,0,0,0,98,57.86a3.74,3.74,0,0,1,.5-4.26l7-7.83-6.6-6.61L91.35,46a3.74,3.74,0,0,1-4.44.45,26.81,26.81,0,0,0-6.49-2.83,3.76,3.76,0,0,1-2.69-3.39l-.61-10.51H67.81l-.5,10.19a3.77,3.77,0,0,1-2.79,3.44A28.79,28.79,0,0,0,57.89,46a3.75,3.75,0,0,1-4.29-.48l-7.83-7-6.62,6.6L46,52.67a3.74,3.74,0,0,1,.43,4.43,27.51,27.51,0,0,0-2.84,6.47,3.73,3.73,0,0,1-3.38,2.69l-10.45.61v9.31l10.14.51a3.76,3.76,0,0,1,3.43,2.79A28.7,28.7,0,0,0,45.9,86.1a3.81,3.81,0,0,1,.47,1.81,3.88,3.88,0,0,1-.95,2.54L38.5,98.23l6.56,6.6L52.59,98a3.77,3.77,0,0,1,4.5-.41,25.49,25.49,0,0,0,6.46,2.86,3.72,3.72,0,0,1,2.71,3.38ZM118,80.66h0ZM72,90A18,18,0,1,1,89.94,72,17.95,17.95,0,0,1,72,90Zm0-28.41A10.46,10.46,0,1,0,82.46,72,10.47,10.47,0,0,0,72,61.54Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="144" height="144" viewBox="0 0 144 144"><defs><style>.a{fill:#9333ea;}.b{fill:#e9d5ff;}.c{fill:#fff;}</style></defs><rect class="a" width="144" height="144"/><rect class="b" x="20" y="20" width="104" height="104" rx="4"/><path class="c" d="M40,50 L60,50 M40,60 L70,60 M40,70 L65,70 M80,50 L100,50 M80,60 L104,60 M80,70 L95,70 M40,85 L55,85 M65,85 L80,85 M90,85 L104,85 M40,95 L60,95 M70,95 L90,95 M40,105 L75,105" stroke="white" stroke-width="3" stroke-linecap="round"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="144" height="144" viewBox="0 0 144 144"><defs><style>.a{fill:#66f;}.b{fill:#d0d0f7;}.c{fill:#fff;}</style></defs><rect class="a" width="144" height="144"/><rect class="b" x="30.33" y="29.23" width="31.95" height="85.54"/><path class="c" d="M117.51,21.54h-91a3.86,3.86,0,0,0-3.85,3.85v93.22a3.86,3.86,0,0,0,3.85,3.85h91a3.86,3.86,0,0,0,3.85-3.85V25.39A3.86,3.86,0,0,0,117.51,21.54ZM30.33,29.23h32v85.54H30.33Zm83.34,85.54H70V91.38h43.7Zm0-31.08H70V60.31h43.7Zm0-31.07H70V29.23h43.7Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="144" height="144" viewBox="0 0 144 144"><defs><style>.a{fill:#ea580c;}.b{fill:#fed7aa;}.c{fill:#fff;}</style></defs><rect class="a" width="144" height="144"/><rect class="b" x="20" y="35" width="104" height="74" rx="4"/><path class="c" d="M30,50 L114,50 M30,65 L114,65 M30,80 L114,80 M30,95 L114,95" stroke="white" stroke-width="2"/><circle class="c" cx="40" cy="57.5" r="4"/><circle class="c" cx="40" cy="72.5" r="4"/><circle class="c" cx="40" cy="87.5" r="4"/><rect class="c" x="55" y="53" width="50" height="9" rx="2"/><rect class="c" x="55" y="68" width="40" height="9" rx="2"/><rect class="c" x="55" y="83" width="45" height="9" rx="2"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TableOfContents.d.ts","sourceRoot":"","sources":["../../src/components/TableOfContents.tsx"],"names":[],"mappings":"AAkIA,eAAO,MAAM,eAAe,+CA4B3B,CAAA"}
|
|
@@ -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
|
-
};
|
|
Binary file
|
|
Binary file
|
package/dist/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|