@faststore/ui 3.0.110 → 3.0.116

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.
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import type { HTMLAttributes } from 'react';
2
+ import React from 'react';
3
3
  export interface IncentiveProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
5
  * ID to find this component in testing tools (e.g.: cypress,
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const react_1 = tslib_1.__importStar(require("react"));
5
5
  const Incentive = (0, react_1.forwardRef)(function Incentive({ testId = 'store-incentive', children, ...otherProps }, ref) {
6
- return (react_1.default.createElement("div", { ref: ref, "data-fs-incentive": true, "data-testid": testId, ...otherProps }, children));
6
+ return (react_1.default.createElement("section", { ref: ref, "data-fs-incentive": true, "data-testid": testId, ...otherProps }, children));
7
7
  });
8
8
  exports.default = Incentive;
9
9
  //# sourceMappingURL=Incentive.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Incentive.js","sourceRoot":"","sources":["../../../../../src/components/atoms/Incentive/Incentive.tsx"],"names":[],"mappings":";;;AAAA,uDAAyC;AAWzC,MAAM,SAAS,GAAG,IAAA,kBAAU,EAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,iBAAiB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACvD,GAAG;IAEH,OAAO,CACL,uCAAK,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACjE,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,kBAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"Incentive.js","sourceRoot":"","sources":["../../../../../src/components/atoms/Incentive/Incentive.tsx"],"names":[],"mappings":";;;AACA,uDAAyC;AAUzC,MAAM,SAAS,GAAG,IAAA,kBAAU,EAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,iBAAiB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACvD,GAAG;IAEH,OAAO,CACL,2CAAS,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACrE,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,kBAAe,SAAS,CAAA"}
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import type { HTMLAttributes } from 'react';
2
+ import React from 'react';
3
3
  export interface IncentiveProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
5
  * ID to find this component in testing tools (e.g.: cypress,
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  const Incentive = forwardRef(function Incentive({ testId = 'store-incentive', children, ...otherProps }, ref) {
3
- return (React.createElement("div", { ref: ref, "data-fs-incentive": true, "data-testid": testId, ...otherProps }, children));
3
+ return (React.createElement("section", { ref: ref, "data-fs-incentive": true, "data-testid": testId, ...otherProps }, children));
4
4
  });
5
5
  export default Incentive;
6
6
  //# sourceMappingURL=Incentive.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Incentive.js","sourceRoot":"","sources":["../../../../../src/components/atoms/Incentive/Incentive.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,iBAAiB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACvD,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACjE,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"Incentive.js","sourceRoot":"","sources":["../../../../../src/components/atoms/Incentive/Incentive.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,iBAAiB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACvD,GAAG;IAEH,OAAO,CACL,iCAAS,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACrE,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/ui",
3
- "version": "3.0.110",
3
+ "version": "3.0.116",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  }
49
49
  ],
50
50
  "dependencies": {
51
- "@faststore/components": "^3.0.110",
51
+ "@faststore/components": "^3.0.116",
52
52
  "include-media": "^1.4.10",
53
53
  "modern-normalize": "^1.1.0",
54
54
  "react-swipeable": "^7.0.0",
@@ -59,8 +59,8 @@
59
59
  "react-dom": "^18.2.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@faststore/eslint-config": "^3.0.110",
63
- "@faststore/shared": "^3.0.110",
62
+ "@faststore/eslint-config": "^3.0.116",
63
+ "@faststore/shared": "^3.0.116",
64
64
  "@size-limit/preset-small-lib": "^7.0.8",
65
65
  "@types/tabbable": "^3.1.1",
66
66
  "babel-loader": "^8.2.5",
@@ -71,5 +71,5 @@
71
71
  "volta": {
72
72
  "extends": "../../package.json"
73
73
  },
74
- "gitHead": "c2922d7fe5a93f027d95e4566481559025df2133"
74
+ "gitHead": "944909c520a5f2d541354bce0b13b35e1ade9653"
75
75
  }
@@ -1,5 +1,5 @@
1
- import React, { forwardRef } from 'react'
2
1
  import type { HTMLAttributes } from 'react'
2
+ import React, { forwardRef } from 'react'
3
3
 
4
4
  export interface IncentiveProps extends HTMLAttributes<HTMLDivElement> {
5
5
  /**
@@ -14,9 +14,9 @@ const Incentive = forwardRef<HTMLDivElement, IncentiveProps>(function Incentive(
14
14
  ref
15
15
  ) {
16
16
  return (
17
- <div ref={ref} data-fs-incentive data-testid={testId} {...otherProps}>
17
+ <section ref={ref} data-fs-incentive data-testid={testId} {...otherProps}>
18
18
  {children}
19
- </div>
19
+ </section>
20
20
  )
21
21
  })
22
22