@meduza/ui-kit-2 0.8.1 → 0.8.3
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.
- package/dist/CardTitle/CardTitle.types.d.ts +1 -0
- package/dist/ui-kit-2.cjs.development.js +4 -4
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +4 -4
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/CardTitle/CardTitle.types.ts +1 -0
- package/src/CardTitle/index.tsx +3 -1
- package/src/Dropdown/index.tsx +0 -1
|
@@ -918,9 +918,7 @@ const Dropdown = ({
|
|
|
918
918
|
active,
|
|
919
919
|
styleContext
|
|
920
920
|
}) => {
|
|
921
|
-
let classNames = [[styles$u.root, true],
|
|
922
|
-
// [styles.active, !!active && !!styles.active],
|
|
923
|
-
[styles$u.inactive, !active && styleContext === "isPodcastSeason" && !!styles$u.inactive]];
|
|
921
|
+
let classNames = [[styles$u.root, true], [styles$u.inactive, !active && styleContext === "isPodcastSeason" && !!styles$u.inactive]];
|
|
924
922
|
if (styleContext) {
|
|
925
923
|
classNames = makeStyleContext(classNames, styleContext, styles$u);
|
|
926
924
|
}
|
|
@@ -1361,12 +1359,14 @@ const CardTitle = ({
|
|
|
1361
1359
|
only_on: onlyOn,
|
|
1362
1360
|
index,
|
|
1363
1361
|
text
|
|
1364
|
-
}
|
|
1362
|
+
},
|
|
1363
|
+
id
|
|
1365
1364
|
},
|
|
1366
1365
|
styleContext
|
|
1367
1366
|
}) => {
|
|
1368
1367
|
return /*#__PURE__*/React.createElement("div", {
|
|
1369
1368
|
"data-testid": "card-title",
|
|
1369
|
+
id: id,
|
|
1370
1370
|
className: makeClassName([[styles$o.root, true], [styles$o[onlyOn], !!onlyOn], [styles$o[styleContext], !!styleContext && !!styles$o[styleContext]]])
|
|
1371
1371
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1372
1372
|
className: styles$o.index
|