@seed-design/css 0.0.10 → 0.0.13

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.
@@ -3,10 +3,6 @@ export const vars = {
3
3
  "enabled": {
4
4
  "root": {
5
5
  "cornerRadius": "var(--seed-radius-full)"
6
- },
7
- "badge": {
8
- "cornerRadius": "var(--seed-radius-full)",
9
- "color": "var(--seed-color-bg-layer-default)"
10
6
  }
11
7
  }
12
8
  },
@@ -14,9 +10,6 @@ export const vars = {
14
10
  "enabled": {
15
11
  "root": {
16
12
  "size": "20px"
17
- },
18
- "badge": {
19
- "size": "10px"
20
13
  }
21
14
  }
22
15
  },
@@ -25,8 +18,13 @@ export const vars = {
25
18
  "root": {
26
19
  "size": "24px"
27
20
  },
28
- "badge": {
21
+ "badgeMask": {
22
+ "offset": "14px",
29
23
  "size": "12px"
24
+ },
25
+ "badge": {
26
+ "offset": "15px",
27
+ "size": "10px"
30
28
  }
31
29
  }
32
30
  },
@@ -35,8 +33,13 @@ export const vars = {
35
33
  "root": {
36
34
  "size": "36px"
37
35
  },
36
+ "badgeMask": {
37
+ "offset": "20px",
38
+ "size": "18px"
39
+ },
38
40
  "badge": {
39
- "size": "16px"
41
+ "offset": "22px",
42
+ "size": "14px"
40
43
  }
41
44
  }
42
45
  },
@@ -45,8 +48,13 @@ export const vars = {
45
48
  "root": {
46
49
  "size": "42px"
47
50
  },
51
+ "badgeMask": {
52
+ "offset": "24px",
53
+ "size": "20px"
54
+ },
48
55
  "badge": {
49
- "size": "24px"
56
+ "offset": "26px",
57
+ "size": "16px"
50
58
  }
51
59
  }
52
60
  },
@@ -55,8 +63,13 @@ export const vars = {
55
63
  "root": {
56
64
  "size": "48px"
57
65
  },
66
+ "badgeMask": {
67
+ "offset": "28px",
68
+ "size": "22px"
69
+ },
58
70
  "badge": {
59
- "size": "24px"
71
+ "offset": "30px",
72
+ "size": "18px"
60
73
  }
61
74
  }
62
75
  },
@@ -65,8 +78,13 @@ export const vars = {
65
78
  "root": {
66
79
  "size": "64px"
67
80
  },
81
+ "badgeMask": {
82
+ "offset": "40px",
83
+ "size": "26px"
84
+ },
68
85
  "badge": {
69
- "size": "24px"
86
+ "offset": "42px",
87
+ "size": "22px"
70
88
  }
71
89
  }
72
90
  },
@@ -75,8 +93,13 @@ export const vars = {
75
93
  "root": {
76
94
  "size": "80px"
77
95
  },
96
+ "badgeMask": {
97
+ "offset": "52px",
98
+ "size": "32px"
99
+ },
78
100
  "badge": {
79
- "size": "24px"
101
+ "offset": "54px",
102
+ "size": "28px"
80
103
  }
81
104
  }
82
105
  },
@@ -85,7 +108,12 @@ export const vars = {
85
108
  "root": {
86
109
  "size": "96px"
87
110
  },
111
+ "badgeMask": {
112
+ "offset": "62px",
113
+ "size": "38px"
114
+ },
88
115
  "badge": {
116
+ "offset": "65px",
89
117
  "size": "32px"
90
118
  }
91
119
  }
@@ -12,6 +12,7 @@ export declare const vars: {
12
12
  },
13
13
  "content": {
14
14
  "color": "var(--seed-color-bg-layer-default)",
15
+ "maxWidth": "640px",
15
16
  "topCornerRadius": "var(--seed-radius-r6)",
16
17
  "enterDuration": "var(--seed-duration-d6)",
17
18
  "enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
@@ -20,7 +21,6 @@ export declare const vars: {
20
21
  },
21
22
  "header": {
22
23
  "gap": "var(--seed-dimension-x2)",
23
- "paddingX": "var(--seed-dimension-spacing-x-global-gutter)",
24
24
  "paddingTop": "var(--seed-dimension-x6)",
25
25
  "paddingBottom": "var(--seed-dimension-x4)"
26
26
  },
@@ -49,5 +49,21 @@ export declare const vars: {
49
49
  "fromRight": "var(--seed-dimension-x5)"
50
50
  }
51
51
  }
52
+ },
53
+ "headerAlignmentLeft": {
54
+ "enabled": {
55
+ "header": {
56
+ "paddingLeft": "var(--seed-dimension-spacing-x-global-gutter)",
57
+ "paddingRight": "50px"
58
+ }
59
+ }
60
+ },
61
+ "headerAlignmentCenter": {
62
+ "enabled": {
63
+ "header": {
64
+ "paddingLeft": "50px",
65
+ "paddingRight": "50px"
66
+ }
67
+ }
52
68
  }
53
69
  }
@@ -12,6 +12,7 @@ export const vars = {
12
12
  },
13
13
  "content": {
14
14
  "color": "var(--seed-color-bg-layer-default)",
15
+ "maxWidth": "640px",
15
16
  "topCornerRadius": "var(--seed-radius-r6)",
16
17
  "enterDuration": "var(--seed-duration-d6)",
17
18
  "enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
@@ -20,7 +21,6 @@ export const vars = {
20
21
  },
21
22
  "header": {
22
23
  "gap": "var(--seed-dimension-x2)",
23
- "paddingX": "var(--seed-dimension-spacing-x-global-gutter)",
24
24
  "paddingTop": "var(--seed-dimension-x6)",
25
25
  "paddingBottom": "var(--seed-dimension-x4)"
26
26
  },
@@ -49,5 +49,21 @@ export const vars = {
49
49
  "fromRight": "var(--seed-dimension-x5)"
50
50
  }
51
51
  }
52
+ },
53
+ "headerAlignmentLeft": {
54
+ "enabled": {
55
+ "header": {
56
+ "paddingLeft": "var(--seed-dimension-spacing-x-global-gutter)",
57
+ "paddingRight": "50px"
58
+ }
59
+ }
60
+ },
61
+ "headerAlignmentCenter": {
62
+ "enabled": {
63
+ "header": {
64
+ "paddingLeft": "50px",
65
+ "paddingRight": "50px"
66
+ }
67
+ }
52
68
  }
53
69
  }
@@ -14,8 +14,7 @@ export declare const vars: {
14
14
  "color": "var(--seed-color-bg-layer-default)",
15
15
  "cornerRadius": "var(--seed-radius-r5)",
16
16
  "marginX": "var(--seed-dimension-x8)",
17
- "paddingX": "var(--seed-dimension-x5)",
18
- "paddingY": "var(--seed-dimension-x5)",
17
+ "marginY": "var(--seed-dimension-x16)",
19
18
  "maxWidth": "272px",
20
19
  "enterDuration": "var(--seed-duration-d4)",
21
20
  "enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
@@ -26,11 +25,15 @@ export declare const vars: {
26
25
  "exitOpacity": "0"
27
26
  },
28
27
  "header": {
29
- "gap": "var(--seed-dimension-x1_5)"
28
+ "gap": "var(--seed-dimension-x1_5)",
29
+ "paddingX": "var(--seed-dimension-x5)",
30
+ "paddingTop": "var(--seed-dimension-x5)"
30
31
  },
31
32
  "footer": {
33
+ "gap": "var(--seed-dimension-x2)",
34
+ "paddingX": "var(--seed-dimension-x5)",
32
35
  "paddingTop": "var(--seed-dimension-x4)",
33
- "gap": "var(--seed-dimension-x2)"
36
+ "paddingBottom": "var(--seed-dimension-x5)"
34
37
  },
35
38
  "title": {
36
39
  "color": "var(--seed-color-fg-neutral)",
@@ -14,8 +14,7 @@ export const vars = {
14
14
  "color": "var(--seed-color-bg-layer-default)",
15
15
  "cornerRadius": "var(--seed-radius-r5)",
16
16
  "marginX": "var(--seed-dimension-x8)",
17
- "paddingX": "var(--seed-dimension-x5)",
18
- "paddingY": "var(--seed-dimension-x5)",
17
+ "marginY": "var(--seed-dimension-x16)",
19
18
  "maxWidth": "272px",
20
19
  "enterDuration": "var(--seed-duration-d4)",
21
20
  "enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
@@ -26,11 +25,15 @@ export const vars = {
26
25
  "exitOpacity": "0"
27
26
  },
28
27
  "header": {
29
- "gap": "var(--seed-dimension-x1_5)"
28
+ "gap": "var(--seed-dimension-x1_5)",
29
+ "paddingX": "var(--seed-dimension-x5)",
30
+ "paddingTop": "var(--seed-dimension-x5)"
30
31
  },
31
32
  "footer": {
33
+ "gap": "var(--seed-dimension-x2)",
34
+ "paddingX": "var(--seed-dimension-x5)",
32
35
  "paddingTop": "var(--seed-dimension-x4)",
33
- "gap": "var(--seed-dimension-x2)"
36
+ "paddingBottom": "var(--seed-dimension-x5)"
34
37
  },
35
38
  "title": {
36
39
  "color": "var(--seed-color-fg-neutral)",
@@ -12,6 +12,7 @@ export declare const vars: {
12
12
  },
13
13
  "content": {
14
14
  "color": "var(--seed-color-bg-layer-floating)",
15
+ "maxWidth": "480px",
15
16
  "paddingX": "var(--seed-dimension-spacing-x-global-gutter)",
16
17
  "paddingY": "var(--seed-dimension-x4)",
17
18
  "topCornerRadius": "var(--seed-radius-r5)",
@@ -12,6 +12,7 @@ export const vars = {
12
12
  },
13
13
  "content": {
14
14
  "color": "var(--seed-color-bg-layer-floating)",
15
+ "maxWidth": "480px",
15
16
  "paddingX": "var(--seed-dimension-spacing-x-global-gutter)",
16
17
  "paddingY": "var(--seed-dimension-x4)",
17
18
  "topCornerRadius": "var(--seed-radius-r5)",
@@ -28,8 +28,8 @@ export declare const vars: {
28
28
  },
29
29
  "closeButton": {
30
30
  "color": "var(--seed-color-palette-static-white)",
31
- "fromRight": "4px",
32
- "fromTop": "4px",
31
+ "fromRight": "12px",
32
+ "fromTop": "12px",
33
33
  "size": "14px",
34
34
  "targetSize": "32px"
35
35
  },
@@ -28,8 +28,8 @@ export const vars = {
28
28
  },
29
29
  "closeButton": {
30
30
  "color": "var(--seed-color-palette-static-white)",
31
- "fromRight": "4px",
32
- "fromTop": "4px",
31
+ "fromRight": "12px",
32
+ "fromTop": "12px",
33
33
  "size": "14px",
34
34
  "targetSize": "32px"
35
35
  },
@@ -15,10 +15,12 @@ export declare const vars: {
15
15
  "paddingY": "var(--seed-dimension-x2_5)",
16
16
  "gap": "var(--seed-dimension-x2)",
17
17
  "enterOpacity": "0",
18
- "enterDuration": "var(--seed-duration-d4)",
18
+ "enterScale": "0.8",
19
+ "enterDuration": "var(--seed-duration-d3)",
19
20
  "enterTimingFunction": "var(--seed-timing-function-enter)",
20
21
  "exitOpacity": "0",
21
- "exitDuration": "var(--seed-duration-d4)",
22
+ "exitScale": "0.8",
23
+ "exitDuration": "var(--seed-duration-d2)",
22
24
  "exitTimingFunction": "var(--seed-timing-function-exit)"
23
25
  },
24
26
  "message": {
@@ -15,10 +15,12 @@ export const vars = {
15
15
  "paddingY": "var(--seed-dimension-x2_5)",
16
16
  "gap": "var(--seed-dimension-x2)",
17
17
  "enterOpacity": "0",
18
- "enterDuration": "var(--seed-duration-d4)",
18
+ "enterScale": "0.8",
19
+ "enterDuration": "var(--seed-duration-d3)",
19
20
  "enterTimingFunction": "var(--seed-timing-function-enter)",
20
21
  "exitOpacity": "0",
21
- "exitDuration": "var(--seed-duration-d4)",
22
+ "exitScale": "0.8",
23
+ "exitDuration": "var(--seed-duration-d2)",
22
24
  "exitTimingFunction": "var(--seed-timing-function-exit)"
23
25
  },
24
26
  "message": {
@@ -1,2 +1,4 @@
1
1
  export declare const componentDefault = "var(--seed-dimension-spacing-y-component-default)";
2
- export declare const navToTitle = "var(--seed-dimension-spacing-y-nav-to-title)";
2
+ export declare const navToTitle = "var(--seed-dimension-spacing-y-nav-to-title)";
3
+ export declare const screenBottom = "var(--seed-dimension-spacing-y-screen-bottom)";
4
+ export declare const betweenText = "var(--seed-dimension-spacing-y-between-text)";
@@ -1,2 +1,4 @@
1
1
  export const componentDefault = "var(--seed-dimension-spacing-y-component-default)";
2
- export const navToTitle = "var(--seed-dimension-spacing-y-nav-to-title)";
2
+ export const navToTitle = "var(--seed-dimension-spacing-y-nav-to-title)";
3
+ export const screenBottom = "var(--seed-dimension-spacing-y-screen-bottom)";
4
+ export const betweenText = "var(--seed-dimension-spacing-y-between-text)";
package/vars/index.d.ts CHANGED
@@ -5,12 +5,24 @@ export type TokenObject = typeof vars;
5
5
 
6
6
  export type ColorFg = keyof TokenObject["$color"]["fg"];
7
7
 
8
+ // Workaround for type docgen
9
+ export type ScopedColorFg = Exclude<`fg.${ColorFg}`, "">;
10
+
8
11
  export type ColorBg = keyof TokenObject["$color"]["bg"];
9
12
 
13
+ // Workaround for type docgen
14
+ export type ScopedColorBg = Exclude<`bg.${ColorBg}`, "">;
15
+
10
16
  export type ColorStroke = keyof TokenObject["$color"]["stroke"];
11
17
 
18
+ // Workaround for type docgen
19
+ export type ScopedColorStroke = Exclude<`stroke.${ColorStroke}`, "">;
20
+
12
21
  export type ColorPalette = keyof TokenObject["$color"]["palette"];
13
22
 
23
+ // Workaround for type docgen
24
+ export type ScopedColorPalette = Exclude<`palette.${ColorPalette}`, "">;
25
+
14
26
  export type Duration = keyof TokenObject["$duration"];
15
27
 
16
28
  export type FontSize = keyof TokenObject["$fontSize"];