revotech-ui-kit 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. package/dist/assets/icons/arrows.icon.d.ts +1 -0
  2. package/dist/assets/icons/index.d.ts +3 -0
  3. package/dist/assets/icons/search.icon.d.ts +1 -0
  4. package/dist/assets/icons/tick.icon.d.ts +1 -0
  5. package/dist/components/atoms/alert/alert-description.d.ts +6 -0
  6. package/dist/components/atoms/alert/alert-title.d.ts +6 -0
  7. package/dist/components/atoms/alert/alert.atom.d.ts +23 -0
  8. package/dist/components/atoms/alert/alert.stories.d.ts +6 -0
  9. package/dist/components/atoms/alert/alert.styles.d.ts +4 -0
  10. package/dist/components/atoms/alert/alert.types.d.ts +1 -0
  11. package/dist/components/atoms/badge/badge.atom.d.ts +17 -0
  12. package/dist/components/atoms/badge/badge.stories.d.ts +6 -0
  13. package/dist/components/atoms/badge/badge.style.d.ts +3 -0
  14. package/dist/components/atoms/badge/badge.type.d.ts +1 -0
  15. package/dist/components/atoms/button/button.atom.d.ts +23 -0
  16. package/dist/components/atoms/button/button.stories.d.ts +6 -0
  17. package/dist/components/atoms/button/button.style.d.ts +4 -0
  18. package/dist/components/atoms/button/button.type.d.ts +3 -0
  19. package/dist/components/atoms/card/card-content.d.ts +6 -0
  20. package/dist/components/atoms/card/card-description.d.ts +6 -0
  21. package/dist/components/atoms/card/card-footer.d.ts +6 -0
  22. package/dist/components/atoms/card/card-header.d.ts +6 -0
  23. package/dist/components/atoms/card/card-title.d.ts +6 -0
  24. package/dist/components/atoms/card/card.atom.d.ts +22 -0
  25. package/dist/components/atoms/card/card.stories.d.ts +6 -0
  26. package/dist/components/atoms/checkbox/checkbox.atom.d.ts +19 -0
  27. package/dist/components/atoms/checkbox/checkbox.stories.d.ts +7 -0
  28. package/dist/components/atoms/checkbox/checkbox.style.d.ts +2 -0
  29. package/dist/components/atoms/checkbox/checkbox.type.d.ts +21 -0
  30. package/dist/components/atoms/combo-box/combo-box-input.d.ts +9 -0
  31. package/dist/components/atoms/combo-box/combo-box-item.d.ts +13 -0
  32. package/dist/components/atoms/combo-box/combo-box-list.d.ts +10 -0
  33. package/dist/components/atoms/combo-box/combo-box.atom.d.ts +27 -0
  34. package/dist/components/atoms/combo-box/combo-box.stories.d.ts +6 -0
  35. package/dist/components/atoms/command/command-empty.atom.d.ts +10 -0
  36. package/dist/components/atoms/command/command-group.atom.d.ts +11 -0
  37. package/dist/components/atoms/command/command-input.atom.d.ts +11 -0
  38. package/dist/components/atoms/command/command-item.atom.d.ts +13 -0
  39. package/dist/components/atoms/command/command-list.atom.d.ts +7 -0
  40. package/dist/components/atoms/command/command-separator.atom.d.ts +10 -0
  41. package/dist/components/atoms/command/command.atom.d.ts +7 -0
  42. package/dist/components/atoms/command/command.stories.d.ts +5 -0
  43. package/dist/components/atoms/dialog/dialog-close.d.ts +13 -0
  44. package/dist/components/atoms/dialog/dialog-content.d.ts +9 -0
  45. package/dist/components/atoms/dialog/dialog-footer.d.ts +6 -0
  46. package/dist/components/atoms/dialog/dialog-header.d.ts +8 -0
  47. package/dist/components/atoms/dialog/dialog-overly.d.ts +6 -0
  48. package/dist/components/atoms/dialog/dialog-trigger.d.ts +9 -0
  49. package/dist/components/atoms/dialog/dialog.atom.d.ts +25 -0
  50. package/dist/components/atoms/dialog/dialog.stories.d.ts +7 -0
  51. package/dist/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.d.ts +16 -0
  52. package/dist/components/atoms/dropdownMenu/dropdown-menu-content.d.ts +14 -0
  53. package/dist/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +11 -0
  54. package/dist/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +13 -0
  55. package/dist/components/atoms/dropdownMenu/dropdown-menu-radio-item.d.ts +16 -0
  56. package/dist/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +10 -0
  57. package/dist/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +6 -0
  58. package/dist/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +31 -0
  59. package/dist/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +7 -0
  60. package/dist/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +2 -0
  61. package/dist/components/atoms/index.d.ts +19 -0
  62. package/dist/components/atoms/input/input.atom.d.ts +22 -0
  63. package/dist/components/atoms/input/input.stories.d.ts +6 -0
  64. package/dist/components/atoms/input/input.styles.d.ts +1 -0
  65. package/dist/components/atoms/input/input.type.d.ts +21 -0
  66. package/dist/components/atoms/label/label.atom.d.ts +17 -0
  67. package/dist/components/atoms/label/label.stories.d.ts +6 -0
  68. package/dist/components/atoms/label/label.style.d.ts +1 -0
  69. package/dist/components/atoms/popover/popover-content.d.ts +12 -0
  70. package/dist/components/atoms/popover/popover-trigger.d.ts +10 -0
  71. package/dist/components/atoms/popover/popover.atom.d.ts +19 -0
  72. package/dist/components/atoms/popover/popover.stories.d.ts +5 -0
  73. package/dist/components/atoms/popover/popover.style.d.ts +5 -0
  74. package/dist/components/atoms/popover/popover.types.d.ts +2 -0
  75. package/dist/components/atoms/textarea/textarea.atom.d.ts +17 -0
  76. package/dist/components/atoms/textarea/textarea.stories.d.ts +5 -0
  77. package/dist/components/atoms/textarea/textarea.styles.d.ts +1 -0
  78. package/dist/components/atoms/textarea/textarea.type.d.ts +11 -0
  79. package/dist/components/atoms/toggle/defs.d.ts +27 -0
  80. package/dist/components/atoms/toggle/toggle.atom.d.ts +20 -0
  81. package/dist/components/atoms/toggle/toggle.stories.d.ts +6 -0
  82. package/dist/components/atoms/toggle/toggle.style.d.ts +4 -0
  83. package/dist/components/index.d.ts +2 -0
  84. package/dist/components/molecules/breadCrumb/Breadcrumb-link.d.ts +8 -0
  85. package/dist/components/molecules/breadCrumb/breadCrumb.stories.d.ts +5 -0
  86. package/dist/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +7 -0
  87. package/dist/components/molecules/breadCrumb/breadcrumb-item.d.ts +7 -0
  88. package/dist/components/molecules/breadCrumb/breadcrumb-list.d.ts +7 -0
  89. package/dist/components/molecules/breadCrumb/breadcrumb-separator.d.ts +7 -0
  90. package/dist/components/molecules/breadCrumb/breadcrumb-text.d.ts +7 -0
  91. package/dist/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +7 -0
  92. package/dist/components/molecules/breadCrumb/breadcrumb.styles.d.ts +6 -0
  93. package/dist/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
  94. package/dist/components/molecules/index.d.ts +7 -0
  95. package/dist/components/molecules/toggle-group/defs.d.ts +37 -0
  96. package/dist/components/molecules/toggle-group/toggle-group-item.d.ts +18 -0
  97. package/dist/components/molecules/toggle-group/toggle-group.molecules.d.ts +19 -0
  98. package/dist/components/molecules/toggle-group/toggle-group.stories.d.ts +5 -0
  99. package/dist/components/molecules/toggle-group/toggle-group.style.d.ts +4 -0
  100. package/dist/helpers/base-element.d.ts +11 -0
  101. package/dist/helpers/index.d.ts +3 -0
  102. package/dist/helpers/mouse-conroller.helper.d.ts +15 -0
  103. package/dist/helpers/style.helpers.d.ts +3 -0
  104. package/dist/index.d.ts +3 -0
  105. package/dist/interfaces/actionable.interface.d.ts +6 -0
  106. package/dist/interfaces/atomic.interface.d.ts +6 -0
  107. package/dist/interfaces/changeable.interface.d.ts +8 -0
  108. package/dist/interfaces/child-support-atomic.interface.d.ts +5 -0
  109. package/dist/interfaces/index.d.ts +6 -0
  110. package/dist/interfaces/intractable.interface.d.ts +6 -0
  111. package/dist/interfaces/variant.interface.d.ts +3 -0
  112. package/dist/lib/index.d.ts +0 -0
  113. package/dist/lib/next/next.lib.d.ts +0 -0
  114. package/dist/lib/react/react.lib.d.ts +3 -0
  115. package/dist/lib/tw-styles.d.ts +1 -0
  116. package/dist/revotech-ui-kit.js +7135 -0
  117. package/dist/revotech-ui-kit.umd.cjs +2977 -0
  118. package/dist/src/assets/icons/arrows.icon.d.ts +1 -0
  119. package/dist/src/assets/icons/index.d.ts +3 -0
  120. package/dist/src/assets/icons/search.icon.d.ts +1 -0
  121. package/dist/src/assets/icons/tick.icon.d.ts +1 -0
  122. package/dist/src/components/atoms/alert/alert-description.d.ts +6 -0
  123. package/dist/src/components/atoms/alert/alert-title.d.ts +6 -0
  124. package/dist/src/components/atoms/alert/alert.atom.d.ts +23 -0
  125. package/dist/src/components/atoms/alert/alert.stories.d.ts +6 -0
  126. package/dist/src/components/atoms/alert/alert.styles.d.ts +4 -0
  127. package/dist/src/components/atoms/alert/alert.types.d.ts +1 -0
  128. package/dist/src/components/atoms/badge/badge.atom.d.ts +17 -0
  129. package/dist/src/components/atoms/badge/badge.stories.d.ts +6 -0
  130. package/dist/src/components/atoms/badge/badge.style.d.ts +3 -0
  131. package/dist/src/components/atoms/badge/badge.type.d.ts +1 -0
  132. package/dist/src/components/atoms/button/button.atom.d.ts +23 -0
  133. package/dist/src/components/atoms/button/button.stories.d.ts +6 -0
  134. package/dist/src/components/atoms/button/button.style.d.ts +4 -0
  135. package/dist/src/components/atoms/button/button.type.d.ts +3 -0
  136. package/dist/src/components/atoms/card/card-content.d.ts +6 -0
  137. package/dist/src/components/atoms/card/card-description.d.ts +6 -0
  138. package/dist/src/components/atoms/card/card-footer.d.ts +6 -0
  139. package/dist/src/components/atoms/card/card-header.d.ts +6 -0
  140. package/dist/src/components/atoms/card/card-title.d.ts +6 -0
  141. package/dist/src/components/atoms/card/card.atom.d.ts +22 -0
  142. package/dist/src/components/atoms/card/card.stories.d.ts +6 -0
  143. package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +19 -0
  144. package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +7 -0
  145. package/dist/src/components/atoms/checkbox/checkbox.style.d.ts +2 -0
  146. package/dist/src/components/atoms/checkbox/checkbox.type.d.ts +21 -0
  147. package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +9 -0
  148. package/dist/src/components/atoms/combo-box/combo-box-item.d.ts +13 -0
  149. package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +10 -0
  150. package/dist/src/components/atoms/combo-box/combo-box.atom.d.ts +27 -0
  151. package/dist/src/components/atoms/combo-box/combo-box.stories.d.ts +6 -0
  152. package/dist/src/components/atoms/command/command-empty.atom.d.ts +10 -0
  153. package/dist/src/components/atoms/command/command-group.atom.d.ts +11 -0
  154. package/dist/src/components/atoms/command/command-input.atom.d.ts +11 -0
  155. package/dist/src/components/atoms/command/command-item.atom.d.ts +13 -0
  156. package/dist/src/components/atoms/command/command-list.atom.d.ts +7 -0
  157. package/dist/src/components/atoms/command/command-separator.atom.d.ts +10 -0
  158. package/dist/src/components/atoms/command/command.atom.d.ts +7 -0
  159. package/dist/src/components/atoms/command/command.stories.d.ts +5 -0
  160. package/dist/src/components/atoms/dialog/dialog-close.d.ts +13 -0
  161. package/dist/src/components/atoms/dialog/dialog-content.d.ts +9 -0
  162. package/dist/src/components/atoms/dialog/dialog-footer.d.ts +6 -0
  163. package/dist/src/components/atoms/dialog/dialog-header.d.ts +8 -0
  164. package/dist/src/components/atoms/dialog/dialog-overly.d.ts +6 -0
  165. package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +9 -0
  166. package/dist/src/components/atoms/dialog/dialog.atom.d.ts +25 -0
  167. package/dist/src/components/atoms/dialog/dialog.stories.d.ts +7 -0
  168. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.d.ts +16 -0
  169. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.d.ts +14 -0
  170. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +11 -0
  171. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +13 -0
  172. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.d.ts +16 -0
  173. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +10 -0
  174. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +6 -0
  175. package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +31 -0
  176. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +7 -0
  177. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +2 -0
  178. package/dist/src/components/atoms/index.d.ts +19 -0
  179. package/dist/src/components/atoms/input/input.atom.d.ts +22 -0
  180. package/dist/src/components/atoms/input/input.stories.d.ts +6 -0
  181. package/dist/src/components/atoms/input/input.styles.d.ts +1 -0
  182. package/dist/src/components/atoms/input/input.type.d.ts +21 -0
  183. package/dist/src/components/atoms/label/label.atom.d.ts +17 -0
  184. package/dist/src/components/atoms/label/label.stories.d.ts +6 -0
  185. package/dist/src/components/atoms/label/label.style.d.ts +1 -0
  186. package/dist/src/components/atoms/popover/popover-content.d.ts +12 -0
  187. package/dist/src/components/atoms/popover/popover-trigger.d.ts +10 -0
  188. package/dist/src/components/atoms/popover/popover.atom.d.ts +19 -0
  189. package/dist/src/components/atoms/popover/popover.stories.d.ts +5 -0
  190. package/dist/src/components/atoms/popover/popover.style.d.ts +5 -0
  191. package/dist/src/components/atoms/popover/popover.types.d.ts +2 -0
  192. package/dist/src/components/atoms/textarea/textarea.atom.d.ts +17 -0
  193. package/dist/src/components/atoms/textarea/textarea.stories.d.ts +5 -0
  194. package/dist/src/components/atoms/textarea/textarea.styles.d.ts +1 -0
  195. package/dist/src/components/atoms/textarea/textarea.type.d.ts +11 -0
  196. package/dist/src/components/atoms/toggle/defs.d.ts +27 -0
  197. package/dist/src/components/atoms/toggle/toggle.atom.d.ts +20 -0
  198. package/dist/src/components/atoms/toggle/toggle.stories.d.ts +6 -0
  199. package/dist/src/components/atoms/toggle/toggle.style.d.ts +4 -0
  200. package/dist/src/components/index.d.ts +2 -0
  201. package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +8 -0
  202. package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +5 -0
  203. package/dist/src/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +7 -0
  204. package/dist/src/components/molecules/breadCrumb/breadcrumb-item.d.ts +7 -0
  205. package/dist/src/components/molecules/breadCrumb/breadcrumb-list.d.ts +7 -0
  206. package/dist/src/components/molecules/breadCrumb/breadcrumb-separator.d.ts +7 -0
  207. package/dist/src/components/molecules/breadCrumb/breadcrumb-text.d.ts +7 -0
  208. package/dist/src/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +7 -0
  209. package/dist/src/components/molecules/breadCrumb/breadcrumb.styles.d.ts +6 -0
  210. package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
  211. package/dist/src/components/molecules/index.d.ts +7 -0
  212. package/dist/src/components/molecules/toggle-group/defs.d.ts +37 -0
  213. package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +18 -0
  214. package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +19 -0
  215. package/dist/src/components/molecules/toggle-group/toggle-group.stories.d.ts +5 -0
  216. package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +4 -0
  217. package/dist/src/helpers/base-element.d.ts +11 -0
  218. package/dist/src/helpers/index.d.ts +3 -0
  219. package/dist/src/helpers/mouse-conroller.helper.d.ts +15 -0
  220. package/dist/src/helpers/style.helpers.d.ts +3 -0
  221. package/dist/src/index.d.ts +3 -0
  222. package/dist/src/interfaces/actionable.interface.d.ts +6 -0
  223. package/dist/src/interfaces/atomic.interface.d.ts +6 -0
  224. package/dist/src/interfaces/changeable.interface.d.ts +8 -0
  225. package/dist/src/interfaces/child-support-atomic.interface.d.ts +5 -0
  226. package/dist/src/interfaces/index.d.ts +6 -0
  227. package/dist/src/interfaces/intractable.interface.d.ts +6 -0
  228. package/dist/src/interfaces/variant.interface.d.ts +3 -0
  229. package/dist/src/lib/index.d.ts +0 -0
  230. package/dist/src/lib/next/next.lib.d.ts +0 -0
  231. package/dist/src/lib/react/react.lib.d.ts +5 -0
  232. package/dist/src/lib/tw-styles.d.ts +1 -0
  233. package/dist/src/styles/index.d.ts +1 -0
  234. package/dist/src/styles/tw.styles.d.ts +1 -0
  235. package/dist/src/wc-ui-app.d.ts +7 -0
  236. package/dist/styles/index.d.ts +1 -0
  237. package/dist/styles/tw.styles.d.ts +1 -0
  238. package/dist/wc-ui-app.d.ts +7 -0
  239. package/package.json +16 -22
  240. package/dist/index.ts +0 -1
  241. package/dist/rollup-plugin-html-noop.js +0 -1
  242. package/dist/sw.js +0 -2
  243. package/dist/sw.js.map +0 -1
  244. package/dist/tsconfig.tsbuildinfo +0 -1
  245. package/dist/workbox-a523fd56.js +0 -2
  246. package/dist/workbox-a523fd56.js.map +0 -1
@@ -0,0 +1 @@
1
+ export declare function arrowsIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1,3 @@
1
+ export * from './arrows.icon';
2
+ export * from './tick.icon';
3
+ export * from './search.icon';
@@ -0,0 +1 @@
1
+ export declare function searchIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function tickIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class AlertDescription extends LitElement {
4
+ static styles: import('lit').CSSResult;
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class AlertTitle extends LitElement {
4
+ static styles: import('lit').CSSResult;
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,23 @@
1
+ import { LitElement } from 'lit';
2
+ import { AlertTitle } from './alert-title';
3
+ import { AlertDescription } from './alert-description';
4
+
5
+ declare class Alert extends LitElement {
6
+ static styles: import('lit').CSSResult[];
7
+ static alertVairants: (props?: ({
8
+ variant?: "error" | "success" | "warning" | "info" | null | undefined;
9
+ size?: "small" | "default" | "large" | null | undefined;
10
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
11
+ variant: 'success' | 'error' | 'warning' | 'info';
12
+ size: 'default' | 'large' | 'small';
13
+ private get alertClasses();
14
+ render(): import('lit-html').TemplateResult<1>;
15
+ }
16
+ export { Alert, AlertDescription, AlertTitle };
17
+ declare global {
18
+ interface HTMLElementTagNameMap {
19
+ 'rtg-alert': Alert;
20
+ 'rtg-alert-description': AlertDescription;
21
+ 'rtg-alert-title': AlertTitle;
22
+ }
23
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ type Story = StoryObj;
6
+ export declare const AlertStory: Story;
@@ -0,0 +1,4 @@
1
+ export declare const alertStyle: (props?: ({
2
+ variant?: "error" | "success" | "warning" | "info" | null | undefined;
3
+ size?: "small" | "default" | "large" | null | undefined;
4
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,17 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ import * as badgeType from './badge.type';
4
+ export declare class Badge extends BaseElement {
5
+ static badgeVariants: (props?: ({
6
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
7
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
8
+ variant: badgeType.BadgeVariant;
9
+ static styles: import('lit').CSSResult[];
10
+ protected getAttributesToExclude(): string[];
11
+ render(): import('lit-html').TemplateResult<1>;
12
+ }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-badge': Badge;
16
+ }
17
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components';
2
+
3
+ declare const meta: Meta;
4
+ export default meta;
5
+ type Story = StoryObj;
6
+ export declare const Badge: Story;
@@ -0,0 +1,3 @@
1
+ export declare const badgeStyle: (props?: ({
2
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
3
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -0,0 +1 @@
1
+ export type BadgeVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
@@ -0,0 +1,23 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ import * as buttonType from './button.type';
4
+ export declare class Button extends BaseElement {
5
+ static buttonVariants: (props?: ({
6
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "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
+ type: buttonType.ButtonType;
12
+ variant: buttonType.ButtonVariant;
13
+ size: buttonType.ButtonSize;
14
+ static styles: import('lit').CSSResult[];
15
+ private handleClick;
16
+ protected getAttributesToExclude(): string[];
17
+ render(): import('lit-html').TemplateResult<1>;
18
+ }
19
+ declare global {
20
+ interface HTMLElementTagNameMap {
21
+ 'rtg-button': Button;
22
+ }
23
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components';
2
+
3
+ declare const meta: Meta;
4
+ export default meta;
5
+ type Story = StoryObj;
6
+ export declare const Buttons: Story;
@@ -0,0 +1,4 @@
1
+ export declare const buttonStyle: (props?: ({
2
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
3
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
4
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -0,0 +1,3 @@
1
+ export type ButtonVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
2
+ export type ButtonSize = 'default' | 'sm' | 'lg' | 'icon';
3
+ export type ButtonType = 'button' | 'submit' | 'reset' | 'menu';
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CardContent extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CardDescription extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CardFooter extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CardHeader extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CardTitle extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ import { CardTitle } from './card-title';
3
+ import { CardHeader } from './card-header';
4
+ import { CardFooter } from './card-footer';
5
+ import { CardDescription } from './card-description';
6
+ import { CardContent } from './card-content';
7
+
8
+ declare class Card extends LitElement {
9
+ static styles: import('lit').CSSResult[];
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
12
+ export { Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, };
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-card': Card;
16
+ 'rtg-card-title': CardTitle;
17
+ 'rtg-card-header': CardHeader;
18
+ 'rtg-card-footer': CardFooter;
19
+ 'rtg-card-description': CardDescription;
20
+ 'rtg-card-content': CardContent;
21
+ }
22
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ type Story = StoryObj;
6
+ export declare const Cards: Story;
@@ -0,0 +1,19 @@
1
+ import { LitElement } from 'lit';
2
+ import { CheckboxProperties } from './checkbox.type';
3
+
4
+ export declare class Checkbox extends LitElement implements CheckboxProperties {
5
+ disabled: boolean;
6
+ checked: boolean;
7
+ type: string;
8
+ value: string;
9
+ required: boolean;
10
+ static styles: import('lit').CSSResult[];
11
+ private _onClick;
12
+ click(): void;
13
+ render(): import('lit-html').TemplateResult<1>;
14
+ }
15
+ declare global {
16
+ interface HTMLElementTagNameMap {
17
+ 'rtg-checkbox': Checkbox;
18
+ }
19
+ }
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const CheckboxWithReuired: StoryFn;
6
+ export declare const Checkbox: StoryFn;
7
+ export declare const CheckboxWithValue: StoryFn;
@@ -0,0 +1,2 @@
1
+ export declare const checkboxStyles = "peer h-4 w-4 align-middle shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground";
2
+ export declare const iconStyles = "flex items-center justify-center text-current pointer-events-none";
@@ -0,0 +1,21 @@
1
+ export type CheckboxProperties = {
2
+ disabled: boolean;
3
+ checked: boolean;
4
+ };
5
+ export type CheckboxArgs = {
6
+ disabled: boolean;
7
+ checked: boolean;
8
+ label: string;
9
+ };
10
+ export type CheckboxWithRequiredArgs = {
11
+ disabled: boolean;
12
+ checked: boolean;
13
+ required: boolean;
14
+ label: string;
15
+ value?: string;
16
+ };
17
+ export type CheckboxWithValueArgs = {
18
+ disabled: boolean;
19
+ value: string;
20
+ label: string;
21
+ };
@@ -0,0 +1,9 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class ComboBoxInput extends LitElement {
4
+ value: string;
5
+ handleClick: () => void;
6
+ handleKeyDown: () => void;
7
+ static styles: import('lit').CSSResult[];
8
+ render(): import('lit-html').TemplateResult<1>;
9
+ }
@@ -0,0 +1,13 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class ComboBoxItem extends LitElement {
4
+ key: string;
5
+ searchText: string;
6
+ value: string;
7
+ tabindex: number;
8
+ isSelected: boolean;
9
+ class: string;
10
+ onSelect: () => void;
11
+ static styles: import('lit').CSSResult[];
12
+ render(): import('lit-html').TemplateResult<1>;
13
+ }
@@ -0,0 +1,10 @@
1
+ import { LitElement } from 'lit';
2
+ import { ComboBox } from './combo-box.atom';
3
+
4
+ export declare class ComboBoxList extends LitElement {
5
+ static styles: import('lit').CSSResult[];
6
+ state: string;
7
+ isOpen: boolean;
8
+ get _popover(): ComboBox | null;
9
+ render(): import('lit-html').TemplateResult<1>;
10
+ }
@@ -0,0 +1,27 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+
3
+ declare class ComboBox extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ isOpen: boolean;
6
+ selectedValue: string;
7
+ searchTerm: string;
8
+ focusedIndex: number;
9
+ filteredItems: string[];
10
+ label: string;
11
+ items: never[];
12
+ protected firstUpdated(_changedProperties: PropertyValues): void;
13
+ toggleDropdown(): void;
14
+ selectItem(event: Event): void;
15
+ handleInputClick(): void;
16
+ handleSearch(event: Event): void;
17
+ handleKeyDown(event: KeyboardEvent): void;
18
+ handleMouseOver(event: Event, index: number): void;
19
+ updateFocus(): void;
20
+ render(): import('lit-html').TemplateResult<1>;
21
+ }
22
+ export { ComboBox };
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ 'rtg-combo-box': ComboBox;
26
+ }
27
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const basicComboBox: StoryFn;
6
+ export declare const emptyComboBox: StoryFn;
@@ -0,0 +1,10 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CommandEmpty extends LitElement {
4
+ _id: string;
5
+ _hidden: string;
6
+ private static _counter;
7
+ static styles: import('lit').CSSResult[];
8
+ private get identifier();
9
+ render(): import('lit-html').TemplateResult<1>;
10
+ }
@@ -0,0 +1,11 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CommandGroup extends LitElement {
4
+ heading: string;
5
+ _id: string;
6
+ _hidden: string;
7
+ private static _counter;
8
+ static styles: import('lit').CSSResult[];
9
+ private get identifier();
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
@@ -0,0 +1,11 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CommandInput extends LitElement {
4
+ placeholder: string;
5
+ _value: string;
6
+ static styles: import('lit').CSSResult[];
7
+ private get identifier();
8
+ private filterItems;
9
+ private handleChange;
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
@@ -0,0 +1,13 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CommandItem extends LitElement {
4
+ _id: string;
5
+ _hidden: string;
6
+ private static _counter;
7
+ static styles: import('lit').CSSResult[];
8
+ private get identifier();
9
+ get value(): string;
10
+ selected: boolean;
11
+ private handleMouseEvent;
12
+ render(): import('lit-html').TemplateResult<1>;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CommandList extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ private get identifier();
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
@@ -0,0 +1,10 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class CommandSeparator extends LitElement {
4
+ _id: string;
5
+ _hidden: string;
6
+ private static _counter;
7
+ static styles: import('lit').CSSResult[];
8
+ private get identifier();
9
+ render(): import('lit-html').TemplateResult<1>;
10
+ }
@@ -0,0 +1,7 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class Command extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ _input: Array<HTMLElement>;
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Command: () => import('lit-html').TemplateResult<1>;
@@ -0,0 +1,13 @@
1
+ import { LitElement, PropertyValueMap } from 'lit';
2
+
3
+ export declare class DialogClose extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ private get _dialog();
6
+ protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
7
+ render(): import('lit-html').TemplateResult<1>;
8
+ }
9
+ declare global {
10
+ interface HTMLElementTagNameMap {
11
+ 'rtg-dialog-close': DialogClose;
12
+ }
13
+ }
@@ -0,0 +1,9 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DialogContent extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ state: string;
6
+ private get _dialog();
7
+ private handleCloseButtonClick;
8
+ render(): import('lit-html').TemplateResult<1>;
9
+ }
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DialogFooter extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,8 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DialogHeader extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ _title: string;
6
+ description: string;
7
+ render(): import('lit-html').TemplateResult<1>;
8
+ }
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DialogOverlay extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,9 @@
1
+ import { LitElement, PropertyValueMap } from 'lit';
2
+
3
+ export declare class DialogTrigger extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ private get _dialog();
6
+ handleClick: () => void;
7
+ protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
8
+ render(): import('lit-html').TemplateResult<1>;
9
+ }
@@ -0,0 +1,25 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { DialogContent } from './dialog-content';
3
+ import { DialogClose } from './dialog-close';
4
+ import { DialogFooter } from './dialog-footer';
5
+ import { DialogHeader } from './dialog-header';
6
+ import { DialogOverlay } from './dialog-overly';
7
+
8
+ declare class Dialog extends LitElement {
9
+ static styles: import('lit').CSSResult[];
10
+ state: string;
11
+ private get _content();
12
+ protected updated(_changedProperties: PropertyValues): void;
13
+ render(): import('lit-html').TemplateResult<1>;
14
+ }
15
+ export { Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, };
16
+ declare global {
17
+ interface HTMLElementTagNameMap {
18
+ 'rtg-dialog': Dialog;
19
+ 'rtg-dialog-content': DialogContent;
20
+ 'rtg-dialog-close': DialogClose;
21
+ 'rtg-dialog-footer': DialogFooter;
22
+ 'rtg-dialog-header': DialogHeader;
23
+ 'rtg-dialog-overlay': DialogOverlay;
24
+ }
25
+ }
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/web-components';
2
+
3
+ declare const meta: Meta;
4
+ export default meta;
5
+ type Story = StoryObj;
6
+ export declare const ConfirmationDialog: Story;
7
+ export declare const ModalForm: Story;
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DropdownMenuCheckboxItem extends LitElement {
4
+ _id: string;
5
+ _hidden: string;
6
+ private static _counter;
7
+ static styles: import('lit').CSSResult[];
8
+ private get identifier();
9
+ get value(): string;
10
+ selected: boolean;
11
+ private handleMouseEvent;
12
+ checked: boolean;
13
+ disabled: boolean;
14
+ toggleChecked(): void;
15
+ render(): import('lit-html').TemplateResult<1>;
16
+ }
@@ -0,0 +1,14 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { DropdownMenu } from './dropdown-menu.atom';
3
+
4
+ export declare class DropdownMenuContent extends LitElement {
5
+ static styles: import('lit').CSSResult[];
6
+ state: string;
7
+ isOpen: boolean;
8
+ get _dropdownMenu(): DropdownMenu | null;
9
+ connectedCallback(): void;
10
+ disconnectedCallback(): void;
11
+ updated(changedProps: PropertyValues): void;
12
+ handleClickOutside(event: MouseEvent): void;
13
+ render(): import('lit-html').TemplateResult<1>;
14
+ }
@@ -0,0 +1,11 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DropdownMenuGroup extends LitElement {
4
+ heading: string;
5
+ _id: string;
6
+ _hidden: string;
7
+ private static _counter;
8
+ static styles: import('lit').CSSResult[];
9
+ private get identifier();
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
@@ -0,0 +1,13 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DropdownMenuItem extends LitElement {
4
+ _id: string;
5
+ _hidden: string;
6
+ private static _counter;
7
+ static styles: import('lit').CSSResult[];
8
+ private get identifier();
9
+ get value(): string;
10
+ selected: boolean;
11
+ private handleMouseEvent;
12
+ render(): import('lit-html').TemplateResult<1>;
13
+ }
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DropdownMenuRadioItem extends LitElement {
4
+ _id: string;
5
+ _hidden: string;
6
+ private static _counter;
7
+ static styles: import('lit').CSSResult[];
8
+ private get identifier();
9
+ get value(): string;
10
+ selected: boolean;
11
+ private handleMouseEvent;
12
+ checked: boolean;
13
+ disabled: boolean;
14
+ toggleChecked(): void;
15
+ render(): import('lit-html').TemplateResult<1>;
16
+ }
@@ -0,0 +1,10 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DropdownMenuSeparator extends LitElement {
4
+ _id: string;
5
+ _hidden: string;
6
+ private static _counter;
7
+ static styles: import('lit').CSSResult[];
8
+ private get identifier();
9
+ render(): import('lit-html').TemplateResult<1>;
10
+ }
@@ -0,0 +1,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class DropdownMenuShortcut extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }