Skip to content

Releases: carbon-design-system/carbon-preprocess-svelte

v0.1.0

11 May 20:40
Compare
Choose a tag to compare

Documentation

  • improve preprocessor descriptions, add sample SvelteKit set-up

v0.1.0-rc.5

11 May 19:41
Compare
Choose a tag to compare
v0.1.0-rc.5 Pre-release
Pre-release

Fixes

  • add separate entry point for CJS bundle

v0.1.0-rc.4

11 May 19:41
Compare
Choose a tag to compare
v0.1.0-rc.4 Pre-release
Pre-release

Fixes

  • add TypeScript as a direct dependency

v0.1.0-rc.3

10 May 14:34
Compare
Choose a tag to compare
v0.1.0-rc.3 Pre-release
Pre-release

Features

  • use svelte-preprocess in the optimizeCss plugin to parse TypeScript syntax in Svelte components

Documentation

  • list available theme options for the elements preprocessor

v0.1.0-rc.2

08 May 12:56
Compare
Choose a tag to compare
v0.1.0-rc.2 Pre-release
Pre-release

Fixes

  • add purgecss as a dependency and exclude from bundle

Documentation

  • add optimizeCss API to README

v0.1.0-rc.1

08 May 11:57
Compare
Choose a tag to compare
v0.1.0-rc.1 Pre-release
Pre-release

Fixes

  • elements: only replace token in property instead of the entire property
  • elements: do not emit warning if token is falsy
  • add exports map to package.json so svelte.config.js works properly
  • temporarily omit optimizeCss plugin from library

Documentation

  • use ESM instead of CJS syntax in svelte.config.js usage examples

v0.1.0-rc.0

07 May 22:21
Compare
Choose a tag to compare
v0.1.0-rc.0 Pre-release
Pre-release

Release candidate 0.

  • optimizeImports: rewrites Carbon Svelte imports to their source path in the script block
  • optimizeCss: Rollup plugin that removes unused CSS using PurgeCSS
  • elements: computes Carbon theme tokens in the style block
  • icons: inlines Carbon icons in the markup block
  • pictograms: inlines Carbon pictograms in the markup block
  • collectHeadings: extract heading elements (e.g., <h1>, <h2>) from the markup