@oim-media/spec 1.27.8 → 1.27.9

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.
Files changed (57) hide show
  1. package/BINARY_SPEC.md +190 -186
  2. package/CANONICAL_SPEC.md +409 -409
  3. package/LICENSE +55 -55
  4. package/NOTICE +6 -6
  5. package/README.md +446 -444
  6. package/action-cases.json +13 -13
  7. package/artistic-text-cases.json +690 -690
  8. package/canonical-cases.json +6 -0
  9. package/keyframe-cases.json +32 -32
  10. package/keys.json +22 -22
  11. package/marks-cases.json +34 -34
  12. package/package.json +2 -1
  13. package/pattern-cases.json +552 -552
  14. package/schema/oim.schema.json +2920 -2920
  15. package/schema/ovm.schema.json +2701 -2701
  16. package/text-effect-cases.json +835 -835
  17. package/tools/parity-core.mjs +122 -122
  18. package/tools/parity.mjs +86 -86
  19. package/vectors/README.md +103 -103
  20. package/vectors/accessibility.expected.json +67 -67
  21. package/vectors/artistic-text.expected.json +84 -84
  22. package/vectors/asymmetric-borders.expected.json +29 -29
  23. package/vectors/background-pattern-order.expected.json +95 -95
  24. package/vectors/basic-text.expected.json +29 -29
  25. package/vectors/color-blending-opacity.expected.json +47 -47
  26. package/vectors/crop.expected.json +32 -32
  27. package/vectors/embedded-font-woff.expected.json +57 -57
  28. package/vectors/extreme-aspect-ratios.expected.json +29 -29
  29. package/vectors/filter-effects.expected.json +33 -33
  30. package/vectors/flip.expected.json +47 -47
  31. package/vectors/frame-shapes.expected.json +73 -73
  32. package/vectors/full-monty-composite.expected.json +96 -96
  33. package/vectors/golden/exceptions.json +3 -3
  34. package/vectors/groups-and-parallax.expected.json +90 -90
  35. package/vectors/image-fill.expected.json +54 -54
  36. package/vectors/interactive-chained-actions.expected.json +77 -77
  37. package/vectors/interactive-hover.expected.json +36 -36
  38. package/vectors/interactive.expected.json +121 -121
  39. package/vectors/layer-blur.expected.json +48 -48
  40. package/vectors/layer-grain.expected.json +52 -52
  41. package/vectors/layer-ordering-zindex.expected.json +62 -62
  42. package/vectors/legacy-text-chunk.expected.json +29 -29
  43. package/vectors/media-filters.expected.json +50 -50
  44. package/vectors/multi-container-layout.expected.json +45 -45
  45. package/vectors/multilang-cjk-rtl.expected.json +30 -30
  46. package/vectors/nested-groups.expected.json +68 -68
  47. package/vectors/palettes.expected.json +57 -57
  48. package/vectors/parallax-infinite.expected.json +39 -39
  49. package/vectors/pattern-color-roles.expected.json +68 -68
  50. package/vectors/reedit-english.expected.json +45 -45
  51. package/vectors/reveal-and-play.expected.json +107 -107
  52. package/vectors/shadow-effects.expected.json +34 -34
  53. package/vectors/shape-shadows.expected.json +62 -62
  54. package/vectors/strokes-and-borders.expected.json +31 -31
  55. package/vectors/text-runs-precalculated.expected.json +46 -46
  56. package/vectors/transparent-background.expected.json +30 -30
  57. package/vectors/typography-styling.expected.json +34 -34
@@ -1,67 +1,67 @@
1
- {
2
- "description": "Accessibility (contract 1.16.0): the work's `description`, a per-language `alt` on an image and `decorative` on a shape.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "slots": [
10
- {
11
- "id": "titulo",
12
- "type": "text",
13
- "position": [
14
- 10,
15
- 6.6667
16
- ],
17
- "name": "Titulo",
18
- "content": {
19
- "en": "Hello",
20
- "es": "Hola"
21
- },
22
- "style": {
23
- "width": "62.5cqw",
24
- "height": "10.0cqw",
25
- "fontSize": "5.0cqw"
26
- }
27
- },
28
- {
29
- "id": "foto",
30
- "type": "image",
31
- "position": [
32
- 12.5,
33
- 26.6667
34
- ],
35
- "name": "Foto",
36
- "content": {
37
- "*": "https://cdn.oim.media/demos/crop.png"
38
- },
39
- "style": {
40
- "width": "37.5cqw",
41
- "height": "25.0cqw",
42
- "alt": {
43
- "en": "A fjord between mountains",
44
- "es": "Un fiordo entre montañas"
45
- }
46
- }
47
- },
48
- {
49
- "id": "adorno",
50
- "type": "geo",
51
- "position": [
52
- 65,
53
- 26.6667
54
- ],
55
- "name": "Adorno",
56
- "content": {
57
- "es": ""
58
- },
59
- "style": {
60
- "width": "25.0cqw",
61
- "height": "25.0cqw",
62
- "fillColor": "#264653",
63
- "decorative": true
64
- }
65
- }
66
- ]
67
- }
1
+ {
2
+ "description": "Accessibility (contract 1.16.0): the work's `description`, a per-language `alt` on an image and `decorative` on a shape.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "slots": [
10
+ {
11
+ "id": "titulo",
12
+ "type": "text",
13
+ "position": [
14
+ 10,
15
+ 6.6667
16
+ ],
17
+ "name": "Titulo",
18
+ "content": {
19
+ "en": "Hello",
20
+ "es": "Hola"
21
+ },
22
+ "style": {
23
+ "width": "62.5cqw",
24
+ "height": "10.0cqw",
25
+ "fontSize": "5.0cqw"
26
+ }
27
+ },
28
+ {
29
+ "id": "foto",
30
+ "type": "image",
31
+ "position": [
32
+ 12.5,
33
+ 26.6667
34
+ ],
35
+ "name": "Foto",
36
+ "content": {
37
+ "*": "https://cdn.oim.media/demos/crop.png"
38
+ },
39
+ "style": {
40
+ "width": "37.5cqw",
41
+ "height": "25.0cqw",
42
+ "alt": {
43
+ "en": "A fjord between mountains",
44
+ "es": "Un fiordo entre montañas"
45
+ }
46
+ }
47
+ },
48
+ {
49
+ "id": "adorno",
50
+ "type": "geo",
51
+ "position": [
52
+ 65,
53
+ 26.6667
54
+ ],
55
+ "name": "Adorno",
56
+ "content": {
57
+ "es": ""
58
+ },
59
+ "style": {
60
+ "width": "25.0cqw",
61
+ "height": "25.0cqw",
62
+ "fillColor": "#264653",
63
+ "decorative": true
64
+ }
65
+ }
66
+ ]
67
+ }
@@ -1,84 +1,84 @@
1
- {
2
- "description": "Artistic text (4.6): a curved 3D title with shaded extrusion, outer and inner strokes and a built-in gradient, and a second two-line word with no curve. Inter bold embedded (the embedded-font-woff subset), so every reader draws the same glyphs.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "reedit": "author_only",
10
- "fonts": [
11
- {
12
- "family": "Inter",
13
- "name": "oim-26dd479f-Inter",
14
- "weight": 700,
15
- "style": "normal",
16
- "format": "woff"
17
- }
18
- ],
19
- "slots": [
20
- {
21
- "id": "retro-title",
22
- "type": "artistic-text",
23
- "position": [
24
- 0,
25
- 10
26
- ],
27
- "name": "Retro title",
28
- "content": {
29
- "es": "Fuente"
30
- },
31
- "style": {
32
- "width": "100.0cqw",
33
- "height": "27.5cqw",
34
- "fontSize": "15.0cqw",
35
- "fillColor": "#f9a8d4",
36
- "fontFamily": "Inter",
37
- "fontWeight": "700",
38
- "lineHeight": 1.25,
39
- "artisticPreset": "retro-wave-3d",
40
- "extrusionDepth": 18,
41
- "extrusionAngle": 45,
42
- "extrusionColor": "#DB2777",
43
- "extrusionShading": true,
44
- "curveAmount": 60,
45
- "curveType": "arc",
46
- "outerStrokeColor": "#1e1b4b",
47
- "outerStrokeWidth": 4,
48
- "innerStrokeColor": "#ffffff",
49
- "innerStrokeWidth": 1,
50
- "textGradientType": "sunset-gold"
51
- }
52
- },
53
- {
54
- "id": "two-lines",
55
- "type": "artistic-text",
56
- "position": [
57
- 25,
58
- 56.6667
59
- ],
60
- "name": "Two lines",
61
- "content": {
62
- "es": "ciudad\nsur"
63
- },
64
- "style": {
65
- "width": "50.0cqw",
66
- "height": "25.0cqw",
67
- "fontSize": "8.0cqw",
68
- "fillColor": "#fde047",
69
- "fontFamily": "Inter",
70
- "fontWeight": "700",
71
- "lineHeight": 1.25,
72
- "artisticPreset": "custom",
73
- "extrusionDepth": 10,
74
- "extrusionAngle": 135,
75
- "extrusionColor": "#7c2d12",
76
- "extrusionShading": false,
77
- "curveAmount": 0,
78
- "curveType": "arc",
79
- "outerStrokeColor": "#000000",
80
- "outerStrokeWidth": 2
81
- }
82
- }
83
- ]
84
- }
1
+ {
2
+ "description": "Artistic text (4.6): a curved 3D title with shaded extrusion, outer and inner strokes and a built-in gradient, and a second two-line word with no curve. Inter bold embedded (the embedded-font-woff subset), so every reader draws the same glyphs.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "reedit": "author_only",
10
+ "fonts": [
11
+ {
12
+ "family": "Inter",
13
+ "name": "oim-26dd479f-Inter",
14
+ "weight": 700,
15
+ "style": "normal",
16
+ "format": "woff"
17
+ }
18
+ ],
19
+ "slots": [
20
+ {
21
+ "id": "retro-title",
22
+ "type": "artistic-text",
23
+ "position": [
24
+ 0,
25
+ 10
26
+ ],
27
+ "name": "Retro title",
28
+ "content": {
29
+ "es": "Fuente"
30
+ },
31
+ "style": {
32
+ "width": "100.0cqw",
33
+ "height": "27.5cqw",
34
+ "fontSize": "15.0cqw",
35
+ "fillColor": "#f9a8d4",
36
+ "fontFamily": "Inter",
37
+ "fontWeight": "700",
38
+ "lineHeight": 1.25,
39
+ "artisticPreset": "retro-wave-3d",
40
+ "extrusionDepth": 18,
41
+ "extrusionAngle": 45,
42
+ "extrusionColor": "#DB2777",
43
+ "extrusionShading": true,
44
+ "curveAmount": 60,
45
+ "curveType": "arc",
46
+ "outerStrokeColor": "#1e1b4b",
47
+ "outerStrokeWidth": 4,
48
+ "innerStrokeColor": "#ffffff",
49
+ "innerStrokeWidth": 1,
50
+ "textGradientType": "sunset-gold"
51
+ }
52
+ },
53
+ {
54
+ "id": "two-lines",
55
+ "type": "artistic-text",
56
+ "position": [
57
+ 25,
58
+ 56.6667
59
+ ],
60
+ "name": "Two lines",
61
+ "content": {
62
+ "es": "ciudad\nsur"
63
+ },
64
+ "style": {
65
+ "width": "50.0cqw",
66
+ "height": "25.0cqw",
67
+ "fontSize": "8.0cqw",
68
+ "fillColor": "#fde047",
69
+ "fontFamily": "Inter",
70
+ "fontWeight": "700",
71
+ "lineHeight": 1.25,
72
+ "artisticPreset": "custom",
73
+ "extrusionDepth": 10,
74
+ "extrusionAngle": 135,
75
+ "extrusionColor": "#7c2d12",
76
+ "extrusionShading": false,
77
+ "curveAmount": 0,
78
+ "curveType": "arc",
79
+ "outerStrokeColor": "#000000",
80
+ "outerStrokeWidth": 2
81
+ }
82
+ }
83
+ ]
84
+ }
@@ -1,29 +1,29 @@
1
- {
2
- "description": "Independent corner radii for each corner.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "slots": [
10
- {
11
- "id": "caja_curva",
12
- "type": "geo",
13
- "position": [
14
- 12.5,
15
- 16.6667
16
- ],
17
- "name": "Caja Asimétrica",
18
- "content": {
19
- "es": ""
20
- },
21
- "style": {
22
- "width": "37.5cqw",
23
- "height": "18.75cqw",
24
- "borderRadius": "10px 25px 50px 0px",
25
- "fillColor": "#3b82f6"
26
- }
27
- }
28
- ]
29
- }
1
+ {
2
+ "description": "Independent corner radii for each corner.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "slots": [
10
+ {
11
+ "id": "caja_curva",
12
+ "type": "geo",
13
+ "position": [
14
+ 12.5,
15
+ 16.6667
16
+ ],
17
+ "name": "Caja Asimétrica",
18
+ "content": {
19
+ "es": ""
20
+ },
21
+ "style": {
22
+ "width": "37.5cqw",
23
+ "height": "18.75cqw",
24
+ "borderRadius": "10px 25px 50px 0px",
25
+ "fillColor": "#3b82f6"
26
+ }
27
+ }
28
+ ]
29
+ }