@adyen/bento-vue2 0.6.0 → 0.7.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "0.6.0",
4
+ "version": "0.7.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -943,7 +943,7 @@
943
943
  {
944
944
  "name": "actions",
945
945
  "required": true,
946
- "description": "List of actions that will be used to render the buttons.\nFirst element in the list will be rendered as \"primary\".\nAll elements after the first will be rendered as \"secondary\".\n\nEach object in the list should have a `title`, an `event` and\n(optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n\n`title`: Button's text.\n\n`event`: Event triggered when clicking the Button.\n\n`icon` (optional): Vue Icon from the library `@adyen/ui-assets-icons-16`.\n\n`disabled` (optional): Disables the action.\n\n```\n[{\n title: 'Primary',\n event: () => { ... },\n icon: FourPeopleIcon\n}, {\n title: 'Secondary',\n event: () => { ... }\n disabled: true\n}]\n```",
946
+ "description": "List of actions that will be used to render the buttons.\nFirst element in the list will be rendered as \"primary\".\nAll elements after the first will be rendered as \"secondary\".\n\nEach object in the list should have a `title`, an `event` and\n(optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n\n`title`: Button's text.\n\n`event`: Event triggered when clicking the Button.\n\n`icon` (optional): Vue Icon from the library `@adyen/ui-assets-icons-16`.\n\n`disabled` (optional): Disables the action.\n\n`variant` (optional): Sets button's variant background color.\n\n`critical` (optional): Sets button red border adn color.\n\n```\n[{\n title: 'Primary',\n event: () => { ... },\n icon: FourPeopleIcon\n}, {\n title: 'Secondary',\n event: () => { ... }\n disabled: true,\n variant: BentoButtonVariant.PRIMARY,\n critical: true\n}]\n```",
947
947
  "value": {
948
948
  "kind": "expression",
949
949
  "type": "BentoButtonActionsList"
@@ -2522,13 +2522,31 @@
2522
2522
  }
2523
2523
  },
2524
2524
  {
2525
- "name": "ghostButton",
2525
+ "name": "tertiaryButton",
2526
2526
  "description": "Displays the menu button in its ghost variant",
2527
2527
  "value": {
2528
2528
  "kind": "expression",
2529
2529
  "type": "boolean"
2530
2530
  },
2531
2531
  "default": "false"
2532
+ },
2533
+ {
2534
+ "name": "menuPosition",
2535
+ "description": "The position of where the menu should open.",
2536
+ "value": {
2537
+ "kind": "expression",
2538
+ "type": "BentoPopoverPositions"
2539
+ },
2540
+ "default": "BentoPopoverPositions.BOTTOM_START"
2541
+ },
2542
+ {
2543
+ "name": "menuFixedPositioning",
2544
+ "description": "Instructs the menu popover to be visible outside of the containing container.\nhttps://popper.js.org/docs/v2/constructors/#strategy",
2545
+ "value": {
2546
+ "kind": "expression",
2547
+ "type": "boolean"
2548
+ },
2549
+ "default": "false"
2532
2550
  }
2533
2551
  ],
2534
2552
  "source": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -50,7 +50,7 @@
50
50
  "url": "git@github.com:Adyen/bento.git"
51
51
  },
52
52
  "dependencies": {
53
- "@adyen/bento-design-tokens": "0.4.3",
53
+ "@adyen/bento-design-tokens": "0.4.4",
54
54
  "@adyen/ui-assets-flag-icons": "1.2.0",
55
55
  "@adyen/ui-assets-icons-16": "3.1.0",
56
56
  "@adyen/ui-assets-payment-method-icons": "5.2.0",