@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.
@@ -5,6 +5,7 @@ export interface CardTitleProps {
5
5
  text: string;
6
6
  only_on?: string;
7
7
  };
8
+ id: string;
8
9
  };
9
10
  styleContext?: string;
10
11
  }
@@ -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