@faststore/ui 1.3.37 → 1.3.38

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.38 (2021-12-16)
7
+
8
+ **Note:** Version bump only for package @faststore/ui
9
+
10
+
11
+
12
+
13
+
6
14
  ## 1.3.37 (2021-12-15)
7
15
 
8
16
 
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import React from 'react';
3
- export interface BannerContentProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
3
+ export interface BannerContentProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
5
  * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
6
  */
@@ -391,13 +391,14 @@ const SearchInput = /*#__PURE__*/React.forwardRef(function SearchInput({
391
391
  ref: ref,
392
392
  "data-store-search-input": true,
393
393
  "data-testid": testId,
394
- onSubmit: handleSubmit
394
+ onSubmit: handleSubmit,
395
+ role: "search"
395
396
  }, React__default.createElement(Input, Object.assign({
396
397
  ref: valueRef,
397
398
  "aria-label": ariaLabel
398
399
  }, otherProps)), React__default.createElement(Button, {
399
400
  type: "submit",
400
- "aria-label": `button-${ariaLabel}`
401
+ "aria-label": "Submit Search"
401
402
  }, React__default.createElement(Icon, {
402
403
  component: icon != null ? icon : React__default.createElement(SearchIcon, null)
403
404
  })));
@@ -1031,7 +1032,6 @@ const BannerContent = /*#__PURE__*/React.forwardRef(function BannerContent({
1031
1032
  }, ref) {
1032
1033
  return React__default.createElement("div", Object.assign({
1033
1034
  ref: ref,
1034
- role: "region",
1035
1035
  "data-store-banner-content": true,
1036
1036
  "data-testid": testId
1037
1037
  }, otherProps), children);