digitinary-ui 1.0.230 → 1.0.232
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.
- package/dist/components/Accordion/Accordion.d.ts +4 -0
- package/dist/components/Accordion/Accordion.test.d.ts +1 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/ActionDropdown/ActionDropdown.test.d.ts +1 -0
- package/dist/components/ActionDropdown/index.d.ts +9 -0
- package/dist/components/Alert/Alert.d.ts +4 -0
- package/dist/components/Alert/Alert.test.d.ts +1 -0
- package/dist/components/Alert/index.d.ts +1 -0
- package/dist/components/ArenaDatePicker/ArenaDatePicker.d.ts +6 -0
- package/dist/components/ArenaDatePicker/index.d.ts +1 -0
- package/dist/components/ArenaDateRange/ArenaDateRange.d.ts +37 -0
- package/dist/components/ArenaDateRange/index.d.ts +1 -0
- package/dist/components/ArenaLabel/ArenaLabel.d.ts +7 -0
- package/dist/components/ArenaLabel/ArenaLabel.test.d.ts +1 -0
- package/dist/components/BarChart/BarChart.d.ts +20 -0
- package/dist/components/Button/Button.d.ts +7 -0
- package/dist/components/Button/Button.test.d.ts +1 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Card/Card.d.ts +4 -0
- package/dist/components/Card/Card.test.d.ts +1 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Carousel/Carousel.d.ts +11 -0
- package/dist/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Chip/Chip.d.ts +7 -0
- package/dist/components/Chip/index.d.ts +1 -0
- package/dist/components/Chips/Chips.d.ts +11 -0
- package/dist/components/CounterComponent/CounterComponent.d.ts +16 -0
- package/dist/components/Date/Date.d.ts +29 -0
- package/dist/components/Date/index.d.ts +1 -0
- package/dist/components/DateRange/DateRange.d.ts +53 -0
- package/dist/components/DateRange/index.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +4 -0
- package/dist/components/Dialog/index.d.ts +1 -0
- package/dist/components/DonutChart/DonutChart.d.ts +31 -0
- package/dist/components/DoubleBarChart/DoubleBarChart.d.ts +21 -0
- package/dist/components/DropDown/DropDown.d.ts +28 -0
- package/dist/components/EllipsisMenu/index.d.ts +9 -0
- package/dist/components/EllipsisTextWithTooltip/EllipsisTextWithTooltip.d.ts +7 -0
- package/dist/components/FieldArray/FieldArray.d.ts +10 -0
- package/dist/components/FieldArray/FieldArrayHook.d.ts +13 -0
- package/dist/components/FileUploader/index.d.ts +18 -0
- package/dist/components/FileUploader/viewFiles.d.ts +8 -0
- package/dist/components/FileUploaderV2/index.d.ts +4 -0
- package/dist/components/FileUploaderV2/types.d.ts +33 -0
- package/dist/components/FileUploaderV2/viewFiles.d.ts +4 -0
- package/dist/components/GaugeChart/index.d.ts +4 -0
- package/dist/components/GaugeChart/types.d.ts +8 -0
- package/dist/components/GridSystem/Col.d.ts +5 -0
- package/dist/components/GridSystem/Container.d.ts +5 -0
- package/dist/components/GridSystem/helper.d.ts +31 -0
- package/dist/components/HelperText/HelperText.d.ts +4 -0
- package/dist/components/HelperText/index.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +5 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/input.test.d.ts +1 -0
- package/dist/components/InputRange/index.d.ts +14 -0
- package/dist/components/JsonEditor/JsonEditor.d.ts +3 -0
- package/dist/components/JsonField/JsonField.d.ts +11 -0
- package/dist/components/Label/Label.d.ts +4 -0
- package/dist/components/Label/index.d.ts +1 -0
- package/dist/components/LineChart/LineChart.d.ts +26 -0
- package/dist/components/Loader/Loader.d.ts +5 -0
- package/dist/components/Loader/index.d.ts +1 -0
- package/dist/components/MultiSelectWithChips/MultiSelectWithChips.d.ts +27 -0
- package/dist/components/NewDate/ArenaDatePicker.d.ts +0 -0
- package/dist/components/NewDate/types.d.ts +0 -0
- package/dist/components/NoDataFallback/NoDataFallback.d.ts +9 -0
- package/dist/components/Overlay/Overlay.d.ts +5 -0
- package/dist/components/Overlay/index.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +5 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/PaginationV2/PaginationV2.d.ts +4 -0
- package/dist/components/PaginationV2/index.d.ts +1 -0
- package/dist/components/PaginationV2/types.d.ts +9 -0
- package/dist/components/PhoneNumber/index.d.ts +18 -0
- package/dist/components/PieChart/PieChart.d.ts +23 -0
- package/dist/components/Radio/Radio.d.ts +5 -0
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +4 -0
- package/dist/components/RadioGroup/index.d.ts +1 -0
- package/dist/components/SectionHead/SectionHead.d.ts +11 -0
- package/dist/components/SelectGroup/SelectGroup.d.ts +4 -0
- package/dist/components/SelectGroup/helper.d.ts +23 -0
- package/dist/components/SelectGroup/index.d.ts +1 -0
- package/dist/components/SelectGroupV2/SelectGroupV2.d.ts +4 -0
- package/dist/components/SideDrawer/SideDrawer.d.ts +4 -0
- package/dist/components/SideDrawer/SideDrawer.test.d.ts +1 -0
- package/dist/components/SideDrawer/index.d.ts +1 -0
- package/dist/components/SideDrawerV2/SideDrawerV2.d.ts +26 -0
- package/dist/components/SideDrawerV2/index.d.ts +1 -0
- package/dist/components/SimpleCollapseSection/SimpleCollapseSection.d.ts +11 -0
- package/dist/components/SimpleLabelValue/SimpleLabelValue.d.ts +11 -0
- package/dist/components/SimpleLabelValue/index.d.ts +1 -0
- package/dist/components/StackedBarChart/StackedBarChart.d.ts +26 -0
- package/dist/components/Status/Status.d.ts +19 -0
- package/dist/components/Stepper/Step/Step.d.ts +16 -0
- package/dist/components/Stepper/Stepper.d.ts +16 -0
- package/dist/components/Switch/Switch.d.ts +4 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +4 -0
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/components/TableV2/helper.d.ts +19 -0
- package/dist/components/TableV2/index.d.ts +4 -0
- package/dist/components/TableV2/types.d.ts +134 -0
- package/dist/components/TextArea/TextArea.d.ts +4 -0
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TimeTracker/TimeTracker.d.ts +20 -0
- package/dist/components/Toast/Toast.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/components/ViewDocuments/index.d.ts +6 -0
- package/dist/components/index.d.ts +59 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/icons/AccessDeniedIcon.d.ts +3 -0
- package/dist/icons/AccountActivation.d.ts +3 -0
- package/dist/icons/AccountChartIcon.d.ts +3 -0
- package/dist/icons/AccountDarkIcon.d.ts +3 -0
- package/dist/icons/AccountIcon.d.ts +3 -0
- package/dist/icons/AccountStatement.d.ts +3 -0
- package/dist/icons/ActivateAccount.d.ts +3 -0
- package/dist/icons/ActivateCard.d.ts +3 -0
- package/dist/icons/ActivateCardIcon.d.ts +3 -0
- package/dist/icons/ActiveIcon.d.ts +3 -0
- package/dist/icons/Add.d.ts +3 -0
- package/dist/icons/AddIcon.d.ts +3 -0
- package/dist/icons/AlertErrorIcon.d.ts +3 -0
- package/dist/icons/AlertInfoIcon.d.ts +3 -0
- package/dist/icons/AlertSuccessIcon.d.ts +3 -0
- package/dist/icons/AlertWarningIcon.d.ts +3 -0
- package/dist/icons/ApproveIcon.d.ts +3 -0
- package/dist/icons/ArenaLogo.d.ts +3 -0
- package/dist/icons/ArrowBottom.d.ts +3 -0
- package/dist/icons/ArrowIcon.d.ts +3 -0
- package/dist/icons/ArrowLeft.d.ts +3 -0
- package/dist/icons/ArrowRight.d.ts +3 -0
- package/dist/icons/ArrowUp.d.ts +3 -0
- package/dist/icons/ArrowUpIcon.d.ts +3 -0
- package/dist/icons/Article.d.ts +3 -0
- package/dist/icons/ArticleIcon.d.ts +3 -0
- package/dist/icons/AssignIcon.d.ts +3 -0
- package/dist/icons/BackArrow.d.ts +3 -0
- package/dist/icons/BackArrowArabic.d.ts +3 -0
- package/dist/icons/Buyer.d.ts +3 -0
- package/dist/icons/Calendar.d.ts +3 -0
- package/dist/icons/CardViewIcon.d.ts +3 -0
- package/dist/icons/CardsIcon.d.ts +3 -0
- package/dist/icons/Check.d.ts +3 -0
- package/dist/icons/CheckMark.d.ts +3 -0
- package/dist/icons/Circle.d.ts +3 -0
- package/dist/icons/ClaimIcon.d.ts +3 -0
- package/dist/icons/ClearField.d.ts +3 -0
- package/dist/icons/ClipBoard.d.ts +3 -0
- package/dist/icons/CloseAccount.d.ts +3 -0
- package/dist/icons/CloseCircleIcon.d.ts +3 -0
- package/dist/icons/CloseIcon.d.ts +3 -0
- package/dist/icons/CloseSquarIcon.d.ts +3 -0
- package/dist/icons/ConsentCharIcon.d.ts +3 -0
- package/dist/icons/ContactIcon.d.ts +3 -0
- package/dist/icons/CopyInput.d.ts +3 -0
- package/dist/icons/CustomerApproved.d.ts +3 -0
- package/dist/icons/CustomerRejected.d.ts +3 -0
- package/dist/icons/DangerIcon.d.ts +3 -0
- package/dist/icons/DefaultFileIcon.d.ts +3 -0
- package/dist/icons/DefaultIcon.d.ts +3 -0
- package/dist/icons/DeleteIcon.d.ts +3 -0
- package/dist/icons/DeleteOutlinedIcon.d.ts +3 -0
- package/dist/icons/DisabledIcon.d.ts +3 -0
- package/dist/icons/Document.d.ts +3 -0
- package/dist/icons/DoubleLeftArrow.d.ts +3 -0
- package/dist/icons/DoubleRightArrow.d.ts +3 -0
- package/dist/icons/DownloadIcon.d.ts +3 -0
- package/dist/icons/EditIcon.d.ts +3 -0
- package/dist/icons/Ellipse.d.ts +3 -0
- package/dist/icons/EmptyAccount.d.ts +3 -0
- package/dist/icons/EmptyActivityStatus.d.ts +3 -0
- package/dist/icons/EmptyCard.d.ts +3 -0
- package/dist/icons/EmptyCardIcon.d.ts +3 -0
- package/dist/icons/EmptyChannelsIcon.d.ts +3 -0
- package/dist/icons/EmptyDashboard.d.ts +3 -0
- package/dist/icons/EmptyFinance.d.ts +3 -0
- package/dist/icons/EmptyFinanceIcon.d.ts +3 -0
- package/dist/icons/EmptyLiabilitiesIcon.d.ts +3 -0
- package/dist/icons/EmptyRequest.d.ts +3 -0
- package/dist/icons/EmptyResults.d.ts +3 -0
- package/dist/icons/EmptySpendingIcon.d.ts +3 -0
- package/dist/icons/ErrorIcon.d.ts +3 -0
- package/dist/icons/ExcelIcon.d.ts +3 -0
- package/dist/icons/ExpandIcon.d.ts +3 -0
- package/dist/icons/EyeIcon.d.ts +3 -0
- package/dist/icons/Fail.d.ts +3 -0
- package/dist/icons/FilterIcon.d.ts +3 -0
- package/dist/icons/Finance.d.ts +3 -0
- package/dist/icons/GeneralIcon.d.ts +3 -0
- package/dist/icons/GridView.d.ts +3 -0
- package/dist/icons/HidePasswordIcon.d.ts +3 -0
- package/dist/icons/HistoryIcon.d.ts +3 -0
- package/dist/icons/HomeIcon.d.ts +3 -0
- package/dist/icons/InactiveIcon.d.ts +3 -0
- package/dist/icons/InfoCircle.d.ts +3 -0
- package/dist/icons/InfoDialogIcon.d.ts +3 -0
- package/dist/icons/InfoIcon.d.ts +3 -0
- package/dist/icons/InfoIconOnboard.d.ts +3 -0
- package/dist/icons/InfoSquare.d.ts +3 -0
- package/dist/icons/InstallmentsPay.d.ts +3 -0
- package/dist/icons/IntoUser.d.ts +3 -0
- package/dist/icons/KebabIcon.d.ts +3 -0
- package/dist/icons/Kwd.d.ts +3 -0
- package/dist/icons/LaptopIcon.d.ts +3 -0
- package/dist/icons/LeadActivities.d.ts +3 -0
- package/dist/icons/LeadDocuments.d.ts +3 -0
- package/dist/icons/LeadInterestIcon.d.ts +3 -0
- package/dist/icons/LeadOwnerIcon.d.ts +3 -0
- package/dist/icons/LeadSourceIcon.d.ts +3 -0
- package/dist/icons/LeadStagesIcon.d.ts +3 -0
- package/dist/icons/LeadStatus.d.ts +3 -0
- package/dist/icons/LeftArrowIcon.d.ts +3 -0
- package/dist/icons/LinkIcon.d.ts +3 -0
- package/dist/icons/ListViewIcon.d.ts +3 -0
- package/dist/icons/LoaderIcon.d.ts +3 -0
- package/dist/icons/LogoutIcon.d.ts +3 -0
- package/dist/icons/ManageCardIcon.d.ts +3 -0
- package/dist/icons/ManageDebitCard.d.ts +3 -0
- package/dist/icons/MasterCardDiamond.d.ts +3 -0
- package/dist/icons/MessageExclamation.d.ts +3 -0
- package/dist/icons/MessageSquareIcon.d.ts +3 -0
- package/dist/icons/Minus.d.ts +3 -0
- package/dist/icons/MoreSquare.d.ts +3 -0
- package/dist/icons/MoreSquareIcon.d.ts +3 -0
- package/dist/icons/MoveElementIcon.d.ts +3 -0
- package/dist/icons/MurabahaCars.d.ts +3 -0
- package/dist/icons/MurabahaRealEstate.d.ts +3 -0
- package/dist/icons/NextIcon.d.ts +3 -0
- package/dist/icons/NoAvatar.d.ts +3 -0
- package/dist/icons/NoDataIcon.d.ts +3 -0
- package/dist/icons/NoDocuments.d.ts +3 -0
- package/dist/icons/Note.d.ts +3 -0
- package/dist/icons/OnboardingError.d.ts +3 -0
- package/dist/icons/OnboardingPending.d.ts +3 -0
- package/dist/icons/OnboardingReject.d.ts +3 -0
- package/dist/icons/OnboardingSuccess.d.ts +3 -0
- package/dist/icons/OpenAccount.d.ts +3 -0
- package/dist/icons/OpenDeposit.d.ts +3 -0
- package/dist/icons/PayToCardIcon.d.ts +3 -0
- package/dist/icons/PaymentCard.d.ts +3 -0
- package/dist/icons/PaymentChartIcon.d.ts +3 -0
- package/dist/icons/PaymentDarkIcon.d.ts +3 -0
- package/dist/icons/PaymentIcon.d.ts +3 -0
- package/dist/icons/PdfIcon.d.ts +3 -0
- package/dist/icons/PenIcon.d.ts +3 -0
- package/dist/icons/PlusIcon.d.ts +3 -0
- package/dist/icons/PointIcon.d.ts +3 -0
- package/dist/icons/PreviousIcon.d.ts +3 -0
- package/dist/icons/Profile.d.ts +3 -0
- package/dist/icons/ProfileIcon.d.ts +3 -0
- package/dist/icons/ReassignIcon.d.ts +3 -0
- package/dist/icons/Refresh.d.ts +3 -0
- package/dist/icons/RefreshIcon.d.ts +3 -0
- package/dist/icons/RejectIcon.d.ts +3 -0
- package/dist/icons/Reload.d.ts +3 -0
- package/dist/icons/ReportLost.d.ts +3 -0
- package/dist/icons/ReportStolen.d.ts +3 -0
- package/dist/icons/RequestCardIcon.d.ts +3 -0
- package/dist/icons/ResetPasswordIcon.d.ts +3 -0
- package/dist/icons/ResolvedIcon.d.ts +3 -0
- package/dist/icons/ResubmitIcon.d.ts +3 -0
- package/dist/icons/ReturnIcon.d.ts +3 -0
- package/dist/icons/RightArrowIcon.d.ts +3 -0
- package/dist/icons/RotatingCircle.d.ts +3 -0
- package/dist/icons/SearchIcon.d.ts +3 -0
- package/dist/icons/SectionIcon.d.ts +3 -0
- package/dist/icons/SelectDownArrowIcon.d.ts +3 -0
- package/dist/icons/SelectFieldDownArrow.d.ts +3 -0
- package/dist/icons/SelectFieldUpArrow.d.ts +3 -0
- package/dist/icons/SendCardPinIcon.d.ts +3 -0
- package/dist/icons/ServerBlock.d.ts +3 -0
- package/dist/icons/Settings.d.ts +3 -0
- package/dist/icons/ShowPasswordIcon.d.ts +3 -0
- package/dist/icons/SmallArrow.d.ts +3 -0
- package/dist/icons/SmallArrowRight.d.ts +3 -0
- package/dist/icons/SortIcon.d.ts +3 -0
- package/dist/icons/Sound.d.ts +3 -0
- package/dist/icons/StandingOrderIcon.d.ts +3 -0
- package/dist/icons/SubSectionIcon.d.ts +3 -0
- package/dist/icons/SubmitIcon.d.ts +3 -0
- package/dist/icons/Success.d.ts +3 -0
- package/dist/icons/SuccessIcon.d.ts +3 -0
- package/dist/icons/Swap.d.ts +3 -0
- package/dist/icons/TableView.d.ts +3 -0
- package/dist/icons/Tawaroq.d.ts +3 -0
- package/dist/icons/TimeCircle.d.ts +3 -0
- package/dist/icons/ToggleRightIcon.d.ts +3 -0
- package/dist/icons/TopOpenLeadsIcon.d.ts +3 -0
- package/dist/icons/TrackingIcon.d.ts +3 -0
- package/dist/icons/TransferBetweenOwnAccountIcon.d.ts +3 -0
- package/dist/icons/TransferFromCardIcon.d.ts +3 -0
- package/dist/icons/TransferIcon.d.ts +3 -0
- package/dist/icons/TransferInternalIcon.d.ts +3 -0
- package/dist/icons/TransferInternational.d.ts +3 -0
- package/dist/icons/TransferInternationalIcon.d.ts +3 -0
- package/dist/icons/TransferLocalIcon.d.ts +3 -0
- package/dist/icons/UnLinkIcon.d.ts +3 -0
- package/dist/icons/UploadIcon.d.ts +3 -0
- package/dist/icons/VideoIcon.d.ts +3 -0
- package/dist/icons/ViewAccount.d.ts +3 -0
- package/dist/icons/ViewCreditCard.d.ts +3 -0
- package/dist/icons/ViewDebitCard.d.ts +3 -0
- package/dist/icons/ViewFinanceIcon.d.ts +3 -0
- package/dist/icons/ViewIcon.d.ts +3 -0
- package/dist/icons/VisaPlatinum.d.ts +3 -0
- package/dist/icons/VisaSignature.d.ts +3 -0
- package/dist/icons/WaitList.d.ts +3 -0
- package/dist/icons/WarningIcon.d.ts +3 -0
- package/dist/icons/WhiteArrowLeft.d.ts +3 -0
- package/dist/icons/WhiteList.d.ts +3 -0
- package/dist/icons/WordIcon.d.ts +3 -0
- package/dist/icons/ZoomIn.d.ts +3 -0
- package/dist/icons/ZoomInIcon.d.ts +3 -0
- package/dist/icons/ZoomOut.d.ts +3 -0
- package/dist/icons/ZoomOutIcon.d.ts +3 -0
- package/dist/icons/index.d.ts +201 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +59 -0
- package/dist/types/all.scss.d.ts +5 -0
- package/dist/types/enums.d.ts +21 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/interfaces.d.ts +356 -0
- package/dist/types/jsx.d.ts +13 -0
- package/dist/types/types.d.ts +33 -0
- package/dist/utils/index.d.ts +82 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Accordion';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface DropdownButtonProps {
|
|
4
|
+
options?: React.ReactNode[];
|
|
5
|
+
customContainer?: HTMLElement;
|
|
6
|
+
menuIcon?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const ActionDropdown: ({ options, customContainer, menuIcon, }: DropdownButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default ActionDropdown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Alert';
|
|
@@ -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 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -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, id, ...props }: ButtonPropsType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -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
|
+
import '@testing-library/jest-dom';
|
|
@@ -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,11 @@
|
|
|
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
|
+
height?: number;
|
|
8
|
+
visibleChipsCount?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const Chips: React.FC<ChipsProps>;
|
|
11
|
+
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,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DateProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
helperText?: string;
|
|
7
|
+
errorMsg?: string;
|
|
8
|
+
value?: string | undefined | null;
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
disabledDay?: string;
|
|
11
|
+
selectedEndDate?: string;
|
|
12
|
+
success?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
size?: 'small' | 'medium' | 'large';
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
disablePastDays?: boolean;
|
|
17
|
+
timePicker?: boolean;
|
|
18
|
+
isEndDay?: boolean;
|
|
19
|
+
defaultFormat?: string;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
acceptSameDay?: boolean;
|
|
22
|
+
setCheckDateOpened?: (opened: boolean) => void;
|
|
23
|
+
maxDate?: string;
|
|
24
|
+
minDate?: string;
|
|
25
|
+
className?: string;
|
|
26
|
+
dataId?: string;
|
|
27
|
+
}
|
|
28
|
+
declare const Date: React.FC<DateProps>;
|
|
29
|
+
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[] | undefined;
|
|
10
|
+
height?: number;
|
|
11
|
+
width?: string;
|
|
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,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface KebabMenuProps {
|
|
4
|
+
actions: React.ReactNode[];
|
|
5
|
+
className?: string;
|
|
6
|
+
menuButton?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const EllipsisMenu: ({ actions, className, menuButton }: KebabMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default EllipsisMenu;
|
|
@@ -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[], deletedFiles: FileOrUrl[]) => void;
|
|
6
|
+
handleDownload?: ((value: FileOrUrl) => void) | undefined;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ViewFiles;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import './style.scss';
|
|
2
|
+
import { FileUploaderProps } from './types';
|
|
3
|
+
declare const FileUploaderV2: ({ multiple, disabled, accept, value, onChange, label, placeholder, required, key, handleDownload, maxSize, }: FileUploaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FileUploaderV2;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type FileOrUrl = File | string;
|
|
3
|
+
export interface FileUploaderProps {
|
|
4
|
+
multiple?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
accept?: string;
|
|
7
|
+
value: FileOrUrl[] | [];
|
|
8
|
+
onChange: (value: FileOrUrl[]) => void;
|
|
9
|
+
size?: 'small' | 'medium' | 'large';
|
|
10
|
+
label?: JSX.Element | string | number;
|
|
11
|
+
placeholder?: string | number;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
key?: string;
|
|
14
|
+
handleDownload?: (value: FileOrUrl) => void;
|
|
15
|
+
maxSize?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface ProgressBarProps {
|
|
18
|
+
duration?: number;
|
|
19
|
+
onComplete?: () => void;
|
|
20
|
+
className?: string;
|
|
21
|
+
mode?: string;
|
|
22
|
+
isRunning?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface ViewFilesProps {
|
|
25
|
+
files: FileOrUrl[];
|
|
26
|
+
onChange: (value: FileOrUrl[], deletedFiles: FileOrUrl[]) => void;
|
|
27
|
+
handleDownload?: (value: FileOrUrl) => void;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
maxSize?: number;
|
|
30
|
+
uploadProgress?: {
|
|
31
|
+
[key: string]: number;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
interface SpacingProps {
|
|
3
|
+
p?: string | number;
|
|
4
|
+
pt?: string | number;
|
|
5
|
+
pb?: string | number;
|
|
6
|
+
px?: string | number;
|
|
7
|
+
py?: string | number;
|
|
8
|
+
m?: string | number;
|
|
9
|
+
mt?: string | number;
|
|
10
|
+
mb?: string | number;
|
|
11
|
+
mx?: string | number;
|
|
12
|
+
my?: string | number;
|
|
13
|
+
}
|
|
14
|
+
export interface ContainerProps extends SpacingProps {
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
columnGap?: string | number;
|
|
18
|
+
rowGap?: string | number;
|
|
19
|
+
}
|
|
20
|
+
export interface ColProps extends SpacingProps {
|
|
21
|
+
children: React.ReactNode;
|
|
22
|
+
style?: CSSProperties;
|
|
23
|
+
xs?: number;
|
|
24
|
+
sm?: number;
|
|
25
|
+
md?: number;
|
|
26
|
+
lg?: number;
|
|
27
|
+
xl?: number;
|
|
28
|
+
xxl?: number;
|
|
29
|
+
}
|
|
30
|
+
export declare const getSpacingStyle: ({ p, pt, pb, px, py, m, mt, mb, mx, my, }: SpacingProps) => CSSProperties;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './HelperText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Input';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface InputRangeProps {
|
|
4
|
+
value: number;
|
|
5
|
+
onChange: (value: number) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
label?: JSX.Element | string | number;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
isPercentage?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const InputRange: ({ value, onChange, disabled, min, max, label, required, isPercentage, }: InputRangeProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default InputRange;
|
|
@@ -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: JSX.Element | string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const JsonField: React.FC<JsonFieldProps>;
|
|
11
|
+
export default JsonField;
|