revotech-ui-kit 0.0.14 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. package/dist/revotech-ui-kit.js +8756 -0
  2. package/dist/revotech-ui-kit.umd.cjs +3578 -0
  3. package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -0
  4. package/dist/src/assets/icons/arrows.icon.d.ts +1 -0
  5. package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -0
  6. package/dist/src/assets/icons/circle-check.icon.d.ts +1 -0
  7. package/dist/src/assets/icons/circle-x.icon.d.ts +1 -0
  8. package/dist/src/assets/icons/circle.icon.d.ts +1 -0
  9. package/dist/src/assets/icons/help-circle.icon.d.ts +1 -0
  10. package/dist/src/assets/icons/index.d.ts +11 -0
  11. package/dist/src/assets/icons/radio-group.icon.d.ts +1 -0
  12. package/dist/src/assets/icons/radio.icon.d.ts +1 -0
  13. package/dist/src/assets/icons/search.icon.d.ts +1 -0
  14. package/dist/src/assets/icons/tick.icon.d.ts +1 -0
  15. package/dist/src/components/atoms/accordion/accordion-content.d.ts +12 -0
  16. package/dist/src/components/atoms/accordion/accordion-item.d.ts +22 -0
  17. package/dist/src/components/atoms/accordion/accordion-trigger.d.ts +17 -0
  18. package/dist/src/components/atoms/accordion/accordion.atoms.d.ts +23 -0
  19. package/dist/src/components/atoms/accordion/accordion.defs.d.ts +10 -0
  20. package/dist/src/components/atoms/accordion/accordion.stories.d.ts +6 -0
  21. package/dist/src/components/atoms/accordion/accordion.styles.d.ts +0 -0
  22. package/dist/src/components/atoms/alert/alert-description.d.ts +6 -0
  23. package/dist/src/components/atoms/alert/alert-title.d.ts +6 -0
  24. package/dist/src/components/atoms/alert/alert.atom.d.ts +23 -0
  25. package/dist/src/components/atoms/alert/alert.stories.d.ts +6 -0
  26. package/dist/src/components/atoms/alert/alert.styles.d.ts +4 -0
  27. package/dist/src/components/atoms/alert/alert.types.d.ts +1 -0
  28. package/dist/src/components/atoms/badge/badge.atom.d.ts +17 -0
  29. package/dist/src/components/atoms/badge/badge.stories.d.ts +6 -0
  30. package/dist/src/components/atoms/badge/badge.style.d.ts +3 -0
  31. package/dist/src/components/atoms/badge/badge.type.d.ts +1 -0
  32. package/dist/src/components/atoms/button/button.atom.d.ts +25 -0
  33. package/dist/src/components/atoms/button/button.stories.d.ts +6 -0
  34. package/dist/src/components/atoms/button/button.style.d.ts +4 -0
  35. package/dist/src/components/atoms/button/button.type.d.ts +3 -0
  36. package/dist/src/components/atoms/card/card-content.d.ts +6 -0
  37. package/dist/src/components/atoms/card/card-description.d.ts +6 -0
  38. package/dist/src/components/atoms/card/card-footer.d.ts +6 -0
  39. package/dist/src/components/atoms/card/card-header.d.ts +6 -0
  40. package/dist/src/components/atoms/card/card-title.d.ts +6 -0
  41. package/dist/src/components/atoms/card/card.atom.d.ts +22 -0
  42. package/dist/src/components/atoms/card/card.stories.d.ts +6 -0
  43. package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +19 -0
  44. package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +7 -0
  45. package/dist/src/components/atoms/checkbox/checkbox.style.d.ts +2 -0
  46. package/dist/src/components/atoms/checkbox/checkbox.type.d.ts +21 -0
  47. package/dist/src/components/atoms/combobox/combo-box-input.d.ts +14 -0
  48. package/dist/src/components/atoms/combobox/combo-box-item.d.ts +18 -0
  49. package/dist/src/components/atoms/combobox/combo-box-list.d.ts +15 -0
  50. package/dist/src/components/atoms/combobox/combo-box.atom.d.ts +30 -0
  51. package/dist/src/components/atoms/combobox/combo-box.stories.d.ts +6 -0
  52. package/dist/src/components/atoms/command/command-empty.atom.d.ts +10 -0
  53. package/dist/src/components/atoms/command/command-group.atom.d.ts +11 -0
  54. package/dist/src/components/atoms/command/command-input.atom.d.ts +11 -0
  55. package/dist/src/components/atoms/command/command-item.atom.d.ts +14 -0
  56. package/dist/src/components/atoms/command/command-list.atom.d.ts +7 -0
  57. package/dist/src/components/atoms/command/command-separator.atom.d.ts +10 -0
  58. package/dist/src/components/atoms/command/command.atom.d.ts +7 -0
  59. package/dist/src/components/atoms/command/command.stories.d.ts +6 -0
  60. package/dist/src/components/atoms/context-menu/context-menu-checkbox-Item.d.ts +16 -0
  61. package/dist/src/components/atoms/context-menu/context-menu-content.d.ts +14 -0
  62. package/dist/src/components/atoms/context-menu/context-menu-group.d.ts +11 -0
  63. package/dist/src/components/atoms/context-menu/context-menu-item.d.ts +13 -0
  64. package/dist/src/components/atoms/context-menu/context-menu-radio-item.d.ts +16 -0
  65. package/dist/src/components/atoms/context-menu/context-menu-seperator.d.ts +10 -0
  66. package/dist/src/components/atoms/context-menu/context-menu-shortcut.d.ts +6 -0
  67. package/dist/src/components/atoms/context-menu/context-menu.atom.d.ts +34 -0
  68. package/dist/src/components/atoms/context-menu/contextMenu.stories.d.ts +5 -0
  69. package/dist/src/components/atoms/context-menu/contextMenu.style.d.ts +2 -0
  70. package/dist/src/components/atoms/dialog/dialog-close.d.ts +13 -0
  71. package/dist/src/components/atoms/dialog/dialog-content.d.ts +9 -0
  72. package/dist/src/components/atoms/dialog/dialog-footer.d.ts +6 -0
  73. package/dist/src/components/atoms/dialog/dialog-header.d.ts +8 -0
  74. package/dist/src/components/atoms/dialog/dialog-overly.d.ts +6 -0
  75. package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +9 -0
  76. package/dist/src/components/atoms/dialog/dialog.atom.d.ts +25 -0
  77. package/dist/src/components/atoms/dialog/dialog.stories.d.ts +7 -0
  78. package/dist/src/components/atoms/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +16 -0
  79. package/dist/src/components/atoms/dropdown-menu/dropdown-menu-content.d.ts +14 -0
  80. package/dist/src/components/atoms/dropdown-menu/dropdown-menu-group.d.ts +11 -0
  81. package/dist/src/components/atoms/dropdown-menu/dropdown-menu-item.d.ts +13 -0
  82. package/dist/src/components/atoms/dropdown-menu/dropdown-menu-radio-item.d.ts +16 -0
  83. package/dist/src/components/atoms/dropdown-menu/dropdown-menu-seperator.d.ts +10 -0
  84. package/dist/src/components/atoms/dropdown-menu/dropdown-menu-shortcut.d.ts +6 -0
  85. package/dist/src/components/atoms/dropdown-menu/dropdown-menu.atom.d.ts +32 -0
  86. package/dist/src/components/atoms/dropdown-menu/dropdownMenu.stories.d.ts +7 -0
  87. package/dist/src/components/atoms/dropdown-menu/dropdownMenu.style.d.ts +2 -0
  88. package/dist/src/components/atoms/index.d.ts +26 -0
  89. package/dist/src/components/atoms/input/input.atom.d.ts +22 -0
  90. package/dist/src/components/atoms/input/input.stories.d.ts +6 -0
  91. package/dist/src/components/atoms/input/input.styles.d.ts +1 -0
  92. package/dist/src/components/atoms/input/input.type.d.ts +21 -0
  93. package/dist/src/components/atoms/label/label.atom.d.ts +17 -0
  94. package/dist/src/components/atoms/label/label.stories.d.ts +6 -0
  95. package/dist/src/components/atoms/label/label.style.d.ts +1 -0
  96. package/dist/src/components/atoms/popover/popover-content.d.ts +13 -0
  97. package/dist/src/components/atoms/popover/popover-trigger.d.ts +10 -0
  98. package/dist/src/components/atoms/popover/popover.atom.d.ts +19 -0
  99. package/dist/src/components/atoms/popover/popover.stories.d.ts +5 -0
  100. package/dist/src/components/atoms/popover/popover.style.d.ts +9 -0
  101. package/dist/src/components/atoms/popover/popover.types.d.ts +2 -0
  102. package/dist/src/components/atoms/radio-group/radio-group-item.d.ts +17 -0
  103. package/dist/src/components/atoms/radio-group/radio-group.atom.d.ts +16 -0
  104. package/dist/src/components/atoms/radio-group/radio-group.stories.d.ts +5 -0
  105. package/dist/src/components/atoms/radio-group/radio-group.types.d.ts +2 -0
  106. package/dist/src/components/atoms/sample-demo/sample-demo.d.ts +21 -0
  107. package/dist/src/components/atoms/sample-demo/sample.style.d.ts +4 -0
  108. package/dist/src/components/atoms/sample-demo/sample.type.d.ts +3 -0
  109. package/dist/src/components/atoms/select/select-item.d.ts +13 -0
  110. package/dist/src/components/atoms/select/select-label.d.ts +6 -0
  111. package/dist/src/components/atoms/select/select-list.d.ts +8 -0
  112. package/dist/src/components/atoms/select/select-seperator.d.ts +10 -0
  113. package/dist/src/components/atoms/select/select.atom.d.ts +33 -0
  114. package/dist/src/components/atoms/select/select.stories.d.ts +6 -0
  115. package/dist/src/components/atoms/seperator/separator.atom.d.ts +14 -0
  116. package/dist/src/components/atoms/seperator/separator.defs.d.ts +10 -0
  117. package/dist/src/components/atoms/seperator/separator.stories.d.ts +8 -0
  118. package/dist/src/components/atoms/switch/switch.atom.d.ts +14 -0
  119. package/dist/src/components/atoms/switch/switch.stories.d.ts +5 -0
  120. package/dist/src/components/atoms/switch/switch.type.d.ts +4 -0
  121. package/dist/src/components/atoms/textarea/textarea.atom.d.ts +17 -0
  122. package/dist/src/components/atoms/textarea/textarea.stories.d.ts +5 -0
  123. package/dist/src/components/atoms/textarea/textarea.styles.d.ts +1 -0
  124. package/dist/src/components/atoms/textarea/textarea.type.d.ts +11 -0
  125. package/dist/src/components/atoms/toggle/toggle.atom.d.ts +20 -0
  126. package/dist/src/components/atoms/toggle/toggle.defs.d.ts +27 -0
  127. package/dist/src/components/atoms/toggle/toggle.stories.d.ts +6 -0
  128. package/dist/src/components/atoms/toggle/toggle.style.d.ts +4 -0
  129. package/dist/src/components/index.d.ts +2 -0
  130. package/dist/src/components/molecules/breadcrumb/breadcrumb-ellipsis.d.ts +7 -0
  131. package/dist/src/components/molecules/breadcrumb/breadcrumb-item.d.ts +7 -0
  132. package/dist/src/components/molecules/breadcrumb/breadcrumb-link.d.ts +8 -0
  133. package/dist/src/components/molecules/breadcrumb/breadcrumb-list.d.ts +7 -0
  134. package/dist/src/components/molecules/breadcrumb/breadcrumb-separator.d.ts +7 -0
  135. package/dist/src/components/molecules/breadcrumb/breadcrumb-text.d.ts +7 -0
  136. package/dist/src/components/molecules/breadcrumb/breadcrumb.molecules.d.ts +7 -0
  137. package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +6 -0
  138. package/dist/src/components/molecules/breadcrumb/breadcrumb.styles.d.ts +6 -0
  139. package/dist/src/components/molecules/index.d.ts +7 -0
  140. package/dist/src/components/molecules/tabs/tab-contents.d.ts +13 -0
  141. package/dist/src/components/molecules/tabs/tab-list.d.ts +15 -0
  142. package/dist/src/components/molecules/tabs/tab-trigger.d.ts +18 -0
  143. package/dist/src/components/molecules/tabs/tab.molecules.d.ts +15 -0
  144. package/dist/src/components/molecules/tabs/tab.stories.d.ts +15 -0
  145. package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +18 -0
  146. package/dist/src/components/molecules/toggle-group/toggle-group.defs.d.ts +37 -0
  147. package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +19 -0
  148. package/dist/src/components/molecules/toggle-group/toggle-group.stories.d.ts +5 -0
  149. package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +4 -0
  150. package/dist/src/helpers/base-element.d.ts +11 -0
  151. package/dist/src/helpers/index.d.ts +3 -0
  152. package/dist/src/helpers/mouse-conroller.helper.d.ts +15 -0
  153. package/dist/src/helpers/style.helpers.d.ts +3 -0
  154. package/dist/src/index.d.ts +3 -0
  155. package/dist/src/interfaces/actionable.interface.d.ts +6 -0
  156. package/dist/src/interfaces/atomic.interface.d.ts +6 -0
  157. package/dist/src/interfaces/changeable.interface.d.ts +8 -0
  158. package/dist/src/interfaces/child-support-atomic.interface.d.ts +5 -0
  159. package/dist/src/interfaces/index.d.ts +6 -0
  160. package/dist/src/interfaces/intractable.interface.d.ts +6 -0
  161. package/dist/src/interfaces/variant.interface.d.ts +3 -0
  162. package/dist/src/lib/index.d.ts +0 -0
  163. package/dist/src/lib/next/next.lib.d.ts +0 -0
  164. package/dist/src/lib/react/react.lib.d.ts +5 -0
  165. package/dist/src/lib/tw-styles.d.ts +1 -0
  166. package/dist/src/styles/index.d.ts +1 -0
  167. package/dist/src/styles/tw.styles.d.ts +1 -0
  168. package/dist/src/wc-ui-app.d.ts +7 -0
  169. package/package.json +16 -26
  170. package/dist/index.ts +0 -1
  171. package/dist/rollup-plugin-html-noop.js +0 -1
  172. package/dist/sw.js +0 -2
  173. package/dist/sw.js.map +0 -1
  174. package/dist/tsconfig.tsbuildinfo +0 -1
  175. package/dist/workbox-a523fd56.js +0 -2
  176. package/dist/workbox-a523fd56.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class ContextMenuGroup 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 ContextMenuItem 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 ContextMenuRadioItem 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 ContextMenuSeparator 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 ContextMenuShortcut extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }
@@ -0,0 +1,34 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { ContextMenuContent } from './context-menu-content';
3
+ import { ContextMenuCheckboxItem } from './context-menu-checkbox-Item';
4
+ import { ContextMenuGroup } from './context-menu-group';
5
+ import { ContextMenuItem } from './context-menu-item';
6
+ import { ContextMenuRadioItem } from './context-menu-radio-item';
7
+ import { ContextMenuSeparator } from './context-menu-seperator';
8
+ import { ContextMenuShortcut } from './context-menu-shortcut';
9
+
10
+ declare class ContextMenu extends LitElement {
11
+ static styles: import('lit').CSSResult[];
12
+ isOpen: boolean;
13
+ connectedCallback(): void;
14
+ disconnectedCallback(): void;
15
+ toggleDropdown(e: MouseEvent): void;
16
+ handleClickOutside: (e: MouseEvent) => void;
17
+ private get _content();
18
+ protected updated(_changedProperties: PropertyValues): void;
19
+ private _handleRadioSelected;
20
+ render(): import('lit-html').TemplateResult<1>;
21
+ }
22
+ export { ContextMenu, ContextMenuContent, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, };
23
+ declare global {
24
+ interface HTMLElementTagNameMap {
25
+ 'rtg-context-menu': ContextMenu;
26
+ 'rtg-context-menu-checkbox-item': ContextMenuCheckboxItem;
27
+ 'rtg-context-menu-group': ContextMenuGroup;
28
+ 'rtg-context-menu-content': ContextMenuContent;
29
+ 'rtg-context-menu-item': ContextMenuItem;
30
+ 'rtg-context-menu-radio-item': ContextMenuRadioItem;
31
+ 'rtg-context-menu-separator': ContextMenuSeparator;
32
+ 'rtg-context-menu-shortcut': ContextMenuShortcut;
33
+ }
34
+ }
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const ContextMenu: StoryFn;
@@ -0,0 +1,2 @@
1
+ export declare const dropdownMenuRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
2
+ export declare const dropdownMenuContentStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
@@ -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
+ }
@@ -0,0 +1,32 @@
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
+ private _handleRadioSelected;
19
+ render(): import('lit-html').TemplateResult<1>;
20
+ }
21
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, };
22
+ declare global {
23
+ interface HTMLElementTagNameMap {
24
+ 'rtg-dropdown-menu': DropdownMenu;
25
+ 'rtg-dropdown-menu-checkbox-item': DropdownMenuCheckboxItem;
26
+ 'rtg-dropdown-menu-group': DropdownMenuGroup;
27
+ 'rtg-dropdown-menu-content': DropdownMenuContent;
28
+ 'rtg-dropdown-menu-item': DropdownMenuItem;
29
+ 'rtg-dropdown-menu-radio-item': DropdownMenuRadioItem;
30
+ 'rtg-dropdown-menu-separator': DropdownMenuSeparator;
31
+ }
32
+ }
@@ -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 DropdownMenu: StoryFn;
6
+ export declare const DropdownMenuCheckbox: StoryFn;
7
+ export declare const DropdownMenuRadio: StoryFn;
@@ -0,0 +1,2 @@
1
+ export declare const dropdownMenuRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
2
+ export declare const dropdownMenuContentStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
@@ -0,0 +1,26 @@
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 './combobox/combo-box.atom';
18
+ export * from './dropdown-menu/dropdown-menu.atom';
19
+ export * from './toggle/toggle.atom';
20
+ export * from './context-menu/context-menu.atom';
21
+ export * from './select/select.atom';
22
+ export * from './switch/switch.atom';
23
+ export * from './radio-group/radio-group.atom';
24
+ export * from './accordion/accordion.atoms';
25
+ export * from './seperator/separator.atom';
26
+ export * from './sample-demo/sample-demo';
@@ -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, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Input: StoryFn;
6
+ export declare const SpecificInput: StoryFn;
@@ -0,0 +1 @@
1
+ export declare const inputStyles = "flex h-8 w-full rounded-md 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 | undefined) => 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, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Default: StoryFn;
6
+ export declare const HtmlFor: StoryFn;
@@ -0,0 +1 @@
1
+ export declare const labelStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
@@ -0,0 +1,13 @@
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
+ enableDefaultStyle: boolean;
7
+ side: 'bottom' | 'left' | 'right' | 'top';
8
+ get _popover(): Popover | null;
9
+ private handleClickOutside;
10
+ protected firstUpdated(_changedProperties: PropertyValues): void;
11
+ protected updated(_changedProperties: PropertyValues): void;
12
+ render(): import('lit-html').TemplateResult<1>;
13
+ }
@@ -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
+ get _popover(): Popover | null;
7
+ protected firstUpdated(_changedProperties: PropertyValues): void;
8
+ handleClick: () => void;
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, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Default: StoryFn;
@@ -0,0 +1,9 @@
1
+ export declare const popoverRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
2
+ export declare const popoverContentStyle: (props?: ({
3
+ state?: "open" | "closed" | null | undefined;
4
+ side?: "bottom" | "left" | "right" | "top" | null | undefined;
5
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
6
+ export declare const popoverContentWithoutStyle: (props?: ({
7
+ state?: "open" | "closed" | null | undefined;
8
+ side?: "bottom" | "left" | "right" | "top" | null | undefined;
9
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => 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 { LitElement } from 'lit';
2
+
3
+ export declare class RadioGroupItem extends LitElement {
4
+ checked: boolean;
5
+ tabindex: number;
6
+ value: string;
7
+ id: string;
8
+ state: string;
9
+ static styles: import('lit').CSSResult[];
10
+ private _onClick;
11
+ render(): import('lit-html').TemplateResult<1>;
12
+ }
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-radio-group-item': RadioGroupItem;
16
+ }
17
+ }
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+ import { RadioGroupItem } from './radio-group-item';
3
+
4
+ declare class RadioGroup extends LitElement {
5
+ static styles: import('lit').CSSResult[];
6
+ connectedCallback(): void;
7
+ private _handleRadioSelected;
8
+ render(): import('lit-html').TemplateResult<1>;
9
+ }
10
+ export { RadioGroupItem, RadioGroup };
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'rtg-radio-group': RadioGroup;
14
+ 'rtg-radio-group-item': RadioGroupItem;
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
+
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const RadioGroup: StoryFn;
@@ -0,0 +1,2 @@
1
+ export declare const STATE_CHECK = "checked";
2
+ export declare const STATE_UNCHECK = "unChecked";
@@ -0,0 +1,21 @@
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" | "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
+ isCustomClass: boolean;
12
+ variant: sampleType.SampleVariant;
13
+ size: sampleType.SampleSize;
14
+ static styles: import('lit').CSSResult[];
15
+ render(): import('lit-html').TemplateResult<1>;
16
+ }
17
+ declare global {
18
+ interface HTMLElementTagNameMap {
19
+ 'rtg-sample-demo': SampleDemo;
20
+ }
21
+ }
@@ -0,0 +1,4 @@
1
+ export declare const demoStyle: (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 SampleVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
2
+ export type SampleSize = 'default' | 'sm' | 'lg' | 'icon';
3
+ export type SampleType = 'button' | 'submit' | 'reset' | 'menu';
@@ -0,0 +1,13 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class SelectItem 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,6 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class SelectLabel extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ render(): import('lit-html').TemplateResult<1>;
6
+ }