sag_components 1.0.321 → 1.0.323

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,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.256",
3
+ "version": "1.0.322",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -15,9 +15,9 @@
15
15
  "license": "ISC",
16
16
  "devDependencies": {
17
17
  "@babel/cli": "^7.23.0",
18
- "@babel/preset-env": "^7.22.20",
19
- "@babel/preset-react": "^7.22.15",
20
- "@babel/preset-typescript": "^7.23.0",
18
+ "@babel/preset-env": "^7.23.3",
19
+ "@babel/preset-react": "^7.23.3",
20
+ "@babel/preset-typescript": "^7.23.3",
21
21
  "@storybook/addon-a11y": "^7.4.6",
22
22
  "@storybook/addon-essentials": "^7.4.6",
23
23
  "@storybook/addon-interactions": "^7.4.6",
@@ -29,19 +29,20 @@
29
29
  "@storybook/react-webpack5": "^7.4.6",
30
30
  "@storybook/testing-library": "^0.2.2",
31
31
  "cross-env": "^7.0.3",
32
- "css-loader": "^5.2.7",
33
- "eslint": "^8.50.0",
32
+ "css-loader": "^6.8.1",
33
+ "eslint": "^8.53.0",
34
34
  "eslint-config-airbnb": "^19.0.4",
35
- "eslint-plugin-import": "^2.28.1",
36
- "eslint-plugin-jsx-a11y": "^6.7.1",
35
+ "eslint-plugin-import": "^2.29.0",
36
+ "eslint-plugin-jsx-a11y": "^6.8.0",
37
37
  "eslint-plugin-react": "^7.33.2",
38
38
  "eslint-plugin-react-hooks": "^4.6.0",
39
39
  "react-dom": "^18.2.0",
40
- "sass": "^1.68.0",
40
+ "sass": "^1.69.5",
41
41
  "sass-loader": "^13.3.2",
42
42
  "style-loader": "^3.3.3"
43
43
  },
44
44
  "dependencies": {
45
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
45
46
  "@dnd-kit/core": "^6.0.8",
46
47
  "@emotion/react": "^11.11.1",
47
48
  "@emotion/styled": "^11.11.0",
@@ -49,10 +50,10 @@
49
50
  "@fortawesome/fontawesome-svg-core": "^6.4.2",
50
51
  "@fortawesome/free-solid-svg-icons": "^6.4.2",
51
52
  "@fortawesome/react-fontawesome": "^0.2.0",
52
- "@mui/icons-material": "^5.14.11",
53
- "@mui/material": "^5.14.11",
54
- "@mui/styled-engine-sc": "^5.14.11",
55
- "@mui/x-date-pickers": "^6.16.0",
53
+ "@mui/icons-material": "^5.14.16",
54
+ "@mui/material": "^5.14.17",
55
+ "@mui/styled-engine-sc": "^5.14.12",
56
+ "@mui/x-date-pickers": "^6.18.1",
56
57
  "@storybook/addon-designs": "^7.0.5",
57
58
  "babel-plugin-react-css-modules": "^5.2.6",
58
59
  "classnames": "^2.3.2",
@@ -63,9 +64,9 @@
63
64
  "react-css-modules": "^4.7.11",
64
65
  "react-loading-skeleton": "^3.3.1",
65
66
  "react-scripts": "5.0.1",
66
- "recharts": "^2.6.2",
67
+ "recharts": "^2.9.3",
67
68
  "storybook": "^7.4.6",
68
- "styled-components": "^5.3.11"
69
+ "styled-components": "^5.3.1"
69
70
  },
70
71
  "browserslist": {
71
72
  "production": [
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "sag_components",
3
+ "version": "1.0.323",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "start": "react-scripts start",
8
+ "lint": "eslint .",
9
+ "build": "cross-env BABEL_ENV=production babel src -d dist ",
10
+ "storybook": "storybook dev -p 6006",
11
+ "build-storybook": "storybook build"
12
+ },
13
+ "keywords": [],
14
+ "author": "SAG",
15
+ "license": "ISC",
16
+ "devDependencies": {
17
+ "@babel/cli": "^7.23.0",
18
+ "@babel/preset-env": "^7.23.3",
19
+ "@babel/preset-react": "^7.23.3",
20
+ "@babel/preset-typescript": "^7.23.3",
21
+ "@storybook/addon-a11y": "^7.4.6",
22
+ "@storybook/addon-essentials": "^7.4.6",
23
+ "@storybook/addon-interactions": "^7.4.6",
24
+ "@storybook/addon-links": "^7.4.6",
25
+ "@storybook/addon-storysource": "^7.4.6",
26
+ "@storybook/blocks": "^7.4.6",
27
+ "@storybook/preset-scss": "^1.0.3",
28
+ "@storybook/react": "^7.4.6",
29
+ "@storybook/react-webpack5": "^7.4.6",
30
+ "@storybook/testing-library": "^0.2.2",
31
+ "cross-env": "^7.0.3",
32
+ "css-loader": "^6.8.1",
33
+ "eslint": "^8.53.0",
34
+ "eslint-config-airbnb": "^19.0.4",
35
+ "eslint-plugin-import": "^2.29.0",
36
+ "eslint-plugin-jsx-a11y": "^6.8.0",
37
+ "eslint-plugin-react": "^7.33.2",
38
+ "eslint-plugin-react-hooks": "^4.6.0",
39
+ "react-dom": "^18.2.0",
40
+ "sass": "^1.69.5",
41
+ "sass-loader": "^13.3.2",
42
+ "style-loader": "^3.3.3"
43
+ },
44
+ "dependencies": {
45
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
46
+ "@dnd-kit/core": "^6.0.8",
47
+ "@emotion/react": "^11.11.1",
48
+ "@emotion/styled": "^11.11.0",
49
+ "@fontsource/roboto": "^5.0.8",
50
+ "@fortawesome/fontawesome-svg-core": "^6.4.2",
51
+ "@fortawesome/free-solid-svg-icons": "^6.4.2",
52
+ "@fortawesome/react-fontawesome": "^0.2.0",
53
+ "@mui/icons-material": "^5.14.16",
54
+ "@mui/material": "^5.14.17",
55
+ "@mui/styled-engine-sc": "^5.14.12",
56
+ "@mui/x-date-pickers": "^6.18.1",
57
+ "@storybook/addon-designs": "^7.0.5",
58
+ "babel-plugin-react-css-modules": "^5.2.6",
59
+ "classnames": "^2.3.2",
60
+ "dayjs": "^1.11.10",
61
+ "hoopy": "^0.1.4",
62
+ "prop-types": "^15.8.1",
63
+ "react": "^18.2.0",
64
+ "react-css-modules": "^4.7.11",
65
+ "react-loading-skeleton": "^3.3.1",
66
+ "react-scripts": "5.0.1",
67
+ "recharts": "^2.9.3",
68
+ "storybook": "^7.4.6",
69
+ "styled-components": "^5.3.1"
70
+ },
71
+ "browserslist": {
72
+ "production": [
73
+ ">0.2%",
74
+ "not dead",
75
+ "not op_mini all"
76
+ ],
77
+ "development": [
78
+ "last 1 chrome version",
79
+ "last 1 firefox version",
80
+ "last 1 safari version"
81
+ ]
82
+ }
83
+ }
@@ -209,6 +209,7 @@ var PerformanceAnalytics = exports.PerformanceAnalytics = function PerformanceAn
209
209
  return item.retailer === payload.value;
210
210
  });
211
211
  if (retailerData && retailerData.length > 0) {
212
+ var _retailerData$0$offer;
212
213
  return /*#__PURE__*/_react.default.createElement("g", {
213
214
  transform: "translate(".concat(x, ",").concat(y, ")")
214
215
  }, /*#__PURE__*/_react.default.createElement("text", {
@@ -223,12 +224,12 @@ var PerformanceAnalytics = exports.PerformanceAnalytics = function PerformanceAn
223
224
  fontSize: 16,
224
225
  fontWeight: 600
225
226
  }, retailerData[0].retailer), /*#__PURE__*/_react.default.createElement("tspan", {
226
- textAnchor: "middle",
227
227
  x: "0",
228
228
  dy: "30",
229
+ textAnchor: "middle",
229
230
  fontSize: 14,
230
231
  fontWeight: 400
231
- }, retailerData[0].offerType), /*#__PURE__*/_react.default.createElement("tspan", {
232
+ }, (_retailerData$0$offer = retailerData[0].offerType) === null || _retailerData$0$offer === void 0 ? void 0 : _retailerData$0$offer.substring(0, 10)), /*#__PURE__*/_react.default.createElement("tspan", {
232
233
  textAnchor: "middle",
233
234
  x: "0",
234
235
  dy: "30",
@@ -9,9 +9,9 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var GiantFoodIcon = exports.GiantFoodIcon = function GiantFoodIcon(_ref) {
10
10
  var clicked = _ref.clicked,
11
11
  _ref$width = _ref.width,
12
- width = _ref$width === void 0 ? "78" : _ref$width,
12
+ width = _ref$width === void 0 ? '78' : _ref$width,
13
13
  _ref$height = _ref.height,
14
- height = _ref$height === void 0 ? "12" : _ref$height;
14
+ height = _ref$height === void 0 ? '12' : _ref$height;
15
15
  return /*#__PURE__*/_react.default.createElement("svg", {
16
16
  version: "1.0",
17
17
  xmlns: "http://www.w3.org/2000/svg",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.321",
3
+ "version": "1.0.323",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {