revotech-ui-kit 0.0.15 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/revotech-ui-kit.js +3313 -1122
- package/dist/revotech-ui-kit.umd.cjs +1031 -144
- package/dist/src/assets/icons/arrow-up-circle.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 +10 -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/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/{components/atoms/button/button.stories.d.ts → src/components/atoms/accordion/accordion.stories.d.ts} +1 -1
- package/dist/{components/atoms/card/card-content.d.ts → src/components/atoms/avatar/avatar-fallback.d.ts} +1 -1
- package/dist/src/components/atoms/avatar/avatar-image.d.ts +8 -0
- package/dist/{components/atoms/card/card-title.d.ts → src/components/atoms/avatar/avatar.atom.d.ts} +1 -1
- package/dist/src/components/atoms/avatar/avatar.stories.d.ts +5 -0
- package/dist/src/components/atoms/avatar/avatar.style.d.ts +3 -0
- package/dist/src/components/atoms/button/button.atom.d.ts +2 -0
- package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +1 -1
- package/dist/src/components/atoms/collapsible/collapsible-content.d.ts +12 -0
- package/dist/src/components/atoms/collapsible/collapsible-trigger.d.ts +15 -0
- package/dist/src/components/atoms/collapsible/collapsible.atom.d.ts +17 -0
- package/dist/{components/atoms/badge/badge.stories.d.ts → src/components/atoms/collapsible/collapsible.stories.d.ts} +1 -1
- package/dist/{components/atoms/combo-box → src/components/atoms/combobox}/combo-box-input.d.ts +5 -0
- package/dist/src/components/atoms/{combo-box → combobox}/combo-box-item.d.ts +5 -0
- package/dist/{components/atoms/combo-box → src/components/atoms/combobox}/combo-box-list.d.ts +5 -0
- package/dist/src/components/atoms/{combo-box → combobox}/combo-box.atom.d.ts +3 -0
- package/dist/src/components/atoms/command/command-item.atom.d.ts +4 -3
- package/dist/src/components/atoms/command/command.stories.d.ts +3 -2
- package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-checkbox-Item.d.ts → context-menu/context-menu-checkbox-Item.d.ts} +1 -1
- package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-content.d.ts → context-menu/context-menu-content.d.ts} +3 -3
- package/dist/{components/atoms/command/command-group.atom.d.ts → src/components/atoms/context-menu/context-menu-group.d.ts} +1 -1
- package/dist/{components/atoms/command/command-item.atom.d.ts → src/components/atoms/context-menu/context-menu-item.d.ts} +1 -1
- package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-radio-item.d.ts → context-menu/context-menu-radio-item.d.ts} +1 -1
- package/dist/{components/atoms/command/command-separator.atom.d.ts → src/components/atoms/context-menu/context-menu-seperator.d.ts} +1 -1
- 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/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu.atom.d.ts +1 -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 +12 -0
- package/dist/src/components/atoms/hoverCard/hover-card.atom.d.ts +13 -0
- package/dist/src/components/atoms/hoverCard/hover-card.stories.d.ts +5 -0
- package/dist/src/components/atoms/index.d.ts +10 -2
- package/dist/src/components/atoms/input/input.styles.d.ts +1 -1
- package/dist/src/components/atoms/popover/popover-content.d.ts +2 -1
- package/dist/src/components/atoms/popover/popover-trigger.d.ts +2 -2
- package/dist/src/components/atoms/popover/popover.style.d.ts +4 -0
- package/dist/{components/atoms/checkbox/checkbox.atom.d.ts → src/components/atoms/radio-group/radio-group-item.d.ts} +5 -7
- 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/{components/atoms/combo-box/combo-box-item.d.ts → src/components/atoms/select/select-item.d.ts} +1 -1
- package/dist/{components/atoms/card/card-header.d.ts → src/components/atoms/select/select-label.d.ts} +1 -1
- package/dist/src/components/atoms/select/select-list.d.ts +8 -0
- package/dist/{components/atoms/command/command-empty.atom.d.ts → src/components/atoms/select/select-seperator.d.ts} +1 -1
- package/dist/{components/atoms/combo-box/combo-box.atom.d.ts → src/components/atoms/select/select.atom.d.ts} +12 -6
- 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/{components/atoms/dialog/dialog.stories.d.ts → src/components/atoms/seperator/separator.stories.d.ts} +3 -2
- 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/toast/toast-action.d.ts +15 -0
- package/dist/{components/atoms/card/card-description.d.ts → src/components/atoms/toast/toast-description.d.ts} +1 -1
- package/dist/{components/atoms/card/card-footer.d.ts → src/components/atoms/toast/toast-title.d.ts} +1 -1
- package/dist/src/components/atoms/toast/toast-view-port.d.ts +13 -0
- package/dist/src/components/atoms/toast/toast.atom.d.ts +11 -0
- package/dist/src/components/atoms/toast/toast.stories.d.ts +6 -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 +1 -1
- package/dist/{components/atoms/toggle/defs.d.ts → src/components/atoms/toggle/toggle.defs.d.ts} +5 -5
- package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +6 -0
- package/dist/src/components/molecules/index.d.ts +11 -7
- package/dist/src/components/molecules/input-otp/input-otp-group.d.ts +13 -0
- package/dist/src/components/molecules/input-otp/input-otp-separator.d.ts +13 -0
- package/dist/src/components/molecules/input-otp/input-otp-slot.d.ts +13 -0
- package/dist/src/components/molecules/input-otp/input-otp.molecule.d.ts +33 -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 +1 -1
- package/dist/src/components/molecules/toggle-group/{defs.d.ts → toggle-group.defs.d.ts} +7 -7
- package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +1 -1
- package/dist/src/index.d.ts +2 -2
- package/package.json +7 -11
- package/dist/assets/icons/arrows.icon.d.ts +0 -1
- package/dist/assets/icons/index.d.ts +0 -3
- package/dist/assets/icons/search.icon.d.ts +0 -1
- package/dist/assets/icons/tick.icon.d.ts +0 -1
- package/dist/components/atoms/alert/alert-description.d.ts +0 -6
- package/dist/components/atoms/alert/alert-title.d.ts +0 -6
- package/dist/components/atoms/alert/alert.atom.d.ts +0 -23
- package/dist/components/atoms/alert/alert.stories.d.ts +0 -6
- package/dist/components/atoms/alert/alert.styles.d.ts +0 -4
- package/dist/components/atoms/alert/alert.types.d.ts +0 -1
- package/dist/components/atoms/badge/badge.atom.d.ts +0 -17
- package/dist/components/atoms/badge/badge.style.d.ts +0 -3
- package/dist/components/atoms/badge/badge.type.d.ts +0 -1
- package/dist/components/atoms/button/button.atom.d.ts +0 -23
- package/dist/components/atoms/button/button.style.d.ts +0 -4
- package/dist/components/atoms/button/button.type.d.ts +0 -3
- package/dist/components/atoms/card/card.atom.d.ts +0 -22
- package/dist/components/atoms/card/card.stories.d.ts +0 -6
- package/dist/components/atoms/checkbox/checkbox.stories.d.ts +0 -7
- package/dist/components/atoms/checkbox/checkbox.style.d.ts +0 -2
- package/dist/components/atoms/checkbox/checkbox.type.d.ts +0 -21
- package/dist/components/atoms/combo-box/combo-box.stories.d.ts +0 -6
- package/dist/components/atoms/command/command-input.atom.d.ts +0 -11
- package/dist/components/atoms/command/command-list.atom.d.ts +0 -7
- package/dist/components/atoms/command/command.atom.d.ts +0 -7
- package/dist/components/atoms/command/command.stories.d.ts +0 -5
- package/dist/components/atoms/dialog/dialog-close.d.ts +0 -13
- package/dist/components/atoms/dialog/dialog-content.d.ts +0 -9
- package/dist/components/atoms/dialog/dialog-footer.d.ts +0 -6
- package/dist/components/atoms/dialog/dialog-header.d.ts +0 -8
- package/dist/components/atoms/dialog/dialog-overly.d.ts +0 -6
- package/dist/components/atoms/dialog/dialog-trigger.d.ts +0 -9
- package/dist/components/atoms/dialog/dialog.atom.d.ts +0 -25
- package/dist/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +0 -7
- package/dist/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +0 -2
- package/dist/components/atoms/index.d.ts +0 -19
- package/dist/components/atoms/input/input.atom.d.ts +0 -22
- package/dist/components/atoms/input/input.stories.d.ts +0 -6
- package/dist/components/atoms/input/input.styles.d.ts +0 -1
- package/dist/components/atoms/input/input.type.d.ts +0 -21
- package/dist/components/atoms/label/label.atom.d.ts +0 -17
- package/dist/components/atoms/label/label.stories.d.ts +0 -6
- package/dist/components/atoms/label/label.style.d.ts +0 -1
- package/dist/components/atoms/popover/popover-content.d.ts +0 -12
- package/dist/components/atoms/popover/popover-trigger.d.ts +0 -10
- package/dist/components/atoms/popover/popover.atom.d.ts +0 -19
- package/dist/components/atoms/popover/popover.stories.d.ts +0 -5
- package/dist/components/atoms/popover/popover.style.d.ts +0 -5
- package/dist/components/atoms/popover/popover.types.d.ts +0 -2
- package/dist/components/atoms/textarea/textarea.atom.d.ts +0 -17
- package/dist/components/atoms/textarea/textarea.stories.d.ts +0 -5
- package/dist/components/atoms/textarea/textarea.styles.d.ts +0 -1
- package/dist/components/atoms/textarea/textarea.type.d.ts +0 -11
- package/dist/components/atoms/toggle/toggle.atom.d.ts +0 -20
- package/dist/components/atoms/toggle/toggle.stories.d.ts +0 -6
- package/dist/components/atoms/toggle/toggle.style.d.ts +0 -4
- package/dist/components/index.d.ts +0 -2
- package/dist/components/molecules/breadCrumb/breadCrumb.stories.d.ts +0 -5
- package/dist/components/molecules/index.d.ts +0 -7
- package/dist/components/molecules/toggle-group/defs.d.ts +0 -37
- package/dist/components/molecules/toggle-group/toggle-group-item.d.ts +0 -18
- package/dist/components/molecules/toggle-group/toggle-group.molecules.d.ts +0 -19
- package/dist/components/molecules/toggle-group/toggle-group.stories.d.ts +0 -5
- package/dist/components/molecules/toggle-group/toggle-group.style.d.ts +0 -4
- package/dist/helpers/base-element.d.ts +0 -11
- package/dist/helpers/index.d.ts +0 -3
- package/dist/helpers/mouse-conroller.helper.d.ts +0 -15
- package/dist/helpers/style.helpers.d.ts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/interfaces/actionable.interface.d.ts +0 -6
- package/dist/interfaces/atomic.interface.d.ts +0 -6
- package/dist/interfaces/changeable.interface.d.ts +0 -8
- package/dist/interfaces/child-support-atomic.interface.d.ts +0 -5
- package/dist/interfaces/index.d.ts +0 -6
- package/dist/interfaces/intractable.interface.d.ts +0 -6
- package/dist/interfaces/variant.interface.d.ts +0 -3
- package/dist/lib/index.d.ts +0 -0
- package/dist/lib/next/next.lib.d.ts +0 -0
- package/dist/lib/react/react.lib.d.ts +0 -3
- package/dist/lib/tw-styles.d.ts +0 -1
- package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +0 -9
- package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +0 -10
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +0 -11
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +0 -13
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +0 -10
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +0 -6
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +0 -31
- package/dist/src/components/atoms/toggle/defs.d.ts +0 -27
- package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +0 -8
- package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +0 -5
- package/dist/src/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +0 -7
- package/dist/src/components/molecules/breadCrumb/breadcrumb-item.d.ts +0 -7
- package/dist/src/components/molecules/breadCrumb/breadcrumb-list.d.ts +0 -7
- package/dist/src/components/molecules/breadCrumb/breadcrumb-separator.d.ts +0 -7
- package/dist/src/components/molecules/breadCrumb/breadcrumb-text.d.ts +0 -7
- package/dist/src/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +0 -7
- package/dist/src/components/molecules/breadCrumb/breadcrumb.styles.d.ts +0 -6
- package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
- package/dist/styles/index.d.ts +0 -1
- package/dist/styles/tw.styles.d.ts +0 -1
- package/dist/wc-ui-app.d.ts +0 -7
- /package/dist/{components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts → src/components/atoms/accordion/accordion.styles.d.ts} +0 -0
- /package/dist/src/components/atoms/{combo-box → combobox}/combo-box.stories.d.ts +0 -0
- /package/dist/src/components/atoms/{dropdownMenu/dropdownMenu.style.d.ts → context-menu/contextMenu.style.d.ts} +0 -0
- /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-checkbox-Item.d.ts +0 -0
- /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-content.d.ts +0 -0
- /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-group.d.ts +0 -0
- /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-item.d.ts +0 -0
- /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-radio-item.d.ts +0 -0
- /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-seperator.d.ts +0 -0
- /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-shortcut.d.ts +0 -0
- /package/dist/src/components/atoms/{dropdownMenu → dropdown-menu}/dropdownMenu.stories.d.ts +0 -0
- /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-ellipsis.d.ts +0 -0
- /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-item.d.ts +0 -0
- /package/dist/{components/molecules/breadCrumb/Breadcrumb-link.d.ts → src/components/molecules/breadcrumb/breadcrumb-link.d.ts} +0 -0
- /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-list.d.ts +0 -0
- /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-separator.d.ts +0 -0
- /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-text.d.ts +0 -0
- /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb.molecules.d.ts +0 -0
- /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb.styles.d.ts +0 -0
@@ -1,23 +0,0 @@
|
|
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";
|
9
|
-
size?: "small" | "default" | "large";
|
10
|
-
} & import('class-variance-authority/dist/types').ClassProp) => 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
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,17 +0,0 @@
|
|
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";
|
7
|
-
} & import('class-variance-authority/dist/types').ClassProp) => 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
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export type BadgeVariant = 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
@@ -1,23 +0,0 @@
|
|
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";
|
7
|
-
size?: "default" | "sm" | "lg" | "icon";
|
8
|
-
} & import('class-variance-authority/dist/types').ClassProp) => string;
|
9
|
-
click: () => void;
|
10
|
-
disabled: boolean;
|
11
|
-
type: buttonType.ButtonType;
|
12
|
-
variant: buttonType.ButtonVariant;
|
13
|
-
size: buttonType.ButtonSize;
|
14
|
-
static styles: import('lit').CSSResult[];
|
15
|
-
private handleClick;
|
16
|
-
protected getAttributesToExclude(): string[];
|
17
|
-
render(): import('lit-html').TemplateResult<1>;
|
18
|
-
}
|
19
|
-
declare global {
|
20
|
-
interface HTMLElementTagNameMap {
|
21
|
-
'rtg-button': Button;
|
22
|
-
}
|
23
|
-
}
|
@@ -1,22 +0,0 @@
|
|
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
|
-
}
|
@@ -1,2 +0,0 @@
|
|
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";
|
@@ -1,21 +0,0 @@
|
|
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
|
-
};
|
@@ -1,11 +0,0 @@
|
|
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
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { LitElement, PropertyValueMap } from 'lit';
|
2
|
-
|
3
|
-
export declare class DialogClose extends LitElement {
|
4
|
-
static styles: import('lit').CSSResult[];
|
5
|
-
private get _dialog();
|
6
|
-
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
7
|
-
render(): import('lit-html').TemplateResult<1>;
|
8
|
-
}
|
9
|
-
declare global {
|
10
|
-
interface HTMLElementTagNameMap {
|
11
|
-
'rtg-dialog-close': DialogClose;
|
12
|
-
}
|
13
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { LitElement } from 'lit';
|
2
|
-
|
3
|
-
export declare class DialogContent extends LitElement {
|
4
|
-
static styles: import('lit').CSSResult[];
|
5
|
-
state: string;
|
6
|
-
private get _dialog();
|
7
|
-
private handleCloseButtonClick;
|
8
|
-
render(): import('lit-html').TemplateResult<1>;
|
9
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { LitElement, PropertyValueMap } from 'lit';
|
2
|
-
|
3
|
-
export declare class DialogTrigger extends LitElement {
|
4
|
-
static styles: import('lit').CSSResult[];
|
5
|
-
private get _dialog();
|
6
|
-
handleClick: () => void;
|
7
|
-
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
8
|
-
render(): import('lit-html').TemplateResult<1>;
|
9
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
2
|
-
import { DialogContent } from './dialog-content';
|
3
|
-
import { DialogClose } from './dialog-close';
|
4
|
-
import { DialogFooter } from './dialog-footer';
|
5
|
-
import { DialogHeader } from './dialog-header';
|
6
|
-
import { DialogOverlay } from './dialog-overly';
|
7
|
-
|
8
|
-
declare class Dialog extends LitElement {
|
9
|
-
static styles: import('lit').CSSResult[];
|
10
|
-
state: string;
|
11
|
-
private get _content();
|
12
|
-
protected updated(_changedProperties: PropertyValues): void;
|
13
|
-
render(): import('lit-html').TemplateResult<1>;
|
14
|
-
}
|
15
|
-
export { Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, };
|
16
|
-
declare global {
|
17
|
-
interface HTMLElementTagNameMap {
|
18
|
-
'rtg-dialog': Dialog;
|
19
|
-
'rtg-dialog-content': DialogContent;
|
20
|
-
'rtg-dialog-close': DialogClose;
|
21
|
-
'rtg-dialog-footer': DialogFooter;
|
22
|
-
'rtg-dialog-header': DialogHeader;
|
23
|
-
'rtg-dialog-overlay': DialogOverlay;
|
24
|
-
}
|
25
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
export * from './button/button.atom';
|
2
|
-
export * from './checkbox/checkbox.atom';
|
3
|
-
export * from './dialog/dialog.atom';
|
4
|
-
export * from './input/input.atom';
|
5
|
-
export * from './label/label.atom';
|
6
|
-
export * from './command/command.atom';
|
7
|
-
export * from './command/command-empty.atom';
|
8
|
-
export * from './command/command-group.atom';
|
9
|
-
export * from './command/command-input.atom';
|
10
|
-
export * from './command/command-item.atom';
|
11
|
-
export * from './command/command-list.atom';
|
12
|
-
export * from './command/command-separator.atom';
|
13
|
-
export * from './card/card.atom';
|
14
|
-
export * from './popover/popover.atom';
|
15
|
-
export * from './alert/alert.atom';
|
16
|
-
export * from './badge/badge.atom';
|
17
|
-
export * from './combo-box/combo-box.atom';
|
18
|
-
export * from './dropdownMenu/dropdown-menu.atom';
|
19
|
-
export * from './toggle/toggle.atom';
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { PropertyValues } from 'lit';
|
2
|
-
import { BaseElement } from '../../../helpers';
|
3
|
-
|
4
|
-
import * as inputType from './input.type';
|
5
|
-
export declare class Input extends BaseElement {
|
6
|
-
constructor();
|
7
|
-
disabled: boolean;
|
8
|
-
type: inputType.InputType;
|
9
|
-
placeholder: string;
|
10
|
-
defaultValue: string;
|
11
|
-
value: 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-input': Input;
|
21
|
-
}
|
22
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const inputStyles = "flex h-8 w-full rounded-sm border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 input-base";
|
@@ -1,21 +0,0 @@
|
|
1
|
-
export type InputType = 'hidden' | 'text' | 'search' | 'tel' | 'url' | 'email' | 'password' | 'date' | 'month' | 'week' | 'time' | 'datetime-local' | 'number' | 'range' | 'color' | 'file';
|
2
|
-
export type InputNormalType = 'hidden' | 'text' | 'search' | 'tel' | 'url' | 'email' | 'password';
|
3
|
-
export type InputSpecificType = 'hidden' | 'date' | 'month' | 'week' | 'time' | 'datetime-local' | 'number' | 'range' | 'color' | 'file';
|
4
|
-
export type InputArgs = {
|
5
|
-
disabled: boolean;
|
6
|
-
disabledButton: boolean;
|
7
|
-
type: InputType;
|
8
|
-
placeholder: string;
|
9
|
-
label: string;
|
10
|
-
defaultValue: string;
|
11
|
-
ButtonLabel: string;
|
12
|
-
id: string;
|
13
|
-
};
|
14
|
-
export type InputSpecificArgs = {
|
15
|
-
disabled: boolean;
|
16
|
-
disabledButton: boolean;
|
17
|
-
type: InputSpecificType;
|
18
|
-
label: string;
|
19
|
-
ButtonLabel: string;
|
20
|
-
id: string;
|
21
|
-
};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { PropertyValues } from 'lit';
|
2
|
-
import { BaseElement } from '../../../helpers';
|
3
|
-
|
4
|
-
export declare class Label extends BaseElement {
|
5
|
-
static labelVariants: (props?: import('class-variance-authority/dist/types').ClassProp) => string;
|
6
|
-
for: string;
|
7
|
-
static styles: import('lit').CSSResult[];
|
8
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
9
|
-
private _onClick;
|
10
|
-
protected getAttributesToExclude(): string[];
|
11
|
-
render(): import('lit-html').TemplateResult<1>;
|
12
|
-
}
|
13
|
-
declare global {
|
14
|
-
interface HTMLElementTagNameMap {
|
15
|
-
'rtg-label': Label;
|
16
|
-
}
|
17
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const labelStyle: (props?: import('class-variance-authority/dist/types').ClassProp) => string;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
2
|
-
import { Popover } from './popover.atom';
|
3
|
-
|
4
|
-
export declare class PopoverContent extends LitElement {
|
5
|
-
static styles: import('lit').CSSResult[];
|
6
|
-
get _popover(): Popover | null;
|
7
|
-
side: 'bottom' | 'left' | 'right' | 'top';
|
8
|
-
private handleClickOutside;
|
9
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
10
|
-
protected updated(_changedProperties: PropertyValues): void;
|
11
|
-
render(): import('lit-html').TemplateResult<1>;
|
12
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
2
|
-
import { Popover } from './popover.atom';
|
3
|
-
|
4
|
-
export declare class PopoverTrigger extends LitElement {
|
5
|
-
static styles: import('lit').CSSResult[];
|
6
|
-
handleClick: () => void;
|
7
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
8
|
-
get _popover(): Popover | null;
|
9
|
-
render(): import('lit-html').TemplateResult<1>;
|
10
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
2
|
-
import { PopoverContent } from './popover-content';
|
3
|
-
import { PopoverTrigger } from './popover-trigger';
|
4
|
-
|
5
|
-
declare class Popover extends LitElement {
|
6
|
-
static styles: import('lit').CSSResult[];
|
7
|
-
isOpen: boolean;
|
8
|
-
protected firstUpdated(_changedProperties: PropertyValues): void;
|
9
|
-
protected updated(_changedProperties: PropertyValues): void;
|
10
|
-
render(): import('lit-html').TemplateResult<1>;
|
11
|
-
}
|
12
|
-
export { Popover, PopoverContent, PopoverTrigger };
|
13
|
-
declare global {
|
14
|
-
interface HTMLElementTagNameMap {
|
15
|
-
'rtg-popover': Popover;
|
16
|
-
'rtg-popover-content': PopoverContent;
|
17
|
-
'rtg-popover-trigger': PopoverTrigger;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
export declare const popoverRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp) => string;
|
2
|
-
export declare const popoverContentStyle: (props?: {
|
3
|
-
state?: "open" | "closed";
|
4
|
-
side?: "bottom" | "left" | "right" | "top";
|
5
|
-
} & import('class-variance-authority/dist/types').ClassProp) => string;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { PropertyValues } from 'lit';
|
2
|
-
import { BaseElement } from '../../../helpers';
|
3
|
-
|
4
|
-
export declare class TextArea extends BaseElement {
|
5
|
-
constructor();
|
6
|
-
disabled: boolean;
|
7
|
-
placeholder: string;
|
8
|
-
defaultValue: string;
|
9
|
-
rows: string;
|
10
|
-
cols: string;
|
11
|
-
value: 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
|
-
}
|
@@ -1 +0,0 @@
|
|
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";
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { TOGGLE_SIZE, TOGGLE_VARIANT } from './defs';
|
2
|
-
import { BaseElement } from '../../../helpers';
|
3
|
-
|
4
|
-
export { TOGGLE_SIZE, TOGGLE_VARIANT };
|
5
|
-
declare class Toggle extends BaseElement {
|
6
|
-
disabled: boolean;
|
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";
|
14
|
-
size?: "sm" | "lg" | "md";
|
15
|
-
} & import('class-variance-authority/dist/types').ClassProp) => string;
|
16
|
-
protected getAttributesToExclude(): string[];
|
17
|
-
toggle(): void;
|
18
|
-
render(): import('lit-html').TemplateResult<1>;
|
19
|
-
}
|
20
|
-
export { Toggle };
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export * from './breadCrumb/Breadcrumb-link';
|
2
|
-
export * from './breadCrumb/breadcrumb-ellipsis';
|
3
|
-
export * from './breadCrumb/breadcrumb-item';
|
4
|
-
export * from './breadCrumb/breadcrumb-list';
|
5
|
-
export * from './breadCrumb/breadcrumb-separator';
|
6
|
-
export * from './breadCrumb/breadcrumb.molecules';
|
7
|
-
export * from './breadCrumb/breadcrumb-text';
|
@@ -1,37 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Toggle Group Type.
|
3
|
-
*/
|
4
|
-
export declare enum TOGGLE_GROUP_TYPE {
|
5
|
-
/**
|
6
|
-
* multiple Type
|
7
|
-
*/
|
8
|
-
MULTIPLE = "multiple",
|
9
|
-
/**
|
10
|
-
* medium size
|
11
|
-
*/
|
12
|
-
SINGLE = "single"
|
13
|
-
}
|
14
|
-
export declare enum TOGGLE_GROUP_VARIANT {
|
15
|
-
/**
|
16
|
-
* Default variant
|
17
|
-
*/
|
18
|
-
DEFAULT = "default",
|
19
|
-
/**
|
20
|
-
* Outline variant
|
21
|
-
*/
|
22
|
-
OUTLINE = "outline"
|
23
|
-
}
|
24
|
-
export declare enum TOGGLE_GROUP_SIZE {
|
25
|
-
/**
|
26
|
-
* Small size
|
27
|
-
*/
|
28
|
-
SMALL = "sm",
|
29
|
-
/**
|
30
|
-
* medium size
|
31
|
-
*/
|
32
|
-
MEDIUM = "md",
|
33
|
-
/**
|
34
|
-
* Large size
|
35
|
-
*/
|
36
|
-
LARGE = "lg"
|
37
|
-
}
|