@burdenoff/fe-libs 2026.1118.13 → 2026.1119.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.
Files changed (41) 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-menu.d.ts +10 -0
  32. package/dist/ui/themed-select-menu.js +70 -0
  33. package/dist/ui/themed-select-options.d.ts +42 -0
  34. package/dist/ui/themed-select-options.js +88 -0
  35. package/dist/ui/themed-select-state.d.ts +43 -0
  36. package/dist/ui/themed-select-state.js +73 -0
  37. package/dist/ui/themed-select.d.ts +7 -0
  38. package/dist/ui/themed-select.js +176 -0
  39. package/dist/ui.js +31 -29
  40. package/package.json +1 -1
  41. package/src/shared/tokens/tokens.css +100 -0
@@ -148,6 +148,106 @@
148
148
  background-color: var(--color-action-primary-bg);
149
149
  }
150
150
 
151
+ /* BOFF-15413 — native controls follow the app's theme, not the OS. Opt-in: inert unless
152
+ * the app sets `AppShellConfig.themedNativeControls`, which puts
153
+ * <html data-native-controls="themed"> (ThemeProvider, themedNativeControls.ts); FluidGrids
154
+ * only, today. Another product turns the same look on with that one option.
155
+ *
156
+ * 1. color-scheme. The app's index.html says `color-scheme: dark light` and nothing said
157
+ * which of the two the page is in, so what the browser draws itself (scrollbars, the
158
+ * select menu, date pickers) followed the OS: on a Mac in Dark mode a page in Light got
159
+ * dark scrollbar tracks and a dark system menu. `<html>` now carries the theme's scheme
160
+ * (every element inherits it, portals and popovers included); ThemeProvider also narrows
161
+ * the meta, which is what `color-scheme: normal` (`scheme-normal`) controls read. */
162
+ :root[data-native-controls='themed'] {
163
+ color-scheme: light;
164
+ }
165
+
166
+ :root[data-native-controls='themed'].dark {
167
+ color-scheme: dark;
168
+ }
169
+
170
+ /* 2. One scrollbar for every scroll container, in the page and in every portal, popover and
171
+ * menu: the `.scrollbar-slim` + `.scrollbar-box` look the assistant got in BOFF-13461 — a
172
+ * 6px pill thumb mixed from the text colour (it inverts with the theme) on a transparent
173
+ * track, the action colour under the pointer. `:where()` keeps it at the lowest
174
+ * specificity, so `.scrollbar-slim`, `.scrollbar-hover-only`, `.platform-native` and the
175
+ * hidden-scrollbar rails still decide where they are used. The Firefox path stays behind
176
+ * @supports for the reason given above `.scrollbar-slim`. `scrollbar-color` is inherited,
177
+ * so setting it on the root reaches every element that does not set its own;
178
+ * `scrollbar-width` is not, so the thin width goes on every element. That rule sits in the
179
+ * `base` layer, below Tailwind's utilities: a `[scrollbar-width:none]` rail, `.scrollbar-slim`
180
+ * and `.platform-native *` (both unlayered) still win over it. */
181
+ @supports not selector(::-webkit-scrollbar) {
182
+ :root[data-native-controls='themed'] {
183
+ scrollbar-color: color-mix(in oklab, var(--color-text-primary) 52%, transparent) transparent;
184
+ }
185
+
186
+ @layer base {
187
+ :root[data-native-controls='themed'],
188
+ :root[data-native-controls='themed'] * {
189
+ scrollbar-width: thin;
190
+ }
191
+ }
192
+ }
193
+
194
+ :where(:root[data-native-controls='themed'], :root[data-native-controls='themed'] *)::-webkit-scrollbar {
195
+ width: 6px;
196
+ height: 6px;
197
+ }
198
+
199
+ :where(
200
+ :root[data-native-controls='themed'],
201
+ :root[data-native-controls='themed'] *
202
+ )::-webkit-scrollbar-track {
203
+ background: transparent;
204
+ }
205
+
206
+ :where(
207
+ :root[data-native-controls='themed'],
208
+ :root[data-native-controls='themed'] *
209
+ )::-webkit-scrollbar-thumb {
210
+ background-color: color-mix(in oklab, var(--color-text-primary) 52%, transparent);
211
+ border-radius: var(--radius-pill);
212
+ }
213
+
214
+ :where(
215
+ :root[data-native-controls='themed'],
216
+ :root[data-native-controls='themed'] *
217
+ )::-webkit-scrollbar-thumb:hover {
218
+ background-color: var(--color-action-primary-bg);
219
+ }
220
+
221
+ :where(
222
+ :root[data-native-controls='themed'],
223
+ :root[data-native-controls='themed'] *
224
+ )::-webkit-scrollbar-corner {
225
+ background: transparent;
226
+ }
227
+
228
+ /* Inside a floating surface (a menu, popover, select or tooltip), the vertical track keeps
229
+ * clear of the rounded corners, as `.scrollbar-box` does. */
230
+ :where(:root[data-native-controls='themed'] [data-radix-popper-content-wrapper] *)::-webkit-scrollbar-track:vertical {
231
+ margin-block: 10px;
232
+ }
233
+
234
+ /* 3. The ThemedSelect menu scrolls with the same slim bar as every other menu. Radix Select
235
+ * hides its viewport's scrollbar with an injected `[data-radix-select-viewport]` style;
236
+ * only a viewport that also carries `.scrollbar-slim` (ThemedSelect's) shows it again. */
237
+ [data-radix-select-viewport].scrollbar-slim {
238
+ scrollbar-width: auto;
239
+ }
240
+
241
+ @supports not selector(::-webkit-scrollbar) {
242
+ [data-radix-select-viewport].scrollbar-slim {
243
+ scrollbar-width: thin;
244
+ }
245
+ }
246
+
247
+ [data-radix-select-viewport].scrollbar-slim::-webkit-scrollbar {
248
+ display: block;
249
+ }
250
+
151
251
  /* Boff UI 2.0 — hover-reveal modifier for .scrollbar-slim.
152
252
  *
153
253
  * Composes with .scrollbar-slim: the thumb is transparent until the pointer is