@bfrs/agentic-components 0.9.0 → 0.9.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/BFRS_AGENTIC_COMPONENTS.md +4 -4
- package/README.md +26 -3
- package/dist/components/data-display/DataTable/DataTable.d.ts +1 -1
- package/dist/components/data-display/DataTable/DataTable.js +326 -298
- package/dist/components/data-display/DataTable/DataTable.js.map +1 -1
- package/dist/components/data-display/DataTable/DataTable.types.d.ts +24 -0
- package/dist/components/data-display/DataTable/TableColumnVisibility.js +7 -2
- package/dist/components/data-display/DataTable/TableColumnVisibility.js.map +1 -1
- package/dist/components/data-display/DataTable/TablePagination.js +126 -75
- package/dist/components/data-display/DataTable/TablePagination.js.map +1 -1
- package/dist/components/data-display/DataTable/TableSaveView.js +7 -5
- package/dist/components/data-display/DataTable/TableSaveView.js.map +1 -1
- package/dist/components/data-display/DataTable/TableViewSelector.js +80 -71
- package/dist/components/data-display/DataTable/TableViewSelector.js.map +1 -1
- package/dist/components/data-display/Table/Table.js +23 -16
- package/dist/components/data-display/Table/Table.js.map +1 -1
- package/dist/components/filters/DateRangePicker/DateRangePicker.js +254 -243
- package/dist/components/filters/DateRangePicker/DateRangePicker.js.map +1 -1
- package/dist/components/filters/FilterBar/FilterBar.js +18 -17
- package/dist/components/filters/FilterBar/FilterBar.js.map +1 -1
- package/dist/components/layout/ListPageLayout/ListPageLayout.js +28 -26
- package/dist/components/layout/ListPageLayout/ListPageLayout.js.map +1 -1
- package/dist/components/layout/PageHeader/PageHeader.js +6 -4
- package/dist/components/layout/PageHeader/PageHeader.js.map +1 -1
- package/dist/components/navigation/ActionMenu/ActionMenu.js +13 -6
- package/dist/components/navigation/ActionMenu/ActionMenu.js.map +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +20 -19
- package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
- package/dist/components/primitives/Button/Button.js +70 -57
- package/dist/components/primitives/Button/Button.js.map +1 -1
- package/dist/components/primitives/Chip/Chip.js +3 -1
- package/dist/components/primitives/Chip/Chip.js.map +1 -1
- package/dist/components/ui/feedback/warningVisual.d.ts +4 -4
- package/dist/components/ui/feedback/warningVisual.js +20 -20
- package/dist/components/ui/feedback/warningVisual.js.map +1 -1
- package/dist/components/ui/forms/Checkbox/Checkbox.js +9 -6
- package/dist/components/ui/forms/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/ui/forms/MultiSelect/MultiSelect.js +15 -4
- package/dist/components/ui/forms/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/components/ui/forms/SearchableSelect/SearchableSelect.js +38 -28
- package/dist/components/ui/forms/SearchableSelect/SearchableSelect.js.map +1 -1
- package/dist/components/ui/forms/Select/Select.js +89 -80
- package/dist/components/ui/forms/Select/Select.js.map +1 -1
- package/dist/components/ui/forms/SuggestInput/SuggestInput.js +22 -10
- package/dist/components/ui/forms/SuggestInput/SuggestInput.js.map +1 -1
- package/dist/components/ui/forms/TagInput/TagInput.js +15 -10
- package/dist/components/ui/forms/TagInput/TagInput.js.map +1 -1
- package/dist/components/ui/index.d.ts +2 -1
- package/dist/components/ui/overlays/Dropdown/Dropdown.js +31 -19
- package/dist/components/ui/overlays/Dropdown/Dropdown.js.map +1 -1
- package/dist/components/ui/overlays/Tooltip/Tooltip.js +21 -21
- package/dist/components/ui/overlays/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/ui/patterns/ChatComposer/ChatComposer.js +14 -12
- package/dist/components/ui/patterns/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/components/ui/patterns/CommandMenu/CommandMenu.js +28 -18
- package/dist/components/ui/patterns/CommandMenu/CommandMenu.js.map +1 -1
- package/dist/components/ui/patterns/SidePanel/SidePanel.d.ts +94 -0
- package/dist/components/ui/patterns/SidePanel/SidePanel.js +265 -0
- package/dist/components/ui/patterns/SidePanel/SidePanel.js.map +1 -0
- package/dist/components/ui/patterns/SidePanel/index.d.ts +1 -0
- package/dist/components/ui/providers/BfrsProvider/BfrsProvider.d.ts +10 -0
- package/dist/components/ui/providers/BfrsProvider/BfrsProvider.js +63 -42
- package/dist/components/ui/providers/BfrsProvider/BfrsProvider.js.map +1 -1
- package/dist/custom-elements.d.ts +1 -0
- package/dist/custom-elements.js +10463 -10102
- package/dist/custom-elements.js.map +1 -1
- package/dist/index.js +284 -280
- package/dist/index.js.map +1 -1
- package/dist/lib/useMediaQuery.d.ts +4 -0
- package/dist/lib/useMediaQuery.js +23 -0
- package/dist/lib/useMediaQuery.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/styles/globals.css2.js +1 -1
- package/dist/theme/overrides.d.ts +202 -4
- package/dist/theme/overrides.js +213 -97
- package/dist/theme/overrides.js.map +1 -1
- package/dist/theme.js +21 -20
- package/dist/tokens/colors.d.ts +13 -0
- package/dist/tokens/colors.js +13 -0
- package/dist/tokens/colors.js.map +1 -1
- package/dist/tokens/shadows.d.ts +1 -0
- package/dist/tokens/shadows.js +4 -3
- package/dist/tokens/shadows.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,8 @@ export declare const agenticThemeColorVariables: {
|
|
|
21
21
|
readonly accent: "--bfrs-color-accent";
|
|
22
22
|
readonly accentSoft: "--bfrs-color-accent-soft";
|
|
23
23
|
readonly surfaceApp: "--bfrs-color-surface-app";
|
|
24
|
+
/** List page sheet: ListPageLayout, PageHeader and a standalone FilterBar. Default #FBFCFB. */
|
|
25
|
+
readonly surfacePage: "--bfrs-color-surface-page";
|
|
24
26
|
readonly surfaceShell: "--bfrs-color-surface-shell";
|
|
25
27
|
readonly surfaceCard: "--bfrs-color-surface-card";
|
|
26
28
|
readonly surfaceMuted: "--bfrs-color-surface-muted";
|
|
@@ -30,6 +32,11 @@ export declare const agenticThemeColorVariables: {
|
|
|
30
32
|
readonly textMuted: "--bfrs-color-text-muted";
|
|
31
33
|
readonly textDisabled: "--bfrs-color-text-disabled";
|
|
32
34
|
readonly textInverse: "--bfrs-color-text-inverse";
|
|
35
|
+
/**
|
|
36
|
+
* Input and textarea placeholder. Components read it as rgb channels
|
|
37
|
+
* (rgb(var(--x) / a)), so a hex or rgb() value is written as "r g b".
|
|
38
|
+
*/
|
|
39
|
+
readonly textPlaceholder: "--bfrs-color-text-placeholder";
|
|
33
40
|
readonly border: "--bfrs-color-border-default";
|
|
34
41
|
readonly borderAlias: "--bfrs-color-border";
|
|
35
42
|
readonly borderLight: "--bfrs-color-border-light";
|
|
@@ -49,6 +56,22 @@ export declare const agenticThemeColorVariables: {
|
|
|
49
56
|
readonly warning: "--bfrs-color-warning";
|
|
50
57
|
readonly warningSoft: "--bfrs-color-warning-soft";
|
|
51
58
|
readonly warningContrast: "--bfrs-color-warning-contrast";
|
|
59
|
+
/**
|
|
60
|
+
* Warning icon, text and accent bars, as a raw CSS color. Unset by default:
|
|
61
|
+
* #D97706. Not derived from `warning`, so existing themes keep their look.
|
|
62
|
+
*/
|
|
63
|
+
readonly warningAccent: "--bfrs-color-warning-accent";
|
|
64
|
+
/**
|
|
65
|
+
* Warning Alert, Toast, Badge, Chip, Tip and InfoCard fill, as a raw CSS
|
|
66
|
+
* color (alpha allowed). Unset by default: #D97706 at 8%. Not derived from
|
|
67
|
+
* `warningSoft`.
|
|
68
|
+
*/
|
|
69
|
+
readonly warningSurface: "--bfrs-color-warning-surface";
|
|
70
|
+
/**
|
|
71
|
+
* Warning surface border, as a raw CSS color (alpha allowed). Unset by
|
|
72
|
+
* default: #D97706 at 20%. Not derived from `warning`.
|
|
73
|
+
*/
|
|
74
|
+
readonly warningBorder: "--bfrs-color-warning-border";
|
|
52
75
|
readonly info: "--bfrs-color-info";
|
|
53
76
|
readonly infoSoft: "--bfrs-color-info-soft";
|
|
54
77
|
readonly infoContrast: "--bfrs-color-info-contrast";
|
|
@@ -75,6 +98,35 @@ export declare const agenticThemeColorVariables: {
|
|
|
75
98
|
readonly dclTextLight: "--bfrs-dcl-color-text-light";
|
|
76
99
|
readonly dclTextInverse: "--bfrs-dcl-color-text-inverse";
|
|
77
100
|
readonly dclClickHover: "--bfrs-dcl-color-click-hover";
|
|
101
|
+
readonly dclAgentOrders: "--bfrs-dcl-color-agent-orders";
|
|
102
|
+
readonly dclAgentNdr: "--bfrs-dcl-color-agent-ndr";
|
|
103
|
+
readonly dclAgentRto: "--bfrs-dcl-color-agent-rto";
|
|
104
|
+
readonly dclAgentTracking: "--bfrs-dcl-color-agent-tracking";
|
|
105
|
+
readonly dclAgentInsights: "--bfrs-dcl-color-agent-insights";
|
|
106
|
+
/** Brand fill (solid brand chips, markers). */
|
|
107
|
+
readonly dclBrand: "--bfrs-dcl-color-brand";
|
|
108
|
+
/** Brand-colored text. */
|
|
109
|
+
readonly dclTextBrand: "--bfrs-dcl-color-text-brand";
|
|
110
|
+
/** Brand-colored border. */
|
|
111
|
+
readonly dclBorderBrand: "--bfrs-dcl-color-border-brand";
|
|
112
|
+
/** Inline links. */
|
|
113
|
+
readonly dclLink: "--bfrs-dcl-color-link";
|
|
114
|
+
/** Light brand background. */
|
|
115
|
+
readonly dclPrimaryBg: "--bfrs-dcl-color-primary-bg";
|
|
116
|
+
/** Primary page or panel background. */
|
|
117
|
+
readonly dclBackgroundPrimary: "--bfrs-dcl-color-background-primary";
|
|
118
|
+
readonly dclDanger: "--bfrs-dcl-color-danger";
|
|
119
|
+
readonly dclDangerSubtle: "--bfrs-dcl-color-danger-subtle";
|
|
120
|
+
readonly dclSuccess: "--bfrs-dcl-color-success";
|
|
121
|
+
readonly dclSuccessSoft: "--bfrs-dcl-color-success-soft";
|
|
122
|
+
readonly dclSuccessSubtle: "--bfrs-dcl-color-success-subtle";
|
|
123
|
+
readonly dclWarningSubtle: "--bfrs-dcl-color-warning-subtle";
|
|
124
|
+
readonly dclStatusPendingSurface: "--bfrs-dcl-color-status-pending-surface";
|
|
125
|
+
readonly dclTextPrimary: "--bfrs-dcl-color-text-primary";
|
|
126
|
+
readonly dclTextSecondary: "--bfrs-dcl-color-text-secondary";
|
|
127
|
+
readonly dclBorderSubtle: "--bfrs-dcl-color-border-subtle";
|
|
128
|
+
readonly dclSurfaceMuted: "--bfrs-dcl-color-surface-muted";
|
|
129
|
+
readonly dclSurfaceSubtle: "--bfrs-dcl-color-surface-subtle";
|
|
78
130
|
readonly statusDelivered: "--bfrs-dcl-color-status-delivered";
|
|
79
131
|
readonly statusDeliveredBg: "--bfrs-dcl-color-status-delivered-bg";
|
|
80
132
|
readonly statusInTransit: "--bfrs-dcl-color-status-in-transit";
|
|
@@ -98,10 +150,16 @@ export declare const agenticThemeColorVariables: {
|
|
|
98
150
|
readonly stepProgressPending: "--bfrs-dcl-color-step-progress-pending";
|
|
99
151
|
};
|
|
100
152
|
/**
|
|
101
|
-
* Interaction-state colors.
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
153
|
+
* Interaction-state colors. Opaque values only: components apply their own
|
|
154
|
+
* alpha (hsl(var(--x) / a)), so an rgba or 8-digit hex value renders
|
|
155
|
+
* transparent. Pass the color it produces on its surface instead (black at
|
|
156
|
+
* 12% on white is #E0E0E0).
|
|
157
|
+
*
|
|
158
|
+
* Keys with a brand default alias that token in tokens.css, so overriding
|
|
159
|
+
* `colors.primarySoft` / `colors.primary` / `colors.accentSoft` already
|
|
160
|
+
* reaches them; set a key here to tune one state independently. Keys marked
|
|
161
|
+
* "unset by default" have no single default: each component falls back to the
|
|
162
|
+
* color it uses today (var(--x, <own token>)), so they change nothing until set.
|
|
105
163
|
*/
|
|
106
164
|
export declare const agenticThemeStateVariables: {
|
|
107
165
|
/** Table body row on pointer hover. Default: primarySoft. */
|
|
@@ -127,6 +185,41 @@ export declare const agenticThemeStateVariables: {
|
|
|
127
185
|
* textPrimary, Table keeps textSecondary); not derived from any brand color.
|
|
128
186
|
*/
|
|
129
187
|
readonly tableHeaderText: "--bfrs-color-table-header-text";
|
|
188
|
+
/** Option label on hover or keyboard highlight. Unset by default: each option keeps its own text color. */
|
|
189
|
+
readonly optionHoverText: "--bfrs-color-option-hover-text";
|
|
190
|
+
/**
|
|
191
|
+
* Checked / selected option label. Unset by default: each option keeps its
|
|
192
|
+
* own text color. The selected background stays `optionSelectedBg` for every
|
|
193
|
+
* single- and multi-select list.
|
|
194
|
+
*/
|
|
195
|
+
readonly optionSelectedText: "--bfrs-color-option-selected-text";
|
|
196
|
+
/** Inset border around a selected DataTable row (drawn without changing row size). Unset by default: no border. */
|
|
197
|
+
readonly rowSelectedBorder: "--bfrs-color-row-selected-border";
|
|
198
|
+
/** Dark Tooltip body and arrow. Unset by default: textPrimary. The label stays textInverse. */
|
|
199
|
+
readonly tooltipBg: "--bfrs-color-tooltip-bg";
|
|
200
|
+
/** Current page in pagination, at rest and on hover. Unset by default: each paginator keeps its own fill. */
|
|
201
|
+
readonly pageActiveBg: "--bfrs-color-page-active";
|
|
202
|
+
/** Current page label. Unset by default: each paginator keeps its own label color. */
|
|
203
|
+
readonly pageActiveText: "--bfrs-color-page-active-text";
|
|
204
|
+
/** Border of an empty (unchecked) checkbox. Unset by default: each checkbox keeps its own border color. */
|
|
205
|
+
readonly checkboxBorder: "--bfrs-color-checkbox-border";
|
|
206
|
+
/**
|
|
207
|
+
* Disabled button fill and border. Unset by default: a disabled button keeps
|
|
208
|
+
* its own colors faded to opacity .55. Setting this or controlDisabledText
|
|
209
|
+
* switches the fade off (--bfrs-button-disabled-opacity: 1), and a key set
|
|
210
|
+
* alone is paired with the muted default for the other (surfaceMuted fill,
|
|
211
|
+
* textMuted label).
|
|
212
|
+
*/
|
|
213
|
+
readonly controlDisabledBg: "--bfrs-color-control-disabled";
|
|
214
|
+
/** Disabled button label. Unset by default (see controlDisabledBg). */
|
|
215
|
+
readonly controlDisabledText: "--bfrs-color-control-disabled-text";
|
|
216
|
+
/**
|
|
217
|
+
* Line under a line-variant Tabs list and ListPageLayout's tabs band. Unset
|
|
218
|
+
* by default: colors.border, like the other dividers.
|
|
219
|
+
*/
|
|
220
|
+
readonly tabsDivider: "--bfrs-color-tabs-divider";
|
|
221
|
+
/** Page number labels other than the current page. Unset by default: each paginator keeps its own label color. */
|
|
222
|
+
readonly pageText: "--bfrs-color-page-text";
|
|
130
223
|
};
|
|
131
224
|
export declare const agenticThemeRadiusVariables: {
|
|
132
225
|
readonly sm: "--bfrs-radius-sm";
|
|
@@ -160,6 +253,12 @@ export declare const agenticThemeShadowVariables: {
|
|
|
160
253
|
readonly drawer: "--bfrs-shadow-drawer";
|
|
161
254
|
readonly modal: "--bfrs-shadow-modal";
|
|
162
255
|
readonly sticky: "--bfrs-shadow-sticky";
|
|
256
|
+
/**
|
|
257
|
+
* DataTable and Table body row on hover. Unset by default: no shadow. Setting
|
|
258
|
+
* it also positions the hovered row (--bfrs-row-hover-position: relative) so
|
|
259
|
+
* the shadow paints above the neighboring rows.
|
|
260
|
+
*/
|
|
261
|
+
readonly rowHover: "--bfrs-shadow-row-hover";
|
|
163
262
|
};
|
|
164
263
|
export declare const agenticThemeGradientVariables: {
|
|
165
264
|
readonly card: "--bfrs-gradient-card";
|
|
@@ -198,6 +297,8 @@ export declare const agenticThemeTokens: {
|
|
|
198
297
|
readonly accent: "--bfrs-color-accent";
|
|
199
298
|
readonly accentSoft: "--bfrs-color-accent-soft";
|
|
200
299
|
readonly surfaceApp: "--bfrs-color-surface-app";
|
|
300
|
+
/** List page sheet: ListPageLayout, PageHeader and a standalone FilterBar. Default #FBFCFB. */
|
|
301
|
+
readonly surfacePage: "--bfrs-color-surface-page";
|
|
201
302
|
readonly surfaceShell: "--bfrs-color-surface-shell";
|
|
202
303
|
readonly surfaceCard: "--bfrs-color-surface-card";
|
|
203
304
|
readonly surfaceMuted: "--bfrs-color-surface-muted";
|
|
@@ -207,6 +308,11 @@ export declare const agenticThemeTokens: {
|
|
|
207
308
|
readonly textMuted: "--bfrs-color-text-muted";
|
|
208
309
|
readonly textDisabled: "--bfrs-color-text-disabled";
|
|
209
310
|
readonly textInverse: "--bfrs-color-text-inverse";
|
|
311
|
+
/**
|
|
312
|
+
* Input and textarea placeholder. Components read it as rgb channels
|
|
313
|
+
* (rgb(var(--x) / a)), so a hex or rgb() value is written as "r g b".
|
|
314
|
+
*/
|
|
315
|
+
readonly textPlaceholder: "--bfrs-color-text-placeholder";
|
|
210
316
|
readonly border: "--bfrs-color-border-default";
|
|
211
317
|
readonly borderAlias: "--bfrs-color-border";
|
|
212
318
|
readonly borderLight: "--bfrs-color-border-light";
|
|
@@ -226,6 +332,22 @@ export declare const agenticThemeTokens: {
|
|
|
226
332
|
readonly warning: "--bfrs-color-warning";
|
|
227
333
|
readonly warningSoft: "--bfrs-color-warning-soft";
|
|
228
334
|
readonly warningContrast: "--bfrs-color-warning-contrast";
|
|
335
|
+
/**
|
|
336
|
+
* Warning icon, text and accent bars, as a raw CSS color. Unset by default:
|
|
337
|
+
* #D97706. Not derived from `warning`, so existing themes keep their look.
|
|
338
|
+
*/
|
|
339
|
+
readonly warningAccent: "--bfrs-color-warning-accent";
|
|
340
|
+
/**
|
|
341
|
+
* Warning Alert, Toast, Badge, Chip, Tip and InfoCard fill, as a raw CSS
|
|
342
|
+
* color (alpha allowed). Unset by default: #D97706 at 8%. Not derived from
|
|
343
|
+
* `warningSoft`.
|
|
344
|
+
*/
|
|
345
|
+
readonly warningSurface: "--bfrs-color-warning-surface";
|
|
346
|
+
/**
|
|
347
|
+
* Warning surface border, as a raw CSS color (alpha allowed). Unset by
|
|
348
|
+
* default: #D97706 at 20%. Not derived from `warning`.
|
|
349
|
+
*/
|
|
350
|
+
readonly warningBorder: "--bfrs-color-warning-border";
|
|
229
351
|
readonly info: "--bfrs-color-info";
|
|
230
352
|
readonly infoSoft: "--bfrs-color-info-soft";
|
|
231
353
|
readonly infoContrast: "--bfrs-color-info-contrast";
|
|
@@ -252,6 +374,35 @@ export declare const agenticThemeTokens: {
|
|
|
252
374
|
readonly dclTextLight: "--bfrs-dcl-color-text-light";
|
|
253
375
|
readonly dclTextInverse: "--bfrs-dcl-color-text-inverse";
|
|
254
376
|
readonly dclClickHover: "--bfrs-dcl-color-click-hover";
|
|
377
|
+
readonly dclAgentOrders: "--bfrs-dcl-color-agent-orders";
|
|
378
|
+
readonly dclAgentNdr: "--bfrs-dcl-color-agent-ndr";
|
|
379
|
+
readonly dclAgentRto: "--bfrs-dcl-color-agent-rto";
|
|
380
|
+
readonly dclAgentTracking: "--bfrs-dcl-color-agent-tracking";
|
|
381
|
+
readonly dclAgentInsights: "--bfrs-dcl-color-agent-insights";
|
|
382
|
+
/** Brand fill (solid brand chips, markers). */
|
|
383
|
+
readonly dclBrand: "--bfrs-dcl-color-brand";
|
|
384
|
+
/** Brand-colored text. */
|
|
385
|
+
readonly dclTextBrand: "--bfrs-dcl-color-text-brand";
|
|
386
|
+
/** Brand-colored border. */
|
|
387
|
+
readonly dclBorderBrand: "--bfrs-dcl-color-border-brand";
|
|
388
|
+
/** Inline links. */
|
|
389
|
+
readonly dclLink: "--bfrs-dcl-color-link";
|
|
390
|
+
/** Light brand background. */
|
|
391
|
+
readonly dclPrimaryBg: "--bfrs-dcl-color-primary-bg";
|
|
392
|
+
/** Primary page or panel background. */
|
|
393
|
+
readonly dclBackgroundPrimary: "--bfrs-dcl-color-background-primary";
|
|
394
|
+
readonly dclDanger: "--bfrs-dcl-color-danger";
|
|
395
|
+
readonly dclDangerSubtle: "--bfrs-dcl-color-danger-subtle";
|
|
396
|
+
readonly dclSuccess: "--bfrs-dcl-color-success";
|
|
397
|
+
readonly dclSuccessSoft: "--bfrs-dcl-color-success-soft";
|
|
398
|
+
readonly dclSuccessSubtle: "--bfrs-dcl-color-success-subtle";
|
|
399
|
+
readonly dclWarningSubtle: "--bfrs-dcl-color-warning-subtle";
|
|
400
|
+
readonly dclStatusPendingSurface: "--bfrs-dcl-color-status-pending-surface";
|
|
401
|
+
readonly dclTextPrimary: "--bfrs-dcl-color-text-primary";
|
|
402
|
+
readonly dclTextSecondary: "--bfrs-dcl-color-text-secondary";
|
|
403
|
+
readonly dclBorderSubtle: "--bfrs-dcl-color-border-subtle";
|
|
404
|
+
readonly dclSurfaceMuted: "--bfrs-dcl-color-surface-muted";
|
|
405
|
+
readonly dclSurfaceSubtle: "--bfrs-dcl-color-surface-subtle";
|
|
255
406
|
readonly statusDelivered: "--bfrs-dcl-color-status-delivered";
|
|
256
407
|
readonly statusDeliveredBg: "--bfrs-dcl-color-status-delivered-bg";
|
|
257
408
|
readonly statusInTransit: "--bfrs-dcl-color-status-in-transit";
|
|
@@ -298,6 +449,41 @@ export declare const agenticThemeTokens: {
|
|
|
298
449
|
* textPrimary, Table keeps textSecondary); not derived from any brand color.
|
|
299
450
|
*/
|
|
300
451
|
readonly tableHeaderText: "--bfrs-color-table-header-text";
|
|
452
|
+
/** Option label on hover or keyboard highlight. Unset by default: each option keeps its own text color. */
|
|
453
|
+
readonly optionHoverText: "--bfrs-color-option-hover-text";
|
|
454
|
+
/**
|
|
455
|
+
* Checked / selected option label. Unset by default: each option keeps its
|
|
456
|
+
* own text color. The selected background stays `optionSelectedBg` for every
|
|
457
|
+
* single- and multi-select list.
|
|
458
|
+
*/
|
|
459
|
+
readonly optionSelectedText: "--bfrs-color-option-selected-text";
|
|
460
|
+
/** Inset border around a selected DataTable row (drawn without changing row size). Unset by default: no border. */
|
|
461
|
+
readonly rowSelectedBorder: "--bfrs-color-row-selected-border";
|
|
462
|
+
/** Dark Tooltip body and arrow. Unset by default: textPrimary. The label stays textInverse. */
|
|
463
|
+
readonly tooltipBg: "--bfrs-color-tooltip-bg";
|
|
464
|
+
/** Current page in pagination, at rest and on hover. Unset by default: each paginator keeps its own fill. */
|
|
465
|
+
readonly pageActiveBg: "--bfrs-color-page-active";
|
|
466
|
+
/** Current page label. Unset by default: each paginator keeps its own label color. */
|
|
467
|
+
readonly pageActiveText: "--bfrs-color-page-active-text";
|
|
468
|
+
/** Border of an empty (unchecked) checkbox. Unset by default: each checkbox keeps its own border color. */
|
|
469
|
+
readonly checkboxBorder: "--bfrs-color-checkbox-border";
|
|
470
|
+
/**
|
|
471
|
+
* Disabled button fill and border. Unset by default: a disabled button keeps
|
|
472
|
+
* its own colors faded to opacity .55. Setting this or controlDisabledText
|
|
473
|
+
* switches the fade off (--bfrs-button-disabled-opacity: 1), and a key set
|
|
474
|
+
* alone is paired with the muted default for the other (surfaceMuted fill,
|
|
475
|
+
* textMuted label).
|
|
476
|
+
*/
|
|
477
|
+
readonly controlDisabledBg: "--bfrs-color-control-disabled";
|
|
478
|
+
/** Disabled button label. Unset by default (see controlDisabledBg). */
|
|
479
|
+
readonly controlDisabledText: "--bfrs-color-control-disabled-text";
|
|
480
|
+
/**
|
|
481
|
+
* Line under a line-variant Tabs list and ListPageLayout's tabs band. Unset
|
|
482
|
+
* by default: colors.border, like the other dividers.
|
|
483
|
+
*/
|
|
484
|
+
readonly tabsDivider: "--bfrs-color-tabs-divider";
|
|
485
|
+
/** Page number labels other than the current page. Unset by default: each paginator keeps its own label color. */
|
|
486
|
+
readonly pageText: "--bfrs-color-page-text";
|
|
301
487
|
};
|
|
302
488
|
readonly radius: {
|
|
303
489
|
readonly sm: "--bfrs-radius-sm";
|
|
@@ -331,6 +517,12 @@ export declare const agenticThemeTokens: {
|
|
|
331
517
|
readonly drawer: "--bfrs-shadow-drawer";
|
|
332
518
|
readonly modal: "--bfrs-shadow-modal";
|
|
333
519
|
readonly sticky: "--bfrs-shadow-sticky";
|
|
520
|
+
/**
|
|
521
|
+
* DataTable and Table body row on hover. Unset by default: no shadow. Setting
|
|
522
|
+
* it also positions the hovered row (--bfrs-row-hover-position: relative) so
|
|
523
|
+
* the shadow paints above the neighboring rows.
|
|
524
|
+
*/
|
|
525
|
+
readonly rowHover: "--bfrs-shadow-row-hover";
|
|
334
526
|
};
|
|
335
527
|
readonly gradients: {
|
|
336
528
|
readonly card: "--bfrs-gradient-card";
|
|
@@ -378,6 +570,12 @@ export type AgenticThemeOverrides = {
|
|
|
378
570
|
variables?: Partial<Record<ThemeVariableName | string, ThemeTokenValue>>;
|
|
379
571
|
};
|
|
380
572
|
export type AgenticThemeVariables = Partial<Record<ThemeVariableName, string>>;
|
|
573
|
+
/**
|
|
574
|
+
* Normalizes a color to the "r g b" channels an rgb(var(--x) / a) token reads
|
|
575
|
+
* (textPlaceholder). Hex and rgb()/rgba() convert; anything else, including
|
|
576
|
+
* channels already in "r g b" form, passes through trimmed.
|
|
577
|
+
*/
|
|
578
|
+
export declare function normalizeThemeRgbChannels(value: string): string;
|
|
381
579
|
export declare function normalizeThemeColorValue(value: string): string;
|
|
382
580
|
export declare function createAgenticThemeVariables(theme: AgenticThemeOverrides): AgenticThemeVariables;
|
|
383
581
|
export declare function createAgenticThemeCssText(theme: AgenticThemeOverrides): string;
|