@kashifd/jwero-components 0.7.80 → 0.7.81
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/index.d.ts +1 -0
- package/dist/index.es.js +63667 -0
- package/dist/index.umd.js +1056 -0
- package/dist/src/App.d.ts +6 -0
- package/dist/src/components/JweroAccordian.d.ts +7 -0
- package/dist/src/components/JweroBreadcrumbs.d.ts +14 -0
- package/dist/src/components/JweroChip.d.ts +26 -0
- package/dist/src/components/JweroDialogHeader.d.ts +29 -0
- package/dist/src/components/JweroPicker.d.ts +5 -0
- package/dist/src/components/JweroPopper.d.ts +14 -0
- package/dist/src/components/JweroRadio.d.ts +10 -0
- package/dist/src/components/JweroSidebar.d.ts +23 -0
- package/dist/src/components/JweroToggleButton.d.ts +9 -0
- package/dist/src/components/JweroTypography.d.ts +71 -0
- package/dist/src/components/jwero_actions_button/index.d.ts +22 -0
- package/dist/src/components/jwero_alerts/index.d.ts +15 -0
- package/dist/src/components/jwero_avatars/index.d.ts +21 -0
- package/dist/src/components/jwero_badger/index.d.ts +11 -0
- package/dist/src/components/jwero_button_menu/components/JweroMenu.d.ts +35 -0
- package/dist/src/components/jwero_button_menu/index.d.ts +24 -0
- package/dist/src/components/jwero_charts/components/AreaChart.d.ts +9 -0
- package/dist/src/components/jwero_charts/components/BarChart.d.ts +10 -0
- package/dist/src/components/jwero_charts/components/Funnel.d.ts +4 -0
- package/dist/src/components/jwero_charts/components/FunnelChart.d.ts +9 -0
- package/dist/src/components/jwero_charts/components/LineChart.d.ts +9 -0
- package/dist/src/components/jwero_charts/components/MultipleLineChart.d.ts +11 -0
- package/dist/src/components/jwero_charts/components/NumericChart.d.ts +9 -0
- package/dist/src/components/jwero_charts/components/PieChart.d.ts +8 -0
- package/dist/src/components/jwero_charts/components/RacingBarChart.d.ts +9 -0
- package/dist/src/components/jwero_charts/components/RadialChart.d.ts +14 -0
- package/dist/src/components/jwero_charts/index.d.ts +26 -0
- package/dist/src/components/jwero_checkbox/index.d.ts +10 -0
- package/dist/src/components/jwero_confirmation_dialog/index.d.ts +44 -0
- package/dist/src/components/jwero_custom_field/index.d.ts +30 -0
- package/dist/src/components/jwero_data_card/components/CardAreaGraph.d.ts +7 -0
- package/dist/src/components/jwero_data_card/components/NumberAnimation.d.ts +8 -0
- package/dist/src/components/jwero_data_card/index.d.ts +54 -0
- package/dist/src/components/jwero_data_table/components/JweroPagination.d.ts +10 -0
- package/dist/src/components/jwero_data_table/components/JweroRowsPerPage.d.ts +10 -0
- package/dist/src/components/jwero_data_table/components/JweroTable.d.ts +29 -0
- package/dist/src/components/jwero_data_table/index.d.ts +21 -0
- package/dist/src/components/jwero_date_filter/components/DateFiltersMenu.d.ts +9 -0
- package/dist/src/components/jwero_date_filter/helper/dateFilterList.d.ts +5 -0
- package/dist/src/components/jwero_date_filter/index.d.ts +11 -0
- package/dist/src/components/jwero_dialog_footer/index.d.ts +17 -0
- package/dist/src/components/jwero_drawer/index.d.ts +45 -0
- package/dist/src/components/jwero_empty_state/index.d.ts +26 -0
- package/dist/src/components/jwero_filter_operator/components/HighlightLabelChip.d.ts +12 -0
- package/dist/src/components/jwero_filter_operator/index.d.ts +10 -0
- package/dist/src/components/jwero_media_preview/components/MediaPreviewDisplay.d.ts +2 -0
- package/dist/src/components/jwero_media_preview/components/MediaPreviewHeader.d.ts +5 -0
- package/dist/src/components/jwero_media_preview/index.d.ts +2 -0
- package/dist/src/components/jwero_navigation/drawer.d.ts +4 -0
- package/dist/src/components/jwero_navigation/icons/Analytics.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/Automations.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/CRM.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/Catalog.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/DigitalGold.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/Ecommerce.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/Inventory.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/JweroOne.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/Loyality.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/Socials.d.ts +2 -0
- package/dist/src/components/jwero_navigation/icons/chats.d.ts +2 -0
- package/dist/src/components/jwero_navigation/index.d.ts +23 -0
- package/dist/src/components/jwero_note_card/components/JweroNoteCardHeader.d.ts +11 -0
- package/dist/src/components/jwero_note_card/helper/AttachmentPreview.d.ts +10 -0
- package/dist/src/components/jwero_note_card/helper/convertDate.d.ts +1 -0
- package/dist/src/components/jwero_note_card/helper/getFileType.d.ts +3 -0
- package/dist/src/components/jwero_note_card/index.d.ts +14 -0
- package/dist/src/components/jwero_note_editor/components/AttachmentPreview.d.ts +10 -0
- package/dist/src/components/jwero_note_editor/components/AttachmentsSection.d.ts +8 -0
- package/dist/src/components/jwero_note_editor/components/NoteEditorFooter.d.ts +12 -0
- package/dist/src/components/jwero_note_editor/components/NoteEditorHeader.d.ts +6 -0
- package/dist/src/components/jwero_note_editor/helpers/bytesToMegabytes.d.ts +4 -0
- package/dist/src/components/jwero_note_editor/helpers/fileLimits.d.ts +7 -0
- package/dist/src/components/jwero_note_editor/helpers/getFileType.d.ts +1 -0
- package/dist/src/components/jwero_note_editor/helpers/getRandomId.d.ts +1 -0
- package/dist/src/components/jwero_note_editor/index.d.ts +25 -0
- package/dist/src/components/jwero_order_card/index.d.ts +30 -0
- package/dist/src/components/jwero_phone_input/index.d.ts +9 -0
- package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryBody.d.ts +8 -0
- package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryFooter.d.ts +2 -0
- package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryHeader.d.ts +2 -0
- package/dist/src/components/jwero_plan_expiry/index.d.ts +8 -0
- package/dist/src/components/jwero_plan_expiry/svg/PlanExpiredSvg.d.ts +2 -0
- package/dist/src/components/jwero_primary_button/index.d.ts +25 -0
- package/dist/src/components/jwero_product_card/index.d.ts +24 -0
- package/dist/src/components/jwero_search_box/index.d.ts +28 -0
- package/dist/src/components/jwero_snackbar/index.d.ts +17 -0
- package/dist/src/components/jwero_status_chip/index.d.ts +23 -0
- package/dist/src/components/jwero_tabs/index.d.ts +30 -0
- package/dist/src/components/jwero_task_card/components/CustomAvatarGroup.d.ts +10 -0
- package/dist/src/components/jwero_task_card/components/TaskCardEditDelete.d.ts +13 -0
- package/dist/src/components/jwero_task_card/components/TeamMembersDisplay.d.ts +9 -0
- package/dist/src/components/jwero_task_card/helpers/checkIfOverdue.d.ts +14 -0
- package/dist/src/components/jwero_task_card/helpers/getInitials.d.ts +1 -0
- package/dist/src/components/jwero_task_card/index.d.ts +39 -0
- package/dist/src/components/jwero_theme_switch/components/dark_light_mode_switch/index.d.ts +5 -0
- package/dist/src/components/jwero_theme_switch/index.d.ts +3 -0
- package/dist/src/components/jwero_tooltip/index.d.ts +15 -0
- package/dist/src/components/jwero_verticaltabs/helper/convertToUnderscore.d.ts +1 -0
- package/dist/src/components/jwero_verticaltabs/index.d.ts +24 -0
- package/dist/src/components/jwero_view_options/index.d.ts +23 -0
- package/dist/src/consts/typography.d.ts +80 -0
- package/dist/src/icons/AddIcon.d.ts +5 -0
- package/dist/src/icons/AnalyticsIcon.d.ts +2 -0
- package/dist/src/icons/AttachIcon.d.ts +2 -0
- package/dist/src/icons/BoldIcon.d.ts +2 -0
- package/dist/src/icons/CalendarIcon.d.ts +5 -0
- package/dist/src/icons/CallIcon.d.ts +5 -0
- package/dist/src/icons/CheckedCheckboxIcon.d.ts +4 -0
- package/dist/src/icons/CheckedRadioIcon.d.ts +4 -0
- package/dist/src/icons/ChevronDown.d.ts +4 -0
- package/dist/src/icons/CloseIcon.d.ts +5 -0
- package/dist/src/icons/CloseMedia.d.ts +2 -0
- package/dist/src/icons/CompletedIcon.d.ts +2 -0
- package/dist/src/icons/CrownEmoji.d.ts +4 -0
- package/dist/src/icons/DecrementChipIcon.d.ts +2 -0
- package/dist/src/icons/DecrementIcon.d.ts +2 -0
- package/dist/src/icons/DeleteIcon.d.ts +4 -0
- package/dist/src/icons/DiamondIcon.d.ts +2 -0
- package/dist/src/icons/DropdownIcon.d.ts +2 -0
- package/dist/src/icons/EditIcon.d.ts +6 -0
- package/dist/src/icons/ErrorIcon.d.ts +4 -0
- package/dist/src/icons/EyeIcon.d.ts +2 -0
- package/dist/src/icons/FacebookFooterIcon.d.ts +2 -0
- package/dist/src/icons/ImproveChipIcon.d.ts +2 -0
- package/dist/src/icons/IncrementIcon.d.ts +2 -0
- package/dist/src/icons/InfoAlertIcon.d.ts +4 -0
- package/dist/src/icons/InfoIcon.d.ts +2 -0
- package/dist/src/icons/InprogressIcon.d.ts +2 -0
- package/dist/src/icons/InstagramFooterIcon.d.ts +2 -0
- package/dist/src/icons/InventoryIcon.d.ts +2 -0
- package/dist/src/icons/ItalicIcon.d.ts +2 -0
- package/dist/src/icons/LineThroughIcon.d.ts +2 -0
- package/dist/src/icons/LinkedInFooterIcon.d.ts +2 -0
- package/dist/src/icons/MailIcon.d.ts +5 -0
- package/dist/src/icons/PendingIcon.d.ts +2 -0
- package/dist/src/icons/QuotationsIcon.d.ts +2 -0
- package/dist/src/icons/RedCalendarIcon.d.ts +2 -0
- package/dist/src/icons/SalesAppIcon.d.ts +2 -0
- package/dist/src/icons/SearchIcon.d.ts +2 -0
- package/dist/src/icons/ShoppingCart.d.ts +2 -0
- package/dist/src/icons/StockIcon.d.ts +4 -0
- package/dist/src/icons/StockStatus.d.ts +2 -0
- package/dist/src/icons/SuccessIcon.d.ts +4 -0
- package/dist/src/icons/ToggleOffIcon.d.ts +4 -0
- package/dist/src/icons/ToggleOnIcon.d.ts +4 -0
- package/dist/src/icons/TripleDotsIcon.d.ts +2 -0
- package/dist/src/icons/TruckIcon.d.ts +2 -0
- package/dist/src/icons/UncheckedCheckboxIcon.d.ts +4 -0
- package/dist/src/icons/UncheckedRadioIcon.d.ts +4 -0
- package/dist/src/icons/UnderlineIcon.d.ts +2 -0
- package/dist/src/icons/WarningIcon.d.ts +4 -0
- package/dist/src/icons/WebIcon.d.ts +4 -0
- package/dist/src/icons/YoutubeFooterIcon.d.ts +2 -0
- package/dist/src/index.d.ts +44 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/theme/JweroTheme.d.ts +179 -0
- package/dist/src/theme/ThemeProvider.d.ts +10 -0
- package/dist/src/utils/customDateFormatting.d.ts +5 -0
- package/dist/src/utils/formatServerValue.d.ts +1 -0
- package/dist/src/utils/numbers/formatNumbers.d.ts +1 -0
- package/dist/src/utils/reduceLargeText.d.ts +1 -0
- package/dist/src/vite-env.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export type ChipType = "completed" | "in_progress" | "processing" | "pending" | "scheduled" | "custom";
|
|
5
|
+
export type ChipConfig = {
|
|
6
|
+
value: string;
|
|
7
|
+
label: any;
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
iconProps?: {
|
|
11
|
+
position: "start" | "end";
|
|
12
|
+
icon: ReactNode;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export type JweroChipProps = {
|
|
16
|
+
type: ChipType;
|
|
17
|
+
customProps?: ChipConfig;
|
|
18
|
+
textSx?: SxProps;
|
|
19
|
+
boxSx?: SxProps;
|
|
20
|
+
};
|
|
21
|
+
export declare const preDefinedStatusChip: Record<Exclude<ChipType, "custom">, ChipConfig>;
|
|
22
|
+
declare const JweroStatusChip: ({ type, customProps, boxSx, textSx, }: JweroChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default JweroStatusChip;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
|
|
4
|
+
type TabItem = {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
iconAtStart?: boolean;
|
|
9
|
+
onlyIcon?: boolean;
|
|
10
|
+
count?: number;
|
|
11
|
+
};
|
|
12
|
+
type JweroTabsType = {
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
tabsObj: TabItem[];
|
|
15
|
+
panelObj: {
|
|
16
|
+
[key: string]: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
onChangeFunction?: (event: SyntheticEvent, newValue: string) => void;
|
|
19
|
+
customBorderBottom?: boolean;
|
|
20
|
+
customStartValue?: string;
|
|
21
|
+
customScrollButtons?: boolean;
|
|
22
|
+
tabListEndItem?: ReactNode;
|
|
23
|
+
tabListRightItem?: ReactNode;
|
|
24
|
+
boxSx?: SxProps;
|
|
25
|
+
tabListSx?: SxProps;
|
|
26
|
+
tabSx?: SxProps;
|
|
27
|
+
panelSx?: SxProps;
|
|
28
|
+
};
|
|
29
|
+
declare const JweroTabs: ({ children, tabsObj, panelObj, onChangeFunction, customBorderBottom, customScrollButtons, customStartValue, tabListRightItem, tabListEndItem, boxSx, tabListSx, tabSx, panelSx, }: JweroTabsType) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export default JweroTabs;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
|
|
3
|
+
type CustomAvatarGroupProps = {
|
|
4
|
+
max: number;
|
|
5
|
+
avatars: any[];
|
|
6
|
+
avatarGroupSx?: SxProps;
|
|
7
|
+
avatarSx?: SxProps;
|
|
8
|
+
};
|
|
9
|
+
declare const CustomAvatarGroup: ({ max, avatars, avatarGroupSx, avatarSx, }: CustomAvatarGroupProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export default CustomAvatarGroup;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type TaskCardEditDeletePropsType = {
|
|
2
|
+
isHovered: boolean;
|
|
3
|
+
onEditProps?: {
|
|
4
|
+
flag: boolean;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
};
|
|
7
|
+
onDeleteProps?: {
|
|
8
|
+
flag: boolean;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const TaskCardEditDelete: ({ onEditProps, onDeleteProps, isHovered, }: TaskCardEditDeletePropsType) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
|
+
|
|
3
|
+
type MembersDisplayPropsType = {
|
|
4
|
+
members: any[];
|
|
5
|
+
maxDisplayLength?: number;
|
|
6
|
+
sx?: SxProps;
|
|
7
|
+
};
|
|
8
|
+
declare const MembersDisplay: ({ members, maxDisplayLength, ...sx }: MembersDisplayPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default MembersDisplay;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const checkIfOverdue: ({ dueDate, completedOn, type, }: {
|
|
2
|
+
dueDate: Date;
|
|
3
|
+
completedOn: Date;
|
|
4
|
+
type: string;
|
|
5
|
+
}) => {
|
|
6
|
+
showDueDate: boolean;
|
|
7
|
+
isOverdue: boolean;
|
|
8
|
+
label: null;
|
|
9
|
+
} | {
|
|
10
|
+
isOverdue: boolean;
|
|
11
|
+
label: string;
|
|
12
|
+
showDueDate: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const caluclateDuration: (time: any) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getInitials: (name: string | undefined | null) => string;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type TaskCardType = {
|
|
4
|
+
segment: {
|
|
5
|
+
id?: string | number;
|
|
6
|
+
title?: string;
|
|
7
|
+
count?: number;
|
|
8
|
+
type?: "dynamic" | "static";
|
|
9
|
+
status: "completed" | "overdue" | "in_progress" | "pending";
|
|
10
|
+
contacts: any[];
|
|
11
|
+
createdBy?: any;
|
|
12
|
+
contributors?: any[];
|
|
13
|
+
completedOn: Date;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
dueDate: Date;
|
|
16
|
+
};
|
|
17
|
+
boxSx?: object;
|
|
18
|
+
redirectProps?: {
|
|
19
|
+
redirect?: boolean;
|
|
20
|
+
icon?: React.ReactNode;
|
|
21
|
+
onRedirect?: () => void;
|
|
22
|
+
};
|
|
23
|
+
checked?: boolean;
|
|
24
|
+
onClick?: () => void;
|
|
25
|
+
selectType?: string;
|
|
26
|
+
onCompleted?: () => void;
|
|
27
|
+
isSelectionAllowed?: boolean;
|
|
28
|
+
onEditProps?: {
|
|
29
|
+
flag: true;
|
|
30
|
+
onClick: () => void;
|
|
31
|
+
};
|
|
32
|
+
onDeleteProps?: {
|
|
33
|
+
flag: true;
|
|
34
|
+
onClick: () => void;
|
|
35
|
+
};
|
|
36
|
+
showStatus?: boolean;
|
|
37
|
+
};
|
|
38
|
+
declare const JweroTaskCard: ({ segment, boxSx, redirectProps, checked, onClick, selectType, onCompleted, isSelectionAllowed, onEditProps, onDeleteProps, showStatus, }: TaskCardType) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export default JweroTaskCard;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const MaterialUISwitch: import('@emotion/styled').StyledComponent<import('@mui/material').SwitchProps & {
|
|
2
|
+
theme?: import('@emotion/react').Theme;
|
|
3
|
+
}, {}, {}>;
|
|
4
|
+
declare const DarkLightModeSwitch: ({ checked, onChange }: any) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default DarkLightModeSwitch;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SxProps, TooltipProps } from '@mui/material';
|
|
2
|
+
import { ReactElement, ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
type JweroTooltipType = {
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
placement?: TooltipProps["placement"];
|
|
7
|
+
variant?: "primary" | "secondary";
|
|
8
|
+
sx?: SxProps;
|
|
9
|
+
enterDelay?: number;
|
|
10
|
+
enterNextDelay?: number;
|
|
11
|
+
children: ReactElement;
|
|
12
|
+
childrenSx?: SxProps;
|
|
13
|
+
};
|
|
14
|
+
declare const JweroTooltip: ({ children, title, placement, variant, enterDelay, enterNextDelay, sx, childrenSx, }: JweroTooltipType) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default JweroTooltip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const convertToUnderscore: (input: string) => string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { CustomTypographyProps } from '../JweroTypography';
|
|
3
|
+
|
|
4
|
+
type MenuList = {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
access: boolean;
|
|
8
|
+
navigate?: string;
|
|
9
|
+
count?: number;
|
|
10
|
+
};
|
|
11
|
+
type JweroVerticalTabsType = {
|
|
12
|
+
currentMenu: string;
|
|
13
|
+
menuLists: MenuList[];
|
|
14
|
+
title: string;
|
|
15
|
+
titleProps?: Omit<CustomTypographyProps, "children">;
|
|
16
|
+
labelProps?: Omit<CustomTypographyProps, "children">;
|
|
17
|
+
labelBoxSx?: SxProps<Theme>;
|
|
18
|
+
titleBoxSx?: SxProps<Theme>;
|
|
19
|
+
boxSx?: SxProps<Theme>;
|
|
20
|
+
listSx?: SxProps<Theme>;
|
|
21
|
+
onClick?: (value: string, access?: boolean, navigateUrl?: string) => void;
|
|
22
|
+
};
|
|
23
|
+
declare const JweroVerticalTabs: ({ title, currentMenu, titleProps, labelProps, menuLists, listSx, titleBoxSx, boxSx, labelBoxSx, onClick, }: JweroVerticalTabsType) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export default JweroVerticalTabs;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
import { CustomTypographyProps } from '../JweroTypography';
|
|
4
|
+
|
|
5
|
+
export type ViewOption = {
|
|
6
|
+
value: string;
|
|
7
|
+
icon: React.ReactNode;
|
|
8
|
+
tooltip?: string;
|
|
9
|
+
labelProps?: {
|
|
10
|
+
text: string;
|
|
11
|
+
flag: boolean;
|
|
12
|
+
position: string;
|
|
13
|
+
};
|
|
14
|
+
labelTypographyProps?: Omit<CustomTypographyProps, "children">;
|
|
15
|
+
};
|
|
16
|
+
export type JweroViewOptionsType = {
|
|
17
|
+
options: ViewOption[];
|
|
18
|
+
currentView: string;
|
|
19
|
+
onChangeView?: (view: string) => void;
|
|
20
|
+
sx?: SxProps;
|
|
21
|
+
};
|
|
22
|
+
declare const JweroViewOptions: ({ options, currentView, onChangeView, sx, }: JweroViewOptionsType) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default JweroViewOptions;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare const typography: {
|
|
2
|
+
xxxlSemibold: {
|
|
3
|
+
fontSize: string;
|
|
4
|
+
fontWeight: number;
|
|
5
|
+
letterSpacing: string;
|
|
6
|
+
fontFamily: string;
|
|
7
|
+
fontStyle: string;
|
|
8
|
+
lineHeight: string;
|
|
9
|
+
color: string;
|
|
10
|
+
};
|
|
11
|
+
xxlSemibold: {
|
|
12
|
+
fontSize: string;
|
|
13
|
+
fontWeight: number;
|
|
14
|
+
fontFamily: string;
|
|
15
|
+
fontStyle: string;
|
|
16
|
+
lineHeight: string;
|
|
17
|
+
color: string;
|
|
18
|
+
};
|
|
19
|
+
xxlMedium: {
|
|
20
|
+
fontSize: string;
|
|
21
|
+
fontWeight: number;
|
|
22
|
+
fontFamily: string;
|
|
23
|
+
fontStyle: string;
|
|
24
|
+
lineHeight: string;
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
xxlRegular: {
|
|
28
|
+
fontSize: string;
|
|
29
|
+
fontWeight: number;
|
|
30
|
+
fontFamily: string;
|
|
31
|
+
fontStyle: string;
|
|
32
|
+
lineHeight: string;
|
|
33
|
+
color: string;
|
|
34
|
+
};
|
|
35
|
+
xlSemibold: {
|
|
36
|
+
fontSize: string;
|
|
37
|
+
fontWeight: number;
|
|
38
|
+
letterSpacing: string;
|
|
39
|
+
fontFamily: string;
|
|
40
|
+
fontStyle: string;
|
|
41
|
+
lineHeight: string;
|
|
42
|
+
color: string;
|
|
43
|
+
};
|
|
44
|
+
xlBold: {
|
|
45
|
+
fontSize: string;
|
|
46
|
+
fontWeight: number;
|
|
47
|
+
letterSpacing: string;
|
|
48
|
+
fontFamily: string;
|
|
49
|
+
fontStyle: string;
|
|
50
|
+
lineHeight: string;
|
|
51
|
+
color: string;
|
|
52
|
+
};
|
|
53
|
+
xlRegular: {
|
|
54
|
+
fontSize: string;
|
|
55
|
+
fontWeight: number;
|
|
56
|
+
letterSpacing: string;
|
|
57
|
+
fontFamily: string;
|
|
58
|
+
fontStyle: string;
|
|
59
|
+
lineHeight: string;
|
|
60
|
+
color: string;
|
|
61
|
+
};
|
|
62
|
+
lRegular: {
|
|
63
|
+
fontSize: string;
|
|
64
|
+
fontWeight: number;
|
|
65
|
+
letterSpacing: string;
|
|
66
|
+
fontFamily: string;
|
|
67
|
+
fontStyle: string;
|
|
68
|
+
lineHeight: string;
|
|
69
|
+
color: string;
|
|
70
|
+
};
|
|
71
|
+
lMedium: {
|
|
72
|
+
fontSize: string;
|
|
73
|
+
fontWeight: number;
|
|
74
|
+
letterSpacing: string;
|
|
75
|
+
fontFamily: string;
|
|
76
|
+
fontStyle: string;
|
|
77
|
+
lineHeight: string;
|
|
78
|
+
color: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
export { default as JweroBadge } from './components/jwero_badger';
|
|
3
|
+
export { default as JweroConfirmationDialog } from './components/jwero_confirmation_dialog';
|
|
4
|
+
export { default as JweroCustomField } from './components/jwero_custom_field';
|
|
5
|
+
export { default as JweroDateFilter } from './components/jwero_date_filter';
|
|
6
|
+
export { default as JweroPrimaryButton } from './components/jwero_primary_button';
|
|
7
|
+
export { default as JweroSearchBox } from './components/jwero_search_box';
|
|
8
|
+
export { default as JweroSnackbar } from './components/jwero_snackbar/index';
|
|
9
|
+
export { default as JweroStatusChip } from './components/jwero_status_chip';
|
|
10
|
+
export { default as JweroTabs } from './components/jwero_tabs';
|
|
11
|
+
export { default as JweroTooltip } from './components/jwero_tooltip';
|
|
12
|
+
export { default as JweroViewOptions } from './components/jwero_view_options';
|
|
13
|
+
export { default as JweroCheckbox } from './components/jwero_checkbox';
|
|
14
|
+
export { default as JweroDialogHeader } from './components/JweroDialogHeader';
|
|
15
|
+
export { default as JweroDialogFooter } from './components/jwero_dialog_footer';
|
|
16
|
+
export { default as JweroPopper } from './components/JweroPopper';
|
|
17
|
+
export { default as JweroRadio } from './components/JweroRadio';
|
|
18
|
+
export { default as JweroSidebar } from './components/JweroSidebar';
|
|
19
|
+
export { default as JweroBreadcrumbs } from './components/JweroBreadcrumbs';
|
|
20
|
+
export { default as JweroTypography } from './components/JweroTypography';
|
|
21
|
+
export { default as JweroDataTable } from './components/jwero_data_table';
|
|
22
|
+
export { default as JweroTable } from './components/jwero_data_table/components/JweroTable';
|
|
23
|
+
export { default as JweroUserAvatar } from './components/jwero_avatars';
|
|
24
|
+
export { default as JweroMenu } from './components/jwero_button_menu/components/JweroMenu';
|
|
25
|
+
export { default as JweroButtonMenu } from './components/jwero_button_menu';
|
|
26
|
+
export { default as JweroDrawer } from './components/jwero_drawer';
|
|
27
|
+
export { default as JweroDataCard } from './components/jwero_data_card';
|
|
28
|
+
export { default as JweroChip } from './components/JweroChip';
|
|
29
|
+
export { default as JweroVerticalTabs } from './components/jwero_verticaltabs';
|
|
30
|
+
export { default as JweroActionsButton } from './components/jwero_actions_button';
|
|
31
|
+
export { default as JweroEmptyState } from './components/jwero_empty_state';
|
|
32
|
+
export { default as JweroTaskCard } from './components/jwero_task_card';
|
|
33
|
+
export { default as JweroAlerts } from './components/jwero_alerts';
|
|
34
|
+
export { default as JweroAccordion } from './components/JweroAccordian';
|
|
35
|
+
export { default as JweroOrderCard } from './components/jwero_order_card';
|
|
36
|
+
export { default as JweroCharts } from './components/jwero_charts';
|
|
37
|
+
export { default as JweroToggleButton } from './components/JweroToggleButton';
|
|
38
|
+
export { default as JweroNoteEditor } from './components/jwero_note_editor';
|
|
39
|
+
export { default as JweroNoteCard } from './components/jwero_note_card';
|
|
40
|
+
export { default as JweroProductCard } from './components/jwero_product_card';
|
|
41
|
+
export { default as JweroPlanExpiry } from './components/jwero_plan_expiry';
|
|
42
|
+
export { default as JweroNavigation } from './components/jwero_navigation';
|
|
43
|
+
export { default as JweroPagination } from './components/jwero_data_table/components/JweroPagination';
|
|
44
|
+
export { default as JweroRowsPerPage } from './components/jwero_data_table/components/JweroRowsPerPage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|