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.
Files changed (145) hide show
  1. package/README.md +44 -327
  2. package/components.json +20 -0
  3. package/eslint.config.js +29 -0
  4. package/index.html +24 -0
  5. package/package.json +55 -115
  6. package/postcss.config.js +6 -0
  7. package/public/favicon.ico +0 -0
  8. package/public/placeholder.svg +1 -0
  9. package/public/robots.txt +14 -0
  10. package/src/App.css +42 -0
  11. package/src/App.tsx +94 -0
  12. package/src/components/MainLayout.tsx +15 -0
  13. package/src/components/alerts/AlertDocuments.tsx +320 -0
  14. package/src/components/alerts/AlertNotes.tsx +185 -0
  15. package/src/components/alerts/AlertTimeline.tsx +79 -0
  16. package/src/components/alerts/ContextSection.tsx +155 -0
  17. package/src/components/app-sidebar.tsx +341 -0
  18. package/src/components/form-sections/ACHBankCard.tsx +78 -0
  19. package/src/components/form-sections/ACHBasicInfoCard.tsx +100 -0
  20. package/src/components/form-sections/ACHTransferSection.tsx +64 -0
  21. package/src/components/form-sections/AddressForm.tsx +94 -0
  22. package/src/components/form-sections/BankAddressCard.tsx +95 -0
  23. package/src/components/form-sections/BankingDetailsCard.tsx +46 -0
  24. package/src/components/form-sections/BasicInfoCard.tsx +103 -0
  25. package/src/components/form-sections/BasicInfoSection.tsx +34 -0
  26. package/src/components/form-sections/BeneficiaryAddress.tsx +19 -0
  27. package/src/components/form-sections/BeneficiaryCard.tsx +41 -0
  28. package/src/components/form-sections/BeneficiaryDomesticWire.tsx +23 -0
  29. package/src/components/form-sections/BusinessProfileCard.tsx +131 -0
  30. package/src/components/form-sections/BusinessStatusCard.tsx +53 -0
  31. package/src/components/form-sections/ContactInfoCard.tsx +63 -0
  32. package/src/components/form-sections/CounterpartyBasicInfo.tsx +101 -0
  33. package/src/components/form-sections/CounterpartyProfileCard.tsx +104 -0
  34. package/src/components/form-sections/CounterpartyRecordsCard.tsx +41 -0
  35. package/src/components/form-sections/IntermediaryCard.tsx +77 -0
  36. package/src/components/form-sections/IntermediaryFI.tsx +41 -0
  37. package/src/components/form-sections/IntermediaryFIAddress.tsx +14 -0
  38. package/src/components/form-sections/OriginatorCard.tsx +49 -0
  39. package/src/components/form-sections/OriginatorFI.tsx +42 -0
  40. package/src/components/form-sections/OriginatorFIAddress.tsx +14 -0
  41. package/src/components/form-sections/PaymentInformationSection.tsx +163 -0
  42. package/src/components/form-sections/ReceiverCard.tsx +94 -0
  43. package/src/components/form-sections/WireTransferSection.tsx +75 -0
  44. package/src/components/layouts/list-page.tsx +103 -0
  45. package/src/components/transaction/ACHDetailsSection.tsx +95 -0
  46. package/src/components/transaction/WireDetailsSection.tsx +112 -0
  47. package/src/components/ui/account-card.tsx +94 -0
  48. package/src/components/ui/badge.tsx +75 -0
  49. package/src/components/ui/breadcrumb.tsx +78 -0
  50. package/src/components/ui/business-type-badge.tsx +42 -0
  51. package/src/components/ui/button.tsx +56 -0
  52. package/src/components/ui/calendar.tsx +49 -0
  53. package/src/components/ui/card.tsx +223 -0
  54. package/src/components/ui/container.tsx +45 -0
  55. package/src/components/ui/counterparty-type-badge.tsx +53 -0
  56. package/src/components/ui/data-grid.tsx +99 -0
  57. package/src/components/ui/data-table.tsx +152 -0
  58. package/src/components/ui/detail-page-layout.tsx +83 -0
  59. package/src/components/ui/dialog.tsx +120 -0
  60. package/src/components/ui/dropdown-menu.tsx +82 -0
  61. package/src/components/ui/editable-form-card.tsx +106 -0
  62. package/src/components/ui/editable-info-field.tsx +67 -0
  63. package/src/components/ui/enhanced-input.tsx +78 -0
  64. package/src/components/ui/enhanced-select.tsx +101 -0
  65. package/src/components/ui/enhanced-textarea.tsx +64 -0
  66. package/src/components/ui/entity-card.tsx +140 -0
  67. package/src/components/ui/form-card.tsx +40 -0
  68. package/src/components/ui/form-field.tsx +50 -0
  69. package/src/components/ui/form-input.tsx +29 -0
  70. package/src/components/ui/form-provider.tsx +18 -0
  71. package/src/components/ui/form-section.tsx +66 -0
  72. package/src/components/ui/form-select.tsx +35 -0
  73. package/src/components/ui/info-field.tsx +36 -0
  74. package/src/components/ui/json-viewer.tsx +146 -0
  75. package/src/components/ui/label.tsx +24 -0
  76. package/src/components/ui/metric-card.tsx +80 -0
  77. package/src/components/ui/page-layout.tsx +183 -0
  78. package/src/components/ui/popover.tsx +29 -0
  79. package/src/components/ui/responsive-grid.tsx +46 -0
  80. package/src/components/ui/separator.tsx +31 -0
  81. package/src/components/ui/sheet.tsx +140 -0
  82. package/src/components/ui/sidebar.tsx +775 -0
  83. package/src/components/ui/sonner.tsx +29 -0
  84. package/src/components/ui/stack.tsx +77 -0
  85. package/src/components/ui/status-badge.tsx +68 -0
  86. package/src/components/ui/tabs.tsx +52 -0
  87. package/src/components/ui/toast.tsx +127 -0
  88. package/src/components/ui/toaster.tsx +33 -0
  89. package/src/components/ui/tooltip.tsx +28 -0
  90. package/src/components/ui/use-toast.ts +3 -0
  91. package/src/components/ui-kit/dashboard-demo.tsx +156 -0
  92. package/src/components/ui-kit/pattern-library.tsx +248 -0
  93. package/src/components/ui-kit/showcase.tsx +211 -0
  94. package/src/hooks/use-mobile.tsx +19 -0
  95. package/src/hooks/use-toast.ts +191 -0
  96. package/src/hooks/useEditState.ts +70 -0
  97. package/src/hooks/useFormWithEditState.ts +115 -0
  98. package/src/{styles.css → index.css} +10 -4
  99. package/src/lib/constants.ts +25 -0
  100. package/src/lib/mock-data/alert-data.ts +275 -0
  101. package/src/lib/mock-data/banking-data.ts +72 -0
  102. package/src/lib/mock-data/business-data.ts +71 -0
  103. package/src/lib/mock-data/counterparty-data.ts +70 -0
  104. package/src/lib/mock-data/index.ts +5 -0
  105. package/src/lib/mock-data/transaction-data.ts +283 -0
  106. package/src/lib/mock-data/wire-data.ts +103 -0
  107. package/src/lib/mock-data.tsx +180 -0
  108. package/src/lib/schemas/banking-schemas.ts +30 -0
  109. package/src/lib/schemas/business-schemas.ts +36 -0
  110. package/src/lib/schemas/counterparty-schemas.ts +43 -0
  111. package/src/lib/schemas/index.ts +5 -0
  112. package/src/lib/schemas/wire-schemas.ts +44 -0
  113. package/src/lib/utils.ts +6 -0
  114. package/src/main.tsx +10 -0
  115. package/src/pages/Cases.tsx +16 -0
  116. package/src/pages/Dashboard.tsx +16 -0
  117. package/src/pages/NotFound.tsx +27 -0
  118. package/src/pages/TransactionHistory.tsx +532 -0
  119. package/src/pages/UIKit.tsx +51 -0
  120. package/src/pages/alerts/AlertDetail.tsx +193 -0
  121. package/src/pages/alerts/Alerts.tsx +373 -0
  122. package/src/pages/business/Business.tsx +48 -0
  123. package/src/pages/business/Create.tsx +173 -0
  124. package/src/pages/counterparty/Create.tsx +48 -0
  125. package/src/pages/counterparty/DomesticWire.tsx +78 -0
  126. package/src/pages/counterparty/Manage.tsx +79 -0
  127. package/src/pages/transactions/NewTransaction.tsx +527 -0
  128. package/src/pages/transactions/TransactionDetail.tsx +192 -0
  129. package/src/vite-env.d.ts +1 -0
  130. package/tailwind.config.ts +124 -0
  131. package/tsconfig.app.json +30 -0
  132. package/tsconfig.json +19 -0
  133. package/tsconfig.node.json +22 -0
  134. package/vite.config.ts +22 -0
  135. package/dist/css/braid-ui-variables.css +0 -88
  136. package/dist/css/braid-ui.css +0 -4484
  137. package/dist/css/braid-ui.min.css +0 -1
  138. package/dist/index.cjs +0 -4
  139. package/dist/index.cjs.map +0 -1
  140. package/dist/index.d.cts +0 -2429
  141. package/dist/index.d.ts +0 -2429
  142. package/dist/index.js +0 -4
  143. package/dist/index.js.map +0 -1
  144. package/src/styles-only.css +0 -121
  145. /package/{dist/braid-logo-343BOQZ2.png → src/assets/braid-logo.png} +0 -0
@@ -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
-