@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,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 MenubarSeparator 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 MenubarShortcut extends BaseElement {
5
5
  private get _containerElement();
@@ -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 MenubarTrigger extends BaseElement {
5
- get _containerElement(): HTMLUListElement | null;
5
+ get _containerElement(): HTMLButtonElement | null;
6
6
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
7
  protected firstUpdated(_changedProperties: PropertyValues): void;
8
8
  protected getAttributesToExclude(): string[];
@@ -1,11 +1,11 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
+ import { MenubarCheckboxItem } from './menubar-checkbox.item';
3
4
  import { MenubarContent } from './menubar-content';
4
5
  import { MenubarGroup } from './menubar-group';
5
- import { MenubarMenu } from './menubar-menu';
6
6
  import { MenubarItem } from './menubar-item';
7
+ import { MenubarMenu } from './menubar-menu';
7
8
  import { MenubarRadioItem } from './menubar-radio-item';
8
- import { MenubarCheckboxItem } from './menubar-checkbox.item';
9
9
  import { MenubarSeparator } from './menubar-separator';
10
10
  import { MenubarShortcut } from './menubar-shortcut';
11
11
  import { MenubarTrigger } from './menubar-trigger';
@@ -17,7 +17,7 @@ declare class Menubar extends BaseElement {
17
17
  protected firstUpdated(_changedProperties: PropertyValues): void;
18
18
  render(): import('lit').TemplateResult<1>;
19
19
  }
20
- export { Menubar, MenubarContent, MenubarGroup, MenubarMenu, MenubarItem, MenubarRadioItem, MenubarCheckboxItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, };
20
+ export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarMenu, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarTrigger, };
21
21
  declare global {
22
22
  interface HTMLElementTagNameMap {
23
23
  'rtg-menubar': Menubar;
@@ -0,0 +1,3 @@
1
+ export declare const scissorsIcon: import('lit-html').TemplateResult<1>;
2
+ export declare const copyIcon: import('lit-html').TemplateResult<1>;
3
+ export declare const clipboardPasteIcon: import('lit-html').TemplateResult<1>;
@@ -1,8 +1,21 @@
1
- export declare const menubarCheckboxStyles = "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 menubarContentStyles = "rtg-z-50 rtg-min-w-[12rem] 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-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 menubarGroupStyles = "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 menubarItemStyles = "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 menubarRadioStyles = "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 menubarSeparatorStyles = "rtg-mx-1 rtg-h-px rtg-bg-border";
7
- export declare const menubarShortcutStyles = "rtg-ml-auto rtg-text-xs rtg-font-semibold";
8
- export declare const menubarStyles = "rtg-flex rtg-h-9 rtg-items-center rtg-space-x-1 rtg-rounded-md rtg-border rtg-bg-background rtg-p-1 rtg-shadow-sm";
1
+ export declare const menubarStyles: {
2
+ root: string[];
3
+ menu: string[];
4
+ group: string[];
5
+ trigger: string[];
6
+ content: string[];
7
+ item: string[];
8
+ checkboxItem: {
9
+ base: string[];
10
+ indicator: string[];
11
+ icon: string[];
12
+ };
13
+ radioItem: {
14
+ base: string[];
15
+ indicator: string[];
16
+ icon: string[];
17
+ };
18
+ label: string[];
19
+ separator: string[];
20
+ shortcut: string[];
21
+ };
@@ -1,3 +1,9 @@
1
- export declare const navigationContentStyles = "rtg-absolute rtg-top-full rtg-flex rtg-justify-center";
2
- export declare const navigationLinkStyles = "rtg-flex rtg-h-full hover:rtg-bg-accent rtg-rounded-md rtg-p-6 rtg-w-full rtg-select-none rtg-flex-col rtg-justify-end rtg-no-underline rtg-outline-none";
3
- export declare const navigationMenuStyles = "rtg-relative rtg-z-10 rtg-flex rtg-max-w-max rtg-flex-1 rtg-items-center rtg-justify-center";
1
+ export declare const navigationStyles: {
2
+ content: string[];
3
+ menu: string[];
4
+ menuList: string[];
5
+ menuItem: string[];
6
+ menuItemIcon: string[];
7
+ link: string[];
8
+ contentContainer: string[];
9
+ };
@@ -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 PaginationContent extends BaseElement {
5
5
  get _containerElement(): HTMLUListElement | null;
@@ -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 PaginationEllipsis extends BaseElement {
5
- get _containerElement(): HTMLDivElement | null;
5
+ get _containerElement(): HTMLElement | null;
6
6
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
7
  protected firstUpdated(_changedProperties: PropertyValues): void;
8
8
  render(): import('lit').TemplateResult<1>;
@@ -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 PaginationItem extends BaseElement {
5
5
  uniqueIds: string[];
@@ -1,16 +1,11 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
+ import { ButtonSize } from '../button/button.type';
3
4
 
4
- import * as paginationType from './pagination.type';
5
5
  export declare class PaginationLink extends BaseElement {
6
- static paginationVariants: (props?: ({
7
- variant?: "outline" | "ghost" | null | undefined;
8
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
9
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
10
6
  state: string;
11
7
  isActive: boolean;
12
- size: paginationType.PaginationSize;
13
- variant: paginationType.PaginationVariant;
8
+ size: ButtonSize;
14
9
  href: string;
15
10
  get _containerElement(): HTMLAnchorElement | null;
16
11
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,7 +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 PaginationNext extends BaseElement {
5
+ href: string;
5
6
  get _containerElement(): HTMLDivElement | null;
6
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
8
  protected firstUpdated(_changedProperties: PropertyValues): void;
@@ -1,7 +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 PaginationPrevious extends BaseElement {
5
+ href: string;
5
6
  get _containerElement(): HTMLDivElement | null;
6
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
8
  protected firstUpdated(_changedProperties: PropertyValues): void;
@@ -1,9 +1,9 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
  import { PaginationContent } from './pagination-content';
4
+ import { PaginationEllipsis } from './pagination-ellipsis';
4
5
  import { PaginationItem } from './pagination-item';
5
6
  import { PaginationLink } from './pagination-link';
6
- import { PaginationEllipsis } from './pagination-ellipsis';
7
7
  import { PaginationNext } from './pagination-next';
8
8
  import { PaginationPrevious } from './pagination-previous';
9
9
 
@@ -13,7 +13,7 @@ declare class Pagination extends BaseElement {
13
13
  protected firstUpdated(_changedProperties: PropertyValues): void;
14
14
  render(): import('lit').TemplateResult<1>;
15
15
  }
16
- export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationEllipsis, PaginationNext, PaginationPrevious, };
16
+ export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
17
17
  declare global {
18
18
  interface HTMLElementTagNameMap {
19
19
  'rtg-pagination': Pagination;
@@ -1,9 +1,22 @@
1
- export declare const paginationStyle: (props?: ({
2
- variant?: "outline" | "ghost" | null | undefined;
3
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
4
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
5
- export declare const paginationContentStyles = "rtg-flex rtg-flex-row rtg-items-center rtg-gap-1";
6
- export declare const paginationEllipsisStyles = "rtg-flex rtg-h-9 rtg-w-9 rtg-items-center rtg-justify-center";
7
- export declare const paginationNextStyles = "rtg-gap-1 rtg-pl-2.5";
8
- export declare const paginationPreviousStyles = "rtg-gap-1 rtg-pl-2.5";
9
- export declare const paginationStyles = "rtg-mx-auto rtg-flex rtg-w-full rtg-justify-center";
1
+ export declare const paginationStyles: {
2
+ root: string[];
3
+ content: string[];
4
+ item: string[];
5
+ link: (props?: ({
6
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
7
+ size?: "icon" | "default" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
8
+ } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
9
+ previous: {
10
+ base: string[];
11
+ span: string[];
12
+ };
13
+ next: {
14
+ base: string[];
15
+ span: string[];
16
+ };
17
+ ellipsis: {
18
+ base: string[];
19
+ icon: string[];
20
+ span: string[];
21
+ };
22
+ };
@@ -1,12 +1,12 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
3
  import { Popover } from './popover';
3
- import { BaseElement } from '../../../helpers';
4
4
 
5
5
  export declare class PopoverContent extends BaseElement {
6
6
  enableDefaultStyle: boolean;
7
7
  styleContent: boolean;
8
8
  side: 'bottom' | 'left' | 'right' | 'top';
9
- isOpen: boolean;
9
+ state: 'open' | 'closed';
10
10
  get _popover(): Popover | null;
11
11
  get _containerElement(): HTMLDivElement | null;
12
12
  private handleClickOutside;
@@ -1,6 +1,6 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
3
  import { Popover } from './popover';
3
- import { BaseElement } from '../../../helpers';
4
4
 
5
5
  export declare class PopoverTrigger extends BaseElement {
6
6
  get _popover(): Popover | null;
@@ -1,7 +1,7 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
3
  import { PopoverContent } from './popover-content';
3
4
  import { PopoverTrigger } from './popover-trigger';
4
- import { BaseElement } from '../../../helpers';
5
5
 
6
6
  declare class Popover extends BaseElement {
7
7
  isOpen: boolean;
@@ -1,10 +1,5 @@
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
- styleContent?: boolean | null | undefined;
6
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
7
- export declare const popoverContentWithoutStyle: (props?: ({
8
- state?: "open" | "closed" | null | undefined;
9
- side?: "bottom" | "left" | "right" | "top" | null | undefined;
10
- } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
1
+ export declare const popoverStyles: {
2
+ root: string[];
3
+ trigger: string[];
4
+ content: string[];
5
+ };
@@ -2,7 +2,6 @@ import { LitElement } from 'lit';
2
2
 
3
3
  export declare class Progress extends LitElement {
4
4
  value: number;
5
- static styles: import('lit').CSSResult[];
6
5
  protected createRenderRoot(): HTMLElement | DocumentFragment;
7
6
  render(): import('lit').TemplateResult<1>;
8
7
  }
@@ -1 +1,4 @@
1
- export declare const progressStyles = "rtg-relative rtg-h-2 rtg-overflow-hidden rtg-rounded-full rtg-w-[100%]";
1
+ type TProgressPart = 'root' | 'indicator';
2
+ type TProgressStyles = Record<TProgressPart, string | string[]>;
3
+ export declare const progressStyles: TProgressStyles;
4
+ export {};
@@ -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 RadioGroupItem extends BaseElement {
5
5
  checked: boolean;
@@ -7,6 +7,8 @@ export declare class RadioGroupItem extends BaseElement {
7
7
  value: string;
8
8
  id: string;
9
9
  state: string;
10
+ disabled: boolean;
11
+ invalid: boolean;
10
12
  get _containerElement(): HTMLDivElement | null;
11
13
  private _onClick;
12
14
  protected createRenderRoot(): HTMLElement | DocumentFragment;
@@ -1,8 +1,9 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
  import { RadioGroupItem } from './radio-group-item';
4
4
 
5
5
  declare class RadioGroup extends BaseElement {
6
+ defaultValue: string;
6
7
  get _containerElement(): HTMLDivElement | null;
7
8
  connectedCallback(): void;
8
9
  private _handleRadioSelected;
@@ -10,7 +11,7 @@ declare class RadioGroup extends BaseElement {
10
11
  protected firstUpdated(_changedProperties: PropertyValues): void;
11
12
  render(): import('lit').TemplateResult<1>;
12
13
  }
13
- export { RadioGroupItem, RadioGroup };
14
+ export { RadioGroup, RadioGroupItem };
14
15
  declare global {
15
16
  interface HTMLElementTagNameMap {
16
17
  'rtg-radio-group': RadioGroup;
@@ -1,2 +1,9 @@
1
- export declare const radioGroupItemStyles = "rtg-flex rtg-items-center rtg-space-x-2";
2
- export declare const radioGroupStyles = "rtg-grid rtg-gap-2";
1
+ export declare const radioGroupStyles: {
2
+ root: string[];
3
+ item: {
4
+ wrapper: string[];
5
+ item: string[];
6
+ indicator: string[];
7
+ icon: string[];
8
+ };
9
+ };
@@ -3,8 +3,8 @@ import { LitElement } from 'lit';
3
3
  import * as sampleType from './sample.type';
4
4
  export declare class SampleDemo extends LitElement {
5
5
  static buttonVariants: (props?: ({
6
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
7
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
6
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
7
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
8
8
  } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
9
9
  click: () => void;
10
10
  disabled: boolean;
@@ -1,4 +1,4 @@
1
1
  export declare const demoStyle: (props?: ({
2
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
3
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
2
+ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
3
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
4
4
  } & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
@@ -1 +1 @@
1
- export declare const scrollAreaStyles = "rtg-relative rtg-h-72 rtg-w-48 rtg-rounded-md rtg-border";
1
+ export declare const scrollAreaStyles: string[];
@@ -7,9 +7,10 @@ export declare class SelectStore {
7
7
  private notify;
8
8
  get isOpen(): boolean;
9
9
  get selectedValue(): string;
10
+ get selectedText(): string;
10
11
  open(): void;
11
12
  close(): void;
12
13
  toggle(): void;
13
- select(value: string, _index?: number): void;
14
+ select(value: string, text: string, _index?: number): void;
14
15
  }
15
16
  export {};
@@ -7,8 +7,11 @@ export declare class SelectGroup extends BaseElement {
7
7
  get _select(): Select;
8
8
  connectedCallback(): void;
9
9
  disconnectedCallback(): void;
10
+ private getTriggerButton;
11
+ private updateTriggerWidth;
10
12
  private onStoreChange;
11
13
  get _containerElement(): HTMLDivElement | null;
14
+ get _contentDiv(): HTMLDivElement | null;
12
15
  protected firstUpdated(): void;
13
16
  private updateFocusedItem;
14
17
  private handleKeyDown;
@@ -1,5 +1,5 @@
1
- import { PropertyValues } from 'lit';
2
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
3
3
  import { Select } from './select';
4
4
 
5
5
  export declare class SelectItem extends BaseElement {
@@ -16,6 +16,7 @@ export declare class SelectItem extends BaseElement {
16
16
  protected firstUpdated(_changedProperties: PropertyValues): void;
17
17
  get _containerElement(): HTMLDivElement | null;
18
18
  protected createRenderRoot(): HTMLElement | DocumentFragment;
19
+ private getTextContent;
19
20
  private handleClick;
20
21
  render(): import('lit').TemplateResult<1>;
21
22
  }
@@ -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 SelectLabel extends BaseElement {
5
- get _containerElement(): HTMLSpanElement | null;
5
+ get _containerElement(): HTMLDivElement | null;
6
6
  protected firstUpdated(_changedProperties: PropertyValues): void;
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
8
  render(): import('lit').TemplateResult<1>;
@@ -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 SelectList extends BaseElement {
5
5
  state: string;
@@ -1,17 +1,20 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
3
  import { Select } from './select';
3
- import { BaseElement } from '../../../helpers';
4
4
 
5
5
  declare class SelectTrigger extends BaseElement {
6
6
  get _select(): Select;
7
+ private classObserver?;
7
8
  connectedCallback(): void;
8
9
  disconnectedCallback(): void;
9
10
  private onStoreChange;
10
- get _containerElement(): HTMLDivElement | null;
11
+ get _containerElement(): HTMLSpanElement | null;
11
12
  protected firstUpdated(_changedProperties: PropertyValues): void;
12
13
  handleClick: (e: Event) => void;
13
14
  protected createRenderRoot(): HTMLElement | DocumentFragment;
14
15
  protected getAttributesToExclude(): string[];
16
+ private getClassAttribute;
17
+ private filterConflictingWidthClasses;
15
18
  render(): import('lit').TemplateResult<1>;
16
19
  }
17
20
  export { SelectTrigger };
@@ -1,6 +1,6 @@
1
+ import { BaseElement } from '../../../helpers';
1
2
  import { PropertyValues } from 'lit';
2
3
  import { Select } from './select';
3
- import { BaseElement } from '../../../helpers';
4
4
 
5
5
  declare class SelectValue extends BaseElement {
6
6
  placeholder: string;
@@ -1,12 +1,12 @@
1
+ import { BaseElement } from '../../../helpers';
2
+ import { SelectStore } from './select-controller';
3
+ import { SelectGroup } from './select-group';
1
4
  import { SelectItem } from './select-item';
2
- import { SelectList } from './select-list';
3
5
  import { SelectLabel } from './select-label';
6
+ import { SelectList } from './select-list';
4
7
  import { SelectSeperator } from './select-seperator';
5
8
  import { SelectTrigger } from './select-trigger';
6
- import { SelectGroup } from './select-group';
7
9
  import { SelectValue } from './select-value';
8
- import { BaseElement } from '../../../helpers';
9
- import { SelectStore } from './select-controller';
10
10
 
11
11
  declare class Select extends BaseElement {
12
12
  private uuid;
@@ -18,7 +18,7 @@ declare class Select extends BaseElement {
18
18
  protected createRenderRoot(): HTMLElement | DocumentFragment;
19
19
  render(): import('lit').TemplateResult<1>;
20
20
  }
21
- export { Select, SelectGroup, SelectValue, SelectItem, SelectList, SelectLabel, SelectSeperator, SelectTrigger, };
21
+ export { Select, SelectGroup, SelectItem, SelectLabel, SelectList, SelectSeperator, SelectTrigger, SelectValue, };
22
22
  declare global {
23
23
  interface HTMLElementTagNameMap {
24
24
  'rtg-select': Select;
@@ -1,7 +1,20 @@
1
- export declare const selectGroupStyles = "rtg-absolute rtg-z-50 rtg-mt-1 rtg-max-h-72 rtg-w-full rtg-overflow-hidden rtg-overflow-y-auto rtg-rounded-md rtg-border rtg-border-border rtg-bg-background rtg-px-1 rtg-py-2 rtg-shadow-md";
2
- export declare const selectItemStyles = "rtg-flex rtg-w-full rtg-cursor-pointer rtg-items-center rtg-justify-between rtg-rounded-lg rtg-px-4 rtg-py-2 hover:rtg-bg-accent focus:rtg-bg-accent focus:rtg-outline-none";
3
- export declare const selectLabelStyles = "rtg-px-4 rtg-w-full rtg-text-base rtg-font-bold";
4
- export declare const selectListStyles = "rtg-absolute rtg-z-50 rtg-max-h-72 rtg-w-full rtg-overflow-hidden rtg-overflow-y-auto rtg-rounded-lg rtg-border rtg-border-input rtg-bg-background p-1 [&::-webkit-scrollbar-thumb]:rtg-rounded-full [&::-webkit-scrollbar-thumb]:rtg-bg-accent [&::-webkit-scrollbar-track]:rtg-bg-gray-100 [&::-webkit-scrollbar]:rtg-w-2";
5
- export declare const selectSeparatorStyles = "rtg-mx-1 rtg-h-px rtg-bg-border";
6
- export declare const selectTriggerStyles = "rtg-flex rtg-h-10 rtg-items-center rtg-justify-between rtg-rounded-md rtg-border rtg-border-input rtg-bg-background rtg-px-3 rtg-py-2 rtg-text-sm rtg-ring-offset-background placeholder:rtg-text-muted-foreground focus:rtg-outline-none focus:ring-2 focus:rtg-ring-ring focus:rtg-ring-offset-2 disabled:rtg-cursor-not-allowed disabled:rtg-opacity-50";
7
- export declare const selectValueStyles = "rtg-line-clamp-1 rtg-flex rtg-w-[180px]";
1
+ export declare const selectStyles: {
2
+ root: string[];
3
+ group: string[];
4
+ value: string[];
5
+ trigger: {
6
+ trigger: string[];
7
+ icon: string[];
8
+ };
9
+ content: {
10
+ content: string[];
11
+ viewport: string[];
12
+ };
13
+ label: string[];
14
+ item: {
15
+ item: string[];
16
+ indicator: string[];
17
+ icon: string[];
18
+ };
19
+ separator: string[];
20
+ };
@@ -1,10 +1,12 @@
1
1
  import { BaseElement } from '../../../helpers';
2
+ import { PropertyValues } from 'lit';
2
3
  import { SEPARATOR_ORIENTATION } from './separator.defs';
3
4
 
4
5
  export declare class Separator extends BaseElement {
5
6
  orientation: SEPARATOR_ORIENTATION;
6
7
  protected getAttributesToExclude(): string[];
7
8
  protected createRenderRoot(): HTMLElement | DocumentFragment;
9
+ protected updated(changedProperties: PropertyValues): void;
8
10
  render(): import('lit').TemplateResult<1>;
9
11
  }
10
12
  declare global {
@@ -0,0 +1,5 @@
1
+ import { SEPARATOR_ORIENTATION } from './separator.defs';
2
+
3
+ type TSeparatorStyles = Record<SEPARATOR_ORIENTATION | 'common', string | string[]>;
4
+ export declare const separatorStyles: TSeparatorStyles;
5
+ export {};
@@ -1 +1 @@
1
- export declare const skeletonStyles = "rtg-animate-pulse rtg-rounded-md rtg-bg-gray-200 rtg-h-4 rtg-w-full";
1
+ export declare const skeletonStyles = "rtg-bg-skeleton-color-bg rtg-animate-skeleton-animate rtg-rounded-skeleton-radius";
@@ -1,8 +1,8 @@
1
1
  import { LitElement } from 'lit';
2
2
 
3
3
  export declare class Switch extends LitElement {
4
- checked: boolean;
5
- disabled: boolean;
4
+ disabled: 'true' | 'false';
5
+ state: 'checked' | 'unchecked';
6
6
  private _toggleChecked;
7
7
  protected createRenderRoot(): HTMLElement | DocumentFragment;
8
8
  render(): import('lit').TemplateResult<1>;
@@ -1 +1,4 @@
1
- export declare const switchStyles = "rtg-peer rtg-inline-flex rtg-h-5 rtg-w-9 rtg-shrink-0 rtg-cursor-pointer rtg-items-center rtg-rounded-full rtg-border-2 rtg-border-transparent rtg-shadow-sm rtg-transition-colors focus-visible:rtg-outline-none focus-visible:rtg-ring-2 focus-visible:rtg-ring-ring focus-visible:rtg-ring-offset-2 focus-visible:rtg-ring-offset-background";
1
+ export declare const switchStyles: {
2
+ root: string[];
3
+ thumb: string[];
4
+ };
@@ -0,0 +1,39 @@
1
+ export declare const tableStyles: {
2
+ preview: string[];
3
+ container: string[];
4
+ table: string[];
5
+ caption: string[];
6
+ head: {
7
+ root: string[];
8
+ row: string[];
9
+ cell: {
10
+ base: string[];
11
+ align: {
12
+ left: string;
13
+ right: string;
14
+ };
15
+ };
16
+ };
17
+ body: {
18
+ root: string[];
19
+ row: string[];
20
+ cell: {
21
+ base: string[];
22
+ align: {
23
+ right: string;
24
+ left: string;
25
+ };
26
+ };
27
+ };
28
+ footer: {
29
+ root: string[];
30
+ row: string[];
31
+ cell: {
32
+ base: string[];
33
+ align: {
34
+ right: string;
35
+ left: string;
36
+ };
37
+ };
38
+ };
39
+ };
@@ -1,4 +1,12 @@
1
- export declare const tabListStyles = "rtg-h-10 rtg-items-center rtg-justify-center rtg-rounded-md rtg-bg-muted rtg-p-1 rtg-text-muted-foreground rtg-grid rtg-w-full rtg-grid-cols-2";
2
- export declare const tabListBaseStyles = "rtg-items-center rtg-justify-center rtg-rounded-md rtg-bg-muted rtg-p-1 rtg-text-muted-foreground";
3
- export declare const tabListHorizontalStyles = "rtg-grid rtg-w-full rtg-h-10 rtg-grid-cols-2";
4
- export declare const tabListVerticalStyles = "rtg-w-60 rtg-h-full";
1
+ export declare const tabStyles: {
2
+ list: {
3
+ base: string[];
4
+ orientation: {
5
+ horizontal: string[];
6
+ vertical: string[];
7
+ };
8
+ };
9
+ trigger: {
10
+ base: string[];
11
+ };
12
+ };