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
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kompoze",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "Kompoze React UI components for the web",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "NODE_ENV=production vite build",
|
|
9
9
|
"storybook:start": "storybook dev -p 6006",
|
|
10
|
-
"
|
|
10
|
+
"dev": "yarn storybook:start",
|
|
11
11
|
"storybook:build": "rm -rf storybook-static && storybook build",
|
|
12
12
|
"storybook:deploy": "yarn storybook:build && node scripts/deploy-storybook.js",
|
|
13
13
|
"biome:check": "biome check",
|
|
@@ -51,17 +51,10 @@
|
|
|
51
51
|
},
|
|
52
52
|
"types": "dist/index.d.ts",
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@storybook/addon-
|
|
55
|
-
"@storybook/addon-
|
|
56
|
-
"@storybook/
|
|
57
|
-
"@storybook/
|
|
58
|
-
"@storybook/addon-links": "^8.3.6",
|
|
59
|
-
"@storybook/manager-api": "^8.3.6",
|
|
60
|
-
"@storybook/react": "^8.3.6",
|
|
61
|
-
"@storybook/react-vite": "^8.3.6",
|
|
62
|
-
"@storybook/source-loader": "^8.3.6",
|
|
63
|
-
"@storybook/test": "^8.3.6",
|
|
64
|
-
"@storybook/theming": "^8.3.6",
|
|
54
|
+
"@storybook/addon-docs": "^9.1.8",
|
|
55
|
+
"@storybook/addon-links": "^9.1.8",
|
|
56
|
+
"@storybook/react-vite": "^9.1.8",
|
|
57
|
+
"@storybook/source-loader": "^8.6.14",
|
|
65
58
|
"@types/react": "^16.9.43",
|
|
66
59
|
"@vitejs/plugin-react": "^4.3.1",
|
|
67
60
|
"all-contributors-cli": "^6.20.0",
|
|
@@ -73,7 +66,7 @@
|
|
|
73
66
|
"react": "^17.0.1",
|
|
74
67
|
"react-dom": "^17.0.1",
|
|
75
68
|
"react-transition-group": "^4.4.1",
|
|
76
|
-
"storybook": "^
|
|
69
|
+
"storybook": "^9.1.8",
|
|
77
70
|
"typescript": "^5.6.2",
|
|
78
71
|
"vite": "^5.4.6",
|
|
79
72
|
"vite-plugin-dts": "^4.3.0",
|
|
@@ -100,7 +93,7 @@
|
|
|
100
93
|
},
|
|
101
94
|
"optionalDependencies": {
|
|
102
95
|
"@biomejs/biome": "^1.9.4",
|
|
103
|
-
"gh-pages": "^
|
|
96
|
+
"gh-pages": "^6.3.0",
|
|
104
97
|
"husky": "^7.0.1",
|
|
105
98
|
"terser": "^5.36.0"
|
|
106
99
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './BackDrop';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CustomerCardProps } from './CustomerCard.types';
|
|
3
|
-
import { AuxiliaryProps } from '../../utils/utils.types';
|
|
4
|
-
export declare const CustomerCard: <C extends React.ElementType>({ avatar, userName, component, meta, balance, isRegistered, isAddTransactionRestricted, advancedText, dueText, className, ...restProps }: AuxiliaryProps<C, CustomerCardProps>) => JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export declare const Advanced: React.FC<{}>;
|
|
3
|
-
export declare const Due: React.FC<{}>;
|
|
4
|
-
export declare const NoProfileImage: React.FC<{}>;
|
|
5
|
-
declare const _default: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: <C extends React.ElementType>({ avatar, userName, component, meta, balance, isRegistered, isAddTransactionRestricted, advancedText, dueText, className, ...restProps }: import('../../utils/utils.types').AuxiliaryProps<C, import('./CustomerCard.types').CustomerCardProps>) => JSX.Element;
|
|
8
|
-
argTypes: {
|
|
9
|
-
component: {
|
|
10
|
-
description: string;
|
|
11
|
-
table: {
|
|
12
|
-
type: {
|
|
13
|
-
summary: string;
|
|
14
|
-
detail: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
control: {
|
|
18
|
-
type: null;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface CustomerCardProps {
|
|
3
|
-
userName?: string;
|
|
4
|
-
meta?: ReactNode | null;
|
|
5
|
-
avatar?: string;
|
|
6
|
-
balance: number;
|
|
7
|
-
isRegistered?: boolean;
|
|
8
|
-
isAddTransactionRestricted?: boolean;
|
|
9
|
-
advancedText?: string;
|
|
10
|
-
dueText?: string;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CustomerCard';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import('./Dialog.types').DialogProps>;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof meta>;
|
|
12
|
-
export declare const Simple: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ITransitionType } from '../../utils/utils.types';
|
|
2
|
-
export interface DialogProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
anchor?: ITransitionType;
|
|
4
|
-
open?: boolean;
|
|
5
|
-
duration?: number;
|
|
6
|
-
fullScreen?: boolean;
|
|
7
|
-
fullWidth?: boolean;
|
|
8
|
-
onBackdropClick?: (e: React.SyntheticEvent) => void;
|
|
9
|
-
onExit?: (e: React.SyntheticEvent<any>, reason?: string) => void;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Dialog';
|