braid-ui 1.0.97 → 1.0.99
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 +44 -327
- package/components.json +20 -0
- package/eslint.config.js +29 -0
- package/index.html +24 -0
- package/package.json +55 -115
- package/postcss.config.js +6 -0
- package/public/favicon.ico +0 -0
- package/public/placeholder.svg +1 -0
- package/public/robots.txt +14 -0
- package/src/App.css +42 -0
- package/src/App.tsx +94 -0
- package/src/components/MainLayout.tsx +15 -0
- package/src/components/alerts/AlertDocuments.tsx +320 -0
- package/src/components/alerts/AlertNotes.tsx +185 -0
- package/src/components/alerts/AlertTimeline.tsx +79 -0
- package/src/components/alerts/ContextSection.tsx +155 -0
- package/src/components/app-sidebar.tsx +341 -0
- package/src/components/form-sections/ACHBankCard.tsx +78 -0
- package/src/components/form-sections/ACHBasicInfoCard.tsx +100 -0
- package/src/components/form-sections/ACHTransferSection.tsx +64 -0
- package/src/components/form-sections/AddressForm.tsx +94 -0
- package/src/components/form-sections/BankAddressCard.tsx +95 -0
- package/src/components/form-sections/BankingDetailsCard.tsx +46 -0
- package/src/components/form-sections/BasicInfoCard.tsx +103 -0
- package/src/components/form-sections/BasicInfoSection.tsx +34 -0
- package/src/components/form-sections/BeneficiaryAddress.tsx +19 -0
- package/src/components/form-sections/BeneficiaryCard.tsx +41 -0
- package/src/components/form-sections/BeneficiaryDomesticWire.tsx +23 -0
- package/src/components/form-sections/BusinessProfileCard.tsx +131 -0
- package/src/components/form-sections/BusinessStatusCard.tsx +53 -0
- package/src/components/form-sections/ContactInfoCard.tsx +63 -0
- package/src/components/form-sections/CounterpartyBasicInfo.tsx +101 -0
- package/src/components/form-sections/CounterpartyProfileCard.tsx +104 -0
- package/src/components/form-sections/CounterpartyRecordsCard.tsx +41 -0
- package/src/components/form-sections/IntermediaryCard.tsx +77 -0
- package/src/components/form-sections/IntermediaryFI.tsx +41 -0
- package/src/components/form-sections/IntermediaryFIAddress.tsx +14 -0
- package/src/components/form-sections/OriginatorCard.tsx +49 -0
- package/src/components/form-sections/OriginatorFI.tsx +42 -0
- package/src/components/form-sections/OriginatorFIAddress.tsx +14 -0
- package/src/components/form-sections/PaymentInformationSection.tsx +163 -0
- package/src/components/form-sections/ReceiverCard.tsx +94 -0
- package/src/components/form-sections/WireTransferSection.tsx +75 -0
- package/src/components/layouts/list-page.tsx +103 -0
- package/src/components/transaction/ACHDetailsSection.tsx +95 -0
- package/src/components/transaction/WireDetailsSection.tsx +112 -0
- package/src/components/ui/account-card.tsx +94 -0
- package/src/components/ui/badge.tsx +75 -0
- package/src/components/ui/breadcrumb.tsx +78 -0
- package/src/components/ui/business-type-badge.tsx +42 -0
- package/src/components/ui/button.tsx +56 -0
- package/src/components/ui/calendar.tsx +49 -0
- package/src/components/ui/card.tsx +223 -0
- package/src/components/ui/container.tsx +45 -0
- package/src/components/ui/counterparty-type-badge.tsx +53 -0
- package/src/components/ui/data-grid.tsx +99 -0
- package/src/components/ui/data-table.tsx +152 -0
- package/src/components/ui/detail-page-layout.tsx +83 -0
- package/src/components/ui/dialog.tsx +120 -0
- package/src/components/ui/dropdown-menu.tsx +82 -0
- package/src/components/ui/editable-form-card.tsx +106 -0
- package/src/components/ui/editable-info-field.tsx +67 -0
- package/src/components/ui/enhanced-input.tsx +78 -0
- package/src/components/ui/enhanced-select.tsx +101 -0
- package/src/components/ui/enhanced-textarea.tsx +64 -0
- package/src/components/ui/entity-card.tsx +140 -0
- package/src/components/ui/form-card.tsx +40 -0
- package/src/components/ui/form-field.tsx +50 -0
- package/src/components/ui/form-input.tsx +29 -0
- package/src/components/ui/form-provider.tsx +18 -0
- package/src/components/ui/form-section.tsx +66 -0
- package/src/components/ui/form-select.tsx +35 -0
- package/src/components/ui/info-field.tsx +36 -0
- package/src/components/ui/json-viewer.tsx +146 -0
- package/src/components/ui/label.tsx +24 -0
- package/src/components/ui/metric-card.tsx +80 -0
- package/src/components/ui/page-layout.tsx +183 -0
- package/src/components/ui/popover.tsx +29 -0
- package/src/components/ui/responsive-grid.tsx +46 -0
- package/src/components/ui/separator.tsx +31 -0
- package/src/components/ui/sheet.tsx +140 -0
- package/src/components/ui/sidebar.tsx +775 -0
- package/src/components/ui/sonner.tsx +29 -0
- package/src/components/ui/stack.tsx +77 -0
- package/src/components/ui/status-badge.tsx +68 -0
- package/src/components/ui/tabs.tsx +52 -0
- package/src/components/ui/toast.tsx +127 -0
- package/src/components/ui/toaster.tsx +33 -0
- package/src/components/ui/tooltip.tsx +28 -0
- package/src/components/ui/use-toast.ts +3 -0
- package/src/components/ui-kit/dashboard-demo.tsx +156 -0
- package/src/components/ui-kit/pattern-library.tsx +248 -0
- package/src/components/ui-kit/showcase.tsx +211 -0
- package/src/hooks/use-mobile.tsx +19 -0
- package/src/hooks/use-toast.ts +191 -0
- package/src/hooks/useEditState.ts +70 -0
- package/src/hooks/useFormWithEditState.ts +115 -0
- package/src/{styles.css → index.css} +10 -4
- package/src/lib/constants.ts +25 -0
- package/src/lib/mock-data/alert-data.ts +275 -0
- package/src/lib/mock-data/banking-data.ts +72 -0
- package/src/lib/mock-data/business-data.ts +71 -0
- package/src/lib/mock-data/counterparty-data.ts +70 -0
- package/src/lib/mock-data/index.ts +5 -0
- package/src/lib/mock-data/transaction-data.ts +283 -0
- package/src/lib/mock-data/wire-data.ts +103 -0
- package/src/lib/mock-data.tsx +180 -0
- package/src/lib/schemas/banking-schemas.ts +30 -0
- package/src/lib/schemas/business-schemas.ts +36 -0
- package/src/lib/schemas/counterparty-schemas.ts +43 -0
- package/src/lib/schemas/index.ts +5 -0
- package/src/lib/schemas/wire-schemas.ts +44 -0
- package/src/lib/utils.ts +6 -0
- package/src/main.tsx +10 -0
- package/src/pages/Cases.tsx +16 -0
- package/src/pages/Dashboard.tsx +16 -0
- package/src/pages/NotFound.tsx +27 -0
- package/src/pages/TransactionHistory.tsx +532 -0
- package/src/pages/UIKit.tsx +51 -0
- package/src/pages/alerts/AlertDetail.tsx +193 -0
- package/src/pages/alerts/Alerts.tsx +373 -0
- package/src/pages/business/Business.tsx +48 -0
- package/src/pages/business/Create.tsx +173 -0
- package/src/pages/counterparty/Create.tsx +48 -0
- package/src/pages/counterparty/DomesticWire.tsx +78 -0
- package/src/pages/counterparty/Manage.tsx +79 -0
- package/src/pages/transactions/NewTransaction.tsx +527 -0
- package/src/pages/transactions/TransactionDetail.tsx +192 -0
- package/src/vite-env.d.ts +1 -0
- package/tailwind.config.ts +124 -0
- package/tsconfig.app.json +30 -0
- package/tsconfig.json +19 -0
- package/tsconfig.node.json +22 -0
- package/vite.config.ts +22 -0
- package/dist/css/braid-ui-variables.css +0 -88
- package/dist/css/braid-ui.css +0 -4484
- package/dist/css/braid-ui.min.css +0 -1
- package/dist/index.cjs +0 -4
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -2429
- package/dist/index.d.ts +0 -2429
- package/dist/index.js +0 -4
- package/dist/index.js.map +0 -1
- package/src/styles-only.css +0 -121
- /package/{dist/braid-logo-343BOQZ2.png → src/assets/braid-logo.png} +0 -0
package/src/styles-only.css
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
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
|
-
|
|
File without changes
|