@rescui/card 0.10.4 → 0.10.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/lib/card.p.module.css.js +21 -21
- package/lib/index.css +50 -50
- package/package.json +5 -5
package/lib/card.p.module.css.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"card": "
|
|
3
|
-
"themeLight": "
|
|
4
|
-
"themeDark": "
|
|
5
|
-
"withStaticBorder": "
|
|
6
|
-
"cardPlain": "
|
|
7
|
-
"modeClassic": "
|
|
8
|
-
"modeRock": "
|
|
9
|
-
"withStatesBorder": "
|
|
10
|
-
"paddings16": "
|
|
11
|
-
"paddings24": "
|
|
12
|
-
"paddings32": "
|
|
13
|
-
"glowHover": "
|
|
14
|
-
"bordersRadius0": "
|
|
15
|
-
"bordersRadius8": "
|
|
16
|
-
"bordersRadius16": "
|
|
17
|
-
"bordersRadius24": "
|
|
18
|
-
"cardImage": "
|
|
19
|
-
"cardImageImg": "
|
|
20
|
-
"cardImageDiv": "
|
|
21
|
-
"fixedImageHeight": "
|
|
22
|
-
"fullImageWidth": "
|
|
2
|
+
"card": "_card_1mhipjd_6",
|
|
3
|
+
"themeLight": "_themeLight_1mhipjd_47",
|
|
4
|
+
"themeDark": "_themeDark_1mhipjd_52",
|
|
5
|
+
"withStaticBorder": "_withStaticBorder_1mhipjd_56",
|
|
6
|
+
"cardPlain": "_cardPlain_1mhipjd_60",
|
|
7
|
+
"modeClassic": "_modeClassic_1mhipjd_60",
|
|
8
|
+
"modeRock": "_modeRock_1mhipjd_61",
|
|
9
|
+
"withStatesBorder": "_withStatesBorder_1mhipjd_66",
|
|
10
|
+
"paddings16": "_paddings16_1mhipjd_95",
|
|
11
|
+
"paddings24": "_paddings24_1mhipjd_99",
|
|
12
|
+
"paddings32": "_paddings32_1mhipjd_103",
|
|
13
|
+
"glowHover": "_glowHover_1mhipjd_71",
|
|
14
|
+
"bordersRadius0": "_bordersRadius0_1mhipjd_107",
|
|
15
|
+
"bordersRadius8": "_bordersRadius8_1mhipjd_111",
|
|
16
|
+
"bordersRadius16": "_bordersRadius16_1mhipjd_115",
|
|
17
|
+
"bordersRadius24": "_bordersRadius24_1mhipjd_119",
|
|
18
|
+
"cardImage": "_cardImage_1mhipjd_123",
|
|
19
|
+
"cardImageImg": "_cardImageImg_1mhipjd_131",
|
|
20
|
+
"cardImageDiv": "_cardImageDiv_1mhipjd_165",
|
|
21
|
+
"fixedImageHeight": "_fixedImageHeight_1mhipjd_200",
|
|
22
|
+
"fullImageWidth": "_fullImageWidth_1mhipjd_218"
|
|
23
23
|
};
|
|
24
24
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._card_1mhipjd_6{
|
|
2
2
|
--_rs-theme-dark:var(
|
|
3
3
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
4
4
|
var(--rs-theme-dark, 0)
|
|
@@ -33,80 +33,80 @@
|
|
|
33
33
|
appearance:none;
|
|
34
34
|
-webkit-mask-image:-webkit-radial-gradient(white, black);
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
._card_1mhipjd_6:focus-visible{
|
|
37
37
|
outline:none;
|
|
38
38
|
}
|
|
39
|
-
a.
|
|
39
|
+
a._card_1mhipjd_6{
|
|
40
40
|
display:block;
|
|
41
41
|
|
|
42
42
|
text-decoration:none;
|
|
43
43
|
}
|
|
44
|
-
a.
|
|
44
|
+
a._card_1mhipjd_6:hover{
|
|
45
45
|
text-decoration:none;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._themeLight_1mhipjd_47{
|
|
48
48
|
--rs-theme-dark:0;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
._themeDark_1mhipjd_52{
|
|
51
51
|
--rs-theme-dark:1;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
._withStaticBorder_1mhipjd_56{
|
|
54
54
|
border-color:var(--rs-card-border-color, rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), .2));
|
|
55
55
|
}
|
|
56
|
-
.
|
|
57
|
-
.
|
|
56
|
+
._cardPlain_1mhipjd_60._modeClassic_1mhipjd_60,
|
|
57
|
+
._cardPlain_1mhipjd_60._modeRock_1mhipjd_61{
|
|
58
58
|
cursor:auto;
|
|
59
59
|
}
|
|
60
|
-
.
|
|
60
|
+
._modeClassic_1mhipjd_60._withStatesBorder_1mhipjd_66:active{
|
|
61
61
|
border-width:2px;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._modeClassic_1mhipjd_60._withStatesBorder_1mhipjd_66:active._paddings16_1mhipjd_95{
|
|
64
64
|
padding:15px;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._modeClassic_1mhipjd_60._withStatesBorder_1mhipjd_66:active._paddings24_1mhipjd_99{
|
|
67
67
|
padding:23px;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
._modeClassic_1mhipjd_60._withStatesBorder_1mhipjd_66:active._paddings32_1mhipjd_103{
|
|
70
70
|
padding:31px;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
73
|
-
.
|
|
74
|
-
.
|
|
75
|
-
.
|
|
72
|
+
._modeClassic_1mhipjd_60._withStatesBorder_1mhipjd_66:not(._glowHover_1mhipjd_71):hover,
|
|
73
|
+
._modeClassic_1mhipjd_60._withStatesBorder_1mhipjd_66:not(._glowHover_1mhipjd_71):focus[data-focus-method='key'],
|
|
74
|
+
._modeClassic_1mhipjd_60._withStatesBorder_1mhipjd_66:not(._glowHover_1mhipjd_71):focus-visible,
|
|
75
|
+
._modeClassic_1mhipjd_60._withStatesBorder_1mhipjd_66:not(._glowHover_1mhipjd_71):active{
|
|
76
76
|
--rs-card-border-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
77
77
|
}
|
|
78
|
-
.
|
|
79
|
-
.
|
|
80
|
-
.
|
|
78
|
+
._modeRock_1mhipjd_61:hover,
|
|
79
|
+
._modeRock_1mhipjd_61:focus[data-focus-method='key'],
|
|
80
|
+
._modeRock_1mhipjd_61:focus-visible{
|
|
81
81
|
--rs-theme-flip:1;
|
|
82
82
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
._modeRock_1mhipjd_61:active{
|
|
85
85
|
--rs-theme-flip:1;
|
|
86
86
|
background-color:rgb(calc(244 - var(--_rs-theme-dark-coefficient, 0)*196), calc(244 - var(--_rs-theme-dark-coefficient, 0)*196), calc(244 - var(--_rs-theme-dark-coefficient, 0)*193));
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
._paddings16_1mhipjd_95{
|
|
89
89
|
padding:16px;
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
._paddings24_1mhipjd_99{
|
|
92
92
|
padding:24px;
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
._paddings32_1mhipjd_103{
|
|
95
95
|
padding:32px;
|
|
96
96
|
}
|
|
97
|
-
.
|
|
97
|
+
._bordersRadius0_1mhipjd_107{
|
|
98
98
|
--rs-card-border-radius:0;
|
|
99
99
|
}
|
|
100
|
-
.
|
|
100
|
+
._bordersRadius8_1mhipjd_111{
|
|
101
101
|
--rs-card-border-radius:8px;
|
|
102
102
|
}
|
|
103
|
-
.
|
|
103
|
+
._bordersRadius16_1mhipjd_115{
|
|
104
104
|
--rs-card-border-radius:16px;
|
|
105
105
|
}
|
|
106
|
-
.
|
|
106
|
+
._bordersRadius24_1mhipjd_119{
|
|
107
107
|
--rs-card-border-radius:24px;
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
._cardImage_1mhipjd_123{
|
|
110
110
|
position:relative;
|
|
111
111
|
|
|
112
112
|
overflow:hidden;
|
|
@@ -115,7 +115,7 @@ a._card_1pu17kc_6:hover{
|
|
|
115
115
|
|
|
116
116
|
box-sizing:border-box;
|
|
117
117
|
}
|
|
118
|
-
.
|
|
118
|
+
._cardImageImg_1mhipjd_131{
|
|
119
119
|
display:-webkit-box;
|
|
120
120
|
display:-ms-flexbox;
|
|
121
121
|
display:flex;
|
|
@@ -126,22 +126,22 @@ a._card_1pu17kc_6:hover{
|
|
|
126
126
|
-ms-flex-align:center;
|
|
127
127
|
align-items:center;
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
._paddings16_1mhipjd_95 ._cardImageImg_1mhipjd_131{
|
|
130
130
|
top:-16px;
|
|
131
131
|
left:-16px;
|
|
132
132
|
width:calc(100% + 32px);
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
._paddings24_1mhipjd_99 ._cardImageImg_1mhipjd_131{
|
|
135
135
|
top:-24px;
|
|
136
136
|
left:-24px;
|
|
137
137
|
width:calc(100% + 48px);
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
._paddings32_1mhipjd_103 ._cardImageImg_1mhipjd_131{
|
|
140
140
|
top:-32px;
|
|
141
141
|
left:-32px;
|
|
142
142
|
width:calc(100% + 64px);
|
|
143
143
|
}
|
|
144
|
-
.
|
|
144
|
+
._cardImageImg_1mhipjd_131 img{
|
|
145
145
|
max-width:100%;
|
|
146
146
|
max-height:100%;
|
|
147
147
|
|
|
@@ -155,15 +155,15 @@ a._card_1pu17kc_6:hover{
|
|
|
155
155
|
-webkit-transform:scale(1);
|
|
156
156
|
transform:scale(1);
|
|
157
157
|
}
|
|
158
|
-
.
|
|
158
|
+
._card_1mhipjd_6:hover ._cardImageImg_1mhipjd_131 img{
|
|
159
159
|
-webkit-transform:scale(1.1);
|
|
160
160
|
transform:scale(1.1);
|
|
161
161
|
}
|
|
162
|
-
.
|
|
162
|
+
._card_1mhipjd_6._cardPlain_1mhipjd_60:hover ._cardImageImg_1mhipjd_131 img{
|
|
163
163
|
-webkit-transform:none;
|
|
164
164
|
transform:none;
|
|
165
165
|
}
|
|
166
|
-
.
|
|
166
|
+
._cardImageDiv_1mhipjd_165{
|
|
167
167
|
display:-webkit-box;
|
|
168
168
|
display:-ms-flexbox;
|
|
169
169
|
display:flex;
|
|
@@ -185,55 +185,55 @@ a._card_1pu17kc_6:hover{
|
|
|
185
185
|
|
|
186
186
|
transition:background-size .2s;
|
|
187
187
|
}
|
|
188
|
-
.
|
|
188
|
+
._paddings16_1mhipjd_95 ._cardImageDiv_1mhipjd_165{
|
|
189
189
|
top:-16px;
|
|
190
190
|
left:-16px;
|
|
191
191
|
padding:16px;
|
|
192
192
|
width:calc(100% + 32px);
|
|
193
193
|
}
|
|
194
|
-
.
|
|
194
|
+
._card_1mhipjd_6:active ._paddings16_1mhipjd_95 ._cardImageDiv_1mhipjd_165{
|
|
195
195
|
padding:calc(16px - 1);
|
|
196
196
|
}
|
|
197
|
-
.
|
|
197
|
+
._paddings24_1mhipjd_99 ._cardImageDiv_1mhipjd_165{
|
|
198
198
|
top:-24px;
|
|
199
199
|
left:-24px;
|
|
200
200
|
padding:24px;
|
|
201
201
|
width:calc(100% + 48px);
|
|
202
202
|
}
|
|
203
|
-
.
|
|
203
|
+
._card_1mhipjd_6:active ._paddings24_1mhipjd_99 ._cardImageDiv_1mhipjd_165{
|
|
204
204
|
padding:calc(24px - 1);
|
|
205
205
|
}
|
|
206
|
-
.
|
|
206
|
+
._paddings32_1mhipjd_103 ._cardImageDiv_1mhipjd_165{
|
|
207
207
|
top:-32px;
|
|
208
208
|
left:-32px;
|
|
209
209
|
padding:32px;
|
|
210
210
|
width:calc(100% + 64px);
|
|
211
211
|
}
|
|
212
|
-
.
|
|
212
|
+
._card_1mhipjd_6:active ._paddings32_1mhipjd_103 ._cardImageDiv_1mhipjd_165{
|
|
213
213
|
padding:calc(32px - 1);
|
|
214
214
|
}
|
|
215
|
-
.
|
|
215
|
+
._card_1mhipjd_6:hover ._cardImageDiv_1mhipjd_165{
|
|
216
216
|
background-size:110% 110%;
|
|
217
217
|
}
|
|
218
|
-
.
|
|
218
|
+
._card_1mhipjd_6._cardPlain_1mhipjd_60:hover ._cardImageDiv_1mhipjd_165{
|
|
219
219
|
background-size:100% 100%;
|
|
220
220
|
}
|
|
221
|
-
.
|
|
221
|
+
._fixedImageHeight_1mhipjd_200 img{
|
|
222
222
|
height:100%;
|
|
223
223
|
}
|
|
224
|
-
.
|
|
224
|
+
._paddings16_1mhipjd_95 ._fixedImageHeight_1mhipjd_200{
|
|
225
225
|
height:204px;
|
|
226
226
|
max-height:204px;
|
|
227
227
|
}
|
|
228
|
-
.
|
|
228
|
+
._paddings24_1mhipjd_99 ._fixedImageHeight_1mhipjd_200{
|
|
229
229
|
height:212px;
|
|
230
230
|
max-height:212px;
|
|
231
231
|
}
|
|
232
|
-
.
|
|
232
|
+
._paddings32_1mhipjd_103 ._fixedImageHeight_1mhipjd_200{
|
|
233
233
|
height:220px;
|
|
234
234
|
max-height:220px;
|
|
235
235
|
}
|
|
236
|
-
.
|
|
236
|
+
._fullImageWidth_1mhipjd_218 img{
|
|
237
237
|
width:100%;
|
|
238
238
|
}
|
|
239
239
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/card",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"src:main": "src/index.ts",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@jetbrains/logos": "^1.4.16",
|
|
26
|
-
"@rescui/colors": "^0.2.
|
|
26
|
+
"@rescui/colors": "^0.2.2",
|
|
27
27
|
"@rescui/postcss-preset-library": "^0.2.1",
|
|
28
|
-
"@rescui/scripts": "^0.3.
|
|
29
|
-
"@rescui/typography": "^0.16.
|
|
28
|
+
"@rescui/scripts": "^0.3.2",
|
|
29
|
+
"@rescui/typography": "^0.16.4",
|
|
30
30
|
"@rescui/visual-regression": "^0.1.2"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rescui-scripts build"
|
|
34
34
|
},
|
|
35
35
|
"nx": {},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "d4bb4a95bc321907bc55b9ad9768f7e822acbd2d"
|
|
37
37
|
}
|