gwan-design-system 0.1.2 → 0.1.4

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 (96) hide show
  1. package/dist/index.d.mts +305 -0
  2. package/dist/index.d.ts +305 -0
  3. package/dist/index.js +1408 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +1349 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +39 -8
  8. package/.github/workflows/bump-version.yml +0 -50
  9. package/.github/workflows/publish.yml +0 -43
  10. package/CODEOWNERS +0 -1
  11. package/eslint.config.mjs +0 -16
  12. package/next.config.ts +0 -7
  13. package/postcss.config.mjs +0 -7
  14. package/public/file.svg +0 -1
  15. package/public/globe.svg +0 -1
  16. package/public/images/empty.png +0 -0
  17. package/public/images/empty_state.png +0 -0
  18. package/public/images/hero.png +0 -0
  19. package/public/images/hero2.png +0 -0
  20. package/public/images/logo.png +0 -0
  21. package/public/images/logo_short.png +0 -0
  22. package/public/images/profile_picture.png +0 -0
  23. package/public/images/success.png +0 -0
  24. package/public/next.svg +0 -1
  25. package/public/vercel.svg +0 -1
  26. package/public/window.svg +0 -1
  27. package/src/app/components-library/page.tsx +0 -8
  28. package/src/app/favicon.ico +0 -0
  29. package/src/app/globals.css +0 -108
  30. package/src/app/layout.tsx +0 -34
  31. package/src/app/page.tsx +0 -5
  32. package/src/components/avatar/index.tsx +0 -109
  33. package/src/components/banner/index.tsx +0 -58
  34. package/src/components/button/index.tsx +0 -61
  35. package/src/components/carousel/index.tsx +0 -58
  36. package/src/components/checkbox/index.tsx +0 -48
  37. package/src/components/chip/index.tsx +0 -22
  38. package/src/components/ellipsis/index.tsx +0 -36
  39. package/src/components/fileUploader/index.tsx +0 -54
  40. package/src/components/filterDropdown/index.tsx +0 -49
  41. package/src/components/icons/arrowLeftSVG/index.tsx +0 -14
  42. package/src/components/icons/checkSVG/index.tsx +0 -14
  43. package/src/components/icons/chevDownSVG/index.tsx +0 -14
  44. package/src/components/icons/chevLeftSVG/index.tsx +0 -14
  45. package/src/components/icons/chevRightSVG/index.tsx +0 -14
  46. package/src/components/icons/circleSVG/index.tsx +0 -14
  47. package/src/components/icons/colorsSVG/index.tsx +0 -21
  48. package/src/components/icons/coversSVG/index.tsx +0 -21
  49. package/src/components/icons/crossSVG/index.tsx +0 -16
  50. package/src/components/icons/dashboardSVG/index.tsx +0 -14
  51. package/src/components/icons/filterSVG/index.tsx +0 -21
  52. package/src/components/icons/index.tsx +0 -17
  53. package/src/components/icons/orderInfoSVG/index.tsx +0 -21
  54. package/src/components/icons/ordersSVG/index.tsx +0 -21
  55. package/src/components/icons/productsSVG/index.tsx +0 -21
  56. package/src/components/icons/signOutSVG/index.tsx +0 -21
  57. package/src/components/icons/templatesSVG/index.tsx +0 -24
  58. package/src/components/icons/uploadSVG/index.tsx +0 -21
  59. package/src/components/input/index.tsx +0 -40
  60. package/src/components/modal/index.tsx +0 -54
  61. package/src/components/navBar/index.tsx +0 -161
  62. package/src/components/pagination/index.tsx +0 -69
  63. package/src/components/radioButton/index.tsx +0 -44
  64. package/src/components/selectDropdown/index.tsx +0 -90
  65. package/src/components/snackBar/index.tsx +0 -46
  66. package/src/components/state/index.tsx +0 -69
  67. package/src/components/table/index.tsx +0 -51
  68. package/src/components/tag/index.tsx +0 -33
  69. package/src/components/timeLine/index.tsx +0 -99
  70. package/src/components/tooltip/index.tsx +0 -70
  71. package/src/index.ts +0 -22
  72. package/src/templates/component-library/avatars/index.tsx +0 -45
  73. package/src/templates/component-library/banners/index.tsx +0 -35
  74. package/src/templates/component-library/buttons/index.tsx +0 -122
  75. package/src/templates/component-library/carousels/index.tsx +0 -38
  76. package/src/templates/component-library/checkboxes/index.tsx +0 -19
  77. package/src/templates/component-library/chips/index.tsx +0 -49
  78. package/src/templates/component-library/ellipsis/index.tsx +0 -20
  79. package/src/templates/component-library/fileUploaders/index.tsx +0 -21
  80. package/src/templates/component-library/filterDropdown/index.tsx +0 -48
  81. package/src/templates/component-library/icons/index.tsx +0 -23
  82. package/src/templates/component-library/index.tsx +0 -179
  83. package/src/templates/component-library/input/index.tsx +0 -35
  84. package/src/templates/component-library/modals/index.tsx +0 -113
  85. package/src/templates/component-library/navBars/index.tsx +0 -91
  86. package/src/templates/component-library/pagination/index.tsx +0 -28
  87. package/src/templates/component-library/radioButtons/index.tsx +0 -33
  88. package/src/templates/component-library/selectDropdown/index.tsx +0 -90
  89. package/src/templates/component-library/snackBars/index.tsx +0 -34
  90. package/src/templates/component-library/states/index.tsx +0 -24
  91. package/src/templates/component-library/tables/index.tsx +0 -143
  92. package/src/templates/component-library/tags/index.tsx +0 -15
  93. package/src/templates/component-library/timeLines/index.tsx +0 -96
  94. package/src/templates/component-library/tooltips/index.tsx +0 -61
  95. package/tsconfig.build.json +0 -16
  96. package/tsconfig.json +0 -27
@@ -0,0 +1,305 @@
1
+ import { FC, ReactNode, JSX } from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+
4
+ declare enum AVATAR_VARIANT {
5
+ IMAGE_WITH_FULL = "image_with_full",
6
+ INITIALS_WITH_FULL = "initials_with_full",
7
+ IMAGE_ONLY = "image-only",
8
+ INITIALS_ONLY = "initials-only"
9
+ }
10
+ interface IAvatar {
11
+ name: string;
12
+ email: string;
13
+ image?: string;
14
+ variant: string;
15
+ }
16
+ declare const Avatar: FC<IAvatar>;
17
+
18
+ interface IBanner {
19
+ title?: string;
20
+ titleClassName?: string;
21
+ subTitle?: string;
22
+ subTitleClassName?: string;
23
+ contentPlacement?: "left" | "right";
24
+ backgroundImage?: string;
25
+ backgroundColor?: string;
26
+ }
27
+ declare const Banner: FC<IBanner>;
28
+
29
+ declare enum BUTTON_VARIANTS {
30
+ PRIMARY = "primary",
31
+ SECONDARY = "secondary",
32
+ TERTIARY = "tertiary"
33
+ }
34
+ interface IButton {
35
+ variant?: BUTTON_VARIANTS;
36
+ label?: string;
37
+ onClick: () => void;
38
+ icon?: ReactNode;
39
+ type?: "button" | "submit";
40
+ disabled?: boolean;
41
+ }
42
+ declare const Button: FC<IButton>;
43
+
44
+ interface ICarousel {
45
+ slides: IBanner[];
46
+ interval?: number;
47
+ }
48
+ declare const Carousel: FC<ICarousel>;
49
+
50
+ interface ICheckbox {
51
+ label: string;
52
+ checked: boolean;
53
+ onChange: (checked: boolean) => void;
54
+ }
55
+ declare const Checkbox: FC<ICheckbox>;
56
+
57
+ interface IChip {
58
+ label: string;
59
+ onClear: () => void;
60
+ }
61
+ declare const Chip: FC<IChip>;
62
+
63
+ declare enum TOOLTIP_POSITION {
64
+ TOP = "top",
65
+ BOTTOM = "bottom",
66
+ LEFT = "left",
67
+ RIGHT = "right"
68
+ }
69
+ interface ITooltip {
70
+ position: TOOLTIP_POSITION;
71
+ label: React.ReactNode;
72
+ isVisible: boolean;
73
+ toolTipWidth?: string;
74
+ toolTipClass?: string;
75
+ }
76
+ declare const Tooltip: FC<ITooltip>;
77
+
78
+ interface IEllipsis {
79
+ label: string;
80
+ tooltipPosition?: TOOLTIP_POSITION;
81
+ tooltipWidth?: string;
82
+ }
83
+ declare const Ellipsis: FC<IEllipsis>;
84
+
85
+ interface IFileUploader {
86
+ title: string;
87
+ subTitle1?: string;
88
+ subTitle2?: string;
89
+ handleAttachment: (file: File) => void;
90
+ accept?: string;
91
+ }
92
+ declare const FileUploader: FC<IFileUploader>;
93
+
94
+ interface IFilterOption {
95
+ label: string;
96
+ value: string;
97
+ isChecked?: boolean;
98
+ }
99
+ interface IFilterCategory {
100
+ category: string;
101
+ options: IFilterOption[];
102
+ }
103
+ interface IFilter {
104
+ children: (closeDropdown: () => void) => React.ReactNode;
105
+ }
106
+ declare const FilterDropdown: FC<IFilter>;
107
+
108
+ interface IInput {
109
+ label: string;
110
+ value: string;
111
+ onChange: (value: string) => void;
112
+ disabled?: boolean;
113
+ placeholder?: string;
114
+ inputClassName?: string;
115
+ required?: boolean;
116
+ }
117
+ declare const Input: FC<IInput>;
118
+
119
+ declare enum MODAL_SIZE {
120
+ SMALL = "w-[600px] h-60",
121
+ MEDIUM = "w-[800px] h-96",
122
+ LARGE = "w-[950px] h-[600px]",
123
+ FULL = "w-full h-full"
124
+ }
125
+ interface IModal {
126
+ title: string;
127
+ children: React.ReactNode;
128
+ onClear: () => void;
129
+ size?: MODAL_SIZE;
130
+ }
131
+ declare const Modal: FC<IModal>;
132
+
133
+ interface IMenuItem {
134
+ title: string;
135
+ icon?: ReactNode;
136
+ route: string;
137
+ isActive: boolean;
138
+ isDivider: boolean;
139
+ }
140
+ interface INavBar {
141
+ menuItems: IMenuItem[];
142
+ logoShort: string;
143
+ logoLong: string;
144
+ avatarName: string;
145
+ avatarEmail: string;
146
+ avatarImage: string;
147
+ avatarType: AVATAR_VARIANT;
148
+ menuWidthClass?: string;
149
+ menuHeightClass?: string;
150
+ isCollapsed?: boolean;
151
+ menuBackgroundColor?: string;
152
+ }
153
+ declare const NavBar: FC<INavBar>;
154
+
155
+ interface ISelectDropdownOption {
156
+ value?: string;
157
+ label: string;
158
+ }
159
+ interface ISelectDropdown {
160
+ options: ISelectDropdownOption[];
161
+ label?: string;
162
+ placeholder?: string;
163
+ disabled?: boolean;
164
+ value: string;
165
+ onChange: (option: string) => void;
166
+ inputClassName?: string;
167
+ }
168
+ declare const SelectDropdown: FC<ISelectDropdown>;
169
+
170
+ interface IPaging {
171
+ total: number;
172
+ page: number;
173
+ size: number;
174
+ }
175
+ interface IPagination extends IPaging {
176
+ options: ISelectDropdownOption[];
177
+ onChange: (paging: IPaging) => void;
178
+ }
179
+ declare const Pagination: FC<IPagination>;
180
+
181
+ interface IRadioButton {
182
+ label: string;
183
+ value: string;
184
+ selectedValue?: string;
185
+ onChange?: (value: string) => void;
186
+ }
187
+ declare const RadioButton: FC<IRadioButton>;
188
+
189
+ declare enum SNACK_BAR_TYPE {
190
+ DEFAULT = "default",
191
+ SUCCESS = "success",
192
+ DANGER = "danger",
193
+ WARNING = "warning",
194
+ INFO = "info"
195
+ }
196
+ interface ISnackBar {
197
+ type?: SNACK_BAR_TYPE;
198
+ message: string;
199
+ icon?: React.ReactNode;
200
+ }
201
+ declare const Snackbar: FC<ISnackBar>;
202
+
203
+ declare enum STATE_TYPE {
204
+ EMPTY = "EMPTY",
205
+ SUCCESS = "SUCCESS",
206
+ ERROR = "ERROR",
207
+ LOADING = "LOADING"
208
+ }
209
+ interface IStateBase {
210
+ title: string;
211
+ subTitle: string;
212
+ imageWidth?: number;
213
+ imageHeight?: number;
214
+ }
215
+ type IState = ({
216
+ type: STATE_TYPE;
217
+ stateImage?: string;
218
+ } & IStateBase) | ({
219
+ type?: undefined;
220
+ stateImage: string;
221
+ } & IStateBase);
222
+ declare const State: FC<IState>;
223
+
224
+ interface ITableColumn {
225
+ header: string;
226
+ render: (row?: any) => JSX.Element;
227
+ headerClassName?: string;
228
+ }
229
+ interface ITable {
230
+ columns: ITableColumn[];
231
+ data: any[];
232
+ }
233
+ declare const Table: FC<ITable>;
234
+
235
+ declare enum TAG_TYPE {
236
+ DEFAULT = "default",
237
+ SUCCESS = "success",
238
+ DANGER = "danger",
239
+ WARNING = "warning",
240
+ INFO = "info"
241
+ }
242
+ interface ITag {
243
+ type: TAG_TYPE;
244
+ label: string;
245
+ }
246
+ declare const Tag: FC<ITag>;
247
+
248
+ declare enum ORDER_STATUS {
249
+ ORDER_PLACED = "Order placed",
250
+ PRINTING_IN_PROGRESS = "Printing in progress",
251
+ PACKAGING = "Packaging",
252
+ DISPATCHED_TO_COURIER = "Dispatched to courier",
253
+ DELIVERED = "Delivered",
254
+ ORDER_CANCELLED = "Order cancelled",
255
+ PENDING = "Pending"
256
+ }
257
+ interface ILog {
258
+ title: ORDER_STATUS;
259
+ date?: string;
260
+ description?: string;
261
+ }
262
+ interface ITimeLine {
263
+ logs: ILog[];
264
+ }
265
+ declare const TimeLine: FC<ITimeLine>;
266
+
267
+ declare const Dashboard: () => react_jsx_runtime.JSX.Element;
268
+
269
+ declare const Orders: () => react_jsx_runtime.JSX.Element;
270
+
271
+ declare const Products: () => react_jsx_runtime.JSX.Element;
272
+
273
+ declare const Templates: () => react_jsx_runtime.JSX.Element;
274
+
275
+ declare const Covers: () => react_jsx_runtime.JSX.Element;
276
+
277
+ declare const Colors: () => react_jsx_runtime.JSX.Element;
278
+
279
+ declare const SignOut: () => react_jsx_runtime.JSX.Element;
280
+
281
+ declare const Filter: () => react_jsx_runtime.JSX.Element;
282
+
283
+ declare const ChevDown: () => react_jsx_runtime.JSX.Element;
284
+
285
+ declare const Cross: () => react_jsx_runtime.JSX.Element;
286
+
287
+ declare const OrderInfo: () => react_jsx_runtime.JSX.Element;
288
+
289
+ declare const ChevLeft: () => react_jsx_runtime.JSX.Element;
290
+
291
+ declare const ChevRight: () => react_jsx_runtime.JSX.Element;
292
+
293
+ declare const Check: () => react_jsx_runtime.JSX.Element;
294
+
295
+ declare const Circle: () => react_jsx_runtime.JSX.Element;
296
+
297
+ declare const Upload: () => react_jsx_runtime.JSX.Element;
298
+
299
+ declare const ArrowLeft: () => react_jsx_runtime.JSX.Element;
300
+
301
+ declare namespace index {
302
+ export { ArrowLeft as ArrowLeftSVG, Check as CheckSVG, ChevDown as ChevDownSVG, ChevLeft as ChevLeftSVG, ChevRight as ChevRightSVG, Circle as CircleSVG, Colors as ColorsSVG, Covers as CoversSVG, Cross as CrossSVG, Dashboard as DashboardSVG, Filter as FilterSVG, OrderInfo as OrderInfoSVG, Orders as OrdersSVG, Products as ProductsSVG, SignOut as SignOutSVG, Templates as TemplatesSVG, Upload as UploadSVG };
303
+ }
304
+
305
+ export { AVATAR_VARIANT, Avatar, BUTTON_VARIANTS, Banner, Button, Carousel, Checkbox, Chip, Ellipsis, FileUploader, FilterDropdown, type IAvatar, type IBanner, type IButton, type ICarousel, type ICheckbox, type IChip, type IEllipsis, type IFileUploader, type IFilter, type IFilterCategory, type IFilterOption, type IInput, type ILog, type IMenuItem, type IModal, type INavBar, type IPagination, type IPaging, type IRadioButton, type ISelectDropdown, type ISelectDropdownOption, type ISnackBar, type IState, type IStateBase, type ITable, type ITableColumn, type ITag, type ITimeLine, type ITooltip, index as Icons, Input, MODAL_SIZE, Modal, NavBar, Pagination, RadioButton, SNACK_BAR_TYPE, STATE_TYPE, SelectDropdown, Snackbar, State as States, TAG_TYPE, TOOLTIP_POSITION, Table, Tag, TimeLine, Tooltip };
@@ -0,0 +1,305 @@
1
+ import { FC, ReactNode, JSX } from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+
4
+ declare enum AVATAR_VARIANT {
5
+ IMAGE_WITH_FULL = "image_with_full",
6
+ INITIALS_WITH_FULL = "initials_with_full",
7
+ IMAGE_ONLY = "image-only",
8
+ INITIALS_ONLY = "initials-only"
9
+ }
10
+ interface IAvatar {
11
+ name: string;
12
+ email: string;
13
+ image?: string;
14
+ variant: string;
15
+ }
16
+ declare const Avatar: FC<IAvatar>;
17
+
18
+ interface IBanner {
19
+ title?: string;
20
+ titleClassName?: string;
21
+ subTitle?: string;
22
+ subTitleClassName?: string;
23
+ contentPlacement?: "left" | "right";
24
+ backgroundImage?: string;
25
+ backgroundColor?: string;
26
+ }
27
+ declare const Banner: FC<IBanner>;
28
+
29
+ declare enum BUTTON_VARIANTS {
30
+ PRIMARY = "primary",
31
+ SECONDARY = "secondary",
32
+ TERTIARY = "tertiary"
33
+ }
34
+ interface IButton {
35
+ variant?: BUTTON_VARIANTS;
36
+ label?: string;
37
+ onClick: () => void;
38
+ icon?: ReactNode;
39
+ type?: "button" | "submit";
40
+ disabled?: boolean;
41
+ }
42
+ declare const Button: FC<IButton>;
43
+
44
+ interface ICarousel {
45
+ slides: IBanner[];
46
+ interval?: number;
47
+ }
48
+ declare const Carousel: FC<ICarousel>;
49
+
50
+ interface ICheckbox {
51
+ label: string;
52
+ checked: boolean;
53
+ onChange: (checked: boolean) => void;
54
+ }
55
+ declare const Checkbox: FC<ICheckbox>;
56
+
57
+ interface IChip {
58
+ label: string;
59
+ onClear: () => void;
60
+ }
61
+ declare const Chip: FC<IChip>;
62
+
63
+ declare enum TOOLTIP_POSITION {
64
+ TOP = "top",
65
+ BOTTOM = "bottom",
66
+ LEFT = "left",
67
+ RIGHT = "right"
68
+ }
69
+ interface ITooltip {
70
+ position: TOOLTIP_POSITION;
71
+ label: React.ReactNode;
72
+ isVisible: boolean;
73
+ toolTipWidth?: string;
74
+ toolTipClass?: string;
75
+ }
76
+ declare const Tooltip: FC<ITooltip>;
77
+
78
+ interface IEllipsis {
79
+ label: string;
80
+ tooltipPosition?: TOOLTIP_POSITION;
81
+ tooltipWidth?: string;
82
+ }
83
+ declare const Ellipsis: FC<IEllipsis>;
84
+
85
+ interface IFileUploader {
86
+ title: string;
87
+ subTitle1?: string;
88
+ subTitle2?: string;
89
+ handleAttachment: (file: File) => void;
90
+ accept?: string;
91
+ }
92
+ declare const FileUploader: FC<IFileUploader>;
93
+
94
+ interface IFilterOption {
95
+ label: string;
96
+ value: string;
97
+ isChecked?: boolean;
98
+ }
99
+ interface IFilterCategory {
100
+ category: string;
101
+ options: IFilterOption[];
102
+ }
103
+ interface IFilter {
104
+ children: (closeDropdown: () => void) => React.ReactNode;
105
+ }
106
+ declare const FilterDropdown: FC<IFilter>;
107
+
108
+ interface IInput {
109
+ label: string;
110
+ value: string;
111
+ onChange: (value: string) => void;
112
+ disabled?: boolean;
113
+ placeholder?: string;
114
+ inputClassName?: string;
115
+ required?: boolean;
116
+ }
117
+ declare const Input: FC<IInput>;
118
+
119
+ declare enum MODAL_SIZE {
120
+ SMALL = "w-[600px] h-60",
121
+ MEDIUM = "w-[800px] h-96",
122
+ LARGE = "w-[950px] h-[600px]",
123
+ FULL = "w-full h-full"
124
+ }
125
+ interface IModal {
126
+ title: string;
127
+ children: React.ReactNode;
128
+ onClear: () => void;
129
+ size?: MODAL_SIZE;
130
+ }
131
+ declare const Modal: FC<IModal>;
132
+
133
+ interface IMenuItem {
134
+ title: string;
135
+ icon?: ReactNode;
136
+ route: string;
137
+ isActive: boolean;
138
+ isDivider: boolean;
139
+ }
140
+ interface INavBar {
141
+ menuItems: IMenuItem[];
142
+ logoShort: string;
143
+ logoLong: string;
144
+ avatarName: string;
145
+ avatarEmail: string;
146
+ avatarImage: string;
147
+ avatarType: AVATAR_VARIANT;
148
+ menuWidthClass?: string;
149
+ menuHeightClass?: string;
150
+ isCollapsed?: boolean;
151
+ menuBackgroundColor?: string;
152
+ }
153
+ declare const NavBar: FC<INavBar>;
154
+
155
+ interface ISelectDropdownOption {
156
+ value?: string;
157
+ label: string;
158
+ }
159
+ interface ISelectDropdown {
160
+ options: ISelectDropdownOption[];
161
+ label?: string;
162
+ placeholder?: string;
163
+ disabled?: boolean;
164
+ value: string;
165
+ onChange: (option: string) => void;
166
+ inputClassName?: string;
167
+ }
168
+ declare const SelectDropdown: FC<ISelectDropdown>;
169
+
170
+ interface IPaging {
171
+ total: number;
172
+ page: number;
173
+ size: number;
174
+ }
175
+ interface IPagination extends IPaging {
176
+ options: ISelectDropdownOption[];
177
+ onChange: (paging: IPaging) => void;
178
+ }
179
+ declare const Pagination: FC<IPagination>;
180
+
181
+ interface IRadioButton {
182
+ label: string;
183
+ value: string;
184
+ selectedValue?: string;
185
+ onChange?: (value: string) => void;
186
+ }
187
+ declare const RadioButton: FC<IRadioButton>;
188
+
189
+ declare enum SNACK_BAR_TYPE {
190
+ DEFAULT = "default",
191
+ SUCCESS = "success",
192
+ DANGER = "danger",
193
+ WARNING = "warning",
194
+ INFO = "info"
195
+ }
196
+ interface ISnackBar {
197
+ type?: SNACK_BAR_TYPE;
198
+ message: string;
199
+ icon?: React.ReactNode;
200
+ }
201
+ declare const Snackbar: FC<ISnackBar>;
202
+
203
+ declare enum STATE_TYPE {
204
+ EMPTY = "EMPTY",
205
+ SUCCESS = "SUCCESS",
206
+ ERROR = "ERROR",
207
+ LOADING = "LOADING"
208
+ }
209
+ interface IStateBase {
210
+ title: string;
211
+ subTitle: string;
212
+ imageWidth?: number;
213
+ imageHeight?: number;
214
+ }
215
+ type IState = ({
216
+ type: STATE_TYPE;
217
+ stateImage?: string;
218
+ } & IStateBase) | ({
219
+ type?: undefined;
220
+ stateImage: string;
221
+ } & IStateBase);
222
+ declare const State: FC<IState>;
223
+
224
+ interface ITableColumn {
225
+ header: string;
226
+ render: (row?: any) => JSX.Element;
227
+ headerClassName?: string;
228
+ }
229
+ interface ITable {
230
+ columns: ITableColumn[];
231
+ data: any[];
232
+ }
233
+ declare const Table: FC<ITable>;
234
+
235
+ declare enum TAG_TYPE {
236
+ DEFAULT = "default",
237
+ SUCCESS = "success",
238
+ DANGER = "danger",
239
+ WARNING = "warning",
240
+ INFO = "info"
241
+ }
242
+ interface ITag {
243
+ type: TAG_TYPE;
244
+ label: string;
245
+ }
246
+ declare const Tag: FC<ITag>;
247
+
248
+ declare enum ORDER_STATUS {
249
+ ORDER_PLACED = "Order placed",
250
+ PRINTING_IN_PROGRESS = "Printing in progress",
251
+ PACKAGING = "Packaging",
252
+ DISPATCHED_TO_COURIER = "Dispatched to courier",
253
+ DELIVERED = "Delivered",
254
+ ORDER_CANCELLED = "Order cancelled",
255
+ PENDING = "Pending"
256
+ }
257
+ interface ILog {
258
+ title: ORDER_STATUS;
259
+ date?: string;
260
+ description?: string;
261
+ }
262
+ interface ITimeLine {
263
+ logs: ILog[];
264
+ }
265
+ declare const TimeLine: FC<ITimeLine>;
266
+
267
+ declare const Dashboard: () => react_jsx_runtime.JSX.Element;
268
+
269
+ declare const Orders: () => react_jsx_runtime.JSX.Element;
270
+
271
+ declare const Products: () => react_jsx_runtime.JSX.Element;
272
+
273
+ declare const Templates: () => react_jsx_runtime.JSX.Element;
274
+
275
+ declare const Covers: () => react_jsx_runtime.JSX.Element;
276
+
277
+ declare const Colors: () => react_jsx_runtime.JSX.Element;
278
+
279
+ declare const SignOut: () => react_jsx_runtime.JSX.Element;
280
+
281
+ declare const Filter: () => react_jsx_runtime.JSX.Element;
282
+
283
+ declare const ChevDown: () => react_jsx_runtime.JSX.Element;
284
+
285
+ declare const Cross: () => react_jsx_runtime.JSX.Element;
286
+
287
+ declare const OrderInfo: () => react_jsx_runtime.JSX.Element;
288
+
289
+ declare const ChevLeft: () => react_jsx_runtime.JSX.Element;
290
+
291
+ declare const ChevRight: () => react_jsx_runtime.JSX.Element;
292
+
293
+ declare const Check: () => react_jsx_runtime.JSX.Element;
294
+
295
+ declare const Circle: () => react_jsx_runtime.JSX.Element;
296
+
297
+ declare const Upload: () => react_jsx_runtime.JSX.Element;
298
+
299
+ declare const ArrowLeft: () => react_jsx_runtime.JSX.Element;
300
+
301
+ declare namespace index {
302
+ export { ArrowLeft as ArrowLeftSVG, Check as CheckSVG, ChevDown as ChevDownSVG, ChevLeft as ChevLeftSVG, ChevRight as ChevRightSVG, Circle as CircleSVG, Colors as ColorsSVG, Covers as CoversSVG, Cross as CrossSVG, Dashboard as DashboardSVG, Filter as FilterSVG, OrderInfo as OrderInfoSVG, Orders as OrdersSVG, Products as ProductsSVG, SignOut as SignOutSVG, Templates as TemplatesSVG, Upload as UploadSVG };
303
+ }
304
+
305
+ export { AVATAR_VARIANT, Avatar, BUTTON_VARIANTS, Banner, Button, Carousel, Checkbox, Chip, Ellipsis, FileUploader, FilterDropdown, type IAvatar, type IBanner, type IButton, type ICarousel, type ICheckbox, type IChip, type IEllipsis, type IFileUploader, type IFilter, type IFilterCategory, type IFilterOption, type IInput, type ILog, type IMenuItem, type IModal, type INavBar, type IPagination, type IPaging, type IRadioButton, type ISelectDropdown, type ISelectDropdownOption, type ISnackBar, type IState, type IStateBase, type ITable, type ITableColumn, type ITag, type ITimeLine, type ITooltip, index as Icons, Input, MODAL_SIZE, Modal, NavBar, Pagination, RadioButton, SNACK_BAR_TYPE, STATE_TYPE, SelectDropdown, Snackbar, State as States, TAG_TYPE, TOOLTIP_POSITION, Table, Tag, TimeLine, Tooltip };