@sankhyalabs/ezui 1.1.76 → 1.1.79

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 (221) hide show
  1. package/dist/cjs/AssetsUtils-02db4f46.js +24 -0
  2. package/dist/cjs/CSSVarsUtils-66e86394.js +18 -0
  3. package/dist/cjs/DateUtils-716769e0.js +46 -0
  4. package/dist/cjs/ez-action-chip.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-application.cjs.entry.js +26 -0
  6. package/dist/cjs/ez-button_3.cjs.entry.js +520 -0
  7. package/dist/cjs/ez-calendar_13.cjs.entry.js +2417 -0
  8. package/dist/cjs/ez-date-time-input.cjs.entry.js +133 -0
  9. package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
  10. package/dist/cjs/ez-grid.cjs.entry.js +110375 -0
  11. package/dist/cjs/ez-icon.cjs.entry.js +30 -0
  12. package/dist/cjs/ez-label-chip.cjs.entry.js +1 -1
  13. package/dist/cjs/ez-modal_2.cjs.entry.js +370 -0
  14. package/dist/cjs/ez-popover.cjs.entry.js +3 -3
  15. package/dist/cjs/ez-popup.cjs.entry.js +2 -2
  16. package/dist/cjs/ez-time-input.cjs.entry.js +10 -28
  17. package/dist/cjs/ez-toast.cjs.entry.js +1 -1
  18. package/dist/cjs/ezui.cjs.js +3 -3
  19. package/dist/cjs/{index-9431aeeb.js → index-2003dec4.js} +1 -15
  20. package/dist/cjs/index-a2266984.js +7417 -0
  21. package/dist/cjs/loader.cjs.js +3 -3
  22. package/dist/collection/collection-manifest.json +8 -5
  23. package/dist/collection/components/ez-application/ez-application.css +3 -0
  24. package/dist/collection/components/ez-application/ez-application.js +35 -0
  25. package/dist/collection/components/ez-button/ez-button.css +16 -1
  26. package/dist/collection/components/ez-button/ez-button.js +27 -2
  27. package/dist/collection/components/ez-calendar/ez-calendar.css +70 -3
  28. package/dist/collection/components/ez-calendar/ez-calendar.js +173 -24
  29. package/dist/collection/components/ez-check/ez-check.css +78 -78
  30. package/dist/collection/components/ez-check/ez-check.js +3 -3
  31. package/dist/collection/components/ez-combo-box/ez-combo-box.css +65 -54
  32. package/dist/collection/components/ez-combo-box/ez-combo-box.js +5 -0
  33. package/dist/collection/components/ez-date-input/ez-date-input.css +2 -2
  34. package/dist/collection/components/ez-date-input/ez-date-input.js +1 -1
  35. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +44 -0
  36. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +243 -0
  37. package/dist/collection/components/ez-form/DataBinder.js +44 -0
  38. package/dist/collection/components/ez-form/ez-form.css +1 -15
  39. package/dist/collection/components/ez-form/ez-form.js +109 -428
  40. package/dist/collection/components/ez-form/fieldbuilder/FieldBuilder.js +45 -0
  41. package/dist/collection/components/ez-form/fieldbuilder/tpl/CheckBox.tpl.js +11 -0
  42. package/dist/collection/components/ez-form/fieldbuilder/tpl/ComboBox.tpl.js +14 -0
  43. package/dist/collection/components/ez-form/fieldbuilder/tpl/DateInput.tpl.js +5 -0
  44. package/dist/collection/components/ez-form/fieldbuilder/tpl/FileInput.tpl.js +5 -0
  45. package/dist/collection/components/ez-form/fieldbuilder/tpl/NumberInput.tpl.js +13 -0
  46. package/dist/collection/components/ez-form/fieldbuilder/tpl/SearchInput.tpl.js +5 -0
  47. package/dist/collection/components/ez-form/fieldbuilder/tpl/TextArea.tpl.js +5 -0
  48. package/dist/collection/components/ez-form/fieldbuilder/tpl/TextInput.tpl.js +5 -0
  49. package/dist/collection/components/ez-form/store/form.slice.js +38 -0
  50. package/dist/collection/components/ez-form/structure/FormItem.js +11 -0
  51. package/dist/collection/components/ez-form/structure/FormSheet.js +5 -0
  52. package/dist/collection/components/ez-form/structure/FormSheetMetadata.js +86 -0
  53. package/dist/collection/components/ez-grid/controller/DataUnitBridge.js +21 -0
  54. package/dist/collection/components/ez-grid/controller/EzGridController.js +1 -0
  55. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +203 -0
  56. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +41 -0
  57. package/dist/collection/components/ez-grid/controller/ag-grid/i18n/pt-BR.js +75 -0
  58. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js +69 -0
  59. package/dist/collection/components/ez-grid/controller/ag-grid/template/HeaderColumnTemplate.js +12 -0
  60. package/dist/collection/components/ez-grid/ez-grid.css +15 -0
  61. package/dist/collection/components/ez-grid/ez-grid.js +414 -0
  62. package/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.css +105 -0
  63. package/dist/collection/components/ez-grid/subcomponents/gridconfig/grid-config.js +354 -0
  64. package/dist/collection/components/ez-grid/subcomponents/select-box/select-box.css +7 -0
  65. package/dist/collection/components/ez-grid/subcomponents/select-box/select-box.js +66 -0
  66. package/dist/collection/components/ez-icon/ez-icon.css +1 -1
  67. package/dist/collection/components/ez-list/ez-list.css +227 -44
  68. package/dist/collection/components/ez-list/ez-list.js +529 -149
  69. package/dist/collection/components/ez-modal/ez-modal.css +4 -4
  70. package/dist/collection/components/ez-modal/ez-modal.js +1 -1
  71. package/dist/collection/components/ez-number-input/ez-number-input.css +1 -165
  72. package/dist/collection/components/ez-number-input/ez-number-input.js +53 -339
  73. package/dist/collection/components/ez-popover/ez-popover.css +10 -6
  74. package/dist/collection/components/ez-popup/ez-popup.css +25 -27
  75. package/dist/collection/components/ez-search/ez-search.js +6 -1
  76. package/dist/collection/components/ez-tabselector/ez-tabselector.css +0 -1
  77. package/dist/collection/components/ez-tabselector/ez-tabselector.js +3 -3
  78. package/dist/collection/components/ez-text-area/ez-text-area.js +1 -0
  79. package/dist/collection/components/ez-text-input/ez-text-input.js +1 -0
  80. package/dist/collection/components/ez-upload/ez-upload.js +3 -3
  81. package/dist/collection/components/test-du/test-du.css +3 -0
  82. package/dist/collection/components/test-du/test-du.js +87 -0
  83. package/dist/collection/servidor.js +94 -94
  84. package/dist/collection/utils/{Application.js → ApplicationUtils.js} +4 -4
  85. package/dist/collection/utils/CSSVarsUtils.js +6 -6
  86. package/dist/custom-elements/index.d.ts +32 -14
  87. package/dist/custom-elements/index.js +119419 -3209
  88. package/dist/esm/AssetsUtils-76ca41e1.js +22 -0
  89. package/dist/esm/CSSVarsUtils-aeee9825.js +16 -0
  90. package/dist/esm/DateUtils-0a1bbd7a.js +44 -0
  91. package/dist/esm/ez-action-chip.entry.js +1 -1
  92. package/dist/esm/ez-application.entry.js +22 -0
  93. package/dist/esm/ez-button_3.entry.js +514 -0
  94. package/dist/esm/ez-calendar_13.entry.js +2401 -0
  95. package/dist/esm/ez-date-time-input.entry.js +129 -0
  96. package/dist/esm/ez-dialog.entry.js +1 -1
  97. package/dist/esm/ez-grid.entry.js +110371 -0
  98. package/dist/esm/ez-icon.entry.js +26 -0
  99. package/dist/esm/ez-label-chip.entry.js +1 -1
  100. package/dist/esm/ez-modal_2.entry.js +365 -0
  101. package/dist/esm/ez-popover.entry.js +3 -3
  102. package/dist/esm/ez-popup.entry.js +2 -2
  103. package/dist/esm/ez-time-input.entry.js +4 -22
  104. package/dist/esm/ez-toast.entry.js +1 -1
  105. package/dist/esm/ezui.js +3 -3
  106. package/dist/esm/{index-fd3c8023.js → index-077c7fcf.js} +1 -15
  107. package/dist/esm/index-afe19542.js +7410 -0
  108. package/dist/esm/loader.js +3 -3
  109. package/dist/ezui/ezui.esm.js +1 -1
  110. package/dist/ezui/p-00b837e2.js +1 -0
  111. package/dist/ezui/{p-a0b6eee2.entry.js → p-0a2056d9.entry.js} +1 -1
  112. package/dist/ezui/p-0d8368fc.entry.js +1 -0
  113. package/dist/ezui/p-1e36e3ff.entry.js +1 -0
  114. package/dist/ezui/p-446ec85b.js +1 -0
  115. package/dist/ezui/p-5509ee41.entry.js +369 -0
  116. package/dist/ezui/{p-d443f020.entry.js → p-57ea4b84.entry.js} +1 -1
  117. package/dist/ezui/{p-66954a04.entry.js → p-6d157776.entry.js} +1 -1
  118. package/dist/ezui/p-7a1f2e0e.entry.js +1 -0
  119. package/dist/ezui/p-7de3c95d.js +1 -0
  120. package/dist/ezui/p-857ead8e.entry.js +1 -0
  121. package/dist/ezui/p-8b099482.js +1 -0
  122. package/dist/ezui/p-920bb8c9.entry.js +1 -0
  123. package/dist/ezui/p-9be02ecf.entry.js +1 -0
  124. package/dist/ezui/p-a4a39579.entry.js +1 -0
  125. package/dist/ezui/p-c89629eb.js +1 -0
  126. package/dist/ezui/p-d5699f29.entry.js +1 -0
  127. package/dist/ezui/p-d64a3939.entry.js +1 -0
  128. package/dist/ezui/{p-823ff0a0.entry.js → p-da31cd21.entry.js} +1 -1
  129. package/dist/types/components/ez-application/ez-application.d.ts +10 -0
  130. package/dist/types/components/ez-button/ez-button.d.ts +5 -0
  131. package/dist/types/components/ez-calendar/ez-calendar.d.ts +21 -0
  132. package/dist/types/components/ez-check/ez-check.d.ts +1 -1
  133. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +1 -0
  134. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +42 -0
  135. package/dist/types/components/ez-form/DataBinder.d.ts +10 -0
  136. package/dist/types/components/ez-form/ez-form.d.ts +24 -32
  137. package/dist/types/components/ez-form/fieldbuilder/FieldBuilder.d.ts +2 -0
  138. package/dist/types/components/ez-form/fieldbuilder/tpl/CheckBox.tpl.d.ts +3 -0
  139. package/dist/types/components/ez-form/fieldbuilder/tpl/ComboBox.tpl.d.ts +4 -0
  140. package/dist/types/components/ez-form/fieldbuilder/tpl/DateInput.tpl.d.ts +4 -0
  141. package/dist/types/components/ez-form/fieldbuilder/tpl/FileInput.tpl.d.ts +4 -0
  142. package/dist/types/components/ez-form/fieldbuilder/tpl/NumberInput.tpl.d.ts +8 -0
  143. package/dist/types/components/ez-form/fieldbuilder/tpl/SearchInput.tpl.d.ts +4 -0
  144. package/dist/types/components/ez-form/fieldbuilder/tpl/TextArea.tpl.d.ts +4 -0
  145. package/dist/types/components/ez-form/fieldbuilder/tpl/TextInput.tpl.d.ts +4 -0
  146. package/dist/types/components/ez-form/store/form.slice.d.ts +24 -0
  147. package/dist/types/components/ez-form/structure/FormItem.d.ts +9 -0
  148. package/dist/types/components/ez-form/structure/FormSheet.d.ts +9 -0
  149. package/dist/types/components/ez-form/structure/FormSheetMetadata.d.ts +27 -0
  150. package/dist/types/components/ez-grid/controller/DataUnitBridge.d.ts +8 -0
  151. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +195 -0
  152. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +34 -0
  153. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +11 -0
  154. package/dist/types/components/ez-grid/controller/ag-grid/i18n/pt-BR.d.ts +2 -0
  155. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +8 -0
  156. package/dist/types/components/ez-grid/ez-grid.d.ts +78 -0
  157. package/dist/types/components/ez-grid/subcomponents/gridconfig/grid-config.d.ts +30 -0
  158. package/dist/types/components/ez-grid/subcomponents/select-box/select-box.d.ts +9 -0
  159. package/dist/types/components/ez-list/ez-list.d.ts +70 -17
  160. package/dist/types/components/ez-number-input/ez-number-input.d.ts +29 -63
  161. package/dist/types/components/ez-search/ez-search.d.ts +2 -0
  162. package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +1 -1
  163. package/dist/types/components/test-du/test-du.d.ts +12 -0
  164. package/dist/types/components.d.ts +271 -175
  165. package/dist/types/stencil-public-runtime.d.ts +6 -4
  166. package/dist/types/utils/{Application.d.ts → ApplicationUtils.d.ts} +1 -1
  167. package/dist/types/utils/CSSVarsUtils.d.ts +1 -1
  168. package/package.json +10 -8
  169. package/react/components.d.ts +6 -3
  170. package/react/components.js +6 -3
  171. package/react/components.js.map +1 -1
  172. package/dist/cjs/CSSVarsUtils-f8827674.js +0 -18
  173. package/dist/cjs/RequestMetadata-2cd01e8a.js +0 -531
  174. package/dist/cjs/ez-button_16.cjs.entry.js +0 -4079
  175. package/dist/cjs/ez-list.cjs.entry.js +0 -174
  176. package/dist/cjs/ez-modal.cjs.entry.js +0 -65
  177. package/dist/cjs/ez-number-input.cjs.entry.js +0 -250
  178. package/dist/collection/components/ez-form/assets/trash-can-outline.svg +0 -3
  179. package/dist/collection/components/ez-form/store/Form.actions.js +0 -132
  180. package/dist/collection/components/ez-form/store/Form.reducer.js +0 -194
  181. package/dist/collection/components/ez-form/store/Form.selectors.js +0 -44
  182. package/dist/collection/components/ez-form/subcomponents/DataUnit.js +0 -301
  183. package/dist/collection/components/ez-form/subcomponents/FormMetadata.js +0 -8
  184. package/dist/collection/components/ez-form/subcomponents/css/place-holder.css +0 -24
  185. package/dist/collection/components/ez-form/subcomponents/form-metadata.js +0 -227
  186. package/dist/collection/components/ez-form/subcomponents/place-holder.js +0 -14
  187. package/dist/collection/components/ez-form/subcomponents/structure/Field.js +0 -95
  188. package/dist/collection/components/ez-form/subcomponents/structure/FieldSet.js +0 -27
  189. package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +0 -41
  190. package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +0 -37
  191. package/dist/collection/components/ez-numeric-input/ez-numeric-input.css +0 -13
  192. package/dist/collection/components/ez-numeric-input/ez-numeric-input.js +0 -185
  193. package/dist/esm/CSSVarsUtils-e0128b01.js +0 -16
  194. package/dist/esm/RequestMetadata-c265c9d5.js +0 -527
  195. package/dist/esm/ez-button_16.entry.js +0 -4060
  196. package/dist/esm/ez-list.entry.js +0 -170
  197. package/dist/esm/ez-modal.entry.js +0 -61
  198. package/dist/esm/ez-number-input.entry.js +0 -246
  199. package/dist/ezui/assets/trash-can-outline.svg +0 -3
  200. package/dist/ezui/p-11ae4ae7.entry.js +0 -1
  201. package/dist/ezui/p-47fa3d6c.entry.js +0 -1
  202. package/dist/ezui/p-8ab6168f.entry.js +0 -1
  203. package/dist/ezui/p-9c1fb51c.entry.js +0 -1
  204. package/dist/ezui/p-9d85125b.entry.js +0 -1
  205. package/dist/ezui/p-9dfccb16.js +0 -1
  206. package/dist/ezui/p-a7b546b2.entry.js +0 -1
  207. package/dist/ezui/p-c833c94f.entry.js +0 -1
  208. package/dist/ezui/p-d1889704.js +0 -1
  209. package/dist/ezui/p-e0ab3746.js +0 -1
  210. package/dist/types/components/ez-form/store/Form.actions.d.ts +0 -111
  211. package/dist/types/components/ez-form/store/Form.reducer.d.ts +0 -20
  212. package/dist/types/components/ez-form/store/Form.selectors.d.ts +0 -14
  213. package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +0 -91
  214. package/dist/types/components/ez-form/subcomponents/FormMetadata.d.ts +0 -24
  215. package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +0 -16
  216. package/dist/types/components/ez-form/subcomponents/place-holder.d.ts +0 -3
  217. package/dist/types/components/ez-form/subcomponents/structure/Field.d.ts +0 -11
  218. package/dist/types/components/ez-form/subcomponents/structure/FieldSet.d.ts +0 -13
  219. package/dist/types/components/ez-form/subcomponents/structure/FormSheet.d.ts +0 -14
  220. package/dist/types/components/ez-form/subcomponents/structure/NavigationBar.d.ts +0 -19
  221. package/dist/types/components/ez-numeric-input/ez-numeric-input.d.ts +0 -45
@@ -5,96 +5,96 @@
5
5
  ***************/
6
6
  /*dimensions */
7
7
  /*@doc Define a largura do box do checkbox.*/
8
- --check--box--width: 18px;
8
+ --ez-check--box--width: 18px;
9
9
  /*@doc Define a altura do box do checkbox.*/
10
- --check--box--height: 18px;
10
+ --ez-check--box--height: 18px;
11
11
  /*@doc Define a largura do input do checkbox.*/
12
- --check--width: calc(var(--check--box--width) + 14px);
12
+ --ez-check--width: calc(var(--ez-check--box--width) + 14px);
13
13
  /*@doc Define a altura do input do checkbox */
14
- --check--height: calc(var(--check--box--width) + 14px);
14
+ --ez-check--height: calc(var(--ez-check--box--width) + 14px);
15
15
 
16
16
  /*general*/
17
17
  /*@doc Define o raio da borda do input do checkbox.*/
18
- --check--border-radius: var(--border--radius-small);
18
+ --ez-check--border-radius: var(--border--radius-small);
19
19
 
20
20
  /*box*/
21
21
  /*@doc Define a cor de fundo do input do checkbox quando marcado.*/
22
- --check--checked--background-color: var(--color--primary-200);
22
+ --ez-check--checked--background-color: var(--color--primary-200);
23
23
  /*@doc Define a cor de fundo do input do checkbox quando focado.*/
24
- --check--focus--background-color: var(--color--strokes, #FFFFFF);
24
+ --ez-check--focus--background-color: var(--color--strokes, #FFFFFF);
25
25
  /*@doc Define a cor de fundo do input do checkbox quando o cursor está sobre ele.*/
26
- --check--hover--background-color: var(--background--medium);
26
+ --ez-check--hover--background-color: var(--background--medium);
27
27
  /*@doc Define a cor de fundo do input do checkbox quando marcado e desabilitado.*/
28
- --check--checked--disabled--background-color: var(--color--disable-secondary);
28
+ --ez-check--checked--disabled--background-color: var(--color--disable-secondary);
29
29
 
30
30
  /*@doc Define o estilo da borda do input do checkbox.*/
31
- --check--border: var(--border--medium) var(--title--primary);
31
+ --ez-check--border: var(--border--medium) var(--title--primary);
32
32
  /*@doc Define o estilo da borda do input do checkbox quando desabilitado.*/
33
- --check--disabled--border: var(--border--medium) var(--color--strokes);
33
+ --ez-check--disabled--border: var(--border--medium) var(--color--strokes);
34
34
  /*@doc Define o estilo da borda do input do checkbox quando marcado.*/
35
- --check--checked--border: var(--border--medium) var(--color--primary);
35
+ --ez-check--checked--border: var(--border--medium) var(--color--primary);
36
36
 
37
37
 
38
38
  /*@doc Define a cor de fundo do input do checkbox quando ativo e com o cursor sobre ele.*/
39
- --check--checked--hover--background-color: var(--color--primary-200);
39
+ --ez-check--checked--hover--background-color: var(--color--primary-200);
40
40
  /*@doc Define a cor de fundo do input do checkbox quando ativo e focado.*/
41
- --check--checked--focus--background-color: var(--color--primary-300, #FFFFFF);
41
+ --ez-check--checked--focus--background-color: var(--color--primary-300, #FFFFFF);
42
42
 
43
43
  /*check*/
44
44
  /*@doc Contém o ícone do input marcado.*/
45
- --check--check--image: url('data:image/svg+xml;utf8,<svg width="8" height="7" viewBox="0 0 8 7" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M7.70002 0.398999L7.48502 0.207997C7.31524 0.0598858 7.09376 -0.0150438 6.86894 -0.000430025C6.64411 0.0141838 6.43419 0.117153 6.28502 0.285997L2.70002 4.332L1.61802 3.384C1.44837 3.23576 1.22697 3.16067 1.00214 3.17509C0.77732 3.18952 0.567332 3.2923 0.418019 3.461L0.229019 3.674C0.0752361 3.84797 -0.00437434 4.07521 0.00721192 4.30713C0.0187982 4.53904 0.120661 4.75722 0.291019 4.915L2.27402 6.762C2.35832 6.8432 2.45842 6.90618 2.56811 6.94702C2.67779 6.98787 2.79471 7.00571 2.91159 6.99942C3.02846 6.99314 3.14279 6.96287 3.24747 6.91049C3.35214 6.85812 3.44492 6.78477 3.52002 6.695L7.79102 1.638C7.94063 1.46048 8.01486 1.23149 7.99786 0.999963C7.98085 0.768436 7.87396 0.552749 7.70002 0.398999Z"/></svg>');
45
+ --ez-check--check--image: url('data:image/svg+xml;utf8,<svg width="8" height="7" viewBox="0 0 8 7" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M7.70002 0.398999L7.48502 0.207997C7.31524 0.0598858 7.09376 -0.0150438 6.86894 -0.000430025C6.64411 0.0141838 6.43419 0.117153 6.28502 0.285997L2.70002 4.332L1.61802 3.384C1.44837 3.23576 1.22697 3.16067 1.00214 3.17509C0.77732 3.18952 0.567332 3.2923 0.418019 3.461L0.229019 3.674C0.0752361 3.84797 -0.00437434 4.07521 0.00721192 4.30713C0.0187982 4.53904 0.120661 4.75722 0.291019 4.915L2.27402 6.762C2.35832 6.8432 2.45842 6.90618 2.56811 6.94702C2.67779 6.98787 2.79471 7.00571 2.91159 6.99942C3.02846 6.99314 3.14279 6.96287 3.24747 6.91049C3.35214 6.85812 3.44492 6.78477 3.52002 6.695L7.79102 1.638C7.94063 1.46048 8.01486 1.23149 7.99786 0.999963C7.98085 0.768436 7.87396 0.552749 7.70002 0.398999Z"/></svg>');
46
46
  /*@doc Define a cor de fundo do slot do ícone quando marcado.*/
47
- --check--check--background-color: var(--color--primary);
47
+ --ez-check--check--background-color: var(--color--primary);
48
48
  /*@doc Define a cor de fundo do slot do ícone quando marcado e desabilitado.*/
49
- --check--check--disabled--background-color: var(--color--strokes);
49
+ --ez-check--check--disabled--background-color: var(--color--strokes);
50
50
 
51
51
  /***************
52
52
  Switch mode
53
53
  ***************/
54
54
  /*dimensions */
55
55
  /*@doc Define a largura do slider do checkbox.*/
56
- --switch--slider--width: 34px;
56
+ --ez-switch--slider--width: 34px;
57
57
  /*@doc Define a altura do slider do checkbox.*/
58
- --switch--slider--height: 14px;
58
+ --ez-switch--slider--height: 14px;
59
59
  /*@doc Define a largura do pino do slider do checkbox.*/
60
- --switch--pin--width: 20px;
60
+ --ez-switch--pin--width: 20px;
61
61
  /*@doc Define a altura do pino do slider do checkbox.*/
62
- --switch--pin--height: 20px;
62
+ --ez-switch--pin--height: 20px;
63
63
  /*@doc Define a largura do slider quando focado.*/
64
- --switch--focus--width: 32px;
64
+ --ez-switch--focus--width: 32px;
65
65
  /*@doc Define a altura do slider quando focado.*/
66
- --switch--focus--height: 32px;
66
+ --ez-switch--focus--height: 32px;
67
67
 
68
68
  /*background*/
69
69
  /*@doc Define a cor de fundo do checkbox no modo switch.*/
70
- --switch--background-color: var(--color--strokes);
70
+ --ez-switch--background-color: var(--color--strokes);
71
71
  /*@doc Define a cor de fundo do checkbox desabilitado no modo switch.*/
72
- --switch--disabled--background-color: var(--color--disable-secondary);
72
+ --ez-switch--disabled--background-color: var(--color--disable-secondary);
73
73
  /*@doc Define a cor de fundo do checkbox marcado no modo switch.*/
74
- --switch--checked--background-color: var(--color--primary-300);
74
+ --ez-switch--checked--background-color: var(--color--primary-300);
75
75
 
76
76
  /*pin*/
77
77
  /*@doc Define a cor de fundo do pino do slider. */
78
- --switch--pin--background-color: var(--background--xlight);
78
+ --ez-switch--pin--background-color: var(--background--xlight);
79
79
  /*@doc Define a cor de fundo do pino do slider quando desabilitado. */
80
- --switch--pin--disabled--background-color: var(--color--disable-secondary);
80
+ --ez-switch--pin--disabled--background-color: var(--color--disable-secondary);
81
81
  /*@doc Define a cor de fundo do pino do slider quando marcado. */
82
- --switch--pin--checked--background-color: var(--color--primary);
82
+ --ez-switch--pin--checked--background-color: var(--color--primary);
83
83
  /*@doc Define a cor de fundo do pino do slider quando marcado e desabilitado1. */
84
- --switch--pin--checked--disabled--background-color: #E8F7F4;
84
+ --ez-switch--pin--checked--disabled--background-color: #E8F7F4;
85
85
  /*@doc Define a cor de fundo do pino do slider quando focado. */
86
- --switch--pin--focus--background-color: var(--text--disable);
86
+ --ez-switch--pin--focus--background-color: var(--text--disable);
87
87
  /*@doc Define a cor de fundo do pino do slider quando marcado e focado. */
88
- --switch--pin--checked--focus--background-color: var(--color--primary);
88
+ --ez-switch--pin--checked--focus--background-color: var(--color--primary);
89
89
 
90
90
  /*@doc Define o tamanho da fonte do label.*/
91
- --check--label--font-size: var(--text--medium, 14px);
91
+ --ez-check--label--font-size: var(--text--medium, 14px);
92
92
  /*@doc Define a família da fonte do label.*/
93
- --check--label--font-family: var(--font-pattern, Arial);
93
+ --ez-check--label--font-family: var(--font-pattern, Arial);
94
94
  /*@doc Define a cor da fonte do label.*/
95
- --check--label--color: var(--title--primary, #000);
95
+ --ez-check--label--color: var(--title--primary, #000);
96
96
  /*@doc Define a cor da fonte do label quando desabilitado.*/
97
- --check--label--disabled--color: var(--text--disable, #AFB6C0);
97
+ --ez-check--label--disabled--color: var(--text--disable, #AFB6C0);
98
98
 
99
99
  /***************
100
100
  host style
@@ -123,14 +123,14 @@ input.regularMode {
123
123
 
124
124
 
125
125
  /*public*/
126
- width: var(--check--width);
127
- height: var(--check--height);
126
+ width: var(--ez-check--width);
127
+ height: var(--ez-check--height);
128
128
  }
129
129
 
130
130
 
131
131
  input.regularMode:enabled:hover {
132
132
  /*public*/
133
- background-color: var(--check--hover--background-color);
133
+ background-color: var(--ez-check--hover--background-color);
134
134
  }
135
135
 
136
136
  input.regularMode:enabled:focus {
@@ -138,7 +138,7 @@ input.regularMode:enabled:focus {
138
138
  outline: none;
139
139
 
140
140
  /*public*/
141
- background-color: var(--check--focus--background-color);
141
+ background-color: var(--ez-check--focus--background-color);
142
142
  }
143
143
 
144
144
  input.regularMode:disabled {
@@ -154,38 +154,38 @@ input.regularMode::before {
154
154
  display: block;
155
155
 
156
156
  /*public*/
157
- width: var(--check--box--width);
158
- height: var(--check--box--height);
159
- border-radius: var(--check--border-radius);
160
- border: var(--check--border);
157
+ width: var(--ez-check--box--width);
158
+ height: var(--ez-check--box--height);
159
+ border-radius: var(--ez-check--border-radius);
160
+ border: var(--ez-check--border);
161
161
  }
162
162
 
163
163
  input.regularMode:disabled::before {
164
164
  /*public*/
165
- border: var(--check--disabled--border);
165
+ border: var(--ez-check--disabled--border);
166
166
  }
167
167
 
168
168
  /*-------------------------------checked---------------------------------*/
169
169
  input.regularMode:checked:enabled:hover {
170
170
  /*public*/
171
- background-color: var(--check--checked--hover--background-color);
171
+ background-color: var(--ez-check--checked--hover--background-color);
172
172
  }
173
173
 
174
174
  input.regularMode:checked:enabled:focus {
175
175
  /*public*/
176
- background-color: var(--check--checked--focus--background-color);
176
+ background-color: var(--ez-check--checked--focus--background-color);
177
177
  }
178
178
 
179
179
  input.regularMode:checked::before {
180
180
  /*public*/
181
- border: var(--check--checked--border);
182
- background-color: var(--check--checked--background-color);
181
+ border: var(--ez-check--checked--border);
182
+ background-color: var(--ez-check--checked--background-color);
183
183
  }
184
184
 
185
185
  input.regularMode:checked:disabled:before {
186
186
  /*public*/
187
- border: var(--check--disabled--border);
188
- background-color: var(--check--checked--disabled--background-color);
187
+ border: var(--ez-check--disabled--border);
188
+ background-color: var(--ez-check--checked--disabled--background-color);
189
189
  }
190
190
 
191
191
  input.regularMode:checked::after {
@@ -193,18 +193,18 @@ input.regularMode:checked::after {
193
193
  display: flex;
194
194
  position: absolute;
195
195
  content: "";
196
- background-color: var(--check--check--background-color);
196
+ background-color: var(--ez-check--check--background-color);
197
197
  width: 8px;
198
198
  height: 7px;
199
199
 
200
200
  /*public*/
201
- -webkit-mask-image: var(--check--check--image);
202
- mask-image: var(--check--check--image);
201
+ -webkit-mask-image: var(--ez-check--check--image);
202
+ mask-image: var(--ez-check--check--image);
203
203
  }
204
204
 
205
205
  input.regularMode:checked:disabled::after {
206
206
  /*public*/
207
- background-color: var(--check--check--disabled--background-color);
207
+ background-color: var(--ez-check--check--disabled--background-color);
208
208
  }
209
209
 
210
210
  /******** SWITCH MODE ********/
@@ -222,14 +222,14 @@ input.switchMode {
222
222
  transition: background-color var(--transition);
223
223
 
224
224
  /*public*/
225
- width: var(--switch--slider--width);
226
- height: var(--switch--slider--height);
227
- background-color: var(--switch--background-color);
225
+ width: var(--ez-switch--slider--width);
226
+ height: var(--ez-switch--slider--height);
227
+ background-color: var(--ez-switch--background-color);
228
228
  }
229
229
 
230
230
  input.switchMode:disabled {
231
231
  /*public*/
232
- background-color: var(--switch--disabled--background-color);
232
+ background-color: var(--ez-switch--disabled--background-color);
233
233
  }
234
234
 
235
235
  input.switchMode::after {
@@ -244,14 +244,14 @@ input.switchMode::after {
244
244
  border-radius: 50%;
245
245
 
246
246
  /*public*/
247
- width: var(--switch--pin--width);
248
- height: var(--switch--pin--height);
249
- background-color: var(--switch--pin--background-color);
247
+ width: var(--ez-switch--pin--width);
248
+ height: var(--ez-switch--pin--height);
249
+ background-color: var(--ez-switch--pin--background-color);
250
250
  }
251
251
 
252
252
  input.switchMode:disabled::after {
253
253
  /*public*/
254
- background-color: var(--switch--pin--disabled--background-color);
254
+ background-color: var(--ez-switch--pin--disabled--background-color);
255
255
  }
256
256
 
257
257
  /*-------------------------------ON---------------------------------*/
@@ -260,7 +260,7 @@ input.switchMode:checked {
260
260
  transition: background-color var(--transition);
261
261
 
262
262
  /*public*/
263
- background-color: var(--switch--checked--background-color);
263
+ background-color: var(--ez-switch--checked--background-color);
264
264
  }
265
265
 
266
266
  input.switchMode::before {
@@ -273,11 +273,11 @@ input.switchMode::before {
273
273
  opacity: 0;
274
274
 
275
275
  /*public*/
276
- width: var(--switch--focus--width);
277
- height: var(--switch--focus--height);
278
- top: calc((var(--switch--slider--height) - var(--switch--focus--height)) / 2);
279
- left: calc((var(--switch--pin--width) - var(--switch--focus--width))/2);
280
- background-color: var(--switch--pin--focus--background-color);
276
+ width: var(--ez-switch--focus--width);
277
+ height: var(--ez-switch--focus--height);
278
+ top: calc((var(--ez-switch--slider--height) - var(--ez-switch--focus--height)) / 2);
279
+ left: calc((var(--ez-switch--pin--width) - var(--ez-switch--focus--width))/2);
280
+ background-color: var(--ez-switch--pin--focus--background-color);
281
281
  }
282
282
 
283
283
  input.switchMode:focus::before {
@@ -288,24 +288,24 @@ input.switchMode:focus::before {
288
288
 
289
289
  input.switchMode:checked:focus::before {
290
290
  /*private*/
291
- background-color: var(--switch--pin--checked--focus--background-color);
292
- transform: translateX(calc(var(--switch--slider--width) - var(--switch--pin--width)));
291
+ background-color: var(--ez-switch--pin--checked--focus--background-color);
292
+ transform: translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width)));
293
293
  }
294
294
 
295
295
  input.switchMode:checked::after {
296
296
  /*private*/
297
297
  transition: transform var(--transition);
298
298
  transition: background-color var(--transition);
299
- transform: translateX(calc(var(--switch--slider--width) - var(--switch--pin--width))) translateY(-3px);
299
+ transform: translateX(calc(var(--ez-switch--slider--width) - var(--ez-switch--pin--width))) translateY(-3px);
300
300
  box-shadow: var(--shadow);
301
301
 
302
302
  /*public*/
303
- background-color: var(--switch--pin--checked--background-color);
303
+ background-color: var(--ez-switch--pin--checked--background-color);
304
304
  }
305
305
 
306
306
  input.switchMode:checked:disabled::after {
307
307
  /*public*/
308
- background-color: var(--switch--pin--checked--disabled--background-color);
308
+ background-color: var(--ez-switch--pin--checked--disabled--background-color);
309
309
  }
310
310
 
311
311
  .label {
@@ -313,14 +313,14 @@ input.switchMode:checked:disabled::after {
313
313
  white-space: nowrap;
314
314
  overflow: hidden;
315
315
  text-overflow: ellipsis;
316
- color: var(--check--label--color);
316
+ color: var(--ez-check--label--color);
317
317
  text-shadow: var(--text-shadow);
318
- font-size: var(--check--label--font-size);
319
- font-family: var(--check--label--font-family);
318
+ font-size: var(--ez-check--label--font-size);
319
+ font-family: var(--ez-check--label--font-family);
320
320
  cursor: default;
321
321
  padding-left: var(--space--small);
322
322
  }
323
323
 
324
324
  .label--disabled {
325
- color: var(--check--label--disabled--color);
325
+ color: var(--ez-check--label--disabled--color);
326
326
  }
@@ -43,7 +43,7 @@ export class EzCheck {
43
43
  }
44
44
  changeValue() {
45
45
  this.value = !this.value;
46
- this.ezChange.emit();
46
+ this.ezChange.emit(this.value);
47
47
  }
48
48
  getLabelClasses() {
49
49
  let classes = "label";
@@ -148,8 +148,8 @@ export class EzCheck {
148
148
  "text": "Evento disparado ao mudar o estado do check(onEzChange)."
149
149
  },
150
150
  "complexType": {
151
- "original": "string",
152
- "resolved": "string",
151
+ "original": "any",
152
+ "resolved": "any",
153
153
  "references": {}
154
154
  }
155
155
  }]; }
@@ -2,65 +2,81 @@
2
2
 
3
3
  /* dimensions */
4
4
  /*@doc Define altura do input.*/
5
- --combo-box--height: 42px;
5
+ --ez-combo-box--height: 42px;
6
6
  /*@doc Define largura do input.*/
7
- --combo-box--width: 100%;
7
+ --ez-combo-box--width: 100%;
8
8
  /*@doc Define largura do slot do ícone do input.*/
9
- --combo-box__icon--width: 48px;
9
+ --ez-combo-box__icon--width: 48px;
10
10
 
11
11
  /* general */
12
12
  /*@doc Define o raio da borda do input.*/
13
- --combo-box--border-radius: var(--border--radius-medium, 12px);
13
+ --ez-combo-box--border-radius: var(--border--radius-medium, 12px);
14
14
  /*@doc Define o raio da borda do input quando pequeno.*/
15
- --combo-box--border-radius-small: var(--border--radius-small, 6px);
15
+ --ez-combo-box--border-radius-small: var(--border--radius-small, 6px);
16
16
  /*@doc Define o tamanho da fonte dentro do input.*/
17
- --combo-box--font-size: var(--text--medium, 14px);
17
+ --ez-combo-box--font-size: var(--text--medium, 14px);
18
18
  /*@doc Define a família da fonte dentro do input.*/
19
- --combo-box--font-family: var(--font-pattern, Arial);
19
+ --ez-combo-box--font-family: var(--font-pattern, Arial);
20
20
  /*@doc Define o peso da fonte dentro do input quando pesada.*/
21
- --combo-box--font-weight--large: var(--text-weight--large, 500);
21
+ --ez-combo-box--font-weight--large: var(--text-weight--large, 500);
22
22
  /*@doc Define o peso da fonte dentro do input quando média.*/
23
- --combo-box--font-weight--medium: var(--text-weight--medium, 400);
23
+ --ez-combo-box--font-weight--medium: var(--text-weight--medium, 400);
24
24
  /*@doc Define a cor de fundo da lista de opções.*/
25
- --combo-box--background-color--xlight: var(--background--xlight, #fff);
25
+ --ez-combo-box--background-color--xlight: var(--background--xlight, #fff);
26
+ /*@doc Define a cor de fundo dos itens da lista de opções.*/
27
+ --ez-combo-box--background-medium: var(--background--medium, #f0f3f7);
26
28
 
27
29
  /* input */
28
30
  /*@doc Define a cor de fundo do input.*/
29
- --combo-box__input--background-color: var(--background--medium, #e0e0e0);
31
+ --ez-combo-box__input--background-color: var(--background--medium, #e0e0e0);
30
32
  /*@doc Define o estilo da borda do input.*/
31
- --combo-box__input--border: var(--border--medium, 2px solid);
33
+ --ez-combo-box__input--border: var(--border--medium, 2px solid);
32
34
  /*@doc Define a cor da borda do input.*/
33
- --combo-box__input--border-color: var(--combo-box__input--background-color);
35
+ --ez-combo-box__input--border-color: var(--ez-combo-box__input--background-color);
34
36
  /*no modo normal usamos a borda com a mesma cor do bg*/
35
37
  /*@doc Define a cor da borda do input quando focado.*/
36
- --combo-box__input--focus--border-color: var(--color--primary, #008561);
38
+ --ez-combo-box__input--focus--border-color: var(--color--primary, #008561);
37
39
  /*@doc Define a cor de fundo do input quando desabilitado.*/
38
- --combo-box__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
40
+ --ez-combo-box__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
39
41
  /*@doc Define a cor do texto dentro do input quando desabilitado.*/
40
- --combo-box__input--disabled--color: var(--text--disable, #AFB6C0);
42
+ --ez-combo-box__input--disabled--color: var(--text--disable, #AFB6C0);
41
43
  /*@doc Define a cor da borda do input quando com erro.*/
42
- --combo-box__input--error--border-color: #CC2936;
44
+ --ez-combo-box__input--error--border-color: #CC2936;
45
+
46
+ /* buttons */
47
+ /*@doc Define a cor do botão de pesquisa do componente.*/
48
+ --ez-combo-box__btn-search--background-color: var(--text--primary, #626e82);
49
+ /*@doc Define a cor do botão de pesquisa do componente quando desabilitado.*/
50
+ --ez-combo-box__btn-search-disabled--background-color: var(--text--disable, #AFB6C0);
51
+ /*@doc Define a cor do botão de pesquisa do componente quando o mouse está sobre ele.*/
52
+ --ez-combo-box__btn-search-hover--background-color: var(--color--primary, #4e4e4e);
53
+ /*@doc Define a cor do botão de opções do componente.*/
54
+ --ez-combo-box__btn-options--background-color: var(--text--primary, #626e82);
55
+ /*@doc Define a cor do botão de opções do componente quando desabilitado.*/
56
+ --ez-combo-box__btn-options-disabled--background-color: var(--text--disable, #AFB6C0);
57
+ /*@doc Define a cor do botão de opções do componente quando o mouse está sobre ele.*/
58
+ --ez-combo-box__btn-options-hover--background-color: var(--color--primary, #4e4e4e);
43
59
 
44
60
  /* label */
45
61
  /*@doc Define a cor do label.*/
46
- --combo-box__label--color: var(--title--primary, #919191);
62
+ --ez-combo-box__label--color: var(--title--primary, #919191);
47
63
 
48
64
  /* list */
49
65
  /*@doc Define a cor do texto da lista de opções.*/
50
- --combo-box__list-text--primary: var(--text--primary, #626e82);
66
+ --ez-combo-box__list-text--primary: var(--text--primary, #626e82);
51
67
  /*@doc Define a altura do box da lista de opções.*/
52
- --combo-box__list-height: calc(var(--combo-box--font-size) + var(--combo-box--space--medium));
68
+ --ez-combo-box__list-height: calc(var(--ez-combo-box--font-size) + var(--ez-combo-box--space--medium));
53
69
 
54
70
  /*@doc Contém a imagem do ícone que aciona a lista.*/
55
- --combo-box--drop-down__image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="16px"><path d="M 1.8585859,3.0707069 7.9999998,9.2121212 14.141414,3.0707069 16,5.0101006 7.9999998,12.929293 0,4.9292932 Z"/></svg>');
71
+ --ez-combo-box__drop-down-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="16px"><path d="M 1.8585859,3.0707069 7.9999998,9.2121212 14.141414,3.0707069 16,5.0101006 7.9999998,12.929293 0,4.9292932 Z"/></svg>');
56
72
  /*@doc Contém a imagem do ícone de pesquisa.*/
57
- --combo-box--search__image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="22px" width="22px"><path d="m 9.4,2.3 c 4.1,0 7.4,3.2 7.4,7.2 0,1.8 -0.7,3.4 -1.8,4.7 l 0.3,0.3 h 0.9 l 5.7,5.6 -1.7,1.7 -5.7,-5.6 V 15.3 L 14.3,15 C 13,16.1 11.3,16.7 9.5,16.7 5.3,16.7 2,13.5 2,9.5 2,5.5 5.3,2.3 9.4,2.3 m 0,2.2 c -2.9,0 -5.1,2.2 -5.1,5 0,2.8 2.3,5 5.1,5 2.8,0 5.1,-2.2 5.1,-5 0,-2.8 -2.2,-5 -5.1,-5 z"/></svg>');
73
+ --ez-combo-box__search-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="22px" width="22px"><path d="m 9.4,2.3 c 4.1,0 7.4,3.2 7.4,7.2 0,1.8 -0.7,3.4 -1.8,4.7 l 0.3,0.3 h 0.9 l 5.7,5.6 -1.7,1.7 -5.7,-5.6 V 15.3 L 14.3,15 C 13,16.1 11.3,16.7 9.5,16.7 5.3,16.7 2,13.5 2,9.5 2,5.5 5.3,2.3 9.4,2.3 m 0,2.2 c -2.9,0 -5.1,2.2 -5.1,5 0,2.8 2.3,5 5.1,5 2.8,0 5.1,-2.2 5.1,-5 0,-2.8 -2.2,-5 -5.1,-5 z"/></svg>');
58
74
 
59
75
  /* espaçamento */
60
76
  /*@doc Define um espaçamento mediano entre elementos do componente.*/
61
- --combo-box--space--medium: var(--space--medium, 12px);
77
+ --ez-combo-box--space--medium: var(--space--medium, 12px);
62
78
  /*@doc Define um espaçamento pequeno entre elementos do componente.*/
63
- --combo-box--space--small: var(--space--small, 6px);
79
+ --ez-combo-box--space--small: var(--space--small, 6px);
64
80
 
65
81
  /***************
66
82
  host style
@@ -70,12 +86,7 @@
70
86
  flex-wrap: wrap;
71
87
  position: relative;
72
88
  /*public*/
73
- width: var(--combo-box--width);
74
- }
75
-
76
- ez-text-input {
77
- --ez-text-input__input--background-color: var(--combo-box__input--background-color, #FFFFFF);
78
- --ez-text-input__input--border-color: var(--combo-box__input--border-color, #DCE0E8);
89
+ width: var(--ez-combo-box--width);
79
90
  }
80
91
 
81
92
  .list-container {
@@ -93,12 +104,12 @@ ez-text-input {
93
104
  flex-direction: column;
94
105
 
95
106
  /*public*/
96
- background-color: var(--combo-box--background-color--xlight);
97
- padding: var(--combo-box--space--small);
98
- border-radius: var(--combo-box--border-radius);
107
+ background-color: var(--ez-combo-box--background-color--xlight);
108
+ padding: var(--ez-combo-box--space--small);
109
+ border-radius: var(--ez-combo-box--border-radius);
99
110
  box-shadow: var(--shadow, 0px 0px 16px 0px #000);
100
111
  scroll-behavior: smooth;
101
- max-height: calc(4*var(--combo-box__list-height) + 2*var(--combo-box--space--small));
112
+ max-height: calc(4*var(--ez-combo-box__list-height) + 2*var(--ez-combo-box--space--small));
102
113
  overflow: auto;
103
114
  }
104
115
 
@@ -107,11 +118,11 @@ ez-text-input {
107
118
  display: flex;
108
119
  justify-content: space-between;
109
120
  align-items: center;
110
- border-radius: var(--combo-box--border-radius-small);
111
- padding: 0 var(--combo-box--space--small);
121
+ border-radius: var(--ez-combo-box--border-radius-small);
122
+ padding: 0 var(--ez-combo-box--space--small);
112
123
  list-style-type: none;
113
124
 
114
- min-height: var(--combo-box__list-height);
125
+ min-height: var(--ez-combo-box__list-height);
115
126
  ;
116
127
  }
117
128
 
@@ -119,9 +130,9 @@ ez-text-input {
119
130
  text-align: left;
120
131
  flex-basis: 85%;
121
132
  flex-grow: 1;
122
- color: var(--combo-box__list-text--primary);
123
- font-weight: var(--combo-box--font-weight--large);
124
- font-family: var(--combo-box--font-family);
133
+ color: var(--ez-combo-box__list-text--primary);
134
+ font-weight: var(--ez-combo-box--font-weight--large);
135
+ font-family: var(--ez-combo-box--font-family);
125
136
  white-space: nowrap;
126
137
  overflow: hidden;
127
138
  text-overflow: ellipsis;
@@ -131,16 +142,16 @@ ez-text-input {
131
142
  text-align: right;
132
143
  flex-basis: 15%;
133
144
  flex-grow: 0;
134
- color: var(--combo-box__list-text--primary);
135
- font-weight: var(--combo-box--font-weight--large);
136
- font-family: var(--combo-box--font-family);
145
+ color: var(--ez-combo-box__list-text--primary);
146
+ font-weight: var(--ez-combo-box--font-weight--large);
147
+ font-family: var(--ez-combo-box--font-family);
137
148
  white-space: nowrap;
138
149
  overflow: hidden;
139
150
  text-overflow: ellipsis;
140
151
  }
141
152
 
142
153
  li:hover {
143
- background-color: var(--background--medium);
154
+ background-color: var(--ez-combo-box--background-medium);
144
155
  }
145
156
 
146
157
  .preselected {
@@ -161,19 +172,19 @@ li:hover {
161
172
  .btn-open-options::after {
162
173
  content: '';
163
174
  display: flex;
164
- background-color: var(--text--primary, #008561);
175
+ background-color: var(--ez-combo-box__btn-options--background-color);
165
176
  width: 16px;
166
177
  height: 16px;
167
- -webkit-mask-image: var(--combo-box--drop-down__image);
168
- mask-image: var(--combo-box--drop-down__image);
178
+ -webkit-mask-image: var(--ez-combo-box__drop-down-image);
179
+ mask-image: var(--ez-combo-box__drop-down-image);
169
180
  }
170
181
 
171
182
  .btn-open-options:disabled:after {
172
- background-color: var(--text--disable, #AFB6C0);
183
+ background-color: var(--ez-combo-box__btn-options-disabled--background-color);
173
184
  }
174
185
 
175
186
  .btn-open-options:enabled:hover::after {
176
- background-color: var(--color--primary, #4e4e4e);
187
+ background-color: var(--ez-combo-box__btn-options-hover--background-color);
177
188
  }
178
189
 
179
190
  .btn-open-search {
@@ -190,17 +201,17 @@ li:hover {
190
201
  .btn-open-search::after {
191
202
  content: '';
192
203
  display: flex;
193
- background-color: var(--text--primary, #008561);
204
+ background-color: var(--ez-combo-box__btn-search--background-color);
194
205
  width: 22px;
195
206
  height: 22px;
196
- -webkit-mask-image: var(--combo-box--search__image);
197
- mask-image: var(--combo-box--search__image);
207
+ -webkit-mask-image: var(--ez-combo-box__search-image);
208
+ mask-image: var(--ez-combo-box__search-image);
198
209
  }
199
210
 
200
211
  .btn-open-search:disabled:after {
201
- background-color: var(--text--disable, #AFB6C0);
212
+ background-color: var(--ez-combo-box__btn-search-disabled--background-color);
202
213
  }
203
214
 
204
215
  .btn-open-search:enabled:hover::after {
205
- background-color: var(--color--primary, #4e4e4e);
216
+ background-color: var(--ez-combo-box__btn-search-hover--background-color);
206
217
  }
@@ -1,5 +1,6 @@
1
1
  import { FloatingManager } from "@sankhyalabs/core";
2
2
  import { Component, h, Host, Prop, State, Event, Element, Watch } from "@stencil/core";
3
+ import CSSVarsUtils from "../../utils/CSSVarsUtils";
3
4
  export class EzComboBox {
4
5
  constructor() {
5
6
  /**
@@ -112,6 +113,7 @@ export class EzComboBox {
112
113
  if (currentOpt !== opt) {
113
114
  const adjustedOpt = !(opt === null || opt === void 0 ? void 0 : opt.value) ? undefined : opt;
114
115
  this.value = adjustedOpt;
116
+ this.errorMessage = "";
115
117
  this.ezChange.emit(adjustedOpt);
116
118
  }
117
119
  else {
@@ -176,6 +178,9 @@ export class EzComboBox {
176
178
  this._optionsList.remove();
177
179
  }
178
180
  }
181
+ componentDidLoad() {
182
+ CSSVarsUtils.applyVarsTextInput(this.el, this._inputElement);
183
+ }
179
184
  //---------------------------------------------
180
185
  // Event handlers
181
186
  //---------------------------------------------
@@ -9,10 +9,10 @@
9
9
  --ez-date-input__calendar-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="16px" width="15px"><path d="M 3.171875,5.25 C 2.6485088,5.25 2.21875,5.6797588 2.21875,6.203125 2.21875,6.7264912 2.6485088,7.15625 3.171875,7.15625 3.6952412,7.15625 4.125,6.7264912 4.125,6.203125 4.125,5.6797588 3.6952412,5.25 3.171875,5.25 Z m 2.875,0 C 5.5235088,5.25 5.09375,5.6797588 5.09375,6.203125 5.09375,6.7264912 5.5235088,7.15625 6.046875,7.15625 6.5702412,7.15625 7,6.7264912 7,6.203125 7,5.6797588 6.5702412,5.25 6.046875,5.25 Z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.9511719,-0.4297588 0.9511719,-0.953125 C 9.8730469,5.6797588 9.4452412,5.25 8.921875,5.25 Z m 2.873047,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.953125 0.953125,0.953125 0.523366,0 0.953125,-0.4297588 0.953125,-0.953125 C 12.748047,5.6797588 12.318288,5.25 11.794922,5.25 Z M 3.171875,8.1230469 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 0.5233662,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297588,0.9531251 0.953125,0.9531251 C 6.5702412,10.029297 7,9.5995381 7,9.0761719 7,8.5528057 6.5702412,8.1230469 6.046875,8.1230469 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.4297587,0.9531251 0.953125,0.9531251 0.5233661,0 0.9531249,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.4297588 -0.953125,0.953125 0,0.5233662 0.429759,0.9531251 0.953125,0.9531251 0.523367,0 0.953125,-0.4297589 0.953125,-0.9531251 0,-0.5233662 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.171875,10.998047 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 0.5233662,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.875,0 c -0.5233662,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297588,0.953125 0.953125,0.953125 C 6.5702412,12.904297 7,12.474538 7,11.951172 7,11.427806 6.5702412,10.998047 6.046875,10.998047 Z m 2.8554688,0 c -0.5233663,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.4297587,0.953125 0.953125,0.953125 0.5233661,0 0.9531249,-0.429759 0.953125,-0.953125 0,-0.523366 -0.4297588,-0.953125 -0.953125,-0.953125 z m 2.9003902,0 c -0.523366,0 -0.953125,0.429759 -0.953125,0.953125 0,0.523366 0.429759,0.953125 0.953125,0.953125 0.523367,0 0.953125,-0.429759 0.953125,-0.953125 0,-0.523366 -0.429758,-0.953125 -0.953125,-0.953125 z M 3.5,0 c -0.554,0 -1,0.446 -1,1 v 0.050781 C 1.0853217,1.2909766 0,2.5186658 0,4 v 9 c 0,1.652487 1.3475134,3 3,3 h 9 c 1.652487,0 3,-1.347513 3,-3 V 4 C 15,2.5186658 13.914678,1.2909766 12.5,1.0507812 V 1 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 c 0,-0.554 -0.446,-1 -1,-1 -0.554,0 -1,0.446 -1,1 h -2 C 4.5,0.446 4.054,0 3.5,0 Z m 1,2.0996094 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 v -0.640625 h 2 v 0.640625 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 V 2.1738281 C 13.311725,2.3905225 13.900391,3.11278 13.900391,4 v 9 c 0,1.062113 -0.838278,1.900391 -1.900391,1.900391 H 3 C 1.9378864,14.900391 1.0996094,14.062113 1.0996094,13 V 4 C 1.0996094,3.11278 1.6882747,2.3905225 2.5,2.1738281 v 0.5664063 c 0,0.554 0.446,1 1,1 0.554,0 1,-0.446 1,-1 z"/></svg>');
10
10
  }
11
11
 
12
- .text-input {
12
+ /*.text-input {
13
13
  --ez-text-input__input--background-color: inherit;
14
14
  --ez-text-input__input--border-color: inherit;
15
- }
15
+ }*/
16
16
 
17
17
  .btn-open-cal {
18
18
  outline: none;
@@ -22,7 +22,7 @@ export class EzDateInput {
22
22
  changeValue(newValue) {
23
23
  newValue = newValue == null ? null : DateUtils.clearTime(newValue);
24
24
  this._textInput.errorMessage = "";
25
- if (this.getTextValue(newValue) !== this.getTextValue(this.value)) {
25
+ if (newValue !== this.value) {
26
26
  this.value = newValue;
27
27
  this.ezChange.emit();
28
28
  }