@oim-media/spec 1.27.8 → 1.27.10

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 (64) 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 +458 -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/oim2.schema.json +2763 -0
  16. package/schema/ovm.schema.json +2701 -2701
  17. package/text-effect-cases.json +835 -835
  18. package/tools/parity-core.mjs +122 -122
  19. package/tools/parity.mjs +86 -86
  20. package/vectors/README.md +105 -103
  21. package/vectors/accessibility.expected.json +67 -67
  22. package/vectors/artistic-text.expected.json +84 -84
  23. package/vectors/asymmetric-borders.expected.json +29 -29
  24. package/vectors/background-pattern-order.expected.json +95 -95
  25. package/vectors/basic-text.expected.json +29 -29
  26. package/vectors/color-blending-opacity.expected.json +47 -47
  27. package/vectors/crop.expected.json +32 -32
  28. package/vectors/embedded-font-woff.expected.json +57 -57
  29. package/vectors/extreme-aspect-ratios.expected.json +29 -29
  30. package/vectors/filter-effects.expected.json +33 -33
  31. package/vectors/flip.expected.json +47 -47
  32. package/vectors/frame-shapes.expected.json +73 -73
  33. package/vectors/full-monty-composite.expected.json +96 -96
  34. package/vectors/golden/exceptions.json +3 -3
  35. package/vectors/golden/mask-window.web.png +0 -0
  36. package/vectors/golden/zone-group.web.png +0 -0
  37. package/vectors/groups-and-parallax.expected.json +90 -90
  38. package/vectors/image-fill.expected.json +54 -54
  39. package/vectors/interactive-chained-actions.expected.json +77 -77
  40. package/vectors/interactive-hover.expected.json +36 -36
  41. package/vectors/interactive.expected.json +121 -121
  42. package/vectors/layer-blur.expected.json +48 -48
  43. package/vectors/layer-grain.expected.json +52 -52
  44. package/vectors/layer-ordering-zindex.expected.json +62 -62
  45. package/vectors/legacy-text-chunk.expected.json +29 -29
  46. package/vectors/mask-window.expected.json +45 -0
  47. package/vectors/mask-window.oim.png +0 -0
  48. package/vectors/media-filters.expected.json +50 -50
  49. package/vectors/multi-container-layout.expected.json +45 -45
  50. package/vectors/multilang-cjk-rtl.expected.json +30 -30
  51. package/vectors/nested-groups.expected.json +68 -68
  52. package/vectors/palettes.expected.json +57 -57
  53. package/vectors/parallax-infinite.expected.json +39 -39
  54. package/vectors/pattern-color-roles.expected.json +68 -68
  55. package/vectors/reedit-english.expected.json +45 -45
  56. package/vectors/reveal-and-play.expected.json +107 -107
  57. package/vectors/shadow-effects.expected.json +34 -34
  58. package/vectors/shape-shadows.expected.json +62 -62
  59. package/vectors/strokes-and-borders.expected.json +31 -31
  60. package/vectors/text-runs-precalculated.expected.json +46 -46
  61. package/vectors/transparent-background.expected.json +30 -30
  62. package/vectors/typography-styling.expected.json +34 -34
  63. package/vectors/zone-group.expected.json +46 -0
  64. package/vectors/zone-group.oim.png +0 -0
@@ -1,31 +1,31 @@
1
- {
2
- "description": "Vector outline and borders with a dashed style and a custom width.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "slots": [
10
- {
11
- "id": "rect_trazo",
12
- "type": "geo",
13
- "position": [
14
- 7.5,
15
- 10
16
- ],
17
- "name": "Rectángulo con Trazo",
18
- "content": {
19
- "es": ""
20
- },
21
- "style": {
22
- "width": "35.0cqw",
23
- "height": "20.0cqw",
24
- "fillColor": "#f3f4f6",
25
- "borderWidth": 4,
26
- "borderColor": "#8b5cf6",
27
- "strokeStyle": "dashed"
28
- }
29
- }
30
- ]
31
- }
1
+ {
2
+ "description": "Vector outline and borders with a dashed style and a custom width.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "slots": [
10
+ {
11
+ "id": "rect_trazo",
12
+ "type": "geo",
13
+ "position": [
14
+ 7.5,
15
+ 10
16
+ ],
17
+ "name": "Rectángulo con Trazo",
18
+ "content": {
19
+ "es": ""
20
+ },
21
+ "style": {
22
+ "width": "35.0cqw",
23
+ "height": "20.0cqw",
24
+ "fillColor": "#f3f4f6",
25
+ "borderWidth": 4,
26
+ "borderColor": "#8b5cf6",
27
+ "strokeStyle": "dashed"
28
+ }
29
+ }
30
+ ]
31
+ }
@@ -1,46 +1,46 @@
1
- {
2
- "description": "Precalculated text line layout for native and embedded renderers.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "slots": [
10
- {
11
- "id": "texto_precalculado",
12
- "type": "text",
13
- "position": [
14
- 7.5,
15
- 10
16
- ],
17
- "name": "Párrafo Precalculado",
18
- "content": {
19
- "es": "Primera línea\nSegunda línea"
20
- },
21
- "style": {
22
- "width": "43.75cqw",
23
- "height": "15.0cqw",
24
- "fontSize": "3.0cqw",
25
- "textRuns": {
26
- "es": {
27
- "fontSize": 24,
28
- "lineHeight": 30,
29
- "lines": [
30
- {
31
- "text": "Primera línea",
32
- "width": 140,
33
- "yOffset": 0
34
- },
35
- {
36
- "text": "Segunda línea",
37
- "width": 152,
38
- "yOffset": 30
39
- }
40
- ]
41
- }
42
- }
43
- }
44
- }
45
- ]
46
- }
1
+ {
2
+ "description": "Precalculated text line layout for native and embedded renderers.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "slots": [
10
+ {
11
+ "id": "texto_precalculado",
12
+ "type": "text",
13
+ "position": [
14
+ 7.5,
15
+ 10
16
+ ],
17
+ "name": "Párrafo Precalculado",
18
+ "content": {
19
+ "es": "Primera línea\nSegunda línea"
20
+ },
21
+ "style": {
22
+ "width": "43.75cqw",
23
+ "height": "15.0cqw",
24
+ "fontSize": "3.0cqw",
25
+ "textRuns": {
26
+ "es": {
27
+ "fontSize": 24,
28
+ "lineHeight": 30,
29
+ "lines": [
30
+ {
31
+ "text": "Primera línea",
32
+ "width": 140,
33
+ "yOffset": 0
34
+ },
35
+ {
36
+ "text": "Segunda línea",
37
+ "width": 152,
38
+ "yOffset": 30
39
+ }
40
+ ]
41
+ }
42
+ }
43
+ }
44
+ }
45
+ ]
46
+ }
@@ -1,30 +1,30 @@
1
- {
2
- "description": "A layer with a strictly transparent background, under the normative colour rule.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "slots": [
10
- {
11
- "id": "caja_transparente",
12
- "type": "geo",
13
- "position": [
14
- 18.75,
15
- 25
16
- ],
17
- "name": "Caja Transparente",
18
- "content": {
19
- "es": ""
20
- },
21
- "style": {
22
- "width": "37.5cqw",
23
- "height": "25.0cqw",
24
- "fillColor": "transparent",
25
- "borderWidth": 2,
26
- "borderColor": "#0284c7"
27
- }
28
- }
29
- ]
30
- }
1
+ {
2
+ "description": "A layer with a strictly transparent background, under the normative colour rule.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "slots": [
10
+ {
11
+ "id": "caja_transparente",
12
+ "type": "geo",
13
+ "position": [
14
+ 18.75,
15
+ 25
16
+ ],
17
+ "name": "Caja Transparente",
18
+ "content": {
19
+ "es": ""
20
+ },
21
+ "style": {
22
+ "width": "37.5cqw",
23
+ "height": "25.0cqw",
24
+ "fillColor": "transparent",
25
+ "borderWidth": 2,
26
+ "borderColor": "#0284c7"
27
+ }
28
+ }
29
+ ]
30
+ }
@@ -1,34 +1,34 @@
1
- {
2
- "description": "Advanced typography: family, weight, italic, transform and spacing.",
3
- "canvas": {
4
- "natural_height": 600,
5
- "natural_width": 800
6
- },
7
- "signed": true,
8
- "key_version": "v1",
9
- "slots": [
10
- {
11
- "id": "texto_estilizado",
12
- "type": "text",
13
- "position": [
14
- 5,
15
- 6.6667
16
- ],
17
- "name": "Texto Estilizado",
18
- "content": {
19
- "es": "Diseño OIM"
20
- },
21
- "style": {
22
- "width": "62.5cqw",
23
- "height": "12.5cqw",
24
- "fontSize": "4.5cqw",
25
- "fontFamily": "Inter",
26
- "fontWeight": 700,
27
- "fontStyle": "italic",
28
- "textTransform": "uppercase",
29
- "letterSpacing": 2,
30
- "lineHeight": 1.4
31
- }
32
- }
33
- ]
34
- }
1
+ {
2
+ "description": "Advanced typography: family, weight, italic, transform and spacing.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "slots": [
10
+ {
11
+ "id": "texto_estilizado",
12
+ "type": "text",
13
+ "position": [
14
+ 5,
15
+ 6.6667
16
+ ],
17
+ "name": "Texto Estilizado",
18
+ "content": {
19
+ "es": "Diseño OIM"
20
+ },
21
+ "style": {
22
+ "width": "62.5cqw",
23
+ "height": "12.5cqw",
24
+ "fontSize": "4.5cqw",
25
+ "fontFamily": "Inter",
26
+ "fontWeight": 700,
27
+ "fontStyle": "italic",
28
+ "textTransform": "uppercase",
29
+ "letterSpacing": 2,
30
+ "lineHeight": 1.4
31
+ }
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "description": "1.x zone (Decision 14 Nov): becomes a 2.0 group with its background, corners and backdrop blur; its layers keep their own x/y, the flex flow is retired.",
3
+ "canvas": {
4
+ "natural_height": 600,
5
+ "natural_width": 800
6
+ },
7
+ "signed": true,
8
+ "key_version": "v1",
9
+ "reedit": "author_only",
10
+ "slots": [
11
+ {
12
+ "id": "inside",
13
+ "type": "container",
14
+ "position": [
15
+ 15,
16
+ 20
17
+ ],
18
+ "name": "Inside",
19
+ "content": {
20
+ "es": ""
21
+ },
22
+ "style": {
23
+ "width": "10.0cqw",
24
+ "height": "10.0cqw",
25
+ "fillColor": "#1e293b"
26
+ }
27
+ },
28
+ {
29
+ "id": "outside",
30
+ "type": "container",
31
+ "position": [
32
+ 70,
33
+ 60
34
+ ],
35
+ "name": "Outside",
36
+ "content": {
37
+ "es": ""
38
+ },
39
+ "style": {
40
+ "width": "15.0cqw",
41
+ "height": "15.0cqw",
42
+ "fillColor": "#22c55e"
43
+ }
44
+ }
45
+ ]
46
+ }
Binary file