@revotech-group/revotech-ui-kit 0.1.43 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/library.css +4298 -1171
  2. package/dist/rtg-ui-kit.js +7682 -5984
  3. package/dist/rtg-ui-kit.umd.cjs +1098 -1077
  4. package/dist/src/components/ui/accordion/accordion-content.d.ts +1 -1
  5. package/dist/src/components/ui/accordion/accordion-trigger.d.ts +1 -1
  6. package/dist/src/components/ui/accordion/accordion.d.ts +4 -4
  7. package/dist/src/components/ui/accordion/accordion.styles.d.ts +4 -0
  8. package/dist/src/components/ui/alert/alert.d.ts +5 -5
  9. package/dist/src/components/ui/alert/alert.stories.d.ts +1 -1
  10. package/dist/src/components/ui/alert/alert.styles.d.ts +9 -3
  11. package/dist/src/components/ui/alert/alert.types.d.ts +1 -1
  12. package/dist/src/components/ui/alert/helpers.d.ts +10 -0
  13. package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +5 -2
  14. package/dist/src/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +4 -1
  15. package/dist/src/components/ui/avatar/avatar-fallback.d.ts +1 -1
  16. package/dist/src/components/ui/avatar/avatar-image.d.ts +1 -1
  17. package/dist/src/components/ui/avatar/avatar.d.ts +1 -1
  18. package/dist/src/components/ui/avatar/avatar.style.d.ts +4 -3
  19. package/dist/src/components/ui/badge/badge.d.ts +1 -1
  20. package/dist/src/components/ui/badge/badge.stories.d.ts +1 -0
  21. package/dist/src/components/ui/badge/badge.style.d.ts +1 -1
  22. package/dist/src/components/ui/badge/badge.type.d.ts +1 -1
  23. package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +1 -1
  24. package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +1 -1
  25. package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +1 -1
  26. package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +1 -1
  27. package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +2 -2
  28. package/dist/src/components/ui/breadcrumb/breadcrumb.styles.d.ts +4 -6
  29. package/dist/src/components/ui/button/button.d.ts +2 -2
  30. package/dist/src/components/ui/button/button.style.d.ts +2 -2
  31. package/dist/src/components/ui/button/button.type.d.ts +1 -1
  32. package/dist/src/components/ui/calendar/calendar.d.ts +9 -13
  33. package/dist/src/components/ui/calendar/calendar.helpers.d.ts +3 -0
  34. package/dist/src/components/ui/calendar/calendar.style.d.ts +40 -4
  35. package/dist/src/components/ui/card/card.d.ts +6 -6
  36. package/dist/src/components/ui/card/card.styles.d.ts +4 -1
  37. package/dist/src/components/ui/carousel/carousel.styles.d.ts +32 -0
  38. package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +3 -1
  39. package/dist/src/components/ui/checkbox/checkbox.style.d.ts +4 -2
  40. package/dist/src/components/ui/combobox/combo-box.styles.d.ts +14 -5
  41. package/dist/src/components/ui/command/command-empty.atom.d.ts +1 -1
  42. package/dist/src/components/ui/command/command-group.atom.d.ts +1 -1
  43. package/dist/src/components/ui/command/command-item.atom.d.ts +2 -1
  44. package/dist/src/components/ui/command/command-list.atom.d.ts +1 -1
  45. package/dist/src/components/ui/command/command.d.ts +4 -3
  46. package/dist/src/components/ui/command/command.helpers.d.ts +6 -0
  47. package/dist/src/components/ui/command/command.styles.d.ts +15 -7
  48. package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +1 -1
  49. package/dist/src/components/ui/context-menu/context-menu-content.d.ts +1 -1
  50. package/dist/src/components/ui/context-menu/context-menu-item.d.ts +2 -1
  51. package/dist/src/components/ui/context-menu/context-menu-radio-item.d.ts +1 -1
  52. package/dist/src/components/ui/context-menu/context-menu.d.ts +3 -3
  53. package/dist/src/components/ui/context-menu/context-menu.helpers.d.ts +1 -0
  54. package/dist/src/components/ui/context-menu/context-menu.styles.d.ts +20 -7
  55. package/dist/src/components/ui/date-picker/date-picker.styles.d.ts +6 -0
  56. package/dist/src/components/ui/dialog/dialog-close.d.ts +1 -1
  57. package/dist/src/components/ui/dialog/dialog-content.d.ts +1 -0
  58. package/dist/src/components/ui/dialog/dialog-trigger.d.ts +1 -1
  59. package/dist/src/components/ui/dialog/dialog.d.ts +3 -3
  60. package/dist/src/components/ui/dialog/dialog.styles.d.ts +17 -4
  61. package/dist/src/components/ui/drawer/drawer-close.d.ts +1 -1
  62. package/dist/src/components/ui/drawer/drawer-content.d.ts +2 -1
  63. package/dist/src/components/ui/drawer/drawer-description.d.ts +1 -2
  64. package/dist/src/components/ui/drawer/drawer-header.d.ts +5 -4
  65. package/dist/src/components/ui/drawer/drawer-title.d.ts +1 -2
  66. package/dist/src/components/ui/drawer/drawer-trigger.d.ts +1 -1
  67. package/dist/src/components/ui/drawer/drawer.d.ts +7 -6
  68. package/dist/src/components/ui/drawer/drawer.helpers.d.ts +2 -0
  69. package/dist/src/components/ui/drawer/drawer.styles.d.ts +14 -5
  70. package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +1 -1
  71. package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +1 -1
  72. package/dist/src/components/ui/dropdown-menu/dropdown-menu-item.d.ts +2 -1
  73. package/dist/src/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +1 -1
  74. package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +1 -1
  75. package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +1 -1
  76. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +6 -4
  77. package/dist/src/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +3 -0
  78. package/dist/src/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +20 -7
  79. package/dist/src/components/ui/form/form.styles.d.ts +7 -6
  80. package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +2 -2
  81. package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +1 -1
  82. package/dist/src/components/ui/hoverCard/hover-card.d.ts +2 -2
  83. package/dist/src/components/ui/hoverCard/hover-card.styles.d.ts +5 -1
  84. package/dist/src/components/ui/input/input.styles.d.ts +7 -1
  85. package/dist/src/components/ui/input-otp/input-otp-group.d.ts +2 -0
  86. package/dist/src/components/ui/input-otp/input-otp-slot.d.ts +1 -1
  87. package/dist/src/components/ui/input-otp/input-otp.d.ts +2 -4
  88. package/dist/src/components/ui/input-otp/input-otp.styles.d.ts +10 -0
  89. package/dist/src/components/ui/label/label.d.ts +0 -4
  90. package/dist/src/components/ui/label/label.style.d.ts +1 -1
  91. package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +1 -2
  92. package/dist/src/components/ui/menubar/menubar-content.d.ts +1 -1
  93. package/dist/src/components/ui/menubar/menubar-group.d.ts +1 -1
  94. package/dist/src/components/ui/menubar/menubar-item.d.ts +2 -1
  95. package/dist/src/components/ui/menubar/menubar-menu.d.ts +4 -1
  96. package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +1 -2
  97. package/dist/src/components/ui/menubar/menubar-separator.d.ts +1 -1
  98. package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +1 -1
  99. package/dist/src/components/ui/menubar/menubar-trigger.d.ts +2 -2
  100. package/dist/src/components/ui/menubar/menubar.d.ts +4 -4
  101. package/dist/src/components/ui/menubar/menubar.helpers.d.ts +3 -0
  102. package/dist/src/components/ui/menubar/menubar.styles.d.ts +21 -8
  103. package/dist/src/components/ui/navigation-menu/navigation-menu.styles.d.ts +9 -3
  104. package/dist/src/components/ui/pagination/pagination-content.d.ts +1 -1
  105. package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +2 -2
  106. package/dist/src/components/ui/pagination/pagination-item.d.ts +1 -1
  107. package/dist/src/components/ui/pagination/pagination-link.d.ts +3 -8
  108. package/dist/src/components/ui/pagination/pagination-next.d.ts +2 -1
  109. package/dist/src/components/ui/pagination/pagination-previous.d.ts +2 -1
  110. package/dist/src/components/ui/pagination/pagination.d.ts +3 -3
  111. package/dist/src/components/ui/pagination/pagination.styles.d.ts +22 -9
  112. package/dist/src/components/ui/popover/popover-content.d.ts +2 -2
  113. package/dist/src/components/ui/popover/popover-trigger.d.ts +1 -1
  114. package/dist/src/components/ui/popover/popover.d.ts +1 -1
  115. package/dist/src/components/ui/popover/popover.style.d.ts +5 -10
  116. package/dist/src/components/ui/progress/progress.d.ts +0 -1
  117. package/dist/src/components/ui/progress/progress.styles.d.ts +4 -1
  118. package/dist/src/components/ui/radio-group/radio-group-item.d.ts +3 -1
  119. package/dist/src/components/ui/radio-group/radio-group.d.ts +3 -2
  120. package/dist/src/components/ui/radio-group/radio-group.styles.d.ts +9 -2
  121. package/dist/src/components/ui/sample-demo/sample-demo.d.ts +2 -2
  122. package/dist/src/components/ui/sample-demo/sample.style.d.ts +2 -2
  123. package/dist/src/components/ui/scroll-area/scroll-area.style.d.ts +1 -1
  124. package/dist/src/components/ui/select/select-controller.d.ts +2 -1
  125. package/dist/src/components/ui/select/select-group.d.ts +3 -0
  126. package/dist/src/components/ui/select/select-item.d.ts +2 -1
  127. package/dist/src/components/ui/select/select-label.d.ts +2 -2
  128. package/dist/src/components/ui/select/select-list.d.ts +1 -1
  129. package/dist/src/components/ui/select/select-trigger.d.ts +5 -2
  130. package/dist/src/components/ui/select/select-value.d.ts +1 -1
  131. package/dist/src/components/ui/select/select.d.ts +5 -5
  132. package/dist/src/components/ui/select/select.styles.d.ts +20 -7
  133. package/dist/src/components/ui/separator/separator.d.ts +2 -0
  134. package/dist/src/components/ui/separator/separator.styles.d.ts +5 -0
  135. package/dist/src/components/ui/skeleton/skeleton.style.d.ts +1 -1
  136. package/dist/src/components/ui/switch/switch.d.ts +2 -2
  137. package/dist/src/components/ui/switch/switch.style.d.ts +4 -1
  138. package/dist/src/components/ui/table/table.styles.d.ts +39 -0
  139. package/dist/src/components/ui/tabs/tabs.style.d.ts +12 -4
  140. package/dist/src/components/ui/textarea/textarea.styles.d.ts +1 -1
  141. package/dist/src/components/ui/toast/toast-action.d.ts +7 -3
  142. package/dist/src/components/ui/toast/toast-view-port.d.ts +7 -4
  143. package/dist/src/components/ui/toast/toast.style.d.ts +19 -11
  144. package/dist/src/components/ui/toggle/toggle.d.ts +1 -0
  145. package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +14 -3
  146. package/dist/src/components/ui/toggle-group/toggle-group.style.d.ts +1 -1
  147. package/dist/src/helpers/base-element.d.ts +1 -0
  148. package/dist/src/tokens/tailwind/animation.d.ts +7 -0
  149. package/dist/src/tokens/tailwind/basis.d.ts +5 -0
  150. package/dist/src/tokens/tailwind/border-radius.d.ts +61 -0
  151. package/dist/src/tokens/tailwind/border-width.d.ts +32 -0
  152. package/dist/src/tokens/tailwind/box-shadow.d.ts +23 -0
  153. package/dist/src/tokens/tailwind/color.d.ts +339 -0
  154. package/dist/src/tokens/tailwind/font-size.d.ts +134 -0
  155. package/dist/src/tokens/tailwind/font-weight.d.ts +36 -0
  156. package/dist/src/tokens/tailwind/grid-template-columns.d.ts +4 -0
  157. package/dist/src/tokens/tailwind/index.d.ts +1113 -0
  158. package/dist/src/tokens/tailwind/keyframes.d.ts +41 -0
  159. package/dist/src/tokens/tailwind/opacity.d.ts +39 -0
  160. package/dist/src/tokens/tailwind/ring-offset-width.d.ts +8 -0
  161. package/dist/src/tokens/tailwind/ring-width.d.ts +24 -0
  162. package/dist/src/tokens/tailwind/spacing.d.ts +344 -0
  163. package/dist/src/tokens/tailwind/transition-duration.d.ts +5 -0
  164. package/dist/src/tokens/tailwind/transition-timing-function.d.ts +4 -0
  165. package/dist/src/tokens/tailwind/translate.d.ts +5 -0
  166. package/package.json +1 -1
  167. package/dist/src/components/ui/calendar/calendar.type.d.ts +0 -2
  168. package/dist/src/components/ui/context-menu/contextMenu.style.d.ts +0 -2
  169. package/dist/src/components/ui/dropdown-menu/dropdownMenu.style.d.ts +0 -2
@@ -1,13 +1,13 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
- import { ContextMenuContent } from './context-menu-content';
3
3
  import { ContextMenuCheckboxItem } from './context-menu-checkbox-Item';
4
+ import { ContextMenuContent } from './context-menu-content';
4
5
  import { ContextMenuGroup } from './context-menu-group';
5
6
  import { ContextMenuItem } from './context-menu-item';
6
7
  import { ContextMenuRadioItem } from './context-menu-radio-item';
7
8
  import { ContextMenuSeparator } from './context-menu-seperator';
8
9
  import { ContextMenuShortcut } from './context-menu-shortcut';
9
10
  import { ContextTrigger } from './context-menu-trigger';
10
- import { BaseElement } from '../../../helpers';
11
11
 
12
12
  declare class ContextMenu extends BaseElement {
13
13
  isOpen: boolean;
@@ -25,7 +25,7 @@ declare class ContextMenu extends BaseElement {
25
25
  protected createRenderRoot(): HTMLElement | DocumentFragment;
26
26
  render(): import('lit').TemplateResult<1>;
27
27
  }
28
- export { ContextMenu, ContextMenuContent, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextTrigger, };
28
+ export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextTrigger, };
29
29
  declare global {
30
30
  interface HTMLElementTagNameMap {
31
31
  'rtg-context-menu': ContextMenu;
@@ -0,0 +1 @@
1
+ export declare function settingsIcon(): import('lit-html').TemplateResult<1>;
@@ -1,7 +1,20 @@
1
- export declare const contextmenuCheckboxStyles = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground";
2
- export declare const contextmenuContentStyles = "rtg-z-50 rtg-min-w-[8rem] rtg-overflow-hidden rtg-rounded-md rtg-border rtg-bg-popover rtg-p-1 rtg-text-popover-foreground rtg-shadow-md data-[state=open]:rtg-animate-in data-[state=closed]:rtg-animate-out data-[state=closed]:rtg-fade-out-0 data-[state=open]:rtg-fade-in-0 data-[state=closed]:rtg-zoom-out-95 data-[state=open]:rtg-zoom-in-95 data-[side=bottom]:rtg-slide-in-from-top-2 data-[side=left]:rtg-slide-in-from-right-2 data-[side=right]:rtg-slide-in-from-left-2 data-[side=top]:rtg-slide-in-from-bottom-2";
3
- export declare const contextmenuGroupStyles = "rtg-overflow-hidden rtg-p-1 rtg-text-foreground [&_[rtgcmd-group-heading]]:rtg-px-2 [&_[rtgcmd-group-heading]]:rtg-py-1.5 [&_[rtgcmd-group-heading]]:rtg-text-xs [&_[rtgcmd-group-heading]]:rtg-font-medium [&_[rtgcmd-group-heading]]:rtg-text-muted-foreground";
4
- export declare const contextmenuItemStyles = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none focus:bg-accent focus:rtg-text-accent-foreground data-[disabled]:rtg-pointer-events-none data-[disabled]:rtg-opacity-50 hover:rtg-bg-accent hover:rtg-text-accent-foreground";
5
- export declare const contextmenuRadioItemStyles = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground";
6
- export declare const contextmenuSeparatorStyles = "rtg-mx-1 rtg-h-px rtg-bg-border";
7
- export declare const contextmenuShortcutStyles = "rtg-ml-auto rtg-text-xs rtg-font-semibold";
1
+ export declare const contextMenuStyles: {
2
+ root: string[];
3
+ trigger: string[];
4
+ content: string[];
5
+ group: string[];
6
+ item: string[];
7
+ checkboxItem: {
8
+ base: string[];
9
+ span: string[];
10
+ icon: string[];
11
+ };
12
+ radioItem: {
13
+ base: string[];
14
+ span: string[];
15
+ icon: string[];
16
+ };
17
+ label: string[];
18
+ separator: string[];
19
+ shortcut: string[];
20
+ };
@@ -0,0 +1,6 @@
1
+ export declare const datePickerStyles: {
2
+ root: string[];
3
+ trigger: string[];
4
+ triggerButton: string[];
5
+ content: string[];
6
+ };
@@ -1,5 +1,5 @@
1
- import { PropertyValueMap } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValueMap } from 'lit';
3
3
 
4
4
  export declare class DialogClose extends BaseElement {
5
5
  private get _dialog();
@@ -3,6 +3,7 @@ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class DialogContent extends BaseElement {
5
5
  state: string;
6
+ showCloseButton: boolean;
6
7
  private get _containerElement();
7
8
  private get ـcomponentElement();
8
9
  private get _dialog();
@@ -1,5 +1,5 @@
1
- import { PropertyValueMap } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValueMap } from 'lit';
3
3
 
4
4
  export declare class DialogTrigger extends BaseElement {
5
5
  private get _dialog();
@@ -1,11 +1,11 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
- import { DialogContent } from './dialog-content';
3
3
  import { DialogClose } from './dialog-close';
4
+ import { DialogContent } from './dialog-content';
4
5
  import { DialogFooter } from './dialog-footer';
5
6
  import { DialogHeader } from './dialog-header';
6
7
  import { DialogOverlay } from './dialog-overly';
7
8
  import { DialogTrigger } from './dialog-trigger';
8
- import { BaseElement } from '../../../helpers';
9
9
 
10
10
  declare class Dialog extends BaseElement {
11
11
  state: string;
@@ -17,7 +17,7 @@ declare class Dialog extends BaseElement {
17
17
  protected getAttributesToExclude(): string[];
18
18
  render(): import('lit').TemplateResult<1>;
19
19
  }
20
- export { Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DialogTrigger, };
20
+ export { Dialog, DialogClose, DialogContent, DialogFooter, DialogHeader, DialogOverlay, DialogTrigger, };
21
21
  declare global {
22
22
  interface HTMLElementTagNameMap {
23
23
  'rtg-dialog': Dialog;
@@ -1,4 +1,17 @@
1
- export declare const dialogContentStyles = "rtg-fixed rtg-hidden rtg-left-[50%] rtg-top-[50%] rtg-z-50 rtg-w-full rtg-max-w-lg rtg-translate-x-[-50%] rtg-translate-y-[-50%] rtg-gap-4 rtg-border rtg-bg-background rtg-p-6 rtg-shadow-lg rtg-duration-200 data-[state=open]:rtg-animate-in data-[state=closed]:rtg-animate-out data-[state=closed]:rtg-fade-out-0 data-[state=open]:rtg-fade-in-0 data-[state=closed]:rtg-zoom-out-95 data-[state=open]:rtg-zoom-in-95 data-[state=closed]:rtg-slide-out-to-left-1/2 data-[state=closed]:rtg-slide-out-to-top-[48%] data-[state=open]:rtg-slide-in-from-left-1/2 data-[state=open]:rtg-slide-in-from-top-[48%] sm:rtg-rounded-lg";
2
- export declare const dialogFooterStyles = "rtg-flex rtg-flex-col-reverse sm:rtg-flex-row sm:rtg-justify-end sm:rtg-space-x-2";
3
- export declare const dialogHeaderStyles = "rtg-flex rtg-flex-col rtg-space-y-1.5 rtg-text-center sm:rtg-text-left";
4
- export declare const dialogOverlyStyles = "rtg-fixed rtg-inset-0 rtg-z-50 rtg-bg-black/80 data-[state=open]:rtg-animate-in data-[state=closed]:rtg-animate-out data-[state=closed]:rtg-fade-out-0 data-[state=open]:rtg-fade-in-0";
1
+ export declare const dialogStyles: {
2
+ root: string[];
3
+ trigger: string[];
4
+ close: string[];
5
+ overlay: string[];
6
+ content: {
7
+ base: string[];
8
+ close: {
9
+ base: string[];
10
+ icon: string[];
11
+ };
12
+ };
13
+ header: string[];
14
+ footer: string[];
15
+ title: string[];
16
+ description: string[];
17
+ };
@@ -1,5 +1,5 @@
1
- import { PropertyValueMap } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValueMap } from 'lit';
3
3
 
4
4
  export declare class DrawerClose extends BaseElement {
5
5
  private get _drawer();
@@ -1,8 +1,9 @@
1
1
  import { BaseElement } from '../../../helpers';
2
2
  import { PropertyValues } from 'lit';
3
+ import { TDrawerState } from './drawer.helpers';
3
4
 
4
5
  export declare class DrawerContent extends BaseElement {
5
- state: string;
6
+ state: TDrawerState;
6
7
  connectedCallback(): void;
7
8
  private get _containerElement();
8
9
  private get ـcomponentElement();
@@ -1,8 +1,7 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class DrawerDescription extends BaseElement {
5
- description: string;
6
5
  private get _containerElement();
7
6
  protected getAttributesToExclude(): string[];
8
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,8 +1,9 @@
1
- import { LitElement } from 'lit';
1
+ import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
2
3
 
3
- export declare class DrawerHeader extends LitElement {
4
- _title: string;
5
- description: string;
4
+ export declare class DrawerHeader extends BaseElement {
5
+ private get _containerElement();
6
6
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
+ protected firstUpdated(_changedProperties: PropertyValues): void;
7
8
  render(): import('lit').TemplateResult<1>;
8
9
  }
@@ -1,8 +1,7 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class DrawerTitle extends BaseElement {
5
- title: string;
6
5
  private get _containerElement();
7
6
  protected getAttributesToExclude(): string[];
8
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,5 +1,5 @@
1
- import { PropertyValueMap } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValueMap } from 'lit';
3
3
 
4
4
  export declare class DrawerTrigger extends BaseElement {
5
5
  private get _drawer();
@@ -1,17 +1,18 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
3
- import { DrawerContent } from './drawer-content';
2
+ import { PropertyValues } from 'lit';
4
3
  import { DrawerClose } from './drawer-close';
4
+ import { DrawerContent } from './drawer-content';
5
+ import { DrawerDescription } from './drawer-description';
5
6
  import { DrawerFooter } from './drawer-footer';
6
7
  import { DrawerHeader } from './drawer-header';
7
- import { DrawerTitle } from './drawer-title';
8
8
  import { DrawerOverlay } from './drawer-overlay';
9
+ import { DrawerTitle } from './drawer-title';
9
10
  import { DrawerTrigger } from './drawer-trigger';
10
- import { DrawerDescription } from './drawer-description';
11
+ import { TDrawerState } from './drawer.helpers';
11
12
 
12
13
  declare class Drawer extends BaseElement {
13
14
  private get _containerElement();
14
- state: string;
15
+ state: TDrawerState;
15
16
  private get _content();
16
17
  connectedCallback(): void;
17
18
  disconnectedCallback(): void;
@@ -24,7 +25,7 @@ declare class Drawer extends BaseElement {
24
25
  protected getAttributesToExclude(): string[];
25
26
  render(): import('lit').TemplateResult<1>;
26
27
  }
27
- export { Drawer, DrawerContent, DrawerClose, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTrigger, DrawerDescription, DrawerTitle, };
28
+ export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTitle, DrawerTrigger, };
28
29
  declare global {
29
30
  interface HTMLElementTagNameMap {
30
31
  'rtg-drawer': Drawer;
@@ -0,0 +1,2 @@
1
+ export type TDrawerState = 'open' | 'closed';
2
+ export declare const DRAWER_STATE: Record<TDrawerState, TDrawerState>;
@@ -1,5 +1,14 @@
1
- export declare const drawerDescriptionStyles = "rtg-text-sm rtg-text-muted-foreground";
2
- export declare const drawerFooterStyles = "rtg-mt-auto rtg-flex rtg-flex-col rtg-gap-2 rtg-p-4";
3
- export declare const drawerHeaderStyles = "rtg-grid rtg-gap-1.5 rtg-p-4 rtg-text-center sm:rtg-text-left";
4
- export declare const drawerOverlyStyles = "rtg-fixed rtg-inset-0 rtg-z-50 rtg-bg-black/80";
5
- export declare const drawerTitleStyles = "rtg-text-lg rtg-font-semibold rtg-leading-none rtg-tracking-tight";
1
+ export declare const drawerStyles: {
2
+ root: string[];
3
+ trigger: string[];
4
+ close: string[];
5
+ overlay: string[];
6
+ content: {
7
+ base: string[];
8
+ thumb: string[];
9
+ };
10
+ header: string[];
11
+ footer: string[];
12
+ title: string[];
13
+ description: string[];
14
+ };
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
  import { DropdownMenu } from './dropdown-menu';
4
4
 
5
5
  export declare class DropdownMenuCheckboxItem extends BaseElement {
@@ -1,6 +1,6 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
3
  import { DropdownMenu } from './dropdown-menu';
3
- import { BaseElement } from '../../../helpers';
4
4
 
5
5
  export declare class DropdownMenuContent extends BaseElement {
6
6
  state: string;
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
  import { DropdownMenu } from './dropdown-menu';
4
4
 
5
5
  export declare class DropdownMenuItem extends BaseElement {
@@ -9,6 +9,7 @@ export declare class DropdownMenuItem extends BaseElement {
9
9
  get value(): string;
10
10
  get _dropdownMenu(): DropdownMenu | null;
11
11
  selected: boolean;
12
+ disabled: boolean;
12
13
  private handleMouseEvent;
13
14
  private handleClickDefault;
14
15
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class DropdownMenuRadioItem extends BaseElement {
5
5
  _id: string;
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class DropdownMenuSeparator extends BaseElement {
5
5
  get _containerElement(): HTMLDivElement | null;
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class DropdownMenuShortcut extends BaseElement {
5
5
  get _containerElement(): HTMLSpanElement | null;
@@ -1,12 +1,13 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
3
+ import { DropdownMenuCheckboxItem } from './dropdown-menu-checkbox-Item';
2
4
  import { DropdownMenuContent } from './dropdown-menu-content';
5
+ import { DropdownMenuGroup } from './dropdown-menu-group';
3
6
  import { DropdownMenuItem } from './dropdown-menu-item';
4
7
  import { DropdownMenuRadioItem } from './dropdown-menu-radio-item';
5
8
  import { DropdownMenuSeparator } from './dropdown-menu-seperator';
6
- import { DropdownMenuCheckboxItem } from './dropdown-menu-checkbox-Item';
7
- import { DropdownMenuGroup } from './dropdown-menu-group';
9
+ import { DropdownMenuShortcut } from './dropdown-menu-shortcut';
8
10
  import { DropdownMenuTrigger } from './dropdown-menu-trigger';
9
- import { BaseElement } from '../../../helpers';
10
11
 
11
12
  declare class DropdownMenu extends BaseElement {
12
13
  isOpen: boolean;
@@ -24,7 +25,7 @@ declare class DropdownMenu extends BaseElement {
24
25
  protected createRenderRoot(): HTMLElement | DocumentFragment;
25
26
  render(): import('lit').TemplateResult<1>;
26
27
  }
27
- export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, DropdownMenuTrigger, };
28
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, };
28
29
  declare global {
29
30
  interface HTMLElementTagNameMap {
30
31
  'rtg-dropdown-menu': DropdownMenu;
@@ -35,5 +36,6 @@ declare global {
35
36
  'rtg-dropdown-menu-radio-item': DropdownMenuRadioItem;
36
37
  'rtg-dropdown-menu-separator': DropdownMenuSeparator;
37
38
  'rtg-dropdown-menu-trigger': DropdownMenuTrigger;
39
+ 'rtg-dropdown-menu-shortcut': DropdownMenuShortcut;
38
40
  }
39
41
  }
@@ -0,0 +1,3 @@
1
+ export declare function gitHubIcon(): import('lit-html').TemplateResult<1>;
2
+ export declare function supportIcon(): import('lit-html').TemplateResult<1>;
3
+ export declare function apiIcon(): import('lit-html').TemplateResult<1>;
@@ -1,7 +1,20 @@
1
- export declare const dropdownMenuCheckboxStyles = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground";
2
- export declare const dropdownMenuContentStyles = "rtg-absolute rtg-flex rtg-h-full rtg-max-h-[300px] rtg-flex-col rtg-overflow-y-auto rtg-overflow-x-hidden rtg-rounded-md rtg-border rtg-bg-popover rtg-text-popover-foreground shadow-md";
3
- export declare const dropdownMenuGroupStyles = "rtg-overflow-hidden rtg-p-1 rtg-text-foreground [&_[rtgcmd-group-heading]]:rtg-px-2 [&_[rtgcmd-group-heading]]:rtg-py-1.5 [&_[rtgcmd-group-heading]]:rtg-text-xs [&_[rtgcmd-group-heading]]:rtg-font-medium [&_[rtgcmd-group-heading]]:rtg-text-muted-foreground";
4
- export declare const dropdownMenuItemStyles = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground data-[disabled]:rtg-pointer-events-none data-[disabled]:rtg-opacity-50";
5
- export declare const dropdownMenuRadioStyles = "rtg-relative rtg-flex rtg-cursor-default rtg-select-none rtg-items-center rtg-rounded-sm rtg-px-2 rtg-py-1.5 rtg-text-sm rtg-outline-none aria-selected:rtg-bg-accent aria-selected:rtg-text-accent-foreground";
6
- export declare const dropdownMenuSeparatorStyles = "rtg-mx-1 rtg-h-px rtg-bg-border";
7
- export declare const dropdownMenuShortcutStyles = "rtg-ml-auto rtg-text-xs rtg-font-semibold";
1
+ export declare const dropdownMenuStyles: {
2
+ root: string[];
3
+ trigger: string[];
4
+ content: string[];
5
+ group: string[];
6
+ item: string[];
7
+ checkboxItem: {
8
+ base: string[];
9
+ span: string[];
10
+ icon: string[];
11
+ };
12
+ radioItem: {
13
+ base: string[];
14
+ span: string[];
15
+ icon: string[];
16
+ };
17
+ label: string[];
18
+ separator: string[];
19
+ shortcut: string[];
20
+ };
@@ -1,6 +1,7 @@
1
- export declare const formStyles = "rtg-space-y-4";
2
- export declare const formDescriptionStyles = "rtg-text-sm rtg-text-muted-foreground rtg-mt-1";
3
- export declare const formFieldStyles = "rtg-space-y-2";
4
- export declare const formItemStyles = "rtg-space-y-1";
5
- export declare const formLabelStyles = "rtg-text-sm rtg-mb-1 rtg-font-medium rtg-leading-none rtg-peer-disabled:rtg-cursor-not-allowed peer-disabled:rtg-opacity-70";
6
- export declare const formMessageStyles = "rtg-text-sm rtg-text-destructive";
1
+ export declare const formStyles = "rtg-space-form-space-y";
2
+ export declare const formDescriptionStyles = "rtg-text-form-description-font rtg-text-form-description-color-text rtg-mt-form-description-space-mt";
3
+ export declare const formFieldStyles = "rtg-space-y-form-field-space-y";
4
+ export declare const formItemStyles = "rtg-space-y-form-item-space-y";
5
+ export declare const formLabelStyles = "rtg-text-form-label-font rtg-mb-form-label-space-mb rtg-font-form-label-font-weight rtg-peer-disabled:rtg-cursor-not-allowed peer-disabled:rtg-opacity-form-label-opacity-peer-disabled";
6
+ export declare const formErrorLabelStyles = "rtg-text-form-label-color-text-error";
7
+ export declare const formMessageStyles = "rtg-text-form-message-font-size rtg-text-form-message-color-text";
@@ -1,8 +1,8 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class HoverContent extends BaseElement {
5
- state: 'open' | 'close';
5
+ state: 'open' | 'closed';
6
6
  private isOpen;
7
7
  connectedCallback(): void;
8
8
  disconnectedCallback(): void;
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  declare class HoverCardTrigger extends BaseElement {
5
5
  protected getAttributesToExclude(): string[];
@@ -1,6 +1,6 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
3
  import { HoverContent } from './hover-card-content';
3
- import { BaseElement } from '../../../helpers';
4
4
  import { HoverCardTrigger } from './hover-card-trigger';
5
5
 
6
6
  declare class HoverCard extends BaseElement {
@@ -19,7 +19,7 @@ declare class HoverCard extends BaseElement {
19
19
  protected firstUpdated(_changedProperties: PropertyValues): void;
20
20
  render(): import('lit').TemplateResult<1>;
21
21
  }
22
- export { HoverCard, HoverContent, HoverCardTrigger };
22
+ export { HoverCard, HoverCardTrigger, HoverContent };
23
23
  declare global {
24
24
  interface HTMLElementTagNameMap {
25
25
  'rtg-hover-card': HoverCard;
@@ -1 +1,5 @@
1
- export declare const hoverCardContentStyles = "rtg-absolute rtg-z-50 rtg-w-64 rtg-rounded-md rtg-border rtg-bg-popover rtg-p-4 rtg-text-popover-foreground rtg-shadow-md rtg-outline-none data-[state=open]:rtg-animate-in data-[state=closed]:rtg-animate-out data-[state=closed]:rtg-fade-out-0 data-[state=open]:rtg-fade-in-0 data-[state=closed]:rtg-zoom-out-95 data-[state=open]:rtg-zoom-in-95 data-[side=bottom]:rtg-slide-in-from-top-2 data-[side=left]:rtg-slide-in-from-right-2 data-[side=right]:rtg-slide-in-from-left-2 data-[side=top]:rtg-slide-in-from-bottom-2";
1
+ export declare const hoverCardStyles: {
2
+ root: string[];
3
+ trigger: string[];
4
+ content: string[];
5
+ };
@@ -1 +1,7 @@
1
- export declare const inputStyles = "rtg-flex rtg-h-9 rtg-w-full rtg-no-autofill-bg rtg-rounded-md rtg-border rtg-border-input autofill:rtg-bg-transparent rtg-bg-transparent rtg-px-3 rtg-py-1 rtg-text-sm rtg-shadow-sm rtg-transition-colors file:rtg-border-0 file:rtg-bg-transparent file:rtg-text-sm file:rtg-font-medium placeholder:rtg-text-muted-foreground focus-visible:rtg-outline-none focus-visible:rtg-ring-[3px] focus-visible:rtg-ring-custom-outline focus-visible:rtg-border-ring disabled:rtg-opacity-50 input-base";
1
+ export declare const inputStyles: {
2
+ field: string[];
3
+ surface: string[];
4
+ typography: string[];
5
+ countrySelect: string[];
6
+ visibilityToggle: string[];
7
+ };
@@ -1,7 +1,9 @@
1
1
  import { BaseElement } from '../../../helpers';
2
+ import { InputOtp } from './input-otp';
2
3
 
3
4
  export declare class InputOtpGroup extends BaseElement {
4
5
  click: () => void;
6
+ get _inputOtp(): InputOtp | null;
5
7
  get _containerElement(): HTMLDivElement | null;
6
8
  private childrenArray;
7
9
  protected getAttributesToExclude(): string[];
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
  import { InputOtp } from './input-otp';
4
4
 
5
5
  export declare class InputOtpSlot extends BaseElement {
@@ -1,8 +1,8 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
3
- import { InputOtpSlot } from './input-otp-slot';
2
+ import { PropertyValues } from 'lit';
4
3
  import { InputOtpGroup } from './input-otp-group';
5
4
  import { InputOtpSeparator } from './input-otp-separator';
5
+ import { InputOtpSlot } from './input-otp-slot';
6
6
 
7
7
  declare class InputOtp extends BaseElement {
8
8
  constructor();
@@ -22,9 +22,7 @@ declare class InputOtp extends BaseElement {
22
22
  raiseEvent(index: number, eventType?: 'changes' | 'focus', customIndex?: number): void;
23
23
  protected createRenderRoot(): HTMLElement | DocumentFragment;
24
24
  protected firstUpdated(_changedProperties: PropertyValues): void;
25
- protected updated(changedProperties: PropertyValues): void;
26
25
  checkIfCompleteAndSubmit(): void;
27
- private applyVariantStyles;
28
26
  protected render(): import('lit').TemplateResult<1>;
29
27
  }
30
28
  export { InputOtp, InputOtpGroup, InputOtpSeparator, InputOtpSlot };
@@ -0,0 +1,10 @@
1
+ type TInputOtpStyle = string[];
2
+ type TInputOtpStyleObj = Record<'common' | 'first' | 'last' | 'withSpacing', TInputOtpStyle>;
3
+ type TInputOtpStyles = {
4
+ base: TInputOtpStyle;
5
+ group: Omit<TInputOtpStyleObj, 'first' | 'last'>;
6
+ slot: TInputOtpStyleObj;
7
+ separator: TInputOtpStyle;
8
+ };
9
+ export declare const inputOtpStyles: TInputOtpStyles;
10
+ export {};
@@ -1,11 +1,7 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
3
2
 
4
3
  export declare class Label extends BaseElement {
5
- static labelVariants: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
6
4
  for: string;
7
- static styles: import('lit').CSSResult[];
8
- protected firstUpdated(_changedProperties: PropertyValues): void;
9
5
  protected getAttributesToExclude(): string[];
10
6
  protected createRenderRoot(): HTMLElement | DocumentFragment;
11
7
  render(): import('lit').TemplateResult<1>;
@@ -1 +1 @@
1
- export declare const labelStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
1
+ export declare const labelStyles: string[];
@@ -1,11 +1,10 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class MenubarCheckboxItem extends BaseElement {
5
5
  _id: string;
6
6
  _hidden: string;
7
7
  private static _counter;
8
- static styles: import('lit').CSSResult[];
9
8
  private get _containerElement();
10
9
  protected getAttributesToExclude(): string[];
11
10
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,6 +1,6 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
3
  import { MenubarMenu } from './menubar-menu';
3
- import { BaseElement } from '../../../helpers';
4
4
 
5
5
  export declare class MenubarContent extends BaseElement {
6
6
  state: string;
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class MenubarGroup extends BaseElement {
5
5
  heading: string;
@@ -1,9 +1,10 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class MenubarItem extends BaseElement {
5
5
  _id: string;
6
6
  _hidden: string;
7
+ disabled: boolean;
7
8
  private static _counter;
8
9
  private get _containerElement();
9
10
  protected getAttributesToExclude(): string[];
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class MenubarMenu extends BaseElement {
5
5
  isOpen: boolean;
@@ -7,12 +7,14 @@ export declare class MenubarMenu extends BaseElement {
7
7
  selectedMenu: string;
8
8
  isHovering: boolean;
9
9
  id: string;
10
+ private closeTimeout;
10
11
  private get _content();
11
12
  private get _button();
12
13
  protected getAttributesToExclude(): string[];
13
14
  protected createRenderRoot(): HTMLElement | DocumentFragment;
14
15
  connectedCallback(): void;
15
16
  disconnectedCallback(): void;
17
+ private clearCloseTimeout;
16
18
  private toggleMenubar;
17
19
  handleClickOutside: (e: MouseEvent) => void;
18
20
  protected updated(_changedProperties: PropertyValues): void;
@@ -22,6 +24,7 @@ export declare class MenubarMenu extends BaseElement {
22
24
  closeAllMenus(): void;
23
25
  private handleMenuMouseEnter;
24
26
  private handleMenuMouseLeave;
27
+ private scheduleClose;
25
28
  private isDescendant;
26
29
  private setupContentListeners;
27
30
  render(): import('lit').TemplateResult<1>;
@@ -1,11 +1,10 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
 
4
4
  export declare class MenubarRadioItem extends BaseElement {
5
5
  _id: string;
6
6
  _hidden: string;
7
7
  private static _counter;
8
- static styles: import('lit').CSSResult[];
9
8
  private get _containerElement();
10
9
  protected getAttributesToExclude(): string[];
11
10
  protected createRenderRoot(): HTMLElement | DocumentFragment;