revotech-ui-kit 0.0.12 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/arrows.icon.d.ts +1 -0
- package/dist/assets/icons/index.d.ts +3 -0
- package/dist/assets/icons/search.icon.d.ts +1 -0
- package/dist/assets/icons/tick.icon.d.ts +1 -0
- package/dist/components/atoms/alert/alert-description.d.ts +6 -0
- package/dist/components/atoms/alert/alert-title.d.ts +6 -0
- package/dist/components/atoms/alert/alert.atom.d.ts +23 -0
- package/dist/components/atoms/alert/alert.stories.d.ts +6 -0
- package/dist/components/atoms/alert/alert.styles.d.ts +4 -0
- package/dist/components/atoms/alert/alert.types.d.ts +1 -0
- package/dist/components/atoms/badge/badge.atom.d.ts +17 -0
- package/dist/components/atoms/badge/badge.stories.d.ts +6 -0
- package/dist/components/atoms/badge/badge.style.d.ts +3 -0
- package/dist/components/atoms/badge/badge.type.d.ts +1 -0
- package/dist/components/atoms/button/button.atom.d.ts +23 -0
- package/dist/components/atoms/button/button.stories.d.ts +6 -0
- package/dist/components/atoms/button/button.style.d.ts +4 -0
- package/dist/components/atoms/button/button.type.d.ts +3 -0
- package/dist/components/atoms/card/card-content.d.ts +6 -0
- package/dist/components/atoms/card/card-description.d.ts +6 -0
- package/dist/components/atoms/card/card-footer.d.ts +6 -0
- package/dist/components/atoms/card/card-header.d.ts +6 -0
- package/dist/components/atoms/card/card-title.d.ts +6 -0
- package/dist/components/atoms/card/card.atom.d.ts +22 -0
- package/dist/components/atoms/card/card.stories.d.ts +6 -0
- package/dist/components/atoms/checkbox/checkbox.atom.d.ts +19 -0
- package/dist/components/atoms/checkbox/checkbox.stories.d.ts +7 -0
- package/dist/components/atoms/checkbox/checkbox.style.d.ts +2 -0
- package/dist/components/atoms/checkbox/checkbox.type.d.ts +21 -0
- package/dist/components/atoms/combo-box/combo-box-input.d.ts +9 -0
- package/dist/components/atoms/combo-box/combo-box-item.d.ts +13 -0
- package/dist/components/atoms/combo-box/combo-box-list.d.ts +10 -0
- package/dist/components/atoms/combo-box/combo-box.atom.d.ts +27 -0
- package/dist/components/atoms/combo-box/combo-box.stories.d.ts +6 -0
- package/dist/components/atoms/command/command-empty.atom.d.ts +10 -0
- package/dist/components/atoms/command/command-group.atom.d.ts +11 -0
- package/dist/components/atoms/command/command-input.atom.d.ts +11 -0
- package/dist/components/atoms/command/command-item.atom.d.ts +13 -0
- package/dist/components/atoms/command/command-list.atom.d.ts +7 -0
- package/dist/components/atoms/command/command-separator.atom.d.ts +10 -0
- package/dist/components/atoms/command/command.atom.d.ts +7 -0
- package/dist/components/atoms/command/command.stories.d.ts +5 -0
- package/dist/components/atoms/dialog/dialog-close.d.ts +13 -0
- package/dist/components/atoms/dialog/dialog-content.d.ts +9 -0
- package/dist/components/atoms/dialog/dialog-footer.d.ts +6 -0
- package/dist/components/atoms/dialog/dialog-header.d.ts +8 -0
- package/dist/components/atoms/dialog/dialog-overly.d.ts +6 -0
- package/dist/components/atoms/dialog/dialog-trigger.d.ts +9 -0
- package/dist/components/atoms/dialog/dialog.atom.d.ts +25 -0
- package/dist/components/atoms/dialog/dialog.stories.d.ts +7 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.d.ts +16 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-content.d.ts +14 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +11 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +13 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-radio-item.d.ts +16 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +10 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +6 -0
- package/dist/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +31 -0
- package/dist/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +7 -0
- package/dist/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +2 -0
- package/dist/components/atoms/index.d.ts +19 -0
- package/dist/components/atoms/input/input.atom.d.ts +22 -0
- package/dist/components/atoms/input/input.stories.d.ts +6 -0
- package/dist/components/atoms/input/input.styles.d.ts +1 -0
- package/dist/components/atoms/input/input.type.d.ts +21 -0
- package/dist/components/atoms/label/label.atom.d.ts +17 -0
- package/dist/components/atoms/label/label.stories.d.ts +6 -0
- package/dist/components/atoms/label/label.style.d.ts +1 -0
- package/dist/components/atoms/popover/popover-content.d.ts +12 -0
- package/dist/components/atoms/popover/popover-trigger.d.ts +10 -0
- package/dist/components/atoms/popover/popover.atom.d.ts +19 -0
- package/dist/components/atoms/popover/popover.stories.d.ts +5 -0
- package/dist/components/atoms/popover/popover.style.d.ts +5 -0
- package/dist/components/atoms/popover/popover.types.d.ts +2 -0
- package/dist/components/atoms/textarea/textarea.atom.d.ts +17 -0
- package/dist/components/atoms/textarea/textarea.stories.d.ts +5 -0
- package/dist/components/atoms/textarea/textarea.styles.d.ts +1 -0
- package/dist/components/atoms/textarea/textarea.type.d.ts +11 -0
- package/dist/components/atoms/toggle/defs.d.ts +27 -0
- package/dist/components/atoms/toggle/toggle.atom.d.ts +20 -0
- package/dist/components/atoms/toggle/toggle.stories.d.ts +6 -0
- package/dist/components/atoms/toggle/toggle.style.d.ts +4 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/molecules/breadCrumb/Breadcrumb-link.d.ts +8 -0
- package/dist/components/molecules/breadCrumb/breadCrumb.stories.d.ts +5 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-item.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-list.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-separator.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb-text.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +7 -0
- package/dist/components/molecules/breadCrumb/breadcrumb.styles.d.ts +6 -0
- package/dist/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
- package/dist/components/molecules/index.d.ts +7 -0
- package/dist/components/molecules/toggle-group/defs.d.ts +37 -0
- package/dist/components/molecules/toggle-group/toggle-group-item.d.ts +18 -0
- package/dist/components/molecules/toggle-group/toggle-group.molecules.d.ts +19 -0
- package/dist/components/molecules/toggle-group/toggle-group.stories.d.ts +5 -0
- package/dist/components/molecules/toggle-group/toggle-group.style.d.ts +4 -0
- package/dist/helpers/base-element.d.ts +11 -0
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/mouse-conroller.helper.d.ts +15 -0
- package/dist/helpers/style.helpers.d.ts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/interfaces/actionable.interface.d.ts +6 -0
- package/dist/interfaces/atomic.interface.d.ts +6 -0
- package/dist/interfaces/changeable.interface.d.ts +8 -0
- package/dist/interfaces/child-support-atomic.interface.d.ts +5 -0
- package/dist/interfaces/index.d.ts +6 -0
- package/dist/interfaces/intractable.interface.d.ts +6 -0
- package/dist/interfaces/variant.interface.d.ts +3 -0
- package/dist/lib/index.d.ts +0 -0
- package/dist/lib/next/next.lib.d.ts +0 -0
- package/dist/lib/react/react.lib.d.ts +3 -0
- package/dist/lib/tw-styles.d.ts +1 -0
- package/dist/revotech-ui-kit.js +7135 -0
- package/dist/revotech-ui-kit.umd.cjs +2977 -0
- package/dist/src/assets/icons/arrows.icon.d.ts +1 -1
- package/dist/src/assets/icons/search.icon.d.ts +1 -1
- package/dist/src/assets/icons/tick.icon.d.ts +1 -1
- package/dist/src/components/atoms/alert/alert-description.d.ts +3 -2
- package/dist/src/components/atoms/alert/alert-title.d.ts +3 -2
- package/dist/src/components/atoms/alert/alert.atom.d.ts +4 -3
- package/dist/src/components/atoms/alert/alert.stories.d.ts +1 -1
- package/dist/src/components/atoms/alert/alert.styles.d.ts +1 -1
- package/dist/src/components/atoms/badge/badge.atom.d.ts +4 -3
- package/dist/src/components/atoms/badge/badge.stories.d.ts +2 -2
- package/dist/src/components/atoms/badge/badge.style.d.ts +1 -1
- package/dist/src/components/atoms/button/button.atom.d.ts +4 -3
- package/dist/src/components/atoms/button/button.stories.d.ts +2 -2
- package/dist/src/components/atoms/button/button.style.d.ts +1 -1
- package/dist/src/components/atoms/card/card-content.d.ts +3 -2
- package/dist/src/components/atoms/card/card-description.d.ts +3 -2
- package/dist/src/components/atoms/card/card-footer.d.ts +3 -2
- package/dist/src/components/atoms/card/card-header.d.ts +3 -2
- package/dist/src/components/atoms/card/card-title.d.ts +3 -2
- package/dist/src/components/atoms/card/card.atom.d.ts +3 -2
- package/dist/src/components/atoms/card/card.stories.d.ts +2 -2
- package/dist/src/components/atoms/checkbox/checkbox.atom.d.ts +3 -2
- package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +2 -3
- package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +3 -2
- package/dist/src/components/atoms/combo-box/combo-box-item.d.ts +3 -2
- package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +3 -2
- package/dist/src/components/atoms/combo-box/combo-box.atom.d.ts +3 -4
- package/dist/src/components/atoms/combo-box/combo-box.stories.d.ts +2 -4
- package/dist/src/components/atoms/command/command-empty.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-group.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-input.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-item.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-list.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command-separator.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command.atom.d.ts +3 -2
- package/dist/src/components/atoms/command/command.stories.d.ts +2 -8
- package/dist/src/components/atoms/dialog/dialog-close.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-content.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-footer.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-header.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-overly.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog-trigger.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog.atom.d.ts +3 -2
- package/dist/src/components/atoms/dialog/dialog.stories.d.ts +1 -10
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-checkbox-Item.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-content.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-radio-item.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +3 -2
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +1 -10
- package/dist/src/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +2 -2
- package/dist/src/components/atoms/input/input.atom.d.ts +4 -3
- package/dist/src/components/atoms/input/input.stories.d.ts +1 -3
- package/dist/src/components/atoms/label/label.atom.d.ts +4 -3
- package/dist/src/components/atoms/label/label.stories.d.ts +1 -1
- package/dist/src/components/atoms/label/label.style.d.ts +1 -1
- package/dist/src/components/atoms/popover/popover-content.d.ts +3 -2
- package/dist/src/components/atoms/popover/popover-trigger.d.ts +3 -2
- package/dist/src/components/atoms/popover/popover.atom.d.ts +3 -2
- package/dist/src/components/atoms/popover/popover.stories.d.ts +1 -6
- package/dist/src/components/atoms/popover/popover.style.d.ts +2 -2
- package/dist/src/components/atoms/textarea/textarea.atom.d.ts +3 -2
- package/dist/src/components/atoms/textarea/textarea.stories.d.ts +1 -3
- package/dist/src/components/atoms/toggle/toggle.atom.d.ts +4 -3
- package/dist/src/components/atoms/toggle/toggle.stories.d.ts +2 -1
- package/dist/src/components/atoms/toggle/toggle.style.d.ts +1 -1
- package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +2 -13
- package/dist/src/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb-item.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb-list.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb-separator.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb-text.d.ts +3 -2
- package/dist/src/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +3 -2
- package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +4 -3
- package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +3 -3
- package/dist/src/components/molecules/toggle-group/toggle-group.stories.d.ts +2 -2
- package/dist/src/components/molecules/toggle-group/toggle-group.style.d.ts +1 -1
- package/dist/src/helpers/base-element.d.ts +1 -0
- package/dist/src/helpers/mouse-conroller.helper.d.ts +1 -0
- package/dist/src/helpers/style.helpers.d.ts +2 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/interfaces/actionable.interface.d.ts +2 -1
- package/dist/src/interfaces/changeable.interface.d.ts +2 -1
- package/dist/src/interfaces/child-support-atomic.interface.d.ts +1 -0
- package/dist/src/lib/react/react.lib.d.ts +4 -4
- package/dist/src/lib/tw-styles.d.ts +1 -1
- package/dist/src/styles/tw.styles.d.ts +1 -1
- package/dist/src/wc-ui-app.d.ts +3 -2
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/tw.styles.d.ts +1 -0
- package/dist/wc-ui-app.d.ts +7 -0
- package/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,9 +1,10 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
+
|
2
3
|
export declare class DropdownMenuRadioItem extends LitElement {
|
3
4
|
_id: string;
|
4
5
|
_hidden: string;
|
5
6
|
private static _counter;
|
6
|
-
static styles: import(
|
7
|
+
static styles: import('lit').CSSResult[];
|
7
8
|
private get identifier();
|
8
9
|
get value(): string;
|
9
10
|
selected: boolean;
|
@@ -11,5 +12,5 @@ export declare class DropdownMenuRadioItem extends LitElement {
|
|
11
12
|
checked: boolean;
|
12
13
|
disabled: boolean;
|
13
14
|
toggleChecked(): void;
|
14
|
-
render(): import(
|
15
|
+
render(): import('lit-html').TemplateResult<1>;
|
15
16
|
}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
+
|
2
3
|
export declare class DropdownMenuSeparator extends LitElement {
|
3
4
|
_id: string;
|
4
5
|
_hidden: string;
|
5
6
|
private static _counter;
|
6
|
-
static styles: import(
|
7
|
+
static styles: import('lit').CSSResult[];
|
7
8
|
private get identifier();
|
8
|
-
render(): import(
|
9
|
+
render(): import('lit-html').TemplateResult<1>;
|
9
10
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
+
|
2
3
|
export declare class DropdownMenuShortcut extends LitElement {
|
3
|
-
static styles: import(
|
4
|
-
render(): import(
|
4
|
+
static styles: import('lit').CSSResult[];
|
5
|
+
render(): import('lit-html').TemplateResult<1>;
|
5
6
|
}
|
@@ -5,8 +5,9 @@ import { DropdownMenuRadioItem } from './dropdown-menu-radio-item';
|
|
5
5
|
import { DropdownMenuSeparator } from './dropdown-menu-seperator';
|
6
6
|
import { DropdownMenuCheckboxItem } from './dropdown-menu-checkbox-Item';
|
7
7
|
import { DropdownMenuGroup } from './dropdown-menu-group';
|
8
|
+
|
8
9
|
declare class DropdownMenu extends LitElement {
|
9
|
-
static styles: import(
|
10
|
+
static styles: import('lit').CSSResult[];
|
10
11
|
isOpen: boolean;
|
11
12
|
connectedCallback(): void;
|
12
13
|
disconnectedCallback(): void;
|
@@ -14,7 +15,7 @@ declare class DropdownMenu extends LitElement {
|
|
14
15
|
handleClickOutside: (e: MouseEvent) => void;
|
15
16
|
private get _content();
|
16
17
|
protected updated(_changedProperties: PropertyValues): void;
|
17
|
-
render(): import(
|
18
|
+
render(): import('lit-html').TemplateResult<1>;
|
18
19
|
}
|
19
20
|
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuGroup, };
|
20
21
|
declare global {
|
@@ -1,14 +1,5 @@
|
|
1
|
-
import './dropdown-menu-content';
|
2
|
-
import './dropdown-menu-group';
|
3
|
-
import './dropdown-menu-item';
|
4
|
-
import './dropdown-menu-seperator';
|
5
|
-
import './dropdown-menu.atom';
|
6
|
-
import '../button/button.atom';
|
7
|
-
import './dropdown-menu-checkbox-Item';
|
8
|
-
import './dropdown-menu-radio-item';
|
9
|
-
import './dropdown-menu-shortcut';
|
10
|
-
import '../button/button.atom';
|
11
1
|
import { Meta, StoryFn } from '@storybook/web-components';
|
2
|
+
|
12
3
|
declare const _default: Meta;
|
13
4
|
export default _default;
|
14
5
|
export declare const DropdownMenu: StoryFn;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const dropdownMenuRootStyle: (props?: import(
|
2
|
-
export declare const dropdownMenuContentStyle: (props?: import(
|
1
|
+
export declare const dropdownMenuRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
|
2
|
+
export declare const dropdownMenuContentStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { PropertyValues } from 'lit';
|
2
|
-
import * as inputType from './input.type';
|
3
2
|
import { BaseElement } from '../../../helpers';
|
3
|
+
|
4
|
+
import * as inputType from './input.type';
|
4
5
|
export declare class Input extends BaseElement {
|
5
6
|
constructor();
|
6
7
|
disabled: boolean;
|
@@ -8,11 +9,11 @@ export declare class Input extends BaseElement {
|
|
8
9
|
placeholder: string;
|
9
10
|
defaultValue: string;
|
10
11
|
value: string;
|
11
|
-
static styles: import(
|
12
|
+
static styles: import('lit').CSSResult[];
|
12
13
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
13
14
|
handleInputChange(event: Event): void;
|
14
15
|
protected getAttributesToExclude(): string[];
|
15
|
-
render(): import(
|
16
|
+
render(): import('lit-html').TemplateResult<1>;
|
16
17
|
}
|
17
18
|
declare global {
|
18
19
|
interface HTMLElementTagNameMap {
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import { PropertyValues } from 'lit';
|
2
2
|
import { BaseElement } from '../../../helpers';
|
3
|
+
|
3
4
|
export declare class Label extends BaseElement {
|
4
|
-
static labelVariants: (props?: import(
|
5
|
+
static labelVariants: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
|
5
6
|
for: string;
|
6
|
-
static styles: import(
|
7
|
+
static styles: import('lit').CSSResult[];
|
7
8
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
8
9
|
private _onClick;
|
9
10
|
protected getAttributesToExclude(): string[];
|
10
|
-
render(): import(
|
11
|
+
render(): import('lit-html').TemplateResult<1>;
|
11
12
|
}
|
12
13
|
declare global {
|
13
14
|
interface HTMLElementTagNameMap {
|
@@ -1 +1 @@
|
|
1
|
-
export declare const labelStyle: (props?: import(
|
1
|
+
export declare const labelStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
2
2
|
import { Popover } from './popover.atom';
|
3
|
+
|
3
4
|
export declare class PopoverContent extends LitElement {
|
4
|
-
static styles: import(
|
5
|
+
static styles: import('lit').CSSResult[];
|
5
6
|
get _popover(): Popover | null;
|
6
7
|
side: 'bottom' | 'left' | 'right' | 'top';
|
7
8
|
private handleClickOutside;
|
8
9
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
9
10
|
protected updated(_changedProperties: PropertyValues): void;
|
10
|
-
render(): import(
|
11
|
+
render(): import('lit-html').TemplateResult<1>;
|
11
12
|
}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
2
2
|
import { Popover } from './popover.atom';
|
3
|
+
|
3
4
|
export declare class PopoverTrigger extends LitElement {
|
4
|
-
static styles: import(
|
5
|
+
static styles: import('lit').CSSResult[];
|
5
6
|
handleClick: () => void;
|
6
7
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
7
8
|
get _popover(): Popover | null;
|
8
|
-
render(): import(
|
9
|
+
render(): import('lit-html').TemplateResult<1>;
|
9
10
|
}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import { LitElement, PropertyValues } from 'lit';
|
2
2
|
import { PopoverContent } from './popover-content';
|
3
3
|
import { PopoverTrigger } from './popover-trigger';
|
4
|
+
|
4
5
|
declare class Popover extends LitElement {
|
5
|
-
static styles: import(
|
6
|
+
static styles: import('lit').CSSResult[];
|
6
7
|
isOpen: boolean;
|
7
8
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
8
9
|
protected updated(_changedProperties: PropertyValues): void;
|
9
|
-
render(): import(
|
10
|
+
render(): import('lit-html').TemplateResult<1>;
|
10
11
|
}
|
11
12
|
export { Popover, PopoverContent, PopoverTrigger };
|
12
13
|
declare global {
|
@@ -1,10 +1,5 @@
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/web-components';
|
2
|
-
|
3
|
-
import './popover-trigger';
|
4
|
-
import './popover-content';
|
5
|
-
import '../button/button.atom';
|
6
|
-
import '../label/label.atom';
|
7
|
-
import '../input/input.atom';
|
2
|
+
|
8
3
|
declare const _default: Meta;
|
9
4
|
export default _default;
|
10
5
|
export declare const Default: StoryFn;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare const popoverRootStyle: (props?: import(
|
1
|
+
export declare const popoverRootStyle: (props?: import('class-variance-authority/dist/types').ClassProp | undefined) => string;
|
2
2
|
export declare const popoverContentStyle: (props?: ({
|
3
3
|
state?: "open" | "closed" | null | undefined;
|
4
4
|
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
5
|
-
} & import(
|
5
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { PropertyValues } from 'lit';
|
2
2
|
import { BaseElement } from '../../../helpers';
|
3
|
+
|
3
4
|
export declare class TextArea extends BaseElement {
|
4
5
|
constructor();
|
5
6
|
disabled: boolean;
|
@@ -8,9 +9,9 @@ export declare class TextArea extends BaseElement {
|
|
8
9
|
rows: string;
|
9
10
|
cols: string;
|
10
11
|
value: string;
|
11
|
-
static styles: import(
|
12
|
+
static styles: import('lit').CSSResult[];
|
12
13
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
13
14
|
handleInputChange(event: Event): void;
|
14
15
|
protected getAttributesToExclude(): string[];
|
15
|
-
render(): import(
|
16
|
+
render(): import('lit-html').TemplateResult<1>;
|
16
17
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { TOGGLE_SIZE, TOGGLE_VARIANT } from './defs';
|
2
2
|
import { BaseElement } from '../../../helpers';
|
3
|
+
|
3
4
|
export { TOGGLE_SIZE, TOGGLE_VARIANT };
|
4
5
|
declare class Toggle extends BaseElement {
|
5
6
|
disabled: boolean;
|
@@ -7,13 +8,13 @@ declare class Toggle extends BaseElement {
|
|
7
8
|
required: boolean;
|
8
9
|
variant: TOGGLE_VARIANT;
|
9
10
|
size: TOGGLE_SIZE;
|
10
|
-
static styles: import(
|
11
|
+
static styles: import('lit-element').CSSResult[];
|
11
12
|
static toggleVariants: (props?: ({
|
12
13
|
variant?: "default" | "outline" | null | undefined;
|
13
14
|
size?: "sm" | "lg" | "md" | null | undefined;
|
14
|
-
} & import(
|
15
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
15
16
|
protected getAttributesToExclude(): string[];
|
16
17
|
toggle(): void;
|
17
|
-
render(): import(
|
18
|
+
render(): import('lit-html').TemplateResult<1>;
|
18
19
|
}
|
19
20
|
export { Toggle };
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export declare const toggleStyle: (props?: ({
|
2
2
|
variant?: "default" | "outline" | null | undefined;
|
3
3
|
size?: "sm" | "lg" | "md" | null | undefined;
|
4
|
-
} & import(
|
4
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
+
|
2
3
|
export declare class BreadCrumbLink extends BaseElement {
|
3
4
|
href: string;
|
4
|
-
static styles: import(
|
5
|
+
static styles: import('lit').CSSResult[];
|
5
6
|
protected getAttributesToExclude(): string[];
|
6
|
-
render(): import(
|
7
|
+
render(): import('lit-html').TemplateResult<1>;
|
7
8
|
}
|
@@ -1,16 +1,5 @@
|
|
1
1
|
import { Meta } from '@storybook/web-components';
|
2
|
-
|
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';
|
2
|
+
|
14
3
|
declare const _default: Meta;
|
15
4
|
export default _default;
|
16
|
-
export declare const BreadCrumb: () => import(
|
5
|
+
export declare const BreadCrumb: () => import('lit-html').TemplateResult<1>;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
+
|
2
3
|
export declare class BreadCrumbEllipsis extends BaseElement {
|
3
|
-
static styles: import(
|
4
|
+
static styles: import('lit').CSSResult[];
|
4
5
|
protected getAttributesToExclude(): string[];
|
5
|
-
render(): import(
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
6
7
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
+
|
2
3
|
export declare class BreadCrumbItem extends BaseElement {
|
3
|
-
static styles: import(
|
4
|
+
static styles: import('lit').CSSResult[];
|
4
5
|
protected getAttributesToExclude(): string[];
|
5
|
-
render(): import(
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
6
7
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
+
|
2
3
|
export declare class BreadCrumbList extends BaseElement {
|
3
|
-
static styles: import(
|
4
|
+
static styles: import('lit').CSSResult[];
|
4
5
|
protected getAttributesToExclude(): string[];
|
5
|
-
render(): import(
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
6
7
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
+
|
2
3
|
export declare class BreadCrumbSeparator extends BaseElement {
|
3
|
-
static styles: import(
|
4
|
+
static styles: import('lit').CSSResult[];
|
4
5
|
protected getAttributesToExclude(): string[];
|
5
|
-
render(): import(
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
6
7
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
+
|
2
3
|
export declare class BreadCrumbText extends BaseElement {
|
3
|
-
static styles: import(
|
4
|
+
static styles: import('lit').CSSResult[];
|
4
5
|
protected getAttributesToExclude(): string[];
|
5
|
-
render(): import(
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
6
7
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
|
+
|
2
3
|
export declare class BreadCrumb extends BaseElement {
|
3
|
-
static styles: import(
|
4
|
+
static styles: import('lit').CSSResult[];
|
4
5
|
protected getAttributesToExclude(): string[];
|
5
|
-
render(): import(
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
6
7
|
}
|
@@ -1,17 +1,18 @@
|
|
1
1
|
import { LitElement } from 'lit-element';
|
2
2
|
import { TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './defs';
|
3
|
+
|
3
4
|
declare class ToggleGroupItem extends LitElement {
|
4
5
|
checked: boolean;
|
5
6
|
id: string;
|
6
7
|
variant: TOGGLE_GROUP_VARIANT;
|
7
8
|
size: TOGGLE_GROUP_SIZE;
|
8
9
|
disabled: boolean;
|
9
|
-
static styles: import(
|
10
|
+
static styles: import('lit-element').CSSResult[];
|
10
11
|
static toggleGroupVariants: (props?: ({
|
11
12
|
variant?: "default" | "outline" | null | undefined;
|
12
13
|
size?: "sm" | "lg" | "md" | null | undefined;
|
13
|
-
} & import(
|
14
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
14
15
|
protected getAttributesToExclude(): string[];
|
15
|
-
render(): import(
|
16
|
+
render(): import('lit-html').TemplateResult<1>;
|
16
17
|
}
|
17
18
|
export { ToggleGroupItem };
|
@@ -1,19 +1,19 @@
|
|
1
1
|
import { BaseElement } from '../../../helpers';
|
2
2
|
import { TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE } from './defs';
|
3
|
-
|
3
|
+
|
4
4
|
declare class ToggleGroup extends BaseElement {
|
5
5
|
disabled: boolean;
|
6
6
|
type: TOGGLE_GROUP_TYPE;
|
7
7
|
required: boolean;
|
8
8
|
variant: TOGGLE_GROUP_VARIANT;
|
9
9
|
size: TOGGLE_GROUP_SIZE;
|
10
|
-
static styles: import(
|
10
|
+
static styles: import('lit-element').CSSResult[];
|
11
11
|
protected getAttributesToExclude(): string[];
|
12
12
|
private selectedItems;
|
13
13
|
private childrenArray;
|
14
14
|
toggleSelection(itemId: string): void;
|
15
15
|
connectedCallback(): void;
|
16
16
|
firstUpdated(changedProperties: Map<string, unknown>): void;
|
17
|
-
render(): import(
|
17
|
+
render(): import('lit-html').TemplateResult<1>;
|
18
18
|
}
|
19
19
|
export { ToggleGroup, TOGGLE_GROUP_TYPE, TOGGLE_GROUP_VARIANT, TOGGLE_GROUP_SIZE, };
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export declare const toggleGroupStyle: (props?: ({
|
2
2
|
variant?: "default" | "outline" | null | undefined;
|
3
3
|
size?: "sm" | "lg" | "md" | null | undefined;
|
4
|
-
} & import(
|
4
|
+
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
package/dist/src/index.d.ts
CHANGED
@@ -1,2 +1,3 @@
|
|
1
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
|
+
|
2
3
|
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, };
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import { default as React } from 'react';
|
2
2
|
import { IntractableProps } from './intractable.interface';
|
3
|
+
|
3
4
|
export type ChangeableProps<T = React.ChangeEvent<HTMLInputElement> | string | number, K = unknown> = Partial<IntractableProps & {
|
4
5
|
onChange: (event?: T, value?: K) => void;
|
5
6
|
onBlur: (event?: T) => void;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Button } from '
|
2
|
-
|
3
|
-
declare const ButtonReact: import(
|
4
|
-
declare const CheckboxReact: import(
|
1
|
+
import { Button, Checkbox } from '../../components';
|
2
|
+
|
3
|
+
declare const ButtonReact: import('@lit-labs/react').ReactWebComponent<Button, {}>;
|
4
|
+
declare const CheckboxReact: import('@lit-labs/react').ReactWebComponent<Checkbox, {}>;
|
5
5
|
export { ButtonReact, CheckboxReact };
|
@@ -1 +1 @@
|
|
1
|
-
export declare const TWStyles: import(
|
1
|
+
export declare const TWStyles: import('lit').CSSResult;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const TWStyles: import(
|
1
|
+
export declare const TWStyles: import('lit').CSSResult;
|
package/dist/src/wc-ui-app.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
|
+
|
2
3
|
export declare class WcUiApp extends LitElement {
|
3
4
|
header: string;
|
4
|
-
static styles: import(
|
5
|
-
render(): import(
|
5
|
+
static styles: import('lit').CSSResult;
|
6
|
+
render(): import('lit-html').TemplateResult<1>;
|
6
7
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './tw.styles';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const TWStyles: import('lit').CSSResult;
|
package/package.json
CHANGED
@@ -3,22 +3,22 @@
|
|
3
3
|
"description": "Webcomponent wc-ui following open-wc recommendations",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "wc-ui",
|
6
|
-
"version": "0.0.
|
6
|
+
"version": "0.0.15",
|
7
7
|
"type": "module",
|
8
8
|
"main": "dist/revotech-ui-kit.umd.cjs",
|
9
9
|
"module": "./dist/revotech-ui-kit.js",
|
10
10
|
"files": [
|
11
|
-
"dist
|
11
|
+
"dist"
|
12
12
|
],
|
13
13
|
|
14
|
-
"types": "
|
14
|
+
"types": "./dist/src/index.d.ts",
|
15
15
|
"scripts": {
|
16
16
|
"release": "npm version $(semver $npm_package_version -i major) && npm publish --tag latest",
|
17
17
|
"release:minor": "npm version $(semver $npm_package_version -i minor) && npm publish --tag latest",
|
18
18
|
"release:patch": "npm version $(semver $npm_package_version -i patch) && npm publish --tag latest",
|
19
19
|
"release:beta": "npm version $(semver $npm_package_version -i prerelease --preid $(npm whoami) ) && npm publish --tag beta",
|
20
20
|
"link:dev": "npm run build:prod && npm link",
|
21
|
-
"build:dev": "
|
21
|
+
"build:dev": "vite build",
|
22
22
|
"clean": "rimraf dist",
|
23
23
|
"preview": "vite preview",
|
24
24
|
"dev": "vite",
|