@faststore/ui 1.8.51 → 1.8.52

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/ui",
3
- "version": "1.8.51",
3
+ "version": "1.8.52",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -89,5 +89,5 @@
89
89
  "tsdx": "^0.14.1",
90
90
  "typescript": "^4.2.4"
91
91
  },
92
- "gitHead": "be1a2b1a38ec185ca8bd90af6e5fb02119f2fcb9"
92
+ "gitHead": "3d9c06662ab85ef52c457aa0c7418625e966bf9b"
93
93
  }
@@ -13,9 +13,14 @@ export const OutOfStockMessage = ({
13
13
  as: MessageComponent = 'p',
14
14
  testId = 'store-out-of-stock-message',
15
15
  children,
16
+ ...otherProps
16
17
  }: OutOfStockMessageProps) => {
17
18
  return (
18
- <MessageComponent data-out-of-stock-message data-testid={testId}>
19
+ <MessageComponent
20
+ data-out-of-stock-message
21
+ data-testid={testId}
22
+ {...otherProps}
23
+ >
19
24
  {children}
20
25
  </MessageComponent>
21
26
  )
@@ -13,9 +13,14 @@ export const OutOfStockTitle = ({
13
13
  as: TitleComponent = 'h2',
14
14
  testId = 'store-out-of-stock-title',
15
15
  children,
16
+ ...otherProps
16
17
  }: OutOfStockTitleProps) => {
17
18
  return (
18
- <TitleComponent data-out-of-stock-title data-testid={testId}>
19
+ <TitleComponent
20
+ data-out-of-stock-title
21
+ data-testid={testId}
22
+ {...otherProps}
23
+ >
19
24
  {children}
20
25
  </TitleComponent>
21
26
  )