kompoze 1.0.0 → 1.0.1
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/Avatar/Avatar.stories.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/Icon/index.d.ts +8 -98
- package/dist/components/IconButton/IconButton.stories.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.stories.d.ts +1 -1
- package/dist/components/Spinner/Spinner.stories.d.ts +1 -1
- package/dist/components/index.d.ts +0 -16
- package/dist/index.css +1 -1
- package/dist/kompoze.cjs.js +11 -11
- package/dist/kompoze.es.js +1921 -3709
- package/dist/kompoze.umd.js +12 -12
- package/package.json +8 -15
- package/dist/components/BackDrop/BackDrop.d.ts +0 -3
- package/dist/components/BackDrop/BackDrop.stories.d.ts +0 -7
- package/dist/components/BackDrop/BackDrop.types.d.ts +0 -3
- package/dist/components/BackDrop/index.d.ts +0 -1
- package/dist/components/CustomerCard/CustomerCard.d.ts +0 -4
- package/dist/components/CustomerCard/CustomerCard.stories.d.ts +0 -23
- package/dist/components/CustomerCard/CustomerCard.types.d.ts +0 -11
- package/dist/components/CustomerCard/index.d.ts +0 -1
- package/dist/components/Dialog/Dialog.d.ts +0 -3
- package/dist/components/Dialog/Dialog.stories.d.ts +0 -12
- package/dist/components/Dialog/Dialog.types.d.ts +0 -10
- package/dist/components/Dialog/index.d.ts +0 -1
- package/dist/components/Icon/AccountIcon.d.ts +0 -3
- package/dist/components/Icon/AddCustomerIcon.d.ts +0 -3
- package/dist/components/Icon/AddPhotoFilledIcon.d.ts +0 -3
- package/dist/components/Icon/AddPhotoIcon.d.ts +0 -3
- package/dist/components/Icon/AlarmIcon.d.ts +0 -3
- package/dist/components/Icon/ApprovalIcon.d.ts +0 -3
- package/dist/components/Icon/ApprovedIcon.d.ts +0 -3
- package/dist/components/Icon/BellIcon.d.ts +0 -3
- package/dist/components/Icon/BuildingIcon.d.ts +0 -3
- package/dist/components/Icon/BulletIcon.d.ts +0 -3
- package/dist/components/Icon/BusinessCardIcon.d.ts +0 -3
- package/dist/components/Icon/BusinessIcon.d.ts +0 -3
- package/dist/components/Icon/BusinessIconAlt.d.ts +0 -3
- package/dist/components/Icon/CalendarIcon.d.ts +0 -3
- package/dist/components/Icon/CalendarRepeatIcon.d.ts +0 -3
- package/dist/components/Icon/CameraAltIcon.d.ts +0 -3
- package/dist/components/Icon/CameraIcon.d.ts +0 -3
- package/dist/components/Icon/CardIcon.d.ts +0 -3
- package/dist/components/Icon/CashbackIcon.d.ts +0 -3
- package/dist/components/Icon/ChatIcon.d.ts +0 -3
- package/dist/components/Icon/CheckMarkIcon.d.ts +0 -3
- package/dist/components/Icon/ClockIcon.d.ts +0 -3
- package/dist/components/Icon/CloseIcon.d.ts +0 -3
- package/dist/components/Icon/CogIcon.d.ts +0 -3
- package/dist/components/Icon/CommonLedgerBlockedIcon.d.ts +0 -3
- package/dist/components/Icon/CommonLedgerIcon.d.ts +0 -3
- package/dist/components/Icon/CurvedCheckIcon.d.ts +0 -3
- package/dist/components/Icon/DateIcon.d.ts +0 -3
- package/dist/components/Icon/DeliveredIcon.d.ts +0 -3
- package/dist/components/Icon/DeviceIcon.d.ts +0 -3
- package/dist/components/Icon/DocIcon.d.ts +0 -3
- package/dist/components/Icon/DownloadIcon.d.ts +0 -3
- package/dist/components/Icon/EditFillIcon.d.ts +0 -3
- package/dist/components/Icon/EmailIcon.d.ts +0 -3
- package/dist/components/Icon/FilterIcon.d.ts +0 -3
- package/dist/components/Icon/GalleryIcon.d.ts +0 -3
- package/dist/components/Icon/GiveBoldIcon.d.ts +0 -3
- package/dist/components/Icon/GlobeIcon.d.ts +0 -3
- package/dist/components/Icon/HandDownIcon.d.ts +0 -3
- package/dist/components/Icon/HelpCircleIcon.d.ts +0 -3
- package/dist/components/Icon/HomeIcon.d.ts +0 -3
- package/dist/components/Icon/HookIcon.d.ts +0 -3
- package/dist/components/Icon/IfscIcon.d.ts +0 -3
- package/dist/components/Icon/InstalmentIcon.d.ts +0 -3
- package/dist/components/Icon/InvitationIcon.d.ts +0 -3
- package/dist/components/Icon/KycIcon.d.ts +0 -3
- package/dist/components/Icon/LanguageIcon.d.ts +0 -3
- package/dist/components/Icon/LedgerIcon.d.ts +0 -3
- package/dist/components/Icon/LoanIcon.d.ts +0 -3
- package/dist/components/Icon/LockFilledIcon.d.ts +0 -3
- package/dist/components/Icon/LockIcon.d.ts +0 -3
- package/dist/components/Icon/MallIcon.d.ts +0 -3
- package/dist/components/Icon/MandateIcon.d.ts +0 -3
- package/dist/components/Icon/MessengerIcon.d.ts +0 -3
- package/dist/components/Icon/MoreVertIcon.d.ts +0 -3
- package/dist/components/Icon/NameIcon.d.ts +0 -3
- package/dist/components/Icon/OtpDotIcon.d.ts +0 -3
- package/dist/components/Icon/OtpWrongIcon.d.ts +0 -3
- package/dist/components/Icon/PencilCircleIcon.d.ts +0 -3
- package/dist/components/Icon/PencilIcon.d.ts +0 -3
- package/dist/components/Icon/PhoneBookIcon.d.ts +0 -3
- package/dist/components/Icon/PhoneChangeIcon.d.ts +0 -3
- package/dist/components/Icon/PhoneIcon.d.ts +0 -3
- package/dist/components/Icon/PinIcon.d.ts +0 -3
- package/dist/components/Icon/PlaceAltIcon.d.ts +0 -3
- package/dist/components/Icon/PlaceFilledIcon.d.ts +0 -3
- package/dist/components/Icon/PlaceIcon.d.ts +0 -3
- package/dist/components/Icon/PlusCircleIcon.d.ts +0 -3
- package/dist/components/Icon/PowerIcon.d.ts +0 -3
- package/dist/components/Icon/PrintIcon.d.ts +0 -3
- package/dist/components/Icon/ReceiverIcon.d.ts +0 -3
- package/dist/components/Icon/RejectIcon.d.ts +0 -3
- package/dist/components/Icon/ReviewIcon.d.ts +0 -3
- package/dist/components/Icon/RocketIcon.d.ts +0 -3
- package/dist/components/Icon/RupeeCircleIcon.d.ts +0 -3
- package/dist/components/Icon/SearchIcon.d.ts +0 -3
- package/dist/components/Icon/SecurityIcon.d.ts +0 -3
- package/dist/components/Icon/SegueIcon.d.ts +0 -3
- package/dist/components/Icon/SelfieIcon.d.ts +0 -3
- package/dist/components/Icon/ShareIcon.d.ts +0 -3
- package/dist/components/Icon/ShieldSearchIcon.d.ts +0 -3
- package/dist/components/Icon/SimIcon.d.ts +0 -3
- package/dist/components/Icon/StatementIcon.d.ts +0 -3
- package/dist/components/Icon/TimesIcon.d.ts +0 -3
- package/dist/components/Icon/TransactionIcon.d.ts +0 -3
- package/dist/components/Icon/TrashIcon.d.ts +0 -3
- package/dist/components/Icon/UpiIcon.d.ts +0 -3
- package/dist/components/Icon/WhatsappBoldIcon.d.ts +0 -3
- package/dist/components/Icon/WhatsappIcon.d.ts +0 -3
- package/dist/components/LanguageDialog/LanguageDialog.d.ts +0 -3
- package/dist/components/LanguageDialog/LanguageDialog.stories.d.ts +0 -7
- package/dist/components/LanguageDialog/LanguageDialog.types.d.ts +0 -15
- package/dist/components/LanguageDialog/index.d.ts +0 -1
- package/dist/components/MerchantCategory/MerchantCategory.d.ts +0 -3
- package/dist/components/MerchantCategory/MerchantCategory.stories.d.ts +0 -7
- package/dist/components/MerchantCategory/MerchantCategory.types.d.ts +0 -5
- package/dist/components/MerchantCategory/index.d.ts +0 -1
- package/dist/components/PayNowBanner/PayNowBanner.d.ts +0 -3
- package/dist/components/PayNowBanner/PayNowBanner.stories.d.ts +0 -12
- package/dist/components/PayNowBanner/PayNowBanner.types.d.ts +0 -6
- package/dist/components/PayNowBanner/index.d.ts +0 -1
- package/dist/components/PayeeInformationBanner/PayeeInformationBanner.d.ts +0 -3
- package/dist/components/PayeeInformationBanner/PayeeInformationBanner.stories.d.ts +0 -11
- package/dist/components/PayeeInformationBanner/PayeeInformationBanner.types.d.ts +0 -12
- package/dist/components/PayeeInformationBanner/index.d.ts +0 -1
- package/dist/components/ProfileOption/ProfileOption.d.ts +0 -3
- package/dist/components/ProfileOption/ProfileOption.stories.d.ts +0 -8
- package/dist/components/ProfileOption/ProfileOption.types.d.ts +0 -10
- package/dist/components/ProfileOption/index.d.ts +0 -1
- package/dist/components/StatusBanner/SatusBanner.stories.d.ts +0 -13
- package/dist/components/StatusBanner/StatusBanner.d.ts +0 -3
- package/dist/components/StatusBanner/StatusBanner.types.d.ts +0 -7
- package/dist/components/StatusBanner/index.d.ts +0 -1
- package/dist/components/Table/Table.d.ts +0 -3
- package/dist/components/Table/Table.stories.d.ts +0 -8
- package/dist/components/Table/Table.types.d.ts +0 -4
- package/dist/components/Table/TableContext.d.ts +0 -1
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/TableBody/TableBody.d.ts +0 -3
- package/dist/components/TableBody/TableBody.types.d.ts +0 -2
- package/dist/components/TableBody/index.d.ts +0 -1
- package/dist/components/TableCell/TableCell.d.ts +0 -4
- package/dist/components/TableCell/TableCell.types.d.ts +0 -3
- package/dist/components/TableCell/index.d.ts +0 -1
- package/dist/components/TableHead/TableHead.d.ts +0 -3
- package/dist/components/TableHead/TableHead.types.d.ts +0 -2
- package/dist/components/TableHead/index.d.ts +0 -1
- package/dist/components/TableRow/TableRow.d.ts +0 -3
- package/dist/components/TableRow/TableRow.types.d.ts +0 -3
- package/dist/components/TableRow/index.d.ts +0 -1
- package/dist/components/TableSortLabel/TableSortLabel.d.ts +0 -4
- package/dist/components/TableSortLabel/TableSortLabel.types.d.ts +0 -7
- package/dist/components/TableSortLabel/index.d.ts +0 -1
- package/dist/components/TransactionItem/TransactionItem.d.ts +0 -4
- package/dist/components/TransactionItem/TransactionItem.stories.d.ts +0 -9
- package/dist/components/TransactionItem/TransactionItem.types.d.ts +0 -16
- package/dist/components/TransactionItem/index.d.ts +0 -1
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface ILanguageEntity {
|
|
2
|
-
id: number;
|
|
3
|
-
language: string;
|
|
4
|
-
label: string;
|
|
5
|
-
key: string;
|
|
6
|
-
color?: string;
|
|
7
|
-
bgColor?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface LanguageDialogProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
-
dialogTitle?: string;
|
|
11
|
-
onChange?: (value?: any) => void;
|
|
12
|
-
onExit?: (e: React.SyntheticEvent) => void;
|
|
13
|
-
data?: ILanguageEntity[];
|
|
14
|
-
selectedId?: number;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LanguageDialog';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MerchantCategory';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import('react').FC<import('./PayNowBanner.types').PayNowBannerProps>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
export declare const Simple: Story;
|
|
12
|
-
export declare const DisabledBtn: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PayNowBanner';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.FC<import('./PayeeInformationBanner.types').PayeeInformationBannerProps>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default meta;
|
|
10
|
-
export declare const Simple: React.FC<{}>;
|
|
11
|
-
export declare const WithMiddleItem: React.FC<{}>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface PayeeInformationBannerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3
|
-
amount: number;
|
|
4
|
-
name: string;
|
|
5
|
-
phoneNumber: string;
|
|
6
|
-
payId: string;
|
|
7
|
-
copyFun: Function;
|
|
8
|
-
avatar: string;
|
|
9
|
-
middleItemName?: string;
|
|
10
|
-
middleItemIcon?: ReactNode;
|
|
11
|
-
middleItemAction?: Function;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PayeeInformationBanner';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export declare const Simple: React.FC<{}>;
|
|
3
|
-
export declare const WithValue: React.FC<{}>;
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import('./ProfileOption.types').ProfileOptionProps>;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface ProfileOptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
fieldName?: string;
|
|
4
|
-
info?: string;
|
|
5
|
-
icon?: React.ReactNode;
|
|
6
|
-
endAdornment?: React.ReactNode;
|
|
7
|
-
value?: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
endAdornmentProps?: object;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ProfileOption';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import('react').FC<import('./StatusBanner.types').StatusBannerProps>;
|
|
5
|
-
parameters: {
|
|
6
|
-
layout: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
export declare const Simple: Story;
|
|
12
|
-
export declare const Success: Story;
|
|
13
|
-
export declare const Failure: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './StatusBanner';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export declare const SimpleTable: React.FC<{}>;
|
|
3
|
-
export declare const TableWithSorting: React.FC<{}>;
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: React.FC<import('./Table.types').TableProps>;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const TableContext: import('react').Context<{}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Table';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TableBody';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TableCellProps } from './TableCell.types';
|
|
3
|
-
import { AuxiliaryProps } from '../../utils/utils.types';
|
|
4
|
-
export declare const TableCell: <C extends React.ElementType>({ component, children, className, align, ...restProps }: AuxiliaryProps<C, TableCellProps>) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TableCell';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TableHead';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TableRow';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { AuxiliaryProps } from '../../utils/utils.types';
|
|
3
|
-
import { TableSortLabelProps } from './TableSortLabel.types';
|
|
4
|
-
export declare const TableSortLabel: <C extends React.ElementType>({ component, children, className, active, direction, ...restProps }: AuxiliaryProps<C, TableSortLabelProps>) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TableSortLabel';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TransactionItemProps } from './TransactionItem.types';
|
|
3
|
-
import { AuxiliaryProps } from '../../utils/utils.types';
|
|
4
|
-
export declare const TransactionItem: <C extends React.ElementType>({ component, title, isSupplier, deleted, deletedText, transactionType, balance, createdAt, description, className, helperText, ...restProps }: AuxiliaryProps<C, TransactionItemProps>) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export declare const Supplier: React.FC<{}>;
|
|
3
|
-
export declare const Customer: React.FC<{}>;
|
|
4
|
-
export declare const Deleted: React.FC<{}>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: <C extends React.ElementType>({ component, title, isSupplier, deleted, deletedText, transactionType, balance, createdAt, description, className, helperText, ...restProps }: import('../../utils/utils.types').AuxiliaryProps<C, import('./TransactionItem.types').TransactionItemProps>) => JSX.Element;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type IHitType = 0 | 1;
|
|
2
|
-
export declare enum TransactionType {
|
|
3
|
-
CREDIT = 1,
|
|
4
|
-
PAYMENT = 2
|
|
5
|
-
}
|
|
6
|
-
export interface TransactionItemProps {
|
|
7
|
-
title?: string;
|
|
8
|
-
balance?: number;
|
|
9
|
-
createdAt?: number;
|
|
10
|
-
description?: string;
|
|
11
|
-
isSupplier?: boolean;
|
|
12
|
-
transactionType: TransactionType;
|
|
13
|
-
helperText?: string;
|
|
14
|
-
deleted?: boolean;
|
|
15
|
-
deletedText?: string;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TransactionItem';
|