@rebuy/rebuy 2.2.0-rc.6 → 2.2.0-rc.7

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.
@@ -4,7 +4,7 @@ export declare const CABTableSection: z.ZodObject<{
4
4
  name: z.ZodOptional<z.ZodString>;
5
5
  sectionId: z.ZodDefault<z.ZodUUID>;
6
6
  sectionType: z.ZodDefault<z.ZodLiteral<"table">>;
7
- }, z.core.$strict>;
7
+ }, z.core.$strip>;
8
8
  export type CABTableSection = z.infer<typeof CABTableSection>;
9
9
  export type CABTableSectionProps = CABTableSection & SectionDetails;
10
10
  //# sourceMappingURL=table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/schema/table.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe;;;;kBAI1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/schema/table.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe;;;;iBAI1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,cAAc,CAAC"}
@@ -3,98 +3,98 @@ import { type SectionDetails } from './shared';
3
3
  export declare const TiptapText: z.ZodObject<{
4
4
  marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
5
5
  type: z.ZodLiteral<"bold">;
6
- }, z.core.$strict>, z.ZodObject<{
6
+ }, z.core.$strip>, z.ZodObject<{
7
7
  type: z.ZodLiteral<"italic">;
8
- }, z.core.$strict>, z.ZodObject<{
8
+ }, z.core.$strip>, z.ZodObject<{
9
9
  attrs: z.ZodObject<{
10
10
  class: z.ZodNullable<z.ZodString>;
11
11
  href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
12
12
  rel: z.ZodDefault<z.ZodString>;
13
13
  target: z.ZodDefault<z.ZodString>;
14
- }, z.core.$strict>;
14
+ }, z.core.$strip>;
15
15
  type: z.ZodLiteral<"link">;
16
- }, z.core.$strict>, z.ZodObject<{
16
+ }, z.core.$strip>, z.ZodObject<{
17
17
  type: z.ZodLiteral<"strike">;
18
- }, z.core.$strict>, z.ZodObject<{
18
+ }, z.core.$strip>, z.ZodObject<{
19
19
  attrs: z.ZodObject<{
20
20
  color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
21
21
  fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
22
- }, z.core.$strict>;
22
+ }, z.core.$strip>;
23
23
  type: z.ZodLiteral<"textStyle">;
24
- }, z.core.$strict>]>>>;
24
+ }, z.core.$strip>]>>>;
25
25
  text: z.ZodDefault<z.ZodString>;
26
26
  type: z.ZodDefault<z.ZodLiteral<"text">>;
27
- }, z.core.$strict>;
27
+ }, z.core.$strip>;
28
28
  export type TiptapText = z.infer<typeof TiptapText>;
29
29
  export declare const TiptapParagraph: z.ZodObject<{
30
30
  attrs: z.ZodDefault<z.ZodObject<{
31
31
  textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
32
- }, z.core.$strict>>;
32
+ }, z.core.$strip>>;
33
33
  content: z.ZodDefault<z.ZodArray<z.ZodObject<{
34
34
  marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
35
35
  type: z.ZodLiteral<"bold">;
36
- }, z.core.$strict>, z.ZodObject<{
36
+ }, z.core.$strip>, z.ZodObject<{
37
37
  type: z.ZodLiteral<"italic">;
38
- }, z.core.$strict>, z.ZodObject<{
38
+ }, z.core.$strip>, z.ZodObject<{
39
39
  attrs: z.ZodObject<{
40
40
  class: z.ZodNullable<z.ZodString>;
41
41
  href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
42
42
  rel: z.ZodDefault<z.ZodString>;
43
43
  target: z.ZodDefault<z.ZodString>;
44
- }, z.core.$strict>;
44
+ }, z.core.$strip>;
45
45
  type: z.ZodLiteral<"link">;
46
- }, z.core.$strict>, z.ZodObject<{
46
+ }, z.core.$strip>, z.ZodObject<{
47
47
  type: z.ZodLiteral<"strike">;
48
- }, z.core.$strict>, z.ZodObject<{
48
+ }, z.core.$strip>, z.ZodObject<{
49
49
  attrs: z.ZodObject<{
50
50
  color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
51
51
  fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
52
- }, z.core.$strict>;
52
+ }, z.core.$strip>;
53
53
  type: z.ZodLiteral<"textStyle">;
54
- }, z.core.$strict>]>>>;
54
+ }, z.core.$strip>]>>>;
55
55
  text: z.ZodDefault<z.ZodString>;
56
56
  type: z.ZodDefault<z.ZodLiteral<"text">>;
57
- }, z.core.$strict>>>;
57
+ }, z.core.$strip>>>;
58
58
  type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
59
- }, z.core.$strict>;
59
+ }, z.core.$strip>;
60
60
  export type TiptapParagraph = z.infer<typeof TiptapParagraph>;
61
61
  export declare const TiptapDocument: z.ZodObject<{
62
62
  attrs: z.ZodDefault<z.ZodObject<{
63
63
  blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
64
- }, z.core.$strict>>;
64
+ }, z.core.$strip>>;
65
65
  content: z.ZodDefault<z.ZodArray<z.ZodObject<{
66
66
  attrs: z.ZodDefault<z.ZodObject<{
67
67
  textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
68
- }, z.core.$strict>>;
68
+ }, z.core.$strip>>;
69
69
  content: z.ZodDefault<z.ZodArray<z.ZodObject<{
70
70
  marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
71
71
  type: z.ZodLiteral<"bold">;
72
- }, z.core.$strict>, z.ZodObject<{
72
+ }, z.core.$strip>, z.ZodObject<{
73
73
  type: z.ZodLiteral<"italic">;
74
- }, z.core.$strict>, z.ZodObject<{
74
+ }, z.core.$strip>, z.ZodObject<{
75
75
  attrs: z.ZodObject<{
76
76
  class: z.ZodNullable<z.ZodString>;
77
77
  href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
78
78
  rel: z.ZodDefault<z.ZodString>;
79
79
  target: z.ZodDefault<z.ZodString>;
80
- }, z.core.$strict>;
80
+ }, z.core.$strip>;
81
81
  type: z.ZodLiteral<"link">;
82
- }, z.core.$strict>, z.ZodObject<{
82
+ }, z.core.$strip>, z.ZodObject<{
83
83
  type: z.ZodLiteral<"strike">;
84
- }, z.core.$strict>, z.ZodObject<{
84
+ }, z.core.$strip>, z.ZodObject<{
85
85
  attrs: z.ZodObject<{
86
86
  color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
87
87
  fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
88
- }, z.core.$strict>;
88
+ }, z.core.$strip>;
89
89
  type: z.ZodLiteral<"textStyle">;
90
- }, z.core.$strict>]>>>;
90
+ }, z.core.$strip>]>>>;
91
91
  text: z.ZodDefault<z.ZodString>;
92
92
  type: z.ZodDefault<z.ZodLiteral<"text">>;
93
- }, z.core.$strict>>>;
93
+ }, z.core.$strip>>>;
94
94
  type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
95
- }, z.core.$strict>>>;
95
+ }, z.core.$strip>>>;
96
96
  type: z.ZodDefault<z.ZodLiteral<"doc">>;
97
- }, z.core.$strict>;
97
+ }, z.core.$strip>;
98
98
  export type TiptapDocument = z.infer<typeof TiptapDocument>;
99
99
  export declare const CABTextSection: z.ZodObject<{
100
100
  buttonField: z.ZodOptional<z.ZodEnum<{
@@ -119,44 +119,44 @@ export declare const CABTextSection: z.ZodObject<{
119
119
  content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
120
120
  attrs: z.ZodDefault<z.ZodObject<{
121
121
  blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
122
- }, z.core.$strict>>;
122
+ }, z.core.$strip>>;
123
123
  content: z.ZodDefault<z.ZodArray<z.ZodObject<{
124
124
  attrs: z.ZodDefault<z.ZodObject<{
125
125
  textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
126
- }, z.core.$strict>>;
126
+ }, z.core.$strip>>;
127
127
  content: z.ZodDefault<z.ZodArray<z.ZodObject<{
128
128
  marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
129
129
  type: z.ZodLiteral<"bold">;
130
- }, z.core.$strict>, z.ZodObject<{
130
+ }, z.core.$strip>, z.ZodObject<{
131
131
  type: z.ZodLiteral<"italic">;
132
- }, z.core.$strict>, z.ZodObject<{
132
+ }, z.core.$strip>, z.ZodObject<{
133
133
  attrs: z.ZodObject<{
134
134
  class: z.ZodNullable<z.ZodString>;
135
135
  href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
136
136
  rel: z.ZodDefault<z.ZodString>;
137
137
  target: z.ZodDefault<z.ZodString>;
138
- }, z.core.$strict>;
138
+ }, z.core.$strip>;
139
139
  type: z.ZodLiteral<"link">;
140
- }, z.core.$strict>, z.ZodObject<{
140
+ }, z.core.$strip>, z.ZodObject<{
141
141
  type: z.ZodLiteral<"strike">;
142
- }, z.core.$strict>, z.ZodObject<{
142
+ }, z.core.$strip>, z.ZodObject<{
143
143
  attrs: z.ZodObject<{
144
144
  color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
145
145
  fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
146
- }, z.core.$strict>;
146
+ }, z.core.$strip>;
147
147
  type: z.ZodLiteral<"textStyle">;
148
- }, z.core.$strict>]>>>;
148
+ }, z.core.$strip>]>>>;
149
149
  text: z.ZodDefault<z.ZodString>;
150
150
  type: z.ZodDefault<z.ZodLiteral<"text">>;
151
- }, z.core.$strict>>>;
151
+ }, z.core.$strip>>>;
152
152
  type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
153
- }, z.core.$strict>>>;
153
+ }, z.core.$strip>>>;
154
154
  type: z.ZodDefault<z.ZodLiteral<"doc">>;
155
- }, z.core.$strict>]>>>>>;
155
+ }, z.core.$strip>]>>>>>;
156
156
  name: z.ZodOptional<z.ZodString>;
157
157
  sectionId: z.ZodDefault<z.ZodUUID>;
158
158
  sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
159
- }, z.core.$strict>;
159
+ }, z.core.$strip>;
160
160
  export type CABTextSection = z.infer<typeof CABTextSection>;
161
161
  export type CABTextSectionProps = CABTextSection & SectionDetails;
162
162
  //# sourceMappingURL=text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/schema/text.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAgB3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAS/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;kBA4BrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQ1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BrB,CAAC;AAEP,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/schema/text.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAgB3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAS/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;iBA4BrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BrB,CAAC;AAEP,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
@@ -11,7 +11,7 @@ export declare const CABVariantsSection: z.ZodObject<{
11
11
  radio: "radio";
12
12
  color: "color";
13
13
  }>>;
14
- }, z.core.$strict>;
14
+ }, z.core.$strip>;
15
15
  export type CABVariantsSection = z.infer<typeof CABVariantsSection>;
16
16
  export type CABVariantsSectionProps = CABVariantsSection & SectionDetails;
17
17
  //# sourceMappingURL=variants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../src/schema/variants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;kBAK7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../src/schema/variants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;iBAK7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rebuy/rebuy",
3
3
  "description": "This is the default library for Rebuy",
4
- "version": "2.2.0-rc.6",
4
+ "version": "2.2.0-rc.7",
5
5
  "license": "MIT",
6
6
  "author": "Rebuy, Inc.",
7
7
  "type": "module",