diff --git a/.changeset/twelve-ligers-hope.md b/.changeset/twelve-ligers-hope.md new file mode 100644 index 00000000000..e1babe08525 --- /dev/null +++ b/.changeset/twelve-ligers-hope.md @@ -0,0 +1,5 @@ +--- +"@razorpay/blade": patch +--- + +fix: define stylis plugin name property diff --git a/packages/blade/src/components/BladeProvider/stylisCSSHigherSpecificity.ts b/packages/blade/src/components/BladeProvider/stylisCSSHigherSpecificity.ts index cda510eac5a..b1f78be825a 100644 --- a/packages/blade/src/components/BladeProvider/stylisCSSHigherSpecificity.ts +++ b/packages/blade/src/components/BladeProvider/stylisCSSHigherSpecificity.ts @@ -9,5 +9,9 @@ export default function createStylisCSSHigherSpecificityPlugin(): StylisPlugin { selectors[0] = `${selector.repeat(5)}`; }; + Object.defineProperty(stylisCSSHigherSpecificity, 'name', { + value: 'stylisCSSHigherSpecificity', + }); + return stylisCSSHigherSpecificity; }