@revotech-group/revotech-ui-kit 0.2.4 → 0.2.5

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 (371) hide show
  1. package/dist/library.css +3868 -2812
  2. package/dist/rtg-ui-kit.js +11687 -14997
  3. package/dist/rtg-ui-kit.umd.cjs +1585 -1323
  4. package/dist/src/assets/icons/anchor.icon.d.ts +0 -1
  5. package/dist/src/assets/icons/app-window.icon.d.ts +0 -1
  6. package/dist/src/assets/icons/arrow-right.icon.d.ts +0 -1
  7. package/dist/src/assets/icons/arrow-up-right.icon.d.ts +0 -1
  8. package/dist/src/assets/icons/arrow-up.icon.d.ts +0 -1
  9. package/dist/src/assets/icons/asterisk.icon.d.ts +0 -1
  10. package/dist/src/assets/icons/badge-alert.icon.d.ts +0 -1
  11. package/dist/src/assets/icons/badge-check.icon.d.ts +0 -1
  12. package/dist/src/assets/icons/badge-info.icon.d.ts +0 -1
  13. package/dist/src/assets/icons/badge-x.icon.d.ts +0 -1
  14. package/dist/src/assets/icons/bell.icon.d.ts +2 -0
  15. package/dist/src/assets/icons/bookmark.icon.d.ts +2 -0
  16. package/dist/src/assets/icons/brand-javascript.icon.d.ts +2 -0
  17. package/dist/src/assets/icons/captions.icon.d.ts +0 -1
  18. package/dist/src/assets/icons/check.icon.d.ts +0 -1
  19. package/dist/src/assets/icons/chevron-right.icon.d.ts +2 -0
  20. package/dist/src/assets/icons/circle-alert.icon.d.ts +0 -1
  21. package/dist/src/assets/icons/circle-check.icon.d.ts +0 -1
  22. package/dist/src/assets/icons/circle-fading-arrow-up.icon.d.ts +0 -1
  23. package/dist/src/assets/icons/cloud.icon.d.ts +2 -0
  24. package/dist/src/assets/icons/code.icon.d.ts +0 -1
  25. package/dist/src/assets/icons/copy.icon.d.ts +2 -0
  26. package/dist/src/assets/icons/corner-down-left.icon.d.ts +2 -0
  27. package/dist/src/assets/icons/credit-card.icon.d.ts +2 -0
  28. package/dist/src/assets/icons/external-link.icon.d.ts +0 -1
  29. package/dist/src/assets/icons/eye-off.icon.d.ts +2 -0
  30. package/dist/src/assets/icons/file-code.icon.d.ts +2 -0
  31. package/dist/src/assets/icons/folder-code.icon.d.ts +2 -0
  32. package/dist/src/assets/icons/git-branch-minus.icon.d.ts +0 -1
  33. package/dist/src/assets/icons/git-branch-plus.icon.d.ts +0 -1
  34. package/dist/src/assets/icons/house.icon.d.ts +0 -1
  35. package/dist/src/assets/icons/inbox.icon.d.ts +2 -0
  36. package/dist/src/assets/icons/index.d.ts +16 -0
  37. package/dist/src/assets/icons/info.icon.d.ts +0 -1
  38. package/dist/src/assets/icons/loader-circle.icon.d.ts +0 -1
  39. package/dist/src/assets/icons/mail-warning.icon.d.ts +0 -1
  40. package/dist/src/assets/icons/mail.icon.d.ts +2 -0
  41. package/dist/src/assets/icons/minus.icon.d.ts +0 -1
  42. package/dist/src/assets/icons/rabbit.icon.d.ts +0 -1
  43. package/dist/src/assets/icons/refresh-ccw.icon.d.ts +2 -0
  44. package/dist/src/assets/icons/refresh-cw.icon.d.ts +0 -1
  45. package/dist/src/assets/icons/search.icon.d.ts +0 -1
  46. package/dist/src/assets/icons/settings.icon.d.ts +0 -1
  47. package/dist/src/assets/icons/shield-alert.icon.d.ts +2 -0
  48. package/dist/src/assets/icons/shopping-bag.icon.d.ts +0 -1
  49. package/dist/src/assets/icons/star.icon.d.ts +2 -0
  50. package/dist/src/assets/icons/wand.icon.d.ts +0 -1
  51. package/dist/src/components/ui/accordion/accordion-content.d.ts +0 -1
  52. package/dist/src/components/ui/accordion/accordion-item.d.ts +0 -1
  53. package/dist/src/components/ui/accordion/accordion-trigger.d.ts +0 -1
  54. package/dist/src/components/ui/accordion/accordion.d.ts +0 -1
  55. package/dist/src/components/ui/accordion/accordion.stories.d.ts +0 -1
  56. package/dist/src/components/ui/alert/_alert-action.d.ts +0 -1
  57. package/dist/src/components/ui/alert/_alert-description.d.ts +0 -1
  58. package/dist/src/components/ui/alert/_alert-title.d.ts +0 -1
  59. package/dist/src/components/ui/alert/_alert.d.ts +0 -1
  60. package/dist/src/components/ui/alert/alert.d.ts +0 -1
  61. package/dist/src/components/ui/alert/alert.stories.d.ts +0 -1
  62. package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +0 -1
  63. package/dist/src/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +0 -1
  64. package/dist/src/components/ui/avatar/_avatar-badge.d.ts +0 -1
  65. package/dist/src/components/ui/avatar/_avatar-fallback.d.ts +0 -1
  66. package/dist/src/components/ui/avatar/_avatar-group-count.d.ts +0 -1
  67. package/dist/src/components/ui/avatar/_avatar-group.d.ts +0 -1
  68. package/dist/src/components/ui/avatar/_avatar-image.d.ts +0 -1
  69. package/dist/src/components/ui/avatar/_avatar.d.ts +0 -1
  70. package/dist/src/components/ui/avatar/avatar.d.ts +0 -1
  71. package/dist/src/components/ui/avatar/avatar.stories.d.ts +0 -1
  72. package/dist/src/components/ui/badge/_badge.d.ts +43 -0
  73. package/dist/src/components/ui/badge/badge.d.ts +5 -15
  74. package/dist/src/components/ui/badge/badge.defs.d.ts +8 -0
  75. package/dist/src/components/ui/badge/badge.stories.d.ts +6 -3
  76. package/dist/src/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +0 -1
  77. package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +0 -1
  78. package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +0 -1
  79. package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +0 -1
  80. package/dist/src/components/ui/breadcrumb/breadcrumb-separator.d.ts +0 -1
  81. package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +0 -1
  82. package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +0 -1
  83. package/dist/src/components/ui/breadcrumb/breadcrumb.stories.d.ts +0 -1
  84. package/dist/src/components/ui/button/_button.d.ts +0 -1
  85. package/dist/src/components/ui/button/button.d.ts +0 -1
  86. package/dist/src/components/ui/button/button.stories.d.ts +1 -2
  87. package/dist/src/components/ui/button/button.style.d.ts +1 -1
  88. package/dist/src/components/ui/calendar/calendar.d.ts +0 -1
  89. package/dist/src/components/ui/calendar/calendar.stories.d.ts +0 -1
  90. package/dist/src/components/ui/card/_card-action.d.ts +0 -1
  91. package/dist/src/components/ui/card/_card-content.d.ts +0 -1
  92. package/dist/src/components/ui/card/_card-description.d.ts +0 -1
  93. package/dist/src/components/ui/card/_card-footer.d.ts +1 -2
  94. package/dist/src/components/ui/card/_card-header.d.ts +1 -2
  95. package/dist/src/components/ui/card/_card-title.d.ts +0 -1
  96. package/dist/src/components/ui/card/_card.d.ts +0 -1
  97. package/dist/src/components/ui/card/card.d.ts +0 -1
  98. package/dist/src/components/ui/card/card.defs.d.ts +2 -2
  99. package/dist/src/components/ui/card/card.stories.d.ts +2 -3
  100. package/dist/src/components/ui/carousel/carousel.d.ts +0 -1
  101. package/dist/src/components/ui/carousel/carousel.stories.d.ts +0 -1
  102. package/dist/src/components/ui/checkbox/_checkbox.d.ts +31 -5
  103. package/dist/src/components/ui/checkbox/checkbox.d.ts +0 -1
  104. package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +3 -1
  105. package/dist/src/components/ui/collapsible/collapsible-content.d.ts +0 -1
  106. package/dist/src/components/ui/collapsible/collapsible-trigger.d.ts +0 -1
  107. package/dist/src/components/ui/collapsible/collapsible.d.ts +0 -1
  108. package/dist/src/components/ui/collapsible/collapsible.stories.d.ts +0 -1
  109. package/dist/src/components/ui/combobox/combo-box-empty.d.ts +0 -1
  110. package/dist/src/components/ui/combobox/combo-box-group.d.ts +0 -1
  111. package/dist/src/components/ui/combobox/combo-box-input.d.ts +0 -1
  112. package/dist/src/components/ui/combobox/combo-box-item.d.ts +0 -1
  113. package/dist/src/components/ui/combobox/combo-box-trigger.d.ts +0 -1
  114. package/dist/src/components/ui/combobox/combo-box-value.d.ts +0 -1
  115. package/dist/src/components/ui/combobox/combo-box.d.ts +0 -1
  116. package/dist/src/components/ui/combobox/combo-box.stories.d.ts +0 -1
  117. package/dist/src/components/ui/command/command-empty.atom.d.ts +0 -1
  118. package/dist/src/components/ui/command/command-group.atom.d.ts +0 -1
  119. package/dist/src/components/ui/command/command-input.atom.d.ts +0 -1
  120. package/dist/src/components/ui/command/command-item.atom.d.ts +0 -1
  121. package/dist/src/components/ui/command/command-list.atom.d.ts +0 -1
  122. package/dist/src/components/ui/command/command-separator.atom.d.ts +0 -1
  123. package/dist/src/components/ui/command/command.d.ts +0 -1
  124. package/dist/src/components/ui/command/command.stories.d.ts +0 -1
  125. package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +0 -1
  126. package/dist/src/components/ui/context-menu/context-menu-content.d.ts +0 -1
  127. package/dist/src/components/ui/context-menu/context-menu-group.d.ts +0 -1
  128. package/dist/src/components/ui/context-menu/context-menu-item.d.ts +0 -1
  129. package/dist/src/components/ui/context-menu/context-menu-radio-item.d.ts +0 -1
  130. package/dist/src/components/ui/context-menu/context-menu-seperator.d.ts +0 -1
  131. package/dist/src/components/ui/context-menu/context-menu-shortcut.d.ts +0 -1
  132. package/dist/src/components/ui/context-menu/context-menu-trigger.d.ts +0 -1
  133. package/dist/src/components/ui/context-menu/context-menu.d.ts +0 -1
  134. package/dist/src/components/ui/context-menu/contextMenu.stories.d.ts +0 -1
  135. package/dist/src/components/ui/data-table/data-table.d.ts +0 -1
  136. package/dist/src/components/ui/data-table/data-table.stories.d.ts +0 -1
  137. package/dist/src/components/ui/date-picker/date-picker.d.ts +0 -1
  138. package/dist/src/components/ui/date-picker/date-picker.stories.d.ts +0 -1
  139. package/dist/src/components/ui/dialog/dialog-close.d.ts +0 -1
  140. package/dist/src/components/ui/dialog/dialog-content.d.ts +0 -1
  141. package/dist/src/components/ui/dialog/dialog-footer.d.ts +0 -1
  142. package/dist/src/components/ui/dialog/dialog-header.d.ts +0 -1
  143. package/dist/src/components/ui/dialog/dialog-overly.d.ts +0 -1
  144. package/dist/src/components/ui/dialog/dialog-trigger.d.ts +0 -1
  145. package/dist/src/components/ui/dialog/dialog.d.ts +0 -1
  146. package/dist/src/components/ui/dialog/dialog.stories.d.ts +0 -1
  147. package/dist/src/components/ui/drawer/drawer-close.d.ts +0 -1
  148. package/dist/src/components/ui/drawer/drawer-content.d.ts +0 -1
  149. package/dist/src/components/ui/drawer/drawer-description.d.ts +0 -1
  150. package/dist/src/components/ui/drawer/drawer-footer.d.ts +0 -1
  151. package/dist/src/components/ui/drawer/drawer-header.d.ts +0 -1
  152. package/dist/src/components/ui/drawer/drawer-overlay.d.ts +0 -1
  153. package/dist/src/components/ui/drawer/drawer-title.d.ts +0 -1
  154. package/dist/src/components/ui/drawer/drawer-trigger.d.ts +0 -1
  155. package/dist/src/components/ui/drawer/drawer.d.ts +0 -1
  156. package/dist/src/components/ui/drawer/drawer.stories.d.ts +0 -1
  157. package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +0 -1
  158. package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +0 -1
  159. package/dist/src/components/ui/dropdown-menu/dropdown-menu-group.d.ts +0 -1
  160. package/dist/src/components/ui/dropdown-menu/dropdown-menu-item.d.ts +0 -1
  161. package/dist/src/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -1
  162. package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +0 -1
  163. package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -1
  164. package/dist/src/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +0 -1
  165. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -1
  166. package/dist/src/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +0 -1
  167. package/dist/src/components/ui/empty/_empty-content.d.ts +23 -0
  168. package/dist/src/components/ui/empty/_empty-description.d.ts +23 -0
  169. package/dist/src/components/ui/empty/_empty-header.d.ts +23 -0
  170. package/dist/src/components/ui/empty/_empty-media.d.ts +29 -0
  171. package/dist/src/components/ui/empty/_empty-title.d.ts +22 -0
  172. package/dist/src/components/ui/empty/_empty.d.ts +28 -0
  173. package/dist/src/components/ui/empty/empty.d.ts +20 -0
  174. package/dist/src/components/ui/empty/empty.defs.d.ts +7 -0
  175. package/dist/src/components/ui/empty/empty.stories.d.ts +10 -0
  176. package/dist/src/components/ui/field/_field-content.d.ts +0 -1
  177. package/dist/src/components/ui/field/_field-description.d.ts +0 -1
  178. package/dist/src/components/ui/field/_field-error.d.ts +3 -2
  179. package/dist/src/components/ui/field/_field-group.d.ts +0 -1
  180. package/dist/src/components/ui/field/_field-label.d.ts +0 -1
  181. package/dist/src/components/ui/field/_field-legend.d.ts +0 -1
  182. package/dist/src/components/ui/field/_field-separator.d.ts +15 -12
  183. package/dist/src/components/ui/field/_field-set.d.ts +0 -1
  184. package/dist/src/components/ui/field/_field-title.d.ts +0 -1
  185. package/dist/src/components/ui/field/_field.d.ts +0 -1
  186. package/dist/src/components/ui/field/field.d.ts +0 -1
  187. package/dist/src/components/ui/field/field.defs.d.ts +0 -1
  188. package/dist/src/components/ui/field/field.stories.d.ts +0 -1
  189. package/dist/src/components/ui/form/form-context.d.ts +0 -1
  190. package/dist/src/components/ui/form/form.stories.d.ts +0 -1
  191. package/dist/src/components/ui/form/rtg-form-controller.d.ts +0 -1
  192. package/dist/src/components/ui/form/rtg-form-description.d.ts +0 -1
  193. package/dist/src/components/ui/form/rtg-form-field.d.ts +0 -1
  194. package/dist/src/components/ui/form/rtg-form-item.d.ts +0 -1
  195. package/dist/src/components/ui/form/rtg-form-label.d.ts +0 -1
  196. package/dist/src/components/ui/form/rtg-form-message.d.ts +0 -1
  197. package/dist/src/components/ui/form/rtg-form.d.ts +0 -1
  198. package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +0 -1
  199. package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +0 -1
  200. package/dist/src/components/ui/hoverCard/hover-card.d.ts +0 -1
  201. package/dist/src/components/ui/hoverCard/hover-card.stories.d.ts +0 -1
  202. package/dist/src/components/ui/index.d.ts +35 -28
  203. package/dist/src/components/ui/input/_input.d.ts +0 -1
  204. package/dist/src/components/ui/input/input.d.ts +0 -1
  205. package/dist/src/components/ui/input/input.stories.d.ts +0 -1
  206. package/dist/src/components/ui/input-group/_input-group-addon.d.ts +32 -0
  207. package/dist/src/components/ui/input-group/_input-group-button.d.ts +59 -0
  208. package/dist/src/components/ui/input-group/_input-group-input.d.ts +140 -0
  209. package/dist/src/components/ui/input-group/_input-group-text.d.ts +22 -0
  210. package/dist/src/components/ui/input-group/_input-group-textarea.d.ts +114 -0
  211. package/dist/src/components/ui/input-group/_input-group.d.ts +22 -0
  212. package/dist/src/components/ui/input-group/input-group.d.ts +20 -0
  213. package/dist/src/components/ui/input-group/input-group.defs.d.ts +16 -0
  214. package/dist/src/components/ui/input-group/input-group.stories.d.ts +15 -0
  215. package/dist/src/components/ui/input-otp/_input-otp-group.d.ts +0 -1
  216. package/dist/src/components/ui/input-otp/_input-otp-separator.d.ts +0 -1
  217. package/dist/src/components/ui/input-otp/_input-otp-slot.d.ts +0 -1
  218. package/dist/src/components/ui/input-otp/_input-otp.d.ts +0 -1
  219. package/dist/src/components/ui/input-otp/input-otp.d.ts +0 -1
  220. package/dist/src/components/ui/input-otp/input-otp.stories.d.ts +0 -1
  221. package/dist/src/components/ui/item/_item-actions.d.ts +22 -0
  222. package/dist/src/components/ui/item/_item-content.d.ts +22 -0
  223. package/dist/src/components/ui/item/_item-description.d.ts +22 -0
  224. package/dist/src/components/ui/item/_item-footer.d.ts +22 -0
  225. package/dist/src/components/ui/item/_item-group.d.ts +22 -0
  226. package/dist/src/components/ui/item/_item-header.d.ts +22 -0
  227. package/dist/src/components/ui/item/_item-media.d.ts +28 -0
  228. package/dist/src/components/ui/item/_item-separator.d.ts +22 -0
  229. package/dist/src/components/ui/item/_item-title.d.ts +22 -0
  230. package/dist/src/components/ui/item/_item.d.ts +42 -0
  231. package/dist/src/components/ui/item/item.d.ts +29 -0
  232. package/dist/src/components/ui/item/item.defs.d.ts +13 -0
  233. package/dist/src/components/ui/item/item.stories.d.ts +13 -0
  234. package/dist/src/components/ui/kbd/_kbd-group.d.ts +22 -0
  235. package/dist/src/components/ui/kbd/_kbd.d.ts +22 -0
  236. package/dist/src/components/ui/kbd/kbd.d.ts +12 -0
  237. package/dist/src/components/ui/kbd/kbd.stories.d.ts +8 -0
  238. package/dist/src/components/ui/label/_label.d.ts +0 -1
  239. package/dist/src/components/ui/label/label.d.ts +0 -1
  240. package/dist/src/components/ui/label/label.stories.d.ts +0 -1
  241. package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +0 -1
  242. package/dist/src/components/ui/menubar/menubar-content.d.ts +0 -1
  243. package/dist/src/components/ui/menubar/menubar-group.d.ts +0 -1
  244. package/dist/src/components/ui/menubar/menubar-item.d.ts +0 -1
  245. package/dist/src/components/ui/menubar/menubar-menu.d.ts +0 -1
  246. package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +0 -1
  247. package/dist/src/components/ui/menubar/menubar-separator.d.ts +0 -1
  248. package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +0 -1
  249. package/dist/src/components/ui/menubar/menubar-trigger.d.ts +0 -1
  250. package/dist/src/components/ui/menubar/menubar.d.ts +0 -1
  251. package/dist/src/components/ui/menubar/menubar.stories.d.ts +0 -1
  252. package/dist/src/components/ui/navigation-menu/navigation-menu-content.d.ts +0 -1
  253. package/dist/src/components/ui/navigation-menu/navigation-menu-item.d.ts +0 -1
  254. package/dist/src/components/ui/navigation-menu/navigation-menu-link.d.ts +0 -1
  255. package/dist/src/components/ui/navigation-menu/navigation-menu-list.d.ts +0 -1
  256. package/dist/src/components/ui/navigation-menu/navigation-menu-trigger.d.ts +0 -1
  257. package/dist/src/components/ui/navigation-menu/navigation-menu.d.ts +0 -1
  258. package/dist/src/components/ui/navigation-menu/navigation-menu.stories.d.ts +0 -1
  259. package/dist/src/components/ui/pagination/pagination-content.d.ts +0 -1
  260. package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +0 -1
  261. package/dist/src/components/ui/pagination/pagination-item.d.ts +0 -1
  262. package/dist/src/components/ui/pagination/pagination-link.d.ts +0 -1
  263. package/dist/src/components/ui/pagination/pagination-next.d.ts +0 -1
  264. package/dist/src/components/ui/pagination/pagination-previous.d.ts +0 -1
  265. package/dist/src/components/ui/pagination/pagination.d.ts +0 -1
  266. package/dist/src/components/ui/pagination/pagination.stories.d.ts +0 -1
  267. package/dist/src/components/ui/pagination/pagination.styles.d.ts +1 -1
  268. package/dist/src/components/ui/password-input/_password-input.d.ts +122 -0
  269. package/dist/src/components/ui/password-input/password-input.d.ts +10 -0
  270. package/dist/src/components/ui/password-input/password-input.defs.d.ts +3 -0
  271. package/dist/src/components/ui/password-input/password-input.stories.d.ts +8 -0
  272. package/dist/src/components/ui/popover/popover-content.d.ts +0 -1
  273. package/dist/src/components/ui/popover/popover-trigger.d.ts +0 -1
  274. package/dist/src/components/ui/popover/popover.d.ts +0 -1
  275. package/dist/src/components/ui/popover/popover.stories.d.ts +0 -1
  276. package/dist/src/components/ui/progress/progress.d.ts +0 -1
  277. package/dist/src/components/ui/progress/progress.stories.d.ts +0 -1
  278. package/dist/src/components/ui/radio-group/radio-group-item.d.ts +0 -1
  279. package/dist/src/components/ui/radio-group/radio-group.d.ts +0 -1
  280. package/dist/src/components/ui/radio-group/radio-group.stories.d.ts +0 -1
  281. package/dist/src/components/ui/sample-demo/sample-demo.d.ts +1 -2
  282. package/dist/src/components/ui/sample-demo/sample.style.d.ts +1 -1
  283. package/dist/src/components/ui/scroll-area/scroll-area.d.ts +0 -1
  284. package/dist/src/components/ui/scroll-area/scroll-area.stories.d.ts +0 -1
  285. package/dist/src/components/ui/select/select-group.d.ts +0 -1
  286. package/dist/src/components/ui/select/select-item.d.ts +0 -1
  287. package/dist/src/components/ui/select/select-label.d.ts +0 -1
  288. package/dist/src/components/ui/select/select-list.d.ts +0 -1
  289. package/dist/src/components/ui/select/select-seperator.d.ts +0 -1
  290. package/dist/src/components/ui/select/select-trigger.d.ts +0 -1
  291. package/dist/src/components/ui/select/select-value.d.ts +0 -1
  292. package/dist/src/components/ui/select/select.d.ts +0 -1
  293. package/dist/src/components/ui/select/select.stories.d.ts +0 -1
  294. package/dist/src/components/ui/separator/_separator.d.ts +0 -1
  295. package/dist/src/components/ui/separator/separator.d.ts +0 -1
  296. package/dist/src/components/ui/separator/separator.stories.d.ts +0 -1
  297. package/dist/src/components/ui/skeleton/skeleton.d.ts +0 -1
  298. package/dist/src/components/ui/skeleton/skeleton.stories.d.ts +0 -1
  299. package/dist/src/components/ui/spinner/_spinner.d.ts +19 -0
  300. package/dist/src/components/ui/spinner/spinner.d.ts +10 -0
  301. package/dist/src/components/ui/spinner/spinner.defs.d.ts +4 -0
  302. package/dist/src/components/ui/spinner/spinner.stories.d.ts +11 -0
  303. package/dist/src/components/ui/switch/switch.d.ts +0 -1
  304. package/dist/src/components/ui/switch/switch.stories.d.ts +0 -1
  305. package/dist/src/components/ui/table/table.d.ts +0 -1
  306. package/dist/src/components/ui/table/table.stories.d.ts +0 -1
  307. package/dist/src/components/ui/tabs/_tabs-content.d.ts +0 -1
  308. package/dist/src/components/ui/tabs/_tabs-list.d.ts +0 -1
  309. package/dist/src/components/ui/tabs/_tabs-trigger.d.ts +0 -1
  310. package/dist/src/components/ui/tabs/_tabs.d.ts +0 -1
  311. package/dist/src/components/ui/tabs/tabs.d.ts +0 -1
  312. package/dist/src/components/ui/tabs/tabs.stories.d.ts +0 -1
  313. package/dist/src/components/ui/textarea/_textarea.d.ts +131 -0
  314. package/dist/src/components/ui/textarea/textarea.d.ts +6 -18
  315. package/dist/src/components/ui/textarea/textarea.defs.d.ts +23 -0
  316. package/dist/src/components/ui/textarea/textarea.stories.d.ts +9 -5
  317. package/dist/src/components/ui/toast/toast-action.d.ts +0 -1
  318. package/dist/src/components/ui/toast/toast-description.d.ts +0 -1
  319. package/dist/src/components/ui/toast/toast-title.d.ts +0 -1
  320. package/dist/src/components/ui/toast/toast-trigger.d.ts +0 -1
  321. package/dist/src/components/ui/toast/toast-view-port.d.ts +0 -1
  322. package/dist/src/components/ui/toast/toast.d.ts +0 -1
  323. package/dist/src/components/ui/toast/toast.stories.d.ts +0 -1
  324. package/dist/src/components/ui/toggle/toggle.d.ts +0 -1
  325. package/dist/src/components/ui/toggle/toggle.stories.d.ts +0 -1
  326. package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +0 -1
  327. package/dist/src/components/ui/toggle-group/toggle-group.d.ts +0 -1
  328. package/dist/src/components/ui/toggle-group/toggle-group.stories.d.ts +0 -1
  329. package/dist/src/components/ui/typography/_typography-blockquote.d.ts +22 -0
  330. package/dist/src/components/ui/typography/_typography-code.d.ts +22 -0
  331. package/dist/src/components/ui/typography/_typography-h.d.ts +27 -0
  332. package/dist/src/components/ui/typography/_typography-large.d.ts +22 -0
  333. package/dist/src/components/ui/typography/_typography-lead.d.ts +22 -0
  334. package/dist/src/components/ui/typography/_typography-list.d.ts +22 -0
  335. package/dist/src/components/ui/typography/_typography-muted.d.ts +22 -0
  336. package/dist/src/components/ui/typography/_typography-p.d.ts +22 -0
  337. package/dist/src/components/ui/typography/_typography-small.d.ts +22 -0
  338. package/dist/src/components/ui/typography/_typography-table.d.ts +13 -0
  339. package/dist/src/components/ui/typography/typography.d.ts +28 -0
  340. package/dist/src/components/ui/typography/typography.defs.d.ts +4 -0
  341. package/dist/src/components/ui/typography/typography.stories.d.ts +18 -0
  342. package/dist/src/components/widgets/light-sample-demo/light-sample.demo.d.ts +0 -1
  343. package/dist/src/helpers/base-element.d.ts +0 -1
  344. package/dist/src/helpers/mouse-conroller.helper.d.ts +0 -1
  345. package/dist/src/helpers/shadow-wrapper.d.ts +0 -1
  346. package/dist/src/helpers/style.helpers.d.ts +0 -1
  347. package/dist/src/helpers/widget-controller.d.ts +0 -1
  348. package/dist/src/interfaces/actionable.interface.d.ts +0 -1
  349. package/dist/src/interfaces/changeable.interface.d.ts +0 -1
  350. package/dist/src/interfaces/child-support-atomic.interface.d.ts +0 -1
  351. package/dist/src/lib/react/react.lib.d.ts +0 -1
  352. package/dist/src/tokens/tailwind/border-radius.d.ts +0 -3
  353. package/dist/src/tokens/tailwind/border-width.d.ts +0 -1
  354. package/dist/src/tokens/tailwind/box-shadow.d.ts +0 -5
  355. package/dist/src/tokens/tailwind/color.d.ts +0 -29
  356. package/dist/src/tokens/tailwind/font-size.d.ts +0 -8
  357. package/dist/src/tokens/tailwind/font-weight.d.ts +0 -1
  358. package/dist/src/tokens/tailwind/index.d.ts +5 -76
  359. package/dist/src/tokens/tailwind/opacity.d.ts +0 -3
  360. package/dist/src/tokens/tailwind/ring-offset-width.d.ts +0 -1
  361. package/dist/src/tokens/tailwind/ring-width.d.ts +0 -3
  362. package/dist/src/tokens/tailwind/spacing.d.ts +0 -12
  363. package/dist/src/tokens/tailwind/transition-duration.d.ts +3 -3
  364. package/dist/src/tokens/tailwind/transition-timing-function.d.ts +2 -2
  365. package/dist/src/wc-ui-app.d.ts +0 -1
  366. package/package.json +1 -1
  367. package/dist/src/components/ui/badge/badge.style.d.ts +0 -3
  368. package/dist/src/components/ui/badge/badge.type.d.ts +0 -1
  369. package/dist/src/components/ui/textarea/textarea.styles.d.ts +0 -1
  370. package/dist/src/components/ui/textarea/textarea.type.d.ts +0 -11
  371. package/dist/src/tokens/tailwind/basis.d.ts +0 -5
@@ -0,0 +1,28 @@
1
+ import { LitElement } from 'lit';
2
+ import { ItemMediaProps, ItemMediaVariant } from './item.defs';
3
+ /**
4
+ * Use `rtg-item-media` to display media content such as icons, images, or
5
+ * avatars.
6
+ *
7
+ * @element rtg-item-media
8
+ * @slot item-media
9
+ */
10
+ export declare class ItemMedia extends LitElement implements ItemMediaProps {
11
+ /**
12
+ * The media type variant of the item media.
13
+ */
14
+ variant: ItemMediaVariant;
15
+ /**
16
+ * Overrides the default behaviour to render into the light DOM.
17
+ */
18
+ protected createRenderRoot(): this;
19
+ /**
20
+ * The slot of the item media.
21
+ */
22
+ private get _mediaSlot();
23
+ /**
24
+ * Appends children to the item media slot.
25
+ */
26
+ protected firstUpdated(): void;
27
+ render(): import('lit-html').TemplateResult<1>;
28
+ }
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * A separator between items in a group.
4
+ *
5
+ * @element rtg-item-separator
6
+ * @slot item-separator
7
+ */
8
+ export declare class ItemSeparator extends LitElement {
9
+ /**
10
+ * Overrides the default behaviour to render into the light DOM.
11
+ */
12
+ protected createRenderRoot(): this;
13
+ /**
14
+ * The slot of the item separator.
15
+ */
16
+ private get _separatorSlot();
17
+ /**
18
+ * Appends children to the item separator slot.
19
+ */
20
+ protected firstUpdated(): void;
21
+ render(): import('lit-html').TemplateResult<1>;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * Displays the title of the item.
4
+ *
5
+ * @element rtg-item-title
6
+ * @slot item-title
7
+ */
8
+ export declare class ItemTitle extends LitElement {
9
+ /**
10
+ * Overrides the default behaviour to render into the light DOM.
11
+ */
12
+ protected createRenderRoot(): this;
13
+ /**
14
+ * The slot of the item title.
15
+ */
16
+ private get _titleSlot();
17
+ /**
18
+ * Appends children to the item title slot.
19
+ */
20
+ protected firstUpdated(): void;
21
+ render(): import('lit-html').TemplateResult<1>;
22
+ }
@@ -0,0 +1,42 @@
1
+ import { LitElement } from 'lit';
2
+ import { ItemProps, ItemSize, ItemTarget, ItemVariant } from './item.defs';
3
+ /**
4
+ * The main component for displaying content with media, title, description, and
5
+ * actions.
6
+ *
7
+ * @element rtg-item
8
+ * @slot item
9
+ */
10
+ export declare class Item extends LitElement implements ItemProps {
11
+ /**
12
+ * The visual style of the item.
13
+ */
14
+ variant: ItemVariant;
15
+ /**
16
+ * The size of the item.
17
+ */
18
+ size: ItemSize;
19
+ /**
20
+ * The URL that the item link points to. When provided, an anchor tag (`<a>`)
21
+ * is rendered instead of a div.
22
+ */
23
+ href?: string;
24
+ /**
25
+ * Where to display the linked URL, as the name for a browsing context.
26
+ * Optionally provided in conjunction with `href`.
27
+ */
28
+ target?: ItemTarget;
29
+ /**
30
+ * Overrides the default behaviour to render into the light DOM.
31
+ */
32
+ protected createRenderRoot(): this;
33
+ /**
34
+ * The slot of the item root.
35
+ */
36
+ private get _rootSlot();
37
+ /**
38
+ * Appends children to the item root slot.
39
+ */
40
+ protected firstUpdated(): void;
41
+ render(): import('lit-html').TemplateResult<1>;
42
+ }
@@ -0,0 +1,29 @@
1
+ import { Item } from './_item';
2
+ import { ItemActions } from './_item-actions';
3
+ import { ItemContent } from './_item-content';
4
+ import { ItemDescription } from './_item-description';
5
+ import { ItemFooter } from './_item-footer';
6
+ import { ItemGroup } from './_item-group';
7
+ import { ItemHeader } from './_item-header';
8
+ import { ItemMedia } from './_item-media';
9
+ import { ItemSeparator } from './_item-separator';
10
+ import { ItemTitle } from './_item-title';
11
+ export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, };
12
+ /**
13
+ * A versatile component for displaying content with media, title, description,
14
+ * and actions.
15
+ */
16
+ declare global {
17
+ interface HTMLElementTagNameMap {
18
+ 'rtg-item-group': ItemGroup;
19
+ 'rtg-item-separator': ItemSeparator;
20
+ 'rtg-item': Item;
21
+ 'rtg-item-media': ItemMedia;
22
+ 'rtg-item-content': ItemContent;
23
+ 'rtg-item-title': ItemTitle;
24
+ 'rtg-item-description': ItemDescription;
25
+ 'rtg-item-actions': ItemActions;
26
+ 'rtg-item-header': ItemHeader;
27
+ 'rtg-item-footer': ItemFooter;
28
+ }
29
+ }
@@ -0,0 +1,13 @@
1
+ export type ItemVariant = "default" | "outline" | "muted";
2
+ export type ItemSize = "default" | "sm" | "xs";
3
+ export type ItemTarget = '_blank' | '_parent' | '_self' | '_top' | '_unfencedTop';
4
+ export interface ItemProps {
5
+ variant: ItemVariant;
6
+ size: ItemSize;
7
+ href?: string;
8
+ target?: ItemTarget;
9
+ }
10
+ export type ItemMediaVariant = "default" | "icon" | "image";
11
+ export interface ItemMediaProps {
12
+ variant: ItemMediaVariant;
13
+ }
@@ -0,0 +1,13 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Demo: Story;
6
+ export declare const Variant: Story;
7
+ export declare const Size: Story;
8
+ export declare const Icon: Story;
9
+ export declare const Avatar: Story;
10
+ export declare const Image: Story;
11
+ export declare const Group: Story;
12
+ export declare const Header: Story;
13
+ export declare const Link: Story;
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * Use the `rtg-kbd-group` component to group `rtg-kbd` components together.
4
+ *
5
+ * @element rtg-kbd-group
6
+ * @slot kbd-group
7
+ */
8
+ export declare class KbdGroup extends LitElement {
9
+ /**
10
+ * Overrides the default behaviour to render into the light DOM.
11
+ */
12
+ protected createRenderRoot(): this;
13
+ /**
14
+ * The slot of the kbd group.
15
+ */
16
+ private get _groupSlot();
17
+ /**
18
+ * Appends children to the kbd group slot.
19
+ */
20
+ protected firstUpdated(): void;
21
+ render(): import('lit-html').TemplateResult<1>;
22
+ }
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * Use the `rtg-kbd` component to display a keyboard key.
4
+ *
5
+ * @element rtg-kbd
6
+ * @slot kbd
7
+ */
8
+ export declare class Kbd extends LitElement {
9
+ /**
10
+ * Overrides the default behaviour to render into the light DOM.
11
+ */
12
+ protected createRenderRoot(): this;
13
+ /**
14
+ * The slot of the kbd root.
15
+ */
16
+ private get _rootSlot();
17
+ /**
18
+ * Appends children to the kbd root slot.
19
+ */
20
+ protected firstUpdated(): void;
21
+ render(): import('lit-html').TemplateResult<1>;
22
+ }
@@ -0,0 +1,12 @@
1
+ import { Kbd } from './_kbd';
2
+ import { KbdGroup } from './_kbd-group';
3
+ export { Kbd, KbdGroup };
4
+ /**
5
+ * Used to display textual user input from keyboard.
6
+ */
7
+ declare global {
8
+ interface HTMLElementTagNameMap {
9
+ 'rtg-kbd': Kbd;
10
+ 'rtg-kbd-group': KbdGroup;
11
+ }
12
+ }
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Demo: Story;
6
+ export declare const Group: Story;
7
+ export declare const Button: Story;
8
+ export declare const InputGroup: Story;
@@ -1,6 +1,5 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
2
  import { LabelProps } from './label.defs';
3
-
4
3
  /**
5
4
  * The `<rtg-label>` component renders an accessible label associated with
6
5
  * controls.
@@ -1,5 +1,4 @@
1
1
  import { Label } from './_label';
2
-
3
2
  export { Label };
4
3
  /**
5
4
  * Renders an accessible label associated with controls.
@@ -1,5 +1,4 @@
1
1
  import { Meta, StoryObj } from '@storybook/web-components-vite';
2
-
3
2
  declare const meta: Meta;
4
3
  export default meta;
5
4
  type Story = StoryObj;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class MenubarCheckboxItem extends BaseElement {
5
4
  _id: string;
6
5
  _hidden: string;
@@ -1,7 +1,6 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
3
  import { MenubarMenu } from './menubar-menu';
4
-
5
4
  export declare class MenubarContent extends BaseElement {
6
5
  state: string;
7
6
  id: string;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class MenubarGroup extends BaseElement {
5
4
  heading: string;
6
5
  _id: string;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class MenubarItem extends BaseElement {
5
4
  _id: string;
6
5
  _hidden: string;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class MenubarMenu extends BaseElement {
5
4
  isOpen: boolean;
6
5
  uniqueIds: string[];
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class MenubarRadioItem extends BaseElement {
5
4
  _id: string;
6
5
  _hidden: string;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class MenubarSeparator extends BaseElement {
5
4
  _id: string;
6
5
  _hidden: string;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class MenubarShortcut extends BaseElement {
5
4
  private get _containerElement();
6
5
  protected getAttributesToExclude(): string[];
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class MenubarTrigger extends BaseElement {
5
4
  get _containerElement(): HTMLButtonElement | null;
6
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -9,7 +9,6 @@ import { MenubarRadioItem } from './menubar-radio-item';
9
9
  import { MenubarSeparator } from './menubar-separator';
10
10
  import { MenubarShortcut } from './menubar-shortcut';
11
11
  import { MenubarTrigger } from './menubar-trigger';
12
-
13
12
  declare class Menubar extends BaseElement {
14
13
  private get _containerElement();
15
14
  protected getAttributesToExclude(): string[];
@@ -1,5 +1,4 @@
1
1
  import { Meta, StoryFn } from '@storybook/web-components-vite';
2
-
3
2
  declare const _default: Meta;
4
3
  export default _default;
5
4
  export declare const Menubar: StoryFn;
@@ -1,7 +1,6 @@
1
1
  import { PropertyValues } from 'lit';
2
2
  import { BaseElement } from '../../../helpers';
3
3
  import { NavigationMenuItem } from './navigation-menu-item';
4
-
5
4
  export declare class NavigationMenuContent extends BaseElement {
6
5
  state: string;
7
6
  id: string;
@@ -1,6 +1,5 @@
1
1
  import { PropertyValues } from 'lit';
2
2
  import { BaseElement } from '../../../helpers';
3
-
4
3
  export declare class NavigationMenuItem extends BaseElement {
5
4
  value: string;
6
5
  navigationLink: boolean;
@@ -1,6 +1,5 @@
1
1
  import { PropertyValues } from 'lit';
2
2
  import { BaseElement } from '../../../helpers';
3
-
4
3
  export declare class NavigationMenuLink extends BaseElement {
5
4
  get _containerElement(): HTMLAnchorElement | null;
6
5
  href: string;
@@ -1,6 +1,5 @@
1
1
  import { PropertyValues } from 'lit';
2
2
  import { BaseElement } from '../../../helpers';
3
-
4
3
  export declare class NavigationMenuList extends BaseElement {
5
4
  get _containerElement(): HTMLUListElement | null;
6
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,6 +1,5 @@
1
1
  import { PropertyValues } from 'lit';
2
2
  import { BaseElement } from '../../../helpers';
3
-
4
3
  export declare class NavigationMenuTrigger extends BaseElement {
5
4
  get _containerElement(): HTMLUListElement | null;
6
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -5,7 +5,6 @@ import { NavigationMenuItem } from './navigation-menu-item';
5
5
  import { NavigationMenuContent } from './navigation-menu-content';
6
6
  import { NavigationMenuLink } from './navigation-menu-link';
7
7
  import { NavigationMenuTrigger } from './navigation-menu-trigger';
8
-
9
8
  declare class NavigationMenu extends BaseElement {
10
9
  get _containerElement(): HTMLElementTagNameMap['nav'] | null;
11
10
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,5 +1,4 @@
1
1
  import { Meta, StoryFn } from '@storybook/web-components-vite';
2
-
3
2
  declare const _default: Meta;
4
3
  export default _default;
5
4
  export declare const NavigationMenu: StoryFn;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class PaginationContent extends BaseElement {
5
4
  get _containerElement(): HTMLUListElement | null;
6
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class PaginationEllipsis extends BaseElement {
5
4
  get _containerElement(): HTMLElement | null;
6
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class PaginationItem extends BaseElement {
5
4
  uniqueIds: string[];
6
5
  isActive: boolean;
@@ -1,7 +1,6 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
3
  import { ButtonSize } from '../button/button.defs';
4
-
5
4
  export declare class PaginationLink extends BaseElement {
6
5
  state: string;
7
6
  isActive: boolean;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class PaginationNext extends BaseElement {
5
4
  href: string;
6
5
  get _containerElement(): HTMLDivElement | null;
@@ -1,6 +1,5 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
-
4
3
  export declare class PaginationPrevious extends BaseElement {
5
4
  href: string;
6
5
  get _containerElement(): HTMLDivElement | null;
@@ -6,7 +6,6 @@ import { PaginationItem } from './pagination-item';
6
6
  import { PaginationLink } from './pagination-link';
7
7
  import { PaginationNext } from './pagination-next';
8
8
  import { PaginationPrevious } from './pagination-previous';
9
-
10
9
  declare class Pagination extends BaseElement {
11
10
  get _containerElement(): HTMLElement | null;
12
11
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,5 +1,4 @@
1
1
  import { Meta, StoryFn } from '@storybook/web-components-vite';
2
-
3
2
  declare const _default: Meta;
4
3
  export default _default;
5
4
  export declare const Pagination: StoryFn;
@@ -3,7 +3,7 @@ export declare const paginationStyles: {
3
3
  content: string[];
4
4
  item: string[];
5
5
  link: (props?: ({
6
- variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
6
+ variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
7
7
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
8
8
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
9
9
  previous: {
@@ -0,0 +1,122 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { InputAutocomplete } from '../input/input.defs';
3
+ import { PasswordInputProps } from './password-input.defs';
4
+ /**
5
+ * A password input with a toggleable show/hide button.
6
+ *
7
+ * @element rtg-password-input
8
+ * @slot password-input
9
+ * @slot password-input-input
10
+ * @slot password-input-addon
11
+ * @slot password-input-button
12
+ * @slot password-input-icon
13
+ */
14
+ export declare class PasswordInput extends LitElement implements PasswordInputProps {
15
+ /**
16
+ * Hint for form autofill feature.
17
+ */
18
+ autocomplete?: InputAutocomplete;
19
+ /**
20
+ * When `true`, prevents the user from interacting with the input.
21
+ */
22
+ disabled?: boolean;
23
+ /**
24
+ * The form name that the input is associated with.
25
+ */
26
+ form?: string;
27
+ /**
28
+ * A unique id for the input element.
29
+ */
30
+ id: string;
31
+ /**
32
+ * When `true`, sets the `aria-invalid` attribute and styles the input
33
+ * accordingly.
34
+ */
35
+ invalid?: boolean;
36
+ /**
37
+ * The maximum string length that the user can enter into the field.
38
+ */
39
+ maxlength?: number;
40
+ /**
41
+ * The minimum string length that the user can enter into the field.
42
+ */
43
+ minlength?: number;
44
+ /**
45
+ * The name of the input. Submitted with its owning form as part of a
46
+ * name/value pair.
47
+ */
48
+ name?: string;
49
+ /**
50
+ * Used to compile a regular expression that the input's value must match.
51
+ */
52
+ pattern?: string;
53
+ /**
54
+ * The value of the placeholder text, providing a brief hint to the user.
55
+ */
56
+ placeholder?: string;
57
+ /**
58
+ * When `true`, indicates that the user should not be able to edit the value
59
+ * of the input.
60
+ */
61
+ readonly?: boolean;
62
+ /**
63
+ * When `true`, indicates that the user must fill the input before the owning
64
+ * form can be submitted.
65
+ */
66
+ required?: boolean;
67
+ /**
68
+ * The value of the input. When specified as a prop, it is the initial value.
69
+ */
70
+ value?: string;
71
+ /**
72
+ * The user-defined "on click" handler for the input.
73
+ */
74
+ onClick?: (event: MouseEvent) => void;
75
+ /**
76
+ * The user-defined "on input" handler for the input.
77
+ */
78
+ onInput?: (event: Event) => void;
79
+ /**
80
+ * The user-defined "on change" handler for the input.
81
+ */
82
+ onChange?: (event: Event) => void;
83
+ /**
84
+ * The user-defined "on focus" handler for the input.
85
+ */
86
+ onFocus?: (event: FocusEvent) => void;
87
+ /**
88
+ * The user-defined "on blur" handler for the input.
89
+ */
90
+ onBlur?: (event: FocusEvent) => void;
91
+ /**
92
+ * Tracks whether the password is currently visible.
93
+ */
94
+ private _showPassword;
95
+ /**
96
+ * The id of the input element, determined by the provided `id` prop.
97
+ */
98
+ private _inputId?;
99
+ /**
100
+ * Overrides the default behaviour to render into the light DOM.
101
+ */
102
+ protected createRenderRoot(): this;
103
+ /**
104
+ * Handles the updated callback, transferring the `id` prop's value to
105
+ * `_inputId` and removing it from the parent (if changed).
106
+ */
107
+ protected updated(changed: PropertyValues): void;
108
+ /**
109
+ * Handles the first updated callback, transferring the `id` prop's value to
110
+ * `_inputId` and removing it from the parent.
111
+ */
112
+ protected firstUpdated(): void;
113
+ /**
114
+ * Toggles the password visibility state.
115
+ */
116
+ private _handleToggle;
117
+ /**
118
+ * Renders the password input button icon based on the `_showPassword` state.
119
+ */
120
+ private _renderIcon;
121
+ render(): import('lit-html').TemplateResult<1>;
122
+ }
@@ -0,0 +1,10 @@
1
+ import { PasswordInput } from './_password-input';
2
+ export { PasswordInput };
3
+ /**
4
+ * A password input with a toggleable show/hide button.
5
+ */
6
+ declare global {
7
+ interface HTMLElementTagNameMap {
8
+ 'rtg-password-input': PasswordInput;
9
+ }
10
+ }
@@ -0,0 +1,3 @@
1
+ import { InputProps } from '../input/input.defs';
2
+ export interface PasswordInputProps extends Omit<InputProps, 'type' | 'accept' | 'max' | 'min' | 'step' | 'multiple'> {
3
+ }
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Demo: Story;
6
+ export declare const Disabled: Story;
7
+ export declare const Invalid: Story;
8
+ export declare const Form: Story;
@@ -1,7 +1,6 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
3
  import { Popover } from './popover';
4
-
5
4
  export declare class PopoverContent extends BaseElement {
6
5
  enableDefaultStyle: boolean;
7
6
  styleContent: boolean;