add scope tokens array by type node #670
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
This adds the Figma scope for an array of tokens by it's type
PR Type
Description
Added a new node for array token scoping.
Integrated Figma scope mapping by token type.
Included tests covering various token scenarios.
Updated changeset for release.
Changes walkthrough 📝
index.ts
Integrate token array node in main index.
packages/nodes-figma/src/nodes/index.ts
scopeTokenArrayByType.ts
Add new token array by type node implementation.
packages/nodes-figma/src/nodes/scopeTokenArrayByType.ts
scopeTokenArrayByType.test.ts
Add tests for new token array node.
packages/nodes-figma/tests/scopeTokenArrayByType.test.ts
tidy-kids-raise.md
Update changeset for token array node.
.changeset/tidy-kids-raise.md