1mpacto-react-ui 0.1.4 → 0.1.6
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/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/index.cjs +104 -83
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +26116 -14576
- package/dist/index.mjs.map +1 -1
- package/dist/package.json.d.ts +5 -2
- package/dist/src/interfaces/components/Sidebar/index.d.ts +4 -3
- package/dist/src/utils/common.d.ts +1 -0
- package/package.json +4 -2
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.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.19.4",
|
|
@@ -38,6 +38,7 @@ declare const _default: {
|
|
|
38
38
|
"@storybook/test": "^8.4.7",
|
|
39
39
|
"@types/js-cookie": "^3.0.6",
|
|
40
40
|
"@types/node": "^20.14.10",
|
|
41
|
+
"@types/node-forge": "^1.3.14",
|
|
41
42
|
"@types/react": "^18.3.3",
|
|
42
43
|
"@types/react-dom": "^18.3.0",
|
|
43
44
|
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
@@ -117,6 +118,7 @@ declare const _default: {
|
|
|
117
118
|
"date-fns": "^3.6.0",
|
|
118
119
|
"js-cookie": "^3.0.5",
|
|
119
120
|
"lossless-json": "^4.0.2",
|
|
121
|
+
"node-forge": "^1.3.1",
|
|
120
122
|
"react-aria": "^3.33.1",
|
|
121
123
|
"react-chartjs-2": "^5.2.0",
|
|
122
124
|
"react-number-format": "^5.4.0",
|
|
@@ -126,6 +128,7 @@ declare const _default: {
|
|
|
126
128
|
"react-virtuoso": "^4.7.11",
|
|
127
129
|
"tinymce": "^7.9.1"
|
|
128
130
|
}
|
|
129
|
-
}
|
|
131
|
+
}
|
|
132
|
+
;
|
|
130
133
|
|
|
131
134
|
export default _default;
|
|
@@ -12,7 +12,8 @@ export interface ISidebarModule {
|
|
|
12
12
|
svgIcon?: React.ReactNode | null;
|
|
13
13
|
svgIconActive?: React.ReactNode | null;
|
|
14
14
|
manualRoute?: boolean;
|
|
15
|
-
propsLink?: (value: string) => object;
|
|
15
|
+
propsLink?: (value: string, item: ISidebarModule) => object;
|
|
16
|
+
[key: string]: unknown;
|
|
16
17
|
}
|
|
17
18
|
export interface ISidebar<T extends React.ElementType> extends React.HTMLAttributes<HTMLDivElement> {
|
|
18
19
|
as?: T;
|
|
@@ -27,7 +28,7 @@ export interface ISidebar<T extends React.ElementType> extends React.HTMLAttribu
|
|
|
27
28
|
toleranceWidthIconCompany?: number;
|
|
28
29
|
footer?: React.ReactNode | React.ReactNode[] | (() => React.ReactNode) | (() => React.ReactNode[]);
|
|
29
30
|
onClickItems?: (v: ISidebarModule) => void;
|
|
30
|
-
propsLink?: (value: string) => object;
|
|
31
|
+
propsLink?: (value: string, item: ISidebarModule) => object;
|
|
31
32
|
withInheritance?: boolean;
|
|
32
33
|
}
|
|
33
34
|
export interface IItemSidebar<T extends React.ElementType> extends ISidebarModule {
|
|
@@ -39,7 +40,7 @@ export interface IItemSidebar<T extends React.ElementType> extends ISidebarModul
|
|
|
39
40
|
variant?: TVariantSidebarType;
|
|
40
41
|
setShow: (v: string) => void;
|
|
41
42
|
onClickItems?: (v: ISidebarModule) => void;
|
|
42
|
-
propsLink?: (value: string) => object;
|
|
43
|
+
propsLink?: (value: string, item: ISidebarModule) => object;
|
|
43
44
|
linkComponent?: T;
|
|
44
45
|
}
|
|
45
46
|
export interface ICloneElementSidebar {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "1mpacto-react-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.19.4",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"@storybook/test": "^8.4.7",
|
|
39
39
|
"@types/js-cookie": "^3.0.6",
|
|
40
40
|
"@types/node": "^20.14.10",
|
|
41
|
+
"@types/node-forge": "^1.3.14",
|
|
41
42
|
"@types/react": "^18.3.3",
|
|
42
43
|
"@types/react-dom": "^18.3.0",
|
|
43
44
|
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
@@ -117,6 +118,7 @@
|
|
|
117
118
|
"date-fns": "^3.6.0",
|
|
118
119
|
"js-cookie": "^3.0.5",
|
|
119
120
|
"lossless-json": "^4.0.2",
|
|
121
|
+
"node-forge": "^1.3.1",
|
|
120
122
|
"react-aria": "^3.33.1",
|
|
121
123
|
"react-chartjs-2": "^5.2.0",
|
|
122
124
|
"react-number-format": "^5.4.0",
|
|
@@ -126,4 +128,4 @@
|
|
|
126
128
|
"react-virtuoso": "^4.7.11",
|
|
127
129
|
"tinymce": "^7.9.1"
|
|
128
130
|
}
|
|
129
|
-
}
|
|
131
|
+
}
|