@lumx/react 3.0.7-alpha.0 → 3.0.7

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.
@@ -285,4 +285,4 @@ declare const ThumbnailVariant: {
285
285
  };
286
286
  declare type ThumbnailVariant = ValueOf<typeof ThumbnailVariant>;
287
287
 
288
- export { Alignment as A, Comp as C, Emphasis as E, Falsy as F, GenericProps as G, HasTheme as H, Kind as K, Orientation as O, Size as S, Typography as T, ValueOf as V, HorizontalAlignment as a, ColorPalette as b, Callback as c, VerticalAlignment as d, ColorVariant as e, TextElement as f, HeadingElement as g, AspectRatio as h, FocusPoint as i, ThumbnailSize as j, ThumbnailVariant as k, HasAriaLabelOrLabelledBy as l, GlobalSize as m, TypographyInterface as n, Color as o, Theme as p, TypographyTitleCustom as q, TypographyCustom as r, ThumbnailAspectRatio as s };
288
+ export { Alignment as A, Comp as C, Emphasis as E, Falsy as F, GenericProps as G, HasTheme as H, Kind as K, Orientation as O, Size as S, Typography as T, ValueOf as V, HorizontalAlignment as a, Color as b, Callback as c, ColorPalette as d, VerticalAlignment as e, ColorVariant as f, TextElement as g, HeadingElement as h, AspectRatio as i, FocusPoint as j, ThumbnailSize as k, ThumbnailVariant as l, HasAriaLabelOrLabelledBy as m, GlobalSize as n, TypographyInterface as o, Theme as p, TypographyTitleCustom as q, TypographyCustom as r, ThumbnailAspectRatio as s };
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode, SyntheticEvent, ReactElement, MouseEventHandler, KeyboardEventHandler, AriaAttributes, DetailedHTMLProps, ButtonHTMLAttributes, InputHTMLAttributes, Ref, RefObject, ImgHTMLAttributes, CSSProperties, SetStateAction, Key } from 'react';
2
- import { K as Kind, C as Comp, G as GenericProps, H as HasTheme, a as HorizontalAlignment, S as Size, b as ColorPalette, E as Emphasis, V as ValueOf, c as Callback, A as Alignment, d as VerticalAlignment, O as Orientation, e as ColorVariant, T as Typography, f as TextElement, g as HeadingElement, h as AspectRatio, F as Falsy, i as FocusPoint, j as ThumbnailSize, k as ThumbnailVariant, l as HasAriaLabelOrLabelledBy, m as GlobalSize, n as TypographyInterface } from './_internal/types.js';
3
- export { A as Alignment, h as AspectRatio, c as Callback, o as Color, b as ColorPalette, e as ColorVariant, E as Emphasis, i as FocusPoint, G as GenericProps, m as GlobalSize, g as HeadingElement, a as HorizontalAlignment, K as Kind, O as Orientation, S as Size, f as TextElement, p as Theme, s as ThumbnailAspectRatio, j as ThumbnailSize, k as ThumbnailVariant, T as Typography, r as TypographyCustom, n as TypographyInterface, q as TypographyTitleCustom, d as VerticalAlignment } from './_internal/types.js';
2
+ import { K as Kind, C as Comp, G as GenericProps, H as HasTheme, a as HorizontalAlignment, S as Size, b as Color, E as Emphasis, V as ValueOf, c as Callback, d as ColorPalette, A as Alignment, e as VerticalAlignment, O as Orientation, f as ColorVariant, T as Typography, g as TextElement, h as HeadingElement, i as AspectRatio, F as Falsy, j as FocusPoint, k as ThumbnailSize, l as ThumbnailVariant, m as HasAriaLabelOrLabelledBy, n as GlobalSize, o as TypographyInterface } from './_internal/types.js';
3
+ export { A as Alignment, i as AspectRatio, c as Callback, b as Color, d as ColorPalette, f as ColorVariant, E as Emphasis, j as FocusPoint, G as GenericProps, n as GlobalSize, h as HeadingElement, a as HorizontalAlignment, K as Kind, O as Orientation, S as Size, g as TextElement, p as Theme, s as ThumbnailAspectRatio, k as ThumbnailSize, l as ThumbnailVariant, T as Typography, r as TypographyCustom, o as TypographyInterface, q as TypographyTitleCustom, e as VerticalAlignment } from './_internal/types.js';
4
4
 
5
5
  interface AlertDialogProps extends Omit<DialogProps, 'header' | 'footer'> {
6
6
  /** Message variant. */
@@ -261,7 +261,7 @@ interface BadgeProps extends GenericProps {
261
261
  /** Badge content. */
262
262
  children?: ReactNode;
263
263
  /** Color variant. */
264
- color?: ColorPalette;
264
+ color?: Color;
265
265
  }
266
266
  /**
267
267
  * Badge component.
@@ -279,7 +279,7 @@ declare type HTMLButtonProps = DetailedHTMLProps<ButtonHTMLAttributes<HTMLButton
279
279
  declare type ButtonSize = Extract<Size, 's' | 'm'>;
280
280
  interface BaseButtonProps extends GenericProps, Pick<AriaAttributes, 'aria-expanded' | 'aria-haspopup' | 'aria-pressed' | 'aria-label'>, HasTheme {
281
281
  /** Color variant. */
282
- color?: ColorPalette;
282
+ color?: Color;
283
283
  /** Emphasis variant. */
284
284
  emphasis?: Emphasis;
285
285
  /** Whether or not the button has a background color in low emphasis. */
@@ -426,7 +426,7 @@ interface ChipProps extends GenericProps, HasTheme {
426
426
  /** A component to be rendered before the content. */
427
427
  before?: ReactNode;
428
428
  /** Color variant. */
429
- color?: ColorPalette;
429
+ color?: Color;
430
430
  /** Whether the component is clickable or not. */
431
431
  isClickable?: boolean;
432
432
  /** Whether the component is disabled or not. */
@@ -1178,7 +1178,7 @@ declare type IconSizes = Extract<Size, 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '
1178
1178
  */
1179
1179
  interface IconProps extends GenericProps, HasTheme {
1180
1180
  /** Color variant. */
1181
- color?: ColorPalette;
1181
+ color?: Color;
1182
1182
  /** Lightened or darkened variant of the selected icon color. */
1183
1183
  colorVariant?: ColorVariant;
1184
1184
  /** Whether the icon has a shape. */
@@ -1403,7 +1403,7 @@ declare type HTMLAnchorProps = React.DetailedHTMLProps<React.AnchorHTMLAttribute
1403
1403
  */
1404
1404
  interface LinkProps extends GenericProps {
1405
1405
  /** Color variant. */
1406
- color?: ColorPalette;
1406
+ color?: Color;
1407
1407
  /** Lightened or darkened variant of the selected icon color. */
1408
1408
  colorVariant?: ColorVariant;
1409
1409
  /** Link href. */