@burdenoff/fe-libs 2026.1118.13 → 2026.1119.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.
Files changed (37) hide show
  1. package/dist/chrome/globalSearch/AdvancedFiltersPanel.js +128 -127
  2. package/dist/chrome/notificationCenter/NotificationFilters.js +45 -44
  3. package/dist/connections/CredentialStorageSelector.js +135 -134
  4. package/dist/connections/SharePanels.js +70 -69
  5. package/dist/credentials/AuthMethodSelector.js +33 -32
  6. package/dist/credentials/SchemaForm.js +96 -95
  7. package/dist/shared/assistant/avatar/live/LiveAvatarSettingsFields.js +74 -73
  8. package/dist/shared/assistant/ui/AssistantLanguageMenu.d.ts +2 -0
  9. package/dist/shared/assistant/ui/AssistantLanguageMenu.js +41 -40
  10. package/dist/shared/assistant/ui/AssistantReplyLanguageSelector.d.ts +3 -1
  11. package/dist/shared/assistant/ui/AssistantReplyLanguageSelector.js +26 -25
  12. package/dist/shared/assistant/ui/composer/AssistantLanguageSelector.d.ts +3 -1
  13. package/dist/shared/assistant/ui/composer/AssistantLanguageSelector.js +22 -21
  14. package/dist/shared/assistant/ui/composer/AssistantVoiceGraceSelector.d.ts +2 -1
  15. package/dist/shared/assistant/ui/composer/AssistantVoiceGraceSelector.js +17 -16
  16. package/dist/shared/assistant/ui/composer/AssistantVoiceSelector.d.ts +3 -1
  17. package/dist/shared/assistant/ui/composer/AssistantVoiceSelector.js +22 -21
  18. package/dist/shared/pages/searchPage/FiltersPanel.js +129 -128
  19. package/dist/shared/pages/searchPage/SearchToolbar.js +24 -23
  20. package/dist/shared/providers/AppShellProvider.d.ts +8 -0
  21. package/dist/shared/providers/AppShellProvider.js +199 -193
  22. package/dist/shared/providers/shell/ThemeProvider.d.ts +6 -1
  23. package/dist/shared/providers/shell/ThemeProvider.js +65 -62
  24. package/dist/shared/providers/shell/themedNativeControls.d.ts +25 -0
  25. package/dist/shared/providers/shell/themedNativeControls.js +13 -0
  26. package/dist/sharing/ShareDialog.js +33 -32
  27. package/dist/storage/StorageFolderPicker.js +50 -49
  28. package/dist/ui/index.d.ts +2 -0
  29. package/dist/ui/themed-select-context.d.ts +9 -0
  30. package/dist/ui/themed-select-context.js +15 -0
  31. package/dist/ui/themed-select-options.d.ts +42 -0
  32. package/dist/ui/themed-select-options.js +88 -0
  33. package/dist/ui/themed-select.d.ts +7 -0
  34. package/dist/ui/themed-select.js +234 -0
  35. package/dist/ui.js +31 -29
  36. package/package.json +1 -1
  37. package/src/shared/tokens/tokens.css +100 -0
@@ -1,36 +1,37 @@
1
1
  import { useAssistantTr as e } from "../../i18n.js";
2
2
  import { useAssistantSpeech as t } from "../AssistantSpeechProvider.js";
3
- import { AudioLines as n } from "lucide-react";
4
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
3
+ import { ThemedSelect as n } from "../../../../ui/themed-select.js";
4
+ import { AudioLines as r } from "lucide-react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
6
  // src/shared/assistant/ui/composer/AssistantVoiceSelector.tsx
6
- var a = ({ disabled: a = !1 }) => {
7
- let s = e(), { voiceChoices: c, activeVoiceName: l, preferredVoiceName: u, setVoice: d } = t();
8
- if (c.length < 2) return null;
9
- let f = s("voice.voiceLabel", "Voice that reads replies");
10
- return /* @__PURE__ */ i("label", {
11
- className: `relative flex items-center gap-1 rounded-md px-1.5 py-1 text-[11px] transition-colors focus-within:ring-2 focus-within:ring-border-strong ${a ? "cursor-not-allowed opacity-50" : "cursor-pointer text-text-muted hover:bg-bg-elevated hover:text-text-secondary"}`,
12
- title: `${f}: ${l ?? ""}`,
7
+ var o = ({ disabled: o = !1 }) => {
8
+ let c = e(), { voiceChoices: l, activeVoiceName: u, preferredVoiceName: d, setVoice: f } = t();
9
+ if (l.length < 2) return null;
10
+ let p = c("voice.voiceLabel", "Voice that reads replies");
11
+ return /* @__PURE__ */ a("label", {
12
+ className: `relative flex items-center gap-1 rounded-md px-1.5 py-1 text-[11px] transition-colors focus-within:ring-2 focus-within:ring-border-strong ${o ? "cursor-not-allowed opacity-50" : "cursor-pointer text-text-muted hover:bg-bg-elevated hover:text-text-secondary"}`,
13
+ title: `${p}: ${u ?? ""}`,
13
14
  "data-testid": "assistant-voice-selector",
14
- children: [/* @__PURE__ */ r(n, {
15
+ children: [/* @__PURE__ */ i(r, {
15
16
  className: "size-3.5",
16
17
  "aria-hidden": "true"
17
- }), /* @__PURE__ */ i("select", {
18
- "aria-label": f,
19
- value: u ?? "__auto__",
20
- disabled: a,
18
+ }), /* @__PURE__ */ a(n, {
19
+ "aria-label": p,
20
+ value: d ?? "__auto__",
21
+ disabled: o,
21
22
  onChange: (e) => {
22
23
  let t = e.target.value;
23
- d(t === "__auto__" ? null : t);
24
+ f(t === "__auto__" ? null : t);
24
25
  },
25
26
  className: "absolute inset-0 cursor-pointer opacity-0 scheme-normal dark:scheme-dark disabled:cursor-not-allowed [&_option]:bg-bg-surface [&_option]:text-text-primary",
26
- children: [/* @__PURE__ */ r("option", {
27
- value: o,
28
- children: l ? `${s("voice.voiceAuto", "Best available")} (${l})` : s("voice.voiceAuto", "Best available")
29
- }), c.map((e) => /* @__PURE__ */ r("option", {
27
+ children: [/* @__PURE__ */ i("option", {
28
+ value: s,
29
+ children: u ? `${c("voice.voiceAuto", "Best available")} (${u})` : c("voice.voiceAuto", "Best available")
30
+ }), l.map((e) => /* @__PURE__ */ i("option", {
30
31
  value: e.name,
31
32
  children: e.name
32
33
  }, e.name))]
33
34
  })]
34
35
  });
35
- }, o = "__auto__";
36
- export { o as AUTO_VOICE, a as AssistantVoiceSelector };
36
+ }, s = "__auto__";
37
+ export { s as AUTO_VOICE, o as AssistantVoiceSelector };
@@ -1,328 +1,329 @@
1
- import { Plus as e, X as t } from "lucide-react";
2
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
1
+ import { ThemedSelect as e } from "../../../ui/themed-select.js";
2
+ import { Plus as t, X as n } from "lucide-react";
3
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
3
4
  // src/shared/pages/searchPage/FiltersPanel.tsx
4
- function i({ entityTypeOptions: i, selectedTypes: a, excludedTypes: o, availableProductOptions: s, selectedProducts: c, facets: l, projectId: u, createdBy: d, updatedBy: f, dateFrom: p, dateTo: m, updatedDateFrom: h, updatedDateTo: g, tagIdsInput: _, tagKeysInput: v, tagPathsInput: y, tagVocabularyKeysInput: b, tagMatchAll: x, includeDescendants: S, tagDepth: C, metadataConditions: w, onToggleEntityType: T, onToggleExcludedType: E, onToggleProductSource: D, onProjectIdChange: O, onCreatedByChange: k, onUpdatedByChange: A, onDateFromChange: j, onDateToChange: M, onUpdatedDateFromChange: N, onUpdatedDateToChange: P, onTagIdsChange: F, onTagKeysChange: I, onTagPathsChange: L, onTagVocabularyKeysChange: R, onTagMatchAllChange: z, onIncludeDescendantsChange: B, onTagDepthChange: V, onAddMetadataCondition: H, onUpdateMetadataCondition: U, onRemoveMetadataCondition: W, children: G }) {
5
- return /* @__PURE__ */ n("div", {
5
+ function a({ entityTypeOptions: a, selectedTypes: o, excludedTypes: s, availableProductOptions: c, selectedProducts: l, facets: u, projectId: d, createdBy: f, updatedBy: p, dateFrom: m, dateTo: h, updatedDateFrom: g, updatedDateTo: _, tagIdsInput: v, tagKeysInput: y, tagPathsInput: b, tagVocabularyKeysInput: x, tagMatchAll: S, includeDescendants: C, tagDepth: w, metadataConditions: T, onToggleEntityType: E, onToggleExcludedType: D, onToggleProductSource: O, onProjectIdChange: k, onCreatedByChange: A, onUpdatedByChange: j, onDateFromChange: M, onDateToChange: N, onUpdatedDateFromChange: P, onUpdatedDateToChange: F, onTagIdsChange: I, onTagKeysChange: L, onTagPathsChange: R, onTagVocabularyKeysChange: z, onTagMatchAllChange: B, onIncludeDescendantsChange: V, onTagDepthChange: H, onAddMetadataCondition: U, onUpdateMetadataCondition: W, onRemoveMetadataCondition: G, children: K }) {
6
+ return /* @__PURE__ */ r("div", {
6
7
  className: "mb-6 p-4 bg-bg-surface rounded-lg border border-border-default",
7
- children: /* @__PURE__ */ r("div", {
8
+ children: /* @__PURE__ */ i("div", {
8
9
  className: "grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6",
9
10
  children: [
10
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("h3", {
11
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("h3", {
11
12
  className: "text-sm font-medium text-text-primary mb-3",
12
13
  children: "Include Entity Types"
13
- }), /* @__PURE__ */ n("div", {
14
+ }), /* @__PURE__ */ r("div", {
14
15
  className: "space-y-2 max-h-56 overflow-y-auto",
15
- children: i.map((e) => /* @__PURE__ */ r("label", {
16
+ children: a.map((e) => /* @__PURE__ */ i("label", {
16
17
  className: "flex items-center gap-2 cursor-pointer",
17
- children: [/* @__PURE__ */ n("input", {
18
+ children: [/* @__PURE__ */ r("input", {
18
19
  type: "checkbox",
19
- checked: a.includes(e.value),
20
- onChange: () => T(e.value),
20
+ checked: o.includes(e.value),
21
+ onChange: () => E(e.value),
21
22
  className: "size-4 rounded border-border-default text-primary-default focus:ring-primary-default"
22
- }), /* @__PURE__ */ n("span", {
23
+ }), /* @__PURE__ */ r("span", {
23
24
  className: "text-sm text-text-secondary",
24
25
  children: e.label
25
26
  })]
26
27
  }, e.value))
27
28
  })] }),
28
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("h3", {
29
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("h3", {
29
30
  className: "text-sm font-medium text-text-primary mb-3",
30
31
  children: "Exclude Entity Types"
31
- }), /* @__PURE__ */ n("div", {
32
+ }), /* @__PURE__ */ r("div", {
32
33
  className: "space-y-2 max-h-56 overflow-y-auto",
33
- children: i.map((e) => /* @__PURE__ */ r("label", {
34
+ children: a.map((e) => /* @__PURE__ */ i("label", {
34
35
  className: "flex items-center gap-2 cursor-pointer",
35
- children: [/* @__PURE__ */ n("input", {
36
+ children: [/* @__PURE__ */ r("input", {
36
37
  type: "checkbox",
37
- checked: o.includes(e.value),
38
- onChange: () => E(e.value),
38
+ checked: s.includes(e.value),
39
+ onChange: () => D(e.value),
39
40
  className: "size-4 rounded border-border-default text-primary-default focus:ring-primary-default"
40
- }), /* @__PURE__ */ n("span", {
41
+ }), /* @__PURE__ */ r("span", {
41
42
  className: "text-sm text-text-secondary",
42
43
  children: e.label
43
44
  })]
44
45
  }, `exclude-${e.value}`))
45
46
  })] }),
46
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("h3", {
47
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("h3", {
47
48
  className: "text-sm font-medium text-text-primary mb-3",
48
49
  children: "Product Sources"
49
- }), /* @__PURE__ */ n("div", {
50
+ }), /* @__PURE__ */ r("div", {
50
51
  className: "space-y-2 max-h-56 overflow-y-auto",
51
- children: s.length > 0 ? s.map((e) => {
52
- let t = l?.byProduct?.find((t) => t.product === e.value)?.count;
53
- return /* @__PURE__ */ r("label", {
52
+ children: c.length > 0 ? c.map((e) => {
53
+ let t = u?.byProduct?.find((t) => t.product === e.value)?.count;
54
+ return /* @__PURE__ */ i("label", {
54
55
  className: "flex items-center justify-between gap-2 cursor-pointer",
55
- children: [/* @__PURE__ */ r("div", {
56
+ children: [/* @__PURE__ */ i("div", {
56
57
  className: "flex items-center gap-2",
57
- children: [/* @__PURE__ */ n("input", {
58
+ children: [/* @__PURE__ */ r("input", {
58
59
  type: "checkbox",
59
- checked: c.includes(e.value),
60
- onChange: () => D(e.value),
60
+ checked: l.includes(e.value),
61
+ onChange: () => O(e.value),
61
62
  className: "size-4 rounded border-border-default text-primary-default focus:ring-primary-default"
62
- }), /* @__PURE__ */ n("span", {
63
+ }), /* @__PURE__ */ r("span", {
63
64
  className: "text-sm text-text-secondary",
64
65
  children: e.label
65
66
  })]
66
- }), t !== void 0 && /* @__PURE__ */ n("span", {
67
+ }), t !== void 0 && /* @__PURE__ */ r("span", {
67
68
  className: "text-xs text-text-tertiary",
68
69
  children: t
69
70
  })]
70
71
  }, e.value);
71
- }) : /* @__PURE__ */ n("span", {
72
+ }) : /* @__PURE__ */ r("span", {
72
73
  className: "text-sm text-text-tertiary",
73
74
  children: "Product filters will appear after results are loaded."
74
75
  })
75
76
  })] }),
76
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("h3", {
77
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("h3", {
77
78
  className: "text-sm font-medium text-text-primary mb-3",
78
79
  children: "Scope & Actors"
79
- }), /* @__PURE__ */ r("div", {
80
+ }), /* @__PURE__ */ i("div", {
80
81
  className: "space-y-3",
81
82
  children: [
82
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
83
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
83
84
  className: "block text-xs text-text-tertiary mb-1",
84
85
  children: "Project ID"
85
- }), /* @__PURE__ */ n("input", {
86
+ }), /* @__PURE__ */ r("input", {
86
87
  "aria-label": "Project ID filter",
87
88
  type: "text",
88
- value: u,
89
- onChange: (e) => O(e.target.value),
89
+ value: d,
90
+ onChange: (e) => k(e.target.value),
90
91
  placeholder: "Optional project scope",
91
92
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
92
93
  })] }),
93
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
94
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
94
95
  className: "block text-xs text-text-tertiary mb-1",
95
96
  children: "Created by"
96
- }), /* @__PURE__ */ n("input", {
97
+ }), /* @__PURE__ */ r("input", {
97
98
  "aria-label": "Created by filter",
98
99
  type: "text",
99
- value: d,
100
- onChange: (e) => k(e.target.value),
100
+ value: f,
101
+ onChange: (e) => A(e.target.value),
101
102
  placeholder: "Actor ID",
102
103
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
103
104
  })] }),
104
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
105
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
105
106
  className: "block text-xs text-text-tertiary mb-1",
106
107
  children: "Updated by"
107
- }), /* @__PURE__ */ n("input", {
108
+ }), /* @__PURE__ */ r("input", {
108
109
  "aria-label": "Updated by filter",
109
110
  type: "text",
110
- value: f,
111
- onChange: (e) => A(e.target.value),
111
+ value: p,
112
+ onChange: (e) => j(e.target.value),
112
113
  placeholder: "Actor ID",
113
114
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
114
115
  })] })
115
116
  ]
116
117
  })] }),
117
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("h3", {
118
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("h3", {
118
119
  className: "text-sm font-medium text-text-primary mb-3",
119
120
  children: "Created Date Range"
120
- }), /* @__PURE__ */ r("div", {
121
+ }), /* @__PURE__ */ i("div", {
121
122
  className: "space-y-3",
122
- children: [/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
123
+ children: [/* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
123
124
  className: "block text-xs text-text-tertiary mb-1",
124
125
  children: "From"
125
- }), /* @__PURE__ */ n("input", {
126
+ }), /* @__PURE__ */ r("input", {
126
127
  "aria-label": "Created from date",
127
128
  type: "date",
128
- value: p,
129
- onChange: (e) => j(e.target.value),
129
+ value: m,
130
+ onChange: (e) => M(e.target.value),
130
131
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
131
- })] }), /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
132
+ })] }), /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
132
133
  className: "block text-xs text-text-tertiary mb-1",
133
134
  children: "To"
134
- }), /* @__PURE__ */ n("input", {
135
+ }), /* @__PURE__ */ r("input", {
135
136
  "aria-label": "Created to date",
136
137
  type: "date",
137
- value: m,
138
- onChange: (e) => M(e.target.value),
138
+ value: h,
139
+ onChange: (e) => N(e.target.value),
139
140
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
140
141
  })] })]
141
142
  })] }),
142
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("h3", {
143
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("h3", {
143
144
  className: "text-sm font-medium text-text-primary mb-3",
144
145
  children: "Updated Date Range"
145
- }), /* @__PURE__ */ r("div", {
146
+ }), /* @__PURE__ */ i("div", {
146
147
  className: "space-y-3",
147
- children: [/* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
148
+ children: [/* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
148
149
  className: "block text-xs text-text-tertiary mb-1",
149
150
  children: "From"
150
- }), /* @__PURE__ */ n("input", {
151
+ }), /* @__PURE__ */ r("input", {
151
152
  "aria-label": "Updated from date",
152
153
  type: "date",
153
- value: h,
154
- onChange: (e) => N(e.target.value),
154
+ value: g,
155
+ onChange: (e) => P(e.target.value),
155
156
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
156
- })] }), /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
157
+ })] }), /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
157
158
  className: "block text-xs text-text-tertiary mb-1",
158
159
  children: "To"
159
- }), /* @__PURE__ */ n("input", {
160
+ }), /* @__PURE__ */ r("input", {
160
161
  "aria-label": "Updated to date",
161
162
  type: "date",
162
- value: g,
163
- onChange: (e) => P(e.target.value),
163
+ value: _,
164
+ onChange: (e) => F(e.target.value),
164
165
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
165
166
  })] })]
166
167
  })] }),
167
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("h3", {
168
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("h3", {
168
169
  className: "text-sm font-medium text-text-primary mb-3",
169
170
  children: "Tag Filters"
170
- }), /* @__PURE__ */ r("div", {
171
+ }), /* @__PURE__ */ i("div", {
171
172
  className: "space-y-3",
172
173
  children: [
173
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
174
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
174
175
  className: "block text-xs text-text-tertiary mb-1",
175
176
  children: "Tag IDs"
176
- }), /* @__PURE__ */ n("input", {
177
+ }), /* @__PURE__ */ r("input", {
177
178
  "aria-label": "Tag IDs filter",
178
179
  type: "text",
179
- value: _,
180
- onChange: (e) => F(e.target.value),
180
+ value: v,
181
+ onChange: (e) => I(e.target.value),
181
182
  placeholder: "Comma-separated tag IDs",
182
183
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
183
184
  })] }),
184
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
185
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
185
186
  className: "block text-xs text-text-tertiary mb-1",
186
187
  children: "Tag Keys"
187
- }), /* @__PURE__ */ n("input", {
188
+ }), /* @__PURE__ */ r("input", {
188
189
  "aria-label": "Tag keys filter",
189
190
  type: "text",
190
- value: v,
191
- onChange: (e) => I(e.target.value),
191
+ value: y,
192
+ onChange: (e) => L(e.target.value),
192
193
  placeholder: "Comma-separated tag keys",
193
194
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
194
195
  })] }),
195
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
196
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
196
197
  className: "block text-xs text-text-tertiary mb-1",
197
198
  children: "Hierarchy Paths"
198
- }), /* @__PURE__ */ n("input", {
199
+ }), /* @__PURE__ */ r("input", {
199
200
  "aria-label": "Tag hierarchy paths filter",
200
201
  type: "text",
201
- value: y,
202
- onChange: (e) => L(e.target.value),
202
+ value: b,
203
+ onChange: (e) => R(e.target.value),
203
204
  placeholder: "team/engineering, finance/payables",
204
205
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
205
206
  })] }),
206
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
207
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
207
208
  className: "block text-xs text-text-tertiary mb-1",
208
209
  children: "Vocabulary Keys"
209
- }), /* @__PURE__ */ n("input", {
210
+ }), /* @__PURE__ */ r("input", {
210
211
  "aria-label": "Tag vocabulary keys filter",
211
212
  type: "text",
212
- value: b,
213
- onChange: (e) => R(e.target.value),
213
+ value: x,
214
+ onChange: (e) => z(e.target.value),
214
215
  placeholder: "project-tags, workspace-tags",
215
216
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
216
217
  })] }),
217
- /* @__PURE__ */ r("div", {
218
+ /* @__PURE__ */ i("div", {
218
219
  className: "grid grid-cols-2 gap-3",
219
- children: [/* @__PURE__ */ r("label", {
220
+ children: [/* @__PURE__ */ i("label", {
220
221
  className: "flex items-center gap-2 text-sm text-text-secondary cursor-pointer",
221
- children: [/* @__PURE__ */ n("input", {
222
+ children: [/* @__PURE__ */ r("input", {
222
223
  type: "checkbox",
223
- checked: x,
224
- onChange: (e) => z(e.target.checked),
224
+ checked: S,
225
+ onChange: (e) => B(e.target.checked),
225
226
  className: "size-4 rounded border-border-default text-primary-default focus:ring-primary-default"
226
227
  }), "Match all"]
227
- }), /* @__PURE__ */ r("label", {
228
+ }), /* @__PURE__ */ i("label", {
228
229
  className: "flex items-center gap-2 text-sm text-text-secondary cursor-pointer",
229
- children: [/* @__PURE__ */ n("input", {
230
+ children: [/* @__PURE__ */ r("input", {
230
231
  type: "checkbox",
231
- checked: S,
232
- onChange: (e) => B(e.target.checked),
232
+ checked: C,
233
+ onChange: (e) => V(e.target.checked),
233
234
  className: "size-4 rounded border-border-default text-primary-default focus:ring-primary-default"
234
235
  }), "Include descendants"]
235
236
  })]
236
237
  }),
237
- /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("label", {
238
+ /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r("label", {
238
239
  className: "block text-xs text-text-tertiary mb-1",
239
240
  children: "Tag depth"
240
- }), /* @__PURE__ */ n("input", {
241
+ }), /* @__PURE__ */ r("input", {
241
242
  "aria-label": "Tag depth filter",
242
243
  type: "number",
243
244
  min: "1",
244
- value: C,
245
- onChange: (e) => V(e.target.value),
245
+ value: w,
246
+ onChange: (e) => H(e.target.value),
246
247
  placeholder: "Optional depth limit",
247
248
  className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
248
249
  })] })
249
250
  ]
250
251
  })] }),
251
- /* @__PURE__ */ r("div", {
252
+ /* @__PURE__ */ i("div", {
252
253
  className: "xl:col-span-2",
253
- children: [/* @__PURE__ */ r("div", {
254
+ children: [/* @__PURE__ */ i("div", {
254
255
  className: "flex items-center justify-between mb-3",
255
- children: [/* @__PURE__ */ n("h3", {
256
+ children: [/* @__PURE__ */ r("h3", {
256
257
  className: "text-sm font-medium text-text-primary",
257
258
  children: "Metadata Conditions"
258
- }), /* @__PURE__ */ r("button", {
259
+ }), /* @__PURE__ */ i("button", {
259
260
  type: "button",
260
- onClick: H,
261
+ onClick: U,
261
262
  className: "inline-flex items-center gap-1 text-xs text-primary-default hover:text-primary-default/80",
262
- children: [/* @__PURE__ */ n(e, { className: "size-3.5" }), "Add condition"]
263
+ children: [/* @__PURE__ */ r(t, { className: "size-3.5" }), "Add condition"]
263
264
  })]
264
- }), /* @__PURE__ */ n("div", {
265
+ }), /* @__PURE__ */ r("div", {
265
266
  className: "space-y-3",
266
- children: w.length === 0 ? /* @__PURE__ */ n("span", {
267
+ children: T.length === 0 ? /* @__PURE__ */ r("span", {
267
268
  className: "text-sm text-text-tertiary",
268
269
  children: "No metadata conditions applied."
269
- }) : w.map((e, i) => /* @__PURE__ */ r("div", {
270
+ }) : T.map((t, a) => /* @__PURE__ */ i("div", {
270
271
  className: "grid grid-cols-1 md:grid-cols-[1.4fr_auto_1.4fr_auto] gap-2 items-center",
271
272
  children: [
272
- /* @__PURE__ */ n("input", {
273
- "aria-label": `Metadata key ${i + 1}`,
273
+ /* @__PURE__ */ r("input", {
274
+ "aria-label": `Metadata key ${a + 1}`,
274
275
  type: "text",
275
- value: e.key,
276
- onChange: (e) => U(i, { key: e.target.value }),
276
+ value: t.key,
277
+ onChange: (e) => W(a, { key: e.target.value }),
277
278
  placeholder: "metadata.path",
278
279
  className: "h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
279
280
  }),
280
- /* @__PURE__ */ r("select", {
281
- "aria-label": `Metadata operator ${i + 1}`,
282
- value: e.operator,
283
- onChange: (e) => U(i, { operator: e.target.value }),
281
+ /* @__PURE__ */ i(e, {
282
+ "aria-label": `Metadata operator ${a + 1}`,
283
+ value: t.operator,
284
+ onChange: (e) => W(a, { operator: e.target.value }),
284
285
  className: "h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary scheme-normal dark:scheme-dark focus:outline-none focus:ring-2 focus:ring-primary-default [&_option]:bg-bg-surface [&_option]:text-text-primary",
285
286
  children: [
286
- /* @__PURE__ */ n("option", {
287
+ /* @__PURE__ */ r("option", {
287
288
  value: "EQUALS",
288
289
  children: "Equals"
289
290
  }),
290
- /* @__PURE__ */ n("option", {
291
+ /* @__PURE__ */ r("option", {
291
292
  value: "NOT_EQUALS",
292
293
  children: "Not equals"
293
294
  }),
294
- /* @__PURE__ */ n("option", {
295
+ /* @__PURE__ */ r("option", {
295
296
  value: "CONTAINS",
296
297
  children: "Contains"
297
298
  }),
298
- /* @__PURE__ */ n("option", {
299
+ /* @__PURE__ */ r("option", {
299
300
  value: "STARTS_WITH",
300
301
  children: "Starts with"
301
302
  })
302
303
  ]
303
304
  }),
304
- /* @__PURE__ */ n("input", {
305
- "aria-label": `Metadata value ${i + 1}`,
305
+ /* @__PURE__ */ r("input", {
306
+ "aria-label": `Metadata value ${a + 1}`,
306
307
  type: "text",
307
- value: e.value,
308
- onChange: (e) => U(i, { value: e.target.value }),
308
+ value: t.value,
309
+ onChange: (e) => W(a, { value: e.target.value }),
309
310
  placeholder: "Expected value",
310
311
  className: "h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
311
312
  }),
312
- /* @__PURE__ */ n("button", {
313
+ /* @__PURE__ */ r("button", {
313
314
  type: "button",
314
- onClick: () => W(i),
315
+ onClick: () => G(a),
315
316
  className: "inline-flex items-center justify-center size-9 rounded-md border border-border-default text-text-secondary hover:bg-bg-muted",
316
- "aria-label": `Remove metadata condition ${i + 1}`,
317
- children: /* @__PURE__ */ n(t, { className: "size-4" })
317
+ "aria-label": `Remove metadata condition ${a + 1}`,
318
+ children: /* @__PURE__ */ r(n, { className: "size-4" })
318
319
  })
319
320
  ]
320
- }, `metadata-condition-${i}`))
321
+ }, `metadata-condition-${a}`))
321
322
  })]
322
323
  }),
323
- G
324
+ K
324
325
  ]
325
326
  })
326
327
  });
327
328
  }
328
- export { i as FiltersPanel };
329
+ export { a as FiltersPanel };
@@ -1,57 +1,58 @@
1
1
  import { SEARCH_MODE_INFO as e, SORT_OPTIONS as t } from "./constants.js";
2
- import { ArrowUpDown as n, ChevronDown as r, ChevronUp as i, SlidersHorizontal as a } from "lucide-react";
3
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
2
+ import { ThemedSelect as n } from "../../../ui/themed-select.js";
3
+ import { ArrowUpDown as r, ChevronDown as i, ChevronUp as a, SlidersHorizontal as o } from "lucide-react";
4
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
4
5
  // src/shared/pages/searchPage/SearchToolbar.tsx
5
- function c({ searchMode: c, sortBy: l, showFilters: u, activeFilterCount: d, onSearchModeChange: f, onSortByChange: p, onToggleFilters: m, onClearFilters: h }) {
6
- return /* @__PURE__ */ s("div", {
6
+ function l({ searchMode: l, sortBy: u, showFilters: d, activeFilterCount: f, onSearchModeChange: p, onSortByChange: m, onToggleFilters: h, onClearFilters: g }) {
7
+ return /* @__PURE__ */ c("div", {
7
8
  className: "flex flex-wrap items-center gap-4 mb-6",
8
9
  children: [
9
- /* @__PURE__ */ o("div", {
10
+ /* @__PURE__ */ s("div", {
10
11
  className: "flex items-center gap-1 bg-bg-surface rounded-lg p-1 border border-border-default",
11
12
  children: [
12
13
  "PARTIAL",
13
14
  "FULLTEXT",
14
15
  "EXACT"
15
- ].map((t) => /* @__PURE__ */ o("button", {
16
+ ].map((t) => /* @__PURE__ */ s("button", {
16
17
  type: "button",
17
- onClick: () => f(t),
18
- className: `px-3 py-1.5 text-sm font-medium rounded-md transition-colors ${c === t ? "bg-primary-default text-primary-foreground" : "text-text-secondary hover:bg-bg-muted"}`,
18
+ onClick: () => p(t),
19
+ className: `px-3 py-1.5 text-sm font-medium rounded-md transition-colors ${l === t ? "bg-primary-default text-primary-foreground" : "text-text-secondary hover:bg-bg-muted"}`,
19
20
  title: e[t].description,
20
21
  children: e[t].label
21
22
  }, t))
22
23
  }),
23
- /* @__PURE__ */ s("div", {
24
+ /* @__PURE__ */ c("div", {
24
25
  className: "flex items-center gap-2",
25
- children: [/* @__PURE__ */ o(n, { className: "size-4 text-text-tertiary" }), /* @__PURE__ */ o("select", {
26
- value: l,
27
- onChange: (e) => p(e.target.value),
26
+ children: [/* @__PURE__ */ s(r, { className: "size-4 text-text-tertiary" }), /* @__PURE__ */ s(n, {
27
+ value: u,
28
+ onChange: (e) => m(e.target.value),
28
29
  className: "h-9 px-3 text-sm rounded-md border border-border-default bg-bg-surface text-text-primary scheme-normal dark:scheme-dark focus:outline-none focus:ring-2 focus:ring-primary-default [&_option]:bg-bg-surface [&_option]:text-text-primary",
29
- children: t.map((e) => /* @__PURE__ */ o("option", {
30
+ children: t.map((e) => /* @__PURE__ */ s("option", {
30
31
  value: e.value,
31
32
  children: e.label
32
33
  }, e.value))
33
34
  })]
34
35
  }),
35
- /* @__PURE__ */ s("button", {
36
- onClick: m,
37
- className: `flex items-center gap-2 px-3 py-2 text-sm rounded-md border transition-colors ${u || d > 0 ? "border-primary-default bg-primary-default/10 text-primary-default" : "border-border-default bg-bg-surface text-text-secondary hover:bg-bg-muted"}`,
36
+ /* @__PURE__ */ c("button", {
37
+ onClick: h,
38
+ className: `flex items-center gap-2 px-3 py-2 text-sm rounded-md border transition-colors ${d || f > 0 ? "border-primary-default bg-primary-default/10 text-primary-default" : "border-border-default bg-bg-surface text-text-secondary hover:bg-bg-muted"}`,
38
39
  children: [
39
- /* @__PURE__ */ o(a, { className: "size-4" }),
40
+ /* @__PURE__ */ s(o, { className: "size-4" }),
40
41
  "Filters",
41
- d > 0 && /* @__PURE__ */ o("span", {
42
+ f > 0 && /* @__PURE__ */ s("span", {
42
43
  className: "ms-1 px-1.5 py-0.5 text-xs font-medium bg-primary-default text-primary-foreground rounded-full",
43
- children: d
44
+ children: f
44
45
  }),
45
- o(u ? i : r, { className: "size-4" })
46
+ s(d ? a : i, { className: "size-4" })
46
47
  ]
47
48
  }),
48
- d > 0 && /* @__PURE__ */ o("button", {
49
+ f > 0 && /* @__PURE__ */ s("button", {
49
50
  type: "button",
50
- onClick: h,
51
+ onClick: g,
51
52
  className: "text-sm text-text-secondary hover:text-text-primary underline",
52
53
  children: "Clear all filters"
53
54
  })
54
55
  ]
55
56
  });
56
57
  }
57
- export { c as SearchToolbar };
58
+ export { l as SearchToolbar };
@@ -86,6 +86,14 @@ export interface AppShellConfig {
86
86
  * publish their width), so they never cover its profile button or bell.
87
87
  */
88
88
  privacyConsentPlacement?: ConsentBannerPlacement;
89
+ /**
90
+ * BOFF-15413: the controls the browser draws follow the app's theme, not the OS, on
91
+ * every page and module this shell mounts. Every `ThemedSelect` opens the app's styled
92
+ * menu instead of the system's, `<html>` and `<meta name="color-scheme">` carry the
93
+ * theme's scheme, and every scroll container gets the one theme-aware scrollbar
94
+ * (`tokens.css`, `data-native-controls`). Off by default: FluidGrids opts in.
95
+ */
96
+ themedNativeControls?: boolean;
89
97
  /**
90
98
  * Extra routes on which the analytics-consent prompt must NOT render (BOFF-6373).
91
99
  *