@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,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,
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
+
};
|
|
@@ -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,
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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,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:
|
|
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 {
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { PropertyValues } from 'lit';
|
|
2
3
|
|
|
3
|
-
export declare class DrawerHeader extends
|
|
4
|
-
|
|
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,17 +1,18 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
1
|
import { BaseElement } from '../../../helpers';
|
|
3
|
-
import {
|
|
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 {
|
|
11
|
+
import { TDrawerState } from './drawer.helpers';
|
|
11
12
|
|
|
12
13
|
declare class Drawer extends BaseElement {
|
|
13
14
|
private get _containerElement();
|
|
14
|
-
state:
|
|
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,
|
|
28
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTitle, DrawerTrigger, };
|
|
28
29
|
declare global {
|
|
29
30
|
interface HTMLElementTagNameMap {
|
|
30
31
|
'rtg-drawer': Drawer;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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,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,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 {
|
|
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,
|
|
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
|
}
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
|
2
|
-
export declare const formDescriptionStyles = "rtg-text-
|
|
3
|
-
export declare const formFieldStyles = "rtg-space-y-
|
|
4
|
-
export declare const formItemStyles = "rtg-space-y-
|
|
5
|
-
export declare const formLabelStyles = "rtg-text-
|
|
6
|
-
export declare const
|
|
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' | '
|
|
5
|
+
state: 'open' | 'closed';
|
|
6
6
|
private isOpen;
|
|
7
7
|
connectedCallback(): void;
|
|
8
8
|
disconnectedCallback(): void;
|
|
@@ -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,
|
|
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
|
|
1
|
+
export declare const hoverCardStyles: {
|
|
2
|
+
root: string[];
|
|
3
|
+
trigger: string[];
|
|
4
|
+
content: string[];
|
|
5
|
+
};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
export declare const inputStyles
|
|
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,8 +1,8 @@
|
|
|
1
|
-
import { PropertyValues } from 'lit';
|
|
2
1
|
import { BaseElement } from '../../../helpers';
|
|
3
|
-
import {
|
|
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
|
|
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,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;
|