@unizap/uniui 1.0.1 → 1.0.3
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/package.json +97 -78
- package/dist/components/Accordion/Accordion.d.ts +0 -4
- package/dist/components/Accordion/Accordion.stories.d.ts +0 -7
- package/dist/components/Accordion/Accordion.types.d.ts +0 -13
- package/dist/components/Accordion/index.d.ts +0 -1
- package/dist/components/ActionMenu/ActionMenu.d.ts +0 -2
- package/dist/components/ActionMenu/ActionMenu.stories.d.ts +0 -6
- package/dist/components/ActionMenu/ActionMenu.types.d.ts +0 -14
- package/dist/components/ActionMenu/index.d.ts +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -4
- package/dist/components/Alert/Alert.stories.d.ts +0 -7
- package/dist/components/Alert/Alert.types.d.ts +0 -8
- package/dist/components/Alert/index.d.ts +0 -1
- package/dist/components/Avatar/Avatar.d.ts +0 -3
- package/dist/components/Avatar/Avatar.stories.d.ts +0 -10
- package/dist/components/Avatar/Avatar.types.d.ts +0 -10
- package/dist/components/Avatar/index.d.ts +0 -1
- package/dist/components/Badge/Badge.d.ts +0 -4
- package/dist/components/Badge/Badge.stories.d.ts +0 -8
- package/dist/components/Badge/Badge.types.d.ts +0 -9
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/BottomNavigation/BottomNavigation.d.ts +0 -4
- package/dist/components/BottomNavigation/BottomNavigation.stories.d.ts +0 -9
- package/dist/components/BottomNavigation/BottomNavigation.types.d.ts +0 -14
- package/dist/components/BottomNavigation/index.d.ts +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -7
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -9
- package/dist/components/Breadcrumbs/index.d.ts +0 -1
- package/dist/components/Button/Button.d.ts +0 -4
- package/dist/components/Button/Button.stories.d.ts +0 -12
- package/dist/components/Button/Button.types.d.ts +0 -18
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Card/Card.d.ts +0 -4
- package/dist/components/Card/Card.stories.d.ts +0 -8
- package/dist/components/Card/Card.types.d.ts +0 -17
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/CardWrapper/CardWrapper.d.ts +0 -8
- package/dist/components/CardWrapper/CardWrapper.stories.d.ts +0 -6
- package/dist/components/CardWrapper/CardWrapper.types.d.ts +0 -1
- package/dist/components/CardWrapper/index.d.ts +0 -1
- package/dist/components/Carousel/Carousel.d.ts +0 -4
- package/dist/components/Carousel/Carousel.stories.d.ts +0 -23
- package/dist/components/Carousel/Carousel.types.d.ts +0 -21
- package/dist/components/Carousel/index.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +0 -4
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -9
- package/dist/components/Checkbox/Checkbox.types.d.ts +0 -9
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/DashboardStatBoxes/DashboardStatBoxes.d.ts +0 -3
- package/dist/components/DashboardStatBoxes/DashboardStatBoxes.stories.d.ts +0 -6
- package/dist/components/DashboardStatBoxes/DashboardStatBoxes.types.d.ts +0 -12
- package/dist/components/DashboardStatBoxes/index.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -3
- package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -10
- package/dist/components/DatePicker/DatePicker.types.d.ts +0 -16
- package/dist/components/DatePicker/index.d.ts +0 -1
- package/dist/components/Dialog/Dialog.d.ts +0 -3
- package/dist/components/Dialog/Dialog.stories.d.ts +0 -9
- package/dist/components/Dialog/Dialog.types.d.ts +0 -17
- package/dist/components/Dialog/index.d.ts +0 -1
- package/dist/components/Divider/Divider.d.ts +0 -4
- package/dist/components/Divider/Divider.stories.d.ts +0 -9
- package/dist/components/Divider/Divider.types.d.ts +0 -6
- package/dist/components/Divider/index.d.ts +0 -1
- package/dist/components/Drawer/Drawer.d.ts +0 -4
- package/dist/components/Drawer/Drawer.stories.d.ts +0 -9
- package/dist/components/Drawer/Drawer.types.d.ts +0 -12
- package/dist/components/Drawer/index.d.ts +0 -1
- package/dist/components/Dropdown/Dropdown.d.ts +0 -4
- package/dist/components/Dropdown/Dropdown.stories.d.ts +0 -11
- package/dist/components/Dropdown/Dropdown.types.d.ts +0 -11
- package/dist/components/Dropdown/index.d.ts +0 -1
- package/dist/components/DropzoneUploader/DropzoneUploader.d.ts +0 -4
- package/dist/components/DropzoneUploader/DropzoneUploader.stories.d.ts +0 -9
- package/dist/components/DropzoneUploader/DropzoneUploader.types.d.ts +0 -23
- package/dist/components/DropzoneUploader/index.d.ts +0 -1
- package/dist/components/EmptyState/EmptyState.d.ts +0 -4
- package/dist/components/EmptyState/EmptyState.stories.d.ts +0 -8
- package/dist/components/EmptyState/EmptyState.types.d.ts +0 -18
- package/dist/components/EmptyState/index.d.ts +0 -1
- package/dist/components/IconButton/Icon.stories.d.ts +0 -10
- package/dist/components/IconButton/IconButton.d.ts +0 -4
- package/dist/components/IconButton/IconButton.types.d.ts +0 -12
- package/dist/components/IconButton/index.d.ts +0 -1
- package/dist/components/List/List.d.ts +0 -3
- package/dist/components/List/List.stories.d.ts +0 -6
- package/dist/components/List/List.types.d.ts +0 -10
- package/dist/components/List/ListItem.d.ts +0 -3
- package/dist/components/List/index.d.ts +0 -2
- package/dist/components/Menu/Menu.d.ts +0 -8
- package/dist/components/Menu/Menu.types.d.ts +0 -1
- package/dist/components/Menu/Select.stories.d.ts +0 -6
- package/dist/components/Menu/index.d.ts +0 -1
- package/dist/components/Pagination/Pagination.d.ts +0 -4
- package/dist/components/Pagination/Pagination.stories.d.ts +0 -6
- package/dist/components/Pagination/Pagination.types.d.ts +0 -8
- package/dist/components/Pagination/index.d.ts +0 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -3
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -8
- package/dist/components/PasswordInput/index.d.ts +0 -1
- package/dist/components/Pill/Pill.d.ts +0 -4
- package/dist/components/Pill/Pill.stories.d.ts +0 -9
- package/dist/components/Pill/Pill.type.d.ts +0 -8
- package/dist/components/Pill/index.d.ts +0 -1
- package/dist/components/ProfileImageShowcase/ProfileShowcase.d.ts +0 -10
- package/dist/components/ProfileImageShowcase/ProfileShowcase.stories.d.ts +0 -6
- package/dist/components/ProfileImageShowcase/ProfileShowcase.type.d.ts +0 -1
- package/dist/components/ProfileImageShowcase/index.d.ts +0 -1
- package/dist/components/Progress/Progress.d.ts +0 -4
- package/dist/components/Progress/Progress.stories.d.ts +0 -16
- package/dist/components/Progress/Progress.types.d.ts +0 -48
- package/dist/components/Progress/index.d.ts +0 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +0 -4
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +0 -7
- package/dist/components/RadioGroup/RadioGroup.types.d.ts +0 -16
- package/dist/components/RadioGroup/index.d.ts +0 -1
- package/dist/components/SearchBar/SearchBar.d.ts +0 -4
- package/dist/components/SearchBar/SearchBar.stories.d.ts +0 -6
- package/dist/components/SearchBar/SearchBar.types.d.ts +0 -24
- package/dist/components/SearchBar/index.d.ts +0 -1
- package/dist/components/Select/Select.d.ts +0 -4
- package/dist/components/Select/Select.stories.d.ts +0 -7
- package/dist/components/Select/Select.types.d.ts +0 -17
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Sidebar/Sidebar.d.ts +0 -10
- package/dist/components/Sidebar/Sidebar.stories.d.ts +0 -6
- package/dist/components/Sidebar/Sidebar.types.d.ts +0 -16
- package/dist/components/Sidebar/index.d.ts +0 -1
- package/dist/components/Skeleton/Skeleton.d.ts +0 -4
- package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -16
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -28
- package/dist/components/Skeleton/index.d.ts +0 -1
- package/dist/components/Slider/Slider.d.ts +0 -4
- package/dist/components/Slider/Slider.stories.d.ts +0 -14
- package/dist/components/Slider/Slider.types.d.ts +0 -21
- package/dist/components/Slider/index.d.ts +0 -1
- package/dist/components/Snackbar/Snackbar.d.ts +0 -4
- package/dist/components/Snackbar/Snackbar.stories.d.ts +0 -11
- package/dist/components/Snackbar/Snackbar.types.d.ts +0 -41
- package/dist/components/Snackbar/index.d.ts +0 -1
- package/dist/components/Stepper/Stepper.d.ts +0 -12
- package/dist/components/Stepper/Stepper.stories.d.ts +0 -9
- package/dist/components/Stepper/Stepper.type.d.ts +0 -1
- package/dist/components/Stepper/index.d.ts +0 -1
- package/dist/components/Table/Table.d.ts +0 -5
- package/dist/components/Table/Table.stories.d.ts +0 -17
- package/dist/components/Table/Table.types.d.ts +0 -15
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Tabs/Tabs.d.ts +0 -4
- package/dist/components/Tabs/Tabs.stories.d.ts +0 -7
- package/dist/components/Tabs/Tabs.types.d.ts +0 -17
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +0 -4
- package/dist/components/TextArea/TextArea.stories.d.ts +0 -9
- package/dist/components/TextArea/TextArea.types.d.ts +0 -7
- package/dist/components/TextArea/index.d.ts +0 -1
- package/dist/components/TextInput/TextInput.d.ts +0 -3
- package/dist/components/TextInput/TextInput.stories.d.ts +0 -10
- package/dist/components/TextInput/TextInput.types.d.ts +0 -15
- package/dist/components/TextInput/index.d.ts +0 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +0 -3
- package/dist/components/ToggleSwitch/ToggleSwitch.stories.d.ts +0 -8
- package/dist/components/ToggleSwitch/ToggleSwitch.types.d.ts +0 -8
- package/dist/components/ToggleSwitch/index.d.ts +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts +0 -4
- package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -10
- package/dist/components/Tooltip/Tooltip.type.d.ts +0 -5
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/components/Typography/Typography.d.ts +0 -4
- package/dist/components/Typography/Typography.stories.d.ts +0 -17
- package/dist/components/Typography/Typography.types.d.ts +0 -8
- package/dist/components/Typography/index.d.ts +0 -1
- package/dist/components/index.d.ts +0 -42
- package/dist/components/otpInput/OtpInput.d.ts +0 -4
- package/dist/components/otpInput/OtpInput.stories.d.ts +0 -7
- package/dist/components/otpInput/OtpInput.type.d.ts +0 -13
- package/dist/components/otpInput/index.d.ts +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/tsconfig.app.tsbuildinfo +0 -1
- package/dist/utils/ColorMap.d.ts +0 -156
- package/dist/utils/constants.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,80 +1,99 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
2
|
+
"name": "@unizap/uniui",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "A UI component library for React",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"main": "dist/unizap-ui.umd.cjs",
|
|
11
|
+
"module": "dist/unizap-ui.js",
|
|
12
|
+
"styles": "dist/unizap-ui.css",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./dist/unizap-ui.js",
|
|
16
|
+
"require": "./dist/unizap-ui.umd.cjs",
|
|
17
|
+
"types": "./dist/index.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./dist/unizap-ui.css": "./dist/unizap-ui.css"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"dev": "vite",
|
|
23
|
+
"build": "tsc -b && vite build",
|
|
24
|
+
"lint": "eslint .",
|
|
25
|
+
"preview": "vite preview",
|
|
26
|
+
"storybook": "storybook dev -p 6006",
|
|
27
|
+
"build-storybook": "storybook build",
|
|
28
|
+
"prepare": "husky"
|
|
29
|
+
},
|
|
30
|
+
"lint-staged": {
|
|
31
|
+
"*.{ts,html,tsx}": [
|
|
32
|
+
"eslint --fix",
|
|
33
|
+
"prettier --write"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@babel/runtime": "^7.28.2",
|
|
38
|
+
"@chromatic-com/storybook": "3",
|
|
39
|
+
"@eslint/js": "^9.21.0",
|
|
40
|
+
"@storybook/addon-essentials": "8.6.11",
|
|
41
|
+
"@storybook/addon-onboarding": "8.6.11",
|
|
42
|
+
"@storybook/blocks": "8.6.11",
|
|
43
|
+
"@storybook/experimental-addon-test": "8.6.11",
|
|
44
|
+
"@storybook/react": "8.6.11",
|
|
45
|
+
"@storybook/react-vite": "8.6.11",
|
|
46
|
+
"@storybook/test": "8.6.11",
|
|
47
|
+
"@tailwindcss/vite": "^4.0.17",
|
|
48
|
+
"@types/cookie": "^1.0.0",
|
|
49
|
+
"@types/node": "^22.13.14",
|
|
50
|
+
"@types/react": "^19.0.12",
|
|
51
|
+
"@types/react-dom": "^19.0.4",
|
|
52
|
+
"@types/statuses": "^2.0.6",
|
|
53
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
54
|
+
"@vitest/browser": "^3.0.9",
|
|
55
|
+
"@vitest/coverage-v8": "^3.0.9",
|
|
56
|
+
"daisyui": "^5.0.11",
|
|
57
|
+
"eslint": "^9.21.0",
|
|
58
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
59
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
60
|
+
"eslint-plugin-storybook": "^0.12.0",
|
|
61
|
+
"globals": "^15.15.0",
|
|
62
|
+
"husky": "^9.1.7",
|
|
63
|
+
"lint-staged": "^15.5.0",
|
|
64
|
+
"playwright": "^1.51.1",
|
|
65
|
+
"prettier": "^3.5.3",
|
|
66
|
+
"react-router-dom": "^7.5.0",
|
|
67
|
+
"storybook": "8.6.11",
|
|
68
|
+
"typescript": "4.9.5",
|
|
69
|
+
"typescript-eslint": "^8.24.1",
|
|
70
|
+
"vite": "^6.2.0",
|
|
71
|
+
"vite-plugin-dts": "^4.5.3",
|
|
72
|
+
"vitest": "^3.0.9"
|
|
73
|
+
},
|
|
74
|
+
"peerDependencies": {
|
|
75
|
+
"react": ">=16.8.0",
|
|
76
|
+
"react-dom": ">=16.8.0"
|
|
77
|
+
},
|
|
78
|
+
"eslintConfig": {
|
|
79
|
+
"extends": [
|
|
80
|
+
"plugin:storybook/recommended"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"@tanstack/react-table": "^8.21.2",
|
|
85
|
+
"@unizap/unicss": "^1.1.27",
|
|
86
|
+
"react-dropzone": "^14.3.8"
|
|
87
|
+
},
|
|
88
|
+
"overrides": {
|
|
89
|
+
"@rollup/plugin-babel": {
|
|
90
|
+
"rollup": "^4.0.0"
|
|
91
|
+
},
|
|
92
|
+
"@rollup/plugin-replace": {
|
|
93
|
+
"rollup": "^4.0.0"
|
|
94
|
+
},
|
|
95
|
+
"react-scripts": {
|
|
96
|
+
"typescript": "^4.0.0"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
80
99
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import Accordion from './Accordion';
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: Meta<typeof Accordion>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Accordion>;
|
|
6
|
-
export declare const Basic: Story;
|
|
7
|
-
export declare const MultipleAccordions: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface AccordionProps {
|
|
3
|
-
title: ReactNode;
|
|
4
|
-
content: ReactNode;
|
|
5
|
-
expandIcon?: ReactNode;
|
|
6
|
-
collapseIcon?: ReactNode;
|
|
7
|
-
isOpen?: boolean;
|
|
8
|
-
defaultExpanded?: boolean;
|
|
9
|
-
onToggle?: (expanded: boolean) => void;
|
|
10
|
-
className?: string;
|
|
11
|
-
titleClass?: string;
|
|
12
|
-
contentClass?: string;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Accordion';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
export interface ActionMenuItem {
|
|
3
|
-
label?: string;
|
|
4
|
-
icon?: ReactNode;
|
|
5
|
-
itemClass?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export interface ActionMenuProps {
|
|
10
|
-
items: ActionMenuItem[];
|
|
11
|
-
trigger: ReactNode;
|
|
12
|
-
className?: string;
|
|
13
|
-
dropdownItemClass?: string;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ActionMenu';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Alert';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Avatar from './Avatar';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: Meta<typeof Avatar>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Avatar>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Fallback: Story;
|
|
8
|
-
export declare const Sizes: Story;
|
|
9
|
-
export declare const Shapes: Story;
|
|
10
|
-
export declare const Group: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CompColor } from "../../utils/ColorMap";
|
|
2
|
-
export interface AvatarProps {
|
|
3
|
-
src?: string;
|
|
4
|
-
alt?: string;
|
|
5
|
-
fallback?: React.ReactNode;
|
|
6
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
7
|
-
shape?: 'circle' | 'rounded' | 'square';
|
|
8
|
-
color?: CompColor;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Avatar';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import Badge from './Badge';
|
|
3
|
-
declare const meta: Meta<typeof Badge>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Badge>;
|
|
6
|
-
export declare const DotBadge: Story;
|
|
7
|
-
export declare const CountBadge: Story;
|
|
8
|
-
export declare const ManyMails: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Badge';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: import("react").FC<import("./BottomNavigation.types").BottomNavigationProps>;
|
|
4
|
-
tags: string[];
|
|
5
|
-
decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Floating: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const Fixed: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface NavItem {
|
|
2
|
-
label: string;
|
|
3
|
-
icon: React.ReactNode;
|
|
4
|
-
path: string;
|
|
5
|
-
}
|
|
6
|
-
export interface BottomNavigationProps {
|
|
7
|
-
variant?: 'floating' | 'static' | 'fixed';
|
|
8
|
-
activeTab: string;
|
|
9
|
-
navItems: NavItem[];
|
|
10
|
-
onTabChange: (label: string) => void;
|
|
11
|
-
className?: string;
|
|
12
|
-
activeClass?: string;
|
|
13
|
-
buttonClass?: string;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './BottomNavigation';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Breadcrumbs';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import Button from './Button';
|
|
3
|
-
declare const meta: Meta<typeof Button>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Button>;
|
|
6
|
-
export declare const Filled: Story;
|
|
7
|
-
export declare const Outlined: Story;
|
|
8
|
-
export declare const Text: Story;
|
|
9
|
-
export declare const RoundedFull: Story;
|
|
10
|
-
export declare const Disabled: Story;
|
|
11
|
-
export declare const Link: Story;
|
|
12
|
-
export declare const Color: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CompColor } from '../../utils/ColorMap';
|
|
3
|
-
export interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
-
title?: string;
|
|
5
|
-
variant?: 'filled' | 'outlined' | 'text';
|
|
6
|
-
color?: CompColor;
|
|
7
|
-
size?: 'small' | 'medium' | 'large';
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
fullWidth?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
roundedFull?: boolean;
|
|
13
|
-
icon?: React.ReactNode;
|
|
14
|
-
href?: string;
|
|
15
|
-
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
16
|
-
type?: 'submit' | 'reset' | 'button';
|
|
17
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Button';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import Card from './Card';
|
|
3
|
-
declare const meta: Meta<typeof Card>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Card>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Image: Story;
|
|
8
|
-
export declare const ClickableCard: Story;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ICardProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
subtitle?: string;
|
|
5
|
-
space?: 'none' | 'small' | 'medium' | 'large';
|
|
6
|
-
shadow?: 'default' | 'small' | 'medium' | 'large';
|
|
7
|
-
roundness?: 'small' | 'medium' | 'large';
|
|
8
|
-
image?: string;
|
|
9
|
-
divider?: boolean;
|
|
10
|
-
actionMenu?: React.ReactNode;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
className?: string;
|
|
13
|
-
hoverable?: boolean;
|
|
14
|
-
bordered?: boolean;
|
|
15
|
-
onClick?: () => void;
|
|
16
|
-
loaderJsx?: boolean;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Card';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './CardWrapper';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import type { CarouselProps } from './Carousel.types';
|
|
3
|
-
declare const meta: Meta<CarouselProps>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<CarouselProps>;
|
|
6
|
-
export declare const FixedSize: Story;
|
|
7
|
-
export declare const FullWidth: Story;
|
|
8
|
-
export declare const WithIndicators: Story;
|
|
9
|
-
export declare const WithoutIndicators: Story;
|
|
10
|
-
export declare const WithArrows: Story;
|
|
11
|
-
export declare const CustomIcons: Story;
|
|
12
|
-
export declare const Autoplay: Story;
|
|
13
|
-
export declare const InfiniteLoop: Story;
|
|
14
|
-
export declare const OnePerView: Story;
|
|
15
|
-
export declare const FractionalPerView: Story;
|
|
16
|
-
export declare const ThreePerView: Story;
|
|
17
|
-
export declare const Gap: Story;
|
|
18
|
-
export declare const ClickCallbacks: Story;
|
|
19
|
-
export declare const PauseOnHover: Story;
|
|
20
|
-
export declare const NoSwipe: Story;
|
|
21
|
-
export declare const WithThumbnails: Story;
|
|
22
|
-
export declare const LargeThumbnails: Story;
|
|
23
|
-
export declare const Vertical: Story;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface CarouselProps {
|
|
2
|
-
children: React.ReactNode[];
|
|
3
|
-
width?: string;
|
|
4
|
-
height?: string;
|
|
5
|
-
showIndicators?: boolean;
|
|
6
|
-
showArrows?: boolean;
|
|
7
|
-
autoplay?: boolean;
|
|
8
|
-
interval?: number;
|
|
9
|
-
infiniteLoop?: boolean;
|
|
10
|
-
perview?: number;
|
|
11
|
-
onClickItem?: (index: number) => void;
|
|
12
|
-
showThumbs?: boolean;
|
|
13
|
-
pauseOnHover?: boolean;
|
|
14
|
-
swipeable?: boolean;
|
|
15
|
-
thumbWidth?: number;
|
|
16
|
-
gap?: number;
|
|
17
|
-
nextIcon?: React.ReactNode;
|
|
18
|
-
prevIcon?: React.ReactNode;
|
|
19
|
-
className?: string;
|
|
20
|
-
orientation?: 'horizontal' | 'vertical';
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Carousel';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
component: import("react").FC<import("./Checkbox.types").ICheckboxProps>;
|
|
4
|
-
title: string;
|
|
5
|
-
tags: string[];
|
|
6
|
-
};
|
|
7
|
-
export default meta;
|
|
8
|
-
type Story = StoryObj<typeof meta>;
|
|
9
|
-
export declare const Default: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Checkbox';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import DashboardStatBoxes from "./DashboardStatBoxes";
|
|
3
|
-
declare const meta: Meta<typeof DashboardStatBoxes>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof DashboardStatBoxes>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export type DashboardStatBox = {
|
|
2
|
-
icon: React.ReactNode;
|
|
3
|
-
name: string;
|
|
4
|
-
value: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
accentColor?: string;
|
|
7
|
-
accentBackground?: string;
|
|
8
|
-
};
|
|
9
|
-
export type DashboardStatBoxesProps = {
|
|
10
|
-
stats: DashboardStatBox[];
|
|
11
|
-
className?: string;
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './DashboardStatBoxes';
|