@adyen/bento-vue2 0.0.7 → 0.0.9

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 (34) hide show
  1. package/README.md +31 -5
  2. package/dist/@types/components/alert/alert.types.d.ts +3 -3
  3. package/dist/@types/components/alert/alert.vue.d.ts +21 -8
  4. package/dist/@types/components/alert/index.d.ts +1 -1
  5. package/dist/@types/components/button/button.vue.d.ts +1 -0
  6. package/dist/@types/components/checkbox/checkbox.vue.d.ts +6 -4
  7. package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.types.d.ts +11 -0
  8. package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +58 -0
  9. package/dist/@types/components/checkbox/components/checkbox-group/index.d.ts +2 -0
  10. package/dist/@types/components/checkbox/index.d.ts +1 -0
  11. package/dist/@types/components/data-grid/components/data-grid-columns.vue.d.ts +74 -0
  12. package/dist/@types/components/data-grid/components/index.d.ts +1 -0
  13. package/dist/@types/components/data-grid/composables/index.d.ts +4 -0
  14. package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +23 -4
  15. package/dist/@types/components/data-grid/composables/useResizer.d.ts +3 -12
  16. package/dist/@types/components/data-grid/composables/useSelector.d.ts +1 -1
  17. package/dist/@types/components/data-grid/composables/useSorter.d.ts +1 -1
  18. package/dist/@types/components/data-grid/data-grid.types.d.ts +11 -0
  19. package/dist/@types/components/data-grid/data-grid.vue.d.ts +23 -30
  20. package/dist/@types/components/{radio-button → radio-group/components/radio-button}/radio-button.vue.d.ts +5 -4
  21. package/dist/@types/components/radio-group/index.d.ts +2 -0
  22. package/dist/@types/components/radio-group/radio-group.types.d.ts +11 -0
  23. package/dist/@types/components/radio-group/radio-group.vue.d.ts +58 -0
  24. package/dist/@types/components.d.ts +6 -4
  25. package/dist/@types/index.d.ts +2 -1
  26. package/dist/@types/utils/ts/debounce/debounce.d.ts +2 -0
  27. package/dist/@types/utils/ts/debounce/index.d.ts +1 -0
  28. package/dist/@types/utils/ts/hasSlot.d.ts +2 -0
  29. package/dist/@types/utils/ts/i18n.d.ts +5 -0
  30. package/dist/index.js +1715 -1297
  31. package/dist/index.js.map +1 -1
  32. package/package.json +5 -5
  33. package/dist/@types/components/radio-button/index.d.ts +0 -1
  34. package/dist/@types/i18n/index.d.ts +0 -8
@@ -2,7 +2,6 @@ import {
2
2
  // ADL
3
3
  // AdlAccordion,
4
4
  // AdlAccordionItem,
5
- // AdlAlert,
6
5
  // AdlBadge,
7
6
  // AdlCard,
8
7
  // AdlCardImage,
@@ -16,10 +15,12 @@ import {
16
15
  // AdlTextarea,
17
16
 
18
17
  // Bento
18
+ BentoAlert,
19
19
  BentoButton,
20
20
  BentoButtonActions,
21
21
  BentoButtonGroup,
22
22
  BentoCheckbox,
23
+ BentoCheckboxGroup,
23
24
  BentoClickOutside,
24
25
  BentoDataGrid,
25
26
  BentoInputField,
@@ -28,7 +29,7 @@ import {
28
29
  BentoLoadingIndicator,
29
30
  BentoPagination,
30
31
  BentoPopover,
31
- BentoRadioButton,
32
+ BentoRadioGroup,
32
33
  BentoStatus,
33
34
  BentoTag,
34
35
  BentoToggle,
@@ -40,7 +41,6 @@ declare module 'vue' {
40
41
  // ADL
41
42
  // AdlAccordion: typeof AdlAccordion;
42
43
  // AdlAccordionItem: typeof AdlAccordionItem;
43
- // AdlAlert: typeof AdlAlert;
44
44
  // AdlBadge: typeof AdlBadge;
45
45
  // AdlCard: typeof AdlCard;
46
46
  // AdlCardImage: typeof AdlCardImage;
@@ -54,10 +54,12 @@ declare module 'vue' {
54
54
  // AdlTextarea: typeof AdlTextarea;
55
55
 
56
56
  // Bento
57
+ BentoAlert: typeof BentoAlert;
57
58
  BentoButton: typeof BentoButton;
58
59
  BentoButtonGroup: typeof BentoButtonGroup;
59
60
  BentoButtonActions: typeof BentoButtonActions;
60
61
  BentoCheckbox: typeof BentoCheckbox;
62
+ BentoCheckboxGroup: typeof BentoCheckboxGroup;
61
63
  BentoClickOutside: typeof BentoClickOutside;
62
64
  BentoDataGrid: typeof BentoDataGrid;
63
65
  BentoInputField: typeof BentoInputField;
@@ -66,7 +68,7 @@ declare module 'vue' {
66
68
  BentoLoadingIndicator: typeof BentoLoadingIndicator;
67
69
  BentoPagination: typeof BentoPagination;
68
70
  BentoPopover: typeof BentoPopover;
69
- BentoRadioButton: typeof BentoRadioButton;
71
+ BentoRadioGroup: typeof BentoRadioGroup;
70
72
  BentoStatus: typeof BentoStatus;
71
73
  BentoTag: typeof BentoTag;
72
74
  BentoToggle: typeof BentoToggle;
@@ -1,4 +1,5 @@
1
1
  import BentoVue from './install';
2
+ export * from './components/alert';
2
3
  export * from './components/button';
3
4
  export * from './components/data-grid';
4
5
  export * from './components/checkbox';
@@ -9,7 +10,7 @@ export * from './components/loading-indicator';
9
10
  export * from './components/link';
10
11
  export * from './components/pagination';
11
12
  export * from './components/popover';
12
- export * from './components/radio-button';
13
+ export * from './components/radio-group';
13
14
  export * from './components/status';
14
15
  export * from './components/tag';
15
16
  export * from './components/toggle';
@@ -0,0 +1,2 @@
1
+ import { AnyFn } from '../../../types';
2
+ export declare const debounce: <T>(callback: AnyFn<T>, debounceTime: number) => (...args: T[]) => void;
@@ -0,0 +1 @@
1
+ export * from './debounce';
@@ -0,0 +1,2 @@
1
+ import type { Slots } from 'vue/types/v3-setup-context';
2
+ export declare const hasSlot: (slots: Slots) => (name: string) => boolean;
@@ -1,5 +1,10 @@
1
1
  import type { WritableComputedRef } from 'vue';
2
2
  import VueI18n from 'vue-i18n';
3
+ export declare const defaultI18nOptions: {
4
+ locale: string;
5
+ fallbackLocale: string;
6
+ fallbackRoot: boolean;
7
+ };
3
8
  export declare function createI18n(options?: VueI18n.I18nOptions): VueI18n;
4
9
  export interface Composer {
5
10
  locale: WritableComputedRef<string>;