@faststore/ui 1.3.45 → 1.3.46

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 CHANGED
@@ -3,6 +3,14 @@
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.3.46 (2021-12-23)
7
+
8
+ **Note:** Version bump only for package @faststore/ui
9
+
10
+
11
+
12
+
13
+
6
14
  ## 1.3.45 (2021-12-21)
7
15
 
8
16
  **Note:** Version bump only for package @faststore/ui
@@ -1,14 +1,10 @@
1
- import type { HTMLAttributes, AriaAttributes } from 'react';
1
+ import type { HTMLAttributes } from 'react';
2
2
  import React from 'react';
3
- export interface CardContentProps extends HTMLAttributes<HTMLDivElement> {
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<HTMLDivElement>>;
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("div", Object.assign({
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);