@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,68 +1,68 @@
1
- {
2
- "description": "Colour roles in patterns (contract 1.21.0): a pattern background with accent and surface, a pattern layer with accent, and a shadow with accent at 30%.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "palettes": {
10
- "dark": {
11
- "accent": "#a3e635",
12
- "surface": "#18181b"
13
- },
14
- "light": {
15
- "accent": "#4d7c0f",
16
- "surface": "#fafafa"
17
- }
18
- },
19
- "defaultPalette": "dark",
20
- "slots": [
21
- {
22
- "id": "background-pattern-slot",
23
- "type": "geo",
24
- "position": [
25
- 0,
26
- 0
27
- ],
28
- "name": "Fondo",
29
- "content": {
30
- "es": ""
31
- },
32
- "style": {
33
- "width": "100.0cqw",
34
- "height": "75.0cqw",
35
- "backgroundType": "pattern",
36
- "backgroundPatternType": "dots",
37
- "backgroundPatternColor": "#a3e635",
38
- "backgroundPatternColorRole": "accent",
39
- "backgroundPatternBgColor": "#18181b",
40
- "backgroundPatternBgColorRole": "surface"
41
- }
42
- },
43
- {
44
- "id": "patron",
45
- "type": "pattern",
46
- "position": [
47
- 12.5,
48
- 16.6667
49
- ],
50
- "name": "Patron",
51
- "content": {
52
- "es": ""
53
- },
54
- "style": {
55
- "width": "37.5cqw",
56
- "height": "37.5cqw",
57
- "shadowEnabled": true,
58
- "shadowColor": "#000000",
59
- "shadowBlur": 12,
60
- "shadowOpacity": 30,
61
- "fillPatternType": "dots",
62
- "fillPatternColor": "#a3e635",
63
- "fillPatternColorRole": "accent",
64
- "shadowColorRole": "accent"
65
- }
66
- }
67
- ]
68
- }
1
+ {
2
+ "description": "Colour roles in patterns (contract 1.21.0): a pattern background with accent and surface, a pattern layer with accent, and a shadow with accent at 30%.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "palettes": {
10
+ "dark": {
11
+ "accent": "#a3e635",
12
+ "surface": "#18181b"
13
+ },
14
+ "light": {
15
+ "accent": "#4d7c0f",
16
+ "surface": "#fafafa"
17
+ }
18
+ },
19
+ "defaultPalette": "dark",
20
+ "slots": [
21
+ {
22
+ "id": "background-pattern-slot",
23
+ "type": "geo",
24
+ "position": [
25
+ 0,
26
+ 0
27
+ ],
28
+ "name": "Fondo",
29
+ "content": {
30
+ "es": ""
31
+ },
32
+ "style": {
33
+ "width": "100.0cqw",
34
+ "height": "75.0cqw",
35
+ "backgroundType": "pattern",
36
+ "backgroundPatternType": "dots",
37
+ "backgroundPatternColor": "#a3e635",
38
+ "backgroundPatternColorRole": "accent",
39
+ "backgroundPatternBgColor": "#18181b",
40
+ "backgroundPatternBgColorRole": "surface"
41
+ }
42
+ },
43
+ {
44
+ "id": "patron",
45
+ "type": "pattern",
46
+ "position": [
47
+ 12.5,
48
+ 16.6667
49
+ ],
50
+ "name": "Patron",
51
+ "content": {
52
+ "es": ""
53
+ },
54
+ "style": {
55
+ "width": "37.5cqw",
56
+ "height": "37.5cqw",
57
+ "shadowEnabled": true,
58
+ "shadowColor": "#000000",
59
+ "shadowBlur": 12,
60
+ "shadowOpacity": 30,
61
+ "fillPatternType": "dots",
62
+ "fillPatternColor": "#a3e635",
63
+ "fillPatternColorRole": "accent",
64
+ "shadowColorRole": "accent"
65
+ }
66
+ }
67
+ ]
68
+ }
@@ -1,45 +1,45 @@
1
- {
2
- "description": "Reedit in English (contract 1.23.0): a file that declares reedit \"public\" with the English key. Signed by the production service, so the signature covers the English key.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "languages": [
10
- "es",
11
- "en"
12
- ],
13
- "reedit": "public",
14
- "fonts": [
15
- {
16
- "family": "Inter",
17
- "name": "oim-341fdb19-Inter",
18
- "weight": 400,
19
- "style": "normal",
20
- "format": "woff2"
21
- }
22
- ],
23
- "slots": [
24
- {
25
- "id": "titulo",
26
- "type": "text",
27
- "position": [
28
- 1.25,
29
- 1.6667
30
- ],
31
- "name": "Title",
32
- "content": {
33
- "en": "Hello",
34
- "es": "Hola"
35
- },
36
- "style": {
37
- "fillColor": "#ffffff",
38
- "fontFamily": "Inter",
39
- "fontSize": "6.0cqw",
40
- "height": "25.0cqw",
41
- "width": "25.0cqw"
42
- }
43
- }
44
- ]
45
- }
1
+ {
2
+ "description": "Reedit in English (contract 1.23.0): a file that declares reedit \"public\" with the English key. Signed by the production service, so the signature covers the English key.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "languages": [
10
+ "es",
11
+ "en"
12
+ ],
13
+ "reedit": "public",
14
+ "fonts": [
15
+ {
16
+ "family": "Inter",
17
+ "name": "oim-341fdb19-Inter",
18
+ "weight": 400,
19
+ "style": "normal",
20
+ "format": "woff2"
21
+ }
22
+ ],
23
+ "slots": [
24
+ {
25
+ "id": "titulo",
26
+ "type": "text",
27
+ "position": [
28
+ 1.25,
29
+ 1.6667
30
+ ],
31
+ "name": "Title",
32
+ "content": {
33
+ "en": "Hello",
34
+ "es": "Hola"
35
+ },
36
+ "style": {
37
+ "fillColor": "#ffffff",
38
+ "fontFamily": "Inter",
39
+ "fontSize": "6.0cqw",
40
+ "height": "25.0cqw",
41
+ "width": "25.0cqw"
42
+ }
43
+ }
44
+ ]
45
+ }
@@ -1,107 +1,107 @@
1
- {
2
- "description": "Per-layer reveal and the play action (contract 1.22.0): a hidden panel that slides up into view, an icon whose animation waits for an action, and a button that reveals one and plays the other.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "slots": [
10
- {
11
- "id": "panel",
12
- "type": "geo",
13
- "position": [
14
- 10,
15
- 13.3333
16
- ],
17
- "name": "Panel",
18
- "content": {
19
- "es": ""
20
- },
21
- "style": {
22
- "width": "50.0cqw",
23
- "height": "30.0cqw",
24
- "fillColor": "#27272a",
25
- "isVisible": false,
26
- "reveal": {
27
- "duration": 400,
28
- "easing": [
29
- 0.22,
30
- 1,
31
- 0.36,
32
- 1
33
- ],
34
- "effect": "slide-up"
35
- }
36
- }
37
- },
38
- {
39
- "id": "icon",
40
- "type": "geo",
41
- "position": [
42
- 70,
43
- 20
44
- ],
45
- "name": "Icono",
46
- "content": {
47
- "es": ""
48
- },
49
- "style": {
50
- "width": "15.0cqw",
51
- "height": "15.0cqw",
52
- "fillColor": "#f4f4f5",
53
- "animation": {
54
- "duration": 0.6,
55
- "keyframes": [
56
- {
57
- "s": 1,
58
- "t": 0
59
- },
60
- {
61
- "e": "ease-out",
62
- "s": 1.2,
63
- "t": 0.5
64
- },
65
- {
66
- "s": 1,
67
- "t": 1
68
- }
69
- ],
70
- "trigger": "action"
71
- }
72
- }
73
- },
74
- {
75
- "id": "btn",
76
- "type": "text",
77
- "position": [
78
- 10,
79
- 70
80
- ],
81
- "name": "Boton",
82
- "content": {
83
- "es": "Abrir"
84
- },
85
- "style": {
86
- "width": "25.0cqw",
87
- "height": "7.5cqw",
88
- "fontSize": "3.0cqw",
89
- "isInteractive": true,
90
- "states": {
91
- "active": {
92
- "actions": [
93
- {
94
- "target": "panel",
95
- "type": "show"
96
- },
97
- {
98
- "target": "icon",
99
- "type": "play"
100
- }
101
- ]
102
- }
103
- }
104
- }
105
- }
106
- ]
107
- }
1
+ {
2
+ "description": "Per-layer reveal and the play action (contract 1.22.0): a hidden panel that slides up into view, an icon whose animation waits for an action, and a button that reveals one and plays the other.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "slots": [
10
+ {
11
+ "id": "panel",
12
+ "type": "geo",
13
+ "position": [
14
+ 10,
15
+ 13.3333
16
+ ],
17
+ "name": "Panel",
18
+ "content": {
19
+ "es": ""
20
+ },
21
+ "style": {
22
+ "width": "50.0cqw",
23
+ "height": "30.0cqw",
24
+ "fillColor": "#27272a",
25
+ "isVisible": false,
26
+ "reveal": {
27
+ "duration": 400,
28
+ "easing": [
29
+ 0.22,
30
+ 1,
31
+ 0.36,
32
+ 1
33
+ ],
34
+ "effect": "slide-up"
35
+ }
36
+ }
37
+ },
38
+ {
39
+ "id": "icon",
40
+ "type": "geo",
41
+ "position": [
42
+ 70,
43
+ 20
44
+ ],
45
+ "name": "Icono",
46
+ "content": {
47
+ "es": ""
48
+ },
49
+ "style": {
50
+ "width": "15.0cqw",
51
+ "height": "15.0cqw",
52
+ "fillColor": "#f4f4f5",
53
+ "animation": {
54
+ "duration": 0.6,
55
+ "keyframes": [
56
+ {
57
+ "s": 1,
58
+ "t": 0
59
+ },
60
+ {
61
+ "e": "ease-out",
62
+ "s": 1.2,
63
+ "t": 0.5
64
+ },
65
+ {
66
+ "s": 1,
67
+ "t": 1
68
+ }
69
+ ],
70
+ "trigger": "action"
71
+ }
72
+ }
73
+ },
74
+ {
75
+ "id": "btn",
76
+ "type": "text",
77
+ "position": [
78
+ 10,
79
+ 70
80
+ ],
81
+ "name": "Boton",
82
+ "content": {
83
+ "es": "Abrir"
84
+ },
85
+ "style": {
86
+ "width": "25.0cqw",
87
+ "height": "7.5cqw",
88
+ "fontSize": "3.0cqw",
89
+ "isInteractive": true,
90
+ "states": {
91
+ "active": {
92
+ "actions": [
93
+ {
94
+ "target": "panel",
95
+ "type": "show"
96
+ },
97
+ {
98
+ "target": "icon",
99
+ "type": "play"
100
+ }
101
+ ]
102
+ }
103
+ }
104
+ }
105
+ }
106
+ ]
107
+ }
@@ -1,34 +1,34 @@
1
- {
2
- "description": "A layer with a shadow set by colour, blur, offset and opacity.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "slots": [
10
- {
11
- "id": "caja_sombra",
12
- "type": "geo",
13
- "position": [
14
- 10,
15
- 13.3333
16
- ],
17
- "name": "Caja con Sombra",
18
- "content": {
19
- "es": ""
20
- },
21
- "style": {
22
- "width": "31.25cqw",
23
- "height": "18.75cqw",
24
- "fillColor": "#ffffff",
25
- "shadowEnabled": true,
26
- "shadowColor": "#000000",
27
- "shadowBlur": 20,
28
- "shadowOffsetX": 8,
29
- "shadowOffsetY": 12,
30
- "shadowOpacity": 45
31
- }
32
- }
33
- ]
34
- }
1
+ {
2
+ "description": "A layer with a shadow set by colour, blur, offset and opacity.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "slots": [
10
+ {
11
+ "id": "caja_sombra",
12
+ "type": "geo",
13
+ "position": [
14
+ 10,
15
+ 13.3333
16
+ ],
17
+ "name": "Caja con Sombra",
18
+ "content": {
19
+ "es": ""
20
+ },
21
+ "style": {
22
+ "width": "31.25cqw",
23
+ "height": "18.75cqw",
24
+ "fillColor": "#ffffff",
25
+ "shadowEnabled": true,
26
+ "shadowColor": "#000000",
27
+ "shadowBlur": 20,
28
+ "shadowOffsetX": 8,
29
+ "shadowOffsetY": 12,
30
+ "shadowOpacity": 45
31
+ }
32
+ }
33
+ ]
34
+ }