@rocket.chat/fuselage-tokens 0.36.0-rc.0 → 0.37.0-rc.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/README.md CHANGED
@@ -83,6 +83,7 @@ Every category is available as `dist/<category>.json`, `dist/<category>.d.json.t
83
83
  | `breakpoints` | `xs`, `sm`, `md`, `lg`, `xl`, `xxl` and `xxxl`, each with `minViewportWidth`, `columns` and `gutterWidth`. |
84
84
  | `border` | `radius` (`none`, `default`, `small`, `medium`, `large`, `extra-large`, `full`) and `width` (`none`, `default`, `medium`, `large`, `extra-large`). |
85
85
  | `spacing` | The spacing scale for margins, paddings and gaps: `x4`, `x8`, `x12`, `x16`, `x20`, `x24`, `x32` and `x40`. The SCSS map holds them in `px`. |
86
+ | `zIndex` | Stacking layers: `raised` (1), `overlap` (2), `sticky` (10) and `overlay` (100). |
86
87
 
87
88
  `surface`, `font`, `stroke`, `status`, `statusBullet`, `badge`, `button` and `shadow` are split by theme: `light`, `dark` and `high-contrast`.
88
89
 
@@ -1,4 +1,3 @@
1
- export default badge;
2
1
  declare const badge: {
3
2
  "light": {
4
3
  "level-0": "#e4e7ea",
@@ -21,4 +20,5 @@ declare const badge: {
21
20
  "level-3": "#955828",
22
21
  "level-4": "#b43c4c"
23
22
  }
24
- };
23
+ };
24
+ export = badge;
@@ -1,4 +1,3 @@
1
- export default border;
2
1
  declare const border: {
3
2
  "radius": {
4
3
  "none": 0,
@@ -16,4 +15,5 @@ declare const border: {
16
15
  "large": 4,
17
16
  "extra-large": 8
18
17
  }
19
- };
18
+ };
19
+ export = border;
@@ -1,4 +1,3 @@
1
- export default breakpoints;
2
1
  declare const breakpoints: {
3
2
  "xs": {
4
3
  "minViewportWidth": null,
@@ -35,4 +34,5 @@ declare const breakpoints: {
35
34
  "columns": 12,
36
35
  "gutterWidth": 24
37
36
  }
38
- };
37
+ };
38
+ export = breakpoints;
@@ -1,4 +1,3 @@
1
- export default button;
2
1
  declare const button: {
3
2
  "light": {
4
3
  "backgroundPrimaryDefault": "#156ff5",
@@ -126,4 +125,5 @@ declare const button: {
126
125
  "fontOnSuccess": "#ffffff",
127
126
  "fontOnSuccessDisabled": "#757575"
128
127
  }
129
- };
128
+ };
129
+ export = button;
@@ -1,4 +1,3 @@
1
- export default colors;
2
1
  declare const colors: {
3
2
  "white": "#ffffff",
4
3
  "n100": "#f7f8fa",
@@ -71,4 +70,5 @@ declare const colors: {
71
70
  "b700": "#10529e",
72
71
  "b800": "#01336b",
73
72
  "b900": "#012247"
74
- };
73
+ };
74
+ export = colors;
@@ -1,4 +1,3 @@
1
- export default font;
2
1
  declare const font: {
3
2
  "light": {
4
3
  "white": "#ffffff",
@@ -39,4 +38,5 @@ declare const font: {
39
38
  "pureWhite": "#ffffff",
40
39
  "pureBlack": "#1f2329"
41
40
  }
42
- };
41
+ };
42
+ export = font;
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -1,4 +1,3 @@
1
- export default shadow;
2
1
  declare const shadow: {
3
2
  "light": {
4
3
  "highlight": "#d1ebfe",
@@ -24,4 +23,5 @@ declare const shadow: {
24
23
  "elevation-2x": "#0909094d",
25
24
  "elevation-2y": "#09090973"
26
25
  }
27
- };
26
+ };
27
+ export = shadow;
@@ -1,4 +1,3 @@
1
- export default spacing;
2
1
  declare const spacing: {
3
2
  "x4": 4,
4
3
  "x8": 8,
@@ -8,4 +7,5 @@ declare const spacing: {
8
7
  "x24": 24,
9
8
  "x32": 32,
10
9
  "x40": 40
11
- };
10
+ };
11
+ export = spacing;
@@ -1,4 +1,3 @@
1
- export default status;
2
1
  declare const status: {
3
2
  "light": {
4
3
  "info": "#d1ebfe",
@@ -54,4 +53,5 @@ declare const status: {
54
53
  "service-3": "#5f1477",
55
54
  "font-on-service-3": "#ffffff"
56
55
  }
57
- };
56
+ };
57
+ export = status;
@@ -1,4 +1,3 @@
1
- export default statusBullet;
2
1
  declare const statusBullet: {
3
2
  "light": {
4
3
  "online": "#148660",
@@ -24,4 +23,5 @@ declare const statusBullet: {
24
23
  "offline": "#8b9098",
25
24
  "loading": "#8b9098"
26
25
  }
27
- };
26
+ };
27
+ export = statusBullet;
@@ -1,4 +1,3 @@
1
- export default stroke;
2
1
  declare const stroke: {
3
2
  "light": {
4
3
  "extraLight": "#ebecef",
@@ -33,4 +32,5 @@ declare const stroke: {
33
32
  "extraLightError": "#f49aa6",
34
33
  "error": "#bb3e4e"
35
34
  }
36
- };
35
+ };
36
+ export = stroke;
@@ -1,4 +1,3 @@
1
- export default surface;
2
1
  declare const surface: {
3
2
  "light": {
4
3
  "light": "#ffffff",
@@ -42,4 +41,5 @@ declare const surface: {
42
41
  "sidebar": "#2f343d",
43
42
  "overlay": "#00000099"
44
43
  }
45
- };
44
+ };
45
+ export = surface;
@@ -1,4 +1,3 @@
1
- export default typography;
2
1
  declare const typography: {
3
2
  "fontFamily": {
4
3
  "sans": [
@@ -119,4 +118,5 @@ declare const typography: {
119
118
  "lineHeight": 12
120
119
  }
121
120
  }
122
- };
121
+ };
122
+ export = typography;
@@ -0,0 +1,7 @@
1
+ declare const zIndex: {
2
+ "raised": 1,
3
+ "overlap": 2,
4
+ "sticky": 10,
5
+ "overlay": 100
6
+ };
7
+ export = zIndex;
@@ -0,0 +1,6 @@
1
+ {
2
+ "raised": 1,
3
+ "overlap": 2,
4
+ "sticky": 10,
5
+ "overlay": 100
6
+ }
@@ -0,0 +1,11 @@
1
+
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+
6
+ $z-index: (
7
+ 'raised': 1,
8
+ 'overlap': 2,
9
+ 'sticky': 10,
10
+ 'overlay': 100
11
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocket.chat/fuselage-tokens",
3
- "version": "0.36.0-rc.0",
3
+ "version": "0.37.0-rc.0",
4
4
  "description": "Design tokens for Fuselage, Rocket.Chat's design system",
5
5
  "keywords": [
6
6
  "design",