@volue/design-elevation 0.2.0-next.15 → 0.2.0-next.16
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/elevation.map.scss +4 -4
- package/dist/index.common.d.ts +4 -4
- package/dist/index.common.js +4 -4
- package/dist/index.cssmodules.css +4 -4
- package/dist/index.custom-properties.css +4 -4
- package/dist/index.html +8 -8
- package/dist/index.json +4 -4
- package/dist/index.module.d.ts +4 -4
- package/dist/index.module.js +4 -4
- package/dist/index.scss +4 -4
- package/package.json +1 -1
- package/src/_aliases.yml +13 -12
package/dist/elevation.map.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
$elevation-map: (
|
|
3
|
-
'elevation-xs': (0.
|
|
4
|
-
'elevation-s': (
|
|
5
|
-
'elevation-m': (
|
|
6
|
-
'elevation-l': (
|
|
3
|
+
'elevation-xs': (0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)),
|
|
4
|
+
'elevation-s': (0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)),
|
|
5
|
+
'elevation-m': (0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)),
|
|
6
|
+
'elevation-l': (0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)),
|
|
7
7
|
);
|
package/dist/index.common.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const elevationXs = "0.
|
|
2
|
-
export declare const elevationS = "
|
|
3
|
-
export declare const elevationM = "
|
|
4
|
-
export declare const elevationL = "
|
|
1
|
+
export declare const elevationXs = "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
|
|
2
|
+
export declare const elevationS = "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)";
|
|
3
|
+
export declare const elevationM = "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)";
|
|
4
|
+
export declare const elevationL = "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)";
|
package/dist/index.common.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
elevationXs: "0.
|
|
3
|
-
elevationS: "
|
|
4
|
-
elevationM: "
|
|
5
|
-
elevationL: "
|
|
2
|
+
elevationXs: "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)",
|
|
3
|
+
elevationS: "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)",
|
|
4
|
+
elevationM: "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)",
|
|
5
|
+
elevationL: "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)",
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
@value elevation-xs: 0.
|
|
3
|
-
@value elevation-s:
|
|
4
|
-
@value elevation-m:
|
|
5
|
-
@value elevation-l:
|
|
2
|
+
@value elevation-xs: 0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
|
|
3
|
+
@value elevation-s: 0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2);
|
|
4
|
+
@value elevation-m: 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24);
|
|
5
|
+
@value elevation-l: 0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--elevation-xs: 0.
|
|
4
|
-
--elevation-s:
|
|
5
|
-
--elevation-m:
|
|
6
|
-
--elevation-l:
|
|
3
|
+
--elevation-xs: 0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
|
|
4
|
+
--elevation-s: 0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2);
|
|
5
|
+
--elevation-m: 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24);
|
|
6
|
+
--elevation-l: 0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3);
|
|
7
7
|
}
|
package/dist/index.html
CHANGED
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
<code>elevationXs</code>
|
|
150
150
|
</th>
|
|
151
151
|
<td>
|
|
152
|
-
<code>0.
|
|
152
|
+
<code>0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)</code>
|
|
153
153
|
</td>
|
|
154
|
-
<td style="box-shadow: 0.
|
|
154
|
+
<td style="box-shadow: 0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);"></td>
|
|
155
155
|
<td></td>
|
|
156
156
|
</tr>
|
|
157
157
|
|
|
@@ -160,9 +160,9 @@
|
|
|
160
160
|
<code>elevationS</code>
|
|
161
161
|
</th>
|
|
162
162
|
<td>
|
|
163
|
-
<code>
|
|
163
|
+
<code>0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)</code>
|
|
164
164
|
</td>
|
|
165
|
-
<td style="box-shadow:
|
|
165
|
+
<td style="box-shadow: 0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2);"></td>
|
|
166
166
|
<td></td>
|
|
167
167
|
</tr>
|
|
168
168
|
|
|
@@ -171,9 +171,9 @@
|
|
|
171
171
|
<code>elevationM</code>
|
|
172
172
|
</th>
|
|
173
173
|
<td>
|
|
174
|
-
<code>
|
|
174
|
+
<code>0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)</code>
|
|
175
175
|
</td>
|
|
176
|
-
<td style="box-shadow:
|
|
176
|
+
<td style="box-shadow: 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24);"></td>
|
|
177
177
|
<td></td>
|
|
178
178
|
</tr>
|
|
179
179
|
|
|
@@ -182,9 +182,9 @@
|
|
|
182
182
|
<code>elevationL</code>
|
|
183
183
|
</th>
|
|
184
184
|
<td>
|
|
185
|
-
<code>
|
|
185
|
+
<code>0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)</code>
|
|
186
186
|
</td>
|
|
187
|
-
<td style="box-shadow:
|
|
187
|
+
<td style="box-shadow: 0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3);"></td>
|
|
188
188
|
<td></td>
|
|
189
189
|
</tr>
|
|
190
190
|
</tbody>
|
package/dist/index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ELEVATION_XS": "0.
|
|
3
|
-
"ELEVATION_S": "
|
|
4
|
-
"ELEVATION_M": "
|
|
5
|
-
"ELEVATION_L": "
|
|
2
|
+
"ELEVATION_XS": "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)",
|
|
3
|
+
"ELEVATION_S": "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)",
|
|
4
|
+
"ELEVATION_M": "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)",
|
|
5
|
+
"ELEVATION_L": "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)"
|
|
6
6
|
}
|
package/dist/index.module.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const elevationXs = "0.
|
|
2
|
-
export declare const elevationS = "
|
|
3
|
-
export declare const elevationM = "
|
|
4
|
-
export declare const elevationL = "
|
|
1
|
+
export declare const elevationXs = "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
|
|
2
|
+
export declare const elevationS = "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)";
|
|
3
|
+
export declare const elevationM = "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)";
|
|
4
|
+
export declare const elevationL = "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)";
|
package/dist/index.module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const elevationXs = "0.
|
|
2
|
-
export const elevationS = "
|
|
3
|
-
export const elevationM = "
|
|
4
|
-
export const elevationL = "
|
|
1
|
+
export const elevationXs = "0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28)";
|
|
2
|
+
export const elevationS = "0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2)";
|
|
3
|
+
export const elevationM = "0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24)";
|
|
4
|
+
export const elevationL = "0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3)";
|
package/dist/index.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
$elevation-xs: 0.
|
|
3
|
-
$elevation-s:
|
|
4
|
-
$elevation-m:
|
|
5
|
-
$elevation-l:
|
|
2
|
+
$elevation-xs: 0 0.1px 0.3px hsla(var(--shadow-color, 0, 0%, 50%), 0.14), 0 1px 2px hsla(var(--shadow-color, 0, 0%, 50%), 0.28);
|
|
3
|
+
$elevation-s: 0 0.3px 0.4px hsla(var(--shadow-color, 0, 0%, 50%), 0.05), 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.1), 0 3.5px 6px hsla(var(--shadow-color, 0, 0%, 50%), 0.2);
|
|
4
|
+
$elevation-m: 0 0.9px 1.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.06), 0 3.1px 5.5px hsla(var(--shadow-color, 0, 0%, 50%), 0.16), 0 14px 25px hsla(var(--shadow-color, 0, 0%, 50%), 0.24);
|
|
5
|
+
$elevation-l: 0 1.2px 1.9px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.028), 0 3.3px 5.3px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.076), 0 8.5px 12.7px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.17), 0 30px 42px -1px hsla(var(--shadow-color, 0, 0%, 50%), 0.3);
|
package/package.json
CHANGED
package/src/_aliases.yml
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
aliases:
|
|
2
2
|
SHADOW_COLOR: '0, 0%, 50%'
|
|
3
|
-
ELEVATION_XS:
|
|
3
|
+
ELEVATION_XS: >-
|
|
4
|
+
0 0.1px 0.3px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.14),
|
|
5
|
+
0 1px 2px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.28)
|
|
4
6
|
ELEVATION_S: >-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
0 0.3px 0.4px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.05),
|
|
8
|
+
0 0.9px 1.5px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.1),
|
|
9
|
+
0 3.5px 6px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.2)
|
|
7
10
|
ELEVATION_M: >-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
6px 12px 24px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.096)
|
|
11
|
+
0 0.9px 1.5px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.06),
|
|
12
|
+
0 3.1px 5.5px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.16),
|
|
13
|
+
0 14px 25px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.24)
|
|
12
14
|
ELEVATION_L: >-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
16px 32px 24px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.09)
|
|
15
|
+
0 1.2px 1.9px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.028),
|
|
16
|
+
0 3.3px 5.3px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.076),
|
|
17
|
+
0 8.5px 12.7px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.17),
|
|
18
|
+
0 30px 42px -1px hsla(var(--shadow-color, {!SHADOW_COLOR}), 0.3)
|