@kubuild/schema 0.0.1 → 0.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.
@@ -116,6 +116,49 @@ export declare const PAGE_DOCUMENT_JSON_SCHEMA_V1: {
116
116
  };
117
117
  readonly additionalProperties: false;
118
118
  };
119
+ readonly animationConfig: {
120
+ readonly type: "object";
121
+ readonly properties: {
122
+ readonly type: {
123
+ readonly type: "string";
124
+ readonly default: "none";
125
+ readonly description: "Scroll entrance animation type (e.g. fade, fade-up, zoom-in, slide-left)";
126
+ };
127
+ readonly duration: {
128
+ readonly type: "number";
129
+ readonly minimum: 0;
130
+ readonly default: 600;
131
+ readonly description: "Animation duration in milliseconds";
132
+ };
133
+ readonly delay: {
134
+ readonly type: "number";
135
+ readonly minimum: 0;
136
+ readonly default: 0;
137
+ readonly description: "Animation delay in milliseconds";
138
+ };
139
+ readonly easing: {
140
+ readonly type: "string";
141
+ readonly default: "ease-out";
142
+ readonly description: "CSS animation easing / transition timing function";
143
+ };
144
+ readonly once: {
145
+ readonly type: "boolean";
146
+ readonly default: true;
147
+ readonly description: "Whether scroll animation plays only once when entering viewport";
148
+ };
149
+ readonly hoverEffect: {
150
+ readonly type: "string";
151
+ readonly default: "none";
152
+ readonly description: "Hover micro-interaction effect (e.g. lift, scale, glow, tilt)";
153
+ };
154
+ readonly loopEffect: {
155
+ readonly type: "string";
156
+ readonly default: "none";
157
+ readonly description: "Continuous loop animation effect (e.g. pulse, bounce, spin, float)";
158
+ };
159
+ };
160
+ readonly additionalProperties: false;
161
+ };
119
162
  readonly node: {
120
163
  readonly type: "object";
121
164
  readonly required: readonly ["id", "type"];
@@ -138,6 +181,9 @@ export declare const PAGE_DOCUMENT_JSON_SCHEMA_V1: {
138
181
  readonly styles: {
139
182
  readonly $ref: "#/definitions/responsiveStyles";
140
183
  };
184
+ readonly animation: {
185
+ readonly $ref: "#/definitions/animationConfig";
186
+ };
141
187
  readonly children: {
142
188
  readonly type: "array";
143
189
  readonly items: {
@@ -324,6 +370,49 @@ export declare function getPageDocumentJsonSchema(): {
324
370
  };
325
371
  readonly additionalProperties: false;
326
372
  };
373
+ readonly animationConfig: {
374
+ readonly type: "object";
375
+ readonly properties: {
376
+ readonly type: {
377
+ readonly type: "string";
378
+ readonly default: "none";
379
+ readonly description: "Scroll entrance animation type (e.g. fade, fade-up, zoom-in, slide-left)";
380
+ };
381
+ readonly duration: {
382
+ readonly type: "number";
383
+ readonly minimum: 0;
384
+ readonly default: 600;
385
+ readonly description: "Animation duration in milliseconds";
386
+ };
387
+ readonly delay: {
388
+ readonly type: "number";
389
+ readonly minimum: 0;
390
+ readonly default: 0;
391
+ readonly description: "Animation delay in milliseconds";
392
+ };
393
+ readonly easing: {
394
+ readonly type: "string";
395
+ readonly default: "ease-out";
396
+ readonly description: "CSS animation easing / transition timing function";
397
+ };
398
+ readonly once: {
399
+ readonly type: "boolean";
400
+ readonly default: true;
401
+ readonly description: "Whether scroll animation plays only once when entering viewport";
402
+ };
403
+ readonly hoverEffect: {
404
+ readonly type: "string";
405
+ readonly default: "none";
406
+ readonly description: "Hover micro-interaction effect (e.g. lift, scale, glow, tilt)";
407
+ };
408
+ readonly loopEffect: {
409
+ readonly type: "string";
410
+ readonly default: "none";
411
+ readonly description: "Continuous loop animation effect (e.g. pulse, bounce, spin, float)";
412
+ };
413
+ };
414
+ readonly additionalProperties: false;
415
+ };
327
416
  readonly node: {
328
417
  readonly type: "object";
329
418
  readonly required: readonly ["id", "type"];
@@ -346,6 +435,9 @@ export declare function getPageDocumentJsonSchema(): {
346
435
  readonly styles: {
347
436
  readonly $ref: "#/definitions/responsiveStyles";
348
437
  };
438
+ readonly animation: {
439
+ readonly $ref: "#/definitions/animationConfig";
440
+ };
349
441
  readonly children: {
350
442
  readonly type: "array";
351
443
  readonly items: {
@@ -1 +1 @@
1
- {"version":3,"file":"json-schema.d.ts","sourceRoot":"","sources":["../src/json-schema.ts"],"names":[],"mappings":"AAAA;;;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;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqKjC,CAAC;AAEX,wBAAgB,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE1C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubuild/schema",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "Zod schemas and TypeScript types for the KUBUILD portable page document format (.stora)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",