@bfrs/agentic-components 0.9.0 → 0.9.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 (74) hide show
  1. package/BFRS_AGENTIC_COMPONENTS.md +4 -4
  2. package/README.md +26 -3
  3. package/dist/components/data-display/DataTable/DataTable.js +340 -321
  4. package/dist/components/data-display/DataTable/DataTable.js.map +1 -1
  5. package/dist/components/data-display/DataTable/TableColumnVisibility.js +7 -2
  6. package/dist/components/data-display/DataTable/TableColumnVisibility.js.map +1 -1
  7. package/dist/components/data-display/DataTable/TablePagination.js +35 -34
  8. package/dist/components/data-display/DataTable/TablePagination.js.map +1 -1
  9. package/dist/components/data-display/DataTable/TableSaveView.js +7 -5
  10. package/dist/components/data-display/DataTable/TableSaveView.js.map +1 -1
  11. package/dist/components/data-display/DataTable/TableViewSelector.js +80 -71
  12. package/dist/components/data-display/DataTable/TableViewSelector.js.map +1 -1
  13. package/dist/components/data-display/Table/Table.js +23 -16
  14. package/dist/components/data-display/Table/Table.js.map +1 -1
  15. package/dist/components/filters/DateRangePicker/DateRangePicker.js +254 -243
  16. package/dist/components/filters/DateRangePicker/DateRangePicker.js.map +1 -1
  17. package/dist/components/filters/FilterBar/FilterBar.js +18 -17
  18. package/dist/components/filters/FilterBar/FilterBar.js.map +1 -1
  19. package/dist/components/layout/ListPageLayout/ListPageLayout.js +28 -26
  20. package/dist/components/layout/ListPageLayout/ListPageLayout.js.map +1 -1
  21. package/dist/components/layout/PageHeader/PageHeader.js +6 -4
  22. package/dist/components/layout/PageHeader/PageHeader.js.map +1 -1
  23. package/dist/components/navigation/ActionMenu/ActionMenu.js +13 -6
  24. package/dist/components/navigation/ActionMenu/ActionMenu.js.map +1 -1
  25. package/dist/components/navigation/Tabs/Tabs.js +20 -19
  26. package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
  27. package/dist/components/primitives/Button/Button.js +70 -57
  28. package/dist/components/primitives/Button/Button.js.map +1 -1
  29. package/dist/components/primitives/Chip/Chip.js +3 -1
  30. package/dist/components/primitives/Chip/Chip.js.map +1 -1
  31. package/dist/components/ui/feedback/warningVisual.d.ts +4 -4
  32. package/dist/components/ui/feedback/warningVisual.js +20 -20
  33. package/dist/components/ui/feedback/warningVisual.js.map +1 -1
  34. package/dist/components/ui/forms/Checkbox/Checkbox.js +9 -6
  35. package/dist/components/ui/forms/Checkbox/Checkbox.js.map +1 -1
  36. package/dist/components/ui/forms/MultiSelect/MultiSelect.js +15 -4
  37. package/dist/components/ui/forms/MultiSelect/MultiSelect.js.map +1 -1
  38. package/dist/components/ui/forms/SearchableSelect/SearchableSelect.js +38 -28
  39. package/dist/components/ui/forms/SearchableSelect/SearchableSelect.js.map +1 -1
  40. package/dist/components/ui/forms/Select/Select.js +89 -80
  41. package/dist/components/ui/forms/Select/Select.js.map +1 -1
  42. package/dist/components/ui/forms/SuggestInput/SuggestInput.js +22 -10
  43. package/dist/components/ui/forms/SuggestInput/SuggestInput.js.map +1 -1
  44. package/dist/components/ui/forms/TagInput/TagInput.js +15 -10
  45. package/dist/components/ui/forms/TagInput/TagInput.js.map +1 -1
  46. package/dist/components/ui/index.d.ts +1 -1
  47. package/dist/components/ui/overlays/Dropdown/Dropdown.js +31 -19
  48. package/dist/components/ui/overlays/Dropdown/Dropdown.js.map +1 -1
  49. package/dist/components/ui/overlays/Tooltip/Tooltip.js +21 -21
  50. package/dist/components/ui/overlays/Tooltip/Tooltip.js.map +1 -1
  51. package/dist/components/ui/patterns/ChatComposer/ChatComposer.js +14 -12
  52. package/dist/components/ui/patterns/ChatComposer/ChatComposer.js.map +1 -1
  53. package/dist/components/ui/patterns/CommandMenu/CommandMenu.js +28 -18
  54. package/dist/components/ui/patterns/CommandMenu/CommandMenu.js.map +1 -1
  55. package/dist/components/ui/providers/BfrsProvider/BfrsProvider.d.ts +10 -0
  56. package/dist/components/ui/providers/BfrsProvider/BfrsProvider.js +63 -42
  57. package/dist/components/ui/providers/BfrsProvider/BfrsProvider.js.map +1 -1
  58. package/dist/custom-elements.d.ts +1 -0
  59. package/dist/custom-elements.js +7537 -7250
  60. package/dist/custom-elements.js.map +1 -1
  61. package/dist/index.js +283 -281
  62. package/dist/style.css +1 -1
  63. package/dist/styles/globals.css2.js +1 -1
  64. package/dist/theme/overrides.d.ts +202 -4
  65. package/dist/theme/overrides.js +213 -97
  66. package/dist/theme/overrides.js.map +1 -1
  67. package/dist/theme.js +21 -20
  68. package/dist/tokens/colors.d.ts +13 -0
  69. package/dist/tokens/colors.js +13 -0
  70. package/dist/tokens/colors.js.map +1 -1
  71. package/dist/tokens/shadows.d.ts +1 -0
  72. package/dist/tokens/shadows.js +4 -3
  73. package/dist/tokens/shadows.js.map +1 -1
  74. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"BfrsProvider.js","sources":["../../../../../src/components/ui/providers/BfrsProvider/BfrsProvider.tsx"],"sourcesContent":["import {\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useState,\n type CSSProperties,\n type HTMLAttributes,\n type MutableRefObject,\n type ReactNode,\n type Ref\n} from \"react\";\nimport { cn } from \"@/lib/cn\";\nimport { ensureDocumentStyles } from \"@/lib/documentStyles\";\nimport { createAgenticThemeVariables, type AgenticThemeOverrides } from \"@/theme\";\nimport { BfrsAnalyticsProvider } from \"../BfrsAnalyticsProvider/BfrsAnalyticsProvider\";\nimport type { BfrsAnalyticsSink } from \"../BfrsAnalyticsProvider/analyticsContext\";\n\nexport type BfrsColorScheme = \"light\" | \"dark\";\n\nexport type BfrsProviderProps = HTMLAttributes<HTMLDivElement> & {\n theme?: AgenticThemeOverrides;\n colorScheme?: BfrsColorScheme;\n /**\n * Where library-owned interactions are reported, wired once per app:\n *\n * ```tsx\n * <BfrsProvider analytics={(event) => analytics.track(event.name, event.properties)}>\n * ```\n *\n * Nothing in the library touches `gtag`, `dataLayer` or a provider SDK — it\n * hands the event here and the app decides what happens to it. Omitted, the\n * library reports nothing.\n */\n analytics?: BfrsAnalyticsSink;\n};\n\ntype BfrsStyleScopeContextValue = {\n root: HTMLElement | null;\n colorScheme?: BfrsColorScheme;\n};\n\nconst BfrsStyleScopeContext = createContext<BfrsStyleScopeContextValue>({\n root: null\n});\n\nfunction assignRef<T>(ref: Ref<T> | undefined, value: T | null) {\n if (!ref) {\n return;\n }\n\n if (typeof ref === \"function\") {\n ref(value);\n return;\n }\n\n (ref as MutableRefObject<T | null>).current = value;\n}\n\nconst toStyleProperties = (variables: Record<string, string | undefined>) => variables as CSSProperties;\n\nconst collectBfrsInlineStyle = (root: HTMLElement | null, colorScheme?: BfrsColorScheme): CSSProperties => {\n const style: Record<string, string> = {\n display: \"contents\"\n };\n\n if (colorScheme) {\n style.colorScheme = colorScheme;\n }\n\n if (!root) {\n return style as CSSProperties;\n }\n\n for (let index = 0; index < root.style.length; index += 1) {\n const name = root.style.item(index);\n\n if (name.startsWith(\"--bfrs-\")) {\n style[name] = root.style.getPropertyValue(name);\n }\n }\n\n return style as CSSProperties;\n};\n\nexport const BfrsProvider = forwardRef<HTMLDivElement, BfrsProviderProps>(({ analytics, className, colorScheme = \"light\", theme, style, ...props }, ref) => {\n const [root, setRoot] = useState<HTMLDivElement | null>(null);\n const themeStyle = useMemo(() => toStyleProperties(createAgenticThemeVariables(theme ?? {})), [theme]);\n const mergedStyle = useMemo(() => ({ ...themeStyle, ...style }), [style, themeStyle]);\n\n const handleRef = useCallback(\n (node: HTMLDivElement | null) => {\n setRoot(node);\n assignRef(ref, node);\n },\n [ref]\n );\n\n const contextValue = useMemo(\n () => ({\n root,\n colorScheme\n }),\n [colorScheme, root]\n );\n\n return (\n <BfrsAnalyticsProvider emit={analytics}>\n <BfrsStyleScopeContext.Provider value={contextValue}>\n <div\n ref={handleRef}\n data-bfrs-root=\"\"\n data-bfrs-color-scheme={colorScheme}\n className={cn(\"bfrs\", className)}\n style={mergedStyle}\n {...props}\n />\n </BfrsStyleScopeContext.Provider>\n </BfrsAnalyticsProvider>\n );\n});\n\nBfrsProvider.displayName = \"BfrsProvider\";\n\nexport function BfrsStyleScope({ children, root, colorScheme = \"light\" }: { children: ReactNode; root: HTMLElement | null; colorScheme?: BfrsColorScheme }) {\n const contextValue = useMemo(\n () => ({\n root,\n colorScheme\n }),\n [colorScheme, root]\n );\n\n return <BfrsStyleScopeContext.Provider value={contextValue}>{children}</BfrsStyleScopeContext.Provider>;\n}\n\nexport function BfrsPortalScope({ children }: { children: ReactNode }) {\n const { root, colorScheme } = useContext(BfrsStyleScopeContext);\n const [portalStyle, setPortalStyle] = useState<CSSProperties>(() => collectBfrsInlineStyle(root, colorScheme));\n\n useEffect(() => {\n // Overlays portal to <body>; make sure the document carries the library\n // stylesheet so portaled content stays styled.\n ensureDocumentStyles();\n setPortalStyle(collectBfrsInlineStyle(root, colorScheme));\n\n if (!root || typeof globalThis.MutationObserver === \"undefined\") {\n return undefined;\n }\n\n const observer = new globalThis.MutationObserver(() => {\n setPortalStyle(collectBfrsInlineStyle(root, colorScheme));\n });\n\n observer.observe(root, {\n attributes: true,\n attributeFilter: [\"style\", \"data-bfrs-color-scheme\"]\n });\n\n return () => observer.disconnect();\n }, [colorScheme, root]);\n\n return (\n <div className=\"bfrs\" data-bfrs-portal=\"\" data-bfrs-color-scheme={colorScheme} style={portalStyle}>\n {children}\n </div>\n );\n}\n"],"names":["BfrsStyleScopeContext","createContext","assignRef","ref","value","toStyleProperties","variables","collectBfrsInlineStyle","root","colorScheme","style","index","name","BfrsProvider","forwardRef","analytics","className","theme","props","setRoot","useState","themeStyle","useMemo","createAgenticThemeVariables","mergedStyle","handleRef","useCallback","node","contextValue","jsx","BfrsAnalyticsProvider","cn","BfrsPortalScope","children","useContext","portalStyle","setPortalStyle","useEffect","ensureDocumentStyles","observer"],"mappings":";;;;;;AA4CA,MAAMA,IAAwBC,EAA0C;AAAA,EACtE,MAAM;AACR,CAAC;AAED,SAASC,EAAaC,GAAyBC,GAAiB;AAC9D,MAAKD,GAIL;AAAA,QAAI,OAAOA,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B,GACrC,UAAA,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,KAAKJ;AAAA,MACL,kBAAe;AAAA,MACf,0BAAwBhB;AAAA,MACxB,WAAWsB,EAAG,QAAQf,CAAS;AAAA,MAC/B,OAAOQ;AAAA,MACN,GAAGN;AAAA,IAAA;AAAA,EAAA,GAER,EAAA,CACF;AAEJ,CAAC;AAEDL,EAAa,cAAc;AAcpB,SAASmB,EAAgB,EAAE,UAAAC,KAAqC;AACrE,QAAM,EAAE,MAAAzB,GAAM,aAAAC,MAAgByB,EAAWlC,CAAqB,GACxD,CAACmC,GAAaC,CAAc,IAAIhB,EAAwB,MAAMb,EAAuBC,GAAMC,CAAW,CAAC;AAE7G,SAAA4B,EAAU,MAAM;AAMd,QAHAC,EAAA,GACAF,EAAe7B,EAAuBC,GAAMC,CAAW,CAAC,GAEpD,CAACD,KAAQ,OAAO,WAAW,mBAAqB;AAClD;AAGF,UAAM+B,IAAW,IAAI,WAAW,iBAAiB,MAAM;AACrD,MAAAH,EAAe7B,EAAuBC,GAAMC,CAAW,CAAC;AAAA,IAC1D,CAAC;AAED,WAAA8B,EAAS,QAAQ/B,GAAM;AAAA,MACrB,YAAY;AAAA,MACZ,iBAAiB,CAAC,SAAS,wBAAwB;AAAA,IAAA,CACpD,GAEM,MAAM+B,EAAS,WAAA;AAAA,EACxB,GAAG,CAAC9B,GAAaD,CAAI,CAAC,GAGpB,gBAAAqB,EAAC,OAAA,EAAI,WAAU,QAAO,oBAAiB,IAAG,0BAAwBpB,GAAa,OAAO0B,GACnF,UAAAF,EAAA,CACH;AAEJ;"}
1
+ {"version":3,"file":"BfrsProvider.js","sources":["../../../../../src/components/ui/providers/BfrsProvider/BfrsProvider.tsx"],"sourcesContent":["import {\n createContext,\n forwardRef,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useState,\n type CSSProperties,\n type HTMLAttributes,\n type MutableRefObject,\n type ReactNode,\n type Ref\n} from \"react\";\nimport { cn } from \"@/lib/cn\";\nimport { ensureDocumentStyles } from \"@/lib/documentStyles\";\nimport { createAgenticThemeVariables, type AgenticThemeOverrides } from \"@/theme\";\nimport { BfrsAnalyticsProvider } from \"../BfrsAnalyticsProvider/BfrsAnalyticsProvider\";\nimport type { BfrsAnalyticsSink } from \"../BfrsAnalyticsProvider/analyticsContext\";\n\nexport type BfrsColorScheme = \"light\" | \"dark\";\n\nexport type BfrsProviderProps = HTMLAttributes<HTMLDivElement> & {\n theme?: AgenticThemeOverrides;\n colorScheme?: BfrsColorScheme;\n /**\n * Where library-owned interactions are reported, wired once per app:\n *\n * ```tsx\n * <BfrsProvider analytics={(event) => analytics.track(event.name, event.properties)}>\n * ```\n *\n * Nothing in the library touches `gtag`, `dataLayer` or a provider SDK — it\n * hands the event here and the app decides what happens to it. Omitted, the\n * library reports nothing.\n */\n analytics?: BfrsAnalyticsSink;\n};\n\ntype BfrsStyleScopeContextValue = {\n root: HTMLElement | null;\n colorScheme?: BfrsColorScheme;\n};\n\nconst BfrsStyleScopeContext = createContext<BfrsStyleScopeContextValue>({\n root: null\n});\n\nfunction assignRef<T>(ref: Ref<T> | undefined, value: T | null) {\n if (!ref) {\n return;\n }\n\n if (typeof ref === \"function\") {\n ref(value);\n return;\n }\n\n (ref as MutableRefObject<T | null>).current = value;\n}\n\nconst toStyleProperties = (variables: Record<string, string | undefined>) => variables as CSSProperties;\n\n// Opt-in theme variables that tokens.css deliberately leaves undeclared (see the\n// list there), plus their companions. A nested .bfrs does not reset them, so a\n// nested provider's in-page content inherits them from an outer theme. A portal\n// leaves that ancestry, so it copies their computed values from the root too.\nconst inheritedBfrsVariables = [\n \"--bfrs-color-option-hover-text\",\n \"--bfrs-color-option-selected-text\",\n \"--bfrs-color-row-selected-border\",\n \"--bfrs-color-tooltip-bg\",\n \"--bfrs-color-page-active\",\n \"--bfrs-color-page-active-text\",\n \"--bfrs-color-checkbox-border\",\n \"--bfrs-color-control-disabled\",\n \"--bfrs-color-control-disabled-text\",\n \"--bfrs-color-warning-accent\",\n \"--bfrs-color-warning-surface\",\n \"--bfrs-color-warning-border\",\n \"--bfrs-shadow-row-hover\",\n \"--bfrs-row-hover-position\",\n \"--bfrs-button-disabled-opacity\"\n] as const;\n\nconst collectBfrsInlineStyle = (root: HTMLElement | null, colorScheme?: BfrsColorScheme): CSSProperties => {\n const style: Record<string, string> = {\n display: \"contents\"\n };\n\n if (colorScheme) {\n style.colorScheme = colorScheme;\n }\n\n if (!root) {\n return style as CSSProperties;\n }\n\n for (let index = 0; index < root.style.length; index += 1) {\n const name = root.style.item(index);\n\n if (name.startsWith(\"--bfrs-\")) {\n style[name] = root.style.getPropertyValue(name);\n }\n }\n\n const computed = typeof globalThis.getComputedStyle === \"function\" ? globalThis.getComputedStyle(root) : undefined;\n for (const name of inheritedBfrsVariables) {\n const value = style[name] === undefined ? computed?.getPropertyValue(name).trim() : undefined;\n if (value) {\n style[name] = value;\n }\n }\n\n return style as CSSProperties;\n};\n\nexport const BfrsProvider = forwardRef<HTMLDivElement, BfrsProviderProps>(({ analytics, className, colorScheme = \"light\", theme, style, ...props }, ref) => {\n const [root, setRoot] = useState<HTMLDivElement | null>(null);\n const themeStyle = useMemo(() => toStyleProperties(createAgenticThemeVariables(theme ?? {})), [theme]);\n const mergedStyle = useMemo(() => ({ ...themeStyle, ...style }), [style, themeStyle]);\n\n const handleRef = useCallback(\n (node: HTMLDivElement | null) => {\n setRoot(node);\n assignRef(ref, node);\n },\n [ref]\n );\n\n const contextValue = useMemo(\n () => ({\n root,\n colorScheme\n }),\n [colorScheme, root]\n );\n\n return (\n <BfrsAnalyticsProvider emit={analytics}>\n <BfrsStyleScopeContext.Provider value={contextValue}>\n <div\n ref={handleRef}\n data-bfrs-root=\"\"\n data-bfrs-color-scheme={colorScheme}\n className={cn(\"bfrs\", className)}\n style={mergedStyle}\n {...props}\n />\n </BfrsStyleScopeContext.Provider>\n </BfrsAnalyticsProvider>\n );\n});\n\nBfrsProvider.displayName = \"BfrsProvider\";\n\nexport function BfrsStyleScope({ children, root, colorScheme = \"light\" }: { children: ReactNode; root: HTMLElement | null; colorScheme?: BfrsColorScheme }) {\n const contextValue = useMemo(\n () => ({\n root,\n colorScheme\n }),\n [colorScheme, root]\n );\n\n return <BfrsStyleScopeContext.Provider value={contextValue}>{children}</BfrsStyleScopeContext.Provider>;\n}\n\n/**\n * Wrap content you portal to `document.body` yourself (e.g. with\n * `createPortal`) so it keeps the theme: it renders a `.bfrs` scope carrying\n * the nearest BfrsProvider's inline `--bfrs-*` variables and color scheme, and\n * follows later changes to them. For a nested provider it also carries the\n * opt-in theme variables that provider inherits from an outer theme (computed\n * when the scope mounts or the provider's style changes). It must render inside a BfrsProvider in the\n * React tree; outside one it gives the default, unthemed scope. Library\n * overlays (menus, popovers, tooltips, dialogs, toasts) already use it.\n */\nexport function BfrsPortalScope({ children }: { children: ReactNode }) {\n const { root, colorScheme } = useContext(BfrsStyleScopeContext);\n const [portalStyle, setPortalStyle] = useState<CSSProperties>(() => collectBfrsInlineStyle(root, colorScheme));\n\n useEffect(() => {\n // Overlays portal to <body>; make sure the document carries the library\n // stylesheet so portaled content stays styled.\n ensureDocumentStyles();\n setPortalStyle(collectBfrsInlineStyle(root, colorScheme));\n\n if (!root || typeof globalThis.MutationObserver === \"undefined\") {\n return undefined;\n }\n\n const observer = new globalThis.MutationObserver(() => {\n setPortalStyle(collectBfrsInlineStyle(root, colorScheme));\n });\n\n observer.observe(root, {\n attributes: true,\n attributeFilter: [\"style\", \"data-bfrs-color-scheme\"]\n });\n\n return () => observer.disconnect();\n }, [colorScheme, root]);\n\n return (\n <div className=\"bfrs\" data-bfrs-portal=\"\" data-bfrs-color-scheme={colorScheme} style={portalStyle}>\n {children}\n </div>\n );\n}\n"],"names":["BfrsStyleScopeContext","createContext","assignRef","ref","value","toStyleProperties","variables","inheritedBfrsVariables","collectBfrsInlineStyle","root","colorScheme","style","index","name","computed","BfrsProvider","forwardRef","analytics","className","theme","props","setRoot","useState","themeStyle","useMemo","createAgenticThemeVariables","mergedStyle","handleRef","useCallback","node","contextValue","jsx","BfrsAnalyticsProvider","cn","BfrsPortalScope","children","useContext","portalStyle","setPortalStyle","useEffect","ensureDocumentStyles","observer"],"mappings":";;;;;;AA4CA,MAAMA,IAAwBC,EAA0C;AAAA,EACtE,MAAM;AACR,CAAC;AAED,SAASC,EAAaC,GAAyBC,GAAiB;AAC9D,MAAKD,GAIL;AAAA,QAAI,OAAOA,KAAQ,YAAY;AAC7B,MAAAA,EAAIC,CAAK;AACT;AAAA,IACF;AAEC,IAAAD,EAAmC,UAAUC;AAAA;AAChD;AAEA,MAAMC,IAAoB,CAACC,MAAkDA,GAMvEC,IAAyB;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEMC,IAAyB,CAACC,GAA0BC,MAAiD;AACzG,QAAMC,IAAgC;AAAA,IACpC,SAAS;AAAA,EAAA;AAOX,MAJID,MACFC,EAAM,cAAcD,IAGlB,CAACD;AACH,WAAOE;AAGT,WAASC,IAAQ,GAAGA,IAAQH,EAAK,MAAM,QAAQG,KAAS,GAAG;AACzD,UAAMC,IAAOJ,EAAK,MAAM,KAAKG,CAAK;AAElC,IAAIC,EAAK,WAAW,SAAS,MAC3BF,EAAME,CAAI,IAAIJ,EAAK,MAAM,iBAAiBI,CAAI;AAAA,EAElD;AAEA,QAAMC,IAAW,OAAO,WAAW,oBAAqB,aAAa,WAAW,iBAAiBL,CAAI,IAAI;AACzG,aAAWI,KAAQN,GAAwB;AACzC,UAAMH,IAAQO,EAAME,CAAI,MAAM,SAAYC,KAAA,gBAAAA,EAAU,iBAAiBD,GAAM,SAAS;AACpF,IAAIT,MACFO,EAAME,CAAI,IAAIT;AAAA,EAElB;AAEA,SAAOO;AACT,GAEaI,IAAeC,EAA8C,CAAC,EAAE,WAA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CAACD,KAAQ,OAAO,WAAW,mBAAqB;AAClD;AAGF,UAAMgC,IAAW,IAAI,WAAW,iBAAiB,MAAM;AACrD,MAAAH,EAAe9B,EAAuBC,GAAMC,CAAW,CAAC;AAAA,IAC1D,CAAC;AAED,WAAA+B,EAAS,QAAQhC,GAAM;AAAA,MACrB,YAAY;AAAA,MACZ,iBAAiB,CAAC,SAAS,wBAAwB;AAAA,IAAA,CACpD,GAEM,MAAMgC,EAAS,WAAA;AAAA,EACxB,GAAG,CAAC/B,GAAaD,CAAI,CAAC,GAGpB,gBAAAsB,EAAC,OAAA,EAAI,WAAU,QAAO,oBAAiB,IAAG,0BAAwBrB,GAAa,OAAO2B,GACnF,UAAAF,EAAA,CACH;AAEJ;"}
@@ -704,6 +704,7 @@ export declare class BfrsTrElement extends ReactCustomElement {
704
704
  static readonly tagName = "tr";
705
705
  static get observedAttributes(): string[];
706
706
  protected defaultDisplay(): string;
707
+ private _liftRestore;
707
708
  private readonly _onHoverIn;
708
709
  private readonly _onHoverOut;
709
710
  connectedCallback(): void;