@liketysplit/react-luna 0.2.0 → 0.3.0

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.
@@ -1,4 +1,5 @@
1
1
  export * from "./luna-avatar";
2
+ export * from "./luna-alert";
2
3
  export * from "./luna-button";
3
4
  export * from "./luna-card";
4
5
  export * from "./luna-checkbox";
@@ -8,11 +9,14 @@ export * from "./luna-radio";
8
9
  export * from "./luna-divider";
9
10
  export * from "./luna-header";
10
11
  export * from "./luna-input";
12
+ export * from "./luna-progress";
11
13
  export * from "./luna-slider";
12
14
  export * from "./luna-textarea";
13
15
  export * from "./luna-select";
14
16
  export * from "./luna-multiselect";
15
17
  export * from "./luna-autocomplete";
18
+ export * from "./luna-skeleton";
19
+ export * from "./luna-spinner";
16
20
  export * from "./luna-switch";
17
21
  export * from "./luna-text";
18
22
  export * from "./luna-row";
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import "./LunaAlert.css";
3
+ export declare const LunaAlert: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title" | "color"> & {
4
+ as?: React.ElementType;
5
+ tone?: import("./LunaAlert.props").LunaAlertTone;
6
+ emphasis?: import("./LunaAlert.props").LunaAlertEmphasis;
7
+ title?: React.ReactNode;
8
+ icon?: React.ReactNode;
9
+ padding?: string;
10
+ gap?: string;
11
+ rounded?: boolean;
12
+ } & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,13 @@
1
+ import type React from "react";
2
+ export type LunaAlertTone = "neutral" | "info" | "success" | "warning" | "danger";
3
+ export type LunaAlertEmphasis = "soft" | "solid" | "outline";
4
+ export type LunaAlertProps = Omit<React.HTMLAttributes<HTMLElement>, "title" | "color"> & {
5
+ as?: React.ElementType;
6
+ tone?: LunaAlertTone;
7
+ emphasis?: LunaAlertEmphasis;
8
+ title?: React.ReactNode;
9
+ icon?: React.ReactNode;
10
+ padding?: string;
11
+ gap?: string;
12
+ rounded?: boolean;
13
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./LunaAlert";
2
+ export * from "./LunaAlert.props";
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import "./LunaAvatar.css";
3
- export declare const LunaAvatar: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "children" | "color"> & {
3
+ export declare const LunaAvatar: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "color" | "children"> & {
4
4
  as?: React.ElementType;
5
5
  src?: string;
6
6
  alt?: string;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import "./LunaButton.css";
3
- export declare const LunaButton: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "value" | "color" | "size"> & {
3
+ export declare const LunaButton: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "color" | "value" | "size"> & {
4
4
  absolute?: boolean;
5
5
  animation?: import("./LunaButton.props").LunaButtonAnimation;
6
6
  block?: boolean;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import "./LunaProgress.css";
3
+ export declare const LunaProgress: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "color" | "children"> & {
4
+ label?: React.ReactNode;
5
+ description?: React.ReactNode;
6
+ value?: number;
7
+ min?: number;
8
+ max?: number;
9
+ indeterminate?: boolean;
10
+ size?: string;
11
+ tone?: string;
12
+ showValue?: boolean;
13
+ valueLabel?: React.ReactNode;
14
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,13 @@
1
+ import type React from "react";
2
+ export type LunaProgressProps = Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "color"> & {
3
+ label?: React.ReactNode;
4
+ description?: React.ReactNode;
5
+ value?: number;
6
+ min?: number;
7
+ max?: number;
8
+ indeterminate?: boolean;
9
+ size?: string;
10
+ tone?: string;
11
+ showValue?: boolean;
12
+ valueLabel?: React.ReactNode;
13
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./LunaProgress";
2
+ export * from "./LunaProgress.props";
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import "./LunaSkeleton.css";
3
+ export declare const LunaSkeleton: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "color" | "children"> & {
4
+ as?: React.ElementType;
5
+ shape?: import("./LunaSkeleton.props").LunaSkeletonShape;
6
+ size?: string;
7
+ width?: string;
8
+ height?: string;
9
+ lines?: number;
10
+ lastLineWidth?: string;
11
+ animation?: import("./LunaSkeleton.props").LunaSkeletonAnimation;
12
+ inline?: boolean;
13
+ decorative?: boolean;
14
+ } & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,15 @@
1
+ import type React from "react";
2
+ export type LunaSkeletonAnimation = "pulse" | "wave" | "none";
3
+ export type LunaSkeletonShape = "text" | "block" | "pill" | "circle";
4
+ export type LunaSkeletonProps = Omit<React.HTMLAttributes<HTMLElement>, "children" | "color"> & {
5
+ as?: React.ElementType;
6
+ shape?: LunaSkeletonShape;
7
+ size?: string;
8
+ width?: string;
9
+ height?: string;
10
+ lines?: number;
11
+ lastLineWidth?: string;
12
+ animation?: LunaSkeletonAnimation;
13
+ inline?: boolean;
14
+ decorative?: boolean;
15
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./LunaSkeleton";
2
+ export * from "./LunaSkeleton.props";
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import "./LunaSpinner.css";
3
+ export declare const LunaSpinner: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "color" | "children"> & {
4
+ as?: React.ElementType;
5
+ size?: string;
6
+ color?: string;
7
+ decorative?: boolean;
8
+ label?: string;
9
+ } & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,8 @@
1
+ import type React from "react";
2
+ export type LunaSpinnerProps = Omit<React.HTMLAttributes<HTMLElement>, "children" | "color"> & {
3
+ as?: React.ElementType;
4
+ size?: string;
5
+ color?: string;
6
+ decorative?: boolean;
7
+ label?: string;
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./LunaSpinner";
2
+ export * from "./LunaSpinner.props";