@revotech-group/revotech-ui-kit 0.2.2 → 0.2.3

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 (372) hide show
  1. package/package.json +1 -1
  2. package/dist/library.css +0 -10853
  3. package/dist/rtg-ui-kit.js +0 -18082
  4. package/dist/rtg-ui-kit.umd.cjs +0 -5155
  5. package/dist/src/assets/icons/anchor.icon.d.ts +0 -3
  6. package/dist/src/assets/icons/app-window.icon.d.ts +0 -3
  7. package/dist/src/assets/icons/arrow-right.icon.d.ts +0 -3
  8. package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +0 -1
  9. package/dist/src/assets/icons/arrow-up-right.icon.d.ts +0 -3
  10. package/dist/src/assets/icons/arrow-up.icon.d.ts +0 -3
  11. package/dist/src/assets/icons/arrows.icon.d.ts +0 -1
  12. package/dist/src/assets/icons/asterisk.icon.d.ts +0 -3
  13. package/dist/src/assets/icons/badge-alert.icon.d.ts +0 -3
  14. package/dist/src/assets/icons/badge-check.icon.d.ts +0 -3
  15. package/dist/src/assets/icons/badge-info.icon.d.ts +0 -3
  16. package/dist/src/assets/icons/badge-x.icon.d.ts +0 -3
  17. package/dist/src/assets/icons/captions.icon.d.ts +0 -3
  18. package/dist/src/assets/icons/carousel-arrow-left.d.ts +0 -1
  19. package/dist/src/assets/icons/carousel-arrow-right.d.ts +0 -1
  20. package/dist/src/assets/icons/chart.icon.d.ts +0 -1
  21. package/dist/src/assets/icons/check.icon.d.ts +0 -3
  22. package/dist/src/assets/icons/chorven-down.icon.d.ts +0 -1
  23. package/dist/src/assets/icons/circle-alert.icon.d.ts +0 -3
  24. package/dist/src/assets/icons/circle-check.icon.d.ts +0 -3
  25. package/dist/src/assets/icons/circle-fading-arrow-up.icon.d.ts +0 -3
  26. package/dist/src/assets/icons/circle-x.icon.d.ts +0 -1
  27. package/dist/src/assets/icons/circle.icon.d.ts +0 -1
  28. package/dist/src/assets/icons/close.icon.d.ts +0 -1
  29. package/dist/src/assets/icons/code.icon.d.ts +0 -3
  30. package/dist/src/assets/icons/decrease.icon.d.ts +0 -1
  31. package/dist/src/assets/icons/dot.icon.d.ts +0 -1
  32. package/dist/src/assets/icons/external-link.icon.d.ts +0 -3
  33. package/dist/src/assets/icons/eye-off.d.ts +0 -1
  34. package/dist/src/assets/icons/eye-on.d.ts +0 -1
  35. package/dist/src/assets/icons/git-branch-minus.icon.d.ts +0 -3
  36. package/dist/src/assets/icons/git-branch-plus.icon.d.ts +0 -3
  37. package/dist/src/assets/icons/help-circle.icon.d.ts +0 -1
  38. package/dist/src/assets/icons/house.icon.d.ts +0 -3
  39. package/dist/src/assets/icons/index.d.ts +0 -48
  40. package/dist/src/assets/icons/info.icon.d.ts +0 -3
  41. package/dist/src/assets/icons/loader-circle.icon.d.ts +0 -3
  42. package/dist/src/assets/icons/mail-warning.icon.d.ts +0 -3
  43. package/dist/src/assets/icons/minus.icon.d.ts +0 -3
  44. package/dist/src/assets/icons/plus.icon.d.ts +0 -1
  45. package/dist/src/assets/icons/rabbit.icon.d.ts +0 -3
  46. package/dist/src/assets/icons/radio-group.icon.d.ts +0 -1
  47. package/dist/src/assets/icons/radio.icon.d.ts +0 -1
  48. package/dist/src/assets/icons/refresh-cw.icon.d.ts +0 -3
  49. package/dist/src/assets/icons/search.icon.d.ts +0 -3
  50. package/dist/src/assets/icons/settings.icon.d.ts +0 -3
  51. package/dist/src/assets/icons/shopping-bag.icon.d.ts +0 -3
  52. package/dist/src/assets/icons/tick.icon.d.ts +0 -1
  53. package/dist/src/assets/icons/wand.icon.d.ts +0 -3
  54. package/dist/src/components/index.d.ts +0 -2
  55. package/dist/src/components/ui/accordion/accordion-content.d.ts +0 -21
  56. package/dist/src/components/ui/accordion/accordion-item.d.ts +0 -22
  57. package/dist/src/components/ui/accordion/accordion-trigger.d.ts +0 -18
  58. package/dist/src/components/ui/accordion/accordion.d.ts +0 -26
  59. package/dist/src/components/ui/accordion/accordion.defs.d.ts +0 -10
  60. package/dist/src/components/ui/accordion/accordion.stories.d.ts +0 -11
  61. package/dist/src/components/ui/accordion/accordion.styles.d.ts +0 -4
  62. package/dist/src/components/ui/alert/_alert-action.d.ts +0 -22
  63. package/dist/src/components/ui/alert/_alert-description.d.ts +0 -22
  64. package/dist/src/components/ui/alert/_alert-title.d.ts +0 -21
  65. package/dist/src/components/ui/alert/_alert.d.ts +0 -26
  66. package/dist/src/components/ui/alert/alert.d.ts +0 -17
  67. package/dist/src/components/ui/alert/alert.defs.d.ts +0 -4
  68. package/dist/src/components/ui/alert/alert.stories.d.ts +0 -13
  69. package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +0 -17
  70. package/dist/src/components/ui/aspect-ratio/aspect-ratio.stories.d.ts +0 -5
  71. package/dist/src/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +0 -4
  72. package/dist/src/components/ui/avatar/_avatar-badge.d.ts +0 -22
  73. package/dist/src/components/ui/avatar/_avatar-fallback.d.ts +0 -22
  74. package/dist/src/components/ui/avatar/_avatar-group-count.d.ts +0 -22
  75. package/dist/src/components/ui/avatar/_avatar-group.d.ts +0 -22
  76. package/dist/src/components/ui/avatar/_avatar-image.d.ts +0 -29
  77. package/dist/src/components/ui/avatar/_avatar.d.ts +0 -66
  78. package/dist/src/components/ui/avatar/avatar.d.ts +0 -21
  79. package/dist/src/components/ui/avatar/avatar.defs.d.ts +0 -8
  80. package/dist/src/components/ui/avatar/avatar.stories.d.ts +0 -14
  81. package/dist/src/components/ui/badge/badge.d.ts +0 -20
  82. package/dist/src/components/ui/badge/badge.stories.d.ts +0 -7
  83. package/dist/src/components/ui/badge/badge.style.d.ts +0 -3
  84. package/dist/src/components/ui/badge/badge.type.d.ts +0 -1
  85. package/dist/src/components/ui/breadcrumb/breadcrumb-ellipsis.d.ts +0 -12
  86. package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +0 -15
  87. package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +0 -16
  88. package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +0 -15
  89. package/dist/src/components/ui/breadcrumb/breadcrumb-separator.d.ts +0 -12
  90. package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +0 -15
  91. package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +0 -22
  92. package/dist/src/components/ui/breadcrumb/breadcrumb.stories.d.ts +0 -5
  93. package/dist/src/components/ui/breadcrumb/breadcrumb.styles.d.ts +0 -4
  94. package/dist/src/components/ui/button/_button.d.ts +0 -63
  95. package/dist/src/components/ui/button/button.d.ts +0 -11
  96. package/dist/src/components/ui/button/button.defs.d.ts +0 -14
  97. package/dist/src/components/ui/button/button.stories.d.ts +0 -14
  98. package/dist/src/components/ui/button/button.style.d.ts +0 -4
  99. package/dist/src/components/ui/calendar/calendar.d.ts +0 -25
  100. package/dist/src/components/ui/calendar/calendar.helpers.d.ts +0 -3
  101. package/dist/src/components/ui/calendar/calendar.stories.d.ts +0 -5
  102. package/dist/src/components/ui/calendar/calendar.style.d.ts +0 -40
  103. package/dist/src/components/ui/card/_card-action.d.ts +0 -22
  104. package/dist/src/components/ui/card/_card-content.d.ts +0 -21
  105. package/dist/src/components/ui/card/_card-description.d.ts +0 -22
  106. package/dist/src/components/ui/card/_card-footer.d.ts +0 -27
  107. package/dist/src/components/ui/card/_card-header.d.ts +0 -27
  108. package/dist/src/components/ui/card/_card-title.d.ts +0 -21
  109. package/dist/src/components/ui/card/_card.d.ts +0 -26
  110. package/dist/src/components/ui/card/card.d.ts +0 -23
  111. package/dist/src/components/ui/card/card.defs.d.ts +0 -10
  112. package/dist/src/components/ui/card/card.stories.d.ts +0 -12
  113. package/dist/src/components/ui/carousel/carousel.d.ts +0 -25
  114. package/dist/src/components/ui/carousel/carousel.stories.d.ts +0 -7
  115. package/dist/src/components/ui/carousel/carousel.styles.d.ts +0 -32
  116. package/dist/src/components/ui/checkbox/_checkbox.d.ts +0 -66
  117. package/dist/src/components/ui/checkbox/checkbox.d.ts +0 -11
  118. package/dist/src/components/ui/checkbox/checkbox.defs.d.ts +0 -11
  119. package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +0 -10
  120. package/dist/src/components/ui/collapsible/collapsible-content.d.ts +0 -18
  121. package/dist/src/components/ui/collapsible/collapsible-trigger.d.ts +0 -18
  122. package/dist/src/components/ui/collapsible/collapsible.d.ts +0 -24
  123. package/dist/src/components/ui/collapsible/collapsible.stories.d.ts +0 -6
  124. package/dist/src/components/ui/combobox/combo-box-empty.d.ts +0 -15
  125. package/dist/src/components/ui/combobox/combo-box-group.d.ts +0 -38
  126. package/dist/src/components/ui/combobox/combo-box-input.d.ts +0 -18
  127. package/dist/src/components/ui/combobox/combo-box-item.d.ts +0 -26
  128. package/dist/src/components/ui/combobox/combo-box-trigger.d.ts +0 -19
  129. package/dist/src/components/ui/combobox/combo-box-value.d.ts +0 -19
  130. package/dist/src/components/ui/combobox/combo-box.d.ts +0 -36
  131. package/dist/src/components/ui/combobox/combo-box.stories.d.ts +0 -11
  132. package/dist/src/components/ui/combobox/combo-box.styles.d.ts +0 -14
  133. package/dist/src/components/ui/command/command-empty.atom.d.ts +0 -19
  134. package/dist/src/components/ui/command/command-group.atom.d.ts +0 -20
  135. package/dist/src/components/ui/command/command-input.atom.d.ts +0 -16
  136. package/dist/src/components/ui/command/command-item.atom.d.ts +0 -25
  137. package/dist/src/components/ui/command/command-list.atom.d.ts +0 -16
  138. package/dist/src/components/ui/command/command-separator.atom.d.ts +0 -15
  139. package/dist/src/components/ui/command/command.d.ts +0 -23
  140. package/dist/src/components/ui/command/command.helpers.d.ts +0 -6
  141. package/dist/src/components/ui/command/command.stories.d.ts +0 -7
  142. package/dist/src/components/ui/command/command.styles.d.ts +0 -15
  143. package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +0 -17
  144. package/dist/src/components/ui/context-menu/context-menu-content.d.ts +0 -15
  145. package/dist/src/components/ui/context-menu/context-menu-group.d.ts +0 -11
  146. package/dist/src/components/ui/context-menu/context-menu-item.d.ts +0 -14
  147. package/dist/src/components/ui/context-menu/context-menu-radio-item.d.ts +0 -17
  148. package/dist/src/components/ui/context-menu/context-menu-seperator.d.ts +0 -7
  149. package/dist/src/components/ui/context-menu/context-menu-shortcut.d.ts +0 -10
  150. package/dist/src/components/ui/context-menu/context-menu-trigger.d.ts +0 -6
  151. package/dist/src/components/ui/context-menu/context-menu.d.ts +0 -41
  152. package/dist/src/components/ui/context-menu/context-menu.helpers.d.ts +0 -1
  153. package/dist/src/components/ui/context-menu/context-menu.styles.d.ts +0 -20
  154. package/dist/src/components/ui/context-menu/contextMenu.stories.d.ts +0 -5
  155. package/dist/src/components/ui/data-table/data-table.d.ts +0 -40
  156. package/dist/src/components/ui/data-table/data-table.stories.d.ts +0 -6
  157. package/dist/src/components/ui/date-picker/date-picker.d.ts +0 -13
  158. package/dist/src/components/ui/date-picker/date-picker.stories.d.ts +0 -5
  159. package/dist/src/components/ui/date-picker/date-picker.styles.d.ts +0 -6
  160. package/dist/src/components/ui/dialog/dialog-close.d.ts +0 -16
  161. package/dist/src/components/ui/dialog/dialog-content.d.ts +0 -16
  162. package/dist/src/components/ui/dialog/dialog-footer.d.ts +0 -10
  163. package/dist/src/components/ui/dialog/dialog-header.d.ts +0 -8
  164. package/dist/src/components/ui/dialog/dialog-overly.d.ts +0 -6
  165. package/dist/src/components/ui/dialog/dialog-trigger.d.ts +0 -12
  166. package/dist/src/components/ui/dialog/dialog.d.ts +0 -31
  167. package/dist/src/components/ui/dialog/dialog.stories.d.ts +0 -7
  168. package/dist/src/components/ui/dialog/dialog.styles.d.ts +0 -17
  169. package/dist/src/components/ui/drawer/drawer-close.d.ts +0 -16
  170. package/dist/src/components/ui/drawer/drawer-content.d.ts +0 -15
  171. package/dist/src/components/ui/drawer/drawer-description.d.ts +0 -10
  172. package/dist/src/components/ui/drawer/drawer-footer.d.ts +0 -10
  173. package/dist/src/components/ui/drawer/drawer-header.d.ts +0 -9
  174. package/dist/src/components/ui/drawer/drawer-overlay.d.ts +0 -6
  175. package/dist/src/components/ui/drawer/drawer-title.d.ts +0 -10
  176. package/dist/src/components/ui/drawer/drawer-trigger.d.ts +0 -12
  177. package/dist/src/components/ui/drawer/drawer.d.ts +0 -41
  178. package/dist/src/components/ui/drawer/drawer.helpers.d.ts +0 -2
  179. package/dist/src/components/ui/drawer/drawer.stories.d.ts +0 -5
  180. package/dist/src/components/ui/drawer/drawer.styles.d.ts +0 -14
  181. package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +0 -18
  182. package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +0 -14
  183. package/dist/src/components/ui/dropdown-menu/dropdown-menu-group.d.ts +0 -12
  184. package/dist/src/components/ui/dropdown-menu/dropdown-menu-item.d.ts +0 -18
  185. package/dist/src/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +0 -17
  186. package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +0 -9
  187. package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +0 -9
  188. package/dist/src/components/ui/dropdown-menu/dropdown-menu-trigger.d.ts +0 -6
  189. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -41
  190. package/dist/src/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +0 -3
  191. package/dist/src/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +0 -20
  192. package/dist/src/components/ui/dropdown-menu/dropdownMenu.stories.d.ts +0 -7
  193. package/dist/src/components/ui/form/form-context.d.ts +0 -5
  194. package/dist/src/components/ui/form/form-controller.d.ts +0 -28
  195. package/dist/src/components/ui/form/form-field-context.d.ts +0 -3
  196. package/dist/src/components/ui/form/form-item-context.d.ts +0 -7
  197. package/dist/src/components/ui/form/form.stories.d.ts +0 -6
  198. package/dist/src/components/ui/form/form.styles.d.ts +0 -7
  199. package/dist/src/components/ui/form/rtg-form-controller.d.ts +0 -17
  200. package/dist/src/components/ui/form/rtg-form-description.d.ts +0 -14
  201. package/dist/src/components/ui/form/rtg-form-field.d.ts +0 -20
  202. package/dist/src/components/ui/form/rtg-form-item.d.ts +0 -17
  203. package/dist/src/components/ui/form/rtg-form-label.d.ts +0 -20
  204. package/dist/src/components/ui/form/rtg-form-message.d.ts +0 -18
  205. package/dist/src/components/ui/form/rtg-form.d.ts +0 -24
  206. package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +0 -16
  207. package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +0 -10
  208. package/dist/src/components/ui/hoverCard/hover-card.d.ts +0 -29
  209. package/dist/src/components/ui/hoverCard/hover-card.stories.d.ts +0 -5
  210. package/dist/src/components/ui/hoverCard/hover-card.styles.d.ts +0 -5
  211. package/dist/src/components/ui/index.d.ts +0 -41
  212. package/dist/src/components/ui/input/_input.d.ts +0 -164
  213. package/dist/src/components/ui/input/input.d.ts +0 -12
  214. package/dist/src/components/ui/input/input.defs.d.ts +0 -28
  215. package/dist/src/components/ui/input/input.stories.d.ts +0 -17
  216. package/dist/src/components/ui/input-otp/_input-otp-group.d.ts +0 -26
  217. package/dist/src/components/ui/input-otp/_input-otp-separator.d.ts +0 -16
  218. package/dist/src/components/ui/input-otp/_input-otp-slot.d.ts +0 -35
  219. package/dist/src/components/ui/input-otp/_input-otp.d.ts +0 -213
  220. package/dist/src/components/ui/input-otp/input-otp.d.ts +0 -17
  221. package/dist/src/components/ui/input-otp/input-otp.defs.d.ts +0 -28
  222. package/dist/src/components/ui/input-otp/input-otp.stories.d.ts +0 -13
  223. package/dist/src/components/ui/label/_label.d.ts +0 -27
  224. package/dist/src/components/ui/label/label.d.ts +0 -11
  225. package/dist/src/components/ui/label/label.defs.d.ts +0 -3
  226. package/dist/src/components/ui/label/label.stories.d.ts +0 -11
  227. package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +0 -20
  228. package/dist/src/components/ui/menubar/menubar-content.d.ts +0 -20
  229. package/dist/src/components/ui/menubar/menubar-group.d.ts +0 -15
  230. package/dist/src/components/ui/menubar/menubar-item.d.ts +0 -18
  231. package/dist/src/components/ui/menubar/menubar-menu.d.ts +0 -31
  232. package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +0 -20
  233. package/dist/src/components/ui/menubar/menubar-separator.d.ts +0 -14
  234. package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +0 -10
  235. package/dist/src/components/ui/menubar/menubar-trigger.d.ts +0 -10
  236. package/dist/src/components/ui/menubar/menubar.d.ts +0 -34
  237. package/dist/src/components/ui/menubar/menubar.helpers.d.ts +0 -3
  238. package/dist/src/components/ui/menubar/menubar.stories.d.ts +0 -5
  239. package/dist/src/components/ui/menubar/menubar.styles.d.ts +0 -21
  240. package/dist/src/components/ui/navigation-menu/navigation-menu-content.d.ts +0 -20
  241. package/dist/src/components/ui/navigation-menu/navigation-menu-item.d.ts +0 -24
  242. package/dist/src/components/ui/navigation-menu/navigation-menu-link.d.ts +0 -10
  243. package/dist/src/components/ui/navigation-menu/navigation-menu-list.d.ts +0 -9
  244. package/dist/src/components/ui/navigation-menu/navigation-menu-trigger.d.ts +0 -10
  245. package/dist/src/components/ui/navigation-menu/navigation-menu.d.ts +0 -25
  246. package/dist/src/components/ui/navigation-menu/navigation-menu.stories.d.ts +0 -5
  247. package/dist/src/components/ui/navigation-menu/navigation-menu.styles.d.ts +0 -9
  248. package/dist/src/components/ui/pagination/pagination-content.d.ts +0 -9
  249. package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +0 -9
  250. package/dist/src/components/ui/pagination/pagination-item.d.ts +0 -15
  251. package/dist/src/components/ui/pagination/pagination-link.d.ts +0 -15
  252. package/dist/src/components/ui/pagination/pagination-next.d.ts +0 -10
  253. package/dist/src/components/ui/pagination/pagination-previous.d.ts +0 -10
  254. package/dist/src/components/ui/pagination/pagination.d.ts +0 -27
  255. package/dist/src/components/ui/pagination/pagination.stories.d.ts +0 -5
  256. package/dist/src/components/ui/pagination/pagination.styles.d.ts +0 -22
  257. package/dist/src/components/ui/pagination/pagination.type.d.ts +0 -2
  258. package/dist/src/components/ui/popover/popover-content.d.ts +0 -19
  259. package/dist/src/components/ui/popover/popover-trigger.d.ts +0 -13
  260. package/dist/src/components/ui/popover/popover.d.ts +0 -22
  261. package/dist/src/components/ui/popover/popover.stories.d.ts +0 -5
  262. package/dist/src/components/ui/popover/popover.style.d.ts +0 -5
  263. package/dist/src/components/ui/popover/popover.types.d.ts +0 -2
  264. package/dist/src/components/ui/progress/progress.d.ts +0 -12
  265. package/dist/src/components/ui/progress/progress.stories.d.ts +0 -5
  266. package/dist/src/components/ui/progress/progress.styles.d.ts +0 -4
  267. package/dist/src/components/ui/radio-group/radio-group-item.d.ts +0 -22
  268. package/dist/src/components/ui/radio-group/radio-group.d.ts +0 -20
  269. package/dist/src/components/ui/radio-group/radio-group.stories.d.ts +0 -5
  270. package/dist/src/components/ui/radio-group/radio-group.styles.d.ts +0 -9
  271. package/dist/src/components/ui/radio-group/radio-group.types.d.ts +0 -2
  272. package/dist/src/components/ui/sample-demo/sample-demo.d.ts +0 -24
  273. package/dist/src/components/ui/sample-demo/sample.style.d.ts +0 -4
  274. package/dist/src/components/ui/sample-demo/sample.type.d.ts +0 -3
  275. package/dist/src/components/ui/scroll-area/scroll-area.d.ts +0 -13
  276. package/dist/src/components/ui/scroll-area/scroll-area.stories.d.ts +0 -5
  277. package/dist/src/components/ui/scroll-area/scroll-area.style.d.ts +0 -1
  278. package/dist/src/components/ui/select/select-controller.d.ts +0 -16
  279. package/dist/src/components/ui/select/select-group.d.ts +0 -26
  280. package/dist/src/components/ui/select/select-item.d.ts +0 -27
  281. package/dist/src/components/ui/select/select-label.d.ts +0 -14
  282. package/dist/src/components/ui/select/select-list.d.ts +0 -11
  283. package/dist/src/components/ui/select/select-seperator.d.ts +0 -9
  284. package/dist/src/components/ui/select/select-trigger.d.ts +0 -25
  285. package/dist/src/components/ui/select/select-value.d.ts +0 -21
  286. package/dist/src/components/ui/select/select.d.ts +0 -26
  287. package/dist/src/components/ui/select/select.stories.d.ts +0 -5
  288. package/dist/src/components/ui/select/select.styles.d.ts +0 -20
  289. package/dist/src/components/ui/separator/_separator.d.ts +0 -22
  290. package/dist/src/components/ui/separator/separator.d.ts +0 -11
  291. package/dist/src/components/ui/separator/separator.defs.d.ts +0 -5
  292. package/dist/src/components/ui/separator/separator.stories.d.ts +0 -10
  293. package/dist/src/components/ui/skeleton/skeleton.d.ts +0 -11
  294. package/dist/src/components/ui/skeleton/skeleton.stories.d.ts +0 -5
  295. package/dist/src/components/ui/skeleton/skeleton.style.d.ts +0 -1
  296. package/dist/src/components/ui/switch/switch.d.ts +0 -14
  297. package/dist/src/components/ui/switch/switch.stories.d.ts +0 -5
  298. package/dist/src/components/ui/switch/switch.style.d.ts +0 -4
  299. package/dist/src/components/ui/switch/switch.type.d.ts +0 -4
  300. package/dist/src/components/ui/table/table.d.ts +0 -18
  301. package/dist/src/components/ui/table/table.stories.d.ts +0 -5
  302. package/dist/src/components/ui/table/table.styles.d.ts +0 -39
  303. package/dist/src/components/ui/tabs/_tabs-content.d.ts +0 -30
  304. package/dist/src/components/ui/tabs/_tabs-list.d.ts +0 -30
  305. package/dist/src/components/ui/tabs/_tabs-trigger.d.ts +0 -47
  306. package/dist/src/components/ui/tabs/_tabs.d.ts +0 -99
  307. package/dist/src/components/ui/tabs/tabs.d.ts +0 -18
  308. package/dist/src/components/ui/tabs/tabs.defs.d.ts +0 -22
  309. package/dist/src/components/ui/tabs/tabs.helpers.d.ts +0 -24
  310. package/dist/src/components/ui/tabs/tabs.stories.d.ts +0 -13
  311. package/dist/src/components/ui/textarea/textarea.d.ts +0 -22
  312. package/dist/src/components/ui/textarea/textarea.stories.d.ts +0 -5
  313. package/dist/src/components/ui/textarea/textarea.styles.d.ts +0 -1
  314. package/dist/src/components/ui/textarea/textarea.type.d.ts +0 -11
  315. package/dist/src/components/ui/toast/toast-action.d.ts +0 -27
  316. package/dist/src/components/ui/toast/toast-description.d.ts +0 -14
  317. package/dist/src/components/ui/toast/toast-title.d.ts +0 -14
  318. package/dist/src/components/ui/toast/toast-trigger.d.ts +0 -18
  319. package/dist/src/components/ui/toast/toast-view-port.d.ts +0 -24
  320. package/dist/src/components/ui/toast/toast.d.ts +0 -25
  321. package/dist/src/components/ui/toast/toast.stories.d.ts +0 -10
  322. package/dist/src/components/ui/toast/toast.style.d.ts +0 -19
  323. package/dist/src/components/ui/toast/toast.type.d.ts +0 -1
  324. package/dist/src/components/ui/toggle/toggle.d.ts +0 -29
  325. package/dist/src/components/ui/toggle/toggle.defs.d.ts +0 -27
  326. package/dist/src/components/ui/toggle/toggle.stories.d.ts +0 -6
  327. package/dist/src/components/ui/toggle/toggle.style.d.ts +0 -4
  328. package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +0 -43
  329. package/dist/src/components/ui/toggle-group/toggle-group.d.ts +0 -25
  330. package/dist/src/components/ui/toggle-group/toggle-group.defs.d.ts +0 -37
  331. package/dist/src/components/ui/toggle-group/toggle-group.stories.d.ts +0 -5
  332. package/dist/src/components/ui/toggle-group/toggle-group.style.d.ts +0 -5
  333. package/dist/src/components/widgets/index.d.ts +0 -1
  334. package/dist/src/components/widgets/light-sample-demo/light-sample.demo.d.ts +0 -16
  335. package/dist/src/helpers/base-element.d.ts +0 -21
  336. package/dist/src/helpers/country-codes.d.ts +0 -5
  337. package/dist/src/helpers/genrate-uuid.helper.d.ts +0 -1
  338. package/dist/src/helpers/index.d.ts +0 -7
  339. package/dist/src/helpers/mouse-conroller.helper.d.ts +0 -15
  340. package/dist/src/helpers/shadow-wrapper.d.ts +0 -8
  341. package/dist/src/helpers/style.helpers.d.ts +0 -3
  342. package/dist/src/helpers/widget-controller.d.ts +0 -13
  343. package/dist/src/index.d.ts +0 -2
  344. package/dist/src/interfaces/actionable.interface.d.ts +0 -6
  345. package/dist/src/interfaces/atomic.interface.d.ts +0 -6
  346. package/dist/src/interfaces/changeable.interface.d.ts +0 -8
  347. package/dist/src/interfaces/child-support-atomic.interface.d.ts +0 -5
  348. package/dist/src/interfaces/index.d.ts +0 -6
  349. package/dist/src/interfaces/intractable.interface.d.ts +0 -6
  350. package/dist/src/interfaces/variant.interface.d.ts +0 -3
  351. package/dist/src/lib/index.d.ts +0 -0
  352. package/dist/src/lib/react/react.lib.d.ts +0 -5
  353. package/dist/src/styles/index.d.ts +0 -1
  354. package/dist/src/styles/tw.styles.d.ts +0 -1
  355. package/dist/src/tokens/tailwind/animation.d.ts +0 -7
  356. package/dist/src/tokens/tailwind/basis.d.ts +0 -5
  357. package/dist/src/tokens/tailwind/border-radius.d.ts +0 -52
  358. package/dist/src/tokens/tailwind/border-width.d.ts +0 -28
  359. package/dist/src/tokens/tailwind/box-shadow.d.ts +0 -17
  360. package/dist/src/tokens/tailwind/color.d.ts +0 -261
  361. package/dist/src/tokens/tailwind/font-size.d.ts +0 -98
  362. package/dist/src/tokens/tailwind/font-weight.d.ts +0 -28
  363. package/dist/src/tokens/tailwind/index.d.ts +0 -912
  364. package/dist/src/tokens/tailwind/keyframes.d.ts +0 -41
  365. package/dist/src/tokens/tailwind/opacity.d.ts +0 -34
  366. package/dist/src/tokens/tailwind/ring-offset-width.d.ts +0 -7
  367. package/dist/src/tokens/tailwind/ring-width.d.ts +0 -19
  368. package/dist/src/tokens/tailwind/spacing.d.ts +0 -299
  369. package/dist/src/tokens/tailwind/transition-duration.d.ts +0 -5
  370. package/dist/src/tokens/tailwind/transition-timing-function.d.ts +0 -4
  371. package/dist/src/tokens/tailwind/translate.d.ts +0 -5
  372. package/dist/src/wc-ui-app.d.ts +0 -7
@@ -1,24 +0,0 @@
1
- import { LitElement } from 'lit';
2
-
3
- import * as sampleType from './sample.type';
4
- export declare class SampleDemo extends LitElement {
5
- static buttonVariants: (props?: ({
6
- variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
7
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
8
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
9
- click: () => void;
10
- disabled: boolean;
11
- isCustomClass: boolean;
12
- variant: sampleType.SampleVariant;
13
- size: sampleType.SampleSize;
14
- mode: 'single' | 'range';
15
- selectedStartDate: Date | null;
16
- selectedEndDate: Date | null;
17
- static styles: import('lit').CSSResult[];
18
- render(): import('lit').TemplateResult<1>;
19
- }
20
- declare global {
21
- interface HTMLElementTagNameMap {
22
- 'rtg-sample-demo': SampleDemo;
23
- }
24
- }
@@ -1,4 +0,0 @@
1
- export declare const demoStyle: (props?: ({
2
- variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
3
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
4
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -1,3 +0,0 @@
1
- export type SampleVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
2
- export type SampleSize = 'default' | 'sm' | 'lg' | 'icon';
3
- export type SampleType = 'button' | 'submit' | 'reset' | 'menu';
@@ -1,13 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
-
3
- export declare class RtgScrollArea extends BaseElement {
4
- private viewportEl;
5
- protected createRenderRoot(): this;
6
- firstUpdated(): void;
7
- render(): import('lit').TemplateResult<1>;
8
- }
9
- declare global {
10
- interface HTMLElementTagNameMap {
11
- 'rtg-scroll-area': RtgScrollArea;
12
- }
13
- }
@@ -1,5 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/web-components-vite';
2
-
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const BasicScrollArea: StoryFn;
@@ -1 +0,0 @@
1
- export declare const scrollAreaStyles: string[];
@@ -1,16 +0,0 @@
1
- type Listener = () => void;
2
- export declare class SelectStore {
3
- private state;
4
- private listeners;
5
- subscribe(listener: Listener): void;
6
- unsubscribe(listener: Listener): void;
7
- private notify;
8
- get isOpen(): boolean;
9
- get selectedValue(): string;
10
- get selectedText(): string;
11
- open(): void;
12
- close(): void;
13
- toggle(): void;
14
- select(value: string, text: string, _index?: number): void;
15
- }
16
- export {};
@@ -1,26 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
- import { Select } from './select';
3
-
4
- export declare class SelectGroup extends BaseElement {
5
- focusedIndex: number;
6
- private childrenArray;
7
- get _select(): Select;
8
- connectedCallback(): void;
9
- disconnectedCallback(): void;
10
- private getTriggerButton;
11
- private updateTriggerWidth;
12
- private onStoreChange;
13
- get _containerElement(): HTMLDivElement | null;
14
- get _contentDiv(): HTMLDivElement | null;
15
- protected firstUpdated(): void;
16
- private updateFocusedItem;
17
- private handleKeyDown;
18
- private handleMouseOver;
19
- protected createRenderRoot(): HTMLElement | DocumentFragment;
20
- render(): import('lit').TemplateResult<1>;
21
- }
22
- declare global {
23
- interface HTMLElementTagNameMap {
24
- 'rtg-select-group': SelectGroup;
25
- }
26
- }
@@ -1,27 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
- import { PropertyValues } from 'lit';
3
- import { Select } from './select';
4
-
5
- export declare class SelectItem extends BaseElement {
6
- value: string;
7
- isSelected: boolean;
8
- isFocus: boolean;
9
- selectItemIndex: number;
10
- onSelect: (_value: string, _index: number) => void;
11
- class: string;
12
- get _select(): Select;
13
- connectedCallback(): void;
14
- disconnectedCallback(): void;
15
- private _onStoreChange;
16
- protected firstUpdated(_changedProperties: PropertyValues): void;
17
- get _containerElement(): HTMLDivElement | null;
18
- protected createRenderRoot(): HTMLElement | DocumentFragment;
19
- private getTextContent;
20
- private handleClick;
21
- render(): import('lit').TemplateResult<1>;
22
- }
23
- declare global {
24
- interface HTMLElementTagNameMap {
25
- 'rtg-select-item': SelectItem;
26
- }
27
- }
@@ -1,14 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
- import { PropertyValues } from 'lit';
3
-
4
- export declare class SelectLabel extends BaseElement {
5
- get _containerElement(): HTMLDivElement | null;
6
- protected firstUpdated(_changedProperties: PropertyValues): void;
7
- protected createRenderRoot(): HTMLElement | DocumentFragment;
8
- render(): import('lit').TemplateResult<1>;
9
- }
10
- declare global {
11
- interface HTMLElementTagNameMap {
12
- 'rtg-select-label': SelectLabel;
13
- }
14
- }
@@ -1,11 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
- import { PropertyValues } from 'lit';
3
-
4
- export declare class SelectList extends BaseElement {
5
- state: string;
6
- get _containerElement(): HTMLDivElement | null;
7
- isOpen: boolean;
8
- protected firstUpdated(_changedProperties: PropertyValues): void;
9
- protected createRenderRoot(): HTMLElement | DocumentFragment;
10
- render(): import('lit').TemplateResult<1>;
11
- }
@@ -1,9 +0,0 @@
1
- import { LitElement } from 'lit';
2
-
3
- declare class SelectSeperator extends LitElement {
4
- _id: string;
5
- _hidden: string;
6
- protected createRenderRoot(): HTMLElement | DocumentFragment;
7
- render(): import('lit').TemplateResult<1>;
8
- }
9
- export { SelectSeperator };
@@ -1,25 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
- import { PropertyValues } from 'lit';
3
- import { Select } from './select';
4
-
5
- declare class SelectTrigger extends BaseElement {
6
- get _select(): Select;
7
- private classObserver?;
8
- connectedCallback(): void;
9
- disconnectedCallback(): void;
10
- private onStoreChange;
11
- get _containerElement(): HTMLSpanElement | null;
12
- protected firstUpdated(_changedProperties: PropertyValues): void;
13
- handleClick: (e: Event) => void;
14
- protected createRenderRoot(): HTMLElement | DocumentFragment;
15
- protected getAttributesToExclude(): string[];
16
- private getClassAttribute;
17
- private filterConflictingWidthClasses;
18
- render(): import('lit').TemplateResult<1>;
19
- }
20
- export { SelectTrigger };
21
- declare global {
22
- interface HTMLElementTagNameMap {
23
- 'rtg-select-trigger': SelectTrigger;
24
- }
25
- }
@@ -1,21 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
- import { PropertyValues } from 'lit';
3
- import { Select } from './select';
4
-
5
- declare class SelectValue extends BaseElement {
6
- placeholder: string;
7
- get _select(): Select;
8
- connectedCallback(): void;
9
- disconnectedCallback(): void;
10
- private onStoreChange;
11
- protected firstUpdated(_changedProperties: PropertyValues): void;
12
- renderLabel: () => string;
13
- protected createRenderRoot(): HTMLElement | DocumentFragment;
14
- render(): import('lit').TemplateResult<1>;
15
- }
16
- export { SelectValue };
17
- declare global {
18
- interface HTMLElementTagNameMap {
19
- 'rtg-select-value': SelectValue;
20
- }
21
- }
@@ -1,26 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
- import { SelectStore } from './select-controller';
3
- import { SelectGroup } from './select-group';
4
- import { SelectItem } from './select-item';
5
- import { SelectLabel } from './select-label';
6
- import { SelectList } from './select-list';
7
- import { SelectSeperator } from './select-seperator';
8
- import { SelectTrigger } from './select-trigger';
9
- import { SelectValue } from './select-value';
10
-
11
- declare class Select extends BaseElement {
12
- private uuid;
13
- selectStore: SelectStore;
14
- connectedCallback(): void;
15
- disconnectedCallback(): void;
16
- private handleClickOutside;
17
- protected firstUpdated(): void;
18
- protected createRenderRoot(): HTMLElement | DocumentFragment;
19
- render(): import('lit').TemplateResult<1>;
20
- }
21
- export { Select, SelectGroup, SelectItem, SelectLabel, SelectList, SelectSeperator, SelectTrigger, SelectValue, };
22
- declare global {
23
- interface HTMLElementTagNameMap {
24
- 'rtg-select': Select;
25
- }
26
- }
@@ -1,5 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/web-components-vite';
2
-
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const BasicSelect: StoryFn;
@@ -1,20 +0,0 @@
1
- export declare const selectStyles: {
2
- root: string[];
3
- group: string[];
4
- value: string[];
5
- trigger: {
6
- trigger: string[];
7
- icon: string[];
8
- };
9
- content: {
10
- content: string[];
11
- viewport: string[];
12
- };
13
- label: string[];
14
- item: {
15
- item: string[];
16
- indicator: string[];
17
- icon: string[];
18
- };
19
- separator: string[];
20
- };
@@ -1,22 +0,0 @@
1
- import { LitElement } from 'lit';
2
- import { SeparatorOrientation, SeparatorProps } from './separator.defs';
3
-
4
- /**
5
- * The `<rtg-separator>` component visually or semantically separates content.
6
- *
7
- * @element rtg-separator
8
- * @slot separator
9
- */
10
- export declare class Separator extends LitElement implements SeparatorProps {
11
- /**
12
- * The orientation of the separator.
13
- */
14
- orientation: SeparatorOrientation;
15
- /**
16
- * When `true`, signifies that it is purely visual, carries no semantic
17
- * meaning, and ensures it is not present in the accessibility tree.
18
- */
19
- decorative?: boolean;
20
- protected createRenderRoot(): HTMLElement | DocumentFragment;
21
- render(): import('lit').TemplateResult<1>;
22
- }
@@ -1,11 +0,0 @@
1
- import { Separator } from './_separator';
2
-
3
- export { Separator };
4
- /**
5
- * Visually or semantically separates content.
6
- */
7
- declare global {
8
- interface HTMLElementTagNameMap {
9
- 'rtg-separator': Separator;
10
- }
11
- }
@@ -1,5 +0,0 @@
1
- export type SeparatorOrientation = 'horizontal' | 'vertical';
2
- export interface SeparatorProps {
3
- orientation: SeparatorOrientation;
4
- decorative?: boolean;
5
- }
@@ -1,10 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/web-components-vite';
2
-
3
- declare const meta: Meta;
4
- export default meta;
5
- type Story = StoryObj;
6
- export declare const Demo: Story;
7
- export declare const Horizontal: Story;
8
- export declare const Vertical: Story;
9
- export declare const Menu: Story;
10
- export declare const List: Story;
@@ -1,11 +0,0 @@
1
- import { BaseElement } from '../../../helpers';
2
-
3
- export declare class RtgSkeleton extends BaseElement {
4
- protected createRenderRoot(): this;
5
- render(): import('lit').TemplateResult<1>;
6
- }
7
- declare global {
8
- interface HTMLElementTagNameMap {
9
- 'rtg-skeleton': RtgSkeleton;
10
- }
11
- }
@@ -1,5 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/web-components-vite';
2
-
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const BasicSkeleton: StoryFn;
@@ -1 +0,0 @@
1
- export declare const skeletonStyles = "rtg-bg-skeleton-color-bg rtg-animate-skeleton-animate rtg-rounded-skeleton-radius";
@@ -1,14 +0,0 @@
1
- import { LitElement } from 'lit';
2
-
3
- export declare class Switch extends LitElement {
4
- disabled: 'true' | 'false';
5
- state: 'checked' | 'unchecked';
6
- private _toggleChecked;
7
- protected createRenderRoot(): HTMLElement | DocumentFragment;
8
- render(): import('lit').TemplateResult<1>;
9
- }
10
- declare global {
11
- interface HTMLElementTagNameMap {
12
- 'rtg-switch': Switch;
13
- }
14
- }
@@ -1,5 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/web-components-vite';
2
-
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Switch: StoryFn;
@@ -1,4 +0,0 @@
1
- export declare const switchStyles: {
2
- root: string[];
3
- thumb: string[];
4
- };
@@ -1,4 +0,0 @@
1
- export type SwitchArgs = {
2
- disabled: boolean;
3
- checked: boolean;
4
- };
@@ -1,18 +0,0 @@
1
- import { PropertyValues } from 'lit';
2
- import { BaseElement } from '../../../helpers';
3
-
4
- export declare class Table extends BaseElement {
5
- dataTable: Array<any>;
6
- footerData: Array<{
7
- key: string;
8
- value: string | number;
9
- }>;
10
- captionText: string;
11
- get _containerElement(): HTMLTableElement | null;
12
- protected getAttributesToExclude(): string[];
13
- protected createRenderRoot(): HTMLElement | DocumentFragment;
14
- protected firstUpdated(_changedProperties: PropertyValues): void;
15
- private get columnKeys();
16
- private capitalizeLabel;
17
- render(): import('lit').TemplateResult<1>;
18
- }
@@ -1,5 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/web-components-vite';
2
-
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Table: StoryFn;
@@ -1,39 +0,0 @@
1
- export declare const tableStyles: {
2
- preview: string[];
3
- container: string[];
4
- table: string[];
5
- caption: string[];
6
- head: {
7
- root: string[];
8
- row: string[];
9
- cell: {
10
- base: string[];
11
- align: {
12
- left: string;
13
- right: string;
14
- };
15
- };
16
- };
17
- body: {
18
- root: string[];
19
- row: string[];
20
- cell: {
21
- base: string[];
22
- align: {
23
- right: string;
24
- left: string;
25
- };
26
- };
27
- };
28
- footer: {
29
- root: string[];
30
- row: string[];
31
- cell: {
32
- base: string[];
33
- align: {
34
- right: string;
35
- left: string;
36
- };
37
- };
38
- };
39
- };
@@ -1,30 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import { TabsContentProps } from './tabs.defs';
3
-
4
- /**
5
- * The `<rtg-tabs-content>` component contains the content associated with each
6
- * trigger.
7
- *
8
- * @element rtg-tabs-content
9
- * @slot tabs-content
10
- */
11
- export declare class TabsContent extends LitElement implements TabsContentProps {
12
- /**
13
- * A unique value that associates the content with a trigger.
14
- */
15
- value: string;
16
- /**
17
- * Overrides the default behaviour to render into the light DOM.
18
- */
19
- protected createRenderRoot(): this;
20
- /**
21
- * The slot of the tabs content.
22
- */
23
- get _contentSlot(): HTMLElement | null;
24
- /**
25
- * Handles the first updated callback, appending the children to the content
26
- * slot.
27
- */
28
- protected firstUpdated(_changedProperties: PropertyValues): void;
29
- render(): import('lit').TemplateResult<1>;
30
- }
@@ -1,30 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import { TabsListProps, TabsListVariant } from './tabs.defs';
3
-
4
- /**
5
- * The `<rtg-tabs-list>` component contains the triggers that are aligned along
6
- * the edge of the active content.
7
- *
8
- * @element rtg-tabs-list
9
- * @slot tabs-list
10
- */
11
- export declare class TabsList extends LitElement implements TabsListProps {
12
- /**
13
- * The visual style of the tabs list.
14
- */
15
- variant: TabsListVariant;
16
- /**
17
- * Overrides the default behaviour to render into the light DOM.
18
- */
19
- protected createRenderRoot(): this;
20
- /**
21
- * The slot of the tabs list.
22
- */
23
- get _listSlot(): HTMLElement | null;
24
- /**
25
- * Handles the first updated callback, appending the children to the list
26
- * slot.
27
- */
28
- protected firstUpdated(_changedProperties: PropertyValues): void;
29
- render(): import('lit').TemplateResult<1>;
30
- }
@@ -1,47 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import { TabsTriggerProps } from './tabs.defs';
3
-
4
- /**
5
- * The `<rtg-tabs-trigger>` component is the button that activates its
6
- * associated content.
7
- *
8
- * @element rtg-tabs-trigger
9
- * @slot tabs-trigger
10
- */
11
- export declare class TabsTrigger extends LitElement implements TabsTriggerProps {
12
- /**
13
- * A unique value that associates the trigger with a content.
14
- */
15
- value: string;
16
- /**
17
- * When `true`, prevents the user from interacting with the tab.
18
- */
19
- disabled?: boolean;
20
- /**
21
- * Overrides the default behaviour to render into the light DOM.
22
- */
23
- protected createRenderRoot(): this;
24
- /**
25
- * The slot of the tabs trigger.
26
- */
27
- get _triggerSlot(): HTMLButtonElement | null;
28
- /**
29
- * Handles the first updated callback, appending the children to the trigger
30
- * slot.
31
- */
32
- protected firstUpdated(_changedProperties: PropertyValues): void;
33
- /**
34
- * Sends the trigger select event object, invoking the parent tabs' event
35
- * listener.
36
- */
37
- private _emitSelect;
38
- /**
39
- * Handles the click event of the trigger button, invoking `_emitSelect`.
40
- */
41
- private _onClick;
42
- /**
43
- * Handles the keydown event of the trigger button, invoking `_emitSelect`.
44
- */
45
- private _onKeyDown;
46
- render(): import('lit').TemplateResult<1>;
47
- }
@@ -1,99 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import { TabsProps, TabsOrientation, TabsDir, TabsActivationMode } from './tabs.defs';
3
-
4
- /**
5
- * The `<rtg-tabs>` component is the 'root' and contains all the tabs component
6
- * parts.
7
- *
8
- * @element rtg-tabs
9
- * @slot tabs
10
- */
11
- export declare class Tabs extends LitElement implements TabsProps {
12
- /**
13
- * The value of the tab that should be active when initially rendered. Use
14
- * when you do not need to control the state of the tabs.
15
- */
16
- defaultValue?: string;
17
- /**
18
- * The controlled value of the tab to activate. Should be used in conjunction
19
- * with `onValueChange`.
20
- */
21
- value?: string;
22
- /**
23
- * Event handler called when the value changes.
24
- */
25
- onValueChange?: (value: string) => void;
26
- /**
27
- * The orientation of the tabs.
28
- */
29
- orientation: TabsOrientation;
30
- /**
31
- * The reading direction of the tabs.
32
- */
33
- dir: TabsDir;
34
- /**
35
- * When `automatic`, tabs are activated when receiving focus. When `manual`,
36
- * tabs are activated when clicked.
37
- */
38
- activationMode: TabsActivationMode;
39
- /**
40
- * The active tab's value - the value props of the trigger/content pair.
41
- */
42
- private _activeValue?;
43
- /**
44
- * The tabs root's base ID, generated by `generatedId`, and used to construct
45
- * the trigger and contents children's ids.
46
- */
47
- private _baseId;
48
- /**
49
- * Overrides the default behaviour to render into the light DOM.
50
- */
51
- protected createRenderRoot(): this;
52
- /**
53
- * The slot of the tabs root.
54
- */
55
- private get _rootSlot();
56
- /**
57
- * The tabs list child.
58
- */
59
- private get _list();
60
- /**
61
- * The tabs trigger children.
62
- */
63
- private get _triggers();
64
- /**
65
- * The tabs content children.
66
- */
67
- private get _contents();
68
- /**
69
- * Whether or not the tabs element is 'controlled' - determined by whether or
70
- * not the value prop was provided by the user.
71
- */
72
- private get _isControlled();
73
- /**
74
- * The value of the active tab: user-provided value if controlled, otherwise,
75
- * the internal state value.
76
- */
77
- private get _currentValue();
78
- /**
79
- * The event listener callback used for the trigger select event.
80
- */
81
- private _onTriggerSelect;
82
- /**
83
- * Sync all the tabs children (list, triggers, and contents), setting their
84
- * 'parent-controlled' attributes.
85
- */
86
- private _sync;
87
- /**
88
- * Handles the first updated callback, appending the children to the root
89
- * slot, determining the active tab, adding the trigger select event listener
90
- * and syncing the tabs children.
91
- */
92
- protected firstUpdated(): void;
93
- /**
94
- * Handles the updated callback, updating the active tab if changed (and
95
- * controlled), and syncing the tabs children.
96
- */
97
- protected updated(changed: PropertyValues): void;
98
- render(): import('lit').TemplateResult<1>;
99
- }