@sankhyalabs/ezui 1.1.133 → 1.1.136

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 (128) hide show
  1. package/dist/cjs/ez-application.cjs.entry.js +1 -1
  2. package/dist/cjs/ez-button.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-chip.cjs.entry.js +101 -0
  6. package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
  7. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  11. package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
  12. package/dist/cjs/ez-form.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-grid.cjs.entry.js +1 -1
  14. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  15. package/dist/cjs/ez-list.cjs.entry.js +1 -1
  16. package/dist/cjs/ez-modal.cjs.entry.js +1 -1
  17. package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
  18. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  19. package/dist/cjs/ez-popup.cjs.entry.js +1 -1
  20. package/dist/cjs/ez-search.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
  22. package/dist/cjs/ez-text-area.cjs.entry.js +1 -1
  23. package/dist/cjs/ez-text-input.cjs.entry.js +8 -3
  24. package/dist/cjs/ez-time-input.cjs.entry.js +2 -3
  25. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  26. package/dist/cjs/ez-upload.cjs.entry.js +2 -2
  27. package/dist/cjs/ezui.cjs.js +2 -2
  28. package/dist/cjs/grid-config.cjs.entry.js +2 -3
  29. package/dist/cjs/{index-0e284e03.js → index-c15a9551.js} +0 -7
  30. package/dist/cjs/loader.cjs.js +2 -2
  31. package/dist/cjs/select-box.cjs.entry.js +1 -1
  32. package/dist/cjs/test-du.cjs.entry.js +1 -1
  33. package/dist/collection/collection-manifest.json +2 -8
  34. package/dist/collection/components/{ez-label-chip/ez-label-chip.css → ez-chip/ez-chip.css} +85 -68
  35. package/dist/collection/components/{ez-label-chip/ez-label-chip.js → ez-chip/ez-chip.js} +86 -63
  36. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +14 -2
  37. package/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.js +2 -3
  38. package/dist/collection/components/ez-text-input/ez-text-input.js +7 -2
  39. package/dist/collection/components/ez-time-input/ez-time-input.js +1 -2
  40. package/dist/collection/components/ez-upload/ez-upload.css +1 -0
  41. package/dist/custom-elements/index.d.ts +6 -12
  42. package/dist/custom-elements/index.js +112 -153
  43. package/dist/esm/ez-application.entry.js +1 -1
  44. package/dist/esm/ez-button.entry.js +1 -1
  45. package/dist/esm/ez-calendar.entry.js +1 -1
  46. package/dist/esm/ez-check.entry.js +1 -1
  47. package/dist/esm/ez-chip.entry.js +97 -0
  48. package/dist/esm/ez-collapsible-box.entry.js +2 -2
  49. package/dist/esm/ez-combo-box.entry.js +1 -1
  50. package/dist/esm/ez-date-input.entry.js +1 -1
  51. package/dist/esm/ez-date-time-input.entry.js +1 -1
  52. package/dist/esm/ez-dialog.entry.js +1 -1
  53. package/dist/esm/ez-filter-input.entry.js +1 -1
  54. package/dist/esm/ez-form.entry.js +1 -1
  55. package/dist/esm/ez-grid.entry.js +1 -1
  56. package/dist/esm/ez-icon.entry.js +1 -1
  57. package/dist/esm/ez-list.entry.js +1 -1
  58. package/dist/esm/ez-modal.entry.js +1 -1
  59. package/dist/esm/ez-number-input.entry.js +1 -1
  60. package/dist/esm/ez-popover.entry.js +1 -1
  61. package/dist/esm/ez-popup.entry.js +1 -1
  62. package/dist/esm/ez-search.entry.js +1 -1
  63. package/dist/esm/ez-tabselector.entry.js +1 -1
  64. package/dist/esm/ez-text-area.entry.js +1 -1
  65. package/dist/esm/ez-text-input.entry.js +8 -3
  66. package/dist/esm/ez-time-input.entry.js +2 -3
  67. package/dist/esm/ez-toast.entry.js +1 -1
  68. package/dist/esm/ez-upload.entry.js +2 -2
  69. package/dist/esm/ezui.js +2 -2
  70. package/dist/esm/grid-config.entry.js +2 -3
  71. package/dist/esm/{index-bf1aef20.js → index-b21f0a10.js} +1 -6
  72. package/dist/esm/loader.js +2 -2
  73. package/dist/esm/select-box.entry.js +1 -1
  74. package/dist/esm/test-du.entry.js +1 -1
  75. package/dist/ezui/ezui.esm.js +1 -1
  76. package/dist/ezui/{p-6e844308.entry.js → p-097d5dc6.entry.js} +1 -1
  77. package/dist/ezui/{p-5821c335.entry.js → p-0fd2624d.entry.js} +1 -1
  78. package/dist/ezui/{p-60138b72.js → p-139ed2f6.js} +1 -1
  79. package/dist/ezui/p-1587cbbc.entry.js +1 -0
  80. package/dist/ezui/{p-48ba92b2.entry.js → p-18d67107.entry.js} +1 -1
  81. package/dist/ezui/{p-1ced597f.entry.js → p-294de17e.entry.js} +1 -1
  82. package/dist/ezui/{p-66adbed5.entry.js → p-2b017e4c.entry.js} +1 -1
  83. package/dist/ezui/{p-4884b056.entry.js → p-2c4372a4.entry.js} +1 -1
  84. package/dist/ezui/{p-fa9157c1.entry.js → p-317250bc.entry.js} +1 -1
  85. package/dist/ezui/{p-05cca198.entry.js → p-33cb1991.entry.js} +1 -1
  86. package/dist/ezui/{p-dc0aa563.entry.js → p-49f70be3.entry.js} +1 -1
  87. package/dist/ezui/{p-0cb4aec1.entry.js → p-50038ae3.entry.js} +1 -1
  88. package/dist/ezui/{p-ec205792.entry.js → p-53110643.entry.js} +1 -1
  89. package/dist/ezui/{p-80d863c2.entry.js → p-5f2add6f.entry.js} +1 -1
  90. package/dist/ezui/{p-5f725a93.entry.js → p-685a35b3.entry.js} +1 -1
  91. package/dist/ezui/{p-cbfb94cb.entry.js → p-699c31d1.entry.js} +1 -1
  92. package/dist/ezui/{p-4ded39c2.entry.js → p-6c22c9f9.entry.js} +1 -1
  93. package/dist/ezui/{p-5b7405e8.entry.js → p-727a39e5.entry.js} +1 -1
  94. package/dist/ezui/p-793a28cc.entry.js +1 -0
  95. package/dist/ezui/{p-27db8fba.entry.js → p-8cb2c629.entry.js} +1 -1
  96. package/dist/ezui/{p-2d55888f.entry.js → p-94ed1ae6.entry.js} +1 -1
  97. package/dist/ezui/{p-cfa7378a.entry.js → p-a1304302.entry.js} +1 -1
  98. package/dist/ezui/p-b2cc27e5.entry.js +1 -0
  99. package/dist/ezui/{p-5a9ab4f7.entry.js → p-b71d454d.entry.js} +1 -1
  100. package/dist/ezui/{p-593a17e7.entry.js → p-c6c91589.entry.js} +1 -1
  101. package/dist/ezui/p-cabe3671.entry.js +1 -0
  102. package/dist/ezui/{p-a4a21738.entry.js → p-cbb62e2c.entry.js} +1 -1
  103. package/dist/ezui/{p-6aa0c6f1.entry.js → p-dcf5f013.entry.js} +1 -1
  104. package/dist/ezui/p-dd723a09.entry.js +1 -0
  105. package/dist/ezui/{p-d9bb2a96.entry.js → p-ecee9d8d.entry.js} +1 -1
  106. package/dist/types/components/{ez-label-chip/ez-label-chip.d.ts → ez-chip/ez-chip.d.ts} +17 -8
  107. package/dist/types/components/ez-text-input/ez-text-input.d.ts +1 -0
  108. package/dist/types/components.d.ts +73 -95
  109. package/package.json +1 -1
  110. package/react/components.d.ts +1 -2
  111. package/react/components.js +1 -2
  112. package/react/components.js.map +1 -1
  113. package/dist/cjs/AssetsUtils-78164781.js +0 -24
  114. package/dist/cjs/ez-action-chip.cjs.entry.js +0 -27
  115. package/dist/cjs/ez-label-chip.cjs.entry.js +0 -104
  116. package/dist/collection/components/ez-action-chip/ez-action-chip.css +0 -67
  117. package/dist/collection/components/ez-action-chip/ez-action-chip.js +0 -84
  118. package/dist/esm/AssetsUtils-aab9ca8f.js +0 -22
  119. package/dist/esm/ez-action-chip.entry.js +0 -23
  120. package/dist/esm/ez-label-chip.entry.js +0 -100
  121. package/dist/ezui/p-51b878f7.js +0 -1
  122. package/dist/ezui/p-8a0e5e59.entry.js +0 -1
  123. package/dist/ezui/p-bd29c55f.entry.js +0 -1
  124. package/dist/ezui/p-c8f9b691.entry.js +0 -1
  125. package/dist/ezui/p-d5c93280.entry.js +0 -1
  126. package/dist/ezui/p-ed1e0331.entry.js +0 -1
  127. package/dist/ezui/p-ef17f443.entry.js +0 -1
  128. package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +0 -17
@@ -1,14 +1,10 @@
1
1
  import { Component, Prop, h, Method, Watch, Event } from "@stencil/core";
2
- export class EzLabelChip {
2
+ export class EzChip {
3
3
  constructor() {
4
4
  /**
5
5
  * Deixa o componente disponível ou não para seleção.
6
6
  */
7
7
  this.enabled = true;
8
- /**
9
- * Indica se o componente terá a opção de ser removido.
10
- */
11
- this.removable = false;
12
8
  /**
13
9
  * Indica se o componente está ou não ativado.
14
10
  */
@@ -32,28 +28,44 @@ export class EzLabelChip {
32
28
  //---------------------------------------------
33
29
  // Event handlers
34
30
  //---------------------------------------------
31
+ handleSlotChange(ev) {
32
+ const slot = ev.target;
33
+ const content = slot.assignedElements()[0];
34
+ content.style.setProperty("--ez-icon--color", "var(--ez-icon--color)");
35
+ }
36
+ handleValueChange() {
37
+ this.swichState();
38
+ this.valueChange.emit(this.value);
39
+ }
35
40
  handleClick(ev) {
36
41
  const target = ev.target;
37
- if (target.assignedSlot === null && !target.classList.contains("label__icon")) {
38
- this.valueChange.emit(this.value);
39
- this.swichState();
40
- }
42
+ if (!this.enabled)
43
+ return;
44
+ if (this.mode === "action")
45
+ return this.actionClick.emit();
46
+ if (target.tagName.toLowerCase() !== "ez-icon")
47
+ return this.handleValueChange();
48
+ if (target.classList.contains("btn-close"))
49
+ return this.removeChip.emit();
41
50
  }
42
51
  swichState() {
43
52
  if (this.enabled) {
44
53
  this.value = !this.value;
45
54
  }
46
55
  }
47
- reflectChange() {
48
- if (this._divElem) {
49
- this._divElem.classList.remove("label__container--active");
50
- this._divElem.classList.remove("label__container");
51
- if (this.value) {
52
- this._divElem.classList.add("label__container--active");
53
- }
54
- else {
55
- this._divElem.classList.add("label__container");
56
- }
56
+ observeValue() {
57
+ (this.value && this.mode !== "action") ? this._divElem.classList.add("label__container--active") : this._divElem.classList.remove("label__container--active");
58
+ }
59
+ observeEnabled() {
60
+ if (this.enabled) {
61
+ this._divElem.classList.remove("label__container--disabled");
62
+ this._labelElem.classList.remove("lbl--disabled");
63
+ this._labelElem.classList.remove("cursor-disable");
64
+ }
65
+ else {
66
+ this._divElem.classList.add("label__container--disabled");
67
+ this._labelElem.classList.add("lbl--disabled");
68
+ this._labelElem.classList.add("cursor-disable");
57
69
  }
58
70
  }
59
71
  //---------------------------------------------
@@ -61,40 +73,25 @@ export class EzLabelChip {
61
73
  //---------------------------------------------
62
74
  componentDidLoad() {
63
75
  if (this._divElem) {
64
- if (this.value) {
65
- this._divElem.classList.add("label__container--active");
66
- }
67
- else {
68
- this.handleEnabledState();
69
- }
70
- }
71
- }
72
- handleEnabledState() {
73
- this._divElem.classList.remove("label__container--disabled");
74
- if (!this.enabled) {
75
- this._divElem.classList.remove("label__container");
76
- this._divElem.classList.add("label__container--disabled");
77
- if (this._labelElem) {
78
- this._labelElem.style.cursor = "default";
79
- }
76
+ this.observeValue();
77
+ this.observeEnabled();
80
78
  }
81
79
  }
82
80
  render() {
83
- return (h("div", { onClick: (ev) => this.handleClick(ev), class: this.value ? "label__container--active" : "label__container", ref: (el) => this._divElem = el },
84
- h("slot", { name: "leftIcon" }),
85
- h("label", { ref: (el) => this._labelElem = el }, this.label),
86
- this.removable ?
87
- h("button", { class: "btn-close", onClick: () => { this.removeChip.emit(); } })
88
- : null,
89
- h("slot", { name: "rightIcon" })));
81
+ return (h("div", { onClick: (ev) => this.handleClick(ev), class: "label__container" + (this.removePosition === "left" ? " label__container--row-reverse" : ""), ref: (el) => this._divElem = el },
82
+ h("div", { class: "label__content" },
83
+ h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }),
84
+ h("label", { class: "lbl " + (this.value ? "lbl--active " : ""), ref: (el) => this._labelElem = el }, this.label),
85
+ h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } })),
86
+ this.mode !== 'action' && this.removePosition && h("ez-icon", { class: "btn-close", size: "small", "icon-name": "close" })));
90
87
  }
91
- static get is() { return "ez-label-chip"; }
88
+ static get is() { return "ez-chip"; }
92
89
  static get encapsulation() { return "shadow"; }
93
90
  static get originalStyleUrls() { return {
94
- "$": ["ez-label-chip.css"]
91
+ "$": ["ez-chip.css"]
95
92
  }; }
96
93
  static get styleUrls() { return {
97
- "$": ["ez-label-chip.css"]
94
+ "$": ["ez-chip.css"]
98
95
  }; }
99
96
  static get properties() { return {
100
97
  "label": {
@@ -132,23 +129,39 @@ export class EzLabelChip {
132
129
  "reflect": true,
133
130
  "defaultValue": "true"
134
131
  },
135
- "removable": {
136
- "type": "boolean",
132
+ "removePosition": {
133
+ "type": "string",
137
134
  "mutable": false,
138
135
  "complexType": {
139
- "original": "boolean",
140
- "resolved": "boolean",
136
+ "original": "\"left\" | \"right\"",
137
+ "resolved": "\"left\" | \"right\"",
141
138
  "references": {}
142
139
  },
143
140
  "required": false,
144
141
  "optional": false,
145
142
  "docs": {
146
143
  "tags": [],
147
- "text": "Indica se o componente ter\u00E1 a op\u00E7\u00E3o de ser removido."
144
+ "text": "Indica se o componente ter\u00E1 a op\u00E7\u00E3o de ser removido e qual sua posi\u00E7\u00E3o: left ou right."
148
145
  },
149
- "attribute": "removable",
150
- "reflect": true,
151
- "defaultValue": "false"
146
+ "attribute": "remove-position",
147
+ "reflect": true
148
+ },
149
+ "mode": {
150
+ "type": "string",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "\"label\" | \"action\"",
154
+ "resolved": "\"action\" | \"label\"",
155
+ "references": {}
156
+ },
157
+ "required": false,
158
+ "optional": false,
159
+ "docs": {
160
+ "tags": [],
161
+ "text": "Define o modo de uso do cjip: label ou action"
162
+ },
163
+ "attribute": "mode",
164
+ "reflect": true
152
165
  },
153
166
  "value": {
154
167
  "type": "boolean",
@@ -195,14 +208,24 @@ export class EzLabelChip {
195
208
  "text": "Evento disparado ao clicar no bot\u00E3o de remo\u00E7\u00E3o (onRemoveChip)."
196
209
  },
197
210
  "complexType": {
198
- "original": "ClickOptions",
199
- "resolved": "ClickOptions",
200
- "references": {
201
- "ClickOptions": {
202
- "location": "import",
203
- "path": "puppeteer"
204
- }
205
- }
211
+ "original": "void",
212
+ "resolved": "void",
213
+ "references": {}
214
+ }
215
+ }, {
216
+ "method": "actionClick",
217
+ "name": "actionClick",
218
+ "bubbles": true,
219
+ "cancelable": true,
220
+ "composed": true,
221
+ "docs": {
222
+ "tags": [],
223
+ "text": "Evento disparado ao clicar no chip usando o modo \"action\" (onActionClick)."
224
+ },
225
+ "complexType": {
226
+ "original": "void",
227
+ "resolved": "void",
228
+ "references": {}
206
229
  }
207
230
  }]; }
208
231
  static get methods() { return {
@@ -241,9 +264,9 @@ export class EzLabelChip {
241
264
  }; }
242
265
  static get watchers() { return [{
243
266
  "propName": "value",
244
- "methodName": "reflectChange"
267
+ "methodName": "observeValue"
245
268
  }, {
246
269
  "propName": "enabled",
247
- "methodName": "handleEnabledState"
270
+ "methodName": "observeEnabled"
248
271
  }]; }
249
272
  }
@@ -7,6 +7,8 @@
7
7
  --ez-collapsible-box--font-weight: var(--text-weight--large, 600);
8
8
  /*@doc Define a cor da fonte do header.*/
9
9
  --ez-collapsible-box--color: var(--title--primary);
10
+ /*@doc Define a cor do texto e do ícone quando o componente está focado.*/
11
+ --ez-collapsible-box--focus--color: var(--color--primary-600);
10
12
  /*@doc Define a cor do chevron.*/
11
13
  --ez-collapsible-box__icon--color: var(--ez-collapsible-box--color);
12
14
  /*@doc Define o espaçamento superior ao header.*/
@@ -27,6 +29,10 @@
27
29
  width: 100%;
28
30
  }
29
31
 
32
+ ez-icon {
33
+ --ez-icon--color: inherit;
34
+ }
35
+
30
36
  .collapsible-box {
31
37
  /*private*/
32
38
  display: flex;
@@ -61,9 +67,17 @@
61
67
  text-align: left;
62
68
 
63
69
  /*public*/
70
+ color: var(--ez-collapsible-box--color);
71
+ --ez-icon--color: var(--ez-collapsible-box__icon--color);
64
72
  margin-bottom: var(--space--medium, 12px);
65
73
  }
66
74
 
75
+ .collapsible-box__title:focus {
76
+ /*public*/
77
+ color: var(--ez-collapsible-box--focus--color);
78
+ --ez-icon--color: var(--ez-collapsible-box--focus--color);
79
+ }
80
+
67
81
  .collapsible-box__label {
68
82
  /*private*/
69
83
  white-space: nowrap;
@@ -77,7 +91,6 @@
77
91
  font-family: var(--ez-collapsible-box--font-family);
78
92
  font-size: var(--ez-collapsible-box--font-size);
79
93
  font-weight: var(--ez-collapsible-box--font-weight);
80
- color: var(--ez-collapsible-box--color);
81
94
  }
82
95
 
83
96
  .collapsible-box__icon {
@@ -86,7 +99,6 @@
86
99
 
87
100
  /*public*/
88
101
  transition: transform var(--transition);
89
- --ez-icon--color: var(--ez-collapsible-box__icon--color, --ez-collapsible-box--color);
90
102
  }
91
103
 
92
104
  .collapsible-box__icon--collapsed {
@@ -1,6 +1,5 @@
1
1
  import { StringUtils } from '@sankhyalabs/core';
2
2
  import { Component, Event, h, Host, Prop } from '@stencil/core';
3
- import { getSpritePath } from '../../../../utils/AssetsUtils';
4
3
  import ApplicationUtils from '../../../../utils/ApplicationUtils';
5
4
  export class GridConfig {
6
5
  constructor() {
@@ -425,12 +424,12 @@ export class GridConfig {
425
424
  h("label", { class: "title" }, "Configura\u00E7\u00E3o da Grade"),
426
425
  h("label", { class: "subtitle" }, "Defina visibilidade e ordem das colunas.")),
427
426
  h("div", { class: "button-close" },
428
- h("ez-button", { mode: 'icon', image: getSpritePath("close"), size: 'medium', onClick: () => this.closeConfig() }))),
427
+ h("ez-button", { mode: 'icon', iconName: "close", size: 'medium', onClick: () => this.closeConfig() }))),
429
428
  h("div", { class: "tabselector-container" },
430
429
  h("ez-tabselector", { selectedTab: this.selectedTab, selectedIndex: 0, onEzChange: (ev) => { this.handleTabChange(ev); }, tabs: 'Colunas, Ordena\u00E7\u00E3o das linhas' })),
431
430
  h("div", null,
432
431
  h("ez-text-input", { ref: (el) => this._searchElement = el, label: "Localizar coluna", onKeyUp: evt => this.locateColumn(evt) },
433
- h("ez-icon", { slot: "leftIcon", size: "medium", href: getSpritePath("search") })))),
432
+ h("ez-icon", { slot: "leftIcon", size: "medium", iconName: "search" })))),
434
433
  h("div", { class: "grid-config__main" },
435
434
  h("ez-list", { ref: (el) => this._columnList = el, class: this.selectedTab === "Colunas" ? "" : "hidden", dataSource: this._columListItems, onEzChange: ev => this.handleColumnListChange(ev), ezDraggable: true, ezSelectable: true, itemSlotBuilder: (item, group) => this.buildColumnListSlot(item, group), useGroups: true }),
436
435
  h("div", { class: this.selectedTab === "Ordenação das linhas" ? "group-name" : "hidden" }, "Sequ\u00EAncia da ordena\u00E7\u00E3o"),
@@ -98,7 +98,7 @@ export class EzTextInput {
98
98
  this.errorMessage = e.message;
99
99
  }
100
100
  }
101
- this.value = this._inputElem.value;
101
+ this.canChangeValue();
102
102
  this.adjustFloatingLabel();
103
103
  }
104
104
  isValidValue(value) {
@@ -107,6 +107,11 @@ export class EzTextInput {
107
107
  }
108
108
  return true;
109
109
  }
110
+ canChangeValue() {
111
+ if ((this.value || '') !== this._inputElem.value) {
112
+ this.value = this._inputElem.value;
113
+ }
114
+ }
110
115
  handleChange() {
111
116
  if (!this._inputElem) {
112
117
  return;
@@ -118,7 +123,7 @@ export class EzTextInput {
118
123
  else {
119
124
  this._inputElem.value = this._lastValidValue === undefined ? "" : this._lastValidValue;
120
125
  }
121
- this.value = this._inputElem.value;
126
+ this.canChangeValue();
122
127
  }
123
128
  handleSlotChange(ev) {
124
129
  const slot = ev.target;
@@ -1,7 +1,6 @@
1
1
  import { Element, Component, Prop, h, Watch, Host, Method } from "@stencil/core";
2
2
  import { TimeFormatter, MaskFormatter, NumberUtils } from "@sankhyalabs/core";
3
3
  import CSSVarsUtils from "../../utils/CSSVarsUtils";
4
- import { getSpritePath } from "../../utils/AssetsUtils";
5
4
  export class EzTimeInput {
6
5
  constructor() {
7
6
  /**
@@ -103,7 +102,7 @@ export class EzTimeInput {
103
102
  render() {
104
103
  return (h(Host, null,
105
104
  h("ez-text-input", { ref: (el) => this._inputElem = el, value: this.viewValue, enabled: this.enabled, label: this.label, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); }, errorMessage: this.errorMessage, mode: this.mode },
106
- h("ez-icon", { slot: "leftIcon", href: getSpritePath("timer-outline") }))));
105
+ h("ez-icon", { slot: "leftIcon", iconName: "timer-outline" }))));
107
106
  }
108
107
  static get is() { return "ez-time-input"; }
109
108
  static get encapsulation() { return "shadow"; }
@@ -51,6 +51,7 @@
51
51
  display: flex;
52
52
  flex-wrap: wrap;
53
53
  position: relative;
54
+ padding-bottom: 16px;
54
55
 
55
56
  /*public*/
56
57
  font-family: var(--ez-upload--font-family);
@@ -2,12 +2,6 @@
2
2
 
3
3
  import type { Components, JSX } from "../types/components";
4
4
 
5
- interface EzActionChip extends Components.EzActionChip, HTMLElement {}
6
- export const EzActionChip: {
7
- prototype: EzActionChip;
8
- new (): EzActionChip;
9
- };
10
-
11
5
  interface EzApplication extends Components.EzApplication, HTMLElement {}
12
6
  export const EzApplication: {
13
7
  prototype: EzApplication;
@@ -32,6 +26,12 @@ export const EzCheck: {
32
26
  new (): EzCheck;
33
27
  };
34
28
 
29
+ interface EzChip extends Components.EzChip, HTMLElement {}
30
+ export const EzChip: {
31
+ prototype: EzChip;
32
+ new (): EzChip;
33
+ };
34
+
35
35
  interface EzCollapsibleBox extends Components.EzCollapsibleBox, HTMLElement {}
36
36
  export const EzCollapsibleBox: {
37
37
  prototype: EzCollapsibleBox;
@@ -86,12 +86,6 @@ export const EzIcon: {
86
86
  new (): EzIcon;
87
87
  };
88
88
 
89
- interface EzLabelChip extends Components.EzLabelChip, HTMLElement {}
90
- export const EzLabelChip: {
91
- prototype: EzLabelChip;
92
- new (): EzLabelChip;
93
- };
94
-
95
89
  interface EzList extends Components.EzList, HTMLElement {}
96
90
  export const EzList: {
97
91
  prototype: EzList;