@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rafters/shared",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Shared W3C DTCG schemas, base types, and utilities for Rafters design system",
5
5
  "homepage": "https://rafters.studio",
6
6
  "license": "MIT",
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
@@ -4,4 +4,4 @@
4
4
  * Written by packages/cli/scripts/sync-version.ts from the CLI's own
5
5
  * package.json version at build time -- do not edit by hand.
6
6
  */
7
- export const RAFTERS_VERSION = '0.5.2';
7
+ export const RAFTERS_VERSION = '0.5.3';