@vcita/design-system 1.3.13 → 1.3.14

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.
@@ -17147,6 +17147,7 @@ var __vue_component__$d = /*#__PURE__*/normalizeComponent({
17147
17147
  var VcBreadcrumbs = __vue_component__$d;var script$7 = {
17148
17148
  name: "VcPageHeader",
17149
17149
  components: {
17150
+ VcChip: VcChip,
17150
17151
  VcButton: VcButton,
17151
17152
  VcIcon: VcIcon,
17152
17153
  VcLayout: VcLayout,
@@ -17182,6 +17183,21 @@ var VcBreadcrumbs = __vue_component__$d;var script$7 = {
17182
17183
  dataQa: {
17183
17184
  type: String,
17184
17185
  default: 'VcPageHeader'
17186
+ },
17187
+ chipLabel: {
17188
+ type: String,
17189
+ default: ''
17190
+ },
17191
+ chipFlavor: {
17192
+ type: String,
17193
+ default: 'beta',
17194
+ validator: function validator(type) {
17195
+ return ['beta'].includes(type);
17196
+ }
17197
+ },
17198
+ buttonLabel: {
17199
+ type: String,
17200
+ default: ''
17185
17201
  }
17186
17202
  },
17187
17203
  computed: {
@@ -17241,7 +17257,24 @@ var __vue_render__$6 = function __vue_render__() {
17241
17257
  },
17242
17258
  proxy: true
17243
17259
  }], null, false, 3057979535)
17244
- }) : _vm._e(), _vm._v("\n " + _vm._s(_vm.title) + "\n ")], 1), _vm._v(" "), _vm.subtitle && _vm.subtitle.length > 0 ? _c('span', {
17260
+ }) : _vm._e(), _vm._v("\n " + _vm._s(_vm.title) + "\n "), _vm.chipLabel ? _c('span', {
17261
+ staticClass: "title-chip",
17262
+ class: "title-chip--" + _vm.chipFlavor,
17263
+ attrs: {
17264
+ "data-qa": _vm.dataQa + "-titleChip"
17265
+ }
17266
+ }, [_vm._v("\n " + _vm._s(_vm.chipLabel) + "\n ")]) : _vm._e(), _vm._v(" "), _vm.buttonLabel ? _c('VcButton', {
17267
+ staticClass: "title-button",
17268
+ attrs: {
17269
+ "flavor": "secondary",
17270
+ "data-qa": _vm.dataQa + "-titleButton"
17271
+ },
17272
+ on: {
17273
+ "click": function click($event) {
17274
+ return _vm.$emit('onTitleButtonClick');
17275
+ }
17276
+ }
17277
+ }, [_vm._v("\n " + _vm._s(_vm.buttonLabel) + "\n ")]) : _vm._e()], 1), _vm._v(" "), _vm.subtitle && _vm.subtitle.length > 0 ? _c('span', {
17245
17278
  staticClass: "VcHeader--subtitle"
17246
17279
  }, [_vm._v("\n " + _vm._s(_vm.subtitle) + "\n ")]) : _vm._e()], 1), _vm._v(" "), _c('VcLayout', {
17247
17280
  attrs: {
@@ -17270,8 +17303,8 @@ var __vue_staticRenderFns__$6 = [];
17270
17303
 
17271
17304
  var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
17272
17305
  if (!inject) return;
17273
- inject("data-v-d3d7c5dc_0", {
17274
- source: ".VcPageHeader[data-v-d3d7c5dc]{margin-bottom:var(--size-value10)}.VcHeader--title[data-v-d3d7c5dc]{font-size:var(--font-size-medium0);font-weight:var(--font-weight-large2);line-height:var(--size-value8);color:var(--gray-darken-5);margin-top:var(--size-value1)}.VcHeader--subtitle[data-v-d3d7c5dc]{font-size:var(--font-size-x-small);font-weight:var(--font-weight-medium);line-height:var(--size-value5)}",
17306
+ inject("data-v-7370b2c5_0", {
17307
+ source: ".VcPageHeader[data-v-7370b2c5]{margin-bottom:var(--size-value10)}.VcHeader--title[data-v-7370b2c5]{font-size:var(--font-size-medium0);font-weight:var(--font-weight-large2);line-height:var(--size-value8);color:var(--gray-darken-5);margin-top:var(--size-value1)}.VcHeader--title .title-chip[data-v-7370b2c5]{padding:var(--size-value1) var(--size-value2);margin-inline-start:var(--size-value3);border-radius:var(--size-value6);font-weight:var(--font-weight-large2);font-size:var(--font-size-xx-small);height:var(--size-value5)}.VcHeader--title .title-chip--beta[data-v-7370b2c5]{background-color:var(--orange);color:#fff}.VcHeader--title .title-button[data-v-7370b2c5]{margin-inline-start:var(--size-value3)}.VcHeader--subtitle[data-v-7370b2c5]{font-size:var(--font-size-x-small);font-weight:var(--font-weight-medium);line-height:var(--size-value5)}",
17275
17308
  map: undefined,
17276
17309
  media: undefined
17277
17310
  });
@@ -17279,10 +17312,10 @@ var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
17279
17312
  /* scoped */
17280
17313
 
17281
17314
 
17282
- var __vue_scope_id__$7 = "data-v-d3d7c5dc";
17315
+ var __vue_scope_id__$7 = "data-v-7370b2c5";
17283
17316
  /* module identifier */
17284
17317
 
17285
- var __vue_module_identifier__$7 = "data-v-d3d7c5dc";
17318
+ var __vue_module_identifier__$7 = "data-v-7370b2c5";
17286
17319
  /* functional template */
17287
17320
 
17288
17321
  var __vue_is_functional_template__$7 = false;