@matteoaliano/forest-ui 0.3.2 → 0.3.3

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.
@@ -61,20 +61,6 @@ declare const red: {
61
61
  readonly 900: "#520000";
62
62
  readonly 950: "#290000";
63
63
  };
64
- declare const info: {
65
- readonly 25: "#f5faff";
66
- readonly 50: "#eff8ff";
67
- readonly 100: "#d1e9ff";
68
- readonly 200: "#b2ddff";
69
- readonly 300: "#84caff";
70
- readonly 400: "#53b1fd";
71
- readonly 500: "#2e90fa";
72
- readonly 600: "#1570ef";
73
- readonly 700: "#175cd3";
74
- readonly 800: "#1849a9";
75
- readonly 900: "#194185";
76
- readonly 950: "#102a56";
77
- };
78
64
  declare const misc: {
79
65
  readonly teal: {
80
66
  readonly 25: "#f6fefc";
@@ -242,68 +228,66 @@ declare const radiusSharp: {
242
228
  readonly "3xl": 10;
243
229
  readonly "4xl": 12;
244
230
  };
245
- declare const colors: {
246
- readonly base: {
247
- readonly white: "#ffffff";
248
- readonly black: "#000000";
249
- readonly transparent: "#ffffff00";
250
- };
251
- readonly error: {
252
- readonly 25: "#fffbfa";
253
- readonly 50: "#fef3f2";
254
- readonly 100: "#fee4e2";
255
- readonly 200: "#fecdca";
256
- readonly 300: "#fda29b";
257
- readonly 400: "#f97066";
258
- readonly 500: "#f04438";
259
- readonly 600: "#d92d20";
260
- readonly 700: "#b42318";
261
- readonly 800: "#912018";
262
- readonly 900: "#7a271a";
263
- readonly 950: "#55160c";
264
- };
265
- readonly warning: {
266
- readonly 25: "#fffcf5";
267
- readonly 50: "#fffaeb";
268
- readonly 100: "#fef0c7";
269
- readonly 200: "#fedf89";
270
- readonly 300: "#fec84b";
271
- readonly 400: "#fdb022";
272
- readonly 500: "#f79009";
273
- readonly 600: "#dc6803";
274
- readonly 700: "#b54708";
275
- readonly 800: "#93370d";
276
- readonly 900: "#7a2e0e";
277
- readonly 950: "#4e1d09";
278
- };
279
- readonly success: {
280
- readonly 25: "#f6fef9";
281
- readonly 50: "#ecfdf3";
282
- readonly 100: "#dcfae6";
283
- readonly 200: "#abefc6";
284
- readonly 300: "#75e0a7";
285
- readonly 400: "#47cd89";
286
- readonly 500: "#17b26a";
287
- readonly 600: "#079455";
288
- readonly 700: "#067647";
289
- readonly 800: "#085d3a";
290
- readonly 900: "#074d31";
291
- readonly 950: "#053321";
292
- };
293
- readonly info: {
294
- readonly 25: "#f5faff";
295
- readonly 50: "#eff8ff";
296
- readonly 100: "#d1e9ff";
297
- readonly 200: "#b2ddff";
298
- readonly 300: "#84caff";
299
- readonly 400: "#53b1fd";
300
- readonly 500: "#2e90fa";
301
- readonly 600: "#1570ef";
302
- readonly 700: "#175cd3";
303
- readonly 800: "#1849a9";
304
- readonly 900: "#194185";
305
- readonly 950: "#102a56";
306
- };
231
+ declare const base: {
232
+ readonly white: "#ffffff";
233
+ readonly black: "#000000";
234
+ readonly transparent: "#ffffff00";
235
+ };
236
+ declare const error: {
237
+ readonly 25: "#fffbfa";
238
+ readonly 50: "#fef3f2";
239
+ readonly 100: "#fee4e2";
240
+ readonly 200: "#fecdca";
241
+ readonly 300: "#fda29b";
242
+ readonly 400: "#f97066";
243
+ readonly 500: "#f04438";
244
+ readonly 600: "#d92d20";
245
+ readonly 700: "#b42318";
246
+ readonly 800: "#912018";
247
+ readonly 900: "#7a271a";
248
+ readonly 950: "#55160c";
249
+ };
250
+ declare const warning: {
251
+ readonly 25: "#fffcf5";
252
+ readonly 50: "#fffaeb";
253
+ readonly 100: "#fef0c7";
254
+ readonly 200: "#fedf89";
255
+ readonly 300: "#fec84b";
256
+ readonly 400: "#fdb022";
257
+ readonly 500: "#f79009";
258
+ readonly 600: "#dc6803";
259
+ readonly 700: "#b54708";
260
+ readonly 800: "#93370d";
261
+ readonly 900: "#7a2e0e";
262
+ readonly 950: "#4e1d09";
263
+ };
264
+ declare const success: {
265
+ readonly 25: "#f6fef9";
266
+ readonly 50: "#ecfdf3";
267
+ readonly 100: "#dcfae6";
268
+ readonly 200: "#abefc6";
269
+ readonly 300: "#75e0a7";
270
+ readonly 400: "#47cd89";
271
+ readonly 500: "#17b26a";
272
+ readonly 600: "#079455";
273
+ readonly 700: "#067647";
274
+ readonly 800: "#085d3a";
275
+ readonly 900: "#074d31";
276
+ readonly 950: "#053321";
277
+ };
278
+ declare const info: {
279
+ readonly 25: "#f5faff";
280
+ readonly 50: "#eff8ff";
281
+ readonly 100: "#d1e9ff";
282
+ readonly 200: "#b2ddff";
283
+ readonly 300: "#84caff";
284
+ readonly 400: "#53b1fd";
285
+ readonly 500: "#2e90fa";
286
+ readonly 600: "#1570ef";
287
+ readonly 700: "#175cd3";
288
+ readonly 800: "#1849a9";
289
+ readonly 900: "#194185";
290
+ readonly 950: "#102a56";
307
291
  };
308
292
  declare const spacing: {
309
293
  readonly none: 0;
@@ -529,12 +513,12 @@ declare const buttonColors: {
529
513
  readonly borderHover: "#3a1aad";
530
514
  };
531
515
  readonly secondary: {
532
- readonly bg: "#ffffff";
533
- readonly bgHover: "#faf9f8";
534
- readonly fg: "#3f3f46";
535
- readonly fgHover: "#27272a";
536
- readonly border: "#d8d8dc";
537
- readonly borderHover: "#d8d8dc";
516
+ readonly bg: "#18181b";
517
+ readonly bgHover: "#09090b";
518
+ readonly fg: "#ffffff";
519
+ readonly fgHover: "#ffffff";
520
+ readonly border: "#18181b";
521
+ readonly borderHover: "#09090b";
538
522
  };
539
523
  readonly secondaryColor: {
540
524
  readonly bg: "#ffffff";
@@ -730,7 +714,11 @@ type Widen<T> = T extends string ? string : T extends number ? number : T extend
730
714
  } : T;
731
715
  /** Full set of design tokens that a preset variant must provide. */
732
716
  interface DesignTokens {
733
- colors: Widen<typeof colors>;
717
+ base: Widen<typeof base>;
718
+ error: Widen<typeof error>;
719
+ warning: Widen<typeof warning>;
720
+ success: Widen<typeof success>;
721
+ info: Widen<typeof info>;
734
722
  spacing: Widen<typeof spacing>;
735
723
  radius: Widen<typeof radius>;
736
724
  shadows: Widen<typeof shadows$1>;
@@ -804,4 +792,4 @@ declare function getAvailablePresets(): string[];
804
792
  declare const forestTheme: _mui_material.Theme;
805
793
  declare const forestThemeOptions: ThemeOptions;
806
794
 
807
- export { navColors as A, radius as B, registerPreset as C, type DesignTokens as D, sliderColors as E, spacing as F, text as G, toggleColors as H, shadows$1 as I, widths as J, components as K, gray as L, info as M, magenta as N, misc as O, type PresetVariantConfig as P, palette as Q, radiusSharp as R, red as S, type ThemePreset as T, shadows as U, typography as V, violet as W, alpha as a, avatarColors as b, bg as c, border as d, breadcrumbColors as e, buildTheme as f, buildThemeOptions as g, buttonColors as h, chartColors as i, colors as j, container as k, display as l, fg as m, focusRings as n, fontFamily as o, fontSize as p, fontWeight as q, forestAgencyPreset as r, forestExternalPreset as s, forestInternalPreset as t, forestTheme as u, forestThemeOptions as v, getAvailablePresets as w, getPreset as x, iconColors as y, lineHeight as z };
795
+ export { info as A, lineHeight as B, navColors as C, type DesignTokens as D, radius as E, registerPreset as F, sliderColors as G, spacing as H, success as I, text as J, toggleColors as K, shadows$1 as L, warning as M, widths as N, components as O, type PresetVariantConfig as P, gray as Q, magenta as R, misc as S, type ThemePreset as T, palette as U, radiusSharp as V, red as W, shadows as X, typography as Y, violet as Z, alpha as a, avatarColors as b, base as c, bg as d, border as e, breadcrumbColors as f, buildTheme as g, buildThemeOptions as h, buttonColors as i, chartColors as j, container as k, display as l, error as m, fg as n, focusRings as o, fontFamily as p, fontSize as q, fontWeight as r, forestAgencyPreset as s, forestExternalPreset as t, forestInternalPreset as u, forestTheme as v, forestThemeOptions as w, getAvailablePresets as x, getPreset as y, iconColors as z };
@@ -61,20 +61,6 @@ declare const red: {
61
61
  readonly 900: "#520000";
62
62
  readonly 950: "#290000";
63
63
  };
64
- declare const info: {
65
- readonly 25: "#f5faff";
66
- readonly 50: "#eff8ff";
67
- readonly 100: "#d1e9ff";
68
- readonly 200: "#b2ddff";
69
- readonly 300: "#84caff";
70
- readonly 400: "#53b1fd";
71
- readonly 500: "#2e90fa";
72
- readonly 600: "#1570ef";
73
- readonly 700: "#175cd3";
74
- readonly 800: "#1849a9";
75
- readonly 900: "#194185";
76
- readonly 950: "#102a56";
77
- };
78
64
  declare const misc: {
79
65
  readonly teal: {
80
66
  readonly 25: "#f6fefc";
@@ -242,68 +228,66 @@ declare const radiusSharp: {
242
228
  readonly "3xl": 10;
243
229
  readonly "4xl": 12;
244
230
  };
245
- declare const colors: {
246
- readonly base: {
247
- readonly white: "#ffffff";
248
- readonly black: "#000000";
249
- readonly transparent: "#ffffff00";
250
- };
251
- readonly error: {
252
- readonly 25: "#fffbfa";
253
- readonly 50: "#fef3f2";
254
- readonly 100: "#fee4e2";
255
- readonly 200: "#fecdca";
256
- readonly 300: "#fda29b";
257
- readonly 400: "#f97066";
258
- readonly 500: "#f04438";
259
- readonly 600: "#d92d20";
260
- readonly 700: "#b42318";
261
- readonly 800: "#912018";
262
- readonly 900: "#7a271a";
263
- readonly 950: "#55160c";
264
- };
265
- readonly warning: {
266
- readonly 25: "#fffcf5";
267
- readonly 50: "#fffaeb";
268
- readonly 100: "#fef0c7";
269
- readonly 200: "#fedf89";
270
- readonly 300: "#fec84b";
271
- readonly 400: "#fdb022";
272
- readonly 500: "#f79009";
273
- readonly 600: "#dc6803";
274
- readonly 700: "#b54708";
275
- readonly 800: "#93370d";
276
- readonly 900: "#7a2e0e";
277
- readonly 950: "#4e1d09";
278
- };
279
- readonly success: {
280
- readonly 25: "#f6fef9";
281
- readonly 50: "#ecfdf3";
282
- readonly 100: "#dcfae6";
283
- readonly 200: "#abefc6";
284
- readonly 300: "#75e0a7";
285
- readonly 400: "#47cd89";
286
- readonly 500: "#17b26a";
287
- readonly 600: "#079455";
288
- readonly 700: "#067647";
289
- readonly 800: "#085d3a";
290
- readonly 900: "#074d31";
291
- readonly 950: "#053321";
292
- };
293
- readonly info: {
294
- readonly 25: "#f5faff";
295
- readonly 50: "#eff8ff";
296
- readonly 100: "#d1e9ff";
297
- readonly 200: "#b2ddff";
298
- readonly 300: "#84caff";
299
- readonly 400: "#53b1fd";
300
- readonly 500: "#2e90fa";
301
- readonly 600: "#1570ef";
302
- readonly 700: "#175cd3";
303
- readonly 800: "#1849a9";
304
- readonly 900: "#194185";
305
- readonly 950: "#102a56";
306
- };
231
+ declare const base: {
232
+ readonly white: "#ffffff";
233
+ readonly black: "#000000";
234
+ readonly transparent: "#ffffff00";
235
+ };
236
+ declare const error: {
237
+ readonly 25: "#fffbfa";
238
+ readonly 50: "#fef3f2";
239
+ readonly 100: "#fee4e2";
240
+ readonly 200: "#fecdca";
241
+ readonly 300: "#fda29b";
242
+ readonly 400: "#f97066";
243
+ readonly 500: "#f04438";
244
+ readonly 600: "#d92d20";
245
+ readonly 700: "#b42318";
246
+ readonly 800: "#912018";
247
+ readonly 900: "#7a271a";
248
+ readonly 950: "#55160c";
249
+ };
250
+ declare const warning: {
251
+ readonly 25: "#fffcf5";
252
+ readonly 50: "#fffaeb";
253
+ readonly 100: "#fef0c7";
254
+ readonly 200: "#fedf89";
255
+ readonly 300: "#fec84b";
256
+ readonly 400: "#fdb022";
257
+ readonly 500: "#f79009";
258
+ readonly 600: "#dc6803";
259
+ readonly 700: "#b54708";
260
+ readonly 800: "#93370d";
261
+ readonly 900: "#7a2e0e";
262
+ readonly 950: "#4e1d09";
263
+ };
264
+ declare const success: {
265
+ readonly 25: "#f6fef9";
266
+ readonly 50: "#ecfdf3";
267
+ readonly 100: "#dcfae6";
268
+ readonly 200: "#abefc6";
269
+ readonly 300: "#75e0a7";
270
+ readonly 400: "#47cd89";
271
+ readonly 500: "#17b26a";
272
+ readonly 600: "#079455";
273
+ readonly 700: "#067647";
274
+ readonly 800: "#085d3a";
275
+ readonly 900: "#074d31";
276
+ readonly 950: "#053321";
277
+ };
278
+ declare const info: {
279
+ readonly 25: "#f5faff";
280
+ readonly 50: "#eff8ff";
281
+ readonly 100: "#d1e9ff";
282
+ readonly 200: "#b2ddff";
283
+ readonly 300: "#84caff";
284
+ readonly 400: "#53b1fd";
285
+ readonly 500: "#2e90fa";
286
+ readonly 600: "#1570ef";
287
+ readonly 700: "#175cd3";
288
+ readonly 800: "#1849a9";
289
+ readonly 900: "#194185";
290
+ readonly 950: "#102a56";
307
291
  };
308
292
  declare const spacing: {
309
293
  readonly none: 0;
@@ -529,12 +513,12 @@ declare const buttonColors: {
529
513
  readonly borderHover: "#3a1aad";
530
514
  };
531
515
  readonly secondary: {
532
- readonly bg: "#ffffff";
533
- readonly bgHover: "#faf9f8";
534
- readonly fg: "#3f3f46";
535
- readonly fgHover: "#27272a";
536
- readonly border: "#d8d8dc";
537
- readonly borderHover: "#d8d8dc";
516
+ readonly bg: "#18181b";
517
+ readonly bgHover: "#09090b";
518
+ readonly fg: "#ffffff";
519
+ readonly fgHover: "#ffffff";
520
+ readonly border: "#18181b";
521
+ readonly borderHover: "#09090b";
538
522
  };
539
523
  readonly secondaryColor: {
540
524
  readonly bg: "#ffffff";
@@ -730,7 +714,11 @@ type Widen<T> = T extends string ? string : T extends number ? number : T extend
730
714
  } : T;
731
715
  /** Full set of design tokens that a preset variant must provide. */
732
716
  interface DesignTokens {
733
- colors: Widen<typeof colors>;
717
+ base: Widen<typeof base>;
718
+ error: Widen<typeof error>;
719
+ warning: Widen<typeof warning>;
720
+ success: Widen<typeof success>;
721
+ info: Widen<typeof info>;
734
722
  spacing: Widen<typeof spacing>;
735
723
  radius: Widen<typeof radius>;
736
724
  shadows: Widen<typeof shadows$1>;
@@ -804,4 +792,4 @@ declare function getAvailablePresets(): string[];
804
792
  declare const forestTheme: _mui_material.Theme;
805
793
  declare const forestThemeOptions: ThemeOptions;
806
794
 
807
- export { navColors as A, radius as B, registerPreset as C, type DesignTokens as D, sliderColors as E, spacing as F, text as G, toggleColors as H, shadows$1 as I, widths as J, components as K, gray as L, info as M, magenta as N, misc as O, type PresetVariantConfig as P, palette as Q, radiusSharp as R, red as S, type ThemePreset as T, shadows as U, typography as V, violet as W, alpha as a, avatarColors as b, bg as c, border as d, breadcrumbColors as e, buildTheme as f, buildThemeOptions as g, buttonColors as h, chartColors as i, colors as j, container as k, display as l, fg as m, focusRings as n, fontFamily as o, fontSize as p, fontWeight as q, forestAgencyPreset as r, forestExternalPreset as s, forestInternalPreset as t, forestTheme as u, forestThemeOptions as v, getAvailablePresets as w, getPreset as x, iconColors as y, lineHeight as z };
795
+ export { info as A, lineHeight as B, navColors as C, type DesignTokens as D, radius as E, registerPreset as F, sliderColors as G, spacing as H, success as I, text as J, toggleColors as K, shadows$1 as L, warning as M, widths as N, components as O, type PresetVariantConfig as P, gray as Q, magenta as R, misc as S, type ThemePreset as T, palette as U, radiusSharp as V, red as W, shadows as X, typography as Y, violet as Z, alpha as a, avatarColors as b, base as c, bg as d, border as e, breadcrumbColors as f, buildTheme as g, buildThemeOptions as h, buttonColors as i, chartColors as j, container as k, display as l, error as m, fg as n, focusRings as o, fontFamily as p, fontSize as q, fontWeight as r, forestAgencyPreset as s, forestExternalPreset as t, forestInternalPreset as u, forestTheme as v, forestThemeOptions as w, getAvailablePresets as x, getPreset as y, iconColors as z };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { Theme } from '@mui/material/styles';
3
- export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alpha, b as avatarColors, c as bg, d as border, e as breadcrumbColors, f as buildTheme, g as buildThemeOptions, h as buttonColors, i as chartColors, j as colors, k as container, l as display, m as fg, n as focusRings, o as fontFamily, p as fontSize, q as fontWeight, r as forestAgencyPreset, s as forestExternalPreset, t as forestInternalPreset, u as forestTheme, v as forestThemeOptions, w as getAvailablePresets, x as getPreset, y as iconColors, z as lineHeight, A as navColors, B as radius, C as registerPreset, E as sliderColors, F as spacing, G as text, H as toggleColors, I as tokenShadows, J as widths } from './index-CSpNzZHg.mjs';
3
+ export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alpha, b as avatarColors, c as base, d as bg, e as border, f as breadcrumbColors, g as buildTheme, h as buildThemeOptions, i as buttonColors, j as chartColors, k as container, l as display, m as error, n as fg, o as focusRings, p as fontFamily, q as fontSize, r as fontWeight, s as forestAgencyPreset, t as forestExternalPreset, u as forestInternalPreset, v as forestTheme, w as forestThemeOptions, x as getAvailablePresets, y as getPreset, z as iconColors, A as info, B as lineHeight, C as navColors, E as radius, F as registerPreset, G as sliderColors, H as spacing, I as success, J as text, K as toggleColors, L as tokenShadows, M as warning, N as widths } from './index-BCXD47YU.mjs';
4
4
  import { AutocompleteProps } from '@mui/material/Autocomplete';
5
5
  export { AutocompleteProps } from '@mui/material/Autocomplete';
6
6
  import { ButtonProps as ButtonProps$1 } from '@mui/material/Button';
@@ -160,13 +160,13 @@ declare function ForestProvider({ children, theme, preset, variant, disableCssBa
160
160
  declare function Autocomplete<Value, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false>(props: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo>): react_jsx_runtime.JSX.Element;
161
161
 
162
162
  type ButtonProps = ButtonProps$1;
163
- declare function Button({ ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
163
+ declare function Button({ variant, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
164
164
 
165
- declare function ButtonGroup(props: ButtonGroupProps): react_jsx_runtime.JSX.Element;
165
+ declare function ButtonGroup({ variant, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
166
166
 
167
167
  declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
168
168
 
169
- declare function Fab(props: FabProps): react_jsx_runtime.JSX.Element;
169
+ declare function Fab({ color, ...props }: FabProps): react_jsx_runtime.JSX.Element;
170
170
 
171
171
  declare function RadioGroup(props: RadioGroupProps): react_jsx_runtime.JSX.Element;
172
172
  declare function Radio(props: RadioProps): react_jsx_runtime.JSX.Element;
@@ -191,10 +191,10 @@ declare function Switch(props: SwitchProps): react_jsx_runtime.JSX.Element;
191
191
 
192
192
  declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
193
193
 
194
- type SearchProps = Omit<TextFieldProps, "variant"> & {
194
+ type SearchProps = TextFieldProps & {
195
195
  onClear?: () => void;
196
196
  };
197
- declare function Search({ value: controlledValue, onChange, onClear, placeholder, slotProps, ...props }: SearchProps): react_jsx_runtime.JSX.Element;
197
+ declare function Search({ value: controlledValue, onChange, onClear, placeholder, variant, slotProps, ...props }: SearchProps): react_jsx_runtime.JSX.Element;
198
198
 
199
199
  type InputProps = InputBaseProps;
200
200
  declare function Input({ ...props }: InputProps): react_jsx_runtime.JSX.Element;
@@ -227,7 +227,7 @@ declare function DatePicker(props: DatePickerProps): react_jsx_runtime.JSX.Eleme
227
227
 
228
228
  declare function Badge(props: BadgeProps): react_jsx_runtime.JSX.Element;
229
229
 
230
- declare function Chip(props: ChipProps): react_jsx_runtime.JSX.Element;
230
+ declare function Chip({ deleteIcon, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
231
231
 
232
232
  declare function Divider(props: DividerProps): react_jsx_runtime.JSX.Element;
233
233
 
@@ -248,7 +248,7 @@ declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
248
248
 
249
249
  declare function DataGrid(props: DataGridProps): react_jsx_runtime.JSX.Element;
250
250
 
251
- declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
251
+ declare function Tooltip({ arrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
252
252
 
253
253
  declare function Typography(props: TypographyProps): react_jsx_runtime.JSX.Element;
254
254
 
@@ -336,7 +336,7 @@ interface SidebarNavProps extends Omit<DrawerProps, "open" | "variant" | "onClos
336
336
  footer?: React__default.ReactNode;
337
337
  }
338
338
  declare function SidebarNav({ open, onOpenChange, expandedWidth, collapsedWidth, behavior, showToggle, children, header, footer, sx, ...rest }: SidebarNavProps): react_jsx_runtime.JSX.Element;
339
- interface SidebarItemProps extends Omit<ListItemButtonProps, "children"> {
339
+ interface SidebarItemProps extends ListItemButtonProps {
340
340
  /** Icon element (required — visible in both expanded and collapsed states) */
341
341
  icon: React__default.ReactNode;
342
342
  /** Label text */
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { Theme } from '@mui/material/styles';
3
- export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alpha, b as avatarColors, c as bg, d as border, e as breadcrumbColors, f as buildTheme, g as buildThemeOptions, h as buttonColors, i as chartColors, j as colors, k as container, l as display, m as fg, n as focusRings, o as fontFamily, p as fontSize, q as fontWeight, r as forestAgencyPreset, s as forestExternalPreset, t as forestInternalPreset, u as forestTheme, v as forestThemeOptions, w as getAvailablePresets, x as getPreset, y as iconColors, z as lineHeight, A as navColors, B as radius, C as registerPreset, E as sliderColors, F as spacing, G as text, H as toggleColors, I as tokenShadows, J as widths } from './index-CSpNzZHg.js';
3
+ export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alpha, b as avatarColors, c as base, d as bg, e as border, f as breadcrumbColors, g as buildTheme, h as buildThemeOptions, i as buttonColors, j as chartColors, k as container, l as display, m as error, n as fg, o as focusRings, p as fontFamily, q as fontSize, r as fontWeight, s as forestAgencyPreset, t as forestExternalPreset, u as forestInternalPreset, v as forestTheme, w as forestThemeOptions, x as getAvailablePresets, y as getPreset, z as iconColors, A as info, B as lineHeight, C as navColors, E as radius, F as registerPreset, G as sliderColors, H as spacing, I as success, J as text, K as toggleColors, L as tokenShadows, M as warning, N as widths } from './index-BCXD47YU.js';
4
4
  import { AutocompleteProps } from '@mui/material/Autocomplete';
5
5
  export { AutocompleteProps } from '@mui/material/Autocomplete';
6
6
  import { ButtonProps as ButtonProps$1 } from '@mui/material/Button';
@@ -160,13 +160,13 @@ declare function ForestProvider({ children, theme, preset, variant, disableCssBa
160
160
  declare function Autocomplete<Value, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false>(props: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo>): react_jsx_runtime.JSX.Element;
161
161
 
162
162
  type ButtonProps = ButtonProps$1;
163
- declare function Button({ ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
163
+ declare function Button({ variant, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
164
164
 
165
- declare function ButtonGroup(props: ButtonGroupProps): react_jsx_runtime.JSX.Element;
165
+ declare function ButtonGroup({ variant, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
166
166
 
167
167
  declare function Checkbox(props: CheckboxProps): react_jsx_runtime.JSX.Element;
168
168
 
169
- declare function Fab(props: FabProps): react_jsx_runtime.JSX.Element;
169
+ declare function Fab({ color, ...props }: FabProps): react_jsx_runtime.JSX.Element;
170
170
 
171
171
  declare function RadioGroup(props: RadioGroupProps): react_jsx_runtime.JSX.Element;
172
172
  declare function Radio(props: RadioProps): react_jsx_runtime.JSX.Element;
@@ -191,10 +191,10 @@ declare function Switch(props: SwitchProps): react_jsx_runtime.JSX.Element;
191
191
 
192
192
  declare function TextField(props: TextFieldProps): react_jsx_runtime.JSX.Element;
193
193
 
194
- type SearchProps = Omit<TextFieldProps, "variant"> & {
194
+ type SearchProps = TextFieldProps & {
195
195
  onClear?: () => void;
196
196
  };
197
- declare function Search({ value: controlledValue, onChange, onClear, placeholder, slotProps, ...props }: SearchProps): react_jsx_runtime.JSX.Element;
197
+ declare function Search({ value: controlledValue, onChange, onClear, placeholder, variant, slotProps, ...props }: SearchProps): react_jsx_runtime.JSX.Element;
198
198
 
199
199
  type InputProps = InputBaseProps;
200
200
  declare function Input({ ...props }: InputProps): react_jsx_runtime.JSX.Element;
@@ -227,7 +227,7 @@ declare function DatePicker(props: DatePickerProps): react_jsx_runtime.JSX.Eleme
227
227
 
228
228
  declare function Badge(props: BadgeProps): react_jsx_runtime.JSX.Element;
229
229
 
230
- declare function Chip(props: ChipProps): react_jsx_runtime.JSX.Element;
230
+ declare function Chip({ deleteIcon, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
231
231
 
232
232
  declare function Divider(props: DividerProps): react_jsx_runtime.JSX.Element;
233
233
 
@@ -248,7 +248,7 @@ declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
248
248
 
249
249
  declare function DataGrid(props: DataGridProps): react_jsx_runtime.JSX.Element;
250
250
 
251
- declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
251
+ declare function Tooltip({ arrow, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
252
252
 
253
253
  declare function Typography(props: TypographyProps): react_jsx_runtime.JSX.Element;
254
254
 
@@ -336,7 +336,7 @@ interface SidebarNavProps extends Omit<DrawerProps, "open" | "variant" | "onClos
336
336
  footer?: React__default.ReactNode;
337
337
  }
338
338
  declare function SidebarNav({ open, onOpenChange, expandedWidth, collapsedWidth, behavior, showToggle, children, header, footer, sx, ...rest }: SidebarNavProps): react_jsx_runtime.JSX.Element;
339
- interface SidebarItemProps extends Omit<ListItemButtonProps, "children"> {
339
+ interface SidebarItemProps extends ListItemButtonProps {
340
340
  /** Icon element (required — visible in both expanded and collapsed states) */
341
341
  icon: React__default.ReactNode;
342
342
  /** Label text */