@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.
- package/dist/@vcita/design-system.esm.js +1 -1
- package/dist/@vcita/design-system.ssr.js +1 -1
- package/dist/{entry-895c8c40.js → entry-1a9ab185.js} +48 -47
- package/dist/{entry-7dbc0bc6.js → entry-78101075.js} +52 -51
- package/dist/{index-cf7bc5e2.js → index-29a32a7a.js} +1 -1
- package/dist/{index-2e819406.js → index-64f9e5ce.js} +1 -1
- package/dist/{vue2-pdf-embed-b3ddb573.js → vue2-pdf-embed-c8247f82.js} +1 -1
- package/dist/{vue2-pdf-embed-5bd16a3c.js → vue2-pdf-embed-fadf09e1.js} +1 -1
- package/package.json +1 -1
- package/src/components/VcAlert/VcAlert.stories.js +2 -2
- package/src/components/VcAlert/VcAlert.vue +6 -8
- package/src/components/VcLink/VcLink.vue +4 -3
- package/styles/variables.scss +2 -0
package/package.json
CHANGED
|
@@ -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=
|
|
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
|
-
<
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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: -
|
|
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:
|
|
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(--
|
|
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(--
|
|
88
|
+
fill: var(--link-color);
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
91
|
}
|
package/styles/variables.scss
CHANGED
|
@@ -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";
|