@confed/sanity-types 0.1.3-2511121647 → 0.1.3-2511141432
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.
- package/package.json +1 -1
- package/sanity.types.ts +6 -0
package/package.json
CHANGED
package/sanity.types.ts
CHANGED
|
@@ -278,6 +278,9 @@ export type PtBasic = Array<
|
|
|
278
278
|
crop?: SanityImageCrop
|
|
279
279
|
altText: string
|
|
280
280
|
caption?: string
|
|
281
|
+
layout?: 'inline' | 'float-left' | 'float-right' | 'full'
|
|
282
|
+
size?: 'sm' | 'md' | 'lg'
|
|
283
|
+
aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
|
|
281
284
|
_type: 'figure'
|
|
282
285
|
_key: string
|
|
283
286
|
}
|
|
@@ -347,6 +350,9 @@ export type Figure = {
|
|
|
347
350
|
crop?: SanityImageCrop
|
|
348
351
|
altText: string
|
|
349
352
|
caption?: string
|
|
353
|
+
layout?: 'inline' | 'float-left' | 'float-right' | 'full'
|
|
354
|
+
size?: 'sm' | 'md' | 'lg'
|
|
355
|
+
aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
|
|
350
356
|
}
|
|
351
357
|
|
|
352
358
|
export type SanityImageCrop = {
|