cekat-ui 1.0.7 → 1.2.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.
Files changed (87) hide show
  1. package/dist/components/Avatar/Avatar.d.ts +6 -0
  2. package/dist/components/Avatar/AvatarIcons.d.ts +8 -0
  3. package/dist/components/Avatar/avatar.styles.d.ts +12 -0
  4. package/dist/components/Avatar/avatar.types.d.ts +16 -0
  5. package/dist/components/Avatar/index.d.ts +3 -0
  6. package/dist/components/AvatarGroup/AvatarGroup.d.ts +6 -0
  7. package/dist/components/AvatarGroup/avatargroup.styles.d.ts +8 -0
  8. package/dist/components/AvatarGroup/avatargroup.types.d.ts +16 -0
  9. package/dist/components/AvatarGroup/index.d.ts +3 -0
  10. package/dist/components/AvatarLabelGroup/AvatarLabelGroup.d.ts +6 -0
  11. package/dist/components/AvatarLabelGroup/avatarlabelgroup.styles.d.ts +5 -0
  12. package/dist/components/AvatarLabelGroup/avatarlabelgroup.types.d.ts +14 -0
  13. package/dist/components/AvatarLabelGroup/index.d.ts +3 -0
  14. package/dist/components/AvatarProfilePhoto/AvatarProfilePhoto.d.ts +6 -0
  15. package/dist/components/AvatarProfilePhoto/avatarprofilephoto.styles.d.ts +10 -0
  16. package/dist/components/AvatarProfilePhoto/avatarprofilephoto.types.d.ts +12 -0
  17. package/dist/components/AvatarProfilePhoto/index.d.ts +3 -0
  18. package/dist/components/Badge/Badge.d.ts +6 -0
  19. package/dist/components/Badge/badge.styles.d.ts +20 -0
  20. package/dist/components/Badge/badge.types.d.ts +23 -0
  21. package/dist/components/Badge/index.d.ts +3 -0
  22. package/dist/components/BadgeGroup/BadgeGroup.d.ts +6 -0
  23. package/dist/components/BadgeGroup/badgegroup.styles.d.ts +28 -0
  24. package/dist/components/BadgeGroup/badgegroup.types.d.ts +19 -0
  25. package/dist/components/BadgeGroup/index.d.ts +3 -0
  26. package/dist/components/Button/Button.d.ts +1 -2
  27. package/dist/components/Button/button.styles.d.ts +2 -1
  28. package/dist/components/Button/button.types.d.ts +7 -6
  29. package/dist/components/Checkbox/checkbox.types.d.ts +3 -1
  30. package/dist/components/Dropdown/Dropdown.d.ts +2 -0
  31. package/dist/components/Dropdown/dropdown.styles.d.ts +19 -0
  32. package/dist/components/Dropdown/dropdown.types.d.ts +44 -0
  33. package/dist/components/Dropdown/index.d.ts +3 -0
  34. package/dist/components/Input/CardNumberInput.d.ts +19 -0
  35. package/dist/components/Input/Input.d.ts +2 -0
  36. package/dist/components/Input/InputCounter.d.ts +18 -0
  37. package/dist/components/Input/InputPrefix.d.ts +4 -0
  38. package/dist/components/Input/InputSuffix.d.ts +4 -0
  39. package/dist/components/Input/PhoneInput.d.ts +18 -0
  40. package/dist/components/Input/SaleAmountInput.d.ts +20 -0
  41. package/dist/components/Input/index.d.ts +13 -0
  42. package/dist/components/Input/input.styles.d.ts +36 -0
  43. package/dist/components/Input/input.types.d.ts +39 -0
  44. package/dist/components/InputDropdown/InputDropdown.d.ts +2 -0
  45. package/dist/components/InputDropdown/index.d.ts +3 -0
  46. package/dist/components/InputDropdown/inputDropdown.styles.d.ts +15 -0
  47. package/dist/components/InputDropdown/inputDropdown.types.d.ts +45 -0
  48. package/dist/components/Loading/Loading.d.ts +6 -0
  49. package/dist/components/Loading/LoadingSpinner.d.ts +9 -0
  50. package/dist/components/Loading/index.d.ts +3 -0
  51. package/dist/components/Loading/loading.styles.d.ts +6 -0
  52. package/dist/components/Loading/loading.types.d.ts +10 -0
  53. package/dist/components/MultiSelectInput/MultiSelectInput.d.ts +24 -0
  54. package/dist/components/MultiSelectInput/index.d.ts +1 -0
  55. package/dist/components/MultiSelectInput/multiSelectInput.styles.d.ts +17 -0
  56. package/dist/components/Radio/radio.types.d.ts +3 -1
  57. package/dist/components/Tab/Tab.d.ts +6 -0
  58. package/dist/components/Tab/TabList.d.ts +6 -0
  59. package/dist/components/Tab/index.d.ts +4 -0
  60. package/dist/components/Tab/tab.styles.d.ts +15 -0
  61. package/dist/components/Tab/tab.types.d.ts +24 -0
  62. package/dist/components/Tag/Tag.d.ts +6 -0
  63. package/dist/components/Tag/index.d.ts +3 -0
  64. package/dist/components/Tag/tag.styles.d.ts +19 -0
  65. package/dist/components/Tag/tag.types.d.ts +21 -0
  66. package/dist/components/Textarea/Textarea.d.ts +4 -0
  67. package/dist/components/Textarea/index.d.ts +3 -0
  68. package/dist/components/Textarea/textarea.styles.d.ts +14 -0
  69. package/dist/components/Textarea/textarea.types.d.ts +17 -0
  70. package/dist/components/Toggle/toggle.styles.d.ts +2 -1
  71. package/dist/components/Toggle/toggle.types.d.ts +5 -1
  72. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  73. package/dist/components/Tooltip/tooltip.styles.d.ts +2 -0
  74. package/dist/components/Tooltip/tooltip.types.d.ts +1 -0
  75. package/dist/components/WebsiteCopyInput/WebsiteCopyInput.d.ts +19 -0
  76. package/dist/components/WebsiteCopyInput/index.d.ts +1 -0
  77. package/dist/components/WebsiteCopyInput/websiteCopyInput.styles.d.ts +25 -0
  78. package/dist/components/WebsiteInput/WebsiteInput.d.ts +18 -0
  79. package/dist/components/WebsiteInput/index.d.ts +1 -0
  80. package/dist/components/WebsiteInput/websiteInput.styles.d.ts +24 -0
  81. package/dist/index.d.ts +16 -0
  82. package/dist/index.es.js +3023 -321
  83. package/dist/index.umd.js +1 -1
  84. package/dist/style.css +2131 -327
  85. package/dist/utils/color.d.ts +4 -0
  86. package/package.json +9 -7
  87. package/tailwind.preset.cjs +317 -0
@@ -0,0 +1,45 @@
1
+ import { ClassValue } from 'clsx';
2
+ import * as React from "react";
3
+ export type InputDropdownSize = "xs" | "sm" | "md";
4
+ export type InputDropdownType = "default" | "search" | "tags";
5
+ export interface InputDropdownOption {
6
+ id: string;
7
+ label: string;
8
+ /** Muted secondary text rendered after the label (e.g. "@nicholas"). */
9
+ supportingText?: string;
10
+ /** Leading icon rendered before the label. */
11
+ icon?: React.ReactNode;
12
+ /** Avatar image URL rendered before the label. */
13
+ avatar?: string;
14
+ /** Dot color rendered before the label (any CSS color). */
15
+ dot?: string;
16
+ disabled?: boolean;
17
+ }
18
+ export interface InputDropdownProps {
19
+ size?: InputDropdownSize;
20
+ /**
21
+ * "default" is a click-to-select dropdown, "search" adds a filter input,
22
+ * "tags" is a searchable multi-select with removable tags.
23
+ */
24
+ type?: InputDropdownType;
25
+ label?: string;
26
+ required?: boolean;
27
+ /** Tighter padding/height/radius and a smaller semibold label, independent of `size`'s font scale. Opt-in, does not affect default styling. */
28
+ compact?: boolean;
29
+ /** Rendered after the label (e.g. a help tooltip icon). */
30
+ helpIcon?: React.ReactNode;
31
+ hint?: string;
32
+ placeholder?: string;
33
+ disabled?: boolean;
34
+ /** Leading ornament shown on the trigger while no option is selected (e.g. a user icon or dot). */
35
+ leadingIcon?: React.ReactNode;
36
+ options: InputDropdownOption[];
37
+ /** Selected option id ("default" / "search" types). */
38
+ value?: string | null;
39
+ onChange?: (option: InputDropdownOption) => void;
40
+ /** Selected option ids ("tags" type). */
41
+ values?: string[];
42
+ onValuesChange?: (ids: string[]) => void;
43
+ className?: ClassValue;
44
+ wrapperClassName?: ClassValue;
45
+ }
@@ -0,0 +1,6 @@
1
+ import { LoadingProps } from './loading.types';
2
+ declare const Loading: {
3
+ ({ size, style, supportingText, label, className, }: LoadingProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default Loading;
@@ -0,0 +1,9 @@
1
+ export declare const LineSimpleSpinner: ({ size }: {
2
+ size: number;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const LineSpinnerSpinner: ({ size }: {
5
+ size: number;
6
+ }) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const DotCircleSpinner: ({ size }: {
8
+ size: number;
9
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { default as Loading } from './Loading';
2
+ export { Loading };
3
+ export type { LoadingProps, LoadingSize, LoadingStyle } from './loading.types';
@@ -0,0 +1,6 @@
1
+ import { LoadingSize } from './loading.types';
2
+ export declare const loadingSizeMap: Record<LoadingSize, {
3
+ box: number;
4
+ gapClass: string;
5
+ textClass: string;
6
+ }>;
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ export type LoadingSize = 'sm' | 'md' | 'lg' | 'xl';
3
+ export type LoadingStyle = 'line-simple' | 'line-spinner' | 'dot-circle';
4
+ export interface LoadingProps {
5
+ size?: LoadingSize;
6
+ style?: LoadingStyle;
7
+ supportingText?: boolean;
8
+ label?: React.ReactNode;
9
+ className?: string;
10
+ }
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ import { ClassValue } from 'clsx';
3
+ export interface MultiSelectOption {
4
+ id: string;
5
+ label: string;
6
+ avatar?: string;
7
+ }
8
+ interface MultiSelectInputProps {
9
+ size?: 'sm' | 'md';
10
+ label?: string;
11
+ required?: boolean;
12
+ hint?: string;
13
+ error?: boolean;
14
+ disabled?: boolean;
15
+ placeholder?: string;
16
+ rightIcon?: React.ReactNode;
17
+ className?: ClassValue;
18
+ wrapperClassName?: ClassValue;
19
+ options: MultiSelectOption[];
20
+ value?: MultiSelectOption[];
21
+ onChange?: (value: MultiSelectOption[]) => void;
22
+ }
23
+ export declare function MultiSelectInput({ size, label, required, hint, error, disabled, placeholder, rightIcon, className, wrapperClassName, options, value, onChange, }: MultiSelectInputProps): import("react/jsx-runtime").JSX.Element;
24
+ export {};
@@ -0,0 +1 @@
1
+ export { MultiSelectInput } from './MultiSelectInput';
@@ -0,0 +1,17 @@
1
+ export declare const wrapperStyles: (props?: import('class-variance-authority/types').ClassProp) => string;
2
+ export declare const labelStyles: (props?: {
3
+ error?: boolean;
4
+ } & import('class-variance-authority/types').ClassProp) => string;
5
+ export declare const containerStyles: (props?: {
6
+ size?: "sm" | "md";
7
+ error?: boolean;
8
+ disabled?: boolean;
9
+ } & import('class-variance-authority/types').ClassProp) => string;
10
+ export declare const scrollAreaStyles: (props?: import('class-variance-authority/types').ClassProp) => string;
11
+ export declare const chipStyles: (props?: import('class-variance-authority/types').ClassProp) => string;
12
+ export declare const inputStyles: (props?: {
13
+ disabled?: boolean;
14
+ } & import('class-variance-authority/types').ClassProp) => string;
15
+ export declare const hintStyles: (props?: {
16
+ error?: boolean;
17
+ } & import('class-variance-authority/types').ClassProp) => string;
@@ -1,4 +1,6 @@
1
- export type RadioSize = 'sm' | 'md' | 'lg';
1
+ export type RadioSize = 'sm' | 'md'
2
+ /** @deprecated `lg` is no longer a distinct size — it now renders identically to `md` and will be removed in a future major version. Migrate to `md`. */
3
+ | 'lg';
2
4
  export interface RadioGroupProps {
3
5
  value?: string;
4
6
  defaultValue?: string;
@@ -0,0 +1,6 @@
1
+ import { TabProps } from './tab.types';
2
+ declare const Tab: {
3
+ ({ children, variant, size, active, fullWidth, count, disabled, onClick, className, }: TabProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default Tab;
@@ -0,0 +1,6 @@
1
+ import { TabListProps } from './tab.types';
2
+ declare const TabList: {
3
+ ({ children, variant, orientation, boxed, className, }: TabListProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default TabList;
@@ -0,0 +1,4 @@
1
+ import { default as Tab } from './Tab';
2
+ import { default as TabList } from './TabList';
3
+ export { Tab, TabList };
4
+ export type { TabProps, TabVariant, TabSize, TabListProps, TabListOrientation, } from './tab.types';
@@ -0,0 +1,15 @@
1
+ import { TabVariant, TabSize } from './tab.types';
2
+ export declare const tabSizeMap: Record<TabVariant, Record<TabSize, string>>;
3
+ export declare const tabRadiusMap: Record<TabVariant, string>;
4
+ export declare const tabColorMap: Record<TabVariant, {
5
+ active: string;
6
+ inactive: string;
7
+ hoverInactive: string;
8
+ hasFocusRing: boolean;
9
+ }>;
10
+ /** Count badge is always neutral gray in Figma, regardless of tab variant/active state. */
11
+ export declare const tabBadgeClasses = "inline-flex items-center justify-center rounded-full border border-light-200 bg-light-50 px-2 py-0.5 text-caption-sm font-medium text-light-700";
12
+ export declare const tabListStyleMap: Record<TabVariant, {
13
+ gapClass: string;
14
+ hasHairline: boolean;
15
+ }>;
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+ export type TabVariant = 'button-gray' | 'button-white' | 'button-primary' | 'underline' | 'underline-filled' | 'line';
3
+ export type TabSize = 'sm' | 'md';
4
+ export interface TabProps {
5
+ children: React.ReactNode;
6
+ variant?: TabVariant;
7
+ size?: TabSize;
8
+ active?: boolean;
9
+ fullWidth?: boolean;
10
+ count?: number | string;
11
+ disabled?: boolean;
12
+ onClick?: () => void;
13
+ className?: string;
14
+ }
15
+ export type TabListOrientation = 'horizontal' | 'vertical';
16
+ export interface TabListProps {
17
+ children: React.ReactNode;
18
+ /** Controls the default gap and whether a bottom hairline is drawn under the row. */
19
+ variant?: TabVariant;
20
+ orientation?: TabListOrientation;
21
+ /** Wraps the tabs in a padded gray card (used by the "boxed" button-tab treatments). */
22
+ boxed?: boolean;
23
+ className?: string;
24
+ }
@@ -0,0 +1,6 @@
1
+ import { TagProps } from './tag.types';
2
+ declare const Tag: {
3
+ ({ children, size, shape, icon, checked, onCheckedChange, onClose, count, disabled, className, color, customColor, }: TagProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default Tag;
@@ -0,0 +1,3 @@
1
+ import { default as Tag } from './Tag';
2
+ export { Tag };
3
+ export type { TagProps, TagSize, TagShape, TagColor } from './tag.types';
@@ -0,0 +1,19 @@
1
+ import { TagColor } from './tag.types';
2
+ export declare const tagColorStyles: Record<TagColor, {
3
+ bg: string;
4
+ border: string;
5
+ text: string;
6
+ }>;
7
+ export declare const tagStyles: (props?: {
8
+ size?: "sm" | "md" | "lg";
9
+ shape?: "rounded" | "pill";
10
+ hasLeading?: boolean;
11
+ hasTrailing?: boolean;
12
+ interactive?: boolean;
13
+ disabled?: boolean;
14
+ } & import('class-variance-authority/types').ClassProp) => string;
15
+ export declare const tagCheckboxStyles: (props?: {
16
+ checked?: boolean;
17
+ } & import('class-variance-authority/types').ClassProp) => string;
18
+ export declare const tagCountStyles = "shrink-0 rounded-[3px] bg-light-100 px-1 text-light-800";
19
+ export declare const tagCloseButtonStyles = "shrink-0 rounded-[3px] p-0.5 hover:bg-black/5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-400";
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ export type TagSize = 'sm' | 'md' | 'lg';
3
+ export type TagShape = 'rounded' | 'pill';
4
+ export type TagColor = 'brand' | 'gray' | 'error' | 'warning' | 'success' | 'blue-gray' | 'blue-light' | 'indigo' | 'purple' | 'blue' | 'pink' | 'orange';
5
+ export interface TagProps {
6
+ children: React.ReactNode;
7
+ size?: TagSize;
8
+ /** Corner style. 'rounded' = rounded-md (default), 'pill' = fully rounded. */
9
+ shape?: TagShape;
10
+ icon?: React.ReactNode;
11
+ checked?: boolean;
12
+ onCheckedChange?: (checked: boolean) => void;
13
+ onClose?: () => void;
14
+ count?: number | string;
15
+ disabled?: boolean;
16
+ className?: string;
17
+ /** Named accent color token for the border, background and text. Defaults to 'gray'. */
18
+ color?: TagColor;
19
+ /** Custom accent color as a 6-digit hex (e.g. "#13a8bf"), applied to border, background tint and text. Overrides `color` when set. Ignored if not a valid 6-digit hex. */
20
+ customColor?: string;
21
+ }
@@ -0,0 +1,4 @@
1
+ import { TextareaProps } from './textarea.types';
2
+ import * as React from "react";
3
+ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
4
+ export default Textarea;
@@ -0,0 +1,3 @@
1
+ import { default as Textarea } from './Textarea';
2
+ export { Textarea };
3
+ export type { TextareaProps } from './textarea.types';
@@ -0,0 +1,14 @@
1
+ export declare const textareaWrapperStyles = "flex flex-col gap-1 w-full max-w-[320px]";
2
+ export declare const textareaLabelStyles: (props?: {
3
+ error?: boolean;
4
+ } & import('class-variance-authority/types').ClassProp) => string;
5
+ export declare const textareaContainerStyles: (props?: {
6
+ error?: boolean;
7
+ disabled?: boolean;
8
+ } & import('class-variance-authority/types').ClassProp) => string;
9
+ export declare const textareaStyles: (props?: {
10
+ resizable?: boolean;
11
+ } & import('class-variance-authority/types').ClassProp) => string;
12
+ export declare const textareaHintStyles: (props?: {
13
+ error?: boolean;
14
+ } & import('class-variance-authority/types').ClassProp) => string;
@@ -0,0 +1,17 @@
1
+ import { ClassValue } from 'clsx';
2
+ import * as React from "react";
3
+ export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "className"> {
4
+ label?: string;
5
+ required?: boolean;
6
+ hint?: string;
7
+ helpIcon?: React.ReactNode;
8
+ error?: boolean;
9
+ disabled?: boolean;
10
+ resizable?: boolean;
11
+ /** Tighter padding/min-height and a smaller semibold label, for compact form layouts (e.g. a multi-field grid). Opt-in, does not affect default styling. */
12
+ compact?: boolean;
13
+ /** Number of visible text lines. Drives an explicit min-height (rows × 20px line-height) that overrides the default/compact min-height, instead of just being a floor the browser's intrinsic sizing can exceed unpredictably. */
14
+ rows?: number;
15
+ className?: ClassValue;
16
+ wrapperClassName?: ClassValue;
17
+ }
@@ -2,8 +2,9 @@ export declare const toggleTrackStyles: (props?: {
2
2
  size?: "sm" | "md" | "lg";
3
3
  checked?: boolean;
4
4
  disabled?: boolean;
5
+ variant?: "default" | "success";
5
6
  } & import('class-variance-authority/types').ClassProp) => string;
6
7
  export declare const toggleThumbStyles: (props?: {
7
8
  size?: "sm" | "md" | "lg";
8
- checked?: boolean;
9
+ disabled?: boolean;
9
10
  } & import('class-variance-authority/types').ClassProp) => string;
@@ -1,7 +1,11 @@
1
1
  import * as React from 'react';
2
- export type ToggleSize = 'sm' | 'md' | 'lg';
2
+ export type ToggleSize = 'sm' | 'md'
3
+ /** @deprecated `lg` is no longer a distinct size — it now renders identically to `md` and will be removed in a future major version. Migrate to `md`. */
4
+ | 'lg';
5
+ export type ToggleVariant = 'default' | 'success';
3
6
  export interface ToggleProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
4
7
  checked?: boolean;
5
8
  size?: ToggleSize;
9
+ variant?: ToggleVariant;
6
10
  onCheckedChange?: (checked: boolean) => void;
7
11
  }
@@ -1,6 +1,6 @@
1
1
  import { TooltipProps } from './tooltip.types';
2
2
  declare const Tooltip: {
3
- ({ content, side, open, defaultOpen, disabled, delay, className, children, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
3
+ ({ content, supportingText, side, open, defaultOpen, disabled, delay, className, children, }: TooltipProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  };
6
6
  export default Tooltip;
@@ -1,6 +1,8 @@
1
1
  export declare const tooltipContentStyles: (props?: {
2
2
  side?: "top" | "bottom" | "left" | "right";
3
+ hasSupportingText?: boolean;
3
4
  } & import('class-variance-authority/types').ClassProp) => string;
5
+ export declare const tooltipSupportingTextStyles = "mt-1 font-medium text-light-100";
4
6
  export declare const tooltipArrowStyles: (props?: {
5
7
  side?: "top" | "bottom" | "left" | "right";
6
8
  } & import('class-variance-authority/types').ClassProp) => string;
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  export type TooltipSide = 'top' | 'bottom' | 'left' | 'right';
3
3
  export interface TooltipProps {
4
4
  content: React.ReactNode;
5
+ supportingText?: React.ReactNode;
5
6
  children: React.ReactElement;
6
7
  side?: TooltipSide;
7
8
  open?: boolean;
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ import { ClassValue } from 'clsx';
3
+ interface WebsiteCopyInputProps {
4
+ size?: "sm" | "md";
5
+ label?: string;
6
+ required?: boolean;
7
+ hint?: string;
8
+ error?: boolean;
9
+ disabled?: boolean;
10
+ placeholder?: string;
11
+ value?: string;
12
+ rightIcon?: React.ReactNode;
13
+ suffix?: React.ReactNode;
14
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
15
+ className?: ClassValue;
16
+ wrapperClassName?: ClassValue;
17
+ }
18
+ export declare function WebsiteCopyInput({ size, label, required, hint, error, disabled, placeholder, value, rightIcon, suffix, onChange, className, wrapperClassName, }: WebsiteCopyInputProps): import("react/jsx-runtime").JSX.Element;
19
+ export {};
@@ -0,0 +1 @@
1
+ export { WebsiteCopyInput } from '../WebsiteCopyInput/WebsiteCopyInput';
@@ -0,0 +1,25 @@
1
+ export declare const wrapperStyles: (props?: import('class-variance-authority/types').ClassProp) => string;
2
+ export declare const labelStyles: (props?: {
3
+ error?: boolean;
4
+ } & import('class-variance-authority/types').ClassProp) => string;
5
+ export declare const containerStyles: (props?: {
6
+ disabled?: boolean;
7
+ } & import('class-variance-authority/types').ClassProp) => string;
8
+ export declare const inputAreaStyles: (props?: {
9
+ size?: "sm" | "md";
10
+ error?: boolean;
11
+ disabled?: boolean;
12
+ } & import('class-variance-authority/types').ClassProp) => string;
13
+ export declare const dividerStyles: (props?: {
14
+ error?: boolean;
15
+ } & import('class-variance-authority/types').ClassProp) => string;
16
+ export declare const suffixStyles: (props?: {
17
+ size?: "sm" | "md";
18
+ disabled?: boolean;
19
+ } & import('class-variance-authority/types').ClassProp) => string;
20
+ export declare const inputStyles: (props?: {
21
+ disabled?: boolean;
22
+ } & import('class-variance-authority/types').ClassProp) => string;
23
+ export declare const hintStyles: (props?: {
24
+ error?: boolean;
25
+ } & import('class-variance-authority/types').ClassProp) => string;
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { ClassValue } from 'clsx';
3
+ interface WebsiteInputProps {
4
+ size?: "sm" | "md";
5
+ label?: string;
6
+ required?: boolean;
7
+ hint?: string;
8
+ error?: boolean;
9
+ disabled?: boolean;
10
+ placeholder?: string;
11
+ value?: string;
12
+ rightIcon?: React.ReactNode;
13
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
14
+ className?: ClassValue;
15
+ wrapperClassName?: ClassValue;
16
+ }
17
+ export declare function WebsiteInput({ size, label, required, hint, error, disabled, placeholder, value, rightIcon, onChange, className, wrapperClassName, }: WebsiteInputProps): import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -0,0 +1 @@
1
+ export { WebsiteInput } from '../WebsiteInput/WebsiteInput';
@@ -0,0 +1,24 @@
1
+ export declare const wrapperStyles: (props?: import('class-variance-authority/types').ClassProp) => string;
2
+ export declare const labelStyles: (props?: {
3
+ error?: boolean;
4
+ } & import('class-variance-authority/types').ClassProp) => string;
5
+ export declare const containerStyles: (props?: {
6
+ error?: boolean;
7
+ disabled?: boolean;
8
+ } & import('class-variance-authority/types').ClassProp) => string;
9
+ export declare const prefixStyles: (props?: {
10
+ size?: "sm" | "md";
11
+ disabled?: boolean;
12
+ } & import('class-variance-authority/types').ClassProp) => string;
13
+ export declare const dividerStyles = "w-px bg-light-200";
14
+ export declare const inputAreaStyles: (props?: {
15
+ size?: "sm" | "md";
16
+ error?: boolean;
17
+ disabled?: boolean;
18
+ } & import('class-variance-authority/types').ClassProp) => string;
19
+ export declare const inputStyles: (props?: {
20
+ disabled?: boolean;
21
+ } & import('class-variance-authority/types').ClassProp) => string;
22
+ export declare const hintStyles: (props?: {
23
+ error?: boolean;
24
+ } & import('class-variance-authority/types').ClassProp) => string;
package/dist/index.d.ts CHANGED
@@ -3,3 +3,19 @@ export * from './components/Checkbox';
3
3
  export * from './components/Radio';
4
4
  export * from './components/Toggle';
5
5
  export * from './components/Tooltip';
6
+ export * from './components/Tag';
7
+ export * from './components/Badge';
8
+ export * from './components/BadgeGroup';
9
+ export * from './components/Loading';
10
+ export * from './components/Avatar';
11
+ export * from './components/AvatarGroup';
12
+ export * from './components/AvatarLabelGroup';
13
+ export * from './components/AvatarProfilePhoto';
14
+ export * from './components/Tab';
15
+ export * from './components/Input';
16
+ export * from './components/Textarea';
17
+ export * from './components/MultiSelectInput';
18
+ export * from './components/WebsiteInput';
19
+ export * from './components/WebsiteCopyInput';
20
+ export * from './components/InputDropdown';
21
+ export * from './components/Dropdown';