@sankhyalabs/ezui 1.1.68 → 1.1.71

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.
Files changed (87) hide show
  1. package/dist/cjs/ez-action-chip.cjs.entry.js +1 -1
  2. package/dist/cjs/ez-button_16.cjs.entry.js +97 -97
  3. package/dist/cjs/ez-dialog.cjs.entry.js +7 -1
  4. package/dist/cjs/ez-modal.cjs.entry.js +16 -69
  5. package/dist/cjs/ez-popover.cjs.entry.js +13 -18
  6. package/dist/cjs/ez-popup.cjs.entry.js +2 -2
  7. package/dist/cjs/ezui.cjs.js +1 -1
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/collection/components/ez-action-chip/ez-action-chip.css +2 -1
  10. package/dist/collection/components/ez-action-chip/ez-action-chip.js +1 -1
  11. package/dist/collection/components/ez-button/ez-button.css +11 -6
  12. package/dist/collection/components/ez-button/ez-button.js +4 -1
  13. package/dist/collection/components/ez-calendar/ez-calendar.css +2 -2
  14. package/dist/collection/components/ez-check/ez-check.js +6 -6
  15. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
  16. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js +1 -1
  17. package/dist/collection/components/ez-combo-box/ez-combo-box.css +46 -44
  18. package/dist/collection/components/ez-combo-box/ez-combo-box.js +36 -37
  19. package/dist/collection/components/ez-date-input/ez-date-input.js +1 -1
  20. package/dist/collection/components/ez-dialog/ez-dialog.css +43 -43
  21. package/dist/collection/components/ez-dialog/ez-dialog.js +10 -4
  22. package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +1 -1
  23. package/dist/collection/components/ez-icon/ez-icon.js +2 -2
  24. package/dist/collection/components/ez-label-chip/ez-label-chip.css +2 -1
  25. package/dist/collection/components/ez-label-chip/ez-label-chip.js +1 -1
  26. package/dist/collection/components/ez-modal/ez-modal.css +1 -1
  27. package/dist/collection/components/ez-modal/ez-modal.js +30 -83
  28. package/dist/collection/components/ez-numeric-input/ez-numeric-input.css +1 -1
  29. package/dist/collection/components/ez-numeric-input/ez-numeric-input.js +2 -2
  30. package/dist/collection/components/ez-popover/ez-popover.css +4 -5
  31. package/dist/collection/components/ez-popover/ez-popover.js +25 -30
  32. package/dist/collection/components/ez-popup/ez-popup.css +7 -7
  33. package/dist/collection/components/ez-popup/ez-popup.js +4 -4
  34. package/dist/collection/components/ez-search/ez-search.js +3 -3
  35. package/dist/collection/components/ez-tabselector/ez-tabselector.css +7 -10
  36. package/dist/collection/components/ez-tabselector/ez-tabselector.js +68 -70
  37. package/dist/collection/components/ez-text-area/ez-text-area.css +6 -0
  38. package/dist/collection/components/ez-text-area/ez-text-area.js +4 -4
  39. package/dist/collection/components/ez-text-input/ez-text-input.css +8 -0
  40. package/dist/collection/components/ez-text-input/ez-text-input.js +3 -3
  41. package/dist/collection/components/ez-time-input/ez-time-input.css +8 -0
  42. package/dist/collection/components/ez-time-input/ez-time-input.js +1 -1
  43. package/dist/collection/components/ez-toast/ez-toast.css +2 -2
  44. package/dist/collection/components/ez-upload/ez-upload.css +4 -1
  45. package/dist/collection/components/ez-upload/ez-upload.js +3 -3
  46. package/dist/custom-elements/index.js +140 -192
  47. package/dist/esm/ez-action-chip.entry.js +1 -1
  48. package/dist/esm/ez-button_16.entry.js +97 -97
  49. package/dist/esm/ez-dialog.entry.js +7 -1
  50. package/dist/esm/ez-modal.entry.js +16 -69
  51. package/dist/esm/ez-popover.entry.js +13 -18
  52. package/dist/esm/ez-popup.entry.js +2 -2
  53. package/dist/esm/ezui.js +1 -1
  54. package/dist/esm/loader.js +1 -1
  55. package/dist/ezui/ezui.esm.js +1 -1
  56. package/dist/ezui/p-1bc9ddad.entry.js +1 -0
  57. package/dist/ezui/{p-4f4b8aae.entry.js → p-1c33a56d.entry.js} +1 -1
  58. package/dist/ezui/p-5aa8871e.entry.js +1 -0
  59. package/dist/ezui/p-a7e23f65.entry.js +1 -0
  60. package/dist/ezui/p-a88ee12f.entry.js +1 -0
  61. package/dist/ezui/p-b692a0ab.entry.js +1 -0
  62. package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +1 -1
  63. package/dist/types/components/ez-button/ez-button.d.ts +1 -1
  64. package/dist/types/components/ez-check/ez-check.d.ts +3 -3
  65. package/dist/types/components/ez-collapsible-box/ez-collapsible-box.d.ts +1 -1
  66. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +7 -7
  67. package/dist/types/components/ez-date-input/ez-date-input.d.ts +1 -1
  68. package/dist/types/components/ez-dialog/ez-dialog.d.ts +8 -2
  69. package/dist/types/components/ez-icon/ez-icon.d.ts +1 -1
  70. package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +1 -1
  71. package/dist/types/components/ez-modal/ez-modal.d.ts +9 -9
  72. package/dist/types/components/ez-numeric-input/ez-numeric-input.d.ts +2 -2
  73. package/dist/types/components/ez-popover/ez-popover.d.ts +4 -5
  74. package/dist/types/components/ez-popup/ez-popup.d.ts +3 -3
  75. package/dist/types/components/ez-search/ez-search.d.ts +2 -2
  76. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +19 -10
  77. package/dist/types/components/ez-text-area/ez-text-area.d.ts +3 -3
  78. package/dist/types/components/ez-text-input/ez-text-input.d.ts +3 -3
  79. package/dist/types/components/ez-time-input/ez-time-input.d.ts +1 -1
  80. package/dist/types/components/ez-upload/ez-upload.d.ts +3 -3
  81. package/dist/types/components.d.ts +116 -92
  82. package/package.json +1 -1
  83. package/dist/ezui/p-7c7dbfcb.entry.js +0 -1
  84. package/dist/ezui/p-7d066b1c.entry.js +0 -1
  85. package/dist/ezui/p-8c8f1c00.entry.js +0 -1
  86. package/dist/ezui/p-d185d7e8.entry.js +0 -1
  87. package/dist/ezui/p-ee5058c1.entry.js +0 -1
@@ -25,7 +25,7 @@ export class EzSearch {
25
25
  this.ezChange.emit(evt.detail);
26
26
  }
27
27
  render() {
28
- return (h("ez-combo-box", { ref: elem => this._comboElement = elem, value: this.value, label: this.label, enabled: this.enabled, errorMessage: this.errorMessage, optionloader: this.optionloader, searchmode: true, onEzChange: evt => this.onComboChange(evt), showselectedvalue: this.showselectedvalue, showoptionvalue: this.showoptionvalue }));
28
+ return (h("ez-combo-box", { ref: elem => this._comboElement = elem, value: this.value, label: this.label, enabled: this.enabled, errorMessage: this.errorMessage, optionLoader: this.optionloader, searchMode: true, onEzChange: evt => this.onComboChange(evt), showSelectedValue: this.showselectedvalue, showOptionValue: this.showoptionvalue }));
29
29
  }
30
30
  ;
31
31
  static get is() { return "ez-search"; }
@@ -71,7 +71,7 @@ export class EzSearch {
71
71
  "optional": false,
72
72
  "docs": {
73
73
  "tags": [],
74
- "text": "Label \u00E9 o t\u00EDtulo do campo"
74
+ "text": "T\u00EDtulo do campo"
75
75
  },
76
76
  "attribute": "label",
77
77
  "reflect": true
@@ -195,7 +195,7 @@ export class EzSearch {
195
195
  "composed": true,
196
196
  "docs": {
197
197
  "tags": [],
198
- "text": "Este \u00E9 o evento emitido ao clicar para abrir o popup"
198
+ "text": "Evento emitido ao clicar para abrir o popup"
199
199
  },
200
200
  "complexType": {
201
201
  "original": "any",
@@ -15,11 +15,11 @@
15
15
  overflow: hidden;
16
16
  margin-bottom: var(--space--large, 24px);
17
17
  /* @doc Define a sombra do box da aba. */
18
- /* --tab__box--box-shadow: var(--shadow, 0px 0px 8px 0px #000); */
18
+ /* --tabselector__box--box-shadow: var(--shadow, 0px 0px 8px 0px #000); */
19
19
  /*@doc Contém o ícone de voltar para a aba anterior.*/
20
- --tab--backward-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>');
20
+ --tabselector--backward-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z"/></svg>');
21
21
  /*@doc Contém o ícone de avançar para a aba posterior.*/
22
- --tab--forward-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>');
22
+ --tabselector--forward-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="10px"><path d="M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z"/></svg>');
23
23
  }
24
24
 
25
25
  .scroll {
@@ -49,7 +49,6 @@
49
49
  background-color: unset;
50
50
  cursor: pointer;
51
51
  padding: 6px 12px;
52
- /*FIXME: Oza - precisamos usar tokens?*/
53
52
  align-items: center;
54
53
  justify-content: center;
55
54
  color: var(--text--primary, #626e82);
@@ -78,8 +77,6 @@
78
77
 
79
78
  .is-focused {
80
79
  border: 1px dashed var(--color--primary, #000000c5);
81
- /* border-radius: 5px 5px 0px 0px; */
82
- /* box-shadow: var(--tab__box--box-shadow); */
83
80
  }
84
81
 
85
82
  .tab-label {
@@ -120,13 +117,13 @@
120
117
  }
121
118
 
122
119
  .forward-button::after {
123
- -webkit-mask-image: var(--tab--forward-image);
124
- mask-image: var(--tab--forward-image);
120
+ -webkit-mask-image: var(--tabselector--forward-icon);
121
+ mask-image: var(--tabselector--forward-icon);
125
122
  }
126
123
 
127
124
  .backward-button::after {
128
- -webkit-mask-image: var(--tab--backward-image);
129
- mask-image: var(--tab--backward-image);
125
+ -webkit-mask-image: var(--tabselector--backward-icon);
126
+ mask-image: var(--tabselector--backward-icon);
130
127
  }
131
128
 
132
129
  .forward-button:hover::after, .backward-button:hover::after {
@@ -1,85 +1,85 @@
1
- import { Component, Event, Element, h, Prop, Host } from '@stencil/core';
1
+ import { Component, Event, Element, h, Prop, Host } from "@stencil/core";
2
2
  export class EzTabselector {
3
3
  constructor() {
4
- this.setFoucusedParam = (ev) => {
5
- if (ev.key === 'Enter') {
6
- this.selectedindex = this.foucusedindex;
7
- this.foucusedindex = undefined;
8
- this.selectedtab = this._processedTabs[this.selectedindex]['tabKey'];
9
- this.handleTabClick(this.selectedtab, parseInt(this.selectedindex));
4
+ this.setFocusedParam = (ev) => {
5
+ if (ev.key === "Enter") {
6
+ this.selectedIndex = this.focusedIndex;
7
+ this.focusedIndex = undefined;
8
+ this.selectedTab = this._processedTabs[this.selectedIndex]["tabKey"];
9
+ this.handleTabClick(this.selectedTab, parseInt(this.selectedIndex));
10
10
  ev.preventDefault();
11
- this.setFocusedTab(this.selectedindex);
11
+ this.setFocusedTab(this.selectedIndex);
12
12
  }
13
- else if (ev.key === 'ArrowLeft' || ev.key === 'ArrowRight') {
13
+ else if (ev.key === "ArrowLeft" || ev.key === "ArrowRight") {
14
14
  let operator = undefined;
15
- if (ev.key === 'ArrowLeft') {
15
+ if (ev.key === "ArrowLeft") {
16
16
  operator = false;
17
17
  }
18
- else if (ev.key === 'ArrowRight') {
18
+ else if (ev.key === "ArrowRight") {
19
19
  operator = true;
20
20
  }
21
21
  else {
22
22
  return;
23
23
  }
24
- if (this.foucusedindex === undefined) {
24
+ if (this.focusedIndex === undefined) {
25
25
  if (operator === false) {
26
- this.foucusedindex = this.selectedindex !== undefined ? (parseInt(this.selectedindex) - 1).toString() : undefined;
26
+ this.focusedIndex = this.selectedIndex !== undefined ? (parseInt(this.selectedIndex) - 1).toString() : undefined;
27
27
  }
28
28
  else {
29
- this.foucusedindex = this.selectedindex !== undefined ? (parseInt(this.selectedindex) + 1).toString() : undefined;
29
+ this.focusedIndex = this.selectedIndex !== undefined ? (parseInt(this.selectedIndex) + 1).toString() : undefined;
30
30
  }
31
31
  }
32
32
  else {
33
33
  if (operator === false) {
34
- this.foucusedindex = (parseInt(this.foucusedindex) - 1).toString();
34
+ this.focusedIndex = (parseInt(this.focusedIndex) - 1).toString();
35
35
  }
36
36
  else {
37
- this.foucusedindex = (parseInt(this.foucusedindex) + 1).toString();
37
+ this.focusedIndex = (parseInt(this.focusedIndex) + 1).toString();
38
38
  }
39
39
  }
40
- if (parseInt(this.foucusedindex) < 0) {
41
- this.foucusedindex = '0';
40
+ if (parseInt(this.focusedIndex) < 0) {
41
+ this.focusedIndex = "0";
42
42
  }
43
- else if (parseInt(this.foucusedindex) > this._processedTabs.length - 1) {
44
- this.foucusedindex = (this._processedTabs.length - 1).toString();
43
+ else if (parseInt(this.focusedIndex) > this._processedTabs.length - 1) {
44
+ this.focusedIndex = (this._processedTabs.length - 1).toString();
45
45
  }
46
- this.setFoucusedBtn(true, this.foucusedindex);
47
- this.setFocusedTab(this.foucusedindex);
48
- this.change.emit();
46
+ this.setFocusedBtn(true, this.focusedIndex);
47
+ this.setFocusedTab(this.focusedIndex);
48
+ this.ezChange.emit();
49
49
  }
50
- else if (ev.key === 'Tab' || ev.key === 'Escape') {
51
- this.foucusedindex = undefined;
52
- this.selectedtab = this._processedTabs[this.selectedindex]['tabKey'];
53
- this.handleTabClick(this.selectedtab, parseInt(this.selectedindex));
50
+ else if (ev.key === "Tab" || ev.key === "Escape") {
51
+ this.focusedIndex = undefined;
52
+ this.selectedTab = this._processedTabs[this.selectedIndex]["tabKey"];
53
+ this.handleTabClick(this.selectedTab, parseInt(this.selectedIndex));
54
54
  ev.preventDefault();
55
- this.setFocusedTab(this.selectedindex);
55
+ this.setFocusedTab(this.selectedIndex);
56
56
  }
57
57
  // this.setFocusedTab();
58
58
  };
59
59
  }
60
60
  handleTabClick(tab, index) {
61
- this.selectedindex = index.toString();
62
- this.foucusedindex = undefined;
63
- this.selectedtab = tab;
64
- this.change.emit();
65
- this.setFoucusedBtn(false, this.selectedindex);
61
+ this.selectedIndex = index.toString();
62
+ this.focusedIndex = undefined;
63
+ this.selectedTab = tab;
64
+ this.ezChange.emit();
65
+ this.setFocusedBtn(false, this.selectedIndex);
66
66
  }
67
67
  componentWillRender() {
68
68
  if (!this._processedTabs) {
69
69
  this._processedTabs = [];
70
70
  if (this.tabs) {
71
- this.tabs.split(',').forEach((label) => {
71
+ this.tabs.split(",").forEach((label) => {
72
72
  label = label.trim();
73
73
  this._processedTabs.push(new Tab(label, label));
74
74
  });
75
75
  }
76
- this._hostElem.querySelectorAll('ez-tab').forEach((elem) => {
77
- const tabKey = elem.getAttribute('tabKey');
78
- const label = elem.getAttribute('label');
76
+ this._hostElem.querySelectorAll("ez-tab").forEach((elem) => {
77
+ const tabKey = elem.getAttribute("tabKey");
78
+ const label = elem.getAttribute("label");
79
79
  const t = new Tab(label, tabKey);
80
80
  const content = elem.firstChild;
81
81
  if (content) {
82
- content.setAttribute('slot', 'tab' + this._processedTabs.length);
82
+ content.setAttribute("slot", "tab" + this._processedTabs.length);
83
83
  this._hostElem.appendChild(content);
84
84
  }
85
85
  this._processedTabs.push(t);
@@ -103,7 +103,7 @@ export class EzTabselector {
103
103
  const container = this._scrollContainer;
104
104
  if (container) {
105
105
  let lastTab = null;
106
- container.querySelectorAll('.tab').forEach((tab) => {
106
+ container.querySelectorAll(".tab").forEach((tab) => {
107
107
  if (tab.getBoundingClientRect().right < container.clientWidth) {
108
108
  lastTab = tab;
109
109
  }
@@ -122,18 +122,18 @@ export class EzTabselector {
122
122
  this._startHidden = container.scrollLeft > 0;
123
123
  this._endHidden = remainingScroll > 0;
124
124
  if (this._startHidden) {
125
- this._backwardButton.classList.remove('hidden');
125
+ this._backwardButton.classList.remove("hidden");
126
126
  }
127
127
  else {
128
- this._backwardButton.classList.add('hidden');
128
+ this._backwardButton.classList.add("hidden");
129
129
  }
130
130
  if (this._endHidden) {
131
- this._forwardButton.classList.remove('hidden');
131
+ this._forwardButton.classList.remove("hidden");
132
132
  }
133
133
  else {
134
- this._forwardButton.classList.add('hidden');
134
+ this._forwardButton.classList.add("hidden");
135
135
  }
136
- const classNames = ['', 'startHidden', 'endHidden', 'midle'];
136
+ const classNames = ["", "startHidden", "endHidden", "midle"];
137
137
  const currentClass = classNames[Number(this._startHidden) | Number(this._endHidden) << 1];
138
138
  classNames.forEach((name) => {
139
139
  if (name !== currentClass && container.classList.contains(name)) {
@@ -150,11 +150,9 @@ export class EzTabselector {
150
150
  this._scrollCallBack = window.setTimeout(() => { this.updateScroll(); }, 200);
151
151
  }
152
152
  setFocusedTab(index) {
153
- window.clearTimeout(this._scrollCallBackTeste);
154
- this._scrollCallBackTeste = window.setTimeout(() => {
153
+ window.clearTimeout(this._scrollCallBackTest);
154
+ this._scrollCallBackTest = window.setTimeout(() => {
155
155
  const tabtoscroll = this._scrollContainer.querySelector(`#tab${index}`);
156
- console.log('tabtoscroll => ID', `#tab${this.selectedindex}`);
157
- console.log('tabtoscroll', tabtoscroll);
158
156
  tabtoscroll.scrollIntoView();
159
157
  }, 200);
160
158
  }
@@ -163,16 +161,16 @@ export class EzTabselector {
163
161
  this._textMesurement = this._hostElem.shadowRoot.ownerDocument.createElement("canvas");
164
162
  }
165
163
  const context = this._textMesurement.getContext("2d");
166
- context.font = '14px Sora, Algerian';
167
- return Math.min(220, 24 + context.measureText(text).width) + 'px';
164
+ context.font = "14px Sora, Algerian";
165
+ return Math.min(220, 24 + context.measureText(text).width) + "px";
168
166
  }
169
167
  ;
170
- setFoucusedBtn(visible, paramater) {
171
- const tabsButtons = this._scrollContainer.querySelectorAll('.tab');
168
+ setFocusedBtn(visible, parameter) {
169
+ const tabsButtons = this._scrollContainer.querySelectorAll(".tab");
172
170
  tabsButtons.forEach((el) => {
173
- el.classList.remove('is-focused');
174
- if (el.id === 'tab' + paramater && visible) {
175
- el.classList.add('is-focused');
171
+ el.classList.remove("is-focused");
172
+ if (el.id === "tab" + parameter && visible) {
173
+ el.classList.add("is-focused");
176
174
  }
177
175
  ;
178
176
  });
@@ -180,13 +178,13 @@ export class EzTabselector {
180
178
  render() {
181
179
  return (h(Host, null,
182
180
  h("button", { class: "backward-button", ref: (el) => this._backwardButton = el, onClick: () => this.scrollBackward() }),
183
- h("div", { class: "scroll", ref: (el) => this._scrollContainer = el, onScroll: () => this.domScrollHandler(), onKeyDown: (ev) => this.setFoucusedParam(ev) }, this._processedTabs.map((tab, index) => {
184
- const labelStyle = { 'min-width': this.getTextWidth(tab.label) };
181
+ h("div", { class: "scroll", ref: (el) => this._scrollContainer = el, onScroll: () => this.domScrollHandler(), onKeyDown: (ev) => this.setFocusedParam(ev) }, this._processedTabs.map((tab, index) => {
182
+ const labelStyle = { "min-width": this.getTextWidth(tab.label) };
185
183
  const tabId = "tab" + index;
186
- const isSelected = index === parseInt(this.selectedindex) || (this.selectedtab && tab.tabKey === this.selectedtab);
184
+ const isSelected = index === parseInt(this.selectedIndex) || (this.selectedTab && tab.tabKey === this.selectedTab);
187
185
  if (isSelected) {
188
- this.selectedtab = tab.tabKey;
189
- this.selectedindex = index.toString();
186
+ this.selectedTab = tab.tabKey;
187
+ this.selectedIndex = index.toString();
190
188
  }
191
189
  return h("button", { id: tabId, class: `tab${isSelected ? " is-active" : ""}`, onClick: () => this.handleTabClick(tab.tabKey, index), style: labelStyle },
192
190
  h("span", { class: "tab-label", title: tab.label }, tab.label),
@@ -203,7 +201,7 @@ export class EzTabselector {
203
201
  "$": ["ez-tabselector.css"]
204
202
  }; }
205
203
  static get properties() { return {
206
- "selectedindex": {
204
+ "selectedIndex": {
207
205
  "type": "string",
208
206
  "mutable": true,
209
207
  "complexType": {
@@ -215,12 +213,12 @@ export class EzTabselector {
215
213
  "optional": false,
216
214
  "docs": {
217
215
  "tags": [],
218
- "text": ""
216
+ "text": "Define o index da aba selecionada."
219
217
  },
220
- "attribute": "selectedindex",
218
+ "attribute": "selected-index",
221
219
  "reflect": true
222
220
  },
223
- "selectedtab": {
221
+ "selectedTab": {
224
222
  "type": "string",
225
223
  "mutable": true,
226
224
  "complexType": {
@@ -232,9 +230,9 @@ export class EzTabselector {
232
230
  "optional": false,
233
231
  "docs": {
234
232
  "tags": [],
235
- "text": ""
233
+ "text": "Define a aba selecionada."
236
234
  },
237
- "attribute": "selectedtab",
235
+ "attribute": "selected-tab",
238
236
  "reflect": true
239
237
  },
240
238
  "tabs": {
@@ -249,21 +247,21 @@ export class EzTabselector {
249
247
  "optional": false,
250
248
  "docs": {
251
249
  "tags": [],
252
- "text": ""
250
+ "text": "Define o nome das abas do componente, separadas por v\u00EDrgulas \",\"."
253
251
  },
254
252
  "attribute": "tabs",
255
253
  "reflect": false
256
254
  }
257
255
  }; }
258
256
  static get events() { return [{
259
- "method": "change",
260
- "name": "change",
257
+ "method": "ezChange",
258
+ "name": "ezChange",
261
259
  "bubbles": true,
262
260
  "cancelable": true,
263
261
  "composed": true,
264
262
  "docs": {
265
263
  "tags": [],
266
- "text": "Este \u00E9 o evento emitido ao clicar para abrir o popup (onChange)."
264
+ "text": "Evento emitido ao clicar para abrir o popup (onChange)."
267
265
  },
268
266
  "complexType": {
269
267
  "original": "string",
@@ -1,12 +1,18 @@
1
1
  :host {
2
2
  /* dimensions */
3
+ /*@doc Define a largura do componente.*/
3
4
  --ta--width: 100%;
4
5
 
5
6
  /* general */
7
+ /*@doc Define o raio da borda do input do componente.*/
6
8
  --ta--border-radius: var(--border--radius-medium, 12px);
9
+ /*@doc Define o tamanho da fonte do input e label do componente.*/
7
10
  --ta--font-size: var(--text--medium, 14px);
11
+ /*@doc Define a família da fonte do input, label e caixa de mensagem do componente.*/
8
12
  --ta--font-family: var(--font-pattern, Arial);
13
+ /*@doc Define o peso da fonte do label do componente.*/
9
14
  --ta--font-weight: var(--text-weight--large, 500);
15
+ /*@doc Define a cor da fonte do input e label do componente.*/
10
16
  --ta--color: var(--title--primary, #000);
11
17
 
12
18
  /* input */
@@ -6,7 +6,7 @@ export class EzTextArea {
6
6
  */
7
7
  this.enabled = true;
8
8
  /**
9
- * Ajusta o numero de linhas e consequentemente o height do textarea. Valor default: 4
9
+ * Ajusta o número de linhas e consequentemente o height do textarea. Valor default: 4
10
10
  */
11
11
  this.rows = 4;
12
12
  }
@@ -118,7 +118,7 @@ export class EzTextArea {
118
118
  "optional": false,
119
119
  "docs": {
120
120
  "tags": [],
121
- "text": "Label \u00E9 o t\u00EDtulo do campo"
121
+ "text": "T\u00EDtulo do campo"
122
122
  },
123
123
  "attribute": "label",
124
124
  "reflect": true
@@ -204,7 +204,7 @@ export class EzTextArea {
204
204
  "optional": false,
205
205
  "docs": {
206
206
  "tags": [],
207
- "text": "Ajusta o numero de linhas e consequentemente o height do textarea. Valor default: 4"
207
+ "text": "Ajusta o n\u00FAmero de linhas e consequentemente o height do textarea. Valor default: 4"
208
208
  },
209
209
  "attribute": "rows",
210
210
  "reflect": true,
@@ -219,7 +219,7 @@ export class EzTextArea {
219
219
  "composed": true,
220
220
  "docs": {
221
221
  "tags": [],
222
- "text": "Um evento disparado quando o estado do componente \u00E9 alterado (onEzChange)."
222
+ "text": "Evento disparado quando o estado do componente \u00E9 alterado (onEzChange)."
223
223
  },
224
224
  "complexType": {
225
225
  "original": "string",
@@ -1,14 +1,22 @@
1
1
  :host {
2
2
  /* dimensions */
3
+ /*@doc Define a altura do componente.*/
3
4
  --text-input--height: 42px;
5
+ /*@doc Define a largura do componente.*/
4
6
  --text-input--width: 100%;
7
+ /*@doc Define a largura do slot que contém o ícone.*/
5
8
  --text-input__icon--width: 48px;
6
9
 
7
10
  /* general */
11
+ /*@doc Define o raio da borda do input do componente.*/
8
12
  --text-input--border-radius: var(--border--radius-medium, 12px);
13
+ /*@doc Define o tamanho da fonte do input e label do componente.*/
9
14
  --text-input--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
  --text-input--font-family: var(--font-pattern, Arial);
17
+ /*@doc Define o peso da fonte do label do componente.*/
11
18
  --text-input--font-weight: var(--text-weight--large, 500);
19
+ /*@doc Define a cor da fonte do input e label do componente.*/
12
20
  --text-input--color: var(--title--primary, #000);
13
21
 
14
22
  /* input */
@@ -200,7 +200,7 @@ export class EzTextInput {
200
200
  "optional": false,
201
201
  "docs": {
202
202
  "tags": [],
203
- "text": "Label \u00E9 o t\u00EDtulo do campo"
203
+ "text": "T\u00EDtulo do campo"
204
204
  },
205
205
  "attribute": "label",
206
206
  "reflect": true
@@ -286,7 +286,7 @@ export class EzTextInput {
286
286
  "optional": false,
287
287
  "docs": {
288
288
  "tags": [],
289
- "text": "Aplica uma m\u00E1scara no conte\u00FAdo conforme um o padr\u00E3o estabelecido"
289
+ "text": "Aplica uma m\u00E1scara no conte\u00FAdo conforme o padr\u00E3o estabelecido"
290
290
  },
291
291
  "attribute": "mask",
292
292
  "reflect": false
@@ -317,7 +317,7 @@ export class EzTextInput {
317
317
  "composed": true,
318
318
  "docs": {
319
319
  "tags": [],
320
- "text": "Um evento disparado quando o estado do componente \u00E9 alterado (onEzChange)."
320
+ "text": "Evento disparado quando o estado do componente \u00E9 alterado (onEzChange)."
321
321
  },
322
322
  "complexType": {
323
323
  "original": "string",
@@ -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 */
@@ -186,7 +186,7 @@ export class EzTimeInput {
186
186
  "optional": false,
187
187
  "docs": {
188
188
  "tags": [],
189
- "text": "Label \u00E9 o t\u00EDtulo do campo"
189
+ "text": "T\u00EDtulo do campo"
190
190
  },
191
191
  "attribute": "label",
192
192
  "reflect": true
@@ -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 a esquerda do ícone.*/
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": "Label \u00E9 o t\u00EDtulo do campo"
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 do dele\u00E7\u00E3o"
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 sera tr\u00E1fegada entre cliente e servidor"
397
+ "text": "Lista de arquivos que ser\u00E1 trafegada entre cliente e servidor"
398
398
  }
399
399
  }
400
400
  }; }