@tqc-solution/design-system 0.1.73

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 (131) hide show
  1. package/README.md +207 -0
  2. package/dist/assets/icon/IconAi.d.ts +3 -0
  3. package/dist/assets/icon/IconAlertTriangleSolid.d.ts +3 -0
  4. package/dist/assets/icon/IconAudio.d.ts +3 -0
  5. package/dist/assets/icon/IconCalendar.d.ts +3 -0
  6. package/dist/assets/icon/IconCaretDown.d.ts +3 -0
  7. package/dist/assets/icon/IconCheck.d.ts +3 -0
  8. package/dist/assets/icon/IconCheckCircleSolid.d.ts +3 -0
  9. package/dist/assets/icon/IconChevronLeft.d.ts +3 -0
  10. package/dist/assets/icon/IconChevronRight.d.ts +3 -0
  11. package/dist/assets/icon/IconCircleArrowLeftSolid.d.ts +3 -0
  12. package/dist/assets/icon/IconCircleArrowRightSolid.d.ts +3 -0
  13. package/dist/assets/icon/IconClock.d.ts +3 -0
  14. package/dist/assets/icon/IconClose.d.ts +3 -0
  15. package/dist/assets/icon/IconCloseCircleSolid.d.ts +3 -0
  16. package/dist/assets/icon/IconColumns.d.ts +3 -0
  17. package/dist/assets/icon/IconCopy.d.ts +3 -0
  18. package/dist/assets/icon/IconDelete.d.ts +3 -0
  19. package/dist/assets/icon/IconDocument.d.ts +3 -0
  20. package/dist/assets/icon/IconExcel.d.ts +3 -0
  21. package/dist/assets/icon/IconEye.d.ts +3 -0
  22. package/dist/assets/icon/IconEyeSlash.d.ts +3 -0
  23. package/dist/assets/icon/IconFile.d.ts +3 -0
  24. package/dist/assets/icon/IconFolder.d.ts +3 -0
  25. package/dist/assets/icon/IconImg.d.ts +3 -0
  26. package/dist/assets/icon/IconInfoSolid.d.ts +3 -0
  27. package/dist/assets/icon/IconPdf.d.ts +3 -0
  28. package/dist/assets/icon/IconPowerPoint.d.ts +3 -0
  29. package/dist/assets/icon/IconPts.d.ts +3 -0
  30. package/dist/assets/icon/IconSearch.d.ts +3 -0
  31. package/dist/assets/icon/IconSmallCaretRightSolid.d.ts +3 -0
  32. package/dist/assets/icon/IconTemplate.d.ts +3 -0
  33. package/dist/assets/icon/IconTxt.d.ts +3 -0
  34. package/dist/assets/icon/IconUpload.d.ts +3 -0
  35. package/dist/assets/icon/IconVideo.d.ts +3 -0
  36. package/dist/assets/icon/IconWord.d.ts +3 -0
  37. package/dist/assets/icon/IconZip.d.ts +3 -0
  38. package/dist/components/Alert/Alert.d.ts +13 -0
  39. package/dist/components/Alert/index.d.ts +2 -0
  40. package/dist/components/Avatar/Avatar.d.ts +37 -0
  41. package/dist/components/Avatar/index.d.ts +2 -0
  42. package/dist/components/Badge/Badge.d.ts +37 -0
  43. package/dist/components/Badge/index.d.ts +2 -0
  44. package/dist/components/Button/Button.d.ts +19 -0
  45. package/dist/components/Button/index.d.ts +2 -0
  46. package/dist/components/CardTable/CardTable.d.ts +87 -0
  47. package/dist/components/CardTable/index.d.ts +2 -0
  48. package/dist/components/Chart/BarChart/BarChart.d.ts +40 -0
  49. package/dist/components/Chart/BarChart/index.d.ts +2 -0
  50. package/dist/components/Chart/HorizontalBarChart/HorizontalBarChart.d.ts +32 -0
  51. package/dist/components/Chart/HorizontalBarChart/index.d.ts +2 -0
  52. package/dist/components/Chart/LineChart/LineChart.d.ts +48 -0
  53. package/dist/components/Chart/LineChart/index.d.ts +2 -0
  54. package/dist/components/Chart/MultiLineAndBarChart/MultiLineAndBarChart.d.ts +57 -0
  55. package/dist/components/Chart/MultiLineAndBarChart/index.d.ts +2 -0
  56. package/dist/components/Chart/MultilineChart/MultilineChart.d.ts +25 -0
  57. package/dist/components/Chart/MultilineChart/index.d.ts +2 -0
  58. package/dist/components/Chart/PieChart/PieChart.d.ts +20 -0
  59. package/dist/components/Chart/PieChart/index.d.ts +2 -0
  60. package/dist/components/Checkbox/Checkbox.d.ts +21 -0
  61. package/dist/components/Checkbox/index.d.ts +2 -0
  62. package/dist/components/DatePicker/DatePicker/DatePicker.d.ts +24 -0
  63. package/dist/components/DatePicker/DatePicker/index.d.ts +2 -0
  64. package/dist/components/DatePicker/DateRangePicker/DateRangePicker.d.ts +34 -0
  65. package/dist/components/DatePicker/DateRangePicker/index.d.ts +2 -0
  66. package/dist/components/DatePicker/MonthPicker/MonthPicker.d.ts +20 -0
  67. package/dist/components/DatePicker/MonthPicker/index.d.ts +2 -0
  68. package/dist/components/DatePicker/TimePicker/TimePicker.d.ts +20 -0
  69. package/dist/components/DatePicker/TimePicker/index.d.ts +2 -0
  70. package/dist/components/DatePicker/YearPicker/YearPicker.d.ts +20 -0
  71. package/dist/components/DatePicker/YearPicker/index.d.ts +2 -0
  72. package/dist/components/Editor/Editor.d.ts +16 -0
  73. package/dist/components/Editor/index.d.ts +2 -0
  74. package/dist/components/EditorHtml/EditorHtml.d.ts +35 -0
  75. package/dist/components/EditorHtml/index.d.ts +2 -0
  76. package/dist/components/EditorJs/EditorJs.d.ts +35 -0
  77. package/dist/components/EditorJs/index.d.ts +2 -0
  78. package/dist/components/Input/InputForm/InputForm.d.ts +42 -0
  79. package/dist/components/Input/InputForm/index.d.ts +2 -0
  80. package/dist/components/Input/InputFormSpecial/InputFormSpecial.d.ts +110 -0
  81. package/dist/components/Input/InputFormSpecial/index.d.ts +2 -0
  82. package/dist/components/Input/InputOTP/InputOTP.d.ts +29 -0
  83. package/dist/components/Input/InputOTP/index.d.ts +2 -0
  84. package/dist/components/Input/InputSearch/InputSearch.d.ts +34 -0
  85. package/dist/components/Input/InputSearch/index.d.ts +2 -0
  86. package/dist/components/InputText/InputText.d.ts +56 -0
  87. package/dist/components/InputText/index.d.ts +2 -0
  88. package/dist/components/Loading/Loading.d.ts +19 -0
  89. package/dist/components/Loading/index.d.ts +2 -0
  90. package/dist/components/Modal/Modal.d.ts +49 -0
  91. package/dist/components/Modal/index.d.ts +2 -0
  92. package/dist/components/Pagination/Pagination.d.ts +24 -0
  93. package/dist/components/Pagination/index.d.ts +2 -0
  94. package/dist/components/ProgressBar/ProgressBar.d.ts +21 -0
  95. package/dist/components/ProgressBar/index.d.ts +2 -0
  96. package/dist/components/RadioButton/RadioButton.d.ts +17 -0
  97. package/dist/components/RadioButton/index.d.ts +2 -0
  98. package/dist/components/Slider/Slider.d.ts +37 -0
  99. package/dist/components/Slider/index.d.ts +1 -0
  100. package/dist/components/TabBar/TabBar.d.ts +18 -0
  101. package/dist/components/TabBar/index.d.ts +2 -0
  102. package/dist/components/TabBarGroup/TabBarGroup.d.ts +32 -0
  103. package/dist/components/TabBarGroup/index.d.ts +2 -0
  104. package/dist/components/Tag/Tag.d.ts +45 -0
  105. package/dist/components/Tag/index.d.ts +2 -0
  106. package/dist/components/Toast/Toast.d.ts +9 -0
  107. package/dist/components/Toast/index.d.ts +2 -0
  108. package/dist/components/Toggle/Toggle.d.ts +17 -0
  109. package/dist/components/Toggle/index.d.ts +2 -0
  110. package/dist/components/Tooltip/Tooltip.d.ts +10 -0
  111. package/dist/components/Tooltip/index.d.ts +2 -0
  112. package/dist/components/Typography/Typography.d.ts +16 -0
  113. package/dist/components/Typography/index.d.ts +2 -0
  114. package/dist/components/Upload/Upload.d.ts +49 -0
  115. package/dist/components/Upload/index.d.ts +2 -0
  116. package/dist/index-BcEf-eHA.js +228 -0
  117. package/dist/index-BhBGF4B7.cjs +11 -0
  118. package/dist/index-DU1rSsif.js +548 -0
  119. package/dist/index-b5gz6Ifp.cjs +1 -0
  120. package/dist/index.cjs.js +58 -0
  121. package/dist/index.d.ts +74 -0
  122. package/dist/index.es.js +8045 -0
  123. package/dist/pubfuture.css +188 -0
  124. package/dist/quill-CqfsVyV-.js +7529 -0
  125. package/dist/quill-DqFubOCp.cjs +49 -0
  126. package/dist/tailwind/index.d.ts +4 -0
  127. package/dist/tailwind/index.js +2 -0
  128. package/dist/tailwind/pubfuture.preset.d.ts +4 -0
  129. package/dist/tailwind/pubfuture.preset.js +217 -0
  130. package/dist/types.d.ts +6 -0
  131. package/package.json +100 -0
@@ -0,0 +1,110 @@
1
+ import { type InputHTMLAttributes, type ReactNode, type ChangeEvent } from 'react';
2
+ export declare const InputFormSpecialType: {
3
+ readonly EMAIL: "email";
4
+ readonly PHONE: "phone";
5
+ readonly MONEY: "money";
6
+ readonly WEBSITE: "website";
7
+ readonly CARD: "card";
8
+ readonly MULTIPLE_TAG: "multiple-tag";
9
+ readonly PASSWORD: "password";
10
+ };
11
+ export type InputFormSpecialType = typeof InputFormSpecialType[keyof typeof InputFormSpecialType];
12
+ export type HelperTextType = 'default' | 'error' | 'success' | 'disabled';
13
+ export type HelperTextConfig = {
14
+ /** Helper text content */
15
+ text: string;
16
+ /** Type of helper text: 'default' | 'error' | 'success' | 'disabled' */
17
+ type?: HelperTextType;
18
+ /** Custom icon for helper text (overrides default icon based on type) */
19
+ icon?: ReactNode;
20
+ };
21
+ export type PasswordRule = {
22
+ /** Rule text */
23
+ text: string;
24
+ /** Whether the rule is satisfied */
25
+ satisfied: boolean;
26
+ };
27
+ export type InputFormSpecialProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'onChange'> & {
28
+ /** Unique identifier for the input field (required for label association) */
29
+ id: string;
30
+ /** Type of special input */
31
+ type: InputFormSpecialType;
32
+ /** Label text displayed above the input */
33
+ label?: string;
34
+ /** Whether the field is required (shows asterisk) */
35
+ required?: boolean;
36
+ /** Whether the field is in error state */
37
+ error?: boolean;
38
+ /** Helper text configuration */
39
+ helperText?: HelperTextConfig;
40
+ /** Right icon element (optional, will show default icons if not provided) */
41
+ rightIcon?: ReactNode;
42
+ /** Country code for phone type (default: 'US') */
43
+ countryCode?: string;
44
+ /** Callback when country code changes (for phone type) */
45
+ onCountryCodeChange?: (code: string) => void;
46
+ /** Prefix text for website type (default: 'http://') */
47
+ websitePrefix?: string;
48
+ /** Currency symbol for money type (default: '$') */
49
+ currencySymbol?: string;
50
+ /** Card icon/image for card type */
51
+ cardIcon?: ReactNode;
52
+ /** Password validation rules (for password type) */
53
+ passwordRules?: PasswordRule[];
54
+ /** Whether to show password toggle icon (for password type, default: true) */
55
+ showPasswordToggle?: boolean;
56
+ /** Maximum number of tags to display before showing "+X" (for multiple-tag type, undefined = auto-calculate based on width) */
57
+ maxVisibleTags?: number;
58
+ /** Additional CSS class name */
59
+ className?: string;
60
+ /** Input value - for MULTIPLE_TAG type, can be string (comma-separated) or string[] */
61
+ value?: string | string[];
62
+ /** Callback when value changes - for MULTIPLE_TAG type, can emit string or string[] */
63
+ onChange?: (e: ChangeEvent<HTMLInputElement> | {
64
+ target: {
65
+ value: string | string[];
66
+ };
67
+ }) => void;
68
+ };
69
+ export declare const InputFormSpecial: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "value" | "type"> & {
70
+ /** Unique identifier for the input field (required for label association) */
71
+ id: string;
72
+ /** Type of special input */
73
+ type: InputFormSpecialType;
74
+ /** Label text displayed above the input */
75
+ label?: string;
76
+ /** Whether the field is required (shows asterisk) */
77
+ required?: boolean;
78
+ /** Whether the field is in error state */
79
+ error?: boolean;
80
+ /** Helper text configuration */
81
+ helperText?: HelperTextConfig;
82
+ /** Right icon element (optional, will show default icons if not provided) */
83
+ rightIcon?: ReactNode;
84
+ /** Country code for phone type (default: 'US') */
85
+ countryCode?: string;
86
+ /** Callback when country code changes (for phone type) */
87
+ onCountryCodeChange?: (code: string) => void;
88
+ /** Prefix text for website type (default: 'http://') */
89
+ websitePrefix?: string;
90
+ /** Currency symbol for money type (default: '$') */
91
+ currencySymbol?: string;
92
+ /** Card icon/image for card type */
93
+ cardIcon?: ReactNode;
94
+ /** Password validation rules (for password type) */
95
+ passwordRules?: PasswordRule[];
96
+ /** Whether to show password toggle icon (for password type, default: true) */
97
+ showPasswordToggle?: boolean;
98
+ /** Maximum number of tags to display before showing "+X" (for multiple-tag type, undefined = auto-calculate based on width) */
99
+ maxVisibleTags?: number;
100
+ /** Additional CSS class name */
101
+ className?: string;
102
+ /** Input value - for MULTIPLE_TAG type, can be string (comma-separated) or string[] */
103
+ value?: string | string[];
104
+ /** Callback when value changes - for MULTIPLE_TAG type, can emit string or string[] */
105
+ onChange?: (e: ChangeEvent<HTMLInputElement> | {
106
+ target: {
107
+ value: string | string[];
108
+ };
109
+ }) => void;
110
+ } & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,2 @@
1
+ export { InputFormSpecial, InputFormSpecialType } from './InputFormSpecial';
2
+ export type { InputFormSpecialProps, HelperTextConfig, PasswordRule, } from './InputFormSpecial';
@@ -0,0 +1,29 @@
1
+ export type InputOTPSize = 'sm' | 'md';
2
+ export type InputOTPState = 'blank' | 'typing' | 'default' | 'success' | 'negative';
3
+ export type InputOTPProps = {
4
+ /** Number of OTP digits (default: 6) */
5
+ length?: number;
6
+ /** Size of OTP input: 'sm' | 'md' (default: 'sm') */
7
+ size?: InputOTPSize;
8
+ /** Gap between input fields in pixels (default: 24) */
9
+ gap?: number;
10
+ /** Controlled value (string of digits) */
11
+ value?: string;
12
+ /** Default value for uncontrolled component */
13
+ defaultValue?: string;
14
+ /** Callback when OTP value changes */
15
+ onChange?: (value: string) => void;
16
+ /** Callback when all digits are filled */
17
+ onComplete?: (value: string) => void;
18
+ /** Error state - can be boolean (all fields) or array of booleans (per field) */
19
+ error?: boolean | boolean[];
20
+ /** Success state - can be boolean (all fields) or array of booleans (per field) */
21
+ success?: boolean | boolean[];
22
+ /** Whether the OTP is disabled */
23
+ disabled?: boolean;
24
+ /** Auto focus on mount */
25
+ autoFocus?: boolean;
26
+ /** Additional CSS class name */
27
+ className?: string;
28
+ };
29
+ export declare const InputOTP: import("react").ForwardRefExoticComponent<InputOTPProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { InputOTP } from './InputOTP';
2
+ export type { InputOTPProps, InputOTPSize, InputOTPState } from './InputOTP';
@@ -0,0 +1,34 @@
1
+ import { type InputHTMLAttributes } from 'react';
2
+ export type InputSearchSize = 'sm' | 'md';
3
+ export type InputSearchProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> & {
4
+ /** Unique identifier for the input field (required for label association) */
5
+ id: string;
6
+ /** Label text displayed above the input */
7
+ label?: string;
8
+ /** Whether the field is required (shows asterisk) */
9
+ required?: boolean;
10
+ /** Size of the input: 'sm' | 'md' (default: 'sm') */
11
+ size?: InputSearchSize;
12
+ /** Placeholder text */
13
+ placeholder?: string;
14
+ /** Callback when clear icon is clicked */
15
+ onClear?: () => void;
16
+ /** Additional CSS class name */
17
+ className?: string;
18
+ };
19
+ export declare const InputSearch: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
20
+ /** Unique identifier for the input field (required for label association) */
21
+ id: string;
22
+ /** Label text displayed above the input */
23
+ label?: string;
24
+ /** Whether the field is required (shows asterisk) */
25
+ required?: boolean;
26
+ /** Size of the input: 'sm' | 'md' (default: 'sm') */
27
+ size?: InputSearchSize;
28
+ /** Placeholder text */
29
+ placeholder?: string;
30
+ /** Callback when clear icon is clicked */
31
+ onClear?: () => void;
32
+ /** Additional CSS class name */
33
+ className?: string;
34
+ } & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,2 @@
1
+ export { InputSearch } from './InputSearch';
2
+ export type { InputSearchProps, InputSearchSize } from './InputSearch';
@@ -0,0 +1,56 @@
1
+ import { type TextareaHTMLAttributes } from 'react';
2
+ export type ResizableType = 'vertical' | 'horizontal' | 'both' | 'none';
3
+ export type InputTextProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'rows' | 'resize'> & {
4
+ /** Controlled value */
5
+ value?: string;
6
+ /** Default value for uncontrolled component */
7
+ defaultValue?: string;
8
+ /** Placeholder text */
9
+ placeholder?: string;
10
+ /** Show line numbers on the left */
11
+ showLineNumbers?: boolean;
12
+ /** Show copy button in top right */
13
+ showCopyButton?: boolean;
14
+ /** Show line count in footer */
15
+ showLineCount?: boolean;
16
+ /** Show character count in footer */
17
+ showCharacterCount?: boolean;
18
+ /** Resize behavior */
19
+ resizable?: ResizableType;
20
+ /** Number of rows (initial height) */
21
+ rows?: number;
22
+ /** Maximum height of the textarea */
23
+ maxHeight?: string | number;
24
+ /** Read only mode */
25
+ /** Callback when copy button is clicked */
26
+ onCopy?: (content: string) => void;
27
+ /** Additional CSS class name */
28
+ className?: string;
29
+ };
30
+ export declare const InputText: import("react").ForwardRefExoticComponent<Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "resize" | "rows"> & {
31
+ /** Controlled value */
32
+ value?: string;
33
+ /** Default value for uncontrolled component */
34
+ defaultValue?: string;
35
+ /** Placeholder text */
36
+ placeholder?: string;
37
+ /** Show line numbers on the left */
38
+ showLineNumbers?: boolean;
39
+ /** Show copy button in top right */
40
+ showCopyButton?: boolean;
41
+ /** Show line count in footer */
42
+ showLineCount?: boolean;
43
+ /** Show character count in footer */
44
+ showCharacterCount?: boolean;
45
+ /** Resize behavior */
46
+ resizable?: ResizableType;
47
+ /** Number of rows (initial height) */
48
+ rows?: number;
49
+ /** Maximum height of the textarea */
50
+ maxHeight?: string | number;
51
+ /** Read only mode */
52
+ /** Callback when copy button is clicked */
53
+ onCopy?: (content: string) => void;
54
+ /** Additional CSS class name */
55
+ className?: string;
56
+ } & import("react").RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,2 @@
1
+ export { InputText } from './InputText';
2
+ export type { InputTextProps, ResizableType } from './InputText';
@@ -0,0 +1,19 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export type LoadingProps = HTMLAttributes<HTMLDivElement> & {
3
+ /** Custom text to display below the spinner */
4
+ text?: string;
5
+ /** Size of the loading spinner */
6
+ size?: 'sm' | 'md' | 'lg';
7
+ /** Variant of the loading spinner */
8
+ variant?: 'arc' | 'dot';
9
+ /** Progress percentage for colored portion (25% or 75%) - only for arc variant */
10
+ progress?: 25 | 75;
11
+ /** Display as fullscreen overlay */
12
+ fullScreen?: boolean;
13
+ /** Additional CSS class name */
14
+ className?: string;
15
+ };
16
+ export declare const Loading: {
17
+ ({ text, size, variant, progress, fullScreen, className, ...props }: LoadingProps): import("react/jsx-runtime").JSX.Element;
18
+ displayName: string;
19
+ };
@@ -0,0 +1,2 @@
1
+ export { Loading } from './Loading';
2
+ export type { LoadingProps } from './Loading';
@@ -0,0 +1,49 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export type ModalType = 'alert' | 'function' | 'special';
3
+ export interface ModalButton {
4
+ /** Button label text */
5
+ label: string;
6
+ /** Button type */
7
+ type?: 'primary' | 'secondary' | 'negative-primary' | 'negative-secondary';
8
+ /** Optional minimum width for the button (e.g. '90px', '120px', '100%') */
9
+ minWidth?: string;
10
+ /** Callback when button is clicked */
11
+ onClick?: () => void;
12
+ /** Whether button is disabled */
13
+ disabled?: boolean;
14
+ }
15
+ export interface ModalButtons {
16
+ /** Left/First button (typically Cancel) */
17
+ left?: ModalButton;
18
+ /** Right/Second button (typically Confirm/Save/Delete) */
19
+ right?: ModalButton;
20
+ }
21
+ export interface ModalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
22
+ /** Whether the modal is open */
23
+ open?: boolean;
24
+ /** Modal type: alert, function, or special */
25
+ type?: ModalType;
26
+ /** Header title (for alert and function types) */
27
+ title?: string;
28
+ /** Whether to show header */
29
+ header?: boolean;
30
+ /** Header description/support text (for function type) */
31
+ headerDescription?: ReactNode;
32
+ /** Banner image/illustration (for special type) */
33
+ bannerImage?: ReactNode;
34
+ /** Main content of the modal */
35
+ children?: ReactNode;
36
+ /** Footer buttons object with left and right buttons */
37
+ buttons?: ModalButtons;
38
+ /** Whether to show close button (for function type) */
39
+ showCloseButton?: boolean;
40
+ /** Callback when modal should close (click outside, close button, ESC key) */
41
+ onClose?: () => void;
42
+ /** Whether clicking overlay closes the modal */
43
+ closeOnOverlayClick?: boolean;
44
+ /** Whether pressing ESC closes the modal */
45
+ closeOnEsc?: boolean;
46
+ /** Additional CSS class name */
47
+ className?: string;
48
+ }
49
+ export declare const Modal: import("react").ForwardRefExoticComponent<ModalProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { Modal } from './Modal';
2
+ export type { ModalProps, ModalType, ModalButton, ModalButtons } from './Modal';
@@ -0,0 +1,24 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export interface PaginationProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
3
+ /** Total number of items */
4
+ total: number;
5
+ /** Current page (1-indexed) */
6
+ current?: number;
7
+ /** Number of items per page */
8
+ pageSize?: number;
9
+ /** Available page size options */
10
+ pageSizeOptions?: number[];
11
+ /** Callback when page changes */
12
+ onChange?: (page: number, pageSize: number) => void;
13
+ /** Callback when page size changes */
14
+ onPageSizeChange?: (pageSize: number) => void;
15
+ /** Show rows per page selector */
16
+ showPageSizeSelector?: boolean;
17
+ /** Show "Rows per page:" label */
18
+ showLabel?: boolean;
19
+ /** Maximum page size value allowed (default: 999) */
20
+ maxPageSize?: number;
21
+ /** Additional CSS class name */
22
+ className?: string;
23
+ }
24
+ export declare const Pagination: import("react").ForwardRefExoticComponent<PaginationProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { Pagination } from './Pagination';
2
+ export type { PaginationProps } from './Pagination';
@@ -0,0 +1,21 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export type ProgressBarProps = HTMLAttributes<HTMLDivElement> & {
3
+ /** Progress value from 0 to 100 */
4
+ value?: number;
5
+ /** Label position */
6
+ label?: 'none' | 'right' | 'bottom' | 'top-floating' | 'bottom-floating';
7
+ /** Custom label text (if not provided, will show percentage) */
8
+ labelText?: string;
9
+ /** Additional CSS class name */
10
+ className?: string;
11
+ };
12
+ export declare const ProgressBar: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
13
+ /** Progress value from 0 to 100 */
14
+ value?: number;
15
+ /** Label position */
16
+ label?: "none" | "right" | "bottom" | "top-floating" | "bottom-floating";
17
+ /** Custom label text (if not provided, will show percentage) */
18
+ labelText?: string;
19
+ /** Additional CSS class name */
20
+ className?: string;
21
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { ProgressBar } from './ProgressBar';
2
+ export type { ProgressBarProps } from './ProgressBar';
@@ -0,0 +1,17 @@
1
+ import { type InputHTMLAttributes } from 'react';
2
+ export type RadioButtonProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> & {
3
+ /** Radio button label text */
4
+ label?: string;
5
+ /** Show/hide label */
6
+ showLabel?: boolean;
7
+ /** Additional CSS class name */
8
+ className?: string;
9
+ };
10
+ export declare const RadioButton: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
11
+ /** Radio button label text */
12
+ label?: string;
13
+ /** Show/hide label */
14
+ showLabel?: boolean;
15
+ /** Additional CSS class name */
16
+ className?: string;
17
+ } & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,2 @@
1
+ export { RadioButton } from './RadioButton';
2
+ export type { RadioButtonProps } from './RadioButton';
@@ -0,0 +1,37 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ export type SliderProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> & {
3
+ /** Slider type */
4
+ type?: 'single' | 'dual';
5
+ /** Minimum value */
6
+ min?: number;
7
+ /** Maximum value */
8
+ max?: number;
9
+ /** Step value */
10
+ step?: number;
11
+ /** Current value (for single) or [min, max] (for dual) */
12
+ value?: number | [number, number];
13
+ /** Disabled state */
14
+ disabled?: boolean;
15
+ /** Change handler */
16
+ onChange?: (value: number | [number, number]) => void;
17
+ /** Additional CSS class name */
18
+ className?: string;
19
+ };
20
+ export declare const Slider: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "onChange"> & {
21
+ /** Slider type */
22
+ type?: "single" | "dual";
23
+ /** Minimum value */
24
+ min?: number;
25
+ /** Maximum value */
26
+ max?: number;
27
+ /** Step value */
28
+ step?: number;
29
+ /** Current value (for single) or [min, max] (for dual) */
30
+ value?: number | [number, number];
31
+ /** Disabled state */
32
+ disabled?: boolean;
33
+ /** Change handler */
34
+ onChange?: (value: number | [number, number]) => void;
35
+ /** Additional CSS class name */
36
+ className?: string;
37
+ } & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export { Slider, type SliderProps } from './Slider';
@@ -0,0 +1,18 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export type TabBarType = 'Underline' | 'Solid';
3
+ export type TabBarState = 'default' | 'selected' | 'disabled';
4
+ export interface TabBarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
5
+ /** Tab label text */
6
+ children: ReactNode;
7
+ /** Visual type of the tab */
8
+ type?: TabBarType;
9
+ /** State of the tab */
10
+ state?: TabBarState;
11
+ /** Left icon element */
12
+ leftIcon?: ReactNode;
13
+ /** Notification badge number */
14
+ notiBadge?: number;
15
+ /** Additional CSS class name */
16
+ className?: string;
17
+ }
18
+ export declare const TabBar: import("react").ForwardRefExoticComponent<TabBarProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ export { TabBar } from './TabBar';
2
+ export type { TabBarProps, TabBarType, TabBarState } from './TabBar';
@@ -0,0 +1,32 @@
1
+ import { type ReactNode } from 'react';
2
+ import { type TabBarType } from '../TabBar';
3
+ export interface TabBarItem {
4
+ /** Unique identifier for the tab */
5
+ key: string;
6
+ /** Tab label text */
7
+ label: ReactNode;
8
+ /** Left icon element */
9
+ leftIcon?: ReactNode;
10
+ /** Notification badge number */
11
+ notiBadge?: number;
12
+ /** Whether this tab is disabled */
13
+ disabled?: boolean;
14
+ }
15
+ export interface TabBarGroupProps {
16
+ /** Array of tab items */
17
+ items: TabBarItem[];
18
+ /** Visual type of the tab bar */
19
+ type?: TabBarType;
20
+ /** Default selected tab key */
21
+ defaultActiveKey?: string;
22
+ /** Controlled active tab key */
23
+ activeKey?: string;
24
+ /** Callback when tab is clicked */
25
+ onChange?: (key: string) => void;
26
+ /** Additional CSS class name */
27
+ className?: string;
28
+ }
29
+ export declare const TabBarGroup: {
30
+ ({ items, type, defaultActiveKey, activeKey: controlledActiveKey, onChange, className, }: TabBarGroupProps): import("react/jsx-runtime").JSX.Element;
31
+ displayName: string;
32
+ };
@@ -0,0 +1,2 @@
1
+ export { TabBarGroup } from './TabBarGroup';
2
+ export type { TabBarGroupProps, TabBarItem } from './TabBarGroup';
@@ -0,0 +1,45 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export type TagProps = Omit<HTMLAttributes<HTMLSpanElement>, 'color'> & {
3
+ /** Tag text content */
4
+ children: ReactNode;
5
+ /** Visual type of the tag */
6
+ type?: 'blue' | 'grey' | 'white';
7
+ /** Size of the tag */
8
+ size?: 'sm' | 'md' | 'lg';
9
+ /** Icon to display at the start of the tag */
10
+ startIcon?: ReactNode;
11
+ /** Type of startIcon: 'icon' will be disabled with tag, 'avatar' maintains original color */
12
+ startIconType?: 'icon' | 'avatar';
13
+ /** Custom close icon - pass ReactNode for custom icon, null/false to hide, undefined (default) shows default icon */
14
+ closeIcon?: ReactNode | null | false;
15
+ /** Callback function when close button is clicked */
16
+ onClose?: () => void;
17
+ /** Additional CSS class name */
18
+ className?: string;
19
+ /** Disabled state */
20
+ disabled?: boolean;
21
+ /** Custom state/variant for special styling (e.g., 'input-disabled') */
22
+ state?: string;
23
+ };
24
+ export declare const Tag: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLSpanElement>, "color"> & {
25
+ /** Tag text content */
26
+ children: ReactNode;
27
+ /** Visual type of the tag */
28
+ type?: "blue" | "grey" | "white";
29
+ /** Size of the tag */
30
+ size?: "sm" | "md" | "lg";
31
+ /** Icon to display at the start of the tag */
32
+ startIcon?: ReactNode;
33
+ /** Type of startIcon: 'icon' will be disabled with tag, 'avatar' maintains original color */
34
+ startIconType?: "icon" | "avatar";
35
+ /** Custom close icon - pass ReactNode for custom icon, null/false to hide, undefined (default) shows default icon */
36
+ closeIcon?: ReactNode | null | false;
37
+ /** Callback function when close button is clicked */
38
+ onClose?: () => void;
39
+ /** Additional CSS class name */
40
+ className?: string;
41
+ /** Disabled state */
42
+ disabled?: boolean;
43
+ /** Custom state/variant for special styling (e.g., 'input-disabled') */
44
+ state?: string;
45
+ } & import("react").RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,2 @@
1
+ export { Tag } from './Tag';
2
+ export type { TagProps } from './Tag';
@@ -0,0 +1,9 @@
1
+ export type ToastType = 'success' | 'error';
2
+ export interface ToastProps {
3
+ type: ToastType;
4
+ message: string;
5
+ actionLabel?: string;
6
+ onActionClick?: () => void;
7
+ }
8
+ export declare const showToast: () => string;
9
+ export declare const notification: any;
@@ -0,0 +1,2 @@
1
+ export { showToast, notification } from './Toast';
2
+ export type { ToastProps, ToastType } from './Toast';
@@ -0,0 +1,17 @@
1
+ import { type InputHTMLAttributes } from 'react';
2
+ export type ToggleProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> & {
3
+ /** Toggle label text */
4
+ label?: string;
5
+ /** Show/hide label */
6
+ showLabel?: boolean;
7
+ /** Additional CSS class name */
8
+ className?: string;
9
+ };
10
+ export declare const Toggle: import("react").ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> & {
11
+ /** Toggle label text */
12
+ label?: string;
13
+ /** Show/hide label */
14
+ showLabel?: boolean;
15
+ /** Additional CSS class name */
16
+ className?: string;
17
+ } & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,2 @@
1
+ export { Toggle } from './Toggle';
2
+ export type { ToggleProps } from './Toggle';
@@ -0,0 +1,10 @@
1
+ export type TooltipTheme = 'light' | 'dark';
2
+ export interface TooltipProps {
3
+ title: any;
4
+ supportText?: any;
5
+ theme?: TooltipTheme;
6
+ children: any;
7
+ className?: string;
8
+ arrow?: boolean;
9
+ }
10
+ export declare const Tooltip: () => null;
@@ -0,0 +1,2 @@
1
+ export { Tooltip } from './Tooltip';
2
+ export type { TooltipProps, TooltipTheme } from './Tooltip';
@@ -0,0 +1,16 @@
1
+ import { type ElementType, type HTMLAttributes, type ReactNode } from 'react';
2
+ export type TypographySize = 'heading-3xl' | 'heading-2xl' | 'heading-xl' | 'heading-lg' | 'heading-md' | 'heading-sm' | 'heading-xs' | 'body-lg' | 'body-md' | 'body-sm' | 'body-xs';
3
+ export type TypographyWeight = 'regular' | 'medium' | 'semibold' | 'bold';
4
+ export type TypographyVariant = 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'tertiary-moderate' | 'brand' | 'brand-strong' | 'brand-subtle' | 'disabled' | 'inverse' | 'inverse-moderate' | 'negative' | 'negative-moderate' | 'positive' | 'positive-moderate' | 'warning' | 'warning-moderate';
5
+ export interface TypographyProps extends Omit<HTMLAttributes<HTMLElement>, 'className'> {
6
+ size?: TypographySize;
7
+ weight?: TypographyWeight;
8
+ variant?: TypographyVariant;
9
+ italic?: boolean;
10
+ ellipsis?: boolean;
11
+ underline?: boolean;
12
+ as?: ElementType;
13
+ className?: string;
14
+ children: ReactNode;
15
+ }
16
+ export declare const Typography: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,2 @@
1
+ export { Typography } from './Typography';
2
+ export type { TypographyProps, TypographySize, TypographyWeight, TypographyVariant } from './Typography';