revotech-ui-kit 0.0.25 → 0.0.27
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 +1532 -1311
- package/dist/revotech-ui-kit.umd.cjs +278 -149
- package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/arrows.icon.d.ts +1 -1
- package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -1
- package/dist/src/assets/icons/circle-check.icon.d.ts +1 -1
- package/dist/src/assets/icons/circle-x.icon.d.ts +1 -1
- package/dist/src/assets/icons/circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/close.icon.d.ts +1 -1
- package/dist/src/assets/icons/dot.icon.d.ts +1 -1
- package/dist/src/assets/icons/help-circle.icon.d.ts +1 -1
- package/dist/src/assets/icons/radio-group.icon.d.ts +1 -1
- package/dist/src/assets/icons/radio.icon.d.ts +1 -1
- package/dist/src/assets/icons/search.icon.d.ts +1 -1
- package/dist/src/assets/icons/tick.icon.d.ts +1 -1
- package/dist/src/components/atoms/accordion/accordion-content.d.ts +2 -3
- package/dist/src/components/atoms/accordion/accordion-item.d.ts +2 -3
- package/dist/src/components/atoms/accordion/accordion-trigger.d.ts +2 -3
- package/dist/src/components/atoms/accordion/accordion.atoms.d.ts +2 -3
- package/dist/src/components/atoms/accordion/accordion.stories.d.ts +1 -2
- package/dist/src/components/atoms/alert/alert-description.d.ts +2 -3
- package/dist/src/components/atoms/alert/alert-title.d.ts +2 -3
- package/dist/src/components/atoms/alert/alert.atom.d.ts +3 -4
- package/dist/src/components/atoms/alert/alert.stories.d.ts +0 -1
- package/dist/src/components/atoms/alert/alert.styles.d.ts +1 -1
- package/dist/src/components/atoms/aspect-ratio/aspect-ratio-atom.d.ts +11 -0
- package/dist/src/components/atoms/aspect-ratio/aspect-ratio.stories.d.ts +4 -0
- package/dist/src/components/atoms/avatar/avatar-fallback.d.ts +2 -3
- package/dist/src/components/atoms/avatar/avatar-image.d.ts +2 -3
- package/dist/src/components/atoms/avatar/avatar.atom.d.ts +2 -3
- package/dist/src/components/atoms/avatar/avatar.stories.d.ts +0 -1
- package/dist/src/components/atoms/badge/badge.atom.d.ts +3 -4
- package/dist/src/components/atoms/badge/badge.stories.d.ts +1 -2
- package/dist/src/components/atoms/badge/badge.style.d.ts +1 -1
- package/dist/src/components/atoms/button/button.atom.d.ts +3 -4
- package/dist/src/components/atoms/button/button.stories.d.ts +1 -2
- package/dist/src/components/atoms/button/button.style.d.ts +1 -1
- package/dist/src/components/atoms/card/card-content.d.ts +2 -3
- package/dist/src/components/atoms/card/card-description.d.ts +2 -3
- package/dist/src/components/atoms/card/card-footer.d.ts +2 -3
- package/dist/src/components/atoms/card/card-header.d.ts +2 -3
- package/dist/src/components/atoms/card/card-title.d.ts +2 -3
- package/dist/src/components/atoms/card/card.atom.d.ts +2 -3
- package/dist/src/components/atoms/card/card.stories.d.ts +1 -2
- package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +2 -3
- package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +1 -2
- package/dist/src/components/atoms/collapsible/collapsible-content.d.ts +2 -3
- package/dist/src/components/atoms/collapsible/collapsible-trigger.d.ts +2 -3
- package/dist/src/components/atoms/collapsible/collapsible.atom.d.ts +2 -3
- package/dist/src/components/atoms/collapsible/collapsible.stories.d.ts +1 -2
- package/dist/src/components/atoms/combobox/combo-box-input.d.ts +2 -3
- package/dist/src/components/atoms/combobox/combo-box-item.d.ts +3 -3
- package/dist/src/components/atoms/combobox/combo-box-list.d.ts +2 -3
- package/dist/src/components/atoms/combobox/combo-box.atom.d.ts +11 -7
- package/dist/src/components/atoms/combobox/combo-box.stories.d.ts +1 -2
- package/dist/src/components/atoms/command/command-empty.atom.d.ts +2 -3
- package/dist/src/components/atoms/command/command-group.atom.d.ts +2 -3
- package/dist/src/components/atoms/command/command-input.atom.d.ts +2 -3
- package/dist/src/components/atoms/command/command-item.atom.d.ts +2 -3
- package/dist/src/components/atoms/command/command-list.atom.d.ts +2 -3
- package/dist/src/components/atoms/command/command-separator.atom.d.ts +2 -3
- package/dist/src/components/atoms/command/command.atom.d.ts +2 -3
- package/dist/src/components/atoms/command/command.stories.d.ts +0 -1
- package/dist/src/components/atoms/context-menu/context-menu-checkbox-Item.d.ts +2 -3
- package/dist/src/components/atoms/context-menu/context-menu-content.d.ts +2 -3
- package/dist/src/components/atoms/context-menu/context-menu-group.d.ts +2 -3
- package/dist/src/components/atoms/context-menu/context-menu-item.d.ts +2 -3
- package/dist/src/components/atoms/context-menu/context-menu-radio-item.d.ts +2 -3
- package/dist/src/components/atoms/context-menu/context-menu-seperator.d.ts +2 -3
- package/dist/src/components/atoms/context-menu/context-menu-shortcut.d.ts +2 -3
- package/dist/src/components/atoms/context-menu/context-menu.atom.d.ts +2 -3
- package/dist/src/components/atoms/context-menu/contextMenu.stories.d.ts +0 -1
- package/dist/src/components/atoms/context-menu/contextMenu.style.d.ts +2 -2
- package/dist/src/components/atoms/dialog/dialog-close.d.ts +2 -3
- package/dist/src/components/atoms/dialog/dialog-content.d.ts +2 -3
- package/dist/src/components/atoms/dialog/dialog-footer.d.ts +2 -3
- package/dist/src/components/atoms/dialog/dialog-header.d.ts +2 -3
- package/dist/src/components/atoms/dialog/dialog-overly.d.ts +2 -3
- package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +2 -3
- package/dist/src/components/atoms/dialog/dialog.atom.d.ts +2 -3
- package/dist/src/components/atoms/dialog/dialog.stories.d.ts +0 -1
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +2 -3
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-content.d.ts +2 -3
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-group.d.ts +2 -3
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-item.d.ts +2 -3
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-radio-item.d.ts +2 -3
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-seperator.d.ts +2 -3
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-shortcut.d.ts +2 -3
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu.atom.d.ts +2 -3
- package/dist/src/components/atoms/dropdown-menu/dropdownMenu.stories.d.ts +0 -1
- package/dist/src/components/atoms/dropdown-menu/dropdownMenu.style.d.ts +2 -2
- package/dist/src/components/atoms/hoverCard/hover-card-content.d.ts +2 -3
- package/dist/src/components/atoms/hoverCard/hover-card.atom.d.ts +2 -3
- package/dist/src/components/atoms/hoverCard/hover-card.stories.d.ts +0 -1
- package/dist/src/components/atoms/index.d.ts +1 -0
- package/dist/src/components/atoms/input/input.atom.d.ts +3 -4
- package/dist/src/components/atoms/input/input.stories.d.ts +0 -1
- package/dist/src/components/atoms/label/label.atom.d.ts +3 -4
- package/dist/src/components/atoms/label/label.stories.d.ts +0 -1
- package/dist/src/components/atoms/label/label.style.d.ts +1 -1
- package/dist/src/components/atoms/popover/popover-content.d.ts +2 -3
- package/dist/src/components/atoms/popover/popover-trigger.d.ts +2 -3
- package/dist/src/components/atoms/popover/popover.atom.d.ts +2 -3
- package/dist/src/components/atoms/popover/popover.stories.d.ts +0 -1
- package/dist/src/components/atoms/popover/popover.style.d.ts +3 -3
- package/dist/src/components/atoms/radio-group/radio-group-item.d.ts +2 -3
- package/dist/src/components/atoms/radio-group/radio-group.atom.d.ts +2 -3
- package/dist/src/components/atoms/radio-group/radio-group.stories.d.ts +0 -1
- package/dist/src/components/atoms/sample-demo/sample-demo.d.ts +3 -4
- package/dist/src/components/atoms/sample-demo/sample.style.d.ts +1 -1
- package/dist/src/components/atoms/select/select-item.d.ts +3 -3
- package/dist/src/components/atoms/select/select-label.d.ts +2 -3
- package/dist/src/components/atoms/select/select-list.d.ts +2 -3
- package/dist/src/components/atoms/select/select-seperator.d.ts +2 -3
- package/dist/src/components/atoms/select/select.atom.d.ts +8 -3
- package/dist/src/components/atoms/select/select.stories.d.ts +1 -2
- package/dist/src/components/atoms/seperator/separator.atom.d.ts +2 -3
- package/dist/src/components/atoms/seperator/separator.stories.d.ts +1 -2
- package/dist/src/components/atoms/switch/switch.atom.d.ts +2 -3
- package/dist/src/components/atoms/switch/switch.stories.d.ts +0 -1
- package/dist/src/components/atoms/textarea/textarea.atom.d.ts +2 -3
- package/dist/src/components/atoms/textarea/textarea.stories.d.ts +0 -1
- package/dist/src/components/atoms/toast/toast-action.d.ts +3 -4
- package/dist/src/components/atoms/toast/toast-description.d.ts +2 -3
- package/dist/src/components/atoms/toast/toast-title.d.ts +2 -3
- package/dist/src/components/atoms/toast/toast-view-port.d.ts +3 -4
- package/dist/src/components/atoms/toast/toast.atom.d.ts +2 -3
- package/dist/src/components/atoms/toast/toast.stories.d.ts +0 -1
- package/dist/src/components/atoms/toast/toast.style.d.ts +2 -2
- package/dist/src/components/atoms/toggle/toggle.atom.d.ts +3 -4
- package/dist/src/components/atoms/toggle/toggle.stories.d.ts +1 -2
- package/dist/src/components/atoms/toggle/toggle.style.d.ts +1 -1
- package/dist/src/components/molecules/breadcrumb/breadcrumb-ellipsis.d.ts +2 -3
- package/dist/src/components/molecules/breadcrumb/breadcrumb-item.d.ts +2 -3
- package/dist/src/components/molecules/breadcrumb/breadcrumb-link.d.ts +2 -3
- package/dist/src/components/molecules/breadcrumb/breadcrumb-list.d.ts +2 -3
- package/dist/src/components/molecules/breadcrumb/breadcrumb-separator.d.ts +2 -3
- package/dist/src/components/molecules/breadcrumb/breadcrumb-text.d.ts +2 -3
- package/dist/src/components/molecules/breadcrumb/breadcrumb.molecules.d.ts +2 -3
- package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +0 -1
- package/dist/src/components/molecules/input-otp/input-otp-group.d.ts +5 -4
- package/dist/src/components/molecules/input-otp/input-otp-separator.d.ts +5 -7
- package/dist/src/components/molecules/input-otp/input-otp-slot.d.ts +16 -4
- package/dist/src/components/molecules/input-otp/input-otp.molecule.d.ts +13 -23
- package/dist/src/components/molecules/input-otp/input-otp.stories.d.ts +4 -0
- package/dist/src/components/molecules/tabs/tab-contents.d.ts +1 -2
- package/dist/src/components/molecules/tabs/tab-list.d.ts +2 -3
- package/dist/src/components/molecules/tabs/tab-trigger.d.ts +2 -3
- package/dist/src/components/molecules/tabs/tab.molecules.d.ts +2 -3
- package/dist/src/components/molecules/tabs/tab.stories.d.ts +0 -1
- package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +3 -4
- package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +2 -3
- package/dist/src/components/molecules/toggle-group/toggle-group.stories.d.ts +1 -2
- package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +1 -1
- package/dist/src/helpers/base-element.d.ts +0 -1
- package/dist/src/helpers/mouse-conroller.helper.d.ts +0 -1
- package/dist/src/helpers/style.helpers.d.ts +1 -2
- package/dist/src/index.d.ts +2 -3
- package/dist/src/interfaces/actionable.interface.d.ts +1 -2
- package/dist/src/interfaces/changeable.interface.d.ts +1 -2
- package/dist/src/interfaces/child-support-atomic.interface.d.ts +0 -1
- package/dist/src/lib/react/react.lib.d.ts +2 -3
- package/dist/src/lib/tw-styles.d.ts +1 -1
- package/dist/src/styles/tw.styles.d.ts +1 -1
- package/dist/src/wc-ui-app.d.ts +2 -3
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
|
-
export declare const popoverRootStyle: (props?: import(
|
1
|
+
export declare const popoverRootStyle: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
2
2
|
export declare const popoverContentStyle: (props?: ({
|
3
3
|
state?: "open" | "closed" | null | undefined;
|
4
4
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
5
|
-
} & import(
|
5
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
6
6
|
export declare const popoverContentWithoutStyle: (props?: ({
|
7
7
|
state?: "open" | "closed" | null | undefined;
|
8
8
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
9
|
-
} & import(
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -1,14 +1,13 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
export declare class RadioGroupItem extends LitElement {
|
4
3
|
checked: boolean;
|
5
4
|
tabindex: number;
|
6
5
|
value: string;
|
7
6
|
id: string;
|
8
7
|
state: string;
|
9
|
-
static styles: import(
|
8
|
+
static styles: import("lit").CSSResult[];
|
10
9
|
private _onClick;
|
11
|
-
render(): import(
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
12
11
|
}
|
13
12
|
declare global {
|
14
13
|
interface HTMLElementTagNameMap {
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
2
|
import { RadioGroupItem } from './radio-group-item';
|
3
|
-
|
4
3
|
declare class RadioGroup extends LitElement {
|
5
|
-
static styles: import(
|
4
|
+
static styles: import("lit").CSSResult[];
|
6
5
|
connectedCallback(): void;
|
7
6
|
private _handleRadioSelected;
|
8
|
-
render(): import(
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
9
8
|
}
|
10
9
|
export { RadioGroupItem, RadioGroup };
|
11
10
|
declare global {
|
@@ -1,18 +1,17 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
import * as sampleType from './sample.type';
|
4
3
|
export declare class SampleDemo extends LitElement {
|
5
4
|
static buttonVariants: (props?: ({
|
6
5
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
7
6
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
8
|
-
} & import(
|
7
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
9
8
|
click: () => void;
|
10
9
|
disabled: boolean;
|
11
10
|
isCustomClass: boolean;
|
12
11
|
variant: sampleType.SampleVariant;
|
13
12
|
size: sampleType.SampleSize;
|
14
|
-
static styles: import(
|
15
|
-
render(): import(
|
13
|
+
static styles: import("lit").CSSResult[];
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
16
15
|
}
|
17
16
|
declare global {
|
18
17
|
interface HTMLElementTagNameMap {
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export declare const demoStyle: (props?: ({
|
2
2
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
3
3
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
4
|
-
} & import(
|
4
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
export declare class SelectItem extends LitElement {
|
4
3
|
key: string;
|
5
4
|
searchText: string;
|
@@ -8,6 +7,7 @@ export declare class SelectItem extends LitElement {
|
|
8
7
|
isSelected: boolean;
|
9
8
|
class: string;
|
10
9
|
onSelect: () => void;
|
11
|
-
static styles: import(
|
12
|
-
|
10
|
+
static styles: import("lit").CSSResult[];
|
11
|
+
connectedCallback(): void;
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
13
13
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
export declare class SelectLabel extends LitElement {
|
4
|
-
static styles: import(
|
5
|
-
render(): import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
6
5
|
}
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
export declare class SelectList extends LitElement {
|
4
|
-
static styles: import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
5
4
|
state: string;
|
6
5
|
isOpen: boolean;
|
7
|
-
render(): import(
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
8
7
|
}
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
export declare class SelectSeperator extends LitElement {
|
4
3
|
_id: string;
|
5
4
|
_hidden: string;
|
6
5
|
private static _counter;
|
7
|
-
static styles: import(
|
6
|
+
static styles: import("lit").CSSResult[];
|
8
7
|
private get identifier();
|
9
|
-
render(): import(
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
10
9
|
}
|
@@ -3,23 +3,28 @@ import { SelectItem } from './select-item';
|
|
3
3
|
import { SelectList } from './select-list';
|
4
4
|
import { SelectLabel } from './select-label';
|
5
5
|
import { SelectSeperator } from './select-seperator';
|
6
|
-
|
7
6
|
declare class Select extends LitElement {
|
8
|
-
static styles: import(
|
7
|
+
static styles: import("lit").CSSResult[];
|
8
|
+
selectId: `${string}-${string}-${string}-${string}-${string}`;
|
9
9
|
isOpen: boolean;
|
10
10
|
selectedValue: string;
|
11
11
|
searchTerm: string;
|
12
12
|
focusedIndex: number;
|
13
13
|
filteredItems: string[];
|
14
|
+
active: any;
|
14
15
|
label: string;
|
15
16
|
items: never[];
|
17
|
+
connectedCallback(): void;
|
18
|
+
disconnectedCallback(): void;
|
16
19
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
20
|
+
handleClickOutside: (event: any) => void;
|
17
21
|
toggleDropdown(): void;
|
18
22
|
selectItem(event: Event): void;
|
19
23
|
handleInputClick(): void;
|
20
24
|
handleKeyDown(event: KeyboardEvent): void;
|
21
25
|
handleMouseOver(event: Event, index: number): void;
|
22
|
-
|
26
|
+
raiseEvent(): void;
|
27
|
+
render(): import("lit-html").TemplateResult<1>;
|
23
28
|
}
|
24
29
|
export { Select, SelectItem, SelectList, SelectLabel, SelectSeperator };
|
25
30
|
declare global {
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
2
|
import { SEPARATOR_ORIENTATION } from './separator.defs';
|
3
|
-
|
4
3
|
export declare class Separator extends BaseElement {
|
5
4
|
orientation: SEPARATOR_ORIENTATION;
|
6
|
-
static styles: import(
|
5
|
+
static styles: import("lit").CSSResult[];
|
7
6
|
protected getAttributesToExclude(): string[];
|
8
|
-
render(): import(
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
9
8
|
}
|
10
9
|
declare global {
|
11
10
|
interface HTMLElementTagNameMap {
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
export declare class Switch extends LitElement {
|
4
3
|
checked: boolean;
|
5
4
|
disabled: boolean;
|
6
|
-
static styles: import(
|
5
|
+
static styles: import("lit").CSSResult[];
|
7
6
|
private _toggleChecked;
|
8
|
-
render(): import(
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
9
8
|
}
|
10
9
|
declare global {
|
11
10
|
interface HTMLElementTagNameMap {
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { PropertyValues } from 'lit';
|
2
2
|
import { BaseElement } from '../../../helpers';
|
3
|
-
|
4
3
|
export declare class TextArea extends BaseElement {
|
5
4
|
constructor();
|
6
5
|
disabled: boolean;
|
@@ -9,9 +8,9 @@ export declare class TextArea extends BaseElement {
|
|
9
8
|
rows: string;
|
10
9
|
cols: string;
|
11
10
|
value: string;
|
12
|
-
static styles: import(
|
11
|
+
static styles: import("lit").CSSResult[];
|
13
12
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
14
13
|
handleInputChange(event: Event): void;
|
15
14
|
protected getAttributesToExclude(): string[];
|
16
|
-
render(): import(
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
17
16
|
}
|
@@ -1,15 +1,14 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
import * as toastType from './toast.type';
|
4
3
|
export declare class ToastAction extends LitElement {
|
5
4
|
static toastVariants: (props?: ({
|
6
5
|
variant?: "default" | "destructive" | null | undefined;
|
7
|
-
} & import(
|
8
|
-
static styles: import(
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
7
|
+
static styles: import("lit").CSSResult[];
|
9
8
|
variant: toastType.ToastVariant;
|
10
9
|
getAttributesToExclude(): string[];
|
11
10
|
protected getFilteredAttributes(): {
|
12
11
|
[key: string]: string;
|
13
12
|
};
|
14
|
-
render(): import(
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
15
14
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
export declare class ToastDescription extends LitElement {
|
4
|
-
static styles: import(
|
5
|
-
render(): import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
6
5
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
export declare class ToastTitle extends LitElement {
|
4
|
-
static styles: import(
|
5
|
-
render(): import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
6
5
|
}
|
@@ -1,13 +1,12 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
-
|
3
2
|
import * as toastType from './toast.type';
|
4
3
|
export declare class ToastViewPort extends LitElement {
|
5
4
|
static toastVariants: (props?: ({
|
6
5
|
variant?: "default" | "destructive" | null | undefined;
|
7
|
-
} & import(
|
8
|
-
static styles: import(
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
7
|
+
static styles: import("lit").CSSResult[];
|
9
8
|
variant: toastType.ToastVariant;
|
10
9
|
state: string;
|
11
10
|
private handleCloseButtonClick;
|
12
|
-
render(): import(
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
13
12
|
}
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
2
|
-
|
3
2
|
export declare class Toast extends LitElement {
|
4
|
-
static styles: import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
5
4
|
isOpen: boolean;
|
6
5
|
onClick(): void;
|
7
6
|
connectedCallback(): void;
|
8
7
|
private get _content();
|
9
8
|
protected updated(_changedProperties: PropertyValues): void;
|
10
|
-
render(): import(
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
11
10
|
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare const toastStyle: (props?: ({
|
2
2
|
variant?: "default" | "destructive" | null | undefined;
|
3
|
-
} & import(
|
3
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
4
4
|
export declare const toastActionStyle: (props?: ({
|
5
5
|
variant?: "default" | "destructive" | null | undefined;
|
6
|
-
} & import(
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
7
7
|
export declare const toastActionStyles = "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive";
|
8
8
|
export declare const toastViewStyles = "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]";
|
9
9
|
export declare const toastButtonStyles = "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600";
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { TOGGLE_SIZE, TOGGLE_VARIANT } from './toggle.defs';
|
2
2
|
import { BaseElement } from '../../../helpers';
|
3
|
-
|
4
3
|
export { TOGGLE_SIZE, TOGGLE_VARIANT };
|
5
4
|
declare class Toggle extends BaseElement {
|
6
5
|
disabled: boolean;
|
@@ -8,13 +7,13 @@ declare class Toggle extends BaseElement {
|
|
8
7
|
required: boolean;
|
9
8
|
variant: TOGGLE_VARIANT;
|
10
9
|
size: TOGGLE_SIZE;
|
11
|
-
static styles: import(
|
10
|
+
static styles: import("lit-element").CSSResult[];
|
12
11
|
static toggleVariants: (props?: ({
|
13
12
|
variant?: "default" | "outline" | null | undefined;
|
14
13
|
size?: "sm" | "lg" | "md" | null | undefined;
|
15
|
-
} & import(
|
14
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
16
15
|
protected getAttributesToExclude(): string[];
|
17
16
|
toggle(): void;
|
18
|
-
render(): import(
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
19
18
|
}
|
20
19
|
export { Toggle };
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export declare const toggleStyle: (props?: ({
|
2
2
|
variant?: "default" | "outline" | null | undefined;
|
3
3
|
size?: "sm" | "lg" | "md" | null | undefined;
|
4
|
-
} & import(
|
4
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
2
|
export declare class BreadCrumbEllipsis extends BaseElement {
|
4
|
-
static styles: import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
5
4
|
protected getAttributesToExclude(): string[];
|
6
|
-
render(): import(
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
7
6
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
2
|
export declare class BreadCrumbItem extends BaseElement {
|
4
|
-
static styles: import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
5
4
|
protected getAttributesToExclude(): string[];
|
6
|
-
render(): import(
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
7
6
|
}
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
2
|
export declare class BreadCrumbLink extends BaseElement {
|
4
3
|
href: string;
|
5
|
-
static styles: import(
|
4
|
+
static styles: import("lit").CSSResult[];
|
6
5
|
protected getAttributesToExclude(): string[];
|
7
|
-
render(): import(
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
8
7
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
2
|
export declare class BreadCrumbList extends BaseElement {
|
4
|
-
static styles: import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
5
4
|
protected getAttributesToExclude(): string[];
|
6
|
-
render(): import(
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
7
6
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
2
|
export declare class BreadCrumbSeparator extends BaseElement {
|
4
|
-
static styles: import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
5
4
|
protected getAttributesToExclude(): string[];
|
6
|
-
render(): import(
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
7
6
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
2
|
export declare class BreadCrumbText extends BaseElement {
|
4
|
-
static styles: import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
5
4
|
protected getAttributesToExclude(): string[];
|
6
|
-
render(): import(
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
7
6
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
2
|
export declare class BreadCrumb extends BaseElement {
|
4
|
-
static styles: import(
|
3
|
+
static styles: import("lit").CSSResult[];
|
5
4
|
protected getAttributesToExclude(): string[];
|
6
|
-
render(): import(
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
7
6
|
}
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
2
|
export declare class InputOtpGroup extends BaseElement {
|
4
3
|
click: () => void;
|
5
|
-
|
4
|
+
private childrenArray;
|
5
|
+
static styles: import("lit").CSSResult[];
|
6
6
|
protected getAttributesToExclude(): string[];
|
7
|
-
|
7
|
+
firstUpdated(changedProperties: Map<string, unknown>): void;
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
8
9
|
}
|
9
10
|
declare global {
|
10
11
|
interface HTMLElementTagNameMap {
|
11
|
-
'input-otp-group': InputOtpGroup;
|
12
|
+
'rtg-input-otp-group': InputOtpGroup;
|
12
13
|
}
|
13
14
|
}
|
@@ -1,13 +1,11 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
export declare class InputOtpSeparator extends BaseElement {
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class InputOtpSeparator extends LitElement {
|
4
3
|
index: number;
|
5
|
-
static styles: import(
|
6
|
-
|
7
|
-
render(): import('lit-html').TemplateResult<1>;
|
4
|
+
static styles: import("lit").CSSResult[];
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
8
6
|
}
|
9
7
|
declare global {
|
10
8
|
interface HTMLElementTagNameMap {
|
11
|
-
'input-otp-separator': InputOtpSeparator;
|
9
|
+
'rtg-input-otp-separator': InputOtpSeparator;
|
12
10
|
}
|
13
11
|
}
|
@@ -1,13 +1,25 @@
|
|
1
|
+
import { PropertyValues } from 'lit';
|
1
2
|
import { BaseElement } from '../../../helpers';
|
2
|
-
|
3
|
+
import { InputOtp } from './input-otp.molecule';
|
3
4
|
export declare class InputOtpSlot extends BaseElement {
|
4
5
|
click: () => void;
|
5
|
-
|
6
|
+
index: number;
|
7
|
+
isFirst: boolean;
|
8
|
+
isLast: boolean;
|
9
|
+
value: string;
|
10
|
+
static styles: import("lit").CSSResult[];
|
11
|
+
get _inputOtp(): InputOtp | null;
|
12
|
+
connectedCallback(): void;
|
13
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
14
|
+
disconnectedCallback(): void;
|
6
15
|
protected getAttributesToExclude(): string[];
|
7
|
-
|
16
|
+
private handleFocus;
|
17
|
+
private handleInputChange;
|
18
|
+
private handleKeyDown;
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
8
20
|
}
|
9
21
|
declare global {
|
10
22
|
interface HTMLElementTagNameMap {
|
11
|
-
'input-otp-slot': InputOtpSlot;
|
23
|
+
'rtg-input-otp-slot': InputOtpSlot;
|
12
24
|
}
|
13
25
|
}
|
@@ -1,30 +1,20 @@
|
|
1
|
-
import { PropertyValueMap } from 'lit';
|
2
1
|
import { BaseElement } from '../../../helpers';
|
3
|
-
import { Ref } from 'lit/directives/ref.js';
|
4
|
-
|
5
2
|
export declare class InputOtp extends BaseElement {
|
6
|
-
|
7
|
-
|
3
|
+
constructor();
|
4
|
+
connectedCallback(): void;
|
5
|
+
static styles: import("lit").CSSResult[];
|
8
6
|
protected getAttributesToExclude(): string[];
|
9
|
-
|
10
|
-
|
11
|
-
pinLength: number;
|
12
|
-
onChange: (otp: string, username: string) => void;
|
13
|
-
static PIN_MIN_VALUE: string;
|
14
|
-
static PIN_MAX_VALUE: string;
|
15
|
-
static BACKSPACE_KEY: string;
|
7
|
+
maxLength: number;
|
8
|
+
onChange: () => void;
|
16
9
|
pin: any[];
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
handleKeyDown(event: any, index: number): void;
|
26
|
-
handleShowValue(index: number): any;
|
27
|
-
render(): import('lit-html').TemplateResult<1>;
|
10
|
+
inputes: {
|
11
|
+
value: string;
|
12
|
+
index: number;
|
13
|
+
isSelected: boolean;
|
14
|
+
userIndex: number;
|
15
|
+
}[];
|
16
|
+
raiseEvent(index: number, eventType?: 'changes' | 'focus', customIndex?: number): void;
|
17
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
28
18
|
}
|
29
19
|
declare global {
|
30
20
|
interface HTMLElementTagNameMap {
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit-element';
|
2
2
|
import { Tab } from './tab.molecules';
|
3
|
-
|
4
3
|
declare class TabContent extends LitElement {
|
5
4
|
value: string;
|
6
5
|
selectedValue: string;
|
@@ -8,6 +7,6 @@ declare class TabContent extends LitElement {
|
|
8
7
|
protected updated(_changedProperties: PropertyValues): void;
|
9
8
|
connectedCallback(): void;
|
10
9
|
disconnectedCallback(): void;
|
11
|
-
render(): import(
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
12
11
|
}
|
13
12
|
export { TabContent };
|
@@ -1,15 +1,14 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
2
|
import { Tab } from './tab.molecules';
|
3
|
-
|
4
3
|
declare class TabList extends BaseElement {
|
5
4
|
tabindex: number;
|
6
|
-
static styles: import(
|
5
|
+
static styles: import("lit-element").CSSResult[];
|
7
6
|
get _tab(): Tab | null;
|
8
7
|
protected getAttributesToExclude(): string[];
|
9
8
|
connectedCallback(): void;
|
10
9
|
disconnectedCallback(): void;
|
11
10
|
changeTabs(currentValue: string): void;
|
12
11
|
getChildren(): Node[];
|
13
|
-
render(): import(
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
14
13
|
}
|
15
14
|
export { TabList };
|