@bfrs/agentic-components 0.8.7 → 0.8.9
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 +1 -0
- package/dist/components/data-display/DataTable/TableSaveView.d.ts +14 -1
- package/dist/components/data-display/DataTable/TableSaveView.js +164 -144
- package/dist/components/data-display/DataTable/TableSaveView.js.map +1 -1
- package/dist/components/data-display/DataTable/TableViewSelector.d.ts +15 -1
- package/dist/components/data-display/DataTable/TableViewSelector.js +304 -296
- package/dist/components/data-display/DataTable/TableViewSelector.js.map +1 -1
- package/dist/components/data-display/DataTable/index.d.ts +1 -0
- package/dist/components/data-display/DataTable/savedViewAnalytics.d.ts +109 -0
- package/dist/components/data-display/DataTable/savedViewAnalytics.js +140 -0
- package/dist/components/data-display/DataTable/savedViewAnalytics.js.map +1 -0
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/patterns/ChatComposer/ChatComposer.d.ts +10 -0
- package/dist/components/ui/patterns/ChatComposer/ChatComposer.js +79 -78
- package/dist/components/ui/patterns/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/components/ui/providers/BfrsAnalyticsProvider/BfrsAnalyticsProvider.d.ts +18 -0
- package/dist/components/ui/providers/BfrsAnalyticsProvider/BfrsAnalyticsProvider.js +12 -0
- package/dist/components/ui/providers/BfrsAnalyticsProvider/BfrsAnalyticsProvider.js.map +1 -0
- package/dist/components/ui/providers/BfrsAnalyticsProvider/analyticsContext.d.ts +78 -0
- package/dist/components/ui/providers/BfrsAnalyticsProvider/analyticsContext.js +41 -0
- package/dist/components/ui/providers/BfrsAnalyticsProvider/analyticsContext.js.map +1 -0
- package/dist/components/ui/providers/BfrsAnalyticsProvider/index.d.ts +4 -0
- package/dist/components/ui/providers/BfrsProvider/BfrsProvider.d.ts +25 -0
- package/dist/components/ui/providers/BfrsProvider/BfrsProvider.js +42 -41
- package/dist/components/ui/providers/BfrsProvider/BfrsProvider.js.map +1 -1
- package/dist/custom-elements.js +9330 -9141
- package/dist/custom-elements.js.map +1 -1
- package/dist/index.js +224 -213
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/scripts/lint/cli.cjs +6 -0
package/dist/index.js
CHANGED
|
@@ -1,258 +1,263 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import { agenticThemeColorVariables as t, agenticThemeGradientVariables as a, agenticThemeMotionVariables as p, agenticThemeRadiusVariables as m, agenticThemeShadowVariables as f, agenticThemeSpacingVariables as
|
|
2
|
+
import { agenticThemeColorVariables as t, agenticThemeGradientVariables as a, agenticThemeMotionVariables as p, agenticThemeRadiusVariables as m, agenticThemeShadowVariables as f, agenticThemeSpacingVariables as i, agenticThemeTokens as x, agenticThemeTypographyVariables as n, applyAgenticTheme as l, clearAgenticTheme as s, createAgenticThemeCssText as d, createAgenticThemeVariables as c, normalizeThemeColorValue as S } from "./theme/overrides.js";
|
|
3
3
|
import { cn as g } from "./lib/cn.js";
|
|
4
4
|
import { Accordion as b } from "./components/ui/patterns/Accordion/Accordion.js";
|
|
5
|
-
import { ActionMenu as
|
|
6
|
-
import { Alert as
|
|
7
|
-
import { Avatar as
|
|
8
|
-
import { BASE_YEAR as
|
|
9
|
-
import { Badge as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
5
|
+
import { ActionMenu as y } from "./components/navigation/ActionMenu/ActionMenu.js";
|
|
6
|
+
import { Alert as D } from "./components/ui/feedback/Alert/Alert.js";
|
|
7
|
+
import { Avatar as w } from "./components/ui/data-display/Avatar/Avatar.js";
|
|
8
|
+
import { BASE_YEAR as V, CUSTOM_PRESET_ID as B, DAY_HEADS as E, DAY_MS as I, DAY_WINDOW_DAYS as P, MONTH_NAMES as _, RESTRICTED_WINDOW_DAYS as M, SHORT_MONTH_NAMES as O, YEAR_LAST_30_DAYS as k, YEAR_LAST_ONE as v, YEAR_OPTIONS as Y, addDays as L, buildDayWindowOptions as F, buildYearOptions as z, clampYearRange as H, coerceDateRangeValue as N, compareDay as W, computeDayWindowRange as G, computeLastOneYearRange as K, computeYearRange as U, dayWindowDays as j, dayWindowValue as q, dayWindowValueForSpan as J, daysInMonth as Q, defaultDateRangePresets as X, defaultFormatDate as Z, differenceInCalendarDays as $, getInitialCalendar as ee, getPresetLabel as re, hasCompleteRange as oe, normalizeRange as te, presetToRange as ae, sameDay as pe, shiftMonth as me, startOfDay as fe } from "./components/filters/DateRangePicker/DateRangePicker.utils.js";
|
|
9
|
+
import { Badge as xe } from "./components/primitives/Badge/Badge.js";
|
|
10
|
+
import { BfrsAnalyticsProvider as le } from "./components/ui/providers/BfrsAnalyticsProvider/BfrsAnalyticsProvider.js";
|
|
11
|
+
import { BfrsProvider as de } from "./components/ui/providers/BfrsProvider/BfrsProvider.js";
|
|
12
|
+
import { Box as Se } from "./components/ui/primitives/Box/Box.js";
|
|
13
|
+
import { Breadcrumbs as ge } from "./components/ui/navigation/Breadcrumbs/Breadcrumbs.js";
|
|
14
|
+
import { BusinessInfoDisplayCard as be } from "./components/ui/patterns/BusinessInfoDisplayCard/BusinessInfoDisplayCard.js";
|
|
15
|
+
import { BusinessInfoDisplayCardSkeleton as ye } from "./components/ui/patterns/BusinessInfoDisplayCard/BusinessInfoDisplayCardSkeleton.js";
|
|
15
16
|
import { Button as De, IconButton as he } from "./components/primitives/Button/Button.js";
|
|
16
|
-
import { ButtonGroup as
|
|
17
|
-
import { Card as
|
|
18
|
-
import { ChatBubble as
|
|
19
|
-
import { ChatComposer as
|
|
17
|
+
import { ButtonGroup as Re } from "./components/primitives/Button/ButtonGroup.js";
|
|
18
|
+
import { Card as Be, CardContent as Ee, CardFooter as Ie, CardHeader as Pe } from "./components/primitives/Card/Card.js";
|
|
19
|
+
import { ChatBubble as Me } from "./components/ui/patterns/ChatBubble/ChatBubble.js";
|
|
20
|
+
import { ChatComposer as ke } from "./components/ui/patterns/ChatComposer/ChatComposer.js";
|
|
20
21
|
import { Checkbox as Ye } from "./components/ui/forms/Checkbox/Checkbox.js";
|
|
21
22
|
import { Chip as Fe } from "./components/primitives/Chip/Chip.js";
|
|
22
|
-
import { Collapsible as
|
|
23
|
-
import { ColorPicker as
|
|
24
|
-
import { ColorSwatchGroup as
|
|
25
|
-
import { CommandMenu as
|
|
26
|
-
import { ConfirmDialog as
|
|
27
|
-
import { Container as
|
|
28
|
-
import { DataTable as
|
|
29
|
-
import { DateRangePicker as
|
|
30
|
-
import { Modal as
|
|
31
|
-
import { Drawer as
|
|
32
|
-
import { Dropdown as
|
|
33
|
-
import { EmptyState as
|
|
34
|
-
import { EntityDisplayCard as
|
|
35
|
-
import { ErrorState as
|
|
36
|
-
import { FieldLabel as
|
|
37
|
-
import { FileDropzone as
|
|
23
|
+
import { Collapsible as He } from "./components/ui/patterns/Collapsible/Collapsible.js";
|
|
24
|
+
import { ColorPicker as We } from "./components/ui/forms/ColorPicker/ColorPicker.js";
|
|
25
|
+
import { ColorSwatchGroup as Ke } from "./components/ui/forms/ColorSwatchGroup/ColorSwatchGroup.js";
|
|
26
|
+
import { CommandMenu as je } from "./components/ui/patterns/CommandMenu/CommandMenu.js";
|
|
27
|
+
import { ConfirmDialog as Je } from "./components/overlays/ConfirmDialog/ConfirmDialog.js";
|
|
28
|
+
import { Container as Xe } from "./components/ui/primitives/Container/Container.js";
|
|
29
|
+
import { DataTable as $e } from "./components/data-display/DataTable/DataTable.js";
|
|
30
|
+
import { DateRangePicker as rr } from "./components/filters/DateRangePicker/DateRangePicker.js";
|
|
31
|
+
import { Modal as tr, Modal as ar } from "./components/overlays/Modal/Modal.js";
|
|
32
|
+
import { Drawer as mr } from "./components/overlays/Drawer/Drawer.js";
|
|
33
|
+
import { Dropdown as ir } from "./components/ui/overlays/Dropdown/Dropdown.js";
|
|
34
|
+
import { EmptyState as nr } from "./components/feedback/EmptyState/EmptyState.js";
|
|
35
|
+
import { EntityDisplayCard as sr } from "./components/ui/patterns/EntityDisplayCard/EntityDisplayCard.js";
|
|
36
|
+
import { ErrorState as cr } from "./components/feedback/ErrorState/ErrorState.js";
|
|
37
|
+
import { FieldLabel as Tr, FormSection as gr, HelperText as ur, InlineError as br } from "./components/layout/FormSection/FormSection.js";
|
|
38
|
+
import { FileDropzone as yr } from "./components/ui/forms/FileDropzone/FileDropzone.js";
|
|
38
39
|
import { FilterBar as Dr } from "./components/filters/FilterBar/FilterBar.js";
|
|
39
|
-
import { FilterDrawer as
|
|
40
|
-
import { FormField as
|
|
40
|
+
import { FilterDrawer as wr } from "./components/filters/FilterDrawer/FilterDrawer.js";
|
|
41
|
+
import { FormField as Vr } from "./components/ui/forms/FormField/FormField.js";
|
|
41
42
|
import { FullPageLoader as Er } from "./components/ui/patterns/FullPageLoader/FullPageLoader.js";
|
|
42
|
-
import { Grid as
|
|
43
|
-
import { HorizontalStepper as
|
|
44
|
-
import { Icon as
|
|
43
|
+
import { Grid as Pr } from "./components/ui/primitives/Grid/Grid.js";
|
|
44
|
+
import { HorizontalStepper as Mr } from "./components/ui/patterns/HorizontalStepper/HorizontalStepper.js";
|
|
45
|
+
import { Icon as kr } from "./components/ui/primitives/Icon/Icon.js";
|
|
45
46
|
import { InfoCard as Yr } from "./components/ui/feedback/InfoCard/InfoCard.js";
|
|
46
47
|
import { Input as Fr } from "./components/primitives/Input/Input.js";
|
|
47
|
-
import { KpiCard as
|
|
48
|
-
import { Label as
|
|
49
|
-
import { LayoutShell as
|
|
50
|
-
import { ListPageLayout as
|
|
51
|
-
import { LoadingState as
|
|
52
|
-
import { MetricCard as
|
|
53
|
-
import { MultiSelect as
|
|
54
|
-
import { NumberStepper as
|
|
55
|
-
import { OptionCardGroup as
|
|
56
|
-
import { PageHeader as
|
|
57
|
-
import { Paper as
|
|
58
|
-
import { Popover as
|
|
59
|
-
import { ProgressBar as
|
|
60
|
-
import { Radio as
|
|
61
|
-
import { RevealAndCopy as
|
|
62
|
-
import { RevealField as
|
|
63
|
-
import { SearchableSelect as
|
|
64
|
-
import { SectionHeader as
|
|
65
|
-
import { Select as ho, groupSelectOptions as
|
|
66
|
-
import { SelectableChipGroup as
|
|
48
|
+
import { KpiCard as Hr } from "./components/ui/data-display/KpiCard/KpiCard.js";
|
|
49
|
+
import { Label as Wr } from "./components/ui/forms/Label/Label.js";
|
|
50
|
+
import { LayoutShell as Kr } from "./components/ui/patterns/LayoutShell/LayoutShell.js";
|
|
51
|
+
import { ListPageLayout as jr } from "./components/layout/ListPageLayout/ListPageLayout.js";
|
|
52
|
+
import { LoadingState as Jr } from "./components/feedback/LoadingState/LoadingState.js";
|
|
53
|
+
import { MetricCard as Xr } from "./components/data-display/MetricCard/MetricCard.js";
|
|
54
|
+
import { MultiSelect as $r } from "./components/ui/forms/MultiSelect/MultiSelect.js";
|
|
55
|
+
import { NumberStepper as ro } from "./components/ui/forms/NumberStepper/NumberStepper.js";
|
|
56
|
+
import { OptionCardGroup as to } from "./components/ui/forms/OptionCardGroup/OptionCardGroup.js";
|
|
57
|
+
import { PageHeader as po } from "./components/layout/PageHeader/PageHeader.js";
|
|
58
|
+
import { Paper as fo } from "./components/ui/primitives/Paper/Paper.js";
|
|
59
|
+
import { Popover as xo } from "./components/ui/overlays/Popover/Popover.js";
|
|
60
|
+
import { ProgressBar as lo } from "./components/ui/feedback/ProgressBar/ProgressBar.js";
|
|
61
|
+
import { Radio as co } from "./components/ui/forms/Radio/Radio.js";
|
|
62
|
+
import { RevealAndCopy as To } from "./components/ui/patterns/RevealAndCopy/RevealAndCopy.js";
|
|
63
|
+
import { RevealField as uo } from "./components/ui/forms/RevealField/RevealField.js";
|
|
64
|
+
import { SearchableSelect as Co } from "./components/ui/forms/SearchableSelect/SearchableSelect.js";
|
|
65
|
+
import { SectionHeader as Ao } from "./components/layout/SectionHeader/SectionHeader.js";
|
|
66
|
+
import { Select as ho, groupSelectOptions as wo } from "./components/ui/forms/Select/Select.js";
|
|
67
|
+
import { SelectableChipGroup as Vo } from "./components/ui/forms/SelectableChipGroup/SelectableChipGroup.js";
|
|
67
68
|
import { SideNav as Eo } from "./components/ui/patterns/SideNav/SideNav.js";
|
|
68
|
-
import { Skeleton as
|
|
69
|
-
import { Slider as
|
|
70
|
-
import { Spinner as
|
|
69
|
+
import { Skeleton as Po } from "./components/ui/feedback/Skeleton/Skeleton.js";
|
|
70
|
+
import { Slider as Mo } from "./components/ui/forms/Slider/Slider.js";
|
|
71
|
+
import { Spinner as ko } from "./components/ui/feedback/Spinner/Spinner.js";
|
|
71
72
|
import { Stack as Yo } from "./components/ui/primitives/Stack/Stack.js";
|
|
72
73
|
import { StepProgressCard as Fo } from "./components/ui/patterns/StepProgressCard/StepProgressCard.js";
|
|
73
|
-
import { StepProgressCardSkeleton as
|
|
74
|
-
import { SuggestInput as
|
|
75
|
-
import { SummaryBar as
|
|
76
|
-
import { Switch as
|
|
77
|
-
import { Table as
|
|
78
|
-
import { TableBulkActions as
|
|
79
|
-
import { TableColumnVisibility as
|
|
80
|
-
import { TableEmptyState as
|
|
81
|
-
import { TableErrorState as
|
|
82
|
-
import { TablePagination as
|
|
83
|
-
import { TableRowActions as
|
|
84
|
-
import { TableSaveView as
|
|
85
|
-
import { TableSkeleton as
|
|
86
|
-
import { TableToolbar as
|
|
87
|
-
import { TableViewSelector as
|
|
74
|
+
import { StepProgressCardSkeleton as Ho } from "./components/ui/patterns/StepProgressCard/StepProgressCardSkeleton.js";
|
|
75
|
+
import { SuggestInput as Wo } from "./components/ui/forms/SuggestInput/SuggestInput.js";
|
|
76
|
+
import { SummaryBar as Ko } from "./components/ui/patterns/SummaryBar/SummaryBar.js";
|
|
77
|
+
import { Switch as jo } from "./components/ui/forms/Switch/Switch.js";
|
|
78
|
+
import { Table as Jo, Tbody as Qo, Td as Xo, Tfoot as Zo, Th as $o, Thead as et, Tr as rt } from "./components/data-display/Table/Table.js";
|
|
79
|
+
import { TableBulkActions as tt } from "./components/data-display/DataTable/TableBulkActions.js";
|
|
80
|
+
import { TableColumnVisibility as pt } from "./components/data-display/DataTable/TableColumnVisibility.js";
|
|
81
|
+
import { TableEmptyState as ft, TableEmptyStateContent as it } from "./components/data-display/DataTable/TableEmptyState.js";
|
|
82
|
+
import { TableErrorState as nt } from "./components/data-display/DataTable/TableErrorState.js";
|
|
83
|
+
import { TablePagination as st } from "./components/data-display/DataTable/TablePagination.js";
|
|
84
|
+
import { TableRowActions as ct } from "./components/data-display/DataTable/TableRowActions.js";
|
|
85
|
+
import { TableSaveView as Tt } from "./components/data-display/DataTable/TableSaveView.js";
|
|
86
|
+
import { TableSkeleton as ut } from "./components/data-display/DataTable/TableSkeleton.js";
|
|
87
|
+
import { TableToolbar as Ct } from "./components/data-display/DataTable/TableToolbar.js";
|
|
88
|
+
import { TableViewSelector as At } from "./components/data-display/DataTable/TableViewSelector.js";
|
|
88
89
|
import { Tabs as ht } from "./components/navigation/Tabs/Tabs.js";
|
|
89
|
-
import { TagInput as
|
|
90
|
+
import { TagInput as Rt, TagsInput as Vt } from "./components/ui/forms/TagInput/TagInput.js";
|
|
90
91
|
import { Text as Et } from "./components/ui/primitives/Text/Text.js";
|
|
91
|
-
import { Textarea as
|
|
92
|
-
import { Tip as
|
|
93
|
-
import { ToastContext as
|
|
92
|
+
import { Textarea as Pt } from "./components/ui/forms/Textarea/Textarea.js";
|
|
93
|
+
import { Tip as Mt } from "./components/ui/feedback/Tip/Tip.js";
|
|
94
|
+
import { ToastContext as kt, useToast as vt } from "./components/feedback/Toast/Toast.context.js";
|
|
94
95
|
import { ToastManager as Lt, ToastProvider as Ft } from "./components/feedback/Toast/Toast.js";
|
|
95
|
-
import { Tooltip as
|
|
96
|
-
import { WorkspaceHeader as
|
|
97
|
-
import { cardSizes as
|
|
98
|
-
import { colors as
|
|
99
|
-
import { createLocalSaveView as
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
96
|
+
import { Tooltip as Ht } from "./components/ui/overlays/Tooltip/Tooltip.js";
|
|
97
|
+
import { WorkspaceHeader as Wt } from "./components/ui/patterns/WorkspaceHeader/WorkspaceHeader.js";
|
|
98
|
+
import { cardSizes as Kt, controlSizes as Ut, drawerSizes as jt, iconSizes as qt, modalSizes as Jt, tableDensities as Qt } from "./tokens/sizes.js";
|
|
99
|
+
import { colors as Zt } from "./tokens/colors.js";
|
|
100
|
+
import { createLocalSaveView as ea, createLocalViewStore as ra } from "./components/data-display/DataTable/viewStore.js";
|
|
101
|
+
import { createSavedViewAnalytics as ta, toSavedViewAnalyticsConfig as aa, useSavedViewAnalytics as pa } from "./components/data-display/DataTable/savedViewAnalytics.js";
|
|
102
|
+
import { emitBfrsAnalytics as fa, getBfrsAnalyticsSink as ia, setBfrsAnalyticsSink as xa, useBfrsAnalyticsSink as na } from "./components/ui/providers/BfrsAnalyticsProvider/analyticsContext.js";
|
|
103
|
+
import { motion as sa } from "./tokens/motion.js";
|
|
104
|
+
import { radius as ca } from "./tokens/radius.js";
|
|
105
|
+
import { shadows as Ta } from "./tokens/shadows.js";
|
|
106
|
+
import { spacing as ua } from "./tokens/spacing.js";
|
|
107
|
+
import { typography as Ca } from "./tokens/typography.js";
|
|
108
|
+
import { useSavedViews as Aa } from "./components/data-display/DataTable/useSavedViews.js";
|
|
109
|
+
import { useViewDraft as ha } from "./components/data-display/DataTable/useViewDraft.js";
|
|
110
|
+
import { zIndex as Ra } from "./tokens/zIndex.js";
|
|
108
111
|
export {
|
|
109
112
|
b as Accordion,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
le as
|
|
116
|
-
de as
|
|
117
|
-
Se as
|
|
118
|
-
ge as
|
|
119
|
-
be as
|
|
113
|
+
y as ActionMenu,
|
|
114
|
+
D as Alert,
|
|
115
|
+
w as Avatar,
|
|
116
|
+
V as BASE_YEAR,
|
|
117
|
+
xe as Badge,
|
|
118
|
+
le as BfrsAnalyticsProvider,
|
|
119
|
+
de as BfrsProvider,
|
|
120
|
+
Se as Box,
|
|
121
|
+
ge as Breadcrumbs,
|
|
122
|
+
be as BusinessInfoDisplayCard,
|
|
123
|
+
ye as BusinessInfoDisplayCardSkeleton,
|
|
120
124
|
De as Button,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
125
|
+
Re as ButtonGroup,
|
|
126
|
+
B as CUSTOM_PRESET_ID,
|
|
127
|
+
Be as Card,
|
|
124
128
|
Ee as CardContent,
|
|
125
129
|
Ie as CardFooter,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
130
|
+
Pe as CardHeader,
|
|
131
|
+
Me as ChatBubble,
|
|
132
|
+
ke as ChatComposer,
|
|
129
133
|
Ye as Checkbox,
|
|
130
134
|
Fe as Chip,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
135
|
+
He as Collapsible,
|
|
136
|
+
We as ColorPicker,
|
|
137
|
+
Ke as ColorSwatchGroup,
|
|
138
|
+
je as CommandMenu,
|
|
139
|
+
Je as ConfirmDialog,
|
|
140
|
+
Xe as Container,
|
|
141
|
+
E as DAY_HEADS,
|
|
142
|
+
I as DAY_MS,
|
|
139
143
|
P as DAY_WINDOW_DAYS,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
144
|
+
$e as DataTable,
|
|
145
|
+
rr as DateRangePicker,
|
|
146
|
+
tr as Dialog,
|
|
147
|
+
mr as Drawer,
|
|
148
|
+
ir as Dropdown,
|
|
149
|
+
nr as EmptyState,
|
|
150
|
+
sr as EntityDisplayCard,
|
|
151
|
+
cr as ErrorState,
|
|
152
|
+
Tr as FieldLabel,
|
|
153
|
+
yr as FileDropzone,
|
|
150
154
|
Dr as FilterBar,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
155
|
+
wr as FilterDrawer,
|
|
156
|
+
Vr as FormField,
|
|
157
|
+
gr as FormSection,
|
|
154
158
|
Er as FullPageLoader,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
+
Pr as Grid,
|
|
160
|
+
ur as HelperText,
|
|
161
|
+
Mr as HorizontalStepper,
|
|
162
|
+
kr as Icon,
|
|
159
163
|
he as IconButton,
|
|
160
164
|
Yr as InfoCard,
|
|
161
|
-
|
|
165
|
+
br as InlineError,
|
|
162
166
|
Fr as Input,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
167
|
+
Hr as KpiCard,
|
|
168
|
+
Wr as Label,
|
|
169
|
+
Kr as LayoutShell,
|
|
170
|
+
jr as ListPageLayout,
|
|
171
|
+
Jr as LoadingState,
|
|
172
|
+
_ as MONTH_NAMES,
|
|
173
|
+
Xr as MetricCard,
|
|
174
|
+
ar as Modal,
|
|
175
|
+
$r as MultiSelect,
|
|
176
|
+
ro as NumberStepper,
|
|
177
|
+
to as OptionCardGroup,
|
|
178
|
+
po as PageHeader,
|
|
179
|
+
fo as Paper,
|
|
180
|
+
xo as Popover,
|
|
181
|
+
lo as ProgressBar,
|
|
182
|
+
M as RESTRICTED_WINDOW_DAYS,
|
|
183
|
+
co as Radio,
|
|
184
|
+
To as RevealAndCopy,
|
|
185
|
+
uo as RevealField,
|
|
182
186
|
O as SHORT_MONTH_NAMES,
|
|
183
|
-
|
|
184
|
-
|
|
187
|
+
Co as SearchableSelect,
|
|
188
|
+
Ao as SectionHeader,
|
|
185
189
|
ho as Select,
|
|
186
|
-
|
|
190
|
+
Vo as SelectableChipGroup,
|
|
187
191
|
Eo as SideNav,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
192
|
+
Po as Skeleton,
|
|
193
|
+
Mo as Slider,
|
|
194
|
+
ko as Spinner,
|
|
191
195
|
Yo as Stack,
|
|
192
196
|
Fo as StepProgressCard,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
197
|
+
Ho as StepProgressCardSkeleton,
|
|
198
|
+
Wo as SuggestInput,
|
|
199
|
+
Ko as SummaryBar,
|
|
200
|
+
jo as Switch,
|
|
201
|
+
Jo as Table,
|
|
202
|
+
tt as TableBulkActions,
|
|
203
|
+
pt as TableColumnVisibility,
|
|
204
|
+
ft as TableEmptyState,
|
|
205
|
+
it as TableEmptyStateContent,
|
|
206
|
+
nt as TableErrorState,
|
|
207
|
+
st as TablePagination,
|
|
208
|
+
ct as TableRowActions,
|
|
209
|
+
Tt as TableSaveView,
|
|
210
|
+
ut as TableSkeleton,
|
|
211
|
+
Ct as TableToolbar,
|
|
212
|
+
At as TableViewSelector,
|
|
209
213
|
ht as Tabs,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
+
Rt as TagInput,
|
|
215
|
+
Vt as TagsInput,
|
|
216
|
+
Qo as Tbody,
|
|
217
|
+
Xo as Td,
|
|
214
218
|
Et as Text,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
Pt as Textarea,
|
|
220
|
+
Zo as Tfoot,
|
|
221
|
+
$o as Th,
|
|
222
|
+
et as Thead,
|
|
223
|
+
Mt as Tip,
|
|
224
|
+
kt as ToastContext,
|
|
221
225
|
Lt as ToastManager,
|
|
222
226
|
Ft as ToastProvider,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
227
|
+
Ht as Tooltip,
|
|
228
|
+
rt as Tr,
|
|
229
|
+
Wt as WorkspaceHeader,
|
|
230
|
+
k as YEAR_LAST_30_DAYS,
|
|
231
|
+
v as YEAR_LAST_ONE,
|
|
232
|
+
Y as YEAR_OPTIONS,
|
|
233
|
+
L as addDays,
|
|
230
234
|
t as agenticThemeColorVariables,
|
|
231
235
|
a as agenticThemeGradientVariables,
|
|
232
236
|
p as agenticThemeMotionVariables,
|
|
233
237
|
m as agenticThemeRadiusVariables,
|
|
234
238
|
f as agenticThemeShadowVariables,
|
|
235
|
-
|
|
236
|
-
|
|
239
|
+
i as agenticThemeSpacingVariables,
|
|
240
|
+
x as agenticThemeTokens,
|
|
237
241
|
n as agenticThemeTypographyVariables,
|
|
238
242
|
l as applyAgenticTheme,
|
|
239
|
-
|
|
243
|
+
F as buildDayWindowOptions,
|
|
240
244
|
z as buildYearOptions,
|
|
241
|
-
|
|
245
|
+
Kt as cardSizes,
|
|
242
246
|
H as clampYearRange,
|
|
243
247
|
s as clearAgenticTheme,
|
|
244
248
|
g as cn,
|
|
245
249
|
N as coerceDateRangeValue,
|
|
246
|
-
|
|
250
|
+
Zt as colors,
|
|
247
251
|
W as compareDay,
|
|
248
252
|
G as computeDayWindowRange,
|
|
249
253
|
K as computeLastOneYearRange,
|
|
250
254
|
U as computeYearRange,
|
|
251
|
-
|
|
255
|
+
Ut as controlSizes,
|
|
252
256
|
d as createAgenticThemeCssText,
|
|
253
257
|
c as createAgenticThemeVariables,
|
|
254
|
-
|
|
255
|
-
|
|
258
|
+
ea as createLocalSaveView,
|
|
259
|
+
ra as createLocalViewStore,
|
|
260
|
+
ta as createSavedViewAnalytics,
|
|
256
261
|
j as dayWindowDays,
|
|
257
262
|
q as dayWindowValue,
|
|
258
263
|
J as dayWindowValueForSpan,
|
|
@@ -260,28 +265,34 @@ export {
|
|
|
260
265
|
X as defaultDateRangePresets,
|
|
261
266
|
Z as defaultFormatDate,
|
|
262
267
|
$ as differenceInCalendarDays,
|
|
263
|
-
|
|
268
|
+
jt as drawerSizes,
|
|
269
|
+
fa as emitBfrsAnalytics,
|
|
270
|
+
ia as getBfrsAnalyticsSink,
|
|
264
271
|
ee as getInitialCalendar,
|
|
265
272
|
re as getPresetLabel,
|
|
266
|
-
|
|
273
|
+
wo as groupSelectOptions,
|
|
267
274
|
oe as hasCompleteRange,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
275
|
+
qt as iconSizes,
|
|
276
|
+
Jt as modalSizes,
|
|
277
|
+
sa as motion,
|
|
271
278
|
te as normalizeRange,
|
|
272
279
|
S as normalizeThemeColorValue,
|
|
273
280
|
ae as presetToRange,
|
|
274
|
-
|
|
281
|
+
ca as radius,
|
|
275
282
|
pe as sameDay,
|
|
276
|
-
|
|
283
|
+
xa as setBfrsAnalyticsSink,
|
|
284
|
+
Ta as shadows,
|
|
277
285
|
me as shiftMonth,
|
|
278
|
-
|
|
286
|
+
ua as spacing,
|
|
279
287
|
fe as startOfDay,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
288
|
+
Qt as tableDensities,
|
|
289
|
+
aa as toSavedViewAnalyticsConfig,
|
|
290
|
+
Ca as typography,
|
|
291
|
+
na as useBfrsAnalyticsSink,
|
|
292
|
+
pa as useSavedViewAnalytics,
|
|
293
|
+
Aa as useSavedViews,
|
|
294
|
+
vt as useToast,
|
|
295
|
+
ha as useViewDraft,
|
|
296
|
+
Ra as zIndex
|
|
286
297
|
};
|
|
287
298
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
package/scripts/lint/cli.cjs
CHANGED
|
@@ -729,6 +729,10 @@ const customRules = [
|
|
|
729
729
|
message: `Local definition of "${name}" re-creates a @bfrs/agentic-components component.`,
|
|
730
730
|
hint: `import { ${name} } from "@bfrs/agentic-components";`,
|
|
731
731
|
lineExceptionMarker: LIBRARY_COMPONENT_EXCEPTION_MARKER,
|
|
732
|
+
// Test files legitimately re-declare components as mock stand-ins
|
|
733
|
+
// (e.g. vi.mock("@bfrs/agentic-components", () => ({ Dropdown: ... }))),
|
|
734
|
+
// so this rule skips them wholesale rather than demanding a per-line marker.
|
|
735
|
+
excludeFiles: /\.test\.[cm]?[jt]sx?$/,
|
|
732
736
|
})),
|
|
733
737
|
{
|
|
734
738
|
id: "use-library-progressbar",
|
|
@@ -746,6 +750,8 @@ function checkCustomRuleFile(target) {
|
|
|
746
750
|
const violations = [];
|
|
747
751
|
|
|
748
752
|
for (const rule of customRules) {
|
|
753
|
+
// Path-based opt-out (e.g. skip test files) — checked once per rule/file.
|
|
754
|
+
if (rule.excludeFiles && rule.excludeFiles.test(target.filePath)) continue;
|
|
749
755
|
lines.forEach((line, index) => {
|
|
750
756
|
if (rule.lineExceptionMarker && line.includes(rule.lineExceptionMarker)) return;
|
|
751
757
|
rule.pattern.lastIndex = 0;
|