revotech-ui-kit 0.0.36 → 0.0.37
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/revotech-ui-kit.js +2293 -1597
- package/dist/revotech-ui-kit.umd.cjs +427 -198
- package/dist/src/components/atoms/dialog/dialog.atom.d.ts +3 -1
- package/dist/src/components/atoms/index.d.ts +9 -0
- package/dist/src/components/atoms/menubar/menubar-checkbox.item.d.ts +15 -0
- package/dist/src/components/atoms/menubar/menubar-content.d.ts +15 -0
- package/dist/src/components/atoms/menubar/menubar-group.d.ts +10 -0
- package/dist/src/components/atoms/menubar/menubar-item.d.ts +12 -0
- package/dist/src/components/atoms/menubar/menubar-menu.d.ts +22 -0
- package/dist/src/components/atoms/menubar/menubar-radio-item.d.ts +15 -0
- package/dist/src/components/atoms/menubar/menubar-seperator.d.ts +9 -0
- package/dist/src/components/atoms/menubar/menubar-shortcut.d.ts +5 -0
- package/dist/src/components/atoms/menubar/menubar.atom.d.ts +28 -0
- package/dist/src/components/atoms/menubar/menubar.stories.d.ts +4 -0
- package/dist/src/index.d.ts +2 -2
- package/package.json +1 -1
@@ -4,6 +4,7 @@ import { DialogClose } from './dialog-close';
|
|
4
4
|
import { DialogFooter } from './dialog-footer';
|
5
5
|
import { DialogHeader } from './dialog-header';
|
6
6
|
import { DialogOverlay } from './dialog-overly';
|
7
|
+
import { DialogTrigger } from './dialog-trigger';
|
7
8
|
declare class Dialog extends LitElement {
|
8
9
|
static styles: import("lit").CSSResult[];
|
9
10
|
state: string;
|
@@ -11,10 +12,11 @@ declare class Dialog extends LitElement {
|
|
11
12
|
protected updated(_changedProperties: PropertyValues): void;
|
12
13
|
render(): import("lit-html").TemplateResult<1>;
|
13
14
|
}
|
14
|
-
export { Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, };
|
15
|
+
export { Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DialogTrigger, };
|
15
16
|
declare global {
|
16
17
|
interface HTMLElementTagNameMap {
|
17
18
|
'rtg-dialog': Dialog;
|
19
|
+
'rtg-dialog-trigger': DialogTrigger;
|
18
20
|
'rtg-dialog-content': DialogContent;
|
19
21
|
'rtg-dialog-close': DialogClose;
|
20
22
|
'rtg-dialog-footer': DialogFooter;
|
@@ -19,6 +19,12 @@ export * from './command/command-list.atom';
|
|
19
19
|
export * from './command/command-separator.atom';
|
20
20
|
export * from './combobox/combo-box.atom';
|
21
21
|
export * from './dialog/dialog.atom';
|
22
|
+
export * from './dialog/dialog-close';
|
23
|
+
export * from './dialog/dialog-content';
|
24
|
+
export * from './dialog/dialog-footer';
|
25
|
+
export * from './dialog/dialog-header';
|
26
|
+
export * from './dialog/dialog-overly';
|
27
|
+
export * from './dialog/dialog-trigger';
|
22
28
|
export * from './dropdown-menu/dropdown-menu.atom';
|
23
29
|
export * from './hoverCard/hover-card.atom';
|
24
30
|
export * from './input/input.atom';
|
@@ -32,3 +38,6 @@ export * from './textarea/textarea.atom';
|
|
32
38
|
export * from './toast/toast.atom';
|
33
39
|
export * from './toggle/toggle.atom';
|
34
40
|
export * from './sample-demo/sample-demo';
|
41
|
+
export * from './collapsible/collapsible.atom';
|
42
|
+
export * from './aspect-ratio/aspect-ratio-atom';
|
43
|
+
export * from './menubar/menubar.atom';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class MenubarCheckboxItem extends LitElement {
|
3
|
+
_id: string;
|
4
|
+
_hidden: string;
|
5
|
+
private static _counter;
|
6
|
+
static styles: import("lit").CSSResult[];
|
7
|
+
private get identifier();
|
8
|
+
get value(): string;
|
9
|
+
selected: boolean;
|
10
|
+
private handleMouseEvent;
|
11
|
+
checked: boolean;
|
12
|
+
disabled: boolean;
|
13
|
+
toggleChecked(): void;
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
15
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
2
|
+
import { MenubarMenu } from './menubar-menu';
|
3
|
+
export declare class MenubarContent extends LitElement {
|
4
|
+
static styles: import("lit").CSSResult[];
|
5
|
+
state: string;
|
6
|
+
id: string;
|
7
|
+
side: string;
|
8
|
+
isOpen: boolean;
|
9
|
+
get _menubarMenu(): MenubarMenu | null;
|
10
|
+
connectedCallback(): void;
|
11
|
+
disconnectedCallback(): void;
|
12
|
+
updated(changedProps: PropertyValues): void;
|
13
|
+
handleClickOutside(event: MouseEvent): void;
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
15
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class MenubarGroup extends LitElement {
|
3
|
+
heading: string;
|
4
|
+
_id: string;
|
5
|
+
_hidden: string;
|
6
|
+
private static _counter;
|
7
|
+
static styles: import("lit").CSSResult[];
|
8
|
+
private get identifier();
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
10
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class MenubarItem extends LitElement {
|
3
|
+
_id: string;
|
4
|
+
_hidden: string;
|
5
|
+
private static _counter;
|
6
|
+
static styles: import("lit").CSSResult[];
|
7
|
+
private get identifier();
|
8
|
+
get value(): string;
|
9
|
+
selected: boolean;
|
10
|
+
private handleMouseEvent;
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
12
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
2
|
+
export declare class MenubarMenu extends LitElement {
|
3
|
+
static styles: import("lit").CSSResult[];
|
4
|
+
isOpen: boolean;
|
5
|
+
uniqueIds: string[];
|
6
|
+
selectedMenu: string;
|
7
|
+
isHovering: boolean;
|
8
|
+
id: string;
|
9
|
+
connectedCallback(): void;
|
10
|
+
disconnectedCallback(): void;
|
11
|
+
toggleMenubar(e: MouseEvent): void;
|
12
|
+
handleClickOutside: (e: MouseEvent) => void;
|
13
|
+
private get _content();
|
14
|
+
protected updated(_changedProperties: PropertyValues): void;
|
15
|
+
private _handleRadioSelected;
|
16
|
+
private get _slotElements();
|
17
|
+
firstUpdated(): void;
|
18
|
+
raiseEvent(): void;
|
19
|
+
handleHover(e: MouseEvent): void;
|
20
|
+
handleMouseLeave(): void;
|
21
|
+
render(): import("lit-html").TemplateResult<1>;
|
22
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class MenubarRadioItem extends LitElement {
|
3
|
+
_id: string;
|
4
|
+
_hidden: string;
|
5
|
+
private static _counter;
|
6
|
+
static styles: import("lit").CSSResult[];
|
7
|
+
private get identifier();
|
8
|
+
get value(): string;
|
9
|
+
selected: boolean;
|
10
|
+
private handleMouseEvent;
|
11
|
+
checked: boolean;
|
12
|
+
disabled: boolean;
|
13
|
+
toggleChecked(): void;
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
15
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class MenubarSeparator extends LitElement {
|
3
|
+
_id: string;
|
4
|
+
_hidden: string;
|
5
|
+
private static _counter;
|
6
|
+
static styles: import("lit").CSSResult[];
|
7
|
+
private get identifier();
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
9
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
import { MenubarContent } from './menubar-content';
|
3
|
+
import { MenubarGroup } from './menubar-group';
|
4
|
+
import { MenubarMenu } from './menubar-menu';
|
5
|
+
import { MenubarItem } from './menubar-item';
|
6
|
+
import { MenubarRadioItem } from './menubar-radio-item';
|
7
|
+
import { MenubarCheckboxItem } from './menubar-checkbox.item';
|
8
|
+
import { MenubarSeparator } from './menubar-seperator';
|
9
|
+
import { MenubarShortcut } from './menubar-shortcut';
|
10
|
+
declare class Menubar extends LitElement {
|
11
|
+
static styles: import("lit").CSSResult[];
|
12
|
+
twCLass: string;
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
14
|
+
}
|
15
|
+
export { Menubar, MenubarContent, MenubarGroup, MenubarMenu, MenubarItem, MenubarRadioItem, MenubarCheckboxItem, MenubarSeparator, MenubarShortcut, };
|
16
|
+
declare global {
|
17
|
+
interface HTMLElementTagNameMap {
|
18
|
+
'rtg-menubar': Menubar;
|
19
|
+
'rtg-menubar-menu': MenubarMenu;
|
20
|
+
'rtg-menubar-checkbox-item': MenubarCheckboxItem;
|
21
|
+
'rtg-menubar-group': MenubarGroup;
|
22
|
+
'rtg-menubar-content': MenubarContent;
|
23
|
+
'rtg-menubar-item': MenubarItem;
|
24
|
+
'rtg-menubar-radio-item': MenubarRadioItem;
|
25
|
+
'rtg-menubar-separator': MenubarSeparator;
|
26
|
+
'rtg-menubar-shortcut': MenubarShortcut;
|
27
|
+
}
|
28
|
+
}
|
package/dist/src/index.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import { Alert, AlertDescription, AlertTitle, Button, Badge, Input, Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, Checkbox, ComboBox, Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, Popover, PopoverContent, PopoverTrigger, Toggle, ContextMenu, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuContent, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, Select, SelectItem, SelectList, SelectLabel, SelectSeperator, Switch, RadioGroup, RadioGroupItem, Separator, AspectRatio } from './components';
|
2
|
-
export { Alert, AlertDescription, AlertTitle, Button, Badge, Input, Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, Checkbox, ComboBox, Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, Popover, PopoverContent, PopoverTrigger, Toggle, ContextMenu, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuContent, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, Select, SelectItem, SelectList, SelectLabel, SelectSeperator, Switch, RadioGroup, RadioGroupItem, Separator, AspectRatio, };
|
1
|
+
import { Alert, AlertDescription, AlertTitle, Button, Badge, Input, Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, Checkbox, ComboBox, Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, Popover, PopoverContent, PopoverTrigger, Toggle, ContextMenu, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuContent, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, Select, SelectItem, SelectList, SelectLabel, SelectSeperator, Switch, RadioGroup, RadioGroupItem, Separator, AspectRatio, Menubar, MenubarContent, MenubarGroup, MenubarMenu, MenubarItem, MenubarRadioItem, MenubarCheckboxItem, MenubarSeparator, MenubarShortcut } from './components';
|
2
|
+
export { Alert, AlertDescription, AlertTitle, Button, Badge, Input, Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, Checkbox, ComboBox, Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, Popover, PopoverContent, PopoverTrigger, Toggle, ContextMenu, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuContent, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, Select, SelectItem, SelectList, SelectLabel, SelectSeperator, Switch, RadioGroup, RadioGroupItem, Separator, AspectRatio, Menubar, MenubarContent, MenubarGroup, MenubarMenu, MenubarItem, MenubarRadioItem, MenubarCheckboxItem, MenubarSeparator, MenubarShortcut, };
|
package/package.json
CHANGED