@apexcura/ui-components 0.0.16-Beta131 → 0.0.16-Beta1310

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 (48) hide show
  1. package/dist/Components/ACBreadcrumb.d.ts +16 -0
  2. package/dist/Components/AadharComponent.d.ts +3 -0
  3. package/dist/Components/AbhaNumberComponent.d.ts +3 -0
  4. package/dist/Components/AntdButton.d.ts +4 -0
  5. package/dist/Components/AutoCompleteInput.d.ts +14 -0
  6. package/dist/Components/AvatarUpload.d.ts +3 -0
  7. package/dist/Components/Capcha.d.ts +3 -0
  8. package/dist/Components/CardElement.d.ts +3 -0
  9. package/dist/Components/CheckBoxTable.d.ts +12 -0
  10. package/dist/Components/CustomStepper.d.ts +3 -0
  11. package/dist/Components/DateRangeSegments.d.ts +16 -0
  12. package/dist/Components/DisplayTimeline.d.ts +3 -0
  13. package/dist/Components/Document.d.ts +3 -0
  14. package/dist/Components/DropdownElement.d.ts +3 -0
  15. package/dist/Components/FormInputLabel.d.ts +11 -0
  16. package/dist/Components/GoogleMapWidget.d.ts +3 -0
  17. package/dist/Components/GradientCard.d.ts +5 -0
  18. package/dist/Components/GradientCardGroup.d.ts +24 -0
  19. package/dist/Components/Image.d.ts +1 -1
  20. package/dist/Components/KanbanBoard.d.ts +2 -0
  21. package/dist/Components/MediaUpload.d.ts +3 -0
  22. package/dist/Components/NumberElement.d.ts +1 -0
  23. package/dist/Components/ProfileContainer.d.ts +3 -0
  24. package/dist/Components/QRCodeElement.d.ts +5 -0
  25. package/dist/Components/RadioElement.d.ts +14 -1
  26. package/dist/Components/SegmentedElement.d.ts +3 -0
  27. package/dist/Components/SelectElement.d.ts +1 -0
  28. package/dist/Components/Sidebar.d.ts +2 -2
  29. package/dist/Components/SplitButton.d.ts +3 -0
  30. package/dist/Components/TableCopyComponent.d.ts +4 -0
  31. package/dist/Components/TableElement.d.ts +2 -0
  32. package/dist/Components/TabsElement.d.ts +2 -2
  33. package/dist/Components/TextEditor.d.ts +5 -0
  34. package/dist/Components/TextElement.d.ts +1 -1
  35. package/dist/Components/TextareaElement.d.ts +1 -0
  36. package/dist/Components/TimePicker.d.ts +3 -0
  37. package/dist/Components/TimeRangeComponent.d.ts +3 -0
  38. package/dist/Components/TimeScheduleTable.d.ts +3 -0
  39. package/dist/Components/Video.d.ts +3 -0
  40. package/dist/Types/types.d.ts +218 -16
  41. package/dist/constants/icons.d.ts +8 -0
  42. package/dist/hooks/useColumnReorder.d.ts +69 -0
  43. package/dist/index.d.ts +30 -0
  44. package/dist/index.js +1 -1
  45. package/dist/index.js.LICENSE.txt +23 -1506
  46. package/dist/index.js.map +1 -1
  47. package/dist/report.html +2 -2
  48. package/package.json +10 -9
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ export interface ACBreadcrumbItemProps {
3
+ id?: string;
4
+ icon?: string;
5
+ iconClassName?: string;
6
+ href?: string;
7
+ title: string;
8
+ }
9
+ export interface ACBreadcrumbProps {
10
+ className?: string;
11
+ element?: string;
12
+ name: string;
13
+ items: ACBreadcrumbItemProps[];
14
+ onClick: (value: string) => void;
15
+ }
16
+ export declare const ACBreadcrumb: React.FC<ACBreadcrumbProps>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const AadharComponent: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const AbhaNumberComponent: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ import '../styles/button.css';
4
+ export declare const AntButton: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ import '../styles/index.css';
4
+ interface autoCompleteProps {
5
+ value?: {
6
+ key?: string;
7
+ value?: string;
8
+ };
9
+ }
10
+ interface customProps extends ElementType {
11
+ value?: autoCompleteProps;
12
+ }
13
+ export declare const AutoCompleteInput: (props: customProps) => React.JSX.Element;
14
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const AvatarUpload: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Capcha: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const CardElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ interface PaginationType {
4
+ name?: string;
5
+ page?: number;
6
+ pageSize?: number;
7
+ }
8
+ interface TableElementProps extends ElementType {
9
+ value?: PaginationType | null;
10
+ }
11
+ export declare const TableElement: (props: TableElementProps) => React.JSX.Element;
12
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const CustomStepper: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ interface DateRangeSegmentType {
4
+ values?: string[];
5
+ segmentedValue?: string;
6
+ }
7
+ interface DateRangeSegmentsProps extends ElementType {
8
+ value?: DateRangeSegmentType | null;
9
+ segmentedOptions?: {
10
+ tooltip: string;
11
+ label: string;
12
+ value: string;
13
+ }[];
14
+ }
15
+ export declare const DateRangeSegments: (props: DateRangeSegmentsProps) => React.JSX.Element;
16
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const DisplayTimeline: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Document: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const DropdownElement: (props: ElementType) => React.JSX.Element | undefined;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface FormInputLabelProps {
3
+ label?: string;
4
+ required?: boolean;
5
+ color?: string;
6
+ element?: 'input-radio' | string;
7
+ variant?: 'button' | 'default';
8
+ labelClassName?: string;
9
+ }
10
+ declare const FormInputLabel: React.FC<FormInputLabelProps>;
11
+ export default FormInputLabel;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const GoogleMapWidget: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { GradientCardGroupOptionProps } from './GradientCardGroup';
3
+ import '../styles/gradient-card.css';
4
+ declare const GradientCard: (props: GradientCardGroupOptionProps) => React.JSX.Element;
5
+ export default GradientCard;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { Colors } from '../Types/types';
3
+ export interface GradientCardGroupOptionProps {
4
+ active?: boolean;
5
+ clickable?: boolean;
6
+ color?: Colors;
7
+ id?: string;
8
+ name: string;
9
+ onClick?: () => void;
10
+ prefixIcon?: string;
11
+ prefixIconClassName?: string;
12
+ suffixText: string | number;
13
+ title: string;
14
+ }
15
+ export interface GradientCardGroupProps {
16
+ className?: string;
17
+ cols?: number;
18
+ element?: string;
19
+ name: string;
20
+ options: GradientCardGroupOptionProps[];
21
+ value: '';
22
+ onChange?: (value: string | number | boolean | object | object[] | undefined) => void;
23
+ }
24
+ export declare const GradientCardGroup: (props: GradientCardGroupProps) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
- export declare const Image: (props: ElementType) => React.JSX.Element;
3
+ export declare const Image: (props: ElementType) => React.JSX.Element | null;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const KanbanBoard: React.FC;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const MediaUpload: (props: ElementType) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
+ import '../styles/input-text.css';
3
4
  export declare const NumberElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const ProfileContainer: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ import '../styles/index.css';
4
+ import '../styles/input-text.css';
5
+ export declare const QRCodeElement: (props: ElementType) => React.JSX.Element;
@@ -1,3 +1,16 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
- export declare const RadioElement: (props: ElementType) => React.JSX.Element;
3
+ import '../styles/radio.css';
4
+ type radioValueProps = {
5
+ value: {
6
+ key?: string | undefined;
7
+ label?: string | undefined;
8
+ value?: string | undefined;
9
+ } | undefined;
10
+ };
11
+ interface RadioElementProps extends Omit<ElementType, 'variant'> {
12
+ value?: radioValueProps | null;
13
+ variant?: 'chip' | 'circled' | 'flat';
14
+ }
15
+ export declare const RadioElement: (props: RadioElementProps) => React.JSX.Element;
16
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const SegmentedElement: (props: ElementType) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
+ import '../styles/select.css';
3
4
  export declare const SelectElement: (props: ElementType) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
- import '../styles/sidebar.css';
4
- export declare const Sidebar: (props: ElementType) => React.JSX.Element;
3
+ export declare const Sidebar: React.FC<ElementType>;
4
+ export default Sidebar;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const SplitButton: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ import '../styles/table.css';
4
+ export declare const TableCopyComponent: (props: ElementType) => React.JSX.Element;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
+ import '../styles/table.css';
3
4
  interface PaginationType {
5
+ name?: string;
4
6
  page?: number;
5
7
  pageSize?: number;
6
8
  }
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- import { ElementType } from '../Types/types';
1
+ import React from "react";
2
+ import { ElementType } from "../Types/types";
3
3
  export declare const TabsElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import 'react-quill/dist/quill.snow.css';
3
+ import { ElementType } from '../Types/types';
4
+ import '../styles/index.css';
5
+ export declare const TextEditorComponent: (props: ElementType) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
- import '../styles/sidebar.css';
4
3
  import '../styles/index.css';
4
+ import '../styles/input-text.css';
5
5
  export declare const TextElement: (props: ElementType) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ElementType } from '../Types/types';
3
+ import '../styles/input-text.css';
3
4
  export declare const TextareaElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TimePickerElement: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TimeRangeComponent: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const TimeScheduleTable: (props: ElementType) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ElementType } from '../Types/types';
3
+ export declare const Video: (props: ElementType) => React.JSX.Element;
@@ -1,11 +1,32 @@
1
- import { UploadFile } from 'antd';
1
+ import { InputRef, UploadFile } from 'antd';
2
2
  import { SizeType } from 'antd/es/config-provider/SizeContext';
3
+ import { RadioGroupButtonStyle } from 'antd/es/radio';
4
+ import { TabsPosition } from 'antd/es/tabs';
3
5
  import { TooltipPlacement } from 'antd/es/tooltip';
4
- import { CSSProperties } from 'react';
6
+ import { SortOrder } from 'antd/es/table/interface';
7
+ import React, { CSSProperties, JSXElementConstructor, LegacyRef, ReactElement, ReactNode } from 'react';
5
8
  type PaginationType = {
9
+ name?: string;
6
10
  page?: number;
7
11
  pageSize?: number;
8
12
  };
13
+ type DateRangeSegmentType = {
14
+ values?: string[];
15
+ segmentedValue?: string;
16
+ };
17
+ interface ScheduleType {
18
+ from: string | null;
19
+ to: string | null;
20
+ }
21
+ interface WeekSchedule {
22
+ Sunday: ScheduleType;
23
+ Monday: ScheduleType;
24
+ Tuesday: ScheduleType;
25
+ Wednesday: ScheduleType;
26
+ Thursday: ScheduleType;
27
+ Friday: ScheduleType;
28
+ Saturday: ScheduleType;
29
+ }
9
30
  type dropDownValueProps = {
10
31
  firstValue: {
11
32
  key?: string | undefined;
@@ -18,11 +39,59 @@ type dropDownValueProps = {
18
39
  value?: string | undefined;
19
40
  } | undefined;
20
41
  };
42
+ type radioValueProps = {
43
+ value: {
44
+ key?: string | undefined;
45
+ label?: string | undefined;
46
+ value?: string | undefined;
47
+ } | undefined;
48
+ };
49
+ type autoCompleteProps = {
50
+ value?: {
51
+ key?: string;
52
+ value?: string;
53
+ };
54
+ };
55
+ interface ChildRecordType {
56
+ _id?: string;
57
+ id?: string;
58
+ name?: string;
59
+ label?: string;
60
+ element?: string;
61
+ type?: string;
62
+ value?: boolean;
63
+ children?: ChildRecordType[];
64
+ }
21
65
  export type ElementType = {
66
+ showToolbar?: boolean;
67
+ src?: string;
68
+ isPopover?: boolean;
69
+ title?: string;
70
+ okText?: string;
71
+ cancelText?: string;
72
+ disabledColor?: string;
73
+ tooltip?: {
74
+ title: string;
75
+ placement: 'top' | 'bottom' | 'left' | 'right';
76
+ };
77
+ varient?: 'solid' | 'outlined' | 'light';
78
+ color?: string;
79
+ buttonStyle?: RadioGroupButtonStyle;
80
+ tableHeight?: string;
81
+ buttonVariant?: string;
82
+ optionRender?: (option: {
83
+ key?: string | number | bigint;
84
+ label?: string | ReactNode;
85
+ value?: string | number;
86
+ color?: string;
87
+ }) => React.ReactNode;
88
+ active?: number;
89
+ visitedClassName?: string;
22
90
  accept?: string | undefined;
23
91
  max_count?: number | undefined;
24
92
  multiple?: boolean | undefined;
25
93
  activeClassName?: string;
94
+ fileList?: UploadFile[];
26
95
  radioGroupClassName?: string | undefined;
27
96
  selectedStyle?: boolean;
28
97
  style?: CSSProperties;
@@ -31,25 +100,58 @@ export type ElementType = {
31
100
  className?: string | undefined;
32
101
  placeholder?: string;
33
102
  addonBefore?: React.ReactNode;
34
- defaultValue?: string;
103
+ format?: string;
104
+ indexWidth?: number;
105
+ tabPosition?: TabsPosition;
106
+ defaultValue?: string | {
107
+ label: string;
108
+ value: string;
109
+ search?: string;
110
+ };
111
+ limit?: number;
112
+ ref?: LegacyRef<InputRef> | undefined;
35
113
  disabled?: boolean;
36
114
  prefix?: React.ReactNode;
37
115
  type?: string;
38
- size?: SizeType;
116
+ searchable?: boolean;
117
+ expandIcon?: boolean;
118
+ size?: SizeType | number;
119
+ colWidth?: string;
39
120
  errorText?: string;
40
121
  errorClassName?: string;
41
- value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | dropDownValueProps;
42
- status?: 'error' | 'warning';
122
+ expandIconStyles?: boolean;
123
+ enableRowSelection?: boolean;
124
+ showSelectionControls?: boolean;
125
+ dropdownStyle?: CSSProperties;
126
+ isIconOnly?: boolean;
127
+ value?: string | number | boolean | null | object | undefined | string[] | UploadFile[] | PaginationType | DateRangeSegmentType | dropDownValueProps | radioValueProps | WeekSchedule | autoCompleteProps;
128
+ status?: string | undefined;
43
129
  styles?: React.CSSProperties;
44
130
  variant?: 'outlined' | 'borderless' | 'filled';
131
+ bordered?: boolean;
132
+ enable_all?: boolean;
45
133
  label?: string;
46
134
  name?: string;
47
135
  suffix?: React.ReactNode;
136
+ rowClickExpandable?: boolean;
137
+ expandable?: boolean;
48
138
  maxLength?: number;
139
+ sortable?: boolean;
140
+ indexClickable?: boolean;
141
+ splitButton?: {
142
+ value: string;
143
+ icon: string;
144
+ label: string;
145
+ isSVGStylesOverride: boolean;
146
+ tooltip: string;
147
+ }[];
49
148
  options?: {
50
149
  key?: string;
51
150
  label?: string;
52
151
  value?: string;
152
+ icon?: string;
153
+ tooltip?: string;
154
+ color?: string;
53
155
  }[];
54
156
  firstOptions?: {
55
157
  key?: string;
@@ -66,43 +168,113 @@ export type ElementType = {
66
168
  view?: boolean;
67
169
  enabled_dates?: string;
68
170
  onChange?: (value: string | number | boolean | object | object[] | undefined) => void;
69
- onClick?: () => void;
171
+ onClick?: (value: string | number | boolean | object | object[] | undefined) => void;
70
172
  dropDownOptions?: (number | string | boolean | object | null | undefined | (() => void))[];
71
- id?: number;
173
+ id?: number | string;
174
+ fullHeight?: boolean;
72
175
  thead?: {
73
- id: number;
176
+ sorter?: boolean;
177
+ defaultSortOrder?: SortOrder;
178
+ width?: number;
179
+ _id?: string;
74
180
  name?: string;
75
181
  label?: string;
76
182
  visible?: boolean;
77
183
  required?: boolean;
78
184
  key?: string;
79
185
  render?: (text: string) => React.JSX.Element;
186
+ renderCell?: (value: number, record: string, index: number) => React.ReactNode;
80
187
  ellipsis?: boolean;
188
+ sortable?: boolean;
189
+ filtered?: boolean;
190
+ filters?: {
191
+ text: string;
192
+ value: string;
193
+ }[];
194
+ fixed?: string | boolean | undefined;
195
+ disabled?: boolean;
196
+ clickable?: boolean;
197
+ /** columnReorder tables: false = this column cannot be dragged to a new place, nor dropped on */
198
+ reorderable?: boolean;
81
199
  }[];
82
- tbody?: {
83
- id?: number;
200
+ /**
201
+ * Tables (`table`, `table-element`): let the user move a column by dragging
202
+ * its header onto another column's header. Off unless true, so a table that
203
+ * does not ask for it renders and behaves exactly as before. Columns with
204
+ * `fixed`, `required: true` or `reorderable: false` stay where they are.
205
+ * See hooks/useColumnReorder.ts.
206
+ */
207
+ columnReorder?: boolean;
208
+ /**
209
+ * columnReorder tables: called when a header is dropped, with the `name` of
210
+ * every thead column in the order the user asked for. The table does not
211
+ * reorder itself — pass back a `thead` in that order. When no handler is
212
+ * given the order is sent through `onChange` instead, as a `columnOrder`
213
+ * entry.
214
+ */
215
+ onColumnReorder?: (order: string[], info: {
216
+ from: string;
217
+ to: string;
218
+ fromIndex: number;
219
+ toIndex: number;
220
+ }) => void;
221
+ childHead?: {
222
+ _id?: string;
84
223
  name?: string;
85
224
  label?: string;
86
- element?: string;
87
- type?: string;
88
- value?: boolean;
225
+ visible?: boolean;
226
+ required?: boolean;
227
+ key?: string;
228
+ render?: (text: string) => React.JSX.Element;
229
+ ellipsis?: boolean;
230
+ sortable?: boolean;
231
+ filtered?: boolean;
232
+ filters?: {
233
+ text: string;
234
+ value: string;
235
+ }[];
89
236
  }[];
237
+ tbody?: ChildRecordType[];
90
238
  optionType?: string;
91
239
  selectedClassName?: string;
92
240
  action?: React.MouseEventHandler<HTMLElement> | string;
93
241
  listClassName?: string;
94
242
  listItemClassName?: string;
95
243
  img?: string;
244
+ video?: string;
245
+ height?: number;
246
+ width?: number;
247
+ imgExpand?: string;
248
+ segmentedValue?: string;
249
+ useSegments?: string;
250
+ imgCollapse?: string;
251
+ pageSizeOptions?: number[];
96
252
  items?: {
97
- element: string;
253
+ iconClassName?: string;
254
+ href?: string;
255
+ title?: string;
256
+ id?: number;
257
+ key?: number | string;
258
+ element?: string;
98
259
  icon?: string;
99
260
  label?: string;
100
- active?: boolean;
261
+ active?: number;
101
262
  text?: string;
102
263
  time?: string;
103
264
  name?: string;
104
265
  y?: number;
105
266
  color?: string;
267
+ isCount?: boolean;
268
+ count?: number;
269
+ isNewMenuItem?: boolean;
270
+ progress?: number;
271
+ className?: string;
272
+ contact?: string;
273
+ status?: string;
274
+ assignedTo?: string;
275
+ user?: string;
276
+ dot?: React.ReactNode;
277
+ children?: string;
106
278
  }[];
107
279
  primaryText?: string;
108
280
  secondaryText?: string;
@@ -116,6 +288,7 @@ export type ElementType = {
116
288
  subContainerClassName?: string;
117
289
  element?: string;
118
290
  secondTextClassName?: string;
291
+ iconClassName?: string;
119
292
  iconsClassName?: string;
120
293
  labelClassName?: string;
121
294
  containerClassName?: string;
@@ -127,6 +300,7 @@ export type ElementType = {
127
300
  fillText1?: string;
128
301
  fillText2?: string;
129
302
  pagination?: boolean;
303
+ antdButton?: boolean;
130
304
  required?: boolean;
131
305
  is_detail?: boolean;
132
306
  checkedChildren?: string;
@@ -136,9 +310,11 @@ export type ElementType = {
136
310
  minRows?: number;
137
311
  maxRows?: number;
138
312
  isSearch?: boolean;
313
+ allowText?: boolean;
139
314
  mode?: 'multiple' | 'tags' | undefined;
140
315
  picker?: 'date' | 'week' | 'month' | 'quarter' | 'year';
141
316
  weekrange?: boolean;
317
+ rangePresets?: boolean;
142
318
  message?: string;
143
319
  isStatus?: boolean;
144
320
  isDelete?: boolean;
@@ -146,5 +322,31 @@ export type ElementType = {
146
322
  notificationType?: 'success' | 'info' | 'warning' | 'error';
147
323
  showProgress?: boolean;
148
324
  isLoading?: boolean;
325
+ isNotChatbot?: boolean;
326
+ allowClear?: boolean;
327
+ isBack?: boolean;
328
+ showCount?: boolean;
329
+ avatarClassName?: string;
330
+ segmentedOptions?: string[] | {
331
+ tooltip: string;
332
+ label: string;
333
+ value: string;
334
+ }[];
335
+ manageRadioButton?: boolean;
336
+ cardClassname?: string;
337
+ autoFocus?: boolean;
338
+ titleClassName?: string;
339
+ fileType?: string[];
340
+ fileSize?: number;
341
+ allowOne?: boolean;
342
+ showSerialNumber?: boolean;
343
+ isTextSelect?: boolean;
344
+ autoSize?: boolean;
345
+ rowClick?: boolean;
346
+ dropdownRender?: (menu: ReactElement<string | JSXElementConstructor<string>>) => ReactElement<string | JSXElementConstructor<string>>;
347
+ isopen?: boolean;
348
+ clickedVal?: string;
349
+ customColor?: boolean;
149
350
  };
351
+ export type Colors = 'blue-green' | 'danger' | 'facebook' | 'instagram' | 'primary' | 'secondary' | 'success' | 'turquoise' | 'warning' | 'yellow';
150
352
  export {};
@@ -1,4 +1,12 @@
1
1
  import React from 'react';
2
+ export declare const testIcons: {
3
+ [key: string]: string;
4
+ };
5
+ export declare const sidenavIcons: {
6
+ [key: string]: (props: {
7
+ fill?: string;
8
+ }) => React.ReactNode;
9
+ };
2
10
  export declare const icons: {
3
11
  [key: string]: React.ReactNode;
4
12
  };