1mpacto-react-ui 0.2.0-beta.1 → 0.2.0-beta.11
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/assets/_colors.scss +287 -1
- package/dist/assets/_mixins.scss +17 -0
- package/dist/assets/_screen.scss +6 -0
- package/dist/assets/_typography.scss +302 -0
- package/dist/assets/colors.css +21 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/screen.css +8 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/typography.css +36 -0
- package/dist/index.cjs +110 -86
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.mjs +27575 -15975
- package/dist/index.mjs.map +1 -1
- package/dist/package.json.d.ts +38 -25
- package/dist/src/components/Alert/index.d.ts +0 -1
- package/dist/src/components/Badges/Badges.d.ts +0 -1
- package/dist/src/components/Badges/Badges.stories.d.ts +0 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -2
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -2
- package/dist/src/components/Button/Button.d.ts +0 -1
- package/dist/src/components/Button/Button.stories.d.ts +0 -1
- package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +0 -1
- package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +0 -1
- package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +0 -1
- package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +17 -0
- package/dist/src/components/Calendar/Calendar.d.ts +0 -1
- package/dist/src/components/Calendar/Calendar.stories.d.ts +14 -0
- package/dist/src/components/Calendar/CalendarButton.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarCell.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarMonth.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarRange.d.ts +0 -1
- package/dist/src/components/Calendar/CalendarYear.d.ts +0 -1
- package/dist/src/components/Chart/DoughnutChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientBarChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientBarChart.stories.d.ts +2 -3
- package/dist/src/components/Chart/GradientLineChart.d.ts +0 -1
- package/dist/src/components/Chart/GradientLineChart.stories.d.ts +2 -3
- package/dist/src/components/Chart/LineChart.d.ts +0 -1
- package/dist/src/components/Chart/LineChart.stories.d.ts +18 -0
- package/dist/src/components/Chips/Chips.d.ts +0 -1
- package/dist/src/components/Chips/Chips.stories.d.ts +0 -1
- package/dist/src/components/Collapse/Collapse.d.ts +0 -1
- package/dist/src/components/Collapse/Collapse.stories.d.ts +18 -0
- package/dist/src/components/Collapse/CollapseV2.d.ts +3 -0
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +18 -0
- package/dist/src/components/Colors/Colors.stories.d.ts +13 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +0 -1
- package/dist/src/components/DatePicker/DateRangePicker.d.ts +0 -1
- package/dist/src/components/DatePicker/FilterDate.d.ts +0 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +18 -0
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +0 -1
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +18 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +0 -1
- package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +17 -0
- package/dist/src/components/FilterContainer/FilterContainer.d.ts +0 -1
- package/dist/src/components/Input/InputFloatingInner.d.ts +0 -1
- package/dist/src/components/Input/InputFloatingInner.stories.d.ts +0 -7
- package/dist/src/components/Input/InputNative.d.ts +0 -1
- package/dist/src/components/Input/InputNative.stories.d.ts +31 -0
- package/dist/src/components/Input/InputReguler.d.ts +0 -1
- package/dist/src/components/Input/InputReguler.stories.d.ts +0 -7
- package/dist/src/components/Modal/ModalDialog.d.ts +0 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +18 -0
- package/dist/src/components/NumberFormat/NumberFormat.d.ts +0 -1
- package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +0 -1
- package/dist/src/components/Pagination/Pagination.d.ts +0 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -1
- package/dist/src/components/Popover/Popover.d.ts +0 -1
- package/dist/src/components/Popover/Popover.stories.d.ts +2 -3
- package/dist/src/components/PortalComponent/PortalComponent.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +0 -1
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +0 -1
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +0 -1
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +357 -7
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +0 -1
- package/dist/src/components/Sidebar/ItemSidebar.d.ts +0 -1
- package/dist/src/components/Sidebar/Sidebar.d.ts +0 -1
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +177 -7
- package/dist/src/components/Step/Step.d.ts +0 -1
- package/dist/src/components/Step/Step.stories.d.ts +14 -0
- package/dist/src/components/Step/StepIndicator.d.ts +0 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +13 -0
- package/dist/src/components/Switch/Switch.d.ts +0 -1
- package/dist/src/components/Switch/Switch.stories.d.ts +0 -1
- package/dist/src/components/Table/Table.d.ts +0 -1
- package/dist/src/components/Table/Table.stories.d.ts +248 -3
- package/dist/src/components/Tabs/TabPanel.d.ts +0 -1
- package/dist/src/components/Tabs/Tabs.d.ts +0 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +14 -0
- package/dist/src/components/TextEditor/TextEditor.d.ts +0 -1
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +88 -0
- package/dist/src/components/Textarea/Textarea.d.ts +0 -1
- package/dist/src/components/Textarea/Textarea.stories.d.ts +0 -1
- package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +0 -1
- package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +0 -1
- package/dist/src/components/Timeline/Timeline.d.ts +0 -1
- package/dist/src/components/Timeline/Timeline.stories.d.ts +16 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +0 -1
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +13 -0
- package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +0 -1
- package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +14 -0
- package/dist/src/components/Typography/Typography.stories.d.ts +13 -0
- package/dist/src/components/Upload/UploadFile.d.ts +0 -1
- package/dist/src/components/Upload/UploadFile.stories.d.ts +0 -1
- package/dist/src/components/Upload/UploadImage.d.ts +0 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +13 -0
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +0 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +0 -1
- package/dist/src/components/Virtualization/ListVirtualization.d.ts +0 -1
- package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +15 -0
- package/dist/src/components/Virtualization/TableVirtualization.d.ts +0 -1
- package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +15 -0
- package/dist/src/components/index.d.ts +4 -4
- package/dist/src/config/bigNumber/index.d.ts +0 -1
- package/dist/src/config/components/tinymce.d.ts +0 -1
- package/dist/src/config/components/typography.d.ts +13 -1
- package/dist/src/config/tailwind/index.d.ts +0 -1
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/hooks/useCombinedResizeObserver.d.ts +0 -1
- package/dist/src/hooks/useDeepCompareEffect.d.ts +0 -1
- package/dist/src/hooks/useEventListener.d.ts +0 -1
- package/dist/src/hooks/useMasonry.d.ts +0 -1
- package/dist/src/hooks/useMergeRefs.d.ts +0 -1
- package/dist/src/hooks/useStateRef.d.ts +0 -1
- package/dist/src/interfaces/components/Alert/index.d.ts +0 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +1 -2
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +3 -1
- package/dist/src/interfaces/components/Button/index.d.ts +1 -2
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +0 -1
- package/dist/src/interfaces/components/ButtonPopover/index.d.ts +0 -1
- package/dist/src/interfaces/components/Calendar/index.d.ts +0 -1
- package/dist/src/interfaces/components/Chart/index.d.ts +0 -1
- package/dist/src/interfaces/components/Checkbox/index.d.ts +0 -1
- package/dist/src/interfaces/components/Chips/index.d.ts +0 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +7 -1
- package/dist/src/interfaces/components/DatePicker/index.d.ts +0 -1
- package/dist/src/interfaces/components/FilterContainer/index.d.ts +0 -1
- package/dist/src/interfaces/components/Input/index.d.ts +0 -1
- package/dist/src/interfaces/components/Modal/index.d.ts +0 -1
- package/dist/src/interfaces/components/NumberFormat/index.d.ts +0 -1
- package/dist/src/interfaces/components/Pagination/index.d.ts +0 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +1 -2
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +0 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +0 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +0 -1
- package/dist/src/interfaces/components/Sidebar/index.d.ts +6 -5
- package/dist/src/interfaces/components/Step/index.d.ts +0 -1
- package/dist/src/interfaces/components/Table/index.d.ts +0 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +2 -2
- package/dist/src/interfaces/components/TextEditor/index.d.ts +0 -1
- package/dist/src/interfaces/components/Textarea/index.d.ts +0 -1
- package/dist/src/interfaces/components/Timeline/index.d.ts +0 -1
- package/dist/src/interfaces/components/Tooltip/index.d.ts +0 -1
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +1 -3
- package/dist/src/interfaces/components/UploadFile/index.d.ts +0 -1
- package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +0 -1
- package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +0 -1
- package/dist/src/main.d.ts +0 -1
- package/dist/src/utils/common.d.ts +3 -1
- package/package.json +37 -25
package/dist/package.json.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"name": "1mpacto-react-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.0-beta.
|
|
4
|
+
"version": "0.2.0-beta.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.19.4",
|
|
@@ -9,12 +9,13 @@ declare const _default: {
|
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
|
12
|
+
"copy:mixin-scss": "cp ./src/styles/_mixins.scss ./dist/assets/_mixins.scss",
|
|
12
13
|
"dev": "vite",
|
|
13
|
-
"transform:
|
|
14
|
-
"transform:color": "node -r ./src/utils/register-ts-node.js ./src/utils/generate-file-color.js",
|
|
14
|
+
"transform:style": "node -r ./src/utils/register-ts-node.js ./src/utils/generate-file-style.js",
|
|
15
15
|
"postProcess:fontfamily": "node ./src/utils/post-process-css.js",
|
|
16
|
-
"process:transformStyle": "npm run
|
|
17
|
-
"
|
|
16
|
+
"process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
|
|
17
|
+
"process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
|
|
18
|
+
"build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
|
|
18
19
|
"build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
|
|
19
20
|
"build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
|
|
20
21
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
@@ -28,38 +29,45 @@ declare const _default: {
|
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@chromatic-com/storybook": "^4.0.1",
|
|
32
|
+
"@eslint/compat": "^1.3.1",
|
|
33
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
34
|
+
"@eslint/js": "^9.32.0",
|
|
31
35
|
"@storybook/addon-docs": "^9.0.18",
|
|
32
36
|
"@storybook/addon-onboarding": "^9.0.18",
|
|
33
37
|
"@storybook/react-vite": "^9.0.18",
|
|
38
|
+
"@stylistic/eslint-plugin": "^5.2.2",
|
|
34
39
|
"@types/js-cookie": "^3.0.6",
|
|
35
40
|
"@types/node": "^20",
|
|
41
|
+
"@types/node-forge": "^1.3.14",
|
|
36
42
|
"@types/react": "^19.1.9",
|
|
37
43
|
"@types/react-dom": "^19.1.7",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
39
|
-
"@typescript-eslint/parser": "^
|
|
40
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
45
|
+
"@typescript-eslint/parser": "^8.38.0",
|
|
46
|
+
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
41
47
|
"autoprefixer": "^10.4.19",
|
|
42
|
-
"eslint": "^
|
|
43
|
-
"eslint-config-prettier": "^
|
|
44
|
-
"eslint-plugin-
|
|
45
|
-
"eslint-plugin-
|
|
46
|
-
"eslint-plugin-react
|
|
47
|
-
"eslint-plugin-react-
|
|
48
|
+
"eslint": "^9.32.0",
|
|
49
|
+
"eslint-config-prettier": "^10.1.8",
|
|
50
|
+
"eslint-plugin-import": "^2.32.0",
|
|
51
|
+
"eslint-plugin-prettier": "^5.5.3",
|
|
52
|
+
"eslint-plugin-react": "^7.37.5",
|
|
53
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
54
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
48
55
|
"eslint-plugin-storybook": "^9.0.18",
|
|
49
56
|
"glob": "^11.0.3",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
57
|
+
"globals": "^16.3.0",
|
|
58
|
+
"husky": "^9.1.7",
|
|
59
|
+
"lint-staged": "^16.1.2",
|
|
52
60
|
"postcss": "^8.5.2",
|
|
53
|
-
"prettier": "^3.
|
|
61
|
+
"prettier": "^3.6.2",
|
|
54
62
|
"react": "^19.1.1",
|
|
55
63
|
"react-dom": "^19.1.1",
|
|
56
|
-
"sass": "^1.
|
|
64
|
+
"sass": "^1.89.2",
|
|
57
65
|
"storybook": "^9.0.18",
|
|
58
66
|
"tailwindcss": "^3.4.4",
|
|
59
67
|
"ts-node": "^10.9.2",
|
|
60
|
-
"typescript": "
|
|
61
|
-
"vite": "^
|
|
62
|
-
"vite-plugin-dts": "^
|
|
68
|
+
"typescript": "~5.8.3",
|
|
69
|
+
"vite": "^6.3.5",
|
|
70
|
+
"vite-plugin-dts": "^4.5.4"
|
|
63
71
|
},
|
|
64
72
|
"peerDependencies": {
|
|
65
73
|
"react": ">= 19",
|
|
@@ -71,9 +79,9 @@ declare const _default: {
|
|
|
71
79
|
"types": "./dist/index.d.ts",
|
|
72
80
|
"exports": {
|
|
73
81
|
".": {
|
|
82
|
+
"types": "./dist/index.d.ts",
|
|
74
83
|
"import": "./dist/index.mjs",
|
|
75
|
-
"require": "./dist/index.cjs"
|
|
76
|
-
"types": "./dist/index.d.ts"
|
|
84
|
+
"require": "./dist/index.cjs"
|
|
77
85
|
},
|
|
78
86
|
"./dist/assets/toast.css": "./dist/assets/toast.css",
|
|
79
87
|
"./dist/assets/core.css": "./dist/assets/core.css",
|
|
@@ -81,7 +89,10 @@ declare const _default: {
|
|
|
81
89
|
"./dist/assets/colors.css": "./dist/assets/colors.css",
|
|
82
90
|
"./dist/assets/_colors.scss": "./dist/assets/_colors.scss",
|
|
83
91
|
"./dist/assets/typography.css": "./dist/assets/typography.css",
|
|
84
|
-
"./dist/assets/_typography.scss": "./dist/assets/_typography.scss"
|
|
92
|
+
"./dist/assets/_typography.scss": "./dist/assets/_typography.scss",
|
|
93
|
+
"./dist/assets/screen.css": "./dist/assets/screen.css",
|
|
94
|
+
"./dist/assets/_screen.scss": "./dist/assets/_screen.scss",
|
|
95
|
+
"./dist/assets/_mixins.scss": "./dist/assets/_mixins.scss"
|
|
85
96
|
},
|
|
86
97
|
"files": [
|
|
87
98
|
"/dist"
|
|
@@ -108,6 +119,7 @@ declare const _default: {
|
|
|
108
119
|
"date-fns": "^3.6.0",
|
|
109
120
|
"js-cookie": "^3.0.5",
|
|
110
121
|
"lossless-json": "^4.0.2",
|
|
122
|
+
"node-forge": "^1.3.1",
|
|
111
123
|
"react-aria": "^3.42.0",
|
|
112
124
|
"react-chartjs-2": "^5.3.0",
|
|
113
125
|
"react-number-format": "^5.4.4",
|
|
@@ -117,6 +129,7 @@ declare const _default: {
|
|
|
117
129
|
"react-virtuoso": "^4.13.0",
|
|
118
130
|
"tinymce": "^7.9.1"
|
|
119
131
|
}
|
|
120
|
-
}
|
|
132
|
+
}
|
|
133
|
+
;
|
|
121
134
|
|
|
122
135
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TypeOptions } from 'react-toastify';
|
|
3
3
|
import { IOptionAlert } from '../../interfaces/components/Alert';
|
|
4
|
-
|
|
5
4
|
export declare const openAlert: (message: string | React.ReactNode | React.ReactNode[], type?: TypeOptions, options?: IOptionAlert) => import('react-toastify').Id;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { IBreadcrumbs } from '../../interfaces/components/Breadcrumbs';
|
|
3
|
-
|
|
4
|
-
declare const Breadcrumbs: <T extends ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, ...props }: IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Breadcrumbs: <T extends ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, classNameAction, classNameUrl, renderAction, ...props }: IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default Breadcrumbs;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component: <T extends import('react').ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, ...props }: import('../../interfaces/components/Breadcrumbs').IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: <T extends import('react').ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, classNameAction, classNameUrl, renderAction, ...props }: import('../../interfaces/components/Breadcrumbs').IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
parameters: {
|
|
7
6
|
layout: string;
|
|
8
7
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IButtonPopover, IRefButtonPopover } from '../../interfaces/components/ButtonPopover';
|
|
3
|
-
|
|
4
3
|
declare const ButtonPopover: React.ForwardRefExoticComponent<IButtonPopover & React.RefAttributes<IRefButtonPopover>>;
|
|
5
4
|
export default ButtonPopover;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<import('../../interfaces/components/ButtonPopover').IButtonPopover & import('react').RefAttributes<import('..').IRefButtonPopover>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof meta>;
|
|
17
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import('../../interfaces/components/Calendar').ICalendar) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {};
|
|
10
|
+
render: (args: import('../../interfaces/components/Calendar').ICalendar) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
type Story = StoryObj<typeof meta>;
|
|
14
|
+
export declare const Default: Story;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ICalendarMonth } from '../../interfaces/components/Calendar';
|
|
2
|
-
|
|
3
2
|
declare const CalendarMonth: ({ prevIcon, nextIcon, state, setActiveTypeCalendar, onChangeMonth, type, hiddenHeader, }: ICalendarMonth) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default CalendarMonth;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { IDoughnutChart } from '../../interfaces/components/Chart';
|
|
2
|
-
|
|
3
2
|
declare const DoughnutChart: ({ labels, data, backgroundColor, options, redraw, widthInnerDoughnut, innerLabels, open, keyRemoveDataOpen, keyLabel, keyValue, keyBackground, className, }: IDoughnutChart) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default DoughnutChart;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component: ({ data, classNameContainer, height, id, options, CustomTooltip }: import('
|
|
4
|
+
component: ({ data, classNameContainer, height, id, options, CustomTooltip }: import('..').IGradientBarChart) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
parameters: {};
|
|
7
6
|
tags: string[];
|
|
8
7
|
argTypes: {};
|
|
9
8
|
args: {};
|
|
10
|
-
render: (args: import('
|
|
9
|
+
render: (args: import('..').IGradientBarChart) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
};
|
|
12
11
|
export default meta;
|
|
13
12
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { IGradientLineChart } from '../../interfaces/components/Chart';
|
|
2
|
-
|
|
3
2
|
declare const GradientLineChart: ({ data, height, classNameContainer, id, options, CustomTooltip }: IGradientLineChart) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default GradientLineChart;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component: ({ data, height, classNameContainer, id, options, CustomTooltip }: import('
|
|
4
|
+
component: ({ data, height, classNameContainer, id, options, CustomTooltip }: import('..').IGradientLineChart) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
parameters: {};
|
|
7
6
|
tags: string[];
|
|
8
7
|
argTypes: {};
|
|
9
8
|
args: {};
|
|
10
|
-
render: (args: import('
|
|
9
|
+
render: (args: import('..').IGradientLineChart) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
};
|
|
12
11
|
export default meta;
|
|
13
12
|
type Story = StoryObj<typeof meta>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ data, className, height }: import('../../interfaces/components/Chart').ILineChart) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
render: (args: import('../../interfaces/components/Chart').ILineChart) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ICollapse } from '../../interfaces/components/Collapse';
|
|
2
|
-
|
|
3
2
|
declare const Collapse: ({ children, id, open, className, classNameContainer, maxCollapsedHeight, triggerCalCulateContainer, delayTriggerCalculateHeight, }: ICollapse) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Collapse;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ children, id, open, className, classNameContainer, maxCollapsedHeight, triggerCalCulateContainer, delayTriggerCalculateHeight, }: import('..').ICollapse) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
render: (args: import('..').ICollapse) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ children, open, className, id, classNameContainer }: import('../../interfaces/components/Collapse').ICollapseV2) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
render: (args: import('../../interfaces/components/Collapse').ICollapseV2) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
parameters: {
|
|
5
|
+
layout: string;
|
|
6
|
+
};
|
|
7
|
+
tags: string[];
|
|
8
|
+
argTypes: {};
|
|
9
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { IFilterDate } from '../../interfaces/components/DatePicker';
|
|
2
|
-
|
|
3
2
|
declare const FilterDate: ({ value, prevIcon, nextIcon, buttonReset, buttonSubmit, className, classNameButton, buttonClick, buttonList, typePicker, onChange, idPopover, id, floatingOptions, offsetPopover, zIndexPopper, defaultValueLabel, mountedExecuteChange, formatingDate, }: IFilterDate) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default FilterDate;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ value, prevIcon, nextIcon, buttonReset, buttonSubmit, className, classNameButton, buttonClick, buttonList, typePicker, onChange, idPopover, id, floatingOptions, offsetPopover, zIndexPopper, defaultValueLabel, mountedExecuteChange, formatingDate, }: import('../../interfaces/components/DatePicker').IFilterDate) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
render: (args: import('../../interfaces/components/DatePicker').IFilterDate) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { IMonthYearPicker } from '../../interfaces/components/DatePicker';
|
|
2
|
-
|
|
3
2
|
declare const MonthYearPicker: ({ month, year, type, activeType, minDate, maxDate, className, classNameButton, onChange, buttonClick, id, idPopover, floatingOptions, offsetPopover, zIndexPopper, hiddenHeader, }: IMonthYearPicker) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default MonthYearPicker;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ month, year, type, activeType, minDate, maxDate, className, classNameButton, onChange, buttonClick, id, idPopover, floatingOptions, offsetPopover, zIndexPopper, hiddenHeader, }: import('../../interfaces/components/DatePicker').IMonthYearPicker) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
render: (args: import('../../interfaces/components/DatePicker').IMonthYearPicker) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
type Story = StoryObj<typeof meta>;
|
|
18
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ className, variants, error }: import('../../interfaces/components/ErrorMessage').IErrorMessage) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof meta>;
|
|
17
|
+
export declare const Default: Story;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IFilterContainer } from '../../interfaces/components/FilterContainer';
|
|
3
|
-
|
|
4
3
|
declare const FilterContainer: React.ForwardRefExoticComponent<IFilterContainer & React.RefAttributes<import('../../interfaces/components/FilterContainer').IChildFilterContainer>>;
|
|
5
4
|
export default FilterContainer;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: import('react').ForwardRefExoticComponent<import('..').IInputFloatingInner & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -8,12 +7,6 @@ declare const meta: {
|
|
|
8
7
|
};
|
|
9
8
|
tags: string[];
|
|
10
9
|
argTypes: {
|
|
11
|
-
startIcon: {
|
|
12
|
-
control: "boolean";
|
|
13
|
-
};
|
|
14
|
-
endIcon: {
|
|
15
|
-
control: "boolean";
|
|
16
|
-
};
|
|
17
10
|
className: {
|
|
18
11
|
type: "string";
|
|
19
12
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<import('..').IInputNative & import('react').RefAttributes<HTMLInputElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
type: "string";
|
|
12
|
+
};
|
|
13
|
+
classNameContainer: {
|
|
14
|
+
type: "string";
|
|
15
|
+
};
|
|
16
|
+
classNameLabelError: {
|
|
17
|
+
type: "string";
|
|
18
|
+
};
|
|
19
|
+
error: {
|
|
20
|
+
type: "string";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
args: {
|
|
24
|
+
onChange: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
25
|
+
value: string;
|
|
26
|
+
};
|
|
27
|
+
render: (args: import('..').IInputNative & import('react').RefAttributes<HTMLInputElement>) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
};
|
|
29
|
+
export default meta;
|
|
30
|
+
type Story = StoryObj<typeof meta>;
|
|
31
|
+
export declare const Default: Story;
|