@faststore/ui 3.0.109 → 3.0.115
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/dist/cjs/components/atoms/Incentive/Incentive.d.ts +1 -1
- package/dist/cjs/components/atoms/Incentive/Incentive.js +1 -1
- package/dist/cjs/components/atoms/Incentive/Incentive.js.map +1 -1
- package/dist/esm/components/atoms/Incentive/Incentive.d.ts +1 -1
- package/dist/esm/components/atoms/Incentive/Incentive.js +1 -1
- package/dist/esm/components/atoms/Incentive/Incentive.js.map +1 -1
- package/package.json +5 -5
- package/src/components/atoms/Incentive/Incentive.tsx +3 -3
|
@@ -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("
|
|
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":";;;
|
|
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,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("
|
|
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":"
|
|
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.
|
|
3
|
+
"version": "3.0.115",
|
|
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.
|
|
51
|
+
"@faststore/components": "^3.0.115",
|
|
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.
|
|
63
|
-
"@faststore/shared": "^3.0.
|
|
62
|
+
"@faststore/eslint-config": "^3.0.110",
|
|
63
|
+
"@faststore/shared": "^3.0.110",
|
|
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": "
|
|
74
|
+
"gitHead": "1cc987d52dfce0b3235e80662099a55c7acb9ba9"
|
|
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
|
-
<
|
|
17
|
+
<section ref={ref} data-fs-incentive data-testid={testId} {...otherProps}>
|
|
18
18
|
{children}
|
|
19
|
-
</
|
|
19
|
+
</section>
|
|
20
20
|
)
|
|
21
21
|
})
|
|
22
22
|
|