-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: allow filtering variables in DocBlock #142
Comments
Sounds really useful. Go for it if you like. |
@Sqrrl I finally got into this contribution.
Got:
Here is my offer...
(Also would love to get help to be able to contribute) |
Hm, not sure what causes this. I just tried with a clean clone of the repo, which worked fine.
I'm running yarn v1.22.19 and node v18.7.0. I will add the contribution.md soon. |
It would be really helpful to have CONTRIBUTION.md |
I am sorry for the late response, work is crazy but now I got some free time until March.
|
Was finally able to reproduce the issue on a Windows VM. Seems like a yarn workspace hoisting issue. I'll try to come up with a solution. In the meantime you could use the webpack5-demo for developing. This runs outside of yarn workspaces.
|
Done. I would like to open a PR but I can't push a new branch to this repo. @Sqrrl And now iv'e got another feature request :) Can open a separate issue if you find it useful, WDYT about add the table "rawValue" column? Can be useful for designers, that can see their tokens in one place all the way to the value |
@Sqrrl Your help to push my code would be appreciated |
@yarinsa You can fork the repo and create a PR with your fork. The raw value could be useful, not sure about giving it its own column though. Maybe as a tooltip? |
@yarinsa Could you create a Pull Request? Ping me if you need any assistance |
Already left that work :( I don't have the source code anymore |
@yarinsa it is pity. But, I think I will get it done in a while |
Want to begin and say I am willing to contribute this feature :).
The motivation:
Our overrides.less file (overrides antd parsed and replaced using less 'modifyVars' ) looks something like this:
I will wrap the alert variables with @tokens as well and separate it's type. But In the Alert Story I would like to present a table of all the variables containing "--alert-*".
Thought the the most flexible thing will be to add
<DesignTokenDocBlock filter={predicateFn} />;
WDYT? @Sqrrl
The text was updated successfully, but these errors were encountered: