@meduza/ui-kit-2 0.8.2 → 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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.2",
2
+ "version": "0.8.3",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -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
  }
@@ -5,13 +5,15 @@ import styles from './CardTitle.module.css'
5
5
 
6
6
  export const CardTitle: React.FC<CardTitleProps> = ({
7
7
  block: {
8
- data: { only_on: onlyOn, index, text }
8
+ data: { only_on: onlyOn, index, text },
9
+ id,
9
10
  },
10
11
  styleContext
11
12
  }) => {
12
13
  return (
13
14
  <div
14
15
  data-testid="card-title"
16
+ id={id}
15
17
  className={makeClassName([
16
18
  [styles.root, true],
17
19
  [styles[onlyOn], !!onlyOn],