Skip to content

Releases: universal-design-tokens/udt

@udt/[email protected]

04 Dec 00:35
Compare
Choose a tag to compare

Minor Changes

  • fd5462f: BREAKING CHANGE: parseData() will now throw an InvalidStructureError if the top-level object in the input data is a design token.
  • fd5462f: BREAKING CHANGE: Specified minimum Node version of 18

@udt/[email protected]

28 Nov 23:35
Compare
Choose a tag to compare

Minor Changes

  • 7644f9a: BREAKING CHANGE: ParseGroupDataFn can no longer return an addChild function. Instead, you should now provide an addChildToGroup function in your parser config.
  • 7644f9a: BREAKING CHANGE: parseData() may now return undefined (happens if no parseGroupData function is set in the config).
  • 7644f9a: BREAKING CHANGE: extractProperties() now returns an object containing unextract properties and their values, instead of an array of unextracted property names.

@udt/[email protected]

22 Nov 01:43
Compare
Choose a tag to compare

Minor Changes

  • aa0e5ce: Initial release of @udt/parser-utils package.

Patch Changes

  • aa0e5ce: Added extractProperties() function for extracting specified properties and their values from an obejct.
  • aa0e5ce: Added parseData() function for parsing design token data
  • aa0e5ce: Added isPlainObject() function for checking if a value is a plain object.