@usefragments/core 2.0.2 → 2.1.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.
@@ -17,18 +17,18 @@ declare const fragmentsManifestPrimitiveSchema: z.ZodObject<{
17
17
  dont: z.ZodArray<z.ZodString, "many">;
18
18
  exemplar: z.ZodOptional<z.ZodString>;
19
19
  }, "strip", z.ZodTypeAny, {
20
- props: string[];
21
20
  name: string;
22
21
  members: string[];
23
22
  intents: string[];
23
+ props: string[];
24
24
  do: string[];
25
25
  dont: string[];
26
26
  exemplar?: string | undefined;
27
27
  }, {
28
- props: string[];
29
28
  name: string;
30
29
  members: string[];
31
30
  intents: string[];
31
+ props: string[];
32
32
  do: string[];
33
33
  dont: string[];
34
34
  exemplar?: string | undefined;
@@ -40,16 +40,16 @@ declare const fragmentsManifestPatternSchema: z.ZodObject<{
40
40
  shape: z.ZodString;
41
41
  exemplar: z.ZodOptional<z.ZodString>;
42
42
  }, "strip", z.ZodTypeAny, {
43
- shape: string;
44
43
  name: string;
45
44
  intent: string;
46
45
  primitives: string[];
46
+ shape: string;
47
47
  exemplar?: string | undefined;
48
48
  }, {
49
- shape: string;
50
49
  name: string;
51
50
  intent: string;
52
51
  primitives: string[];
52
+ shape: string;
53
53
  exemplar?: string | undefined;
54
54
  }>;
55
55
  declare const fragmentsManifestGrammarSchema: z.ZodObject<{
@@ -68,11 +68,11 @@ declare const fragmentsManifestSchema: z.ZodObject<{
68
68
  packageName: z.ZodString;
69
69
  importPath: z.ZodString;
70
70
  }, "strip", z.ZodTypeAny, {
71
- importPath: string;
72
71
  packageName: string;
73
- }, {
74
72
  importPath: string;
73
+ }, {
75
74
  packageName: string;
75
+ importPath: string;
76
76
  }>;
77
77
  tokens: z.ZodObject<{
78
78
  prefix: z.ZodString;
@@ -93,18 +93,18 @@ declare const fragmentsManifestSchema: z.ZodObject<{
93
93
  dont: z.ZodArray<z.ZodString, "many">;
94
94
  exemplar: z.ZodOptional<z.ZodString>;
95
95
  }, "strip", z.ZodTypeAny, {
96
- props: string[];
97
96
  name: string;
98
97
  members: string[];
99
98
  intents: string[];
99
+ props: string[];
100
100
  do: string[];
101
101
  dont: string[];
102
102
  exemplar?: string | undefined;
103
103
  }, {
104
- props: string[];
105
104
  name: string;
106
105
  members: string[];
107
106
  intents: string[];
107
+ props: string[];
108
108
  do: string[];
109
109
  dont: string[];
110
110
  exemplar?: string | undefined;
@@ -116,16 +116,16 @@ declare const fragmentsManifestSchema: z.ZodObject<{
116
116
  shape: z.ZodString;
117
117
  exemplar: z.ZodOptional<z.ZodString>;
118
118
  }, "strip", z.ZodTypeAny, {
119
- shape: string;
120
119
  name: string;
121
120
  intent: string;
122
121
  primitives: string[];
122
+ shape: string;
123
123
  exemplar?: string | undefined;
124
124
  }, {
125
- shape: string;
126
125
  name: string;
127
126
  intent: string;
128
127
  primitives: string[];
128
+ shape: string;
129
129
  exemplar?: string | undefined;
130
130
  }>, "many">;
131
131
  grammar: z.ZodArray<z.ZodObject<{
@@ -154,68 +154,68 @@ declare const fragmentsManifestSchema: z.ZodObject<{
154
154
  rule: "no-raw-values";
155
155
  prefix: string;
156
156
  };
157
- rules: {
158
- preset: string;
159
- off: string[];
160
- };
161
157
  primitives: {
162
- props: string[];
163
158
  name: string;
164
159
  members: string[];
165
160
  intents: string[];
161
+ props: string[];
166
162
  do: string[];
167
163
  dont: string[];
168
164
  exemplar?: string | undefined;
169
165
  }[];
170
166
  designSystem: {
171
- importPath: string;
172
167
  packageName: string;
168
+ importPath: string;
173
169
  };
174
170
  patterns: {
175
- shape: string;
176
171
  name: string;
177
172
  intent: string;
178
173
  primitives: string[];
174
+ shape: string;
179
175
  exemplar?: string | undefined;
180
176
  }[];
181
177
  grammar: {
182
178
  rule: string;
183
179
  check?: string | undefined;
184
180
  }[];
181
+ rules: {
182
+ preset: string;
183
+ off: string[];
184
+ };
185
185
  }, {
186
186
  schemaVersion: 1;
187
187
  tokens: {
188
188
  rule: "no-raw-values";
189
189
  prefix: string;
190
190
  };
191
- rules: {
192
- preset: string;
193
- off: string[];
194
- };
195
191
  primitives: {
196
- props: string[];
197
192
  name: string;
198
193
  members: string[];
199
194
  intents: string[];
195
+ props: string[];
200
196
  do: string[];
201
197
  dont: string[];
202
198
  exemplar?: string | undefined;
203
199
  }[];
204
200
  designSystem: {
205
- importPath: string;
206
201
  packageName: string;
202
+ importPath: string;
207
203
  };
208
204
  patterns: {
209
- shape: string;
210
205
  name: string;
211
206
  intent: string;
212
207
  primitives: string[];
208
+ shape: string;
213
209
  exemplar?: string | undefined;
214
210
  }[];
215
211
  grammar: {
216
212
  rule: string;
217
213
  check?: string | undefined;
218
214
  }[];
215
+ rules: {
216
+ preset: string;
217
+ off: string[];
218
+ };
219
219
  }>;
220
220
  type FragmentsManifestPrimitive = z.infer<typeof fragmentsManifestPrimitiveSchema>;
221
221
  type FragmentsManifestPattern = z.infer<typeof fragmentsManifestPatternSchema>;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { V as VariantRenderOptions, b as VariantLoader } from './governance-hOPXGbbs.js';
3
+ import { V as VariantRenderOptions, b as VariantLoader } from './source-identity-DvOBz2yJ.js';
4
4
  import 'zod';
5
5
  import './topology/index.js';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { ComponentType, ReactNode, JSX } from 'react';
2
- export { F as FragmentDefinition, a as FragmentDefinitionV2 } from './governance-hOPXGbbs.js';
2
+ export { F as FragmentDefinition, a as FragmentDefinitionV2 } from './source-identity-DvOBz2yJ.js';
3
3
  import 'zod';
4
4
  import './topology/index.js';
5
5