@hh.ru/magritte-ui-placeholder 11.1.49 → 11.1.50
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/Placeholder.js +1 -1
- package/index.css +9 -9
- package/package.json +9 -8
package/Placeholder.js
CHANGED
|
@@ -7,7 +7,7 @@ import { getContainerStyles } from './utils.js';
|
|
|
7
7
|
import { VSpacing } from '@hh.ru/magritte-ui-spacing';
|
|
8
8
|
import { Title } from '@hh.ru/magritte-ui-title';
|
|
9
9
|
|
|
10
|
-
var styles = {"placeholder":"magritte-placeholder___8EHpb_11-1-
|
|
10
|
+
var styles = {"placeholder":"magritte-placeholder___8EHpb_11-1-50","vertical-align-top":"magritte-vertical-align-top___nmf-X_11-1-50","verticalAlignTop":"magritte-vertical-align-top___nmf-X_11-1-50","vertical-align-center":"magritte-vertical-align-center___-QB1n_11-1-50","verticalAlignCenter":"magritte-vertical-align-center___-QB1n_11-1-50","vertical-align-bottom":"magritte-vertical-align-bottom___l9O6B_11-1-50","verticalAlignBottom":"magritte-vertical-align-bottom___l9O6B_11-1-50","title-container":"magritte-title-container___dki9b_11-1-50","titleContainer":"magritte-title-container___dki9b_11-1-50","image-container":"magritte-image-container___n7AQh_11-1-50","imageContainer":"magritte-image-container___n7AQh_11-1-50","content":"magritte-content___J6qIa_11-1-50","placeholder-image":"magritte-placeholder-image___bMcah_11-1-50","placeholderImage":"magritte-placeholder-image___bMcah_11-1-50","placeholder-image_hidden":"magritte-placeholder-image_hidden___5fOaL_11-1-50","placeholderImageHidden":"magritte-placeholder-image_hidden___5fOaL_11-1-50"};
|
|
11
11
|
|
|
12
12
|
const PLACEHOLDER_IMAGE_HEIGHT = 200;
|
|
13
13
|
const Placeholder = ({
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.magritte-placeholder___8EHpb_11-1-
|
|
1
|
+
.magritte-placeholder___8EHpb_11-1-50{
|
|
2
2
|
display:flex;
|
|
3
3
|
flex-direction:column;
|
|
4
4
|
flex:1;
|
|
@@ -6,33 +6,33 @@
|
|
|
6
6
|
height:inherit;
|
|
7
7
|
box-sizing:border-box;
|
|
8
8
|
}
|
|
9
|
-
.magritte-vertical-align-top___nmf-X_11-1-
|
|
9
|
+
.magritte-vertical-align-top___nmf-X_11-1-50{
|
|
10
10
|
justify-content:flex-start;
|
|
11
11
|
}
|
|
12
|
-
.magritte-vertical-align-center___-QB1n_11-1-
|
|
12
|
+
.magritte-vertical-align-center___-QB1n_11-1-50{
|
|
13
13
|
justify-content:center;
|
|
14
14
|
}
|
|
15
|
-
.magritte-vertical-align-bottom___l9O6B_11-1-
|
|
15
|
+
.magritte-vertical-align-bottom___l9O6B_11-1-50{
|
|
16
16
|
justify-content:flex-end;
|
|
17
17
|
}
|
|
18
|
-
.magritte-title-container___dki9b_11-1-
|
|
18
|
+
.magritte-title-container___dki9b_11-1-50{
|
|
19
19
|
padding:0 12px;
|
|
20
20
|
}
|
|
21
|
-
.magritte-image-container___n7AQh_11-1-
|
|
21
|
+
.magritte-image-container___n7AQh_11-1-50{
|
|
22
22
|
display:flex;
|
|
23
23
|
align-content:center;
|
|
24
24
|
justify-content:center;
|
|
25
25
|
min-height:0;
|
|
26
26
|
}
|
|
27
|
-
.magritte-content___J6qIa_11-1-
|
|
27
|
+
.magritte-content___J6qIa_11-1-50{
|
|
28
28
|
display:flex;
|
|
29
29
|
justify-content:center;
|
|
30
30
|
}
|
|
31
|
-
.magritte-placeholder-image___bMcah_11-1-
|
|
31
|
+
.magritte-placeholder-image___bMcah_11-1-50{
|
|
32
32
|
max-width:100%;
|
|
33
33
|
max-height:100%;
|
|
34
34
|
object-fit:contain;
|
|
35
35
|
}
|
|
36
|
-
.magritte-placeholder-image_hidden___5fOaL_11-1-
|
|
36
|
+
.magritte-placeholder-image_hidden___5fOaL_11-1-50{
|
|
37
37
|
visibility:hidden;
|
|
38
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-placeholder",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.50",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -16,15 +16,16 @@
|
|
|
16
16
|
"ts-config": "yarn root:ts-config $(pwd)",
|
|
17
17
|
"ts-check": "yarn root:ts-check $(pwd)",
|
|
18
18
|
"test": "jest $(pwd)",
|
|
19
|
+
"test:types": "yarn root:test:types $(pwd)",
|
|
19
20
|
"watch": "yarn root:watch $(pwd)"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@hh.ru/magritte-design-tokens": "26.0.
|
|
23
|
-
"@hh.ru/magritte-ui-breakpoint": "6.1.
|
|
24
|
-
"@hh.ru/magritte-ui-button-stack": "4.0.
|
|
25
|
-
"@hh.ru/magritte-ui-mock-component": "1.1.
|
|
26
|
-
"@hh.ru/magritte-ui-spacing": "2.1.
|
|
27
|
-
"@hh.ru/magritte-ui-title": "8.3.
|
|
23
|
+
"@hh.ru/magritte-design-tokens": "26.0.2",
|
|
24
|
+
"@hh.ru/magritte-ui-breakpoint": "6.1.3",
|
|
25
|
+
"@hh.ru/magritte-ui-button-stack": "4.0.37",
|
|
26
|
+
"@hh.ru/magritte-ui-mock-component": "1.1.9",
|
|
27
|
+
"@hh.ru/magritte-ui-spacing": "2.1.32",
|
|
28
|
+
"@hh.ru/magritte-ui-title": "8.3.15"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"classnames": ">=2.3.2",
|
|
@@ -33,5 +34,5 @@
|
|
|
33
34
|
"publishConfig": {
|
|
34
35
|
"access": "public"
|
|
35
36
|
},
|
|
36
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "33dbaa1dc9b9705e925ffc9f6fcc7a0dc153bd36"
|
|
37
38
|
}
|