@volue/design-elevation 0.2.3-next.0 → 1.0.0-next.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/dist/index.common.js +5 -5
- package/dist/index.cssmodules.css +4 -4
- package/dist/index.custom-properties.css +5 -5
- package/dist/index.d.ts +9 -0
- package/dist/index.json +4 -4
- package/dist/index.map.scss +4 -4
- package/dist/index.module.js +5 -5
- package/dist/index.scss +5 -5
- package/package.json +5 -5
- package/src/tokens.json +1 -1
- package/dist/index.common.d.ts +0 -9
- package/dist/index.module.d.ts +0 -9
package/dist/index.common.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 31 Jul 2023 12:44:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
7
|
-
"elevationXs": "0 1px 2.5px hsla(var(--shadow-color,
|
|
8
|
-
"elevationS": "0 0.4px 2.2px hsla(var(--shadow-color,
|
|
9
|
-
"elevationM": "0 0.3px 2px hsla(var(--shadow-color,
|
|
10
|
-
"elevationL": "0 0.7px 2px hsla(var(--shadow-color,
|
|
7
|
+
"elevationXs": "0 1px 2.5px hsla(var(--shadow-color, 191, 74%, 6%), 0.08), 0 3px 9px hsla(var(--shadow-color, 191, 74%, 6%), 0.048)",
|
|
8
|
+
"elevationS": "0 0.4px 2.2px hsla(var(--shadow-color, 191, 74%, 6%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 5px 14px hsla(var(--shadow-color, 191, 74%, 6%), 0.06)",
|
|
9
|
+
"elevationM": "0 0.3px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 4px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 8px 24px hsla(var(--shadow-color, 191, 74%, 6%), 0.07)",
|
|
10
|
+
"elevationL": "0 0.7px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.034), 0 5px 26px hsla(var(--shadow-color, 191, 74%, 6%), 0.06), 0 12px 42px hsla(var(--shadow-color, 191, 74%, 6%), 0.08)"
|
|
11
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@value elevation-xs: 0 1px 2.5px hsla(var(--shadow-color,
|
|
2
|
-
@value elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color,
|
|
3
|
-
@value elevation-m: 0 0.3px 2px hsla(var(--shadow-color,
|
|
4
|
-
@value elevation-l: 0 0.7px 2px hsla(var(--shadow-color,
|
|
1
|
+
@value elevation-xs: 0 1px 2.5px hsla(var(--shadow-color, 191, 74%, 6%), 0.08), 0 3px 9px hsla(var(--shadow-color, 191, 74%, 6%), 0.048);
|
|
2
|
+
@value elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color, 191, 74%, 6%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 5px 14px hsla(var(--shadow-color, 191, 74%, 6%), 0.06);
|
|
3
|
+
@value elevation-m: 0 0.3px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 4px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 8px 24px hsla(var(--shadow-color, 191, 74%, 6%), 0.07);
|
|
4
|
+
@value elevation-l: 0 0.7px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.034), 0 5px 26px hsla(var(--shadow-color, 191, 74%, 6%), 0.06), 0 12px 42px hsla(var(--shadow-color, 191, 74%, 6%), 0.08);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 31 Jul 2023 12:44:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
7
|
-
--elevation-xs: 0 1px 2.5px hsla(var(--shadow-color,
|
|
8
|
-
--elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color,
|
|
9
|
-
--elevation-m: 0 0.3px 2px hsla(var(--shadow-color,
|
|
10
|
-
--elevation-l: 0 0.7px 2px hsla(var(--shadow-color,
|
|
7
|
+
--elevation-xs: 0 1px 2.5px hsla(var(--shadow-color, 191, 74%, 6%), 0.08), 0 3px 9px hsla(var(--shadow-color, 191, 74%, 6%), 0.048);
|
|
8
|
+
--elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color, 191, 74%, 6%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 5px 14px hsla(var(--shadow-color, 191, 74%, 6%), 0.06);
|
|
9
|
+
--elevation-m: 0 0.3px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 4px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 8px 24px hsla(var(--shadow-color, 191, 74%, 6%), 0.07);
|
|
10
|
+
--elevation-l: 0 0.7px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.034), 0 5px 26px hsla(var(--shadow-color, 191, 74%, 6%), 0.06), 0 12px 42px hsla(var(--shadow-color, 191, 74%, 6%), 0.08);
|
|
11
11
|
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Mon, 31 Jul 2023 12:44:47 GMT
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const elevationXs : "0 1px 2.5px hsla(var(--shadow-color, 191, 74%, 6%), 0.08), 0 3px 9px hsla(var(--shadow-color, 191, 74%, 6%), 0.048)";
|
|
7
|
+
export const elevationS : "0 0.4px 2.2px hsla(var(--shadow-color, 191, 74%, 6%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 5px 14px hsla(var(--shadow-color, 191, 74%, 6%), 0.06)";
|
|
8
|
+
export const elevationM : "0 0.3px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 4px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 8px 24px hsla(var(--shadow-color, 191, 74%, 6%), 0.07)";
|
|
9
|
+
export const elevationL : "0 0.7px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.034), 0 5px 26px hsla(var(--shadow-color, 191, 74%, 6%), 0.06), 0 12px 42px hsla(var(--shadow-color, 191, 74%, 6%), 0.08)";
|
package/dist/index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ELEVATION_XS": "0 1px 2.5px hsla(var(--shadow-color,
|
|
3
|
-
"ELEVATION_S": "0 0.4px 2.2px hsla(var(--shadow-color,
|
|
4
|
-
"ELEVATION_M": "0 0.3px 2px hsla(var(--shadow-color,
|
|
5
|
-
"ELEVATION_L": "0 0.7px 2px hsla(var(--shadow-color,
|
|
2
|
+
"ELEVATION_XS": "0 1px 2.5px hsla(var(--shadow-color, 191, 74%, 6%), 0.08), 0 3px 9px hsla(var(--shadow-color, 191, 74%, 6%), 0.048)",
|
|
3
|
+
"ELEVATION_S": "0 0.4px 2.2px hsla(var(--shadow-color, 191, 74%, 6%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 5px 14px hsla(var(--shadow-color, 191, 74%, 6%), 0.06)",
|
|
4
|
+
"ELEVATION_M": "0 0.3px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 4px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 8px 24px hsla(var(--shadow-color, 191, 74%, 6%), 0.07)",
|
|
5
|
+
"ELEVATION_L": "0 0.7px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.034), 0 5px 26px hsla(var(--shadow-color, 191, 74%, 6%), 0.06), 0 12px 42px hsla(var(--shadow-color, 191, 74%, 6%), 0.08)"
|
|
6
6
|
}
|
package/dist/index.map.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$elevation-map: (
|
|
2
|
-
'elevation-xs': (0 1px 2.5px hsla(var(--shadow-color,
|
|
3
|
-
'elevation-s': (0 0.4px 2.2px hsla(var(--shadow-color,
|
|
4
|
-
'elevation-m': (0 0.3px 2px hsla(var(--shadow-color,
|
|
5
|
-
'elevation-l': (0 0.7px 2px hsla(var(--shadow-color,
|
|
2
|
+
'elevation-xs': (0 1px 2.5px hsla(var(--shadow-color, 191, 74%, 6%), 0.08), 0 3px 9px hsla(var(--shadow-color, 191, 74%, 6%), 0.048)),
|
|
3
|
+
'elevation-s': (0 0.4px 2.2px hsla(var(--shadow-color, 191, 74%, 6%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 5px 14px hsla(var(--shadow-color, 191, 74%, 6%), 0.06)),
|
|
4
|
+
'elevation-m': (0 0.3px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 4px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 8px 24px hsla(var(--shadow-color, 191, 74%, 6%), 0.07)),
|
|
5
|
+
'elevation-l': (0 0.7px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.034), 0 5px 26px hsla(var(--shadow-color, 191, 74%, 6%), 0.06), 0 12px 42px hsla(var(--shadow-color, 191, 74%, 6%), 0.08)),
|
|
6
6
|
);
|
package/dist/index.module.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 31 Jul 2023 12:44:47 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export const elevationXs = "0 1px 2.5px hsla(var(--shadow-color,
|
|
7
|
-
export const elevationS = "0 0.4px 2.2px hsla(var(--shadow-color,
|
|
8
|
-
export const elevationM = "0 0.3px 2px hsla(var(--shadow-color,
|
|
9
|
-
export const elevationL = "0 0.7px 2px hsla(var(--shadow-color,
|
|
6
|
+
export const elevationXs = "0 1px 2.5px hsla(var(--shadow-color, 191, 74%, 6%), 0.08), 0 3px 9px hsla(var(--shadow-color, 191, 74%, 6%), 0.048)";
|
|
7
|
+
export const elevationS = "0 0.4px 2.2px hsla(var(--shadow-color, 191, 74%, 6%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 5px 14px hsla(var(--shadow-color, 191, 74%, 6%), 0.06)";
|
|
8
|
+
export const elevationM = "0 0.3px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 4px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 8px 24px hsla(var(--shadow-color, 191, 74%, 6%), 0.07)";
|
|
9
|
+
export const elevationL = "0 0.7px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.034), 0 5px 26px hsla(var(--shadow-color, 191, 74%, 6%), 0.06), 0 12px 42px hsla(var(--shadow-color, 191, 74%, 6%), 0.08)";
|
package/dist/index.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Mon, 31 Jul 2023 12:44:47 GMT
|
|
4
4
|
|
|
5
|
-
$elevation-xs: 0 1px 2.5px hsla(var(--shadow-color,
|
|
6
|
-
$elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color,
|
|
7
|
-
$elevation-m: 0 0.3px 2px hsla(var(--shadow-color,
|
|
8
|
-
$elevation-l: 0 0.7px 2px hsla(var(--shadow-color,
|
|
5
|
+
$elevation-xs: 0 1px 2.5px hsla(var(--shadow-color, 191, 74%, 6%), 0.08), 0 3px 9px hsla(var(--shadow-color, 191, 74%, 6%), 0.048);
|
|
6
|
+
$elevation-s: 0 0.4px 2.2px hsla(var(--shadow-color, 191, 74%, 6%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 5px 14px hsla(var(--shadow-color, 191, 74%, 6%), 0.06);
|
|
7
|
+
$elevation-m: 0 0.3px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 4px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.04), 0 8px 24px hsla(var(--shadow-color, 191, 74%, 6%), 0.07);
|
|
8
|
+
$elevation-l: 0 0.7px 2px hsla(var(--shadow-color, 191, 74%, 6%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 191, 74%, 6%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 191, 74%, 6%), 0.034), 0 5px 26px hsla(var(--shadow-color, 191, 74%, 6%), 0.06), 0 12px 42px hsla(var(--shadow-color, 191, 74%, 6%), 0.08);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volue/design-elevation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-next.0",
|
|
4
4
|
"description": "Shadow/elevation primitives for Volue design primitives",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"main": "dist/index.common.js",
|
|
15
15
|
"module": "dist/index.module.js",
|
|
16
|
-
"types": "dist/index.
|
|
16
|
+
"types": "dist/index.d.ts",
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"files": [
|
|
19
19
|
"dist",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"prepack": "yarn run build"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"eslint": "8.
|
|
34
|
+
"eslint": "8.46.0",
|
|
35
35
|
"eslint-config-powel": "14.2.1",
|
|
36
36
|
"eslint-import-resolver-node": "0.3.7",
|
|
37
|
-
"eslint-plugin-import": "2.
|
|
37
|
+
"eslint-plugin-import": "2.28.0",
|
|
38
38
|
"npm-run-all": "4.1.5",
|
|
39
39
|
"prettier": "2.8.8",
|
|
40
40
|
"rimraf": "3.0.2",
|
|
41
41
|
"style-dictionary": "3.8.0",
|
|
42
|
-
"typescript": "5.1.
|
|
42
|
+
"typescript": "5.1.6"
|
|
43
43
|
}
|
|
44
44
|
}
|
package/src/tokens.json
CHANGED
package/dist/index.common.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 28 Jun 2023 10:09:01 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
export const elevationXs : "0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)";
|
|
7
|
-
export const elevationS : "0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)";
|
|
8
|
-
export const elevationM : "0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)";
|
|
9
|
-
export const elevationL : "0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)";
|
package/dist/index.module.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 28 Jun 2023 10:09:01 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
export const elevationXs : "0 1px 2.5px hsla(var(--shadow-color, 0, 0%, 0%), 0.08), 0 3px 9px hsla(var(--shadow-color, 0, 0%, 0%), 0.048)";
|
|
7
|
-
export const elevationS : "0 0.4px 2.2px hsla(var(--shadow-color, 0, 0%, 0%), 0.022), 0 1.4px 5px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 5px 14px hsla(var(--shadow-color, 0, 0%, 0%), 0.06)";
|
|
8
|
-
export const elevationM : "0 0.3px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.5px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 4px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.04), 0 8px 24px hsla(var(--shadow-color, 0, 0%, 0%), 0.07)";
|
|
9
|
-
export const elevationL : "0 0.7px 2px hsla(var(--shadow-color, 0, 0%, 0%), 0.015), 0 1.6px 8px hsla(var(--shadow-color, 0, 0%, 0%), 0.024), 0 3.3px 16px hsla(var(--shadow-color, 0, 0%, 0%), 0.034), 0 5px 26px hsla(var(--shadow-color, 0, 0%, 0%), 0.06), 0 12px 42px hsla(var(--shadow-color, 0, 0%, 0%), 0.08)";
|