@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
|
@@ -54,7 +54,7 @@ var script = {
|
|
|
54
54
|
const __vue_script__ = script;
|
|
55
55
|
|
|
56
56
|
/* template */
|
|
57
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass},[_c('ul',{staticClass:"gl-m-0 gl-list-none gl-p-0"},_vm._l((_vm.tokens),function(token){return _c('li',{key:token.name,staticClass:"gl-flex gl-flex-wrap gl-items-center gl-justify-between gl-gap-3 gl-p-3",class:_vm.getClasses(token.$value),style:(_vm.getStyle(token.$value))},[_c('code',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"gl-text-inherit",attrs:{"title":token.comment}},[_vm._v("\n "+_vm._s(_vm.getTokenName(token))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"gl-flex gl-items-center gl-gap-3"},[(token
|
|
57
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass},[_c('ul',{staticClass:"gl-m-0 gl-list-none gl-p-0"},_vm._l((_vm.tokens),function(token){return _c('li',{key:token.name,staticClass:"gl-flex gl-flex-wrap gl-items-center gl-justify-between gl-gap-3 gl-p-3",class:_vm.getClasses(token.$value),style:(_vm.getStyle(token.$value))},[_c('code',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"gl-text-inherit",attrs:{"title":token.comment}},[_vm._v("\n "+_vm._s(_vm.getTokenName(token))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"gl-flex gl-items-center gl-gap-3"},[(token.$deprecated)?_c('gl-badge',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],attrs:{"title":token.comment,"variant":"danger"}},[_vm._v("\n Deprecated\n ")]):_vm._e(),_vm._v(" "),_c('code',{staticClass:"gl-text-inherit"},[_vm._v(_vm._s(token.$value))]),_vm._v(" "),(_vm.isHex(token.$value))?_c('gl-color-contrast',{attrs:{"foreground":token.$value,"background":_vm.darkBackground}}):_vm._e(),_vm._v(" "),(_vm.isHex(token.$value))?_c('gl-color-contrast',{attrs:{"foreground":token.$value,"background":_vm.lightBackground}}):_vm._e()],1)])}),0)])};
|
|
58
58
|
var __vue_staticRenderFns__ = [];
|
|
59
59
|
|
|
60
60
|
/* style */
|
|
@@ -104,7 +104,7 @@ var script = {
|
|
|
104
104
|
type: token.$type,
|
|
105
105
|
value: token.$value,
|
|
106
106
|
valueLabel: this.getValueLabel(token),
|
|
107
|
-
deprecated: token
|
|
107
|
+
deprecated: token.$deprecated ? 'deprecated' : '',
|
|
108
108
|
description: token.$description
|
|
109
109
|
};
|
|
110
110
|
},
|
|
@@ -189,7 +189,7 @@ var script = {
|
|
|
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('-')}`;
|
|
@@ -94,7 +94,7 @@ var script = {
|
|
|
94
94
|
value: token.$value,
|
|
95
95
|
valueLabel: this.getValueLabel(token),
|
|
96
96
|
darkValueLabel: this.getDarkValueLabel(token),
|
|
97
|
-
deprecated: token
|
|
97
|
+
deprecated: token.$deprecated ? 'deprecated' : '',
|
|
98
98
|
description: token.$description,
|
|
99
99
|
className: this.formatContextToClass(token.context),
|
|
100
100
|
cssValue: token.cssWithValue,
|
|
@@ -188,7 +188,7 @@ var script = {
|
|
|
188
188
|
if (token.filePath.match('contextual')) {
|
|
189
189
|
figmaPrefix = '🔒/';
|
|
190
190
|
}
|
|
191
|
-
if (token
|
|
191
|
+
if (token.$deprecated) {
|
|
192
192
|
figmaPrefix = '⚠️ DEPRECATED/';
|
|
193
193
|
}
|
|
194
194
|
return `${figmaPrefix}${token.path.filter(Boolean).join('-')}`;
|