Skip to content

Releases: wayfair/rainbow-sprinkles

rainbow-sprinkles@0.14.4

06 Dec 17:24
d4de9ef
Compare
Choose a tag to compare

Patch Changes

  • 0af248c: Update types to allow null in sprinkle values
  • 19bd82c: Fixed classes not being created when property value is 0

rainbow-sprinkles@0.14.3

27 Oct 14:34
705422f
Compare
Choose a tag to compare

Patch Changes

  • ce5d3ab: Updated CSS type for Line Width to support strings

rainbow-sprinkles@0.14.2

24 Oct 20:11
5f76e1a
Compare
Choose a tag to compare

Patch Changes

  • 9818127: Fixed stringification of number values

rainbow-sprinkles@0.14.1

21 Oct 20:41
6792bed
Compare
Choose a tag to compare

Patch Changes

  • 9835d49: Fixes errors when using Numbers as values

rainbow-sprinkles@0.14.0

19 Oct 22:58
2852e04
Compare
Choose a tag to compare

Minor Changes

  • 5030301: Attached properties to rainbowSprinkles method to access all configured property names

rainbow-sprinkles@0.13.0

02 Sep 19:09
305e048
Compare
Choose a tag to compare

Minor Changes

  • a4ec472: Added support for negative values

Patch Changes

rainbow-sprinkles@0.12.1

21 Jun 19:30
9d2ca20
Compare
Choose a tag to compare

Patch Changes

  • 0db3335: Prevents assigning a variable if the value of a property matches a static value.

rainbow-sprinkles@0.12.0

29 May 16:23
f1cc414
Compare
Choose a tag to compare

Minor Changes

  • a1cc5b9: Add support for no conditions

rainbow-sprinkles@0.11.0

27 May 18:33
54a8ded
Compare
Choose a tag to compare

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 use defineProperties to create one or more sets of properties, then compose them with createRainbowSprinkles.

    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

23 May 15:54
383bbc5
Compare
Choose a tag to compare

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