@inntechcorp/it-design 2.0.6 → 2.0.9
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/card/index.d.ts +3 -0
- package/dist/card/styles.d.ts +13 -0
- package/dist/index.cjs.js +13 -13
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +35 -1
- package/dist/index.esm.js +43 -43
- package/dist/result/index.d.ts +1 -0
- package/dist/tabs/index.d.ts +3 -0
- package/dist/tabs/styles.d.ts +9 -0
- package/dist/types/AccordionSubMenuProps.d.ts +1 -0
- package/dist/types/CardProps.d.ts +16 -0
- package/dist/types/ChildrenProps.d.ts +1 -0
- package/dist/types/TabsProps.d.ts +14 -0
- package/package.json +33 -33
package/dist/result/index.d.ts
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
+
$height?: number | undefined;
|
|
4
|
+
}>> & string;
|
|
5
|
+
declare const TabMenuNavigation: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
|
+
$isBold?: boolean | undefined;
|
|
7
|
+
}>> & string;
|
|
8
|
+
declare const TabContentBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
+
export { Wrapper, TabMenuNavigation, TabContentBody };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChildrenProps } from "./ChildrenProps";
|
|
2
|
+
export type CardProps = {
|
|
3
|
+
title?: ChildrenProps;
|
|
4
|
+
titleSeparator?: boolean;
|
|
5
|
+
extra?: ChildrenProps;
|
|
6
|
+
tabs?: {
|
|
7
|
+
key: string;
|
|
8
|
+
tab: string;
|
|
9
|
+
}[];
|
|
10
|
+
activeTabKey?: string;
|
|
11
|
+
onTabChange?: (key: string) => void;
|
|
12
|
+
updating?: boolean;
|
|
13
|
+
minHeight?: number;
|
|
14
|
+
contentPadding?: string;
|
|
15
|
+
children: ChildrenProps;
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ChildrenProps } from "./ChildrenProps";
|
|
2
|
+
export type TabsItemProps = {
|
|
3
|
+
key: string;
|
|
4
|
+
tab: string;
|
|
5
|
+
children?: ChildrenProps;
|
|
6
|
+
link?: string;
|
|
7
|
+
};
|
|
8
|
+
export type TabsProps = {
|
|
9
|
+
activeTabKey?: string;
|
|
10
|
+
tabs?: TabsItemProps[];
|
|
11
|
+
onTabChange?: (key: string) => void;
|
|
12
|
+
variant?: "default" | "bold";
|
|
13
|
+
height?: number;
|
|
14
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inntechcorp/it-design",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "All in
|
|
3
|
+
"version": "2.0.9",
|
|
4
|
+
"description": "All in one Design library for desktop applications.",
|
|
5
5
|
"author": "Ali",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@mona-health/react-input-mask": "^3.0.3",
|
|
32
32
|
"autoprefixer": "10.4.19",
|
|
33
|
-
"axios": "1.7.
|
|
33
|
+
"axios": "1.7.2",
|
|
34
34
|
"core-js": "3.37.1",
|
|
35
35
|
"fast-deep-equal": "^3.1.3",
|
|
36
36
|
"i18next": "23.11.5",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"query-string": "9.0.0",
|
|
51
51
|
"react": "18.3.1",
|
|
52
52
|
"react-dom": "18.3.1",
|
|
53
|
-
"react-i18next": "
|
|
53
|
+
"react-i18next": "14.1.2",
|
|
54
54
|
"react-nanny": "^2.15.0",
|
|
55
55
|
"react-number-format": "5.3.4",
|
|
56
56
|
"react-router-dom": "6.23.1",
|
|
@@ -59,55 +59,55 @@
|
|
|
59
59
|
"react-transition-group": "4.4.5",
|
|
60
60
|
"smoothscroll-polyfill": "^0.4.4",
|
|
61
61
|
"styled-components": "6.1.11",
|
|
62
|
-
"web-vitals": "4.0.
|
|
62
|
+
"web-vitals": "4.0.1"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@babel/core": "7.24.
|
|
66
|
-
"@babel/plugin-transform-runtime": "7.24.
|
|
67
|
-
"@babel/preset-env": "7.24.
|
|
68
|
-
"@babel/preset-react": "7.24.
|
|
69
|
-
"@babel/preset-typescript": "7.24.
|
|
70
|
-
"@babel/runtime": "7.24.
|
|
71
|
-
"@chromatic-com/storybook": "1.
|
|
65
|
+
"@babel/core": "7.24.6",
|
|
66
|
+
"@babel/plugin-transform-runtime": "7.24.6",
|
|
67
|
+
"@babel/preset-env": "7.24.6",
|
|
68
|
+
"@babel/preset-react": "7.24.6",
|
|
69
|
+
"@babel/preset-typescript": "7.24.6",
|
|
70
|
+
"@babel/runtime": "7.24.6",
|
|
71
|
+
"@chromatic-com/storybook": "1.5.0",
|
|
72
72
|
"@rollup/plugin-babel": "6.0.4",
|
|
73
|
-
"@rollup/plugin-commonjs": "25.0.
|
|
73
|
+
"@rollup/plugin-commonjs": "25.0.8",
|
|
74
74
|
"@rollup/plugin-image": "^3.0.3",
|
|
75
75
|
"@rollup/plugin-json": "6.1.0",
|
|
76
76
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
77
|
-
"@storybook/addon-essentials": "8.1.
|
|
78
|
-
"@storybook/addon-interactions": "8.1.
|
|
79
|
-
"@storybook/addon-links": "8.1.
|
|
80
|
-
"@storybook/addon-mdx-gfm": "8.1.
|
|
81
|
-
"@storybook/addon-onboarding": "8.1.
|
|
82
|
-
"@storybook/blocks": "8.1.
|
|
83
|
-
"@storybook/node-logger": "8.1.
|
|
84
|
-
"@storybook/react": "8.1.
|
|
85
|
-
"@storybook/react-vite": "8.1.
|
|
86
|
-
"@storybook/test": "8.1.
|
|
77
|
+
"@storybook/addon-essentials": "8.1.5",
|
|
78
|
+
"@storybook/addon-interactions": "8.1.5",
|
|
79
|
+
"@storybook/addon-links": "8.1.5",
|
|
80
|
+
"@storybook/addon-mdx-gfm": "8.1.5",
|
|
81
|
+
"@storybook/addon-onboarding": "8.1.5",
|
|
82
|
+
"@storybook/blocks": "8.1.5",
|
|
83
|
+
"@storybook/node-logger": "8.1.5",
|
|
84
|
+
"@storybook/react": "8.1.5",
|
|
85
|
+
"@storybook/react-vite": "8.1.5",
|
|
86
|
+
"@storybook/test": "8.1.5",
|
|
87
87
|
"@testing-library/jest-dom": "6.4.5",
|
|
88
88
|
"@testing-library/react": "15.0.7",
|
|
89
89
|
"@testing-library/user-event": "14.5.2",
|
|
90
90
|
"@types/lodash-es": "^4.17.12",
|
|
91
|
-
"@types/node": "20.12.
|
|
92
|
-
"@types/react": "18.3.
|
|
91
|
+
"@types/node": "20.12.13",
|
|
92
|
+
"@types/react": "^18.3.3",
|
|
93
93
|
"@types/react-dom": "18.3.0",
|
|
94
94
|
"@types/rollup-plugin-node-globals": "^1.4.4",
|
|
95
|
-
"@vitejs/plugin-react": "
|
|
95
|
+
"@vitejs/plugin-react": "4.3.0",
|
|
96
96
|
"babel-plugin-styled-components": "2.1.4",
|
|
97
97
|
"copy-webpack-plugin": "12.0.2",
|
|
98
98
|
"customize-cra": "^1.0.0",
|
|
99
99
|
"dts-bundle-generator": "^9.5.1",
|
|
100
100
|
"eslint-plugin-storybook": "0.8.0",
|
|
101
101
|
"esm": "^3.2.25",
|
|
102
|
-
"glob": "10.
|
|
102
|
+
"glob": "10.4.1",
|
|
103
103
|
"less-loader": "12.2.0",
|
|
104
104
|
"postcss-custom-properties": "13.3.10",
|
|
105
105
|
"postcss-import": "16.1.0",
|
|
106
|
-
"postcss-nesting": "12.1.
|
|
106
|
+
"postcss-nesting": "12.1.5",
|
|
107
107
|
"postcss-normalize": "^10.0.1",
|
|
108
|
-
"postcss-preset-env": "9.5.
|
|
108
|
+
"postcss-preset-env": "9.5.14",
|
|
109
109
|
"react-app-rewired": "^2.2.1",
|
|
110
|
-
"rollup": "4.
|
|
110
|
+
"rollup": "4.18.0",
|
|
111
111
|
"rollup-plugin-copy": "^3.5.0",
|
|
112
112
|
"rollup-plugin-dts": "6.1.1",
|
|
113
113
|
"rollup-plugin-local-resolve": "^1.0.7",
|
|
@@ -119,12 +119,12 @@
|
|
|
119
119
|
"rollup-plugin-styles": "4.0.0",
|
|
120
120
|
"rollup-plugin-terser": "^7.0.2",
|
|
121
121
|
"rollup-plugin-typescript2": "0.36.0",
|
|
122
|
-
"sass": "1.77.
|
|
122
|
+
"sass": "1.77.4",
|
|
123
123
|
"source-map-loader": "5.0.0",
|
|
124
|
-
"storybook": "8.1.
|
|
124
|
+
"storybook": "8.1.5",
|
|
125
125
|
"tslib": "^2.5.0",
|
|
126
126
|
"typescript": "5.4.5",
|
|
127
|
-
"vite": "5.2.
|
|
127
|
+
"vite": "5.2.12",
|
|
128
128
|
"vite-plugin-dts": "^3.9.1",
|
|
129
129
|
"vite-plugin-lib-inject-css": "2.1.1",
|
|
130
130
|
"vite-plugin-node-polyfills": "0.22.0",
|