@pixerate/schemas 1.17.1 → 1.18.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/index.cjs CHANGED
@@ -927,6 +927,8 @@ var BaseFormControlSchema = import_zod.z.object({
927
927
  description: import_zod.z.string().optional(),
928
928
  helperText: import_zod.z.string().optional(),
929
929
  placeholder: import_zod.z.string().optional(),
930
+ examples: import_zod.z.array(import_zod.z.string()).optional(),
931
+ suggestions: import_zod.z.array(import_zod.z.string()).optional(),
930
932
  required: import_zod.z.boolean().optional(),
931
933
  defaultValue: import_zod.z.any().optional(),
932
934
  options: import_zod.z.array(FormOptionSchema).optional(),
package/dist/index.d.cts CHANGED
@@ -8827,6 +8827,8 @@ type FormControl = {
8827
8827
  description?: string;
8828
8828
  helperText?: string;
8829
8829
  placeholder?: string;
8830
+ examples?: string[];
8831
+ suggestions?: string[];
8830
8832
  required?: boolean;
8831
8833
  defaultValue?: any;
8832
8834
  options?: FormOption[];
@@ -8854,6 +8856,8 @@ declare const BaseFormControlSchema: z.ZodObject<{
8854
8856
  description: z.ZodOptional<z.ZodString>;
8855
8857
  helperText: z.ZodOptional<z.ZodString>;
8856
8858
  placeholder: z.ZodOptional<z.ZodString>;
8859
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8860
+ suggestions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8857
8861
  required: z.ZodOptional<z.ZodBoolean>;
8858
8862
  defaultValue: z.ZodOptional<z.ZodAny>;
8859
8863
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8965,6 +8969,8 @@ declare const BaseFormControlSchema: z.ZodObject<{
8965
8969
  } | undefined;
8966
8970
  helperText?: string | undefined;
8967
8971
  placeholder?: string | undefined;
8972
+ examples?: string[] | undefined;
8973
+ suggestions?: string[] | undefined;
8968
8974
  defaultValue?: any;
8969
8975
  dataSource?: "companies" | "users" | undefined;
8970
8976
  step?: number | undefined;
@@ -9010,6 +9016,8 @@ declare const BaseFormControlSchema: z.ZodObject<{
9010
9016
  } | undefined;
9011
9017
  helperText?: string | undefined;
9012
9018
  placeholder?: string | undefined;
9019
+ examples?: string[] | undefined;
9020
+ suggestions?: string[] | undefined;
9013
9021
  defaultValue?: any;
9014
9022
  dataSource?: "companies" | "users" | undefined;
9015
9023
  step?: number | undefined;
package/dist/index.d.ts CHANGED
@@ -8827,6 +8827,8 @@ type FormControl = {
8827
8827
  description?: string;
8828
8828
  helperText?: string;
8829
8829
  placeholder?: string;
8830
+ examples?: string[];
8831
+ suggestions?: string[];
8830
8832
  required?: boolean;
8831
8833
  defaultValue?: any;
8832
8834
  options?: FormOption[];
@@ -8854,6 +8856,8 @@ declare const BaseFormControlSchema: z.ZodObject<{
8854
8856
  description: z.ZodOptional<z.ZodString>;
8855
8857
  helperText: z.ZodOptional<z.ZodString>;
8856
8858
  placeholder: z.ZodOptional<z.ZodString>;
8859
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8860
+ suggestions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8857
8861
  required: z.ZodOptional<z.ZodBoolean>;
8858
8862
  defaultValue: z.ZodOptional<z.ZodAny>;
8859
8863
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8965,6 +8969,8 @@ declare const BaseFormControlSchema: z.ZodObject<{
8965
8969
  } | undefined;
8966
8970
  helperText?: string | undefined;
8967
8971
  placeholder?: string | undefined;
8972
+ examples?: string[] | undefined;
8973
+ suggestions?: string[] | undefined;
8968
8974
  defaultValue?: any;
8969
8975
  dataSource?: "companies" | "users" | undefined;
8970
8976
  step?: number | undefined;
@@ -9010,6 +9016,8 @@ declare const BaseFormControlSchema: z.ZodObject<{
9010
9016
  } | undefined;
9011
9017
  helperText?: string | undefined;
9012
9018
  placeholder?: string | undefined;
9019
+ examples?: string[] | undefined;
9020
+ suggestions?: string[] | undefined;
9013
9021
  defaultValue?: any;
9014
9022
  dataSource?: "companies" | "users" | undefined;
9015
9023
  step?: number | undefined;
package/dist/index.js CHANGED
@@ -716,6 +716,8 @@ var BaseFormControlSchema = z.object({
716
716
  description: z.string().optional(),
717
717
  helperText: z.string().optional(),
718
718
  placeholder: z.string().optional(),
719
+ examples: z.array(z.string()).optional(),
720
+ suggestions: z.array(z.string()).optional(),
719
721
  required: z.boolean().optional(),
720
722
  defaultValue: z.any().optional(),
721
723
  options: z.array(FormOptionSchema).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/schemas",
3
- "version": "1.17.1",
3
+ "version": "1.18.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",