@gitlab/ui 115.1.0 → 115.2.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/tokens/docs/tokens-tailwind-docs.dark.json +1966 -1966
- package/dist/tokens/docs/tokens-tailwind-docs.json +1966 -1966
- package/dist/tokens/figma/deprecated.tokens.json +220 -220
- package/dist/tokens/figma/semantic.tokens.json +3 -3
- package/dist/tokens/json/tokens.dark.json +446 -446
- package/dist/tokens/json/tokens.json +446 -446
- package/dist/tokens/tokens_story.js +1 -1
- package/dist/tokens/tokens_table.js +2 -2
- package/dist/tokens/tokens_tailwind_table.js +2 -2
- package/package.json +1 -1
- package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +1966 -1966
- package/src/tokens/build/docs/tokens-tailwind-docs.json +1966 -1966
- package/src/tokens/build/figma/deprecated.tokens.json +220 -220
- package/src/tokens/build/figma/semantic.tokens.json +3 -3
- package/src/tokens/build/json/tokens.dark.json +446 -446
- package/src/tokens/build/json/tokens.json +446 -446
- package/src/tokens/deprecated/deprecated.color.data_viz.tokens.json +55 -55
- package/src/tokens/deprecated/deprecated.color.theme.tokens.json +72 -72
- package/src/tokens/deprecated/deprecated.color.tokens.json +80 -80
- package/src/tokens/deprecated/deprecated.color.transparency.tokens.json +13 -13
- package/src/tokens/semantic/text.tokens.json +3 -3
- package/src/tokens/tokens_story.vue +1 -1
- package/src/tokens/tokens_table.vue +2 -2
- package/src/tokens/tokens_tailwind_table.vue +2 -2
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"$description": "Use color.alpha.dark.2 instead.",
|
|
10
10
|
"themeable": true,
|
|
11
11
|
"prefix": false,
|
|
12
|
-
"deprecated": true
|
|
12
|
+
"$deprecated": true
|
|
13
13
|
},
|
|
14
14
|
"04": {
|
|
15
15
|
"$value": "rgba(05, 05, 06, 0.04)",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"$description": "Use color.alpha.dark.4 instead.",
|
|
21
21
|
"themeable": true,
|
|
22
22
|
"prefix": false,
|
|
23
|
-
"deprecated": true
|
|
23
|
+
"$deprecated": true
|
|
24
24
|
},
|
|
25
25
|
"06": {
|
|
26
26
|
"$value": "rgba(05, 05, 06, 0.06)",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"$description": "Use color.alpha.dark.6 instead.",
|
|
32
32
|
"themeable": true,
|
|
33
33
|
"prefix": false,
|
|
34
|
-
"deprecated": true
|
|
34
|
+
"$deprecated": true
|
|
35
35
|
},
|
|
36
36
|
"08": {
|
|
37
37
|
"$value": "rgba(05, 05, 06, 0.08)",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"$description": "Use color.alpha.dark.8 instead.",
|
|
43
43
|
"themeable": true,
|
|
44
44
|
"prefix": false,
|
|
45
|
-
"deprecated": true
|
|
45
|
+
"$deprecated": true
|
|
46
46
|
},
|
|
47
47
|
"16": {
|
|
48
48
|
"$value": "rgba(05, 05, 06, 0.16)",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"$description": "Use color.alpha.dark.16 instead.",
|
|
54
54
|
"themeable": true,
|
|
55
55
|
"prefix": false,
|
|
56
|
-
"deprecated": true
|
|
56
|
+
"$deprecated": true
|
|
57
57
|
},
|
|
58
58
|
"24": {
|
|
59
59
|
"$value": "rgba(05, 05, 06, 0.24)",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"$description": "Use color.alpha.dark.24 instead.",
|
|
65
65
|
"themeable": true,
|
|
66
66
|
"prefix": false,
|
|
67
|
-
"deprecated": true
|
|
67
|
+
"$deprecated": true
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"t-white-a": {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"$description": "Use color.alpha.light.2 instead.",
|
|
78
78
|
"themeable": true,
|
|
79
79
|
"prefix": false,
|
|
80
|
-
"deprecated": true
|
|
80
|
+
"$deprecated": true
|
|
81
81
|
},
|
|
82
82
|
"04": {
|
|
83
83
|
"$value": "rgba(255, 255, 255, 0.04)",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"$description": "Use color.alpha.light.4 instead.",
|
|
89
89
|
"themeable": true,
|
|
90
90
|
"prefix": false,
|
|
91
|
-
"deprecated": true
|
|
91
|
+
"$deprecated": true
|
|
92
92
|
},
|
|
93
93
|
"06": {
|
|
94
94
|
"$value": "rgba(255, 255, 255, 0.06)",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"$description": "Use color.alpha.light.6 instead.",
|
|
100
100
|
"themeable": true,
|
|
101
101
|
"prefix": false,
|
|
102
|
-
"deprecated": true
|
|
102
|
+
"$deprecated": true
|
|
103
103
|
},
|
|
104
104
|
"08": {
|
|
105
105
|
"$value": "rgba(255, 255, 255, 0.08)",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"$description": "Use color.alpha.light.8 instead.",
|
|
111
111
|
"themeable": true,
|
|
112
112
|
"prefix": false,
|
|
113
|
-
"deprecated": true
|
|
113
|
+
"$deprecated": true
|
|
114
114
|
},
|
|
115
115
|
"16": {
|
|
116
116
|
"$value": "rgba(255, 255, 255, 0.16)",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"$description": "Use color.alpha.light.16 instead.",
|
|
122
122
|
"themeable": true,
|
|
123
123
|
"prefix": false,
|
|
124
|
-
"deprecated": true
|
|
124
|
+
"$deprecated": true
|
|
125
125
|
},
|
|
126
126
|
"24": {
|
|
127
127
|
"$value": "rgba(255, 255, 255, 0.24)",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"$description": "Use color.alpha.light.24 instead.",
|
|
133
133
|
"themeable": true,
|
|
134
134
|
"prefix": false,
|
|
135
|
-
"deprecated": true
|
|
135
|
+
"$deprecated": true
|
|
136
136
|
},
|
|
137
137
|
"36": {
|
|
138
138
|
"$value": "rgba(255, 255, 255, 0.36)",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"$description": "Use color.alpha.light.36 instead.",
|
|
144
144
|
"themeable": true,
|
|
145
145
|
"prefix": false,
|
|
146
|
-
"deprecated": true
|
|
146
|
+
"$deprecated": true
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"TEXT_FILL"
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
|
-
"deprecated": true
|
|
15
|
+
"$deprecated": true
|
|
16
16
|
},
|
|
17
17
|
"secondary": {
|
|
18
18
|
"$value": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"TEXT_FILL"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
|
-
"deprecated": true
|
|
29
|
+
"$deprecated": true
|
|
30
30
|
},
|
|
31
31
|
"tertiary": {
|
|
32
32
|
"$value": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"TEXT_FILL"
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
|
-
"deprecated": true
|
|
43
|
+
"$deprecated": true
|
|
44
44
|
},
|
|
45
45
|
"color": {
|
|
46
46
|
"default": {
|
|
@@ -63,7 +63,7 @@ export default {
|
|
|
63
63
|
{{ getTokenName(token) }}
|
|
64
64
|
</code>
|
|
65
65
|
<div class="gl-flex gl-items-center gl-gap-3">
|
|
66
|
-
<gl-badge v-if="token
|
|
66
|
+
<gl-badge v-if="token.$deprecated" v-gl-tooltip :title="token.comment" variant="danger">
|
|
67
67
|
Deprecated
|
|
68
68
|
</gl-badge>
|
|
69
69
|
<code class="gl-text-inherit">{{ token.$value }}</code>
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
117
117
|
type: token.$type,
|
|
118
118
|
value: token.$value,
|
|
119
119
|
valueLabel: this.getValueLabel(token),
|
|
120
|
-
deprecated: token
|
|
120
|
+
deprecated: token.$deprecated ? 'deprecated' : '',
|
|
121
121
|
description: token.$description,
|
|
122
122
|
};
|
|
123
123
|
},
|
|
@@ -199,7 +199,7 @@ export default {
|
|
|
199
199
|
if (token.filePath.match('contextual')) {
|
|
200
200
|
figmaPrefix = '🔒/';
|
|
201
201
|
}
|
|
202
|
-
if (token
|
|
202
|
+
if (token.$deprecated) {
|
|
203
203
|
figmaPrefix = '⚠️ DEPRECATED/';
|
|
204
204
|
}
|
|
205
205
|
return `${figmaPrefix}${token.path.filter(Boolean).join('-')}`;
|
|
@@ -100,7 +100,7 @@ export default {
|
|
|
100
100
|
value: token.$value,
|
|
101
101
|
valueLabel: this.getValueLabel(token),
|
|
102
102
|
darkValueLabel: this.getDarkValueLabel(token),
|
|
103
|
-
deprecated: token
|
|
103
|
+
deprecated: token.$deprecated ? 'deprecated' : '',
|
|
104
104
|
description: token.$description,
|
|
105
105
|
className: this.formatContextToClass(token.context),
|
|
106
106
|
cssValue: token.cssWithValue,
|
|
@@ -189,7 +189,7 @@ export default {
|
|
|
189
189
|
if (token.filePath.match('contextual')) {
|
|
190
190
|
figmaPrefix = '🔒/';
|
|
191
191
|
}
|
|
192
|
-
if (token
|
|
192
|
+
if (token.$deprecated) {
|
|
193
193
|
figmaPrefix = '⚠️ DEPRECATED/';
|
|
194
194
|
}
|
|
195
195
|
return `${figmaPrefix}${token.path.filter(Boolean).join('-')}`;
|