@zanichelli/albe-web-components 3.2.2 → 4.0.2

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 (269) hide show
  1. package/CHANGELOG.md +1708 -0
  2. package/dist/cjs/{index-b1289f95.js → index-6b6a3299.js} +27 -29
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{utils-33df2456.js → utils-8cc414c9.js} +28 -2
  6. package/dist/cjs/web-components-library.cjs.js +1 -1
  7. package/dist/cjs/z-app-switcher_12.cjs.entry.js +1 -1
  8. package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/z-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
  11. package/dist/cjs/z-chip.cjs.entry.js +2 -2
  12. package/dist/cjs/z-combobox.cjs.entry.js +5 -5
  13. package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
  14. package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
  15. package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
  16. package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -1
  17. package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
  18. package/dist/cjs/z-file.cjs.entry.js +1 -2
  19. package/dist/cjs/z-footer.cjs.entry.js +1 -1
  20. package/dist/cjs/z-input-deprecated.cjs.entry.js +271 -0
  21. package/dist/cjs/z-input-label_2.cjs.entry.js +272 -0
  22. package/dist/cjs/z-input_2.cjs.entry.js +228 -0
  23. package/dist/cjs/z-list-group.cjs.entry.js +54 -0
  24. package/dist/cjs/{z-list_3.cjs.entry.js → z-list_2.cjs.entry.js} +5 -52
  25. package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +4 -4
  26. package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
  27. package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
  28. package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
  29. package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
  30. package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
  31. package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
  32. package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
  33. package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
  34. package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
  35. package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
  36. package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
  37. package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
  38. package/dist/cjs/z-otp.cjs.entry.js +1 -1
  39. package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
  40. package/dist/cjs/z-pagination.cjs.entry.js +2 -2
  41. package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
  42. package/dist/cjs/z-popover.cjs.entry.js +2 -2
  43. package/dist/cjs/z-section-title.cjs.entry.js +1 -1
  44. package/dist/cjs/z-skip-to-content.cjs.entry.js +4 -4
  45. package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
  46. package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
  47. package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
  48. package/dist/cjs/z-table-header.cjs.entry.js +2 -2
  49. package/dist/cjs/z-table-row.cjs.entry.js +1 -1
  50. package/dist/cjs/z-table.cjs.entry.js +1 -1
  51. package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
  52. package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
  53. package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
  54. package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
  55. package/dist/collection/beans/index.js +27 -29
  56. package/dist/collection/collection-manifest.json +2 -1
  57. package/dist/collection/components/buttons/z-toggle-switch/index.js +6 -6
  58. package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -1
  59. package/dist/collection/components/file-upload/z-file/index.js +0 -1
  60. package/dist/collection/components/inputs/z-combobox/index.js +4 -4
  61. package/dist/collection/components/inputs/z-input/index.js +58 -234
  62. package/dist/collection/components/inputs/z-input/styles.css +61 -34
  63. package/dist/collection/components/inputs/z-input-message/index.js +1 -1
  64. package/dist/collection/components/inputs/z-select/index.js +69 -134
  65. package/dist/collection/components/inputs/z-select/styles.css +16 -58
  66. package/dist/collection/components/modal/z-modal-login/index.js +1 -1
  67. package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -4
  68. package/dist/collection/components/z-date-picker/index.js +1 -1
  69. package/dist/collection/components/z-pagination/index.js +2 -2
  70. package/dist/collection/components/z-skip-to-content/index.js +1 -1
  71. package/dist/collection/components/z-skip-to-content/styles.css +1 -1
  72. package/dist/collection/deprecated/z-input-deprecated/index.js +824 -0
  73. package/dist/collection/deprecated/z-input-deprecated/styles.css +296 -0
  74. package/dist/collection/{components/inputs → deprecated}/z-input-label/index.js +0 -0
  75. package/dist/collection/{components/inputs → deprecated}/z-input-label/styles.css +0 -0
  76. package/dist/collection/snowflakes/myz/z-otp/index.js +1 -1
  77. package/dist/collection/utils/utils.js +27 -2
  78. package/dist/esm/{index-7424c64c.js → index-46ca649a.js} +28 -30
  79. package/dist/esm/index.js +2 -2
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/{utils-93d2b922.js → utils-5d5963ef.js} +28 -3
  82. package/dist/esm/web-components-library.js +1 -1
  83. package/dist/esm/z-app-switcher_12.entry.js +1 -1
  84. package/dist/esm/z-aria-alert.entry.js +1 -1
  85. package/dist/esm/z-avatar.entry.js +1 -1
  86. package/dist/esm/z-button-filter.entry.js +45 -0
  87. package/dist/esm/z-chip.entry.js +2 -2
  88. package/dist/esm/z-combobox.entry.js +5 -5
  89. package/dist/esm/z-contextual-menu.entry.js +1 -1
  90. package/dist/esm/z-cookiebar.entry.js +1 -1
  91. package/dist/esm/z-date-picker.entry.js +2 -2
  92. package/dist/esm/z-dragdrop-area_2.entry.js +0 -1
  93. package/dist/esm/z-file-upload.entry.js +2 -2
  94. package/dist/esm/z-file.entry.js +1 -2
  95. package/dist/esm/z-footer.entry.js +1 -1
  96. package/dist/esm/z-input-deprecated.entry.js +267 -0
  97. package/dist/esm/z-input-label_2.entry.js +267 -0
  98. package/dist/esm/z-input_2.entry.js +223 -0
  99. package/dist/esm/z-list-group.entry.js +50 -0
  100. package/dist/esm/z-list_2.entry.js +174 -0
  101. package/dist/esm/z-menu-dropdown_2.entry.js +4 -4
  102. package/dist/esm/z-messages-pocket.entry.js +1 -1
  103. package/dist/esm/z-modal-login.entry.js +1 -1
  104. package/dist/esm/z-myz-card-alert.entry.js +1 -1
  105. package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
  106. package/dist/esm/z-myz-card-footer.entry.js +1 -1
  107. package/dist/esm/z-myz-card-info.entry.js +2 -2
  108. package/dist/esm/z-myz-card_4.entry.js +1 -1
  109. package/dist/esm/z-myz-list-item.entry.js +2 -2
  110. package/dist/esm/z-myz-topbar.entry.js +1 -1
  111. package/dist/esm/z-navigation-tab-link.entry.js +1 -1
  112. package/dist/esm/z-navigation-tab.entry.js +1 -1
  113. package/dist/esm/z-navigation-tabs.entry.js +1 -1
  114. package/dist/esm/z-otp.entry.js +1 -1
  115. package/dist/esm/z-pagination-bar.entry.js +2 -2
  116. package/dist/esm/z-pagination.entry.js +2 -2
  117. package/dist/esm/z-pocket_3.entry.js +2 -2
  118. package/dist/esm/z-popover.entry.js +2 -2
  119. package/dist/esm/z-section-title.entry.js +1 -1
  120. package/dist/esm/z-skip-to-content.entry.js +4 -4
  121. package/dist/esm/z-slideshow.entry.js +2 -2
  122. package/dist/esm/z-status-tag.entry.js +1 -1
  123. package/dist/esm/z-table-cell.entry.js +1 -1
  124. package/dist/esm/z-table-header.entry.js +2 -2
  125. package/dist/esm/z-table-row.entry.js +1 -1
  126. package/dist/esm/z-table.entry.js +1 -1
  127. package/dist/esm/z-toast-notification-list.entry.js +1 -1
  128. package/dist/esm/z-toast-notification.entry.js +1 -1
  129. package/dist/esm/z-toggle-switch.entry.js +3 -3
  130. package/dist/esm/z-tooltip.entry.js +1 -1
  131. package/dist/types/beans/index.d.ts +6 -7
  132. package/dist/types/components/buttons/z-toggle-switch/index.d.ts +2 -2
  133. package/dist/types/components/inputs/z-input/index.d.ts +16 -29
  134. package/dist/types/components/inputs/z-select/index.d.ts +11 -17
  135. package/dist/types/components.d.ts +191 -30
  136. package/dist/types/deprecated/z-input-deprecated/index.d.ts +102 -0
  137. package/dist/types/{components/inputs → deprecated}/z-input-label/index.d.ts +0 -0
  138. package/dist/types/utils/utils.d.ts +5 -0
  139. package/dist/web-components-library/index.esm.js +1 -1
  140. package/{www/build/p-e9b90127.entry.js → dist/web-components-library/p-02ea7e49.entry.js} +1 -1
  141. package/{www/build/p-e4b4b2e4.entry.js → dist/web-components-library/p-0a0aee35.entry.js} +1 -1
  142. package/dist/web-components-library/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
  143. package/dist/web-components-library/p-0e408871.entry.js +1 -0
  144. package/dist/web-components-library/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
  145. package/dist/web-components-library/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
  146. package/dist/web-components-library/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
  147. package/dist/web-components-library/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
  148. package/dist/web-components-library/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
  149. package/dist/web-components-library/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
  150. package/dist/web-components-library/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
  151. package/dist/web-components-library/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
  152. package/dist/web-components-library/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
  153. package/dist/web-components-library/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
  154. package/dist/web-components-library/p-562e2d52.entry.js +1 -0
  155. package/dist/web-components-library/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
  156. package/dist/web-components-library/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
  157. package/{www/build/p-7e71d9b0.entry.js → dist/web-components-library/p-5eacbfc7.entry.js} +1 -1
  158. package/dist/web-components-library/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
  159. package/dist/web-components-library/p-69ef6ddc.entry.js +1 -0
  160. package/dist/web-components-library/p-71accd8e.entry.js +1 -0
  161. package/dist/web-components-library/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
  162. package/dist/web-components-library/p-99d7ab2f.entry.js +1 -0
  163. package/dist/web-components-library/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
  164. package/dist/web-components-library/p-9f5d707a.js +1 -0
  165. package/dist/web-components-library/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
  166. package/dist/web-components-library/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
  167. package/dist/web-components-library/{p-d9d9d834.entry.js → p-a8875b97.entry.js} +2 -2
  168. package/dist/web-components-library/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
  169. package/dist/web-components-library/p-b15efba3.entry.js +1 -0
  170. package/dist/web-components-library/p-b574d5f6.entry.js +1 -0
  171. package/dist/web-components-library/p-b9da171f.js +1 -0
  172. package/dist/web-components-library/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
  173. package/dist/web-components-library/p-bd886dd5.entry.js +1 -0
  174. package/dist/web-components-library/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
  175. package/dist/web-components-library/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
  176. package/dist/web-components-library/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
  177. package/{www/build/p-8a637cae.entry.js → dist/web-components-library/p-cd8950d2.entry.js} +1 -1
  178. package/dist/web-components-library/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
  179. package/dist/web-components-library/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
  180. package/dist/web-components-library/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
  181. package/dist/web-components-library/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
  182. package/dist/web-components-library/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
  183. package/dist/web-components-library/p-e2102da3.entry.js +1 -0
  184. package/dist/web-components-library/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
  185. package/dist/web-components-library/p-edb8d2ab.entry.js +1 -0
  186. package/dist/web-components-library/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
  187. package/dist/web-components-library/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
  188. package/{www/build/p-dcf4d1b6.entry.js → dist/web-components-library/p-fa925198.entry.js} +1 -1
  189. package/dist/web-components-library/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
  190. package/dist/web-components-library/web-components-library.esm.js +1 -1
  191. package/package.json +1 -1
  192. package/react/components.d.ts +1 -0
  193. package/react/components.js +4 -3
  194. package/react/components.js.map +1 -1
  195. package/src-react/index.ts +1 -0
  196. package/www/build/index.esm.js +1 -1
  197. package/{dist/web-components-library/p-e9b90127.entry.js → www/build/p-02ea7e49.entry.js} +1 -1
  198. package/{dist/web-components-library/p-e4b4b2e4.entry.js → www/build/p-0a0aee35.entry.js} +1 -1
  199. package/www/build/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
  200. package/www/build/p-0e408871.entry.js +1 -0
  201. package/www/build/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
  202. package/www/build/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
  203. package/www/build/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
  204. package/www/build/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
  205. package/www/build/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
  206. package/www/build/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
  207. package/www/build/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
  208. package/www/build/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
  209. package/www/build/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
  210. package/www/build/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
  211. package/www/build/p-562e2d52.entry.js +1 -0
  212. package/www/build/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
  213. package/www/build/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
  214. package/{dist/web-components-library/p-7e71d9b0.entry.js → www/build/p-5eacbfc7.entry.js} +1 -1
  215. package/www/build/p-623ae6b9.js +1 -0
  216. package/www/build/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
  217. package/www/build/p-69ef6ddc.entry.js +1 -0
  218. package/www/build/p-71accd8e.entry.js +1 -0
  219. package/www/build/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
  220. package/www/build/p-99d7ab2f.entry.js +1 -0
  221. package/www/build/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
  222. package/www/build/p-9f5d707a.js +1 -0
  223. package/www/build/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
  224. package/www/build/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
  225. package/www/build/{p-d9d9d834.entry.js → p-a8875b97.entry.js} +2 -2
  226. package/www/build/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
  227. package/www/build/p-b15efba3.entry.js +1 -0
  228. package/www/build/p-b574d5f6.entry.js +1 -0
  229. package/www/build/p-b9da171f.js +1 -0
  230. package/www/build/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
  231. package/www/build/p-bd886dd5.entry.js +1 -0
  232. package/www/build/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
  233. package/www/build/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
  234. package/www/build/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
  235. package/{dist/web-components-library/p-8a637cae.entry.js → www/build/p-cd8950d2.entry.js} +1 -1
  236. package/www/build/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
  237. package/www/build/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
  238. package/www/build/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
  239. package/www/build/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
  240. package/www/build/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
  241. package/www/build/p-e2102da3.entry.js +1 -0
  242. package/www/build/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
  243. package/www/build/p-edb8d2ab.entry.js +1 -0
  244. package/www/build/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
  245. package/www/build/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
  246. package/{dist/web-components-library/p-dcf4d1b6.entry.js → www/build/p-fa925198.entry.js} +1 -1
  247. package/www/build/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
  248. package/www/build/web-components-library.esm.js +1 -1
  249. package/www/index.html +1 -1
  250. package/dist/cjs/z-button-filter_5.cjs.entry.js +0 -620
  251. package/dist/esm/z-button-filter_5.entry.js +0 -612
  252. package/dist/esm/z-list_3.entry.js +0 -220
  253. package/dist/web-components-library/p-14c9344f.entry.js +0 -1
  254. package/dist/web-components-library/p-21b9a94f.entry.js +0 -1
  255. package/dist/web-components-library/p-57270965.entry.js +0 -1
  256. package/dist/web-components-library/p-70be81b6.entry.js +0 -1
  257. package/dist/web-components-library/p-80369bb8.entry.js +0 -1
  258. package/dist/web-components-library/p-80a3e18a.js +0 -1
  259. package/dist/web-components-library/p-a785ff38.entry.js +0 -1
  260. package/dist/web-components-library/p-fea5b98f.js +0 -1
  261. package/www/build/p-14c9344f.entry.js +0 -1
  262. package/www/build/p-21b9a94f.entry.js +0 -1
  263. package/www/build/p-57270965.entry.js +0 -1
  264. package/www/build/p-70be81b6.entry.js +0 -1
  265. package/www/build/p-80369bb8.entry.js +0 -1
  266. package/www/build/p-80a3e18a.js +0 -1
  267. package/www/build/p-a785ff38.entry.js +0 -1
  268. package/www/build/p-b058084c.js +0 -1
  269. package/www/build/p-fea5b98f.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-90e18641.js';
2
- import { l as TooltipPosition } from './index-7424c64c.js';
2
+ import { k as TooltipPosition } from './index-46ca649a.js';
3
3
 
4
4
  const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--arrow-size:6px;--edge-offset:calc(-1 * (var(--arrow-size) + calc(var(--space-unit) * 2)));position:relative;display:none;align-items:center;justify-content:center;padding:var(--space-unit);min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);color:var(--z-tooltip-theme--text);fill:currentColor;font-family:var(--font-family-sans);text-align:center;border-radius:var(--border-radius-small);background:var(--z-tooltip-theme--surface);filter:drop-shadow(0 4px 8px var(--shadow-color-base));will-change:filter}:host(.legacy){display:inline-flex;padding:calc(var(--space-unit) * 2);min-width:auto;min-height:auto;max-width:200px;font-style:italic;line-height:16px;letter-spacing:0.32px;font-size:12px;border:var(--border-size-small) solid var(--gray200);border-radius:var(--border-radius);filter:drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.08))}:host(.legacy)::before{--arrow-size:14px}:host([position])::before{--arrow-edge-offset:calc(100% - var(--arrow-size) - var(--space-unit));--arrow-center-x-offset:calc(50% - calc(var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - calc(var(--arrow-size) / 2));content:'';position:absolute;width:var(--arrow-size);height:var(--arrow-size);background:inherit;transform:rotate(45deg)}:host([open][style*='top:']),:host([open][style*='inset:']){display:inline-flex}:host([position^='top']){margin-bottom:var(--space-unit)}:host([position='right']){margin-left:var(--space-unit)}:host([position='top_right']),:host([position='bottom_right']){margin-left:var(--edge-offset)}:host([position^='bottom']){margin-top:var(--space-unit)}:host([position='left']){margin-right:var(--space-unit)}:host([position='top_left']),:host([position='bottom_left']){margin-right:var(--edge-offset)}:host([position^='top'])::before{top:var(--arrow-center-y-offset)}:host([position^='bottom'])::before{bottom:var(--arrow-center-y-offset)}:host([position='top'])::before,:host([position='bottom'])::before{left:var(--arrow-center-x-offset)}:host([position='right'])::before,:host([position='left'])::before{top:var(--arrow-center-x-offset)}:host([position='right'])::before{right:var(--arrow-center-y-offset)}:host([position='top_right'])::before,:host([position='bottom_right'])::before{right:var(--arrow-edge-offset)}:host([position='left'])::before{left:var(--arrow-center-y-offset)}:host([position='top_left'])::before,:host([position='bottom_left'])::before{left:var(--arrow-edge-offset)}::slotted(*){flex:1 auto;overflow:auto}";
5
5
 
@@ -130,15 +130,13 @@ export declare enum InputTypeEnum {
130
130
  email = "email",
131
131
  textarea = "textarea",
132
132
  checkbox = "checkbox",
133
- radio = "radio",
134
- select = "select"
133
+ radio = "radio"
135
134
  }
136
135
  export declare type InputStatusBean = keyof typeof InputStatusEnum;
137
136
  export declare enum InputStatusEnum {
138
137
  success = "success",
139
138
  error = "error",
140
- warning = "warning",
141
- selecting = "selecting"
139
+ warning = "warning"
142
140
  }
143
141
  export declare type TooltipPositionBean = keyof typeof TooltipPosition;
144
142
  export declare enum TooltipPosition {
@@ -152,7 +150,7 @@ export declare enum TooltipPosition {
152
150
  BOTTOM_RIGHT = "bottom_right",
153
151
  BOTTOM_LEFT = "bottom_left"
154
152
  }
155
- export declare enum keybordKeyCodeEnum {
153
+ export declare enum KeyboardKeyCodeEnum {
156
154
  TAB = 9,
157
155
  SPACE = 32,
158
156
  ESC = 27,
@@ -162,7 +160,7 @@ export declare enum keybordKeyCodeEnum {
162
160
  BACKSPACE = 8,
163
161
  DELETE = 46
164
162
  }
165
- export declare enum keybordCodeEnum {
163
+ export declare enum KeyboardCodeEnum {
166
164
  TAB = "Tab",
167
165
  SPACE = "Space",
168
166
  ESC = "Escape",
@@ -261,10 +259,11 @@ export declare enum ExpandableListButtonAlign {
261
259
  right = "right",
262
260
  left = "left"
263
261
  }
264
- export declare enum ZtoggleSwitchPositionEnum {
262
+ export declare enum LabelPositions {
265
263
  right = "right",
266
264
  left = "left"
267
265
  }
266
+ export declare type LabelPosition = keyof typeof LabelPositions;
268
267
  export declare enum ListDividerType {
269
268
  none = "none",
270
269
  header = "header",
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter } from "../../../stencil-public-runtime";
2
- import { ZtoggleSwitchPositionEnum } from "../../../beans";
2
+ import { LabelPosition } from "../../../beans";
3
3
  export declare class ZToggleSwitch {
4
4
  disabled?: boolean;
5
- labelPosition?: ZtoggleSwitchPositionEnum;
5
+ labelPosition?: LabelPosition;
6
6
  checked?: boolean;
7
7
  htmlid: string;
8
8
  toggleClick: EventEmitter;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from "../../../stencil-public-runtime";
2
- import { InputTypeBean, InputStatusBean, SelectItemBean } from "../../../beans";
2
+ import { InputTypeBean, InputStatusBean, LabelPosition } from "../../../beans";
3
3
  export declare class ZInput {
4
4
  hostElement: HTMLElement;
5
5
  /** the id of the input element */
@@ -26,42 +26,28 @@ export declare class ZInput {
26
26
  placeholder?: string;
27
27
  /** the input html title (optional) */
28
28
  htmltitle?: string;
29
- /** the input status (optional): available for text, password, number, email, textarea, select */
29
+ /** the input status (optional): available for text, password, number, email, textarea */
30
30
  status?: InputStatusBean;
31
- /** show input helper message (optional): available for text, password, number, email, textarea, select */
32
- hasmessage?: boolean;
33
- /** input helper message (optional): available for text, password, number, email, textarea, select */
34
- message?: string;
31
+ /** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
32
+ message?: string | boolean;
35
33
  /** the input label position: available for checkbox, radio */
36
- labelafter?: boolean;
37
- /** timeout setting before trigger `inputChange` event (optional): available for text, textarea */
38
- typingtimeout?: number;
39
- /** items (optional): available for select */
40
- items?: SelectItemBean[] | string;
41
- /** the input has autocomplete option (optional): available for select, input */
42
- autocomplete?: boolean | string;
43
- /** multiple options can be selected (optional): available for select */
44
- multiple?: boolean;
34
+ labelPosition?: LabelPosition;
35
+ /** the input has autocomplete option (optional): available for text, password, number, email */
36
+ autocomplete?: string;
45
37
  /** render clear icon when typing (optional): available for text */
46
38
  hasclearicon?: boolean;
47
- /** render icon (optional): available for text, select */
39
+ /** render icon (optional): available for text */
48
40
  icon?: string;
49
41
  isTyping: boolean;
50
- textareaWrapperHover: string;
51
- textareaWrapperFocus: string;
52
42
  passwordHidden: boolean;
53
43
  private timer;
54
- private selectElem;
44
+ private typingtimeout;
55
45
  inputCheckListener(e: CustomEvent): void;
56
- /** get the input value */
57
- getValue(): Promise<string | string[]>;
58
- /** set the input value */
59
- setValue(value: string | string[]): Promise<void>;
60
46
  /** get checked status */
61
47
  isChecked(): Promise<boolean>;
62
- /** Emitted on input value change, returns value, keycode, validity */
48
+ /** Emitted on input value change, returns value, validity */
63
49
  inputChange: EventEmitter;
64
- emitInputChange(value: string, keycode: number): void;
50
+ emitInputChange(value: string): void;
65
51
  /** Emitted when user starts typing */
66
52
  startTyping: EventEmitter;
67
53
  emitStartTyping(): void;
@@ -71,8 +57,6 @@ export declare class ZInput {
71
57
  /** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */
72
58
  inputCheck: EventEmitter;
73
59
  emitInputCheck(checked: boolean): void;
74
- /** Emitted on select option selection, returns select id, selected item id (or array of selected items ids if multiple) */
75
- optionSelect: EventEmitter;
76
60
  getValidity(type: string): ValidityState;
77
61
  getTextAttributes(): {
78
62
  id: string;
@@ -83,7 +67,11 @@ export declare class ZInput {
83
67
  readonly: boolean;
84
68
  required: boolean;
85
69
  title: string;
86
- class: string;
70
+ class: {
71
+ [x: string]: boolean;
72
+ filled: boolean;
73
+ };
74
+ autocomplete: string;
87
75
  onInput: (e: any) => void;
88
76
  };
89
77
  renderInputText(type?: InputTypeBean): any;
@@ -97,6 +85,5 @@ export declare class ZInput {
97
85
  handleCheck(ev: any): void;
98
86
  renderCheckbox(): any;
99
87
  renderRadio(): any;
100
- renderSelect(): any;
101
88
  render(): any;
102
89
  }
@@ -20,40 +20,36 @@ export declare class ZSelect {
20
20
  placeholder?: string;
21
21
  /** the input html title (optional) */
22
22
  htmltitle?: string;
23
- /** the input status (optional): available for text, password, number, email, textarea, select */
23
+ /** the input status (optional) */
24
24
  status?: InputStatusBean;
25
- /** show input helper message (optional): available for text, password, number, email, textarea, select */
26
- hasmessage?: boolean;
27
- /** input helper message (optional): available for text, password, number, email, textarea, select */
28
- message?: string;
25
+ /** input helper message (optional) - if set to `false` message won't be displayed */
26
+ message?: string | boolean;
29
27
  /** the input has autocomplete option */
30
- autocomplete?: boolean | string;
31
- /** multiple options can be selected */
32
- multiple?: boolean;
28
+ autocomplete?: boolean;
33
29
  /** no result text message */
34
30
  noresultslabel?: string;
35
31
  isOpen: boolean;
36
- selectedItems: SelectItemBean[];
32
+ selectedItem: null | SelectItemBean;
37
33
  searchString: null | string;
38
34
  private itemsList;
39
35
  constructor();
40
36
  watchItems(): void;
41
37
  /** get the input selected options */
42
- getSelectedItems(): Promise<SelectItemBean[]>;
38
+ getSelectedItem(): Promise<SelectItemBean>;
43
39
  /** get the input value */
44
- getValue(): Promise<string | string[]>;
40
+ getValue(): Promise<string>;
45
41
  /** set the input value */
46
42
  setValue(value: string | string[]): Promise<void>;
47
- /** Emitted on select option selection, returns select id, selected item id (or array of selected items ids if multiple) */
43
+ /** Emitted on select option selection, returns select id, selected item id */
48
44
  optionSelect: EventEmitter;
49
45
  emitOptionSelect(): void;
50
46
  componentWillLoad(): void;
51
47
  componentWillRender(): void;
52
48
  getInitialItemsArray(): any;
53
- mapSelectedItemsToItemsArray(): any;
54
- getSelectedValues(): string | string[];
49
+ mapSelectedItemToItemsArray(): any;
50
+ getSelectedValue(): string;
55
51
  filterItems(searchString: string): void;
56
- hasAutcomplete(): boolean;
52
+ hasAutocomplete(): boolean;
57
53
  handleInputChange(e: CustomEvent): void;
58
54
  selectItem(item: null | SelectItemBean, selected: boolean): void;
59
55
  arrowsSelectNav(e: KeyboardEvent, key: number): void;
@@ -62,9 +58,7 @@ export declare class ZSelect {
62
58
  handleInputClick(e: MouseEvent | KeyboardEvent): void;
63
59
  handleSelectFocus(e: MouseEvent | KeyboardEvent): void;
64
60
  scrollToLetter(letter: string): void;
65
- renderLabel(): any;
66
61
  renderInput(): any;
67
- renderChips(): any;
68
62
  renderSelectUl(): any;
69
63
  renderSelectUlItems(): any;
70
64
  renderNoSearchResults(): any;
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { AlertTypes, LicenseTypeEnum, MenuItem as MenuItem1, TooltipPosition } from "./beans/index";
9
- import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZSectionTitleDividerPosition, ZTableRowExpandedType, ZtoggleSwitchPositionEnum } from "./beans";
9
+ import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, LabelPosition, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
10
10
  import { ListItemBean } from "./beans/index.js";
11
11
  import { ZTypographyLevels } from "./components/typography/z-typography/index";
12
12
  export namespace Components {
@@ -532,6 +532,84 @@ export namespace Components {
532
532
  "isclosable": boolean;
533
533
  }
534
534
  interface ZInput {
535
+ /**
536
+ * the input aria-label
537
+ */
538
+ "ariaLabel"?: string;
539
+ /**
540
+ * the input has autocomplete option (optional): available for text, password, number, email
541
+ */
542
+ "autocomplete"?: string;
543
+ /**
544
+ * checked: available for checkbox, radio
545
+ */
546
+ "checked"?: boolean;
547
+ /**
548
+ * the input is disabled
549
+ */
550
+ "disabled"?: boolean;
551
+ /**
552
+ * render clear icon when typing (optional): available for text
553
+ */
554
+ "hasclearicon"?: boolean;
555
+ /**
556
+ * the id of the input element
557
+ */
558
+ "htmlid": string;
559
+ /**
560
+ * the input html title (optional)
561
+ */
562
+ "htmltitle"?: string;
563
+ /**
564
+ * render icon (optional): available for text
565
+ */
566
+ "icon"?: string;
567
+ /**
568
+ * get checked status
569
+ */
570
+ "isChecked": () => Promise<boolean>;
571
+ /**
572
+ * the input label
573
+ */
574
+ "label"?: string;
575
+ /**
576
+ * the input label position: available for checkbox, radio
577
+ */
578
+ "labelPosition"?: LabelPosition;
579
+ /**
580
+ * input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed
581
+ */
582
+ "message"?: string | boolean;
583
+ /**
584
+ * the input name
585
+ */
586
+ "name"?: string;
587
+ /**
588
+ * the input placeholder (optional)
589
+ */
590
+ "placeholder"?: string;
591
+ /**
592
+ * the input is readonly
593
+ */
594
+ "readonly"?: boolean;
595
+ /**
596
+ * the input is required (optional): available for text, password, number, email, textarea, checkbox
597
+ */
598
+ "required"?: boolean;
599
+ /**
600
+ * the input status (optional): available for text, password, number, email, textarea
601
+ */
602
+ "status"?: InputStatusBean;
603
+ /**
604
+ * input types
605
+ */
606
+ "type": InputTypeBean;
607
+ /**
608
+ * the input value
609
+ */
610
+ "value"?: string;
611
+ }
612
+ interface ZInputDeprecated {
535
613
  /**
536
614
  * the input aria-label
537
615
  */
@@ -1459,7 +1537,7 @@ export namespace Components {
1459
1537
  /**
1460
1538
  * the input has autocomplete option
1461
1539
  */
1462
- "autocomplete"?: boolean | string;
1540
+ "autocomplete"?: boolean;
1463
1541
  /**
1464
1542
  * the input is disabled
1465
1543
  */
@@ -1467,15 +1545,11 @@ export namespace Components {
1467
1545
  /**
1468
1546
  * get the input selected options
1469
1547
  */
1470
- "getSelectedItems": () => Promise<SelectItemBean[]>;
1548
+ "getSelectedItem": () => Promise<SelectItemBean>;
1471
1549
  /**
1472
1550
  * get the input value
1473
1551
  */
1474
- "getValue": () => Promise<string | string[]>;
1475
- /**
1476
- * show input helper message (optional): available for text, password, number, email, textarea, select
1477
- */
1478
- "hasmessage"?: boolean;
1552
+ "getValue": () => Promise<string>;
1479
1553
  /**
1480
1554
  * the id of the input element
1481
1555
  */
@@ -1493,13 +1567,9 @@ export namespace Components {
1493
1567
  */
1494
1568
  "label"?: string;
1495
1569
  /**
1496
- * input helper message (optional): available for text, password, number, email, textarea, select
1497
- */
1498
- "message"?: string;
1499
- /**
1500
- * multiple options can be selected
1570
+ * input helper message (optional) - if set to `false` message won't be displayed
1501
1571
  */
1502
- "multiple"?: boolean;
1572
+ "message"?: string | boolean;
1503
1573
  /**
1504
1574
  * the input name
1505
1575
  */
@@ -1521,7 +1591,7 @@ export namespace Components {
1521
1591
  */
1522
1592
  "setValue": (value: string | string[]) => Promise<void>;
1523
1593
  /**
1524
- * the input status (optional): available for text, password, number, email, textarea, select
1594
+ * the input status (optional)
1525
1595
  */
1526
1596
  "status"?: InputStatusBean;
1527
1597
  }
@@ -1780,7 +1850,7 @@ export namespace Components {
1780
1850
  "checked"?: boolean;
1781
1851
  "disabled"?: boolean;
1782
1852
  "htmlid": string;
1783
- "labelPosition"?: ZtoggleSwitchPositionEnum;
1853
+ "labelPosition"?: LabelPosition;
1784
1854
  }
1785
1855
  interface ZTooltip {
1786
1856
  /**
@@ -2036,6 +2106,12 @@ declare global {
2036
2106
  prototype: HTMLZInputElement;
2037
2107
  new (): HTMLZInputElement;
2038
2108
  };
2109
+ interface HTMLZInputDeprecatedElement extends Components.ZInputDeprecated, HTMLStencilElement {
2110
+ }
2111
+ var HTMLZInputDeprecatedElement: {
2112
+ prototype: HTMLZInputDeprecatedElement;
2113
+ new (): HTMLZInputDeprecatedElement;
2114
+ };
2039
2115
  interface HTMLZInputLabelElement extends Components.ZInputLabel, HTMLStencilElement {
2040
2116
  }
2041
2117
  var HTMLZInputLabelElement: {
@@ -2485,6 +2561,7 @@ declare global {
2485
2561
  "z-icon-package": HTMLZIconPackageElement;
2486
2562
  "z-info-box": HTMLZInfoBoxElement;
2487
2563
  "z-input": HTMLZInputElement;
2564
+ "z-input-deprecated": HTMLZInputDeprecatedElement;
2488
2565
  "z-input-label": HTMLZInputLabelElement;
2489
2566
  "z-input-message": HTMLZInputMessageElement;
2490
2567
  "z-link": HTMLZLinkElement;
@@ -3143,6 +3220,96 @@ declare namespace LocalJSX {
3143
3220
  "onInfoBoxClose"?: (event: CustomEvent<any>) => void;
3144
3221
  }
3145
3222
  interface ZInput {
3223
+ /**
3224
+ * the input aria-label
3225
+ */
3226
+ "ariaLabel"?: string;
3227
+ /**
3228
+ * the input has autocomplete option (optional): available for text, password, number, email
3229
+ */
3230
+ "autocomplete"?: string;
3231
+ /**
3232
+ * checked: available for checkbox, radio
3233
+ */
3234
+ "checked"?: boolean;
3235
+ /**
3236
+ * the input is disabled
3237
+ */
3238
+ "disabled"?: boolean;
3239
+ /**
3240
+ * render clear icon when typing (optional): available for text
3241
+ */
3242
+ "hasclearicon"?: boolean;
3243
+ /**
3244
+ * the id of the input element
3245
+ */
3246
+ "htmlid"?: string;
3247
+ /**
3248
+ * the input html title (optional)
3249
+ */
3250
+ "htmltitle"?: string;
3251
+ /**
3252
+ * render icon (optional): available for text
3253
+ */
3254
+ "icon"?: string;
3255
+ /**
3256
+ * the input label
3257
+ */
3258
+ "label"?: string;
3259
+ /**
3260
+ * the input label position: available for checkbox, radio
3261
+ */
3262
+ "labelPosition"?: LabelPosition;
3263
+ /**
3264
+ * input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed
3265
+ */
3266
+ "message"?: string | boolean;
3267
+ /**
3268
+ * the input name
3269
+ */
3270
+ "name"?: string;
3271
+ /**
3272
+ * Emitted on input value change, returns value, validity
3273
+ */
3274
+ "onInputChange"?: (event: CustomEvent<any>) => void;
3275
+ /**
3276
+ * Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity
3277
+ */
3278
+ "onInputCheck"?: (event: CustomEvent<any>) => void;
3279
+ /**
3280
+ * Emitted when user starts typing
3281
+ */
3282
+ "onStartTyping"?: (event: CustomEvent<any>) => void;
3283
+ /**
3284
+ * Emitted when user stops typing, returns value, validity
3285
+ */
3286
+ "onStopTyping"?: (event: CustomEvent<any>) => void;
3287
+ /**
3288
+ * the input placeholder (optional)
3289
+ */
3290
+ "placeholder"?: string;
3291
+ /**
3292
+ * the input is readonly
3293
+ */
3294
+ "readonly"?: boolean;
3295
+ /**
3296
+ * the input is required (optional): available for text, password, number, email, textarea, checkbox
3297
+ */
3298
+ "required"?: boolean;
3299
+ /**
3300
+ * the input status (optional): available for text, password, number, email, textarea
3301
+ */
3302
+ "status"?: InputStatusBean;
3303
+ /**
3304
+ * input types
3305
+ */
3306
+ "type"?: InputTypeBean;
3307
+ /**
3308
+ * the input value
3309
+ */
3310
+ "value"?: string;
3311
+ }
3312
+ interface ZInputDeprecated {
3146
3313
  /**
3147
3314
  * the input aria-label
3148
3315
  */
@@ -4193,15 +4360,11 @@ declare namespace LocalJSX {
4193
4360
  /**
4194
4361
  * the input has autocomplete option
4195
4362
  */
4196
- "autocomplete"?: boolean | string;
4363
+ "autocomplete"?: boolean;
4197
4364
  /**
4198
4365
  * the input is disabled
4199
4366
  */
4200
4367
  "disabled"?: boolean;
4201
- /**
4202
- * show input helper message (optional): available for text, password, number, email, textarea, select
4203
- */
4204
- "hasmessage"?: boolean;
4205
4368
  /**
4206
4369
  * the id of the input element
4207
4370
  */
@@ -4219,13 +4382,9 @@ declare namespace LocalJSX {
4219
4382
  */
4220
4383
  "label"?: string;
4221
4384
  /**
4222
- * input helper message (optional): available for text, password, number, email, textarea, select
4385
+ * input helper message (optional) - if set to `false` message won't be displayed
4223
4386
  */
4224
- "message"?: string;
4225
- /**
4226
- * multiple options can be selected
4227
- */
4228
- "multiple"?: boolean;
4387
+ "message"?: string | boolean;
4229
4388
  /**
4230
4389
  * the input name
4231
4390
  */
@@ -4235,7 +4394,7 @@ declare namespace LocalJSX {
4235
4394
  */
4236
4395
  "noresultslabel"?: string;
4237
4396
  /**
4238
- * Emitted on select option selection, returns select id, selected item id (or array of selected items ids if multiple)
4397
+ * Emitted on select option selection, returns select id, selected item id
4239
4398
  */
4240
4399
  "onOptionSelect"?: (event: CustomEvent<any>) => void;
4241
4400
  /**
@@ -4247,7 +4406,7 @@ declare namespace LocalJSX {
4247
4406
  */
4248
4407
  "readonly"?: boolean;
4249
4408
  /**
4250
- * the input status (optional): available for text, password, number, email, textarea, select
4409
+ * the input status (optional)
4251
4410
  */
4252
4411
  "status"?: InputStatusBean;
4253
4412
  }
@@ -4527,7 +4686,7 @@ declare namespace LocalJSX {
4527
4686
  "checked"?: boolean;
4528
4687
  "disabled"?: boolean;
4529
4688
  "htmlid"?: string;
4530
- "labelPosition"?: ZtoggleSwitchPositionEnum;
4689
+ "labelPosition"?: LabelPosition;
4531
4690
  "onToggleClick"?: (event: CustomEvent<any>) => void;
4532
4691
  }
4533
4692
  interface ZTooltip {
@@ -4625,6 +4784,7 @@ declare namespace LocalJSX {
4625
4784
  "z-icon-package": ZIconPackage;
4626
4785
  "z-info-box": ZInfoBox;
4627
4786
  "z-input": ZInput;
4787
+ "z-input-deprecated": ZInputDeprecated;
4628
4788
  "z-input-label": ZInputLabel;
4629
4789
  "z-input-message": ZInputMessage;
4630
4790
  "z-link": ZLink;
@@ -4734,6 +4894,7 @@ declare module "@stencil/core" {
4734
4894
  "z-icon-package": LocalJSX.ZIconPackage & JSXBase.HTMLAttributes<HTMLZIconPackageElement>;
4735
4895
  "z-info-box": LocalJSX.ZInfoBox & JSXBase.HTMLAttributes<HTMLZInfoBoxElement>;
4736
4896
  "z-input": LocalJSX.ZInput & JSXBase.HTMLAttributes<HTMLZInputElement>;
4897
+ "z-input-deprecated": LocalJSX.ZInputDeprecated & JSXBase.HTMLAttributes<HTMLZInputDeprecatedElement>;
4737
4898
  "z-input-label": LocalJSX.ZInputLabel & JSXBase.HTMLAttributes<HTMLZInputLabelElement>;
4738
4899
  "z-input-message": LocalJSX.ZInputMessage & JSXBase.HTMLAttributes<HTMLZInputMessageElement>;
4739
4900
  "z-link": LocalJSX.ZLink & JSXBase.HTMLAttributes<HTMLZLinkElement>;
@@ -0,0 +1,102 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { InputTypeBean, InputStatusBean, SelectItemBean } from "../../beans";
3
+ export declare class ZInputDeprecated {
4
+ hostElement: HTMLElement;
5
+ /** the id of the input element */
6
+ htmlid: string;
7
+ /** input types */
8
+ type: InputTypeBean;
9
+ /** the input name */
10
+ name?: string;
11
+ /** the input label */
12
+ label?: string;
13
+ /** the input aria-label */
14
+ ariaLabel?: string;
15
+ /** the input value */
16
+ value?: string;
17
+ /** the input is disabled */
18
+ disabled?: boolean;
19
+ /** the input is readonly */
20
+ readonly?: boolean;
21
+ /** the input is required (optional): available for text, password, number, email, textarea, checkbox */
22
+ required?: boolean;
23
+ /** checked: available for checkbox, radio */
24
+ checked?: boolean;
25
+ /** the input placeholder (optional) */
26
+ placeholder?: string;
27
+ /** the input html title (optional) */
28
+ htmltitle?: string;
29
+ /** the input status (optional): available for text, password, number, email, textarea, select */
30
+ status?: InputStatusBean;
31
+ /** show input helper message (optional): available for text, password, number, email, textarea, select */
32
+ hasmessage?: boolean;
33
+ /** input helper message (optional): available for text, password, number, email, textarea, select */
34
+ message?: string;
35
+ /** the input label position: available for checkbox, radio */
36
+ labelafter?: boolean;
37
+ /** timeout setting before trigger `inputChange` event (optional): available for text, textarea */
38
+ typingtimeout?: number;
39
+ /** items (optional): available for select */
40
+ items?: SelectItemBean[] | string;
41
+ /** the input has autocomplete option (optional): available for select, input */
42
+ autocomplete?: boolean | string;
43
+ /** multiple options can be selected (optional): available for select */
44
+ multiple?: boolean;
45
+ /** render clear icon when typing (optional): available for text */
46
+ hasclearicon?: boolean;
47
+ /** render icon (optional): available for text, select */
48
+ icon?: string;
49
+ isTyping: boolean;
50
+ textareaWrapperHover: string;
51
+ textareaWrapperFocus: string;
52
+ passwordHidden: boolean;
53
+ private timer;
54
+ private selectElem;
55
+ inputCheckListener(e: CustomEvent): void;
56
+ /** get the input value */
57
+ getValue(): Promise<string | string[]>;
58
+ /** set the input value */
59
+ setValue(value: string | string[]): Promise<void>;
60
+ /** get checked status */
61
+ isChecked(): Promise<boolean>;
62
+ /** Emitted on input value change, returns value, keycode, validity */
63
+ inputChange: EventEmitter;
64
+ emitInputChange(value: string, keycode: number): void;
65
+ /** Emitted when user starts typing */
66
+ startTyping: EventEmitter;
67
+ emitStartTyping(): void;
68
+ /** Emitted when user stops typing, returns value, validity */
69
+ stopTyping: EventEmitter;
70
+ emitStopTyping(value: string, validity: any): void;
71
+ /** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */
72
+ inputCheck: EventEmitter;
73
+ emitInputCheck(checked: boolean): void;
74
+ /** Emitted on select option selection, returns select id, selected item id (or array of selected items ids if multiple) */
75
+ optionSelect: EventEmitter;
76
+ getValidity(type: string): ValidityState;
77
+ getTextAttributes(): {
78
+ id: string;
79
+ name: string;
80
+ placeholder: string;
81
+ value: string;
82
+ disabled: boolean;
83
+ readonly: boolean;
84
+ required: boolean;
85
+ title: string;
86
+ class: string;
87
+ onInput: (e: any) => void;
88
+ };
89
+ renderInputText(type?: InputTypeBean): any;
90
+ renderLabel(): any;
91
+ renderIcons(): any;
92
+ renderIcon(): any;
93
+ renderResetIcon(): any;
94
+ renderShowHidePassword(): any;
95
+ renderMessage(): any;
96
+ renderTextarea(): any;
97
+ handleCheck(ev: any): void;
98
+ renderCheckbox(): any;
99
+ renderRadio(): any;
100
+ renderSelect(): any;
101
+ render(): any;
102
+ }