@revotech-group/revotech-ui-kit 0.0.50
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/LICENSE +21 -0
- package/README.md +30 -0
- package/dist/revotech-ui-kit.js +12825 -0
- package/dist/revotech-ui-kit.umd.cjs +5400 -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/close.icon.d.ts +1 -0
- package/dist/src/assets/icons/dot.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 +13 -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 +14 -0
- package/dist/src/components/atoms/accordion/accordion-item.d.ts +21 -0
- package/dist/src/components/atoms/accordion/accordion-trigger.d.ts +20 -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 +5 -0
- package/dist/src/components/atoms/accordion/accordion.styles.d.ts +0 -0
- package/dist/src/components/atoms/alert/alert-description.d.ts +5 -0
- package/dist/src/components/atoms/alert/alert-title.d.ts +5 -0
- package/dist/src/components/atoms/alert/alert.atom.d.ts +23 -0
- package/dist/src/components/atoms/alert/alert.stories.d.ts +5 -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/aspect-ratio/aspect-ratio-atom.d.ts +12 -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 +10 -0
- package/dist/src/components/atoms/avatar/avatar-image.d.ts +12 -0
- package/dist/src/components/atoms/avatar/avatar.atom.d.ts +11 -0
- package/dist/src/components/atoms/avatar/avatar.stories.d.ts +4 -0
- package/dist/src/components/atoms/avatar/avatar.style.d.ts +3 -0
- package/dist/src/components/atoms/badge/badge.atom.d.ts +18 -0
- package/dist/src/components/atoms/badge/badge.stories.d.ts +5 -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 +24 -0
- package/dist/src/components/atoms/button/button.stories.d.ts +5 -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/calendar/calendar.atom.d.ts +25 -0
- package/dist/src/components/atoms/calendar/calendar.stories.d.ts +4 -0
- package/dist/src/components/atoms/calendar/calendar.style.d.ts +4 -0
- package/dist/src/components/atoms/calendar/calendar.type.d.ts +2 -0
- package/dist/src/components/atoms/card/card-content.d.ts +5 -0
- package/dist/src/components/atoms/card/card-description.d.ts +5 -0
- package/dist/src/components/atoms/card/card-footer.d.ts +5 -0
- package/dist/src/components/atoms/card/card-header.d.ts +5 -0
- package/dist/src/components/atoms/card/card-title.d.ts +5 -0
- package/dist/src/components/atoms/card/card.atom.d.ts +21 -0
- package/dist/src/components/atoms/card/card.stories.d.ts +5 -0
- package/dist/src/components/atoms/carousel/carousel.atom.d.ts +21 -0
- package/dist/src/components/atoms/carousel/carousel.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 +6 -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/collapsible/collapsible-content.d.ts +11 -0
- package/dist/src/components/atoms/collapsible/collapsible-trigger.d.ts +14 -0
- package/dist/src/components/atoms/collapsible/collapsible.atom.d.ts +17 -0
- package/dist/src/components/atoms/collapsible/collapsible.stories.d.ts +5 -0
- package/dist/src/components/atoms/combobox/combo-box-empty.d.ts +11 -0
- package/dist/src/components/atoms/combobox/combo-box-group.d.ts +25 -0
- package/dist/src/components/atoms/combobox/combo-box-input.d.ts +18 -0
- package/dist/src/components/atoms/combobox/combo-box-item.d.ts +22 -0
- package/dist/src/components/atoms/combobox/combo-box-trigger.d.ts +15 -0
- package/dist/src/components/atoms/combobox/combo-box-value.d.ts +18 -0
- package/dist/src/components/atoms/combobox/combo-box.atom.d.ts +25 -0
- package/dist/src/components/atoms/combobox/combo-box.stories.d.ts +4 -0
- package/dist/src/components/atoms/command/command-empty.atom.d.ts +9 -0
- package/dist/src/components/atoms/command/command-group.atom.d.ts +10 -0
- package/dist/src/components/atoms/command/command-input.atom.d.ts +10 -0
- package/dist/src/components/atoms/command/command-item.atom.d.ts +13 -0
- package/dist/src/components/atoms/command/command-list.atom.d.ts +6 -0
- package/dist/src/components/atoms/command/command-separator.atom.d.ts +9 -0
- package/dist/src/components/atoms/command/command.atom.d.ts +7 -0
- package/dist/src/components/atoms/command/command.stories.d.ts +5 -0
- package/dist/src/components/atoms/context-menu/context-menu-checkbox-Item.d.ts +15 -0
- package/dist/src/components/atoms/context-menu/context-menu-content.d.ts +13 -0
- package/dist/src/components/atoms/context-menu/context-menu-group.d.ts +10 -0
- package/dist/src/components/atoms/context-menu/context-menu-item.d.ts +12 -0
- package/dist/src/components/atoms/context-menu/context-menu-radio-item.d.ts +15 -0
- package/dist/src/components/atoms/context-menu/context-menu-seperator.d.ts +9 -0
- package/dist/src/components/atoms/context-menu/context-menu-shortcut.d.ts +5 -0
- package/dist/src/components/atoms/context-menu/context-menu.atom.d.ts +33 -0
- package/dist/src/components/atoms/context-menu/contextMenu.stories.d.ts +4 -0
- package/dist/src/components/atoms/context-menu/contextMenu.style.d.ts +2 -0
- package/dist/src/components/atoms/date-picker/date-picker.atom.d.ts +13 -0
- package/dist/src/components/atoms/date-picker/date-picker.stories.d.ts +4 -0
- package/dist/src/components/atoms/dialog/dialog-close.d.ts +12 -0
- package/dist/src/components/atoms/dialog/dialog-content.d.ts +8 -0
- package/dist/src/components/atoms/dialog/dialog-footer.d.ts +5 -0
- package/dist/src/components/atoms/dialog/dialog-header.d.ts +7 -0
- package/dist/src/components/atoms/dialog/dialog-overly.d.ts +5 -0
- package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +8 -0
- package/dist/src/components/atoms/dialog/dialog.atom.d.ts +26 -0
- package/dist/src/components/atoms/dialog/dialog.stories.d.ts +6 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-checkbox-Item.d.ts +15 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-content.d.ts +13 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-group.d.ts +10 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-item.d.ts +12 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-radio-item.d.ts +15 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-seperator.d.ts +9 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu-shortcut.d.ts +5 -0
- package/dist/src/components/atoms/dropdown-menu/dropdown-menu.atom.d.ts +31 -0
- package/dist/src/components/atoms/dropdown-menu/dropdownMenu.stories.d.ts +6 -0
- package/dist/src/components/atoms/dropdown-menu/dropdownMenu.style.d.ts +2 -0
- package/dist/src/components/atoms/hoverCard/hover-card-content.d.ts +17 -0
- package/dist/src/components/atoms/hoverCard/hover-card.atom.d.ts +18 -0
- package/dist/src/components/atoms/hoverCard/hover-card.stories.d.ts +4 -0
- package/dist/src/components/atoms/index.d.ts +48 -0
- package/dist/src/components/atoms/input/input.atom.d.ts +22 -0
- package/dist/src/components/atoms/input/input.stories.d.ts +5 -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 +16 -0
- package/dist/src/components/atoms/label/label.stories.d.ts +5 -0
- package/dist/src/components/atoms/label/label.style.d.ts +1 -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 +23 -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/components/atoms/navigation-menu/navigation-menu-content.d.ts +16 -0
- package/dist/src/components/atoms/navigation-menu/navigation-menu-item.d.ts +23 -0
- package/dist/src/components/atoms/navigation-menu/navigation-menu-link.d.ts +7 -0
- package/dist/src/components/atoms/navigation-menu/navigation-menu-list.d.ts +6 -0
- package/dist/src/components/atoms/navigation-menu/navigation-menu.d.ts +20 -0
- package/dist/src/components/atoms/navigation-menu/navigation-menu.stories.d.ts +4 -0
- package/dist/src/components/atoms/pagination/pagination-content.d.ts +6 -0
- package/dist/src/components/atoms/pagination/pagination-ellipsis.d.ts +6 -0
- package/dist/src/components/atoms/pagination/pagination-item.d.ts +14 -0
- package/dist/src/components/atoms/pagination/pagination-link.d.ts +17 -0
- package/dist/src/components/atoms/pagination/pagination-next.d.ts +6 -0
- package/dist/src/components/atoms/pagination/pagination-previous.d.ts +6 -0
- package/dist/src/components/atoms/pagination/pagination.atom.d.ts +24 -0
- package/dist/src/components/atoms/pagination/pagination.stories.d.ts +4 -0
- package/dist/src/components/atoms/pagination/pagination.styles.d.ts +4 -0
- package/dist/src/components/atoms/pagination/pagination.type.d.ts +2 -0
- package/dist/src/components/atoms/popover/popover-content.d.ts +14 -0
- package/dist/src/components/atoms/popover/popover-trigger.d.ts +9 -0
- package/dist/src/components/atoms/popover/popover.atom.d.ts +18 -0
- package/dist/src/components/atoms/popover/popover.stories.d.ts +4 -0
- package/dist/src/components/atoms/popover/popover.style.d.ts +10 -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 +16 -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 +4 -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 +20 -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-group.d.ts +23 -0
- package/dist/src/components/atoms/select/select-item.d.ts +22 -0
- package/dist/src/components/atoms/select/select-label.d.ts +10 -0
- package/dist/src/components/atoms/select/select-list.d.ts +7 -0
- package/dist/src/components/atoms/select/select-seperator.d.ts +10 -0
- package/dist/src/components/atoms/select/select-trigger.d.ts +15 -0
- package/dist/src/components/atoms/select/select-value.d.ts +18 -0
- package/dist/src/components/atoms/select/select.atom.d.ts +24 -0
- package/dist/src/components/atoms/select/select.stories.d.ts +4 -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 +7 -0
- package/dist/src/components/atoms/switch/switch.atom.d.ts +14 -0
- package/dist/src/components/atoms/switch/switch.stories.d.ts +4 -0
- package/dist/src/components/atoms/switch/switch.type.d.ts +4 -0
- package/dist/src/components/atoms/textarea/textarea.atom.d.ts +22 -0
- package/dist/src/components/atoms/textarea/textarea.stories.d.ts +4 -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/toast/toast-action.d.ts +19 -0
- package/dist/src/components/atoms/toast/toast-description.d.ts +10 -0
- package/dist/src/components/atoms/toast/toast-title.d.ts +10 -0
- package/dist/src/components/atoms/toast/toast-view-port.d.ts +17 -0
- package/dist/src/components/atoms/toast/toast.atom.d.ts +16 -0
- package/dist/src/components/atoms/toast/toast.stories.d.ts +5 -0
- package/dist/src/components/atoms/toast/toast.style.d.ts +9 -0
- package/dist/src/components/atoms/toast/toast.type.d.ts +1 -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 +5 -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 +6 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-item.d.ts +6 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-link.d.ts +7 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-list.d.ts +6 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-separator.d.ts +6 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb-text.d.ts +6 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb.molecules.d.ts +6 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +5 -0
- package/dist/src/components/molecules/breadcrumb/breadcrumb.styles.d.ts +6 -0
- package/dist/src/components/molecules/index.d.ts +11 -0
- package/dist/src/components/molecules/input-otp/input-otp-group.d.ts +14 -0
- package/dist/src/components/molecules/input-otp/input-otp-separator.d.ts +11 -0
- package/dist/src/components/molecules/input-otp/input-otp-slot.d.ts +25 -0
- package/dist/src/components/molecules/input-otp/input-otp.molecule.d.ts +23 -0
- package/dist/src/components/molecules/input-otp/input-otp.stories.d.ts +4 -0
- package/dist/src/components/molecules/tabs/tab-contents.d.ts +12 -0
- package/dist/src/components/molecules/tabs/tab-list.d.ts +14 -0
- package/dist/src/components/molecules/tabs/tab-trigger.d.ts +17 -0
- package/dist/src/components/molecules/tabs/tab.molecules.d.ts +15 -0
- package/dist/src/components/molecules/tabs/tab.stories.d.ts +14 -0
- package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +17 -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 +4 -0
- package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +4 -0
- package/dist/src/helpers/base-element.d.ts +10 -0
- package/dist/src/helpers/genrate-uuid.helper.d.ts +1 -0
- package/dist/src/helpers/index.d.ts +4 -0
- package/dist/src/helpers/mouse-conroller.helper.d.ts +14 -0
- package/dist/src/helpers/style.helpers.d.ts +2 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/interfaces/actionable.interface.d.ts +5 -0
- package/dist/src/interfaces/atomic.interface.d.ts +6 -0
- package/dist/src/interfaces/changeable.interface.d.ts +7 -0
- package/dist/src/interfaces/child-support-atomic.interface.d.ts +4 -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 +4 -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 +6 -0
- package/package.json +135 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { Select } from './select.atom';
|
|
3
|
+
declare class SelectGroup extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
private childrenArray;
|
|
6
|
+
focusedIndex: number;
|
|
7
|
+
selectedValue: string;
|
|
8
|
+
get _select(): Select | null;
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
disconnectedCallback(): void;
|
|
11
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
12
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
13
|
+
onSelectedValue(value: string, index: number): void;
|
|
14
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
15
|
+
handleMouseOver(event: Event, index: number): void;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
export { SelectGroup };
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'rtg-select-group': SelectGroup;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
declare class SelectItem extends BaseElement {
|
|
3
|
+
value: string;
|
|
4
|
+
key: string;
|
|
5
|
+
tabindex: number;
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
isFocus: boolean;
|
|
8
|
+
class: string;
|
|
9
|
+
selectItemIndex: number;
|
|
10
|
+
onSelect: (_value: string, _index: number) => void;
|
|
11
|
+
onMouseOver: (_event: Event, _index: number) => void;
|
|
12
|
+
static styles: import("lit").CSSResult[];
|
|
13
|
+
protected getAttributesToExclude(): string[];
|
|
14
|
+
handleClick: (event: Event) => void;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
export { SelectItem };
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'rtg-select-item': SelectItem;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class SelectLabel extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElementTagNameMap {
|
|
8
|
+
'rtg-select-label': SelectLabel;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
declare class SelectSeperator 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
|
+
}
|
|
10
|
+
export { SelectSeperator };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { Select } from './select.atom';
|
|
3
|
+
declare class SelectTrigger extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
get _select(): Select | null;
|
|
6
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7
|
+
handleClick: () => void;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
export { SelectTrigger };
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
'rtg-select-trigger': SelectTrigger;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { Select } from './select.atom';
|
|
3
|
+
declare class SelectValue extends LitElement {
|
|
4
|
+
placeholder: string;
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
get _select(): Select | null;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
9
|
+
handleClick: () => void;
|
|
10
|
+
renderLabel: () => string;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
}
|
|
13
|
+
export { SelectValue };
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'rtg-select-value': SelectValue;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { SelectItem } from './select-item';
|
|
3
|
+
import { SelectList } from './select-list';
|
|
4
|
+
import { SelectLabel } from './select-label';
|
|
5
|
+
import { SelectSeperator } from './select-seperator';
|
|
6
|
+
import { SelectTrigger } from './select-trigger';
|
|
7
|
+
import { SelectGroup } from './select-group';
|
|
8
|
+
import { SelectValue } from './select-value';
|
|
9
|
+
declare class Select extends LitElement {
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
selectedValue: any;
|
|
13
|
+
uuid: string;
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
updated(changedProps: PropertyValues): void;
|
|
16
|
+
handleClickOutside: (e: MouseEvent) => void;
|
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
export { Select, SelectGroup, SelectValue, SelectItem, SelectList, SelectLabel, SelectSeperator, SelectTrigger, };
|
|
20
|
+
declare global {
|
|
21
|
+
interface HTMLElementTagNameMap {
|
|
22
|
+
'rtg-select': Select;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { SEPARATOR_ORIENTATION } from './separator.defs';
|
|
3
|
+
export declare class Separator extends BaseElement {
|
|
4
|
+
orientation: SEPARATOR_ORIENTATION;
|
|
5
|
+
twClass: string;
|
|
6
|
+
static styles: import("lit").CSSResult[];
|
|
7
|
+
protected getAttributesToExclude(): string[];
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'rtg-separator': Separator;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class Switch extends LitElement {
|
|
3
|
+
checked: boolean;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
twClass: string;
|
|
6
|
+
static styles: import("lit").CSSResult[];
|
|
7
|
+
private _toggleChecked;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'rtg-switch': Switch;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
export declare class TextArea extends BaseElement {
|
|
4
|
+
constructor();
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
defaultValue: string;
|
|
8
|
+
rows: string;
|
|
9
|
+
cols: string;
|
|
10
|
+
value: string;
|
|
11
|
+
twCLass: string;
|
|
12
|
+
static styles: import("lit").CSSResult[];
|
|
13
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
14
|
+
handleInputChange(event: Event): void;
|
|
15
|
+
protected getAttributesToExclude(): string[];
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'rtg-textarea': TextArea;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const textAreaStyles = "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import * as toastType from './toast.type';
|
|
3
|
+
export declare class ToastAction extends LitElement {
|
|
4
|
+
static toastVariants: (props?: ({
|
|
5
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
variant: toastType.ToastVariant;
|
|
9
|
+
getAttributesToExclude(): string[];
|
|
10
|
+
protected getFilteredAttributes(): {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
};
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
}
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'rtg-toast-action': ToastAction;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class ToastDescription extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElementTagNameMap {
|
|
8
|
+
'rtg-toast-description': ToastDescription;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class ToastTitle extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5
|
+
}
|
|
6
|
+
declare global {
|
|
7
|
+
interface HTMLElementTagNameMap {
|
|
8
|
+
'rtg-toast-title': ToastTitle;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import * as toastType from './toast.type';
|
|
3
|
+
export declare class ToastViewPort extends LitElement {
|
|
4
|
+
static toastVariants: (props?: ({
|
|
5
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
variant: toastType.ToastVariant;
|
|
9
|
+
state: string;
|
|
10
|
+
private handleCloseButtonClick;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
'rtg-toast-view-port': ToastViewPort;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export declare class Toast extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
twClass: string;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClick(): void;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
private get _content();
|
|
9
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'rtg-toast': Toast;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const toastStyle: (props?: ({
|
|
2
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
3
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
4
|
+
export declare const toastActionStyle: (props?: ({
|
|
5
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
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
|
+
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
|
+
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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ToastVariant = 'default' | 'destructive';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { TOGGLE_SIZE, TOGGLE_VARIANT } from './toggle.defs';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
export { TOGGLE_SIZE, TOGGLE_VARIANT };
|
|
4
|
+
declare class Toggle extends BaseElement {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
twCLass: string;
|
|
7
|
+
checked: boolean;
|
|
8
|
+
required: boolean;
|
|
9
|
+
variant: TOGGLE_VARIANT;
|
|
10
|
+
size: TOGGLE_SIZE;
|
|
11
|
+
static styles: import("lit-element").CSSResult[];
|
|
12
|
+
static toggleVariants: (props?: ({
|
|
13
|
+
variant?: "default" | "outline" | null | undefined;
|
|
14
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
15
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
16
|
+
protected getAttributesToExclude(): string[];
|
|
17
|
+
toggle(): void;
|
|
18
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
19
|
+
}
|
|
20
|
+
export { Toggle };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toggle size.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum TOGGLE_SIZE {
|
|
5
|
+
/**
|
|
6
|
+
* @Small size
|
|
7
|
+
*/
|
|
8
|
+
SMALL = "sm",
|
|
9
|
+
/**
|
|
10
|
+
* @medium size
|
|
11
|
+
*/
|
|
12
|
+
MEDIUM = "md",
|
|
13
|
+
/**
|
|
14
|
+
* @Large size
|
|
15
|
+
*/
|
|
16
|
+
LARGE = "lg"
|
|
17
|
+
}
|
|
18
|
+
export declare enum TOGGLE_VARIANT {
|
|
19
|
+
/**
|
|
20
|
+
* @Default variant
|
|
21
|
+
*/
|
|
22
|
+
DEFAULT = "default",
|
|
23
|
+
/**
|
|
24
|
+
* @Outline variant
|
|
25
|
+
*/
|
|
26
|
+
OUTLINE = "outline"
|
|
27
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
export declare class BreadCrumbLink extends BaseElement {
|
|
3
|
+
href: string;
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
protected getAttributesToExclude(): string[];
|
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const breadcrumbItemStyles = "inline-flex items-center gap-1.5";
|
|
2
|
+
export declare const breadcrumbLink = "transition-colors hover:text-foreground";
|
|
3
|
+
export declare const breadcrumbTextStyles = "font-normal text-foreground";
|
|
4
|
+
export declare const breadcrumbSeparatorStyles = "[&>svg]:size-3.5";
|
|
5
|
+
export declare const breadcrumbEllipsisStyles = "flex h-9 w-9 items-center justify-center";
|
|
6
|
+
export declare const breadcrumbListStyles = "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './breadcrumb/breadcrumb-ellipsis';
|
|
2
|
+
export * from './breadcrumb/breadcrumb-item';
|
|
3
|
+
export * from './breadcrumb/breadcrumb-list';
|
|
4
|
+
export * from './breadcrumb/breadcrumb-separator';
|
|
5
|
+
export * from './breadcrumb/breadcrumb.molecules';
|
|
6
|
+
export * from './breadcrumb/breadcrumb-text';
|
|
7
|
+
export * from './breadcrumb/breadcrumb-link';
|
|
8
|
+
export * from './input-otp/input-otp.molecule';
|
|
9
|
+
export * from './input-otp/input-otp-group';
|
|
10
|
+
export * from './input-otp/input-otp-separator';
|
|
11
|
+
export * from './input-otp/input-otp-slot';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
export declare class InputOtpGroup extends BaseElement {
|
|
3
|
+
click: () => void;
|
|
4
|
+
private childrenArray;
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
protected getAttributesToExclude(): string[];
|
|
7
|
+
firstUpdated(changedProperties: Map<string, unknown>): void;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
declare global {
|
|
11
|
+
interface HTMLElementTagNameMap {
|
|
12
|
+
'rtg-input-otp-group': InputOtpGroup;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class InputOtpSeparator extends LitElement {
|
|
3
|
+
index: number;
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'rtg-input-otp-separator': InputOtpSeparator;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
import { InputOtp } from './input-otp.molecule';
|
|
4
|
+
export declare class InputOtpSlot extends BaseElement {
|
|
5
|
+
click: () => void;
|
|
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;
|
|
15
|
+
protected getAttributesToExclude(): string[];
|
|
16
|
+
private handleFocus;
|
|
17
|
+
private handleInputChange;
|
|
18
|
+
private handleKeyDown;
|
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'rtg-input-otp-slot': InputOtpSlot;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
export declare class InputOtp extends BaseElement {
|
|
3
|
+
constructor();
|
|
4
|
+
connectedCallback(): void;
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
protected getAttributesToExclude(): string[];
|
|
7
|
+
maxLength: number;
|
|
8
|
+
onChange: () => void;
|
|
9
|
+
pin: any[];
|
|
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>;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'rtg-input-otp': InputOtp;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit-element';
|
|
2
|
+
import { Tab } from './tab.molecules';
|
|
3
|
+
declare class TabContent extends LitElement {
|
|
4
|
+
value: string;
|
|
5
|
+
selectedValue: string;
|
|
6
|
+
get _tab(): Tab | null;
|
|
7
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
8
|
+
connectedCallback(): void;
|
|
9
|
+
disconnectedCallback(): void;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
12
|
+
export { TabContent };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { Tab } from './tab.molecules';
|
|
3
|
+
declare class TabList extends BaseElement {
|
|
4
|
+
tabindex: number;
|
|
5
|
+
static styles: import("lit-element").CSSResult[];
|
|
6
|
+
get _tab(): Tab | null;
|
|
7
|
+
protected getAttributesToExclude(): string[];
|
|
8
|
+
connectedCallback(): void;
|
|
9
|
+
disconnectedCallback(): void;
|
|
10
|
+
changeTabs(currentValue: string): void;
|
|
11
|
+
getChildren(): Node[];
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
export { TabList };
|