From f9b13535292ca7f21493b0ec73c71e746c880396 Mon Sep 17 00:00:00 2001 From: Viraj-10 Date: Wed, 5 Apr 2023 14:15:53 +0530 Subject: [PATCH 1/2] fix: removing data set from remainingprops --- packages/react/src/core/convert-utility-to-sx.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react/src/core/convert-utility-to-sx.ts b/packages/react/src/core/convert-utility-to-sx.ts index c428411a3..451b03bc7 100644 --- a/packages/react/src/core/convert-utility-to-sx.ts +++ b/packages/react/src/core/convert-utility-to-sx.ts @@ -152,7 +152,9 @@ export const convertUtilityPropsToSX = ( componentProps[prop] ); } else { - ignoredProps[prop] = componentProps[prop]; + if (prop !== 'dataSet') { + ignoredProps[prop] = componentProps[prop]; + } } }); From a39047bb01a0eacedc8889c13d13537b7ce1c679 Mon Sep 17 00:00:00 2001 From: Viraj-10 Date: Wed, 5 Apr 2023 18:22:01 +0530 Subject: [PATCH 2/2] chore: dank style react version bump 0.3.11 --- example/storybook/package.json | 2 +- packages/react/CHANGELOG.md | 6 ++++++ packages/react/package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/example/storybook/package.json b/example/storybook/package.json index 39f952485..21cb8c4ab 100644 --- a/example/storybook/package.json +++ b/example/storybook/package.json @@ -41,7 +41,7 @@ }, "devDependencies": { "@babel/core": "^7.19.3", - "@dank-style/react": "0.3.10", + "@dank-style/react": "0.3.11", "@storybook/addon-actions": "^6.5.14", "@storybook/addon-controls": "^6.5.14", "@storybook/addon-docs": "^6.5.15", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 532441314..80ca130ee 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @dank-style/react +## 0.3.11 + +### Patch Changes + +- inline dataset override fix + ## 0.3.10 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 4bc7a8ad5..78628df35 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@dank-style/react", - "version": "0.3.10", + "version": "0.3.11", "main": "lib/commonjs/index", "types": "lib/typescript/index.d.ts", "module": "lib/module/index",