pacem-less 0.50.0-ebla → 0.50.0-jericho

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.
@@ -1,6 +1,7 @@
1
1
  @import "../shared";
2
2
 
3
3
  @{P}-picture-source,
4
+ @{P}-picture::part(source),
4
5
  @{P}-picture > picture > source {
5
6
  .Inert();
6
7
  }
@@ -9,6 +10,8 @@
9
10
  display: inline-block;
10
11
 
11
12
  > picture,
13
+ &::part(picture),
14
+ &::part(img),
12
15
  > picture > img {
13
16
  width: inherit;
14
17
  height: inherit;
@@ -18,30 +21,34 @@
18
21
  min-height: inherit;
19
22
  }
20
23
 
24
+ &::part(img),
21
25
  > picture > img {
22
26
  width: 100%;
23
27
  }
24
-
25
28
  // fitting
26
29
  &.picture-auto {
30
+ &::part(img),
27
31
  > picture > img {
28
32
  object-fit: none;
29
33
  }
30
34
  }
31
35
 
32
36
  &.picture-fill {
37
+ &::part(img),
33
38
  > picture > img {
34
39
  object-fit: fill;
35
40
  }
36
41
  }
37
42
 
38
43
  &.picture-contain {
44
+ &::part(img),
39
45
  > picture > img {
40
46
  object-fit: contain;
41
47
  }
42
48
  }
43
49
 
44
50
  &.picture-cover {
51
+ &::part(img),
45
52
  > picture > img {
46
53
  object-fit: cover;
47
54
  }
@@ -49,18 +56,21 @@
49
56
  // positioning
50
57
  &.picture-right {
51
58
  &.picture-top {
59
+ &::part(img),
52
60
  > picture > img {
53
61
  object-position: right top;
54
62
  }
55
63
  }
56
64
 
57
65
  &.picture-middle {
66
+ &::part(img),
58
67
  > picture > img {
59
68
  object-position: right center;
60
69
  }
61
70
  }
62
71
 
63
72
  &.picture-bottom {
73
+ &::part(img),
64
74
  > picture > img {
65
75
  object-position: right bottom;
66
76
  }
@@ -69,18 +79,21 @@
69
79
 
70
80
  &.picture-left {
71
81
  &.picture-top {
82
+ &::part(img),
72
83
  > picture > img {
73
84
  object-position: left top;
74
85
  }
75
86
  }
76
87
 
77
88
  &.picture-middle {
89
+ &::part(img),
78
90
  > picture > img {
79
91
  object-position: left center;
80
92
  }
81
93
  }
82
94
 
83
95
  &.picture-bottom {
96
+ &::part(img),
84
97
  > picture > img {
85
98
  object-position: left bottom;
86
99
  }
@@ -89,18 +102,21 @@
89
102
 
90
103
  &.picture-center {
91
104
  &.picture-top {
105
+ &::part(img),
92
106
  > picture > img {
93
107
  object-position: center top;
94
108
  }
95
109
  }
96
110
 
97
111
  &.picture-middle {
112
+ &::part(img),
98
113
  > picture > img {
99
114
  object-position: center center;
100
115
  }
101
116
  }
102
117
 
103
118
  &.picture-bottom {
119
+ &::part(img),
104
120
  > picture > img {
105
121
  object-position: center bottom;
106
122
  }
@@ -108,6 +124,7 @@
108
124
  }
109
125
 
110
126
  &.picture-grayscale {
127
+ &::part(img),
111
128
  > picture > img {
112
129
  .Grayscale();
113
130
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.50.0-ebla",
2
+ "version": "0.50.0-jericho",
3
3
  "name": "pacem-less",
4
4
  "homepage": "https://js.pacem.it",
5
5
  "repository": {