From 15f2eac75a0bf1c1195f0523594d025f96837f23 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 13 Aug 2024 11:25:51 +0000 Subject: [PATCH] Version Packages --- .changeset/afraid-hounds-type.md | 5 --- .changeset/chatty-turkeys-explain.md | 5 --- .changeset/chilly-teachers-talk.md | 5 --- .changeset/clever-pandas-travel.md | 5 --- .changeset/cold-hornets-hammer.md | 5 --- .changeset/dirty-trainers-jam.md | 5 --- .changeset/eleven-pans-smile.md | 5 --- .changeset/empty-geckos-roll.md | 5 --- .changeset/fast-bananas-grow.md | 5 --- .changeset/few-buses-impress.md | 5 --- .changeset/four-eyes-buy.md | 5 --- .changeset/fresh-pumas-taste.md | 5 --- .changeset/friendly-boxes-raise.md | 5 --- .changeset/funny-apricots-retire.md | 5 --- .changeset/fuzzy-flies-fry.md | 5 --- .changeset/gold-cycles-tie.md | 5 --- .changeset/good-plums-drive.md | 5 --- .changeset/grumpy-dots-impress.md | 5 --- .changeset/large-cows-guess.md | 5 --- .changeset/late-planes-buy.md | 5 --- .changeset/lemon-drinks-sort.md | 5 --- .changeset/many-shrimps-tan.md | 5 --- .changeset/metal-turkeys-matter.md | 5 --- .changeset/mighty-queens-yawn.md | 5 --- .changeset/polite-impalas-hug.md | 5 --- .changeset/sharp-candles-confess.md | 5 --- .changeset/silent-nails-change.md | 5 --- .changeset/slimy-files-reply.md | 5 --- .changeset/small-coats-reflect.md | 5 --- .changeset/smart-countries-repair.md | 5 --- .changeset/sweet-ties-develop.md | 5 --- .changeset/swift-spoons-sort.md | 5 --- .changeset/tough-guests-tease.md | 5 --- .changeset/tough-ways-do.md | 5 --- .changeset/twenty-pets-marry.md | 5 --- .changeset/violet-bottles-judge.md | 5 --- packages/tokens-studio-for-figma/CHANGELOG.md | 44 +++++++++++++++++++ packages/tokens-studio-for-figma/package.json | 2 +- 38 files changed, 45 insertions(+), 181 deletions(-) delete mode 100644 .changeset/afraid-hounds-type.md delete mode 100644 .changeset/chatty-turkeys-explain.md delete mode 100644 .changeset/chilly-teachers-talk.md delete mode 100644 .changeset/clever-pandas-travel.md delete mode 100644 .changeset/cold-hornets-hammer.md delete mode 100644 .changeset/dirty-trainers-jam.md delete mode 100644 .changeset/eleven-pans-smile.md delete mode 100644 .changeset/empty-geckos-roll.md delete mode 100644 .changeset/fast-bananas-grow.md delete mode 100644 .changeset/few-buses-impress.md delete mode 100644 .changeset/four-eyes-buy.md delete mode 100644 .changeset/fresh-pumas-taste.md delete mode 100644 .changeset/friendly-boxes-raise.md delete mode 100644 .changeset/funny-apricots-retire.md delete mode 100644 .changeset/fuzzy-flies-fry.md delete mode 100644 .changeset/gold-cycles-tie.md delete mode 100644 .changeset/good-plums-drive.md delete mode 100644 .changeset/grumpy-dots-impress.md delete mode 100644 .changeset/large-cows-guess.md delete mode 100644 .changeset/late-planes-buy.md delete mode 100644 .changeset/lemon-drinks-sort.md delete mode 100644 .changeset/many-shrimps-tan.md delete mode 100644 .changeset/metal-turkeys-matter.md delete mode 100644 .changeset/mighty-queens-yawn.md delete mode 100644 .changeset/polite-impalas-hug.md delete mode 100644 .changeset/sharp-candles-confess.md delete mode 100644 .changeset/silent-nails-change.md delete mode 100644 .changeset/slimy-files-reply.md delete mode 100644 .changeset/small-coats-reflect.md delete mode 100644 .changeset/smart-countries-repair.md delete mode 100644 .changeset/sweet-ties-develop.md delete mode 100644 .changeset/swift-spoons-sort.md delete mode 100644 .changeset/tough-guests-tease.md delete mode 100644 .changeset/tough-ways-do.md delete mode 100644 .changeset/twenty-pets-marry.md delete mode 100644 .changeset/violet-bottles-judge.md diff --git a/.changeset/afraid-hounds-type.md b/.changeset/afraid-hounds-type.md deleted file mode 100644 index 267f639fb..000000000 --- a/.changeset/afraid-hounds-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -You can now use `rem` units in letter spacing tokens diff --git a/.changeset/chatty-turkeys-explain.md b/.changeset/chatty-turkeys-explain.md deleted file mode 100644 index 1115f7d19..000000000 --- a/.changeset/chatty-turkeys-explain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Fixes an issue where duplicating a token to another set incorrectly displayed an error message about token names needing to be unique. \ No newline at end of file diff --git a/.changeset/chilly-teachers-talk.md b/.changeset/chilly-teachers-talk.md deleted file mode 100644 index 2aa924219..000000000 --- a/.changeset/chilly-teachers-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Opacity tokens are now being created properly in Figma and are being applied as variables when available diff --git a/.changeset/clever-pandas-travel.md b/.changeset/clever-pandas-travel.md deleted file mode 100644 index 25c718e0b..000000000 --- a/.changeset/clever-pandas-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -You can now set max width and height tokens on component instances (not on their children) diff --git a/.changeset/cold-hornets-hammer.md b/.changeset/cold-hornets-hammer.md deleted file mode 100644 index a6bfe67b6..000000000 --- a/.changeset/cold-hornets-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Prevent token names from containing { or } or starting with $ diff --git a/.changeset/dirty-trainers-jam.md b/.changeset/dirty-trainers-jam.md deleted file mode 100644 index ae74164b3..000000000 --- a/.changeset/dirty-trainers-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Fixes an issue that caused going from URL storage to Local storage to be in read-only until plugin restart diff --git a/.changeset/eleven-pans-smile.md b/.changeset/eleven-pans-smile.md deleted file mode 100644 index 804f7615e..000000000 --- a/.changeset/eleven-pans-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": major ---- - -We now support the W3C Design Tokens Community Group format! The plugin offers a way to convert your tokens to the new format for remote as well as locally stored tokens. We also auto-detect if you're using the new format in your token files, and will use that format. diff --git a/.changeset/empty-geckos-roll.md b/.changeset/empty-geckos-roll.md deleted file mode 100644 index 9f9553518..000000000 --- a/.changeset/empty-geckos-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Non-local variables: You can now create variables that reference variables from other files, as long as you're using Themes and your variables are attached to tokens. diff --git a/.changeset/fast-bananas-grow.md b/.changeset/fast-bananas-grow.md deleted file mode 100644 index 7d58e826c..000000000 --- a/.changeset/fast-bananas-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Fixed an issue that caused updating tokens that contained a modified reference to update multiple modes at once, instead of just the affected one. diff --git a/.changeset/few-buses-impress.md b/.changeset/few-buses-impress.md deleted file mode 100644 index b7b7d3eda..000000000 --- a/.changeset/few-buses-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Using Select all in Inspect view when you were using a filtered view is now correctly only removing tokens that were selected, instead of all. diff --git a/.changeset/four-eyes-buy.md b/.changeset/four-eyes-buy.md deleted file mode 100644 index 00746c865..000000000 --- a/.changeset/four-eyes-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Color styles now contain a color variable as a value if the value is a pure reference to another token and that token is attached to a variable via Themes diff --git a/.changeset/fresh-pumas-taste.md b/.changeset/fresh-pumas-taste.md deleted file mode 100644 index b0f78bbbf..000000000 --- a/.changeset/fresh-pumas-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Allow users to export variables based on selected sets and export options diff --git a/.changeset/friendly-boxes-raise.md b/.changeset/friendly-boxes-raise.md deleted file mode 100644 index 9cc181591..000000000 --- a/.changeset/friendly-boxes-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -You can now use negative % values in line height tokens diff --git a/.changeset/funny-apricots-retire.md b/.changeset/funny-apricots-retire.md deleted file mode 100644 index 611d0adea..000000000 --- a/.changeset/funny-apricots-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Allow users to create variables from selected sets when not using themes diff --git a/.changeset/fuzzy-flies-fry.md b/.changeset/fuzzy-flies-fry.md deleted file mode 100644 index 4927a85f4..000000000 --- a/.changeset/fuzzy-flies-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Provide ability to users to add nested levels to a token diff --git a/.changeset/gold-cycles-tie.md b/.changeset/gold-cycles-tie.md deleted file mode 100644 index 899afddd2..000000000 --- a/.changeset/gold-cycles-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -You can now choose if you want variables and styles applied when you're updating your layers. This allows you to effectively make use of the plugin's theme switching even though you've created variables. diff --git a/.changeset/good-plums-drive.md b/.changeset/good-plums-drive.md deleted file mode 100644 index c6e2f3c62..000000000 --- a/.changeset/good-plums-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Feature: You can now resize the left sidebar diff --git a/.changeset/grumpy-dots-impress.md b/.changeset/grumpy-dots-impress.md deleted file mode 100644 index dc58ff859..000000000 --- a/.changeset/grumpy-dots-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Added support for variables in typography styles diff --git a/.changeset/large-cows-guess.md b/.changeset/large-cows-guess.md deleted file mode 100644 index 2a5cec8e0..000000000 --- a/.changeset/large-cows-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Fixed an issue with the plugins error boundary, error messages should now show up in the UI again diff --git a/.changeset/late-planes-buy.md b/.changeset/late-planes-buy.md deleted file mode 100644 index a5119b86e..000000000 --- a/.changeset/late-planes-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Typography tokens such as line heights, font sizes, paragrap spacing, paragraph indent and letter spacing now take number and dimension tokens as suggested tokens diff --git a/.changeset/lemon-drinks-sort.md b/.changeset/lemon-drinks-sort.md deleted file mode 100644 index 929ff9f35..000000000 --- a/.changeset/lemon-drinks-sort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -When you apply a token to a layer, and that token isnt connected to a variable, we will now try to apply the token's reference as a variable. This enables you to apply component tokens and have their semantic variable applied as long as it's a pure reference and that component token has no variable connected. diff --git a/.changeset/many-shrimps-tan.md b/.changeset/many-shrimps-tan.md deleted file mode 100644 index f83fa3526..000000000 --- a/.changeset/many-shrimps-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Selecting something when typing { will now no longer insert a space after diff --git a/.changeset/metal-turkeys-matter.md b/.changeset/metal-turkeys-matter.md deleted file mode 100644 index a009a79cb..000000000 --- a/.changeset/metal-turkeys-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Fixed an issue where variable references weren't using references from the current theme but from another theme that was using the same token names. If you are creating multiple collections with the same token structure, it's recommended to create them one by one to avoid reference clashes. For the default scenario of where different theme groups don't share the same tokens (recommended), you can create all themes at once. diff --git a/.changeset/mighty-queens-yawn.md b/.changeset/mighty-queens-yawn.md deleted file mode 100644 index 6451918fa..000000000 --- a/.changeset/mighty-queens-yawn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Options (use rem, convert numbers to dimensions) are now disabled by default for the Import variables dialog diff --git a/.changeset/polite-impalas-hug.md b/.changeset/polite-impalas-hug.md deleted file mode 100644 index f2edd0f6d..000000000 --- a/.changeset/polite-impalas-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -When editing a border token and switching from reference to input mode we now populate the contents. diff --git a/.changeset/sharp-candles-confess.md b/.changeset/sharp-candles-confess.md deleted file mode 100644 index 532693587..000000000 --- a/.changeset/sharp-candles-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Fix: Token suggestions now ignore case, meaning you don't have to type Blue to find a token called blue diff --git a/.changeset/silent-nails-change.md b/.changeset/silent-nails-change.md deleted file mode 100644 index 83c49d5bc..000000000 --- a/.changeset/silent-nails-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Fixed an issue with 0px borders showing up as 0.001px in Figma's DevMode diff --git a/.changeset/slimy-files-reply.md b/.changeset/slimy-files-reply.md deleted file mode 100644 index ab81fbc57..000000000 --- a/.changeset/slimy-files-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -The internal 'id' property is now properly stored on the 'studio.tokens' key in the '$extensions' object of a token diff --git a/.changeset/small-coats-reflect.md b/.changeset/small-coats-reflect.md deleted file mode 100644 index b88795982..000000000 --- a/.changeset/small-coats-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -After creating a new token set we now switch to this new set diff --git a/.changeset/smart-countries-repair.md b/.changeset/smart-countries-repair.md deleted file mode 100644 index bf91f2590..000000000 --- a/.changeset/smart-countries-repair.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Fixed an issue where cmd+clicking a token allowed you to edit even without edit rights diff --git a/.changeset/sweet-ties-develop.md b/.changeset/sweet-ties-develop.md deleted file mode 100644 index 6d82620d7..000000000 --- a/.changeset/sweet-ties-develop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Opacity tokens are now being created as number variables when exported to Figma diff --git a/.changeset/swift-spoons-sort.md b/.changeset/swift-spoons-sort.md deleted file mode 100644 index e98c8503e..000000000 --- a/.changeset/swift-spoons-sort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Added regex support to bulk remap diff --git a/.changeset/tough-guests-tease.md b/.changeset/tough-guests-tease.md deleted file mode 100644 index 0dd4835ee..000000000 --- a/.changeset/tough-guests-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Allow users to create styles together when creating variables diff --git a/.changeset/tough-ways-do.md b/.changeset/tough-ways-do.md deleted file mode 100644 index f333faf35..000000000 --- a/.changeset/tough-ways-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Adds support for binding variables to stroke weight and opacity diff --git a/.changeset/twenty-pets-marry.md b/.changeset/twenty-pets-marry.md deleted file mode 100644 index ddae5c70a..000000000 --- a/.changeset/twenty-pets-marry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Added BitBucket as a provider in Beta diff --git a/.changeset/violet-bottles-judge.md b/.changeset/violet-bottles-judge.md deleted file mode 100644 index 302809c09..000000000 --- a/.changeset/violet-bottles-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tokens-studio/figma-plugin": patch ---- - -Allow to create variables based on selected themes diff --git a/packages/tokens-studio-for-figma/CHANGELOG.md b/packages/tokens-studio-for-figma/CHANGELOG.md index 96e54ae3f..bfbecbc84 100644 --- a/packages/tokens-studio-for-figma/CHANGELOG.md +++ b/packages/tokens-studio-for-figma/CHANGELOG.md @@ -1,5 +1,49 @@ # @tokens-studio/figma-plugin +## 2.0.0 + +### Major Changes + +- 9c409b487: We now support the W3C Design Tokens Community Group format! The plugin offers a way to convert your tokens to the new format for remote as well as locally stored tokens. We also auto-detect if you're using the new format in your token files, and will use that format. + +### Patch Changes + +- 7ff4131a9: You can now use `rem` units in letter spacing tokens +- 61673a6d1: Fixes an issue where duplicating a token to another set incorrectly displayed an error message about token names needing to be unique. +- 9ce1434a3: Opacity tokens are now being created properly in Figma and are being applied as variables when available +- 7ffc30f7e: You can now set max width and height tokens on component instances (not on their children) +- 7181b1870: Prevent token names from containing { or } or starting with $ +- 467569b42: Fixes an issue that caused going from URL storage to Local storage to be in read-only until plugin restart +- 890c5b204: Non-local variables: You can now create variables that reference variables from other files, as long as you're using Themes and your variables are attached to tokens. +- 171823b7b: Fixed an issue that caused updating tokens that contained a modified reference to update multiple modes at once, instead of just the affected one. +- cdb570853: Using Select all in Inspect view when you were using a filtered view is now correctly only removing tokens that were selected, instead of all. +- 325d7d2d9: Color styles now contain a color variable as a value if the value is a pure reference to another token and that token is attached to a variable via Themes +- ffe0d6cc5: Allow users to export variables based on selected sets and export options +- 7ff4131a9: You can now use negative % values in line height tokens +- 3728cc19c: Allow users to create variables from selected sets when not using themes +- 81d2306bd: Provide ability to users to add nested levels to a token +- 4989732a7: You can now choose if you want variables and styles applied when you're updating your layers. This allows you to effectively make use of the plugin's theme switching even though you've created variables. +- a2f4479bd: Feature: You can now resize the left sidebar +- 75260aead: Added support for variables in typography styles +- 230842255: Fixed an issue with the plugins error boundary, error messages should now show up in the UI again +- bdddf04df: Typography tokens such as line heights, font sizes, paragrap spacing, paragraph indent and letter spacing now take number and dimension tokens as suggested tokens +- 483c52622: When you apply a token to a layer, and that token isnt connected to a variable, we will now try to apply the token's reference as a variable. This enables you to apply component tokens and have their semantic variable applied as long as it's a pure reference and that component token has no variable connected. +- cb230b001: Selecting something when typing { will now no longer insert a space after +- 0cb557937: Fixed an issue where variable references weren't using references from the current theme but from another theme that was using the same token names. If you are creating multiple collections with the same token structure, it's recommended to create them one by one to avoid reference clashes. For the default scenario of where different theme groups don't share the same tokens (recommended), you can create all themes at once. +- e83024a34: Options (use rem, convert numbers to dimensions) are now disabled by default for the Import variables dialog +- a66f76153: When editing a border token and switching from reference to input mode we now populate the contents. +- 467569b42: Fix: Token suggestions now ignore case, meaning you don't have to type Blue to find a token called blue +- 49cbdf397: Fixed an issue with 0px borders showing up as 0.001px in Figma's DevMode +- d4cd4de73: The internal 'id' property is now properly stored on the 'studio.tokens' key in the '$extensions' object of a token +- 166b487c3: After creating a new token set we now switch to this new set +- 83712ce40: Fixed an issue where cmd+clicking a token allowed you to edit even without edit rights +- 19a43d98a: Opacity tokens are now being created as number variables when exported to Figma +- 19242fdb5: Added regex support to bulk remap +- 870b0bc10: Allow users to create styles together when creating variables +- 8cfda9370: Adds support for binding variables to stroke weight and opacity +- 13b8a96da: Added BitBucket as a provider in Beta +- e25ddc391: Allow to create variables based on selected themes + ## 1.38.9 ### Patch Changes diff --git a/packages/tokens-studio-for-figma/package.json b/packages/tokens-studio-for-figma/package.json index ee7e59758..bec20e117 100644 --- a/packages/tokens-studio-for-figma/package.json +++ b/packages/tokens-studio-for-figma/package.json @@ -1,6 +1,6 @@ { "name": "@tokens-studio/figma-plugin", - "version": "1.38.6", + "version": "2.0.0", "description": "Tokens Studio plugin for Figma", "license": "MIT", "private": true,