@faststore/ui 1.3.43 → 1.4.1
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/CHANGELOG.md +32 -0
- package/dist/organisms/Card/CardContent.d.ts +3 -7
- package/dist/ui.cjs.development.js +1 -4
- package/dist/ui.cjs.development.js.map +1 -1
- package/dist/ui.cjs.production.min.js +1 -1
- package/dist/ui.cjs.production.min.js.map +1 -1
- package/dist/ui.esm.js +1 -4
- package/dist/ui.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/organisms/Card/CardContent.tsx +6 -17
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.4.1 (2022-01-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @faststore/ui
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 1.3.46 (2021-12-23)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @faststore/ui
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## 1.3.45 (2021-12-21)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @faststore/ui
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## 1.3.44 (2021-12-21)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @faststore/ui
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## 1.3.43 (2021-12-20)
|
|
7
39
|
|
|
8
40
|
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import type { HTMLAttributes
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export interface CardContentProps extends HTMLAttributes<
|
|
3
|
+
export interface CardContentProps extends HTMLAttributes<HTMLElement> {
|
|
4
4
|
/**
|
|
5
5
|
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
|
|
6
6
|
*/
|
|
7
7
|
testId?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Defines a string value that labels the current element.
|
|
10
|
-
*/
|
|
11
|
-
'aria-label'?: AriaAttributes['aria-label'];
|
|
12
8
|
}
|
|
13
|
-
declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<
|
|
9
|
+
declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLElement>>;
|
|
14
10
|
export default CardContent;
|
|
@@ -1574,14 +1574,11 @@ const CardImage = /*#__PURE__*/React.forwardRef(function CardImage({
|
|
|
1574
1574
|
|
|
1575
1575
|
const CardContent = /*#__PURE__*/React.forwardRef(function CardContent({
|
|
1576
1576
|
testId = 'store-card-content',
|
|
1577
|
-
'aria-label': ariaLabel = 'Card content',
|
|
1578
1577
|
children,
|
|
1579
1578
|
...otherProps
|
|
1580
1579
|
}, ref) {
|
|
1581
|
-
return React__default.createElement("
|
|
1580
|
+
return React__default.createElement("section", Object.assign({
|
|
1582
1581
|
ref: ref,
|
|
1583
|
-
role: "region",
|
|
1584
|
-
"aria-label": ariaLabel,
|
|
1585
1582
|
"data-store-card-content": true,
|
|
1586
1583
|
"data-testid": testId
|
|
1587
1584
|
}, otherProps), children);
|