demitasse

CSS Modules in TypeScript…the simple way

MIT License

Downloads
1.5K
Stars
5
Committers
2

Bot releases are hidden (Show)

demitasse - v2.2.0 Latest Release

Published by nsaunders over 1 year ago

Backport v3 API to v2.

demitasse - v3.2.0

Published by nsaunders over 1 year ago

Fixed/improved Babel plugin to remove duplicate class names and IDs.

demitasse - v3.2.0-alpha.1

Published by nsaunders over 1 year ago

Fixed the Babel plugin's README links when viewing on npmjs.com.

demitasse - v3.2.0-alpha.0

Published by nsaunders over 1 year ago

A new Babel plugin offers an aggressive optimization. Most of the CSS code is removed from a template literal, leaving behind only a list of class names and IDs which Demitasse can use to create bindings to statically-extracted CSS.

demitasse - v3.1.0

Published by nsaunders over 1 year ago

Stable release after adding support for running Webpack/React example in StackBlitz.

demitasse - v3.1.0-alpha.0

Published by nsaunders over 1 year ago

Publishing ESLint and Prettier configs alongside library in order to support running example projects in CodeSandbox, StackBlitz, etc.

demitasse - v3.0.0

Published by nsaunders over 1 year ago

New API focuses on using type-level programming to create type-safe CSS bindings rather than attempting to provide type safety on CSS properties etc. via csstype (which isn't very effective).

demitasse - v3.0.0-alpha.3

Published by nsaunders over 1 year ago

No notable changes. Testing NPM publishing.

demitasse - v3.0.0-alpha.2

Published by nsaunders over 1 year ago

Fix LICENSE display in the NPM registry.

demitasse - v3.0.0-alpha.1

Published by nsaunders almost 2 years ago

Fix README display on NPM site.

demitasse - v3.0.0-alpha.0

Published by nsaunders almost 2 years ago

New API featuring native CSS syntax.

demitasse - v2.1.0

Published by nsaunders almost 3 years ago

Prefer cssRules over demi function.

demitasse - v2.0.0

Published by nsaunders almost 3 years ago

  • At-rule support
  • No longer necessary to use module aliases
demitasse - v2.0.0-alpha.7

Published by nsaunders almost 3 years ago

Fixes animationKeyframes property when used within an at-rule context.

demitasse - v2.0.0-alpha.6

Published by nsaunders almost 3 years ago

This release adds basic support for at-rules.

demitasse - v2.0.0-alpha.5

Published by nsaunders about 3 years ago

Fixed type definitions.

demitasse - v2.0.0-alpha.4

Published by nsaunders about 3 years ago

Removed APIs:

  • toClassNames: Class names are included in the tuple that is returned when creating CSS.

Modified APIs:

  • toString is now sheets and always returns a record of style sheets.
  • css is now demi and returns a tuple consisting of the CSS data structure and generated class names.

New APIs

  • cssExport must now be used for CSS exports before calling sheets.
demitasse - v2.0.0-alpha.3

Published by nsaunders about 3 years ago

Add "main" and "module" keys to package.json as ESBuild appears to require the latter.

demitasse - v2.0.0-alpha.2

Published by nsaunders about 3 years ago

Created a CommonJS entry point for Node interop.

demitasse - v2.0.0-alpha.1

Published by nsaunders about 3 years ago

Modified the toString function to accept maps and arrays.