@adyen/bento-vue2 0.5.0 → 0.6.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 (33) hide show
  1. package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +2 -0
  2. package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +12 -1
  3. package/dist/@types/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +1 -1
  4. package/dist/@types/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +3 -2
  5. package/dist/@types/components/data-grid/data-grid.vue.d.ts +2 -0
  6. package/dist/@types/components/date/date.types.d.ts +1 -0
  7. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue.d.ts +34 -0
  8. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.types.d.ts +9 -0
  9. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue.d.ts +39 -0
  10. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/index.d.ts +1 -0
  11. package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.types.d.ts +8 -0
  12. package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue.d.ts +121 -0
  13. package/dist/@types/components/date-picker/components/date-picker-calendar/index.d.ts +2 -0
  14. package/dist/@types/components/date-picker/components/date-picker-calendar-container/__test__/date-picker-calendar-container-stub.vue.d.ts +43 -0
  15. package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.types.d.ts +3 -0
  16. package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.vue.d.ts +99 -0
  17. package/dist/@types/components/date-picker/components/date-picker-calendar-container/index.d.ts +1 -0
  18. package/dist/@types/components/date-picker/date-picker.types.d.ts +16 -0
  19. package/dist/@types/components/date-picker/date-picker.vue.d.ts +102 -0
  20. package/dist/@types/components/date-picker/index.d.ts +2 -0
  21. package/dist/@types/components/menu/components/menu-item/menu-item.types.d.ts +1 -0
  22. package/dist/@types/components/menu/components/menu-item/menu-item.vue.d.ts +12 -0
  23. package/dist/@types/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +9 -2
  24. package/dist/@types/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +2 -0
  25. package/dist/@types/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +41 -0
  26. package/dist/@types/components/menu/menu.types.d.ts +2 -1
  27. package/dist/@types/components/tag/tag.types.d.ts +1 -1
  28. package/dist/@types/components.d.ts +2 -0
  29. package/dist/@types/index.d.ts +1 -0
  30. package/dist/index.js +4116 -3434
  31. package/dist/index.js.map +1 -1
  32. package/dist/web-types.json +369 -9
  33. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "0.5.0",
4
+ "version": "0.6.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -1290,7 +1290,7 @@
1290
1290
  },
1291
1291
  {
1292
1292
  "name": "columnPanel",
1293
- "description": "Enables / hides the column settings panel.",
1293
+ "description": "Enables / hides the view settings panel and the column contextual menu functionality.",
1294
1294
  "value": {
1295
1295
  "kind": "expression",
1296
1296
  "type": "boolean"
@@ -1528,6 +1528,88 @@
1528
1528
  "symbol": "default"
1529
1529
  }
1530
1530
  },
1531
+ {
1532
+ "name": "bento-date-picker",
1533
+ "description": "Date picker selector.",
1534
+ "attributes": [
1535
+ {
1536
+ "name": "description",
1537
+ "description": "Descriptive supporting text visbile underneath the dropdown.",
1538
+ "value": {
1539
+ "kind": "expression",
1540
+ "type": "string"
1541
+ },
1542
+ "default": "undefined"
1543
+ },
1544
+ {
1545
+ "name": "disabled",
1546
+ "description": "Disables dropdown functionality.",
1547
+ "value": {
1548
+ "kind": "expression",
1549
+ "type": "boolean"
1550
+ },
1551
+ "default": "false"
1552
+ },
1553
+ {
1554
+ "name": "firstDayOfWeek",
1555
+ "description": "Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday",
1556
+ "value": {
1557
+ "kind": "expression",
1558
+ "type": "BentoDatePickerFirstDayOfWeek"
1559
+ },
1560
+ "default": "BentoDatePickerFirstDayOfWeek.MONDAY"
1561
+ },
1562
+ {
1563
+ "name": "isDateDisabled",
1564
+ "description": "Indicate if a date should be disabled or not",
1565
+ "value": {
1566
+ "kind": "expression",
1567
+ "type": "func"
1568
+ },
1569
+ "default": "undefined"
1570
+ },
1571
+ {
1572
+ "name": "label",
1573
+ "description": "Text that is displayed as a label above the element.",
1574
+ "value": {
1575
+ "kind": "expression",
1576
+ "type": "string"
1577
+ },
1578
+ "default": "undefined"
1579
+ },
1580
+ {
1581
+ "name": "optional",
1582
+ "description": "Highlights the dropdown is optional.",
1583
+ "value": {
1584
+ "kind": "expression",
1585
+ "type": "boolean"
1586
+ },
1587
+ "default": "false"
1588
+ },
1589
+ {
1590
+ "name": "required",
1591
+ "description": "Highlights the dropdown is required.",
1592
+ "value": {
1593
+ "kind": "expression",
1594
+ "type": "boolean"
1595
+ },
1596
+ "default": "false"
1597
+ },
1598
+ {
1599
+ "name": "value",
1600
+ "description": "Selected date",
1601
+ "value": {
1602
+ "kind": "expression",
1603
+ "type": "date"
1604
+ },
1605
+ "default": "null"
1606
+ }
1607
+ ],
1608
+ "source": {
1609
+ "module": "./src/components/date-picker/date-picker.vue",
1610
+ "symbol": "default"
1611
+ }
1612
+ },
1531
1613
  {
1532
1614
  "name": "bento-dropdown-avatar",
1533
1615
  "description": "A Avatar Dropdown showing a selectable list of countries.",
@@ -2454,6 +2536,19 @@
2454
2536
  "symbol": "default"
2455
2537
  }
2456
2538
  },
2539
+ {
2540
+ "name": "bento-menu-list-container",
2541
+ "description": "Menu list container component to set the correct styling in a menu list. For internal use only.",
2542
+ "slots": [
2543
+ {
2544
+ "name": "default"
2545
+ }
2546
+ ],
2547
+ "source": {
2548
+ "module": "./src/components/menu/components/menu-list-container/menu-list-container.vue",
2549
+ "symbol": "default"
2550
+ }
2551
+ },
2457
2552
  {
2458
2553
  "name": "bento-pagination",
2459
2554
  "description": "Paginiation component to help users page through data sets.\n\nThere are two ways of doing navigation in this component:\n 1. (Basic) You tell the component if there is a next page (hasNext)\n 2. (Enhanced) You tell the component:\n - How many total items exist (totalCount)\n - The max number of items that you show/fetch per page (size)\n - In this case you should not set the hasNext props\n\nIf you have the data available and opt to use the Enhanced way you get extra controls:\n - Page dropdown selector\n - Last page button\n - \"Showing 10 of 200 items\" text",
@@ -3018,10 +3113,10 @@
3018
3113
  "attributes": [
3019
3114
  {
3020
3115
  "name": "options",
3021
- "description": "List of options that are needed to setup the country filter\nAvailable options:\n - multiple: If \"true\", the user will be able to select multiple items.\n - listboxItems: The option elements to populate the filter with {@see BentoSelectCurrencyFilterOptions}",
3116
+ "description": "List of options that are needed to setup the country filter\nAvailable options:\n - multiple: If \"true\", the user will be able to select multiple items.\n - listboxItems: The option elements to populate the filter with {@see BentoSelectCountryFilterOptions}\n - variant: Which label variant to display for the option item {@see BentoCountryVariant}.",
3022
3117
  "value": {
3023
3118
  "kind": "expression",
3024
- "type": "BentoSelectCurrencyFilterOptions"
3119
+ "type": "BentoSelectCountryFilterOptions"
3025
3120
  },
3026
3121
  "default": "undefined"
3027
3122
  }
@@ -3032,7 +3127,7 @@
3032
3127
  }
3033
3128
  ],
3034
3129
  "source": {
3035
- "module": "./src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue",
3130
+ "module": "./src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue",
3036
3131
  "symbol": "default"
3037
3132
  }
3038
3133
  },
@@ -3042,10 +3137,10 @@
3042
3137
  "attributes": [
3043
3138
  {
3044
3139
  "name": "options",
3045
- "description": "List of options that are needed to setup the country filter\nAvailable options:\n - multiple: If \"true\", the user will be able to select multiple items.\n - listboxItems: The option elements to populate the filter with {@see BentoSelectCountryFilterOptions}\n - variant: Which label variant to display for the option item {@see BentoCountryVariant}.",
3140
+ "description": "List of options that are needed to setup the country filter\nAvailable options:\n - multiple: If \"true\", the user will be able to select multiple items.\n - listboxItems: The option elements to populate the filter with {@see BentoSelectCurrencyFilterOptions}",
3046
3141
  "value": {
3047
3142
  "kind": "expression",
3048
- "type": "BentoSelectCountryFilterOptions"
3143
+ "type": "BentoSelectCurrencyFilterOptions"
3049
3144
  },
3050
3145
  "default": "undefined"
3051
3146
  }
@@ -3056,7 +3151,7 @@
3056
3151
  }
3057
3152
  ],
3058
3153
  "source": {
3059
- "module": "./src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue",
3154
+ "module": "./src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue",
3060
3155
  "symbol": "default"
3061
3156
  }
3062
3157
  },
@@ -3207,7 +3302,7 @@
3207
3302
  "kind": "expression",
3208
3303
  "type": "BentoTagVariant"
3209
3304
  },
3210
- "default": "BentoTagVariant.DEFAULT"
3305
+ "default": "BentoTagVariant.GREY"
3211
3306
  },
3212
3307
  {
3213
3308
  "name": "truncate",
@@ -3527,6 +3622,15 @@
3527
3622
  },
3528
3623
  "default": "true"
3529
3624
  },
3625
+ {
3626
+ "name": "hasContextualMenuEnabled",
3627
+ "description": "Toggles if the contextual menu is enabled",
3628
+ "value": {
3629
+ "kind": "expression",
3630
+ "type": "boolean"
3631
+ },
3632
+ "default": "false"
3633
+ },
3530
3634
  {
3531
3635
  "name": "isFrozenColumns",
3532
3636
  "description": "If these columns are frozen (pinned) columns",
@@ -3573,6 +3677,227 @@
3573
3677
  "symbol": "default"
3574
3678
  }
3575
3679
  },
3680
+ {
3681
+ "name": "date-picker-calendar",
3682
+ "description": "Date picker calendar that displays all the days of a given month\nand allows to move back and forth the visible month with the Next\nand Previous buttons",
3683
+ "attributes": [
3684
+ {
3685
+ "name": "firstDayOfWeek",
3686
+ "description": "Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday",
3687
+ "value": {
3688
+ "kind": "expression",
3689
+ "type": "DatePickerCalendarFirstDayOfWeek"
3690
+ },
3691
+ "default": "DatePickerCalendarFirstDayOfWeek.MONDAY"
3692
+ },
3693
+ {
3694
+ "name": "isDateDisabled",
3695
+ "description": "Indicate if a date should be disabled or not",
3696
+ "value": {
3697
+ "kind": "expression",
3698
+ "type": "func"
3699
+ },
3700
+ "default": "undefined"
3701
+ },
3702
+ {
3703
+ "name": "month",
3704
+ "required": true,
3705
+ "description": "Month of the year to be displayed in the calendar",
3706
+ "value": {
3707
+ "kind": "expression",
3708
+ "type": "date"
3709
+ }
3710
+ },
3711
+ {
3712
+ "name": "value",
3713
+ "description": "Selected date",
3714
+ "value": {
3715
+ "kind": "expression",
3716
+ "type": "date"
3717
+ },
3718
+ "default": "undefined"
3719
+ }
3720
+ ],
3721
+ "source": {
3722
+ "module": "./src/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue",
3723
+ "symbol": "default"
3724
+ }
3725
+ },
3726
+ {
3727
+ "name": "date-picker-calendar-container",
3728
+ "description": "Handles the popover logic and displays the month, date, and range containers\naccording to the type of Date picker variation.",
3729
+ "attributes": [
3730
+ {
3731
+ "name": "disabled",
3732
+ "description": "Disables dropdown functionality",
3733
+ "value": {
3734
+ "kind": "expression",
3735
+ "type": "boolean"
3736
+ },
3737
+ "default": "false"
3738
+ },
3739
+ {
3740
+ "name": "firstDayOfWeek",
3741
+ "description": "Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday",
3742
+ "value": {
3743
+ "kind": "expression",
3744
+ "type": "number"
3745
+ },
3746
+ "default": "DatePickerCalendarFirstDayOfWeek.MONDAY"
3747
+ },
3748
+ {
3749
+ "name": "isDateDisabled",
3750
+ "description": "Indicate if a date should be disabled or not",
3751
+ "value": {
3752
+ "kind": "expression",
3753
+ "type": "func"
3754
+ },
3755
+ "default": "undefined"
3756
+ },
3757
+ {
3758
+ "name": "label",
3759
+ "description": "Text that is displayed as a label above the element.",
3760
+ "value": {
3761
+ "kind": "expression",
3762
+ "type": "string"
3763
+ },
3764
+ "default": "undefined"
3765
+ },
3766
+ {
3767
+ "name": "month",
3768
+ "required": true,
3769
+ "description": "Month of the year to be displayed in the calendar",
3770
+ "value": {
3771
+ "kind": "expression",
3772
+ "type": "date"
3773
+ }
3774
+ },
3775
+ {
3776
+ "name": "open",
3777
+ "required": true,
3778
+ "description": "Indicates if the dropdown is open so that\nthe container can be displayed.",
3779
+ "value": {
3780
+ "kind": "expression",
3781
+ "type": "boolean"
3782
+ }
3783
+ },
3784
+ {
3785
+ "name": "value",
3786
+ "description": "Selected date",
3787
+ "value": {
3788
+ "kind": "expression",
3789
+ "type": "date"
3790
+ },
3791
+ "default": "undefined"
3792
+ },
3793
+ {
3794
+ "name": "targetElement",
3795
+ "required": true,
3796
+ "description": "Reference to the DOM element or Vue component for positioning\nthe Dropdown container.",
3797
+ "value": {
3798
+ "kind": "expression",
3799
+ "type": "BentoPopover.props.targetElement.type"
3800
+ }
3801
+ }
3802
+ ],
3803
+ "source": {
3804
+ "module": "./src/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.vue",
3805
+ "symbol": "default"
3806
+ }
3807
+ },
3808
+ {
3809
+ "name": "date-picker-calendar-container-stub",
3810
+ "description": "",
3811
+ "attributes": [
3812
+ {
3813
+ "name": "month",
3814
+ "value": {
3815
+ "kind": "expression",
3816
+ "type": "DatePickerCalendarContainer.props.month"
3817
+ }
3818
+ },
3819
+ {
3820
+ "name": "open",
3821
+ "value": {
3822
+ "kind": "expression",
3823
+ "type": "DatePickerCalendarContainer.props.open"
3824
+ }
3825
+ },
3826
+ {
3827
+ "name": "disabled",
3828
+ "value": {
3829
+ "kind": "expression",
3830
+ "type": "DatePickerCalendarContainer.props.disabled"
3831
+ }
3832
+ },
3833
+ {
3834
+ "name": "value",
3835
+ "value": {
3836
+ "kind": "expression",
3837
+ "type": "DatePickerCalendarContainer.props.value"
3838
+ }
3839
+ }
3840
+ ],
3841
+ "events": [
3842
+ {
3843
+ "name": "<undefined>"
3844
+ }
3845
+ ],
3846
+ "source": {
3847
+ "module": "./src/components/date-picker/components/date-picker-calendar-container/__test__/date-picker-calendar-container-stub.vue",
3848
+ "symbol": "default"
3849
+ }
3850
+ },
3851
+ {
3852
+ "name": "date-picker-calendar-day",
3853
+ "description": "Handles the styles and states of the individual dates of the calendar.",
3854
+ "attributes": [
3855
+ {
3856
+ "name": "day",
3857
+ "required": true,
3858
+ "description": "Date to be displayed as the calendar day. From 1st to 31st (or end of the month defined in the date)",
3859
+ "value": {
3860
+ "kind": "expression",
3861
+ "type": "date"
3862
+ }
3863
+ },
3864
+ {
3865
+ "name": "selected",
3866
+ "description": "Changes the state of the calendar day to selected.",
3867
+ "value": {
3868
+ "kind": "expression",
3869
+ "type": "boolean"
3870
+ },
3871
+ "default": "false"
3872
+ },
3873
+ {
3874
+ "name": "disabled",
3875
+ "description": "Indicate if a date should be disabled or not",
3876
+ "value": {
3877
+ "kind": "expression",
3878
+ "type": "boolean"
3879
+ },
3880
+ "default": "false"
3881
+ }
3882
+ ],
3883
+ "source": {
3884
+ "module": "./src/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue",
3885
+ "symbol": "default"
3886
+ }
3887
+ },
3888
+ {
3889
+ "name": "date-picker-calendar-day-stub",
3890
+ "description": "",
3891
+ "events": [
3892
+ {
3893
+ "name": "<undefined>"
3894
+ }
3895
+ ],
3896
+ "source": {
3897
+ "module": "./src/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue",
3898
+ "symbol": "default"
3899
+ }
3900
+ },
3576
3901
  {
3577
3902
  "name": "dropdown-base-textbox",
3578
3903
  "description": "Only for internal use, implements the logic of the textbox element to be implemented in the combobox.",
@@ -4275,6 +4600,15 @@
4275
4600
  "type": "boolean"
4276
4601
  },
4277
4602
  "default": "false"
4603
+ },
4604
+ {
4605
+ "name": "isTitle",
4606
+ "description": "Renders the text in a bold variant",
4607
+ "value": {
4608
+ "kind": "expression",
4609
+ "type": "boolean"
4610
+ },
4611
+ "default": "false"
4278
4612
  }
4279
4613
  ],
4280
4614
  "source": {
@@ -4728,6 +5062,32 @@
4728
5062
  "symbol": "default"
4729
5063
  }
4730
5064
  },
5065
+ {
5066
+ "name": "sub-menu-item-list",
5067
+ "description": "SubMenuItemList component to render a submenu with the sliding transition. For internal use only.",
5068
+ "attributes": [
5069
+ {
5070
+ "name": "items",
5071
+ "required": true,
5072
+ "value": {
5073
+ "kind": "expression",
5074
+ "type": "BentoMenuItem[]"
5075
+ }
5076
+ },
5077
+ {
5078
+ "name": "title",
5079
+ "required": true,
5080
+ "value": {
5081
+ "kind": "expression",
5082
+ "type": "string"
5083
+ }
5084
+ }
5085
+ ],
5086
+ "source": {
5087
+ "module": "./src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue",
5088
+ "symbol": "default"
5089
+ }
5090
+ },
4731
5091
  {
4732
5092
  "name": "tab",
4733
5093
  "description": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -50,10 +50,10 @@
50
50
  "url": "git@github.com:Adyen/bento.git"
51
51
  },
52
52
  "dependencies": {
53
- "@adyen/bento-design-tokens": "0.4.2",
54
- "@adyen/ui-assets-flag-icons": "1.1.0",
55
- "@adyen/ui-assets-icons-16": "3.0.0",
56
- "@adyen/ui-assets-payment-method-icons": "5.1.0",
53
+ "@adyen/bento-design-tokens": "0.4.3",
54
+ "@adyen/ui-assets-flag-icons": "1.2.0",
55
+ "@adyen/ui-assets-icons-16": "3.1.0",
56
+ "@adyen/ui-assets-payment-method-icons": "5.2.0",
57
57
  "@popperjs/core": "2.11.8",
58
58
  "date-fns": "2.28.0",
59
59
  "focus-lock": "0.11.0",