revotech-ui-kit 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/dist/revotech-ui-kit.js +3313 -1122
  2. package/dist/revotech-ui-kit.umd.cjs +1031 -144
  3. package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -0
  4. package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -0
  5. package/dist/src/assets/icons/circle-check.icon.d.ts +1 -0
  6. package/dist/src/assets/icons/circle-x.icon.d.ts +1 -0
  7. package/dist/src/assets/icons/circle.icon.d.ts +1 -0
  8. package/dist/src/assets/icons/close.icon.d.ts +1 -0
  9. package/dist/src/assets/icons/dot.icon.d.ts +1 -0
  10. package/dist/src/assets/icons/help-circle.icon.d.ts +1 -0
  11. package/dist/src/assets/icons/index.d.ts +10 -0
  12. package/dist/src/assets/icons/radio-group.icon.d.ts +1 -0
  13. package/dist/src/assets/icons/radio.icon.d.ts +1 -0
  14. package/dist/src/components/atoms/accordion/accordion-content.d.ts +12 -0
  15. package/dist/src/components/atoms/accordion/accordion-item.d.ts +22 -0
  16. package/dist/src/components/atoms/accordion/accordion-trigger.d.ts +17 -0
  17. package/dist/src/components/atoms/accordion/accordion.atoms.d.ts +23 -0
  18. package/dist/src/components/atoms/accordion/accordion.defs.d.ts +10 -0
  19. package/dist/{components/atoms/button/button.stories.d.ts → src/components/atoms/accordion/accordion.stories.d.ts} +1 -1
  20. package/dist/{components/atoms/card/card-content.d.ts → src/components/atoms/avatar/avatar-fallback.d.ts} +1 -1
  21. package/dist/src/components/atoms/avatar/avatar-image.d.ts +8 -0
  22. package/dist/{components/atoms/card/card-title.d.ts → src/components/atoms/avatar/avatar.atom.d.ts} +1 -1
  23. package/dist/src/components/atoms/avatar/avatar.stories.d.ts +5 -0
  24. package/dist/src/components/atoms/avatar/avatar.style.d.ts +3 -0
  25. package/dist/src/components/atoms/button/button.atom.d.ts +2 -0
  26. package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +1 -1
  27. package/dist/src/components/atoms/collapsible/collapsible-content.d.ts +12 -0
  28. package/dist/src/components/atoms/collapsible/collapsible-trigger.d.ts +15 -0
  29. package/dist/src/components/atoms/collapsible/collapsible.atom.d.ts +17 -0
  30. package/dist/{components/atoms/badge/badge.stories.d.ts → src/components/atoms/collapsible/collapsible.stories.d.ts} +1 -1
  31. package/dist/{components/atoms/combo-box → src/components/atoms/combobox}/combo-box-input.d.ts +5 -0
  32. package/dist/src/components/atoms/{combo-box → combobox}/combo-box-item.d.ts +5 -0
  33. package/dist/{components/atoms/combo-box → src/components/atoms/combobox}/combo-box-list.d.ts +5 -0
  34. package/dist/src/components/atoms/{combo-box → combobox}/combo-box.atom.d.ts +3 -0
  35. package/dist/src/components/atoms/command/command-item.atom.d.ts +4 -3
  36. package/dist/src/components/atoms/command/command.stories.d.ts +3 -2
  37. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-checkbox-Item.d.ts → context-menu/context-menu-checkbox-Item.d.ts} +1 -1
  38. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-content.d.ts → context-menu/context-menu-content.d.ts} +3 -3
  39. package/dist/{components/atoms/command/command-group.atom.d.ts → src/components/atoms/context-menu/context-menu-group.d.ts} +1 -1
  40. package/dist/{components/atoms/command/command-item.atom.d.ts → src/components/atoms/context-menu/context-menu-item.d.ts} +1 -1
  41. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-radio-item.d.ts → context-menu/context-menu-radio-item.d.ts} +1 -1
  42. package/dist/{components/atoms/command/command-separator.atom.d.ts → src/components/atoms/context-menu/context-menu-seperator.d.ts} +1 -1
  43. package/dist/src/components/atoms/context-menu/context-menu-shortcut.d.ts +6 -0
  44. package/dist/src/components/atoms/context-menu/context-menu.atom.d.ts +34 -0
  45. package/dist/src/components/atoms/context-menu/contextMenu.stories.d.ts +5 -0
  46. package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu.atom.d.ts +1 -0
  47. package/dist/src/components/atoms/dropdown-menu/dropdownMenu.style.d.ts +2 -0
  48. package/dist/src/components/atoms/hoverCard/hover-card-content.d.ts +12 -0
  49. package/dist/src/components/atoms/hoverCard/hover-card.atom.d.ts +13 -0
  50. package/dist/src/components/atoms/hoverCard/hover-card.stories.d.ts +5 -0
  51. package/dist/src/components/atoms/index.d.ts +10 -2
  52. package/dist/src/components/atoms/input/input.styles.d.ts +1 -1
  53. package/dist/src/components/atoms/popover/popover-content.d.ts +2 -1
  54. package/dist/src/components/atoms/popover/popover-trigger.d.ts +2 -2
  55. package/dist/src/components/atoms/popover/popover.style.d.ts +4 -0
  56. package/dist/{components/atoms/checkbox/checkbox.atom.d.ts → src/components/atoms/radio-group/radio-group-item.d.ts} +5 -7
  57. package/dist/src/components/atoms/radio-group/radio-group.atom.d.ts +16 -0
  58. package/dist/src/components/atoms/radio-group/radio-group.stories.d.ts +5 -0
  59. package/dist/src/components/atoms/radio-group/radio-group.types.d.ts +2 -0
  60. package/dist/src/components/atoms/sample-demo/sample-demo.d.ts +21 -0
  61. package/dist/src/components/atoms/sample-demo/sample.style.d.ts +4 -0
  62. package/dist/src/components/atoms/sample-demo/sample.type.d.ts +3 -0
  63. package/dist/{components/atoms/combo-box/combo-box-item.d.ts → src/components/atoms/select/select-item.d.ts} +1 -1
  64. package/dist/{components/atoms/card/card-header.d.ts → src/components/atoms/select/select-label.d.ts} +1 -1
  65. package/dist/src/components/atoms/select/select-list.d.ts +8 -0
  66. package/dist/{components/atoms/command/command-empty.atom.d.ts → src/components/atoms/select/select-seperator.d.ts} +1 -1
  67. package/dist/{components/atoms/combo-box/combo-box.atom.d.ts → src/components/atoms/select/select.atom.d.ts} +12 -6
  68. package/dist/src/components/atoms/select/select.stories.d.ts +6 -0
  69. package/dist/src/components/atoms/seperator/separator.atom.d.ts +14 -0
  70. package/dist/src/components/atoms/seperator/separator.defs.d.ts +10 -0
  71. package/dist/{components/atoms/dialog/dialog.stories.d.ts → src/components/atoms/seperator/separator.stories.d.ts} +3 -2
  72. package/dist/src/components/atoms/switch/switch.atom.d.ts +14 -0
  73. package/dist/src/components/atoms/switch/switch.stories.d.ts +5 -0
  74. package/dist/src/components/atoms/switch/switch.type.d.ts +4 -0
  75. package/dist/src/components/atoms/toast/toast-action.d.ts +15 -0
  76. package/dist/{components/atoms/card/card-description.d.ts → src/components/atoms/toast/toast-description.d.ts} +1 -1
  77. package/dist/{components/atoms/card/card-footer.d.ts → src/components/atoms/toast/toast-title.d.ts} +1 -1
  78. package/dist/src/components/atoms/toast/toast-view-port.d.ts +13 -0
  79. package/dist/src/components/atoms/toast/toast.atom.d.ts +11 -0
  80. package/dist/src/components/atoms/toast/toast.stories.d.ts +6 -0
  81. package/dist/src/components/atoms/toast/toast.style.d.ts +9 -0
  82. package/dist/src/components/atoms/toast/toast.type.d.ts +1 -0
  83. package/dist/src/components/atoms/toggle/toggle.atom.d.ts +1 -1
  84. package/dist/{components/atoms/toggle/defs.d.ts → src/components/atoms/toggle/toggle.defs.d.ts} +5 -5
  85. package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +6 -0
  86. package/dist/src/components/molecules/index.d.ts +11 -7
  87. package/dist/src/components/molecules/input-otp/input-otp-group.d.ts +13 -0
  88. package/dist/src/components/molecules/input-otp/input-otp-separator.d.ts +13 -0
  89. package/dist/src/components/molecules/input-otp/input-otp-slot.d.ts +13 -0
  90. package/dist/src/components/molecules/input-otp/input-otp.molecule.d.ts +33 -0
  91. package/dist/src/components/molecules/tabs/tab-contents.d.ts +13 -0
  92. package/dist/src/components/molecules/tabs/tab-list.d.ts +15 -0
  93. package/dist/src/components/molecules/tabs/tab-trigger.d.ts +18 -0
  94. package/dist/src/components/molecules/tabs/tab.molecules.d.ts +15 -0
  95. package/dist/src/components/molecules/tabs/tab.stories.d.ts +15 -0
  96. package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +1 -1
  97. package/dist/src/components/molecules/toggle-group/{defs.d.ts → toggle-group.defs.d.ts} +7 -7
  98. package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +1 -1
  99. package/dist/src/index.d.ts +2 -2
  100. package/package.json +7 -11
  101. package/dist/assets/icons/arrows.icon.d.ts +0 -1
  102. package/dist/assets/icons/index.d.ts +0 -3
  103. package/dist/assets/icons/search.icon.d.ts +0 -1
  104. package/dist/assets/icons/tick.icon.d.ts +0 -1
  105. package/dist/components/atoms/alert/alert-description.d.ts +0 -6
  106. package/dist/components/atoms/alert/alert-title.d.ts +0 -6
  107. package/dist/components/atoms/alert/alert.atom.d.ts +0 -23
  108. package/dist/components/atoms/alert/alert.stories.d.ts +0 -6
  109. package/dist/components/atoms/alert/alert.styles.d.ts +0 -4
  110. package/dist/components/atoms/alert/alert.types.d.ts +0 -1
  111. package/dist/components/atoms/badge/badge.atom.d.ts +0 -17
  112. package/dist/components/atoms/badge/badge.style.d.ts +0 -3
  113. package/dist/components/atoms/badge/badge.type.d.ts +0 -1
  114. package/dist/components/atoms/button/button.atom.d.ts +0 -23
  115. package/dist/components/atoms/button/button.style.d.ts +0 -4
  116. package/dist/components/atoms/button/button.type.d.ts +0 -3
  117. package/dist/components/atoms/card/card.atom.d.ts +0 -22
  118. package/dist/components/atoms/card/card.stories.d.ts +0 -6
  119. package/dist/components/atoms/checkbox/checkbox.stories.d.ts +0 -7
  120. package/dist/components/atoms/checkbox/checkbox.style.d.ts +0 -2
  121. package/dist/components/atoms/checkbox/checkbox.type.d.ts +0 -21
  122. package/dist/components/atoms/combo-box/combo-box.stories.d.ts +0 -6
  123. package/dist/components/atoms/command/command-input.atom.d.ts +0 -11
  124. package/dist/components/atoms/command/command-list.atom.d.ts +0 -7
  125. package/dist/components/atoms/command/command.atom.d.ts +0 -7
  126. package/dist/components/atoms/command/command.stories.d.ts +0 -5
  127. package/dist/components/atoms/dialog/dialog-close.d.ts +0 -13
  128. package/dist/components/atoms/dialog/dialog-content.d.ts +0 -9
  129. package/dist/components/atoms/dialog/dialog-footer.d.ts +0 -6
  130. package/dist/components/atoms/dialog/dialog-header.d.ts +0 -8
  131. package/dist/components/atoms/dialog/dialog-overly.d.ts +0 -6
  132. package/dist/components/atoms/dialog/dialog-trigger.d.ts +0 -9
  133. package/dist/components/atoms/dialog/dialog.atom.d.ts +0 -25
  134. package/dist/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +0 -7
  135. package/dist/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +0 -2
  136. package/dist/components/atoms/index.d.ts +0 -19
  137. package/dist/components/atoms/input/input.atom.d.ts +0 -22
  138. package/dist/components/atoms/input/input.stories.d.ts +0 -6
  139. package/dist/components/atoms/input/input.styles.d.ts +0 -1
  140. package/dist/components/atoms/input/input.type.d.ts +0 -21
  141. package/dist/components/atoms/label/label.atom.d.ts +0 -17
  142. package/dist/components/atoms/label/label.stories.d.ts +0 -6
  143. package/dist/components/atoms/label/label.style.d.ts +0 -1
  144. package/dist/components/atoms/popover/popover-content.d.ts +0 -12
  145. package/dist/components/atoms/popover/popover-trigger.d.ts +0 -10
  146. package/dist/components/atoms/popover/popover.atom.d.ts +0 -19
  147. package/dist/components/atoms/popover/popover.stories.d.ts +0 -5
  148. package/dist/components/atoms/popover/popover.style.d.ts +0 -5
  149. package/dist/components/atoms/popover/popover.types.d.ts +0 -2
  150. package/dist/components/atoms/textarea/textarea.atom.d.ts +0 -17
  151. package/dist/components/atoms/textarea/textarea.stories.d.ts +0 -5
  152. package/dist/components/atoms/textarea/textarea.styles.d.ts +0 -1
  153. package/dist/components/atoms/textarea/textarea.type.d.ts +0 -11
  154. package/dist/components/atoms/toggle/toggle.atom.d.ts +0 -20
  155. package/dist/components/atoms/toggle/toggle.stories.d.ts +0 -6
  156. package/dist/components/atoms/toggle/toggle.style.d.ts +0 -4
  157. package/dist/components/index.d.ts +0 -2
  158. package/dist/components/molecules/breadCrumb/breadCrumb.stories.d.ts +0 -5
  159. package/dist/components/molecules/index.d.ts +0 -7
  160. package/dist/components/molecules/toggle-group/defs.d.ts +0 -37
  161. package/dist/components/molecules/toggle-group/toggle-group-item.d.ts +0 -18
  162. package/dist/components/molecules/toggle-group/toggle-group.molecules.d.ts +0 -19
  163. package/dist/components/molecules/toggle-group/toggle-group.stories.d.ts +0 -5
  164. package/dist/components/molecules/toggle-group/toggle-group.style.d.ts +0 -4
  165. package/dist/helpers/base-element.d.ts +0 -11
  166. package/dist/helpers/index.d.ts +0 -3
  167. package/dist/helpers/mouse-conroller.helper.d.ts +0 -15
  168. package/dist/helpers/style.helpers.d.ts +0 -3
  169. package/dist/index.d.ts +0 -3
  170. package/dist/interfaces/actionable.interface.d.ts +0 -6
  171. package/dist/interfaces/atomic.interface.d.ts +0 -6
  172. package/dist/interfaces/changeable.interface.d.ts +0 -8
  173. package/dist/interfaces/child-support-atomic.interface.d.ts +0 -5
  174. package/dist/interfaces/index.d.ts +0 -6
  175. package/dist/interfaces/intractable.interface.d.ts +0 -6
  176. package/dist/interfaces/variant.interface.d.ts +0 -3
  177. package/dist/lib/index.d.ts +0 -0
  178. package/dist/lib/next/next.lib.d.ts +0 -0
  179. package/dist/lib/react/react.lib.d.ts +0 -3
  180. package/dist/lib/tw-styles.d.ts +0 -1
  181. package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +0 -9
  182. package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +0 -10
  183. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +0 -11
  184. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +0 -13
  185. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +0 -10
  186. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +0 -6
  187. package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +0 -31
  188. package/dist/src/components/atoms/toggle/defs.d.ts +0 -27
  189. package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +0 -8
  190. package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +0 -5
  191. package/dist/src/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +0 -7
  192. package/dist/src/components/molecules/breadCrumb/breadcrumb-item.d.ts +0 -7
  193. package/dist/src/components/molecules/breadCrumb/breadcrumb-list.d.ts +0 -7
  194. package/dist/src/components/molecules/breadCrumb/breadcrumb-separator.d.ts +0 -7
  195. package/dist/src/components/molecules/breadCrumb/breadcrumb-text.d.ts +0 -7
  196. package/dist/src/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +0 -7
  197. package/dist/src/components/molecules/breadCrumb/breadcrumb.styles.d.ts +0 -6
  198. package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
  199. package/dist/styles/index.d.ts +0 -1
  200. package/dist/styles/tw.styles.d.ts +0 -1
  201. package/dist/wc-ui-app.d.ts +0 -7
  202. /package/dist/{components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts → src/components/atoms/accordion/accordion.styles.d.ts} +0 -0
  203. /package/dist/src/components/atoms/{combo-box → combobox}/combo-box.stories.d.ts +0 -0
  204. /package/dist/src/components/atoms/{dropdownMenu/dropdownMenu.style.d.ts → context-menu/contextMenu.style.d.ts} +0 -0
  205. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-checkbox-Item.d.ts +0 -0
  206. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-content.d.ts +0 -0
  207. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-group.d.ts +0 -0
  208. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-item.d.ts +0 -0
  209. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-radio-item.d.ts +0 -0
  210. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-seperator.d.ts +0 -0
  211. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-shortcut.d.ts +0 -0
  212. /package/dist/src/components/atoms/{dropdownMenu → dropdown-menu}/dropdownMenu.stories.d.ts +0 -0
  213. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-ellipsis.d.ts +0 -0
  214. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-item.d.ts +0 -0
  215. /package/dist/{components/molecules/breadCrumb/Breadcrumb-link.d.ts → src/components/molecules/breadcrumb/breadcrumb-link.d.ts} +0 -0
  216. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-list.d.ts +0 -0
  217. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-separator.d.ts +0 -0
  218. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-text.d.ts +0 -0
  219. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb.molecules.d.ts +0 -0
  220. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb.styles.d.ts +0 -0
@@ -0,0 +1 @@
1
+ export declare function arrowUpCircleIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function chorvenDownIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function circleCheckIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function circleXIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function circleIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function closeIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function dotIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function helpCircleIcon(): import('lit-html').TemplateResult<2>;
@@ -1,3 +1,13 @@
1
1
  export * from './arrows.icon';
2
2
  export * from './tick.icon';
3
3
  export * from './search.icon';
4
+ export * from './help-circle.icon';
5
+ export * from './circle.icon';
6
+ export * from './arrow-up-circle.icon';
7
+ export * from './circle-check.icon';
8
+ export * from './circle-x.icon';
9
+ export * from './radio.icon';
10
+ export * from './chorven-down.icon';
11
+ export * from './radio-group.icon';
12
+ export * from './close.icon';
13
+ export * from './dot.icon';
@@ -0,0 +1 @@
1
+ export declare function radioGroupIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1 @@
1
+ export declare function radioIcon(): import('lit-html').TemplateResult<2>;
@@ -0,0 +1,12 @@
1
+ import { LitElement, PropertyValues } from 'lit-element';
2
+ import { Accordion } from './accordion.atoms';
3
+
4
+ declare class AccordionContent extends LitElement {
5
+ value: string;
6
+ selectedValue: string;
7
+ static styles: import('lit-element').CSSResult[];
8
+ get _accordion(): Accordion | null;
9
+ protected updated(_changedProperties: PropertyValues): void;
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
12
+ export { AccordionContent };
@@ -0,0 +1,22 @@
1
+ import { PropertyValues } from 'lit-element';
2
+ import { BaseElement } from '../../../helpers';
3
+ import { Accordion } from './accordion.atoms';
4
+
5
+ declare class AccordionItem extends BaseElement {
6
+ value: string;
7
+ tabindex: number;
8
+ static styles: import('lit-element').CSSResult[];
9
+ protected getAttributesToExclude(): string[];
10
+ connectedCallback(): void;
11
+ protected firstUpdated(_changedProperties: PropertyValues): void;
12
+ disconnectedCallback(): void;
13
+ get _accordion(): Accordion | null;
14
+ handleClick: (event: MouseEvent) => void;
15
+ render(): import('lit-html').TemplateResult<1>;
16
+ }
17
+ export { AccordionItem };
18
+ declare global {
19
+ interface HTMLElementTagNameMap {
20
+ 'rtg-accordion-item': AccordionItem;
21
+ }
22
+ }
@@ -0,0 +1,17 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ declare class AccordionTrigger extends BaseElement {
4
+ defaultValue: string;
5
+ value: string;
6
+ onClickCallback?: (tabValue: string) => void;
7
+ static styles: import('lit-element').CSSResult[];
8
+ connectedCallback(): void;
9
+ protected getAttributesToExclude(): string[];
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
12
+ export { AccordionTrigger };
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-accordion-trigger': AccordionTrigger;
16
+ }
17
+ }
@@ -0,0 +1,23 @@
1
+ import { BaseElement } from '../../../helpers';
2
+ import { AccordionItem } from './accordion-item';
3
+ import { AccordionTrigger } from './accordion-trigger';
4
+ import { AccordionContent } from './accordion-content';
5
+ import { ACCORDION_GROUP_TYPE } from './accordion.defs';
6
+
7
+ declare class Accordion extends BaseElement {
8
+ static styles: import('lit').CSSResult[];
9
+ type: ACCORDION_GROUP_TYPE;
10
+ selectedItems: string[];
11
+ protected getAttributesToExclude(): string[];
12
+ connectedCallback(): void;
13
+ disconnectedCallback(): void;
14
+ setSelectedItems(item: string): void;
15
+ raiseEvent(value: string): void;
16
+ render(): import('lit-html').TemplateResult<1>;
17
+ }
18
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
19
+ declare global {
20
+ interface HTMLElementTagNameMap {
21
+ 'rtg-accordion': Accordion;
22
+ }
23
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum ACCORDION_GROUP_TYPE {
2
+ /**
3
+ * @multiple Type
4
+ */
5
+ MULTIPLE = "multiple",
6
+ /**
7
+ * @single Type
8
+ */
9
+ SINGLE = "single"
10
+ }
@@ -3,4 +3,4 @@ import { Meta, StoryObj } from '@storybook/web-components';
3
3
  declare const meta: Meta;
4
4
  export default meta;
5
5
  type Story = StoryObj;
6
- export declare const Buttons: Story;
6
+ export declare const DefaultAccordion: Story;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CardContent extends LitElement {
3
+ export declare class AvatarFallback extends LitElement {
4
4
  static styles: import('lit').CSSResult[];
5
5
  render(): import('lit-html').TemplateResult<1>;
6
6
  }
@@ -0,0 +1,8 @@
1
+ import { LitElement } from 'lit';
2
+
3
+ export declare class AvatarImage extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ alt: string;
6
+ src: string;
7
+ render(): import('lit-html').TemplateResult<1>;
8
+ }
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CardTitle extends LitElement {
3
+ export declare class Avatar extends LitElement {
4
4
  static styles: import('lit').CSSResult[];
5
5
  render(): import('lit-html').TemplateResult<1>;
6
6
  }
@@ -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 Avatar: StoryFn;
@@ -0,0 +1,3 @@
1
+ export declare const avatarStyles = "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full";
2
+ export declare const avatarImageStyles = "aspect-square h-full w-full";
3
+ export declare const avatarFallbackStyles = "flex h-full w-full items-center justify-center rounded-full bg-muted";
@@ -11,6 +11,8 @@ export declare class Button extends BaseElement {
11
11
  type: buttonType.ButtonType;
12
12
  variant: buttonType.ButtonVariant;
13
13
  size: buttonType.ButtonSize;
14
+ externalClass: string;
15
+ isCustomClass: boolean;
14
16
  static styles: import('lit').CSSResult[];
15
17
  private handleClick;
16
18
  protected getAttributesToExclude(): string[];
@@ -2,6 +2,6 @@ import { Meta, StoryFn } from '@storybook/web-components';
2
2
 
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
- export declare const CheckboxWithReuired: StoryFn;
5
+ export declare const CheckboxWithRequired: StoryFn;
6
6
  export declare const Checkbox: StoryFn;
7
7
  export declare const CheckboxWithValue: StoryFn;
@@ -0,0 +1,12 @@
1
+ import { BaseElement } from '../../../helpers';
2
+
3
+ export declare class CollapsibleContent extends BaseElement {
4
+ static styles: import('lit').CSSResult[];
5
+ protected getAttributesToExclude(): string[];
6
+ render(): import('lit-html').TemplateResult<1>;
7
+ }
8
+ declare global {
9
+ interface HTMLElementTagNameMap {
10
+ 'rtg-collapsible-content': CollapsibleContent;
11
+ }
12
+ }
@@ -0,0 +1,15 @@
1
+ import { BaseElement } from '../../../helpers';
2
+ import { Collapsible } from './collapsible.atom';
3
+
4
+ export declare class CollapsibleTrigger extends BaseElement {
5
+ static styles: import('lit').CSSResult[];
6
+ protected getAttributesToExclude(): string[];
7
+ get _collapsible(): Collapsible | null;
8
+ onTrigger(): void;
9
+ render(): import('lit-html').TemplateResult<1>;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'rtg-collapsible-trigger': CollapsibleTrigger;
14
+ }
15
+ }
@@ -0,0 +1,17 @@
1
+ import { BaseElement } from '../../../helpers';
2
+ import { CollapsibleTrigger } from './collapsible-trigger';
3
+ import { CollapsibleContent } from './collapsible-content';
4
+
5
+ declare class Collapsible extends BaseElement {
6
+ static styles: import('lit').CSSResult[];
7
+ open: boolean;
8
+ onOpenChange: () => void;
9
+ protected getAttributesToExclude(): string[];
10
+ render(): import('lit-html').TemplateResult<1>;
11
+ }
12
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'rtg-collapsible': Collapsible;
16
+ }
17
+ }
@@ -3,4 +3,4 @@ import { Meta, StoryObj } from '@storybook/web-components';
3
3
  declare const meta: Meta;
4
4
  export default meta;
5
5
  type Story = StoryObj;
6
- export declare const Badge: Story;
6
+ export declare const DefaultCollapsible: Story;
@@ -7,3 +7,8 @@ export declare class ComboBoxInput extends LitElement {
7
7
  static styles: import('lit').CSSResult[];
8
8
  render(): import('lit-html').TemplateResult<1>;
9
9
  }
10
+ declare global {
11
+ interface HTMLElementTagNameMap {
12
+ 'rtg-combo-box-input': ComboBoxInput;
13
+ }
14
+ }
@@ -11,3 +11,8 @@ export declare class ComboBoxItem extends LitElement {
11
11
  static styles: import('lit').CSSResult[];
12
12
  render(): import('lit-html').TemplateResult<1>;
13
13
  }
14
+ declare global {
15
+ interface HTMLElementTagNameMap {
16
+ 'rtg-combo-box-item': ComboBoxItem;
17
+ }
18
+ }
@@ -8,3 +8,8 @@ export declare class ComboBoxList extends LitElement {
8
8
  get _popover(): ComboBox | null;
9
9
  render(): import('lit-html').TemplateResult<1>;
10
10
  }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'rtg-combo-box-list': ComboBoxList;
14
+ }
15
+ }
@@ -16,6 +16,9 @@ declare class ComboBox extends LitElement {
16
16
  handleSearch(event: Event): void;
17
17
  handleKeyDown(event: KeyboardEvent): void;
18
18
  handleMouseOver(event: Event, index: number): void;
19
+ connectedCallback(): void;
20
+ disconnectedCallback(): void;
21
+ handleClickOutside(e: MouseEvent): void;
19
22
  updateFocus(): void;
20
23
  render(): import('lit-html').TemplateResult<1>;
21
24
  }
@@ -1,13 +1,14 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
3
  export declare class CommandItem extends LitElement {
4
- _id: string;
5
- _hidden: string;
6
4
  private static _counter;
7
5
  static styles: import('lit').CSSResult[];
6
+ selected: boolean;
7
+ _id: string;
8
+ _hidden: string;
9
+ onSelect: () => void;
8
10
  private get identifier();
9
11
  get value(): string;
10
- selected: boolean;
11
12
  private handleMouseEvent;
12
13
  render(): import('lit-html').TemplateResult<1>;
13
14
  }
@@ -1,5 +1,6 @@
1
- import { Meta } from '@storybook/web-components';
1
+ import { Meta, StoryFn } from '@storybook/web-components';
2
2
 
3
3
  declare const _default: Meta;
4
4
  export default _default;
5
- export declare const Command: () => import('lit-html').TemplateResult<1>;
5
+ export declare const Command: StoryFn;
6
+ export declare const CommandWithPopover: StoryFn;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class DropdownMenuCheckboxItem extends LitElement {
3
+ export declare class ContextMenuCheckboxItem extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -1,11 +1,11 @@
1
1
  import { LitElement, PropertyValues } from 'lit';
2
- import { DropdownMenu } from './dropdown-menu.atom';
2
+ import { ContextMenu } from './context-menu.atom';
3
3
 
4
- export declare class DropdownMenuContent extends LitElement {
4
+ export declare class ContextMenuContent extends LitElement {
5
5
  static styles: import('lit').CSSResult[];
6
6
  state: string;
7
7
  isOpen: boolean;
8
- get _dropdownMenu(): DropdownMenu | null;
8
+ get _contextMenu(): ContextMenu | null;
9
9
  connectedCallback(): void;
10
10
  disconnectedCallback(): void;
11
11
  updated(changedProps: PropertyValues): void;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CommandGroup extends LitElement {
3
+ export declare class ContextMenuGroup extends LitElement {
4
4
  heading: string;
5
5
  _id: string;
6
6
  _hidden: string;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CommandItem extends LitElement {
3
+ export declare class ContextMenuItem extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class DropdownMenuRadioItem extends LitElement {
3
+ export declare class ContextMenuRadioItem extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
- export declare class CommandSeparator extends LitElement {
3
+ export declare class ContextMenuSeparator extends LitElement {
4
4
  _id: string;
5
5
  _hidden: string;
6
6
  private static _counter;
@@ -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;
@@ -15,6 +15,7 @@ declare class DropdownMenu extends LitElement {
15
15
  handleClickOutside: (e: MouseEvent) => void;
16
16
  private get _content();
17
17
  protected updated(_changedProperties: PropertyValues): void;
18
+ private _handleRadioSelected;
18
19
  render(): import('lit-html').TemplateResult<1>;
19
20
  }
20
21
  export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, };
@@ -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,12 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+
3
+ export declare class HoverContent extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ state: string;
6
+ isOpen: boolean;
7
+ connectedCallback(): void;
8
+ disconnectedCallback(): void;
9
+ updated(changedProps: PropertyValues): void;
10
+ handleHoverEnter(event: MouseEvent): void;
11
+ render(): import('lit-html').TemplateResult<1>;
12
+ }
@@ -0,0 +1,13 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+
3
+ export declare class HoverCard extends LitElement {
4
+ static styles: import('lit').CSSResult[];
5
+ isOpen: boolean;
6
+ handleMouseEnter(): void;
7
+ handleMouseLeave(): void;
8
+ private get _content();
9
+ protected updated(_changedProperties: PropertyValues): void;
10
+ connectedCallback(): void;
11
+ disconnectedCallback(): void;
12
+ render(): import('lit-html').TemplateResult<1>;
13
+ }
@@ -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 HoverCard: StoryFn;
@@ -14,6 +14,14 @@ export * from './card/card.atom';
14
14
  export * from './popover/popover.atom';
15
15
  export * from './alert/alert.atom';
16
16
  export * from './badge/badge.atom';
17
- export * from './combo-box/combo-box.atom';
18
- export * from './dropdownMenu/dropdown-menu.atom';
17
+ export * from './combobox/combo-box.atom';
18
+ export * from './dropdown-menu/dropdown-menu.atom';
19
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';
27
+ export * from './collapsible/collapsible.atom';
@@ -1 +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";
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";
@@ -3,8 +3,9 @@ import { Popover } from './popover.atom';
3
3
 
4
4
  export declare class PopoverContent extends LitElement {
5
5
  static styles: import('lit').CSSResult[];
6
- get _popover(): Popover | null;
6
+ enableDefaultStyle: boolean;
7
7
  side: 'bottom' | 'left' | 'right' | 'top';
8
+ get _popover(): Popover | null;
8
9
  private handleClickOutside;
9
10
  protected firstUpdated(_changedProperties: PropertyValues): void;
10
11
  protected updated(_changedProperties: PropertyValues): void;
@@ -3,8 +3,8 @@ import { Popover } from './popover.atom';
3
3
 
4
4
  export declare class PopoverTrigger extends LitElement {
5
5
  static styles: import('lit').CSSResult[];
6
- handleClick: () => void;
7
- protected firstUpdated(_changedProperties: PropertyValues): void;
8
6
  get _popover(): Popover | null;
7
+ protected firstUpdated(_changedProperties: PropertyValues): void;
8
+ handleClick: () => void;
9
9
  render(): import('lit-html').TemplateResult<1>;
10
10
  }
@@ -3,3 +3,7 @@ export declare const popoverContentStyle: (props?: ({
3
3
  state?: "open" | "closed" | null | undefined;
4
4
  side?: "bottom" | "left" | "right" | "top" | null | undefined;
5
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;
@@ -1,19 +1,17 @@
1
1
  import { LitElement } from 'lit';
2
- import { CheckboxProperties } from './checkbox.type';
3
2
 
4
- export declare class Checkbox extends LitElement implements CheckboxProperties {
5
- disabled: boolean;
3
+ export declare class RadioGroupItem extends LitElement {
6
4
  checked: boolean;
7
- type: string;
5
+ tabindex: number;
8
6
  value: string;
9
- required: boolean;
7
+ id: string;
8
+ state: string;
10
9
  static styles: import('lit').CSSResult[];
11
10
  private _onClick;
12
- click(): void;
13
11
  render(): import('lit-html').TemplateResult<1>;
14
12
  }
15
13
  declare global {
16
14
  interface HTMLElementTagNameMap {
17
- 'rtg-checkbox': Checkbox;
15
+ 'rtg-radio-group-item': RadioGroupItem;
18
16
  }
19
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
+ }