-
Notifications
You must be signed in to change notification settings - Fork 7
feat(parser): new style parser #681
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❌ Deploy Preview for cube-uikit-docs failed.
|
🧪 Storybook is successfully deployed!
|
🏗 Docs are successfully deployed!👀 Preview: https://68433aaaadac9624188d193e--cube-uikit-docs.netlify.app |
📦 NPM canary releaseDeployed canary version 0.0.0-canary-6b5a4ea. |
🏋️ Size limit report
Click here if you want to find out what is changed in this build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new style parser implementation along with updates to style processing across the codebase. Key changes include refactoring border style parsing to extract properties from processed groups, extending test coverage for various style cases, and enhancing parser and component behavior (including caching and focus management).
Reviewed Changes
Copilot reviewed 43 out of 43 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
src/tasty/styles/border.ts | Refactored borderStyle to extract groups from the parser result using the new "output" property |
src/tasty/styles.test.ts | Updated expected outputs for border and outline style tests |
src/tasty/snapshots/tasty.test.tsx.snap | Adjusted snapshot formatting for color functions |
src/parser/* | Introduced new parser components (tokenizer, LRU cache, classify, documentation, and tests) |
src/components/layout/{Suffix,Prefix}.tsx | Updated style property extraction to use parser's output |
src/components/fields/Slider/* | Enhanced slider components with additional QA attributes and improved focus management |
.size-limit.cjs | Updated bundle size limits |
.cursor/rules/* | Added new configuration files for tasty and parser rules |
Comments suppressed due to low confidence (1)
src/components/fields/Slider/elements.ts:149
- [nitpick] Ensure that using 'flow' as an alias for 'flexDirection' is a documented and accepted practice in the tasty API to avoid potential confusion.
flow: {
Co-authored-by: Copilot <[email protected]>
No description provided.