@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,48 @@
|
|
|
1
|
+
export * from './accordion/accordion.atoms';
|
|
2
|
+
export * from './alert/alert.atom';
|
|
3
|
+
export * from './aspect-ratio/aspect-ratio-atom';
|
|
4
|
+
export * from './avatar/avatar.atom';
|
|
5
|
+
export * from './avatar/avatar-fallback';
|
|
6
|
+
export * from './avatar/avatar-image';
|
|
7
|
+
export * from './button/button.atom';
|
|
8
|
+
export * from './badge/badge.atom';
|
|
9
|
+
export * from './card/card.atom';
|
|
10
|
+
export * from './collapsible/collapsible.atom';
|
|
11
|
+
export * from './checkbox/checkbox.atom';
|
|
12
|
+
export * from './context-menu/context-menu.atom';
|
|
13
|
+
export * from './command/command.atom';
|
|
14
|
+
export * from './command/command-empty.atom';
|
|
15
|
+
export * from './command/command-group.atom';
|
|
16
|
+
export * from './command/command-input.atom';
|
|
17
|
+
export * from './command/command-item.atom';
|
|
18
|
+
export * from './command/command-list.atom';
|
|
19
|
+
export * from './command/command-separator.atom';
|
|
20
|
+
export * from './combobox/combo-box.atom';
|
|
21
|
+
export * from './dialog/dialog.atom';
|
|
22
|
+
export * from './dialog/dialog-close';
|
|
23
|
+
export * from './dialog/dialog-content';
|
|
24
|
+
export * from './dialog/dialog-footer';
|
|
25
|
+
export * from './dialog/dialog-header';
|
|
26
|
+
export * from './dialog/dialog-overly';
|
|
27
|
+
export * from './dialog/dialog-trigger';
|
|
28
|
+
export * from './dropdown-menu/dropdown-menu.atom';
|
|
29
|
+
export * from './hoverCard/hover-card.atom';
|
|
30
|
+
export * from './input/input.atom';
|
|
31
|
+
export * from './label/label.atom';
|
|
32
|
+
export * from './popover/popover.atom';
|
|
33
|
+
export * from './radio-group/radio-group.atom';
|
|
34
|
+
export * from './select/select.atom';
|
|
35
|
+
export * from './seperator/separator.atom';
|
|
36
|
+
export * from './switch/switch.atom';
|
|
37
|
+
export * from './textarea/textarea.atom';
|
|
38
|
+
export * from './toast/toast.atom';
|
|
39
|
+
export * from './toggle/toggle.atom';
|
|
40
|
+
export * from './sample-demo/sample-demo';
|
|
41
|
+
export * from './collapsible/collapsible.atom';
|
|
42
|
+
export * from './aspect-ratio/aspect-ratio-atom';
|
|
43
|
+
export * from './menubar/menubar.atom';
|
|
44
|
+
export * from './navigation-menu/navigation-menu';
|
|
45
|
+
export * from './pagination/pagination.atom';
|
|
46
|
+
export * from './carousel/carousel.atom';
|
|
47
|
+
export * from './calendar/calendar.atom';
|
|
48
|
+
export * from './date-picker/date-picker.atom';
|
|
@@ -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 Input extends BaseElement {
|
|
5
|
+
constructor();
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
type: inputType.InputType;
|
|
8
|
+
placeholder: string;
|
|
9
|
+
defaultValue: 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-input': Input;
|
|
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
|
+
private _onClick;
|
|
9
|
+
protected getAttributesToExclude(): string[];
|
|
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,15 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class MenubarCheckboxItem extends LitElement {
|
|
3
|
+
_id: string;
|
|
4
|
+
_hidden: string;
|
|
5
|
+
private static _counter;
|
|
6
|
+
static styles: import("lit").CSSResult[];
|
|
7
|
+
private get identifier();
|
|
8
|
+
get value(): string;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
private handleMouseEvent;
|
|
11
|
+
checked: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
toggleChecked(): void;
|
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { MenubarMenu } from './menubar-menu';
|
|
3
|
+
export declare class MenubarContent extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
state: string;
|
|
6
|
+
id: string;
|
|
7
|
+
side: string;
|
|
8
|
+
isOpen: boolean;
|
|
9
|
+
get _menubarMenu(): MenubarMenu | null;
|
|
10
|
+
connectedCallback(): void;
|
|
11
|
+
disconnectedCallback(): void;
|
|
12
|
+
updated(changedProps: PropertyValues): void;
|
|
13
|
+
handleClickOutside(event: MouseEvent): void;
|
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class MenubarGroup extends LitElement {
|
|
3
|
+
heading: string;
|
|
4
|
+
_id: string;
|
|
5
|
+
_hidden: string;
|
|
6
|
+
private static _counter;
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
private get identifier();
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class MenubarItem extends LitElement {
|
|
3
|
+
_id: string;
|
|
4
|
+
_hidden: string;
|
|
5
|
+
private static _counter;
|
|
6
|
+
static styles: import("lit").CSSResult[];
|
|
7
|
+
private get identifier();
|
|
8
|
+
get value(): string;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
private handleMouseEvent;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export declare class MenubarMenu extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
uniqueIds: string[];
|
|
6
|
+
selectedMenu: string;
|
|
7
|
+
isHovering: boolean;
|
|
8
|
+
id: string;
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
disconnectedCallback(): void;
|
|
11
|
+
toggleMenubar(e: MouseEvent): void;
|
|
12
|
+
handleClickOutside: (e: MouseEvent) => void;
|
|
13
|
+
private get _content();
|
|
14
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
15
|
+
private _handleRadioSelected;
|
|
16
|
+
private get _slotElements();
|
|
17
|
+
firstUpdated(): void;
|
|
18
|
+
raiseEvent(): void;
|
|
19
|
+
closeAllMenus(): void;
|
|
20
|
+
handleHover(): void;
|
|
21
|
+
handleMouseLeave(): void;
|
|
22
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class MenubarRadioItem extends LitElement {
|
|
3
|
+
_id: string;
|
|
4
|
+
_hidden: string;
|
|
5
|
+
private static _counter;
|
|
6
|
+
static styles: import("lit").CSSResult[];
|
|
7
|
+
private get identifier();
|
|
8
|
+
get value(): string;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
private handleMouseEvent;
|
|
11
|
+
checked: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
toggleChecked(): void;
|
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class MenubarSeparator 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
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { MenubarContent } from './menubar-content';
|
|
3
|
+
import { MenubarGroup } from './menubar-group';
|
|
4
|
+
import { MenubarMenu } from './menubar-menu';
|
|
5
|
+
import { MenubarItem } from './menubar-item';
|
|
6
|
+
import { MenubarRadioItem } from './menubar-radio-item';
|
|
7
|
+
import { MenubarCheckboxItem } from './menubar-checkbox.item';
|
|
8
|
+
import { MenubarSeparator } from './menubar-seperator';
|
|
9
|
+
import { MenubarShortcut } from './menubar-shortcut';
|
|
10
|
+
declare class Menubar extends LitElement {
|
|
11
|
+
static styles: import("lit").CSSResult[];
|
|
12
|
+
twCLass: string;
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
}
|
|
15
|
+
export { Menubar, MenubarContent, MenubarGroup, MenubarMenu, MenubarItem, MenubarRadioItem, MenubarCheckboxItem, MenubarSeparator, MenubarShortcut, };
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'rtg-menubar': Menubar;
|
|
19
|
+
'rtg-menubar-menu': MenubarMenu;
|
|
20
|
+
'rtg-menubar-checkbox-item': MenubarCheckboxItem;
|
|
21
|
+
'rtg-menubar-group': MenubarGroup;
|
|
22
|
+
'rtg-menubar-content': MenubarContent;
|
|
23
|
+
'rtg-menubar-item': MenubarItem;
|
|
24
|
+
'rtg-menubar-radio-item': MenubarRadioItem;
|
|
25
|
+
'rtg-menubar-separator': MenubarSeparator;
|
|
26
|
+
'rtg-menubar-shortcut': MenubarShortcut;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { NavigationMenuItem } from './navigation-menu-item';
|
|
3
|
+
export declare class NavigationMenuContent extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
twClass: string;
|
|
6
|
+
state: string;
|
|
7
|
+
id: string;
|
|
8
|
+
side: string;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
get _menubarMenu(): NavigationMenuItem | null;
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
updated(changedProps: PropertyValues): void;
|
|
14
|
+
handleClickOutside(event: MouseEvent): void;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export declare class NavigationMenuItem extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
twClass: string;
|
|
5
|
+
value: string;
|
|
6
|
+
navigationLink: boolean;
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
uniqueIds: string[];
|
|
9
|
+
isHovering: boolean;
|
|
10
|
+
raiseEvent(): void;
|
|
11
|
+
private get _slotElements();
|
|
12
|
+
firstUpdated(): void;
|
|
13
|
+
closeAllMenus(): void;
|
|
14
|
+
toggleMenubar(e: MouseEvent): void;
|
|
15
|
+
private get _content();
|
|
16
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
handleClickOutside: (e: MouseEvent) => void;
|
|
20
|
+
handleHover(): void;
|
|
21
|
+
handleMouseLeave(): void;
|
|
22
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { NavigationMenuList } from './navigation-menu-list';
|
|
3
|
+
import { NavigationMenuItem } from './navigation-menu-item';
|
|
4
|
+
import { NavigationMenuContent } from './navigation-menu-content';
|
|
5
|
+
import { NavigationMenuLink } from './navigation-menu-link';
|
|
6
|
+
declare class NavigationMenu extends LitElement {
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
twClass: string;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
11
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuLink, };
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'rtg-navigation-menu': NavigationMenu;
|
|
15
|
+
'rtg-navigation-menu-list': NavigationMenuList;
|
|
16
|
+
'rtg-navigation-menu-item': NavigationMenuItem;
|
|
17
|
+
'rtg-navigation-menu-content': NavigationMenuContent;
|
|
18
|
+
'rtg-navigation-menu-link': NavigationMenuLink;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
export declare class PaginationItem extends LitElement {
|
|
3
|
+
static styles: import("lit").CSSResult[];
|
|
4
|
+
twClass: string;
|
|
5
|
+
uniqueIds: string[];
|
|
6
|
+
isActive: boolean;
|
|
7
|
+
private get _content();
|
|
8
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
9
|
+
handleClick(e: MouseEvent): void;
|
|
10
|
+
private get _slotElements();
|
|
11
|
+
firstUpdated(): void;
|
|
12
|
+
raiseEvent(): void;
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import * as paginationType from './pagination.type';
|
|
3
|
+
export declare class PaginationLink extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
static paginationVariants: (props?: ({
|
|
6
|
+
variant?: "outline" | "ghost" | null | undefined;
|
|
7
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
9
|
+
state: string;
|
|
10
|
+
twClass: string;
|
|
11
|
+
isActive: boolean;
|
|
12
|
+
size: paginationType.PaginationSize;
|
|
13
|
+
variant: paginationType.PaginationVariant;
|
|
14
|
+
href: string;
|
|
15
|
+
updated(changedProps: PropertyValues): void;
|
|
16
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { PaginationContent } from './pagination-content';
|
|
3
|
+
import { PaginationItem } from './pagination-item';
|
|
4
|
+
import { PaginationLink } from './pagination-link';
|
|
5
|
+
import { PaginationEllipsis } from './pagination-ellipsis';
|
|
6
|
+
import { PaginationNext } from './pagination-next';
|
|
7
|
+
import { PaginationPrevious } from './pagination-previous';
|
|
8
|
+
declare class Pagination extends LitElement {
|
|
9
|
+
static styles: import("lit").CSSResult[];
|
|
10
|
+
twClass: string;
|
|
11
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
12
|
+
}
|
|
13
|
+
export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationEllipsis, PaginationNext, PaginationPrevious, };
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
'rtg-pagination': Pagination;
|
|
17
|
+
'rtg-pagination-content': PaginationContent;
|
|
18
|
+
'rtg-pagination-item': PaginationItem;
|
|
19
|
+
'rtg-pagination-link': PaginationLink;
|
|
20
|
+
'rtg-pagination-ellipsis': PaginationEllipsis;
|
|
21
|
+
'rtg-pagination-next': PaginationNext;
|
|
22
|
+
'rtg-pagination-previous': PaginationPrevious;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { Popover } from './popover.atom';
|
|
3
|
+
export declare class PopoverContent extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
enableDefaultStyle: boolean;
|
|
6
|
+
styleContent: boolean;
|
|
7
|
+
side: 'bottom' | 'left' | 'right' | 'top';
|
|
8
|
+
get _popover(): Popover | null;
|
|
9
|
+
private handleClickOutside;
|
|
10
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
11
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
12
|
+
private preventClickPropagation;
|
|
13
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { Popover } from './popover.atom';
|
|
3
|
+
export declare class PopoverTrigger extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
get _popover(): Popover | null;
|
|
6
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7
|
+
handleClick: () => void;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import { PopoverContent } from './popover-content';
|
|
3
|
+
import { PopoverTrigger } from './popover-trigger';
|
|
4
|
+
declare class Popover extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult[];
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
8
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
11
|
+
export { Popover, PopoverContent, PopoverTrigger };
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'rtg-popover': Popover;
|
|
15
|
+
'rtg-popover-content': PopoverContent;
|
|
16
|
+
'rtg-popover-trigger': PopoverTrigger;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const popoverRootStyle: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|
|
2
|
+
export declare const popoverContentStyle: (props?: ({
|
|
3
|
+
state?: "open" | "closed" | null | undefined;
|
|
4
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
5
|
+
styleContent?: boolean | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
+
export declare const popoverContentWithoutStyle: (props?: ({
|
|
8
|
+
state?: "open" | "closed" | null | undefined;
|
|
9
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class RadioGroupItem extends LitElement {
|
|
3
|
+
checked: boolean;
|
|
4
|
+
tabindex: number;
|
|
5
|
+
value: string;
|
|
6
|
+
id: string;
|
|
7
|
+
state: string;
|
|
8
|
+
static styles: import("lit").CSSResult[];
|
|
9
|
+
private _onClick;
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'rtg-radio-group-item': RadioGroupItem;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { RadioGroupItem } from './radio-group-item';
|
|
3
|
+
declare class RadioGroup extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult[];
|
|
5
|
+
twClass: string;
|
|
6
|
+
connectedCallback(): void;
|
|
7
|
+
private _handleRadioSelected;
|
|
8
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
9
|
+
}
|
|
10
|
+
export { RadioGroupItem, RadioGroup };
|
|
11
|
+
declare global {
|
|
12
|
+
interface HTMLElementTagNameMap {
|
|
13
|
+
'rtg-radio-group': RadioGroup;
|
|
14
|
+
'rtg-radio-group-item': RadioGroupItem;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import * as sampleType from './sample.type';
|
|
3
|
+
export declare class SampleDemo extends LitElement {
|
|
4
|
+
static buttonVariants: (props?: ({
|
|
5
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
6
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
|
+
click: () => void;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
isCustomClass: boolean;
|
|
11
|
+
variant: sampleType.SampleVariant;
|
|
12
|
+
size: sampleType.SampleSize;
|
|
13
|
+
static styles: import("lit").CSSResult[];
|
|
14
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
}
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'rtg-sample-demo': SampleDemo;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const demoStyle: (props?: ({
|
|
2
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
3
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
4
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|