Releases: zss-in-js/typedcssx
2.6.4
Patch. small update
The build content of 2.6.2 ~ 2.6.4 will be the same as 2.6.1.
2.6.2
- The description display of npmjs was broken, so a description was added.
2.6.3
- I combined Jest and Playwright tests as a build test and displayed a badge.
2.6.4
- fixed readme.
This allows you to visually check the condition of the package.
2.6.1
2.6.0
2.5.6
2.5.5
Patch update
Refactor and various improvements
2.5.3 and 2.5.4 are the same as this build.
- For flexibility, I changed background from a custom type to React.CSSProperties.
- The use of Proxy in the create method has been discontinued due to memory occupancy.
- Optimizing type definition files.
Until now, the create method would slow down significantly as the size of the object increased
but I think this has been improved with this update.
I've confirmed that it works with --save-dev.
This is because the library only provides type definitions, a development runtime, and a compiler.
This library is developed by one person.
If you like it, please give a star for development for motivation feeling.
2.5.2
Patch update
Optimizing for bundle size.
By removing the use of crypto, we have reduced the bundle size.
The reduction was about 6MB for Next.js and about 410KB for Vite and about 556KB for Webpack.
The hash algorithm has changed, so please be careful if you have been using it in a fixed format.
Thank you for using this package. I'm honored to release this version.
2.5.1
Patch update
Performance improvement.
The main type definitions Intersection Types were slow to infer, so we switched to interface extends.
The type definition in media that was shared with HTMLType has been separated, making it faster.
Other: Import optimization for developing Vite plugin.
I'm honored to release this version.
2.5.0
Minor update
API to changed.
- Load css just by importing the file that contains the global method.
- The hash algorithm has been optimized newly uses base36 hash.
- next-plugin has been developed.
This is when building nextjs, after class names and CSS are resolved
all methods that have objects are deleted and optimized.
And optimizes redundant class names of the css module's
characteristics and shares them with the development environment.
I'm honored to release this version.
2.4.5
2.4.1
Patch Version
- As Vercel is not currently compatible with Node.js 22x, we stopped using fs.globSync and started using fast-glob again.
And do not use 2.4.2 as it has crashed, please wait for evolution and optimization
In 2.4.4 there is still an error when generating the styles folder and a bug that prevents individually named exported functions from compiling.
In 2.4.5 plan to provide main functions as methods and support named exports for unions.