dispersa 0.4.1 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { F as FileFunction, L as LifecycleHooks, C as CssRendererOptions, O as OutputConfig, T as TailwindRendererOptions, I as IosRendererOptions, A as AndroidRendererOptions } from './index-dwm-xYbQ.cjs';
1
+ import { F as FileFunction, L as LifecycleHooks, C as CssRendererOptions, O as OutputConfig, T as TailwindRendererOptions, I as IosRendererOptions, A as AndroidRendererOptions } from './index-CNT2Meyf.cjs';
2
2
  import { F as Filter } from './types-DWKq-eJj.cjs';
3
3
  import { T as Transform } from './types-BAv39mum.cjs';
4
4
  import { a as JsonRendererOptions, J as JsModuleRendererOptions } from './types-CussyWwe.cjs';
@@ -57,14 +57,15 @@ type CssBuilderConfig = BuilderConfigBase & CssRendererOptions;
57
57
  * @example Basic CSS bundle with transforms
58
58
  * ```typescript
59
59
  * import { css } from 'dispersa'
60
- * import { nameKebabCase } from 'dispersa/transforms'
60
+ * import { colorToHex } from 'dispersa/transforms'
61
61
  *
62
+ * // nameKebabCase() is applied automatically before your transforms
62
63
  * const config = css({
63
64
  * name: 'css',
64
65
  * file: 'tokens.css',
65
66
  * preset: 'bundle',
66
67
  * selector: ':root',
67
- * transforms: [nameKebabCase()]
68
+ * transforms: [colorToHex()]
68
69
  * })
69
70
  * ```
70
71
  *
@@ -1,4 +1,4 @@
1
- import { F as FileFunction, L as LifecycleHooks, C as CssRendererOptions, O as OutputConfig, T as TailwindRendererOptions, I as IosRendererOptions, A as AndroidRendererOptions } from './index-Bkedvob6.js';
1
+ import { F as FileFunction, L as LifecycleHooks, C as CssRendererOptions, O as OutputConfig, T as TailwindRendererOptions, I as IosRendererOptions, A as AndroidRendererOptions } from './index-CqdaN3X0.js';
2
2
  import { F as Filter } from './types-BzNcG-rI.js';
3
3
  import { T as Transform } from './types-CzHa7YkW.js';
4
4
  import { a as JsonRendererOptions, J as JsModuleRendererOptions } from './types-CZb19kiq.js';
@@ -57,14 +57,15 @@ type CssBuilderConfig = BuilderConfigBase & CssRendererOptions;
57
57
  * @example Basic CSS bundle with transforms
58
58
  * ```typescript
59
59
  * import { css } from 'dispersa'
60
- * import { nameKebabCase } from 'dispersa/transforms'
60
+ * import { colorToHex } from 'dispersa/transforms'
61
61
  *
62
+ * // nameKebabCase() is applied automatically before your transforms
62
63
  * const config = css({
63
64
  * name: 'css',
64
65
  * file: 'tokens.css',
65
66
  * preset: 'bundle',
66
67
  * selector: ':root',
67
- * transforms: [nameKebabCase()]
68
+ * transforms: [colorToHex()]
68
69
  * })
69
70
  * ```
70
71
  *