@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.
@@ -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.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)])};
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.deprecated ? 'deprecated' : '',
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.deprecated) {
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.deprecated ? 'deprecated' : '',
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.deprecated) {
191
+ if (token.$deprecated) {
192
192
  figmaPrefix = '⚠️ DEPRECATED/';
193
193
  }
194
194
  return `${figmaPrefix}${token.path.filter(Boolean).join('-')}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "115.1.0",
3
+ "version": "115.2.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",