revotech-ui-kit 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/components/atoms/alert/alert.atom.d.ts +7 -0
- package/dist/src/components/atoms/card/card.atom.d.ts +10 -0
- package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +5 -0
- package/dist/src/components/atoms/combo-box/combo-box.atom.d.ts +5 -0
- package/dist/src/components/atoms/combo-box/combo-box.stories.d.ts +5 -6
- package/dist/src/components/atoms/command/command.stories.d.ts +11 -0
- package/dist/src/components/atoms/dialog/dialog-close.d.ts +5 -0
- package/dist/src/components/atoms/dialog/dialog.atom.d.ts +17 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +19 -3
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +1 -0
- package/dist/src/components/atoms/index.d.ts +11 -5
- package/dist/src/components/atoms/label/label.atom.d.ts +5 -0
- package/dist/src/components/atoms/popover/popover.atom.d.ts +11 -1
- package/dist/src/components/atoms/textarea/textarea.atom.d.ts +16 -0
- package/dist/src/components/atoms/textarea/textarea.stories.d.ts +7 -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/toggle/toggle.stories.d.ts +5 -6
- package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +7 -0
- package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +16 -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-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.styles.d.ts +6 -0
- package/dist/src/components/molecules/index.d.ts +7 -1
- package/dist/src/components/molecules/toggle-group/defs.d.ts +37 -0
- package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +17 -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 +5 -0
- package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +4 -0
- package/dist/src/index.d.ts +2 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/revotech-ui-kit.cjs +0 -2293
- package/dist/revotech-ui-kit.js +0 -5608
- package/dist/src/assets/icons/arrows.icon.js +0 -20
- package/dist/src/assets/icons/arrows.icon.js.map +0 -1
- package/dist/src/assets/icons/index.js +0 -4
- package/dist/src/assets/icons/index.js.map +0 -1
- package/dist/src/assets/icons/search.icon.js +0 -19
- package/dist/src/assets/icons/search.icon.js.map +0 -1
- package/dist/src/assets/icons/tick.icon.js +0 -20
- package/dist/src/assets/icons/tick.icon.js.map +0 -1
- package/dist/src/components/atoms/alert/alert-description.js +0 -18
- package/dist/src/components/atoms/alert/alert-description.js.map +0 -1
- package/dist/src/components/atoms/alert/alert-title.js +0 -20
- package/dist/src/components/atoms/alert/alert-title.js.map +0 -1
- package/dist/src/components/atoms/alert/alert.atom.js +0 -55
- package/dist/src/components/atoms/alert/alert.atom.js.map +0 -1
- package/dist/src/components/atoms/alert/alert.stories.js +0 -62
- package/dist/src/components/atoms/alert/alert.stories.js.map +0 -1
- package/dist/src/components/atoms/alert/alert.styles.js +0 -21
- package/dist/src/components/atoms/alert/alert.styles.js.map +0 -1
- package/dist/src/components/atoms/alert/alert.types.js +0 -2
- package/dist/src/components/atoms/alert/alert.types.js.map +0 -1
- package/dist/src/components/atoms/badge/badge.atom.js +0 -43
- package/dist/src/components/atoms/badge/badge.atom.js.map +0 -1
- package/dist/src/components/atoms/badge/badge.stories.js +0 -110
- package/dist/src/components/atoms/badge/badge.stories.js.map +0 -1
- package/dist/src/components/atoms/badge/badge.style.js +0 -17
- package/dist/src/components/atoms/badge/badge.style.js.map +0 -1
- package/dist/src/components/atoms/badge/badge.type.js +0 -2
- package/dist/src/components/atoms/badge/badge.type.js.map +0 -1
- package/dist/src/components/atoms/button/button.atom.js +0 -67
- package/dist/src/components/atoms/button/button.atom.js.map +0 -1
- package/dist/src/components/atoms/button/button.stories.js +0 -204
- package/dist/src/components/atoms/button/button.stories.js.map +0 -1
- package/dist/src/components/atoms/button/button.style.js +0 -24
- package/dist/src/components/atoms/button/button.style.js.map +0 -1
- package/dist/src/components/atoms/button/button.type.js +0 -2
- package/dist/src/components/atoms/button/button.type.js.map +0 -1
- package/dist/src/components/atoms/card/card-content.js +0 -17
- package/dist/src/components/atoms/card/card-content.js.map +0 -1
- package/dist/src/components/atoms/card/card-description.js +0 -17
- package/dist/src/components/atoms/card/card-description.js.map +0 -1
- package/dist/src/components/atoms/card/card-footer.js +0 -17
- package/dist/src/components/atoms/card/card-footer.js.map +0 -1
- package/dist/src/components/atoms/card/card-header.js +0 -17
- package/dist/src/components/atoms/card/card-header.js.map +0 -1
- package/dist/src/components/atoms/card/card-title.js +0 -17
- package/dist/src/components/atoms/card/card-title.js.map +0 -1
- package/dist/src/components/atoms/card/card.atom.js +0 -25
- package/dist/src/components/atoms/card/card.atom.js.map +0 -1
- package/dist/src/components/atoms/card/card.stories.js +0 -136
- package/dist/src/components/atoms/card/card.stories.js.map +0 -1
- package/dist/src/components/atoms/checkbox/checkbox.atom.js +0 -87
- package/dist/src/components/atoms/checkbox/checkbox.atom.js.map +0 -1
- package/dist/src/components/atoms/checkbox/checkbox.stories.js +0 -244
- package/dist/src/components/atoms/checkbox/checkbox.stories.js.map +0 -1
- package/dist/src/components/atoms/checkbox/checkbox.style.js +0 -3
- package/dist/src/components/atoms/checkbox/checkbox.style.js.map +0 -1
- package/dist/src/components/atoms/checkbox/checkbox.type.js +0 -2
- package/dist/src/components/atoms/checkbox/checkbox.type.js.map +0 -1
- package/dist/src/components/atoms/combo-box/combo-box-input.js +0 -47
- package/dist/src/components/atoms/combo-box/combo-box-input.js.map +0 -1
- package/dist/src/components/atoms/combo-box/combo-box-item.js +0 -85
- package/dist/src/components/atoms/combo-box/combo-box-item.js.map +0 -1
- package/dist/src/components/atoms/combo-box/combo-box-list.js +0 -67
- package/dist/src/components/atoms/combo-box/combo-box-list.js.map +0 -1
- package/dist/src/components/atoms/combo-box/combo-box.atom.js +0 -199
- package/dist/src/components/atoms/combo-box/combo-box.atom.js.map +0 -1
- package/dist/src/components/atoms/combo-box/combo-box.stories.js +0 -86
- package/dist/src/components/atoms/combo-box/combo-box.stories.js.map +0 -1
- package/dist/src/components/atoms/command-empty/command-empty.atom.js +0 -53
- package/dist/src/components/atoms/command-empty/command-empty.atom.js.map +0 -1
- package/dist/src/components/atoms/command-group/command-group.atom.js +0 -70
- package/dist/src/components/atoms/command-group/command-group.atom.js.map +0 -1
- package/dist/src/components/atoms/command-item/command-item.atom.js +0 -78
- package/dist/src/components/atoms/command-item/command-item.atom.js.map +0 -1
- package/dist/src/components/atoms/command-list/command-list.atom.js +0 -35
- package/dist/src/components/atoms/command-list/command-list.atom.js.map +0 -1
- package/dist/src/components/atoms/command-separator/command-separator.atom.js +0 -51
- package/dist/src/components/atoms/command-separator/command-separator.atom.js.map +0 -1
- package/dist/src/components/atoms/dialog/dialog-close.js +0 -46
- package/dist/src/components/atoms/dialog/dialog-close.js.map +0 -1
- package/dist/src/components/atoms/dialog/dialog-content.js +0 -72
- package/dist/src/components/atoms/dialog/dialog-content.js.map +0 -1
- package/dist/src/components/atoms/dialog/dialog-footer.js +0 -22
- package/dist/src/components/atoms/dialog/dialog-footer.js.map +0 -1
- package/dist/src/components/atoms/dialog/dialog-header.js +0 -40
- package/dist/src/components/atoms/dialog/dialog-header.js.map +0 -1
- package/dist/src/components/atoms/dialog/dialog-overly.js +0 -20
- package/dist/src/components/atoms/dialog/dialog-overly.js.map +0 -1
- package/dist/src/components/atoms/dialog/dialog-trigger.js +0 -53
- package/dist/src/components/atoms/dialog/dialog-trigger.js.map +0 -1
- package/dist/src/components/atoms/dialog/dialog.atom.js +0 -78
- package/dist/src/components/atoms/dialog/dialog.atom.js.map +0 -1
- package/dist/src/components/atoms/dialog/dialog.stories.js +0 -88
- package/dist/src/components/atoms/dialog/dialog.stories.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.js +0 -115
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.js +0 -80
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.js +0 -70
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.js +0 -78
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.js +0 -116
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.js +0 -51
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.js +0 -20
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.js +0 -77
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.js +0 -211
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.js.map +0 -1
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.js +0 -4
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.js.map +0 -1
- package/dist/src/components/atoms/index.js +0 -14
- package/dist/src/components/atoms/index.js.map +0 -1
- package/dist/src/components/atoms/input/input.atom.js +0 -93
- package/dist/src/components/atoms/input/input.atom.js.map +0 -1
- package/dist/src/components/atoms/input/input.stories.js +0 -382
- package/dist/src/components/atoms/input/input.stories.js.map +0 -1
- package/dist/src/components/atoms/input/input.styles.js +0 -2
- package/dist/src/components/atoms/input/input.styles.js.map +0 -1
- package/dist/src/components/atoms/input/input.type.js +0 -2
- package/dist/src/components/atoms/input/input.type.js.map +0 -1
- package/dist/src/components/atoms/label/label.atom.js +0 -67
- package/dist/src/components/atoms/label/label.atom.js.map +0 -1
- package/dist/src/components/atoms/label/label.stories.js +0 -85
- package/dist/src/components/atoms/label/label.stories.js.map +0 -1
- package/dist/src/components/atoms/label/label.style.js +0 -3
- package/dist/src/components/atoms/label/label.style.js.map +0 -1
- package/dist/src/components/atoms/popover/popover-content.js +0 -62
- package/dist/src/components/atoms/popover/popover-content.js.map +0 -1
- package/dist/src/components/atoms/popover/popover-trigger.js +0 -50
- package/dist/src/components/atoms/popover/popover-trigger.js.map +0 -1
- package/dist/src/components/atoms/popover/popover.atom.js +0 -40
- package/dist/src/components/atoms/popover/popover.atom.js.map +0 -1
- package/dist/src/components/atoms/popover/popover.stories.js +0 -69
- package/dist/src/components/atoms/popover/popover.stories.js.map +0 -1
- package/dist/src/components/atoms/popover/popover.style.js +0 -21
- package/dist/src/components/atoms/popover/popover.style.js.map +0 -1
- package/dist/src/components/atoms/popover/popover.types.js +0 -4
- package/dist/src/components/atoms/popover/popover.types.js.map +0 -1
- package/dist/src/components/atoms/toggle/defs.js +0 -30
- package/dist/src/components/atoms/toggle/defs.js.map +0 -1
- package/dist/src/components/atoms/toggle/toggle.atom.js +0 -72
- package/dist/src/components/atoms/toggle/toggle.atom.js.map +0 -1
- package/dist/src/components/atoms/toggle/toggle.stories.js +0 -189
- package/dist/src/components/atoms/toggle/toggle.stories.js.map +0 -1
- package/dist/src/components/atoms/toggle/toggle.style.js +0 -19
- package/dist/src/components/atoms/toggle/toggle.style.js.map +0 -1
- package/dist/src/components/command/command.d.ts +0 -56
- package/dist/src/components/command/command.js +0 -402
- package/dist/src/components/command/command.js.map +0 -1
- package/dist/src/components/command/command.stories.d.ts +0 -5
- package/dist/src/components/command/command.stories.js +0 -153
- package/dist/src/components/command/command.stories.js.map +0 -1
- package/dist/src/components/index.js +0 -3
- package/dist/src/components/index.js.map +0 -1
- package/dist/src/components/molecules/command/command.molecules.js +0 -27
- package/dist/src/components/molecules/command/command.molecules.js.map +0 -1
- package/dist/src/components/molecules/command-input/command-input.atom.js +0 -125
- package/dist/src/components/molecules/command-input/command-input.atom.js.map +0 -1
- package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.js +0 -2
- package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.js.map +0 -1
- package/dist/src/components/molecules/index.js +0 -2
- package/dist/src/components/molecules/index.js.map +0 -1
- package/dist/src/helpers/base-element.js +0 -62
- package/dist/src/helpers/base-element.js.map +0 -1
- package/dist/src/helpers/index.js +0 -4
- package/dist/src/helpers/index.js.map +0 -1
- package/dist/src/helpers/mouse-conroller.helper.js +0 -33
- package/dist/src/helpers/mouse-conroller.helper.js.map +0 -1
- package/dist/src/helpers/style.helpers.js +0 -6
- package/dist/src/helpers/style.helpers.js.map +0 -1
- package/dist/src/index.js +0 -5
- package/dist/src/index.js.map +0 -1
- package/dist/src/interfaces/actionable.interface.js +0 -2
- package/dist/src/interfaces/actionable.interface.js.map +0 -1
- package/dist/src/interfaces/atomic.interface.js +0 -2
- package/dist/src/interfaces/atomic.interface.js.map +0 -1
- package/dist/src/interfaces/changeable.interface.js +0 -2
- package/dist/src/interfaces/changeable.interface.js.map +0 -1
- package/dist/src/interfaces/child-support-atomic.interface.js +0 -2
- package/dist/src/interfaces/child-support-atomic.interface.js.map +0 -1
- package/dist/src/interfaces/index.js +0 -7
- package/dist/src/interfaces/index.js.map +0 -1
- package/dist/src/interfaces/intractable.interface.js +0 -2
- package/dist/src/interfaces/intractable.interface.js.map +0 -1
- package/dist/src/interfaces/variant.interface.js +0 -2
- package/dist/src/interfaces/variant.interface.js.map +0 -1
- package/dist/src/lib/index.js +0 -2
- package/dist/src/lib/index.js.map +0 -1
- package/dist/src/lib/next/next.lib.js +0 -2
- package/dist/src/lib/next/next.lib.js.map +0 -1
- package/dist/src/lib/react/react.lib.js +0 -16
- package/dist/src/lib/react/react.lib.js.map +0 -1
- package/dist/src/lib/tw-styles.js +0 -1956
- package/dist/src/lib/tw-styles.js.map +0 -1
- package/dist/src/styles/index.js +0 -2
- package/dist/src/styles/index.js.map +0 -1
- package/dist/src/styles/tw.styles.js +0 -2218
- package/dist/src/styles/tw.styles.js.map +0 -1
- package/dist/src/wc-ui-app.js +0 -88
- package/dist/src/wc-ui-app.js.map +0 -1
- package/dist/test/wc-ui-app.test.d.ts +0 -0
- package/dist/test/wc-ui-app.test.js +0 -18
- package/dist/test/wc-ui-app.test.js.map +0 -1
- package/dist/vite.config.d.ts +0 -2
- package/dist/vite.config.js +0 -29
- package/dist/vite.config.js.map +0 -1
- /package/dist/src/components/atoms/{command-empty → command}/command-empty.atom.d.ts +0 -0
- /package/dist/src/components/atoms/{command-group → command}/command-group.atom.d.ts +0 -0
- /package/dist/src/components/{molecules/command-input → atoms/command}/command-input.atom.d.ts +0 -0
- /package/dist/src/components/atoms/{command-item → command}/command-item.atom.d.ts +0 -0
- /package/dist/src/components/atoms/{command-list → command}/command-list.atom.d.ts +0 -0
- /package/dist/src/components/atoms/{command-separator → command}/command-separator.atom.d.ts +0 -0
- /package/dist/src/components/{molecules/command/command.molecules.d.ts → atoms/command/command.atom.d.ts} +0 -0
@@ -13,3 +13,10 @@ declare class Alert extends LitElement {
|
|
13
13
|
render(): import("lit-html").TemplateResult<1>;
|
14
14
|
}
|
15
15
|
export { Alert, AlertDescription, AlertTitle };
|
16
|
+
declare global {
|
17
|
+
interface HTMLElementTagNameMap {
|
18
|
+
'rtg-alert': Alert;
|
19
|
+
'rtg-alert-description': AlertDescription;
|
20
|
+
'rtg-alert-title': AlertTitle;
|
21
|
+
}
|
22
|
+
}
|
@@ -9,3 +9,13 @@ declare class Card extends LitElement {
|
|
9
9
|
render(): import("lit-html").TemplateResult<1>;
|
10
10
|
}
|
11
11
|
export { Card, CardTitle, CardHeader, CardFooter, CardDescription, CardContent, };
|
12
|
+
declare global {
|
13
|
+
interface HTMLElementTagNameMap {
|
14
|
+
'rtg-card': Card;
|
15
|
+
'rtg-card-title': CardTitle;
|
16
|
+
'rtg-card-header': CardHeader;
|
17
|
+
'rtg-card-footer': CardFooter;
|
18
|
+
'rtg-card-description': CardDescription;
|
19
|
+
'rtg-card-content': CardContent;
|
20
|
+
}
|
21
|
+
}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import type { Meta,
|
1
|
+
import type { Meta, StoryFn } from '@storybook/web-components';
|
2
2
|
import './combo-box.atom';
|
3
3
|
import './combo-box-list';
|
4
4
|
import './combo-box-item';
|
5
|
-
declare const
|
6
|
-
export default
|
7
|
-
|
8
|
-
export declare const
|
9
|
-
export declare const emptyComboBox: Story;
|
5
|
+
declare const _default: Meta;
|
6
|
+
export default _default;
|
7
|
+
export declare const basicComboBox: StoryFn;
|
8
|
+
export declare const emptyComboBox: StoryFn;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import './command-empty.atom';
|
2
|
+
import './command-group.atom';
|
3
|
+
import './command-item.atom';
|
4
|
+
import './command-list.atom';
|
5
|
+
import './command-separator.atom';
|
6
|
+
import './command.atom';
|
7
|
+
import './command-input.atom';
|
8
|
+
import { Meta } from '@storybook/web-components';
|
9
|
+
declare const _default: Meta;
|
10
|
+
export default _default;
|
11
|
+
export declare const Command: () => import("lit-html").TemplateResult<1>;
|
@@ -5,3 +5,8 @@ export declare class DialogClose extends LitElement {
|
|
5
5
|
protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
6
6
|
render(): import("lit-html").TemplateResult<1>;
|
7
7
|
}
|
8
|
+
declare global {
|
9
|
+
interface HTMLElementTagNameMap {
|
10
|
+
'rtg-dialog-close': DialogClose;
|
11
|
+
}
|
12
|
+
}
|
@@ -1,8 +1,24 @@
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
2
|
-
|
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
|
+
declare class Dialog extends LitElement {
|
3
8
|
static styles: import("lit").CSSResult[];
|
4
9
|
state: string;
|
5
10
|
private get _content();
|
6
11
|
protected updated(_changedProperties: PropertyValues): void;
|
7
12
|
render(): import("lit-html").TemplateResult<1>;
|
8
13
|
}
|
14
|
+
export { Dialog, DialogContent, DialogClose, DialogFooter, DialogHeader, DialogOverlay, };
|
15
|
+
declare global {
|
16
|
+
interface HTMLElementTagNameMap {
|
17
|
+
'rtg-dialog': Dialog;
|
18
|
+
'rtg-dialog-content': DialogContent;
|
19
|
+
'rtg-dialog-close': DialogClose;
|
20
|
+
'rtg-dialog-footer': DialogFooter;
|
21
|
+
'rtg-dialog-header': DialogHeader;
|
22
|
+
'rtg-dialog-overlay': DialogOverlay;
|
23
|
+
}
|
24
|
+
}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
2
|
-
import './dropdown-menu-content';
|
3
|
-
import './dropdown-menu-item';
|
4
|
-
|
2
|
+
import { DropdownMenuContent } from './dropdown-menu-content';
|
3
|
+
import { DropdownMenuItem } from './dropdown-menu-item';
|
4
|
+
import { DropdownMenuRadioItem } from './dropdown-menu-radio-item';
|
5
|
+
import { DropdownMenuSeparator } from './dropdown-menu-seperator';
|
6
|
+
import { DropdownMenuCheckboxItem } from './dropdown-menu-checkbox-Item';
|
7
|
+
import { DropdownMenuGroup } from './dropdown-menu-group';
|
8
|
+
declare class DropdownMenu extends LitElement {
|
5
9
|
static styles: import("lit").CSSResult[];
|
6
10
|
isOpen: boolean;
|
7
11
|
connectedCallback(): void;
|
@@ -12,3 +16,15 @@ export declare class DropdownMenu extends LitElement {
|
|
12
16
|
protected updated(_changedProperties: PropertyValues): void;
|
13
17
|
render(): import("lit-html").TemplateResult<1>;
|
14
18
|
}
|
19
|
+
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, };
|
20
|
+
declare global {
|
21
|
+
interface HTMLElementTagNameMap {
|
22
|
+
'rtg-dropdown-menu': DropdownMenu;
|
23
|
+
'rtg-dropdown-menu-checkbox-item': DropdownMenuCheckboxItem;
|
24
|
+
'rtg-dropdown-menu-group': DropdownMenuGroup;
|
25
|
+
'rtg-dropdown-menu-content': DropdownMenuContent;
|
26
|
+
'rtg-dropdown-menu-item': DropdownMenuItem;
|
27
|
+
'rtg-dropdown-menu-radio-item': DropdownMenuRadioItem;
|
28
|
+
'rtg-dropdown-menu-separator': DropdownMenuSeparator;
|
29
|
+
}
|
30
|
+
}
|
@@ -7,6 +7,7 @@ import '../button/button.atom';
|
|
7
7
|
import './dropdown-menu-checkbox-Item';
|
8
8
|
import './dropdown-menu-radio-item';
|
9
9
|
import './dropdown-menu-shortcut';
|
10
|
+
import '../button/button.atom';
|
10
11
|
import { Meta, StoryFn } from '@storybook/web-components';
|
11
12
|
declare const _default: Meta;
|
12
13
|
export default _default;
|
@@ -3,11 +3,17 @@ export * from './checkbox/checkbox.atom';
|
|
3
3
|
export * from './dialog/dialog.atom';
|
4
4
|
export * from './input/input.atom';
|
5
5
|
export * from './label/label.atom';
|
6
|
-
export * from './command
|
7
|
-
export * from './command
|
8
|
-
export * from './command
|
9
|
-
export * from './command
|
10
|
-
export * from './command
|
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';
|
11
13
|
export * from './card/card.atom';
|
12
14
|
export * from './popover/popover.atom';
|
13
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,8 +1,18 @@
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
2
|
-
|
2
|
+
import { PopoverContent } from './popover-content';
|
3
|
+
import { PopoverTrigger } from './popover-trigger';
|
4
|
+
declare class Popover extends LitElement {
|
3
5
|
static styles: import("lit").CSSResult[];
|
4
6
|
isOpen: boolean;
|
5
7
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
6
8
|
protected updated(_changedProperties: PropertyValues): void;
|
7
9
|
render(): import("lit-html").TemplateResult<1>;
|
8
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,16 @@
|
|
1
|
+
import { PropertyValues } from 'lit';
|
2
|
+
import { BaseElement } from '../../../helpers';
|
3
|
+
export declare class TextArea extends BaseElement {
|
4
|
+
constructor();
|
5
|
+
disabled: boolean;
|
6
|
+
placeholder: string;
|
7
|
+
defaultValue: string;
|
8
|
+
rows: string;
|
9
|
+
cols: string;
|
10
|
+
value: string;
|
11
|
+
static styles: import("lit").CSSResult[];
|
12
|
+
protected firstUpdated(_changedProperties: PropertyValues): void;
|
13
|
+
handleInputChange(event: Event): void;
|
14
|
+
protected getAttributesToExclude(): string[];
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
16
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const textAreaStyles = "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50";
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import type { Meta,
|
2
|
-
declare const
|
3
|
-
export default
|
4
|
-
|
5
|
-
export declare const
|
6
|
-
export declare const RequiredToggle: Story;
|
1
|
+
import type { Meta, StoryFn } from '@storybook/web-components';
|
2
|
+
declare const _default: Meta;
|
3
|
+
export default _default;
|
4
|
+
export declare const toggle: StoryFn;
|
5
|
+
export declare const requiredToggleTemplate: StoryFn;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
2
|
+
export declare class BreadCrumbLink extends BaseElement {
|
3
|
+
href: string;
|
4
|
+
static styles: import("lit").CSSResult[];
|
5
|
+
protected getAttributesToExclude(): string[];
|
6
|
+
render(): import("lit-html").TemplateResult<1>;
|
7
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { Meta } from '@storybook/web-components';
|
2
|
+
import './breadcrumb.molecules';
|
3
|
+
import './Breadcrumb-link';
|
4
|
+
import './breadcrumb-ellipsis';
|
5
|
+
import './breadcrumb-item';
|
6
|
+
import './breadcrumb-list';
|
7
|
+
import './breadcrumb-separator';
|
8
|
+
import './breadcrumb-text';
|
9
|
+
import './breadcrumb.styles';
|
10
|
+
import '../../atoms/dropdownMenu/dropdown-menu.atom';
|
11
|
+
import '../../atoms/dropdownMenu/dropdown-menu-group';
|
12
|
+
import '../../atoms/dropdownMenu/dropdown-menu-item';
|
13
|
+
import '../../atoms/dropdownMenu/dropdown-menu-content';
|
14
|
+
declare const _default: Meta;
|
15
|
+
export default _default;
|
16
|
+
export declare const BreadCrumb: () => import("lit-html").TemplateResult<1>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const breadcrumbItemStyles = "inline-flex items-center gap-1.5";
|
2
|
+
export declare const breadcrumbLink = "transition-colors hover:text-foreground";
|
3
|
+
export declare const breadcrumbTextStyles = "font-normal text-foreground";
|
4
|
+
export declare const breadcrumbSeparatorStyles = "[&>svg]:size-3.5";
|
5
|
+
export declare const breadcrumbEllipsisStyles = "flex h-9 w-9 items-center justify-center";
|
6
|
+
export declare const breadcrumbListStyles = "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";
|
@@ -1 +1,7 @@
|
|
1
|
-
export * from './
|
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';
|
@@ -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,17 @@
|
|
1
|
+
import { LitElement } from 'lit-element';
|
2
|
+
import { TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './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,19 @@
|
|
1
|
+
import { BaseElement } from '../../../helpers';
|
2
|
+
import { TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './defs';
|
3
|
+
import './toggle-group-item';
|
4
|
+
declare class ToggleGroup extends BaseElement {
|
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, };
|
package/dist/src/index.d.ts
CHANGED
@@ -1,4 +1,2 @@
|
|
1
|
-
import { Button } from './components
|
2
|
-
|
3
|
-
import { Input } from './components/atoms/input/input.atom';
|
4
|
-
export { Button, Badge, Input };
|
1
|
+
import { Alert, AlertDescription, AlertTitle, Button, Badge, Input, 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 } from './components';
|
2
|
+
export { Alert, AlertDescription, AlertTitle, Button, Badge, Input, 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, };
|