@burdenoff/fe-libs 2026.619.2 → 2026.623.2
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/chrome/AccountSwitcher.js +8 -8
- package/dist/chrome/AppShellLayout.d.ts +4 -1
- package/dist/chrome/AppShellLayout.d.ts.map +1 -1
- package/dist/chrome/AppShellLayout.js +1 -1
- package/dist/chrome/AutoBreadcrumbs.d.ts.map +1 -1
- package/dist/chrome/AutoBreadcrumbs.js +6 -6
- package/dist/chrome/Breadcrumbs.js +3 -3
- package/dist/chrome/CommandPalette.js +15 -15
- package/dist/chrome/ContextSwitcher.js +1 -1
- package/dist/chrome/Footer.js +1 -1
- package/dist/chrome/FooterBar.js +2 -2
- package/dist/chrome/GlobalSearch.js +3 -3
- package/dist/chrome/HeaderBar.d.ts.map +1 -1
- package/dist/chrome/HeaderBar.js +6 -6
- package/dist/chrome/LanguagePickerSheet.js +1 -1
- package/dist/chrome/LanguageSwitcher.js +4 -4
- package/dist/chrome/NavLink.d.ts.map +1 -1
- package/dist/chrome/NavLink.js +5 -6
- package/dist/chrome/PageHeader.js +3 -3
- package/dist/chrome/PanelTabs.js +5 -5
- package/dist/chrome/PluginContextMenuTarget.js +2 -2
- package/dist/chrome/PluginFooterStrip.js +2 -2
- package/dist/chrome/PluginSettingsPage.js +3 -3
- package/dist/chrome/PluginWidgetGrid.js +1 -1
- package/dist/chrome/ProductPickerSheet.js +3 -3
- package/dist/chrome/ProductSwitcher.js +9 -9
- package/dist/chrome/ProfileSwitcher.d.ts.map +1 -1
- package/dist/chrome/ProfileSwitcher.js +11 -11
- package/dist/chrome/ShortcutHelpDialog.js +9 -9
- package/dist/chrome/SideNavigation.js +3 -3
- package/dist/chrome/Sidebar.js +8 -8
- package/dist/chrome/StatusBar.js +1 -1
- package/dist/chrome/Tabs.js +1 -1
- package/dist/chrome/contextSwitcher/OrganizationList.js +1 -1
- package/dist/chrome/contextSwitcher/ProjectList.js +1 -1
- package/dist/chrome/contextSwitcher/SearchInput.js +1 -1
- package/dist/chrome/contextSwitcher/TabButton.js +1 -1
- package/dist/chrome/contextSwitcher/TriggerButton.js +1 -1
- package/dist/chrome/contextSwitcher/WorkspaceList.js +1 -1
- package/dist/chrome/globalSearch/AdvancedFiltersPanel.js +29 -29
- package/dist/chrome/globalSearch/CategoryTabs.js +3 -3
- package/dist/chrome/globalSearch/ResultsList.js +8 -8
- package/dist/chrome/globalSearch/SearchInput.js +4 -4
- package/dist/chrome/globalSearch/SearchModeBar.js +3 -3
- package/dist/chrome/notificationCenter/BellButton.js +1 -1
- package/dist/chrome/notificationCenter/NotificationCardItem.js +5 -5
- package/dist/chrome/notificationCenter/NotificationFilters.js +5 -5
- package/dist/chrome/notificationCenter/NotificationFooter.js +1 -1
- package/dist/chrome/notificationCenter/NotificationHeader.js +2 -2
- package/dist/chrome/notificationCenter/NotificationList.js +2 -2
- package/dist/chrome/notificationCenter/NotificationPanel.d.ts.map +1 -1
- package/dist/chrome/notificationCenter/NotificationPanel.js +2 -2
- package/dist/chrome/notificationCenter/SkeletonCard.js +4 -4
- package/dist/chrome/notificationCenter/constants.js +5 -5
- package/dist/chrome/sideNavigation/CollapseToggle.js +1 -1
- package/dist/chrome/sideNavigation/MobileActionsBar.js +2 -2
- package/dist/chrome/sideNavigation/NavItemRenderer.d.ts.map +1 -1
- package/dist/chrome/sideNavigation/NavItemRenderer.js +23 -20
- package/dist/chrome/sideNavigation/SidebarHeader.js +1 -1
- package/dist/form/Checkbox.d.ts.map +1 -1
- package/dist/form/Checkbox.js +1 -1
- package/dist/form/FormDescription.js +1 -1
- package/dist/form/FormLabel.js +4 -4
- package/dist/form/FormMessage.js +1 -1
- package/dist/form/FormSection.d.ts.map +1 -1
- package/dist/form/FormSection.js +3 -3
- package/dist/form/Input.js +1 -1
- package/dist/form/Radio.d.ts.map +1 -1
- package/dist/form/Radio.js +2 -2
- package/dist/form/Select.d.ts.map +1 -1
- package/dist/form/Select.js +6 -6
- package/dist/form/Textarea.js +1 -1
- package/dist/shared/providers/shell/ThemeProvider.d.ts +20 -1
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/ThemeProvider.js +58 -47
- package/dist/storage/uploadBlob.d.ts.map +1 -1
- package/dist/ui/accordion.js +4 -4
- package/dist/ui/alert-dialog.js +3 -3
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +8 -8
- package/dist/ui/bottom-sheet.js +4 -4
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +8 -8
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +3 -3
- package/dist/ui/checkbox.js +1 -1
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +11 -11
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +5 -5
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +10 -10
- package/dist/ui/empty-state.d.ts.map +1 -1
- package/dist/ui/empty-state.js +3 -3
- package/dist/ui/input.js +1 -1
- package/dist/ui/label.js +1 -1
- package/dist/ui/optional-fields.d.ts.map +1 -1
- package/dist/ui/optional-fields.js +2 -2
- package/dist/ui/popover.js +1 -1
- package/dist/ui/responsive-table.js +2 -2
- package/dist/ui/scroll-area.js +2 -2
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +6 -6
- package/dist/ui/separator.js +1 -1
- package/dist/ui/sheet.js +3 -3
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/sonner.js +4 -4
- package/dist/ui/spinner.js +1 -1
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +6 -6
- package/dist/ui/switch.js +2 -2
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +7 -7
- package/dist/ui/tabs.js +2 -2
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/tooltip.js +1 -1
- package/package.json +1 -1
- package/src/shared/tokens/build/foundation.css +31 -12
- package/src/shared/tokens/build/semantic.css +84 -24
- package/src/shared/tokens/build/tailwind.preset.js +13 -0
- package/src/shared/tokens/build/themes.css +304 -0
- package/src/shared/tokens/tokens.css +5 -0
|
@@ -28,13 +28,13 @@ var o = () => {
|
|
|
28
28
|
children: [/* @__PURE__ */ a("div", {
|
|
29
29
|
className: "w-52 border-r border-border-default p-4 flex-shrink-0",
|
|
30
30
|
children: [/* @__PURE__ */ i("h2", {
|
|
31
|
-
className: "text-
|
|
31
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
32
32
|
children: "Settings"
|
|
33
33
|
}), /* @__PURE__ */ i("nav", {
|
|
34
34
|
className: "space-y-1",
|
|
35
35
|
children: l.map((e) => /* @__PURE__ */ i("button", {
|
|
36
36
|
onClick: () => d(e),
|
|
37
|
-
className: `w-full text-left px-3 py-2 rounded text-sm transition-colors ${e === u ? "bg-
|
|
37
|
+
className: `w-full text-left px-3 py-2 rounded-button text-sm transition-colors ${e === u ? "bg-[var(--color-accent-soft)] text-text-primary font-medium" : "text-text-secondary hover:text-text-primary hover:bg-bg-sunken"}`,
|
|
38
38
|
children: e
|
|
39
39
|
}, e))
|
|
40
40
|
})]
|
|
@@ -45,7 +45,7 @@ var o = () => {
|
|
|
45
45
|
return /* @__PURE__ */ a("div", {
|
|
46
46
|
className: "mb-8",
|
|
47
47
|
children: [/* @__PURE__ */ i("h3", {
|
|
48
|
-
className: "text-
|
|
48
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
49
49
|
children: e.label
|
|
50
50
|
}), /* @__PURE__ */ i(t, {})]
|
|
51
51
|
}, e.id);
|
|
@@ -13,7 +13,7 @@ var i = ({ category: i, emptyState: a = "No plugin widgets registered." }) => {
|
|
|
13
13
|
children: s.map((e) => {
|
|
14
14
|
let t = e.component, i = e.defaultSize.cols >= 4 ? "md:col-span-2 xl:col-span-4" : e.defaultSize.cols === 3 ? "md:col-span-2 xl:col-span-3" : e.defaultSize.cols === 2 ? "md:col-span-2 xl:col-span-2" : "md:col-span-1 xl:col-span-1", a = { minHeight: `${Math.max(1, e.defaultSize.rows) * 10}rem` };
|
|
15
15
|
return /* @__PURE__ */ r("section", {
|
|
16
|
-
className: `rounded-card border border-border-subtle bg-bg-surface shadow-
|
|
16
|
+
className: `rounded-card border border-border-subtle bg-bg-surface shadow-elevation-1 transition-all duration-200 ${i}`,
|
|
17
17
|
style: a,
|
|
18
18
|
"data-ui-plugin-widget": e.id,
|
|
19
19
|
children: [/* @__PURE__ */ n("div", {
|
|
@@ -21,10 +21,10 @@ var o = ({ open: o, onOpenChange: s, products: c, currentProductId: l, onProduct
|
|
|
21
21
|
className: "flex-1 overflow-y-auto py-2",
|
|
22
22
|
children: c.map((e) => /* @__PURE__ */ a("button", {
|
|
23
23
|
onClick: () => d(e),
|
|
24
|
-
className: `w-full flex items-center gap-4 px-4 py-3.5 text-body-sm transition-colors ${e.id === l ? "bg-
|
|
24
|
+
className: `w-full flex items-center gap-4 px-4 py-3.5 text-body-sm transition-colors ${e.id === l ? "bg-[var(--color-accent-soft)]" : "hover:bg-bg-sunken"}`,
|
|
25
25
|
children: [
|
|
26
26
|
e.icon ? /* @__PURE__ */ i("div", {
|
|
27
|
-
className: "size-10 rounded-lg bg-
|
|
27
|
+
className: "size-10 rounded-lg bg-[var(--color-accent-soft)] flex items-center justify-center flex-shrink-0",
|
|
28
28
|
children: e.icon
|
|
29
29
|
}) : /* @__PURE__ */ i("div", {
|
|
30
30
|
className: "size-10 rounded-lg bg-action-primary-bg flex items-center justify-center flex-shrink-0",
|
|
@@ -54,7 +54,7 @@ var o = ({ open: o, onOpenChange: s, products: c, currentProductId: l, onProduct
|
|
|
54
54
|
})
|
|
55
55
|
}),
|
|
56
56
|
e.url && e.id !== l && /* @__PURE__ */ i("svg", {
|
|
57
|
-
className: "size-4 text-text-
|
|
57
|
+
className: "size-4 text-text-muted flex-shrink-0",
|
|
58
58
|
fill: "none",
|
|
59
59
|
stroke: "currentColor",
|
|
60
60
|
viewBox: "0 0 24 24",
|
|
@@ -17,13 +17,13 @@ var a = ({ products: a, currentProductId: o, onProductChange: s, compact: c = !1
|
|
|
17
17
|
ref: d,
|
|
18
18
|
children: [/* @__PURE__ */ i("button", {
|
|
19
19
|
onClick: () => u(!l),
|
|
20
|
-
className: `flex items-center gap-2 px-3 py-2 rounded-button hover:bg-
|
|
20
|
+
className: `flex items-center gap-2 px-3 py-2 rounded-button hover:bg-bg-sunken transition-colors ${l ? "bg-bg-sunken" : ""}`,
|
|
21
21
|
"aria-label": "Switch product",
|
|
22
22
|
"aria-expanded": l,
|
|
23
23
|
children: [
|
|
24
24
|
/* @__PURE__ */ r("div", {
|
|
25
|
-
className: "size-6 rounded flex items-center justify-center flex-shrink-0 text-
|
|
26
|
-
style: { backgroundColor: f?.color || "
|
|
25
|
+
className: "size-6 rounded-md flex items-center justify-center flex-shrink-0 text-text-inverse font-semibold text-xs",
|
|
26
|
+
style: { backgroundColor: f?.color || "var(--color-action-primary-bg)" },
|
|
27
27
|
children: f?.icon || f?.name.charAt(0)
|
|
28
28
|
}),
|
|
29
29
|
!c && /* @__PURE__ */ r("span", {
|
|
@@ -44,11 +44,11 @@ var a = ({ products: a, currentProductId: o, onProductChange: s, compact: c = !1
|
|
|
44
44
|
})
|
|
45
45
|
]
|
|
46
46
|
}), l && /* @__PURE__ */ i("div", {
|
|
47
|
-
className: "absolute right-0 mt-2 w-[calc(100vw-1.5rem)] sm:w-64 max-w-64 bg-bg-elevated border border-border-
|
|
47
|
+
className: "absolute right-0 mt-2 w-[calc(100vw-1.5rem)] sm:w-64 max-w-64 bg-bg-elevated border border-border-subtle rounded-card shadow-[var(--shadow-elevation-4)] z-50 py-2 overflow-hidden animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-200",
|
|
48
48
|
children: [/* @__PURE__ */ r("div", {
|
|
49
49
|
className: "px-4 py-2 border-b border-border-subtle",
|
|
50
50
|
children: /* @__PURE__ */ r("p", {
|
|
51
|
-
className: "text-
|
|
51
|
+
className: "text-[11px] font-medium text-text-muted uppercase tracking-wider",
|
|
52
52
|
children: "Switch Product"
|
|
53
53
|
})
|
|
54
54
|
}), /* @__PURE__ */ r("div", {
|
|
@@ -58,11 +58,11 @@ var a = ({ products: a, currentProductId: o, onProductChange: s, compact: c = !1
|
|
|
58
58
|
disabled: e.comingSoon,
|
|
59
59
|
"aria-disabled": e.comingSoon,
|
|
60
60
|
title: e.comingSoon ? "Coming soon" : void 0,
|
|
61
|
-
className: `w-full flex items-center gap-3 px-4 py-2.5 text-body-sm transition-colors ${e.comingSoon ? "text-text-
|
|
61
|
+
className: `w-full flex items-center gap-3 px-4 py-2.5 text-body-sm transition-colors ${e.comingSoon ? "text-text-muted cursor-not-allowed opacity-60" : e.id === o ? "bg-[var(--color-accent-soft)] text-text-primary font-medium" : "text-text-primary hover:bg-bg-sunken"}`,
|
|
62
62
|
children: [
|
|
63
63
|
/* @__PURE__ */ r("div", {
|
|
64
|
-
className: "size-8 rounded flex items-center justify-center flex-shrink-0 text-
|
|
65
|
-
style: { backgroundColor: e.color || "
|
|
64
|
+
className: "size-8 rounded-md flex items-center justify-center flex-shrink-0 text-text-inverse font-semibold text-sm",
|
|
65
|
+
style: { backgroundColor: e.color || "var(--color-action-primary-bg)" },
|
|
66
66
|
children: e.icon || e.name.charAt(0)
|
|
67
67
|
}),
|
|
68
68
|
/* @__PURE__ */ r("span", {
|
|
@@ -73,7 +73,7 @@ var a = ({ products: a, currentProductId: o, onProductChange: s, compact: c = !1
|
|
|
73
73
|
className: "shrink-0 whitespace-nowrap rounded-full border border-border-subtle bg-bg-sunken px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide text-text-secondary",
|
|
74
74
|
children: "Coming soon"
|
|
75
75
|
}) : e.id === o && /* @__PURE__ */ r("svg", {
|
|
76
|
-
className: "size-5 text-action-primary-
|
|
76
|
+
className: "size-5 text-action-primary-bg",
|
|
77
77
|
fill: "currentColor",
|
|
78
78
|
viewBox: "0 0 20 20",
|
|
79
79
|
children: /* @__PURE__ */ r("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileSwitcher.d.ts","sourceRoot":"","sources":["../../src/chrome/ProfileSwitcher.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,qCAAqC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,oCAAoC;IACpC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,wBAAwB;IACxB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,wBAAwB;IACxB,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ProfileSwitcher.d.ts","sourceRoot":"","sources":["../../src/chrome/ProfileSwitcher.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,qCAAqC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,oCAAoC;IACpC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,wBAAwB;IACxB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,wBAAwB;IACxB,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAuRpD,CAAC"}
|
|
@@ -15,7 +15,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
15
15
|
ref: _,
|
|
16
16
|
children: [/* @__PURE__ */ a("button", {
|
|
17
17
|
onClick: () => g(!h),
|
|
18
|
-
className: `flex items-center gap-2 p-2 rounded-button hover:bg-
|
|
18
|
+
className: `flex items-center gap-2 p-2 rounded-button hover:bg-bg-sunken transition-colors ${h ? "bg-bg-sunken" : ""}`,
|
|
19
19
|
"aria-label": "User menu",
|
|
20
20
|
"aria-expanded": h,
|
|
21
21
|
children: [
|
|
@@ -56,7 +56,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
56
56
|
})
|
|
57
57
|
]
|
|
58
58
|
}), h && /* @__PURE__ */ a("div", {
|
|
59
|
-
className: "absolute right-0 mt-2 w-[calc(100vw-1.5rem)] sm:w-72 max-w-72 bg-bg-elevated border border-border-
|
|
59
|
+
className: "absolute right-0 mt-2 w-[calc(100vw-1.5rem)] sm:w-72 max-w-72 bg-bg-elevated border border-border-subtle rounded-card shadow-[var(--shadow-elevation-4)] overflow-hidden z-50 animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-200",
|
|
60
60
|
children: [
|
|
61
61
|
!y && /* @__PURE__ */ a("div", {
|
|
62
62
|
className: "px-6 py-4 text-center border-b border-border-subtle",
|
|
@@ -73,7 +73,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
73
73
|
})
|
|
74
74
|
}),
|
|
75
75
|
/* @__PURE__ */ a("h3", {
|
|
76
|
-
className: "text-
|
|
76
|
+
className: "text-base font-semibold text-text-primary mb-1",
|
|
77
77
|
children: [
|
|
78
78
|
"Hi, ",
|
|
79
79
|
o.firstName,
|
|
@@ -96,7 +96,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
96
96
|
b.lastName
|
|
97
97
|
]
|
|
98
98
|
}), /* @__PURE__ */ i("p", {
|
|
99
|
-
className: "text-
|
|
99
|
+
className: "text-xs text-text-muted mt-0.5 truncate",
|
|
100
100
|
children: b.email
|
|
101
101
|
})]
|
|
102
102
|
}),
|
|
@@ -107,14 +107,14 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
107
107
|
onClick: () => {
|
|
108
108
|
l(), g(!1);
|
|
109
109
|
},
|
|
110
|
-
className: "w-full px-4 py-2.5 text-body-sm font-medium text-text-primary bg-
|
|
110
|
+
className: "w-full px-4 py-2.5 text-body-sm font-medium text-text-primary bg-bg-surface hover:bg-bg-sunken rounded-button border border-border-subtle transition-colors",
|
|
111
111
|
children: "View Profile"
|
|
112
112
|
})
|
|
113
113
|
}),
|
|
114
114
|
y && x.length > 0 && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("div", {
|
|
115
115
|
className: "px-4 pt-2 pb-1",
|
|
116
116
|
children: /* @__PURE__ */ i("p", {
|
|
117
|
-
className: "text-
|
|
117
|
+
className: "text-[11px] font-medium text-text-muted uppercase tracking-wider",
|
|
118
118
|
children: "Switch Account"
|
|
119
119
|
})
|
|
120
120
|
}), /* @__PURE__ */ i("div", {
|
|
@@ -122,7 +122,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
122
122
|
children: x.map((e) => {
|
|
123
123
|
let t = `${e.firstName?.charAt(0) || ""}${e.lastName?.charAt(0) || ""}`.toUpperCase();
|
|
124
124
|
return /* @__PURE__ */ i("div", {
|
|
125
|
-
className: "px-4 py-2 hover:bg-
|
|
125
|
+
className: "px-4 py-2 hover:bg-bg-sunken transition-colors group",
|
|
126
126
|
children: /* @__PURE__ */ a("div", {
|
|
127
127
|
className: "flex items-center gap-3",
|
|
128
128
|
children: [
|
|
@@ -151,7 +151,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
151
151
|
e.lastName
|
|
152
152
|
]
|
|
153
153
|
}), /* @__PURE__ */ i("p", {
|
|
154
|
-
className: "text-
|
|
154
|
+
className: "text-xs text-text-muted truncate",
|
|
155
155
|
children: e.email
|
|
156
156
|
})]
|
|
157
157
|
}),
|
|
@@ -160,7 +160,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
160
160
|
onClick: (t) => {
|
|
161
161
|
t.stopPropagation(), p(e.id);
|
|
162
162
|
},
|
|
163
|
-
className: "size-6 flex items-center justify-center rounded-full hover:bg-status-error-bg
|
|
163
|
+
className: "size-6 flex items-center justify-center rounded-full hover:bg-status-error-bg-subtle text-text-muted hover:text-status-error-text transition-colors opacity-0 group-hover:opacity-100",
|
|
164
164
|
"aria-label": "Remove account",
|
|
165
165
|
children: /* @__PURE__ */ i("svg", {
|
|
166
166
|
className: "size-4",
|
|
@@ -189,7 +189,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
189
189
|
onClick: () => {
|
|
190
190
|
f(), g(!1);
|
|
191
191
|
},
|
|
192
|
-
className: "flex items-center justify-center gap-2 px-3 py-2.5 text-body-sm font-medium text-text-primary bg-
|
|
192
|
+
className: "flex items-center justify-center gap-2 px-3 py-2.5 text-body-sm font-medium text-text-primary bg-bg-surface hover:bg-bg-sunken rounded-button border border-border-subtle transition-colors",
|
|
193
193
|
children: [/* @__PURE__ */ i("svg", {
|
|
194
194
|
className: "size-4",
|
|
195
195
|
fill: "none",
|
|
@@ -207,7 +207,7 @@ var o = ({ user: o, accounts: s = [], activeAccountId: c, onViewProfile: l, onLo
|
|
|
207
207
|
onClick: () => {
|
|
208
208
|
u(), g(!1);
|
|
209
209
|
},
|
|
210
|
-
className: "flex items-center justify-center gap-2 px-3 py-2.5 text-body-sm font-medium text-text-primary bg-
|
|
210
|
+
className: "flex items-center justify-center gap-2 px-3 py-2.5 text-body-sm font-medium text-text-primary bg-bg-surface hover:bg-bg-sunken rounded-button border border-border-subtle transition-colors",
|
|
211
211
|
children: [/* @__PURE__ */ i("svg", {
|
|
212
212
|
className: "size-4",
|
|
213
213
|
fill: "none",
|
|
@@ -37,11 +37,11 @@ var s = ({ isOpen: s, onClose: c, shortcuts: l }) => {
|
|
|
37
37
|
return /* @__PURE__ */ o("div", {
|
|
38
38
|
className: "fixed inset-0 z-[9999] flex items-center justify-center animate-in fade-in duration-200",
|
|
39
39
|
children: [/* @__PURE__ */ a("div", {
|
|
40
|
-
className: "absolute inset-0 bg-
|
|
40
|
+
className: "absolute inset-0 bg-bg-overlay backdrop-blur-sm",
|
|
41
41
|
onClick: c,
|
|
42
42
|
"aria-hidden": "true"
|
|
43
43
|
}), /* @__PURE__ */ o("div", {
|
|
44
|
-
className: "relative bg-bg-
|
|
44
|
+
className: "relative bg-bg-elevated border border-border-subtle rounded-card shadow-[var(--shadow-elevation-4)] max-w-2xl w-full mx-4 max-h-[85dvh] flex flex-col animate-in fade-in-0 zoom-in-95 slide-in-from-bottom-4 duration-300",
|
|
45
45
|
role: "dialog",
|
|
46
46
|
"aria-modal": "true",
|
|
47
47
|
"aria-labelledby": "shortcut-dialog-title",
|
|
@@ -58,7 +58,7 @@ var s = ({ isOpen: s, onClose: c, shortcuts: l }) => {
|
|
|
58
58
|
})] }), /* @__PURE__ */ a("button", {
|
|
59
59
|
type: "button",
|
|
60
60
|
onClick: c,
|
|
61
|
-
className: "p-2 hover:bg-
|
|
61
|
+
className: "p-2 hover:bg-bg-sunken rounded-button text-text-secondary transition-colors",
|
|
62
62
|
"aria-label": "Close",
|
|
63
63
|
children: /* @__PURE__ */ a(i, { className: "size-5" })
|
|
64
64
|
})]
|
|
@@ -73,13 +73,13 @@ var s = ({ isOpen: s, onClose: c, shortcuts: l }) => {
|
|
|
73
73
|
}), /* @__PURE__ */ a("div", {
|
|
74
74
|
className: "space-y-1",
|
|
75
75
|
children: f[e].map((e, n) => /* @__PURE__ */ o("div", {
|
|
76
|
-
className: "flex items-center justify-between py-2 px-3 rounded-
|
|
76
|
+
className: "flex items-center justify-between py-2 px-3 rounded-button hover:bg-bg-sunken transition-all duration-200 hover:translate-x-0.5",
|
|
77
77
|
style: { animationDelay: `${n * 30}ms` },
|
|
78
78
|
children: [/* @__PURE__ */ a("span", {
|
|
79
79
|
className: "text-text-primary text-sm",
|
|
80
80
|
children: e.description
|
|
81
81
|
}), /* @__PURE__ */ a("kbd", {
|
|
82
|
-
className: "ml-4 px-2.5 py-1 bg-bg-
|
|
82
|
+
className: "ml-4 px-2.5 py-1 bg-bg-sunken border border-border-subtle rounded text-text-secondary text-xs font-mono whitespace-nowrap transition-all duration-200 hover:scale-105",
|
|
83
83
|
children: t(e.keys)
|
|
84
84
|
})]
|
|
85
85
|
}, e.id))
|
|
@@ -87,11 +87,11 @@ var s = ({ isOpen: s, onClose: c, shortcuts: l }) => {
|
|
|
87
87
|
})
|
|
88
88
|
}),
|
|
89
89
|
/* @__PURE__ */ a("div", {
|
|
90
|
-
className: "p-4 border-t border-border-subtle bg-bg-sunken/50 rounded-b-
|
|
90
|
+
className: "p-4 border-t border-border-subtle bg-bg-sunken/50 rounded-b-card",
|
|
91
91
|
children: /* @__PURE__ */ o("div", {
|
|
92
92
|
className: "flex items-center justify-between text-xs",
|
|
93
93
|
children: [/* @__PURE__ */ o("p", {
|
|
94
|
-
className: "text-text-
|
|
94
|
+
className: "text-text-muted",
|
|
95
95
|
children: [h, " shortcuts"]
|
|
96
96
|
}), /* @__PURE__ */ o("p", {
|
|
97
97
|
className: "text-text-secondary",
|
|
@@ -99,14 +99,14 @@ var s = ({ isOpen: s, onClose: c, shortcuts: l }) => {
|
|
|
99
99
|
"Press",
|
|
100
100
|
" ",
|
|
101
101
|
/* @__PURE__ */ a("kbd", {
|
|
102
|
-
className: "px-1.5 py-0.5 bg-bg-surface border border-border-
|
|
102
|
+
className: "px-1.5 py-0.5 bg-bg-surface border border-border-subtle rounded font-mono",
|
|
103
103
|
children: "?"
|
|
104
104
|
}),
|
|
105
105
|
" ",
|
|
106
106
|
"or",
|
|
107
107
|
" ",
|
|
108
108
|
/* @__PURE__ */ a("kbd", {
|
|
109
|
-
className: "px-1.5 py-0.5 bg-bg-surface border border-border-
|
|
109
|
+
className: "px-1.5 py-0.5 bg-bg-surface border border-border-subtle rounded font-mono",
|
|
110
110
|
children: "Esc"
|
|
111
111
|
}),
|
|
112
112
|
" ",
|
|
@@ -61,7 +61,7 @@ var f = ({ items: f, currentPath: p, collapsed: m = !1, onItemClick: h, onToggle
|
|
|
61
61
|
children: /* @__PURE__ */ u("button", {
|
|
62
62
|
type: "button",
|
|
63
63
|
onClick: g,
|
|
64
|
-
className: "p-2 rounded-button hover:bg-
|
|
64
|
+
className: "p-2 rounded-button hover:bg-bg-sunken text-text-secondary hover:text-text-primary transition-colors",
|
|
65
65
|
"aria-label": "Close sidebar",
|
|
66
66
|
children: /* @__PURE__ */ u("svg", {
|
|
67
67
|
className: "size-5",
|
|
@@ -94,7 +94,7 @@ var f = ({ items: f, currentPath: p, collapsed: m = !1, onItemClick: h, onToggle
|
|
|
94
94
|
children: [
|
|
95
95
|
a > 0 && !m && /* @__PURE__ */ u("div", { className: "my-2 border-t border-border-subtle" }),
|
|
96
96
|
n.label && !m && /* @__PURE__ */ u("p", {
|
|
97
|
-
className: "px-
|
|
97
|
+
className: "px-3 pb-1.5 pt-0.5 text-[11px] font-medium uppercase tracking-wider text-text-muted",
|
|
98
98
|
children: n.label
|
|
99
99
|
}),
|
|
100
100
|
/* @__PURE__ */ u("ul", {
|
|
@@ -116,7 +116,7 @@ var f = ({ items: f, currentPath: p, collapsed: m = !1, onItemClick: h, onToggle
|
|
|
116
116
|
}), /* @__PURE__ */ d(t, {
|
|
117
117
|
side: "right",
|
|
118
118
|
children: [/* @__PURE__ */ u("p", { children: n.label }), n.badge !== void 0 && n.badge > 0 && /* @__PURE__ */ u("span", {
|
|
119
|
-
className: "ml-2 text-xs bg-status-error-bg text-status-error-text px-2 py-0.5 rounded-
|
|
119
|
+
className: "ml-2 text-xs bg-status-error-bg-subtle text-status-error-text px-2 py-0.5 rounded-full",
|
|
120
120
|
children: n.badge
|
|
121
121
|
})]
|
|
122
122
|
})] }, n.id) : /* @__PURE__ */ u(i, {
|
package/dist/chrome/Sidebar.js
CHANGED
|
@@ -10,7 +10,7 @@ var a = ({ sections: a, isCollapsed: o = !1, onToggleCollapse: s, header: c, foo
|
|
|
10
10
|
});
|
|
11
11
|
};
|
|
12
12
|
return /* @__PURE__ */ i("aside", {
|
|
13
|
-
className: e("flex flex-col bg-bg-
|
|
13
|
+
className: e("flex flex-col bg-bg-surface border-r border-border-subtle transition-all duration-300", u),
|
|
14
14
|
style: { width: o ? f : d },
|
|
15
15
|
children: [
|
|
16
16
|
c && /* @__PURE__ */ r("div", {
|
|
@@ -28,7 +28,7 @@ var a = ({ sections: a, isCollapsed: o = !1, onToggleCollapse: s, header: c, foo
|
|
|
28
28
|
children: t.collapsible ? /* @__PURE__ */ i("button", {
|
|
29
29
|
type: "button",
|
|
30
30
|
onClick: () => h(t.title),
|
|
31
|
-
className: "flex items-center justify-between w-full text-text-
|
|
31
|
+
className: "flex items-center justify-between w-full text-text-muted text-[11px] font-medium uppercase tracking-wider hover:text-text-secondary transition-colors",
|
|
32
32
|
"aria-expanded": !a,
|
|
33
33
|
children: [/* @__PURE__ */ r("span", { children: t.title }), /* @__PURE__ */ r("svg", {
|
|
34
34
|
className: e("w-4 h-4 transition-transform", a && "rotate-180"),
|
|
@@ -43,7 +43,7 @@ var a = ({ sections: a, isCollapsed: o = !1, onToggleCollapse: s, header: c, foo
|
|
|
43
43
|
})
|
|
44
44
|
})]
|
|
45
45
|
}) : /* @__PURE__ */ r("div", {
|
|
46
|
-
className: "text-text-
|
|
46
|
+
className: "text-text-muted text-[11px] font-medium uppercase tracking-wider",
|
|
47
47
|
children: t.title
|
|
48
48
|
})
|
|
49
49
|
}), (!t.collapsible || !a) && /* @__PURE__ */ r("ul", {
|
|
@@ -51,9 +51,9 @@ var a = ({ sections: a, isCollapsed: o = !1, onToggleCollapse: s, header: c, foo
|
|
|
51
51
|
children: t.items.map((t) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ i("button", {
|
|
52
52
|
onClick: t.onClick,
|
|
53
53
|
disabled: t.disabled,
|
|
54
|
-
className: e("w-full flex items-center gap-
|
|
55
|
-
"bg-
|
|
56
|
-
"text-text-secondary hover:text-text-primary hover:bg-
|
|
54
|
+
className: e("w-full flex items-center gap-3 rounded-button text-sm transition-all duration-200 ease-[var(--motion-easing-out)]", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-border", o ? "justify-center p-3" : "px-3 py-2", {
|
|
55
|
+
"bg-[var(--color-accent-soft)] text-text-primary font-medium": t.isActive && !t.disabled,
|
|
56
|
+
"text-text-secondary hover:text-text-primary hover:bg-bg-sunken": !t.isActive && !t.disabled,
|
|
57
57
|
"text-text-disabled cursor-not-allowed opacity-50": t.disabled
|
|
58
58
|
}),
|
|
59
59
|
"aria-label": o ? t.label : void 0,
|
|
@@ -67,7 +67,7 @@ var a = ({ sections: a, isCollapsed: o = !1, onToggleCollapse: s, header: c, foo
|
|
|
67
67
|
className: "flex-1 text-left truncate",
|
|
68
68
|
children: t.label
|
|
69
69
|
}), t.badge !== void 0 && /* @__PURE__ */ r("span", {
|
|
70
|
-
className: e("flex items-center justify-center min-w-[20px] h-5 px-1.5 rounded-full text-xs font-medium", t.isActive ? "bg-action-primary-
|
|
70
|
+
className: e("flex items-center justify-center min-w-[20px] h-5 px-1.5 rounded-full text-xs font-medium tabular-nums", t.isActive ? "bg-action-primary-bg text-action-primary-text" : "bg-status-info-bg-subtle text-status-info-text"),
|
|
71
71
|
children: typeof t.badge == "number" && t.badge > 99 ? "99+" : t.badge
|
|
72
72
|
})] })]
|
|
73
73
|
}) }, t.id))
|
|
@@ -81,7 +81,7 @@ var a = ({ sections: a, isCollapsed: o = !1, onToggleCollapse: s, header: c, foo
|
|
|
81
81
|
}),
|
|
82
82
|
s && /* @__PURE__ */ r("button", {
|
|
83
83
|
onClick: s,
|
|
84
|
-
className: e("border-t border-border-subtle p-4 text-text-secondary hover:text-text-primary hover:bg-
|
|
84
|
+
className: e("border-t border-border-subtle p-4 text-text-secondary hover:text-text-primary hover:bg-bg-sunken transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-border", o && "flex justify-center"),
|
|
85
85
|
"aria-label": o ? "Expand sidebar" : "Collapse sidebar",
|
|
86
86
|
title: o ? "Expand sidebar" : "Collapse sidebar",
|
|
87
87
|
type: "button",
|
package/dist/chrome/StatusBar.js
CHANGED
|
@@ -9,7 +9,7 @@ var i = () => {
|
|
|
9
9
|
right: i.filter((e) => e.section === "right" && e.visible !== !1).sort((e, t) => e.priority - t.priority)
|
|
10
10
|
}), [i]);
|
|
11
11
|
return i.length === 0 ? null : /* @__PURE__ */ r("div", {
|
|
12
|
-
className: "flex items-center justify-between h-6 px-
|
|
12
|
+
className: "flex items-center justify-between h-6 px-3 bg-[var(--color-surface-glass)] backdrop-blur-[var(--blur-glass)] border-t border-[var(--color-border-glass)] text-xs text-text-secondary flex-shrink-0",
|
|
13
13
|
"data-ui-plugin-status-bar": "true",
|
|
14
14
|
children: [
|
|
15
15
|
/* @__PURE__ */ n("div", {
|
package/dist/chrome/Tabs.js
CHANGED
|
@@ -43,7 +43,7 @@ var r = ({ items: r, activeTabId: i, onTabChange: a, variant: o = "default", siz
|
|
|
43
43
|
children: r.label
|
|
44
44
|
}),
|
|
45
45
|
r.badge !== void 0 && /* @__PURE__ */ t("span", {
|
|
46
|
-
className: e("flex items-center justify-center min-w-[20px] h-5 px-1.5 rounded-full text-xs font-medium", c && o === "pills" ? "bg-action-primary-text text-action-primary-bg" : "bg-status-info-bg text-status-info-text"),
|
|
46
|
+
className: e("flex items-center justify-center min-w-[20px] h-5 px-1.5 rounded-full text-xs font-medium tabular-nums", c && o === "pills" ? "bg-action-primary-text text-action-primary-bg" : "bg-status-info-bg-subtle text-status-info-text"),
|
|
47
47
|
children: typeof r.badge == "number" && r.badge > 99 ? "99+" : r.badge
|
|
48
48
|
})
|
|
49
49
|
]
|
|
@@ -14,7 +14,7 @@ var o = ({ searchedOrganizations: o, currentOrganizationId: s, searchQuery: c, o
|
|
|
14
14
|
className: "flex-1 overflow-y-auto py-1",
|
|
15
15
|
children: o.length > 0 ? o.map((e, t) => /* @__PURE__ */ a("button", {
|
|
16
16
|
onClick: () => u(e),
|
|
17
|
-
className: `w-full flex items-center gap-3 px-4 py-3 text-sm transition-all duration-200 ease-out animate-in fade-in-0 slide-in-from-left-2 ${e.id === s ? "bg-[var(--color-
|
|
17
|
+
className: `w-full flex items-center gap-3 px-4 py-3 text-sm transition-all duration-200 ease-[var(--motion-easing-out)] animate-in fade-in-0 slide-in-from-left-2 ${e.id === s ? "bg-[var(--color-accent-soft)] text-text-primary font-medium" : "text-text-primary hover:bg-bg-sunken hover:translate-x-0.5"}`,
|
|
18
18
|
style: { animationDelay: `${t * 30}ms` },
|
|
19
19
|
children: [
|
|
20
20
|
/* @__PURE__ */ i(n, { className: "size-5 text-[var(--color-text-secondary)] flex-shrink-0" }),
|
|
@@ -14,7 +14,7 @@ var o = ({ filteredProjects: o, searchedProjects: s, currentProjectId: c, search
|
|
|
14
14
|
className: "flex-1 overflow-y-auto py-1",
|
|
15
15
|
children: o.length === 0 ? /* @__PURE__ */ i(t, { message: "No projects in this workspace" }) : s.length > 0 ? s.map((e, t) => /* @__PURE__ */ a("button", {
|
|
16
16
|
onClick: () => d(e),
|
|
17
|
-
className: `w-full flex items-center gap-3 px-4 py-3 text-sm transition-all duration-200 ease-out animate-in fade-in-0 slide-in-from-left-2 ${e.id === c ? "bg-[var(--color-
|
|
17
|
+
className: `w-full flex items-center gap-3 px-4 py-3 text-sm transition-all duration-200 ease-[var(--motion-easing-out)] animate-in fade-in-0 slide-in-from-left-2 ${e.id === c ? "bg-[var(--color-accent-soft)] text-text-primary font-medium" : "text-text-primary hover:bg-bg-sunken hover:translate-x-0.5"}`,
|
|
18
18
|
style: { animationDelay: `${t * 30}ms` },
|
|
19
19
|
children: [
|
|
20
20
|
/* @__PURE__ */ i(r, { className: "size-5 text-[var(--color-text-secondary)] flex-shrink-0" }),
|
|
@@ -28,7 +28,7 @@ var n = ({ value: n, onChange: r, placeholder: i, inputRef: a }) => /* @__PURE__
|
|
|
28
28
|
n && /* @__PURE__ */ e("button", {
|
|
29
29
|
type: "button",
|
|
30
30
|
onClick: () => r(""),
|
|
31
|
-
className: "absolute right-2 top-1/2 -translate-y-1/2 p-1 rounded-
|
|
31
|
+
className: "absolute right-2 top-1/2 -translate-y-1/2 p-1 rounded-button hover:bg-bg-sunken text-text-muted hover:text-text-primary transition-all duration-150 ease-[var(--motion-easing-out)]",
|
|
32
32
|
"aria-label": "Clear search",
|
|
33
33
|
children: /* @__PURE__ */ e("svg", {
|
|
34
34
|
className: "size-4",
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
//#region src/chrome/contextSwitcher/TabButton.tsx
|
|
3
3
|
var t = ({ label: t, isActive: n, onClick: r }) => /* @__PURE__ */ e("button", {
|
|
4
4
|
onClick: r,
|
|
5
|
-
className: `flex-1 px-3 py-2.5 text-[13px] font-medium whitespace-nowrap text-center transition-all duration-200 ease-out ${n ? "text-
|
|
5
|
+
className: `flex-1 px-3 py-2.5 text-[13px] font-medium whitespace-nowrap text-center transition-all duration-200 ease-[var(--motion-easing-out)] ${n ? "text-text-primary border-b-2 border-[var(--color-action-primary-bg)] bg-[var(--color-accent-soft)]" : "text-text-secondary hover:text-text-primary hover:bg-bg-sunken border-b-2 border-transparent"}`,
|
|
6
6
|
children: t
|
|
7
7
|
});
|
|
8
8
|
//#endregion
|
|
@@ -3,7 +3,7 @@ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
|
3
3
|
//#region src/chrome/contextSwitcher/TriggerButton.tsx
|
|
4
4
|
var a = ({ isOpen: a, compact: o, currentOrg: s, currentWorkspace: c, currentProject: l, onToggle: u }) => /* @__PURE__ */ r("button", {
|
|
5
5
|
onClick: u,
|
|
6
|
-
className: `flex items-center gap-2 px-3 py-2 rounded-
|
|
6
|
+
className: `flex items-center gap-2 px-3 py-2 rounded-button hover:bg-bg-sunken transition-all duration-200 ease-[var(--motion-easing-out)] ${a ? "bg-bg-sunken" : ""}`,
|
|
7
7
|
"aria-label": "Switch context",
|
|
8
8
|
"aria-expanded": a,
|
|
9
9
|
children: o ? /* @__PURE__ */ r(e, { className: "size-5 text-[var(--color-text-primary)]" }) : /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ i("div", {
|
|
@@ -14,7 +14,7 @@ var o = ({ filteredWorkspaces: o, searchedWorkspaces: s, currentWorkspaceId: c,
|
|
|
14
14
|
className: "flex-1 overflow-y-auto py-1",
|
|
15
15
|
children: o.length === 0 ? /* @__PURE__ */ i(t, { message: "No workspaces in this organization" }) : s.length > 0 ? s.map((e, t) => /* @__PURE__ */ a("button", {
|
|
16
16
|
onClick: () => d(e),
|
|
17
|
-
className: `w-full flex items-center gap-3 px-4 py-3 text-sm transition-all duration-200 ease-out animate-in fade-in-0 slide-in-from-left-2 ${e.id === c ? "bg-[var(--color-
|
|
17
|
+
className: `w-full flex items-center gap-3 px-4 py-3 text-sm transition-all duration-200 ease-[var(--motion-easing-out)] animate-in fade-in-0 slide-in-from-left-2 ${e.id === c ? "bg-[var(--color-accent-soft)] text-text-primary font-medium" : "text-text-primary hover:bg-bg-sunken hover:translate-x-0.5"}`,
|
|
18
18
|
style: { animationDelay: `${t * 30}ms` },
|
|
19
19
|
children: [
|
|
20
20
|
/* @__PURE__ */ i(n, { className: "size-5 text-[var(--color-text-secondary)] flex-shrink-0" }),
|