@pixelated-tech/components 3.9.18 → 3.11.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 (58) 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-cloudwatch.js +1 -1
  5. package/dist/components/admin/site-health/site-health-google-analytics.js +1 -1
  6. package/dist/components/admin/site-health/site-health-google-search-console.js +1 -1
  7. package/dist/components/admin/site-health/site-health-uptime.integration.js +1 -1
  8. package/dist/components/general/proxy-handler.js +3 -3
  9. package/dist/components/general/resume.css +4 -0
  10. package/dist/components/general/smartimage.js +5 -0
  11. package/dist/components/general/table.js +33 -4
  12. package/dist/components/general/utilities.js +6 -0
  13. package/dist/components/shoppingcart/ebay.components.js +3 -3
  14. package/dist/components/shoppingcart/shipping.to.json +8 -9
  15. package/dist/components/shoppingcart/shoppingcart.components.js +5 -1
  16. package/dist/components/shoppingcart/shoppingcart.css +5 -0
  17. package/dist/components/shoppingcart/shoppingcart.functions.js +46 -14
  18. package/dist/components/sitebuilder/form/formcomponents.js +7 -3
  19. package/dist/config/pixelated.config.json.enc +1 -1
  20. package/dist/index.adminclient.js +0 -1
  21. package/dist/index.adminserver.js +1 -1
  22. package/dist/types/components/admin/site-health/google.api.integration.d.ts.map +1 -1
  23. package/dist/types/components/admin/site-health/site-health-cloudwatch.integration.d.ts.map +1 -1
  24. package/dist/types/components/general/smartimage.d.ts.map +1 -1
  25. package/dist/types/components/general/table.d.ts.map +1 -1
  26. package/dist/types/components/general/utilities.d.ts +2 -0
  27. package/dist/types/components/general/utilities.d.ts.map +1 -1
  28. package/dist/types/components/shoppingcart/shoppingcart.components.d.ts.map +1 -1
  29. package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts +2 -2
  30. package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts.map +1 -1
  31. package/dist/types/components/sitebuilder/form/formcomponents.d.ts.map +1 -1
  32. package/dist/types/index.adminclient.d.ts +0 -1
  33. package/dist/types/index.adminserver.d.ts +1 -1
  34. package/dist/types/test/test-data.d.ts +1282 -0
  35. package/dist/types/test/test-data.d.ts.map +1 -0
  36. package/dist/types/tests/routecache.analytics.consumer.integration.test.d.ts +2 -0
  37. package/dist/types/tests/routecache.analytics.consumer.integration.test.d.ts.map +1 -0
  38. package/dist/types/tests/routecache.consumer.integration.test.d.ts +2 -0
  39. package/dist/types/tests/routecache.consumer.integration.test.d.ts.map +1 -0
  40. package/dist/types/tests/routes-json-smoke.test.d.ts +2 -0
  41. package/dist/types/tests/routes-json-smoke.test.d.ts.map +1 -0
  42. package/dist/types/tests/shoppingcart.contract.test.d.ts +2 -0
  43. package/dist/types/tests/shoppingcart.contract.test.d.ts.map +1 -0
  44. package/dist/types/tests/shoppingcart.integration.test.d.ts +2 -0
  45. package/dist/types/tests/shoppingcart.integration.test.d.ts.map +1 -0
  46. package/dist/types/tests/shoppingcart.migration.test.d.ts +2 -0
  47. package/dist/types/tests/shoppingcart.migration.test.d.ts.map +1 -0
  48. package/dist/types/tests/site-health-cache.unit.test.2.d.ts +2 -0
  49. package/dist/types/tests/site-health-cache.unit.test.2.d.ts.map +1 -0
  50. package/dist/types/tests/site-health-cache.unit.test.d.ts +2 -0
  51. package/dist/types/tests/site-health-cache.unit.test.d.ts.map +1 -0
  52. package/package.json +16 -16
  53. package/dist/components/admin/site-health/site-health-cache.js +0 -23
  54. package/dist/components/config/config.example.js +0 -77
  55. package/dist/types/components/admin/site-health/site-health-cache.d.ts +0 -12
  56. package/dist/types/components/admin/site-health/site-health-cache.d.ts.map +0 -1
  57. package/dist/types/components/config/config.example.d.ts +0 -4
  58. 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":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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAM9G,wBASE"}
@@ -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=shoppingcart.contract.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shoppingcart.contract.test.d.ts","sourceRoot":"","sources":["../../../src/tests/shoppingcart.contract.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=shoppingcart.integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shoppingcart.integration.test.d.ts","sourceRoot":"","sources":["../../../src/tests/shoppingcart.integration.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=shoppingcart.migration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shoppingcart.migration.test.d.ts","sourceRoot":"","sources":["../../../src/tests/shoppingcart.migration.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.18",
3
+ "version": "3.11.0",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Pixelated Technologies",
@@ -74,10 +74,10 @@
74
74
  "copy2all": "npm run copy2brianwhaley && npm run copy2informationfocus && npm run copy2jzhomeimprovement && npm run copy2oaktreelandscaping && npm run copy2palmettoepoxy && npm run copy2pixelated && npm run copy2pixelvivid && npm run copy2template && npm run copy2pixelatedadmin",
75
75
  "storybook": "rm -rf node_modules/.cache && storybook dev -p 6006",
76
76
  "buildStorybook": "rm -rf node_modules/.cache && NODE_OPTIONS=\"--max-old-space-size=4096\" storybook build",
77
- "test": "vitest",
77
+ "test": "vitest run --silent",
78
78
  "test:ui": "vitest --ui",
79
79
  "test:coverage": "vitest run --coverage",
80
- "test:run": "vitest run",
80
+ "test:watch": "vitest",
81
81
  "lint": "eslint --fix",
82
82
  "release": "./src/scripts/release.sh",
83
83
  "vault": "npx tsx src/scripts/config-vault.ts",
@@ -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,14 +120,14 @@
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
125
  "@testing-library/react": "^16.3.2",
126
126
  "@testing-library/user-event": "^14.6.1",
127
127
  "@types/md5": "^2.3.6",
128
- "@types/node": "^25.0.9",
128
+ "@types/node": "^25.0.10",
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
132
  "@typescript-eslint/eslint-plugin": "^8.53.1",
133
133
  "@typescript-eslint/parser": "^8.53.1",
@@ -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",
@@ -161,9 +161,9 @@
161
161
  "react-redux": "^9.2.0",
162
162
  "react-test-renderer": "^19.2.3",
163
163
  "redux": "^5.0.1",
164
- "sass": "^1.97.2",
164
+ "sass": "^1.97.3",
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,13 +180,13 @@
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",
188
188
  "react-redux": "*",
189
- "recharts": "^3.6.0",
189
+ "recharts": "^3.7.0",
190
190
  "redux": "*"
191
191
  },
192
192
  "type": "module"
@@ -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"}