@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
|
@@ -2,17 +2,17 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
2
2
|
//#region src/chrome/globalSearch/AdvancedFiltersPanel.tsx
|
|
3
3
|
function n({ filters: n }) {
|
|
4
4
|
return /* @__PURE__ */ t("div", {
|
|
5
|
-
className: "px-3 py-2 border-b space-y-2 bg-
|
|
5
|
+
className: "px-3 py-2 border-b border-border-subtle space-y-2 bg-bg-sunken/40 max-h-64 overflow-y-auto",
|
|
6
6
|
children: [
|
|
7
7
|
/* @__PURE__ */ t("div", {
|
|
8
8
|
className: "flex items-center gap-2",
|
|
9
9
|
children: [/* @__PURE__ */ e("label", {
|
|
10
|
-
className: "text-[10px] font-medium text-muted
|
|
10
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
11
11
|
children: "Sort by"
|
|
12
12
|
}), /* @__PURE__ */ t("select", {
|
|
13
13
|
value: n.sortBy,
|
|
14
14
|
onChange: (e) => n.setSortBy(e.target.value),
|
|
15
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
15
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong transition-colors",
|
|
16
16
|
children: [
|
|
17
17
|
/* @__PURE__ */ e("option", {
|
|
18
18
|
value: "SCORE_DESC",
|
|
@@ -48,7 +48,7 @@ function n({ filters: n }) {
|
|
|
48
48
|
/* @__PURE__ */ t("div", {
|
|
49
49
|
className: "flex items-center gap-2",
|
|
50
50
|
children: [/* @__PURE__ */ e("label", {
|
|
51
|
-
className: "text-[10px] font-medium text-muted
|
|
51
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
52
52
|
children: "Products"
|
|
53
53
|
}), /* @__PURE__ */ e("input", {
|
|
54
54
|
"aria-label": "Product sources filter",
|
|
@@ -56,13 +56,13 @@ function n({ filters: n }) {
|
|
|
56
56
|
placeholder: "vibecontrols, wspace-tags",
|
|
57
57
|
value: n.productSourcesInput,
|
|
58
58
|
onChange: (e) => n.setProductSourcesInput(e.target.value),
|
|
59
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
59
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
60
60
|
})]
|
|
61
61
|
}),
|
|
62
62
|
/* @__PURE__ */ t("div", {
|
|
63
63
|
className: "flex items-center gap-2",
|
|
64
64
|
children: [/* @__PURE__ */ e("label", {
|
|
65
|
-
className: "text-[10px] font-medium text-muted
|
|
65
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
66
66
|
children: "Project"
|
|
67
67
|
}), /* @__PURE__ */ e("input", {
|
|
68
68
|
"aria-label": "Project ID filter",
|
|
@@ -70,26 +70,26 @@ function n({ filters: n }) {
|
|
|
70
70
|
placeholder: "Project ID",
|
|
71
71
|
value: n.projectId,
|
|
72
72
|
onChange: (e) => n.setProjectId(e.target.value),
|
|
73
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
73
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
74
74
|
})]
|
|
75
75
|
}),
|
|
76
76
|
/* @__PURE__ */ t("div", {
|
|
77
77
|
className: "flex items-center gap-2",
|
|
78
78
|
children: [/* @__PURE__ */ e("label", {
|
|
79
|
-
className: "text-[10px] font-medium text-muted
|
|
79
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
80
80
|
children: "Created by"
|
|
81
81
|
}), /* @__PURE__ */ e("input", {
|
|
82
82
|
type: "text",
|
|
83
83
|
placeholder: "Actor ID",
|
|
84
84
|
value: n.createdBy,
|
|
85
85
|
onChange: (e) => n.setCreatedBy(e.target.value),
|
|
86
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
86
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
87
87
|
})]
|
|
88
88
|
}),
|
|
89
89
|
/* @__PURE__ */ t("div", {
|
|
90
90
|
className: "flex items-center gap-2",
|
|
91
91
|
children: [/* @__PURE__ */ e("label", {
|
|
92
|
-
className: "text-[10px] font-medium text-muted
|
|
92
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
93
93
|
children: "Updated by"
|
|
94
94
|
}), /* @__PURE__ */ e("input", {
|
|
95
95
|
"aria-label": "Updated by filter",
|
|
@@ -97,63 +97,63 @@ function n({ filters: n }) {
|
|
|
97
97
|
placeholder: "Actor ID",
|
|
98
98
|
value: n.updatedBy,
|
|
99
99
|
onChange: (e) => n.setUpdatedBy(e.target.value),
|
|
100
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
100
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
101
101
|
})]
|
|
102
102
|
}),
|
|
103
103
|
/* @__PURE__ */ t("div", {
|
|
104
104
|
className: "flex items-center gap-2",
|
|
105
105
|
children: [/* @__PURE__ */ e("label", {
|
|
106
|
-
className: "text-[10px] font-medium text-muted
|
|
106
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
107
107
|
children: "Date from"
|
|
108
108
|
}), /* @__PURE__ */ e("input", {
|
|
109
109
|
type: "date",
|
|
110
110
|
value: n.dateFrom,
|
|
111
111
|
onChange: (e) => n.setDateFrom(e.target.value),
|
|
112
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
112
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong transition-colors"
|
|
113
113
|
})]
|
|
114
114
|
}),
|
|
115
115
|
/* @__PURE__ */ t("div", {
|
|
116
116
|
className: "flex items-center gap-2",
|
|
117
117
|
children: [/* @__PURE__ */ e("label", {
|
|
118
|
-
className: "text-[10px] font-medium text-muted
|
|
118
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
119
119
|
children: "Date to"
|
|
120
120
|
}), /* @__PURE__ */ e("input", {
|
|
121
121
|
type: "date",
|
|
122
122
|
value: n.dateTo,
|
|
123
123
|
onChange: (e) => n.setDateTo(e.target.value),
|
|
124
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
124
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong transition-colors"
|
|
125
125
|
})]
|
|
126
126
|
}),
|
|
127
127
|
/* @__PURE__ */ t("div", {
|
|
128
128
|
className: "flex items-center gap-2",
|
|
129
129
|
children: [/* @__PURE__ */ e("label", {
|
|
130
|
-
className: "text-[10px] font-medium text-muted
|
|
130
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
131
131
|
children: "Updated from"
|
|
132
132
|
}), /* @__PURE__ */ e("input", {
|
|
133
133
|
"aria-label": "Updated from date",
|
|
134
134
|
type: "date",
|
|
135
135
|
value: n.updatedDateFrom,
|
|
136
136
|
onChange: (e) => n.setUpdatedDateFrom(e.target.value),
|
|
137
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
137
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong transition-colors"
|
|
138
138
|
})]
|
|
139
139
|
}),
|
|
140
140
|
/* @__PURE__ */ t("div", {
|
|
141
141
|
className: "flex items-center gap-2",
|
|
142
142
|
children: [/* @__PURE__ */ e("label", {
|
|
143
|
-
className: "text-[10px] font-medium text-muted
|
|
143
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
144
144
|
children: "Updated to"
|
|
145
145
|
}), /* @__PURE__ */ e("input", {
|
|
146
146
|
"aria-label": "Updated to date",
|
|
147
147
|
type: "date",
|
|
148
148
|
value: n.updatedDateTo,
|
|
149
149
|
onChange: (e) => n.setUpdatedDateTo(e.target.value),
|
|
150
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
150
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong transition-colors"
|
|
151
151
|
})]
|
|
152
152
|
}),
|
|
153
153
|
/* @__PURE__ */ t("div", {
|
|
154
154
|
className: "flex items-center gap-2",
|
|
155
155
|
children: [/* @__PURE__ */ e("label", {
|
|
156
|
-
className: "text-[10px] font-medium text-muted
|
|
156
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
157
157
|
children: "Tag keys"
|
|
158
158
|
}), /* @__PURE__ */ e("input", {
|
|
159
159
|
"aria-label": "Tag keys filter",
|
|
@@ -161,13 +161,13 @@ function n({ filters: n }) {
|
|
|
161
161
|
placeholder: "search, team/platform",
|
|
162
162
|
value: n.tagKeysInput,
|
|
163
163
|
onChange: (e) => n.setTagKeysInput(e.target.value),
|
|
164
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
164
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
165
165
|
})]
|
|
166
166
|
}),
|
|
167
167
|
/* @__PURE__ */ t("div", {
|
|
168
168
|
className: "flex items-center gap-2",
|
|
169
169
|
children: [/* @__PURE__ */ e("label", {
|
|
170
|
-
className: "text-[10px] font-medium text-muted
|
|
170
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
171
171
|
children: "Tag IDs"
|
|
172
172
|
}), /* @__PURE__ */ e("input", {
|
|
173
173
|
"aria-label": "Tag IDs filter",
|
|
@@ -175,13 +175,13 @@ function n({ filters: n }) {
|
|
|
175
175
|
placeholder: "Comma-separated IDs",
|
|
176
176
|
value: n.tagIdsInput,
|
|
177
177
|
onChange: (e) => n.setTagIdsInput(e.target.value),
|
|
178
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
178
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
179
179
|
})]
|
|
180
180
|
}),
|
|
181
181
|
/* @__PURE__ */ t("div", {
|
|
182
182
|
className: "flex items-center gap-2",
|
|
183
183
|
children: [/* @__PURE__ */ e("label", {
|
|
184
|
-
className: "text-[10px] font-medium text-muted
|
|
184
|
+
className: "text-[10px] font-medium text-text-muted w-16 flex-shrink-0",
|
|
185
185
|
children: "Tag paths"
|
|
186
186
|
}), /* @__PURE__ */ e("input", {
|
|
187
187
|
"aria-label": "Tag hierarchy filter",
|
|
@@ -189,7 +189,7 @@ function n({ filters: n }) {
|
|
|
189
189
|
placeholder: "team/engineering",
|
|
190
190
|
value: n.tagPathsInput,
|
|
191
191
|
onChange: (e) => n.setTagPathsInput(e.target.value),
|
|
192
|
-
className: "flex-1 h-7 text-xs rounded border border-border bg-
|
|
192
|
+
className: "flex-1 h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
193
193
|
})]
|
|
194
194
|
}),
|
|
195
195
|
/* @__PURE__ */ t("div", {
|
|
@@ -201,13 +201,13 @@ function n({ filters: n }) {
|
|
|
201
201
|
placeholder: "metadata.path",
|
|
202
202
|
value: n.metadataKey,
|
|
203
203
|
onChange: (e) => n.setMetadataKey(e.target.value),
|
|
204
|
-
className: "h-7 text-xs rounded border border-border bg-
|
|
204
|
+
className: "h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
205
205
|
}),
|
|
206
206
|
/* @__PURE__ */ t("select", {
|
|
207
207
|
"aria-label": "Metadata operator filter",
|
|
208
208
|
value: n.metadataOperator,
|
|
209
209
|
onChange: (e) => n.setMetadataOperator(e.target.value),
|
|
210
|
-
className: "h-7 text-xs rounded border border-border bg-
|
|
210
|
+
className: "h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong transition-colors",
|
|
211
211
|
children: [
|
|
212
212
|
/* @__PURE__ */ e("option", {
|
|
213
213
|
value: "EQUALS",
|
|
@@ -233,7 +233,7 @@ function n({ filters: n }) {
|
|
|
233
233
|
placeholder: "Value",
|
|
234
234
|
value: n.metadataValue,
|
|
235
235
|
onChange: (e) => n.setMetadataValue(e.target.value),
|
|
236
|
-
className: "h-7 text-xs rounded border border-border bg-
|
|
236
|
+
className: "h-7 text-xs rounded-input border border-border-subtle bg-bg-surface text-text-primary px-2 outline-none focus:border-border-strong placeholder:text-text-placeholder transition-colors"
|
|
237
237
|
})
|
|
238
238
|
]
|
|
239
239
|
}),
|
|
@@ -242,7 +242,7 @@ function n({ filters: n }) {
|
|
|
242
242
|
children: /* @__PURE__ */ e("button", {
|
|
243
243
|
type: "button",
|
|
244
244
|
onClick: n.reset,
|
|
245
|
-
className: "text-[10px] text-muted
|
|
245
|
+
className: "text-[10px] text-text-muted hover:text-text-primary transition-colors",
|
|
246
246
|
children: "Clear filters"
|
|
247
247
|
})
|
|
248
248
|
})
|
|
@@ -4,18 +4,18 @@ import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/chrome/globalSearch/CategoryTabs.tsx
|
|
5
5
|
function r({ categories: r, selectedCategory: i, onSelect: a }) {
|
|
6
6
|
return r.length === 0 ? null : /* @__PURE__ */ n("div", {
|
|
7
|
-
className: "flex items-center gap-1 p-2 border-b overflow-x-auto scrollbar-hide scroll-smooth snap-x snap-mandatory",
|
|
7
|
+
className: "flex items-center gap-1 p-2 border-b border-border-subtle overflow-x-auto scrollbar-hide scroll-smooth snap-x snap-mandatory",
|
|
8
8
|
children: [/* @__PURE__ */ t("button", {
|
|
9
9
|
type: "button",
|
|
10
10
|
onClick: () => a(void 0),
|
|
11
|
-
className: e("px-3 py-1.5 text-xs rounded-
|
|
11
|
+
className: e("px-3 py-1.5 text-xs font-medium rounded-button transition-colors whitespace-nowrap flex-shrink-0 snap-start", i === void 0 ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
|
|
12
12
|
children: "All"
|
|
13
13
|
}), r.map((r) => {
|
|
14
14
|
let o = r.icon;
|
|
15
15
|
return /* @__PURE__ */ n("button", {
|
|
16
16
|
type: "button",
|
|
17
17
|
onClick: () => a(r.name),
|
|
18
|
-
className: e("px-3 py-1.5 text-xs rounded-
|
|
18
|
+
className: e("px-3 py-1.5 text-xs font-medium rounded-button transition-colors whitespace-nowrap flex-shrink-0 flex items-center gap-1.5 snap-start", i === r.name ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
|
|
19
19
|
children: [/* @__PURE__ */ t(o, { className: "size-3.5" }), /* @__PURE__ */ t("span", {
|
|
20
20
|
className: "hidden xs:inline",
|
|
21
21
|
children: r.label
|
|
@@ -10,20 +10,20 @@ function i({ loading: i, error: a, query: o, results: s, groupedResults: c, rece
|
|
|
10
10
|
children: /* @__PURE__ */ n(t, { className: "size-4 animate-spin" })
|
|
11
11
|
}),
|
|
12
12
|
a && /* @__PURE__ */ n("div", {
|
|
13
|
-
className: "py-6 text-center text-sm text-
|
|
13
|
+
className: "py-6 text-center text-sm text-status-error-text",
|
|
14
14
|
children: a
|
|
15
15
|
}),
|
|
16
16
|
!i && !a && !o && l.length > 0 && /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("div", {
|
|
17
|
-
className: "px-2 py-1.5 text-
|
|
17
|
+
className: "px-2 py-1.5 text-[11px] font-medium uppercase tracking-wider text-text-muted",
|
|
18
18
|
children: "Recent Searches"
|
|
19
19
|
}), l.map((t, i) => /* @__PURE__ */ r("button", {
|
|
20
20
|
type: "button",
|
|
21
21
|
onClick: () => u(t),
|
|
22
|
-
className: "w-full flex items-center gap-2 px-2 py-2 text-sm rounded-
|
|
22
|
+
className: "w-full flex items-center gap-2 px-2 py-2 text-sm rounded-button text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors text-left",
|
|
23
23
|
children: [/* @__PURE__ */ n(e, { className: "size-4 opacity-50" }), t]
|
|
24
24
|
}, i))] }),
|
|
25
25
|
!i && !a && o && s.length === 0 && /* @__PURE__ */ r("div", {
|
|
26
|
-
className: "py-6 text-center text-sm text-muted
|
|
26
|
+
className: "py-6 text-center text-sm text-text-muted",
|
|
27
27
|
children: [
|
|
28
28
|
"No results found for \"",
|
|
29
29
|
o,
|
|
@@ -31,21 +31,21 @@ function i({ loading: i, error: a, query: o, results: s, groupedResults: c, rece
|
|
|
31
31
|
]
|
|
32
32
|
}),
|
|
33
33
|
!i && !a && Object.entries(c).map(([e, t]) => /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("div", {
|
|
34
|
-
className: "px-2 py-1.5 text-
|
|
34
|
+
className: "px-2 py-1.5 text-[11px] font-medium uppercase tracking-wider text-text-muted",
|
|
35
35
|
children: e
|
|
36
36
|
}), t.map((e) => {
|
|
37
37
|
let t = e.icon;
|
|
38
38
|
return /* @__PURE__ */ r("button", {
|
|
39
39
|
type: "button",
|
|
40
40
|
onClick: () => d(e),
|
|
41
|
-
className: "w-full flex items-start gap-2 px-2 py-2 text-sm rounded-
|
|
41
|
+
className: "w-full flex items-start gap-2 px-2 py-2 text-sm rounded-button text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors text-left",
|
|
42
42
|
children: [t && /* @__PURE__ */ n(t, { className: "size-4 mt-0.5 flex-shrink-0" }), /* @__PURE__ */ r("div", {
|
|
43
43
|
className: "flex-1 min-w-0",
|
|
44
44
|
children: [/* @__PURE__ */ n("div", {
|
|
45
|
-
className: "font-medium truncate",
|
|
45
|
+
className: "font-medium truncate text-text-primary",
|
|
46
46
|
children: e.title
|
|
47
47
|
}), e.description && /* @__PURE__ */ n("div", {
|
|
48
|
-
className: "text-xs text-muted
|
|
48
|
+
className: "text-xs text-text-muted truncate",
|
|
49
49
|
children: e.description
|
|
50
50
|
})]
|
|
51
51
|
})]
|
|
@@ -3,21 +3,21 @@ import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
|
3
3
|
//#region src/chrome/globalSearch/SearchInput.tsx
|
|
4
4
|
function i({ value: i, placeholder: a, onChange: o, onClear: s }) {
|
|
5
5
|
return /* @__PURE__ */ r("div", {
|
|
6
|
-
className: "flex items-center border-b px-
|
|
6
|
+
className: "flex items-center border-b border-border-subtle px-4",
|
|
7
7
|
children: [
|
|
8
|
-
/* @__PURE__ */ n(e, { className: "size-4 mr-2 flex-shrink-0
|
|
8
|
+
/* @__PURE__ */ n(e, { className: "size-4 mr-2 flex-shrink-0 text-text-muted" }),
|
|
9
9
|
/* @__PURE__ */ n("input", {
|
|
10
10
|
type: "text",
|
|
11
11
|
placeholder: a,
|
|
12
12
|
value: i,
|
|
13
13
|
onChange: (e) => o(e.target.value),
|
|
14
|
-
className: "flex-1 bg-transparent py-3 text-sm outline-none placeholder:text-
|
|
14
|
+
className: "flex-1 bg-transparent py-3.5 text-sm text-text-primary outline-none placeholder:text-text-placeholder",
|
|
15
15
|
autoFocus: !0
|
|
16
16
|
}),
|
|
17
17
|
i && /* @__PURE__ */ n("button", {
|
|
18
18
|
type: "button",
|
|
19
19
|
onClick: s,
|
|
20
|
-
className: "ml-2 rounded-
|
|
20
|
+
className: "ml-2 rounded-button p-1 text-text-muted hover:bg-bg-sunken hover:text-text-primary transition-colors",
|
|
21
21
|
"aria-label": "Clear search",
|
|
22
22
|
children: /* @__PURE__ */ n(t, { className: "size-4" })
|
|
23
23
|
})
|
|
@@ -5,7 +5,7 @@ import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
|
5
5
|
//#region src/chrome/globalSearch/SearchModeBar.tsx
|
|
6
6
|
function o({ searchMode: o, onSearchModeChange: s, showAdvanced: c, onToggleAdvanced: l }) {
|
|
7
7
|
return /* @__PURE__ */ a("div", {
|
|
8
|
-
className: "flex items-center justify-between px-3 py-1.5 border-b",
|
|
8
|
+
className: "flex items-center justify-between px-3 py-1.5 border-b border-border-subtle",
|
|
9
9
|
children: [/* @__PURE__ */ i("div", {
|
|
10
10
|
className: "flex items-center gap-1",
|
|
11
11
|
children: [
|
|
@@ -15,14 +15,14 @@ function o({ searchMode: o, onSearchModeChange: s, showAdvanced: c, onToggleAdva
|
|
|
15
15
|
].map((t) => /* @__PURE__ */ i("button", {
|
|
16
16
|
type: "button",
|
|
17
17
|
onClick: () => s(t),
|
|
18
|
-
className: e("px-2 py-1 text-[10px] font-medium rounded transition-colors", o === t ? "bg-primary text-primary-
|
|
18
|
+
className: e("px-2 py-1 text-[10px] font-medium rounded-button transition-colors", o === t ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:text-text-primary"),
|
|
19
19
|
title: t === "PARTIAL" ? "Autocomplete — matches prefixes and substrings" : t === "FULLTEXT" ? "Full-text — BM25 word matching with stemming" : "Exact — all search terms must appear",
|
|
20
20
|
children: t === "PARTIAL" ? "Partial" : t === "FULLTEXT" ? "Fulltext" : "Exact"
|
|
21
21
|
}, t))
|
|
22
22
|
}), /* @__PURE__ */ a("button", {
|
|
23
23
|
type: "button",
|
|
24
24
|
onClick: l,
|
|
25
|
-
className: "flex items-center gap-1 px-2 py-1 text-[10px] font-medium text-
|
|
25
|
+
className: "flex items-center gap-1 px-2 py-1 text-[10px] font-medium text-text-secondary rounded-button hover:bg-bg-sunken hover:text-text-primary transition-colors",
|
|
26
26
|
"aria-expanded": c,
|
|
27
27
|
children: [
|
|
28
28
|
/* @__PURE__ */ i(r, { className: "size-3" }),
|
|
@@ -3,7 +3,7 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
3
3
|
var n = ({ unreadCount: n, isOpen: r, onToggle: i }) => /* @__PURE__ */ t("button", {
|
|
4
4
|
type: "button",
|
|
5
5
|
onClick: i,
|
|
6
|
-
className: "relative p-2 hover:bg-
|
|
6
|
+
className: "relative p-2 hover:bg-bg-sunken rounded-button text-text-primary transition-colors",
|
|
7
7
|
"aria-label": `Notifications${n > 0 ? ` (${n} unread)` : ""}`,
|
|
8
8
|
"aria-expanded": r,
|
|
9
9
|
"aria-haspopup": "true",
|
|
@@ -7,7 +7,7 @@ var a = ({ notification: a, onMarkAsRead: o, onDelete: s, onRedirect: c }) => {
|
|
|
7
7
|
label: f
|
|
8
8
|
};
|
|
9
9
|
return /* @__PURE__ */ i("div", {
|
|
10
|
-
className: `group relative flex gap-3 p-3 rounded-card border transition-all duration-
|
|
10
|
+
className: `group relative flex gap-3 p-3 rounded-card border transition-all duration-200 ease-[var(--motion-easing-out)] cursor-pointer hover:border-border-strong ${g ? "bg-bg-surface border-border-subtle hover:bg-bg-sunken" : "bg-[var(--color-accent-soft)] border-border-subtle shadow-elevation-1"}`,
|
|
11
11
|
onClick: () => {
|
|
12
12
|
g || o(l), h && c(h);
|
|
13
13
|
},
|
|
@@ -41,7 +41,7 @@ var a = ({ notification: a, onMarkAsRead: o, onDelete: s, onRedirect: c }) => {
|
|
|
41
41
|
onClick: (e) => {
|
|
42
42
|
e.stopPropagation(), o(l);
|
|
43
43
|
},
|
|
44
|
-
className: "p-1 rounded hover:bg-bg-
|
|
44
|
+
className: "p-1 rounded hover:bg-bg-sunken text-text-muted hover:text-text-primary",
|
|
45
45
|
title: "Mark as read",
|
|
46
46
|
"aria-label": "Mark as read",
|
|
47
47
|
children: /* @__PURE__ */ r("svg", {
|
|
@@ -61,7 +61,7 @@ var a = ({ notification: a, onMarkAsRead: o, onDelete: s, onRedirect: c }) => {
|
|
|
61
61
|
onClick: (e) => {
|
|
62
62
|
e.stopPropagation(), s(l);
|
|
63
63
|
},
|
|
64
|
-
className: "p-1 rounded hover:bg-bg-
|
|
64
|
+
className: "p-1 rounded hover:bg-bg-sunken text-text-muted hover:text-status-error-text",
|
|
65
65
|
title: "Dismiss",
|
|
66
66
|
"aria-label": "Dismiss notification",
|
|
67
67
|
children: /* @__PURE__ */ r("svg", {
|
|
@@ -91,11 +91,11 @@ var a = ({ notification: a, onMarkAsRead: o, onDelete: s, onRedirect: c }) => {
|
|
|
91
91
|
children: v.label
|
|
92
92
|
}),
|
|
93
93
|
m && /* @__PURE__ */ r("span", {
|
|
94
|
-
className: "inline-flex items-center px-1.5 py-0.5 text-[10px] font-medium rounded bg-bg-
|
|
94
|
+
className: "inline-flex items-center px-1.5 py-0.5 text-[10px] font-medium rounded bg-bg-sunken text-text-muted",
|
|
95
95
|
children: m
|
|
96
96
|
}),
|
|
97
97
|
/* @__PURE__ */ r("span", {
|
|
98
|
-
className: "text-[10px] text-text-
|
|
98
|
+
className: "text-[10px] text-text-muted",
|
|
99
99
|
children: n(_)
|
|
100
100
|
}),
|
|
101
101
|
h && /* @__PURE__ */ i("button", {
|
|
@@ -8,7 +8,7 @@ var a = ({ filterTab: a, typeFilter: o, appFilter: s, sortBy: c, appNames: l, on
|
|
|
8
8
|
className: "flex gap-1",
|
|
9
9
|
children: e.map((e) => /* @__PURE__ */ r("button", {
|
|
10
10
|
onClick: () => u(e.value),
|
|
11
|
-
className: `px-3 py-1 text-xs font-medium rounded-full transition-colors ${a === e.value ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-
|
|
11
|
+
className: `px-3 py-1 text-xs font-medium rounded-full transition-colors ${a === e.value ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary hover:bg-bg-sunken"}`,
|
|
12
12
|
children: e.label
|
|
13
13
|
}, e.value))
|
|
14
14
|
}),
|
|
@@ -16,7 +16,7 @@ var a = ({ filterTab: a, typeFilter: o, appFilter: s, sortBy: c, appNames: l, on
|
|
|
16
16
|
className: "flex flex-wrap items-center gap-1",
|
|
17
17
|
children: [n.map((e) => /* @__PURE__ */ i("button", {
|
|
18
18
|
onClick: () => d(e.value),
|
|
19
|
-
className: `px-2 py-0.5 text-[11px] font-medium rounded-full whitespace-nowrap transition-colors ${o === e.value ? "bg-bg-elevated text-text-primary border border-border-default" : "text-text-
|
|
19
|
+
className: `px-2 py-0.5 text-[11px] font-medium rounded-full whitespace-nowrap transition-colors ${o === e.value ? "bg-bg-elevated text-text-primary border border-border-default" : "text-text-muted hover:text-text-secondary hover:bg-bg-sunken"}`,
|
|
20
20
|
children: [e.value !== "ALL" && t[e.value] && /* @__PURE__ */ r("span", {
|
|
21
21
|
className: "mr-0.5",
|
|
22
22
|
children: t[e.value].icon
|
|
@@ -46,13 +46,13 @@ var a = ({ filterTab: a, typeFilter: o, appFilter: s, sortBy: c, appNames: l, on
|
|
|
46
46
|
className: "flex flex-wrap gap-1",
|
|
47
47
|
children: [/* @__PURE__ */ r("button", {
|
|
48
48
|
onClick: () => f("ALL"),
|
|
49
|
-
className: `px-2 py-0.5 text-[11px] font-medium rounded-full whitespace-nowrap transition-colors ${s === "ALL" ? "bg-bg-elevated text-text-primary border border-border-default" : "text-text-
|
|
49
|
+
className: `px-2 py-0.5 text-[11px] font-medium rounded-full whitespace-nowrap transition-colors ${s === "ALL" ? "bg-bg-elevated text-text-primary border border-border-default" : "text-text-muted hover:text-text-secondary hover:bg-bg-sunken"}`,
|
|
50
50
|
children: "All Apps"
|
|
51
51
|
}), l.map(([e, t]) => /* @__PURE__ */ i("button", {
|
|
52
52
|
onClick: () => f(e),
|
|
53
|
-
className: `px-2 py-0.5 text-[11px] font-medium rounded-full whitespace-nowrap transition-colors ${s === e ? "bg-bg-elevated text-text-primary border border-border-default" : "text-text-
|
|
53
|
+
className: `px-2 py-0.5 text-[11px] font-medium rounded-full whitespace-nowrap transition-colors ${s === e ? "bg-bg-elevated text-text-primary border border-border-default" : "text-text-muted hover:text-text-secondary hover:bg-bg-sunken"}`,
|
|
54
54
|
children: [e, /* @__PURE__ */ i("span", {
|
|
55
|
-
className: "ml-1 text-text-
|
|
55
|
+
className: "ml-1 text-text-muted",
|
|
56
56
|
children: [
|
|
57
57
|
"(",
|
|
58
58
|
t,
|
|
@@ -5,7 +5,7 @@ var n = ({ totalCount: n, onViewAll: r }) => /* @__PURE__ */ e("div", {
|
|
|
5
5
|
children: /* @__PURE__ */ t("div", {
|
|
6
6
|
className: "flex items-center justify-between",
|
|
7
7
|
children: [/* @__PURE__ */ t("span", {
|
|
8
|
-
className: "text-[11px] text-text-
|
|
8
|
+
className: "text-[11px] text-text-muted",
|
|
9
9
|
children: [
|
|
10
10
|
n,
|
|
11
11
|
" notification",
|
|
@@ -8,7 +8,7 @@ var n = ({ isMobile: n, unreadCount: r, onClose: i, onMarkAllAsRead: a }) => /*
|
|
|
8
8
|
n && /* @__PURE__ */ e("button", {
|
|
9
9
|
type: "button",
|
|
10
10
|
onClick: i,
|
|
11
|
-
className: "p-1 rounded-button hover:bg-
|
|
11
|
+
className: "p-1 rounded-button hover:bg-bg-sunken text-text-primary",
|
|
12
12
|
"aria-label": "Close",
|
|
13
13
|
children: /* @__PURE__ */ e("svg", {
|
|
14
14
|
className: "size-5",
|
|
@@ -54,7 +54,7 @@ var n = ({ isMobile: n, unreadCount: r, onClose: i, onMarkAllAsRead: a }) => /*
|
|
|
54
54
|
}), !n && /* @__PURE__ */ e("button", {
|
|
55
55
|
type: "button",
|
|
56
56
|
onClick: i,
|
|
57
|
-
className: "p-1 rounded-button hover:bg-
|
|
57
|
+
className: "p-1 rounded-button hover:bg-bg-sunken text-text-muted",
|
|
58
58
|
"aria-label": "Close panel",
|
|
59
59
|
children: /* @__PURE__ */ e("svg", {
|
|
60
60
|
className: "size-4",
|
|
@@ -41,7 +41,7 @@ var i = ({ loading: i, error: a, notifications: o, filterTab: s, typeFilter: c,
|
|
|
41
41
|
className: "flex flex-col items-center justify-center p-8 text-center",
|
|
42
42
|
children: [
|
|
43
43
|
/* @__PURE__ */ n("svg", {
|
|
44
|
-
className: "size-12 text-text-
|
|
44
|
+
className: "size-12 text-text-muted mb-3",
|
|
45
45
|
fill: "none",
|
|
46
46
|
stroke: "currentColor",
|
|
47
47
|
viewBox: "0 0 24 24",
|
|
@@ -57,7 +57,7 @@ var i = ({ loading: i, error: a, notifications: o, filterTab: s, typeFilter: c,
|
|
|
57
57
|
children: "You're all caught up!"
|
|
58
58
|
}),
|
|
59
59
|
/* @__PURE__ */ n("p", {
|
|
60
|
-
className: "text-xs text-text-
|
|
60
|
+
className: "text-xs text-text-muted mt-1",
|
|
61
61
|
children: s !== "all" || c !== "ALL" || l !== "ALL" ? "No notifications match your filters" : "No notifications yet"
|
|
62
62
|
})
|
|
63
63
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationPanel.d.ts","sourceRoot":"","sources":["../../../src/chrome/notificationCenter/NotificationPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhD,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"NotificationPanel.d.ts","sourceRoot":"","sources":["../../../src/chrome/notificationCenter/NotificationPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhD,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA4BxD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
//#region src/chrome/notificationCenter/NotificationPanel.tsx
|
|
3
3
|
var r = ({ isMobile: r, onClose: i, children: a }) => r ? /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("div", {
|
|
4
|
-
className: "fixed inset-0 bg-
|
|
4
|
+
className: "fixed inset-0 bg-bg-overlay backdrop-blur-sm z-[60]",
|
|
5
5
|
onClick: i,
|
|
6
6
|
"aria-hidden": "true"
|
|
7
7
|
}), /* @__PURE__ */ t("div", {
|
|
@@ -10,7 +10,7 @@ var r = ({ isMobile: r, onClose: i, children: a }) => r ? /* @__PURE__ */ n(e, {
|
|
|
10
10
|
"aria-label": "Notifications panel",
|
|
11
11
|
children: a
|
|
12
12
|
})] }) : /* @__PURE__ */ t("div", {
|
|
13
|
-
className: "absolute right-0 top-full mt-2 w-[calc(100vw-1.5rem)] sm:w-[420px] max-h-[600px] bg-bg-elevated border border-border-subtle rounded-card shadow-
|
|
13
|
+
className: "absolute right-0 top-full mt-2 w-[calc(100vw-1.5rem)] sm:w-[420px] max-h-[600px] bg-bg-elevated border border-border-subtle rounded-card shadow-[var(--shadow-elevation-4)] z-50 overflow-hidden flex flex-col",
|
|
14
14
|
role: "dialog",
|
|
15
15
|
"aria-label": "Notifications panel",
|
|
16
16
|
children: a
|
|
@@ -2,14 +2,14 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
2
2
|
//#region src/chrome/notificationCenter/SkeletonCard.tsx
|
|
3
3
|
var n = () => /* @__PURE__ */ t("div", {
|
|
4
4
|
className: "flex gap-3 p-3 rounded-card border border-border-subtle animate-pulse",
|
|
5
|
-
children: [/* @__PURE__ */ e("div", { className: "size-6 rounded bg-bg-
|
|
5
|
+
children: [/* @__PURE__ */ e("div", { className: "size-6 rounded bg-bg-sunken flex-shrink-0" }), /* @__PURE__ */ t("div", {
|
|
6
6
|
className: "flex-1 space-y-2",
|
|
7
7
|
children: [
|
|
8
|
-
/* @__PURE__ */ e("div", { className: "h-4 bg-bg-
|
|
9
|
-
/* @__PURE__ */ e("div", { className: "h-3 bg-bg-
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "h-4 bg-bg-sunken rounded w-3/4" }),
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "h-3 bg-bg-sunken rounded w-full" }),
|
|
10
10
|
/* @__PURE__ */ t("div", {
|
|
11
11
|
className: "flex gap-2",
|
|
12
|
-
children: [/* @__PURE__ */ e("div", { className: "h-3 bg-bg-
|
|
12
|
+
children: [/* @__PURE__ */ e("div", { className: "h-3 bg-bg-sunken rounded w-12" }), /* @__PURE__ */ e("div", { className: "h-3 bg-bg-sunken rounded w-16" })]
|
|
13
13
|
})
|
|
14
14
|
]
|
|
15
15
|
})]
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
var e = {
|
|
3
3
|
URGENT: {
|
|
4
4
|
color: "text-status-error-text",
|
|
5
|
-
bgColor: "bg-status-error-bg",
|
|
5
|
+
bgColor: "bg-status-error-bg-subtle",
|
|
6
6
|
label: "Urgent",
|
|
7
7
|
order: 0
|
|
8
8
|
},
|
|
9
9
|
HIGH: {
|
|
10
10
|
color: "text-status-warning-text",
|
|
11
|
-
bgColor: "bg-status-warning-bg",
|
|
11
|
+
bgColor: "bg-status-warning-bg-subtle",
|
|
12
12
|
label: "High",
|
|
13
13
|
order: 1
|
|
14
14
|
},
|
|
15
15
|
MEDIUM: {
|
|
16
16
|
color: "text-status-info-text",
|
|
17
|
-
bgColor: "bg-status-info-bg",
|
|
17
|
+
bgColor: "bg-status-info-bg-subtle",
|
|
18
18
|
label: "Medium",
|
|
19
19
|
order: 2
|
|
20
20
|
},
|
|
21
21
|
LOW: {
|
|
22
|
-
color: "text-text-
|
|
23
|
-
bgColor: "bg-bg-
|
|
22
|
+
color: "text-text-secondary",
|
|
23
|
+
bgColor: "bg-bg-sunken",
|
|
24
24
|
label: "Low",
|
|
25
25
|
order: 3
|
|
26
26
|
}
|
|
@@ -5,7 +5,7 @@ var n = ({ collapsed: n, collapseLabel: r, onToggleCollapse: i }) => /* @__PURE_
|
|
|
5
5
|
children: /* @__PURE__ */ t("button", {
|
|
6
6
|
type: "button",
|
|
7
7
|
onClick: i,
|
|
8
|
-
className: `w-full flex items-center gap-
|
|
8
|
+
className: `w-full flex items-center gap-3 py-2 rounded-button text-sm text-text-secondary hover:bg-bg-sunken hover:text-text-primary transition-colors ${n ? "justify-center px-2" : "px-3"}`,
|
|
9
9
|
"aria-label": n ? "Expand sidebar" : "Collapse sidebar",
|
|
10
10
|
title: n ? "Expand sidebar" : "Collapse sidebar",
|
|
11
11
|
children: [/* @__PURE__ */ e("svg", {
|
|
@@ -4,9 +4,9 @@ import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
|
4
4
|
var r = ({ actions: r, collapsed: i, onToggleCollapse: a }) => {
|
|
5
5
|
let { t: o } = e();
|
|
6
6
|
return /* @__PURE__ */ n("div", {
|
|
7
|
-
className: "md:hidden py-4 px-4 border-t border-border-subtle bg-bg-
|
|
7
|
+
className: "md:hidden py-4 px-4 border-t border-border-subtle bg-bg-sunken/50",
|
|
8
8
|
children: [/* @__PURE__ */ t("p", {
|
|
9
|
-
className: "text-
|
|
9
|
+
className: "text-[11px] text-text-muted mb-3 font-medium uppercase tracking-wider",
|
|
10
10
|
children: ((e, t) => {
|
|
11
11
|
let n = o(e);
|
|
12
12
|
return n === e ? t : n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavItemRenderer.d.ts","sourceRoot":"","sources":["../../../src/chrome/sideNavigation/NavItemRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAiC,MAAM,OAAO,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAIvC,UAAU,oBAAoB;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,eAAe,CAAC;CACvC;AAWD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"NavItemRenderer.d.ts","sourceRoot":"","sources":["../../../src/chrome/sideNavigation/NavItemRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAiC,MAAM,OAAO,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAIvC,UAAU,oBAAoB;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,eAAe,CAAC;CACvC;AAWD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA0NpD,CAAC"}
|