@team-monolith/cds 1.130.0-alpha.0 → 1.130.0-alpha.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/dist/emotion.d.ts +181 -192
- package/dist/index.d.ts +8 -0
- package/package.json +2 -3
package/dist/emotion.d.ts
CHANGED
|
@@ -1,196 +1,185 @@
|
|
|
1
1
|
import { SerializedStyles } from '@emotion/react';
|
|
2
|
-
interface CodleFontFamilies {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export interface CodleFontFamilies {
|
|
3
|
+
ui: string;
|
|
4
|
+
title: string;
|
|
5
|
+
code: string;
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
inverseHeavy: string;
|
|
156
|
-
};
|
|
7
|
+
export interface CodleColors {
|
|
8
|
+
background: {
|
|
9
|
+
neutralBase: string;
|
|
10
|
+
neutralBaseActive: string;
|
|
11
|
+
neutralBaseDisabled: string;
|
|
12
|
+
neutralAlt: string;
|
|
13
|
+
neutralAltActive: string;
|
|
14
|
+
neutralAltDisabled: string;
|
|
15
|
+
primary: string;
|
|
16
|
+
primaryActive: string;
|
|
17
|
+
primaryDisabled: string;
|
|
18
|
+
secondary: string;
|
|
19
|
+
secondaryActive: string;
|
|
20
|
+
secondaryDisabled: string;
|
|
21
|
+
danger: string;
|
|
22
|
+
dangerActive: string;
|
|
23
|
+
dangerDisabled: string;
|
|
24
|
+
success: string;
|
|
25
|
+
successActive: string;
|
|
26
|
+
successDisabled: string;
|
|
27
|
+
info: string;
|
|
28
|
+
infoActive: string;
|
|
29
|
+
infoDisabled: string;
|
|
30
|
+
warning: string;
|
|
31
|
+
warningActive: string;
|
|
32
|
+
warningDisabled: string;
|
|
33
|
+
inverse: string;
|
|
34
|
+
inverseActive: string;
|
|
35
|
+
inverseDisabled: string;
|
|
36
|
+
};
|
|
37
|
+
foreground: {
|
|
38
|
+
neutralBase: string;
|
|
39
|
+
neutralBaseActive: string;
|
|
40
|
+
neutralBaseDisabled: string;
|
|
41
|
+
neutralAlt: string;
|
|
42
|
+
neutralAltActive: string;
|
|
43
|
+
neutralAltDisabled: string;
|
|
44
|
+
primary: string;
|
|
45
|
+
primaryActive: string;
|
|
46
|
+
primaryDisabled: string;
|
|
47
|
+
secondary: string;
|
|
48
|
+
secondaryActive: string;
|
|
49
|
+
secondaryDisabled: string;
|
|
50
|
+
danger: string;
|
|
51
|
+
dangerActive: string;
|
|
52
|
+
dangerDisabled: string;
|
|
53
|
+
success: string;
|
|
54
|
+
successActive: string;
|
|
55
|
+
successDisabled: string;
|
|
56
|
+
info: string;
|
|
57
|
+
infoActive: string;
|
|
58
|
+
infoDisabled: string;
|
|
59
|
+
warning: string;
|
|
60
|
+
warningActive: string;
|
|
61
|
+
warningDisabled: string;
|
|
62
|
+
};
|
|
63
|
+
container: {
|
|
64
|
+
blueContainer: string;
|
|
65
|
+
blueOnContainer: string;
|
|
66
|
+
orangeContainer: string;
|
|
67
|
+
orangeOnContainer: string;
|
|
68
|
+
redContainer: string;
|
|
69
|
+
redOnContainer: string;
|
|
70
|
+
greenContainer: string;
|
|
71
|
+
greenOnContainer: string;
|
|
72
|
+
tealContainer: string;
|
|
73
|
+
tealOnContainer: string;
|
|
74
|
+
yellowContainer: string;
|
|
75
|
+
yellowOnContainer: string;
|
|
76
|
+
obsidianContainer: string;
|
|
77
|
+
obsidianOnContainer: string;
|
|
78
|
+
marbleContainer: string;
|
|
79
|
+
marbleOnContainer: string;
|
|
80
|
+
};
|
|
81
|
+
brand: {
|
|
82
|
+
brandOriginal: string;
|
|
83
|
+
brandAlt: string;
|
|
84
|
+
brandAccent: string;
|
|
85
|
+
brandFaded: string;
|
|
86
|
+
pdf: string;
|
|
87
|
+
pdfAlt: string;
|
|
88
|
+
quiz: string;
|
|
89
|
+
quizAlt: string;
|
|
90
|
+
python: string;
|
|
91
|
+
pythonAlt: string;
|
|
92
|
+
embedded: string;
|
|
93
|
+
embeddedAlt: string;
|
|
94
|
+
board: string;
|
|
95
|
+
boardAlt: string;
|
|
96
|
+
scratch: string;
|
|
97
|
+
scratchAlt: string;
|
|
98
|
+
entry: string;
|
|
99
|
+
entryAlt: string;
|
|
100
|
+
video: string;
|
|
101
|
+
videoAlt: string;
|
|
102
|
+
worksheet: string;
|
|
103
|
+
worksheetAlt: string;
|
|
104
|
+
ebook: string;
|
|
105
|
+
ebookAlt: string;
|
|
106
|
+
makecode: string;
|
|
107
|
+
makecodeAlt: string;
|
|
108
|
+
codap: string;
|
|
109
|
+
codapAlt: string;
|
|
110
|
+
aiQuiz: string;
|
|
111
|
+
aiQuizAlt: string;
|
|
112
|
+
aiSocroom: string;
|
|
113
|
+
aiSocroomAlt: string;
|
|
114
|
+
aiHtml: string;
|
|
115
|
+
aiHtmlAlt: string;
|
|
116
|
+
visang: string;
|
|
117
|
+
decorativeRed: string;
|
|
118
|
+
decorativePink: string;
|
|
119
|
+
decorativeAmber: string;
|
|
120
|
+
decorativeCoral: string;
|
|
121
|
+
decorativeGrass: string;
|
|
122
|
+
decorativeGreen: string;
|
|
123
|
+
decorativeBlue: string;
|
|
124
|
+
decorativeIndigo: string;
|
|
125
|
+
decorativePurple: string;
|
|
126
|
+
decorativeBrown: string;
|
|
127
|
+
decorativeCopper: string;
|
|
128
|
+
decorativeGold: string;
|
|
129
|
+
decorativeSilver: string;
|
|
130
|
+
decorativeGray: string;
|
|
131
|
+
decorativeBlack: string;
|
|
132
|
+
decorativeRedContainer: string;
|
|
133
|
+
decorativeRedOnContainer: string;
|
|
134
|
+
decorativeIndigoContainer: string;
|
|
135
|
+
decorativeIndigoOnContainer: string;
|
|
136
|
+
decorativeGreenContainer: string;
|
|
137
|
+
decorativeGreenOnContainer: string;
|
|
138
|
+
decorativePurpleContainer: string;
|
|
139
|
+
decorativePurpleOnContainer: string;
|
|
140
|
+
decorativeGoldContainer: string;
|
|
141
|
+
decorativeGoldOnContainer: string;
|
|
142
|
+
decorativeGrayContainer: string;
|
|
143
|
+
decorativeGrayOnContainer: string;
|
|
144
|
+
decorativeBlackContainer: string;
|
|
145
|
+
decorativeBlackOnContainer: string;
|
|
146
|
+
};
|
|
147
|
+
blanket: {
|
|
148
|
+
neutral: string;
|
|
149
|
+
neutralLight: string;
|
|
150
|
+
neutralHeavy: string;
|
|
151
|
+
inverse: string;
|
|
152
|
+
inverseLight: string;
|
|
153
|
+
inverseHeavy: string;
|
|
154
|
+
};
|
|
157
155
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
captionBold: SerializedStyles;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
declare module "@emotion/react" {
|
|
191
|
-
export interface Theme {
|
|
192
|
-
color: CodleColors;
|
|
193
|
-
fontFamily: CodleFontFamilies;
|
|
194
|
-
typography: CodleTypography;
|
|
195
|
-
}
|
|
156
|
+
export interface CodleTypography {
|
|
157
|
+
heading1Regular: SerializedStyles;
|
|
158
|
+
heading1Bold: SerializedStyles;
|
|
159
|
+
heading2Regular: SerializedStyles;
|
|
160
|
+
heading2Bold: SerializedStyles;
|
|
161
|
+
heading3Regular: SerializedStyles;
|
|
162
|
+
heading3Bold: SerializedStyles;
|
|
163
|
+
heading4Regular: SerializedStyles;
|
|
164
|
+
heading4Bold: SerializedStyles;
|
|
165
|
+
heading5Regular: SerializedStyles;
|
|
166
|
+
heading5Bold: SerializedStyles;
|
|
167
|
+
heading6Regular: SerializedStyles;
|
|
168
|
+
heading6Bold: SerializedStyles;
|
|
169
|
+
body1Regular: SerializedStyles;
|
|
170
|
+
body1Medium: SerializedStyles;
|
|
171
|
+
body1SemiBold: SerializedStyles;
|
|
172
|
+
body1Bold: SerializedStyles;
|
|
173
|
+
body2Regular: SerializedStyles;
|
|
174
|
+
body2Medium: SerializedStyles;
|
|
175
|
+
body2SemiBold: SerializedStyles;
|
|
176
|
+
body2Bold: SerializedStyles;
|
|
177
|
+
body3Regular: SerializedStyles;
|
|
178
|
+
body3Medium: SerializedStyles;
|
|
179
|
+
body3SemiBold: SerializedStyles;
|
|
180
|
+
body3Bold: SerializedStyles;
|
|
181
|
+
captionRegular: SerializedStyles;
|
|
182
|
+
captionMedium: SerializedStyles;
|
|
183
|
+
captionSemiBold: SerializedStyles;
|
|
184
|
+
captionBold: SerializedStyles;
|
|
196
185
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import { CodleColors, CodleFontFamilies, CodleTypography } from './emotion.ts';
|
|
2
|
+
declare module "@emotion/react" {
|
|
3
|
+
interface Theme {
|
|
4
|
+
color: CodleColors;
|
|
5
|
+
fontFamily: CodleFontFamilies;
|
|
6
|
+
typography: CodleTypography;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
1
9
|
export * from './components/AlertDialog';
|
|
2
10
|
export * from './components/Badge';
|
|
3
11
|
export * from './components/DecoratedNumber';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@team-monolith/cds",
|
|
3
|
-
"version": "1.130.0-alpha.
|
|
3
|
+
"version": "1.130.0-alpha.2",
|
|
4
4
|
"packageManager": "pnpm@10.33.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -49,8 +49,7 @@
|
|
|
49
49
|
"usehooks-ts": "2.9.1"
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
52
|
-
"dist/**/*"
|
|
53
|
-
"@types/**/*"
|
|
52
|
+
"dist/**/*"
|
|
54
53
|
],
|
|
55
54
|
"bundleDependencies": [
|
|
56
55
|
"react-i18next"
|