@pixelated-tech/components 3.9.17 → 3.10.0

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.
Files changed (40) hide show
  1. package/dist/components/admin/site-health/google.api.integration.js +13 -3
  2. package/dist/components/admin/site-health/seo-metrics.config.json +0 -10
  3. package/dist/components/admin/site-health/site-health-cloudwatch.integration.js +10 -3
  4. package/dist/components/admin/site-health/site-health-uptime.integration.js +1 -1
  5. package/dist/components/general/accordion.css +4 -4
  6. package/dist/components/general/faq-accordion.js +4 -2
  7. package/dist/components/general/resume.css +4 -0
  8. package/dist/components/general/utilities.js +6 -0
  9. package/dist/config/pixelated.config.json.enc +1 -1
  10. package/dist/index.adminclient.js +0 -1
  11. package/dist/index.adminserver.js +2 -1
  12. package/dist/scripts/pixelated-eslint-plugin.js +64 -15
  13. package/dist/types/components/admin/site-health/google.api.integration.d.ts.map +1 -1
  14. package/dist/types/components/admin/site-health/site-health-cloudwatch.integration.d.ts.map +1 -1
  15. package/dist/types/components/general/faq-accordion.d.ts.map +1 -1
  16. package/dist/types/components/general/utilities.d.ts +2 -0
  17. package/dist/types/components/general/utilities.d.ts.map +1 -1
  18. package/dist/types/index.adminclient.d.ts +0 -1
  19. package/dist/types/index.adminserver.d.ts +1 -1
  20. package/dist/types/test/test-data.d.ts +1282 -0
  21. package/dist/types/test/test-data.d.ts.map +1 -0
  22. package/dist/types/tests/required-faq.rule.test.d.ts +2 -0
  23. package/dist/types/tests/required-faq.rule.test.d.ts.map +1 -0
  24. package/dist/types/tests/routecache.analytics.consumer.integration.test.d.ts +2 -0
  25. package/dist/types/tests/routecache.analytics.consumer.integration.test.d.ts.map +1 -0
  26. package/dist/types/tests/routecache.consumer.integration.test.d.ts +2 -0
  27. package/dist/types/tests/routecache.consumer.integration.test.d.ts.map +1 -0
  28. package/dist/types/tests/routes-json-smoke.test.d.ts +2 -0
  29. package/dist/types/tests/routes-json-smoke.test.d.ts.map +1 -0
  30. package/dist/types/tests/site-health-cache.unit.test.2.d.ts +2 -0
  31. package/dist/types/tests/site-health-cache.unit.test.2.d.ts.map +1 -0
  32. package/dist/types/tests/site-health-cache.unit.test.d.ts +2 -0
  33. package/dist/types/tests/site-health-cache.unit.test.d.ts.map +1 -0
  34. package/package.json +14 -14
  35. package/dist/components/admin/site-health/site-health-cache.js +0 -23
  36. package/dist/components/config/config.example.js +0 -77
  37. package/dist/types/components/admin/site-health/site-health-cache.d.ts +0 -12
  38. package/dist/types/components/admin/site-health/site-health-cache.d.ts.map +0 -1
  39. package/dist/types/components/config/config.example.d.ts +0 -4
  40. package/dist/types/components/config/config.example.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-data.d.ts","sourceRoot":"","sources":["../../../src/test/test-data.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAS,CAAC;AACjC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAU,CAAC;AACnC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAS,CAAC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":"","sources":["../../../src/tests/required-faq.rule.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=routecache.analytics.consumer.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routecache.analytics.consumer.integration.test.d.ts","sourceRoot":"","sources":["../../../src/tests/routecache.analytics.consumer.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=routecache.consumer.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routecache.consumer.integration.test.d.ts","sourceRoot":"","sources":["../../../src/tests/routecache.consumer.integration.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=routes-json-smoke.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes-json-smoke.test.d.ts","sourceRoot":"","sources":["../../../src/tests/routes-json-smoke.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=site-health-cache.unit.test.2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-health-cache.unit.test.2.d.ts","sourceRoot":"","sources":["../../../src/tests/site-health-cache.unit.test.2.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=site-health-cache.unit.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-health-cache.unit.test.d.ts","sourceRoot":"","sources":["../../../src/tests/site-health-cache.unit.test.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixelated-tech/components",
3
- "version": "3.9.17",
3
+ "version": "3.10.0",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Pixelated Technologies",
@@ -107,8 +107,8 @@
107
107
  "html-entities": "^2.6.0"
108
108
  },
109
109
  "devDependencies": {
110
- "@aws-sdk/client-amplify": "^3.971.0",
111
- "@aws-sdk/client-iam": "^3.971.0",
110
+ "@aws-sdk/client-amplify": "^3.972.0",
111
+ "@aws-sdk/client-iam": "^3.972.0",
112
112
  "@babel/cli": "^7.28.6",
113
113
  "@babel/core": "^7.28.6",
114
114
  "@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -120,17 +120,17 @@
120
120
  "@eslint/markdown": "^7.5.1",
121
121
  "@storybook/addon-webpack5-compiler-babel": "^4.0.0",
122
122
  "@storybook/preset-scss": "^1.0.3",
123
- "@storybook/react-webpack5": "^10.1.11",
123
+ "@storybook/react-webpack5": "^10.2.0",
124
124
  "@testing-library/dom": "^10.4.1",
125
- "@testing-library/react": "^16.3.1",
125
+ "@testing-library/react": "^16.3.2",
126
126
  "@testing-library/user-event": "^14.6.1",
127
127
  "@types/md5": "^2.3.6",
128
128
  "@types/node": "^25.0.9",
129
129
  "@types/prop-types": "^15.7.15",
130
- "@types/react": "^19.2.8",
130
+ "@types/react": "^19.2.9",
131
131
  "@types/react-dom": "^19.2.3",
132
- "@typescript-eslint/eslint-plugin": "^8.53.0",
133
- "@typescript-eslint/parser": "^8.53.0",
132
+ "@typescript-eslint/eslint-plugin": "^8.53.1",
133
+ "@typescript-eslint/parser": "^8.53.1",
134
134
  "@vitejs/plugin-react": "^5.1.2",
135
135
  "@vitest/coverage-v8": "^4.0.17",
136
136
  "@vitest/ui": "^4.0.17",
@@ -147,13 +147,13 @@
147
147
  "eslint-plugin-n": "^17.23.2",
148
148
  "eslint-plugin-promise": "^7.2.1",
149
149
  "eslint-plugin-react": "^7.37.4",
150
- "eslint-plugin-storybook": "^10.1.11",
150
+ "eslint-plugin-storybook": "^10.2.0",
151
151
  "file-loader": "^6.2.0",
152
- "happy-dom": "^20.3.3",
152
+ "happy-dom": "^20.3.4",
153
153
  "jsdom": "^27.4.0",
154
154
  "less-loader": "^12.3.0",
155
155
  "mini-css-extract-plugin": "^2.10.0",
156
- "next": "^16.1.3",
156
+ "next": "^16.1.4",
157
157
  "null-loader": "^4.0.1",
158
158
  "prop-types": "^15.8.1",
159
159
  "react": "^19.2.3",
@@ -163,7 +163,7 @@
163
163
  "redux": "^5.0.1",
164
164
  "sass": "^1.97.2",
165
165
  "sass-loader": "^16.0.6",
166
- "storybook": "^10.1.11",
166
+ "storybook": "^10.2.0",
167
167
  "style-loader": "^4.0.0",
168
168
  "ts-loader": "^9.5.4",
169
169
  "typescript": "^5.9.3",
@@ -180,8 +180,8 @@
180
180
  "react-dom": "^19.2.0"
181
181
  },
182
182
  "optionalDependencies": {
183
- "@aws-sdk/client-cloudwatch": "^3.971.0",
184
- "@aws-sdk/client-route-53": "^3.971.0",
183
+ "@aws-sdk/client-cloudwatch": "^3.972.0",
184
+ "@aws-sdk/client-route-53": "^3.972.0",
185
185
  "googleapis": "^170.1.0",
186
186
  "md5": "^2.3.0",
187
187
  "puppeteer": "^24.35.0",
@@ -1,23 +0,0 @@
1
- /**
2
- * Shared caching utilities for Site Health components
3
- */
4
- export class RouteCache {
5
- cache = new Map();
6
- duration;
7
- constructor(durationMs = 60 * 60 * 1000) {
8
- this.duration = durationMs;
9
- }
10
- get(key) {
11
- const cached = this.cache.get(key);
12
- if (cached && Date.now() - cached.timestamp < this.duration) {
13
- return cached.data;
14
- }
15
- return null;
16
- }
17
- set(key, data) {
18
- this.cache.set(key, { data, timestamp: Date.now() });
19
- }
20
- clear() {
21
- this.cache.clear();
22
- }
23
- }
@@ -1,77 +0,0 @@
1
- // Example pixelated.config.ts for consumer apps.
2
- // Place this file in your app (for example: `src/pixelated.config.ts`) and import it where you mount the provider.
3
- const pixelatedConfig = {
4
- global: {
5
- proxyUrl: 'https://proxy.pixelated.tech/prod/proxy?url=',
6
- },
7
- cloudinary: {
8
- product_env: 'your-cloud-name',
9
- baseUrl: 'https://res.cloudinary.com',
10
- secure: true,
11
- transforms: 'f_auto,c_limit,q_auto,dpr_auto',
12
- },
13
- contentful: {
14
- base_url: "https://cdn.contentful.com",
15
- space_id: "soi9w77t7027",
16
- environment: "master",
17
- delivery_access_token: "muY9LfpCt4qoXosDsnRkkoH3DAVVuUFEuB0WRKRdBUM",
18
- management_access_token: "muY9LfpCt4qoXosDsnRkkoH3DAVVuUFEuB0WRKRdBUM",
19
- preview_access_token: "muY9LfpCt4qoXosDsnRkkoH3DAVVuUFEuB0WRKRdBUM",
20
- },
21
- ebay: {
22
- proxyURL: 'https://proxy.provier.com/proxy?url=',
23
- appId: 'your-ebay-client-id',
24
- appDevId: 'your-ebay-client-dev-id',
25
- appCertId: 'your-ebay-client-secret',
26
- sbxAppId: 'your-ebay-sandbox-client-id',
27
- sbxAppDevId: 'your-ebay-sandbox-client-dev-id',
28
- sbxAppCertId: 'your-ebay-sandbox-client-secret',
29
- globalId: 'EBAY_US',
30
- environment: 'production',
31
- tokenScope: 'https://api.ebay.com/oauth/api_scope',
32
- baseTokenURL: 'https://api.ebay.com/identity/v1/oauth2/token',
33
- baseSearchURL: 'https://api.ebay.com/buy/browse/v1/item_summary/search',
34
- qsSearchURL: '?q=sunglasses&fieldgroups=full&category_ids=79720&aspect_filter=categoryId:79720&filter=sellers:{pixelatedtech}&sort=newlyListed&limit=200',
35
- baseItemURL: 'https://api.ebay.com/buy/browse/v1/item',
36
- qsItemURL: '/v1|295959752403|0?fieldgroups=PRODUCT,ADDITIONAL_SELLER_DETAILS',
37
- },
38
- flickr: {
39
- baseURL: 'https://api.flickr.com/services/rest/?',
40
- urlProps: {
41
- method: 'flickr.photos.search',
42
- api_key: 'your-flickr-api-key',
43
- user_id: 'your-flickr-user-id',
44
- tags: 'gallery-name',
45
- extras: 'date_taken,description,owner_name',
46
- sort: 'date-taken-desc',
47
- per_page: 500,
48
- format: 'json',
49
- photoSize: 'Medium',
50
- nojsoncallback: 'true'
51
- }
52
- },
53
- googleAnalytics: {
54
- id: 'G-XXXXXXX',
55
- adId: 'AW-XXXXXXXXX',
56
- },
57
- googleSearchConsole: {
58
- "id": "G-XXXXXXX"
59
- },
60
- hubspot: {
61
- region: 'na1',
62
- portalId: 'your-hubspot-portal-id',
63
- formId: 'your-default-form-id',
64
- trackingCode: 'UA-XXXXXXXXX-X',
65
- },
66
- paypal: {
67
- sandboxPayPalApiKey: "your-sandbox-paypal-client-id",
68
- sandboxPayPalSecret: "your-sandbox-paypal-client-secret",
69
- payPalApiKey: "your-paypal-client-id",
70
- payPalSecret: "your-paypal-client-secret"
71
- },
72
- wordpress: {
73
- baseURL: 'https://public-api.wordpress.com/rest/v1/sites/',
74
- site: 'your-blog.wordpress.com'
75
- },
76
- };
77
- export default pixelatedConfig;
@@ -1,12 +0,0 @@
1
- /**
2
- * Shared caching utilities for Site Health components
3
- */
4
- export declare class RouteCache {
5
- private cache;
6
- private readonly duration;
7
- constructor(durationMs?: number);
8
- get(key: string): any | null;
9
- set(key: string, data: any): void;
10
- clear(): void;
11
- }
12
- //# sourceMappingURL=site-health-cache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"site-health-cache.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-cache.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,qBAAa,UAAU;IACtB,OAAO,CAAC,KAAK,CAAuD;IACpE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAEtB,UAAU,GAAE,MAAuB;IAI/C,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI;IAQ5B,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,IAAI;IAIjC,KAAK,IAAI,IAAI;CAGb"}
@@ -1,4 +0,0 @@
1
- import type { PixelatedConfig } from './config.types';
2
- declare const pixelatedConfig: PixelatedConfig;
3
- export default pixelatedConfig;
4
- //# sourceMappingURL=config.example.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.example.d.ts","sourceRoot":"","sources":["../../../../src/components/config/config.example.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,QAAA,MAAM,eAAe,EAAE,eAyEtB,CAAC;AAEF,eAAe,eAAe,CAAC"}