@betterstore/react 0.6.7 → 0.6.8
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/compounds/form/address-input/index.tsx"],"names":[],"mappings":"AAgBA,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,EAC3B,SAAc,EACd,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,wBAAwB,EACxB,MAAM,GACP,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/compounds/form/address-input/index.tsx"],"names":[],"mappings":"AAgBA,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,EAC3B,SAAc,EACd,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,wBAAwB,EACxB,MAAM,GACP,EAAE,iBAAiB,2CAqTnB"}
|
package/dist/index.cjs.js
CHANGED
|
@@ -35984,6 +35984,12 @@ function AddressInput({ className = "", proxy, clientSecret, latitude, longitude
|
|
|
35984
35984
|
const availableProvinces = renderProvinceInput
|
|
35985
35985
|
? countryProvinces[countryCodeInput]
|
|
35986
35986
|
: [];
|
|
35987
|
+
React.useEffect(() => {
|
|
35988
|
+
if (cityInput) {
|
|
35989
|
+
setShowAllInputs(true);
|
|
35990
|
+
}
|
|
35991
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
35992
|
+
}, []);
|
|
35987
35993
|
React.useEffect(() => {
|
|
35988
35994
|
if (!currentAlpha3CountryCode)
|
|
35989
35995
|
return;
|
package/dist/index.mjs
CHANGED
|
@@ -35964,6 +35964,12 @@ function AddressInput({ className = "", proxy, clientSecret, latitude, longitude
|
|
|
35964
35964
|
const availableProvinces = renderProvinceInput
|
|
35965
35965
|
? countryProvinces[countryCodeInput]
|
|
35966
35966
|
: [];
|
|
35967
|
+
useEffect(() => {
|
|
35968
|
+
if (cityInput) {
|
|
35969
|
+
setShowAllInputs(true);
|
|
35970
|
+
}
|
|
35971
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
35972
|
+
}, []);
|
|
35967
35973
|
useEffect(() => {
|
|
35968
35974
|
if (!currentAlpha3CountryCode)
|
|
35969
35975
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@betterstore/react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -14,21 +14,19 @@
|
|
|
14
14
|
"@rollup/plugin-json": "^6.1.0",
|
|
15
15
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
16
16
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
17
|
-
"@tailwindcss/postcss": "^4.1.11",
|
|
18
17
|
"@types/culori": "^4.0.0",
|
|
19
18
|
"@types/node": "^22.15.3",
|
|
20
19
|
"@types/react": "19.1.0",
|
|
21
20
|
"@types/react-dom": "19.1.1",
|
|
22
|
-
"@vitejs/plugin-react": "^
|
|
21
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
23
22
|
"eslint": "^9.29.0",
|
|
24
23
|
"eslint-plugin-i18next": "^6.1.2",
|
|
25
|
-
"postcss": "^8.5.3",
|
|
26
24
|
"rollup": "^4.41.1",
|
|
27
25
|
"rollup-plugin-dts": "^6.2.1",
|
|
28
26
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
29
27
|
"tailwindcss": "^4.1.11",
|
|
30
28
|
"typescript": "5.8.2",
|
|
31
|
-
"vite": "^
|
|
29
|
+
"vite": "^7.1.9",
|
|
32
30
|
"@betterstore/eslint-config": "0.0.0",
|
|
33
31
|
"@betterstore/typescript-config": "0.0.0"
|
|
34
32
|
},
|
|
@@ -58,6 +56,7 @@
|
|
|
58
56
|
"@rollup/plugin-alias": "^5.1.1",
|
|
59
57
|
"@stripe/react-stripe-js": "^3.7.0",
|
|
60
58
|
"@stripe/stripe-js": "^5.10.0",
|
|
59
|
+
"@tailwindcss/vite": "^4.1.14",
|
|
61
60
|
"add": "^2.0.6",
|
|
62
61
|
"axios": "^1.9.0",
|
|
63
62
|
"class-variance-authority": "^0.7.1",
|
|
@@ -78,7 +77,7 @@
|
|
|
78
77
|
"world_countries_lists": "^3.2.0",
|
|
79
78
|
"zod": "^3.25.30",
|
|
80
79
|
"zustand": "^5.0.5",
|
|
81
|
-
"@betterstore/sdk": "0.6.
|
|
80
|
+
"@betterstore/sdk": "0.6.8"
|
|
82
81
|
},
|
|
83
82
|
"publishConfig": {
|
|
84
83
|
"access": "public"
|