@voyant-travel/storefront-react 0.121.2 → 0.123.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.
@@ -34,7 +34,7 @@ export declare function useAdminStorefrontSettings(options?: UseAdminStorefrontS
34
34
  fields: {
35
35
  key: string;
36
36
  label: string;
37
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
37
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
38
38
  required: boolean;
39
39
  placeholder: string | null;
40
40
  description: string | null;
@@ -49,7 +49,7 @@ export declare function useAdminStorefrontSettings(options?: UseAdminStorefrontS
49
49
  fields: {
50
50
  key: string;
51
51
  label: string;
52
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
52
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
53
53
  required: boolean;
54
54
  placeholder: string | null;
55
55
  description: string | null;
@@ -130,7 +130,7 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
130
130
  fields: {
131
131
  key: string;
132
132
  label: string;
133
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
133
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
134
134
  required: boolean;
135
135
  placeholder: string | null;
136
136
  description: string | null;
@@ -145,7 +145,7 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
145
145
  fields: {
146
146
  key: string;
147
147
  label: string;
148
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
148
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
149
149
  required: boolean;
150
150
  placeholder: string | null;
151
151
  description: string | null;
@@ -224,7 +224,7 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
224
224
  fields?: {
225
225
  key: string;
226
226
  label: string;
227
- type?: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox" | undefined;
227
+ type?: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox" | undefined;
228
228
  required?: boolean | undefined;
229
229
  placeholder?: string | null | undefined;
230
230
  description?: string | null | undefined;
@@ -239,7 +239,7 @@ export declare function useAdminStorefrontSettingsMutation(): import("@tanstack/
239
239
  fields?: {
240
240
  key: string;
241
241
  label: string;
242
- type?: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox" | undefined;
242
+ type?: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox" | undefined;
243
243
  required?: boolean | undefined;
244
244
  placeholder?: string | null | undefined;
245
245
  description?: string | null | undefined;
@@ -34,7 +34,7 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
34
34
  fields: {
35
35
  key: string;
36
36
  label: string;
37
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
37
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
38
38
  required: boolean;
39
39
  placeholder: string | null;
40
40
  description: string | null;
@@ -49,7 +49,7 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
49
49
  fields: {
50
50
  key: string;
51
51
  label: string;
52
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
52
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
53
53
  required: boolean;
54
54
  placeholder: string | null;
55
55
  description: string | null;
@@ -33,7 +33,7 @@ export declare function getStorefrontSettings(client: FetchWithValidationOptions
33
33
  fields: {
34
34
  key: string;
35
35
  label: string;
36
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
36
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
37
37
  required: boolean;
38
38
  placeholder: string | null;
39
39
  description: string | null;
@@ -48,7 +48,7 @@ export declare function getStorefrontSettings(client: FetchWithValidationOptions
48
48
  fields: {
49
49
  key: string;
50
50
  label: string;
51
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
51
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
52
52
  required: boolean;
53
53
  placeholder: string | null;
54
54
  description: string | null;
@@ -130,7 +130,7 @@ export declare function getAdminStorefrontSettings(client: FetchWithValidationOp
130
130
  fields: {
131
131
  key: string;
132
132
  label: string;
133
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
133
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
134
134
  required: boolean;
135
135
  placeholder: string | null;
136
136
  description: string | null;
@@ -145,7 +145,7 @@ export declare function getAdminStorefrontSettings(client: FetchWithValidationOp
145
145
  fields: {
146
146
  key: string;
147
147
  label: string;
148
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
148
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
149
149
  required: boolean;
150
150
  placeholder: string | null;
151
151
  description: string | null;
@@ -227,7 +227,7 @@ export declare function updateAdminStorefrontSettings(client: FetchWithValidatio
227
227
  fields: {
228
228
  key: string;
229
229
  label: string;
230
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
230
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
231
231
  required: boolean;
232
232
  placeholder: string | null;
233
233
  description: string | null;
@@ -242,7 +242,7 @@ export declare function updateAdminStorefrontSettings(client: FetchWithValidatio
242
242
  fields: {
243
243
  key: string;
244
244
  label: string;
245
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
245
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
246
246
  required: boolean;
247
247
  placeholder: string | null;
248
248
  description: string | null;
@@ -33,7 +33,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
33
33
  fields: {
34
34
  key: string;
35
35
  label: string;
36
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
36
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
37
37
  required: boolean;
38
38
  placeholder: string | null;
39
39
  description: string | null;
@@ -48,7 +48,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
48
48
  fields: {
49
49
  key: string;
50
50
  label: string;
51
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
51
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
52
52
  required: boolean;
53
53
  placeholder: string | null;
54
54
  description: string | null;
@@ -129,7 +129,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
129
129
  fields: {
130
130
  key: string;
131
131
  label: string;
132
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
132
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
133
133
  required: boolean;
134
134
  placeholder: string | null;
135
135
  description: string | null;
@@ -144,7 +144,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
144
144
  fields: {
145
145
  key: string;
146
146
  label: string;
147
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
147
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
148
148
  required: boolean;
149
149
  placeholder: string | null;
150
150
  description: string | null;
@@ -226,7 +226,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
226
226
  fields: {
227
227
  key: string;
228
228
  label: string;
229
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
229
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
230
230
  required: boolean;
231
231
  placeholder: string | null;
232
232
  description: string | null;
@@ -241,7 +241,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
241
241
  fields: {
242
242
  key: string;
243
243
  label: string;
244
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
244
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
245
245
  required: boolean;
246
246
  placeholder: string | null;
247
247
  description: string | null;
@@ -325,7 +325,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
325
325
  fields: {
326
326
  key: string;
327
327
  label: string;
328
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
328
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
329
329
  required: boolean;
330
330
  placeholder: string | null;
331
331
  description: string | null;
@@ -340,7 +340,7 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
340
340
  fields: {
341
341
  key: string;
342
342
  label: string;
343
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
343
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
344
344
  required: boolean;
345
345
  placeholder: string | null;
346
346
  description: string | null;
@@ -425,7 +425,7 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
425
425
  fields: {
426
426
  key: string;
427
427
  label: string;
428
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
428
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
429
429
  required: boolean;
430
430
  placeholder: string | null;
431
431
  description: string | null;
@@ -440,7 +440,7 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
440
440
  fields: {
441
441
  key: string;
442
442
  label: string;
443
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
443
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
444
444
  required: boolean;
445
445
  placeholder: string | null;
446
446
  description: string | null;
@@ -521,7 +521,7 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
521
521
  fields: {
522
522
  key: string;
523
523
  label: string;
524
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
524
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
525
525
  required: boolean;
526
526
  placeholder: string | null;
527
527
  description: string | null;
@@ -536,7 +536,7 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
536
536
  fields: {
537
537
  key: string;
538
538
  label: string;
539
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
539
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
540
540
  required: boolean;
541
541
  placeholder: string | null;
542
542
  description: string | null;
@@ -618,7 +618,7 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
618
618
  fields: {
619
619
  key: string;
620
620
  label: string;
621
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
621
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
622
622
  required: boolean;
623
623
  placeholder: string | null;
624
624
  description: string | null;
@@ -633,7 +633,7 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
633
633
  fields: {
634
634
  key: string;
635
635
  label: string;
636
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
636
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
637
637
  required: boolean;
638
638
  placeholder: string | null;
639
639
  description: string | null;
@@ -717,7 +717,7 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
717
717
  fields: {
718
718
  key: string;
719
719
  label: string;
720
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
720
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
721
721
  required: boolean;
722
722
  placeholder: string | null;
723
723
  description: string | null;
@@ -732,7 +732,7 @@ export declare function getAdminStorefrontSettingsQueryOptions(client: FetchWith
732
732
  fields: {
733
733
  key: string;
734
734
  label: string;
735
- type: "date" | "select" | "text" | "email" | "textarea" | "country" | "tel" | "checkbox";
735
+ type: "text" | "date" | "select" | "email" | "textarea" | "country" | "tel" | "checkbox";
736
736
  required: boolean;
737
737
  placeholder: string | null;
738
738
  description: string | null;
package/dist/schemas.d.ts CHANGED
@@ -45,9 +45,9 @@ export declare const storefrontSettingsResponseSchema: z.ZodObject<{
45
45
  key: z.ZodString;
46
46
  label: z.ZodString;
47
47
  type: z.ZodEnum<{
48
+ text: "text";
48
49
  date: "date";
49
50
  select: "select";
50
- text: "text";
51
51
  email: "email";
52
52
  textarea: "textarea";
53
53
  country: "country";
@@ -69,9 +69,9 @@ export declare const storefrontSettingsResponseSchema: z.ZodObject<{
69
69
  key: z.ZodString;
70
70
  label: z.ZodString;
71
71
  type: z.ZodEnum<{
72
+ text: "text";
72
73
  date: "date";
73
74
  select: "select";
74
- text: "text";
75
75
  email: "email";
76
76
  textarea: "textarea";
77
77
  country: "country";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyant-travel/storefront-react",
3
- "version": "0.121.2",
3
+ "version": "0.123.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -85,7 +85,7 @@
85
85
  "react": "^19.0.0",
86
86
  "react-dom": "^19.0.0",
87
87
  "zod": "^4.0.0",
88
- "@voyant-travel/storefront": "^0.121.2",
88
+ "@voyant-travel/storefront": "^0.123.0",
89
89
  "@voyant-travel/ui": "^0.106.2"
90
90
  },
91
91
  "peerDependenciesMeta": {
@@ -110,7 +110,7 @@
110
110
  "vitest": "^4.1.2",
111
111
  "zod": "^4.3.6",
112
112
  "@voyant-travel/react": "^0.104.1",
113
- "@voyant-travel/storefront": "^0.121.2",
113
+ "@voyant-travel/storefront": "^0.123.0",
114
114
  "@voyant-travel/ui": "^0.106.2",
115
115
  "@voyant-travel/voyant-typescript-config": "^0.1.0"
116
116
  },