Skip to content

Releases: cssobj/cssobj

1.1.2

23 Dec 08:24

Choose a tag to compare

    value function signature changed:
    color: v => console.log(v.raw, v.cooked, v.node, v.result)

v.raw is previous value before any plugin
v.cooked is previous value after all plugin and validation check

  • value-function: add v.raw, v.prev->v.cooked
  • v.raw only exists when it have value previously, so raw in v make sense
  • remove strSugar of '&'
  • result.options renamed => result.config
  • config.state act as initial state (fallback state)

1.0.4

20 Dec 11:04

Choose a tag to compare

  • splitSelector instead of splitComma, better performance

1.0.1

15 Dec 06:12

Choose a tag to compare

  • drop IE<8 support
  • add result.space, result.localNames props
  • revised docs

0.7.3

17 Nov 00:13

Choose a tag to compare

options.local.prefix renamed to options.local.space

0.7.2

11 Nov 10:14

Choose a tag to compare

  • api: update now is result.update(obj?, state?)
  • api(cssom): prefixes->vendors, name->id
  • cssobj/update can accept function as obj
  • fix(localize): prefix will set back to options.local

v0.5.4

07 Oct 03:35

Choose a tag to compare

CHANGE: node.rawVal changed to ARRAY; remove helper.defauts function

v0.5.3

04 Oct 04:47

Choose a tag to compare

FIX: option.plugins default as array instead of {}, accept single function as initial plugins value

v0.5.2

29 Sep 10:40

Choose a tag to compare

FIX: file version error in source

v0.5.1

29 Sep 10:28

Choose a tag to compare

  • FIX: plugin function key param as Number bug, use propName instead
  • Pass propKey param into value plugin function

v0.5.0

28 Sep 14:27

Choose a tag to compare

  • Value/ValueFunction/ValuePlugin can now return Object/Array that will be merged into node's prop.
  • Remove display and flex prop check in CSSOM