react-groundwork 0.0.0-stage → 0.1.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.
Files changed (93) hide show
  1. package/.env.example +6 -0
  2. package/.gitattributes +2 -0
  3. package/.prettierignore +7 -0
  4. package/.prettierrc.json +12 -0
  5. package/README.md +24 -2
  6. package/cli/index.js +119 -0
  7. package/components.json +25 -0
  8. package/eslint.config.js +17 -0
  9. package/index.html +13 -0
  10. package/jsconfig.json +8 -0
  11. package/package.json +111 -4
  12. package/public/.htaccess +11 -0
  13. package/public/logo.png +0 -0
  14. package/src/App.jsx +14 -0
  15. package/src/api/api.routes.js +12 -0
  16. package/src/api/api.services.js +8 -0
  17. package/src/api/apiCall.js +128 -0
  18. package/src/api/apiHelpers.js +20 -0
  19. package/src/assets/css/index.css +173 -0
  20. package/src/assets/images/placeholders/placeholder-170x166.png +0 -0
  21. package/src/assets/images/placeholders/placeholder-360x260.png +0 -0
  22. package/src/assets/images/placeholders/placeholder-372x225.png +0 -0
  23. package/src/assets/images/placeholders/placeholder-40x40.png +0 -0
  24. package/src/assets/images/placeholders/placeholder-451x392.png +0 -0
  25. package/src/components/common/AppChart.jsx +56 -0
  26. package/src/components/common/Breadcrumbs.jsx +90 -0
  27. package/src/components/common/DataTable.jsx +203 -0
  28. package/src/components/common/DatePicker.jsx +275 -0
  29. package/src/components/common/DialogComponent.jsx +308 -0
  30. package/src/components/common/ErrorStateComponent.jsx +46 -0
  31. package/src/components/common/FullscreenToggle.jsx +54 -0
  32. package/src/components/common/HeadingComponent.jsx +29 -0
  33. package/src/components/common/LoadingComponent.jsx +33 -0
  34. package/src/components/common/NetworkStatus.jsx +103 -0
  35. package/src/components/common/NoDataComponent.jsx +45 -0
  36. package/src/components/common/Pagination.jsx +128 -0
  37. package/src/components/common/ParagraphComponent.jsx +14 -0
  38. package/src/components/common/PhoneInputComponent.jsx +242 -0
  39. package/src/components/common/ReactSelect.jsx +145 -0
  40. package/src/components/common/SearchSelect.jsx +176 -0
  41. package/src/components/common/SeeMore.jsx +26 -0
  42. package/src/components/common/SortableHeader.jsx +23 -0
  43. package/src/components/common/theme-toggle.jsx +39 -0
  44. package/src/components/layout/AuthLayout.jsx +90 -0
  45. package/src/components/layout/PageLayout.jsx +32 -0
  46. package/src/components/layout/SidebarLayout.jsx +233 -0
  47. package/src/components/ui/avatar.jsx +84 -0
  48. package/src/components/ui/badge.jsx +43 -0
  49. package/src/components/ui/button.jsx +44 -0
  50. package/src/components/ui/card.jsx +69 -0
  51. package/src/components/ui/checkbox.jsx +25 -0
  52. package/src/components/ui/dialog.jsx +149 -0
  53. package/src/components/ui/empty.jsx +82 -0
  54. package/src/components/ui/input.jsx +19 -0
  55. package/src/components/ui/label.jsx +19 -0
  56. package/src/components/ui/select.jsx +156 -0
  57. package/src/components/ui/skeleton.jsx +7 -0
  58. package/src/components/ui/sonner.jsx +37 -0
  59. package/src/components/ui/switch.jsx +23 -0
  60. package/src/components/ui/table.jsx +74 -0
  61. package/src/components/ui/textarea.jsx +16 -0
  62. package/src/constants/constant.js +16 -0
  63. package/src/context/theme-provider.jsx +48 -0
  64. package/src/features/components/ComponentFormDialog.jsx +162 -0
  65. package/src/features/components/ComponentsTable.jsx +219 -0
  66. package/src/features/components/componentStyles.js +16 -0
  67. package/src/features/components/mockData.js +407 -0
  68. package/src/features/playground/BasicsSection.jsx +122 -0
  69. package/src/features/playground/DataSection.jsx +210 -0
  70. package/src/features/playground/DemoCard.jsx +21 -0
  71. package/src/features/playground/FeedbackSection.jsx +309 -0
  72. package/src/features/playground/FormsSection.jsx +188 -0
  73. package/src/features/playground/UtilitiesSection.jsx +200 -0
  74. package/src/hooks/useApiHandler.jsx +82 -0
  75. package/src/hooks/useDebounce.js +12 -0
  76. package/src/lib/utils.js +1 -0
  77. package/src/main.jsx +16 -0
  78. package/src/pages/auth/ForgotPasswordPage.jsx +101 -0
  79. package/src/pages/auth/LoginPage.jsx +120 -0
  80. package/src/pages/auth/SignupPage.jsx +135 -0
  81. package/src/pages/views/ComponentsPage.jsx +316 -0
  82. package/src/pages/views/DashboardPage.jsx +260 -0
  83. package/src/pages/views/LandingPage.jsx +772 -0
  84. package/src/pages/views/NotFoundPage.jsx +30 -0
  85. package/src/pages/views/PlaygroundPage.jsx +50 -0
  86. package/src/routes/AppRoutes.jsx +29 -0
  87. package/src/routes/ProtectedRoute.jsx +18 -0
  88. package/src/utils/exportCsv.js +17 -0
  89. package/src/utils/formatCurrency.js +19 -0
  90. package/src/utils/formatDateTime.js +34 -0
  91. package/src/utils/handleSessionExpire.js +22 -0
  92. package/src/utils/logger.js +34 -0
  93. package/vite.config.js +23 -0
@@ -0,0 +1,219 @@
1
+ import { motion } from "framer-motion";
2
+ import { ArrowDown, ArrowUp, ArrowUpDown, Boxes, Pencil, Trash2 } from "lucide-react";
3
+ import { cn } from "@/lib/utils";
4
+ import { Button } from "@/components/ui/button";
5
+ import { Checkbox } from "@/components/ui/checkbox";
6
+ import NoDataComponent from "@/components/common/NoDataComponent";
7
+ import { formatDateTime } from "@/utils/formatDateTime";
8
+ import { CATEGORY_STYLES, STATUS_STYLES } from "@/features/components/componentStyles";
9
+
10
+ const COLUMNS = [
11
+ { key: "name", label: "Component", sortable: true },
12
+ { key: "category", label: "Category", sortable: true },
13
+ { key: "tags", label: "Tags", sortable: false },
14
+ { key: "status", label: "Status", sortable: true },
15
+ { key: "updatedAt", label: "Updated", sortable: true },
16
+ ];
17
+
18
+ const MAX_VISIBLE_TAGS = 2;
19
+
20
+ const HeaderLabel = ({ children }) => (
21
+ <span className="text-[11px] font-semibold tracking-wider text-muted-foreground uppercase">{children}</span>
22
+ );
23
+
24
+ const SortButton = ({ column, sortBy, sortOrder, onSort }) => {
25
+ const active = sortBy === column.key;
26
+ const Icon = active ? (sortOrder === "asc" ? ArrowUp : ArrowDown) : ArrowUpDown;
27
+
28
+ return (
29
+ <button
30
+ type="button"
31
+ onClick={() => onSort(column.key)}
32
+ className={cn(
33
+ "inline-flex items-center gap-1.5 text-[11px] font-semibold tracking-wider uppercase transition-colors hover:text-foreground",
34
+ active ? "text-foreground" : "text-muted-foreground",
35
+ )}
36
+ >
37
+ {column.label}
38
+ <Icon className={cn("h-3.5 w-3.5", active ? "text-primary" : "opacity-50")} />
39
+ </button>
40
+ );
41
+ };
42
+
43
+ export const CategoryBadge = ({ category }) => (
44
+ <span
45
+ className={cn(
46
+ "inline-flex items-center rounded-md px-2 py-0.5 text-xs font-medium ring-1 ring-inset",
47
+ CATEGORY_STYLES[category],
48
+ )}
49
+ >
50
+ {category}
51
+ </span>
52
+ );
53
+
54
+ export const StatusBadge = ({ status }) => {
55
+ const style = STATUS_STYLES[status] ?? STATUS_STYLES.Beta;
56
+ return (
57
+ <span
58
+ className={cn(
59
+ "inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-xs font-medium whitespace-nowrap",
60
+ style.pill,
61
+ )}
62
+ >
63
+ <span className={cn("h-1.5 w-1.5 rounded-full", style.dot)} />
64
+ {status}
65
+ </span>
66
+ );
67
+ };
68
+
69
+ const TagList = ({ tags }) => {
70
+ const visible = tags.slice(0, MAX_VISIBLE_TAGS);
71
+ const hidden = tags.slice(MAX_VISIBLE_TAGS);
72
+
73
+ return (
74
+ <div className="flex flex-wrap items-center gap-1">
75
+ {visible.map((tag) => (
76
+ <span
77
+ key={tag}
78
+ className="inline-flex items-center rounded-md bg-muted px-2 py-0.5 text-xs font-medium text-foreground/80"
79
+ >
80
+ {tag}
81
+ </span>
82
+ ))}
83
+ {hidden.length > 0 && (
84
+ <span
85
+ title={hidden.join(", ")}
86
+ className="inline-flex items-center rounded-md bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground"
87
+ >
88
+ +{hidden.length}
89
+ </span>
90
+ )}
91
+ </div>
92
+ );
93
+ };
94
+
95
+ const ComponentsTable = ({
96
+ rows,
97
+ sortBy,
98
+ sortOrder,
99
+ onSort,
100
+ selectedIds,
101
+ onToggleRow,
102
+ onToggleAll,
103
+ onEdit,
104
+ onDelete,
105
+ emptyTitle,
106
+ emptyDescription,
107
+ }) => {
108
+ const selectedOnPage = rows.filter((row) => selectedIds.has(row.id)).length;
109
+ const allSelected = rows.length > 0 && selectedOnPage === rows.length;
110
+ const someSelected = selectedOnPage > 0 && !allSelected;
111
+
112
+ return (
113
+ <div className="relative min-h-0 flex-1 overflow-auto">
114
+ <table className="w-full min-w-200 border-separate border-spacing-0 text-sm">
115
+ <thead>
116
+ <tr className="[&>th]:sticky [&>th]:top-0 [&>th]:z-10 [&>th]:h-11 [&>th]:border-b [&>th]:border-border [&>th]:bg-muted/60 [&>th]:px-4 [&>th]:text-left [&>th]:backdrop-blur">
117
+ <th className="w-12">
118
+ <Checkbox
119
+ checked={allSelected}
120
+ indeterminate={someSelected}
121
+ onCheckedChange={(checked) => onToggleAll(checked)}
122
+ aria-label="Select all components on this page"
123
+ />
124
+ </th>
125
+ {COLUMNS.map((column) => (
126
+ <th key={column.key}>
127
+ {column.sortable ? (
128
+ <SortButton column={column} sortBy={sortBy} sortOrder={sortOrder} onSort={onSort} />
129
+ ) : (
130
+ <HeaderLabel>{column.label}</HeaderLabel>
131
+ )}
132
+ </th>
133
+ ))}
134
+ <th className="w-24 text-right">
135
+ <HeaderLabel>Actions</HeaderLabel>
136
+ </th>
137
+ </tr>
138
+ </thead>
139
+
140
+ <tbody>
141
+ {rows.length === 0 ? (
142
+ <tr>
143
+ <td colSpan={COLUMNS.length + 2}>
144
+ <NoDataComponent icon={Boxes} title={emptyTitle} description={emptyDescription} />
145
+ </td>
146
+ </tr>
147
+ ) : (
148
+ rows.map((row, idx) => {
149
+ const isSelected = selectedIds.has(row.id);
150
+ return (
151
+ <motion.tr
152
+ key={row.id}
153
+ initial={{ opacity: 0, y: 6 }}
154
+ animate={{ opacity: 1, y: 0 }}
155
+ transition={{ duration: 0.25, delay: idx * 0.03, ease: "easeOut" }}
156
+ className={cn(
157
+ "group transition-colors [&>td]:border-b [&>td]:border-border/60 [&>td]:px-4 [&>td]:py-3",
158
+ isSelected ? "bg-primary/5" : "hover:bg-muted/40",
159
+ )}
160
+ >
161
+ <td className="relative">
162
+ {isSelected && <span className="absolute inset-y-0 left-0 w-0.5 bg-primary" />}
163
+ <Checkbox
164
+ checked={isSelected}
165
+ onCheckedChange={() => onToggleRow(row.id)}
166
+ aria-label={`Select ${row.name}`}
167
+ />
168
+ </td>
169
+ <td className="max-w-96">
170
+ <p className="truncate font-medium text-foreground">{row.name}</p>
171
+ <p className="truncate font-mono text-[11px] text-muted-foreground">{row.path}</p>
172
+ </td>
173
+ <td>
174
+ <CategoryBadge category={row.category} />
175
+ </td>
176
+ <td>
177
+ <TagList tags={row.tags} />
178
+ </td>
179
+ <td>
180
+ <StatusBadge status={row.status} />
181
+ </td>
182
+ <td className="whitespace-nowrap text-muted-foreground">
183
+ {formatDateTime({ dateInput: row.updatedAt, type: "date" })}
184
+ </td>
185
+ <td>
186
+ <div className="flex items-center justify-end gap-1 opacity-70 transition-opacity group-hover:opacity-100">
187
+ <Button
188
+ variant="ghost"
189
+ size="icon-sm"
190
+ title="Edit"
191
+ onClick={() => onEdit(row)}
192
+ className="rounded-full text-muted-foreground hover:bg-primary/10 hover:text-primary"
193
+ >
194
+ <Pencil />
195
+ <span className="sr-only">Edit {row.name}</span>
196
+ </Button>
197
+ <Button
198
+ variant="ghost"
199
+ size="icon-sm"
200
+ title="Delete"
201
+ onClick={() => onDelete(row)}
202
+ className="rounded-full text-muted-foreground hover:bg-destructive/10 hover:text-destructive"
203
+ >
204
+ <Trash2 />
205
+ <span className="sr-only">Delete {row.name}</span>
206
+ </Button>
207
+ </div>
208
+ </td>
209
+ </motion.tr>
210
+ );
211
+ })
212
+ )}
213
+ </tbody>
214
+ </table>
215
+ </div>
216
+ );
217
+ };
218
+
219
+ export default ComponentsTable;
@@ -0,0 +1,16 @@
1
+ export const STATUS_STYLES = {
2
+ Stable: { pill: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400", dot: "bg-emerald-500" },
3
+ Beta: { pill: "bg-amber-500/10 text-amber-600 dark:text-amber-400", dot: "bg-amber-500" },
4
+ };
5
+
6
+ const NEUTRAL_TAG = "bg-foreground/5 text-muted-foreground ring-foreground/10";
7
+
8
+ export const CATEGORY_STYLES = {
9
+ UI: NEUTRAL_TAG,
10
+ Common: NEUTRAL_TAG,
11
+ Layout: NEUTRAL_TAG,
12
+ };
13
+
14
+ export const SORT_RANKS = {
15
+ status: { Stable: 0, Beta: 1 },
16
+ };
@@ -0,0 +1,407 @@
1
+ export const COMPONENT_STATUSES = ["Stable", "Beta"];
2
+
3
+ export const COMPONENT_CATEGORIES = ["UI", "Common", "Layout"];
4
+
5
+ export const COMPONENT_TAGS = [
6
+ "Form",
7
+ "Input",
8
+ "Select",
9
+ "Table",
10
+ "Overlay",
11
+ "Navigation",
12
+ "Feedback",
13
+ "Data",
14
+ "Chart",
15
+ "Theming",
16
+ "Network",
17
+ "Auth",
18
+ "Accessibility",
19
+ ];
20
+
21
+ const DAY_MS = 24 * 60 * 60 * 1000;
22
+
23
+ const daysFromToday = (days) => new Date(Date.now() + days * DAY_MS).toISOString().slice(0, 10);
24
+
25
+ const component = (id, name, path, category, tags, status, updatedIn, description) => ({
26
+ id,
27
+ name,
28
+ path,
29
+ category,
30
+ tags,
31
+ status,
32
+ description,
33
+ updatedAt: daysFromToday(updatedIn),
34
+ });
35
+
36
+ export const INITIAL_COMPONENTS = [
37
+ component(
38
+ 1,
39
+ "Button",
40
+ "src/components/ui/button.jsx",
41
+ "UI",
42
+ ["Form", "Accessibility"],
43
+ "Stable",
44
+ -150,
45
+ "Button with variants and sizes, renders as any element.",
46
+ ),
47
+ component(
48
+ 2,
49
+ "Input",
50
+ "src/components/ui/input.jsx",
51
+ "UI",
52
+ ["Form", "Input"],
53
+ "Stable",
54
+ -148,
55
+ "Text input styled with the theme tokens.",
56
+ ),
57
+ component(
58
+ 3,
59
+ "Dialog",
60
+ "src/components/ui/dialog.jsx",
61
+ "UI",
62
+ ["Overlay", "Accessibility"],
63
+ "Stable",
64
+ -140,
65
+ "Accessible modal built on Base UI.",
66
+ ),
67
+ component(
68
+ 4,
69
+ "Checkbox",
70
+ "src/components/ui/checkbox.jsx",
71
+ "UI",
72
+ ["Form", "Input"],
73
+ "Stable",
74
+ -132,
75
+ "Checkbox with checked and indeterminate states.",
76
+ ),
77
+ component(
78
+ 5,
79
+ "Switch",
80
+ "src/components/ui/switch.jsx",
81
+ "UI",
82
+ ["Form", "Input"],
83
+ "Stable",
84
+ -128,
85
+ "On/off toggle in two sizes.",
86
+ ),
87
+ component(
88
+ 6,
89
+ "Card",
90
+ "src/components/ui/card.jsx",
91
+ "UI",
92
+ ["Data"],
93
+ "Stable",
94
+ -120,
95
+ "Card with header, title, description and content slots.",
96
+ ),
97
+ component(
98
+ 7,
99
+ "DataTable",
100
+ "src/components/common/DataTable.jsx",
101
+ "Common",
102
+ ["Table", "Data"],
103
+ "Stable",
104
+ -96,
105
+ "Table with sorting, row actions, loading, empty and error states.",
106
+ ),
107
+ component(
108
+ 8,
109
+ "DialogComponent",
110
+ "src/components/common/DialogComponent.jsx",
111
+ "Common",
112
+ ["Overlay", "Form"],
113
+ "Stable",
114
+ -40,
115
+ "Form dialog with fields, sections, footer and a confirm variant.",
116
+ ),
117
+ component(
118
+ 9,
119
+ "Pagination",
120
+ "src/components/common/Pagination.jsx",
121
+ "Common",
122
+ ["Table", "Navigation"],
123
+ "Stable",
124
+ -6,
125
+ "Slices a list and shows page buttons and a rows-per-page select.",
126
+ ),
127
+ component(
128
+ 10,
129
+ "SearchSelect",
130
+ "src/components/common/SearchSelect.jsx",
131
+ "Common",
132
+ ["Select", "Form", "Input"],
133
+ "Stable",
134
+ -8,
135
+ "Searchable single or multi select with radio and checkbox indicators.",
136
+ ),
137
+ component(
138
+ 11,
139
+ "PhoneInputComponent",
140
+ "src/components/common/PhoneInputComponent.jsx",
141
+ "Common",
142
+ ["Form", "Input"],
143
+ "Stable",
144
+ -70,
145
+ "International phone input with country search and validation.",
146
+ ),
147
+ component(
148
+ 12,
149
+ "DatePicker",
150
+ "src/components/common/DatePicker.jsx",
151
+ "Common",
152
+ ["Form", "Input"],
153
+ "Beta",
154
+ -55,
155
+ "Date input with a calendar popup.",
156
+ ),
157
+ component(
158
+ 13,
159
+ "AppChart",
160
+ "src/components/common/AppChart.jsx",
161
+ "Common",
162
+ ["Chart", "Data"],
163
+ "Stable",
164
+ -90,
165
+ "Chart.js wrapper for line, bar and doughnut charts.",
166
+ ),
167
+ component(
168
+ 14,
169
+ "NetworkStatus",
170
+ "src/components/common/NetworkStatus.jsx",
171
+ "Common",
172
+ ["Network", "Feedback"],
173
+ "Beta",
174
+ -30,
175
+ "Banner that appears when the browser goes offline.",
176
+ ),
177
+ component(
178
+ 15,
179
+ "ThemeToggle",
180
+ "src/components/common/theme-toggle.jsx",
181
+ "Common",
182
+ ["Theming"],
183
+ "Stable",
184
+ -110,
185
+ "Switches between light and dark mode.",
186
+ ),
187
+ component(
188
+ 16,
189
+ "SidebarLayout",
190
+ "src/components/layout/SidebarLayout.jsx",
191
+ "Layout",
192
+ ["Navigation", "Theming"],
193
+ "Stable",
194
+ -12,
195
+ "Collapsible sidebar with a mobile drawer.",
196
+ ),
197
+ component(
198
+ 17,
199
+ "AuthLayout",
200
+ "src/components/layout/AuthLayout.jsx",
201
+ "Layout",
202
+ ["Auth"],
203
+ "Stable",
204
+ -2,
205
+ "Split layout for login, sign-up and password reset.",
206
+ ),
207
+ component(
208
+ 18,
209
+ "PageLayout",
210
+ "src/components/layout/PageLayout.jsx",
211
+ "Layout",
212
+ ["Navigation"],
213
+ "Stable",
214
+ -100,
215
+ "Page wrapper with layout variants.",
216
+ ),
217
+ component(
218
+ 19,
219
+ "Avatar",
220
+ "src/components/ui/avatar.jsx",
221
+ "UI",
222
+ ["Data"],
223
+ "Stable",
224
+ -118,
225
+ "Avatar with image, fallback initials and a status badge.",
226
+ ),
227
+ component(
228
+ 20,
229
+ "Badge",
230
+ "src/components/ui/badge.jsx",
231
+ "UI",
232
+ ["Feedback"],
233
+ "Stable",
234
+ -145,
235
+ "Small label for status and counts, in several variants.",
236
+ ),
237
+ component(
238
+ 21,
239
+ "Empty",
240
+ "src/components/ui/empty.jsx",
241
+ "UI",
242
+ ["Feedback"],
243
+ "Stable",
244
+ -64,
245
+ "Empty state parts: header, media, title, description and content.",
246
+ ),
247
+ component(
248
+ 22,
249
+ "Label",
250
+ "src/components/ui/label.jsx",
251
+ "UI",
252
+ ["Form", "Accessibility"],
253
+ "Stable",
254
+ -146,
255
+ "Form label that matches the input styles.",
256
+ ),
257
+ component(
258
+ 23,
259
+ "Select",
260
+ "src/components/ui/select.jsx",
261
+ "UI",
262
+ ["Form", "Select"],
263
+ "Stable",
264
+ -125,
265
+ "Dropdown select built on Base UI.",
266
+ ),
267
+ component(
268
+ 24,
269
+ "Skeleton",
270
+ "src/components/ui/skeleton.jsx",
271
+ "UI",
272
+ ["Feedback"],
273
+ "Stable",
274
+ -115,
275
+ "Pulsing placeholder shown while content loads.",
276
+ ),
277
+ component(
278
+ 25,
279
+ "Toaster",
280
+ "src/components/ui/sonner.jsx",
281
+ "UI",
282
+ ["Feedback", "Theming"],
283
+ "Stable",
284
+ -105,
285
+ "Sonner toast container that follows the theme.",
286
+ ),
287
+ component(
288
+ 26,
289
+ "Table",
290
+ "src/components/ui/table.jsx",
291
+ "UI",
292
+ ["Table", "Data"],
293
+ "Stable",
294
+ -98,
295
+ "Table primitives: header, body, footer, row and cell.",
296
+ ),
297
+ component(
298
+ 27,
299
+ "Textarea",
300
+ "src/components/ui/textarea.jsx",
301
+ "UI",
302
+ ["Form", "Input"],
303
+ "Stable",
304
+ -138,
305
+ "Multi-line text input styled with the theme tokens.",
306
+ ),
307
+ component(
308
+ 28,
309
+ "Breadcrumbs",
310
+ "src/components/common/Breadcrumbs.jsx",
311
+ "Common",
312
+ ["Navigation"],
313
+ "Stable",
314
+ -20,
315
+ "Builds a breadcrumb trail from the current route.",
316
+ ),
317
+ component(
318
+ 29,
319
+ "ErrorStateComponent",
320
+ "src/components/common/ErrorStateComponent.jsx",
321
+ "Common",
322
+ ["Feedback"],
323
+ "Stable",
324
+ -60,
325
+ "Error message with an optional retry button.",
326
+ ),
327
+ component(
328
+ 30,
329
+ "FullscreenToggle",
330
+ "src/components/common/FullscreenToggle.jsx",
331
+ "Common",
332
+ ["Navigation"],
333
+ "Beta",
334
+ -15,
335
+ "Button that enters and exits fullscreen mode.",
336
+ ),
337
+ component(
338
+ 31,
339
+ "HeadingComponent",
340
+ "src/components/common/HeadingComponent.jsx",
341
+ "Common",
342
+ ["Data"],
343
+ "Stable",
344
+ -88,
345
+ "Title, subtitle and actions in three sizes.",
346
+ ),
347
+ component(
348
+ 32,
349
+ "LoadingComponent",
350
+ "src/components/common/LoadingComponent.jsx",
351
+ "Common",
352
+ ["Feedback"],
353
+ "Stable",
354
+ -78,
355
+ "Spinner with an optional message, in several sizes.",
356
+ ),
357
+ component(
358
+ 33,
359
+ "NoDataComponent",
360
+ "src/components/common/NoDataComponent.jsx",
361
+ "Common",
362
+ ["Feedback", "Data"],
363
+ "Stable",
364
+ -66,
365
+ "Empty state with icon, message and an optional action.",
366
+ ),
367
+ component(
368
+ 34,
369
+ "ParagraphComponent",
370
+ "src/components/common/ParagraphComponent.jsx",
371
+ "Common",
372
+ ["Data"],
373
+ "Stable",
374
+ -86,
375
+ "Text styles that follow the theme.",
376
+ ),
377
+ component(
378
+ 35,
379
+ "ReactSelect",
380
+ "src/components/common/ReactSelect.jsx",
381
+ "Common",
382
+ ["Select", "Form", "Theming"],
383
+ "Stable",
384
+ -50,
385
+ "react-select wrapper styled for light and dark mode.",
386
+ ),
387
+ component(
388
+ 36,
389
+ "SeeMore",
390
+ "src/components/common/SeeMore.jsx",
391
+ "Common",
392
+ ["Data"],
393
+ "Stable",
394
+ -45,
395
+ "Shortens long text with a show more toggle.",
396
+ ),
397
+ component(
398
+ 37,
399
+ "SortableHeader",
400
+ "src/components/common/SortableHeader.jsx",
401
+ "Common",
402
+ ["Table"],
403
+ "Stable",
404
+ -35,
405
+ "Table header button that shows and toggles sort order.",
406
+ ),
407
+ ];