@team-monolith/cds 0.5.0 → 0.5.2
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/@types/emotion.d.ts +70 -0
- package/dist/icons/Arrows/index.d.ts +7 -2
- package/dist/icons/Arrows/index.js +6 -2
- package/dist/icons/Media/index.d.ts +7 -2
- package/dist/icons/Media/index.js +3 -2
- package/dist/icons/System/index.d.ts +7 -2
- package/dist/icons/System/index.js +3 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +4 -2
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import "@emotion/react";
|
|
2
|
+
|
|
3
|
+
interface CodleColors {
|
|
4
|
+
background: {
|
|
5
|
+
neutralBase: string;
|
|
6
|
+
neutralAlt: string;
|
|
7
|
+
neutralAltActive: string;
|
|
8
|
+
neutralAltDisabled: string;
|
|
9
|
+
primary: string;
|
|
10
|
+
primaryActive: string;
|
|
11
|
+
primaryDisabled: string;
|
|
12
|
+
secondary: string;
|
|
13
|
+
secondaryActive: string;
|
|
14
|
+
secondaryDisabled: string;
|
|
15
|
+
danger: string;
|
|
16
|
+
dangerActive: string;
|
|
17
|
+
dangerDisabled: string;
|
|
18
|
+
success: string;
|
|
19
|
+
successActive: string;
|
|
20
|
+
successDisabled: string;
|
|
21
|
+
info: string;
|
|
22
|
+
infoActive: string;
|
|
23
|
+
infoDisabled: string;
|
|
24
|
+
warning: string;
|
|
25
|
+
warningActive: string;
|
|
26
|
+
warningDisabled: string;
|
|
27
|
+
};
|
|
28
|
+
foreground: {
|
|
29
|
+
neutralBase: string;
|
|
30
|
+
neutralBaseDisabled: string;
|
|
31
|
+
neutralAlt: string;
|
|
32
|
+
neutralAltDisabled: string;
|
|
33
|
+
primary: string;
|
|
34
|
+
primaryDisabled: string;
|
|
35
|
+
secondary: string;
|
|
36
|
+
secondaryDisabled: string;
|
|
37
|
+
danger: string;
|
|
38
|
+
dangerDisabled: string;
|
|
39
|
+
success: string;
|
|
40
|
+
successDisabled: string;
|
|
41
|
+
info: string;
|
|
42
|
+
infoDisabled: string;
|
|
43
|
+
warning: string;
|
|
44
|
+
warningDisabled: string;
|
|
45
|
+
};
|
|
46
|
+
container: {
|
|
47
|
+
primaryContainer: string;
|
|
48
|
+
primaryOnContainer: string;
|
|
49
|
+
secondaryContainer: string;
|
|
50
|
+
secondaryOnContainer: string;
|
|
51
|
+
dangerContainer: string;
|
|
52
|
+
dangerOnContainer: string;
|
|
53
|
+
successContainer: string;
|
|
54
|
+
successOnContainer: string;
|
|
55
|
+
infoContainer: string;
|
|
56
|
+
infoOnContainer: string;
|
|
57
|
+
warningContainer: string;
|
|
58
|
+
warningOnContainer: string;
|
|
59
|
+
obsidianContainer: string;
|
|
60
|
+
obsidianOnContainer: string;
|
|
61
|
+
marbleContainer: string;
|
|
62
|
+
marbleOnContainer: string;
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare module "@emotion/react" {
|
|
67
|
+
export interface Theme {
|
|
68
|
+
color: CodleColors;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ArrowDropDownFill: {
|
|
3
|
+
svg: string;
|
|
4
|
+
icon: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import arrowDropDownFillSvg from "remixicon/icons/Arrows/arrow-drop-down-fill.svg";
|
|
2
|
+
import { ReactComponent as ArrowDropDownFillIcon } from "remixicon/icons/Arrows/arrow-drop-down-fill.svg";
|
|
3
|
+
export var ArrowDropDownFill = {
|
|
4
|
+
svg: arrowDropDownFillSvg,
|
|
5
|
+
icon: ArrowDropDownFillIcon,
|
|
6
|
+
};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const PlayList2Fill: {
|
|
3
|
+
svg: string;
|
|
4
|
+
icon: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import playList2FillSvg from "remixicon/icons/Media/play-list-2-fill.svg";
|
|
2
|
+
import { ReactComponent as PlayList2FillIcon } from "remixicon/icons/Media/play-list-2-fill.svg";
|
|
3
|
+
export var PlayList2Fill = { svg: playList2FillSvg, icon: PlayList2FillIcon };
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const RefreshLine: {
|
|
3
|
+
svg: string;
|
|
4
|
+
icon: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import refreshLineSvg from "remixicon/icons/System/refresh-line.svg";
|
|
2
|
+
import { ReactComponent as RefreshLineIcon } from "remixicon/icons/System/refresh-line.svg";
|
|
3
|
+
export var RefreshLine = { svg: refreshLineSvg, icon: RefreshLineIcon };
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@team-monolith/cds",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"typescript": "^4.5.5"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
|
-
"dist/**/*"
|
|
19
|
+
"dist/**/*",
|
|
20
|
+
"@types/**/*"
|
|
20
21
|
],
|
|
21
22
|
"scripts": {
|
|
22
23
|
"clean": "rimraf dist",
|
|
@@ -55,6 +56,7 @@
|
|
|
55
56
|
"@storybook/react": "^7.0.26",
|
|
56
57
|
"@storybook/react-webpack5": "^7.0.26",
|
|
57
58
|
"@storybook/testing-library": "^0.0.14-next.2",
|
|
59
|
+
"@types/webpack-env": "^1.18.1",
|
|
58
60
|
"copyfiles": "^2.4.1",
|
|
59
61
|
"eslint-plugin-storybook": "^0.6.12",
|
|
60
62
|
"prop-types": "^15.8.1",
|