@adyen/bento-vue2 0.9.2 → 0.9.3

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 (40) hide show
  1. package/dist/@types/components/card/card.types.d.ts +4 -0
  2. package/dist/@types/components/card/card.vue.d.ts +17 -1
  3. package/dist/@types/components/checkbox/checkbox.types.d.ts +5 -0
  4. package/dist/@types/components/checkbox/checkbox.vue.d.ts +12 -2
  5. package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.types.d.ts +1 -0
  6. package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +9 -0
  7. package/dist/@types/components/data-grid/data-grid.vue.d.ts +4 -0
  8. package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +1 -0
  9. package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +1 -1
  10. package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +1 -1
  11. package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +1 -1
  12. package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +1 -1
  13. package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +1 -1
  14. package/dist/@types/components/dropdown/dropdown.vue.d.ts +2 -1
  15. package/dist/@types/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +6 -3
  16. package/dist/@types/components/filter-bar/components/date-filter/date-filter.vue.d.ts +18 -8
  17. package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +11 -9
  18. package/dist/@types/components/filter-bar/components/select-filter/select-filter.vue.d.ts +9 -8
  19. package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +8 -8
  20. package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +8 -8
  21. package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +8 -8
  22. package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +8 -8
  23. package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +8 -8
  24. package/dist/@types/components/filter-bar/filter-bar.types.d.ts +4 -0
  25. package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +4 -2
  26. package/dist/@types/components/input-field/input-field.types.d.ts +4 -1
  27. package/dist/@types/components/internal/grid-layout/grid-layout.types.d.ts +5 -0
  28. package/dist/@types/components/internal/grid-layout/grid-layout.vue.d.ts +14 -1
  29. package/dist/@types/components/internal/grid-layout/index.d.ts +1 -0
  30. package/dist/@types/components/internal/listbox/listbox.vue.d.ts +8 -0
  31. package/dist/@types/components/modal/components/base-modal/base-modal.vue.d.ts +5 -0
  32. package/dist/@types/components/radio-group/components/radio-button/radio-button.types.d.ts +4 -0
  33. package/dist/@types/components/radio-group/components/radio-button/radio-button.vue.d.ts +16 -3
  34. package/dist/@types/components/radio-group/radio-group.types.d.ts +1 -0
  35. package/dist/@types/components/radio-group/radio-group.vue.d.ts +9 -0
  36. package/dist/@types/components/tooltip/tooltip.vue.d.ts +5 -5
  37. package/dist/index.js +6786 -6330
  38. package/dist/index.js.map +1 -1
  39. package/dist/web-types.json +101 -50
  40. package/package.json +2 -2
@@ -54,6 +54,9 @@ export declare enum BentoFilterEvent {
54
54
  INPUT = "input",
55
55
  UPDATE = "update"
56
56
  }
57
+ export declare enum BentoFilterBarEvent {
58
+ INPUT = "input"
59
+ }
57
60
  export declare enum BentoFilterItemType {
58
61
  INPUT = "BentoInputFilter",
59
62
  BOOLEAN = "BentoBooleanFilter",
@@ -75,5 +78,6 @@ export interface BentoFilterModel {
75
78
  options?: BentoFilterOptions;
76
79
  value?: BentoFilterBarValue;
77
80
  defaultValue?: BentoFilterBarValue;
81
+ visible?: boolean;
78
82
  }
79
83
  export type BentoFilterBarModel = Array<BentoFilterModel>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { BentoFilterBarModel, BentoFilterModel } from './filter-bar.types';
2
+ import { BentoFilterBarEvent, BentoFilterBarModel, BentoFilterModel } from './filter-bar.types';
3
3
  import { BentoButtonVariant } from '@/components/button';
4
4
  import { BentoSearchBarEvent } from '@/components/search-bar';
5
5
  declare const _default: import("vue").DefineComponent<{
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  default: () => any[];
13
13
  };
14
14
  }, {
15
+ hasHiddenFilters: import("vue").ComputedRef<boolean>;
15
16
  isClearAllVisible: import("vue").ComputedRef<boolean>;
16
17
  isSearchBarEnabled: import("vue").ComputedRef<boolean>;
17
18
  searchBarAriaLabel: import("vue").ComputedRef<string>;
@@ -19,12 +20,13 @@ declare const _default: import("vue").DefineComponent<{
19
20
  regularFilters: import("vue").ComputedRef<BentoFilterModel[]>;
20
21
  isResetAllVisible: import("vue").ComputedRef<boolean>;
21
22
  BentoButtonVariant: typeof BentoButtonVariant;
23
+ updateAllFilters: (newFilters: BentoFilterBarModel) => void;
22
24
  updateFilterHandler: (updatedFilter: BentoFilterModel) => void;
23
25
  clearAllFilters: () => void;
24
26
  onSearchbarClear: () => void;
25
27
  onSearchbarInput: (newSearchTerm: string) => void;
26
28
  resetAllFilters: () => void;
27
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | BentoSearchBarEvent)[], string, Readonly<import("vue").ExtractPropTypes<{
29
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<import("vue").ExtractPropTypes<{
28
30
  searchTerm: {
29
31
  type: StringConstructor;
30
32
  default: any;
@@ -29,6 +29,9 @@ export declare enum BentoInputFieldEvent {
29
29
  INPUT = "input",
30
30
  ESCAPE_PRESSED = "escape-pressed",
31
31
  UPDATE_DROPDOWN = "update:dropdown",
32
- DROPDOWN_INPUT = "dropdown-input"
32
+ DROPDOWN_INPUT = "dropdown-input",
33
+ FOCUS = "focus",
34
+ CHANGE = "change",
35
+ BLUR = "blur"
33
36
  }
34
37
  export {};
@@ -1,3 +1,8 @@
1
+ export declare enum GridLayoutContainerType {
2
+ INLINE = "inline-size",
3
+ SIZE = "size",
4
+ NORMAL = "normal"
5
+ }
1
6
  export interface GridLayoutColumnWidth {
2
7
  small: number | string;
3
8
  medium: number | string;
@@ -1,13 +1,21 @@
1
1
  import { PropType } from 'vue';
2
- import { GridLayoutColumnWidths } from './grid-layout.types';
2
+ import { GridLayoutColumnWidths, GridLayoutContainerType } from './grid-layout.types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  columnWidth: {
5
5
  type: PropType<GridLayoutColumnWidths>;
6
6
  default: any;
7
7
  validator: (array: GridLayoutColumnWidths) => boolean;
8
8
  };
9
+ containerType: {
10
+ type: PropType<GridLayoutContainerType>;
11
+ default: GridLayoutContainerType;
12
+ };
9
13
  }, {
10
14
  computeColumnSize: (index: any) => string[];
15
+ computedClasses: import("vue").ComputedRef<{
16
+ 'b-grid-layout--container-type-normal': boolean;
17
+ 'b-grid-layout--container-type-size': boolean;
18
+ }>;
11
19
  hasSlot: (name: string) => boolean;
12
20
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
13
21
  columnWidth: {
@@ -15,7 +23,12 @@ declare const _default: import("vue").DefineComponent<{
15
23
  default: any;
16
24
  validator: (array: GridLayoutColumnWidths) => boolean;
17
25
  };
26
+ containerType: {
27
+ type: PropType<GridLayoutContainerType>;
28
+ default: GridLayoutContainerType;
29
+ };
18
30
  }>>, {
19
31
  columnWidth: GridLayoutColumnWidths;
32
+ containerType: GridLayoutContainerType;
20
33
  }>;
21
34
  export default _default;
@@ -1 +1,2 @@
1
1
  export { default as GridLayout } from './grid-layout.vue';
2
+ export * from './grid-layout.types';
@@ -22,6 +22,10 @@ declare const _default: import("vue").DefineComponent<{
22
22
  type: BooleanConstructor;
23
23
  default: boolean;
24
24
  };
25
+ noResultsMessage: {
26
+ type: StringConstructor;
27
+ required: true;
28
+ };
25
29
  searching: {
26
30
  type: BooleanConstructor;
27
31
  default: boolean;
@@ -55,6 +59,10 @@ declare const _default: import("vue").DefineComponent<{
55
59
  type: BooleanConstructor;
56
60
  default: boolean;
57
61
  };
62
+ noResultsMessage: {
63
+ type: StringConstructor;
64
+ required: true;
65
+ };
58
66
  searching: {
59
67
  type: BooleanConstructor;
60
68
  default: boolean;
@@ -2,6 +2,7 @@ import { PropType } from 'vue';
2
2
  import { BentoModalColumnLayoutVariant, BentoModalEvent, BentoModalRole, BentoModalSize } from '@/components/modal/modal.types';
3
3
  import { BentoButtonVariant } from '@/components/button/button.types';
4
4
  import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
5
+ import { GridLayoutContainerType } from '@/internal';
5
6
  declare const _default: import("vue").DefineComponent<{
6
7
  modalRole: {
7
8
  type: StringConstructor;
@@ -47,6 +48,9 @@ declare const _default: import("vue").DefineComponent<{
47
48
  onCloseButtonClick: () => void;
48
49
  hasSlot: (name: string) => boolean;
49
50
  emitCloseEvent: () => void;
51
+ modalActionsConditionalClasses: import("vue").ComputedRef<{
52
+ 'b-modal-base__actions--column-layout': boolean;
53
+ }>;
50
54
  modalConditionalClasses: import("vue").ComputedRef<{
51
55
  [x: string]: boolean | BentoModalSize;
52
56
  "b-modal-base__container--visible": boolean;
@@ -75,6 +79,7 @@ declare const _default: import("vue").DefineComponent<{
75
79
  BentoButtonVariant: typeof BentoButtonVariant;
76
80
  BentoTypographyElement: typeof BentoTypographyElement;
77
81
  BentoTypographyVariant: typeof BentoTypographyVariant;
82
+ GridLayoutContainerType: typeof GridLayoutContainerType;
78
83
  }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoModalEvent[], string, Readonly<import("vue").ExtractPropTypes<{
79
84
  modalRole: {
80
85
  type: StringConstructor;
@@ -0,0 +1,4 @@
1
+ export declare enum BentoRadioButtonStateClass {
2
+ DISABLED = "disabled",
3
+ ERROR = "error"
4
+ }
@@ -5,6 +5,10 @@ declare const _default: import("vue").DefineComponent<{
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
7
7
  };
8
+ hasError: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
8
12
  value: {
9
13
  type: (StringConstructor | NumberConstructor)[];
10
14
  required: true;
@@ -15,21 +19,29 @@ declare const _default: import("vue").DefineComponent<{
15
19
  };
16
20
  }, {
17
21
  ariaLabel: ComputedRef<string>;
22
+ ariaInvalid: ComputedRef<(boolean | "true" | "false") | "grammar" | "spelling">;
18
23
  isChecked: ComputedRef<boolean>;
19
24
  defaultSlotValue: boolean;
20
25
  descriptionSlotValue: boolean;
21
- conditionalClass: ComputedRef<{
22
- 'b-radio-button--disabled': boolean;
26
+ conditionalClassContainer: ComputedRef<{
27
+ [x: string]: boolean;
28
+ }>;
29
+ conditionalClassInput: ComputedRef<{
30
+ [x: string]: boolean;
23
31
  }>;
24
32
  radioButtonId: string;
25
33
  onClick: () => void;
26
34
  BentoTypographyVariant: typeof BentoTypographyVariant;
27
35
  BentoTypographyElement: typeof BentoTypographyElement;
28
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
36
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
29
37
  disabled: {
30
38
  type: BooleanConstructor;
31
39
  default: boolean;
32
40
  };
41
+ hasError: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
33
45
  value: {
34
46
  type: (StringConstructor | NumberConstructor)[];
35
47
  required: true;
@@ -41,5 +53,6 @@ declare const _default: import("vue").DefineComponent<{
41
53
  }>>, {
42
54
  disabled: boolean;
43
55
  modelValue: string | number;
56
+ hasError: boolean;
44
57
  }>;
45
58
  export default _default;
@@ -7,5 +7,6 @@ export interface BentoRadioGroupItem {
7
7
  label: string;
8
8
  description?: string;
9
9
  disabled?: boolean;
10
+ hasError?: boolean;
10
11
  }
11
12
  export type BentoRadioGroupItems = Array<BentoRadioGroupItem>;
@@ -18,6 +18,10 @@ declare const _default: import("vue").DefineComponent<{
18
18
  type: BooleanConstructor;
19
19
  default: boolean;
20
20
  };
21
+ hasError: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
21
25
  label: {
22
26
  type: StringConstructor;
23
27
  required: true;
@@ -50,6 +54,10 @@ declare const _default: import("vue").DefineComponent<{
50
54
  type: BooleanConstructor;
51
55
  default: boolean;
52
56
  };
57
+ hasError: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
53
61
  label: {
54
62
  type: StringConstructor;
55
63
  required: true;
@@ -61,6 +69,7 @@ declare const _default: import("vue").DefineComponent<{
61
69
  }>>, {
62
70
  variant: BentoRadioGroupVariant;
63
71
  disabled: boolean;
72
+ hasError: boolean;
64
73
  formId: string;
65
74
  selectedValue: string | number;
66
75
  }>;
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { PopperContainerAriaRole, PopperContainerPositionExtended } from '@/components/popper-container';
3
3
  import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
4
- import { VueNodeElement } from '../../types';
4
+ import { VueNodeElement } from '@/types';
5
5
  export declare const Tooltip: {
6
6
  name: string;
7
7
  components: {
@@ -40,7 +40,7 @@ export declare const Tooltip: {
40
40
  conditionalClasses: import("vue").ComputedRef<{
41
41
  [x: string]: boolean;
42
42
  }>;
43
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
43
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
44
44
  el: {
45
45
  type: PropType<BentoTypographyElement>;
46
46
  default: BentoTypographyElement;
@@ -136,7 +136,7 @@ export declare const Tooltip: {
136
136
  popper: any;
137
137
  emittedPosition: any;
138
138
  }, {
139
- strategy(): import("@popperjs/core").PositioningStrategy;
139
+ strategy(): import("@popperjs/core/index.js").PositioningStrategy;
140
140
  allModifiers(): import("@/components/popper-container").ExtendedModifiers[];
141
141
  arrowClasses(): string[];
142
142
  }, {
@@ -144,7 +144,7 @@ export declare const Tooltip: {
144
144
  destroyPopper(): void;
145
145
  updatePopperOptions(options: any): void;
146
146
  updateModifiers(): void;
147
- }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
147
+ }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
148
148
  id: {
149
149
  type: StringConstructor;
150
150
  default: any;
@@ -284,7 +284,7 @@ declare const _default: import("vue").DefineComponent<{
284
284
  [x: string]: boolean;
285
285
  }>;
286
286
  tabIndex: import("vue").ComputedRef<number>;
287
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
287
+ }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
288
288
  id: {
289
289
  type: StringConstructor;
290
290
  default: any;