@adyen/bento-vue2 0.0.1 → 0.0.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 (43) hide show
  1. package/dist/@types/components/badge/badge.vue.d.ts +5 -5
  2. package/dist/@types/components/button/button.vue.d.ts +6 -11
  3. package/dist/@types/components/button/components/button-actions/button-actions.types.d.ts +1 -1
  4. package/dist/@types/components/button/components/button-group.vue.d.ts +2 -2
  5. package/dist/@types/components/button/components/loading-button/loading-button.types.d.ts +1 -1
  6. package/dist/@types/components/card/components/card-image/card-image.vue.d.ts +1 -1
  7. package/dist/@types/components/checkbox/checkbox.types.d.ts +2 -2
  8. package/dist/@types/components/checkbox/checkbox.vue.d.ts +10 -1
  9. package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +1 -1
  10. package/dist/@types/components/data-grid/data-grid.types.d.ts +10 -5
  11. package/dist/@types/components/data-grid/data-grid.vue.d.ts +23 -2
  12. package/dist/@types/components/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +1 -1
  13. package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/dropdown-option.vue.d.ts +1 -1
  14. package/dist/@types/components/dropdown/dropdown.types.d.ts +3 -3
  15. package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -1
  16. package/dist/@types/components/filter-bar/filter-bar.types.d.ts +1 -1
  17. package/dist/@types/components/input-field/input-field.vue.d.ts +1 -1
  18. package/dist/@types/components/link/index.d.ts +1 -0
  19. package/dist/@types/components/link/link.types.d.ts +4 -0
  20. package/dist/@types/components/link/link.vue.d.ts +19 -5
  21. package/dist/@types/components/page-header/components/title-item/title-item.vue.d.ts +1 -1
  22. package/dist/@types/components/pagination/pagination.vue.d.ts +12 -0
  23. package/dist/@types/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +1 -1
  24. package/dist/@types/components/popover/components/popover-image/popover-image.vue.d.ts +1 -1
  25. package/dist/@types/components/popover/popover.types.d.ts +1 -1
  26. package/dist/@types/components/popover/popover.vue.d.ts +3 -0
  27. package/dist/@types/components/popper-container/popper-container.types.d.ts +8 -8
  28. package/dist/@types/components/radio-button/index.d.ts +1 -0
  29. package/dist/@types/components/{input-radio/input-radio.vue.d.ts → radio-button/radio-button.vue.d.ts} +1 -1
  30. package/dist/@types/components/segmented-control/segmented-control.vue.d.ts +1 -1
  31. package/dist/@types/components/tag/tag.vue.d.ts +1 -0
  32. package/dist/@types/components/textarea/textarea.vue.d.ts +2 -2
  33. package/dist/@types/components/tooltip/tooltip.types.d.ts +1 -1
  34. package/dist/@types/components.d.ts +2 -2
  35. package/dist/@types/index.d.ts +1 -1
  36. package/dist/@types/types/maybe-ref.d.ts +1 -1
  37. package/dist/@types/types/vue-node-element.d.ts +1 -1
  38. package/dist/@types/utils/ts/aria-label.d.ts +9 -0
  39. package/dist/index.js +1048 -1007
  40. package/dist/index.js.map +1 -1
  41. package/dist/web-types.json +90 -62
  42. package/package.json +33 -35
  43. package/dist/@types/components/input-radio/index.d.ts +0 -1
@@ -10,12 +10,12 @@ declare const _default: import("vue").DefineComponent<{
10
10
  type: StringConstructor;
11
11
  default: string;
12
12
  };
13
- }, {}, {}, {
14
- ariaLabel(): string;
15
- conditionalClasses(): {
13
+ }, {
14
+ ariaLabel: import("vue").ComputedRef<string>;
15
+ conditionalClasses: import("vue").ComputedRef<{
16
16
  [x: string]: boolean;
17
- };
18
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
17
+ }>;
18
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
19
19
  variant: {
20
20
  type: PropType<AdlBadgeVariant>;
21
21
  default: AdlBadgeVariant;
@@ -23,20 +23,15 @@ declare const _default: import("vue").DefineComponent<{
23
23
  default: BentoButtonVariant;
24
24
  validator: (value: BentoButtonVariant) => boolean;
25
25
  };
26
- }, {}, {
26
+ }, {
27
27
  BentoTypographyElement: typeof BentoTypographyElement;
28
28
  BentoTypographyVariant: typeof BentoTypographyVariant;
29
- }, {
30
- ariaLabel(): string | undefined;
31
- conditionalClasses(): {
32
- [x: string]: boolean;
33
- };
34
- variantClass(): {
29
+ ariaLabel: import("vue").ComputedRef<string>;
30
+ conditionalClasses: import("vue").ComputedRef<{
35
31
  [x: string]: boolean;
36
- };
37
- }, {
38
- onClickButton(): void;
39
- }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
32
+ }>;
33
+ onClickButton: () => void;
34
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "click"[], string, Readonly<import("vue").ExtractPropTypes<{
40
35
  disabled: {
41
36
  type: BooleanConstructor;
42
37
  default: boolean;
@@ -4,7 +4,7 @@ export interface BentoButtonActionObject {
4
4
  event: (event: Event) => void;
5
5
  icon?: VueNodeElement;
6
6
  }
7
- export type BentoButtonActionsList = Array<BentoButtonActionObject>;
7
+ export declare type BentoButtonActionsList = Array<BentoButtonActionObject>;
8
8
  export declare enum BentoButtonActionsLayout {
9
9
  BUTTONS_END = "buttons-end",
10
10
  FILL_CONTAINER = "fill-container",
@@ -1,8 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
2
2
  default: (_: {}) => any;
3
3
  }>;
4
4
  export default _default;
5
- type __VLS_WithTemplateSlots<T, S> = T & {
5
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
6
6
  new (): {
7
7
  $slots: S;
8
8
  };
@@ -4,6 +4,6 @@ export declare enum BentoLoadingButtonState {
4
4
  SUCCESS = "success",
5
5
  FAIL = "fail"
6
6
  }
7
- export type BentoLoadingButtonIconState = Partial<{
7
+ export declare type BentoLoadingButtonIconState = Partial<{
8
8
  [key in BentoLoadingButtonState]: string;
9
9
  }>;
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: StringConstructor;
8
8
  required: true;
9
9
  };
10
- }, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
10
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
11
11
  src: {
12
12
  type: StringConstructor;
13
13
  required: true;
@@ -1,2 +1,2 @@
1
- export type BentoMultiCheckboxType = Array<string | number>;
2
- export type BentoCheckboxType = boolean | BentoMultiCheckboxType;
1
+ export declare type BentoMultiCheckboxType = Array<string | number>;
2
+ export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
@@ -18,8 +18,12 @@ declare const _default: import("vue").DefineComponent<{
18
18
  type: BooleanConstructor;
19
19
  default: boolean;
20
20
  };
21
+ ariaLabel: {
22
+ type: StringConstructor;
23
+ default: any;
24
+ };
21
25
  }, {
22
- ariaLabel: import("vue").ComputedRef<string>;
26
+ computedAriaLabel: import("vue").ComputedRef<string>;
23
27
  ariaChecked: import("vue").ComputedRef<"mixed" | (boolean | "false" | "true")>;
24
28
  isCheckboxGroup: import("vue").ComputedRef<boolean>;
25
29
  isChecked: import("vue").ComputedRef<boolean>;
@@ -50,8 +54,13 @@ declare const _default: import("vue").DefineComponent<{
50
54
  type: BooleanConstructor;
51
55
  default: boolean;
52
56
  };
57
+ ariaLabel: {
58
+ type: StringConstructor;
59
+ default: any;
60
+ };
53
61
  }>>, {
54
62
  value: string | number;
63
+ ariaLabel: string;
55
64
  disabled: boolean;
56
65
  indeterminate: boolean;
57
66
  modelValue: BentoCheckboxType;
@@ -1,6 +1,6 @@
1
1
  import { Ref } from 'vue';
2
2
  import { BentoColumn } from '../../data-grid.types';
3
- export type FlexColumnLookup = Record<BentoColumn['field'], {
3
+ export declare type FlexColumnLookup = Record<BentoColumn['field'], {
4
4
  flex: number;
5
5
  computedWidth: number;
6
6
  frozen: boolean;
@@ -1,4 +1,8 @@
1
1
  import { BentoPagination } from '../pagination';
2
+ export declare enum BentoColumnOverflow {
3
+ WRAP = "wrap",
4
+ ELLIPSIS = "ellipsis"
5
+ }
2
6
  export interface BentoColumn {
3
7
  field: string;
4
8
  label: string;
@@ -10,6 +14,7 @@ export interface BentoColumn {
10
14
  left?: boolean;
11
15
  right?: boolean;
12
16
  };
17
+ overflow?: BentoColumnOverflow;
13
18
  }
14
19
  export declare enum BentoDatagridStyleState {
15
20
  OUTLINE = "outline"
@@ -26,8 +31,8 @@ export interface BentoDatagridDataItem {
26
31
  id?: string;
27
32
  [fieldName: string]: unknown;
28
33
  }
29
- export type BentoDatagridData = BentoDatagridDataItem[];
30
- export type BentoDatagridDataItemId = string | number;
31
- export type BentoDatagridGetDataItemIdFn = (item: BentoDatagridDataItem) => BentoDatagridDataItemId;
32
- export type BentoDatagridIsDataItemDisabledFn = (item: BentoDatagridDataItem) => boolean;
33
- export type BentoDatagridPaginationProps = InstanceType<typeof BentoPagination>['$props'];
34
+ export declare type BentoDatagridData = BentoDatagridDataItem[];
35
+ export declare type BentoDatagridDataItemId = string | number;
36
+ export declare type BentoDatagridGetDataItemIdFn = (item: BentoDatagridDataItem) => BentoDatagridDataItemId;
37
+ export declare type BentoDatagridIsDataItemDisabledFn = (item: BentoDatagridDataItem) => boolean;
38
+ export declare type BentoDatagridPaginationProps = InstanceType<typeof BentoPagination>['$props'];
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { BentoColumn, BentoDatagridData, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn, BentoDatagridSortByColumn, BentoDatagridSortDirection } from './data-grid.types';
2
+ import { BentoColumn, BentoColumnOverflow, BentoDatagridData, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn, BentoDatagridSortByColumn, BentoDatagridSortDirection } from './data-grid.types';
3
3
  import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  condensed: {
@@ -41,6 +41,7 @@ declare const _default: import("vue").DefineComponent<{
41
41
  page: number;
42
42
  totalCount: number;
43
43
  hasNext: boolean;
44
+ hidePageSize: boolean;
44
45
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
45
46
  ariaLabel: {
46
47
  type: StringConstructor;
@@ -50,6 +51,10 @@ declare const _default: import("vue").DefineComponent<{
50
51
  type: BooleanConstructor;
51
52
  default: any;
52
53
  };
54
+ hidePageSize: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
53
58
  page: {
54
59
  type: NumberConstructor;
55
60
  default: number;
@@ -73,6 +78,10 @@ declare const _default: import("vue").DefineComponent<{
73
78
  type: BooleanConstructor;
74
79
  default: any;
75
80
  };
81
+ hidePageSize: {
82
+ type: BooleanConstructor;
83
+ default: boolean;
84
+ };
76
85
  page: {
77
86
  type: NumberConstructor;
78
87
  default: number;
@@ -114,8 +123,10 @@ declare const _default: import("vue").DefineComponent<{
114
123
  left?: boolean;
115
124
  right?: boolean;
116
125
  };
126
+ overflow?: BentoColumnOverflow;
117
127
  }[]>;
118
128
  ariaGridHeaderText: import("vue").ComputedRef<string>;
129
+ conditionalTitleAttribute: (column: BentoColumn, content: unknown) => string;
119
130
  gridColumnWidthStyle: import("vue").ComputedRef<{
120
131
  gridTemplateColumns: string;
121
132
  gridColumnEnd: number;
@@ -133,6 +144,7 @@ declare const _default: import("vue").DefineComponent<{
133
144
  'b-data-grid__row--disabled': boolean;
134
145
  };
135
146
  conditionalRowCellClasses: (column: BentoColumn) => {
147
+ [x: string]: boolean;
136
148
  'b-data-grid__cell--padding-left-unset': boolean;
137
149
  'b-data-grid__cell--padding-right-unset': boolean;
138
150
  'b-data-grid__cell--condensed': boolean;
@@ -174,7 +186,7 @@ declare const _default: import("vue").DefineComponent<{
174
186
  paginationNavigate: (page: number) => void;
175
187
  onItemsPerPageChange: (itemsPerPage: number) => void;
176
188
  body: any;
177
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("sort" | "navigate" | "select" | "items-page" | "column-resize" | "update:filters")[], string, Readonly<import("vue").ExtractPropTypes<{
189
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("navigate" | "select" | "items-page" | "column-resize" | "sort" | "update:filters")[], string, Readonly<import("vue").ExtractPropTypes<{
178
190
  condensed: {
179
191
  type: BooleanConstructor;
180
192
  default: boolean;
@@ -214,6 +226,7 @@ declare const _default: import("vue").DefineComponent<{
214
226
  page: number;
215
227
  totalCount: number;
216
228
  hasNext: boolean;
229
+ hidePageSize: boolean;
217
230
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
218
231
  ariaLabel: {
219
232
  type: StringConstructor;
@@ -223,6 +236,10 @@ declare const _default: import("vue").DefineComponent<{
223
236
  type: BooleanConstructor;
224
237
  default: any;
225
238
  };
239
+ hidePageSize: {
240
+ type: BooleanConstructor;
241
+ default: boolean;
242
+ };
226
243
  page: {
227
244
  type: NumberConstructor;
228
245
  default: number;
@@ -246,6 +263,10 @@ declare const _default: import("vue").DefineComponent<{
246
263
  type: BooleanConstructor;
247
264
  default: any;
248
265
  };
266
+ hidePageSize: {
267
+ type: BooleanConstructor;
268
+ default: boolean;
269
+ };
249
270
  page: {
250
271
  type: NumberConstructor;
251
272
  default: number;
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
33
33
  shouldShowPlaceholder: import("vue").ComputedRef<boolean>;
34
34
  onCloseDropdown: () => void;
35
35
  onToggleDropdown: () => void;
36
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
36
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
37
37
  ariaLabel: {
38
38
  type: StringConstructor;
39
39
  default: any;
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  }>;
20
20
  ariaSelected: import("vue").ComputedRef<boolean>;
21
21
  onOptionSelected: () => void;
22
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
22
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
23
23
  label: {
24
24
  type: StringConstructor;
25
25
  required: true;
@@ -1,7 +1,7 @@
1
- export type AdlDropdownValue = string | number;
1
+ export declare type AdlDropdownValue = string | number;
2
2
  export interface AdlDropdownOptionItem {
3
3
  label: string;
4
4
  value: AdlDropdownValue;
5
5
  }
6
- export type AdlDropdownSelectedValue = AdlDropdownValue;
7
- export type AdlDropdownOptions = Array<AdlDropdownOptionItem>;
6
+ export declare type AdlDropdownSelectedValue = AdlDropdownValue;
7
+ export declare type AdlDropdownOptions = Array<AdlDropdownOptionItem>;
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
61
61
  onClickClear: () => void;
62
62
  filterButtonRef: any;
63
63
  BentoButtonVariant: typeof BentoButtonVariant;
64
- }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("open" | "clear" | "close" | "dismiss" | "apply")[], string, Readonly<import("vue").ExtractPropTypes<{
64
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("open" | "close" | "clear" | "dismiss" | "apply")[], string, Readonly<import("vue").ExtractPropTypes<{
65
65
  alwaysShowNameInLabel: {
66
66
  type: BooleanConstructor;
67
67
  default: boolean;
@@ -12,4 +12,4 @@ export interface BentoFilterModel {
12
12
  options?: BentoFilterOptions;
13
13
  value?: string | null;
14
14
  }
15
- export type BentoFilterBarModel = Array<BentoFilterModel>;
15
+ export declare type BentoFilterBarModel = Array<BentoFilterModel>;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
38
38
  inputFieldElement: any;
39
39
  shouldDisplayStaticValueAtStart: import("vue").ComputedRef<boolean>;
40
40
  shouldDisplayStaticValueAtEnd: import("vue").ComputedRef<boolean>;
41
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
41
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
42
42
  disabled: {
43
43
  type: BooleanConstructor;
44
44
  default: boolean;
@@ -1 +1,2 @@
1
1
  export { default as BentoLink } from './link.vue';
2
+ export * from './link.types';
@@ -0,0 +1,4 @@
1
+ export declare enum BentoLinkVariant {
2
+ DEFAULT = "default",
3
+ QUIET = "quiet"
4
+ }
@@ -1,16 +1,25 @@
1
- export interface Props extends RouterLinkProps {
1
+ export interface Props extends RouterLinkProps, AnchorHTMLAttributes {
2
2
  args?: {
3
3
  props: RouterLinkProps;
4
4
  };
5
5
  external?: boolean;
6
+ variant?: BentoLinkVariant;
6
7
  }
8
+ import { BentoLinkVariant } from './link.types';
7
9
  import type { RouterLinkProps } from 'vue-router/types/router';
8
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}>, {
10
+ import type { AnchorHTMLAttributes } from 'vue/types/jsx';
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ variant: BentoLinkVariant;
13
+ }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
14
+ variant: BentoLinkVariant;
15
+ }>>>, {
16
+ variant: BentoLinkVariant;
17
+ }>, {
9
18
  default: (_: import("vue-router/types/router").RouterLinkSlotArgument) => any;
10
19
  }>;
11
20
  export default _default;
12
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToRuntimeProps<T> = {
21
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
14
23
  [K in keyof T]-?: {} extends Pick<T, K> ? {
15
24
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
25
  } : {
@@ -18,7 +27,12 @@ type __VLS_TypePropsToRuntimeProps<T> = {
18
27
  required: true;
19
28
  };
20
29
  };
21
- type __VLS_WithTemplateSlots<T, S> = T & {
30
+ declare type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
32
+ default: D[K];
33
+ } : P[K];
34
+ };
35
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
22
36
  new (): {
23
37
  $slots: S;
24
38
  };
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: StringConstructor;
4
4
  required: true;
5
5
  };
6
- }, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
6
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
7
7
  title: {
8
8
  type: StringConstructor;
9
9
  required: true;
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: BooleanConstructor;
8
8
  default: any;
9
9
  };
10
+ hidePageSize: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
10
14
  page: {
11
15
  type: NumberConstructor;
12
16
  default: number;
@@ -23,6 +27,9 @@ declare const _default: import("vue").DefineComponent<{
23
27
  };
24
28
  }, {
25
29
  totalPages: import("vue").ComputedRef<number>;
30
+ navigationConditionalClasses: import("vue").ComputedRef<{
31
+ 'b-pagination__navigation--no-results-per-page': boolean;
32
+ }>;
26
33
  navigate: (pageArg: number) => void;
27
34
  onItemsPerPageChange: (elements: number) => void;
28
35
  onPageSelected: (pageNumber: number) => void;
@@ -35,6 +42,10 @@ declare const _default: import("vue").DefineComponent<{
35
42
  type: BooleanConstructor;
36
43
  default: any;
37
44
  };
45
+ hidePageSize: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
38
49
  page: {
39
50
  type: NumberConstructor;
40
51
  default: number;
@@ -55,5 +66,6 @@ declare const _default: import("vue").DefineComponent<{
55
66
  page: number;
56
67
  totalCount: number;
57
68
  hasNext: boolean;
69
+ hidePageSize: boolean;
58
70
  }>;
59
71
  export default _default;
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  'b-popover-dismiss-button--on-image': boolean;
10
10
  }>;
11
11
  BentoButtonVariant: typeof BentoButtonVariant;
12
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
12
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
13
13
  onImage: {
14
14
  type: BooleanConstructor;
15
15
  default: boolean;
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: StringConstructor;
8
8
  required: true;
9
9
  };
10
- }, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
10
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
11
11
  src: {
12
12
  type: StringConstructor;
13
13
  required: true;
@@ -16,4 +16,4 @@ export declare const BentoPopoverPositions: {
16
16
  BOTTOM: import("../popper-container").PopperContainerPositionBasic.BOTTOM;
17
17
  LEFT: import("../popper-container").PopperContainerPositionBasic.LEFT;
18
18
  };
19
- export type BentoPopoverPositions = PopperContainerPosition;
19
+ export declare type BentoPopoverPositions = PopperContainerPosition;
@@ -59,6 +59,9 @@ declare const _default: import("vue").DefineComponent<{
59
59
  'b-popover--small': boolean;
60
60
  'b-popover--large': boolean;
61
61
  }>;
62
+ contentConditionalClasses: import("vue").ComputedRef<{
63
+ 'b-popover__content--with-title': boolean;
64
+ }>;
62
65
  computedAriaLabel: import("vue").ComputedRef<string>;
63
66
  BentoTypographyElement: typeof BentoTypographyElement;
64
67
  BentoTypographyVariant: typeof BentoTypographyVariant;
@@ -1,10 +1,10 @@
1
1
  import type { Modifier, StrictModifiers } from '@popperjs/core';
2
- type ArrowModifier = Modifier<'arrow', unknown>;
3
- type ApplyArrowHideModifier = Modifier<'applyArrowHide', unknown>;
4
- type SameWidthModifier = Modifier<'sameWidth', unknown>;
5
- type TrackPositionModifer = Modifier<'trackPosition', unknown>;
6
- type FlipModifer = Modifier<'flip', unknown>;
7
- export type ExtendedModifiers = StrictModifiers | ArrowModifier | ApplyArrowHideModifier | SameWidthModifier | TrackPositionModifer | FlipModifer;
2
+ declare type ArrowModifier = Modifier<'arrow', unknown>;
3
+ declare type ApplyArrowHideModifier = Modifier<'applyArrowHide', unknown>;
4
+ declare type SameWidthModifier = Modifier<'sameWidth', unknown>;
5
+ declare type TrackPositionModifer = Modifier<'trackPosition', unknown>;
6
+ declare type FlipModifer = Modifier<'flip', unknown>;
7
+ export declare type ExtendedModifiers = StrictModifiers | ArrowModifier | ApplyArrowHideModifier | SameWidthModifier | TrackPositionModifer | FlipModifer;
8
8
  export interface PopperContainerArrowProp {
9
9
  classes?: string[];
10
10
  padding?: string;
@@ -49,6 +49,6 @@ export declare const PopperContainerPosition: {
49
49
  BOTTOM: PopperContainerPositionBasic.BOTTOM;
50
50
  LEFT: PopperContainerPositionBasic.LEFT;
51
51
  };
52
- export type PopperContainerPosition = PopperContainerPositionBasic | PopperContainerPositionExtended;
53
- export type FallbackPositionProp = PopperContainerPosition[] | PopperContainerPosition;
52
+ export declare type PopperContainerPosition = PopperContainerPositionBasic | PopperContainerPositionExtended;
53
+ export declare type FallbackPositionProp = PopperContainerPosition[] | PopperContainerPosition;
54
54
  export {};
@@ -0,0 +1 @@
1
+ export { default as BentoRadioButton } from './radio-button.vue';
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
25
25
  onClick: () => void;
26
26
  BentoTypographyVariant: typeof BentoTypographyVariant;
27
27
  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<{
28
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
29
29
  disabled: {
30
30
  type: BooleanConstructor;
31
31
  default: boolean;
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<{
17
17
  selectedValue: any;
18
18
  name: string;
19
19
  };
20
+ ariaLabel: any;
20
21
  }, {
21
- ariaLabel(): string;
22
22
  conditionalClasses(): {
23
23
  [className: string]: boolean;
24
24
  };
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<{
12
12
  default: any;
13
13
  };
14
14
  }, {
15
+ computedAriaLabel: import("vue").ComputedRef<string>;
15
16
  textFromSlot: string;
16
17
  formattedText: import("vue").ComputedRef<string>;
17
18
  tagConditionalClasses: import("vue").ComputedRef<{
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
17
17
  };
18
18
  }, {}, {}, {}, {
19
19
  onInput(event: Event): void;
20
- }, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
20
+ }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
21
21
  label: {
22
22
  type: StringConstructor;
23
23
  default: string;
@@ -35,9 +35,9 @@ declare const _default: import("vue").DefineComponent<{
35
35
  default: string;
36
36
  };
37
37
  }>>, {
38
+ description: string;
38
39
  value: string;
39
40
  label: string;
40
- description: string;
41
41
  placeholder: string;
42
42
  }>;
43
43
  export default _default;
@@ -5,7 +5,7 @@ export declare const BentoTooltipPosition: {
5
5
  BOTTOM: PopperContainerPositionBasic.BOTTOM;
6
6
  LEFT: PopperContainerPositionBasic.LEFT;
7
7
  };
8
- export type BentoTooltipPosition = PopperContainerPositionBasic;
8
+ export declare type BentoTooltipPosition = PopperContainerPositionBasic;
9
9
  export declare enum BentoTooltipState {
10
10
  HIDDEN = "hidden"
11
11
  }
@@ -22,12 +22,12 @@ import {
22
22
  BentoCheckbox,
23
23
  BentoDataGrid,
24
24
  BentoInputField,
25
- BentoInputRadio,
26
25
  BentoLink,
27
26
  BentoLoadingButton,
28
27
  BentoLoadingIndicator,
29
28
  BentoPagination,
30
29
  BentoPopover,
30
+ BentoRadioButton,
31
31
  BentoStatus,
32
32
  BentoTag,
33
33
  BentoToggle,
@@ -60,12 +60,12 @@ declare module 'vue' {
60
60
  BentoCheckbox: typeof BentoCheckbox;
61
61
  BentoDataGrid: typeof BentoDataGrid;
62
62
  BentoInputField: typeof BentoInputField;
63
- BentoInputRadio: typeof BentoInputRadio;
64
63
  BentoLink: typeof BentoLink;
65
64
  BentoLoadingButton: typeof BentoLoadingButton;
66
65
  BentoLoadingIndicator: typeof BentoLoadingIndicator;
67
66
  BentoPagination: typeof BentoPagination;
68
67
  BentoPopover: typeof BentoPopover;
68
+ BentoRadioButton: typeof BentoRadioButton;
69
69
  BentoStatus: typeof BentoStatus;
70
70
  BentoTag: typeof BentoTag;
71
71
  BentoToggle: typeof BentoToggle;
@@ -3,12 +3,12 @@ export * from './components/button';
3
3
  export * from './components/data-grid';
4
4
  export * from './components/checkbox';
5
5
  export * from './components/filter-bar';
6
- export * from './components/input-radio';
7
6
  export * from './components/input-field';
8
7
  export * from './components/loading-indicator';
9
8
  export * from './components/link';
10
9
  export * from './components/pagination';
11
10
  export * from './components/popover';
11
+ export * from './components/radio-button';
12
12
  export * from './components/status';
13
13
  export * from './components/tag';
14
14
  export * from './components/toggle';
@@ -1,2 +1,2 @@
1
1
  import { Ref } from 'vue';
2
- export type MaybeRef<T> = T | Ref<T>;
2
+ export declare type MaybeRef<T> = T | Ref<T>;
@@ -1,2 +1,2 @@
1
1
  import Vue from 'vue';
2
- export type VueNodeElement = Vue | Element | (Vue | Element)[] | undefined;
2
+ export declare type VueNodeElement = Vue | Element | (Vue | Element)[] | undefined;
@@ -0,0 +1,9 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { MaybeRef } from '../../types/maybe-ref';
3
+ interface ariaLabelOptions {
4
+ ariaLabel?: MaybeRef<string | null>;
5
+ label?: MaybeRef<string | null>;
6
+ defaultFallback?: MaybeRef<string | null>;
7
+ }
8
+ export declare const useAriaLabel: ({ ariaLabel, label, defaultFallback, }: ariaLabelOptions) => ComputedRef<string>;
9
+ export {};