fontdue-js 2.14.0 → 2.15.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.
- package/dist/__generated__/ShareCartCreateSnapshotMutation.graphql.d.ts +22 -0
- package/dist/__generated__/ShareCartCreateSnapshotMutation.graphql.js +84 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +4 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +62 -53
- package/dist/components/AddToCartBanner/index.js +1 -1
- package/dist/components/Cart/CartOrder.d.ts +2 -3
- package/dist/components/Cart/CartOrder.js +3 -4
- package/dist/components/Cart/CartTotals.js +1 -83
- package/dist/components/Cart/Download.js +6 -11
- package/dist/components/Cart/EmptyCart.d.ts +2 -3
- package/dist/components/Cart/EmptyCart.js +1 -2
- package/dist/components/Cart/ShareCart.d.ts +2 -0
- package/dist/components/Cart/ShareCart.js +89 -0
- package/dist/components/Cart/index.js +10 -16
- package/dist/components/CartButton/index.js +0 -14
- package/dist/components/ComponentsContext.d.ts +1 -1
- package/dist/components/CookieNotification/index.js +10 -16
- package/dist/components/FontStyle/index.d.ts +1 -1
- package/dist/components/SKUPrice/index.js +1 -1
- package/dist/components/SelectField/index.js +2 -1
- package/dist/components/StoreModal/StoreModalCart.js +6 -2
- package/dist/components/StoreModal/index.js +18 -0
- package/dist/components/StripeProvider/index.d.ts +2 -2
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +1 -1
- package/dist/components/elements/StoreModalCartLayout/index.d.ts +1 -0
- package/dist/components/elements/StoreModalCartLayout/index.js +4 -1
- package/dist/components/elements/StoreModalFamily/index.d.ts +4 -4
- package/dist/components/useInterval.js +1 -1
- package/dist/fontdue.css +6 -6
- package/dist/hooks.d.ts +1 -1
- package/dist/reducer.d.ts +1 -1
- package/package.json +16 -19
- package/types/jsx-fix.d.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fontdue-js",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run relay && run-p build-js build-css build-ts",
|
|
6
6
|
"build-js": "babel src --out-dir dist --extensions .ts,.tsx,.js,.jsx",
|
|
@@ -14,26 +14,25 @@
|
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"browserslist": "last 5 versions or last 3 years and >0.1%, not ie <= 11, not ie_mob <= 11, not dead, unreleased versions",
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"react": "
|
|
18
|
-
"react-dom": "
|
|
17
|
+
"react": "18 || 19",
|
|
18
|
+
"react-dom": "18 || 19"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@react
|
|
21
|
+
"@emotion/react": "^11.14.0",
|
|
22
|
+
"@react-hook/resize-observer": "^2",
|
|
22
23
|
"@react-hook/window-size": "^3.0.7",
|
|
23
|
-
"@stripe/react-stripe-js": "^3.
|
|
24
|
-
"@stripe/stripe-js": "^7.
|
|
24
|
+
"@stripe/react-stripe-js": "^3.8.1",
|
|
25
|
+
"@stripe/stripe-js": "^7.7.0",
|
|
25
26
|
"classnames": "^2.2.5",
|
|
26
27
|
"draft-js": "^0.11.7",
|
|
27
28
|
"fast-deep-equal": "^2.0.1",
|
|
28
29
|
"fontfaceobserver": "^2.0.13",
|
|
29
30
|
"react-device-detect": "^2.2.3",
|
|
30
31
|
"react-error-boundary": "^4.1.2",
|
|
31
|
-
"react-redux": "^
|
|
32
|
-
"react-relay": "^
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"redux": "^4.0.0",
|
|
36
|
-
"relay-runtime": "^18.0.0",
|
|
32
|
+
"react-redux": "^9",
|
|
33
|
+
"react-relay": "^19.0.0",
|
|
34
|
+
"redux": "^5.0.0",
|
|
35
|
+
"relay-runtime": "^19.0.0",
|
|
37
36
|
"store": "^2.0.12",
|
|
38
37
|
"uuid": "^8.3.2"
|
|
39
38
|
},
|
|
@@ -45,18 +44,16 @@
|
|
|
45
44
|
"@babel/preset-typescript": "^7.18.0",
|
|
46
45
|
"@types/draft-js": "^0.10.44",
|
|
47
46
|
"@types/fontfaceobserver": "^2.1.0",
|
|
48
|
-
"@types/react": "
|
|
49
|
-
"@types/react-dom": "
|
|
47
|
+
"@types/react": "19.0.0",
|
|
48
|
+
"@types/react-dom": "19.0.0",
|
|
50
49
|
"@types/react-relay": "^16.0.0",
|
|
51
|
-
"@types/react-transition-group": "^4.4.4",
|
|
52
50
|
"@types/relay-runtime": "^17.0.0",
|
|
53
51
|
"@types/uuid": "^8.3.3",
|
|
54
|
-
"autoprefixer": "^9.6.0",
|
|
55
52
|
"babel-plugin-relay": "^18.0.0",
|
|
56
53
|
"npm-run-all": "^4.1.5",
|
|
57
54
|
"prettier": "2.0.5",
|
|
58
|
-
"react": "^
|
|
59
|
-
"react-dom": "^
|
|
55
|
+
"react": "^19.0.0",
|
|
56
|
+
"react-dom": "^19.0.0",
|
|
60
57
|
"relay-compiler": "^18.0.0",
|
|
61
58
|
"sass": "^1.62",
|
|
62
59
|
"typescript": "5.1.3"
|
|
@@ -73,7 +70,7 @@
|
|
|
73
70
|
"eagerEsModules": true
|
|
74
71
|
},
|
|
75
72
|
"resolutions": {
|
|
76
|
-
"@types/react": "
|
|
73
|
+
"@types/react": "19.0.0"
|
|
77
74
|
},
|
|
78
75
|
"exports": {
|
|
79
76
|
"./fontdue.css": "./dist/fontdue.css",
|