@sankhyalabs/ezui 1.1.67 → 1.1.70
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/cjs/ez-action-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-button_16.cjs.entry.js +133 -144
- package/dist/cjs/ez-dialog.cjs.entry.js +7 -1
- package/dist/cjs/ez-modal.cjs.entry.js +16 -69
- package/dist/cjs/ez-number-input.cjs.entry.js +9 -9
- package/dist/cjs/ez-popover.cjs.entry.js +13 -18
- package/dist/cjs/ez-popup.cjs.entry.js +2 -2
- package/dist/cjs/ez-time-input.cjs.entry.js +6 -6
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-action-chip/ez-action-chip.css +2 -1
- package/dist/collection/components/ez-action-chip/ez-action-chip.js +1 -1
- package/dist/collection/components/ez-button/ez-button.css +48 -45
- package/dist/collection/components/ez-button/ez-button.js +5 -5
- package/dist/collection/components/ez-calendar/ez-calendar.css +2 -2
- package/dist/collection/components/ez-check/ez-check.css +78 -78
- package/dist/collection/components/ez-check/ez-check.js +7 -7
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +1 -1
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +46 -44
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +38 -39
- package/dist/collection/components/ez-date-input/ez-date-input.js +9 -9
- package/dist/collection/components/ez-dialog/ez-dialog.css +43 -43
- package/dist/collection/components/ez-dialog/ez-dialog.js +10 -4
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +6 -6
- package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +1 -1
- package/dist/collection/components/ez-icon/ez-icon.css +3 -1
- package/dist/collection/components/ez-icon/ez-icon.js +5 -3
- package/dist/collection/components/ez-label-chip/ez-label-chip.css +2 -1
- package/dist/collection/components/ez-label-chip/ez-label-chip.js +1 -1
- package/dist/collection/components/ez-modal/ez-modal.css +1 -1
- package/dist/collection/components/ez-modal/ez-modal.js +30 -83
- package/dist/collection/components/ez-number-input/ez-number-input.js +11 -11
- package/dist/collection/components/ez-numeric-input/ez-numeric-input.css +1 -1
- package/dist/collection/components/ez-numeric-input/ez-numeric-input.js +9 -9
- package/dist/collection/components/ez-popover/ez-popover.css +4 -5
- package/dist/collection/components/ez-popover/ez-popover.js +25 -30
- package/dist/collection/components/ez-popup/ez-popup.css +7 -7
- package/dist/collection/components/ez-popup/ez-popup.js +4 -4
- package/dist/collection/components/ez-search/ez-search.js +5 -5
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +7 -10
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +68 -70
- package/dist/collection/components/ez-text-area/ez-text-area.css +6 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js +9 -9
- package/dist/collection/components/ez-text-input/ez-text-input.css +68 -60
- package/dist/collection/components/ez-text-input/ez-text-input.js +14 -38
- package/dist/collection/components/ez-time-input/ez-time-input.css +8 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js +9 -9
- package/dist/collection/components/ez-toast/ez-toast.css +2 -2
- package/dist/collection/components/ez-upload/ez-upload.css +4 -1
- package/dist/collection/components/ez-upload/ez-upload.js +3 -3
- package/dist/custom-elements/index.js +198 -261
- package/dist/esm/ez-action-chip.entry.js +1 -1
- package/dist/esm/ez-button_16.entry.js +133 -144
- package/dist/esm/ez-dialog.entry.js +7 -1
- package/dist/esm/ez-modal.entry.js +16 -69
- package/dist/esm/ez-number-input.entry.js +9 -9
- package/dist/esm/ez-popover.entry.js +13 -18
- package/dist/esm/ez-popup.entry.js +2 -2
- package/dist/esm/ez-time-input.entry.js +6 -6
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-1bc9ddad.entry.js +1 -0
- package/dist/ezui/{p-4f4b8aae.entry.js → p-1c33a56d.entry.js} +1 -1
- package/dist/ezui/{p-d8a47f23.entry.js → p-74e4415e.entry.js} +1 -1
- package/dist/ezui/p-a7e23f65.entry.js +1 -0
- package/dist/ezui/p-a88ee12f.entry.js +1 -0
- package/dist/ezui/p-b692a0ab.entry.js +1 -0
- package/dist/ezui/p-b6e0fd3e.entry.js +1 -0
- package/dist/ezui/{p-7f528c19.entry.js → p-f7d7fb7f.entry.js} +1 -1
- package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +1 -1
- package/dist/types/components/ez-button/ez-button.d.ts +1 -1
- package/dist/types/components/ez-check/ez-check.d.ts +3 -3
- package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +1 -1
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +8 -8
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +2 -2
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +8 -2
- package/dist/types/components/ez-icon/ez-icon.d.ts +6 -0
- package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +1 -1
- package/dist/types/components/ez-modal/ez-modal.d.ts +9 -9
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +1 -1
- package/dist/types/components/ez-numeric-input/ez-numeric-input.d.ts +3 -3
- package/dist/types/components/ez-popover/ez-popover.d.ts +4 -5
- package/dist/types/components/ez-popup/ez-popup.d.ts +3 -3
- package/dist/types/components/ez-search/ez-search.d.ts +3 -3
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +19 -10
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +4 -4
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -8
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +2 -2
- package/dist/types/components/ez-upload/ez-upload.d.ts +3 -3
- package/dist/types/components.d.ts +142 -114
- package/package.json +2 -1
- package/dist/ezui/p-7c7dbfcb.entry.js +0 -1
- package/dist/ezui/p-8c8f1c00.entry.js +0 -1
- package/dist/ezui/p-afc553a4.entry.js +0 -1
- package/dist/ezui/p-d185d7e8.entry.js +0 -1
- package/dist/ezui/p-ee5058c1.entry.js +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Component, Prop, h, Watch, Host, Method, Event, Element } from '@stencil/core';
|
|
2
|
-
import { isValidNumber } from '../../utils/utils';
|
|
3
2
|
import { MaskFormatter } from '@sankhyalabs/core';
|
|
4
3
|
export class EzTextInput {
|
|
5
4
|
constructor() {
|
|
@@ -9,7 +8,7 @@ export class EzTextInput {
|
|
|
9
8
|
this.enabled = true;
|
|
10
9
|
}
|
|
11
10
|
showError() {
|
|
12
|
-
const hasError = typeof this.
|
|
11
|
+
const hasError = typeof this.errorMessage === 'string' && this.errorMessage !== '';
|
|
13
12
|
if (hasError) {
|
|
14
13
|
this._inputElem.classList.add('hasError');
|
|
15
14
|
this._messageBoxElem.classList.add('hasError');
|
|
@@ -84,16 +83,13 @@ export class EzTextInput {
|
|
|
84
83
|
this._inputElem.value = this._maskFormatter.format(value);
|
|
85
84
|
}
|
|
86
85
|
catch (e) {
|
|
87
|
-
this.
|
|
86
|
+
this.errorMessage = e.message;
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
89
|
this.value = this._inputElem.value;
|
|
91
90
|
this.adjustFloatingLabel();
|
|
92
91
|
}
|
|
93
92
|
isValidValue(value) {
|
|
94
|
-
if (this.onlynumber) {
|
|
95
|
-
return value == "" || isValidNumber(value);
|
|
96
|
-
}
|
|
97
93
|
if (this.restrict) {
|
|
98
94
|
return Array.from(value).reduce((valid, c) => valid && this.restrict.indexOf(c) > -1, true);
|
|
99
95
|
}
|
|
@@ -122,11 +118,11 @@ export class EzTextInput {
|
|
|
122
118
|
content.style.justifyContent = "center";
|
|
123
119
|
content.style.overflow = "hidden";
|
|
124
120
|
content.style.top = "0px";
|
|
125
|
-
content.style.width = "var(--
|
|
126
|
-
content.style.height = "var(--
|
|
121
|
+
content.style.width = "var(--text-input__icon--width)";
|
|
122
|
+
content.style.height = "var(--text-input--height)";
|
|
127
123
|
if (slot.name == "leftIcon") {
|
|
128
124
|
content.style.left = "0px";
|
|
129
|
-
content.style.borderRadius = "var(--
|
|
125
|
+
content.style.borderRadius = "var(--text-input--border-radius) 0 0 var(--text-input--border-radius)";
|
|
130
126
|
this._inputElem.classList.add('icon--left');
|
|
131
127
|
if (this._labelElem) {
|
|
132
128
|
this._labelElem.classList.add('input__label--left');
|
|
@@ -134,7 +130,7 @@ export class EzTextInput {
|
|
|
134
130
|
}
|
|
135
131
|
else if (slot.name == "rightIcon") {
|
|
136
132
|
content.style.right = "0px";
|
|
137
|
-
content.style.borderRadius = "0 var(--
|
|
133
|
+
content.style.borderRadius = "0 var(--text-input--border-radius) var(--text-input--border-radius) 0";
|
|
138
134
|
this._inputElem.classList.add('icon--right');
|
|
139
135
|
if (this._labelElem) {
|
|
140
136
|
this._labelElem.classList.add('input__label--right');
|
|
@@ -152,9 +148,6 @@ export class EzTextInput {
|
|
|
152
148
|
// Lifecycle web component
|
|
153
149
|
//---------------------------------------------
|
|
154
150
|
componentDidLoad() {
|
|
155
|
-
if (this.onlynumber) {
|
|
156
|
-
this._inputElem.classList.add('text--right');
|
|
157
|
-
}
|
|
158
151
|
this.showError();
|
|
159
152
|
this.prepareMask();
|
|
160
153
|
this.adjustFloatingLabel();
|
|
@@ -167,7 +160,7 @@ export class EzTextInput {
|
|
|
167
160
|
this.value = this._maskFormatter.format(this.value);
|
|
168
161
|
}
|
|
169
162
|
catch (e) {
|
|
170
|
-
this.
|
|
163
|
+
this.errorMessage = e.message;
|
|
171
164
|
}
|
|
172
165
|
}
|
|
173
166
|
if (!this.isValidValue(this.value)) {
|
|
@@ -184,7 +177,7 @@ export class EzTextInput {
|
|
|
184
177
|
: null,
|
|
185
178
|
h("input", { onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: "text", value: this.value, disabled: !this.enabled, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); } }),
|
|
186
179
|
h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }),
|
|
187
|
-
h("span", { class: "message-box", ref: (el) => this._messageBoxElem = el, title: this.
|
|
180
|
+
h("span", { class: "message-box", ref: (el) => this._messageBoxElem = el, title: this.errorMessage }, this.errorMessage)));
|
|
188
181
|
}
|
|
189
182
|
static get is() { return "ez-text-input"; }
|
|
190
183
|
static get encapsulation() { return "shadow"; }
|
|
@@ -207,7 +200,7 @@ export class EzTextInput {
|
|
|
207
200
|
"optional": false,
|
|
208
201
|
"docs": {
|
|
209
202
|
"tags": [],
|
|
210
|
-
"text": "
|
|
203
|
+
"text": "T\u00EDtulo do campo"
|
|
211
204
|
},
|
|
212
205
|
"attribute": "label",
|
|
213
206
|
"reflect": true
|
|
@@ -264,7 +257,7 @@ export class EzTextInput {
|
|
|
264
257
|
"attribute": "loading",
|
|
265
258
|
"reflect": true
|
|
266
259
|
},
|
|
267
|
-
"
|
|
260
|
+
"errorMessage": {
|
|
268
261
|
"type": "string",
|
|
269
262
|
"mutable": true,
|
|
270
263
|
"complexType": {
|
|
@@ -278,24 +271,7 @@ export class EzTextInput {
|
|
|
278
271
|
"tags": [],
|
|
279
272
|
"text": "Quando h\u00E1 um problema de valida\u00E7\u00E3o, serve como orienta\u00E7\u00E3o ao usu\u00E1rio"
|
|
280
273
|
},
|
|
281
|
-
"attribute": "
|
|
282
|
-
"reflect": true
|
|
283
|
-
},
|
|
284
|
-
"onlynumber": {
|
|
285
|
-
"type": "boolean",
|
|
286
|
-
"mutable": false,
|
|
287
|
-
"complexType": {
|
|
288
|
-
"original": "boolean",
|
|
289
|
-
"resolved": "boolean",
|
|
290
|
-
"references": {}
|
|
291
|
-
},
|
|
292
|
-
"required": false,
|
|
293
|
-
"optional": false,
|
|
294
|
-
"docs": {
|
|
295
|
-
"tags": [],
|
|
296
|
-
"text": "Faz com que o componente s\u00F3 aceite n\u00FAmeros"
|
|
297
|
-
},
|
|
298
|
-
"attribute": "onlynumber",
|
|
274
|
+
"attribute": "error-message",
|
|
299
275
|
"reflect": true
|
|
300
276
|
},
|
|
301
277
|
"mask": {
|
|
@@ -310,7 +286,7 @@ export class EzTextInput {
|
|
|
310
286
|
"optional": false,
|
|
311
287
|
"docs": {
|
|
312
288
|
"tags": [],
|
|
313
|
-
"text": "Aplica uma m\u00E1scara no conte\u00FAdo conforme
|
|
289
|
+
"text": "Aplica uma m\u00E1scara no conte\u00FAdo conforme o padr\u00E3o estabelecido"
|
|
314
290
|
},
|
|
315
291
|
"attribute": "mask",
|
|
316
292
|
"reflect": false
|
|
@@ -341,7 +317,7 @@ export class EzTextInput {
|
|
|
341
317
|
"composed": true,
|
|
342
318
|
"docs": {
|
|
343
319
|
"tags": [],
|
|
344
|
-
"text": "
|
|
320
|
+
"text": "Evento disparado quando o estado do componente \u00E9 alterado (onEzChange)."
|
|
345
321
|
},
|
|
346
322
|
"complexType": {
|
|
347
323
|
"original": "string",
|
|
@@ -385,7 +361,7 @@ export class EzTextInput {
|
|
|
385
361
|
}; }
|
|
386
362
|
static get elementRef() { return "_hostElement"; }
|
|
387
363
|
static get watchers() { return [{
|
|
388
|
-
"propName": "
|
|
364
|
+
"propName": "errorMessage",
|
|
389
365
|
"methodName": "showError"
|
|
390
366
|
}, {
|
|
391
367
|
"propName": "mask",
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
/* dimensions */
|
|
3
|
+
/*@doc Define a altura do componente.*/
|
|
3
4
|
--eztime--height: 42px;
|
|
5
|
+
/*@doc Define a largura do componente.*/
|
|
4
6
|
--eztime--width: 100%;
|
|
7
|
+
/*@doc Define a largura do slot que contém o ícone.*/
|
|
5
8
|
--eztime__icon--width: 48px;
|
|
6
9
|
|
|
7
10
|
/* general */
|
|
11
|
+
/*@doc Define o raio da borda do input do componente.*/
|
|
8
12
|
--eztime--border-radius: var(--border--radius-medium, 12px);
|
|
13
|
+
/*@doc Define o tamanho da fonte do input e label do componente.*/
|
|
9
14
|
--eztime--font-size: var(--text--medium, 14px);
|
|
15
|
+
/*@doc Define a família da fonte do input, label e caixa de mensagem do componente.*/
|
|
10
16
|
--eztime--font-family: var(--font-pattern, Arial);
|
|
17
|
+
/*@doc Define o peso da fonte do label do componente.*/
|
|
11
18
|
--eztime--font-weight: var(--text-weight--large, 500);
|
|
19
|
+
/*@doc Define o espaçamento do label.*/
|
|
12
20
|
--eztime--space--medium: var(--space--medium, 6px);
|
|
13
21
|
|
|
14
22
|
/* input */
|
|
@@ -12,7 +12,7 @@ export class EzTimeInput {
|
|
|
12
12
|
this.showSeconds = false;
|
|
13
13
|
}
|
|
14
14
|
showError() {
|
|
15
|
-
const hasError = typeof this.
|
|
15
|
+
const hasError = typeof this.errorMessage === 'string' && this.errorMessage !== '';
|
|
16
16
|
if (hasError) {
|
|
17
17
|
this._inputElem.classList.add('hasError');
|
|
18
18
|
this._messageBoxElem.classList.add('hasError');
|
|
@@ -88,11 +88,11 @@ export class EzTimeInput {
|
|
|
88
88
|
// Event handlers
|
|
89
89
|
//---------------------------------------------
|
|
90
90
|
handleFocusout() {
|
|
91
|
-
this.
|
|
91
|
+
this.errorMessage = "";
|
|
92
92
|
this.prepareValue(this.viewValue);
|
|
93
93
|
if (!TimeFormatter.validateTime(this.viewValue, this.showSeconds)) {
|
|
94
94
|
this.clearField();
|
|
95
|
-
this.
|
|
95
|
+
this.errorMessage = "Favor inserir um horário válido.";
|
|
96
96
|
}
|
|
97
97
|
this.adjustFloatingLabel();
|
|
98
98
|
}
|
|
@@ -102,7 +102,7 @@ export class EzTimeInput {
|
|
|
102
102
|
}
|
|
103
103
|
catch (e) {
|
|
104
104
|
this.clearField();
|
|
105
|
-
this.
|
|
105
|
+
this.errorMessage = e.message;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
clearField() {
|
|
@@ -163,7 +163,7 @@ export class EzTimeInput {
|
|
|
163
163
|
h("label", { onClick: () => this._inputElem.focus(), class: this.value ? "input__label input__label--floated" : "input__label", ref: (el) => this._labelElem = el, title: this.label }, this.label)
|
|
164
164
|
: null,
|
|
165
165
|
h("input", { onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: "text", value: this.viewValue, disabled: !this.enabled, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); } }),
|
|
166
|
-
h("span", { class: "message-box", ref: (el) => this._messageBoxElem = el }, this.
|
|
166
|
+
h("span", { class: "message-box", ref: (el) => this._messageBoxElem = el }, this.errorMessage)));
|
|
167
167
|
}
|
|
168
168
|
static get is() { return "ez-time-input"; }
|
|
169
169
|
static get encapsulation() { return "shadow"; }
|
|
@@ -186,7 +186,7 @@ export class EzTimeInput {
|
|
|
186
186
|
"optional": false,
|
|
187
187
|
"docs": {
|
|
188
188
|
"tags": [],
|
|
189
|
-
"text": "
|
|
189
|
+
"text": "T\u00EDtulo do campo"
|
|
190
190
|
},
|
|
191
191
|
"attribute": "label",
|
|
192
192
|
"reflect": true
|
|
@@ -243,7 +243,7 @@ export class EzTimeInput {
|
|
|
243
243
|
"reflect": true,
|
|
244
244
|
"defaultValue": "true"
|
|
245
245
|
},
|
|
246
|
-
"
|
|
246
|
+
"errorMessage": {
|
|
247
247
|
"type": "string",
|
|
248
248
|
"mutable": true,
|
|
249
249
|
"complexType": {
|
|
@@ -257,7 +257,7 @@ export class EzTimeInput {
|
|
|
257
257
|
"tags": [],
|
|
258
258
|
"text": "Quando h\u00E1 um problema de valida\u00E7\u00E3o, serve como orienta\u00E7\u00E3o ao usu\u00E1rio"
|
|
259
259
|
},
|
|
260
|
-
"attribute": "
|
|
260
|
+
"attribute": "error-message",
|
|
261
261
|
"reflect": true
|
|
262
262
|
},
|
|
263
263
|
"showSeconds": {
|
|
@@ -314,7 +314,7 @@ export class EzTimeInput {
|
|
|
314
314
|
}
|
|
315
315
|
}; }
|
|
316
316
|
static get watchers() { return [{
|
|
317
|
-
"propName": "
|
|
317
|
+
"propName": "errorMessage",
|
|
318
318
|
"methodName": "showError"
|
|
319
319
|
}, {
|
|
320
320
|
"propName": "showSeconds",
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
--toast__btn__close__image: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg%22%3E<path d="M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z"/></svg>');
|
|
6
6
|
|
|
7
7
|
/* Container */
|
|
8
|
-
/*@doc Define a camada que o container será exibido.*/
|
|
8
|
+
/*@doc Define a camada em que o container será exibido.*/
|
|
9
9
|
--toast__container-z-index: var(--more-visible, 2);
|
|
10
10
|
/*@doc Define a cor de fundo do container.*/
|
|
11
11
|
--toast__container--background-color: var(--color--secondary, #383c45);
|
|
12
12
|
|
|
13
13
|
/* Icon */
|
|
14
|
-
/*@doc Define o espaçamento
|
|
14
|
+
/*@doc Define o espaçamento à esquerda do ícone.*/
|
|
15
15
|
--toast__icon--padding-left: var(--space--small, 6px);
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
|
|
3
3
|
/* dimensions */
|
|
4
|
+
/*@doc Define a altura do componente.*/
|
|
4
5
|
--iu--height: 42px;
|
|
6
|
+
/*@doc Define a largura do componente.*/
|
|
5
7
|
--iu--width: 100%;
|
|
8
|
+
/*@doc Define a largura do slot que contém o ícone.*/
|
|
6
9
|
--iu__icon--width: 48px;
|
|
7
10
|
|
|
8
11
|
/* box--container */
|
|
@@ -30,7 +33,7 @@
|
|
|
30
33
|
/* text */
|
|
31
34
|
/*@doc Define as sombras dos textos do componente.*/
|
|
32
35
|
--iu--text-shadow: var(--text-shadow, 0 0 0 #353535, 0 0 1px transparent);
|
|
33
|
-
/*@doc Define a dos textos do componente.*/
|
|
36
|
+
/*@doc Define a cor dos textos do componente.*/
|
|
34
37
|
--iu--text--primary: var(--text-primary, #626e82);
|
|
35
38
|
/*@doc Define o tamanho dos textos do componente.*/
|
|
36
39
|
--iu--font-size: var(--text--medium, 14px);
|
|
@@ -267,7 +267,7 @@ export class EzUpload {
|
|
|
267
267
|
"optional": false,
|
|
268
268
|
"docs": {
|
|
269
269
|
"tags": [],
|
|
270
|
-
"text": "
|
|
270
|
+
"text": "T\u00EDtulo do campo"
|
|
271
271
|
},
|
|
272
272
|
"attribute": "label",
|
|
273
273
|
"reflect": false
|
|
@@ -370,7 +370,7 @@ export class EzUpload {
|
|
|
370
370
|
"optional": false,
|
|
371
371
|
"docs": {
|
|
372
372
|
"tags": [],
|
|
373
|
-
"text": "Define a URL
|
|
373
|
+
"text": "Define a URL de dele\u00E7\u00E3o"
|
|
374
374
|
},
|
|
375
375
|
"attribute": "urldelete",
|
|
376
376
|
"reflect": false
|
|
@@ -394,7 +394,7 @@ export class EzUpload {
|
|
|
394
394
|
"optional": false,
|
|
395
395
|
"docs": {
|
|
396
396
|
"tags": [],
|
|
397
|
-
"text": "Lista de arquivos que
|
|
397
|
+
"text": "Lista de arquivos que ser\u00E1 trafegada entre cliente e servidor"
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
}; }
|