@rafters/shared 0.5.2 → 0.5.3
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/src/types.ts +2 -0
- package/src/version.ts +1 -1
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -564,6 +564,8 @@ const FillStateSchema = FillPartsSchema.extend({ dark: FillPartsSchema.optional(
|
|
|
564
564
|
|
|
565
565
|
export const FillValueSchema = FillPartsSchema.extend({
|
|
566
566
|
foreground: FillColourSchema,
|
|
567
|
+
// Clips the background or gradient to the glyphs; foreground stays the fallback.
|
|
568
|
+
clip: z.enum(['text']).optional(),
|
|
567
569
|
dark: FillPartsSchema.optional(),
|
|
568
570
|
hover: FillStateSchema.optional(),
|
|
569
571
|
active: FillStateSchema.optional(),
|
package/src/version.ts
CHANGED