Releases: wayfair/rainbow-sprinkles
Releases · wayfair/rainbow-sprinkles
rainbow-sprinkles@0.14.4
rainbow-sprinkles@0.14.3
Patch Changes
- ce5d3ab: Updated CSS type for Line Width to support strings
rainbow-sprinkles@0.14.2
Patch Changes
- 9818127: Fixed stringification of number values
rainbow-sprinkles@0.14.1
Patch Changes
- 9835d49: Fixes errors when using Numbers as values
rainbow-sprinkles@0.14.0
Minor Changes
- 5030301: Attached
properties
to rainbowSprinkles method to access all configured property names
rainbow-sprinkles@0.13.0
rainbow-sprinkles@0.12.1
Patch Changes
- 0db3335: Prevents assigning a variable if the value of a property matches a static value.
rainbow-sprinkles@0.12.0
Minor Changes
- a1cc5b9: Add support for no conditions
rainbow-sprinkles@0.11.0
Minor Changes
-
e9f8620: This is a big refactor to support composing multiple instances of properties. AKA, this makes the API match closer to
@vanilla-extract/sprinkles
, where you usedefineProperties
to create one or more sets of properties, then compose them withcreateRainbowSprinkles
.Before:
// rainbow-sprinkles.css.ts import {createRainbowSprinkles} from 'rainbow-sprinkles'; export const rainbowSprinkles = createRainbowSprinkles({ ... })
After:
// rainbow-sprinkles.css.ts import {defineProperties, createRainbowSprinkles} from 'rainbow-sprinkles'; const properties = defineProperties({ ... }) export const rainbowSprinkles = createRainbowSprinkles(properties) ```tx
rainbow-sprinkles@0.10.2
Patch Changes
- 4d0158a: - Prevents scale values that do not have a `# rainbow-sprinkles prefix from evaluating to scale values.
- Fixes the case where a configured CSS property had a defined scale for staticProperties, and allowed arbitrary values through dynamicProperties, and the incorrect classes were being generated