@nova-design-system/nova-webcomponents 3.0.0-beta.17

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 (540) hide show
  1. package/LICENSE.MD +157 -0
  2. package/dist/blazor-docs.json +9342 -0
  3. package/dist/cjs/app-globals-2ceecab2.js +11 -0
  4. package/dist/cjs/app-globals-2ceecab2.js.map +1 -0
  5. package/dist/cjs/clsx-fc789adc.js +7 -0
  6. package/dist/cjs/clsx-fc789adc.js.map +1 -0
  7. package/dist/cjs/constants-33057c89.js +140 -0
  8. package/dist/cjs/constants-33057c89.js.map +1 -0
  9. package/dist/cjs/fade.animation-0d33d198.js +1875 -0
  10. package/dist/cjs/fade.animation-0d33d198.js.map +1 -0
  11. package/dist/cjs/grow.animation-46e7ae4b.js +119 -0
  12. package/dist/cjs/grow.animation-46e7ae4b.js.map +1 -0
  13. package/dist/cjs/index-5d1f2412.js +1984 -0
  14. package/dist/cjs/index-5d1f2412.js.map +1 -0
  15. package/dist/cjs/index.cjs.js +494 -0
  16. package/dist/cjs/index.cjs.js.map +1 -0
  17. package/dist/cjs/loader.cjs.js +17 -0
  18. package/dist/cjs/loader.cjs.js.map +1 -0
  19. package/dist/cjs/native.cjs.js +48 -0
  20. package/dist/cjs/native.cjs.js.map +1 -0
  21. package/dist/cjs/nv-alert.cjs.entry.js +140 -0
  22. package/dist/cjs/nv-alert.cjs.entry.js.map +1 -0
  23. package/dist/cjs/nv-avatar.cjs.entry.js +73 -0
  24. package/dist/cjs/nv-avatar.cjs.entry.js.map +1 -0
  25. package/dist/cjs/nv-badge.cjs.entry.js +119 -0
  26. package/dist/cjs/nv-badge.cjs.entry.js.map +1 -0
  27. package/dist/cjs/nv-base.cjs.entry.js +75 -0
  28. package/dist/cjs/nv-base.cjs.entry.js.map +1 -0
  29. package/dist/cjs/nv-button.cjs.entry.js +91 -0
  30. package/dist/cjs/nv-button.cjs.entry.js.map +1 -0
  31. package/dist/cjs/nv-col.cjs.entry.js +41 -0
  32. package/dist/cjs/nv-col.cjs.entry.js.map +1 -0
  33. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +94 -0
  34. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js.map +1 -0
  35. package/dist/cjs/nv-fieldnumber.cjs.entry.js +94 -0
  36. package/dist/cjs/nv-fieldnumber.cjs.entry.js.map +1 -0
  37. package/dist/cjs/nv-fieldpassword.cjs.entry.js +79 -0
  38. package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -0
  39. package/dist/cjs/nv-fieldradio.cjs.entry.js +81 -0
  40. package/dist/cjs/nv-fieldradio.cjs.entry.js.map +1 -0
  41. package/dist/cjs/nv-fieldselect.cjs.entry.js +290 -0
  42. package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -0
  43. package/dist/cjs/nv-fieldtext.cjs.entry.js +83 -0
  44. package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -0
  45. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +151 -0
  46. package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -0
  47. package/dist/cjs/nv-fieldtoggle.cjs.entry.js +64 -0
  48. package/dist/cjs/nv-fieldtoggle.cjs.entry.js.map +1 -0
  49. package/dist/cjs/nv-icon.cjs.entry.js +66 -0
  50. package/dist/cjs/nv-icon.cjs.entry.js.map +1 -0
  51. package/dist/cjs/nv-iconbutton.cjs.entry.js +92 -0
  52. package/dist/cjs/nv-iconbutton.cjs.entry.js.map +1 -0
  53. package/dist/cjs/nv-loader.cjs.entry.js +29 -0
  54. package/dist/cjs/nv-loader.cjs.entry.js.map +1 -0
  55. package/dist/cjs/nv-menu.cjs.entry.js +189 -0
  56. package/dist/cjs/nv-menu.cjs.entry.js.map +1 -0
  57. package/dist/cjs/nv-menuitem.cjs.entry.js +30 -0
  58. package/dist/cjs/nv-menuitem.cjs.entry.js.map +1 -0
  59. package/dist/cjs/nv-popover.cjs.entry.js +2327 -0
  60. package/dist/cjs/nv-popover.cjs.entry.js.map +1 -0
  61. package/dist/cjs/nv-row.cjs.entry.js +24 -0
  62. package/dist/cjs/nv-row.cjs.entry.js.map +1 -0
  63. package/dist/cjs/nv-stack.cjs.entry.js +31 -0
  64. package/dist/cjs/nv-stack.cjs.entry.js.map +1 -0
  65. package/dist/cjs/nv-tooltip.cjs.entry.js +37 -0
  66. package/dist/cjs/nv-tooltip.cjs.entry.js.map +1 -0
  67. package/dist/cjs/timeline.animation-dbb9c5ea.js +107 -0
  68. package/dist/cjs/timeline.animation-dbb9c5ea.js.map +1 -0
  69. package/dist/cjs/v4-7014b8b0.js +67 -0
  70. package/dist/cjs/v4-7014b8b0.js.map +1 -0
  71. package/dist/collection/animations/collapse.animation.js +82 -0
  72. package/dist/collection/animations/collapse.animation.js.map +1 -0
  73. package/dist/collection/animations/fade.animation.js +66 -0
  74. package/dist/collection/animations/fade.animation.js.map +1 -0
  75. package/dist/collection/animations/grow.animation.js +87 -0
  76. package/dist/collection/animations/grow.animation.js.map +1 -0
  77. package/dist/collection/animations/index.js +5 -0
  78. package/dist/collection/animations/index.js.map +1 -0
  79. package/dist/collection/animations/timeline.animation.js +21 -0
  80. package/dist/collection/animations/timeline.animation.js.map +1 -0
  81. package/dist/collection/collection-manifest.json +35 -0
  82. package/dist/collection/components/nv-alert/nv-alert.css +113 -0
  83. package/dist/collection/components/nv-alert/nv-alert.docs.js +61 -0
  84. package/dist/collection/components/nv-alert/nv-alert.docs.js.map +1 -0
  85. package/dist/collection/components/nv-alert/nv-alert.js +355 -0
  86. package/dist/collection/components/nv-alert/nv-alert.js.map +1 -0
  87. package/dist/collection/components/nv-avatar/nv-avatar.css +154 -0
  88. package/dist/collection/components/nv-avatar/nv-avatar.docs.js +42 -0
  89. package/dist/collection/components/nv-avatar/nv-avatar.docs.js.map +1 -0
  90. package/dist/collection/components/nv-avatar/nv-avatar.js +311 -0
  91. package/dist/collection/components/nv-avatar/nv-avatar.js.map +1 -0
  92. package/dist/collection/components/nv-badge/nv-badge.css +174 -0
  93. package/dist/collection/components/nv-badge/nv-badge.docs.js +72 -0
  94. package/dist/collection/components/nv-badge/nv-badge.docs.js.map +1 -0
  95. package/dist/collection/components/nv-badge/nv-badge.js +354 -0
  96. package/dist/collection/components/nv-badge/nv-badge.js.map +1 -0
  97. package/dist/collection/components/nv-base/nv-base.docs.js +5 -0
  98. package/dist/collection/components/nv-base/nv-base.docs.js.map +1 -0
  99. package/dist/collection/components/nv-base/nv-base.js +69 -0
  100. package/dist/collection/components/nv-base/nv-base.js.map +1 -0
  101. package/dist/collection/components/nv-button/nv-button.css +259 -0
  102. package/dist/collection/components/nv-button/nv-button.docs.js +56 -0
  103. package/dist/collection/components/nv-button/nv-button.docs.js.map +1 -0
  104. package/dist/collection/components/nv-button/nv-button.js +241 -0
  105. package/dist/collection/components/nv-button/nv-button.js.map +1 -0
  106. package/dist/collection/components/nv-col/nv-col.css +45 -0
  107. package/dist/collection/components/nv-col/nv-col.docs.js +18 -0
  108. package/dist/collection/components/nv-col/nv-col.docs.js.map +1 -0
  109. package/dist/collection/components/nv-col/nv-col.js +63 -0
  110. package/dist/collection/components/nv-col/nv-col.js.map +1 -0
  111. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +136 -0
  112. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +231 -0
  113. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js.map +1 -0
  114. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +448 -0
  115. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js.map +1 -0
  116. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +183 -0
  117. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +180 -0
  118. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js.map +1 -0
  119. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +435 -0
  120. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js.map +1 -0
  121. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +149 -0
  122. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +189 -0
  123. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js.map +1 -0
  124. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +465 -0
  125. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -0
  126. package/dist/collection/components/nv-fieldradio/nv-fieldradio.css +133 -0
  127. package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +121 -0
  128. package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js.map +1 -0
  129. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +347 -0
  130. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js.map +1 -0
  131. package/dist/collection/components/nv-fieldselect/nv-fieldselect.css +197 -0
  132. package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +157 -0
  133. package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js.map +1 -0
  134. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +610 -0
  135. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -0
  136. package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +141 -0
  137. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +206 -0
  138. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -0
  139. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +499 -0
  140. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -0
  141. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +141 -0
  142. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +175 -0
  143. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js.map +1 -0
  144. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +527 -0
  145. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -0
  146. package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.css +114 -0
  147. package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.docs.js +65 -0
  148. package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.docs.js.map +1 -0
  149. package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js +283 -0
  150. package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js.map +1 -0
  151. package/dist/collection/components/nv-icon/nv-icon.css +32 -0
  152. package/dist/collection/components/nv-icon/nv-icon.docs.js +31 -0
  153. package/dist/collection/components/nv-icon/nv-icon.docs.js.map +1 -0
  154. package/dist/collection/components/nv-icon/nv-icon.js +245 -0
  155. package/dist/collection/components/nv-icon/nv-icon.js.map +1 -0
  156. package/dist/collection/components/nv-icon/nv-icons.js +450 -0
  157. package/dist/collection/components/nv-icon/nv-icons.js.map +1 -0
  158. package/dist/collection/components/nv-icon/test/nv-icon.test.js +25 -0
  159. package/dist/collection/components/nv-icon/test/nv-icon.test.js.map +1 -0
  160. package/dist/collection/components/nv-iconbutton/nv-iconbutton.css +152 -0
  161. package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js +61 -0
  162. package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js.map +1 -0
  163. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +263 -0
  164. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js.map +1 -0
  165. package/dist/collection/components/nv-loader/nv-loader.css +162 -0
  166. package/dist/collection/components/nv-loader/nv-loader.docs.js +27 -0
  167. package/dist/collection/components/nv-loader/nv-loader.docs.js.map +1 -0
  168. package/dist/collection/components/nv-loader/nv-loader.js +78 -0
  169. package/dist/collection/components/nv-loader/nv-loader.js.map +1 -0
  170. package/dist/collection/components/nv-menu/nv-menu.css +61 -0
  171. package/dist/collection/components/nv-menu/nv-menu.docs.js +40 -0
  172. package/dist/collection/components/nv-menu/nv-menu.docs.js.map +1 -0
  173. package/dist/collection/components/nv-menu/nv-menu.js +355 -0
  174. package/dist/collection/components/nv-menu/nv-menu.js.map +1 -0
  175. package/dist/collection/components/nv-menuitem/nv-menuitem.css +29 -0
  176. package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js +6 -0
  177. package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js.map +1 -0
  178. package/dist/collection/components/nv-menuitem/nv-menuitem.js +111 -0
  179. package/dist/collection/components/nv-menuitem/nv-menuitem.js.map +1 -0
  180. package/dist/collection/components/nv-popover/nv-popover.css +42 -0
  181. package/dist/collection/components/nv-popover/nv-popover.docs.js +74 -0
  182. package/dist/collection/components/nv-popover/nv-popover.docs.js.map +1 -0
  183. package/dist/collection/components/nv-popover/nv-popover.js +587 -0
  184. package/dist/collection/components/nv-popover/nv-popover.js.map +1 -0
  185. package/dist/collection/components/nv-row/nv-row.css +7 -0
  186. package/dist/collection/components/nv-row/nv-row.docs.js +13 -0
  187. package/dist/collection/components/nv-row/nv-row.docs.js.map +1 -0
  188. package/dist/collection/components/nv-row/nv-row.js +23 -0
  189. package/dist/collection/components/nv-row/nv-row.js.map +1 -0
  190. package/dist/collection/components/nv-stack/nv-stack.css +61 -0
  191. package/dist/collection/components/nv-stack/nv-stack.docs.js +39 -0
  192. package/dist/collection/components/nv-stack/nv-stack.docs.js.map +1 -0
  193. package/dist/collection/components/nv-stack/nv-stack.js +123 -0
  194. package/dist/collection/components/nv-stack/nv-stack.js.map +1 -0
  195. package/dist/collection/components/nv-tooltip/nv-tooltip.css +22 -0
  196. package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js +38 -0
  197. package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js.map +1 -0
  198. package/dist/collection/components/nv-tooltip/nv-tooltip.js +102 -0
  199. package/dist/collection/components/nv-tooltip/nv-tooltip.js.map +1 -0
  200. package/dist/collection/dev/dev-components.js +3 -0
  201. package/dist/collection/dev/dev-components.js.map +1 -0
  202. package/dist/collection/dev/dev-forms.js +3 -0
  203. package/dist/collection/dev/dev-forms.js.map +1 -0
  204. package/dist/collection/dev/dev-root.js +23 -0
  205. package/dist/collection/dev/dev-root.js.map +1 -0
  206. package/dist/collection/dev/dev-utils.js +54 -0
  207. package/dist/collection/dev/dev-utils.js.map +1 -0
  208. package/dist/collection/fonts/TT_Norms_Pro_Bold.woff2 +0 -0
  209. package/dist/collection/fonts/TT_Norms_Pro_Medium.woff2 +0 -0
  210. package/dist/collection/fonts/TT_Norms_Pro_Mono_Bold.woff2 +0 -0
  211. package/dist/collection/fonts/TT_Norms_Pro_Mono_Medium.woff2 +0 -0
  212. package/dist/collection/fonts/TT_Norms_Pro_Mono_Regular.woff2 +0 -0
  213. package/dist/collection/fonts/TT_Norms_Pro_Regular.woff2 +0 -0
  214. package/dist/collection/global.js +6 -0
  215. package/dist/collection/global.js.map +1 -0
  216. package/dist/collection/index.js +10 -0
  217. package/dist/collection/index.js.map +1 -0
  218. package/dist/collection/utils/class.utils.js +15 -0
  219. package/dist/collection/utils/class.utils.js.map +1 -0
  220. package/dist/collection/utils/constants.js +122 -0
  221. package/dist/collection/utils/constants.js.map +1 -0
  222. package/dist/collection/utils/events.utils.js +19 -0
  223. package/dist/collection/utils/events.utils.js.map +1 -0
  224. package/dist/components/index.d.ts +33 -0
  225. package/dist/components/index.js +488 -0
  226. package/dist/components/index.js.map +1 -0
  227. package/dist/components/nv-alert.d.ts +11 -0
  228. package/dist/components/nv-alert.js +171 -0
  229. package/dist/components/nv-alert.js.map +1 -0
  230. package/dist/components/nv-avatar.d.ts +11 -0
  231. package/dist/components/nv-avatar.js +106 -0
  232. package/dist/components/nv-avatar.js.map +1 -0
  233. package/dist/components/nv-badge.d.ts +11 -0
  234. package/dist/components/nv-badge.js +154 -0
  235. package/dist/components/nv-badge.js.map +1 -0
  236. package/dist/components/nv-base.d.ts +11 -0
  237. package/dist/components/nv-base.js +89 -0
  238. package/dist/components/nv-base.js.map +1 -0
  239. package/dist/components/nv-button.d.ts +11 -0
  240. package/dist/components/nv-button.js +116 -0
  241. package/dist/components/nv-button.js.map +1 -0
  242. package/dist/components/nv-col.d.ts +11 -0
  243. package/dist/components/nv-col.js +57 -0
  244. package/dist/components/nv-col.js.map +1 -0
  245. package/dist/components/nv-fieldcheckbox.d.ts +11 -0
  246. package/dist/components/nv-fieldcheckbox.js +128 -0
  247. package/dist/components/nv-fieldcheckbox.js.map +1 -0
  248. package/dist/components/nv-fieldnumber.d.ts +11 -0
  249. package/dist/components/nv-fieldnumber.js +134 -0
  250. package/dist/components/nv-fieldnumber.js.map +1 -0
  251. package/dist/components/nv-fieldpassword.d.ts +11 -0
  252. package/dist/components/nv-fieldpassword.js +134 -0
  253. package/dist/components/nv-fieldpassword.js.map +1 -0
  254. package/dist/components/nv-fieldradio.d.ts +11 -0
  255. package/dist/components/nv-fieldradio.js +110 -0
  256. package/dist/components/nv-fieldradio.js.map +1 -0
  257. package/dist/components/nv-fieldselect.d.ts +11 -0
  258. package/dist/components/nv-fieldselect.js +332 -0
  259. package/dist/components/nv-fieldselect.js.map +1 -0
  260. package/dist/components/nv-fieldtext.d.ts +11 -0
  261. package/dist/components/nv-fieldtext.js +125 -0
  262. package/dist/components/nv-fieldtext.js.map +1 -0
  263. package/dist/components/nv-fieldtextarea.d.ts +11 -0
  264. package/dist/components/nv-fieldtextarea.js +188 -0
  265. package/dist/components/nv-fieldtextarea.js.map +1 -0
  266. package/dist/components/nv-fieldtoggle.d.ts +11 -0
  267. package/dist/components/nv-fieldtoggle.js +91 -0
  268. package/dist/components/nv-fieldtoggle.js.map +1 -0
  269. package/dist/components/nv-icon.d.ts +11 -0
  270. package/dist/components/nv-icon.js +8 -0
  271. package/dist/components/nv-icon.js.map +1 -0
  272. package/dist/components/nv-iconbutton.d.ts +11 -0
  273. package/dist/components/nv-iconbutton.js +8 -0
  274. package/dist/components/nv-iconbutton.js.map +1 -0
  275. package/dist/components/nv-loader.d.ts +11 -0
  276. package/dist/components/nv-loader.js +8 -0
  277. package/dist/components/nv-loader.js.map +1 -0
  278. package/dist/components/nv-menu.d.ts +11 -0
  279. package/dist/components/nv-menu.js +216 -0
  280. package/dist/components/nv-menu.js.map +1 -0
  281. package/dist/components/nv-menuitem.d.ts +11 -0
  282. package/dist/components/nv-menuitem.js +55 -0
  283. package/dist/components/nv-menuitem.js.map +1 -0
  284. package/dist/components/nv-popover.d.ts +11 -0
  285. package/dist/components/nv-popover.js +8 -0
  286. package/dist/components/nv-popover.js.map +1 -0
  287. package/dist/components/nv-row.d.ts +11 -0
  288. package/dist/components/nv-row.js +38 -0
  289. package/dist/components/nv-row.js.map +1 -0
  290. package/dist/components/nv-stack.d.ts +11 -0
  291. package/dist/components/nv-stack.js +51 -0
  292. package/dist/components/nv-stack.js.map +1 -0
  293. package/dist/components/nv-tooltip.d.ts +11 -0
  294. package/dist/components/nv-tooltip.js +61 -0
  295. package/dist/components/nv-tooltip.js.map +1 -0
  296. package/dist/components/p-1daca48a.js +1871 -0
  297. package/dist/components/p-1daca48a.js.map +1 -0
  298. package/dist/components/p-42301d8f.js +104 -0
  299. package/dist/components/p-42301d8f.js.map +1 -0
  300. package/dist/components/p-50bd2808.js +1198 -0
  301. package/dist/components/p-50bd2808.js.map +1 -0
  302. package/dist/components/p-6146d4b0.js +87 -0
  303. package/dist/components/p-6146d4b0.js.map +1 -0
  304. package/dist/components/p-632bedb8.js +1730 -0
  305. package/dist/components/p-632bedb8.js.map +1 -0
  306. package/dist/components/p-8a1a6e56.js +5 -0
  307. package/dist/components/p-8a1a6e56.js.map +1 -0
  308. package/dist/components/p-8da6d9a3.js +43 -0
  309. package/dist/components/p-8da6d9a3.js.map +1 -0
  310. package/dist/components/p-a15ddd42.js +138 -0
  311. package/dist/components/p-a15ddd42.js.map +1 -0
  312. package/dist/components/p-be79e7bc.js +121 -0
  313. package/dist/components/p-be79e7bc.js.map +1 -0
  314. package/dist/components/p-c711fe67.js +2355 -0
  315. package/dist/components/p-c711fe67.js.map +1 -0
  316. package/dist/components/p-f5ff676c.js +65 -0
  317. package/dist/components/p-f5ff676c.js.map +1 -0
  318. package/dist/docs.d.ts +435 -0
  319. package/dist/docs.json +9249 -0
  320. package/dist/esm/app-globals-df0a3c8d.js +9 -0
  321. package/dist/esm/app-globals-df0a3c8d.js.map +1 -0
  322. package/dist/esm/clsx-297c1ffe.js +5 -0
  323. package/dist/esm/clsx-297c1ffe.js.map +1 -0
  324. package/dist/esm/constants-e9bee611.js +138 -0
  325. package/dist/esm/constants-e9bee611.js.map +1 -0
  326. package/dist/esm/fade.animation-2a077983.js +1871 -0
  327. package/dist/esm/fade.animation-2a077983.js.map +1 -0
  328. package/dist/esm/grow.animation-88a8ee8f.js +114 -0
  329. package/dist/esm/grow.animation-88a8ee8f.js.map +1 -0
  330. package/dist/esm/index-179dfba2.js +1952 -0
  331. package/dist/esm/index-179dfba2.js.map +1 -0
  332. package/dist/esm/index.js +487 -0
  333. package/dist/esm/index.js.map +1 -0
  334. package/dist/esm/loader.js +13 -0
  335. package/dist/esm/loader.js.map +1 -0
  336. package/dist/esm/native.js +43 -0
  337. package/dist/esm/native.js.map +1 -0
  338. package/dist/esm/nv-alert.entry.js +136 -0
  339. package/dist/esm/nv-alert.entry.js.map +1 -0
  340. package/dist/esm/nv-avatar.entry.js +69 -0
  341. package/dist/esm/nv-avatar.entry.js.map +1 -0
  342. package/dist/esm/nv-badge.entry.js +115 -0
  343. package/dist/esm/nv-badge.entry.js.map +1 -0
  344. package/dist/esm/nv-base.entry.js +71 -0
  345. package/dist/esm/nv-base.entry.js.map +1 -0
  346. package/dist/esm/nv-button.entry.js +87 -0
  347. package/dist/esm/nv-button.entry.js.map +1 -0
  348. package/dist/esm/nv-col.entry.js +37 -0
  349. package/dist/esm/nv-col.entry.js.map +1 -0
  350. package/dist/esm/nv-fieldcheckbox.entry.js +90 -0
  351. package/dist/esm/nv-fieldcheckbox.entry.js.map +1 -0
  352. package/dist/esm/nv-fieldnumber.entry.js +90 -0
  353. package/dist/esm/nv-fieldnumber.entry.js.map +1 -0
  354. package/dist/esm/nv-fieldpassword.entry.js +75 -0
  355. package/dist/esm/nv-fieldpassword.entry.js.map +1 -0
  356. package/dist/esm/nv-fieldradio.entry.js +77 -0
  357. package/dist/esm/nv-fieldradio.entry.js.map +1 -0
  358. package/dist/esm/nv-fieldselect.entry.js +286 -0
  359. package/dist/esm/nv-fieldselect.entry.js.map +1 -0
  360. package/dist/esm/nv-fieldtext.entry.js +79 -0
  361. package/dist/esm/nv-fieldtext.entry.js.map +1 -0
  362. package/dist/esm/nv-fieldtextarea.entry.js +147 -0
  363. package/dist/esm/nv-fieldtextarea.entry.js.map +1 -0
  364. package/dist/esm/nv-fieldtoggle.entry.js +60 -0
  365. package/dist/esm/nv-fieldtoggle.entry.js.map +1 -0
  366. package/dist/esm/nv-icon.entry.js +62 -0
  367. package/dist/esm/nv-icon.entry.js.map +1 -0
  368. package/dist/esm/nv-iconbutton.entry.js +88 -0
  369. package/dist/esm/nv-iconbutton.entry.js.map +1 -0
  370. package/dist/esm/nv-loader.entry.js +25 -0
  371. package/dist/esm/nv-loader.entry.js.map +1 -0
  372. package/dist/esm/nv-menu.entry.js +185 -0
  373. package/dist/esm/nv-menu.entry.js.map +1 -0
  374. package/dist/esm/nv-menuitem.entry.js +26 -0
  375. package/dist/esm/nv-menuitem.entry.js.map +1 -0
  376. package/dist/esm/nv-popover.entry.js +2323 -0
  377. package/dist/esm/nv-popover.entry.js.map +1 -0
  378. package/dist/esm/nv-row.entry.js +20 -0
  379. package/dist/esm/nv-row.entry.js.map +1 -0
  380. package/dist/esm/nv-stack.entry.js +27 -0
  381. package/dist/esm/nv-stack.entry.js.map +1 -0
  382. package/dist/esm/nv-tooltip.entry.js +33 -0
  383. package/dist/esm/nv-tooltip.entry.js.map +1 -0
  384. package/dist/esm/timeline.animation-1b88f052.js +104 -0
  385. package/dist/esm/timeline.animation-1b88f052.js.map +1 -0
  386. package/dist/esm/v4-a79185f4.js +65 -0
  387. package/dist/esm/v4-a79185f4.js.map +1 -0
  388. package/dist/index.cjs.js +1 -0
  389. package/dist/index.js +1 -0
  390. package/dist/native/fonts/TT_Norms_Pro_Bold.woff2 +0 -0
  391. package/dist/native/fonts/TT_Norms_Pro_Medium.woff2 +0 -0
  392. package/dist/native/fonts/TT_Norms_Pro_Mono_Bold.woff2 +0 -0
  393. package/dist/native/fonts/TT_Norms_Pro_Mono_Medium.woff2 +0 -0
  394. package/dist/native/fonts/TT_Norms_Pro_Mono_Regular.woff2 +0 -0
  395. package/dist/native/fonts/TT_Norms_Pro_Regular.woff2 +0 -0
  396. package/dist/native/index.esm.js +2 -0
  397. package/dist/native/index.esm.js.map +1 -0
  398. package/dist/native/native.css +1 -0
  399. package/dist/native/native.esm.js +2 -0
  400. package/dist/native/native.esm.js.map +1 -0
  401. package/dist/native/p-06f64d05.entry.js +2 -0
  402. package/dist/native/p-06f64d05.entry.js.map +1 -0
  403. package/dist/native/p-0aa0193b.entry.js +2 -0
  404. package/dist/native/p-0aa0193b.entry.js.map +1 -0
  405. package/dist/native/p-124a7067.entry.js +2 -0
  406. package/dist/native/p-124a7067.entry.js.map +1 -0
  407. package/dist/native/p-13d0ab5b.entry.js +2 -0
  408. package/dist/native/p-13d0ab5b.entry.js.map +1 -0
  409. package/dist/native/p-14c08510.entry.js +2 -0
  410. package/dist/native/p-14c08510.entry.js.map +1 -0
  411. package/dist/native/p-1ceee367.entry.js +2 -0
  412. package/dist/native/p-1ceee367.entry.js.map +1 -0
  413. package/dist/native/p-1daca48a.js +16 -0
  414. package/dist/native/p-1daca48a.js.map +1 -0
  415. package/dist/native/p-29d482cd.entry.js +2 -0
  416. package/dist/native/p-29d482cd.entry.js.map +1 -0
  417. package/dist/native/p-42301d8f.js +2 -0
  418. package/dist/native/p-42301d8f.js.map +1 -0
  419. package/dist/native/p-43cd42ca.entry.js +2 -0
  420. package/dist/native/p-43cd42ca.entry.js.map +1 -0
  421. package/dist/native/p-519e0f59.entry.js +2 -0
  422. package/dist/native/p-519e0f59.entry.js.map +1 -0
  423. package/dist/native/p-617d6a09.entry.js +2 -0
  424. package/dist/native/p-617d6a09.entry.js.map +1 -0
  425. package/dist/native/p-6f762ec2.entry.js +2 -0
  426. package/dist/native/p-6f762ec2.entry.js.map +1 -0
  427. package/dist/native/p-71d6aad8.entry.js +2 -0
  428. package/dist/native/p-71d6aad8.entry.js.map +1 -0
  429. package/dist/native/p-7ce1b712.entry.js +2 -0
  430. package/dist/native/p-7ce1b712.entry.js.map +1 -0
  431. package/dist/native/p-80788ddf.js +2 -0
  432. package/dist/native/p-80788ddf.js.map +1 -0
  433. package/dist/native/p-830ec54a.entry.js +2 -0
  434. package/dist/native/p-830ec54a.entry.js.map +1 -0
  435. package/dist/native/p-89accab1.entry.js +2 -0
  436. package/dist/native/p-89accab1.entry.js.map +1 -0
  437. package/dist/native/p-8a1a6e56.js +2 -0
  438. package/dist/native/p-8a1a6e56.js.map +1 -0
  439. package/dist/native/p-8b65b16f.entry.js +2 -0
  440. package/dist/native/p-8b65b16f.entry.js.map +1 -0
  441. package/dist/native/p-a15ddd42.js +2 -0
  442. package/dist/native/p-a15ddd42.js.map +1 -0
  443. package/dist/native/p-a37c2ac2.js +2 -0
  444. package/dist/native/p-a37c2ac2.js.map +1 -0
  445. package/dist/native/p-b5e4a9e7.entry.js +2 -0
  446. package/dist/native/p-b5e4a9e7.entry.js.map +1 -0
  447. package/dist/native/p-b8eb4c31.entry.js +2 -0
  448. package/dist/native/p-b8eb4c31.entry.js.map +1 -0
  449. package/dist/native/p-b99aa075.entry.js +2 -0
  450. package/dist/native/p-b99aa075.entry.js.map +1 -0
  451. package/dist/native/p-d5a8b6c4.entry.js +2 -0
  452. package/dist/native/p-d5a8b6c4.entry.js.map +1 -0
  453. package/dist/native/p-db2a68f3.js +3 -0
  454. package/dist/native/p-db2a68f3.js.map +1 -0
  455. package/dist/native/p-f5acea50.entry.js +2 -0
  456. package/dist/native/p-f5acea50.entry.js.map +1 -0
  457. package/dist/native/p-f5ff676c.js +2 -0
  458. package/dist/native/p-f5ff676c.js.map +1 -0
  459. package/dist/native/p-f9aac71a.entry.js +2 -0
  460. package/dist/native/p-f9aac71a.entry.js.map +1 -0
  461. package/dist/native/p-fb6f42b7.entry.js +2 -0
  462. package/dist/native/p-fb6f42b7.entry.js.map +1 -0
  463. package/dist/types/animations/collapse.animation.d.ts +11 -0
  464. package/dist/types/animations/fade.animation.d.ts +11 -0
  465. package/dist/types/animations/grow.animation.d.ts +15 -0
  466. package/dist/types/animations/index.d.ts +4 -0
  467. package/dist/types/animations/timeline.animation.d.ts +18 -0
  468. package/dist/types/components/nv-alert/nv-alert.d.ts +85 -0
  469. package/dist/types/components/nv-alert/nv-alert.docs.d.ts +4 -0
  470. package/dist/types/components/nv-avatar/nv-avatar.d.ts +75 -0
  471. package/dist/types/components/nv-avatar/nv-avatar.docs.d.ts +4 -0
  472. package/dist/types/components/nv-badge/nv-badge.d.ts +93 -0
  473. package/dist/types/components/nv-badge/nv-badge.docs.d.ts +4 -0
  474. package/dist/types/components/nv-base/nv-base.d.ts +17 -0
  475. package/dist/types/components/nv-base/nv-base.docs.d.ts +5 -0
  476. package/dist/types/components/nv-button/nv-button.d.ts +63 -0
  477. package/dist/types/components/nv-button/nv-button.docs.d.ts +4 -0
  478. package/dist/types/components/nv-col/nv-col.d.ts +18 -0
  479. package/dist/types/components/nv-col/nv-col.docs.d.ts +4 -0
  480. package/dist/types/components/nv-fieldcheckbox/nv-fieldcheckbox.d.ts +119 -0
  481. package/dist/types/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.d.ts +4 -0
  482. package/dist/types/components/nv-fieldnumber/nv-fieldnumber.d.ts +132 -0
  483. package/dist/types/components/nv-fieldnumber/nv-fieldnumber.docs.d.ts +4 -0
  484. package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +145 -0
  485. package/dist/types/components/nv-fieldpassword/nv-fieldpassword.docs.d.ts +4 -0
  486. package/dist/types/components/nv-fieldradio/nv-fieldradio.d.ts +101 -0
  487. package/dist/types/components/nv-fieldradio/nv-fieldradio.docs.d.ts +4 -0
  488. package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +195 -0
  489. package/dist/types/components/nv-fieldselect/nv-fieldselect.docs.d.ts +4 -0
  490. package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +162 -0
  491. package/dist/types/components/nv-fieldtext/nv-fieldtext.docs.d.ts +4 -0
  492. package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +161 -0
  493. package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.docs.d.ts +4 -0
  494. package/dist/types/components/nv-fieldtoggle/nv-fieldtoggle.d.ts +73 -0
  495. package/dist/types/components/nv-fieldtoggle/nv-fieldtoggle.docs.d.ts +4 -0
  496. package/dist/types/components/nv-icon/nv-icon.d.ts +51 -0
  497. package/dist/types/components/nv-icon/nv-icon.docs.d.ts +4 -0
  498. package/dist/types/components/nv-icon/nv-icons.d.ts +3 -0
  499. package/dist/types/components/nv-icon/test/nv-icon.test.d.ts +1 -0
  500. package/dist/types/components/nv-iconbutton/nv-iconbutton.d.ts +70 -0
  501. package/dist/types/components/nv-iconbutton/nv-iconbutton.docs.d.ts +4 -0
  502. package/dist/types/components/nv-loader/nv-loader.d.ts +18 -0
  503. package/dist/types/components/nv-loader/nv-loader.docs.d.ts +4 -0
  504. package/dist/types/components/nv-menu/nv-menu.d.ts +60 -0
  505. package/dist/types/components/nv-menu/nv-menu.docs.d.ts +4 -0
  506. package/dist/types/components/nv-menuitem/nv-menuitem.d.ts +31 -0
  507. package/dist/types/components/nv-menuitem/nv-menuitem.docs.d.ts +4 -0
  508. package/dist/types/components/nv-popover/nv-popover.d.ts +114 -0
  509. package/dist/types/components/nv-popover/nv-popover.docs.d.ts +4 -0
  510. package/dist/types/components/nv-row/nv-row.d.ts +7 -0
  511. package/dist/types/components/nv-row/nv-row.docs.d.ts +4 -0
  512. package/dist/types/components/nv-stack/nv-stack.d.ts +36 -0
  513. package/dist/types/components/nv-stack/nv-stack.docs.d.ts +4 -0
  514. package/dist/types/components/nv-tooltip/nv-tooltip.d.ts +32 -0
  515. package/dist/types/components/nv-tooltip/nv-tooltip.docs.d.ts +4 -0
  516. package/dist/types/components.d.ts +2412 -0
  517. package/dist/types/dev/dev-components.d.ts +2 -0
  518. package/dist/types/dev/dev-forms.d.ts +2 -0
  519. package/dist/types/dev/dev-root.d.ts +1 -0
  520. package/dist/types/dev/dev-utils.d.ts +17 -0
  521. package/dist/types/global.d.ts +1 -0
  522. package/dist/types/index.d.ts +15 -0
  523. package/dist/types/nova-docs.d.ts +32 -0
  524. package/dist/types/stencil-public-runtime.d.ts +1678 -0
  525. package/dist/types/utils/class.utils.d.ts +6 -0
  526. package/dist/types/utils/constants.d.ts +112 -0
  527. package/dist/types/utils/events.utils.d.ts +15 -0
  528. package/dist/vscode-data.json +3179 -0
  529. package/hydrate/index.d.ts +242 -0
  530. package/hydrate/index.js +24827 -0
  531. package/hydrate/index.mjs +24819 -0
  532. package/hydrate/package.json +12 -0
  533. package/loader/cdn.js +1 -0
  534. package/loader/index.cjs.js +1 -0
  535. package/loader/index.d.ts +24 -0
  536. package/loader/index.es2017.js +1 -0
  537. package/loader/index.js +2 -0
  538. package/loader/package.json +11 -0
  539. package/package.json +197 -0
  540. package/readme.md +67 -0
@@ -0,0 +1,145 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { TextInputAutocomplete } from '../../utils/constants';
3
+ /**
4
+ * @slot leading-input - Content to be placed before the input text, within the input container.
5
+ * @slot before-input - Content to be placed before the input text, outside the input container.
6
+ * @slot after-input - Content to be placed after the input text, outside the input container.
7
+ * @slot label - Content to be placed as the label, will override the label prop.
8
+ * @slot description - Content to be placed as the description, will override the description prop.
9
+ * @slot error-description - Content to be placed as the error description, will override the errorDescription prop.
10
+ */
11
+ export declare class NvFieldpassword {
12
+ el: HTMLNvFieldpasswordElement;
13
+ private inputElement;
14
+ /****************************************************************************/
15
+ /**
16
+ * Sets the ID for the input element and the for attribute of the associated
17
+ * label. If no ID is provided, a random one will be automatically generated
18
+ * to ensure unique identification, facilitating proper label association and
19
+ * accessibility.
20
+ */
21
+ readonly inputId: string;
22
+ /**
23
+ * Lets you define the text that explains what users should enter in the text
24
+ * input field. It’s a crucial element for making forms clear and
25
+ * user-friendly.
26
+ */
27
+ readonly label: string;
28
+ /**
29
+ * Add helpful hints or extra information under the text input field. This is
30
+ * where you can clarify what users should enter or provide additional
31
+ * instructions, making the form easier to fill out correctly.
32
+ */
33
+ description: string;
34
+ /**
35
+ * Display temporary text inside the input field to give users a hint about
36
+ * what to type. It’s a great way to provide examples or suggestions directly
37
+ * in the field before they start typing.
38
+ */
39
+ readonly placeholder: string;
40
+ /**
41
+ * Defines the name attribute of the input field, which is crucial for form
42
+ * submission. This value is used as the key in the key-value pair sent to
43
+ * the server, representing the input’s data in form submissions. It should be
44
+ * unique within the form to avoid conflicts
45
+ */
46
+ readonly name: string;
47
+ /**
48
+ * Specifies the value of the input field, which determines the text displayed
49
+ * within the field. This prop is typically used in controlled components
50
+ * where the input’s value is managed by the component’s state.
51
+ */
52
+ value: string;
53
+ /**
54
+ * The disabled prop lets you turn off the input field so that users can’t
55
+ * type in it. When disabled, the field is grayed out and won’t respond to#
56
+ * clicks or touches.
57
+ */
58
+ readonly disabled: boolean;
59
+ /**
60
+ * Display the input field’s content without allowing users to change it.
61
+ * Users can still click on it, select, and copy the text, but they won’t be
62
+ * able to type or delete anything.
63
+ */
64
+ readonly readonly: boolean;
65
+ /**
66
+ * Marks the input field as required, ensuring that the user must fill it out
67
+ * before submitting the form.
68
+ */
69
+ readonly required: boolean;
70
+ /**
71
+ * Alters the input field’s appearance to indicate an error, helping users
72
+ * identify fields that need correction.
73
+ * @validator error
74
+ */
75
+ readonly error: boolean;
76
+ /**
77
+ * A description that appears when there is an error related to the password
78
+ * field.
79
+ * @validator message
80
+ */
81
+ readonly errorDescription: string;
82
+ /**
83
+ * Changes the input field’s appearance to indicate successful input or
84
+ * validation.
85
+ */
86
+ readonly success: boolean;
87
+ /**
88
+ * Limits how many characters users can type into the input field. It’s
89
+ * helpful for making sure users don’t enter too much information, keeping
90
+ * their input within the allowed limit.
91
+ */
92
+ readonly maxlength: number;
93
+ /**
94
+ * Ensures that users type at least a certain number of characters into the
95
+ * input field. It’s a way to make sure users provide enough information
96
+ * before moving on.
97
+ */
98
+ readonly minlength: number;
99
+ /**
100
+ * Set rules for how the input should be formatted. For example, you can
101
+ * require that a phone number includes only digits or that an email address
102
+ * has the correct format. If users don’t follow these rules, they’ll get a
103
+ * prompt to correct their input.
104
+ * the rules are applied to the input value via regexes.
105
+ */
106
+ readonly pattern: string;
107
+ /**
108
+ * Defines the type of the input.
109
+ * @default 'text'
110
+ */
111
+ readonly mode: 'text' | 'number';
112
+ /**
113
+ * The autocomplete prop helps users fill out the input field faster by
114
+ * suggesting entries they’ve used before, like their email or address.
115
+ * You can turn it on to make forms more convenient or off to ensure users
116
+ * always type in fresh data.
117
+ */
118
+ readonly autocomplete: `${TextInputAutocomplete}`;
119
+ /**
120
+ * Hide the button to show/hide the password.
121
+ */
122
+ readonly hidePasswordIcon: boolean;
123
+ /**
124
+ * Show/hide the password programmatically.
125
+ */
126
+ readonly showPassword: boolean;
127
+ /**
128
+ * Defines whether the password is visible or not.
129
+ */
130
+ showPasswordState: boolean;
131
+ /****************************************************************************/
132
+ /**
133
+ * Emitted when the input value changes.
134
+ * @bind value
135
+ */
136
+ valueChanged: EventEmitter<string>;
137
+ /****************************************************************************/
138
+ private handleInputContainerClick;
139
+ handleShowPasswordChange(newValue: boolean): void;
140
+ private togglePasswordVisibility;
141
+ private handleKeyDown;
142
+ private handleInput;
143
+ /****************************************************************************/
144
+ render(): any;
145
+ }
@@ -0,0 +1,4 @@
1
+ import type { NovaDocs } from '../../nova-docs';
2
+ import { Components } from '../../components';
3
+ declare const NvFieldpasswordDocs: NovaDocs<Components.NvFieldpassword>;
4
+ export default NvFieldpasswordDocs;
@@ -0,0 +1,101 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { type FieldLabelPlacement } from '../../utils/constants';
3
+ /**
4
+ * @slot label - Content to be placed as the label, will override the label prop.
5
+ * @slot description - Content to be placed as the description, will override the description prop.
6
+ * @slot error-description - Content to be placed as the error description, will override the errorDescription prop.
7
+ */
8
+ export declare class NvFieldradio {
9
+ el: HTMLNvFieldradioElement;
10
+ /****************************************************************************/
11
+ /**
12
+ * Adds a helpful hint message below the label
13
+ * @deprecated use description instead.
14
+ */
15
+ readonly message: string;
16
+ /**
17
+ * Set the label placement to before the input
18
+ * @deprecated use labelPlacement instead.
19
+ */
20
+ readonly labelBefore: boolean;
21
+ componentWillRender(): void;
22
+ /****************************************************************************/
23
+ /**
24
+ * Sets the ID for the radio button’s input element and the for attribute of
25
+ * the associated label. If no ID is provided, a random one will be
26
+ * automatically generated to ensure unique identification, facilitating
27
+ * proper label association and accessibility.
28
+ */
29
+ readonly inputId: string;
30
+ /**
31
+ * Use this to assign a group name to your radio buttons. When you have
32
+ * multiple radio buttons with the same name, users will be able to select
33
+ * only one option within that group, making your forms more organized and
34
+ * user-friendly.
35
+ */
36
+ readonly name: string;
37
+ /**
38
+ * Defines what data will be sent when the radio button is selected.
39
+ * This helps you identify which option the user has chosen in your form,
40
+ * ensuring accurate data collection. When the form is submitted, the data
41
+ * will consist of a name=value pair.
42
+ */
43
+ readonly value: string;
44
+ /**
45
+ * Sets the text content that is rendered next to the input element of type
46
+ * radio. This label is essential for accessibility and user clarity, as it
47
+ * describes the purpose or option of the radio button.
48
+ */
49
+ readonly label: string;
50
+ /**
51
+ * Defines the position of the label relative to the radio button.
52
+ */
53
+ labelPlacement: `${FieldLabelPlacement}`;
54
+ /**
55
+ * Adds a helpful hint message below the label. This description provides
56
+ * extra information or context about the radio button option, assisting users
57
+ * in making more informed choices.
58
+ */
59
+ description: string;
60
+ /**
61
+ * Highlight the radio button with error styling. It helps users quickly
62
+ * identify which option needs attention, improving their form-filling
63
+ * experience by making issues more visible.
64
+ * @validator error
65
+ */
66
+ readonly error: boolean;
67
+ /**
68
+ * A description that appears when there is an error related to the radio
69
+ * button.
70
+ * @validator message
71
+ */
72
+ readonly errorDescription: string;
73
+ /**
74
+ * Controls whether the radio button is selected.
75
+ */
76
+ checked: boolean;
77
+ /**
78
+ * Disables the radio button, making it un-selectable.
79
+ */
80
+ readonly disabled: boolean;
81
+ /****************************************************************************/
82
+ /**
83
+ * Emits when the checked state changes.
84
+ * @bind checked
85
+ */
86
+ checkedChanged: EventEmitter<boolean>;
87
+ /****************************************************************************/
88
+ /**
89
+ * Watches for changes to the checked state and emits the new value.
90
+ * @param {boolean} checked - The new value of the checked state.
91
+ */
92
+ handleCheckedChange(checked: boolean): void;
93
+ /**
94
+ * Listens for the change event on the radio button input element and controls
95
+ * the checked state of the host elements.
96
+ * @param {Event} event - The change event.
97
+ */
98
+ handleChange(event: Event): void;
99
+ /****************************************************************************/
100
+ render(): any;
101
+ }
@@ -0,0 +1,4 @@
1
+ import type { NovaDocs } from '../../nova-docs';
2
+ import { Components } from '../../components';
3
+ declare const NvFieldradioDocs: NovaDocs<Components.NvFieldradio>;
4
+ export default NvFieldradioDocs;
@@ -0,0 +1,195 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ /**
3
+ * @slot default - Content to be placed inside the select element.
4
+ * @slot leading-input - Content to be placed before the select input, within the select container.
5
+ * @slot before-input - Content to be placed before the select input, outside the select container.
6
+ * @slot after-input - Content to be placed after the select input, outside the select container.
7
+ * @slot label - Content to be placed as the label, will override the label prop.
8
+ * @slot description - Content to be placed as the description, will override the description prop.
9
+ * @slot error-description - Content to be placed as the error description, will override the errorDescription prop.
10
+ */
11
+ export declare class NvFieldselect {
12
+ el: HTMLNvFieldselectElement;
13
+ private selectElement;
14
+ private internals;
15
+ /****************************************************************************/
16
+ private computedDisplayValue;
17
+ private internalReadonly;
18
+ /****************************************************************************/
19
+ /**
20
+ * Message defines a 'hint ' message for the Select Field.
21
+ * @deprecated use description instead.
22
+ */
23
+ readonly message: string;
24
+ /**
25
+ * Add the message to the validation state.
26
+ * @deprecated use errorDescription and set the error prop instead.
27
+ */
28
+ readonly validation: string;
29
+ componentWillRender(): void;
30
+ /****************************************************************************/
31
+ /**
32
+ * Sets the ID for the select element and the for attribute of the associated
33
+ * label. If no ID is provided, a random one will be automatically generated
34
+ * to ensure unique identification, facilitating proper label association and
35
+ * accessibility.
36
+ */
37
+ readonly selectId: string;
38
+ /**
39
+ * Lets you define the text that explains what users should choose in the
40
+ * select field. It’s a crucial element for making forms clear and
41
+ * user-friendly.
42
+ */
43
+ readonly label?: string;
44
+ /**
45
+ * Add helpful hints or extra information under the select field. This is
46
+ * where you can clarify what users should choose or provide additional
47
+ * instructions, making the form easier to fill out correctly.
48
+ */
49
+ description?: string;
50
+ /**
51
+ * Defines the name attribute of the select field, which is crucial for form
52
+ * submission. This value is used as the key in the key-value pair sent to
53
+ * the server, representing the selected data in form submissions. It should be
54
+ * unique within the form to avoid conflicts
55
+ */
56
+ readonly name: string;
57
+ /**
58
+ * The disabled prop lets you turn off the select field so that users can’t
59
+ * choose something. When disabled, the field is grayed out and won’t respond to
60
+ * clicks or touches.
61
+ */
62
+ readonly disabled: boolean;
63
+ /**
64
+ * Display the select field’s content without allowing users to change it.
65
+ * Users can still click on it, select, and copy the text, but they won’t be
66
+ * able to change or delete anything.
67
+ */
68
+ readonly readonly: boolean;
69
+ /**
70
+ * Marks the select field as required, ensuring that the user must fill it out
71
+ * before submitting the form.
72
+ */
73
+ readonly required: boolean;
74
+ /**
75
+ * Alters the select field’s appearance to indicate an error, helping users
76
+ * identify fields that need correction.
77
+ * @validator error
78
+ */
79
+ error: boolean;
80
+ /**
81
+ * Show a helpful message under the select field when there’s a problem. It
82
+ * explains what’s wrong and how users can fix it, making the error easier to
83
+ * understand and resolve.
84
+ * @validator message
85
+ */
86
+ errorDescription: string;
87
+ /**
88
+ * Changes the select field’s appearance to indicate successful input or
89
+ * validation.
90
+ */
91
+ readonly success: boolean;
92
+ /**
93
+ * When enabled, allows the select to handle multiple selections.
94
+ */
95
+ readonly multiple: boolean;
96
+ /**
97
+ * The value of the select field.
98
+ * - If `multiple` is `false`, it's a single string.
99
+ * - If `multiple` is `true`, it's a comma-separated string of selected values.
100
+ */
101
+ value: string;
102
+ /**
103
+ * When enabled, displays the value element instead of the label when readonly.
104
+ * By default, the label is displayed in readonly mode. Also it automatically
105
+ * sets the component to readonly.
106
+ */
107
+ readonly displayValue: boolean;
108
+ /****************************************************************************/
109
+ /**
110
+ * Emitted when the selected value changes.
111
+ * @bind value
112
+ */
113
+ valueChanged: EventEmitter<string>;
114
+ /****************************************************************************/
115
+ /**
116
+ * Updates the display value when the value property changes. This watcher is
117
+ * used to update the display value when the selected value changes. This is
118
+ * necessary for readonly select fields to display the selected value.
119
+ * @internal This watcher is not intended to be called outside of the component.
120
+ * @param {string} newValue - The new value of the select field.
121
+ */
122
+ updateDisplayValueWatcher(newValue: string): void;
123
+ /**
124
+ * Watcher for the displayValue prop to ensure internalReadonly is true when displayValue is true.
125
+ * @param {boolean} newValue - The new value of displayValue.
126
+ */
127
+ handleDisplayValueChange(newValue: boolean): void;
128
+ /**
129
+ * Watcher for the readonly prop to ensure internalReadonly is true when readonly is true.
130
+ * @param {boolean} newValue - The new value of readonly.
131
+ */
132
+ handleReadonlyChange(newValue: boolean): void;
133
+ /****************************************************************************/
134
+ /**
135
+ * Handles the change event on the select element. This method is used to
136
+ * update the value property when the selected options change. It is also
137
+ * used to emit the selectChanged event when the selected value changes.
138
+ * @param {Event} event - The change event on the select element.
139
+ * @emits selectChanged
140
+ */
141
+ private readonly handleSelectChange;
142
+ /**
143
+ * Handles focus when the select container is clicked.
144
+ */
145
+ private readonly handleSelectContainerClick;
146
+ /**
147
+ * Updates the display value of the select field. This method is used to
148
+ * update the display value when the selected value changes. This is necessary
149
+ * for readonly select fields to display the selected value. This method is
150
+ * called in the componentDidLoad lifecycle hook and the updateDisplayValueWatcher
151
+ * watcher.
152
+ * @internal This method is not intended to be called outside of the component.
153
+ */
154
+ private updateDisplayValue;
155
+ /**
156
+ * Retrieves the label from the <option> elements based on the provided key (value).
157
+ * This method uses the id or value attribute directly from the <select> options.
158
+ * @param {string} key - The key (value) for which to find the corresponding label.
159
+ * @returns {string} The label if found; otherwise, an empty string.
160
+ */
161
+ private getLabelFromId;
162
+ /**
163
+ * Sets the value of the form element for form submission. This method is
164
+ * called when the selected value changes or when the value property is set.
165
+ * @internal This method is not intended to be called outside of the component.
166
+ */
167
+ private setFormValue;
168
+ /**
169
+ * Ensures the select element is available. This method is used to ensure
170
+ * the select element is available before attempting to access it.
171
+ * @internal This method is not intended to be called outside of the component.
172
+ */
173
+ private ensureSelectElement;
174
+ /****************************************************************************/
175
+ /**
176
+ * Lifecycle method that is called before the component is rendered. This is
177
+ * where the internal state is set up before rendering occurs.
178
+ */
179
+ componentWillLoad(): void;
180
+ /**
181
+ * Lifecycle method that is called after the component has been rendered.
182
+ * This is where the display value is updated and the initial select element's
183
+ * state is set.
184
+ */
185
+ componentDidLoad(): void;
186
+ /****************************************************************************/
187
+ /**
188
+ * The render method creates the HTML structure for the component, including
189
+ * the label, select element, and any error or description messages. It also
190
+ * applies the appropriate CSS classes based on the readonly state and
191
+ * displayValue prop. This method is called when the component is rendered.
192
+ * @returns {HTMLStencilElement} The HTML element to render.
193
+ */
194
+ render(): any;
195
+ }
@@ -0,0 +1,4 @@
1
+ import type { NovaDocs } from '../../nova-docs';
2
+ import { Components } from '../../components';
3
+ declare const NvFieldselectDocs: NovaDocs<Components.NvFieldselect>;
4
+ export default NvFieldselectDocs;
@@ -0,0 +1,162 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { TextInputAutocomplete } from '../../utils/constants';
3
+ /**
4
+ * @slot leading-input - Content to be placed before the input text, within the input container.
5
+ * @slot before-input - Content to be placed before the input text, outside the input container.
6
+ * @slot after-input - Content to be placed after the input text, outside the input container.
7
+ * @slot label - Content to be placed as the label, will override the label prop.
8
+ * @slot description - Content to be placed as the description, will override the description prop.
9
+ * @slot error-description - Content to be placed as the error description, will override the errorDescription prop.
10
+ */
11
+ export declare class NvFieldtext {
12
+ el: HTMLNvFieldtextElement;
13
+ private inputElement;
14
+ /****************************************************************************/
15
+ /**
16
+ * Message defines a 'hint ' message for the Text Field.
17
+ * @deprecated use description instead.
18
+ */
19
+ readonly message: string;
20
+ /**
21
+ * Add the message to the validation state.
22
+ * @deprecated use errorDescription and set the error prop instead.
23
+ */
24
+ readonly validation: string;
25
+ /**
26
+ * Type of the input.
27
+ * @deprecated use type instead.
28
+ */
29
+ readonly textInputType: 'text' | 'tel' | 'email';
30
+ componentWillRender(): void;
31
+ /****************************************************************************/
32
+ /**
33
+ * Sets the ID for the input element and the for attribute of the associated
34
+ * label. If no ID is provided, a random one will be automatically generated
35
+ * to ensure unique identification, facilitating proper label association and
36
+ * accessibility.
37
+ */
38
+ readonly inputId: string;
39
+ /**
40
+ * Lets you define the text that explains what users should enter in the text
41
+ * input field. It’s a crucial element for making forms clear and
42
+ * user-friendly.
43
+ */
44
+ readonly label: string;
45
+ /**
46
+ * Add helpful hints or extra information under the text input field. This is
47
+ * where you can clarify what users should enter or provide additional
48
+ * instructions, making the form easier to fill out correctly.
49
+ */
50
+ description: string;
51
+ /**
52
+ * Display temporary text inside the input field to give users a hint about
53
+ * what to type. It’s a great way to provide examples or suggestions directly
54
+ * in the field before they start typing.
55
+ */
56
+ readonly placeholder: string;
57
+ /**
58
+ * Defines the name attribute of the input field, which is crucial for form
59
+ * submission. This value is used as the key in the key-value pair sent to
60
+ * the server, representing the input’s data in form submissions. It should be
61
+ * unique within the form to avoid conflicts
62
+ */
63
+ readonly name: string;
64
+ /**
65
+ * Specifies the value of the input field, which determines the text displayed
66
+ * within the field. This prop is typically used in controlled components
67
+ * where the input’s value is managed by the component’s state.
68
+ */
69
+ value: string;
70
+ /**
71
+ * The type prop lets you specify what kind of information the input field
72
+ * should accept. Choose 'text' for general words or sentences, 'tel' for
73
+ * phone numbers, or 'email' for email addresses. This makes sure users get
74
+ * the right keyboard and validation for what they need to enter.
75
+ */
76
+ type: 'text' | 'tel' | 'email';
77
+ /**
78
+ * The disabled prop lets you turn off the input field so that users can’t
79
+ * type in it. When disabled, the field is grayed out and won’t respond to
80
+ * clicks or touches.
81
+ */
82
+ readonly disabled: boolean;
83
+ /**
84
+ * Display the input field’s content without allowing users to change it.
85
+ * Users can still click on it, select, and copy the text, but they won’t be
86
+ * able to type or delete anything.
87
+ */
88
+ readonly readonly: boolean;
89
+ /**
90
+ * Marks the input field as required, ensuring that the user must fill it out
91
+ * before submitting the form.
92
+ */
93
+ readonly required: boolean;
94
+ /**
95
+ * Alters the input field’s appearance to indicate an error, helping users
96
+ * identify fields that need correction.
97
+ * @validator error
98
+ */
99
+ error: boolean;
100
+ /**
101
+ * A description that appears when there is an error related to the textfield
102
+ * field.
103
+ * @validator message
104
+ */
105
+ errorDescription: string;
106
+ /**
107
+ * Changes the input field’s appearance to indicate successful input or
108
+ * validation.
109
+ */
110
+ readonly success: boolean;
111
+ /**
112
+ * Limits how many characters users can type into the input field. It’s
113
+ * helpful for making sure users don’t enter too much information, keeping
114
+ * their input within the allowed limit.
115
+ */
116
+ readonly maxlength: number;
117
+ /**
118
+ * Ensures that users type at least a certain number of characters into the
119
+ * input field. It’s a way to make sure users provide enough information
120
+ * before moving on.
121
+ */
122
+ readonly minlength: number;
123
+ /**
124
+ * Set rules for how the input should be formatted. For example, you can
125
+ * require that a phone number includes only digits or that an email address
126
+ * has the correct format. If users don’t follow these rules, they’ll get a
127
+ * prompt to correct their input.
128
+ */
129
+ readonly pattern: string;
130
+ /**
131
+ * The autocomplete prop helps users fill out the input field faster by
132
+ * suggesting entries they’ve used before, like their email or address.
133
+ * You can turn it on to make forms more convenient or off to ensure users
134
+ * always type in fresh data.
135
+ */
136
+ readonly autocomplete: `${TextInputAutocomplete}`;
137
+ /**
138
+ * When used with the email input type, this prop enables the field to accept
139
+ * multiple email addresses. Users can enter several addresses, separating
140
+ * each one with a comma, allowing the form to handle multiple recipients.
141
+ */
142
+ readonly multiple: boolean;
143
+ /****************************************************************************/
144
+ /**
145
+ * Emitted when the input value changes.
146
+ * @bind value
147
+ */
148
+ valueChanged: EventEmitter<string>;
149
+ /****************************************************************************/
150
+ /**
151
+ * Handles the input event on the input element.
152
+ * Emits the inputChanged event with the new value.
153
+ * @param {Event} event - Event object of the input event.
154
+ */
155
+ private handleInput;
156
+ /**
157
+ * Handles focus when the input container is clicked.
158
+ */
159
+ private handleInputContainerClick;
160
+ /****************************************************************************/
161
+ render(): any;
162
+ }
@@ -0,0 +1,4 @@
1
+ import type { NovaDocs } from '../../nova-docs';
2
+ import { Components } from '../../components';
3
+ declare const NvFieldtextDocs: NovaDocs<Components.NvFieldtext>;
4
+ export default NvFieldtextDocs;