Skip to content

Releases: ItsJonQ/rxs

RXS - v0.4.0

Choose a tag to compare

@ItsJonQ ItsJonQ released this 10 Apr 02:28

Updates

  • Adds second argument to .set() method that triggers if the arg (string) is important
  • Sets important to all props for .setProperty()
  • Adds ability to remove rules by using .remove() on an RXSRule instance

Fixes

  • Fixes !important declaration for props

RXS - v0.3.4

Choose a tag to compare

@ItsJonQ ItsJonQ released this 09 Apr 19:52

Updates

  • adds .inspect() method
  • adds tests for .inspect()

Works like:

```js
rxs('.happy-class').inspect();

Results:

{
  display: 'block',
  margin: '10px'
}

Resolves: #10

RXS - v0.3.3

Choose a tag to compare

@ItsJonQ ItsJonQ released this 09 Apr 17:45

Updates

  • Adds a second argument for rxs() to set props inline
  • Adds tests

Example:

rxs('.my-cool-class', {
  display: 'flex',
});

Resolves: #2