@vcita/design-system 1.17.11 → 1.17.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.
@@ -1,4 +1,4 @@
1
- import { aY as getDefaultExportFromCjs, aZ as createCommonjsModule } from './entry-895c8c40.js';
1
+ import { aY as getDefaultExportFromCjs, aZ as createCommonjsModule } from './entry-1a9ab185.js';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcita/design-system",
3
- "version": "1.17.11",
3
+ "version": "1.17.13",
4
4
  "description": "vcita design system",
5
5
  "author": "vcita",
6
6
  "scripts": {
@@ -155,7 +155,7 @@ const slotTemplate = (args, {argTypes}) => ({
155
155
  >
156
156
  <template v-slot:body>
157
157
  Here's an example of a body slot, here you can use other components.
158
- <VcLink label="e.g VcLink component" url="https://www.vcita.com"/>
158
+ <VcLink class="d-inline-flex" label="e.g VcLink component" url="https://www.vcita.com"/>
159
159
  </template>
160
160
  </VcAlert>
161
161
  `,
@@ -185,7 +185,7 @@ export default {
185
185
  parameters: {
186
186
  design: {
187
187
  type: 'figma',
188
- url: 'https://www.figma.com/file/xIOY6fBoA1wpy1tHv3i5js/vcita---ui-library?node-id=1863%3A1405',
188
+ url: 'https://www.figma.com/file/xIOY6fBoA1wpy1tHv3i5js/vcita---ui-library?node-id=251-918',
189
189
  },
190
190
  status: {
191
191
  type: 'stable', // 'beta' | 'stable' | 'deprecated' | 'releaseCandidate'
@@ -10,13 +10,11 @@
10
10
  {{ headerText }}
11
11
  </span>
12
12
  <span>
13
- <slot name="body">
14
- <span class="alert-body"
15
- :class="{'alert-body--with-inline-action': inlineActionText}"
16
- v-if="bodyText"
17
- v-html="getBodyText">
18
- </span>
19
- </slot>
13
+ <span class="alert-body" :class="{'alert-body--with-inline-action': inlineActionText}">
14
+ <slot name="body">
15
+ <span v-if="bodyText" v-html="getBodyText"></span>
16
+ </slot>
17
+ </span>
20
18
  <span class="inline-action"
21
19
  v-if="inlineActionText"
22
20
  @click="$emit('onInlineAction')">
@@ -315,7 +313,7 @@ export default {
315
313
  color: var(--gray-darken-5);
316
314
 
317
315
  a {
318
- color: -webkit-link;
316
+ color: var(--link-color);
319
317
  }
320
318
 
321
319
  &--with-inline-action {
@@ -43,7 +43,7 @@ export default {
43
43
  target:{
44
44
  type: String,
45
45
  default: '_blank',
46
- validator: prop => ['_blank', '_self', '_parent', '_top', '_system'].includes(prop)
46
+ validator: target => ['_blank', '_self', '_parent', '_top', '_system'].includes(target)
47
47
  },
48
48
  disabled: {
49
49
  type: Boolean,
@@ -56,13 +56,14 @@ export default {
56
56
  <style lang="scss" scoped>
57
57
 
58
58
  .VcLink {
59
+ // FIXME: Change to inline-flex https://myvcita.atlassian.net/browse/VCITA2-2648
59
60
  display: flex;
60
61
  align-items: center;
61
62
  font-size: var(--font-size-x-small);
62
63
  font-weight: var(--font-weight-medium2);
63
64
  padding-top: var(--size-value1);
64
65
  text-decoration: none;
65
- color: var(--blue);
66
+ color: var(--link-color);
66
67
 
67
68
  &.link-secondary {
68
69
  color: var(--gray-darken-4);
@@ -84,7 +85,7 @@ export default {
84
85
  .VcLink-icon {
85
86
  ::v-deep {
86
87
  svg path {
87
- fill: var(--blue);
88
+ fill: var(--link-color);
88
89
  }
89
90
  }
90
91
  }
@@ -184,6 +184,8 @@
184
184
  --shadow-8: 0px 5px 7px 3px rgba(0, 0, 0, 0.26);
185
185
  --shadow-9: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 2px 13px 19px 2px rgba(0, 0, 0, 0.14), 0px 5px 24px rgba(0, 0, 0, 0.12);
186
186
  --shadow-10: 0px 4px 8px #cccccc;
187
+
188
+ --link-color: #1155CC;
187
189
  }
188
190
 
189
191
  @import "additional-colors.scss";