braid-ui 1.0.99 → 1.0.101
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 +327 -44
- package/dist/css/braid-ui-variables.css +88 -0
- package/dist/css/braid-ui.css +4702 -0
- package/dist/css/braid-ui.min.css +1 -0
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2027 -0
- package/dist/index.d.ts +2027 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/package.json +115 -55
- package/src/styles-only.css +121 -0
- package/src/{index.css → styles.css} +4 -10
- package/components.json +0 -20
- package/eslint.config.js +0 -29
- package/index.html +0 -24
- package/postcss.config.js +0 -6
- package/public/favicon.ico +0 -0
- package/public/placeholder.svg +0 -1
- package/public/robots.txt +0 -14
- package/src/App.css +0 -42
- package/src/App.tsx +0 -94
- package/src/components/MainLayout.tsx +0 -15
- package/src/components/alerts/AlertDocuments.tsx +0 -320
- package/src/components/alerts/AlertNotes.tsx +0 -185
- package/src/components/alerts/AlertTimeline.tsx +0 -79
- package/src/components/alerts/ContextSection.tsx +0 -155
- package/src/components/app-sidebar.tsx +0 -341
- package/src/components/form-sections/ACHBankCard.tsx +0 -78
- package/src/components/form-sections/ACHBasicInfoCard.tsx +0 -100
- package/src/components/form-sections/ACHTransferSection.tsx +0 -64
- package/src/components/form-sections/AddressForm.tsx +0 -94
- package/src/components/form-sections/BankAddressCard.tsx +0 -95
- package/src/components/form-sections/BankingDetailsCard.tsx +0 -46
- package/src/components/form-sections/BasicInfoCard.tsx +0 -103
- package/src/components/form-sections/BasicInfoSection.tsx +0 -34
- package/src/components/form-sections/BeneficiaryAddress.tsx +0 -19
- package/src/components/form-sections/BeneficiaryCard.tsx +0 -41
- package/src/components/form-sections/BeneficiaryDomesticWire.tsx +0 -23
- package/src/components/form-sections/BusinessProfileCard.tsx +0 -131
- package/src/components/form-sections/BusinessStatusCard.tsx +0 -53
- package/src/components/form-sections/ContactInfoCard.tsx +0 -63
- package/src/components/form-sections/CounterpartyBasicInfo.tsx +0 -101
- package/src/components/form-sections/CounterpartyProfileCard.tsx +0 -104
- package/src/components/form-sections/CounterpartyRecordsCard.tsx +0 -41
- package/src/components/form-sections/IntermediaryCard.tsx +0 -77
- package/src/components/form-sections/IntermediaryFI.tsx +0 -41
- package/src/components/form-sections/IntermediaryFIAddress.tsx +0 -14
- package/src/components/form-sections/OriginatorCard.tsx +0 -49
- package/src/components/form-sections/OriginatorFI.tsx +0 -42
- package/src/components/form-sections/OriginatorFIAddress.tsx +0 -14
- package/src/components/form-sections/PaymentInformationSection.tsx +0 -163
- package/src/components/form-sections/ReceiverCard.tsx +0 -94
- package/src/components/form-sections/WireTransferSection.tsx +0 -75
- package/src/components/layouts/list-page.tsx +0 -103
- package/src/components/transaction/ACHDetailsSection.tsx +0 -95
- package/src/components/transaction/WireDetailsSection.tsx +0 -112
- package/src/components/ui/account-card.tsx +0 -94
- package/src/components/ui/badge.tsx +0 -75
- package/src/components/ui/breadcrumb.tsx +0 -78
- package/src/components/ui/business-type-badge.tsx +0 -42
- package/src/components/ui/button.tsx +0 -56
- package/src/components/ui/calendar.tsx +0 -49
- package/src/components/ui/card.tsx +0 -223
- package/src/components/ui/container.tsx +0 -45
- package/src/components/ui/counterparty-type-badge.tsx +0 -53
- package/src/components/ui/data-grid.tsx +0 -99
- package/src/components/ui/data-table.tsx +0 -152
- package/src/components/ui/detail-page-layout.tsx +0 -83
- package/src/components/ui/dialog.tsx +0 -120
- package/src/components/ui/dropdown-menu.tsx +0 -82
- package/src/components/ui/editable-form-card.tsx +0 -106
- package/src/components/ui/editable-info-field.tsx +0 -67
- package/src/components/ui/enhanced-input.tsx +0 -78
- package/src/components/ui/enhanced-select.tsx +0 -101
- package/src/components/ui/enhanced-textarea.tsx +0 -64
- package/src/components/ui/entity-card.tsx +0 -140
- package/src/components/ui/form-card.tsx +0 -40
- package/src/components/ui/form-field.tsx +0 -50
- package/src/components/ui/form-input.tsx +0 -29
- package/src/components/ui/form-provider.tsx +0 -18
- package/src/components/ui/form-section.tsx +0 -66
- package/src/components/ui/form-select.tsx +0 -35
- package/src/components/ui/info-field.tsx +0 -36
- package/src/components/ui/json-viewer.tsx +0 -146
- package/src/components/ui/label.tsx +0 -24
- package/src/components/ui/metric-card.tsx +0 -80
- package/src/components/ui/page-layout.tsx +0 -183
- package/src/components/ui/popover.tsx +0 -29
- package/src/components/ui/responsive-grid.tsx +0 -46
- package/src/components/ui/separator.tsx +0 -31
- package/src/components/ui/sheet.tsx +0 -140
- package/src/components/ui/sidebar.tsx +0 -775
- package/src/components/ui/sonner.tsx +0 -29
- package/src/components/ui/stack.tsx +0 -77
- package/src/components/ui/status-badge.tsx +0 -68
- package/src/components/ui/tabs.tsx +0 -52
- package/src/components/ui/toast.tsx +0 -127
- package/src/components/ui/toaster.tsx +0 -33
- package/src/components/ui/tooltip.tsx +0 -28
- package/src/components/ui/use-toast.ts +0 -3
- package/src/components/ui-kit/dashboard-demo.tsx +0 -156
- package/src/components/ui-kit/pattern-library.tsx +0 -248
- package/src/components/ui-kit/showcase.tsx +0 -211
- package/src/hooks/use-mobile.tsx +0 -19
- package/src/hooks/use-toast.ts +0 -191
- package/src/hooks/useEditState.ts +0 -70
- package/src/hooks/useFormWithEditState.ts +0 -115
- package/src/lib/constants.ts +0 -25
- package/src/lib/mock-data/alert-data.ts +0 -275
- package/src/lib/mock-data/banking-data.ts +0 -72
- package/src/lib/mock-data/business-data.ts +0 -71
- package/src/lib/mock-data/counterparty-data.ts +0 -70
- package/src/lib/mock-data/index.ts +0 -5
- package/src/lib/mock-data/transaction-data.ts +0 -283
- package/src/lib/mock-data/wire-data.ts +0 -103
- package/src/lib/mock-data.tsx +0 -180
- package/src/lib/schemas/banking-schemas.ts +0 -30
- package/src/lib/schemas/business-schemas.ts +0 -36
- package/src/lib/schemas/counterparty-schemas.ts +0 -43
- package/src/lib/schemas/index.ts +0 -5
- package/src/lib/schemas/wire-schemas.ts +0 -44
- package/src/lib/utils.ts +0 -6
- package/src/main.tsx +0 -10
- package/src/pages/Cases.tsx +0 -16
- package/src/pages/Dashboard.tsx +0 -16
- package/src/pages/NotFound.tsx +0 -27
- package/src/pages/TransactionHistory.tsx +0 -532
- package/src/pages/UIKit.tsx +0 -51
- package/src/pages/alerts/AlertDetail.tsx +0 -193
- package/src/pages/alerts/Alerts.tsx +0 -373
- package/src/pages/business/Business.tsx +0 -48
- package/src/pages/business/Create.tsx +0 -173
- package/src/pages/counterparty/Create.tsx +0 -48
- package/src/pages/counterparty/DomesticWire.tsx +0 -78
- package/src/pages/counterparty/Manage.tsx +0 -79
- package/src/pages/transactions/NewTransaction.tsx +0 -527
- package/src/pages/transactions/TransactionDetail.tsx +0 -192
- package/src/vite-env.d.ts +0 -1
- package/tailwind.config.ts +0 -124
- package/tsconfig.app.json +0 -30
- package/tsconfig.json +0 -19
- package/tsconfig.node.json +0 -22
- package/vite.config.ts +0 -22
- /package/{src/assets/braid-logo.png → dist/braid-logo-343BOQZ2.png} +0 -0
package/package.json
CHANGED
|
@@ -1,66 +1,125 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "braid-ui",
|
|
3
|
-
"
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.0.101",
|
|
4
5
|
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./components": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.js",
|
|
19
|
+
"require": "./dist/index.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./hooks": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js",
|
|
24
|
+
"require": "./dist/index.cjs"
|
|
25
|
+
},
|
|
26
|
+
"./pages": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"require": "./dist/index.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./styles": "./src/styles.css",
|
|
32
|
+
"./styles-only": "./src/styles-only.css",
|
|
33
|
+
"./css": "./dist/css/braid-ui.css",
|
|
34
|
+
"./css/min": "./dist/css/braid-ui.min.css",
|
|
35
|
+
"./css/variables": "./dist/css/braid-ui-variables.css"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"src/styles.css",
|
|
40
|
+
"src/styles-only.css"
|
|
41
|
+
],
|
|
42
|
+
"keywords": [
|
|
43
|
+
"react",
|
|
44
|
+
"ui",
|
|
45
|
+
"components",
|
|
46
|
+
"typescript",
|
|
47
|
+
"tailwindcss",
|
|
48
|
+
"radix-ui"
|
|
49
|
+
],
|
|
50
|
+
"author": "Braid UI Kit",
|
|
51
|
+
"license": "MIT",
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "https://github.com/your-username/braid-ui-kit.git"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@hookform/resolvers": ">=3.0.0",
|
|
58
|
+
"@radix-ui/react-accordion": ">=1.0.0",
|
|
59
|
+
"@radix-ui/react-alert-dialog": ">=1.0.0",
|
|
60
|
+
"@radix-ui/react-aspect-ratio": ">=1.0.0",
|
|
61
|
+
"@radix-ui/react-avatar": ">=1.0.0",
|
|
62
|
+
"@radix-ui/react-checkbox": ">=1.0.0",
|
|
63
|
+
"@radix-ui/react-collapsible": ">=1.0.0",
|
|
64
|
+
"@radix-ui/react-context-menu": ">=2.0.0",
|
|
65
|
+
"@radix-ui/react-dialog": ">=1.0.0",
|
|
66
|
+
"@radix-ui/react-dropdown-menu": ">=2.0.0",
|
|
67
|
+
"@radix-ui/react-hover-card": ">=1.0.0",
|
|
68
|
+
"@radix-ui/react-label": ">=2.0.0",
|
|
69
|
+
"@radix-ui/react-menubar": ">=1.0.0",
|
|
70
|
+
"@radix-ui/react-navigation-menu": ">=1.0.0",
|
|
71
|
+
"@radix-ui/react-popover": ">=1.0.0",
|
|
72
|
+
"@radix-ui/react-progress": ">=1.0.0",
|
|
73
|
+
"@radix-ui/react-radio-group": ">=1.0.0",
|
|
74
|
+
"@radix-ui/react-scroll-area": ">=1.0.0",
|
|
75
|
+
"@radix-ui/react-select": ">=2.0.0",
|
|
76
|
+
"@radix-ui/react-separator": ">=1.0.0",
|
|
77
|
+
"@radix-ui/react-slider": ">=1.0.0",
|
|
78
|
+
"@radix-ui/react-slot": ">=1.0.0",
|
|
79
|
+
"@radix-ui/react-switch": ">=1.0.0",
|
|
80
|
+
"@radix-ui/react-tabs": ">=1.0.0",
|
|
81
|
+
"@radix-ui/react-toast": ">=1.0.0",
|
|
82
|
+
"@radix-ui/react-toggle": ">=1.0.0",
|
|
83
|
+
"@radix-ui/react-toggle-group": ">=1.0.0",
|
|
84
|
+
"@radix-ui/react-tooltip": ">=1.0.0",
|
|
85
|
+
"@tanstack/react-query": ">=5.0.0",
|
|
86
|
+
"class-variance-authority": ">=0.7.0",
|
|
87
|
+
"clsx": ">=2.0.0",
|
|
88
|
+
"cmdk": ">=1.0.0",
|
|
89
|
+
"date-fns": ">=3.0.0",
|
|
90
|
+
"embla-carousel-react": ">=8.0.0",
|
|
91
|
+
"input-otp": ">=1.0.0",
|
|
92
|
+
"lodash": ">=4.17.0",
|
|
93
|
+
"lucide-react": ">=0.400.0",
|
|
94
|
+
"next-themes": ">=0.3.0",
|
|
95
|
+
"react": ">=18.0.0",
|
|
96
|
+
"react-day-picker": ">=9.0.0",
|
|
97
|
+
"react-dom": ">=18.0.0",
|
|
98
|
+
"react-hook-form": ">=7.0.0",
|
|
99
|
+
"react-resizable-panels": ">=2.0.0",
|
|
100
|
+
"react-router-dom": ">=6.0.0",
|
|
101
|
+
"recharts": ">=2.0.0",
|
|
102
|
+
"sonner": ">=1.0.0",
|
|
103
|
+
"tailwind-merge": ">=2.0.0",
|
|
104
|
+
"tailwindcss-animate": ">=1.0.0",
|
|
105
|
+
"vaul": ">=0.9.0",
|
|
106
|
+
"zod": ">=3.0.0"
|
|
107
|
+
},
|
|
5
108
|
"scripts": {
|
|
6
109
|
"dev": "vite",
|
|
7
110
|
"build": "vite build",
|
|
8
111
|
"build:dev": "vite build --mode development",
|
|
112
|
+
"build:lib": "tsup",
|
|
113
|
+
"build:lib:watch": "tsup --watch",
|
|
114
|
+
"build:css": "node build-css.mjs",
|
|
115
|
+
"build:all": "npm run build:lib && npm run build:css",
|
|
9
116
|
"lint": "eslint .",
|
|
10
|
-
"preview": "vite preview"
|
|
11
|
-
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@hookform/resolvers": "^3.10.0",
|
|
14
|
-
"@radix-ui/react-accordion": "^1.2.11",
|
|
15
|
-
"@radix-ui/react-alert-dialog": "^1.1.14",
|
|
16
|
-
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
|
17
|
-
"@radix-ui/react-avatar": "^1.1.10",
|
|
18
|
-
"@radix-ui/react-checkbox": "^1.3.2",
|
|
19
|
-
"@radix-ui/react-collapsible": "^1.1.11",
|
|
20
|
-
"@radix-ui/react-context-menu": "^2.2.15",
|
|
21
|
-
"@radix-ui/react-dialog": "^1.1.14",
|
|
22
|
-
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
23
|
-
"@radix-ui/react-hover-card": "^1.1.14",
|
|
24
|
-
"@radix-ui/react-label": "^2.1.7",
|
|
25
|
-
"@radix-ui/react-menubar": "^1.1.15",
|
|
26
|
-
"@radix-ui/react-navigation-menu": "^1.2.13",
|
|
27
|
-
"@radix-ui/react-popover": "^1.1.15",
|
|
28
|
-
"@radix-ui/react-progress": "^1.1.7",
|
|
29
|
-
"@radix-ui/react-radio-group": "^1.3.7",
|
|
30
|
-
"@radix-ui/react-scroll-area": "^1.2.9",
|
|
31
|
-
"@radix-ui/react-select": "^2.2.5",
|
|
32
|
-
"@radix-ui/react-separator": "^1.1.7",
|
|
33
|
-
"@radix-ui/react-slider": "^1.3.5",
|
|
34
|
-
"@radix-ui/react-slot": "^1.2.3",
|
|
35
|
-
"@radix-ui/react-switch": "^1.2.5",
|
|
36
|
-
"@radix-ui/react-tabs": "^1.1.12",
|
|
37
|
-
"@radix-ui/react-toast": "^1.2.14",
|
|
38
|
-
"@radix-ui/react-toggle": "^1.1.9",
|
|
39
|
-
"@radix-ui/react-toggle-group": "^1.1.10",
|
|
40
|
-
"@radix-ui/react-tooltip": "^1.2.7",
|
|
41
|
-
"@tanstack/react-query": "^5.83.0",
|
|
42
|
-
"class-variance-authority": "^0.7.1",
|
|
43
|
-
"clsx": "^2.1.1",
|
|
44
|
-
"cmdk": "^1.1.1",
|
|
45
|
-
"date-fns": "^3.6.0",
|
|
46
|
-
"embla-carousel-react": "^8.6.0",
|
|
47
|
-
"input-otp": "^1.4.2",
|
|
48
|
-
"lucide-react": "^0.462.0",
|
|
49
|
-
"next-themes": "^0.3.0",
|
|
50
|
-
"react": "^18.3.1",
|
|
51
|
-
"react-day-picker": "^9.11.0",
|
|
52
|
-
"react-dom": "^18.3.1",
|
|
53
|
-
"react-hook-form": "^7.61.1",
|
|
54
|
-
"react-resizable-panels": "^2.1.9",
|
|
55
|
-
"react-router-dom": "^6.30.3",
|
|
56
|
-
"recharts": "^2.15.4",
|
|
57
|
-
"sonner": "^1.7.4",
|
|
58
|
-
"tailwind-merge": "^2.6.0",
|
|
59
|
-
"tailwindcss-animate": "^1.0.7",
|
|
60
|
-
"vaul": "^0.9.9",
|
|
61
|
-
"zod": "^3.25.76"
|
|
117
|
+
"preview": "vite preview",
|
|
118
|
+
"prepublishOnly": "npm run build:all"
|
|
62
119
|
},
|
|
63
120
|
"devDependencies": {
|
|
121
|
+
"@emotion/react": "^11.14.0",
|
|
122
|
+
"@emotion/styled": "^11.14.1",
|
|
64
123
|
"@eslint/js": "^9.32.0",
|
|
65
124
|
"@tailwindcss/typography": "^0.5.16",
|
|
66
125
|
"@types/node": "^22.16.5",
|
|
@@ -72,11 +131,12 @@
|
|
|
72
131
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
73
132
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
74
133
|
"globals": "^15.15.0",
|
|
75
|
-
"lovable-tagger": "^1.1.
|
|
134
|
+
"lovable-tagger": "^1.1.9",
|
|
76
135
|
"postcss": "^8.5.6",
|
|
77
136
|
"tailwindcss": "^3.4.17",
|
|
137
|
+
"tsup": "^8.5.1",
|
|
78
138
|
"typescript": "^5.8.3",
|
|
79
139
|
"typescript-eslint": "^8.38.0",
|
|
80
|
-
"vite": "^
|
|
140
|
+
"vite": "^5.4.19"
|
|
81
141
|
}
|
|
82
142
|
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Braid UI - CSS Variables Only
|
|
3
|
+
*
|
|
4
|
+
* This file contains ONLY the CSS variable definitions without Tailwind directives.
|
|
5
|
+
* Use this if you want to import just the variables without Tailwind base styles.
|
|
6
|
+
*
|
|
7
|
+
* Import this in your CSS file:
|
|
8
|
+
* @import 'braid-ui/styles-only';
|
|
9
|
+
*
|
|
10
|
+
* Make sure you also have Tailwind configured properly (see INTEGRATION.md)
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* Definition of the design system. All colors, gradients, fonts, etc should be defined here.
|
|
14
|
+
All colors MUST be HSL.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
:root {
|
|
18
|
+
--background: 240 10% 98%;
|
|
19
|
+
--foreground: 240 10% 8%;
|
|
20
|
+
|
|
21
|
+
--card: 0 0% 100%;
|
|
22
|
+
--card-foreground: 240 10% 8%;
|
|
23
|
+
|
|
24
|
+
--popover: 0 0% 100%;
|
|
25
|
+
--popover-foreground: 240 10% 8%;
|
|
26
|
+
|
|
27
|
+
--primary: 204 100% 54%;
|
|
28
|
+
--primary-foreground: 0 0% 100%;
|
|
29
|
+
--primary-glow: 204 100% 64%;
|
|
30
|
+
|
|
31
|
+
--secondary: 240 5% 96%;
|
|
32
|
+
--secondary-foreground: 240 6% 10%;
|
|
33
|
+
|
|
34
|
+
--muted: 240 5% 96%;
|
|
35
|
+
--muted-foreground: 240 4% 60%;
|
|
36
|
+
|
|
37
|
+
--accent: 240 5% 96%;
|
|
38
|
+
--accent-foreground: 240 6% 10%;
|
|
39
|
+
|
|
40
|
+
--destructive: 0 84% 60%;
|
|
41
|
+
--destructive-foreground: 0 0% 98%;
|
|
42
|
+
|
|
43
|
+
--border: 240 6% 90%;
|
|
44
|
+
--input: 240 6% 90%;
|
|
45
|
+
--ring: 204 100% 54%;
|
|
46
|
+
|
|
47
|
+
--success: 142 76% 36%;
|
|
48
|
+
--success-foreground: 0 0% 98%;
|
|
49
|
+
|
|
50
|
+
--warning: 38 92% 50%;
|
|
51
|
+
--warning-foreground: 0 0% 98%;
|
|
52
|
+
|
|
53
|
+
/* Form-specific colors */
|
|
54
|
+
--form-background: 0 0% 100%;
|
|
55
|
+
--form-border: 240 6% 88%;
|
|
56
|
+
--form-border-focus: 204 100% 54%;
|
|
57
|
+
--form-border-error: 0 84% 60%;
|
|
58
|
+
--form-border-success: 142 76% 36%;
|
|
59
|
+
|
|
60
|
+
/* Gradients */
|
|
61
|
+
--gradient-primary: linear-gradient(135deg, hsl(204 100% 54%), hsl(204 100% 64%));
|
|
62
|
+
--gradient-subtle: linear-gradient(180deg, hsl(240 10% 98%), hsl(240 5% 96%));
|
|
63
|
+
|
|
64
|
+
/* Shadows */
|
|
65
|
+
--shadow-form: 0 1px 3px 0 hsl(240 5% 84% / 0.12), 0 1px 2px 0 hsl(240 5% 84% / 0.24);
|
|
66
|
+
--shadow-form-focus: 0 0 0 3px hsl(204 100% 54% / 0.12);
|
|
67
|
+
--shadow-form-error: 0 0 0 3px hsl(0 84% 60% / 0.12);
|
|
68
|
+
|
|
69
|
+
/* Animations */
|
|
70
|
+
--transition-form: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
71
|
+
|
|
72
|
+
--radius: 0.5rem;
|
|
73
|
+
|
|
74
|
+
--sidebar-background: 0 0% 98%;
|
|
75
|
+
--sidebar-foreground: 240 5.3% 26.1%;
|
|
76
|
+
--sidebar-primary: 240 5.9% 10%;
|
|
77
|
+
--sidebar-primary-foreground: 0 0% 98%;
|
|
78
|
+
--sidebar-accent: 240 4.8% 95.9%;
|
|
79
|
+
--sidebar-accent-foreground: 240 5.9% 10%;
|
|
80
|
+
--sidebar-border: 220 13% 91%;
|
|
81
|
+
--sidebar-ring: 217.2 91.2% 59.8%;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.dark {
|
|
85
|
+
--background: 222.2 84% 4.9%;
|
|
86
|
+
--foreground: 210 40% 98%;
|
|
87
|
+
|
|
88
|
+
--card: 222.2 84% 4.9%;
|
|
89
|
+
--card-foreground: 210 40% 98%;
|
|
90
|
+
|
|
91
|
+
--popover: 222.2 84% 4.9%;
|
|
92
|
+
--popover-foreground: 210 40% 98%;
|
|
93
|
+
|
|
94
|
+
--primary: 210 40% 98%;
|
|
95
|
+
--primary-foreground: 222.2 47.4% 11.2%;
|
|
96
|
+
|
|
97
|
+
--secondary: 217.2 32.6% 17.5%;
|
|
98
|
+
--secondary-foreground: 210 40% 98%;
|
|
99
|
+
|
|
100
|
+
--muted: 217.2 32.6% 17.5%;
|
|
101
|
+
--muted-foreground: 215 20.2% 65.1%;
|
|
102
|
+
|
|
103
|
+
--accent: 217.2 32.6% 17.5%;
|
|
104
|
+
--accent-foreground: 210 40% 98%;
|
|
105
|
+
|
|
106
|
+
--destructive: 0 62.8% 30.6%;
|
|
107
|
+
--destructive-foreground: 210 40% 98%;
|
|
108
|
+
|
|
109
|
+
--border: 217.2 32.6% 17.5%;
|
|
110
|
+
--input: 217.2 32.6% 17.5%;
|
|
111
|
+
--ring: 212.7 26.8% 83.9%;
|
|
112
|
+
--sidebar-background: 240 5.9% 10%;
|
|
113
|
+
--sidebar-foreground: 240 4.8% 95.9%;
|
|
114
|
+
--sidebar-primary: 224.3 76.3% 48%;
|
|
115
|
+
--sidebar-primary-foreground: 0 0% 100%;
|
|
116
|
+
--sidebar-accent: 240 3.7% 15.9%;
|
|
117
|
+
--sidebar-accent-foreground: 240 4.8% 95.9%;
|
|
118
|
+
--sidebar-border: 240 3.7% 15.9%;
|
|
119
|
+
--sidebar-ring: 217.2 91.2% 59.8%;
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -65,19 +65,12 @@ All colors MUST be HSL.
|
|
|
65
65
|
--radius: 0.5rem;
|
|
66
66
|
|
|
67
67
|
--sidebar-background: 0 0% 98%;
|
|
68
|
-
|
|
69
68
|
--sidebar-foreground: 240 5.3% 26.1%;
|
|
70
|
-
|
|
71
69
|
--sidebar-primary: 240 5.9% 10%;
|
|
72
|
-
|
|
73
70
|
--sidebar-primary-foreground: 0 0% 98%;
|
|
74
|
-
|
|
75
71
|
--sidebar-accent: 240 4.8% 95.9%;
|
|
76
|
-
|
|
77
72
|
--sidebar-accent-foreground: 240 5.9% 10%;
|
|
78
|
-
|
|
79
73
|
--sidebar-border: 220 13% 91%;
|
|
80
|
-
|
|
81
74
|
--sidebar-ring: 217.2 91.2% 59.8%;
|
|
82
75
|
}
|
|
83
76
|
|
|
@@ -122,10 +115,11 @@ All colors MUST be HSL.
|
|
|
122
115
|
|
|
123
116
|
@layer base {
|
|
124
117
|
* {
|
|
125
|
-
|
|
118
|
+
border-color: hsl(var(--border));
|
|
126
119
|
}
|
|
127
120
|
|
|
128
121
|
body {
|
|
129
|
-
|
|
122
|
+
background-color: hsl(var(--background));
|
|
123
|
+
color: hsl(var(--foreground));
|
|
130
124
|
}
|
|
131
|
-
}
|
|
125
|
+
}
|
package/components.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
-
"style": "default",
|
|
4
|
-
"rsc": false,
|
|
5
|
-
"tsx": true,
|
|
6
|
-
"tailwind": {
|
|
7
|
-
"config": "tailwind.config.ts",
|
|
8
|
-
"css": "src/index.css",
|
|
9
|
-
"baseColor": "slate",
|
|
10
|
-
"cssVariables": true,
|
|
11
|
-
"prefix": ""
|
|
12
|
-
},
|
|
13
|
-
"aliases": {
|
|
14
|
-
"components": "@/components",
|
|
15
|
-
"utils": "@/lib/utils",
|
|
16
|
-
"ui": "@/components/ui",
|
|
17
|
-
"lib": "@/lib",
|
|
18
|
-
"hooks": "@/hooks"
|
|
19
|
-
}
|
|
20
|
-
}
|
package/eslint.config.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import js from "@eslint/js";
|
|
2
|
-
import globals from "globals";
|
|
3
|
-
import reactHooks from "eslint-plugin-react-hooks";
|
|
4
|
-
import reactRefresh from "eslint-plugin-react-refresh";
|
|
5
|
-
import tseslint from "typescript-eslint";
|
|
6
|
-
|
|
7
|
-
export default tseslint.config(
|
|
8
|
-
{ ignores: ["dist"] },
|
|
9
|
-
{
|
|
10
|
-
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
|
11
|
-
files: ["**/*.{ts,tsx}"],
|
|
12
|
-
languageOptions: {
|
|
13
|
-
ecmaVersion: 2020,
|
|
14
|
-
globals: globals.browser,
|
|
15
|
-
},
|
|
16
|
-
plugins: {
|
|
17
|
-
"react-hooks": reactHooks,
|
|
18
|
-
"react-refresh": reactRefresh,
|
|
19
|
-
},
|
|
20
|
-
rules: {
|
|
21
|
-
...reactHooks.configs.recommended.rules,
|
|
22
|
-
"react-refresh/only-export-components": [
|
|
23
|
-
"warn",
|
|
24
|
-
{ allowConstantExport: true },
|
|
25
|
-
],
|
|
26
|
-
"@typescript-eslint/no-unused-vars": "off",
|
|
27
|
-
},
|
|
28
|
-
}
|
|
29
|
-
);
|
package/index.html
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>form-wizard-states</title>
|
|
7
|
-
<meta name="description" content="Lovable Generated Project" />
|
|
8
|
-
<meta name="author" content="Lovable" />
|
|
9
|
-
|
|
10
|
-
<meta property="og:title" content="form-wizard-states" />
|
|
11
|
-
<meta property="og:description" content="Lovable Generated Project" />
|
|
12
|
-
<meta property="og:type" content="website" />
|
|
13
|
-
<meta property="og:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
|
|
14
|
-
|
|
15
|
-
<meta name="twitter:card" content="summary_large_image" />
|
|
16
|
-
<meta name="twitter:site" content="@lovable_dev" />
|
|
17
|
-
<meta name="twitter:image" content="https://lovable.dev/opengraph-image-p98pqg.png" />
|
|
18
|
-
</head>
|
|
19
|
-
|
|
20
|
-
<body>
|
|
21
|
-
<div id="root"></div>
|
|
22
|
-
<script type="module" src="/src/main.tsx"></script>
|
|
23
|
-
</body>
|
|
24
|
-
</html>
|
package/postcss.config.js
DELETED
package/public/favicon.ico
DELETED
|
Binary file
|
package/public/placeholder.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" fill="none"><rect width="1200" height="1200" fill="#EAEAEA" rx="3"/><g opacity=".5"><g opacity=".5"><path fill="#FAFAFA" d="M600.709 736.5c-75.454 0-136.621-61.167-136.621-136.62 0-75.454 61.167-136.621 136.621-136.621 75.453 0 136.62 61.167 136.62 136.621 0 75.453-61.167 136.62-136.62 136.62Z"/><path stroke="#C9C9C9" stroke-width="2.418" d="M600.709 736.5c-75.454 0-136.621-61.167-136.621-136.62 0-75.454 61.167-136.621 136.621-136.621 75.453 0 136.62 61.167 136.62 136.621 0 75.453-61.167 136.62-136.62 136.62Z"/></g><path stroke="url(#a)" stroke-width="2.418" d="M0-1.209h553.581" transform="scale(1 -1) rotate(45 1163.11 91.165)"/><path stroke="url(#b)" stroke-width="2.418" d="M404.846 598.671h391.726"/><path stroke="url(#c)" stroke-width="2.418" d="M599.5 795.742V404.017"/><path stroke="url(#d)" stroke-width="2.418" d="m795.717 796.597-391.441-391.44"/><path fill="#fff" d="M600.709 656.704c-31.384 0-56.825-25.441-56.825-56.824 0-31.384 25.441-56.825 56.825-56.825 31.383 0 56.824 25.441 56.824 56.825 0 31.383-25.441 56.824-56.824 56.824Z"/><g clip-path="url(#e)"><path fill="#666" fill-rule="evenodd" d="M616.426 586.58h-31.434v16.176l3.553-3.554.531-.531h9.068l.074-.074 8.463-8.463h2.565l7.18 7.181V586.58Zm-15.715 14.654 3.698 3.699 1.283 1.282-2.565 2.565-1.282-1.283-5.2-5.199h-6.066l-5.514 5.514-.073.073v2.876a2.418 2.418 0 0 0 2.418 2.418h26.598a2.418 2.418 0 0 0 2.418-2.418v-8.317l-8.463-8.463-7.181 7.181-.071.072Zm-19.347 5.442v4.085a6.045 6.045 0 0 0 6.046 6.045h26.598a6.044 6.044 0 0 0 6.045-6.045v-7.108l1.356-1.355-1.282-1.283-.074-.073v-17.989h-38.689v23.43l-.146.146.146.147Z" clip-rule="evenodd"/></g><path stroke="#C9C9C9" stroke-width="2.418" d="M600.709 656.704c-31.384 0-56.825-25.441-56.825-56.824 0-31.384 25.441-56.825 56.825-56.825 31.383 0 56.824 25.441 56.824 56.825 0 31.383-25.441 56.824-56.824 56.824Z"/></g><defs><linearGradient id="a" x1="554.061" x2="-.48" y1=".083" y2=".087" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="b" x1="796.912" x2="404.507" y1="599.963" y2="599.965" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="600.792" x2="600.794" y1="403.677" y2="796.082" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><linearGradient id="d" x1="404.85" x2="796.972" y1="403.903" y2="796.02" gradientUnits="userSpaceOnUse"><stop stop-color="#C9C9C9" stop-opacity="0"/><stop offset=".208" stop-color="#C9C9C9"/><stop offset=".792" stop-color="#C9C9C9"/><stop offset="1" stop-color="#C9C9C9" stop-opacity="0"/></linearGradient><clipPath id="e"><path fill="#fff" d="M581.364 580.535h38.689v38.689h-38.689z"/></clipPath></defs></svg>
|
package/public/robots.txt
DELETED
package/src/App.css
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
#root {
|
|
2
|
-
max-width: 1280px;
|
|
3
|
-
margin: 0 auto;
|
|
4
|
-
padding: 2rem;
|
|
5
|
-
text-align: center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.logo {
|
|
9
|
-
height: 6em;
|
|
10
|
-
padding: 1.5em;
|
|
11
|
-
will-change: filter;
|
|
12
|
-
transition: filter 300ms;
|
|
13
|
-
}
|
|
14
|
-
.logo:hover {
|
|
15
|
-
filter: drop-shadow(0 0 2em #646cffaa);
|
|
16
|
-
}
|
|
17
|
-
.logo.react:hover {
|
|
18
|
-
filter: drop-shadow(0 0 2em #61dafbaa);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@keyframes logo-spin {
|
|
22
|
-
from {
|
|
23
|
-
transform: rotate(0deg);
|
|
24
|
-
}
|
|
25
|
-
to {
|
|
26
|
-
transform: rotate(360deg);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
31
|
-
a:nth-of-type(2) .logo {
|
|
32
|
-
animation: logo-spin infinite 20s linear;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.card {
|
|
37
|
-
padding: 2em;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.read-the-docs {
|
|
41
|
-
color: #888;
|
|
42
|
-
}
|
package/src/App.tsx
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { Toaster } from "@/components/ui/toaster";
|
|
2
|
-
import { Toaster as Sonner } from "@/components/ui/sonner";
|
|
3
|
-
import { TooltipProvider } from "@/components/ui/tooltip";
|
|
4
|
-
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
5
|
-
import { BrowserRouter, Routes, Route, Navigate } from "react-router-dom";
|
|
6
|
-
import { SidebarProvider } from "@/components/ui/sidebar";
|
|
7
|
-
import { AppSidebar } from "@/components/app-sidebar";
|
|
8
|
-
import { MainLayout } from "@/components/MainLayout";
|
|
9
|
-
import NotFound from "./pages/NotFound";
|
|
10
|
-
|
|
11
|
-
// Counterparty pages
|
|
12
|
-
import CounterpartyManage from "./pages/counterparty/Manage";
|
|
13
|
-
import CreateCounterparty from "./pages/counterparty/Create";
|
|
14
|
-
import CounterpartyDomesticWire from "./pages/counterparty/DomesticWire";
|
|
15
|
-
|
|
16
|
-
// Alerts pages
|
|
17
|
-
import Alerts from "./pages/alerts/Alerts";
|
|
18
|
-
import AlertDetail from "./pages/alerts/AlertDetail";
|
|
19
|
-
|
|
20
|
-
// Dashboard page
|
|
21
|
-
import Dashboard from "./pages/Dashboard";
|
|
22
|
-
|
|
23
|
-
// Cases page
|
|
24
|
-
import Cases from "./pages/Cases";
|
|
25
|
-
|
|
26
|
-
// Business pages
|
|
27
|
-
import Business from "./pages/business/Business";
|
|
28
|
-
import CreateBusiness from "./pages/business/Create";
|
|
29
|
-
|
|
30
|
-
// UI Kit pages
|
|
31
|
-
import UIKit from "./pages/UIKit";
|
|
32
|
-
|
|
33
|
-
// Transaction pages
|
|
34
|
-
import TransactionHistory from "./pages/TransactionHistory";
|
|
35
|
-
import TransactionDetail from "./pages/transactions/TransactionDetail";
|
|
36
|
-
import NewTransaction from "./pages/transactions/NewTransaction";
|
|
37
|
-
|
|
38
|
-
const queryClient = new QueryClient();
|
|
39
|
-
|
|
40
|
-
const App = () => (
|
|
41
|
-
<QueryClientProvider client={queryClient}>
|
|
42
|
-
<TooltipProvider>
|
|
43
|
-
<Toaster />
|
|
44
|
-
<Sonner />
|
|
45
|
-
<BrowserRouter>
|
|
46
|
-
<SidebarProvider>
|
|
47
|
-
<div className="flex min-h-screen w-full">
|
|
48
|
-
<AppSidebar />
|
|
49
|
-
<MainLayout>
|
|
50
|
-
<Routes>
|
|
51
|
-
<Route path="/" element={<Navigate to="/dashboard" replace />} />
|
|
52
|
-
|
|
53
|
-
{/* Dashboard Route */}
|
|
54
|
-
<Route path="/dashboard" element={<Dashboard />} />
|
|
55
|
-
|
|
56
|
-
{/* Alerts Routes */}
|
|
57
|
-
<Route path="/alerts" element={<Alerts />} />
|
|
58
|
-
<Route path="/alerts/:id" element={<AlertDetail />} />
|
|
59
|
-
<Route path="/cases" element={<Cases />} />
|
|
60
|
-
|
|
61
|
-
{/* Counterparty Routes */}
|
|
62
|
-
<Route path="/counterparty/manage" element={<CounterpartyManage />} />
|
|
63
|
-
<Route path="/counterparty/create" element={<CreateCounterparty />} />
|
|
64
|
-
<Route path="/counterparty/domestic-wire" element={<CounterpartyDomesticWire />} />
|
|
65
|
-
|
|
66
|
-
{/* Legacy redirects */}
|
|
67
|
-
<Route path="/counterparty/details" element={<Navigate to="/counterparty/manage" replace />} />
|
|
68
|
-
<Route path="/counterparty/ach" element={<Navigate to="/counterparty/manage" replace />} />
|
|
69
|
-
<Route path="/counterparty/wire" element={<Navigate to="/counterparty/manage" replace />} />
|
|
70
|
-
|
|
71
|
-
{/* Business Routes */}
|
|
72
|
-
<Route path="/business" element={<Business />} />
|
|
73
|
-
<Route path="/business/create" element={<CreateBusiness />} />
|
|
74
|
-
|
|
75
|
-
{/* UI Kit Routes */}
|
|
76
|
-
<Route path="/ui-kit" element={<UIKit />} />
|
|
77
|
-
|
|
78
|
-
{/* Transaction Routes */}
|
|
79
|
-
<Route path="/transactions/history" element={<TransactionHistory />} />
|
|
80
|
-
<Route path="/transactions/new" element={<NewTransaction />} />
|
|
81
|
-
<Route path="/transactions/:id" element={<TransactionDetail />} />
|
|
82
|
-
|
|
83
|
-
{/* Catch-all route */}
|
|
84
|
-
<Route path="*" element={<NotFound />} />
|
|
85
|
-
</Routes>
|
|
86
|
-
</MainLayout>
|
|
87
|
-
</div>
|
|
88
|
-
</SidebarProvider>
|
|
89
|
-
</BrowserRouter>
|
|
90
|
-
</TooltipProvider>
|
|
91
|
-
</QueryClientProvider>
|
|
92
|
-
);
|
|
93
|
-
|
|
94
|
-
export default App;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react"
|
|
2
|
-
|
|
3
|
-
interface MainLayoutProps {
|
|
4
|
-
children: ReactNode
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export const MainLayout = ({ children }: MainLayoutProps) => {
|
|
8
|
-
return (
|
|
9
|
-
<div className="flex min-h-screen w-full">
|
|
10
|
-
<main className="flex-1 pl-4">
|
|
11
|
-
{children}
|
|
12
|
-
</main>
|
|
13
|
-
</div>
|
|
14
|
-
)
|
|
15
|
-
}
|