@sankhyalabs/ezui 5.22.0-dev.9 → 5.22.0-dev.91

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 (334) hide show
  1. package/dist/cjs/{CSSVarsUtils-10c9d5b4.js → CSSVarsUtils-f20973d1.js} +1 -0
  2. package/dist/cjs/DataBinder-e92314c2.js +445 -0
  3. package/dist/cjs/FocusResolver-885f2173.js +35 -0
  4. package/dist/cjs/ez-actions-button.cjs.entry.js +4 -3
  5. package/dist/cjs/ez-button.cjs.entry.js +11 -5
  6. package/dist/cjs/ez-card-item_2.cjs.entry.js +76 -0
  7. package/dist/cjs/ez-check.cjs.entry.js +1 -1
  8. package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
  9. package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +366 -0
  10. package/dist/cjs/ez-combo-box.cjs.entry.js +82 -155
  11. package/dist/cjs/ez-date-input.cjs.entry.js +13 -4
  12. package/dist/cjs/ez-date-time-input.cjs.entry.js +10 -4
  13. package/dist/cjs/ez-dialog.cjs.entry.js +14 -7
  14. package/dist/cjs/ez-double-list.cjs.entry.js +287 -0
  15. package/dist/cjs/{ez-dropdown.cjs.entry.js → ez-dropdown_2.cjs.entry.js} +75 -8
  16. package/dist/cjs/ez-filter-input.cjs.entry.js +129 -0
  17. package/dist/cjs/ez-form-view.cjs.entry.js +28 -21
  18. package/dist/cjs/ez-form.cjs.entry.js +6 -325
  19. package/dist/cjs/ez-grid.cjs.entry.js +14959 -69757
  20. package/dist/cjs/ez-icon.cjs.entry.js +1 -1
  21. package/dist/cjs/ez-list.cjs.entry.js +258 -211
  22. package/dist/cjs/ez-modal-container.cjs.entry.js +2 -2
  23. package/dist/cjs/ez-modal.cjs.entry.js +12 -3
  24. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +2 -2
  25. package/dist/cjs/ez-number-input.cjs.entry.js +15 -3
  26. package/dist/cjs/ez-popover-core_2.cjs.entry.js +1504 -0
  27. package/dist/cjs/ez-popup.cjs.entry.js +24 -2
  28. package/dist/cjs/ez-scroller_2.cjs.entry.js +3 -3
  29. package/dist/cjs/ez-search.cjs.entry.js +109 -48
  30. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
  31. package/dist/cjs/ez-split-button.cjs.entry.js +2 -2
  32. package/dist/cjs/ez-split-item.cjs.entry.js +6 -3
  33. package/dist/cjs/ez-split-panel.cjs.entry.js +68 -6
  34. package/dist/cjs/ez-text-area.cjs.entry.js +68 -6
  35. package/dist/cjs/ez-text-input.cjs.entry.js +152 -16
  36. package/dist/cjs/ez-time-input.cjs.entry.js +7 -1
  37. package/dist/cjs/ez-tooltip.cjs.entry.js +55 -0
  38. package/dist/cjs/ez-tree.cjs.entry.js +5 -4
  39. package/dist/cjs/ezListHelper-0d3970b4.js +90 -0
  40. package/dist/cjs/ezui.cjs.js +1 -1
  41. package/dist/cjs/filter-column.cjs.entry.js +10 -47
  42. package/dist/cjs/index-a7b0c73d.js +22 -10
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/collection/collection-manifest.json +6 -1
  45. package/dist/collection/components/ez-actions-button/ez-actions-button.js +3 -2
  46. package/dist/collection/components/ez-button/ez-button.css +23 -13
  47. package/dist/collection/components/ez-button/ez-button.js +12 -6
  48. package/dist/collection/components/ez-card-item/ez-card-item.css +60 -10
  49. package/dist/collection/components/ez-card-item/ez-card-item.js +30 -3
  50. package/dist/collection/components/ez-check/ez-check.css +1 -6
  51. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css +2 -2
  52. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
  53. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +405 -0
  54. package/dist/collection/components/ez-combo-box/ez-combo-box.css +8 -246
  55. package/dist/collection/components/ez-combo-box/ez-combo-box.js +129 -166
  56. package/dist/collection/components/ez-date-input/ez-date-input.css +1 -1
  57. package/dist/collection/components/ez-date-input/ez-date-input.js +38 -4
  58. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css +1 -1
  59. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +35 -4
  60. package/dist/collection/components/ez-dialog/ez-dialog.css +3 -3
  61. package/dist/collection/components/ez-dialog/ez-dialog.js +14 -16
  62. package/dist/collection/components/ez-double-list/doubleListHelper.js +82 -0
  63. package/dist/collection/components/ez-double-list/ez-double-list.css +62 -0
  64. package/dist/collection/components/ez-double-list/ez-double-list.js +440 -0
  65. package/dist/collection/components/ez-dropdown/ez-dropdown.js +33 -8
  66. package/dist/collection/components/ez-filter-input/ez-filter-input.css +1 -1
  67. package/dist/collection/components/ez-filter-input/ez-filter-input.js +35 -4
  68. package/dist/collection/components/ez-form/ez-form.js +1 -0
  69. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js +49 -6
  70. package/dist/collection/components/ez-form-view/ez-form-view.css +5 -2
  71. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +2 -1
  72. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +1 -1
  73. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +1 -1
  74. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +8 -4
  75. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
  76. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +1 -1
  77. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +3 -2
  78. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +1 -1
  79. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +2 -2
  80. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +295 -63
  81. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +151 -31
  82. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js +2 -1
  83. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +219 -42
  84. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js +16 -0
  85. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js +1 -1
  86. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +8 -0
  87. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js +2 -0
  88. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js +1 -0
  89. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js +1 -0
  90. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js +8 -1
  91. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js +4 -1
  92. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js +2 -0
  93. package/dist/collection/components/ez-grid/ez-grid.css +95 -10
  94. package/dist/collection/components/ez-grid/ez-grid.js +315 -10
  95. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +4 -0
  96. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +9 -46
  97. package/dist/collection/components/ez-icon/ez-icon.css +156 -149
  98. package/dist/collection/components/ez-list/ez-list.css +5 -4
  99. package/dist/collection/components/ez-list/ez-list.js +301 -212
  100. package/dist/collection/components/ez-list/ezListHelper.js +85 -0
  101. package/dist/collection/components/ez-modal/ez-modal.css +7 -2
  102. package/dist/collection/components/ez-modal/ez-modal.js +13 -4
  103. package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
  104. package/dist/collection/components/ez-modal-container/ez-modal-container.js +1 -1
  105. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +3 -3
  106. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js +1 -1
  107. package/dist/collection/components/ez-number-input/ez-number-input.css +8 -0
  108. package/dist/collection/components/ez-number-input/ez-number-input.js +49 -1
  109. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +3 -0
  110. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +385 -0
  111. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
  112. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +468 -0
  113. package/dist/collection/components/ez-popup/ez-popup.css +8 -3
  114. package/dist/collection/components/ez-popup/ez-popup.js +43 -3
  115. package/dist/collection/components/ez-scroller/ez-scroller.css +1 -0
  116. package/dist/collection/components/ez-search/ez-search.css +22 -11
  117. package/dist/collection/components/ez-search/ez-search.js +193 -53
  118. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css +3 -0
  119. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js +1 -1
  120. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css +4 -1
  121. package/dist/collection/components/ez-skeleton/ez-skeleton.css +54 -34
  122. package/dist/collection/components/ez-split-button/ez-split-button.css +52 -14
  123. package/dist/collection/components/ez-split-button/ez-split-button.js +3 -3
  124. package/dist/collection/components/ez-split-panel/ez-split-panel.css +15 -0
  125. package/dist/collection/components/ez-split-panel/ez-split-panel.js +106 -5
  126. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js +1 -0
  127. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +14 -2
  128. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +22 -1
  129. package/dist/collection/components/ez-text-area/ez-text-area.css +78 -29
  130. package/dist/collection/components/ez-text-area/ez-text-area.js +104 -4
  131. package/dist/collection/components/ez-text-input/ez-text-input.css +106 -91
  132. package/dist/collection/components/ez-text-input/ez-text-input.js +166 -15
  133. package/dist/collection/components/ez-time-input/ez-time-input.js +24 -0
  134. package/dist/collection/components/ez-tooltip/ez-tooltip.css +20 -0
  135. package/dist/collection/components/ez-tooltip/ez-tooltip.js +116 -0
  136. package/dist/collection/components/ez-tree/ez-tree.js +21 -1
  137. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js +3 -3
  138. package/dist/collection/sw.js +46 -0
  139. package/dist/collection/utils/CSSVarsUtils.js +1 -0
  140. package/dist/collection/utils/FocusResolver.js +31 -0
  141. package/dist/collection/utils/ResponsiveInputUtils.js +26 -0
  142. package/dist/collection/utils/form/DataBinder.js +22 -7
  143. package/dist/collection/utils/form/FormMetadata.js +2 -1
  144. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +1 -1
  145. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js +1 -0
  146. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js +7 -1
  147. package/dist/custom-elements/index.d.ts +30 -0
  148. package/dist/custom-elements/index.js +19539 -71833
  149. package/dist/esm/{CSSVarsUtils-71ce76be.js → CSSVarsUtils-acba92d7.js} +1 -0
  150. package/dist/esm/DataBinder-9c877244.js +441 -0
  151. package/dist/esm/FocusResolver-1ccbf850.js +33 -0
  152. package/dist/esm/ez-actions-button.entry.js +4 -3
  153. package/dist/esm/ez-button.entry.js +11 -5
  154. package/dist/esm/ez-card-item_2.entry.js +71 -0
  155. package/dist/esm/ez-check.entry.js +1 -1
  156. package/dist/esm/ez-collapsible-box.entry.js +1 -1
  157. package/dist/esm/ez-combo-box-list_3.entry.js +360 -0
  158. package/dist/esm/ez-combo-box.entry.js +83 -156
  159. package/dist/esm/ez-date-input.entry.js +13 -4
  160. package/dist/esm/ez-date-time-input.entry.js +10 -4
  161. package/dist/esm/ez-dialog.entry.js +15 -8
  162. package/dist/esm/ez-double-list.entry.js +283 -0
  163. package/dist/esm/{ez-dropdown.entry.js → ez-dropdown_2.entry.js} +75 -9
  164. package/dist/esm/ez-filter-input.entry.js +125 -0
  165. package/dist/esm/ez-form-view.entry.js +28 -21
  166. package/dist/esm/ez-form.entry.js +5 -324
  167. package/dist/esm/ez-grid.entry.js +14899 -69697
  168. package/dist/esm/ez-icon.entry.js +1 -1
  169. package/dist/esm/ez-list.entry.js +258 -211
  170. package/dist/esm/ez-modal-container.entry.js +2 -2
  171. package/dist/esm/ez-modal.entry.js +12 -3
  172. package/dist/esm/ez-multi-selection-list.entry.js +2 -2
  173. package/dist/esm/ez-number-input.entry.js +15 -3
  174. package/dist/esm/ez-popover-core_2.entry.js +1499 -0
  175. package/dist/esm/ez-popup.entry.js +24 -2
  176. package/dist/esm/ez-scroller_2.entry.js +3 -3
  177. package/dist/esm/ez-search.entry.js +109 -48
  178. package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
  179. package/dist/esm/ez-split-button.entry.js +2 -2
  180. package/dist/esm/ez-split-item.entry.js +6 -3
  181. package/dist/esm/ez-split-panel.entry.js +69 -7
  182. package/dist/esm/ez-text-area.entry.js +68 -6
  183. package/dist/esm/ez-text-input.entry.js +152 -16
  184. package/dist/esm/ez-time-input.entry.js +7 -1
  185. package/dist/esm/ez-tooltip.entry.js +51 -0
  186. package/dist/esm/ez-tree.entry.js +5 -4
  187. package/dist/esm/ezListHelper-00fb9b8d.js +87 -0
  188. package/dist/esm/ezui.js +1 -1
  189. package/dist/esm/filter-column.entry.js +10 -47
  190. package/dist/esm/index-baa5e267.js +22 -10
  191. package/dist/esm/loader.js +1 -1
  192. package/dist/ezui/ezui.esm.js +1 -1
  193. package/dist/ezui/p-0fa52b0f.entry.js +1 -0
  194. package/dist/ezui/p-0faf71c5.entry.js +1 -0
  195. package/dist/ezui/p-15134d97.entry.js +1 -0
  196. package/dist/ezui/p-17de16e5.entry.js +1 -0
  197. package/dist/ezui/p-17eabf46.entry.js +1 -0
  198. package/dist/ezui/p-1ad6c61b.entry.js +1 -0
  199. package/dist/ezui/p-20c024f7.entry.js +1 -0
  200. package/dist/ezui/p-2bb2a0c4.entry.js +1 -0
  201. package/dist/ezui/p-2f45506d.entry.js +1 -0
  202. package/dist/ezui/p-3195a7a7.entry.js +1 -0
  203. package/dist/ezui/p-31b71e50.entry.js +1 -0
  204. package/dist/ezui/p-3429080c.entry.js +1 -0
  205. package/dist/ezui/p-463be973.entry.js +309 -0
  206. package/dist/ezui/p-556468d9.entry.js +1 -0
  207. package/dist/ezui/p-56fe5341.entry.js +1 -0
  208. package/dist/ezui/p-58783dcf.entry.js +1 -0
  209. package/dist/ezui/p-65f471bc.entry.js +1 -0
  210. package/dist/ezui/p-6cdd3e0a.entry.js +1 -0
  211. package/dist/ezui/p-7bd15498.entry.js +1 -0
  212. package/dist/ezui/p-7e677b7b.entry.js +1 -0
  213. package/dist/ezui/{p-bf79aaa1.entry.js → p-7fdd479f.entry.js} +1 -1
  214. package/dist/ezui/p-80dfc50b.js +1 -0
  215. package/dist/ezui/p-990b4318.entry.js +1 -0
  216. package/dist/ezui/p-a4cee65d.entry.js +1 -0
  217. package/dist/ezui/p-acddfb2e.js +1 -0
  218. package/dist/ezui/p-b26f6c5b.entry.js +1 -0
  219. package/dist/ezui/p-c1527804.entry.js +1 -0
  220. package/dist/ezui/p-cb1535f7.entry.js +1 -0
  221. package/dist/ezui/p-cf87aacb.entry.js +1 -0
  222. package/dist/ezui/p-d9548bdf.entry.js +1 -0
  223. package/dist/ezui/p-da1b4a38.entry.js +1 -0
  224. package/dist/ezui/p-dc628ed3.js +1 -0
  225. package/dist/ezui/p-dc73e1fe.entry.js +1 -0
  226. package/dist/ezui/{p-84e439b9.entry.js → p-e347df9c.entry.js} +1 -1
  227. package/dist/ezui/p-e6a9041d.entry.js +1 -0
  228. package/dist/ezui/p-ea54d056.entry.js +1 -0
  229. package/dist/ezui/p-ec7db713.js +1 -0
  230. package/dist/ezui/p-f5931caa.entry.js +1 -0
  231. package/dist/ezui/p-fa6732f2.entry.js +1 -0
  232. package/dist/ezui/p-fd0a19d6.entry.js +1 -0
  233. package/dist/types/components/ez-button/ez-button.d.ts +2 -1
  234. package/dist/types/components/ez-card-item/ez-card-item.d.ts +5 -0
  235. package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
  236. package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +17 -15
  237. package/dist/types/components/ez-date-input/ez-date-input.d.ts +6 -1
  238. package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +6 -1
  239. package/dist/types/components/ez-dialog/ez-dialog.d.ts +2 -1
  240. package/dist/types/components/ez-double-list/doubleListHelper.d.ts +10 -0
  241. package/dist/types/components/ez-double-list/ez-double-list.d.ts +87 -0
  242. package/dist/types/components/ez-dropdown/ez-dropdown.d.ts +4 -0
  243. package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +1 -1
  244. package/dist/types/components/ez-filter-input/ez-filter-input.d.ts +6 -1
  245. package/dist/types/components/ez-form-view/custom-input/ez-custom-form-input.d.ts +7 -1
  246. package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +2 -1
  247. package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +1 -1
  248. package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +1 -1
  249. package/dist/types/components/ez-grid/controller/EzGridController.d.ts +71 -4
  250. package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +36 -4
  251. package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +25 -2
  252. package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +33 -7
  253. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.d.ts +4 -1
  254. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.d.ts +1 -1
  255. package/dist/types/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.d.ts +1 -1
  256. package/dist/types/components/ez-grid/controller/ag-grid/components/cellRendererStatus.d.ts +1 -1
  257. package/dist/types/components/ez-grid/controller/ag-grid/components/selectionHeader.d.ts +1 -1
  258. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellEditor.d.ts +2 -1
  259. package/dist/types/components/ez-grid/controller/ag-grid/editor/EzCellRender.d.ts +1 -1
  260. package/dist/types/components/ez-grid/controller/ag-grid/editor/IUICellEditor.d.ts +1 -0
  261. package/dist/types/components/ez-grid/controller/ag-grid/mock/Server.d.ts +1 -1
  262. package/dist/types/components/ez-grid/ez-grid.d.ts +54 -1
  263. package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +0 -11
  264. package/dist/types/components/ez-list/ez-list.d.ts +23 -2
  265. package/dist/types/components/ez-list/ezListHelper.d.ts +20 -0
  266. package/dist/types/components/ez-modal/ez-modal.d.ts +2 -1
  267. package/dist/types/components/ez-number-input/ez-number-input.d.ts +8 -0
  268. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +68 -0
  269. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +81 -0
  270. package/dist/types/components/ez-popup/ez-popup.d.ts +8 -1
  271. package/dist/types/components/ez-search/ez-search.d.ts +30 -6
  272. package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -1
  273. package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +11 -0
  274. package/dist/types/components/ez-split-panel/interfaces/IPanelSizeInfo.d.ts +9 -0
  275. package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +5 -0
  276. package/dist/types/components/ez-text-area/ez-text-area.d.ts +17 -0
  277. package/dist/types/components/ez-text-input/ez-text-input.d.ts +24 -2
  278. package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
  279. package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +21 -0
  280. package/dist/types/components/ez-tree/ez-tree.d.ts +4 -0
  281. package/dist/types/components/ez-tree/interfaces/ITreeItem.d.ts +1 -0
  282. package/dist/types/components/ez-tree/subcomponents/TreeItem.d.ts +1 -0
  283. package/dist/types/components.d.ts +717 -29
  284. package/dist/types/utils/FocusResolver.d.ts +5 -0
  285. package/dist/types/utils/ResponsiveInputUtils.d.ts +6 -0
  286. package/dist/types/utils/customEditor/interfaces/ICustomEditor.d.ts +2 -0
  287. package/dist/types/utils/form/DataBinder.d.ts +3 -0
  288. package/dist/types/utils/validators/recordvalidator/IInvalidCells.d.ts +5 -0
  289. package/dist/types/utils/validators/recordvalidator/RecordValidationProcessor.d.ts +1 -1
  290. package/package.json +11 -3
  291. package/react/components.d.ts +5 -0
  292. package/react/components.js +5 -0
  293. package/react/components.js.map +1 -1
  294. package/dist/cjs/RecordValidationProcessor-4c893e04.js +0 -102
  295. package/dist/cjs/ez-card-item_3.cjs.entry.js +0 -183
  296. package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -206
  297. package/dist/cjs/ez-skeleton.cjs.entry.js +0 -67
  298. package/dist/esm/RecordValidationProcessor-b00b8b77.js +0 -99
  299. package/dist/esm/ez-card-item_3.entry.js +0 -177
  300. package/dist/esm/ez-custom-form-input_2.entry.js +0 -201
  301. package/dist/esm/ez-skeleton.entry.js +0 -63
  302. package/dist/ezui/p-04f24913.js +0 -1
  303. package/dist/ezui/p-072e6347.entry.js +0 -1
  304. package/dist/ezui/p-1285c902.entry.js +0 -1
  305. package/dist/ezui/p-13d2fe2d.entry.js +0 -1
  306. package/dist/ezui/p-2097d0cf.entry.js +0 -1
  307. package/dist/ezui/p-32e553e5.entry.js +0 -304
  308. package/dist/ezui/p-34b6916c.entry.js +0 -1
  309. package/dist/ezui/p-3b4eeeb6.entry.js +0 -1
  310. package/dist/ezui/p-3faa2b46.entry.js +0 -1
  311. package/dist/ezui/p-42533ea4.entry.js +0 -1
  312. package/dist/ezui/p-49456b34.entry.js +0 -1
  313. package/dist/ezui/p-4d5235f1.entry.js +0 -1
  314. package/dist/ezui/p-5bd5e68f.entry.js +0 -1
  315. package/dist/ezui/p-784fe207.entry.js +0 -1
  316. package/dist/ezui/p-7922142b.entry.js +0 -1
  317. package/dist/ezui/p-7af81663.entry.js +0 -1
  318. package/dist/ezui/p-7bc07c31.entry.js +0 -1
  319. package/dist/ezui/p-85c8baae.entry.js +0 -1
  320. package/dist/ezui/p-8888d9ed.entry.js +0 -1
  321. package/dist/ezui/p-8f0144f6.entry.js +0 -1
  322. package/dist/ezui/p-9050d2cd.entry.js +0 -1
  323. package/dist/ezui/p-922ac38b.entry.js +0 -1
  324. package/dist/ezui/p-9ab22a07.entry.js +0 -1
  325. package/dist/ezui/p-9e11fc7b.js +0 -1
  326. package/dist/ezui/p-a31b9c90.entry.js +0 -1
  327. package/dist/ezui/p-af95cd16.entry.js +0 -1
  328. package/dist/ezui/p-bae4e180.entry.js +0 -1
  329. package/dist/ezui/p-baf80b13.entry.js +0 -1
  330. package/dist/ezui/p-bcb53f27.entry.js +0 -1
  331. package/dist/ezui/p-d9401ea0.entry.js +0 -1
  332. package/dist/ezui/p-e85c48d7.entry.js +0 -1
  333. package/dist/ezui/p-ecc2c1ec.entry.js +0 -1
  334. package/dist/ezui/p-fcf0acce.entry.js +0 -1
@@ -13,24 +13,25 @@
13
13
  /*@doc Define o peso da fonte do label do componente.*/
14
14
  --text-area--font-weight: var(--text-weight--medium, 400);
15
15
  /*@doc Define a cor da fonte do input e label do componente.*/
16
- --text-area--color: var(--title--primary, #000);
16
+ --text-area--color: var(--title--primary, #2B3A54);
17
17
 
18
18
  /* input */
19
19
  /*@doc Define a cor de fundo do input.*/
20
- --text-area__input--background-color: var(--background--medium, #e0e0e0);
20
+ --text-area__input--background-color: var(--background--light, #FFFFFF);
21
21
  /*@doc Define o estilo da borda do input.*/
22
22
  --text-area__input--border: var(--border--medium, 2px solid);
23
23
  /*@doc Define a cor da borda do input.*/
24
- --text-area__input--border-color: var(--text-area__input--background-color);
25
- /*no modo normal usamos a borda com a mesma cor do bg*/
24
+ --text-area__input--border-color: var(--color--strokes,#DCE0E8);
26
25
  /*@doc Define a cor da borda do input quando focado.*/
27
26
  --text-area__input--focus--border-color: var(--color--primary, #008561);
28
27
  /*@doc Define a cor de fundo do input quando desabilitado.*/
29
- --text-area__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
28
+ --text-area__input--disabled--background-color: var(--background--medium, #F0F3F7);
30
29
  /*@doc Define a cor do texto do input.*/
31
- --text-area__input--disabled--color: var(--text--disable, #AFB6C0);
30
+ --text-area__input--disabled--color: var(--text--primary, #626E82);
31
+ /*@doc Define a borda do texto do input quando desabilitado.*/
32
+ --text-area__input--disabled--border--color: var(--color--strokes,#DCE0E8);
32
33
  /*@doc Define a cor da borda do input quando com erro.*/
33
- --text-area__input--error--border-color: #CC2936;
34
+ --text-area__input--error--border-color: var(--color-alert--error-800,#BD0025);
34
35
 
35
36
  /* message box */
36
37
  /*@doc Define o tamanho da fonte da mensagem abaixo do input.*/
@@ -38,7 +39,7 @@
38
39
  /*@doc Define a cor da fonte da mensagem quando info.*/
39
40
  --text-area__message_box--info--color: var(--color--success, #22085d);
40
41
  /*@doc Define a cor da fonte da mensagem quando erro.*/
41
- --text-area__message_box--error--color: var(--color--error, #FF0000);
42
+ --text-area__message_box--error--color: var(--color-alert--error-800,#BD0025);
42
43
 
43
44
  /* label */
44
45
  /*@doc Define o posicionamento do label.*/
@@ -50,6 +51,20 @@
50
51
  /*@doc Define o espaçamento direito do label.*/
51
52
  --text-area__label--padding-right: 12px;
52
53
 
54
+ /* scrollbar */
55
+ /*@doc Define a cor da barra de rolagem do componente.*/
56
+ --text-area__scrollbar--color-default: var(--scrollbar--default, #626e82);
57
+ /*@doc Define a cor de fundo da barra de rolagem do componente.*/
58
+ --text-area__scrollbar--color-background: var(--scrollbar--background, #E5EAF0);
59
+ /*@doc Define a cor do hover na barra de rolagem do componente.*/
60
+ --text-area__scrollbar--color-hover: var(--scrollbar--hover, #2B3A54);
61
+ /*@doc Define a cor do active na barra de rolagem do componente.*/
62
+ --text-area__scrollbar--color-clicked: var(--scrollbar--clicked, #a2abb9);
63
+ /*@doc Define o raio da borda da barra de rolagem do componente.*/
64
+ --text-area__scrollbar--border-radius: var(--border--radius-small, 6px);
65
+ /*@doc Define a largura da barra de rolagem do componente.*/
66
+ --text-area__scrollbar--width: var(--space--small, 6px);
67
+
53
68
  /***************
54
69
  host style
55
70
  ***************/
@@ -69,6 +84,7 @@ textarea {
69
84
  width: 100%;
70
85
  padding: 0;
71
86
  background: none;
87
+ min-height: 42px;
72
88
 
73
89
  /*public*/
74
90
  font-weight: var(--text-area--font-weight);
@@ -76,6 +92,9 @@ textarea {
76
92
  font-size: var(--text-area--font-size);
77
93
  color: var(--text-area--color);
78
94
  margin-top: calc(var(--space--medium, 12px) + 4px);
95
+
96
+ scrollbar-width: thin;
97
+ scrollbar-color: var(--text-area__scrollbar--color-clicked) var(--text-area__scrollbar--color-background);
79
98
  }
80
99
 
81
100
  textarea:focus {
@@ -87,11 +106,48 @@ textarea:disabled {
87
106
  /*public*/
88
107
  background-color: transparent;
89
108
  color: var(--text-area__input--disabled--color);
109
+ border: var(--text-area__input--disabled--border);
110
+ cursor: not-allowed;
111
+ }
112
+
113
+ textarea::-webkit-scrollbar {
114
+ background-color: var(--text-area__scrollbar--color-background);
115
+
116
+ width: var(--text-area__scrollbar--width);
117
+ max-width: var(--text-area__scrollbar--width);
118
+ min-width: var(--text-area__scrollbar--width);
119
+ }
120
+
121
+ textarea::-webkit-scrollbar-thumb {
122
+ /*public*/
123
+ background-color: var(--text-area__scrollbar--color-default);
124
+ border-radius: var(--text-area__scrollbar--border-radius);
125
+ }
126
+
127
+ textarea::-webkit-scrollbar-track {
128
+ /*public*/
129
+ background-color: var(--text-area__scrollbar--color-background);
130
+ border-radius: var(--text-area__scrollbar--border-radius);
131
+ }
132
+
133
+ textarea::-webkit-scrollbar-thumb:vertical:hover,
134
+ textarea::-webkit-scrollbar-thumb:horizontal:hover {
135
+ /*public*/
136
+ background-color: var(--text-area__scrollbar--color-hover);
137
+ }
138
+
139
+ textarea::-webkit-scrollbar-thumb:vertical:active,
140
+ textarea::-webkit-scrollbar-thumb:horizontal:active {
141
+ /*public*/
142
+ background-color: var(--text-area__scrollbar--color-clicked);
90
143
  }
91
144
 
92
145
  .textarea {
93
146
  /*private*/
94
147
  width: 100%;
148
+ min-height: 42px;
149
+ max-width: 100%;
150
+
95
151
  box-sizing: border-box;
96
152
  padding-left: var(--space--medium);
97
153
  padding-right: var(--space--extra-small);
@@ -102,9 +158,16 @@ textarea:disabled {
102
158
  border-color: var(--text-area__input--border-color);
103
159
  background-color: var(--text-area__input--background-color);
104
160
  }
161
+ .textarea--disabled{
162
+ border-radius: var(--text-area--border-radius);
163
+ border: var(--text-area__input--border);
164
+ border-color: var(--text-area__input--disabled--border--color);
165
+ background-color: var(--text-area__input--disabled--background-color);
166
+ cursor: not-allowed;
167
+ }
105
168
 
106
169
  .textarea--resizable {
107
- resize: both;
170
+ resize: vertical;
108
171
  }
109
172
 
110
173
  .textarea--focus {
@@ -169,6 +232,7 @@ textarea:disabled {
169
232
 
170
233
  .textarea__label--disabled {
171
234
  color: var(--text-area__input--disabled--color);
235
+ cursor: not-allowed;
172
236
  }
173
237
 
174
238
  .textarea--slim {
@@ -216,27 +280,12 @@ textarea:disabled {
216
280
  color: var(--text-area--color);
217
281
  }
218
282
 
219
- .textarea--slim:disabled::-webkit-input-placeholder { /* WebKit browsers */
220
- /*public*/
221
- color: var(--text-area__input--disabled--color);
222
- }
223
-
224
- .textarea--slim:disabled:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
225
- /*public*/
226
- color: var(--text-area__input--disabled--color);
227
- }
228
-
229
- .textarea--slim:disabled::-moz-placeholder { /* Mozilla Firefox 19+ */
230
- /*public*/
231
- color: var(--text-area__input--disabled--color);
232
- }
233
-
234
- .textarea--slim:disabled:-ms-input-placeholder { /* Internet Explorer 10+ */
235
- /*public*/
236
- color: var(--text-area__input--disabled--color);
237
- }
238
-
283
+ .textarea--slim:disabled::-webkit-input-placeholder, /* WebKit browsers */
284
+ .textarea--slim:disabled:-moz-placeholder, /* Mozilla Firefox 4 to 18 */
285
+ .textarea--slim:disabled::-moz-placeholder, /* Mozilla Firefox 19+ */
286
+ .textarea--slim:disabled:-ms-input-placeholder, /* Internet Explorer 10+ */
239
287
  .textarea--slim:disabled::placeholder {
240
288
  /*public*/
241
289
  color: var(--text-area__input--disabled--color);
290
+ cursor: not-allowed
242
291
  }
@@ -2,6 +2,8 @@ import { ElementIDUtils } from '@sankhyalabs/core';
2
2
  import { h, Host } from '@stencil/core';
3
3
  export class EzTextArea {
4
4
  constructor() {
5
+ this.LINE_HEIGHT = 24;
6
+ this.HEIGHT_RATIO = 1.4;
5
7
  this.label = undefined;
6
8
  this.value = undefined;
7
9
  this.enabled = true;
@@ -9,7 +11,9 @@ export class EzTextArea {
9
11
  this.rows = 4;
10
12
  this.canShowError = true;
11
13
  this.mode = "regular";
12
- this.enableResize = false;
14
+ this.enableResize = true;
15
+ this.autoRows = false;
16
+ this.autoFocus = false;
13
17
  }
14
18
  observeErrorMessage() {
15
19
  var _a, _b, _c, _d;
@@ -47,8 +51,17 @@ export class EzTextArea {
47
51
  observeRows() {
48
52
  const rows = this.rows > 0 ? this.rows : this.mode != "slim" ? 4 : 2;
49
53
  if (rows !== this.rows) {
50
- this.rows = rows;
51
- this._initialRows = rows;
54
+ this.updateRows(rows);
55
+ }
56
+ }
57
+ observeAutoRows() {
58
+ var _a, _b;
59
+ if (this.autoRows) {
60
+ (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
61
+ this.initializeResizeObserver();
62
+ }
63
+ else {
64
+ (_b = this._resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
52
65
  }
53
66
  }
54
67
  //---------------------------------------------
@@ -117,6 +130,42 @@ export class EzTextArea {
117
130
  isFocused() {
118
131
  return this._hostElement.shadowRoot.activeElement !== null;
119
132
  }
133
+ updateRows(newRows) {
134
+ this.rows = newRows;
135
+ this._initialRows = newRows;
136
+ }
137
+ calculateMaxRows() {
138
+ const parentElement = this._hostElement.parentElement;
139
+ if (!parentElement) {
140
+ return;
141
+ }
142
+ const height = Math.max((parentElement === null || parentElement === void 0 ? void 0 : parentElement.clientHeight) || 0, this.LINE_HEIGHT);
143
+ if (height > 0) {
144
+ const maxRows = Math.floor(height / this.LINE_HEIGHT * this.HEIGHT_RATIO);
145
+ if (maxRows !== this.rows) {
146
+ this.updateRows(maxRows);
147
+ }
148
+ }
149
+ }
150
+ initializeResizeObserver() {
151
+ if (!this.autoRows) {
152
+ return;
153
+ }
154
+ const parentElement = this._hostElement.parentElement;
155
+ if (parentElement) {
156
+ try {
157
+ if (this._resizeObserver != undefined) {
158
+ this._resizeObserver.unobserve(parentElement);
159
+ }
160
+ this._resizeObserver = new ResizeObserver(this.calculateMaxRows.bind(this));
161
+ this._resizeObserver.observe(parentElement);
162
+ }
163
+ catch (e) {
164
+ console.warn(e);
165
+ }
166
+ this.calculateMaxRows();
167
+ }
168
+ }
120
169
  //---------------------------------------------
121
170
  // Event handlers
122
171
  //---------------------------------------------
@@ -139,6 +188,13 @@ export class EzTextArea {
139
188
  this._container.classList.add("textarea--focus");
140
189
  }
141
190
  }
191
+ connectedCallback() {
192
+ this.initializeResizeObserver();
193
+ }
194
+ disconnectedCallback() {
195
+ var _a;
196
+ (_a = this._resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
197
+ }
142
198
  //---------------------------------------------
143
199
  // Lifecycle web component
144
200
  //---------------------------------------------
@@ -146,10 +202,15 @@ export class EzTextArea {
146
202
  this.observeErrorMessage();
147
203
  this.adjustFloatingLabel();
148
204
  this.observeMode();
205
+ if (this.autoFocus) {
206
+ requestAnimationFrame(() => {
207
+ this.setFocus();
208
+ });
209
+ }
149
210
  }
150
211
  render() {
151
212
  ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
152
- return (h(Host, null, h("div", { class: "textarea", ref: (el) => this._container = el }, this.label && this.mode != "slim" ?
213
+ return (h(Host, null, h("div", { class: `textarea ${this.enabled ? "" : "textarea--disabled"}`, ref: (el) => this._container = el }, this.label && this.mode != "slim" ?
153
214
  h("label", { ref: (el) => this._labelElem = el, class: this.enabled ? "textarea__label" : "textarea__label textarea__label--disabled", onClick: () => this._inputElem.focus(), title: this.label }, this.label)
154
215
  : null, h("textarea", { onFocus: () => this.handleFocus(), "data-element-id": ElementIDUtils.getInternalIDInfo("input"), ref: (el) => this._inputElem = el, value: this.value, disabled: !this.enabled, class: {
155
216
  "textarea--slim": this.mode === "slim",
@@ -310,6 +371,42 @@ export class EzTextArea {
310
371
  },
311
372
  "attribute": "enable-resize",
312
373
  "reflect": true,
374
+ "defaultValue": "true"
375
+ },
376
+ "autoRows": {
377
+ "type": "boolean",
378
+ "mutable": false,
379
+ "complexType": {
380
+ "original": "boolean",
381
+ "resolved": "boolean",
382
+ "references": {}
383
+ },
384
+ "required": false,
385
+ "optional": false,
386
+ "docs": {
387
+ "tags": [],
388
+ "text": "Ativa a op\u00E7\u00E3o de fazer as linhas do componente serem baseados na altura m\u00E1xima."
389
+ },
390
+ "attribute": "auto-rows",
391
+ "reflect": true,
392
+ "defaultValue": "false"
393
+ },
394
+ "autoFocus": {
395
+ "type": "boolean",
396
+ "mutable": false,
397
+ "complexType": {
398
+ "original": "boolean",
399
+ "resolved": "boolean",
400
+ "references": {}
401
+ },
402
+ "required": false,
403
+ "optional": false,
404
+ "docs": {
405
+ "tags": [],
406
+ "text": "Se true o campo de texto receber\u00E1 o foco ao ser renderizado."
407
+ },
408
+ "attribute": "auto-focus",
409
+ "reflect": false,
313
410
  "defaultValue": "false"
314
411
  }
315
412
  };
@@ -423,6 +520,9 @@ export class EzTextArea {
423
520
  }, {
424
521
  "propName": "rows",
425
522
  "methodName": "observeRows"
523
+ }, {
524
+ "propName": "autoRows",
525
+ "methodName": "observeAutoRows"
426
526
  }];
427
527
  }
428
528
  }
@@ -8,6 +8,10 @@
8
8
  --ez-text-input__icon--width: 48px;
9
9
  /*@doc Define a altura do componente em modo "slim".*/
10
10
  --ez-text-input--height--slim: 32px;
11
+ /*@doc Define a largura maxima do componente.*/
12
+ --ez-text-input__min-width: 0px;
13
+ /*@doc Define a largura minima do componente.*/
14
+ --ez-text-input__max-width: 100%;
11
15
 
12
16
  /* general */
13
17
  /*@doc Define o raio da borda do input do componente.*/
@@ -20,35 +24,41 @@
20
24
  --ez-text-input--font-weight: var(--text-weight--medium, 400);
21
25
  /*@doc Define a cor da fonte do input e label do componente.*/
22
26
  --ez-text-input--color: var(--title--primary, #2B3A54);
27
+ /*@doc Define a margem abaixo do componente.*/
28
+ --ez-text-input__margin-bottom: var(--space--small);
23
29
 
24
30
  /* input */
25
31
  /*@doc Define a cor de fundo do input.*/
26
- --ez-text-input__input--background-color: var(--background--medium, #e0e0e0);
32
+ --ez-text-input__input--background-color: var(--background--light, #ffffff);
27
33
  /*@doc Define o estilo da borda do input.*/
28
- --ez-text-input__input--border: var(--border--medium, 2px solid);
34
+ --ez-text-input__input--border: var(--border--small, 1px solid);
29
35
  /*@doc Define a cor da borda do input.*/
30
- --ez-text-input__input--border-color: var(--ez-text-input__input--background-color);
31
- /*no modo normal usamos a borda com a mesma cor do bg*/
36
+ --ez-text-input__input--border-color: var(--color--strokes,#DCE0E8);
32
37
  /*@doc Define a cor da borda do input quando focado.*/
33
38
  --ez-text-input__input--focus--border-color: var(--color--primary, #008561);
39
+
40
+ /* input disabled */
34
41
  /*@doc Define a cor de fundo do input quando desabilitado.*/
35
- --ez-text-input__input--disabled--background-color: var(--color--disable-secondary, #F2F5F8);
42
+ --ez-text-input__input--disabled--background-color: var(--background--medium, #F0F3F7);
36
43
  /*@doc Define a cor do texto do input.*/
37
- --ez-text-input__input--disabled--color: var(--text--disable, #AFB6C0);
44
+ --ez-text-input__input--disabled--color: var(--text--primary, #626E82);
45
+
46
+ /* input error */
38
47
  /*@doc Define a cor da borda do input quando com erro.*/
39
- --ez-text-input__input--error--border-color: #CC2936;
48
+ --ez-text-input__input--error--border-color: var(--color-alert--error-800,#BD0025);
49
+
50
+
40
51
  /*@doc Define a cor do input quando não possuir borda*/
41
52
  --ez-text-input__input--noborder-color: white;
42
53
  /*@doc Define o padding do input*/
43
54
  --ez-text-input__input--padding: var(--space--medium, 6px);
55
+ /*@doc Define a cor do placeholder do input.*/
56
+ --ez-text-input__placeholder--color: var(--text--secondary, #a2abb9);
44
57
 
45
- /* message box */
46
- /*@doc Define o tamanho da fonte da mensagem abaixo do input.*/
47
- --ez-text-input__message_box--font-size: var(--text--small, 12px);
48
- /*@doc Define a cor da fonte da mensagem quando info.*/
49
- --ez-text-input__message_box--info--color: var(--color--success, #22085d);
58
+
59
+ /* tooltip icon */
50
60
  /*@doc Define a cor da fonte da mensagem quando erro.*/
51
- --ez-text-input__message_box--error--color: var(--color--error, #FF0000);
61
+ --ez-text-input__tooltip_icon--error--color: var(--color-alert--error-800,#BD0025);
52
62
 
53
63
  /* label */
54
64
  /*@doc Define o posicionamento do label.*/
@@ -61,7 +71,20 @@
61
71
  --ez-text-input__label--padding-right: 12px;
62
72
 
63
73
  /*@doc Define a cor do ícone do slot.*/
64
- --ez-text-input__input--focus--icon-color: var(--ez-text-input__input--focus--border-color);
74
+ --ez-text-input__input--focus--icon-color: var(--title--primary, #2B3A54);
75
+ /*@doc Define a cor do ícone do slot quando disabled.*/
76
+ --ez-text-input__input--disabled--focus--icon-color: var(--text--primary, #626E82);
77
+
78
+ /*Error icon*/
79
+ /*@doc Define o espaçamento lateral do icone de erro.*/
80
+ --ez-text-input__tooltip-icon--spacing: var(--space--large);
81
+ /*@doc Define a largura do icone de erro.*/
82
+ --ez-text-input__tooltip-icon---width: var(--space--large);
83
+ /*@doc Define a margem horizontal do icone de erro.*/
84
+ --ez-text-input__tooltip-icon---horizontal-margin: var(--space--medium, 12px);
85
+ /*@doc Define a margem vertical do icone de erro.*/
86
+ --ez-text-input__tooltip-icon---vertical-margin: 10px;
87
+
65
88
 
66
89
 
67
90
  /***************
@@ -73,6 +96,8 @@
73
96
  position: relative;
74
97
  /*public*/
75
98
  width: var(--ez-text-input--width);
99
+ min-width: var(--ez-text-input__min-width);
100
+ max-width: var(--ez-text-input__max-width);
76
101
  }
77
102
 
78
103
  :host(.grid_editor){
@@ -95,12 +120,18 @@ input {
95
120
  color: var(--ez-text-input--color);
96
121
  font-weight: var(--ez-text-input--font-weight);
97
122
  padding: var(--ez-text-input__input--padding);
123
+ margin-bottom: var(--ez-text-input__margin-bottom);
124
+ }
125
+
126
+ input.no--margin {
127
+ --ez-text-input__margin-bottom: 0;
98
128
  }
99
129
 
100
130
  input:disabled {
101
131
  /*public*/
102
132
  background-color: var(--ez-text-input__input--disabled--background-color);
103
133
  color: var(--ez-text-input__input--disabled--color);
134
+ cursor: not-allowed;
104
135
  }
105
136
 
106
137
  input:focus {
@@ -113,14 +144,21 @@ input:focus {
113
144
  input.icon--left {
114
145
  padding-left: var(--ez-text-input__icon--width);
115
146
  }
147
+ input.icon--left.hasError {
148
+ padding-right: var(--ez-text-input__icon--width);
149
+ }
116
150
 
117
151
  input.icon--right {
118
152
  padding-right: var(--ez-text-input__icon--width);
119
153
  }
154
+ input.icon--right.hasError {
155
+ padding-right: calc(var(--ez-text-input__icon--width) + var(--ez-text-input__tooltip-icon--spacing));
156
+ }
120
157
 
121
158
  input.hasError {
122
159
  color: var(--ez-text-input--color);
123
160
  border-color: var(--ez-text-input__input--error--border-color);
161
+ padding-right: calc(var(--ez-text-input__tooltip-icon---width) + (2*var(--ez-text-input__tooltip-icon---horizontal-margin)));
124
162
  }
125
163
 
126
164
  input:disabled.hasError {
@@ -131,29 +169,14 @@ input.text--right {
131
169
  text-align: right;
132
170
  }
133
171
 
172
+ input:disabled,
134
173
  input:read-only {
135
- cursor: default;
136
- }
137
-
138
- .message-box {
139
- /*private*/
140
- min-height: 16px;
141
- min-width: 100%;
142
- margin-top: 3px;
143
- line-height: 12px;
144
- overflow: hidden;
145
- text-overflow: ellipsis;
146
- white-space: nowrap;
147
-
148
- /*public*/
149
- font-family: var(--ez-text-input--font-family);
150
- font-size: var(--ez-text-input__message_box--font-size);
151
- color: var(--ez-text-input__message_box--info--color);
174
+ cursor: not-allowed;
152
175
  }
153
176
 
154
177
  .hasError {
155
178
  /*public*/
156
- color: var(--ez-text-input__message_box--error--color);
179
+ color: var(--ez-text-input__tooltip_icon--error--color);
157
180
  }
158
181
 
159
182
  .input__label {
@@ -178,7 +201,9 @@ input:read-only {
178
201
  left: var(--ez-text-input__label--padding-left);
179
202
  padding-right: var(--ez-text-input__label--padding-right);
180
203
  }
181
-
204
+ .input__label.hasError {
205
+ width: calc(100% - 2*(var(--ez-text-input__tooltip-icon--spacing)));
206
+ }
182
207
  .input__label--floated {
183
208
  font-family: var(--ez-text-input--font-family);
184
209
  font-size: var(--text--extra-small);
@@ -188,6 +213,7 @@ input:read-only {
188
213
 
189
214
  .input__label--disabled {
190
215
  color: var(--ez-text-input__input--disabled--color);
216
+ cursor: not-allowed;
191
217
  }
192
218
 
193
219
  .input__label--left {
@@ -198,17 +224,25 @@ input:read-only {
198
224
  width: calc(100% - var(--ez-text-input__icon--width));
199
225
  }
200
226
 
227
+ .input__label--left.hasError {
228
+ width: calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing));
229
+ }
230
+
201
231
  .input__label--right {
202
232
  /*public*/
203
233
  right: var(--ez-text-input__icon--width);
204
234
  width: calc(100% - var(--ez-text-input__icon--width));
205
235
  }
236
+ .input__label--right.hasError {
237
+ width: calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing));
238
+ }
206
239
 
207
240
  /* ISSO TA ERRADO CRIAR INPUT__LABEL--BOTH */
208
241
  .input__label--left.input__label--right {
209
242
  left: calc(var(--ez-text-input__icon--width) + 2px);
210
243
  /*borda*/
211
244
  width: calc(100% - var(--ez-text-input__icon--width) * 2);
245
+
212
246
  }
213
247
 
214
248
  .input--with--label {
@@ -228,66 +262,23 @@ input:read-only {
228
262
  font-weight: bold;
229
263
  }
230
264
 
231
- .input--slim::-webkit-input-placeholder { /* Edge */
232
- /*public*/
233
- font-family: var(--ez-text-input--font-family);
234
- font-size: var(--ez-text-input--font-size);
235
- font-weight: var(--ez-text-input--font-weight);
236
- color: var(--ez-text-input--color);
237
- }
265
+ .input--slim::-webkit-input-placeholder, /* Edge */
266
+ .input--slim:-moz-placeholder, /* Firefox 4-18 */
267
+ .input--slim::-moz-placeholder, /* Firefox 19+ */
268
+ .input--slim:-ms-input-placeholder, /* IE 10-11 */
269
+ .input--slim::placeholder { /* Modern browsers */
270
+ /*public*/
271
+ font-family: var(--ez-text-input--font-family);
272
+ font-size: var(--ez-text-input--font-size);
273
+ font-weight: var(--ez-text-input--font-weight);
274
+ color: var(--ez-text-input__placeholder--color);
275
+ }
238
276
 
239
- .input--slim:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
240
- /*public*/
241
- font-family: var(--ez-text-input--font-family);
242
- font-size: var(--ez-text-input--font-size);
243
- font-weight: var(--ez-text-input--font-weight);
244
- color: var(--ez-text-input--color);
245
- }
246
-
247
- .input--slim::-moz-placeholder { /* Mozilla Firefox 19+ */
248
- /*public*/
249
- font-family: var(--ez-text-input--font-family);
250
- font-size: var(--ez-text-input--font-size);
251
- font-weight: var(--ez-text-input--font-weight);
252
- color: var(--ez-text-input--color);
253
- }
254
-
255
- .input--slim:-ms-input-placeholder { /* Internet Explorer 10-11 */
256
- /*public*/
257
- font-family: var(--ez-text-input--font-family);
258
- font-size: var(--ez-text-input--font-size);
259
- font-weight: var(--ez-text-input--font-weight);
260
- color: var(--ez-text-input--color);
261
- }
262
-
263
- .input--slim::placeholder {
264
- /*public*/
265
- font-family: var(--ez-text-input--font-family);
266
- font-size: var(--ez-text-input--font-size);
267
- font-weight: var(--ez-text-input--font-weight);
268
- color: var(--ez-text-input--color);
269
- }
270
-
271
- .input--slim:disabled::-webkit-input-placeholder { /* WebKit browsers */
272
- /*public*/
273
- color: var(--ez-text-input__input--disabled--color);
274
- }
275
-
276
- .input--slim:disabled:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
277
- /*public*/
278
- color: var(--ez-text-input__input--disabled--color);
279
- }
280
-
281
- .input--slim:disabled::-moz-placeholder { /* Mozilla Firefox 19+ */
282
- /*public*/
283
- color: var(--ez-text-input__input--disabled--color);
284
- }
285
-
286
- .input--slim:disabled:-ms-input-placeholder { /* Internet Explorer 10+ */
287
- /*public*/
288
- color: var(--ez-text-input__input--disabled--color);
289
- }
290
277
 
278
+ .input--slim:disabled::-webkit-input-placeholder, /* WebKit browsers */
279
+ .input--slim:disabled:-moz-placeholder, /* Mozilla Firefox 4 to 18 */
280
+ .input--slim:disabled::-moz-placeholder, /* Mozilla Firefox 19+ */
281
+ .input--slim:disabled:-ms-input-placeholder, /* Internet Explorer 10+ */
291
282
  .input--slim:disabled::placeholder {
292
283
  /*public*/
293
284
  color: var(--ez-text-input__input--disabled--color);
@@ -298,4 +289,28 @@ input.input__slim--noborder {
298
289
  border: 0 none;
299
290
  outline: 0;
300
291
  background: var(--ez-text-input__input--noborder-color);
292
+ }
293
+
294
+ ez-icon.tooltip-icon {
295
+ position: absolute;
296
+ display: flex;
297
+ align-items: center;
298
+ justify-content: center;
299
+ overflow: hidden;
300
+ width: var(--ez-text-input__tooltip-icon---width);
301
+ height: 22px;
302
+ margin: var(--ez-text-input__tooltip-icon---vertical-margin) var(--ez-text-input__tooltip-icon---horizontal-margin);
303
+ top: 0;
304
+ right: 0;
305
+ z-index: var(--elevation--4);
306
+ border-radius: var(--ez-text-input--border-radius);
307
+
308
+
309
+ }
310
+ ez-icon.tooltip-icon.rightIconSlot{
311
+ right: var(--ez-text-input__tooltip-icon--spacing);
312
+ }
313
+
314
+ ez-icon.tooltip-icon.hasError{
315
+ --ez-icon--color: var(--ez-text-input__tooltip_icon--error--color);
301
316
  }