revotech-ui-kit 0.0.12 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (214) 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 -1
  119. package/dist/src/assets/icons/search.icon.d.ts +1 -1
  120. package/dist/src/assets/icons/tick.icon.d.ts +1 -1
  121. package/dist/src/components/atoms/alert/alert-description.d.ts +3 -2
  122. package/dist/src/components/atoms/alert/alert-title.d.ts +3 -2
  123. package/dist/src/components/atoms/alert/alert.atom.d.ts +4 -3
  124. package/dist/src/components/atoms/alert/alert.stories.d.ts +1 -1
  125. package/dist/src/components/atoms/alert/alert.styles.d.ts +1 -1
  126. package/dist/src/components/atoms/badge/badge.atom.d.ts +4 -3
  127. package/dist/src/components/atoms/badge/badge.stories.d.ts +2 -2
  128. package/dist/src/components/atoms/badge/badge.style.d.ts +1 -1
  129. package/dist/src/components/atoms/button/button.atom.d.ts +4 -3
  130. package/dist/src/components/atoms/button/button.stories.d.ts +2 -2
  131. package/dist/src/components/atoms/button/button.style.d.ts +1 -1
  132. package/dist/src/components/atoms/card/card-content.d.ts +3 -2
  133. package/dist/src/components/atoms/card/card-description.d.ts +3 -2
  134. package/dist/src/components/atoms/card/card-footer.d.ts +3 -2
  135. package/dist/src/components/atoms/card/card-header.d.ts +3 -2
  136. package/dist/src/components/atoms/card/card-title.d.ts +3 -2
  137. package/dist/src/components/atoms/card/card.atom.d.ts +3 -2
  138. package/dist/src/components/atoms/card/card.stories.d.ts +2 -2
  139. package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +3 -2
  140. package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +2 -3
  141. package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +3 -2
  142. package/dist/src/components/atoms/combo-box/combo-box-item.d.ts +3 -2
  143. package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +3 -2
  144. package/dist/src/components/atoms/combo-box/combo-box.atom.d.ts +3 -4
  145. package/dist/src/components/atoms/combo-box/combo-box.stories.d.ts +2 -4
  146. package/dist/src/components/atoms/command/command-empty.atom.d.ts +3 -2
  147. package/dist/src/components/atoms/command/command-group.atom.d.ts +3 -2
  148. package/dist/src/components/atoms/command/command-input.atom.d.ts +3 -2
  149. package/dist/src/components/atoms/command/command-item.atom.d.ts +3 -2
  150. package/dist/src/components/atoms/command/command-list.atom.d.ts +3 -2
  151. package/dist/src/components/atoms/command/command-separator.atom.d.ts +3 -2
  152. package/dist/src/components/atoms/command/command.atom.d.ts +3 -2
  153. package/dist/src/components/atoms/command/command.stories.d.ts +2 -8
  154. package/dist/src/components/atoms/dialog/dialog-close.d.ts +3 -2
  155. package/dist/src/components/atoms/dialog/dialog-content.d.ts +3 -2
  156. package/dist/src/components/atoms/dialog/dialog-footer.d.ts +3 -2
  157. package/dist/src/components/atoms/dialog/dialog-header.d.ts +3 -2
  158. package/dist/src/components/atoms/dialog/dialog-overly.d.ts +3 -2
  159. package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +3 -2
  160. package/dist/src/components/atoms/dialog/dialog.atom.d.ts +3 -2
  161. package/dist/src/components/atoms/dialog/dialog.stories.d.ts +1 -10
  162. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.d.ts +3 -2
  163. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.d.ts +3 -2
  164. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +3 -2
  165. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +3 -2
  166. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.d.ts +3 -2
  167. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +3 -2
  168. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +3 -2
  169. package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +3 -2
  170. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +1 -10
  171. package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +2 -2
  172. package/dist/src/components/atoms/input/input.atom.d.ts +4 -3
  173. package/dist/src/components/atoms/input/input.stories.d.ts +1 -3
  174. package/dist/src/components/atoms/label/label.atom.d.ts +4 -3
  175. package/dist/src/components/atoms/label/label.stories.d.ts +1 -1
  176. package/dist/src/components/atoms/label/label.style.d.ts +1 -1
  177. package/dist/src/components/atoms/popover/popover-content.d.ts +3 -2
  178. package/dist/src/components/atoms/popover/popover-trigger.d.ts +3 -2
  179. package/dist/src/components/atoms/popover/popover.atom.d.ts +3 -2
  180. package/dist/src/components/atoms/popover/popover.stories.d.ts +1 -6
  181. package/dist/src/components/atoms/popover/popover.style.d.ts +2 -2
  182. package/dist/src/components/atoms/textarea/textarea.atom.d.ts +3 -2
  183. package/dist/src/components/atoms/textarea/textarea.stories.d.ts +1 -3
  184. package/dist/src/components/atoms/toggle/toggle.atom.d.ts +4 -3
  185. package/dist/src/components/atoms/toggle/toggle.stories.d.ts +2 -1
  186. package/dist/src/components/atoms/toggle/toggle.style.d.ts +1 -1
  187. package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +3 -2
  188. package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +2 -13
  189. package/dist/src/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +3 -2
  190. package/dist/src/components/molecules/breadCrumb/breadcrumb-item.d.ts +3 -2
  191. package/dist/src/components/molecules/breadCrumb/breadcrumb-list.d.ts +3 -2
  192. package/dist/src/components/molecules/breadCrumb/breadcrumb-separator.d.ts +3 -2
  193. package/dist/src/components/molecules/breadCrumb/breadcrumb-text.d.ts +3 -2
  194. package/dist/src/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +3 -2
  195. package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +4 -3
  196. package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +3 -3
  197. package/dist/src/components/molecules/toggle-group/toggle-group.stories.d.ts +2 -2
  198. package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +1 -1
  199. package/dist/src/helpers/base-element.d.ts +1 -0
  200. package/dist/src/helpers/mouse-conroller.helper.d.ts +1 -0
  201. package/dist/src/helpers/style.helpers.d.ts +2 -1
  202. package/dist/src/index.d.ts +1 -0
  203. package/dist/src/interfaces/actionable.interface.d.ts +2 -1
  204. package/dist/src/interfaces/changeable.interface.d.ts +2 -1
  205. package/dist/src/interfaces/child-support-atomic.interface.d.ts +1 -0
  206. package/dist/src/lib/react/react.lib.d.ts +4 -4
  207. package/dist/src/lib/tw-styles.d.ts +1 -1
  208. package/dist/src/styles/tw.styles.d.ts +1 -1
  209. package/dist/src/wc-ui-app.d.ts +3 -2
  210. package/dist/styles/index.d.ts +1 -0
  211. package/dist/styles/tw.styles.d.ts +1 -0
  212. package/dist/wc-ui-app.d.ts +7 -0
  213. package/package.json +4 -4
  214. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,31 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { DropdownMenuContent } from './dropdown-menu-content';
3
+ import { DropdownMenuItem } from './dropdown-menu-item';
4
+ import { DropdownMenuRadioItem } from './dropdown-menu-radio-item';
5
+ import { DropdownMenuSeparator } from './dropdown-menu-seperator';
6
+ import { DropdownMenuCheckboxItem } from './dropdown-menu-checkbox-Item';
7
+ import { DropdownMenuGroup } from './dropdown-menu-group';
8
+
9
+ declare class DropdownMenu extends LitElement {
10
+ static styles: import('lit').CSSResult[];
11
+ isOpen: boolean;
12
+ connectedCallback(): void;
13
+ disconnectedCallback(): void;
14
+ toggleDropdown(e: MouseEvent): void;
15
+ handleClickOutside: (e: MouseEvent) => void;
16
+ private get _content();
17
+ protected updated(_changedProperties: PropertyValues): void;
18
+ render(): import('lit-html').TemplateResult<1>;
19
+ }
20
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, };
21
+ declare global {
22
+ interface HTMLElementTagNameMap {
23
+ 'rtg-dropdown-menu': DropdownMenu;
24
+ 'rtg-dropdown-menu-checkbox-item': DropdownMenuCheckboxItem;
25
+ 'rtg-dropdown-menu-group': DropdownMenuGroup;
26
+ 'rtg-dropdown-menu-content': DropdownMenuContent;
27
+ 'rtg-dropdown-menu-item': DropdownMenuItem;
28
+ 'rtg-dropdown-menu-radio-item': DropdownMenuRadioItem;
29
+ 'rtg-dropdown-menu-separator': DropdownMenuSeparator;
30
+ }
31
+ }
@@ -0,0 +1,7 @@
1
+ import { Meta } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const DropdownMenu: any;
6
+ export declare const DropdownMenuCheckbox: any;
7
+ export declare const DropdownMenuRadio: any;
@@ -0,0 +1,2 @@
1
+ export declare const dropdownMenuRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp) => string;
2
+ export declare const dropdownMenuContentStyle: (props?: import('class-variance-authority/dist/types').ClassProp) => string;
@@ -0,0 +1,19 @@
1
+ export * from './button/button.atom';
2
+ export * from './checkbox/checkbox.atom';
3
+ export * from './dialog/dialog.atom';
4
+ export * from './input/input.atom';
5
+ export * from './label/label.atom';
6
+ export * from './command/command.atom';
7
+ export * from './command/command-empty.atom';
8
+ export * from './command/command-group.atom';
9
+ export * from './command/command-input.atom';
10
+ export * from './command/command-item.atom';
11
+ export * from './command/command-list.atom';
12
+ export * from './command/command-separator.atom';
13
+ export * from './card/card.atom';
14
+ export * from './popover/popover.atom';
15
+ export * from './alert/alert.atom';
16
+ export * from './badge/badge.atom';
17
+ export * from './combo-box/combo-box.atom';
18
+ export * from './dropdownMenu/dropdown-menu.atom';
19
+ export * from './toggle/toggle.atom';
@@ -0,0 +1,22 @@
1
+ import { PropertyValues } from 'lit';
2
+ import { BaseElement } from '../../../helpers';
3
+
4
+ import * as inputType from './input.type';
5
+ export declare class Input extends BaseElement {
6
+ constructor();
7
+ disabled: boolean;
8
+ type: inputType.InputType;
9
+ placeholder: string;
10
+ defaultValue: string;
11
+ value: string;
12
+ static styles: import('lit').CSSResult[];
13
+ protected firstUpdated(_changedProperties: PropertyValues): void;
14
+ handleInputChange(event: Event): void;
15
+ protected getAttributesToExclude(): string[];
16
+ render(): import('lit-html').TemplateResult<1>;
17
+ }
18
+ declare global {
19
+ interface HTMLElementTagNameMap {
20
+ 'rtg-input': Input;
21
+ }
22
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Input: any;
6
+ export declare const SpecificInput: any;
@@ -0,0 +1 @@
1
+ export declare const inputStyles = "flex h-8 w-full rounded-sm border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 input-base";
@@ -0,0 +1,21 @@
1
+ export type InputType = 'hidden' | 'text' | 'search' | 'tel' | 'url' | 'email' | 'password' | 'date' | 'month' | 'week' | 'time' | 'datetime-local' | 'number' | 'range' | 'color' | 'file';
2
+ export type InputNormalType = 'hidden' | 'text' | 'search' | 'tel' | 'url' | 'email' | 'password';
3
+ export type InputSpecificType = 'hidden' | 'date' | 'month' | 'week' | 'time' | 'datetime-local' | 'number' | 'range' | 'color' | 'file';
4
+ export type InputArgs = {
5
+ disabled: boolean;
6
+ disabledButton: boolean;
7
+ type: InputType;
8
+ placeholder: string;
9
+ label: string;
10
+ defaultValue: string;
11
+ ButtonLabel: string;
12
+ id: string;
13
+ };
14
+ export type InputSpecificArgs = {
15
+ disabled: boolean;
16
+ disabledButton: boolean;
17
+ type: InputSpecificType;
18
+ label: string;
19
+ ButtonLabel: string;
20
+ id: string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { PropertyValues } from 'lit';
2
+ import { BaseElement } from '../../../helpers';
3
+
4
+ export declare class Label extends BaseElement {
5
+ static labelVariants: (props?: import('class-variance-authority/dist/types').ClassProp) => string;
6
+ for: string;
7
+ static styles: import('lit').CSSResult[];
8
+ protected firstUpdated(_changedProperties: PropertyValues): void;
9
+ private _onClick;
10
+ protected getAttributesToExclude(): string[];
11
+ render(): import('lit-html').TemplateResult<1>;
12
+ }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-label': Label;
16
+ }
17
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Default: any;
6
+ export declare const HtmlFor: any;
@@ -0,0 +1 @@
1
+ export declare const labelStyle: (props?: import('class-variance-authority/dist/types').ClassProp) => string;
@@ -0,0 +1,12 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { Popover } from './popover.atom';
3
+
4
+ export declare class PopoverContent extends LitElement {
5
+ static styles: import('lit').CSSResult[];
6
+ get _popover(): Popover | null;
7
+ side: 'bottom' | 'left' | 'right' | 'top';
8
+ private handleClickOutside;
9
+ protected firstUpdated(_changedProperties: PropertyValues): void;
10
+ protected updated(_changedProperties: PropertyValues): void;
11
+ render(): import('lit-html').TemplateResult<1>;
12
+ }
@@ -0,0 +1,10 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { Popover } from './popover.atom';
3
+
4
+ export declare class PopoverTrigger extends LitElement {
5
+ static styles: import('lit').CSSResult[];
6
+ handleClick: () => void;
7
+ protected firstUpdated(_changedProperties: PropertyValues): void;
8
+ get _popover(): Popover | null;
9
+ render(): import('lit-html').TemplateResult<1>;
10
+ }
@@ -0,0 +1,19 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { PopoverContent } from './popover-content';
3
+ import { PopoverTrigger } from './popover-trigger';
4
+
5
+ declare class Popover extends LitElement {
6
+ static styles: import('lit').CSSResult[];
7
+ isOpen: boolean;
8
+ protected firstUpdated(_changedProperties: PropertyValues): void;
9
+ protected updated(_changedProperties: PropertyValues): void;
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
12
+ export { Popover, PopoverContent, PopoverTrigger };
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-popover': Popover;
16
+ 'rtg-popover-content': PopoverContent;
17
+ 'rtg-popover-trigger': PopoverTrigger;
18
+ }
19
+ }
@@ -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 Default: any;
@@ -0,0 +1,5 @@
1
+ export declare const popoverRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp) => string;
2
+ export declare const popoverContentStyle: (props?: {
3
+ state?: "open" | "closed";
4
+ side?: "bottom" | "left" | "right" | "top";
5
+ } & import('class-variance-authority/dist/types').ClassProp) => string;
@@ -0,0 +1,2 @@
1
+ export declare const STATE_OPEN = "open";
2
+ export declare const STATE_CLOSED = "closed";
@@ -0,0 +1,17 @@
1
+ import { PropertyValues } from 'lit';
2
+ import { BaseElement } from '../../../helpers';
3
+
4
+ export declare class TextArea extends BaseElement {
5
+ constructor();
6
+ disabled: boolean;
7
+ placeholder: string;
8
+ defaultValue: string;
9
+ rows: string;
10
+ cols: string;
11
+ value: string;
12
+ static styles: import('lit').CSSResult[];
13
+ protected firstUpdated(_changedProperties: PropertyValues): void;
14
+ handleInputChange(event: Event): void;
15
+ protected getAttributesToExclude(): string[];
16
+ render(): import('lit-html').TemplateResult<1>;
17
+ }
@@ -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 TextArea: any;
@@ -0,0 +1 @@
1
+ export declare const textAreaStyles = "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50";
@@ -0,0 +1,11 @@
1
+ export type TextAreaArgs = {
2
+ disabled: boolean;
3
+ disabledButton: boolean;
4
+ placeholder: string;
5
+ label: string;
6
+ defaultValue: string;
7
+ ButtonLabel: string;
8
+ id: string;
9
+ rows: string;
10
+ cols: string;
11
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Toggle size.
3
+ */
4
+ export declare enum TOGGLE_SIZE {
5
+ /**
6
+ * Small size
7
+ */
8
+ SMALL = "sm",
9
+ /**
10
+ * medium size
11
+ */
12
+ MEDIUM = "md",
13
+ /**
14
+ * Large size
15
+ */
16
+ LARGE = "lg"
17
+ }
18
+ export declare enum TOGGLE_VARIANT {
19
+ /**
20
+ * Default variant
21
+ */
22
+ DEFAULT = "default",
23
+ /**
24
+ * Outline variant
25
+ */
26
+ OUTLINE = "outline"
27
+ }
@@ -0,0 +1,20 @@
1
+ import { TOGGLE_SIZE, TOGGLE_VARIANT } from './defs';
2
+ import { BaseElement } from '../../../helpers';
3
+
4
+ export { TOGGLE_SIZE, TOGGLE_VARIANT };
5
+ declare class Toggle extends BaseElement {
6
+ disabled: boolean;
7
+ checked: boolean;
8
+ required: boolean;
9
+ variant: TOGGLE_VARIANT;
10
+ size: TOGGLE_SIZE;
11
+ static styles: import('lit-element').CSSResult[];
12
+ static toggleVariants: (props?: {
13
+ variant?: "default" | "outline";
14
+ size?: "sm" | "lg" | "md";
15
+ } & import('class-variance-authority/dist/types').ClassProp) => string;
16
+ protected getAttributesToExclude(): string[];
17
+ toggle(): void;
18
+ render(): import('lit-html').TemplateResult<1>;
19
+ }
20
+ export { Toggle };
@@ -0,0 +1,6 @@
1
+ import { Meta } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const toggle: any;
6
+ export declare const requiredToggleTemplate: any;
@@ -0,0 +1,4 @@
1
+ export declare const toggleStyle: (props?: {
2
+ variant?: "default" | "outline";
3
+ size?: "sm" | "lg" | "md";
4
+ } & import('class-variance-authority/dist/types').ClassProp) => string;
@@ -0,0 +1,2 @@
1
+ export * from './atoms';
2
+ export * from './molecules';
@@ -0,0 +1,8 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ export declare class BreadCrumbLink extends BaseElement {
4
+ href: string;
5
+ static styles: import('lit').CSSResult[];
6
+ protected getAttributesToExclude(): string[];
7
+ render(): import('lit-html').TemplateResult<1>;
8
+ }
@@ -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 BreadCrumb: () => import('lit-html').TemplateResult<1>;
@@ -0,0 +1,7 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ export declare class BreadCrumbEllipsis extends BaseElement {
4
+ static styles: import('lit').CSSResult[];
5
+ protected getAttributesToExclude(): string[];
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ export declare class BreadCrumbItem extends BaseElement {
4
+ static styles: import('lit').CSSResult[];
5
+ protected getAttributesToExclude(): string[];
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ export declare class BreadCrumbList extends BaseElement {
4
+ static styles: import('lit').CSSResult[];
5
+ protected getAttributesToExclude(): string[];
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ export declare class BreadCrumbSeparator extends BaseElement {
4
+ static styles: import('lit').CSSResult[];
5
+ protected getAttributesToExclude(): string[];
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ export declare class BreadCrumbText extends BaseElement {
4
+ static styles: import('lit').CSSResult[];
5
+ protected getAttributesToExclude(): string[];
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ export declare class BreadCrumb extends BaseElement {
4
+ static styles: import('lit').CSSResult[];
5
+ protected getAttributesToExclude(): string[];
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
@@ -0,0 +1,6 @@
1
+ export declare const breadcrumbItemStyles = "inline-flex items-center gap-1.5";
2
+ export declare const breadcrumbLink = "transition-colors hover:text-foreground";
3
+ export declare const breadcrumbTextStyles = "font-normal text-foreground";
4
+ export declare const breadcrumbSeparatorStyles = "[&>svg]:size-3.5";
5
+ export declare const breadcrumbEllipsisStyles = "flex h-9 w-9 items-center justify-center";
6
+ export declare const breadcrumbListStyles = "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";
@@ -0,0 +1,7 @@
1
+ export * from './breadCrumb/Breadcrumb-link';
2
+ export * from './breadCrumb/breadcrumb-ellipsis';
3
+ export * from './breadCrumb/breadcrumb-item';
4
+ export * from './breadCrumb/breadcrumb-list';
5
+ export * from './breadCrumb/breadcrumb-separator';
6
+ export * from './breadCrumb/breadcrumb.molecules';
7
+ export * from './breadCrumb/breadcrumb-text';
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Toggle Group Type.
3
+ */
4
+ export declare enum TOGGLE_GROUP_TYPE {
5
+ /**
6
+ * multiple Type
7
+ */
8
+ MULTIPLE = "multiple",
9
+ /**
10
+ * medium size
11
+ */
12
+ SINGLE = "single"
13
+ }
14
+ export declare enum TOGGLE_GROUP_VARIANT {
15
+ /**
16
+ * Default variant
17
+ */
18
+ DEFAULT = "default",
19
+ /**
20
+ * Outline variant
21
+ */
22
+ OUTLINE = "outline"
23
+ }
24
+ export declare enum TOGGLE_GROUP_SIZE {
25
+ /**
26
+ * Small size
27
+ */
28
+ SMALL = "sm",
29
+ /**
30
+ * medium size
31
+ */
32
+ MEDIUM = "md",
33
+ /**
34
+ * Large size
35
+ */
36
+ LARGE = "lg"
37
+ }
@@ -0,0 +1,18 @@
1
+ import { LitElement } from 'lit-element';
2
+ import { TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './defs';
3
+
4
+ declare class ToggleGroupItem extends LitElement {
5
+ checked: boolean;
6
+ id: string;
7
+ variant: TOGGLE_GROUP_VARIANT;
8
+ size: TOGGLE_GROUP_SIZE;
9
+ disabled: boolean;
10
+ static styles: import('lit-element').CSSResult[];
11
+ static toggleGroupVariants: (props?: {
12
+ variant?: "default" | "outline";
13
+ size?: "sm" | "lg" | "md";
14
+ } & import('class-variance-authority/dist/types').ClassProp) => string;
15
+ protected getAttributesToExclude(): string[];
16
+ render(): import('lit-html').TemplateResult<1>;
17
+ }
18
+ export { ToggleGroupItem };
@@ -0,0 +1,19 @@
1
+ import { BaseElement } from '../../../helpers';
2
+ import { TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './defs';
3
+
4
+ declare class ToggleGroup extends BaseElement {
5
+ disabled: boolean;
6
+ type: TOGGLE_GROUP_TYPE;
7
+ required: boolean;
8
+ variant: TOGGLE_GROUP_VARIANT;
9
+ size: TOGGLE_GROUP_SIZE;
10
+ static styles: import('lit-element').CSSResult[];
11
+ protected getAttributesToExclude(): string[];
12
+ private selectedItems;
13
+ private childrenArray;
14
+ toggleSelection(itemId: string): void;
15
+ connectedCallback(): void;
16
+ firstUpdated(changedProperties: Map<string, unknown>): void;
17
+ render(): import('lit-html').TemplateResult<1>;
18
+ }
19
+ export { ToggleGroup, TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE, };
@@ -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 toggle: any;
@@ -0,0 +1,4 @@
1
+ export declare const toggleGroupStyle: (props?: {
2
+ variant?: "default" | "outline";
3
+ size?: "sm" | "lg" | "md";
4
+ } & import('class-variance-authority/dist/types').ClassProp) => string;
@@ -0,0 +1,11 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare abstract class BaseElement extends LitElement {
4
+ constructor();
5
+ protected abstract getAttributesToExclude(): string[];
6
+ protected getFilteredAttributes(): {
7
+ [key: string]: string;
8
+ };
9
+ protected isCustomPropertySet(property: string): boolean;
10
+ protected applyCustomClass(variables: string[], selector: string, className?: string): void;
11
+ }
@@ -0,0 +1,3 @@
1
+ export * from './mouse-conroller.helper';
2
+ export * from './style.helpers';
3
+ export * from './base-element';
@@ -0,0 +1,15 @@
1
+ import { ReactiveControllerHost } from 'lit';
2
+
3
+ export declare class MouseController {
4
+ private host;
5
+ pos: {
6
+ x: number;
7
+ y: number;
8
+ };
9
+ _onMouseMove: ({ clientX, clientY }: MouseEvent) => void;
10
+ _onClick: (e: MouseEvent) => void;
11
+ _onScroll: (e: Event) => void;
12
+ constructor(host: ReactiveControllerHost);
13
+ hostConnected(): void;
14
+ hostDisconnected(): void;
15
+ }
@@ -0,0 +1,3 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,3 @@
1
+ import { Alert, AlertDescription, AlertTitle, Button, Badge, Input, Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, Checkbox, ComboBox, Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, Popover, PopoverContent, PopoverTrigger, Toggle } from './components';
2
+
3
+ export { Alert, AlertDescription, AlertTitle, Button, Badge, Input, Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, Checkbox, ComboBox, Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, Popover, PopoverContent, PopoverTrigger, Toggle, };
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+
3
+ export type ActionableProps = Partial<{
4
+ onClick: (event?: React.MouseEvent<HTMLElement, MouseEvent>) => void;
5
+ onSubmit: (event?: React.FormEvent<HTMLFormElement>) => void;
6
+ }>;
@@ -0,0 +1,6 @@
1
+ export type AtomicProps = Partial<{
2
+ id: string;
3
+ className: string;
4
+ name: string;
5
+ title: string;
6
+ }>;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { IntractableProps } from './intractable.interface';
3
+
4
+ export type ChangeableProps<T = React.ChangeEvent<HTMLInputElement> | string | number, K = unknown> = Partial<IntractableProps & {
5
+ onChange: (event?: T, value?: K) => void;
6
+ onBlur: (event?: T) => void;
7
+ onPaste: (event?: T) => void;
8
+ }>;
@@ -0,0 +1,5 @@
1
+ import { AtomicProps } from './atomic.interface';
2
+
3
+ export type AtomicComponentWithChildren = {
4
+ children: React.ReactNode;
5
+ } & AtomicProps;
@@ -0,0 +1,6 @@
1
+ export * from './actionable.interface';
2
+ export * from './atomic.interface';
3
+ export * from './child-support-atomic.interface';
4
+ export * from './changeable.interface';
5
+ export * from './intractable.interface';
6
+ export * from './variant.interface';
@@ -0,0 +1,6 @@
1
+ export type IntractableProps<T = string> = Partial<{
2
+ isDisabled: boolean;
3
+ isChecked: boolean;
4
+ isReadOnly: boolean;
5
+ type: T;
6
+ }>;
@@ -0,0 +1,3 @@
1
+ export type VariantProps<T> = Partial<{
2
+ variant: T;
3
+ }>;
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ declare const ButtonReact: import('@lit-labs/react').ReactWebComponent<HTMLElement, {}>;
2
+ declare const CheckboxReact: import('@lit-labs/react').ReactWebComponent<HTMLElement, {}>;
3
+ export { ButtonReact, CheckboxReact };
@@ -0,0 +1 @@
1
+ export declare const TWStyles: import('lit').CSSResult;