From 6b8809301f497fbebcb78d7284ec245b0c5b3081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20M=C3=BCller?= Date: Tue, 13 Aug 2019 11:59:20 +0200 Subject: [PATCH] feat(dropdown): remove deprecations --- src/components/dropdown/dropdown.js | 6 +----- src/components/dropdown/package.json | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/dropdown/dropdown.js b/src/components/dropdown/dropdown.js index 9cf93e030ad..b02716f799f 100644 --- a/src/components/dropdown/dropdown.js +++ b/src/components/dropdown/dropdown.js @@ -112,11 +112,7 @@ export const BDropdown = /*#__PURE__*/ Vue.extend({ }, render(h) { let split = h() - const buttonContent = - this.normalizeSlot('button-content') || - this.normalizeSlot('text') || - this.html || - stripTags(this.text) + const buttonContent = this.normalizeSlot('button-content') || this.html || stripTags(this.text) if (this.split) { const btnProps = { disabled: this.disabled, diff --git a/src/components/dropdown/package.json b/src/components/dropdown/package.json index ddba45b7eac..b0d127cec4f 100644 --- a/src/components/dropdown/package.json +++ b/src/components/dropdown/package.json @@ -52,10 +52,6 @@ { "name": "button-content", "description": "Can be used to implement custom text with icons and more styling." - }, - { - "name": "text", - "description": "Deprecated. please use 'button-content' slot instead." } ] },