@bergetai/ui 0.1.80 → 0.1.81
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/dist/index.cjs +512 -334
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -15
- package/dist/index.d.ts +40 -15
- package/dist/index.js +515 -340
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +231 -38
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
1
|
import * as React$1 from 'react';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
5
5
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
@@ -7,9 +7,34 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
8
|
import { LucideProps, LucideIcon } from 'lucide-react';
|
|
9
9
|
|
|
10
|
+
type Theme = 'dark' | 'light' | 'system';
|
|
11
|
+
interface ThemeState {
|
|
12
|
+
theme: Theme;
|
|
13
|
+
resolvedTheme: 'dark' | 'light';
|
|
14
|
+
}
|
|
15
|
+
interface ThemeProviderContextValue extends ThemeState {
|
|
16
|
+
setTheme: (theme: Theme) => void;
|
|
17
|
+
}
|
|
18
|
+
interface ThemeProviderProps {
|
|
19
|
+
children: React$1.ReactNode;
|
|
20
|
+
/** Explicitly set and lock the theme ('light' or 'dark').
|
|
21
|
+
* When provided, `setTheme` is a no-op and localStorage is ignored. */
|
|
22
|
+
theme?: 'light' | 'dark';
|
|
23
|
+
}
|
|
24
|
+
declare const ThemeProvider: React$1.NamedExoticComponent<ThemeProviderProps>;
|
|
25
|
+
declare function useTheme(): ThemeProviderContextValue;
|
|
26
|
+
|
|
27
|
+
interface ThemeToggleProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
28
|
+
/** Accessible label for the toggle button */
|
|
29
|
+
label?: string;
|
|
30
|
+
/** Force a specific size class */
|
|
31
|
+
size?: 'sm' | 'md' | 'lg';
|
|
32
|
+
}
|
|
33
|
+
declare const ThemeToggle: React$1.ForwardRefExoticComponent<ThemeToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
|
|
10
35
|
declare const buttonVariants: (props?: ({
|
|
11
36
|
variant?: "default" | "destructive" | "secondary" | "icon" | "primary" | "highlight" | null | undefined;
|
|
12
|
-
size?: "
|
|
37
|
+
size?: "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
13
38
|
width?: "default" | "full" | null | undefined;
|
|
14
39
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
40
|
type BaseButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'aria-label' | 'role'> & {
|
|
@@ -46,7 +71,7 @@ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
46
71
|
|
|
47
72
|
declare const cardVariants: (props?: ({
|
|
48
73
|
variant?: "outlined" | "filled" | null | undefined;
|
|
49
|
-
padding?: "sm" | "
|
|
74
|
+
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
50
75
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
51
76
|
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
52
77
|
}
|
|
@@ -86,7 +111,7 @@ declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefA
|
|
|
86
111
|
|
|
87
112
|
declare const checkboxVariants: (props?: ({
|
|
88
113
|
variant?: "default" | "error" | "success" | null | undefined;
|
|
89
|
-
size?: "
|
|
114
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
90
115
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
91
116
|
interface CheckboxProps extends Omit<React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, 'className'>, VariantProps<typeof checkboxVariants> {
|
|
92
117
|
label?: string;
|
|
@@ -98,10 +123,10 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$
|
|
|
98
123
|
|
|
99
124
|
declare const switchRootVariants: (props?: ({
|
|
100
125
|
variant?: "default" | "primary" | "subtle" | null | undefined;
|
|
101
|
-
size?: "
|
|
126
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
102
127
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
103
128
|
declare const switchThumbVariants: (props?: ({
|
|
104
|
-
size?: "
|
|
129
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
105
130
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
106
131
|
interface SwitchProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, 'className'>, VariantProps<typeof switchRootVariants> {
|
|
107
132
|
label?: string;
|
|
@@ -113,7 +138,7 @@ declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.Re
|
|
|
113
138
|
|
|
114
139
|
declare const selectVariants: (props?: ({
|
|
115
140
|
variant?: "default" | "primary" | "muted" | "subtle" | null | undefined;
|
|
116
|
-
size?: "
|
|
141
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
117
142
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
118
143
|
interface SelectOption {
|
|
119
144
|
value: string;
|
|
@@ -139,7 +164,7 @@ declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.Re
|
|
|
139
164
|
|
|
140
165
|
declare const textAreaVariants: (props?: ({
|
|
141
166
|
variant?: "default" | "primary" | "muted" | "subtle" | null | undefined;
|
|
142
|
-
size?: "
|
|
167
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
143
168
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
144
169
|
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
|
|
145
170
|
label?: string;
|
|
@@ -181,7 +206,7 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
|
|
|
181
206
|
|
|
182
207
|
declare const linkVariants: (props?: ({
|
|
183
208
|
variant?: "default" | "secondary" | "ghost" | "primary" | "code" | "muted" | null | undefined;
|
|
184
|
-
size?: "
|
|
209
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
185
210
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
186
211
|
interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
|
|
187
212
|
children: React$1.ReactNode;
|
|
@@ -193,7 +218,7 @@ interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, Var
|
|
|
193
218
|
declare const Link: React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
194
219
|
|
|
195
220
|
declare const sectionVariants: (props?: ({
|
|
196
|
-
padding?: "sm" | "
|
|
221
|
+
padding?: "sm" | "md" | "lg" | "none" | "xl" | null | undefined;
|
|
197
222
|
background?: "muted" | "transparent" | null | undefined;
|
|
198
223
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
199
224
|
interface SectionProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sectionVariants> {
|
|
@@ -213,8 +238,8 @@ interface SectionHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
213
238
|
declare const SectionHeader: React$1.ForwardRefExoticComponent<SectionHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
214
239
|
|
|
215
240
|
declare const containerVariants: (props?: ({
|
|
216
|
-
size?: "sm" | "
|
|
217
|
-
padding?: "sm" | "
|
|
241
|
+
size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
|
|
242
|
+
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
218
243
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
219
244
|
interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
|
|
220
245
|
children: React$1.ReactNode;
|
|
@@ -257,8 +282,8 @@ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttri
|
|
|
257
282
|
interface BergetLogoProps extends React$1.SVGAttributes<SVGSVGElement> {
|
|
258
283
|
/** Shape variant */
|
|
259
284
|
variant?: 'logotype' | 'symbol';
|
|
260
|
-
/** Fill color */
|
|
261
|
-
color?: 'white' | 'black';
|
|
285
|
+
/** Fill color — `auto` follows the theme via CSS variables */
|
|
286
|
+
color?: 'white' | 'black' | 'auto';
|
|
262
287
|
/** Size (height) in pixels */
|
|
263
288
|
size?: number;
|
|
264
289
|
}
|
|
@@ -531,4 +556,4 @@ interface TerminalExample {
|
|
|
531
556
|
}[];
|
|
532
557
|
}
|
|
533
558
|
|
|
534
|
-
export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, BergetLogo as BergetLogotype, type BergetLogoProps as BergetLogotypeProps, BergetLogo as BergetSymbol, type BergetLogoProps as BergetSymbolProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, FeatureCard, type FeatureCardProps, FeatureCards, type FeatureCardsProps, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Header, type HeaderLink, type HeaderProps, HeroBlock, type HeroBlockProps, Icon, type IconProps, Input, type InputProps, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, type TerminalExample, TextArea, type TextAreaProps, Typography, type TypographyProps, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, checkboxVariants, containerVariants, gridVariants, linkVariants, sectionVariants, selectVariants, switchRootVariants, switchThumbVariants, textAreaVariants, typographyVariants };
|
|
559
|
+
export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, BergetLogo as BergetLogotype, type BergetLogoProps as BergetLogotypeProps, BergetLogo as BergetSymbol, type BergetLogoProps as BergetSymbolProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, FeatureCard, type FeatureCardProps, FeatureCards, type FeatureCardsProps, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Header, type HeaderLink, type HeaderProps, HeroBlock, type HeroBlockProps, Icon, type IconProps, Input, type InputProps, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, type TerminalExample, TextArea, type TextAreaProps, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Typography, type TypographyProps, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, checkboxVariants, containerVariants, gridVariants, linkVariants, sectionVariants, selectVariants, switchRootVariants, switchThumbVariants, textAreaVariants, typographyVariants, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
1
|
import * as React$1 from 'react';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
5
5
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
@@ -7,9 +7,34 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
8
|
import { LucideProps, LucideIcon } from 'lucide-react';
|
|
9
9
|
|
|
10
|
+
type Theme = 'dark' | 'light' | 'system';
|
|
11
|
+
interface ThemeState {
|
|
12
|
+
theme: Theme;
|
|
13
|
+
resolvedTheme: 'dark' | 'light';
|
|
14
|
+
}
|
|
15
|
+
interface ThemeProviderContextValue extends ThemeState {
|
|
16
|
+
setTheme: (theme: Theme) => void;
|
|
17
|
+
}
|
|
18
|
+
interface ThemeProviderProps {
|
|
19
|
+
children: React$1.ReactNode;
|
|
20
|
+
/** Explicitly set and lock the theme ('light' or 'dark').
|
|
21
|
+
* When provided, `setTheme` is a no-op and localStorage is ignored. */
|
|
22
|
+
theme?: 'light' | 'dark';
|
|
23
|
+
}
|
|
24
|
+
declare const ThemeProvider: React$1.NamedExoticComponent<ThemeProviderProps>;
|
|
25
|
+
declare function useTheme(): ThemeProviderContextValue;
|
|
26
|
+
|
|
27
|
+
interface ThemeToggleProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
28
|
+
/** Accessible label for the toggle button */
|
|
29
|
+
label?: string;
|
|
30
|
+
/** Force a specific size class */
|
|
31
|
+
size?: 'sm' | 'md' | 'lg';
|
|
32
|
+
}
|
|
33
|
+
declare const ThemeToggle: React$1.ForwardRefExoticComponent<ThemeToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
|
|
10
35
|
declare const buttonVariants: (props?: ({
|
|
11
36
|
variant?: "default" | "destructive" | "secondary" | "icon" | "primary" | "highlight" | null | undefined;
|
|
12
|
-
size?: "
|
|
37
|
+
size?: "sm" | "lg" | "default" | "icon" | null | undefined;
|
|
13
38
|
width?: "default" | "full" | null | undefined;
|
|
14
39
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
40
|
type BaseButtonProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'aria-label' | 'role'> & {
|
|
@@ -46,7 +71,7 @@ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
|
46
71
|
|
|
47
72
|
declare const cardVariants: (props?: ({
|
|
48
73
|
variant?: "outlined" | "filled" | null | undefined;
|
|
49
|
-
padding?: "sm" | "
|
|
74
|
+
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
50
75
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
51
76
|
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
|
|
52
77
|
}
|
|
@@ -86,7 +111,7 @@ declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefA
|
|
|
86
111
|
|
|
87
112
|
declare const checkboxVariants: (props?: ({
|
|
88
113
|
variant?: "default" | "error" | "success" | null | undefined;
|
|
89
|
-
size?: "
|
|
114
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
90
115
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
91
116
|
interface CheckboxProps extends Omit<React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, 'className'>, VariantProps<typeof checkboxVariants> {
|
|
92
117
|
label?: string;
|
|
@@ -98,10 +123,10 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$
|
|
|
98
123
|
|
|
99
124
|
declare const switchRootVariants: (props?: ({
|
|
100
125
|
variant?: "default" | "primary" | "subtle" | null | undefined;
|
|
101
|
-
size?: "
|
|
126
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
102
127
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
103
128
|
declare const switchThumbVariants: (props?: ({
|
|
104
|
-
size?: "
|
|
129
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
105
130
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
106
131
|
interface SwitchProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>, 'className'>, VariantProps<typeof switchRootVariants> {
|
|
107
132
|
label?: string;
|
|
@@ -113,7 +138,7 @@ declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.Re
|
|
|
113
138
|
|
|
114
139
|
declare const selectVariants: (props?: ({
|
|
115
140
|
variant?: "default" | "primary" | "muted" | "subtle" | null | undefined;
|
|
116
|
-
size?: "
|
|
141
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
117
142
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
118
143
|
interface SelectOption {
|
|
119
144
|
value: string;
|
|
@@ -139,7 +164,7 @@ declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.Re
|
|
|
139
164
|
|
|
140
165
|
declare const textAreaVariants: (props?: ({
|
|
141
166
|
variant?: "default" | "primary" | "muted" | "subtle" | null | undefined;
|
|
142
|
-
size?: "
|
|
167
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
143
168
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
144
169
|
interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textAreaVariants> {
|
|
145
170
|
label?: string;
|
|
@@ -181,7 +206,7 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
|
|
|
181
206
|
|
|
182
207
|
declare const linkVariants: (props?: ({
|
|
183
208
|
variant?: "default" | "secondary" | "ghost" | "primary" | "code" | "muted" | null | undefined;
|
|
184
|
-
size?: "
|
|
209
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
185
210
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
186
211
|
interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
|
|
187
212
|
children: React$1.ReactNode;
|
|
@@ -193,7 +218,7 @@ interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, Var
|
|
|
193
218
|
declare const Link: React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
194
219
|
|
|
195
220
|
declare const sectionVariants: (props?: ({
|
|
196
|
-
padding?: "sm" | "
|
|
221
|
+
padding?: "sm" | "md" | "lg" | "none" | "xl" | null | undefined;
|
|
197
222
|
background?: "muted" | "transparent" | null | undefined;
|
|
198
223
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
199
224
|
interface SectionProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof sectionVariants> {
|
|
@@ -213,8 +238,8 @@ interface SectionHeaderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
213
238
|
declare const SectionHeader: React$1.ForwardRefExoticComponent<SectionHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
214
239
|
|
|
215
240
|
declare const containerVariants: (props?: ({
|
|
216
|
-
size?: "sm" | "
|
|
217
|
-
padding?: "sm" | "
|
|
241
|
+
size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
|
|
242
|
+
padding?: "sm" | "md" | "lg" | "none" | null | undefined;
|
|
218
243
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
219
244
|
interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
|
|
220
245
|
children: React$1.ReactNode;
|
|
@@ -257,8 +282,8 @@ declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttri
|
|
|
257
282
|
interface BergetLogoProps extends React$1.SVGAttributes<SVGSVGElement> {
|
|
258
283
|
/** Shape variant */
|
|
259
284
|
variant?: 'logotype' | 'symbol';
|
|
260
|
-
/** Fill color */
|
|
261
|
-
color?: 'white' | 'black';
|
|
285
|
+
/** Fill color — `auto` follows the theme via CSS variables */
|
|
286
|
+
color?: 'white' | 'black' | 'auto';
|
|
262
287
|
/** Size (height) in pixels */
|
|
263
288
|
size?: number;
|
|
264
289
|
}
|
|
@@ -531,4 +556,4 @@ interface TerminalExample {
|
|
|
531
556
|
}[];
|
|
532
557
|
}
|
|
533
558
|
|
|
534
|
-
export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, BergetLogo as BergetLogotype, type BergetLogoProps as BergetLogotypeProps, BergetLogo as BergetSymbol, type BergetLogoProps as BergetSymbolProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, FeatureCard, type FeatureCardProps, FeatureCards, type FeatureCardsProps, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Header, type HeaderLink, type HeaderProps, HeroBlock, type HeroBlockProps, Icon, type IconProps, Input, type InputProps, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, type TerminalExample, TextArea, type TextAreaProps, Typography, type TypographyProps, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, checkboxVariants, containerVariants, gridVariants, linkVariants, sectionVariants, selectVariants, switchRootVariants, switchThumbVariants, textAreaVariants, typographyVariants };
|
|
559
|
+
export { Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, Badge, type BadgeProps, BergetLogo, type BergetLogoProps, BergetLogo as BergetLogotype, type BergetLogoProps as BergetLogotypeProps, BergetLogo as BergetSymbol, type BergetLogoProps as BergetSymbolProps, Box, type BoxProps, type SpacingScale as BoxSpacingScale, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CodeBlock, type CodeBlockProps, Container, type ContainerProps, FeatureCard, type FeatureCardProps, FeatureCards, type FeatureCardsProps, FeatureList, type FeatureListProps, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Grid, type GridColsScale, type GridProps, type GridRowsScale, type SpacingScale$1 as GridSpacingScale, Header, type HeaderLink, type HeaderProps, HeroBlock, type HeroBlockProps, Icon, type IconProps, Input, type InputProps, Label, LanguageSelect, type LanguageSelectOption, type LanguageSelectProps, Link, type LinkProps, List, ListHeader, type ListHeaderProps, ListItem, type ListItemProps, type ListProps, Section, SectionHeader, type SectionHeaderProps, type SectionProps, Select, type SelectOption, type SelectProps, Switch, type SwitchProps, type TerminalExample, TextArea, type TextAreaProps, type Theme, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Typography, type TypographyProps, alertVariants, badgeVariants, boxVariants, buttonVariants, cardVariants, checkboxVariants, containerVariants, gridVariants, linkVariants, sectionVariants, selectVariants, switchRootVariants, switchThumbVariants, textAreaVariants, typographyVariants, useTheme };
|