@kwantis-id3/frontend-library 0.2.3 → 0.2.5
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/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ThemeContext/ThemeContext.d.ts +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ThemeContext/ThemeContext.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +11 -6
|
@@ -12,7 +12,7 @@ export type KwantisColorsObject = {
|
|
|
12
12
|
statusCritical: string;
|
|
13
13
|
statusNeutral: string;
|
|
14
14
|
};
|
|
15
|
-
export declare
|
|
15
|
+
export declare const KwantisThemeContextProvider: (props: React.PropsWithChildren<{
|
|
16
16
|
theme?: KwantisColorsObject;
|
|
17
|
-
}>)
|
|
17
|
+
}>) => JSX.Element;
|
|
18
18
|
export declare const useKwantisThemeContext: () => KwantisColorsObject;
|
package/dist/index.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ type KwantisColorsObject = {
|
|
|
14
14
|
statusCritical: string;
|
|
15
15
|
statusNeutral: string;
|
|
16
16
|
};
|
|
17
|
-
declare
|
|
17
|
+
declare const KwantisThemeContextProvider: (props: React.PropsWithChildren<{
|
|
18
18
|
theme?: KwantisColorsObject;
|
|
19
|
-
}>)
|
|
19
|
+
}>) => JSX.Element;
|
|
20
20
|
declare const useKwantisThemeContext: () => KwantisColorsObject;
|
|
21
21
|
|
|
22
22
|
interface ButtonProps {
|
package/package.json
CHANGED
|
@@ -1,30 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kwantis-id3/frontend-library",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Kwantis frontend components collection",
|
|
5
5
|
"author": "kwantis",
|
|
6
6
|
"license": "apache-2.0",
|
|
7
7
|
"devDependencies": {
|
|
8
|
+
"@emotion/react": "^11.10.6",
|
|
9
|
+
"@emotion/styled": "^11.10.6",
|
|
8
10
|
"@rollup/plugin-commonjs": "^24.0.1",
|
|
9
11
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
10
12
|
"@rollup/plugin-typescript": "^11.0.0",
|
|
11
13
|
"@types/react": "^18.0.33",
|
|
12
|
-
"
|
|
14
|
+
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
15
|
+
"@typescript-eslint/parser": "^5.58.0",
|
|
16
|
+
"eslint": "^8.38.0",
|
|
17
|
+
"eslint-plugin-react": "^7.32.2",
|
|
18
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
13
19
|
"rollup": "^3.20.2",
|
|
14
20
|
"rollup-plugin-dts": "^5.3.0",
|
|
15
21
|
"tslib": "^2.5.0",
|
|
16
22
|
"typescript": "^5.0.3"
|
|
17
23
|
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"react": "^18.2.0"
|
|
26
|
+
},
|
|
18
27
|
"main": "dist/cjs/index.js",
|
|
19
28
|
"module": "dist/esm/index.js",
|
|
20
29
|
"files": [
|
|
21
30
|
"dist"
|
|
22
31
|
],
|
|
23
32
|
"types": "dist/index.d.ts",
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"@emotion/react": "^11.10.6",
|
|
26
|
-
"@emotion/styled": "^11.10.6"
|
|
27
|
-
},
|
|
28
33
|
"scripts": {
|
|
29
34
|
"rollup": "rollup -c"
|
|
30
35
|
}
|