@pingux/astro 2.123.1-alpha.0 → 2.124.0-alpha.0
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/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +144 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +144 -1
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +0 -1
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +0 -1
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +311 -11
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +4 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +292 -6
- package/lib/cjs/styles/themes/next-gen/variants/button.js +161 -24
- package/lib/cjs/styles/themes/next-gen/variants/links.d.ts +15 -5
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +144 -1
- package/lib/styles/themes/next-gen/convertedComponentList.js +0 -1
- package/lib/styles/themes/next-gen/tokens/colorTokens.js +4 -0
- package/lib/styles/themes/next-gen/variants/button.js +161 -24
- package/package.json +1 -1
@@ -23,13 +23,156 @@ declare const buttons: {
|
|
23
23
|
color: string;
|
24
24
|
};
|
25
25
|
};
|
26
|
-
|
26
|
+
inline: {
|
27
|
+
color: string;
|
28
|
+
borderColor: string;
|
29
|
+
'&.is-hovered': {
|
30
|
+
backgroundColor: string;
|
31
|
+
color: string;
|
32
|
+
borderColor: string;
|
33
|
+
};
|
34
|
+
'&.is-pressed': {
|
35
|
+
color: string;
|
36
|
+
borderColor: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
inlinePrimary: {
|
40
|
+
color: string;
|
41
|
+
'&.is-hovered': {
|
42
|
+
color: string;
|
43
|
+
};
|
44
|
+
'&.is-pressed': {
|
45
|
+
color: string;
|
46
|
+
};
|
47
|
+
};
|
48
|
+
withIcon: {
|
49
|
+
color: string;
|
50
|
+
borderColor: string;
|
51
|
+
'&.is-hovered': {
|
52
|
+
backgroundColor: string;
|
53
|
+
borderColor: string;
|
54
|
+
color: string;
|
55
|
+
path: {
|
56
|
+
fill: string;
|
57
|
+
};
|
58
|
+
};
|
59
|
+
'&.is-pressed': {
|
60
|
+
color: string;
|
61
|
+
borderColor: string;
|
62
|
+
path: {
|
63
|
+
fill: string;
|
64
|
+
};
|
65
|
+
};
|
66
|
+
};
|
67
|
+
primaryWithIcon: {
|
68
|
+
color: string;
|
69
|
+
path: {
|
70
|
+
fill: string;
|
71
|
+
};
|
72
|
+
'&.is-hovered': {
|
73
|
+
color: string;
|
74
|
+
path: {
|
75
|
+
fill: string;
|
76
|
+
};
|
77
|
+
};
|
78
|
+
'&.is-pressed': {
|
79
|
+
color: string;
|
80
|
+
path: {
|
81
|
+
fill: string;
|
82
|
+
};
|
83
|
+
};
|
84
|
+
};
|
85
|
+
inlineWithIcon: {
|
86
|
+
color: string;
|
87
|
+
borderColor: string;
|
88
|
+
'&.is-hovered': {
|
89
|
+
color: string;
|
90
|
+
backgroundColor: string;
|
91
|
+
borderColor: string;
|
92
|
+
path: {
|
93
|
+
fill: string;
|
94
|
+
};
|
95
|
+
};
|
96
|
+
'&.is-pressed': {
|
97
|
+
color: string;
|
98
|
+
borderColor: string;
|
99
|
+
path: {
|
100
|
+
fill: string;
|
101
|
+
};
|
102
|
+
};
|
103
|
+
};
|
104
|
+
inlinePrimaryWithIcon: {
|
105
|
+
color: string;
|
106
|
+
path: {
|
107
|
+
fill: string;
|
108
|
+
};
|
109
|
+
'&.is-hovered': {
|
110
|
+
color: string;
|
111
|
+
path: {
|
112
|
+
fill: string;
|
113
|
+
};
|
114
|
+
};
|
115
|
+
'&.is-pressed': {
|
116
|
+
color: string;
|
117
|
+
path: {
|
118
|
+
fill: string;
|
119
|
+
};
|
120
|
+
};
|
121
|
+
};
|
122
|
+
colorBlock: {
|
123
|
+
bg: string;
|
27
124
|
borderColor: string;
|
125
|
+
path: {
|
126
|
+
fill: string;
|
127
|
+
};
|
128
|
+
'& span': {
|
129
|
+
color: string;
|
130
|
+
};
|
131
|
+
'&.is-hovered': {
|
132
|
+
bg: string;
|
133
|
+
borderColor: string;
|
134
|
+
};
|
135
|
+
'&.is-pressed': {
|
136
|
+
bg: string;
|
137
|
+
borderColor: string;
|
138
|
+
};
|
139
|
+
'&>svg': {
|
140
|
+
color: string;
|
141
|
+
fill: string;
|
142
|
+
};
|
143
|
+
};
|
144
|
+
colorBlockPrimary: {
|
145
|
+
path: {
|
146
|
+
fill: string;
|
147
|
+
};
|
148
|
+
'& span': {
|
149
|
+
color: string;
|
150
|
+
};
|
151
|
+
'&.is-hovered': {
|
152
|
+
path: {
|
153
|
+
fill: string;
|
154
|
+
};
|
155
|
+
};
|
156
|
+
'&.is-pressed': {
|
157
|
+
path: {
|
158
|
+
fill: string;
|
159
|
+
};
|
160
|
+
};
|
161
|
+
'&>svg': {
|
162
|
+
color: string;
|
163
|
+
fill: string;
|
164
|
+
};
|
165
|
+
};
|
166
|
+
default: {
|
28
167
|
color: string;
|
168
|
+
borderColor: string;
|
29
169
|
'&.is-pressed': {
|
30
170
|
color: string;
|
171
|
+
borderColor: string;
|
31
172
|
};
|
32
173
|
'&.is-hovered': {
|
174
|
+
backgroundColor: string;
|
175
|
+
borderColor: string;
|
33
176
|
color: string;
|
34
177
|
};
|
35
178
|
};
|
@@ -88,13 +88,156 @@ var buttons = {
|
|
88
88
|
color: 'black'
|
89
89
|
}
|
90
90
|
},
|
91
|
-
|
91
|
+
inline: {
|
92
|
+
color: 'blue-400',
|
93
|
+
borderColor: 'blue-400',
|
94
|
+
'&.is-hovered': {
|
95
|
+
backgroundColor: 'active_hover',
|
96
|
+
color: 'black',
|
97
|
+
borderColor: 'blue'
|
98
|
+
},
|
99
|
+
'&.is-pressed': {
|
100
|
+
color: 'black',
|
101
|
+
borderColor: 'blue'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
inlinePrimary: {
|
105
|
+
color: 'black',
|
106
|
+
'&.is-hovered': {
|
107
|
+
color: 'black'
|
108
|
+
},
|
109
|
+
'&.is-pressed': {
|
110
|
+
color: 'black'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
withIcon: {
|
114
|
+
color: 'blue-400',
|
92
115
|
borderColor: 'blue-400',
|
116
|
+
'&.is-hovered': {
|
117
|
+
backgroundColor: 'active_hover',
|
118
|
+
borderColor: 'blue',
|
119
|
+
color: 'black',
|
120
|
+
path: {
|
121
|
+
fill: 'black'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
'&.is-pressed': {
|
125
|
+
color: 'black',
|
126
|
+
borderColor: 'blue',
|
127
|
+
path: {
|
128
|
+
fill: 'black'
|
129
|
+
}
|
130
|
+
}
|
131
|
+
},
|
132
|
+
primaryWithIcon: {
|
133
|
+
color: 'black',
|
134
|
+
path: {
|
135
|
+
fill: 'black'
|
136
|
+
},
|
137
|
+
'&.is-hovered': {
|
138
|
+
color: 'black',
|
139
|
+
path: {
|
140
|
+
fill: 'black'
|
141
|
+
}
|
142
|
+
},
|
143
|
+
'&.is-pressed': {
|
144
|
+
color: 'black',
|
145
|
+
path: {
|
146
|
+
fill: 'black'
|
147
|
+
}
|
148
|
+
}
|
149
|
+
},
|
150
|
+
inlineWithIcon: {
|
93
151
|
color: 'blue-400',
|
152
|
+
borderColor: 'blue-400',
|
153
|
+
'&.is-hovered': {
|
154
|
+
color: 'black',
|
155
|
+
backgroundColor: 'active_hover',
|
156
|
+
borderColor: 'blue',
|
157
|
+
path: {
|
158
|
+
fill: 'black'
|
159
|
+
}
|
160
|
+
},
|
94
161
|
'&.is-pressed': {
|
162
|
+
color: 'black',
|
163
|
+
borderColor: 'blue',
|
164
|
+
path: {
|
165
|
+
fill: 'black'
|
166
|
+
}
|
167
|
+
}
|
168
|
+
},
|
169
|
+
inlinePrimaryWithIcon: {
|
170
|
+
color: 'black',
|
171
|
+
path: {
|
172
|
+
fill: 'black'
|
173
|
+
},
|
174
|
+
'&.is-hovered': {
|
175
|
+
color: 'black',
|
176
|
+
path: {
|
177
|
+
fill: 'black'
|
178
|
+
}
|
179
|
+
},
|
180
|
+
'&.is-pressed': {
|
181
|
+
color: 'black',
|
182
|
+
path: {
|
183
|
+
fill: 'black'
|
184
|
+
}
|
185
|
+
}
|
186
|
+
},
|
187
|
+
colorBlock: {
|
188
|
+
bg: 'gray-200',
|
189
|
+
borderColor: 'gray-200',
|
190
|
+
path: {
|
191
|
+
fill: 'black'
|
192
|
+
},
|
193
|
+
'& span': {
|
194
|
+
color: 'black'
|
195
|
+
},
|
196
|
+
'&.is-hovered': {
|
197
|
+
bg: 'blue-100',
|
198
|
+
borderColor: 'blue-100'
|
199
|
+
},
|
200
|
+
'&.is-pressed': {
|
201
|
+
bg: 'blue-100',
|
202
|
+
borderColor: 'blue-100'
|
203
|
+
},
|
204
|
+
'&>svg': {
|
205
|
+
color: 'black',
|
206
|
+
fill: 'black'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
colorBlockPrimary: {
|
210
|
+
path: {
|
211
|
+
fill: 'black'
|
212
|
+
},
|
213
|
+
'& span': {
|
95
214
|
color: 'black'
|
96
215
|
},
|
97
216
|
'&.is-hovered': {
|
217
|
+
path: {
|
218
|
+
fill: 'black'
|
219
|
+
}
|
220
|
+
},
|
221
|
+
'&.is-pressed': {
|
222
|
+
path: {
|
223
|
+
fill: 'black'
|
224
|
+
}
|
225
|
+
},
|
226
|
+
'&>svg': {
|
227
|
+
color: 'black',
|
228
|
+
fill: 'black'
|
229
|
+
}
|
230
|
+
},
|
231
|
+
"default": {
|
232
|
+
color: 'blue-400',
|
233
|
+
borderColor: 'blue-400',
|
234
|
+
'&.is-pressed': {
|
235
|
+
color: 'black',
|
236
|
+
borderColor: 'blue'
|
237
|
+
},
|
238
|
+
'&.is-hovered': {
|
239
|
+
backgroundColor: 'active_hover',
|
240
|
+
borderColor: 'blue',
|
98
241
|
color: 'black'
|
99
242
|
}
|
100
243
|
},
|
@@ -222,8 +222,12 @@ declare const colors: {
|
|
222
222
|
link: string;
|
223
223
|
label: string;
|
224
224
|
};
|
225
|
+
active_hover: string;
|
226
|
+
active_pressed: string;
|
225
227
|
active_light: string;
|
226
228
|
success_light: string;
|
229
|
+
critical_hover: string;
|
230
|
+
critical_pressed: string;
|
227
231
|
critical_light: string;
|
228
232
|
warning_light: string;
|
229
233
|
lightblue: string;
|
@@ -9,7 +9,6 @@ var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'Ic
|
|
9
9
|
var componentSpecificNextGenBlacklist = {
|
10
10
|
AstroProvider: ['Default', 'With Custom Theme Override'],
|
11
11
|
Badge: ['Status Badge Variants', 'Badge With Left Slot And Icon', 'Callout Badges', 'Removable'],
|
12
|
-
Button: ['Color Block Button', 'Text Icon Button'],
|
13
12
|
Messages: ['Customization'],
|
14
13
|
MultivaluesField: ['Condensed', 'Condensed With Section'],
|
15
14
|
PasswordField: ['Success'],
|