@burdenoff/microfe-workspaces 2026.623.1 → 2026.624.1
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/dist/components/CreateWorkspaceDialog.js +5 -5
- package/dist/components/CreateWorkspaceDialog.js.map +1 -1
- package/dist/components/InviteMemberDialog.js +11 -11
- package/dist/components/InviteMemberDialog.js.map +1 -1
- package/dist/components/ProjectCard.js +5 -5
- package/dist/components/ProjectCard.js.map +1 -1
- package/dist/components/ProjectMemberPickerDialog.js +14 -14
- package/dist/components/ProjectMemberPickerDialog.js.map +1 -1
- package/dist/components/WorkspaceCard.js +3 -3
- package/dist/components/WorkspaceCard.js.map +1 -1
- package/dist/components/WorkspacesErrorBoundary.js +9 -9
- package/dist/components/WorkspacesErrorBoundary.js.map +1 -1
- package/dist/components/tags/ProjectTagsWidget.js +8 -8
- package/dist/components/tags/ProjectTagsWidget.js.map +1 -1
- package/dist/pages/ActivityListPage.js +12 -12
- package/dist/pages/ActivityListPage.js.map +1 -1
- package/dist/pages/CreateWorkspacePage.js +24 -24
- package/dist/pages/CreateWorkspacePage.js.map +1 -1
- package/dist/pages/InviteAcceptancePage.js +46 -46
- package/dist/pages/InviteAcceptancePage.js.map +1 -1
- package/dist/pages/MembersListPage.js +27 -27
- package/dist/pages/MembersListPage.js.map +1 -1
- package/dist/pages/PendingInvitesPage.js +23 -23
- package/dist/pages/PendingInvitesPage.js.map +1 -1
- package/dist/pages/ProjectDetailPage.js +20 -20
- package/dist/pages/ProjectDetailPage.js.map +1 -1
- package/dist/pages/ProjectMembersPage.js +15 -15
- package/dist/pages/ProjectMembersPage.js.map +1 -1
- package/dist/pages/ProjectsListPage.js +16 -16
- package/dist/pages/ProjectsListPage.js.map +1 -1
- package/dist/pages/WorkspaceDetailPage.js +16 -16
- package/dist/pages/WorkspaceDetailPage.js.map +1 -1
- package/dist/pages/WorkspaceInvitePage.js +51 -51
- package/dist/pages/WorkspaceInvitePage.js.map +1 -1
- package/dist/pages/WorkspaceSettingsPage.js +2 -2
- package/dist/pages/WorkspaceSettingsPage.js.map +1 -1
- package/dist/pages/WorkspacesListPage.js +8 -8
- package/dist/pages/WorkspacesListPage.js.map +1 -1
- package/dist/pages/dashboard/DashboardCustomizer.js +3 -3
- package/dist/pages/dashboard/DashboardCustomizer.js.map +1 -1
- package/dist/pages/dashboard/DashboardGrid.js +2 -2
- package/dist/pages/dashboard/DashboardGrid.js.map +1 -1
- package/dist/pages/dashboard/DashboardPage.js +5 -5
- package/dist/pages/dashboard/DashboardPage.js.map +1 -1
- package/dist/pages/dashboard/WidgetWrapper.js +6 -6
- package/dist/pages/dashboard/WidgetWrapper.js.map +1 -1
- package/dist/pages/dashboard/widgets/AgentsWidget.js +6 -6
- package/dist/pages/dashboard/widgets/AgentsWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/GroupsWidget.js +3 -3
- package/dist/pages/dashboard/widgets/GroupsWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/MembersWidget.js +3 -3
- package/dist/pages/dashboard/widgets/MembersWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/ProjectsWidget.js +2 -2
- package/dist/pages/dashboard/widgets/ProjectsWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/RecentActivityWidget.js +3 -3
- package/dist/pages/dashboard/widgets/RecentActivityWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/SessionsWidget.js +4 -4
- package/dist/pages/dashboard/widgets/SessionsWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/TagCloudWidget.js +2 -2
- package/dist/pages/dashboard/widgets/TagCloudWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/TipsWidget.js +3 -3
- package/dist/pages/dashboard/widgets/TipsWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.js +2 -2
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/VibesWidget.js +2 -2
- package/dist/pages/dashboard/widgets/VibesWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/WelcomeWidget.js +3 -3
- package/dist/pages/dashboard/widgets/WelcomeWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.js +4 -4
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.js.map +1 -1
- package/dist/pages/dashboard/widgets/WorkspacesWidget.js +2 -2
- package/dist/pages/dashboard/widgets/WorkspacesWidget.js.map +1 -1
- package/package.json +1 -1
|
@@ -64,7 +64,7 @@ function Ue({ selectedRoleIds: e, onRoleToggle: t, selectedProjectIds: n, onProj
|
|
|
64
64
|
className: "text-base font-semibold",
|
|
65
65
|
children: "Roles (Optional)"
|
|
66
66
|
}), /* @__PURE__ */ f("p", {
|
|
67
|
-
className: "text-sm text-
|
|
67
|
+
className: "text-sm text-text-secondary",
|
|
68
68
|
children: "Choose roles. Hover any role to preview its full description."
|
|
69
69
|
})]
|
|
70
70
|
}), e.length > 0 ? /* @__PURE__ */ p(m, {
|
|
@@ -74,17 +74,17 @@ function Ue({ selectedRoleIds: e, onRoleToggle: t, selectedProjectIds: n, onProj
|
|
|
74
74
|
}), /* @__PURE__ */ f(Pe, { children: /* @__PURE__ */ f("div", {
|
|
75
75
|
className: "grid grid-cols-1 gap-2 md:grid-cols-2 xl:grid-cols-3",
|
|
76
76
|
children: ee ? /* @__PURE__ */ f("p", {
|
|
77
|
-
className: "text-sm text-
|
|
77
|
+
className: "text-sm text-text-secondary",
|
|
78
78
|
children: "Loading roles…"
|
|
79
79
|
}) : i.length === 0 ? /* @__PURE__ */ f("p", {
|
|
80
|
-
className: "text-sm text-
|
|
80
|
+
className: "text-sm text-text-secondary",
|
|
81
81
|
children: "No assignable roles were returned for this workspace."
|
|
82
82
|
}) : i.map((n) => {
|
|
83
83
|
let r = e.includes(n.id);
|
|
84
84
|
return /* @__PURE__ */ p(S, { children: [/* @__PURE__ */ f(w, {
|
|
85
85
|
asChild: !0,
|
|
86
86
|
children: /* @__PURE__ */ p("label", {
|
|
87
|
-
className: `flex cursor-pointer items-center justify-between gap-3 rounded-lg border px-3 py-3 text-left text-sm font-medium transition-colors focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 ${r ? "border-primary bg-primary/10 text-
|
|
87
|
+
className: `flex cursor-pointer items-center justify-between gap-3 rounded-lg border px-3 py-3 text-left text-sm font-medium transition-colors focus-within:ring-2 focus-within:ring-[var(--color-focus-ring)] focus-within:ring-offset-2 ${r ? "border-primary bg-action-primary-bg/10 text-text-primary shadow-sm" : "border-border-subtle bg-bg-surface text-text-primary hover:bg-accent"} ${o ? "opacity-70" : ""}`,
|
|
88
88
|
children: [/* @__PURE__ */ f("span", {
|
|
89
89
|
className: "min-w-0 flex-1 truncate",
|
|
90
90
|
children: n.name
|
|
@@ -103,7 +103,7 @@ function Ue({ selectedRoleIds: e, onRoleToggle: t, selectedProjectIds: n, onProj
|
|
|
103
103
|
children: n.name
|
|
104
104
|
}),
|
|
105
105
|
/* @__PURE__ */ f("p", {
|
|
106
|
-
className: "mt-1 text-
|
|
106
|
+
className: "mt-1 text-text-secondary",
|
|
107
107
|
children: n.description || "No description available for this role."
|
|
108
108
|
}),
|
|
109
109
|
n.isSystem ? /* @__PURE__ */ f("p", {
|
|
@@ -124,7 +124,7 @@ function Ue({ selectedRoleIds: e, onRoleToggle: t, selectedProjectIds: n, onProj
|
|
|
124
124
|
className: "text-base font-semibold",
|
|
125
125
|
children: "Projects to add on acceptance (Optional)"
|
|
126
126
|
}), /* @__PURE__ */ f("p", {
|
|
127
|
-
className: "text-sm text-
|
|
127
|
+
className: "text-sm text-text-secondary",
|
|
128
128
|
children: "The invited user will be added to these projects automatically after they accept."
|
|
129
129
|
})]
|
|
130
130
|
}), n.length > 0 ? /* @__PURE__ */ p(m, {
|
|
@@ -134,22 +134,22 @@ function Ue({ selectedRoleIds: e, onRoleToggle: t, selectedProjectIds: n, onProj
|
|
|
134
134
|
}), /* @__PURE__ */ f("div", {
|
|
135
135
|
className: "grid grid-cols-1 gap-2 md:grid-cols-2 xl:grid-cols-3",
|
|
136
136
|
children: te ? /* @__PURE__ */ f("p", {
|
|
137
|
-
className: "text-sm text-
|
|
137
|
+
className: "text-sm text-text-secondary",
|
|
138
138
|
children: "Loading projects…"
|
|
139
139
|
}) : a.length === 0 ? /* @__PURE__ */ f("p", {
|
|
140
|
-
className: "text-sm text-
|
|
140
|
+
className: "text-sm text-text-secondary",
|
|
141
141
|
children: "No active projects are available in this workspace yet."
|
|
142
142
|
}) : a.map((e) => {
|
|
143
143
|
let t = n.includes(e.id);
|
|
144
144
|
return /* @__PURE__ */ p("label", {
|
|
145
|
-
className: `flex cursor-pointer items-start justify-between gap-3 rounded-lg border px-3 py-3 transition-colors focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 ${t ? "border-primary bg-primary/10 text-
|
|
145
|
+
className: `flex cursor-pointer items-start justify-between gap-3 rounded-lg border px-3 py-3 transition-colors focus-within:ring-2 focus-within:ring-[var(--color-focus-ring)] focus-within:ring-offset-2 ${t ? "border-primary bg-action-primary-bg/10 text-text-primary shadow-sm" : "border-border-subtle bg-bg-surface text-text-primary hover:bg-accent"} ${o ? "opacity-70" : ""}`,
|
|
146
146
|
children: [/* @__PURE__ */ p("div", {
|
|
147
147
|
className: "min-w-0 flex-1 space-y-1",
|
|
148
148
|
children: [/* @__PURE__ */ f("p", {
|
|
149
149
|
className: "truncate text-sm font-semibold leading-tight",
|
|
150
150
|
children: e.name
|
|
151
151
|
}), /* @__PURE__ */ p("div", {
|
|
152
|
-
className: "flex items-center gap-2 text-xs text-
|
|
152
|
+
className: "flex items-center gap-2 text-xs text-text-secondary",
|
|
153
153
|
children: [/* @__PURE__ */ f("span", {
|
|
154
154
|
className: "truncate font-mono",
|
|
155
155
|
children: e.key
|
|
@@ -177,14 +177,14 @@ function D() {
|
|
|
177
177
|
if (!D) return /* @__PURE__ */ f("div", {
|
|
178
178
|
className: "space-y-4 p-6",
|
|
179
179
|
children: /* @__PURE__ */ p("div", {
|
|
180
|
-
className: "rounded-xl border bg-
|
|
180
|
+
className: "rounded-xl border bg-bg-surface p-8 text-center",
|
|
181
181
|
children: [
|
|
182
182
|
/* @__PURE__ */ f("h1", {
|
|
183
183
|
className: "text-2xl font-bold",
|
|
184
184
|
children: r(b, "workspaceInvite.noWorkspaceTitle", "Select a workspace first")
|
|
185
185
|
}),
|
|
186
186
|
/* @__PURE__ */ f("p", {
|
|
187
|
-
className: "mt-2 text-
|
|
187
|
+
className: "mt-2 text-text-secondary",
|
|
188
188
|
children: r(b, "workspaceInvite.noWorkspaceDescription", "Choose a current workspace from the header or open a workspace detail page before inviting members.")
|
|
189
189
|
}),
|
|
190
190
|
/* @__PURE__ */ f("div", {
|
|
@@ -214,7 +214,7 @@ function D() {
|
|
|
214
214
|
className: "text-lg font-semibold",
|
|
215
215
|
children: r(b, "workspaceInvite.accessDenied", "Access Denied")
|
|
216
216
|
}), /* @__PURE__ */ f("p", {
|
|
217
|
-
className: "text-sm text-
|
|
217
|
+
className: "text-sm text-text-secondary",
|
|
218
218
|
children: r(b, "workspaceInvite.accessDeniedDescription", "You don't have permission to invite members into this workspace.")
|
|
219
219
|
})]
|
|
220
220
|
})
|
|
@@ -227,7 +227,7 @@ function D() {
|
|
|
227
227
|
className: "gap-2",
|
|
228
228
|
children: [/* @__PURE__ */ f(fe, { size: 18 }), r(b, "workspaceInvite.backToWorkspaces", "Back to Workspaces")]
|
|
229
229
|
}), /* @__PURE__ */ f("div", {
|
|
230
|
-
className: "rounded-xl border bg-
|
|
230
|
+
className: "rounded-xl border bg-bg-surface p-8 text-center text-status-error-text",
|
|
231
231
|
children: r(b, "workspaceInvite.workspaceLoadError", "Unable to load workspace invite details.")
|
|
232
232
|
})]
|
|
233
233
|
});
|
|
@@ -355,7 +355,7 @@ function D() {
|
|
|
355
355
|
})]
|
|
356
356
|
}),
|
|
357
357
|
/* @__PURE__ */ p("p", {
|
|
358
|
-
className: "mt-2 text-sm text-
|
|
358
|
+
className: "mt-2 text-sm text-text-secondary sm:text-base",
|
|
359
359
|
children: [
|
|
360
360
|
Ke.name,
|
|
361
361
|
" —",
|
|
@@ -390,7 +390,7 @@ function D() {
|
|
|
390
390
|
children: St.length
|
|
391
391
|
})]
|
|
392
392
|
}), /* @__PURE__ */ f("p", {
|
|
393
|
-
className: "text-sm text-
|
|
393
|
+
className: "text-sm text-text-secondary",
|
|
394
394
|
children: Ve(St, "No roles selected")
|
|
395
395
|
})]
|
|
396
396
|
}), /* @__PURE__ */ p("div", {
|
|
@@ -405,7 +405,7 @@ function D() {
|
|
|
405
405
|
children: Ct.length
|
|
406
406
|
})]
|
|
407
407
|
}), /* @__PURE__ */ f("p", {
|
|
408
|
-
className: "text-sm text-
|
|
408
|
+
className: "text-sm text-text-secondary",
|
|
409
409
|
children: Ve(Ct, "No project access will be granted automatically")
|
|
410
410
|
})]
|
|
411
411
|
})]
|
|
@@ -427,7 +427,7 @@ function D() {
|
|
|
427
427
|
className: "space-y-4",
|
|
428
428
|
children: [
|
|
429
429
|
ot ? /* @__PURE__ */ p("div", {
|
|
430
|
-
className: "flex items-center gap-2 rounded-md border border-
|
|
430
|
+
className: "flex items-center gap-2 rounded-md border border-status-error-border/20 bg-status-error-bg/10 p-3 text-sm text-status-error-text",
|
|
431
431
|
children: [/* @__PURE__ */ f(de, { className: "size-4 shrink-0" }), /* @__PURE__ */ f("span", { children: ot })]
|
|
432
432
|
}) : null,
|
|
433
433
|
st ? /* @__PURE__ */ p("div", {
|
|
@@ -468,7 +468,7 @@ function D() {
|
|
|
468
468
|
className: "space-y-5",
|
|
469
469
|
children: [
|
|
470
470
|
lt ? /* @__PURE__ */ p("div", {
|
|
471
|
-
className: "flex items-center gap-2 rounded-md border border-
|
|
471
|
+
className: "flex items-center gap-2 rounded-md border border-status-error-border/20 bg-status-error-bg/10 p-3 text-sm text-status-error-text",
|
|
472
472
|
children: [/* @__PURE__ */ f(de, { className: "size-4 shrink-0" }), /* @__PURE__ */ f("span", { children: lt })]
|
|
473
473
|
}) : null,
|
|
474
474
|
ut ? /* @__PURE__ */ p("div", {
|
|
@@ -481,13 +481,13 @@ function D() {
|
|
|
481
481
|
className: "space-y-1",
|
|
482
482
|
children: [
|
|
483
483
|
/* @__PURE__ */ f("p", {
|
|
484
|
-
className: "text-sm text-
|
|
484
|
+
className: "text-sm text-text-secondary",
|
|
485
485
|
children: r(b, "workspaceInvite.bulkDescription", "Upload a CSV with one email column. All valid rows will receive the currently selected roles and projects.")
|
|
486
486
|
}),
|
|
487
487
|
/* @__PURE__ */ p("div", {
|
|
488
|
-
className: "rounded-md border bg-
|
|
488
|
+
className: "rounded-md border bg-bg-sunken/30 px-3 py-2 text-xs text-text-secondary",
|
|
489
489
|
children: [/* @__PURE__ */ f("p", {
|
|
490
|
-
className: "font-medium text-
|
|
490
|
+
className: "font-medium text-text-primary",
|
|
491
491
|
children: "Sample format"
|
|
492
492
|
}), /* @__PURE__ */ p("pre", {
|
|
493
493
|
className: "mt-1 whitespace-pre-wrap",
|
|
@@ -501,7 +501,7 @@ function D() {
|
|
|
501
501
|
})]
|
|
502
502
|
}),
|
|
503
503
|
(k?.total ?? 0) > j.length ? /* @__PURE__ */ p("p", {
|
|
504
|
-
className: "text-xs text-
|
|
504
|
+
className: "text-xs text-text-secondary",
|
|
505
505
|
children: [
|
|
506
506
|
"Showing the first ",
|
|
507
507
|
j.length,
|
|
@@ -527,11 +527,11 @@ function D() {
|
|
|
527
527
|
let t = e.dataTransfer.files?.[0];
|
|
528
528
|
t ? Dt(t) : I("Please upload a .csv file.");
|
|
529
529
|
},
|
|
530
|
-
className: `flex flex-col items-center justify-center gap-3 rounded-xl border-2 border-dashed p-8 transition-colors ${pt ? "border-primary bg-primary/5" : "border-border bg-
|
|
530
|
+
className: `flex flex-col items-center justify-center gap-3 rounded-xl border-2 border-dashed p-8 transition-colors ${pt ? "border-primary bg-action-primary-bg/5" : "border-border-subtle bg-bg-surface"}`,
|
|
531
531
|
children: [
|
|
532
532
|
/* @__PURE__ */ f(_e, {
|
|
533
533
|
size: 28,
|
|
534
|
-
className: "text-
|
|
534
|
+
className: "text-text-secondary"
|
|
535
535
|
}),
|
|
536
536
|
/* @__PURE__ */ p("div", {
|
|
537
537
|
className: "text-center",
|
|
@@ -539,7 +539,7 @@ function D() {
|
|
|
539
539
|
className: "text-sm font-medium",
|
|
540
540
|
children: dt || "Drop a CSV file here or click to browse"
|
|
541
541
|
}), /* @__PURE__ */ f("p", {
|
|
542
|
-
className: "mt-1 text-xs text-
|
|
542
|
+
className: "mt-1 text-xs text-text-secondary",
|
|
543
543
|
children: "CSV files only. Required column: email."
|
|
544
544
|
})]
|
|
545
545
|
}),
|
|
@@ -563,7 +563,7 @@ function D() {
|
|
|
563
563
|
}),
|
|
564
564
|
B.length > 0 ? /* @__PURE__ */ p(be, { children: [
|
|
565
565
|
/* @__PURE__ */ p("div", {
|
|
566
|
-
className: "flex flex-wrap gap-4 text-xs text-
|
|
566
|
+
className: "flex flex-wrap gap-4 text-xs text-text-secondary",
|
|
567
567
|
children: [
|
|
568
568
|
/* @__PURE__ */ p("span", { children: ["Total rows: ", B.length] }),
|
|
569
569
|
/* @__PURE__ */ p("span", { children: ["Ready: ", Q.length] }),
|
|
@@ -575,7 +575,7 @@ function D() {
|
|
|
575
575
|
]
|
|
576
576
|
}),
|
|
577
577
|
$.length > 0 ? /* @__PURE__ */ p("div", {
|
|
578
|
-
className: "rounded-md border border-
|
|
578
|
+
className: "rounded-md border border-status-error-border/20 bg-status-error-bg/10 px-3 py-2 text-sm text-status-error-text",
|
|
579
579
|
children: [
|
|
580
580
|
$.length,
|
|
581
581
|
" row",
|
|
@@ -590,18 +590,18 @@ function D() {
|
|
|
590
590
|
children: /* @__PURE__ */ p("table", {
|
|
591
591
|
className: "min-w-full",
|
|
592
592
|
children: [/* @__PURE__ */ f("thead", {
|
|
593
|
-
className: "bg-
|
|
593
|
+
className: "bg-bg-sunken/40",
|
|
594
594
|
children: /* @__PURE__ */ p("tr", { children: [
|
|
595
595
|
/* @__PURE__ */ f("th", {
|
|
596
|
-
className: "px-3 py-2 text-left text-xs font-semibold uppercase tracking-wide text-
|
|
596
|
+
className: "px-3 py-2 text-left text-xs font-semibold uppercase tracking-wide text-text-secondary",
|
|
597
597
|
children: "#"
|
|
598
598
|
}),
|
|
599
599
|
/* @__PURE__ */ f("th", {
|
|
600
|
-
className: "px-3 py-2 text-left text-xs font-semibold uppercase tracking-wide text-
|
|
600
|
+
className: "px-3 py-2 text-left text-xs font-semibold uppercase tracking-wide text-text-secondary",
|
|
601
601
|
children: "Email"
|
|
602
602
|
}),
|
|
603
603
|
/* @__PURE__ */ f("th", {
|
|
604
|
-
className: "px-3 py-2 text-left text-xs font-semibold uppercase tracking-wide text-
|
|
604
|
+
className: "px-3 py-2 text-left text-xs font-semibold uppercase tracking-wide text-text-secondary",
|
|
605
605
|
children: "Status"
|
|
606
606
|
})
|
|
607
607
|
] })
|
|
@@ -610,29 +610,29 @@ function D() {
|
|
|
610
610
|
children: B.map((e) => {
|
|
611
611
|
let t = e.errors.length > 0;
|
|
612
612
|
return /* @__PURE__ */ p("tr", {
|
|
613
|
-
className: t ? "bg-
|
|
613
|
+
className: t ? "bg-status-error-bg/5" : void 0,
|
|
614
614
|
children: [
|
|
615
615
|
/* @__PURE__ */ f("td", {
|
|
616
|
-
className: "px-3 py-2 text-xs text-
|
|
616
|
+
className: "px-3 py-2 text-xs text-text-secondary",
|
|
617
617
|
children: e.rowNumber
|
|
618
618
|
}),
|
|
619
619
|
/* @__PURE__ */ f("td", {
|
|
620
620
|
className: "px-3 py-2 text-sm",
|
|
621
621
|
children: e.email || /* @__PURE__ */ f("span", {
|
|
622
|
-
className: "italic text-
|
|
622
|
+
className: "italic text-text-secondary",
|
|
623
623
|
children: "(empty)"
|
|
624
624
|
})
|
|
625
625
|
}),
|
|
626
626
|
/* @__PURE__ */ f("td", {
|
|
627
627
|
className: "px-3 py-2 text-xs",
|
|
628
628
|
children: t ? /* @__PURE__ */ f("div", {
|
|
629
|
-
className: "space-y-1 text-
|
|
629
|
+
className: "space-y-1 text-status-error-text",
|
|
630
630
|
children: e.errors.map((t) => /* @__PURE__ */ p("span", {
|
|
631
631
|
className: "inline-flex items-center gap-1 pr-3",
|
|
632
632
|
children: [/* @__PURE__ */ f(d, { size: 14 }), t]
|
|
633
633
|
}, `${e.rowNumber}-${t}`))
|
|
634
634
|
}) : e.status.kind === "sending" ? /* @__PURE__ */ p("span", {
|
|
635
|
-
className: "inline-flex items-center gap-1 text-
|
|
635
|
+
className: "inline-flex items-center gap-1 text-text-secondary",
|
|
636
636
|
children: [/* @__PURE__ */ f(u, {
|
|
637
637
|
size: 14,
|
|
638
638
|
className: "animate-spin"
|
|
@@ -641,10 +641,10 @@ function D() {
|
|
|
641
641
|
className: "inline-flex items-center gap-1 text-green-700 dark:text-green-400",
|
|
642
642
|
children: [/* @__PURE__ */ f(l, { size: 14 }), "Invited"]
|
|
643
643
|
}) : e.status.kind === "failed" ? /* @__PURE__ */ p("span", {
|
|
644
|
-
className: "inline-flex items-center gap-1 text-
|
|
644
|
+
className: "inline-flex items-center gap-1 text-status-error-text",
|
|
645
645
|
children: [/* @__PURE__ */ f(d, { size: 14 }), e.status.message]
|
|
646
646
|
}) : /* @__PURE__ */ f("span", {
|
|
647
|
-
className: "text-
|
|
647
|
+
className: "text-text-secondary",
|
|
648
648
|
children: "Ready"
|
|
649
649
|
})
|
|
650
650
|
})
|
|
@@ -656,7 +656,7 @@ function D() {
|
|
|
656
656
|
})
|
|
657
657
|
})
|
|
658
658
|
] }) : /* @__PURE__ */ f("div", {
|
|
659
|
-
className: "rounded-xl border border-dashed p-6 text-center text-sm text-
|
|
659
|
+
className: "rounded-xl border border-dashed p-6 text-center text-sm text-text-secondary",
|
|
660
660
|
children: "Upload a CSV to preview invite rows here before sending."
|
|
661
661
|
}),
|
|
662
662
|
/* @__PURE__ */ f("div", {
|
|
@@ -684,14 +684,14 @@ function D() {
|
|
|
684
684
|
})
|
|
685
685
|
]
|
|
686
686
|
}) }), /* @__PURE__ */ p(_, { children: [R ? /* @__PURE__ */ p("div", {
|
|
687
|
-
className: `mb-4 flex items-center gap-2 rounded-md border p-3 text-sm ${R.tone === "success" ? "border-green-500/20 bg-green-500/10 text-green-700 dark:text-green-400" : "border-
|
|
687
|
+
className: `mb-4 flex items-center gap-2 rounded-md border p-3 text-sm ${R.tone === "success" ? "border-green-500/20 bg-green-500/10 text-green-700 dark:text-green-400" : "border-status-error-border/20 bg-status-error-bg/10 text-status-error-text"}`,
|
|
688
688
|
children: [R.tone === "success" ? /* @__PURE__ */ f(l, { className: "size-4 shrink-0" }) : /* @__PURE__ */ f(de, { className: "size-4 shrink-0" }), /* @__PURE__ */ f("span", { children: R.message })]
|
|
689
689
|
}) : null, Qe ? /* @__PURE__ */ p("div", {
|
|
690
690
|
className: "space-y-3",
|
|
691
691
|
children: [/* @__PURE__ */ f(x, { className: "h-20 w-full" }), /* @__PURE__ */ f(x, { className: "h-20 w-full" })]
|
|
692
692
|
}) : $e && Z.length === 0 ? /* @__PURE__ */ p("div", {
|
|
693
693
|
role: "alert",
|
|
694
|
-
className: "space-y-3 rounded-md border border-
|
|
694
|
+
className: "space-y-3 rounded-md border border-status-error-border/20 bg-status-error-bg/10 p-3 text-sm text-status-error-text",
|
|
695
695
|
children: [/* @__PURE__ */ f("p", { children: r(b, "workspaceInvite.pendingLoadFailed", "Failed to load pending invitations for this workspace.") }), /* @__PURE__ */ f(h, {
|
|
696
696
|
type: "button",
|
|
697
697
|
variant: "outline",
|
|
@@ -704,13 +704,13 @@ function D() {
|
|
|
704
704
|
children: A ? r(b, "workspaceInvite.retrying", "Retrying…") : r(b, "workspaceInvite.tryAgain", "Try again")
|
|
705
705
|
})]
|
|
706
706
|
}) : Z.length === 0 ? /* @__PURE__ */ f("p", {
|
|
707
|
-
className: "text-sm text-
|
|
707
|
+
className: "text-sm text-text-secondary",
|
|
708
708
|
children: r(b, "workspaceInvite.pendingEmpty", "No pending invitations for this workspace.")
|
|
709
709
|
}) : /* @__PURE__ */ p("div", {
|
|
710
710
|
className: "space-y-3",
|
|
711
711
|
children: [$e ? /* @__PURE__ */ p("div", {
|
|
712
712
|
role: "alert",
|
|
713
|
-
className: "flex flex-wrap items-center justify-between gap-3 rounded-md border border-
|
|
713
|
+
className: "flex flex-wrap items-center justify-between gap-3 rounded-md border border-status-error-border/20 bg-status-error-bg/10 p-3 text-sm text-status-error-text",
|
|
714
714
|
children: [/* @__PURE__ */ f("span", { children: r(b, "workspaceInvite.pendingStaleWarning", "Pending invitations may be outdated. Try again to refresh this list.") }), /* @__PURE__ */ f(h, {
|
|
715
715
|
type: "button",
|
|
716
716
|
variant: "outline",
|
|
@@ -742,17 +742,17 @@ function D() {
|
|
|
742
742
|
})]
|
|
743
743
|
}),
|
|
744
744
|
/* @__PURE__ */ p("div", {
|
|
745
|
-
className: "grid gap-3 text-sm text-
|
|
745
|
+
className: "grid gap-3 text-sm text-text-secondary sm:grid-cols-2",
|
|
746
746
|
children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
|
|
747
|
-
className: "font-medium text-
|
|
747
|
+
className: "font-medium text-text-primary",
|
|
748
748
|
children: "Received"
|
|
749
749
|
}), /* @__PURE__ */ f("p", { children: Be(e.createdAt) ?? "—" })] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
|
|
750
|
-
className: "font-medium text-
|
|
750
|
+
className: "font-medium text-text-primary",
|
|
751
751
|
children: "Expires"
|
|
752
752
|
}), /* @__PURE__ */ f("p", { children: Be(e.expiresAt) ?? "—" })] })]
|
|
753
753
|
}),
|
|
754
754
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
|
|
755
|
-
className: "mb-2 text-sm font-medium text-
|
|
755
|
+
className: "mb-2 text-sm font-medium text-text-primary",
|
|
756
756
|
children: "Roles"
|
|
757
757
|
}), /* @__PURE__ */ f("div", {
|
|
758
758
|
className: "flex flex-wrap gap-2",
|
|
@@ -760,12 +760,12 @@ function D() {
|
|
|
760
760
|
variant: "outline",
|
|
761
761
|
children: t
|
|
762
762
|
}, `${e.id}-${e.roleIds[n] ?? t}`)) : /* @__PURE__ */ f("span", {
|
|
763
|
-
className: "text-sm text-
|
|
763
|
+
className: "text-sm text-text-secondary",
|
|
764
764
|
children: "No roles selected"
|
|
765
765
|
})
|
|
766
766
|
})] }),
|
|
767
767
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
|
|
768
|
-
className: "mb-2 text-sm font-medium text-
|
|
768
|
+
className: "mb-2 text-sm font-medium text-text-primary",
|
|
769
769
|
children: "Projects"
|
|
770
770
|
}), /* @__PURE__ */ f("div", {
|
|
771
771
|
className: "flex flex-wrap gap-2",
|
|
@@ -773,7 +773,7 @@ function D() {
|
|
|
773
773
|
variant: "secondary",
|
|
774
774
|
children: t
|
|
775
775
|
}, `${e.id}-project-${t}-${n}`)) : /* @__PURE__ */ f("span", {
|
|
776
|
-
className: "text-sm text-
|
|
776
|
+
className: "text-sm text-text-secondary",
|
|
777
777
|
children: "No project access will be granted automatically"
|
|
778
778
|
})
|
|
779
779
|
})] })
|