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.
Files changed (61) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/xv-accordion-v2_45.cjs.entry.js +33 -36
  3. package/dist/cjs/xv-webcomponents.cjs.js +1 -1
  4. package/dist/collection/components/xv-button/xv-button.js +6 -6
  5. package/dist/collection/components/xv-checkbox/xv-checkbox.js +10 -7
  6. package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +6 -6
  7. package/dist/collection/components/xv-data-table/xv-data-table.js +9 -9
  8. package/dist/collection/components/xv-datepicker/xv-datepicker.js +6 -6
  9. package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +10 -7
  10. package/dist/collection/components/xv-dropdown/xv-dropdown.js +6 -6
  11. package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +5 -5
  12. package/dist/collection/components/xv-link/xv-link.js +1 -1
  13. package/dist/collection/components/xv-loader/xv-loader.js +4 -4
  14. package/dist/collection/components/xv-modal/xv-modal.js +5 -5
  15. package/dist/collection/components/xv-notification/xv-notification.js +5 -5
  16. package/dist/collection/components/xv-number-input/xv-number-input.js +6 -6
  17. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +6 -6
  18. package/dist/collection/components/xv-pagination/xv-pagination.js +5 -5
  19. package/dist/collection/components/xv-progress-indicator/_vars.js +0 -5
  20. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +12 -19
  21. package/dist/collection/components/xv-radio/xv-radio.js +6 -6
  22. package/dist/collection/components/xv-table/xv-table.js +9 -7
  23. package/dist/collection/components/xv-tabs/xv-tabs.js +4 -4
  24. package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +6 -6
  25. package/dist/collection/components/xv-text-input/xv-text-input.js +6 -6
  26. package/dist/collection/components/xv-textarea/xv-textarea.js +6 -6
  27. package/dist/collection/components/xv-toggle/xv-toggle.js +5 -5
  28. package/dist/esm/loader.js +1 -1
  29. package/dist/esm/xv-accordion-v2_45.entry.js +33 -36
  30. package/dist/esm/xv-webcomponents.js +1 -1
  31. package/dist/types/components/xv-button/xv-button.d.ts +2 -2
  32. package/dist/types/components/xv-checkbox/xv-checkbox.d.ts +2 -2
  33. package/dist/types/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.d.ts +1 -1
  34. package/dist/types/components/xv-data-table/xv-data-table.d.ts +3 -3
  35. package/dist/types/components/xv-datepicker/xv-datepicker.d.ts +2 -2
  36. package/dist/types/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.d.ts +2 -2
  37. package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +3 -3
  38. package/dist/types/components/xv-file-uploader/xv-file-uploader.d.ts +2 -2
  39. package/dist/types/components/xv-loader/xv-loader.d.ts +2 -2
  40. package/dist/types/components/xv-modal/xv-modal.d.ts +2 -2
  41. package/dist/types/components/xv-notification/_vars.d.ts +1 -0
  42. package/dist/types/components/xv-notification/xv-notification.d.ts +2 -2
  43. package/dist/types/components/xv-number-input/xv-number-input.d.ts +2 -2
  44. package/dist/types/components/xv-overflow-menu/xv-overflow-menu.d.ts +2 -2
  45. package/dist/types/components/xv-pagination/xv-pagination.d.ts +2 -2
  46. package/dist/types/components/xv-progress-indicator/_vars.d.ts +0 -4
  47. package/dist/types/components/xv-progress-indicator/xv-progress-indicator.d.ts +3 -5
  48. package/dist/types/components/xv-radio/xv-radio.d.ts +2 -2
  49. package/dist/types/components/xv-table/xv-table.d.ts +2 -2
  50. package/dist/types/components/xv-tabs/_vars.d.ts +1 -0
  51. package/dist/types/components/xv-tabs/xv-tabs.d.ts +2 -2
  52. package/dist/types/components/xv-tag-combobox/xv-tag-combobox.d.ts +2 -2
  53. package/dist/types/components/xv-text-input/xv-text-input.d.ts +2 -2
  54. package/dist/types/components/xv-textarea/xv-textarea.d.ts +2 -2
  55. package/dist/types/components/xv-toggle/xv-toggle.d.ts +2 -2
  56. package/dist/types/components.d.ts +80 -62
  57. package/dist/types/types/enum.d.ts +1 -0
  58. package/dist/xv-webcomponents/p-e8d8061e.entry.js +1 -0
  59. package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
  60. package/package.json +1 -1
  61. package/dist/xv-webcomponents/p-8f21bea3.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
16
+ size: SIZE_VAR_STR;
17
17
  /**
18
18
  * When need scroll modal content
19
19
  */
@@ -4,3 +4,4 @@ export declare enum NOTIFICATION_VARIANTS {
4
4
  WARNING = "warning",
5
5
  ERROR = "error"
6
6
  }
7
+ export type NOTIFICATION_VARIANTS_STR = 'info' | 'success' | 'warning' | 'error';
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { NOTIFICATION_VARIANTS } from './_vars';
2
+ import { NOTIFICATION_VARIANTS_STR } from './_vars';
3
3
  export declare class XvNotification {
4
4
  el: HTMLElement;
5
- variant: NOTIFICATION_VARIANTS;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
12
+ size: SIZE_VAR_STR;
13
13
  block?: boolean;
14
14
  variant: XvPaginationVariant;
15
15
  responsiveVariant?: Partial<Record<XvPaginationVariant, [number?, number?]>>;
@@ -1,7 +1,3 @@
1
- export declare enum PROGRESS_VARIANTS {
2
- DEFAULT = "",
3
- HORIZONTAL = "horizontal"
4
- }
5
1
  export declare enum PROGRESS_ITEM_STATUS {
6
2
  DONE = "done",
7
3
  NO_STARTED = "not_started",
@@ -1,5 +1,4 @@
1
- import { PROGRESS_VARIANTS } from './_vars';
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: PROGRESS_VARIANTS;
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: SIZE_VAR;
19
+ size: SIZE_VAR_STR;
22
20
  updateChildItems(): void;
23
21
  componentDidLoad(): void;
24
22
  render(): any;
@@ -1,4 +1,4 @@
1
- import { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
18
+ size: SIZE_VAR_STR;
19
19
  constructor();
20
20
  onCheckedChange(newValue: boolean): void;
21
21
  render(): any;
@@ -1,8 +1,8 @@
1
- import { SIZE_VAR } from '../../types/enum';
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?: SIZE_VAR;
5
+ size: SIZE_VAR_STR;
6
6
  hover?: boolean;
7
7
  loading?: boolean;
8
8
  colsSize?: (string | null)[];
@@ -6,3 +6,4 @@ export declare enum TABS_VATIANT {
6
6
  DEFAULT = "",
7
7
  GLUED = "glued"
8
8
  }
9
+ export type TABS_VATIANT_STR = '' | 'glued';
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { TABS_VATIANT } from './_vars';
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: TABS_VATIANT;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
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 { SIZE_VAR } from '../../types/enum';
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: SIZE_VAR;
10
+ size: SIZE_VAR_STR;
11
11
  block?: boolean;
12
12
  internals: ElementInternals;
13
13
  toggleChange: EventEmitter<boolean>;