@matteoaliano/forest-ui 0.8.0 → 0.8.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.
- package/dist/index.d.mts +17 -8
- package/dist/index.d.ts +17 -8
- package/dist/index.js +553 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +554 -35
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/skills/forest-alkemy-plus/SKILL.md +1 -1
- package/skills/forest-alkemy-plus/references/components.md +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -331,23 +331,32 @@ declare function Input({ ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
|
331
331
|
type IconButtonProps = IconButtonProps$1;
|
|
332
332
|
declare function IconButton(props: IconButtonProps): react_jsx_runtime.JSX.Element;
|
|
333
333
|
|
|
334
|
-
type LogoProduct = 'wsuite' | 'studio' | 'feedati';
|
|
334
|
+
type LogoProduct = 'wsuite' | 'studio' | 'feedati' | 'ai-hub';
|
|
335
335
|
type LogoVariant = 'logo' | 'logomark';
|
|
336
|
+
type LogoColor = 'positive' | 'negative' | 'negative-payoff';
|
|
336
337
|
interface LogoProps extends Omit<BoxProps<'svg'>, 'component' | 'children'> {
|
|
337
338
|
/** Product brand */
|
|
338
339
|
product?: LogoProduct;
|
|
339
|
-
/**
|
|
340
|
+
/** `logo` = wordmark with payoff caption, `logomark` = square brand icon */
|
|
340
341
|
variant?: LogoVariant;
|
|
342
|
+
/**
|
|
343
|
+
* Color treatment.
|
|
344
|
+
* - `positive` (default): colored mark for use on light backgrounds
|
|
345
|
+
* - `negative`: white mark for use on dark backgrounds
|
|
346
|
+
* - `negative-payoff`: colored mark with light payoff caption (for use on a colored hero)
|
|
347
|
+
*
|
|
348
|
+
* Falls back to `positive` if a product doesn't define the requested color.
|
|
349
|
+
* `negative-payoff` falls back to `negative` for `logomark` variants (no payoff to invert).
|
|
350
|
+
*/
|
|
351
|
+
color?: LogoColor;
|
|
341
352
|
}
|
|
342
353
|
/**
|
|
343
|
-
* Logo component for Forest product suite
|
|
344
|
-
*
|
|
345
|
-
* Displays brand logos (WSuite, Studio, FeeDati) in full or icon-only variants.
|
|
346
|
-
* Colors are embedded in the SVG.
|
|
354
|
+
* Logo component for the Forest product suite.
|
|
347
355
|
*
|
|
348
356
|
* @example
|
|
349
|
-
* <Logo product="
|
|
350
|
-
* <Logo product="studio" variant="
|
|
357
|
+
* <Logo product="studio" variant="logo" color="positive" />
|
|
358
|
+
* <Logo product="studio" variant="logo" color="negative" />
|
|
359
|
+
* <Logo product="ai-hub" variant="logomark" color="negative" />
|
|
351
360
|
*/
|
|
352
361
|
declare const Logo: React$1.ForwardRefExoticComponent<Omit<LogoProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
|
|
353
362
|
|
package/dist/index.d.ts
CHANGED
|
@@ -331,23 +331,32 @@ declare function Input({ ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
|
331
331
|
type IconButtonProps = IconButtonProps$1;
|
|
332
332
|
declare function IconButton(props: IconButtonProps): react_jsx_runtime.JSX.Element;
|
|
333
333
|
|
|
334
|
-
type LogoProduct = 'wsuite' | 'studio' | 'feedati';
|
|
334
|
+
type LogoProduct = 'wsuite' | 'studio' | 'feedati' | 'ai-hub';
|
|
335
335
|
type LogoVariant = 'logo' | 'logomark';
|
|
336
|
+
type LogoColor = 'positive' | 'negative' | 'negative-payoff';
|
|
336
337
|
interface LogoProps extends Omit<BoxProps<'svg'>, 'component' | 'children'> {
|
|
337
338
|
/** Product brand */
|
|
338
339
|
product?: LogoProduct;
|
|
339
|
-
/**
|
|
340
|
+
/** `logo` = wordmark with payoff caption, `logomark` = square brand icon */
|
|
340
341
|
variant?: LogoVariant;
|
|
342
|
+
/**
|
|
343
|
+
* Color treatment.
|
|
344
|
+
* - `positive` (default): colored mark for use on light backgrounds
|
|
345
|
+
* - `negative`: white mark for use on dark backgrounds
|
|
346
|
+
* - `negative-payoff`: colored mark with light payoff caption (for use on a colored hero)
|
|
347
|
+
*
|
|
348
|
+
* Falls back to `positive` if a product doesn't define the requested color.
|
|
349
|
+
* `negative-payoff` falls back to `negative` for `logomark` variants (no payoff to invert).
|
|
350
|
+
*/
|
|
351
|
+
color?: LogoColor;
|
|
341
352
|
}
|
|
342
353
|
/**
|
|
343
|
-
* Logo component for Forest product suite
|
|
344
|
-
*
|
|
345
|
-
* Displays brand logos (WSuite, Studio, FeeDati) in full or icon-only variants.
|
|
346
|
-
* Colors are embedded in the SVG.
|
|
354
|
+
* Logo component for the Forest product suite.
|
|
347
355
|
*
|
|
348
356
|
* @example
|
|
349
|
-
* <Logo product="
|
|
350
|
-
* <Logo product="studio" variant="
|
|
357
|
+
* <Logo product="studio" variant="logo" color="positive" />
|
|
358
|
+
* <Logo product="studio" variant="logo" color="negative" />
|
|
359
|
+
* <Logo product="ai-hub" variant="logomark" color="negative" />
|
|
351
360
|
*/
|
|
352
361
|
declare const Logo: React$1.ForwardRefExoticComponent<Omit<LogoProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
|
|
353
362
|
|