@revotech-group/revotech-ui-kit 0.0.59 → 0.0.60
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/library.css +2642 -0
- package/dist/revotech-ui-kit.js +13295 -0
- package/dist/revotech-ui-kit.umd.cjs +5504 -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/chart.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/decrease.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 +16 -0
- package/dist/src/assets/icons/plus.icon.d.ts +1 -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 +28 -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/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/drawer/drawer-close.d.ts +12 -0
- package/dist/src/components/atoms/drawer/drawer-content.d.ts +6 -0
- package/dist/src/components/atoms/drawer/drawer-description.d.ts +6 -0
- package/dist/src/components/atoms/drawer/drawer-footer.d.ts +5 -0
- package/dist/src/components/atoms/drawer/drawer-header.d.ts +7 -0
- package/dist/src/components/atoms/drawer/drawer-overlay.d.ts +5 -0
- package/dist/src/components/atoms/drawer/drawer-title.d.ts +6 -0
- package/dist/src/components/atoms/drawer/drawer-trigger.d.ts +8 -0
- package/dist/src/components/atoms/drawer/drawer.atom.d.ts +35 -0
- package/dist/src/components/atoms/drawer/drawer.stories.d.ts +4 -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 +47 -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/progress/progress.atom.d.ts +12 -0
- package/dist/src/components/atoms/progress/progress.stories.d.ts +4 -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 +23 -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 +4 -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/components/ui/checkbox/checkbox.d.ts +20 -0
- package/dist/src/components/ui/checkbox/checkbox.stories.d.ts +6 -0
- package/dist/src/components/ui/checkbox/checkbox.style.d.ts +2 -0
- package/dist/src/components/ui/checkbox/checkbox.type.d.ts +21 -0
- package/dist/src/components/ui/index.d.ts +3 -0
- package/dist/src/components/ui/input/input.d.ts +22 -0
- package/dist/src/components/ui/input/input.stories.d.ts +6 -0
- package/dist/src/components/ui/input/input.styles.d.ts +1 -0
- package/dist/src/components/ui/input/input.type.d.ts +21 -0
- package/dist/src/components/ui/label/label.d.ts +16 -0
- package/dist/src/components/ui/label/label.stories.d.ts +5 -0
- package/dist/src/components/ui/label/label.style.d.ts +1 -0
- package/dist/src/components/widgets/index.d.ts +1 -0
- package/dist/src/components/widgets/light-sample-demo/light-sample.demo.d.ts +13 -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 +5 -0
- package/dist/src/helpers/mouse-conroller.helper.d.ts +14 -0
- package/dist/src/helpers/shadow-wrapper.d.ts +8 -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 +1 -1
|
@@ -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 };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit-element';
|
|
2
|
+
import { Tab } from './tab.molecules';
|
|
3
|
+
import { TabList } from './tab-list';
|
|
4
|
+
import { BaseElement } from '../../../helpers';
|
|
5
|
+
declare class TabsTrigger extends BaseElement {
|
|
6
|
+
defaultValue: string;
|
|
7
|
+
value: string;
|
|
8
|
+
onClickCallback?: (tabValue: string) => void;
|
|
9
|
+
static styles: import("lit-element").CSSResult[];
|
|
10
|
+
get _tab(): Tab | null;
|
|
11
|
+
get _tabList(): TabList | null;
|
|
12
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
13
|
+
handleClick: (event: Event) => void;
|
|
14
|
+
protected getAttributesToExclude(): string[];
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
export { TabsTrigger };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit-element';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
declare class Tab extends BaseElement {
|
|
4
|
+
defaultValue: string;
|
|
5
|
+
tabindex: number;
|
|
6
|
+
twCLass: string;
|
|
7
|
+
static styles: import("lit-element").CSSResult[];
|
|
8
|
+
connectedCallback(): void;
|
|
9
|
+
disconnectedCallback(): void;
|
|
10
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
11
|
+
protected getAttributesToExclude(): string[];
|
|
12
|
+
raiseEvent(): void;
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
}
|
|
15
|
+
export { Tab };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/web-components';
|
|
2
|
+
export declare enum TAB_LIST {
|
|
3
|
+
/**
|
|
4
|
+
* @Default variant
|
|
5
|
+
*/
|
|
6
|
+
ACCOUNT = "account",
|
|
7
|
+
/**
|
|
8
|
+
* @Outline variant
|
|
9
|
+
*/
|
|
10
|
+
PASSWORD = "password"
|
|
11
|
+
}
|
|
12
|
+
declare const _default: Meta;
|
|
13
|
+
export default _default;
|
|
14
|
+
export declare const Tab: StoryFn;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LitElement } from 'lit-element';
|
|
2
|
+
import { TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './toggle-group.defs';
|
|
3
|
+
declare class ToggleGroupItem extends LitElement {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
id: string;
|
|
6
|
+
variant: TOGGLE_GROUP_VARIANT;
|
|
7
|
+
size: TOGGLE_GROUP_SIZE;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
static styles: import("lit-element").CSSResult[];
|
|
10
|
+
static toggleGroupVariants: (props?: ({
|
|
11
|
+
variant?: "default" | "outline" | null | undefined;
|
|
12
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
13
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
14
|
+
protected getAttributesToExclude(): string[];
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
export { ToggleGroupItem };
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
import { TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './toggle-group.defs';
|
|
3
|
+
declare class ToggleGroup extends BaseElement {
|
|
4
|
+
twClass: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
type: TOGGLE_GROUP_TYPE;
|
|
7
|
+
required: boolean;
|
|
8
|
+
variant: TOGGLE_GROUP_VARIANT;
|
|
9
|
+
size: TOGGLE_GROUP_SIZE;
|
|
10
|
+
static styles: import("lit-element").CSSResult[];
|
|
11
|
+
protected getAttributesToExclude(): string[];
|
|
12
|
+
private selectedItems;
|
|
13
|
+
private childrenArray;
|
|
14
|
+
toggleSelection(itemId: string): void;
|
|
15
|
+
connectedCallback(): void;
|
|
16
|
+
firstUpdated(changedProperties: Map<string, unknown>): void;
|
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
export { ToggleGroup, TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { CheckboxProperties } from './checkbox.type';
|
|
3
|
+
export declare class Checkbox extends LitElement implements CheckboxProperties {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
type: string;
|
|
7
|
+
value: string;
|
|
8
|
+
required: boolean;
|
|
9
|
+
twCLass: string;
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
private _onClick;
|
|
12
|
+
click(): void;
|
|
13
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'rtg-checkbox': Checkbox;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const checkboxStyles = "peer h-4 w-4 align-middle shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground";
|
|
2
|
+
export declare const iconStyles = "flex items-center justify-center text-current pointer-events-none";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type CheckboxProperties = {
|
|
2
|
+
disabled: boolean;
|
|
3
|
+
checked: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type CheckboxArgs = {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
checked: boolean;
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
export type CheckboxWithRequiredArgs = {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
checked: boolean;
|
|
13
|
+
required: boolean;
|
|
14
|
+
label: string;
|
|
15
|
+
value?: string;
|
|
16
|
+
};
|
|
17
|
+
export type CheckboxWithValueArgs = {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
value: string;
|
|
20
|
+
label: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import * as inputType from './input.type';
|
|
3
|
+
import { BaseElement } from '../../../helpers';
|
|
4
|
+
export declare class RtgInput extends BaseElement {
|
|
5
|
+
constructor();
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
type: inputType.InputType;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
defaultValue: string;
|
|
10
|
+
value: string;
|
|
11
|
+
twClass: string;
|
|
12
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
13
|
+
handleInputChange(event: Event): void;
|
|
14
|
+
protected getAttributesToExclude(): string[];
|
|
15
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
declare global {
|
|
19
|
+
interface HTMLElementTagNameMap {
|
|
20
|
+
'rtg-input': RtgInput;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const inputStyles = "flex h-8 w-full rounded-md 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";
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PropertyValues } from 'lit';
|
|
2
|
+
import { BaseElement } from '../../../helpers';
|
|
3
|
+
export declare class Label extends BaseElement {
|
|
4
|
+
static labelVariants: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
5
|
+
for: string;
|
|
6
|
+
static styles: import("lit").CSSResult[];
|
|
7
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
8
|
+
protected getAttributesToExclude(): string[];
|
|
9
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'rtg-label': Label;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelStyle: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './light-sample-demo/light-sample.demo';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
|
2
|
+
export declare class LightSampleDemo extends BaseElement {
|
|
3
|
+
constructor();
|
|
4
|
+
protected getAttributesToExclude(): string[];
|
|
5
|
+
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
6
|
+
inputValue: string;
|
|
7
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8
|
+
}
|
|
9
|
+
declare global {
|
|
10
|
+
interface HTMLElementTagNameMap {
|
|
11
|
+
'light-sample-demo': LightSampleDemo;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare abstract class BaseElement extends LitElement {
|
|
3
|
+
constructor();
|
|
4
|
+
protected abstract getAttributesToExclude(): string[];
|
|
5
|
+
protected getFilteredAttributes(): {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
protected isCustomPropertySet(property: string): boolean;
|
|
9
|
+
protected applyCustomClass(variables: string[], selector: string, className?: string): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateUUID(): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactiveControllerHost } from 'lit';
|
|
2
|
+
export declare class MouseController {
|
|
3
|
+
private host;
|
|
4
|
+
pos: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
};
|
|
8
|
+
_onMouseMove: ({ clientX, clientY }: MouseEvent) => void;
|
|
9
|
+
_onClick: (e: MouseEvent) => void;
|
|
10
|
+
_onScroll: (e: Event) => void;
|
|
11
|
+
constructor(host: ReactiveControllerHost);
|
|
12
|
+
hostConnected(): void;
|
|
13
|
+
hostDisconnected(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Alert, AlertDescription, AlertTitle, Button, Badge, Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, Checkbox, ComboBox, Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, Popover, PopoverContent, PopoverTrigger, Toggle, ContextMenu, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuContent, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, Select, SelectItem, SelectList, SelectLabel, SelectSeperator, Switch, RadioGroup, RadioGroupItem, Separator, AspectRatio, Menubar, MenubarContent, MenubarGroup, MenubarMenu, MenubarItem, MenubarRadioItem, MenubarCheckboxItem, MenubarSeparator, MenubarShortcut, NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuLink, Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationEllipsis, PaginationNext, PaginationPrevious, Carousel, Calendar, DatePicker, Progress, Drawer, DrawerContent, DrawerClose, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTrigger, DrawerDescription, DrawerTitle, LightSampleDemo, RtgInput, Label } from './components';
|
|
2
|
+
export { Alert, AlertDescription, AlertTitle, Button, Badge, Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, Checkbox, ComboBox, Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, Popover, PopoverContent, PopoverTrigger, Toggle, ContextMenu, ContextMenuCheckboxItem, ContextMenuGroup, ContextMenuContent, ContextMenuItem, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, Select, SelectItem, SelectList, SelectLabel, SelectSeperator, Switch, RadioGroup, RadioGroupItem, Separator, AspectRatio, Menubar, MenubarContent, MenubarGroup, MenubarMenu, MenubarItem, MenubarRadioItem, MenubarCheckboxItem, MenubarSeparator, MenubarShortcut, NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuLink, Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationEllipsis, PaginationNext, PaginationPrevious, Carousel, Calendar, DatePicker, Progress, Drawer, DrawerContent, DrawerClose, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerTrigger, DrawerDescription, DrawerTitle, LightSampleDemo, RtgInput, Label, };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IntractableProps } from './intractable.interface';
|
|
3
|
+
export type ChangeableProps<T = React.ChangeEvent<HTMLInputElement> | string | number, K = unknown> = Partial<IntractableProps & {
|
|
4
|
+
onChange: (event?: T, value?: K) => void;
|
|
5
|
+
onBlur: (event?: T) => void;
|
|
6
|
+
onPaste: (event?: T) => void;
|
|
7
|
+
}>;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TWStyles: import("lit").CSSResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tw.styles';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TWStyles: import("lit").CSSResult;
|
package/package.json
CHANGED