revotech-ui-kit 0.0.14 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/revotech-ui-kit.js +8756 -0
- package/dist/revotech-ui-kit.umd.cjs +3578 -0
- package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -0
- package/dist/src/assets/icons/arrows.icon.d.ts +1 -0
- package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -0
- package/dist/src/assets/icons/circle-check.icon.d.ts +1 -0
- package/dist/src/assets/icons/circle-x.icon.d.ts +1 -0
- package/dist/src/assets/icons/circle.icon.d.ts +1 -0
- package/dist/src/assets/icons/help-circle.icon.d.ts +1 -0
- package/dist/src/assets/icons/index.d.ts +11 -0
- package/dist/src/assets/icons/radio-group.icon.d.ts +1 -0
- package/dist/src/assets/icons/radio.icon.d.ts +1 -0
- package/dist/src/assets/icons/search.icon.d.ts +1 -0
- package/dist/src/assets/icons/tick.icon.d.ts +1 -0
- package/dist/src/components/atoms/accordion/accordion-content.d.ts +12 -0
- package/dist/src/components/atoms/accordion/accordion-item.d.ts +22 -0
- package/dist/src/components/atoms/accordion/accordion-trigger.d.ts +17 -0
- package/dist/src/components/atoms/accordion/accordion.atoms.d.ts +23 -0
- package/dist/src/components/atoms/accordion/accordion.defs.d.ts +10 -0
- package/dist/src/components/atoms/accordion/accordion.stories.d.ts +6 -0
- package/dist/src/components/atoms/accordion/accordion.styles.d.ts +0 -0
- package/dist/src/components/atoms/alert/alert-description.d.ts +6 -0
- package/dist/src/components/atoms/alert/alert-title.d.ts +6 -0
- package/dist/src/components/atoms/alert/alert.atom.d.ts +23 -0
- package/dist/src/components/atoms/alert/alert.stories.d.ts +6 -0
- package/dist/src/components/atoms/alert/alert.styles.d.ts +4 -0
- package/dist/src/components/atoms/alert/alert.types.d.ts +1 -0
- package/dist/src/components/atoms/badge/badge.atom.d.ts +17 -0
- package/dist/src/components/atoms/badge/badge.stories.d.ts +6 -0
- package/dist/src/components/atoms/badge/badge.style.d.ts +3 -0
- package/dist/src/components/atoms/badge/badge.type.d.ts +1 -0
- package/dist/src/components/atoms/button/button.atom.d.ts +25 -0
- package/dist/src/components/atoms/button/button.stories.d.ts +6 -0
- package/dist/src/components/atoms/button/button.style.d.ts +4 -0
- package/dist/src/components/atoms/button/button.type.d.ts +3 -0
- package/dist/src/components/atoms/card/card-content.d.ts +6 -0
- package/dist/src/components/atoms/card/card-description.d.ts +6 -0
- package/dist/src/components/atoms/card/card-footer.d.ts +6 -0
- package/dist/src/components/atoms/card/card-header.d.ts +6 -0
- package/dist/src/components/atoms/card/card-title.d.ts +6 -0
- package/dist/src/components/atoms/card/card.atom.d.ts +22 -0
- package/dist/src/components/atoms/card/card.stories.d.ts +6 -0
- package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +19 -0
- package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +7 -0
- package/dist/src/components/atoms/checkbox/checkbox.style.d.ts +2 -0
- package/dist/src/components/atoms/checkbox/checkbox.type.d.ts +21 -0
- package/dist/src/components/atoms/combobox/combo-box-input.d.ts +14 -0
- package/dist/src/components/atoms/combobox/combo-box-item.d.ts +18 -0
- package/dist/src/components/atoms/combobox/combo-box-list.d.ts +15 -0
- package/dist/src/components/atoms/combobox/combo-box.atom.d.ts +30 -0
- package/dist/src/components/atoms/combobox/combo-box.stories.d.ts +6 -0
- package/dist/src/components/atoms/command/command-empty.atom.d.ts +10 -0
- package/dist/src/components/atoms/command/command-group.atom.d.ts +11 -0
- package/dist/src/components/atoms/command/command-input.atom.d.ts +11 -0
- package/dist/src/components/atoms/command/command-item.atom.d.ts +14 -0
- package/dist/src/components/atoms/command/command-list.atom.d.ts +7 -0
- package/dist/src/components/atoms/command/command-separator.atom.d.ts +10 -0
- package/dist/src/components/atoms/command/command.atom.d.ts +7 -0
- package/dist/src/components/atoms/command/command.stories.d.ts +6 -0
- package/dist/src/components/atoms/context-menu/context-menu-checkbox-Item.d.ts +16 -0
- package/dist/src/components/atoms/context-menu/context-menu-content.d.ts +14 -0
- package/dist/src/components/atoms/context-menu/context-menu-group.d.ts +11 -0
- package/dist/src/components/atoms/context-menu/context-menu-item.d.ts +13 -0
- package/dist/src/components/atoms/context-menu/context-menu-radio-item.d.ts +16 -0
- package/dist/src/components/atoms/context-menu/context-menu-seperator.d.ts +10 -0
- package/dist/src/components/atoms/context-menu/context-menu-shortcut.d.ts +6 -0
- package/dist/src/components/atoms/context-menu/context-menu.atom.d.ts +34 -0
- package/dist/src/components/atoms/context-menu/contextMenu.stories.d.ts +5 -0
- package/dist/src/components/atoms/context-menu/contextMenu.style.d.ts +2 -0
- package/dist/src/components/atoms/dialog/dialog-close.d.ts +13 -0
- package/dist/src/components/atoms/dialog/dialog-content.d.ts +9 -0
- package/dist/src/components/atoms/dialog/dialog-footer.d.ts +6 -0
- package/dist/src/components/atoms/dialog/dialog-header.d.ts +8 -0
- package/dist/src/components/atoms/dialog/dialog-overly.d.ts +6 -0
- package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +9 -0
- package/dist/src/components/atoms/dialog/dialog.atom.d.ts +25 -0
- package/dist/src/components/atoms/dialog/dialog.stories.d.ts +7 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +16 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-content.d.ts +14 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-group.d.ts +11 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-item.d.ts +13 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-radio-item.d.ts +16 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-seperator.d.ts +10 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-shortcut.d.ts +6 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu.atom.d.ts +32 -0
- package/dist/src/components/atoms/dropdown-menu/dropdownMenu.stories.d.ts +7 -0
- package/dist/src/components/atoms/dropdown-menu/dropdownMenu.style.d.ts +2 -0
- package/dist/src/components/atoms/index.d.ts +26 -0
- package/dist/src/components/atoms/input/input.atom.d.ts +22 -0
- package/dist/src/components/atoms/input/input.stories.d.ts +6 -0
- package/dist/src/components/atoms/input/input.styles.d.ts +1 -0
- package/dist/src/components/atoms/input/input.type.d.ts +21 -0
- package/dist/src/components/atoms/label/label.atom.d.ts +17 -0
- package/dist/src/components/atoms/label/label.stories.d.ts +6 -0
- package/dist/src/components/atoms/label/label.style.d.ts +1 -0
- package/dist/src/components/atoms/popover/popover-content.d.ts +13 -0
- package/dist/src/components/atoms/popover/popover-trigger.d.ts +10 -0
- package/dist/src/components/atoms/popover/popover.atom.d.ts +19 -0
- package/dist/src/components/atoms/popover/popover.stories.d.ts +5 -0
- package/dist/src/components/atoms/popover/popover.style.d.ts +9 -0
- package/dist/src/components/atoms/popover/popover.types.d.ts +2 -0
- package/dist/src/components/atoms/radio-group/radio-group-item.d.ts +17 -0
- package/dist/src/components/atoms/radio-group/radio-group.atom.d.ts +16 -0
- package/dist/src/components/atoms/radio-group/radio-group.stories.d.ts +5 -0
- package/dist/src/components/atoms/radio-group/radio-group.types.d.ts +2 -0
- package/dist/src/components/atoms/sample-demo/sample-demo.d.ts +21 -0
- package/dist/src/components/atoms/sample-demo/sample.style.d.ts +4 -0
- package/dist/src/components/atoms/sample-demo/sample.type.d.ts +3 -0
- package/dist/src/components/atoms/select/select-item.d.ts +13 -0
- package/dist/src/components/atoms/select/select-label.d.ts +6 -0
- package/dist/src/components/atoms/select/select-list.d.ts +8 -0
- package/dist/src/components/atoms/select/select-seperator.d.ts +10 -0
- package/dist/src/components/atoms/select/select.atom.d.ts +33 -0
- package/dist/src/components/atoms/select/select.stories.d.ts +6 -0
- package/dist/src/components/atoms/seperator/separator.atom.d.ts +14 -0
- package/dist/src/components/atoms/seperator/separator.defs.d.ts +10 -0
- package/dist/src/components/atoms/seperator/separator.stories.d.ts +8 -0
- package/dist/src/components/atoms/switch/switch.atom.d.ts +14 -0
- package/dist/src/components/atoms/switch/switch.stories.d.ts +5 -0
- package/dist/src/components/atoms/switch/switch.type.d.ts +4 -0
- package/dist/src/components/atoms/textarea/textarea.atom.d.ts +17 -0
- package/dist/src/components/atoms/textarea/textarea.stories.d.ts +5 -0
- package/dist/src/components/atoms/textarea/textarea.styles.d.ts +1 -0
- package/dist/src/components/atoms/textarea/textarea.type.d.ts +11 -0
- package/dist/src/components/atoms/toggle/toggle.atom.d.ts +20 -0
- package/dist/src/components/atoms/toggle/toggle.defs.d.ts +27 -0
- package/dist/src/components/atoms/toggle/toggle.stories.d.ts +6 -0
- package/dist/src/components/atoms/toggle/toggle.style.d.ts +4 -0
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-ellipsis.d.ts +7 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-item.d.ts +7 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-link.d.ts +8 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-list.d.ts +7 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-separator.d.ts +7 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-text.d.ts +7 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb.molecules.d.ts +7 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +6 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb.styles.d.ts +6 -0
- package/dist/src/components/molecules/index.d.ts +7 -0
- package/dist/src/components/molecules/tabs/tab-contents.d.ts +13 -0
- package/dist/src/components/molecules/tabs/tab-list.d.ts +15 -0
- package/dist/src/components/molecules/tabs/tab-trigger.d.ts +18 -0
- package/dist/src/components/molecules/tabs/tab.molecules.d.ts +15 -0
- package/dist/src/components/molecules/tabs/tab.stories.d.ts +15 -0
- package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +18 -0
- package/dist/src/components/molecules/toggle-group/toggle-group.defs.d.ts +37 -0
- package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +19 -0
- package/dist/src/components/molecules/toggle-group/toggle-group.stories.d.ts +5 -0
- package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +4 -0
- package/dist/src/helpers/base-element.d.ts +11 -0
- package/dist/src/helpers/index.d.ts +3 -0
- package/dist/src/helpers/mouse-conroller.helper.d.ts +15 -0
- package/dist/src/helpers/style.helpers.d.ts +3 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/interfaces/actionable.interface.d.ts +6 -0
- package/dist/src/interfaces/atomic.interface.d.ts +6 -0
- package/dist/src/interfaces/changeable.interface.d.ts +8 -0
- package/dist/src/interfaces/child-support-atomic.interface.d.ts +5 -0
- package/dist/src/interfaces/index.d.ts +6 -0
- package/dist/src/interfaces/intractable.interface.d.ts +6 -0
- package/dist/src/interfaces/variant.interface.d.ts +3 -0
- package/dist/src/lib/index.d.ts +0 -0
- package/dist/src/lib/next/next.lib.d.ts +0 -0
- package/dist/src/lib/react/react.lib.d.ts +5 -0
- package/dist/src/lib/tw-styles.d.ts +1 -0
- package/dist/src/styles/index.d.ts +1 -0
- package/dist/src/styles/tw.styles.d.ts +1 -0
- package/dist/src/wc-ui-app.d.ts +7 -0
- package/package.json +16 -26
- package/dist/index.ts +0 -1
- package/dist/rollup-plugin-html-noop.js +0 -1
- package/dist/sw.js +0 -2
- package/dist/sw.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/workbox-a523fd56.js +0 -2
- package/dist/workbox-a523fd56.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
export declare function arrowUpCircleIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function arrowsIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function chorvenDownIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function circleCheckIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function circleXIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function circleIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function helpCircleIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export * from './arrows.icon';
|
2
|
+
export * from './tick.icon';
|
3
|
+
export * from './search.icon';
|
4
|
+
export * from './help-circle.icon';
|
5
|
+
export * from './circle.icon';
|
6
|
+
export * from './arrow-up-circle.icon';
|
7
|
+
export * from './circle-check.icon';
|
8
|
+
export * from './circle-x.icon';
|
9
|
+
export * from './radio.icon';
|
10
|
+
export * from './chorven-down.icon';
|
11
|
+
export * from './radio-group.icon';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function radioGroupIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function radioIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function searchIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function tickIcon(): import('lit-html').TemplateResult<2>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit-element';
|
2
|
+
import { Accordion } from './accordion.atoms';
|
3
|
+
|
4
|
+
declare class AccordionContent extends LitElement {
|
5
|
+
value: string;
|
6
|
+
selectedValue: string;
|
7
|
+
static styles: import('lit-element').CSSResult[];
|
8
|
+
get _accordion(): Accordion | null;
|
9
|
+
protected updated(_changedProperties: PropertyValues): void;
|
10
|
+
render(): import('lit-html').TemplateResult<1>;
|
11
|
+
}
|
12
|
+
export { AccordionContent };
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { PropertyValues } from 'lit-element';
|
2
|
+
import { BaseElement } from '../../../helpers';
|
3
|
+
import { Accordion } from './accordion.atoms';
|
4
|
+
|
5
|
+
declare class AccordionItem extends BaseElement {
|
6
|
+
value: string;
|
7
|
+
tabindex: number;
|
8
|
+
static styles: import('lit-element').CSSResult[];
|
9
|
+
protected getAttributesToExclude(): string[];
|
10
|
+
connectedCallback(): void;
|
11
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
12
|
+
disconnectedCallback(): void;
|
13
|
+
get _accordion(): Accordion | null;
|
14
|
+
handleClick: (event: MouseEvent) => void;
|
15
|
+
render(): import('lit-html').TemplateResult<1>;
|
16
|
+
}
|
17
|
+
export { AccordionItem };
|
18
|
+
declare global {
|
19
|
+
interface HTMLElementTagNameMap {
|
20
|
+
'rtg-accordion-item': AccordionItem;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
2
|
+
|
3
|
+
declare class AccordionTrigger extends BaseElement {
|
4
|
+
defaultValue: string;
|
5
|
+
value: string;
|
6
|
+
onClickCallback?: (tabValue: string) => void;
|
7
|
+
static styles: import('lit-element').CSSResult[];
|
8
|
+
connectedCallback(): void;
|
9
|
+
protected getAttributesToExclude(): string[];
|
10
|
+
render(): import('lit-html').TemplateResult<1>;
|
11
|
+
}
|
12
|
+
export { AccordionTrigger };
|
13
|
+
declare global {
|
14
|
+
interface HTMLElementTagNameMap {
|
15
|
+
'rtg-accordion-trigger': AccordionTrigger;
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
2
|
+
import { AccordionItem } from './accordion-item';
|
3
|
+
import { AccordionTrigger } from './accordion-trigger';
|
4
|
+
import { AccordionContent } from './accordion-content';
|
5
|
+
import { ACCORDION_GROUP_TYPE } from './accordion.defs';
|
6
|
+
|
7
|
+
declare class Accordion extends BaseElement {
|
8
|
+
static styles: import('lit').CSSResult[];
|
9
|
+
type: ACCORDION_GROUP_TYPE;
|
10
|
+
selectedItems: string[];
|
11
|
+
protected getAttributesToExclude(): string[];
|
12
|
+
connectedCallback(): void;
|
13
|
+
disconnectedCallback(): void;
|
14
|
+
setSelectedItems(item: string): void;
|
15
|
+
raiseEvent(value: string): void;
|
16
|
+
render(): import('lit-html').TemplateResult<1>;
|
17
|
+
}
|
18
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
19
|
+
declare global {
|
20
|
+
interface HTMLElementTagNameMap {
|
21
|
+
'rtg-accordion': Accordion;
|
22
|
+
}
|
23
|
+
}
|
File without changes
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
import { AlertTitle } from './alert-title';
|
3
|
+
import { AlertDescription } from './alert-description';
|
4
|
+
|
5
|
+
declare class Alert extends LitElement {
|
6
|
+
static styles: import('lit').CSSResult[];
|
7
|
+
static alertVairants: (props?: ({
|
8
|
+
variant?: "error" | "success" | "warning" | "info" | null | undefined;
|
9
|
+
size?: "small" | "default" | "large" | null | undefined;
|
10
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
11
|
+
variant: 'success' | 'error' | 'warning' | 'info';
|
12
|
+
size: 'default' | 'large' | 'small';
|
13
|
+
private get alertClasses();
|
14
|
+
render(): import('lit-html').TemplateResult<1>;
|
15
|
+
}
|
16
|
+
export { Alert, AlertDescription, AlertTitle };
|
17
|
+
declare global {
|
18
|
+
interface HTMLElementTagNameMap {
|
19
|
+
'rtg-alert': Alert;
|
20
|
+
'rtg-alert-description': AlertDescription;
|
21
|
+
'rtg-alert-title': AlertTitle;
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
2
|
+
|
3
|
+
import * as badgeType from './badge.type';
|
4
|
+
export declare class Badge extends BaseElement {
|
5
|
+
static badgeVariants: (props?: ({
|
6
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
7
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
8
|
+
variant: badgeType.BadgeVariant;
|
9
|
+
static styles: import('lit').CSSResult[];
|
10
|
+
protected getAttributesToExclude(): string[];
|
11
|
+
render(): import('lit-html').TemplateResult<1>;
|
12
|
+
}
|
13
|
+
declare global {
|
14
|
+
interface HTMLElementTagNameMap {
|
15
|
+
'rtg-badge': Badge;
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export type BadgeVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
2
|
+
|
3
|
+
import * as buttonType from './button.type';
|
4
|
+
export declare class Button extends BaseElement {
|
5
|
+
static buttonVariants: (props?: ({
|
6
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
7
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
8
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
9
|
+
click: () => void;
|
10
|
+
disabled: boolean;
|
11
|
+
type: buttonType.ButtonType;
|
12
|
+
variant: buttonType.ButtonVariant;
|
13
|
+
size: buttonType.ButtonSize;
|
14
|
+
externalClass: string;
|
15
|
+
isCustomClass: boolean;
|
16
|
+
static styles: import('lit').CSSResult[];
|
17
|
+
private handleClick;
|
18
|
+
protected getAttributesToExclude(): string[];
|
19
|
+
render(): import('lit-html').TemplateResult<1>;
|
20
|
+
}
|
21
|
+
declare global {
|
22
|
+
interface HTMLElementTagNameMap {
|
23
|
+
'rtg-button': Button;
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export declare const buttonStyle: (props?: ({
|
2
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
3
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
4
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
import { CardTitle } from './card-title';
|
3
|
+
import { CardHeader } from './card-header';
|
4
|
+
import { CardFooter } from './card-footer';
|
5
|
+
import { CardDescription } from './card-description';
|
6
|
+
import { CardContent } from './card-content';
|
7
|
+
|
8
|
+
declare class Card extends LitElement {
|
9
|
+
static styles: import('lit').CSSResult[];
|
10
|
+
render(): import('lit-html').TemplateResult<1>;
|
11
|
+
}
|
12
|
+
export { Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, };
|
13
|
+
declare global {
|
14
|
+
interface HTMLElementTagNameMap {
|
15
|
+
'rtg-card': Card;
|
16
|
+
'rtg-card-title': CardTitle;
|
17
|
+
'rtg-card-header': CardHeader;
|
18
|
+
'rtg-card-footer': CardFooter;
|
19
|
+
'rtg-card-description': CardDescription;
|
20
|
+
'rtg-card-content': CardContent;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
import { CheckboxProperties } from './checkbox.type';
|
3
|
+
|
4
|
+
export declare class Checkbox extends LitElement implements CheckboxProperties {
|
5
|
+
disabled: boolean;
|
6
|
+
checked: boolean;
|
7
|
+
type: string;
|
8
|
+
value: string;
|
9
|
+
required: boolean;
|
10
|
+
static styles: import('lit').CSSResult[];
|
11
|
+
private _onClick;
|
12
|
+
click(): void;
|
13
|
+
render(): import('lit-html').TemplateResult<1>;
|
14
|
+
}
|
15
|
+
declare global {
|
16
|
+
interface HTMLElementTagNameMap {
|
17
|
+
'rtg-checkbox': Checkbox;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export declare const checkboxStyles = "peer h-4 w-4 align-middle shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground";
|
2
|
+
export declare const iconStyles = "flex items-center justify-center text-current pointer-events-none";
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export type CheckboxProperties = {
|
2
|
+
disabled: boolean;
|
3
|
+
checked: boolean;
|
4
|
+
};
|
5
|
+
export type CheckboxArgs = {
|
6
|
+
disabled: boolean;
|
7
|
+
checked: boolean;
|
8
|
+
label: string;
|
9
|
+
};
|
10
|
+
export type CheckboxWithRequiredArgs = {
|
11
|
+
disabled: boolean;
|
12
|
+
checked: boolean;
|
13
|
+
required: boolean;
|
14
|
+
label: string;
|
15
|
+
value?: string;
|
16
|
+
};
|
17
|
+
export type CheckboxWithValueArgs = {
|
18
|
+
disabled: boolean;
|
19
|
+
value: string;
|
20
|
+
label: string;
|
21
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
|
3
|
+
export declare class ComboBoxInput extends LitElement {
|
4
|
+
value: string;
|
5
|
+
handleClick: () => void;
|
6
|
+
handleKeyDown: () => void;
|
7
|
+
static styles: import('lit').CSSResult[];
|
8
|
+
render(): import('lit-html').TemplateResult<1>;
|
9
|
+
}
|
10
|
+
declare global {
|
11
|
+
interface HTMLElementTagNameMap {
|
12
|
+
'rtg-combo-box-input': ComboBoxInput;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
|
3
|
+
export declare class ComboBoxItem extends LitElement {
|
4
|
+
key: string;
|
5
|
+
searchText: string;
|
6
|
+
value: string;
|
7
|
+
tabindex: number;
|
8
|
+
isSelected: boolean;
|
9
|
+
class: string;
|
10
|
+
onSelect: () => void;
|
11
|
+
static styles: import('lit').CSSResult[];
|
12
|
+
render(): import('lit-html').TemplateResult<1>;
|
13
|
+
}
|
14
|
+
declare global {
|
15
|
+
interface HTMLElementTagNameMap {
|
16
|
+
'rtg-combo-box-item': ComboBoxItem;
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
import { ComboBox } from './combo-box.atom';
|
3
|
+
|
4
|
+
export declare class ComboBoxList extends LitElement {
|
5
|
+
static styles: import('lit').CSSResult[];
|
6
|
+
state: string;
|
7
|
+
isOpen: boolean;
|
8
|
+
get _popover(): ComboBox | null;
|
9
|
+
render(): import('lit-html').TemplateResult<1>;
|
10
|
+
}
|
11
|
+
declare global {
|
12
|
+
interface HTMLElementTagNameMap {
|
13
|
+
'rtg-combo-box-list': ComboBoxList;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
2
|
+
|
3
|
+
declare class ComboBox extends LitElement {
|
4
|
+
static styles: import('lit').CSSResult[];
|
5
|
+
isOpen: boolean;
|
6
|
+
selectedValue: string;
|
7
|
+
searchTerm: string;
|
8
|
+
focusedIndex: number;
|
9
|
+
filteredItems: string[];
|
10
|
+
label: string;
|
11
|
+
items: never[];
|
12
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
13
|
+
toggleDropdown(): void;
|
14
|
+
selectItem(event: Event): void;
|
15
|
+
handleInputClick(): void;
|
16
|
+
handleSearch(event: Event): void;
|
17
|
+
handleKeyDown(event: KeyboardEvent): void;
|
18
|
+
handleMouseOver(event: Event, index: number): void;
|
19
|
+
connectedCallback(): void;
|
20
|
+
disconnectedCallback(): void;
|
21
|
+
handleClickOutside(e: MouseEvent): void;
|
22
|
+
updateFocus(): void;
|
23
|
+
render(): import('lit-html').TemplateResult<1>;
|
24
|
+
}
|
25
|
+
export { ComboBox };
|
26
|
+
declare global {
|
27
|
+
interface HTMLElementTagNameMap {
|
28
|
+
'rtg-combo-box': ComboBox;
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
|
3
|
+
export declare class CommandEmpty extends LitElement {
|
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,11 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
|
3
|
+
export declare class CommandGroup extends LitElement {
|
4
|
+
heading: string;
|
5
|
+
_id: string;
|
6
|
+
_hidden: string;
|
7
|
+
private static _counter;
|
8
|
+
static styles: import('lit').CSSResult[];
|
9
|
+
private get identifier();
|
10
|
+
render(): import('lit-html').TemplateResult<1>;
|
11
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
|
3
|
+
export declare class CommandInput extends LitElement {
|
4
|
+
placeholder: string;
|
5
|
+
_value: string;
|
6
|
+
static styles: import('lit').CSSResult[];
|
7
|
+
private get identifier();
|
8
|
+
private filterItems;
|
9
|
+
private handleChange;
|
10
|
+
render(): import('lit-html').TemplateResult<1>;
|
11
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
|
3
|
+
export declare class CommandItem extends LitElement {
|
4
|
+
private static _counter;
|
5
|
+
static styles: import('lit').CSSResult[];
|
6
|
+
selected: boolean;
|
7
|
+
_id: string;
|
8
|
+
_hidden: string;
|
9
|
+
onSelect: () => void;
|
10
|
+
private get identifier();
|
11
|
+
get value(): string;
|
12
|
+
private handleMouseEvent;
|
13
|
+
render(): import('lit-html').TemplateResult<1>;
|
14
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
|
3
|
+
export declare class CommandSeparator extends LitElement {
|
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,16 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
|
3
|
+
export declare class ContextMenuCheckboxItem extends LitElement {
|
4
|
+
_id: string;
|
5
|
+
_hidden: string;
|
6
|
+
private static _counter;
|
7
|
+
static styles: import('lit').CSSResult[];
|
8
|
+
private get identifier();
|
9
|
+
get value(): string;
|
10
|
+
selected: boolean;
|
11
|
+
private handleMouseEvent;
|
12
|
+
checked: boolean;
|
13
|
+
disabled: boolean;
|
14
|
+
toggleChecked(): void;
|
15
|
+
render(): import('lit-html').TemplateResult<1>;
|
16
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
2
|
+
import { ContextMenu } from './context-menu.atom';
|
3
|
+
|
4
|
+
export declare class ContextMenuContent extends LitElement {
|
5
|
+
static styles: import('lit').CSSResult[];
|
6
|
+
state: string;
|
7
|
+
isOpen: boolean;
|
8
|
+
get _contextMenu(): ContextMenu | null;
|
9
|
+
connectedCallback(): void;
|
10
|
+
disconnectedCallback(): void;
|
11
|
+
updated(changedProps: PropertyValues): void;
|
12
|
+
handleClickOutside(event: MouseEvent): void;
|
13
|
+
render(): import('lit-html').TemplateResult<1>;
|
14
|
+
}
|