@ikatec/nebula-react 1.12.0-beta.1 → 1.12.1-beta.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/ikatec-nebula-react-1.12.1-beta.1.tgz +0 -0
- package/dist/index.d.mts +13 -18
- package/dist/index.d.ts +13 -18
- package/dist/index.js +87 -8950
- package/dist/index.mjs +87 -8709
- package/package.json +5 -3
- package/dist/ikatec-nebula-react-1.12.0-beta.1.tgz +0 -0
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { PropsWithChildren, HTMLAttributes, ComponentProps, DragEvent, ChangeEvent, InputHTMLAttributes, ReactNode, MutableRefObject } from 'react';
|
|
4
4
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
5
5
|
import * as DrawerPrimitive from '@radix-ui/react-dialog';
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
8
8
|
import { VariantProps } from 'class-variance-authority';
|
|
9
9
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
@@ -23,8 +23,7 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
23
23
|
import { Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
|
|
24
24
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
}
|
|
26
|
+
type AccordionProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
28
27
|
declare function Accordion({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root> & {
|
|
29
28
|
collapsible?: boolean;
|
|
30
29
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -71,7 +70,7 @@ type ButtonSizeType = keyof typeof buttonSizeEnum;
|
|
|
71
70
|
declare const buttonVariantsConfig: (props?: ({
|
|
72
71
|
variant?: "primary" | "secondary" | "ghost" | "danger" | null | undefined;
|
|
73
72
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
74
|
-
} &
|
|
73
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
75
74
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
76
75
|
asChild?: boolean;
|
|
77
76
|
variant?: ButtonVariantType;
|
|
@@ -98,7 +97,7 @@ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.Re
|
|
|
98
97
|
|
|
99
98
|
declare const separatorVariantsConfig: (props?: ({
|
|
100
99
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
101
|
-
} &
|
|
100
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
102
101
|
declare const separatorVariants: {
|
|
103
102
|
orientation: ("horizontal" | "vertical")[];
|
|
104
103
|
};
|
|
@@ -127,7 +126,7 @@ declare const ActionBarContent: React$1.ForwardRefExoticComponent<Omit<DrawerPri
|
|
|
127
126
|
|
|
128
127
|
declare const alertVariantsConfig: (props?: ({
|
|
129
128
|
variant?: "default" | "danger" | "info" | "success" | "warning" | null | undefined;
|
|
130
|
-
} &
|
|
129
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
131
130
|
declare const alertVariants: {
|
|
132
131
|
variant: ("default" | "danger" | "info" | "success" | "warning")[];
|
|
133
132
|
};
|
|
@@ -234,7 +233,7 @@ declare enum BannerType {
|
|
|
234
233
|
declare const bannerAlertVariants: (props?: ({
|
|
235
234
|
variant?: "outline" | "filled" | null | undefined;
|
|
236
235
|
type?: "info" | "success" | "warning" | "error" | null | undefined;
|
|
237
|
-
} &
|
|
236
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
238
237
|
interface BannerAlertProps extends VariantProps<typeof bannerAlertVariants> {
|
|
239
238
|
variant: keyof typeof BannerVariant;
|
|
240
239
|
type: keyof typeof BannerType;
|
|
@@ -286,8 +285,7 @@ type MessageFunction = (...args: never[]) => string;
|
|
|
286
285
|
/**
|
|
287
286
|
* Type to store the messages.
|
|
288
287
|
*/
|
|
289
|
-
|
|
290
|
-
}
|
|
288
|
+
type MessagesRecord = Record<MessageKey, Message | MessageFunction>;
|
|
291
289
|
/**
|
|
292
290
|
* Type to store the pagination messages.
|
|
293
291
|
*/
|
|
@@ -432,7 +430,7 @@ declare const DrawerPortal: React$1.FC<DrawerPrimitive.DialogPortalProps>;
|
|
|
432
430
|
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
433
431
|
declare const DrawerVariants: (props?: ({
|
|
434
432
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
435
|
-
} &
|
|
433
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
436
434
|
interface DrawerContentProps extends React$1.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>, VariantProps<typeof DrawerVariants> {
|
|
437
435
|
portal?: boolean;
|
|
438
436
|
}
|
|
@@ -758,8 +756,7 @@ interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard, TCol
|
|
|
758
756
|
|
|
759
757
|
declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, renderColumnBody, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard, TColumnMeta>): react_jsx_runtime.JSX.Element;
|
|
760
758
|
|
|
761
|
-
|
|
762
|
-
}
|
|
759
|
+
type KanbanColumnProps = HTMLAttributes<HTMLDivElement>;
|
|
763
760
|
declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
764
761
|
declare const KanbanColumnHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
765
762
|
declare const KanbanColumnTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -828,8 +825,7 @@ declare const ProfileImage: {
|
|
|
828
825
|
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
829
826
|
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
830
827
|
|
|
831
|
-
|
|
832
|
-
}
|
|
828
|
+
type SkeletonProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
833
829
|
declare const Skeleton: React__default.ForwardRefExoticComponent<SkeletonProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
834
830
|
|
|
835
831
|
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -852,7 +848,7 @@ type SpaceSizeType = keyof typeof SpaceSizeEnum;
|
|
|
852
848
|
declare const spaceVariantsConfig: (props?: ({
|
|
853
849
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
854
850
|
direction?: "row" | "column" | null | undefined;
|
|
855
|
-
} &
|
|
851
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
856
852
|
interface SpaceProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spaceVariantsConfig> {
|
|
857
853
|
size?: SpaceSizeType;
|
|
858
854
|
direction?: SpaceDirectionType;
|
|
@@ -1070,7 +1066,7 @@ declare const toast: {
|
|
|
1070
1066
|
declare const toggleVariants: (props?: ({
|
|
1071
1067
|
icon?: boolean | null | undefined;
|
|
1072
1068
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
1073
|
-
} &
|
|
1069
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1074
1070
|
declare enum ToggleSizeEnum {
|
|
1075
1071
|
xs = "xs",
|
|
1076
1072
|
sm = "sm",
|
|
@@ -1101,8 +1097,7 @@ interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
|
1101
1097
|
size?: 'md' | 'sm';
|
|
1102
1098
|
}
|
|
1103
1099
|
declare const Paragraph: React__default.ForwardRefExoticComponent<ParagraphProps & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
1104
|
-
|
|
1105
|
-
}
|
|
1100
|
+
type CaptionProps = HTMLAttributes<HTMLTableCaptionElement>;
|
|
1106
1101
|
declare const Caption: React__default.ForwardRefExoticComponent<CaptionProps & React__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
1107
1102
|
interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1108
1103
|
size?: 'md' | 'sm';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { PropsWithChildren, HTMLAttributes, ComponentProps, DragEvent, ChangeEvent, InputHTMLAttributes, ReactNode, MutableRefObject } from 'react';
|
|
4
4
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
5
5
|
import * as DrawerPrimitive from '@radix-ui/react-dialog';
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
8
8
|
import { VariantProps } from 'class-variance-authority';
|
|
9
9
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
@@ -23,8 +23,7 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
|
23
23
|
import { Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
|
|
24
24
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
}
|
|
26
|
+
type AccordionProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
28
27
|
declare function Accordion({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root> & {
|
|
29
28
|
collapsible?: boolean;
|
|
30
29
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -71,7 +70,7 @@ type ButtonSizeType = keyof typeof buttonSizeEnum;
|
|
|
71
70
|
declare const buttonVariantsConfig: (props?: ({
|
|
72
71
|
variant?: "primary" | "secondary" | "ghost" | "danger" | null | undefined;
|
|
73
72
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
74
|
-
} &
|
|
73
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
75
74
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
76
75
|
asChild?: boolean;
|
|
77
76
|
variant?: ButtonVariantType;
|
|
@@ -98,7 +97,7 @@ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.Re
|
|
|
98
97
|
|
|
99
98
|
declare const separatorVariantsConfig: (props?: ({
|
|
100
99
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
101
|
-
} &
|
|
100
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
102
101
|
declare const separatorVariants: {
|
|
103
102
|
orientation: ("horizontal" | "vertical")[];
|
|
104
103
|
};
|
|
@@ -127,7 +126,7 @@ declare const ActionBarContent: React$1.ForwardRefExoticComponent<Omit<DrawerPri
|
|
|
127
126
|
|
|
128
127
|
declare const alertVariantsConfig: (props?: ({
|
|
129
128
|
variant?: "default" | "danger" | "info" | "success" | "warning" | null | undefined;
|
|
130
|
-
} &
|
|
129
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
131
130
|
declare const alertVariants: {
|
|
132
131
|
variant: ("default" | "danger" | "info" | "success" | "warning")[];
|
|
133
132
|
};
|
|
@@ -234,7 +233,7 @@ declare enum BannerType {
|
|
|
234
233
|
declare const bannerAlertVariants: (props?: ({
|
|
235
234
|
variant?: "outline" | "filled" | null | undefined;
|
|
236
235
|
type?: "info" | "success" | "warning" | "error" | null | undefined;
|
|
237
|
-
} &
|
|
236
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
238
237
|
interface BannerAlertProps extends VariantProps<typeof bannerAlertVariants> {
|
|
239
238
|
variant: keyof typeof BannerVariant;
|
|
240
239
|
type: keyof typeof BannerType;
|
|
@@ -286,8 +285,7 @@ type MessageFunction = (...args: never[]) => string;
|
|
|
286
285
|
/**
|
|
287
286
|
* Type to store the messages.
|
|
288
287
|
*/
|
|
289
|
-
|
|
290
|
-
}
|
|
288
|
+
type MessagesRecord = Record<MessageKey, Message | MessageFunction>;
|
|
291
289
|
/**
|
|
292
290
|
* Type to store the pagination messages.
|
|
293
291
|
*/
|
|
@@ -432,7 +430,7 @@ declare const DrawerPortal: React$1.FC<DrawerPrimitive.DialogPortalProps>;
|
|
|
432
430
|
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
433
431
|
declare const DrawerVariants: (props?: ({
|
|
434
432
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
435
|
-
} &
|
|
433
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
436
434
|
interface DrawerContentProps extends React$1.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>, VariantProps<typeof DrawerVariants> {
|
|
437
435
|
portal?: boolean;
|
|
438
436
|
}
|
|
@@ -758,8 +756,7 @@ interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard, TCol
|
|
|
758
756
|
|
|
759
757
|
declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, renderColumnBody, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard, TColumnMeta>): react_jsx_runtime.JSX.Element;
|
|
760
758
|
|
|
761
|
-
|
|
762
|
-
}
|
|
759
|
+
type KanbanColumnProps = HTMLAttributes<HTMLDivElement>;
|
|
763
760
|
declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
764
761
|
declare const KanbanColumnHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
765
762
|
declare const KanbanColumnTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -828,8 +825,7 @@ declare const ProfileImage: {
|
|
|
828
825
|
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
829
826
|
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
830
827
|
|
|
831
|
-
|
|
832
|
-
}
|
|
828
|
+
type SkeletonProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
833
829
|
declare const Skeleton: React__default.ForwardRefExoticComponent<SkeletonProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
834
830
|
|
|
835
831
|
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -852,7 +848,7 @@ type SpaceSizeType = keyof typeof SpaceSizeEnum;
|
|
|
852
848
|
declare const spaceVariantsConfig: (props?: ({
|
|
853
849
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
854
850
|
direction?: "row" | "column" | null | undefined;
|
|
855
|
-
} &
|
|
851
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
856
852
|
interface SpaceProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spaceVariantsConfig> {
|
|
857
853
|
size?: SpaceSizeType;
|
|
858
854
|
direction?: SpaceDirectionType;
|
|
@@ -1070,7 +1066,7 @@ declare const toast: {
|
|
|
1070
1066
|
declare const toggleVariants: (props?: ({
|
|
1071
1067
|
icon?: boolean | null | undefined;
|
|
1072
1068
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
1073
|
-
} &
|
|
1069
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1074
1070
|
declare enum ToggleSizeEnum {
|
|
1075
1071
|
xs = "xs",
|
|
1076
1072
|
sm = "sm",
|
|
@@ -1101,8 +1097,7 @@ interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
|
1101
1097
|
size?: 'md' | 'sm';
|
|
1102
1098
|
}
|
|
1103
1099
|
declare const Paragraph: React__default.ForwardRefExoticComponent<ParagraphProps & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
1104
|
-
|
|
1105
|
-
}
|
|
1100
|
+
type CaptionProps = HTMLAttributes<HTMLTableCaptionElement>;
|
|
1106
1101
|
declare const Caption: React__default.ForwardRefExoticComponent<CaptionProps & React__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
1107
1102
|
interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1108
1103
|
size?: 'md' | 'sm';
|