Skip to content

Commit a818b8c

Browse files
authored
Merge pull request #205 from hypercerts-org/fix/sync-leaflet-image-upstream
fix: sync vendored pub.leaflet.blocks.image with upstream
2 parents 8f4c839 + 4af4e8b commit a818b8c

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hypercerts-org/lexicon": patch
3+
---
4+
5+
Sync vendored `pub.leaflet.blocks.image` lexicon with upstream, adding the optional `fullBleed` boolean property

SCHEMAS.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -801,11 +801,12 @@ Configuration for a specific contributor within a board. Values serve as fallbac
801801

802802
#### Properties
803803

804-
| Property | Type | Required | Description | Comments |
805-
| ------------- | -------- | -------- | ----------------------------------------------------- | ------------------------------------ |
806-
| `image` | `blob` || | maxSize: 1000000, accepts: `image/*` |
807-
| `alt` | `string` || Alt text description of the image, for accessibility. | |
808-
| `aspectRatio` | `ref` || | |
804+
| Property | Type | Required | Description | Comments |
805+
| ------------- | --------- | -------- | ------------------------------------------------------------------------------------- | ------------------------------------ |
806+
| `image` | `blob` || | maxSize: 1000000, accepts: `image/*` |
807+
| `alt` | `string` || Alt text description of the image, for accessibility. | |
808+
| `aspectRatio` | `ref` || | |
809+
| `fullBleed` | `boolean` || Whether the image should extend to the full width of the container, ignoring padding. | |
809810

810811
#### Defs
811812

lexicons/pub/leaflet/blocks/image.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"aspectRatio": {
1919
"type": "ref",
2020
"ref": "#aspectRatio"
21+
},
22+
"fullBleed": {
23+
"type": "boolean",
24+
"description": "Whether the image should extend to the full width of the container, ignoring padding."
2125
}
2226
}
2327
},

0 commit comments

Comments
 (0)