digitinary-ui 1.0.70 → 1.0.71

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 (285) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +4 -0
  2. package/dist/components/Accordion/index.d.ts +1 -0
  3. package/dist/components/ActionDropdown/index.d.ts +8 -0
  4. package/dist/components/Alert/Alert.d.ts +4 -0
  5. package/dist/components/Alert/index.d.ts +1 -0
  6. package/dist/components/ArenaDatePicker/ArenaDatePicker.d.ts +6 -0
  7. package/dist/components/ArenaDatePicker/index.d.ts +1 -0
  8. package/dist/components/ArenaDateRange/ArenaDateRange.d.ts +37 -0
  9. package/dist/components/ArenaDateRange/index.d.ts +1 -0
  10. package/dist/components/ArenaLabel/ArenaLabel.d.ts +7 -0
  11. package/dist/components/BarChart/BarChart.d.ts +20 -0
  12. package/dist/components/Button/Button.d.ts +7 -0
  13. package/dist/components/Button/index.d.ts +1 -0
  14. package/dist/components/Card/Card.d.ts +4 -0
  15. package/dist/components/Card/index.d.ts +1 -0
  16. package/dist/components/Carousel/Carousel.d.ts +11 -0
  17. package/dist/components/Checkbox/Checkbox.d.ts +4 -0
  18. package/dist/components/Checkbox/index.d.ts +1 -0
  19. package/dist/components/Chip/Chip.d.ts +7 -0
  20. package/dist/components/Chip/index.d.ts +1 -0
  21. package/dist/components/Chips/Chips.d.ts +9 -0
  22. package/dist/components/CounterComponent/CounterComponent.d.ts +16 -0
  23. package/dist/components/Date/Date.d.ts +5 -0
  24. package/dist/components/Date/index.d.ts +1 -0
  25. package/dist/components/DateRange/DateRange.d.ts +53 -0
  26. package/dist/components/DateRange/index.d.ts +1 -0
  27. package/dist/components/Dialog/Dialog.d.ts +4 -0
  28. package/dist/components/Dialog/index.d.ts +1 -0
  29. package/dist/components/DonutChart/DonutChart.d.ts +31 -0
  30. package/dist/components/DoubleBarChart/DoubleBarChart.d.ts +21 -0
  31. package/dist/components/DropDown/DropDown.d.ts +28 -0
  32. package/dist/components/EllipsisTextWithTooltip/EllipsisTextWithTooltip.d.ts +7 -0
  33. package/dist/components/FieldArray/FieldArray.d.ts +10 -0
  34. package/dist/components/FieldArray/FieldArrayHook.d.ts +13 -0
  35. package/dist/components/FileUploader/index.d.ts +18 -0
  36. package/dist/components/FileUploader/viewFiles.d.ts +8 -0
  37. package/dist/components/HelperText/HelperText.d.ts +4 -0
  38. package/dist/components/HelperText/index.d.ts +1 -0
  39. package/dist/components/Input/Input.d.ts +5 -0
  40. package/dist/components/Input/index.d.ts +1 -0
  41. package/dist/components/InputRange/index.d.ts +13 -0
  42. package/dist/components/JsonEditor/JsonEditor.d.ts +3 -0
  43. package/dist/components/JsonField/JsonField.d.ts +11 -0
  44. package/dist/components/Label/Label.d.ts +4 -0
  45. package/dist/components/Label/index.d.ts +1 -0
  46. package/dist/components/LineChart/LineChart.d.ts +22 -0
  47. package/dist/components/Loader/Loader.d.ts +11 -0
  48. package/dist/components/Loader/index.d.ts +1 -0
  49. package/dist/components/MultiSelectWithChips/MultiSelectWithChips.d.ts +26 -0
  50. package/dist/components/NewDate/ArenaDatePicker.d.ts +0 -0
  51. package/dist/components/NewDate/types.d.ts +0 -0
  52. package/dist/components/NoDataFallback/NoDataFallback.d.ts +9 -0
  53. package/dist/components/Overlay/Overlay.d.ts +5 -0
  54. package/dist/components/Overlay/index.d.ts +1 -0
  55. package/dist/components/Pagination/Pagination.d.ts +5 -0
  56. package/dist/components/Pagination/index.d.ts +1 -0
  57. package/dist/components/PhoneNumber/CountryFlags/index.d.ts +253 -0
  58. package/dist/components/PhoneNumber/CountryList.d.ts +6 -0
  59. package/dist/components/PhoneNumber/DropDown/DropDown.d.ts +36 -0
  60. package/dist/components/PhoneNumber/PhoneNumber.d.ts +21 -0
  61. package/dist/components/PhoneNumber/index.d.ts +2 -0
  62. package/dist/components/PieChart/PieChart.d.ts +17 -0
  63. package/dist/components/Radio/Radio.d.ts +5 -0
  64. package/dist/components/Radio/index.d.ts +1 -0
  65. package/dist/components/RadioGroup/RadioGroup.d.ts +4 -0
  66. package/dist/components/RadioGroup/index.d.ts +1 -0
  67. package/dist/components/SectionHead/SectionHead.d.ts +11 -0
  68. package/dist/components/SelectGroup/SelectGroup.d.ts +4 -0
  69. package/dist/components/SelectGroup/index.d.ts +1 -0
  70. package/dist/components/SideDrawer/SideDrawer.d.ts +4 -0
  71. package/dist/components/SideDrawer/index.d.ts +1 -0
  72. package/dist/components/SimpleCollapseSection/SimpleCollapseSection.d.ts +11 -0
  73. package/dist/components/SimpleLabelValue/SimpleLabelValue.d.ts +11 -0
  74. package/dist/components/SimpleLabelValue/index.d.ts +1 -0
  75. package/dist/components/StackedBarChart/StackedBarChart.d.ts +26 -0
  76. package/dist/components/Stepper/Step/Step.d.ts +16 -0
  77. package/dist/components/Stepper/Stepper.d.ts +16 -0
  78. package/dist/components/Switch/Switch.d.ts +4 -0
  79. package/dist/components/Switch/index.d.ts +1 -0
  80. package/dist/components/Table/Table.d.ts +4 -0
  81. package/dist/components/Table/index.d.ts +1 -0
  82. package/dist/components/TextArea/TextArea.d.ts +4 -0
  83. package/dist/components/TextArea/index.d.ts +1 -0
  84. package/dist/components/TimeTracker/TimeTracker.d.ts +15 -0
  85. package/dist/components/Tooltip/Tooltip.d.ts +12 -0
  86. package/dist/components/Uploader/Uploader.d.ts +24 -0
  87. package/dist/components/index.d.ts +50 -0
  88. package/dist/constants/index.d.ts +1 -0
  89. package/dist/icons/AccessDeniedIcon.d.ts +3 -0
  90. package/dist/icons/AccountActivation.d.ts +3 -0
  91. package/dist/icons/AccountChartIcon.d.ts +3 -0
  92. package/dist/icons/AccountDarkIcon.d.ts +3 -0
  93. package/dist/icons/AccountIcon.d.ts +3 -0
  94. package/dist/icons/AccountStatement.d.ts +3 -0
  95. package/dist/icons/ActivateAccount.d.ts +3 -0
  96. package/dist/icons/ActivateCard.d.ts +3 -0
  97. package/dist/icons/ActivateCardIcon.d.ts +3 -0
  98. package/dist/icons/ActiveIcon.d.ts +3 -0
  99. package/dist/icons/Add.d.ts +3 -0
  100. package/dist/icons/AddIcon.d.ts +3 -0
  101. package/dist/icons/AlertErrorIcon.d.ts +3 -0
  102. package/dist/icons/AlertInfoIcon.d.ts +3 -0
  103. package/dist/icons/AlertSuccessIcon.d.ts +3 -0
  104. package/dist/icons/AlertWarningIcon.d.ts +3 -0
  105. package/dist/icons/ApproveIcon.d.ts +3 -0
  106. package/dist/icons/ArenaLogo.d.ts +3 -0
  107. package/dist/icons/ArrowBottom.d.ts +3 -0
  108. package/dist/icons/ArrowIcon.d.ts +3 -0
  109. package/dist/icons/ArrowLeft.d.ts +3 -0
  110. package/dist/icons/ArrowRight.d.ts +3 -0
  111. package/dist/icons/ArrowUp.d.ts +3 -0
  112. package/dist/icons/ArrowUpIcon.d.ts +3 -0
  113. package/dist/icons/AssignIcon.d.ts +3 -0
  114. package/dist/icons/BackArrow.d.ts +3 -0
  115. package/dist/icons/BackArrowArabic.d.ts +3 -0
  116. package/dist/icons/Buyer.d.ts +3 -0
  117. package/dist/icons/Calendar.d.ts +3 -0
  118. package/dist/icons/CardIcon.d.ts +3 -0
  119. package/dist/icons/CardsIcon.d.ts +3 -0
  120. package/dist/icons/Check.d.ts +3 -0
  121. package/dist/icons/CheckMark.d.ts +3 -0
  122. package/dist/icons/ClaimIcon.d.ts +3 -0
  123. package/dist/icons/ClearField.d.ts +3 -0
  124. package/dist/icons/ClipBoard.d.ts +3 -0
  125. package/dist/icons/CloseAccount.d.ts +3 -0
  126. package/dist/icons/CloseIcon.d.ts +3 -0
  127. package/dist/icons/ConsentCharIcon.d.ts +3 -0
  128. package/dist/icons/ContactIcon.d.ts +3 -0
  129. package/dist/icons/CopyInput.d.ts +3 -0
  130. package/dist/icons/CustomerApproved.d.ts +3 -0
  131. package/dist/icons/CustomerRejected.d.ts +3 -0
  132. package/dist/icons/DangerIcon.d.ts +3 -0
  133. package/dist/icons/DefaultIcon.d.ts +3 -0
  134. package/dist/icons/DeleteIcon.d.ts +3 -0
  135. package/dist/icons/DeleteOutlinedIcon.d.ts +3 -0
  136. package/dist/icons/DisabledIcon.d.ts +3 -0
  137. package/dist/icons/Document.d.ts +3 -0
  138. package/dist/icons/DoubleLeftArrow.d.ts +3 -0
  139. package/dist/icons/DoubleRightArrow.d.ts +3 -0
  140. package/dist/icons/DownloadIcon.d.ts +3 -0
  141. package/dist/icons/EditIcon.d.ts +3 -0
  142. package/dist/icons/EmptyAccount.d.ts +3 -0
  143. package/dist/icons/EmptyActivityStatus.d.ts +3 -0
  144. package/dist/icons/EmptyCard.d.ts +3 -0
  145. package/dist/icons/EmptyCardIcon.d.ts +3 -0
  146. package/dist/icons/EmptyChannelsIcon.d.ts +3 -0
  147. package/dist/icons/EmptyDashboard.d.ts +3 -0
  148. package/dist/icons/EmptyFinance.d.ts +3 -0
  149. package/dist/icons/EmptyFinanceIcon.d.ts +3 -0
  150. package/dist/icons/EmptyLiabilitiesIcon.d.ts +3 -0
  151. package/dist/icons/EmptyRequest.d.ts +3 -0
  152. package/dist/icons/EmptyResults.d.ts +3 -0
  153. package/dist/icons/EmptySpendingIcon.d.ts +3 -0
  154. package/dist/icons/ErrorIcon.d.ts +3 -0
  155. package/dist/icons/ExcelIcon.d.ts +3 -0
  156. package/dist/icons/EyeIcon.d.ts +3 -0
  157. package/dist/icons/Fail.d.ts +3 -0
  158. package/dist/icons/FilterIcon.d.ts +3 -0
  159. package/dist/icons/Finance.d.ts +3 -0
  160. package/dist/icons/GeneralIcon.d.ts +3 -0
  161. package/dist/icons/GridView.d.ts +3 -0
  162. package/dist/icons/HidePasswordIcon.d.ts +3 -0
  163. package/dist/icons/HistoryIcon.d.ts +3 -0
  164. package/dist/icons/HomeIcon.d.ts +3 -0
  165. package/dist/icons/InactiveCardIcon.d.ts +3 -0
  166. package/dist/icons/InactiveIcon.d.ts +3 -0
  167. package/dist/icons/InfoCircle.d.ts +3 -0
  168. package/dist/icons/InfoIcon.d.ts +3 -0
  169. package/dist/icons/InfoIconOnboard.d.ts +3 -0
  170. package/dist/icons/InfoSquare.d.ts +3 -0
  171. package/dist/icons/InstallmentsPay.d.ts +3 -0
  172. package/dist/icons/IntoUser.d.ts +3 -0
  173. package/dist/icons/Kwd.d.ts +3 -0
  174. package/dist/icons/LaptopIcon.d.ts +3 -0
  175. package/dist/icons/LeadActivities.d.ts +3 -0
  176. package/dist/icons/LeadDocuments.d.ts +3 -0
  177. package/dist/icons/LeadInterestIcon.d.ts +3 -0
  178. package/dist/icons/LeadOwnerIcon.d.ts +3 -0
  179. package/dist/icons/LeadSourceIcon.d.ts +3 -0
  180. package/dist/icons/LeadStagesIcon.d.ts +3 -0
  181. package/dist/icons/LeadStatus.d.ts +3 -0
  182. package/dist/icons/LeftArrowIcon.d.ts +3 -0
  183. package/dist/icons/LinkIcon.d.ts +3 -0
  184. package/dist/icons/LoaderIcon.d.ts +3 -0
  185. package/dist/icons/LogoutIcon.d.ts +3 -0
  186. package/dist/icons/ManageCardIcon.d.ts +3 -0
  187. package/dist/icons/ManageDebitCard.d.ts +3 -0
  188. package/dist/icons/MasterCardDiamond.d.ts +3 -0
  189. package/dist/icons/MessageExclamation.d.ts +3 -0
  190. package/dist/icons/MessageSquareIcon.d.ts +3 -0
  191. package/dist/icons/Minus.d.ts +3 -0
  192. package/dist/icons/MoreSquare.d.ts +3 -0
  193. package/dist/icons/MoreSquareIcon.d.ts +3 -0
  194. package/dist/icons/MurabahaCars.d.ts +3 -0
  195. package/dist/icons/MurabahaRealEstate.d.ts +3 -0
  196. package/dist/icons/NoAvatar.d.ts +3 -0
  197. package/dist/icons/NoDocuments.d.ts +3 -0
  198. package/dist/icons/OnboardingError.d.ts +3 -0
  199. package/dist/icons/OnboardingPending.d.ts +3 -0
  200. package/dist/icons/OnboardingReject.d.ts +3 -0
  201. package/dist/icons/OnboardingSuccess.d.ts +3 -0
  202. package/dist/icons/OpenAccount.d.ts +3 -0
  203. package/dist/icons/OpenDeposit.d.ts +3 -0
  204. package/dist/icons/PayToCardIcon.d.ts +3 -0
  205. package/dist/icons/PaymentCard.d.ts +3 -0
  206. package/dist/icons/PaymentChartIcon.d.ts +3 -0
  207. package/dist/icons/PaymentDarkIcon.d.ts +3 -0
  208. package/dist/icons/PaymentIcon.d.ts +3 -0
  209. package/dist/icons/PdfIcon.d.ts +3 -0
  210. package/dist/icons/PenIcon.d.ts +3 -0
  211. package/dist/icons/PlusIcon.d.ts +3 -0
  212. package/dist/icons/PointIcon.d.ts +3 -0
  213. package/dist/icons/Profile.d.ts +3 -0
  214. package/dist/icons/ProfileIcon.d.ts +3 -0
  215. package/dist/icons/ReassignIcon.d.ts +3 -0
  216. package/dist/icons/Refresh.d.ts +3 -0
  217. package/dist/icons/RefreshIcon.d.ts +3 -0
  218. package/dist/icons/RejectIcon.d.ts +3 -0
  219. package/dist/icons/Reload.d.ts +3 -0
  220. package/dist/icons/ReportLost.d.ts +3 -0
  221. package/dist/icons/ReportStolen.d.ts +3 -0
  222. package/dist/icons/RequestCardIcon.d.ts +3 -0
  223. package/dist/icons/ResetPasswordIcon.d.ts +3 -0
  224. package/dist/icons/ResolvedIcon.d.ts +3 -0
  225. package/dist/icons/ResubmitIcon.d.ts +3 -0
  226. package/dist/icons/ReturnIcon.d.ts +3 -0
  227. package/dist/icons/RightArrowIcon.d.ts +3 -0
  228. package/dist/icons/RotatingCircle.d.ts +3 -0
  229. package/dist/icons/SearchIcon.d.ts +3 -0
  230. package/dist/icons/SelectDownArrowIcon.d.ts +3 -0
  231. package/dist/icons/SelectFieldDownArrow.d.ts +3 -0
  232. package/dist/icons/SelectFieldUpArrow.d.ts +3 -0
  233. package/dist/icons/SendCardPinIcon.d.ts +3 -0
  234. package/dist/icons/ServerBlock.d.ts +3 -0
  235. package/dist/icons/Settings.d.ts +3 -0
  236. package/dist/icons/ShowPasswordIcon.d.ts +3 -0
  237. package/dist/icons/SmallArrow.d.ts +3 -0
  238. package/dist/icons/SmallArrowRight.d.ts +3 -0
  239. package/dist/icons/SortIcon.d.ts +3 -0
  240. package/dist/icons/Sound.d.ts +3 -0
  241. package/dist/icons/StandingOrderIcon.d.ts +3 -0
  242. package/dist/icons/SubmitIcon.d.ts +3 -0
  243. package/dist/icons/Success.d.ts +3 -0
  244. package/dist/icons/SuccessIcon.d.ts +3 -0
  245. package/dist/icons/Swap.d.ts +3 -0
  246. package/dist/icons/TableView.d.ts +3 -0
  247. package/dist/icons/Tawaroq.d.ts +3 -0
  248. package/dist/icons/TimeCircle.d.ts +3 -0
  249. package/dist/icons/TopOpenLeadsIcon.d.ts +3 -0
  250. package/dist/icons/TrackingIcon.d.ts +3 -0
  251. package/dist/icons/TransferBetweenOwnAccountIcon.d.ts +3 -0
  252. package/dist/icons/TransferFromCardIcon.d.ts +3 -0
  253. package/dist/icons/TransferIcon.d.ts +3 -0
  254. package/dist/icons/TransferInternalIcon.d.ts +3 -0
  255. package/dist/icons/TransferInternational.d.ts +3 -0
  256. package/dist/icons/TransferInternationalIcon.d.ts +3 -0
  257. package/dist/icons/TransferLocalIcon.d.ts +3 -0
  258. package/dist/icons/ViewAccount.d.ts +3 -0
  259. package/dist/icons/ViewCreditCard.d.ts +3 -0
  260. package/dist/icons/ViewDebitCard.d.ts +3 -0
  261. package/dist/icons/ViewFinanceIcon.d.ts +3 -0
  262. package/dist/icons/ViewIcon.d.ts +3 -0
  263. package/dist/icons/VisaPlatinum.d.ts +3 -0
  264. package/dist/icons/VisaSignature.d.ts +3 -0
  265. package/dist/icons/WaitList.d.ts +3 -0
  266. package/dist/icons/WarningIcon.d.ts +3 -0
  267. package/dist/icons/WhiteArrowLeft.d.ts +3 -0
  268. package/dist/icons/WhiteList.d.ts +3 -0
  269. package/dist/icons/WordIcon.d.ts +3 -0
  270. package/dist/icons/ZoomIn.d.ts +3 -0
  271. package/dist/icons/ZoomInIcon.d.ts +3 -0
  272. package/dist/icons/ZoomOut.d.ts +3 -0
  273. package/dist/icons/ZoomOutIcon.d.ts +3 -0
  274. package/dist/icons/index.d.ts +179 -0
  275. package/dist/index.d.ts +3 -0
  276. package/dist/index.js +2 -0
  277. package/dist/index.js.LICENSE.txt +64 -0
  278. package/dist/types/all.scss.d.ts +5 -0
  279. package/dist/types/enums.d.ts +21 -0
  280. package/dist/types/index.d.ts +3 -0
  281. package/dist/types/interfaces.d.ts +326 -0
  282. package/dist/types/jsx.d.ts +13 -0
  283. package/dist/types/types.d.ts +33 -0
  284. package/dist/utils/index.d.ts +82 -0
  285. package/package.json +2 -1
@@ -0,0 +1,4 @@
1
+ import { AccordionProps } from '../../types';
2
+ import './style.scss';
3
+ declare const Accordion: ({ defaultExpanded, expanded, disabled, onChange, summary, children, className, }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Accordion;
@@ -0,0 +1 @@
1
+ export { default } from './Accordion';
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ interface DropdownButtonProps {
4
+ options?: React.ReactNode[];
5
+ customContainer?: HTMLElement;
6
+ }
7
+ declare const ActionDropdown: ({ options, customContainer }: DropdownButtonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default ActionDropdown;
@@ -0,0 +1,4 @@
1
+ import { AlertProps } from '../../types';
2
+ import './style.scss';
3
+ declare const Alert: ({ severity, color, variant, onClose, action, className, icon, customStyle, children, }: AlertProps) => import("react/jsx-runtime").JSX.Element | null;
4
+ export default Alert;
@@ -0,0 +1 @@
1
+ export { default } from './Alert';
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import 'react-datepicker/dist/react-datepicker.css';
3
+ import { DateProps } from '../../types/interfaces';
4
+ import './style.scss';
5
+ declare const ArenaDatePicker: FC<DateProps>;
6
+ export default ArenaDatePicker;
@@ -0,0 +1 @@
1
+ export { default } from './ArenaDatePicker';
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ interface DateRangePickerProps {
4
+ value: string | null;
5
+ onChange: (dateRange: string) => void;
6
+ label?: string | JSX.Element;
7
+ placeholder?: string;
8
+ showTimeInput?: boolean;
9
+ className?: string;
10
+ disabled?: boolean;
11
+ size?: string;
12
+ id?: string;
13
+ clearable?: boolean;
14
+ endDatePlaceholder: string;
15
+ startDatePlaceholder: string;
16
+ disableStartDate: boolean;
17
+ showMonthYearPicker: boolean;
18
+ disableEndDate: boolean;
19
+ maxStartDate?: string;
20
+ minStartDate?: string;
21
+ maxEndDate?: string;
22
+ minEndDate?: string;
23
+ required?: boolean;
24
+ labels?: {
25
+ month: string;
26
+ day: string;
27
+ Apply: string;
28
+ week: string;
29
+ Select: string;
30
+ Last: string;
31
+ Start_Date: string;
32
+ End_Date: string;
33
+ Selected_Date: string;
34
+ };
35
+ }
36
+ declare const ArenaDateRange: React.FC<DateRangePickerProps>;
37
+ export default ArenaDateRange;
@@ -0,0 +1 @@
1
+ export { default } from './ArenaDateRange';
@@ -0,0 +1,7 @@
1
+ import './style.scss';
2
+ type ArenaLabel = {
3
+ label: string;
4
+ type: 'required' | 'optional';
5
+ };
6
+ declare const ArenaLabel: ({ label, type }: ArenaLabel) => import("react/jsx-runtime").JSX.Element;
7
+ export default ArenaLabel;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ type DataItem = {
4
+ name: string;
5
+ value: number;
6
+ color: string;
7
+ };
8
+ type BarChartProps = {
9
+ data: DataItem[];
10
+ className?: string;
11
+ barSize: number;
12
+ width: number;
13
+ height: number;
14
+ selectedItem?: string;
15
+ yAxisFontSize?: string;
16
+ xAxisFontSize?: string;
17
+ yAxisOffset?: number;
18
+ };
19
+ declare const BarChart: React.FC<BarChartProps>;
20
+ export default BarChart;
@@ -0,0 +1,7 @@
1
+ import { ButtonPropsType } from '../../types';
2
+ import './style.scss';
3
+ declare const Button: {
4
+ ({ children, className, variant, color, size, type, disabled, loading, startIcon, endIcon, fullWidth, onKeyDown, onClick, active, dataId, ...props }: ButtonPropsType): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Button;
@@ -0,0 +1 @@
1
+ export { default } from './Button';
@@ -0,0 +1,4 @@
1
+ import { CardPropsType } from '../../types';
2
+ import './style.scss';
3
+ declare const Card: ({ header, children, footer, className, rounded }: CardPropsType) => import("react/jsx-runtime").JSX.Element;
4
+ export default Card;
@@ -0,0 +1 @@
1
+ export { default } from './Card';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ type CarouselProps = {
4
+ items: JSX.Element[];
5
+ title: string;
6
+ move?: boolean;
7
+ setMove?: (move: boolean) => void;
8
+ className?: string;
9
+ };
10
+ declare const Carousel: React.FC<CarouselProps>;
11
+ export default Carousel;
@@ -0,0 +1,4 @@
1
+ import { CheckboxPropsType } from '../../types';
2
+ import './style.scss';
3
+ declare const Checkbox: ({ label, labelPlacement, handleCheckboxChange, className, checked, size, disabled, }: CheckboxPropsType) => import("react/jsx-runtime").JSX.Element;
4
+ export default Checkbox;
@@ -0,0 +1 @@
1
+ export { default } from './Checkbox';
@@ -0,0 +1,7 @@
1
+ import { ChipPropsType } from '../../types';
2
+ import './style.scss';
3
+ declare const Chip: {
4
+ ({ className, color, children, variant, clickable, onClick, onDelete, size, id, type, }: ChipPropsType): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ export default Chip;
@@ -0,0 +1 @@
1
+ export { default } from './Chip';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ interface ChipsProps {
4
+ chips?: string[] | any[];
5
+ onDelete?: (option: string) => void;
6
+ className?: string;
7
+ }
8
+ declare const Chips: React.FC<ChipsProps>;
9
+ export default Chips;
@@ -0,0 +1,16 @@
1
+ import { SizeType } from 'types';
2
+ import './style.scss';
3
+ interface CounterComponentProps {
4
+ label?: string;
5
+ value?: number;
6
+ size?: SizeType;
7
+ onChange?: (value?: number) => void;
8
+ errorMsg?: string;
9
+ required?: boolean;
10
+ disabled?: boolean;
11
+ className?: string;
12
+ minNumber: number;
13
+ maxNumber: number;
14
+ }
15
+ declare const CounterComponent: ({ label, value, size, onChange, errorMsg, required, disabled, className, minNumber, maxNumber, }: CounterComponentProps) => import("react/jsx-runtime").JSX.Element;
16
+ export default CounterComponent;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { DateProps } from '../../types';
3
+ import './style.scss';
4
+ declare const Date: FC<DateProps>;
5
+ export default Date;
@@ -0,0 +1 @@
1
+ export { default } from './Date';
@@ -0,0 +1,53 @@
1
+ import { FC } from 'react';
2
+ import { SizeType, periodType } from '../../types';
3
+ import './style.scss';
4
+ interface DateRangeProps {
5
+ id?: string;
6
+ label?: JSX.Element | string;
7
+ helperText?: string;
8
+ errorMsg?: string;
9
+ success?: boolean;
10
+ disabled?: boolean;
11
+ maxRangeSpan?: periodType;
12
+ value?: {
13
+ value: string;
14
+ type: {
15
+ key: string;
16
+ value: string;
17
+ };
18
+ };
19
+ onChange: (newValue?: {
20
+ value: string;
21
+ type: {
22
+ key: string;
23
+ value: string;
24
+ };
25
+ }) => void;
26
+ size?: SizeType;
27
+ clearable?: boolean;
28
+ hideMoreDateOptions?: boolean;
29
+ showTimePicker?: boolean;
30
+ acceptSameDay?: boolean;
31
+ maxStartDate?: string;
32
+ minStartDate?: string;
33
+ maxEndDate?: string;
34
+ minEndDate?: string;
35
+ disableStartDate?: boolean;
36
+ disableEndDate?: boolean;
37
+ labels?: {
38
+ month: string;
39
+ day: string;
40
+ Apply: string;
41
+ week: string;
42
+ Select: string;
43
+ Last: string;
44
+ Start_Date: string;
45
+ End_Date: string;
46
+ Selected_Date: string;
47
+ };
48
+ className?: string;
49
+ dataId?: string;
50
+ required?: boolean;
51
+ }
52
+ declare const DateRange: FC<DateRangeProps>;
53
+ export default DateRange;
@@ -0,0 +1 @@
1
+ export { default } from './DateRange';
@@ -0,0 +1,4 @@
1
+ import { DialogPropsType } from '../../types';
2
+ import './style.scss';
3
+ declare const Dialog: ({ open, onClose, header, content, footer, position, size, disableOverlay, disableBackdropClick, fullWidth, dataId, scroll, className, }: DialogPropsType) => import("react/jsx-runtime").JSX.Element;
4
+ export default Dialog;
@@ -0,0 +1 @@
1
+ export { default } from './Dialog';
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ type DataItem = {
4
+ name: string;
5
+ value: number;
6
+ fill: string;
7
+ };
8
+ type DonutChartProps = {
9
+ data: DataItem[];
10
+ height?: number;
11
+ width?: number;
12
+ innerRadius?: number;
13
+ outerRadius?: number;
14
+ withPercentage?: boolean;
15
+ dataId?: string;
16
+ fontSize?: string;
17
+ withLegend?: boolean;
18
+ withMoreDetails?: boolean;
19
+ valueFontSize?: string;
20
+ nameFontSize?: string;
21
+ noDataState?: boolean;
22
+ endAngle?: number;
23
+ startAngle?: number;
24
+ dy?: number;
25
+ className?: string;
26
+ innerShapeRadius?: number;
27
+ outerShapeRadius?: number;
28
+ withTooltip?: boolean;
29
+ };
30
+ declare const DonutChart: React.FC<DonutChartProps>;
31
+ export default DonutChart;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ interface DoubleBarChartProps {
4
+ data: {
5
+ name: string;
6
+ value: number;
7
+ volume: number;
8
+ }[];
9
+ className?: string;
10
+ barSize: number;
11
+ width: number;
12
+ height: number;
13
+ selectedFirstItem: string;
14
+ selectedSeconedItem: string;
15
+ color: {
16
+ first: string;
17
+ seconed: string;
18
+ };
19
+ }
20
+ declare const DoubleBarChart: React.FC<DoubleBarChartProps>;
21
+ export default DoubleBarChart;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ type Option = {
4
+ value: string;
5
+ view: React.ReactNode;
6
+ };
7
+ type Value = {
8
+ item: Object;
9
+ [key: string]: any;
10
+ };
11
+ type DropDownProps = {
12
+ label?: string;
13
+ placeholder?: string;
14
+ options?: Option[];
15
+ value?: Value;
16
+ size?: string;
17
+ setValue?: React.Dispatch<React.SetStateAction<string>>;
18
+ clearable?: boolean;
19
+ errorMessage?: string;
20
+ required?: boolean;
21
+ disabled?: boolean;
22
+ defaultIconTitle?: string;
23
+ showDefaultIcon?: boolean;
24
+ defaultIcon?: React.ReactNode;
25
+ className?: string;
26
+ };
27
+ declare const DropDown: React.FC<DropDownProps>;
28
+ export default DropDown;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface TextWithTooltipProps {
3
+ text: string;
4
+ limit: number;
5
+ }
6
+ declare const EllipsisTextWithTooltip: React.FC<TextWithTooltipProps>;
7
+ export default EllipsisTextWithTooltip;
@@ -0,0 +1,10 @@
1
+ import './style.scss';
2
+ interface FieldArrayProps {
3
+ initialFields: any[];
4
+ fieldsSettings: any[];
5
+ value: any[];
6
+ setValue: (value: any) => void;
7
+ handleDataChanged?: () => void;
8
+ }
9
+ declare const FieldArray: ({ initialFields, fieldsSettings, value, setValue, handleDataChanged, }: FieldArrayProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default FieldArray;
@@ -0,0 +1,13 @@
1
+ type FieldArrayValue = Record<string, string | number | object>;
2
+ interface UseCusFieldArrayProps {
3
+ initialFields: any[];
4
+ value: FieldArrayValue[];
5
+ }
6
+ interface UseCusFieldArrayReturn {
7
+ fields: any[];
8
+ append: (newField: any) => void;
9
+ replace: (index: number, newField: any) => void;
10
+ remove: (index: number) => void;
11
+ }
12
+ declare const useCusFieldArray: ({ value }: UseCusFieldArrayProps) => UseCusFieldArrayReturn;
13
+ export default useCusFieldArray;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import './style.scss';
3
+ type FileOrUrl = File | string;
4
+ interface FileUploaderProps {
5
+ multiple?: boolean;
6
+ disabled?: boolean;
7
+ accept?: string;
8
+ value: FileOrUrl[] | [];
9
+ onChange: (value: FileOrUrl[]) => void;
10
+ size?: 'small' | 'medium' | 'large';
11
+ label?: JSX.Element | string | number;
12
+ placeholder?: string | number;
13
+ required?: boolean;
14
+ key?: any;
15
+ handleDownload: (value: FileOrUrl) => void;
16
+ }
17
+ declare const FileUploader: ({ multiple, disabled, accept, value, onChange, size, label, placeholder, required, key, handleDownload, }: FileUploaderProps) => import("react/jsx-runtime").JSX.Element;
18
+ export default FileUploader;
@@ -0,0 +1,8 @@
1
+ import './style.scss';
2
+ type FileOrUrl = File | string;
3
+ declare const ViewFiles: ({ files, onChange, handleDownload, }: {
4
+ files: FileOrUrl[];
5
+ onChange: (value: FileOrUrl[]) => void;
6
+ handleDownload: (value: FileOrUrl) => void;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ export default ViewFiles;
@@ -0,0 +1,4 @@
1
+ import { HelperTextPropsType } from '../../types';
2
+ import './style.scss';
3
+ declare const HelperText: ({ className, type, text }: HelperTextPropsType) => import("react/jsx-runtime").JSX.Element;
4
+ export default HelperText;
@@ -0,0 +1 @@
1
+ export { default } from './HelperText';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { InputProps } from '../../types';
3
+ import './style.scss';
4
+ declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
5
+ export default Input;
@@ -0,0 +1 @@
1
+ export { default } from './Input';
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import './style.scss';
3
+ interface InputRangeProps {
4
+ value: string;
5
+ onChange: (value: string) => void;
6
+ disabled?: boolean;
7
+ min?: string;
8
+ max?: string;
9
+ label?: JSX.Element | string | number;
10
+ required?: boolean;
11
+ }
12
+ declare const InputRange: ({ value, onChange, disabled, min, max, label, required, }: InputRangeProps) => import("react/jsx-runtime").JSX.Element;
13
+ export default InputRange;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const JsonEditor: React.FC;
3
+ export default JsonEditor;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ interface JsonFieldProps {
4
+ json: string;
5
+ setJson: React.Dispatch<React.SetStateAction<string>>;
6
+ title: string;
7
+ disabled?: boolean;
8
+ className?: string;
9
+ }
10
+ declare const JsonField: React.FC<JsonFieldProps>;
11
+ export default JsonField;
@@ -0,0 +1,4 @@
1
+ import { LabelPropsType } from '../../types';
2
+ import './style.scss';
3
+ declare const Label: ({ className, required, label }: LabelPropsType) => import("react/jsx-runtime").JSX.Element;
4
+ export default Label;
@@ -0,0 +1 @@
1
+ export { default } from './Label';
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ type LineData = {
4
+ name: string;
5
+ [key: string]: string | number;
6
+ fill: string | number;
7
+ };
8
+ type LineItem = {
9
+ name: string;
10
+ key: string;
11
+ color: string;
12
+ dotColor: string;
13
+ };
14
+ type LineChartProps = {
15
+ data: LineData[];
16
+ lines: LineItem[];
17
+ height?: number;
18
+ width?: number;
19
+ className?: string;
20
+ };
21
+ declare const LineChartComponent: React.FC<LineChartProps>;
22
+ export default LineChartComponent;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ interface LoaderProps {
4
+ className?: string;
5
+ width?: number;
6
+ height?: number;
7
+ color?: string;
8
+ shape?: 'quarter' | 'half' | 'three-quarters';
9
+ }
10
+ declare const Loader: React.FC<LoaderProps>;
11
+ export default Loader;
@@ -0,0 +1 @@
1
+ export { default } from './Loader';
@@ -0,0 +1,26 @@
1
+ import './style.scss';
2
+ interface Option {
3
+ value: string;
4
+ label: string;
5
+ [key: string]: string;
6
+ }
7
+ interface Group {
8
+ groupName?: string;
9
+ list: Option[];
10
+ }
11
+ interface MultiSelectGroupProps {
12
+ label?: string;
13
+ placeholder?: string;
14
+ options: Group[];
15
+ value: Option[];
16
+ setValue: (value: Option | Option[] | null) => void;
17
+ isMultiple?: boolean;
18
+ disabled?: boolean;
19
+ className?: string;
20
+ helperText?: string;
21
+ withSearch?: boolean;
22
+ itemsLabel?: string;
23
+ size?: string;
24
+ }
25
+ export declare const MultiSelectWithChips: ({ label, placeholder, options, value, setValue, isMultiple, disabled, className, helperText, withSearch, itemsLabel, size, }: MultiSelectGroupProps) => import("react/jsx-runtime").JSX.Element;
26
+ export default MultiSelectWithChips;
File without changes
File without changes
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ interface NoDataFallbackProps {
4
+ icon: React.ReactNode;
5
+ message?: string;
6
+ className?: string;
7
+ }
8
+ declare const NoDataFallback: React.FC<NoDataFallbackProps>;
9
+ export default NoDataFallback;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './style.scss';
3
+ import { OverlayPropsType } from '../../types';
4
+ declare const Overlay: React.FC<OverlayPropsType>;
5
+ export default Overlay;
@@ -0,0 +1 @@
1
+ export { default } from './Overlay';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { PaginationProps } from '../../types';
3
+ import './style.scss';
4
+ declare const Pagination: React.FC<PaginationProps>;
5
+ export default Pagination;
@@ -0,0 +1 @@
1
+ export { default } from './Pagination';