@hypercerts-org/lexicon 0.11.1 → 0.11.2

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.
@@ -8,6 +8,8 @@ export interface Main {
8
8
  /** Alt text description of the image, for accessibility. */
9
9
  alt?: string;
10
10
  aspectRatio: AspectRatio;
11
+ /** Whether the image should extend to the full width of the container, ignoring padding. */
12
+ fullBleed?: boolean;
11
13
  }
12
14
  export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.image", "main">;
13
15
  export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/image.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,KAAK,EAAE,OAAO,CAAA;IACd,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,WAAW,CAAA;CACzB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,sCAAsC,CAAA;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/image.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,KAAK,EAAE,OAAO,CAAA;IACd,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,WAAW,CAAA;IACxB,4FAA4F;IAC5F,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,sCAAsC,CAAA;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C"}
@@ -18,6 +18,10 @@
18
18
  "aspectRatio": {
19
19
  "type": "ref",
20
20
  "ref": "#aspectRatio"
21
+ },
22
+ "fullBleed": {
23
+ "type": "boolean",
24
+ "description": "Whether the image should extend to the full width of the container, ignoring padding."
21
25
  }
22
26
  }
23
27
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/lexicon",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "ATProto lexicon definitions and TypeScript types for the Hypercerts protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",