@confed/sanity-types 0.1.3-2511121647 → 0.1.3-2511141623

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 (2) hide show
  1. package/package.json +1 -1
  2. package/sanity.types.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confed/sanity-types",
3
- "version": "0.1.3-2511121647",
3
+ "version": "0.1.3-2511141623",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
package/sanity.types.ts CHANGED
@@ -77,6 +77,7 @@ export type Card = {
77
77
  title?: string
78
78
  eyebrow?: string
79
79
  image?: AccessibleImage
80
+ imageFit?: 'cover' | 'contain'
80
81
  description?: PtSimple
81
82
  buttons?: Array<
82
83
  {
@@ -278,6 +279,9 @@ export type PtBasic = Array<
278
279
  crop?: SanityImageCrop
279
280
  altText: string
280
281
  caption?: string
282
+ layout?: 'inline' | 'float-left' | 'float-right' | 'full'
283
+ size?: 'sm' | 'md' | 'lg'
284
+ aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
281
285
  _type: 'figure'
282
286
  _key: string
283
287
  }
@@ -347,6 +351,9 @@ export type Figure = {
347
351
  crop?: SanityImageCrop
348
352
  altText: string
349
353
  caption?: string
354
+ layout?: 'inline' | 'float-left' | 'float-right' | 'full'
355
+ size?: 'sm' | 'md' | 'lg'
356
+ aspectRatio?: 'auto' | '1/1' | '16/9' | '3/4'
350
357
  }
351
358
 
352
359
  export type SanityImageCrop = {