@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.
- package/dist/library.css +4298 -1171
- package/dist/rtg-ui-kit.js +7682 -5984
- package/dist/rtg-ui-kit.umd.cjs +1098 -1077
- package/dist/src/components/ui/accordion/accordion-content.d.ts +1 -1
- package/dist/src/components/ui/accordion/accordion-trigger.d.ts +1 -1
- package/dist/src/components/ui/accordion/accordion.d.ts +4 -4
- package/dist/src/components/ui/accordion/accordion.styles.d.ts +4 -0
- package/dist/src/components/ui/alert/alert.d.ts +5 -5
- package/dist/src/components/ui/alert/alert.stories.d.ts +1 -1
- package/dist/src/components/ui/alert/alert.styles.d.ts +9 -3
- package/dist/src/components/ui/alert/alert.types.d.ts +1 -1
- package/dist/src/components/ui/alert/helpers.d.ts +10 -0
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.d.ts +5 -2
- package/dist/src/components/ui/aspect-ratio/aspect-ratio.styles.d.ts +4 -1
- package/dist/src/components/ui/avatar/avatar-fallback.d.ts +1 -1
- package/dist/src/components/ui/avatar/avatar-image.d.ts +1 -1
- package/dist/src/components/ui/avatar/avatar.d.ts +1 -1
- package/dist/src/components/ui/avatar/avatar.style.d.ts +4 -3
- package/dist/src/components/ui/badge/badge.d.ts +1 -1
- package/dist/src/components/ui/badge/badge.stories.d.ts +1 -0
- package/dist/src/components/ui/badge/badge.style.d.ts +1 -1
- package/dist/src/components/ui/badge/badge.type.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-link.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-list.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb-text.d.ts +1 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/src/components/ui/breadcrumb/breadcrumb.styles.d.ts +4 -6
- package/dist/src/components/ui/button/button.d.ts +2 -2
- package/dist/src/components/ui/button/button.style.d.ts +2 -2
- package/dist/src/components/ui/button/button.type.d.ts +1 -1
- package/dist/src/components/ui/calendar/calendar.d.ts +9 -13
- package/dist/src/components/ui/calendar/calendar.helpers.d.ts +3 -0
- package/dist/src/components/ui/calendar/calendar.style.d.ts +40 -4
- package/dist/src/components/ui/card/card.d.ts +6 -6
- package/dist/src/components/ui/card/card.styles.d.ts +4 -1
- package/dist/src/components/ui/carousel/carousel.styles.d.ts +32 -0
- package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +3 -1
- package/dist/src/components/ui/checkbox/checkbox.style.d.ts +4 -2
- package/dist/src/components/ui/combobox/combo-box.styles.d.ts +14 -5
- package/dist/src/components/ui/command/command-empty.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command-group.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command-item.atom.d.ts +2 -1
- package/dist/src/components/ui/command/command-list.atom.d.ts +1 -1
- package/dist/src/components/ui/command/command.d.ts +4 -3
- package/dist/src/components/ui/command/command.helpers.d.ts +6 -0
- package/dist/src/components/ui/command/command.styles.d.ts +15 -7
- package/dist/src/components/ui/context-menu/context-menu-checkbox-Item.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-content.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu-item.d.ts +2 -1
- package/dist/src/components/ui/context-menu/context-menu-radio-item.d.ts +1 -1
- package/dist/src/components/ui/context-menu/context-menu.d.ts +3 -3
- package/dist/src/components/ui/context-menu/context-menu.helpers.d.ts +1 -0
- package/dist/src/components/ui/context-menu/context-menu.styles.d.ts +20 -7
- package/dist/src/components/ui/date-picker/date-picker.styles.d.ts +6 -0
- package/dist/src/components/ui/dialog/dialog-close.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog-content.d.ts +1 -0
- package/dist/src/components/ui/dialog/dialog-trigger.d.ts +1 -1
- package/dist/src/components/ui/dialog/dialog.d.ts +3 -3
- package/dist/src/components/ui/dialog/dialog.styles.d.ts +17 -4
- package/dist/src/components/ui/drawer/drawer-close.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer-content.d.ts +2 -1
- package/dist/src/components/ui/drawer/drawer-description.d.ts +1 -2
- package/dist/src/components/ui/drawer/drawer-header.d.ts +5 -4
- package/dist/src/components/ui/drawer/drawer-title.d.ts +1 -2
- package/dist/src/components/ui/drawer/drawer-trigger.d.ts +1 -1
- package/dist/src/components/ui/drawer/drawer.d.ts +7 -6
- package/dist/src/components/ui/drawer/drawer.helpers.d.ts +2 -0
- package/dist/src/components/ui/drawer/drawer.styles.d.ts +14 -5
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-content.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-item.d.ts +2 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-radio-item.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-seperator.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu-shortcut.d.ts +1 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +6 -4
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.helpers.d.ts +3 -0
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.styles.d.ts +20 -7
- package/dist/src/components/ui/form/form.styles.d.ts +7 -6
- package/dist/src/components/ui/hoverCard/hover-card-content.d.ts +2 -2
- package/dist/src/components/ui/hoverCard/hover-card-trigger.d.ts +1 -1
- package/dist/src/components/ui/hoverCard/hover-card.d.ts +2 -2
- package/dist/src/components/ui/hoverCard/hover-card.styles.d.ts +5 -1
- package/dist/src/components/ui/input/input.styles.d.ts +7 -1
- package/dist/src/components/ui/input-otp/input-otp-group.d.ts +2 -0
- package/dist/src/components/ui/input-otp/input-otp-slot.d.ts +1 -1
- package/dist/src/components/ui/input-otp/input-otp.d.ts +2 -4
- package/dist/src/components/ui/input-otp/input-otp.styles.d.ts +10 -0
- package/dist/src/components/ui/label/label.d.ts +0 -4
- package/dist/src/components/ui/label/label.style.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-checkbox.item.d.ts +1 -2
- package/dist/src/components/ui/menubar/menubar-content.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-group.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-item.d.ts +2 -1
- package/dist/src/components/ui/menubar/menubar-menu.d.ts +4 -1
- package/dist/src/components/ui/menubar/menubar-radio-item.d.ts +1 -2
- package/dist/src/components/ui/menubar/menubar-separator.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-shortcut.d.ts +1 -1
- package/dist/src/components/ui/menubar/menubar-trigger.d.ts +2 -2
- package/dist/src/components/ui/menubar/menubar.d.ts +4 -4
- package/dist/src/components/ui/menubar/menubar.helpers.d.ts +3 -0
- package/dist/src/components/ui/menubar/menubar.styles.d.ts +21 -8
- package/dist/src/components/ui/navigation-menu/navigation-menu.styles.d.ts +9 -3
- package/dist/src/components/ui/pagination/pagination-content.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination-ellipsis.d.ts +2 -2
- package/dist/src/components/ui/pagination/pagination-item.d.ts +1 -1
- package/dist/src/components/ui/pagination/pagination-link.d.ts +3 -8
- package/dist/src/components/ui/pagination/pagination-next.d.ts +2 -1
- package/dist/src/components/ui/pagination/pagination-previous.d.ts +2 -1
- package/dist/src/components/ui/pagination/pagination.d.ts +3 -3
- package/dist/src/components/ui/pagination/pagination.styles.d.ts +22 -9
- package/dist/src/components/ui/popover/popover-content.d.ts +2 -2
- package/dist/src/components/ui/popover/popover-trigger.d.ts +1 -1
- package/dist/src/components/ui/popover/popover.d.ts +1 -1
- package/dist/src/components/ui/popover/popover.style.d.ts +5 -10
- package/dist/src/components/ui/progress/progress.d.ts +0 -1
- package/dist/src/components/ui/progress/progress.styles.d.ts +4 -1
- package/dist/src/components/ui/radio-group/radio-group-item.d.ts +3 -1
- package/dist/src/components/ui/radio-group/radio-group.d.ts +3 -2
- package/dist/src/components/ui/radio-group/radio-group.styles.d.ts +9 -2
- package/dist/src/components/ui/sample-demo/sample-demo.d.ts +2 -2
- package/dist/src/components/ui/sample-demo/sample.style.d.ts +2 -2
- package/dist/src/components/ui/scroll-area/scroll-area.style.d.ts +1 -1
- package/dist/src/components/ui/select/select-controller.d.ts +2 -1
- package/dist/src/components/ui/select/select-group.d.ts +3 -0
- package/dist/src/components/ui/select/select-item.d.ts +2 -1
- package/dist/src/components/ui/select/select-label.d.ts +2 -2
- package/dist/src/components/ui/select/select-list.d.ts +1 -1
- package/dist/src/components/ui/select/select-trigger.d.ts +5 -2
- package/dist/src/components/ui/select/select-value.d.ts +1 -1
- package/dist/src/components/ui/select/select.d.ts +5 -5
- package/dist/src/components/ui/select/select.styles.d.ts +20 -7
- package/dist/src/components/ui/separator/separator.d.ts +2 -0
- package/dist/src/components/ui/separator/separator.styles.d.ts +5 -0
- package/dist/src/components/ui/skeleton/skeleton.style.d.ts +1 -1
- package/dist/src/components/ui/switch/switch.d.ts +2 -2
- package/dist/src/components/ui/switch/switch.style.d.ts +4 -1
- package/dist/src/components/ui/table/table.styles.d.ts +39 -0
- package/dist/src/components/ui/tabs/tabs.style.d.ts +12 -4
- package/dist/src/components/ui/textarea/textarea.styles.d.ts +1 -1
- package/dist/src/components/ui/toast/toast-action.d.ts +7 -3
- package/dist/src/components/ui/toast/toast-view-port.d.ts +7 -4
- package/dist/src/components/ui/toast/toast.style.d.ts +19 -11
- package/dist/src/components/ui/toggle/toggle.d.ts +1 -0
- package/dist/src/components/ui/toggle-group/toggle-group-item.d.ts +14 -3
- package/dist/src/components/ui/toggle-group/toggle-group.style.d.ts +1 -1
- package/dist/src/helpers/base-element.d.ts +1 -0
- package/dist/src/tokens/tailwind/animation.d.ts +7 -0
- package/dist/src/tokens/tailwind/basis.d.ts +5 -0
- package/dist/src/tokens/tailwind/border-radius.d.ts +61 -0
- package/dist/src/tokens/tailwind/border-width.d.ts +32 -0
- package/dist/src/tokens/tailwind/box-shadow.d.ts +23 -0
- package/dist/src/tokens/tailwind/color.d.ts +339 -0
- package/dist/src/tokens/tailwind/font-size.d.ts +134 -0
- package/dist/src/tokens/tailwind/font-weight.d.ts +36 -0
- package/dist/src/tokens/tailwind/grid-template-columns.d.ts +4 -0
- package/dist/src/tokens/tailwind/index.d.ts +1113 -0
- package/dist/src/tokens/tailwind/keyframes.d.ts +41 -0
- package/dist/src/tokens/tailwind/opacity.d.ts +39 -0
- package/dist/src/tokens/tailwind/ring-offset-width.d.ts +8 -0
- package/dist/src/tokens/tailwind/ring-width.d.ts +24 -0
- package/dist/src/tokens/tailwind/spacing.d.ts +344 -0
- package/dist/src/tokens/tailwind/transition-duration.d.ts +5 -0
- package/dist/src/tokens/tailwind/transition-timing-function.d.ts +4 -0
- package/dist/src/tokens/tailwind/translate.d.ts +5 -0
- package/package.json +1 -1
- package/dist/src/components/ui/calendar/calendar.type.d.ts +0 -2
- package/dist/src/components/ui/context-menu/contextMenu.style.d.ts +0 -2
- package/dist/src/components/ui/dropdown-menu/dropdownMenu.style.d.ts +0 -2
|
@@ -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():
|
|
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,
|
|
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;
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
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,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():
|
|
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,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:
|
|
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,
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
};
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
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 {
|
|
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
|
|
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" | "
|
|
7
|
-
size?: "
|
|
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" | "
|
|
3
|
-
size?: "
|
|
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
|
|
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():
|
|
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,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():
|
|
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,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,
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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 {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const skeletonStyles = "rtg-
|
|
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
|
-
|
|
5
|
-
|
|
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
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
+
};
|