full diff

pub.leaflet.blocks.drawing

leaflet.pub +29 −0
From
bafyreies2ez4hjyh26blwlxjtw2wvpqbb3uqddagug3vvkxysgzufbo3fy indexed 2026-09-26 03:40 UTC View this version
To
bafyreigbsjhjlxbpn4edoeyhqrk22e6vi7ez2y6jm7oxuk2axqwiz7i6li indexed 2026-09-29 05:17 UTC View this version

Compatibility

breaking 2 breaking changes, 10 non-breaking changes.

Breaking changes (2)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "pub.leaflet.blocks.drawing#fill", src: "pub.leaflet.blocks.drawing#fill", tgt: "pub.leaflet.blocks.drawing#fill.points", kind: "prop", name: Some("points") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "pub.leaflet.blocks.drawing#fill", src: "pub.leaflet.blocks.drawing#fill", tgt: "pub.leaflet.blocks.drawing#fill.color", kind: "prop", name: Some("color") }
Non-breaking changes (10)
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.drawing#fill" }
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.drawing#fill.color" }
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.drawing#fill.points" }
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.drawing#fill.points:items" }
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.drawing.fills" }
  • AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.drawing.fills:items" }
  • AddedEdge AddedEdge { src: "pub.leaflet.blocks.drawing", tgt: "pub.leaflet.blocks.drawing.fills", kind: "prop", name: Some("fills") }
  • AddedEdge AddedEdge { src: "pub.leaflet.blocks.drawing#fill.points", tgt: "pub.leaflet.blocks.drawing#fill.points:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "pub.leaflet.blocks.drawing.fills", tgt: "pub.leaflet.blocks.drawing.fills:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "pub.leaflet.blocks.drawing.fills:items", tgt: "pub.leaflet.blocks.drawing#fill", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "pub.leaflet.blocks.drawing#fill" }
  • AddedVertex { vertex_id: "pub.leaflet.blocks.drawing#fill.color" }
  • AddedVertex { vertex_id: "pub.leaflet.blocks.drawing#fill.points" }
  • AddedVertex { vertex_id: "pub.leaflet.blocks.drawing#fill.points:items" }
  • AddedVertex { vertex_id: "pub.leaflet.blocks.drawing.fills" }
  • AddedVertex { vertex_id: "pub.leaflet.blocks.drawing.fills:items" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "pub.leaflet.blocks.drawing#fill", src: "pub.leaflet.blocks.drawing#fill", tgt: "pub.leaflet.blocks.drawing#fill.points", kind: "prop", name: Some("points") }
  • Breaking: RequiredEdgeAdded { vertex_id: "pub.leaflet.blocks.drawing#fill", src: "pub.leaflet.blocks.drawing#fill", tgt: "pub.leaflet.blocks.drawing#fill.color", kind: "prop", name: Some("color") }
  • Non-breaking: AddedEdge { src: "pub.leaflet.blocks.drawing", tgt: "pub.leaflet.blocks.drawing.fills", kind: "prop", name: Some("fills") }
  • Non-breaking: AddedEdge { src: "pub.leaflet.blocks.drawing#fill.points", tgt: "pub.leaflet.blocks.drawing#fill.points:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "pub.leaflet.blocks.drawing.fills", tgt: "pub.leaflet.blocks.drawing.fills:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "pub.leaflet.blocks.drawing.fills:items", tgt: "pub.leaflet.blocks.drawing#fill", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
4 "fill": {
5 "description": "A filled polygon, painted with the nonzero rule: the region a stroke encloses.",
6 "properties": {
7 "color": {
8 "description": "A CSS hex color, or one of the document theme's colors: primary (text), accent, or tertiary (faded text).",
9 "type": "string"
10 },
11 "points": {
12 "description": "Flattened vertices as x, y pairs in drawing space. The last joins back to the first.",
13 "items": {
14 "type": "integer"
15 },
16 "type": "array"
17 }
18 },
19 "required": [
20 "points",
21 "color"
22 ],
23 "type": "object"
24 },
425 "main": {
526 "description": "Freehand ink strokes. The view box is the area of drawing space the block shows, scaled to the block's width; strokes may reach past it.",
627 "properties": {
28 "fills": {
29 "description": "Painted in order, beneath the strokes.",
30 "items": {
31 "ref": "#fill",
32 "type": "ref"
33 },
34 "type": "array"
35 },
736 "strokes": {
837 "items": {
938 "ref": "#stroke",
1039 "type": "ref"
1140 },
1241 "type": "array"
1342 },
1443 "viewBox": {
1544 "ref": "#viewBox",
1645 "type": "ref"
1746 }
1847 },
1948 "required": [
2049 "viewBox",
2150 "strokes"
2251 ],
2352 "type": "object"
2453 },
2554 "stroke": {
2655 "description": "One pen stroke, drawn in order, rendered as a variable-width outline of its input points (as perfect-freehand does).",
2756 "properties": {
2857 "color": {
2958 "description": "A CSS hex color, or one of the document theme's colors: primary (text), accent, or tertiary (faded text).",
3059 "type": "string"
3160 },
3261 "points": {
3362 "description": "Flattened input points as x, y, pressure triples: x and y in drawing space, pressure from 0 to 1000.",
3463 "items": {
3564 "type": "integer"
3665 },
3766 "type": "array"
3867 },
3968 "simulatePressure": {
4069 "description": "The input had no real pressure (a mouse or finger); derive it from the stroke's speed instead.",
4170 "type": "boolean"
4271 },
4372 "size": {
4473 "description": "The stroke's base diameter in drawing space.",
4574 "minimum": 1,
4675 "type": "integer"
4776 }
4877 },
4978 "required": [
5079 "points",
5180 "color",
5281 "size"
5382 ],
5483 "type": "object"
5584 },
5685 "viewBox": {
5786 "properties": {
5887 "height": {
5988 "minimum": 1,
6089 "type": "integer"
6190 },
6291 "width": {
6392 "minimum": 1,
6493 "type": "integer"
6594 },
6695 "x": {
6796 "type": "integer"
6897 },
6998 "y": {
7099 "type": "integer"
71100 }
72101 },
73102 "required": [
74103 "x",
75104 "y",
76105 "width",
77106 "height"
78107 ],
79108 "type": "object"
80109 }
81110 },
82111 "id": "pub.leaflet.blocks.drawing",
83112 "lexicon": 1
84113}

Compare other versions