@equal-experts/kuat-react 0.12.0 → 0.13.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.
- package/README.md +3 -1
- package/dist/icon-button-B5hCoK1b.js +63 -0
- package/dist/icon-button.js +12 -0
- package/dist/index.js +852 -523
- package/dist/style.css +1 -1
- package/package.json +5 -1
- package/dist/accordion.d.ts +0 -2
- package/dist/alert-dialog.d.ts +0 -2
- package/dist/badge.d.ts +0 -3
- package/dist/button-group.d.ts +0 -2
- package/dist/button.d.ts +0 -3
- package/dist/carousel.d.ts +0 -2
- package/dist/checkbox.d.ts +0 -3
- package/dist/components/ui/accordion/accordion.d.ts +0 -7
- package/dist/components/ui/accordion/index.d.ts +0 -1
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts +0 -20
- package/dist/components/ui/alert-dialog/index.d.ts +0 -1
- package/dist/components/ui/badge/badge.d.ts +0 -16
- package/dist/components/ui/badge/index.d.ts +0 -2
- package/dist/components/ui/breadcrumb/Breadcrumb.d.ts +0 -29
- package/dist/components/ui/breadcrumb/breadcrumb-primitives.d.ts +0 -19
- package/dist/components/ui/breadcrumb/index.d.ts +0 -4
- package/dist/components/ui/button/button.d.ts +0 -27
- package/dist/components/ui/button/index.d.ts +0 -2
- package/dist/components/ui/button-group/button-group.d.ts +0 -23
- package/dist/components/ui/button-group/index.d.ts +0 -2
- package/dist/components/ui/carousel/carousel.d.ts +0 -50
- package/dist/components/ui/carousel/index.d.ts +0 -2
- package/dist/components/ui/checkbox/checkbox-field.d.ts +0 -23
- package/dist/components/ui/checkbox/checkbox.d.ts +0 -5
- package/dist/components/ui/checkbox/index.d.ts +0 -4
- package/dist/components/ui/content-card/content-card.d.ts +0 -29
- package/dist/components/ui/content-card/index.d.ts +0 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -27
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -1
- package/dist/components/ui/ee-logo-icon/ee-logo-icon.d.ts +0 -11
- package/dist/components/ui/ee-logo-icon/index.d.ts +0 -2
- package/dist/components/ui/field/field.d.ts +0 -28
- package/dist/components/ui/field/index.d.ts +0 -2
- package/dist/components/ui/input/index.d.ts +0 -2
- package/dist/components/ui/input/input.d.ts +0 -20
- package/dist/components/ui/kuat-carousel/index.d.ts +0 -2
- package/dist/components/ui/kuat-carousel/kuat-carousel.d.ts +0 -16
- package/dist/components/ui/kuat-header/index.d.ts +0 -2
- package/dist/components/ui/kuat-header/kuat-header.d.ts +0 -53
- package/dist/components/ui/kuat-logo-lockup/index.d.ts +0 -2
- package/dist/components/ui/kuat-logo-lockup/kuat-logo-lockup.d.ts +0 -17
- package/dist/components/ui/kuat-radial-progress/index.d.ts +0 -2
- package/dist/components/ui/kuat-radial-progress/kuat-radial-progress.d.ts +0 -16
- package/dist/components/ui/radio/index.d.ts +0 -4
- package/dist/components/ui/radio/radio-field.d.ts +0 -25
- package/dist/components/ui/radio/radio.d.ts +0 -7
- package/dist/components/ui/select/constants.d.ts +0 -19
- package/dist/components/ui/select/index.d.ts +0 -3
- package/dist/components/ui/select/select.d.ts +0 -53
- package/dist/components/ui/separator/index.d.ts +0 -2
- package/dist/components/ui/separator/separator.d.ts +0 -9
- package/dist/components/ui/sonner/index.d.ts +0 -4
- package/dist/components/ui/sonner/sonner-content.d.ts +0 -15
- package/dist/components/ui/sonner/sonner.d.ts +0 -21
- package/dist/components/ui/switch/index.d.ts +0 -4
- package/dist/components/ui/switch/switch-field.d.ts +0 -23
- package/dist/components/ui/switch/switch.d.ts +0 -5
- package/dist/components/ui/textarea/index.d.ts +0 -2
- package/dist/components/ui/textarea/textarea.d.ts +0 -9
- package/dist/components/ui/toggle/constants.d.ts +0 -4
- package/dist/components/ui/toggle/index.d.ts +0 -6
- package/dist/components/ui/toggle/toggle-group.d.ts +0 -11
- package/dist/components/ui/toggle/toggle.d.ts +0 -9
- package/dist/field.d.ts +0 -3
- package/dist/index.d.ts +0 -44
- package/dist/input.d.ts +0 -3
- package/dist/kuat-carousel.d.ts +0 -2
- package/dist/kuat-radial-progress.d.ts +0 -7
- package/dist/lib/react-node-compat.d.ts +0 -7
- package/dist/lib/utils.d.ts +0 -3
- package/dist/radio.d.ts +0 -3
- package/dist/select.d.ts +0 -3
- package/dist/sonner.d.ts +0 -1
- package/dist/style.css.d.ts +0 -2
- package/dist/switch.d.ts +0 -1
- package/dist/test/setup.d.ts +0 -1
- package/dist/textarea.d.ts +0 -3
- package/dist/toggle-group.d.ts +0 -3
- package/dist/toggle.d.ts +0 -3
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { RadioGroupItem } from './radio';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export declare const RADIO_FIELD_APPEARANCES: readonly ["plain", "card"];
|
|
4
|
-
export type RadioFieldAppearance = (typeof RADIO_FIELD_APPEARANCES)[number];
|
|
5
|
-
export declare const RADIO_FIELD_LAYOUTS: readonly ["inline", "block"];
|
|
6
|
-
export type RadioFieldLayout = (typeof RADIO_FIELD_LAYOUTS)[number];
|
|
7
|
-
/** @deprecated Prefer composing `Field` + `RadioGroupItem` for new form layouts. */
|
|
8
|
-
export interface RadioFieldProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroupItem>, "id" | "children"> {
|
|
9
|
-
/** Primary label (always shown). */
|
|
10
|
-
label: React.ReactNode;
|
|
11
|
-
/** Optional secondary line (12px muted); works for both plain and card. */
|
|
12
|
-
secondaryText?: React.ReactNode;
|
|
13
|
-
/** `plain` — no border/padding; `card` — bordered padded container (Figma Rich). */
|
|
14
|
-
appearance?: RadioFieldAppearance;
|
|
15
|
-
/** `inline` — compact label; `block` — label row can grow (Figma Radio Group). */
|
|
16
|
-
layout?: RadioFieldLayout;
|
|
17
|
-
/** Place radio on the right of the text block. */
|
|
18
|
-
flipped?: boolean;
|
|
19
|
-
id?: string;
|
|
20
|
-
/** Required — must match a unique option in the parent `RadioGroup`. */
|
|
21
|
-
value: string;
|
|
22
|
-
}
|
|
23
|
-
/** @deprecated Prefer composing `Field` + `RadioGroupItem` for new form layouts. */
|
|
24
|
-
declare const RadioField: React.ForwardRefExoticComponent<RadioFieldProps & React.RefAttributes<HTMLButtonElement>>;
|
|
25
|
-
export { RadioField };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
export type RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroup>;
|
|
6
|
-
export type RadioGroupItemProps = React.ComponentPropsWithoutRef<typeof RadioGroupItem>;
|
|
7
|
-
export { RadioGroup, RadioGroupItem };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type * as React from "react";
|
|
2
|
-
export declare const SELECT_SIZES: readonly ["regular", "large", "small", "mini"];
|
|
3
|
-
export type SelectSize = (typeof SELECT_SIZES)[number];
|
|
4
|
-
export declare const SELECT_LINES: readonly ["single", "double"];
|
|
5
|
-
export type SelectLines = (typeof SELECT_LINES)[number];
|
|
6
|
-
export interface SelectItemOption {
|
|
7
|
-
value: string;
|
|
8
|
-
label: React.ReactNode;
|
|
9
|
-
description?: React.ReactNode;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
prepend?: React.ReactNode;
|
|
12
|
-
decoration?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export interface SelectItemGroup {
|
|
15
|
-
label: React.ReactNode;
|
|
16
|
-
items: SelectItemOption[];
|
|
17
|
-
}
|
|
18
|
-
export type SelectItems = Array<SelectItemOption | SelectItemGroup>;
|
|
19
|
-
export declare function isSelectItemGroup(item: SelectItemOption | SelectItemGroup): item is SelectItemGroup;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { KuatSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SELECT_LINES, SELECT_SIZES, } from './select';
|
|
2
|
-
export type { KuatSelectProps, SelectContentProps, SelectItemProps, SelectLabelProps, SelectProps, SelectSeparatorProps, SelectTriggerProps, SelectValueProps, } from './select';
|
|
3
|
-
export type { SelectItemGroup, SelectItemOption, SelectItems, SelectLines, SelectSize, } from './constants';
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { SELECT_LINES, SELECT_SIZES, SelectItems, SelectLines, SelectSize } from './constants';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
4
|
-
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
5
|
-
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
9
|
-
size?: SelectSize;
|
|
10
|
-
lines?: SelectLines;
|
|
11
|
-
label?: React.ReactNode;
|
|
12
|
-
prepend?: React.ReactNode;
|
|
13
|
-
decoration?: React.ReactNode;
|
|
14
|
-
invalid?: boolean;
|
|
15
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
16
|
-
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
19
|
-
size?: SelectSize;
|
|
20
|
-
maxHeight?: number | string;
|
|
21
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
export interface SelectItemProps extends React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item> {
|
|
24
|
-
prepend?: React.ReactNode;
|
|
25
|
-
description?: React.ReactNode;
|
|
26
|
-
decoration?: React.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
-
export interface KuatSelectProps extends Omit<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Root>, "children"> {
|
|
30
|
-
items?: SelectItems;
|
|
31
|
-
placeholder?: string;
|
|
32
|
-
size?: SelectSize;
|
|
33
|
-
lines?: SelectLines;
|
|
34
|
-
prepend?: React.ReactNode;
|
|
35
|
-
decoration?: React.ReactNode;
|
|
36
|
-
label?: React.ReactNode;
|
|
37
|
-
invalid?: boolean;
|
|
38
|
-
position?: React.ComponentPropsWithoutRef<typeof SelectContent>["position"];
|
|
39
|
-
maxHeight?: number | string;
|
|
40
|
-
triggerClassName?: string;
|
|
41
|
-
contentClassName?: string;
|
|
42
|
-
emptyText?: React.ReactNode;
|
|
43
|
-
children?: React.ReactNode;
|
|
44
|
-
triggerProps?: Omit<React.ComponentPropsWithoutRef<typeof SelectTrigger>, "children" | "size" | "lines" | "label" | "prepend" | "decoration" | "invalid">;
|
|
45
|
-
}
|
|
46
|
-
declare function KuatSelect({ items, placeholder, size, lines, prepend, decoration, label, invalid, position, maxHeight, triggerClassName, contentClassName, emptyText, children, triggerProps, ...rootProps }: KuatSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
export type SelectProps = React.ComponentPropsWithoutRef<typeof Select>;
|
|
48
|
-
export type SelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectTrigger>;
|
|
49
|
-
export type SelectContentProps = React.ComponentPropsWithoutRef<typeof SelectContent>;
|
|
50
|
-
export type SelectLabelProps = React.ComponentPropsWithoutRef<typeof SelectLabel>;
|
|
51
|
-
export type SelectSeparatorProps = React.ComponentPropsWithoutRef<typeof SelectSeparator>;
|
|
52
|
-
export type SelectValueProps = React.ComponentPropsWithoutRef<typeof SelectValue>;
|
|
53
|
-
export { KuatSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SELECT_LINES, SELECT_SIZES, };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
-
export declare const SEPARATOR_ORIENTATIONS: readonly ["horizontal", "vertical"];
|
|
4
|
-
export type SeparatorOrientation = (typeof SEPARATOR_ORIENTATIONS)[number];
|
|
5
|
-
export interface SeparatorProps extends React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> {
|
|
6
|
-
orientation?: SeparatorOrientation;
|
|
7
|
-
}
|
|
8
|
-
declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export { Separator };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Sonner, SONNER_POSITIONS, toast } from './sonner';
|
|
2
|
-
export type { SonnerAnnouncement, SonnerPosition, SonnerProps, SonnerToastOptions, } from './sonner';
|
|
3
|
-
export { SonnerContent } from './sonner-content';
|
|
4
|
-
export type { SonnerContentAction, SonnerContentProps } from './sonner-content';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type SonnerContentAction = {
|
|
3
|
-
label: string;
|
|
4
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
5
|
-
ariaLabel?: string;
|
|
6
|
-
};
|
|
7
|
-
export type SonnerContentProps = {
|
|
8
|
-
className?: string;
|
|
9
|
-
title: React.ReactNode;
|
|
10
|
-
description?: React.ReactNode;
|
|
11
|
-
leftIcon?: React.ReactNode;
|
|
12
|
-
showLeftIcon?: boolean;
|
|
13
|
-
action?: SonnerContentAction;
|
|
14
|
-
};
|
|
15
|
-
export declare function SonnerContent({ className, title, description, leftIcon, showLeftIcon, action, }: SonnerContentProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { toast as sonnerToast, ExternalToast, ToasterProps as SonnerPrimitiveProps } from 'sonner';
|
|
2
|
-
|
|
3
|
-
declare const SONNER_POSITIONS: readonly ["top-left", "top-center", "top-right", "bottom-left", "bottom-center", "bottom-right"];
|
|
4
|
-
export type SonnerPosition = (typeof SONNER_POSITIONS)[number];
|
|
5
|
-
export type SonnerAnnouncement = "polite" | "assertive";
|
|
6
|
-
type SonnerMessage = Parameters<typeof sonnerToast>[0];
|
|
7
|
-
export type SonnerToastOptions = Omit<ExternalToast, "important"> & {
|
|
8
|
-
announcement?: SonnerAnnouncement;
|
|
9
|
-
};
|
|
10
|
-
export type SonnerProps = SonnerPrimitiveProps;
|
|
11
|
-
export declare function Sonner({ className, position, visibleToasts, expand, containerAriaLabel, toastOptions, ...props }: SonnerProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare function toast(message: SonnerMessage, options?: SonnerToastOptions): string | number;
|
|
13
|
-
export declare namespace toast {
|
|
14
|
-
var success: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
15
|
-
var info: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
16
|
-
var warning: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
17
|
-
var error: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
18
|
-
var loading: (message: SonnerMessage, options?: SonnerToastOptions) => string | number;
|
|
19
|
-
var dismiss: (id?: number | string) => string | number;
|
|
20
|
-
}
|
|
21
|
-
export { SONNER_POSITIONS };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Switch } from './switch';
|
|
2
|
-
export type { SwitchProps } from './switch';
|
|
3
|
-
export { SwitchField, SWITCH_FIELD_APPEARANCES, SWITCH_FIELD_LAYOUTS, } from './switch-field';
|
|
4
|
-
export type { SwitchFieldAppearance, SwitchFieldLayout, SwitchFieldProps, } from './switch-field';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Switch } from './switch';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export declare const SWITCH_FIELD_APPEARANCES: readonly ["plain", "card"];
|
|
4
|
-
export type SwitchFieldAppearance = (typeof SWITCH_FIELD_APPEARANCES)[number];
|
|
5
|
-
export declare const SWITCH_FIELD_LAYOUTS: readonly ["inline", "block"];
|
|
6
|
-
export type SwitchFieldLayout = (typeof SWITCH_FIELD_LAYOUTS)[number];
|
|
7
|
-
/** @deprecated Prefer composing `Field` + `Switch` for new form layouts. */
|
|
8
|
-
export interface SwitchFieldProps extends Omit<React.ComponentPropsWithoutRef<typeof Switch>, "id" | "children"> {
|
|
9
|
-
/** Primary label (always shown). */
|
|
10
|
-
label: React.ReactNode;
|
|
11
|
-
/** Optional secondary line (12px muted); works for both plain and card. */
|
|
12
|
-
secondaryText?: React.ReactNode;
|
|
13
|
-
/** `plain` — no border/padding; `card` — bordered padded container. */
|
|
14
|
-
appearance?: SwitchFieldAppearance;
|
|
15
|
-
/** `inline` — compact label; `block` — label row can grow. */
|
|
16
|
-
layout?: SwitchFieldLayout;
|
|
17
|
-
/** Place switch on the right of the text block. */
|
|
18
|
-
flipped?: boolean;
|
|
19
|
-
id?: string;
|
|
20
|
-
}
|
|
21
|
-
/** @deprecated Prefer composing `Field` + `Switch` for new form layouts. */
|
|
22
|
-
declare const SwitchField: React.ForwardRefExoticComponent<SwitchFieldProps & React.RefAttributes<HTMLButtonElement>>;
|
|
23
|
-
export { SwitchField };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
3
|
-
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
-
export type SwitchProps = React.ComponentPropsWithoutRef<typeof Switch>;
|
|
5
|
-
export { Switch };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare const TEXTAREA_RESIZE: readonly ["none", "vertical", "horizontal", "both"];
|
|
3
|
-
export type TextareaResize = (typeof TEXTAREA_RESIZE)[number];
|
|
4
|
-
export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "resize"> {
|
|
5
|
-
/** Controls CSS `resize`. Default `vertical`. */
|
|
6
|
-
resize?: TextareaResize;
|
|
7
|
-
}
|
|
8
|
-
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
9
|
-
export { Textarea };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { Toggle } from './toggle';
|
|
2
|
-
export type { ToggleProps } from './toggle';
|
|
3
|
-
export { ToggleGroup, ToggleGroupItem } from './toggle-group';
|
|
4
|
-
export type { ToggleGroupProps, ToggleGroupItemProps } from './toggle-group';
|
|
5
|
-
export { TOGGLE_SIZES, TOGGLE_SKINS } from './constants';
|
|
6
|
-
export type { ToggleSize, ToggleSkin } from './constants';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ToggleSize, ToggleSkin } from './constants';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
4
|
-
export type ToggleGroupProps = React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root>;
|
|
5
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<ToggleGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export interface ToggleGroupItemProps extends React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> {
|
|
7
|
-
size?: ToggleSize;
|
|
8
|
-
skin?: ToggleSkin;
|
|
9
|
-
}
|
|
10
|
-
declare const ToggleGroupItem: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ToggleSize, ToggleSkin } from './constants';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
4
|
-
export interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> {
|
|
5
|
-
size?: ToggleSize;
|
|
6
|
-
skin?: ToggleSkin;
|
|
7
|
-
}
|
|
8
|
-
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
export { Toggle };
|
package/dist/field.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { cn } from './lib/utils';
|
|
2
|
-
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FIELD_ORIENTATIONS, } from './components/ui/field';
|
|
3
|
-
export type { FieldErrorProps, FieldLegendProps, FieldLegendVariant, FieldOrientation, FieldProps, } from './components/ui/field';
|
package/dist/index.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export { cn } from './lib/utils';
|
|
3
|
-
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, BUTTON_GROUP_ORIENTATIONS, } from './components/ui/button-group';
|
|
4
|
-
export type { ButtonGroupProps, ButtonGroupTextProps, ButtonGroupSeparatorProps, ButtonGroupOrientation, } from './components/ui/button-group';
|
|
5
|
-
export { ContentCard } from './components/ui/content-card';
|
|
6
|
-
export type { ContentCardProps } from './components/ui/content-card';
|
|
7
|
-
export { KuatHeader, kuatHeaderVariants, EELogo, KUAT_HEADER_LOCKUP_VARIANTS, } from './components/ui/kuat-header';
|
|
8
|
-
export type { KuatHeaderProps, EELogoProps, KuatHeaderLockupVariant, KuatHeaderSubItem, KuatHeaderNavItem, KuatHeaderActionItem, } from './components/ui/kuat-header';
|
|
9
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, useCarousel, } from './components/ui/carousel';
|
|
10
|
-
export type { CarouselItemBasis, CarouselResponsiveBasis, CarouselEventHandler, CarouselEventHandlers, CarouselProps, CarouselContentProps, CarouselItemProps, } from './components/ui/carousel';
|
|
11
|
-
export { KuatCarousel, KuatCarouselContent, KuatCarouselItem, KuatCarouselPrevious, KuatCarouselNext, useKuatCarousel, } from './components/ui/kuat-carousel';
|
|
12
|
-
export type { KuatCarouselSlidesPerView, KuatCarouselProps, KuatCarouselContentProps, KuatCarouselItemProps, } from './components/ui/kuat-carousel';
|
|
13
|
-
export { KuatRadialProgress, KUAT_RADIAL_PROGRESS_SIZES, KUAT_RADIAL_PROGRESS_COLORS, } from './components/ui/kuat-radial-progress';
|
|
14
|
-
export type { KuatRadialProgressProps, KuatRadialProgressSize, KuatRadialProgressColor, } from './components/ui/kuat-radial-progress';
|
|
15
|
-
export { KuatLogoLockup, KUAT_LOGO_LOCKUP_USE, KUAT_LOGO_LOCKUP_MODE, } from './components/ui/kuat-logo-lockup';
|
|
16
|
-
export type { KuatLogoLockupProps, KuatLogoLockupUse, KuatLogoLockupMode, } from './components/ui/kuat-logo-lockup';
|
|
17
|
-
export { EELogoIcon } from './components/ui/ee-logo-icon';
|
|
18
|
-
export type { EELogoIconProps } from './components/ui/ee-logo-icon';
|
|
19
|
-
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent, } from './components/ui/accordion';
|
|
20
|
-
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, } from './components/ui/alert-dialog';
|
|
21
|
-
export { Badge, badgeVariants, BADGE_VARIANTS, BADGE_ROUNDNESS } from './components/ui/badge';
|
|
22
|
-
export type { BadgeProps, BadgeVariant, BadgeRoundness } from './components/ui/badge';
|
|
23
|
-
export { Breadcrumb, BreadcrumbRoot, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, } from './components/ui/breadcrumb';
|
|
24
|
-
export type { BreadcrumbProps, BreadcrumbItemEntry, BreadcrumbLinkProps, } from './components/ui/breadcrumb';
|
|
25
|
-
export { Button, buttonVariants, BUTTON_VARIANTS, BUTTON_SIZES, BUTTON_COLORS, } from './components/ui/button';
|
|
26
|
-
export type { ButtonProps, ButtonVariant, ButtonSize, ButtonColor } from './components/ui/button';
|
|
27
|
-
export { Textarea, TEXTAREA_RESIZE } from './components/ui/textarea';
|
|
28
|
-
export type { TextareaProps, TextareaResize } from './components/ui/textarea';
|
|
29
|
-
export { Input, INPUT_SIZES } from './components/ui/input';
|
|
30
|
-
export type { InputProps, InputSize } from './components/ui/input';
|
|
31
|
-
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FIELD_ORIENTATIONS, } from './components/ui/field';
|
|
32
|
-
export type { FieldErrorProps, FieldLegendProps, FieldLegendVariant, FieldOrientation, FieldProps, } from './components/ui/field';
|
|
33
|
-
export { KuatSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SELECT_LINES, SELECT_SIZES, } from './components/ui/select';
|
|
34
|
-
export type { KuatSelectProps, SelectContentProps, SelectItemGroup, SelectItemOption, SelectItemProps, SelectItems, SelectLabelProps, SelectLines, SelectProps, SelectSeparatorProps, SelectSize, SelectTriggerProps, SelectValueProps, } from './components/ui/select';
|
|
35
|
-
export { Checkbox, CheckboxField, CHECKBOX_FIELD_APPEARANCES, CHECKBOX_FIELD_LAYOUTS, } from './components/ui/checkbox';
|
|
36
|
-
export type { CheckboxProps, CheckboxFieldAppearance, CheckboxFieldLayout, CheckboxFieldProps, } from './components/ui/checkbox';
|
|
37
|
-
export { RadioGroup, RadioGroupItem, RadioField, RADIO_FIELD_APPEARANCES, RADIO_FIELD_LAYOUTS, } from './components/ui/radio';
|
|
38
|
-
export type { RadioGroupProps, RadioGroupItemProps, RadioFieldAppearance, RadioFieldLayout, RadioFieldProps, } from './components/ui/radio';
|
|
39
|
-
export { Switch, SwitchField, SWITCH_FIELD_APPEARANCES, SWITCH_FIELD_LAYOUTS, } from './components/ui/switch';
|
|
40
|
-
export type { SwitchProps, SwitchFieldAppearance, SwitchFieldLayout, SwitchFieldProps, } from './components/ui/switch';
|
|
41
|
-
export { Toggle, ToggleGroup, ToggleGroupItem, TOGGLE_SIZES, TOGGLE_SKINS, } from './components/ui/toggle';
|
|
42
|
-
export type { ToggleProps, ToggleGroupProps, ToggleGroupItemProps, ToggleSize, ToggleSkin, } from './components/ui/toggle';
|
|
43
|
-
export { Sonner, SonnerContent, SONNER_POSITIONS, toast } from './components/ui/sonner';
|
|
44
|
-
export type { SonnerAnnouncement, SonnerContentAction, SonnerContentProps, SonnerPosition, SonnerProps, SonnerToastOptions, } from './components/ui/sonner';
|
package/dist/input.d.ts
DELETED
package/dist/kuat-carousel.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { KuatCarousel, KuatCarouselContent, KuatCarouselItem, KuatCarouselPrevious, KuatCarouselNext, useKuatCarousel, } from './components/ui/kuat-carousel';
|
|
2
|
-
export type { KuatCarouselSlidesPerView, KuatCarouselProps, KuatCarouselContentProps, KuatCarouselItemProps, } from './components/ui/kuat-carousel';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Subpath entry for Kuat Radial Progress. Import from
|
|
3
|
-
* "@equal-experts/kuat-react/kuat-radial-progress" to load only this
|
|
4
|
-
* component and its CSS.
|
|
5
|
-
*/
|
|
6
|
-
export { KuatRadialProgress, KUAT_RADIAL_PROGRESS_SIZES, KUAT_RADIAL_PROGRESS_COLORS, } from './components/ui/kuat-radial-progress';
|
|
7
|
-
export type { KuatRadialProgressProps, KuatRadialProgressSize, KuatRadialProgressColor, } from './components/ui/kuat-radial-progress';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* React 19's `ReactNode` includes `bigint`, while React 18 does not. Kuat packages
|
|
4
|
-
* may be typechecked against React 19 while consumers use React 18; narrowing
|
|
5
|
-
* children/slot props avoids `ForwardRefExoticComponent` JSX incompatibilities.
|
|
6
|
-
*/
|
|
7
|
-
export type KuatSlotContent = React.ReactElement | React.ReactPortal | string | number | boolean | null | undefined | ReadonlyArray<KuatSlotContent>;
|
package/dist/lib/utils.d.ts
DELETED
package/dist/radio.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { cn } from './lib/utils';
|
|
2
|
-
export { RadioGroup, RadioGroupItem, RadioField, RADIO_FIELD_APPEARANCES, RADIO_FIELD_LAYOUTS, } from './components/ui/radio';
|
|
3
|
-
export type { RadioGroupProps, RadioGroupItemProps, RadioFieldAppearance, RadioFieldLayout, RadioFieldProps, } from './components/ui/radio';
|
package/dist/select.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { cn } from './lib/utils';
|
|
2
|
-
export { KuatSelect, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SELECT_LINES, SELECT_SIZES, } from './components/ui/select';
|
|
3
|
-
export type { KuatSelectProps, SelectContentProps, SelectItemGroup, SelectItemOption, SelectItemProps, SelectItems, SelectLabelProps, SelectLines, SelectProps, SelectSeparatorProps, SelectSize, SelectTriggerProps, SelectValueProps, } from './components/ui/select';
|
package/dist/sonner.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components/ui/sonner';
|
package/dist/style.css.d.ts
DELETED
package/dist/switch.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components/ui/switch';
|
package/dist/test/setup.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/textarea.d.ts
DELETED
package/dist/toggle-group.d.ts
DELETED
package/dist/toggle.d.ts
DELETED