From aa6f3915dc24ac175a29db2109e4ab667b8b4dff Mon Sep 17 00:00:00 2001 From: Gleb Voitenko Date: Mon, 21 Oct 2024 13:51:37 +0300 Subject: [PATCH] fix: bump tabs plugin v3.5.0 --- package-lock.json | 8 ++++---- package.json | 2 +- src/transform/plugins/tabs.ts | 12 +++++++++++- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5e70a9c1..c7841cb4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@diplodoc/cut-extension": "^0.3.0", - "@diplodoc/tabs-extension": "^3.4.0", + "@diplodoc/tabs-extension": "^3.5.0", "chalk": "^4.1.2", "cheerio": "^1.0.0", "css": "^3.0.0", @@ -3112,9 +3112,9 @@ } }, "node_modules/@diplodoc/tabs-extension": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/@diplodoc/tabs-extension/-/tabs-extension-3.4.0.tgz", - "integrity": "sha512-5xeTq9xrFSGd8XIhmSGzG5upYz/I2Fxqn0j6nrsmKlLW3YGoa5JtkCGfvxkQ43yVIrCMYDi9XQe3snQIW5eb1Q==", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@diplodoc/tabs-extension/-/tabs-extension-3.5.0.tgz", + "integrity": "sha512-dok/uz9srzR2xmch4rGvkc9hTtaNR+Lojd1kATyv+IGc5y2mmdvDHmcyboRg8850eOZWYzeDkthk2M/DG+oE4w==", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, diff --git a/package.json b/package.json index aa3a9170..c93cde87 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ }, "dependencies": { "@diplodoc/cut-extension": "^0.3.0", - "@diplodoc/tabs-extension": "^3.4.0", + "@diplodoc/tabs-extension": "^3.5.0", "chalk": "^4.1.2", "cheerio": "^1.0.0", "css": "^3.0.0", diff --git a/src/transform/plugins/tabs.ts b/src/transform/plugins/tabs.ts index 75efebc1..b6f21f31 100644 --- a/src/transform/plugins/tabs.ts +++ b/src/transform/plugins/tabs.ts @@ -1,3 +1,13 @@ import {transform} from '@diplodoc/tabs-extension'; -export = transform({bundle: false}); +export = transform({ + bundle: false, + features: { + enabledVariants: { + radio: true, + regular: true, + dropdown: true, + accordion: true, + }, + }, +});