@vcita/design-system 0.6.12 → 0.6.13-beta.1
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/config/locales/ds.de.yml +8 -6
- package/config/locales/ds.en.yml +2 -0
- package/config/locales/ds.es.yml +8 -6
- package/config/locales/ds.fr.yml +2 -0
- package/config/locales/ds.he.yml +2 -0
- package/config/locales/ds.it.yml +8 -6
- package/config/locales/ds.keys.yml +2 -0
- package/config/locales/ds.nl.yml +8 -6
- package/config/locales/ds.pl.yml +2 -0
- package/config/locales/ds.pseudo.yml +2 -0
- package/config/locales/ds.pt.yml +8 -6
- package/dist/@vcita/design-system.esm.js +26 -13
- package/dist/@vcita/design-system.min.js +1 -1
- package/dist/@vcita/design-system.ssr.js +30 -15
- package/package.json +1 -1
- package/src/components/VcButton/VcButton.vue +4 -3
- package/src/components/VcTextField/VcTextField.spec.js +22 -0
- package/src/components/VcTextField/VcTextField.stories.js +22 -3
- package/src/components/VcTextField/VcTextField.vue +12 -1
- package/CHANGELOG.MD +0 -179
package/config/locales/ds.de.yml
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
de:
|
|
3
3
|
ds:
|
|
4
4
|
wizard:
|
|
5
|
-
back:
|
|
6
|
-
next:
|
|
5
|
+
back: Zurück
|
|
6
|
+
next: Weiter
|
|
7
7
|
modal:
|
|
8
8
|
cancel: Abbrechen
|
|
9
|
-
ok:
|
|
10
|
-
done:
|
|
9
|
+
ok: OK
|
|
10
|
+
done: Fertig
|
|
11
11
|
progress_circular:
|
|
12
|
-
next:
|
|
12
|
+
next: 'Weiter:'
|
|
13
13
|
listbox:
|
|
14
|
-
add:
|
|
14
|
+
add: Neuen Kontakt hinzufügen
|
|
15
|
+
dropzone:
|
|
16
|
+
default_title:
|
package/config/locales/ds.en.yml
CHANGED
package/config/locales/ds.es.yml
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
es:
|
|
3
3
|
ds:
|
|
4
4
|
wizard:
|
|
5
|
-
back:
|
|
6
|
-
next:
|
|
5
|
+
back: Atrás
|
|
6
|
+
next: Siguiente
|
|
7
7
|
modal:
|
|
8
8
|
cancel: Cancelar
|
|
9
|
-
ok:
|
|
10
|
-
done:
|
|
9
|
+
ok: Ok
|
|
10
|
+
done: Hecho
|
|
11
11
|
progress_circular:
|
|
12
|
-
next:
|
|
12
|
+
next: 'Siguiente:'
|
|
13
13
|
listbox:
|
|
14
|
-
add:
|
|
14
|
+
add: Agregar nuevo contacto
|
|
15
|
+
dropzone:
|
|
16
|
+
default_title:
|
package/config/locales/ds.fr.yml
CHANGED
package/config/locales/ds.he.yml
CHANGED
package/config/locales/ds.it.yml
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
it:
|
|
3
3
|
ds:
|
|
4
4
|
wizard:
|
|
5
|
-
back:
|
|
6
|
-
next:
|
|
5
|
+
back: Indietro
|
|
6
|
+
next: Avanti
|
|
7
7
|
modal:
|
|
8
8
|
cancel: Cancella
|
|
9
|
-
ok:
|
|
10
|
-
done:
|
|
9
|
+
ok: Ok
|
|
10
|
+
done: Fatto
|
|
11
11
|
progress_circular:
|
|
12
|
-
next:
|
|
12
|
+
next: 'Avanti:'
|
|
13
13
|
listbox:
|
|
14
|
-
add:
|
|
14
|
+
add: Aggiungi nuovo contatto
|
|
15
|
+
dropzone:
|
|
16
|
+
default_title:
|
package/config/locales/ds.nl.yml
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
nl:
|
|
3
3
|
ds:
|
|
4
4
|
wizard:
|
|
5
|
-
back:
|
|
6
|
-
next:
|
|
5
|
+
back: Terug
|
|
6
|
+
next: Volgende
|
|
7
7
|
modal:
|
|
8
8
|
cancel: Annuleren
|
|
9
|
-
ok:
|
|
10
|
-
done:
|
|
9
|
+
ok: Ok
|
|
10
|
+
done: Gereed
|
|
11
11
|
progress_circular:
|
|
12
|
-
next:
|
|
12
|
+
next: 'Volgende:'
|
|
13
13
|
listbox:
|
|
14
|
-
add:
|
|
14
|
+
add: Nieuw contact toevoegen
|
|
15
|
+
dropzone:
|
|
16
|
+
default_title:
|
package/config/locales/ds.pl.yml
CHANGED
package/config/locales/ds.pt.yml
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
pt:
|
|
3
3
|
ds:
|
|
4
4
|
wizard:
|
|
5
|
-
back:
|
|
6
|
-
next:
|
|
5
|
+
back: Voltar
|
|
6
|
+
next: Próximo
|
|
7
7
|
modal:
|
|
8
8
|
cancel: Cancelar
|
|
9
|
-
ok:
|
|
10
|
-
done:
|
|
9
|
+
ok: Ok
|
|
10
|
+
done: Pronto
|
|
11
11
|
progress_circular:
|
|
12
|
-
next:
|
|
12
|
+
next: Próximo;
|
|
13
13
|
listbox:
|
|
14
|
-
add:
|
|
14
|
+
add: Adicionar contato novo
|
|
15
|
+
dropzone:
|
|
16
|
+
default_title:
|
|
@@ -316,7 +316,7 @@ var script$O = {
|
|
|
316
316
|
},
|
|
317
317
|
color: {
|
|
318
318
|
type: String,
|
|
319
|
-
comment: "deprecated, you
|
|
319
|
+
comment: "deprecated, you should use flavor",
|
|
320
320
|
default: "secondary",
|
|
321
321
|
validator: type => {
|
|
322
322
|
return ["secondary", "white"].indexOf(type) > -1;
|
|
@@ -326,7 +326,8 @@ var script$O = {
|
|
|
326
326
|
type: String,
|
|
327
327
|
validator: type => {
|
|
328
328
|
return ["secondary", "primary"].indexOf(type) > -1;
|
|
329
|
-
}
|
|
329
|
+
},
|
|
330
|
+
default: 'primary'
|
|
330
331
|
},
|
|
331
332
|
icon: {
|
|
332
333
|
type: Boolean,
|
|
@@ -379,11 +380,12 @@ var script$O = {
|
|
|
379
380
|
computed: {
|
|
380
381
|
buttonColor() {
|
|
381
382
|
switch (this.flavor) {
|
|
383
|
+
case "primary":
|
|
384
|
+
// When the flavor is primary, the theme color is the value in secondary color
|
|
385
|
+
return this.color;
|
|
386
|
+
|
|
382
387
|
case "secondary":
|
|
383
388
|
return this.outlined ? '--gray-darken-5' : '--neutral-lighten-2';
|
|
384
|
-
|
|
385
|
-
default:
|
|
386
|
-
return "secondary";
|
|
387
389
|
}
|
|
388
390
|
}
|
|
389
391
|
|
|
@@ -444,8 +446,8 @@ var __vue_staticRenderFns__$M = [];
|
|
|
444
446
|
|
|
445
447
|
const __vue_inject_styles__$O = function (inject) {
|
|
446
448
|
if (!inject) return;
|
|
447
|
-
inject("data-v-
|
|
448
|
-
source: ".VcButton[data-v-
|
|
449
|
+
inject("data-v-048cf278_0", {
|
|
450
|
+
source: ".VcButton[data-v-048cf278]{letter-spacing:var(--letter-spacing)}.VcButton[data-v-048cf278]:disabled{background-color:var(--gray-lighten-2);color:var(--gray-darken-2)}.VcButton .prependDefaultIcon[data-v-048cf278]{margin-inline-end:var(--size-value3)}.VcButton .prependDefaultIcon[data-v-048cf278] svg{fill:currentColor}.VcButton.secondary__text[data-v-048cf278]{color:var(--gray-darken-5)!important;border-color:var(--neutral-lighten-1)}",
|
|
449
451
|
map: undefined,
|
|
450
452
|
media: undefined
|
|
451
453
|
});
|
|
@@ -453,7 +455,7 @@ const __vue_inject_styles__$O = function (inject) {
|
|
|
453
455
|
/* scoped */
|
|
454
456
|
|
|
455
457
|
|
|
456
|
-
const __vue_scope_id__$O = "data-v-
|
|
458
|
+
const __vue_scope_id__$O = "data-v-048cf278";
|
|
457
459
|
/* module identifier */
|
|
458
460
|
|
|
459
461
|
const __vue_module_identifier__$O = undefined;
|
|
@@ -5116,7 +5118,8 @@ var script$h = {
|
|
|
5116
5118
|
},
|
|
5117
5119
|
maxlength: {
|
|
5118
5120
|
type: Number,
|
|
5119
|
-
default: 100
|
|
5121
|
+
default: 100,
|
|
5122
|
+
validator: prop => prop > 0
|
|
5120
5123
|
},
|
|
5121
5124
|
rules: {
|
|
5122
5125
|
type: Array
|
|
@@ -5140,6 +5143,14 @@ var script$h = {
|
|
|
5140
5143
|
tooltipContent: {
|
|
5141
5144
|
type: String,
|
|
5142
5145
|
default: ''
|
|
5146
|
+
},
|
|
5147
|
+
prefix: {
|
|
5148
|
+
type: String,
|
|
5149
|
+
default: ''
|
|
5150
|
+
},
|
|
5151
|
+
errorMessages: {
|
|
5152
|
+
type: String,
|
|
5153
|
+
default: ''
|
|
5143
5154
|
}
|
|
5144
5155
|
}
|
|
5145
5156
|
};
|
|
@@ -5165,11 +5176,13 @@ var __vue_render__$h = function () {
|
|
|
5165
5176
|
"rules": _vm.rules,
|
|
5166
5177
|
"disabled": _vm.disabled,
|
|
5167
5178
|
"type": _vm.type,
|
|
5168
|
-
"error": _vm.counter && _vm.maxlength && _vm.value.length > _vm.maxlength,
|
|
5179
|
+
"error": _vm.counter && !!_vm.maxlength && _vm.value.length > _vm.maxlength,
|
|
5180
|
+
"error-messages": _vm.errorMessages,
|
|
5169
5181
|
"value": _vm.value,
|
|
5170
5182
|
"hint": _vm.hint,
|
|
5171
5183
|
"counter": _vm.counter,
|
|
5172
5184
|
"maxlength": _vm.maxlength,
|
|
5185
|
+
"prefix": _vm.prefix,
|
|
5173
5186
|
"persistent-hint": "",
|
|
5174
5187
|
"hide-details": "auto"
|
|
5175
5188
|
},
|
|
@@ -5200,8 +5213,8 @@ var __vue_staticRenderFns__$h = [];
|
|
|
5200
5213
|
|
|
5201
5214
|
const __vue_inject_styles__$h = function (inject) {
|
|
5202
5215
|
if (!inject) return;
|
|
5203
|
-
inject("data-v-
|
|
5204
|
-
source: ".VcTextInput.v-text-field[data-v-
|
|
5216
|
+
inject("data-v-55ea298c_0", {
|
|
5217
|
+
source: ".VcTextInput.v-text-field[data-v-55ea298c]{font-family:var(--primary-font-family)}.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot{padding:0 var(--size-value3);height:var(--size-value13);background:#fff;border:1px solid var(--gray-lighten-1);box-sizing:border-box;border-radius:6px}.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot label{font-size:var(--font-size-small2);line-height:var(--size-value5);color:var(--gray-darken-3);font-weight:var(--font-weight-medium)}.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot input{font-weight:var(--font-weight-medium2);font-size:var(--font-size-small2);line-height:var(--size-value5);color:var(--gray-darken-5)}.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:after,.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:before{display:none}.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:hover{border-color:var(--gray-darken-3)}.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:active,.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:focus,.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:focus-within{border:1px solid var(--v-secondary-base);box-shadow:0 0 0 3px var(--v-secondary-lighten1)}.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:active input,.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:focus input,.VcTextInput.v-text-field[data-v-55ea298c] .v-input__slot:focus-within input{color:var(--gray-darken-3)}.VcTextInput.v-text-field[data-v-55ea298c].error--text .v-input__slot{border-color:var(--red);color:unset;box-shadow:unset;font-size:var(--font-size-xx-small);line-height:var(--size-value4)}.VcTextInput.v-text-field[data-v-55ea298c].v-input--is-focused label,.VcTextInput.v-text-field[data-v-55ea298c].v-input--is-label-active label{font-size:var(--font-size-small);line-height:1.17;letter-spacing:-.3px;color:var(--gray-darken-4)!important;transform:translateY(-100%) scale(.85);top:var(--size-value2)}.VcTextInput.v-text-field[data-v-55ea298c].v-input--is-focused .v-text-field__slot,.VcTextInput.v-text-field[data-v-55ea298c].v-input--is-label-active .v-text-field__slot{margin-bottom:-14px}.VcTextInput.v-text-field[data-v-55ea298c].v-input--is-disabled .v-input__slot{background:var(--gray-lighten-3);border:1px solid var(--gray-lighten-1)}.VcTextInput.v-text-field[data-v-55ea298c].v-input--is-disabled .v-input__slot input,.VcTextInput.v-text-field[data-v-55ea298c].v-input--is-disabled .v-input__slot label{color:var(--gray-darken-2)}.VcTextInput.v-text-field[data-v-55ea298c]:not(.v-input--is-label-active):not(.v-input--is-focused) input{padding:var(--size-value2) 0}.VcTextInput.v-text-field[data-v-55ea298c] .v-messages__message{line-height:var(--size-value4)}.VcTextInput.v-text-field[data-v-55ea298c] .v-input__append-inner{align-self:center;fill:var(--gray-darken-3)}",
|
|
5205
5218
|
map: undefined,
|
|
5206
5219
|
media: undefined
|
|
5207
5220
|
});
|
|
@@ -5209,7 +5222,7 @@ const __vue_inject_styles__$h = function (inject) {
|
|
|
5209
5222
|
/* scoped */
|
|
5210
5223
|
|
|
5211
5224
|
|
|
5212
|
-
const __vue_scope_id__$h = "data-v-
|
|
5225
|
+
const __vue_scope_id__$h = "data-v-55ea298c";
|
|
5213
5226
|
/* module identifier */
|
|
5214
5227
|
|
|
5215
5228
|
const __vue_module_identifier__$h = undefined;
|