Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Releases: zss-in-js/typedcssx

2.6.4

02 Oct 02:19

Choose a tag to compare

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

29 Sep 04:36

Choose a tag to compare

Patch update

Change to sheban script

  • I've integrated type checking into the compilation process.
    This will not allow compilation with type errors.

2.6.0

28 Sep 09:52

Choose a tag to compare

Minor update

Change API

  • Feat: PreviewServerCSS Folder move to at next.
  • Fixed: Added newlines to the output of set and root methods.

v2.5.x has many performance improvements. I hope this 2.6.x version works.

2.5.6

28 Sep 08:08

Choose a tag to compare

Patch update

bugfix(type file) and changes

From 2.5.3 to 2.5.5 The type information of the create method was unknown, but this has been fixed.

  • Fixed type breakage when wrapping selectors in media queries.
  • tsx update @latest v4.19.1.
  • create method type name is changed.

hope this version.

2.5.5

27 Sep 12:26

Choose a tag to compare

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

24 Sep 03:09

Choose a tag to compare

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

22 Sep 12:18

Choose a tag to compare

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

17 Sep 10:50

Choose a tag to compare

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

17 Sep 10:38

Choose a tag to compare

Patch update

  • The migrate to ESModule has been completed.
  • The unpacked size has been reduced by about 12KB.
  • add union method and function(named export).
    This is merges class names with multiple conditionals.

2.4.1

12 Sep 23:49

Choose a tag to compare

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.