xv-webcomponents 1.8.2-qa.0 → 1.8.3-qa.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/xv-accordion-v2_45.cjs.entry.js +33 -36
- package/dist/cjs/xv-webcomponents.cjs.js +1 -1
- package/dist/collection/components/xv-button/xv-button.js +6 -6
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +10 -7
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +6 -6
- package/dist/collection/components/xv-data-table/xv-data-table.js +9 -9
- package/dist/collection/components/xv-datepicker/xv-datepicker.js +6 -6
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +10 -7
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +6 -6
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +5 -5
- package/dist/collection/components/xv-link/xv-link.js +1 -1
- package/dist/collection/components/xv-loader/xv-loader.js +4 -4
- package/dist/collection/components/xv-modal/xv-modal.js +5 -5
- package/dist/collection/components/xv-notification/xv-notification.js +5 -5
- package/dist/collection/components/xv-number-input/xv-number-input.js +6 -6
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +6 -6
- package/dist/collection/components/xv-pagination/xv-pagination.js +5 -5
- package/dist/collection/components/xv-progress-indicator/_vars.js +0 -5
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +12 -19
- package/dist/collection/components/xv-radio/xv-radio.js +6 -6
- package/dist/collection/components/xv-table/xv-table.js +9 -7
- package/dist/collection/components/xv-tabs/xv-tabs.js +4 -4
- package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +6 -6
- package/dist/collection/components/xv-text-input/xv-text-input.js +6 -6
- package/dist/collection/components/xv-textarea/xv-textarea.js +6 -6
- package/dist/collection/components/xv-toggle/xv-toggle.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/xv-accordion-v2_45.entry.js +33 -36
- package/dist/esm/xv-webcomponents.js +1 -1
- package/dist/types/components/xv-button/xv-button.d.ts +2 -2
- package/dist/types/components/xv-checkbox/xv-checkbox.d.ts +2 -2
- package/dist/types/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.d.ts +1 -1
- package/dist/types/components/xv-data-table/xv-data-table.d.ts +3 -3
- package/dist/types/components/xv-datepicker/xv-datepicker.d.ts +2 -2
- package/dist/types/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.d.ts +2 -2
- package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +3 -3
- package/dist/types/components/xv-file-uploader/xv-file-uploader.d.ts +2 -2
- package/dist/types/components/xv-loader/xv-loader.d.ts +2 -2
- package/dist/types/components/xv-modal/xv-modal.d.ts +2 -2
- package/dist/types/components/xv-notification/_vars.d.ts +1 -0
- package/dist/types/components/xv-notification/xv-notification.d.ts +2 -2
- package/dist/types/components/xv-number-input/xv-number-input.d.ts +2 -2
- package/dist/types/components/xv-overflow-menu/xv-overflow-menu.d.ts +2 -2
- package/dist/types/components/xv-pagination/xv-pagination.d.ts +2 -2
- package/dist/types/components/xv-progress-indicator/_vars.d.ts +0 -4
- package/dist/types/components/xv-progress-indicator/xv-progress-indicator.d.ts +3 -5
- package/dist/types/components/xv-radio/xv-radio.d.ts +2 -2
- package/dist/types/components/xv-table/xv-table.d.ts +2 -2
- package/dist/types/components/xv-tabs/_vars.d.ts +1 -0
- package/dist/types/components/xv-tabs/xv-tabs.d.ts +2 -2
- package/dist/types/components/xv-tag-combobox/xv-tag-combobox.d.ts +2 -2
- package/dist/types/components/xv-text-input/xv-text-input.d.ts +2 -2
- package/dist/types/components/xv-textarea/xv-textarea.d.ts +2 -2
- package/dist/types/components/xv-toggle/xv-toggle.d.ts +2 -2
- package/dist/types/components.d.ts +80 -62
- package/dist/types/types/enum.d.ts +1 -0
- package/dist/xv-webcomponents/p-e8d8061e.entry.js +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/xv-webcomponents/p-8f21bea3.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
import { DropdownItemData } from './_vars';
|
|
4
4
|
export declare class XvDropdown {
|
|
5
5
|
el: HTMLElement;
|
|
@@ -10,14 +10,14 @@ export declare class XvDropdown {
|
|
|
10
10
|
loading?: boolean;
|
|
11
11
|
readonly?: boolean;
|
|
12
12
|
open?: boolean;
|
|
13
|
-
error?: string | boolean;
|
|
13
|
+
error?: string | boolean | null;
|
|
14
14
|
label?: string;
|
|
15
15
|
helper?: string;
|
|
16
16
|
warning?: string;
|
|
17
17
|
placeholder?: string;
|
|
18
18
|
info?: string;
|
|
19
19
|
searchPlaceholder: string;
|
|
20
|
-
size:
|
|
20
|
+
size: SIZE_VAR_STR;
|
|
21
21
|
defaultValue?: DropdownItemData['value'] | DropdownItemData['value'][];
|
|
22
22
|
variant?: 'ghost' | 'default';
|
|
23
23
|
selected: DropdownItemData['text'][];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
import { XvFileUploaderVariants } from './_vars';
|
|
4
4
|
export declare class XvFileUploader {
|
|
5
5
|
label?: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
addText?: string;
|
|
8
8
|
variant: XvFileUploaderVariants;
|
|
9
|
-
size:
|
|
9
|
+
size: SIZE_VAR_STR;
|
|
10
10
|
accept: string[];
|
|
11
11
|
buttonVariant: 'primary' | 'secondary' | 'ghost' | 'danger' | 'tertiary';
|
|
12
12
|
maxFileSizeMB: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
2
2
|
export declare class XvLoader {
|
|
3
3
|
/**
|
|
4
4
|
* Is component displayed
|
|
@@ -11,6 +11,6 @@ export declare class XvLoader {
|
|
|
11
11
|
/**
|
|
12
12
|
* Size of loader. Default size depends of font size
|
|
13
13
|
*/
|
|
14
|
-
size:
|
|
14
|
+
size: SIZE_VAR_STR;
|
|
15
15
|
render(): any;
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
export declare class XvModal {
|
|
4
4
|
el: HTMLElement;
|
|
5
5
|
/**
|
|
@@ -13,7 +13,7 @@ export declare class XvModal {
|
|
|
13
13
|
/**
|
|
14
14
|
* Size of modal. But max size is 90% view width
|
|
15
15
|
*/
|
|
16
|
-
size:
|
|
16
|
+
size: SIZE_VAR_STR;
|
|
17
17
|
/**
|
|
18
18
|
* When need scroll modal content
|
|
19
19
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { NOTIFICATION_VARIANTS_STR } from './_vars';
|
|
3
3
|
export declare class XvNotification {
|
|
4
4
|
el: HTMLElement;
|
|
5
|
-
variant:
|
|
5
|
+
variant: NOTIFICATION_VARIANTS_STR;
|
|
6
6
|
dismissible: boolean;
|
|
7
7
|
close: EventEmitter<MouseEvent>;
|
|
8
8
|
private closeHandle;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
export declare class XvNumberInput {
|
|
4
4
|
label: string;
|
|
5
5
|
placeholder?: string;
|
|
@@ -16,7 +16,7 @@ export declare class XvNumberInput {
|
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
loading: boolean;
|
|
18
18
|
block?: boolean;
|
|
19
|
-
size:
|
|
19
|
+
size: SIZE_VAR_STR;
|
|
20
20
|
internals: ElementInternals;
|
|
21
21
|
private increment;
|
|
22
22
|
private decrement;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
import { OverflowMenuEvent } from './_vars';
|
|
4
4
|
export declare class XvOverflowMenu {
|
|
5
5
|
el: HTMLElement;
|
|
6
6
|
open: boolean;
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
position: 'left' | 'right' | 'center';
|
|
9
|
-
size:
|
|
9
|
+
size: SIZE_VAR_STR;
|
|
10
10
|
tooltip?: string;
|
|
11
11
|
selectItem: EventEmitter<OverflowMenuEvent>;
|
|
12
12
|
handleKeyDown(ev: KeyboardEvent): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
import { XvPaginationVariant } from './xv-pagination.model';
|
|
4
4
|
export declare class XvPagination {
|
|
5
5
|
private readonly itemsPerPageOptions;
|
|
@@ -9,7 +9,7 @@ export declare class XvPagination {
|
|
|
9
9
|
itemsPerPage: number;
|
|
10
10
|
total: number;
|
|
11
11
|
page: number;
|
|
12
|
-
size:
|
|
12
|
+
size: SIZE_VAR_STR;
|
|
13
13
|
block?: boolean;
|
|
14
14
|
variant: XvPaginationVariant;
|
|
15
15
|
responsiveVariant?: Partial<Record<XvPaginationVariant, [number?, number?]>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { SIZE_VAR } from '../../types/enum';
|
|
1
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
2
|
export declare class XvProgressIndicator {
|
|
4
3
|
el: HTMLElement;
|
|
5
4
|
/**
|
|
@@ -9,16 +8,15 @@ export declare class XvProgressIndicator {
|
|
|
9
8
|
progress: number;
|
|
10
9
|
/**
|
|
11
10
|
* Progress variant
|
|
12
|
-
* enum PROGRESS_VARIANTS
|
|
13
11
|
* possible option `horizontal`
|
|
14
12
|
*/
|
|
15
|
-
variant:
|
|
13
|
+
variant: 'horizontal' | '';
|
|
16
14
|
/**
|
|
17
15
|
* Size of progress
|
|
18
16
|
* enum SIZE_VAR
|
|
19
17
|
* possible options `XS | SM | MD | LG | XL`
|
|
20
18
|
*/
|
|
21
|
-
size:
|
|
19
|
+
size: SIZE_VAR_STR;
|
|
22
20
|
updateChildItems(): void;
|
|
23
21
|
componentDidLoad(): void;
|
|
24
22
|
render(): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
2
2
|
export declare class XvRadio {
|
|
3
3
|
private inputEl;
|
|
4
4
|
private internals;
|
|
@@ -15,7 +15,7 @@ export declare class XvRadio {
|
|
|
15
15
|
readonly: boolean;
|
|
16
16
|
error: string | boolean;
|
|
17
17
|
warning: string | boolean;
|
|
18
|
-
size:
|
|
18
|
+
size: SIZE_VAR_STR;
|
|
19
19
|
constructor();
|
|
20
20
|
onCheckedChange(newValue: boolean): void;
|
|
21
21
|
render(): any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
2
2
|
import { SelectRowDto } from './_vars';
|
|
3
3
|
export declare class XvTable {
|
|
4
4
|
el: HTMLElement;
|
|
5
|
-
size
|
|
5
|
+
size: SIZE_VAR_STR;
|
|
6
6
|
hover?: boolean;
|
|
7
7
|
loading?: boolean;
|
|
8
8
|
colsSize?: (string | null)[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { TABS_VATIANT_STR } from './_vars';
|
|
3
3
|
export declare class XvTabs {
|
|
4
4
|
el: HTMLElement;
|
|
5
5
|
/**
|
|
@@ -17,7 +17,7 @@ export declare class XvTabs {
|
|
|
17
17
|
/**
|
|
18
18
|
* Variant of tabs from TABS_VATIANT enum
|
|
19
19
|
*/
|
|
20
|
-
variant:
|
|
20
|
+
variant: TABS_VATIANT_STR;
|
|
21
21
|
/**
|
|
22
22
|
* Message when have no tabs
|
|
23
23
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { TagComboboxOpt, TagComboboxOptIn } from './xv-tag-combobox.config';
|
|
3
|
-
import {
|
|
3
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
4
4
|
export declare class XvTagCombobox {
|
|
5
5
|
host: HTMLElement;
|
|
6
6
|
options: TagComboboxOptIn[];
|
|
7
7
|
label: string;
|
|
8
|
-
size:
|
|
8
|
+
size: SIZE_VAR_STR;
|
|
9
9
|
placeholder: string;
|
|
10
10
|
allowCreate: boolean;
|
|
11
11
|
maxSuggestions: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
/**
|
|
4
4
|
* xv-text-input — custom input
|
|
5
5
|
* ti get data you can use default Input event
|
|
@@ -20,7 +20,7 @@ export declare class XvTextInput {
|
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
loading: boolean;
|
|
22
22
|
block?: boolean;
|
|
23
|
-
size:
|
|
23
|
+
size: SIZE_VAR_STR;
|
|
24
24
|
isPasswordVisible: boolean;
|
|
25
25
|
internals: ElementInternals;
|
|
26
26
|
private togglePassword;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
export declare class XvTextarea {
|
|
4
4
|
value: string;
|
|
5
5
|
name?: string;
|
|
@@ -17,7 +17,7 @@ export declare class XvTextarea {
|
|
|
17
17
|
loading: boolean;
|
|
18
18
|
max?: number;
|
|
19
19
|
rows: number;
|
|
20
|
-
size:
|
|
20
|
+
size: SIZE_VAR_STR;
|
|
21
21
|
internals: ElementInternals;
|
|
22
22
|
valueChange: EventEmitter<string>;
|
|
23
23
|
private onInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SIZE_VAR_STR } from '../../types/enum';
|
|
3
3
|
export declare class XvToggle {
|
|
4
4
|
label?: string;
|
|
5
5
|
value: string;
|
|
@@ -7,7 +7,7 @@ export declare class XvToggle {
|
|
|
7
7
|
checked: boolean;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
readonly?: boolean;
|
|
10
|
-
size:
|
|
10
|
+
size: SIZE_VAR_STR;
|
|
11
11
|
block?: boolean;
|
|
12
12
|
internals: ElementInternals;
|
|
13
13
|
toggleChange: EventEmitter<boolean>;
|