4079 Commits

Author SHA1 Message Date
Adam Wathan
290bafd2d2 Fix conflicts 2018-03-12 15:41:25 -04:00
Adam Wathan
ec804ca3a7 Add comment about enabling container by default 2018-03-12 15:34:34 -04:00
Adam Wathan
e8c820d78b Remove old container generator 2018-03-12 15:34:34 -04:00
Adam Wathan
088cdc9a41 Refactor container plugin to CSS-in-JS 2018-03-12 15:34:34 -04:00
Adam Wathan
6e7ae58910 Move container component to a built-in plugin 2018-03-12 15:34:34 -04:00
Adam Wathan
20461a3418 Generate container classes as components, not utilities 2018-03-12 15:34:34 -04:00
Adam Wathan
fa0e06c2dd Generate focus variants last and group-hover variants first 2018-03-12 15:34:14 -04:00
Adam Wathan
02bac50589 Rename to 2018-03-12 15:33:53 -04:00
Adam Wathan
7831312c12 Merge branch 'sebastiandedeyne-add-position-sticky' 2018-03-12 11:15:11 -04:00
Adam Wathan
c63bf4f4da Fix conflicts 2018-03-12 11:14:54 -04:00
Adam Wathan
dbb4802fb6 Fix style 2018-03-07 09:37:01 -05:00
Adam Wathan
db8e06c282 Add test for nested rules 2018-03-07 09:37:01 -05:00
Adam Wathan
3be6a04d54 Add test to make sure we're not stupidly flattening styles too early 2018-03-07 09:37:01 -05:00
Adam Wathan
8e8f47c58d Respect user prefix by default when creating component classes 2018-03-07 09:37:01 -05:00
Adam Wathan
7a8f8d9877 Style fixes 2018-03-07 09:37:01 -05:00
Adam Wathan
7d589dd542 Fix style + kill unused code 2018-03-07 09:37:01 -05:00
Adam Wathan
c3f021a0c9 Prefix all classes in a selector, don't assume single class 2018-03-07 09:37:01 -05:00
Adam Wathan
d1423bab63 Drop shitty rule/atRule syntax for pure object syntax 2018-03-07 09:37:01 -05:00
Adam Wathan
10be05a167 Get object style parsing working without the insanity 2018-03-07 09:37:01 -05:00
Adam Wathan
bc05473b37 Add dependencies, fix warnings 2018-03-07 09:37:01 -05:00
Adam Wathan
6450748351 WIP 2018-03-07 09:37:01 -05:00
Adam Wathan
f00e1df92b 0.4.3 v0.4.3 2018-03-05 10:32:15 -05:00
Adam Wathan
9fec0b11c2 Fix style 2018-03-05 09:58:35 -05:00
Adam Wathan
9334846d10 Add plugin comment to default config 2018-03-05 09:58:35 -05:00
Adam Wathan
c67912af66 Add test to document checking the user's !important preference 2018-03-05 09:58:35 -05:00
Adam Wathan
2feac441e7 Style fixes 2018-03-05 09:58:35 -05:00
Adam Wathan
ac8099251f Inline plugin functions in tests 2018-03-05 09:58:35 -05:00
Adam Wathan
9234df388e Add utility helper for creating utility rules that are automatically escaped and respect prefix/important options 2018-03-05 09:58:35 -05:00
Adam Wathan
960275cc86 Add container classes as utilities not components
Just for now so that this feature can be introduced into the codebase
without forcing a BC break. The container classes will eventually be
moved to a built-in plugin that adds them as components.
2018-03-05 09:58:35 -05:00
Adam Wathan
6849818e20 Style fixes 2018-03-05 09:58:35 -05:00
Adam Wathan
dac591198f Provide a function for prefixing utilities in plugins 2018-03-05 09:58:35 -05:00
Adam Wathan
90982f9099 Test plugins can add multiple sets of utilities and components 2018-03-05 09:58:35 -05:00
Adam Wathan
87b291a258 Test utilities can be added without specifying variants 2018-03-05 09:58:35 -05:00
Adam Wathan
64d2176363 Test that "@" is optional in at-rule definitions 2018-03-05 09:58:35 -05:00
Adam Wathan
9573024a1b Expose config as a function to avoid mutation and make it easy to provide defaults 2018-03-05 09:58:35 -05:00
Adam Wathan
18d45b19cf Fix style 2018-03-05 09:58:35 -05:00
Adam Wathan
b96f342d8a Add initial test suite for processPlugins 2018-03-05 09:58:35 -05:00
Adam Wathan
98f322920f Move processPlugins to separate module 2018-03-05 09:58:35 -05:00
Adam Wathan
a6342e60ce Add atRule helper for plugins 2018-03-05 09:58:35 -05:00
Adam Wathan
24d184fbfc Pass escape function to plugins 2018-03-05 09:58:35 -05:00
Adam Wathan
4d3bbcad95 Pass config to plugins 2018-03-05 09:58:35 -05:00
Adam Wathan
e89fffbc3c Remove unnecessary array destructuring 2018-03-05 09:58:35 -05:00
Adam Wathan
47518404c0 Rename selector to rule, extract plugin processing 2018-03-05 09:58:35 -05:00
Adam Wathan
73a6b6da85 Sort imports 2018-03-05 09:58:35 -05:00
Adam Wathan
5f77aa0ec3 Implement basic plugin system 2018-03-05 09:58:35 -05:00
Alexander Lichter
36680cdf6e Use global.Object.assign to allow Nuxt.js import
See https://twitter.com/adamwathan/status/968652732167995392 for full discussion
2018-03-05 08:43:25 -05:00
Adam Wathan
c8fbeab115 0.4.2 v0.4.2 2018-03-01 08:48:19 -05:00
Adam Wathan
eacc4635b6 Match apply rules against a lookup table instead of searching 2018-02-28 20:34:16 -05:00
Adam Wathan
05fbe1a4be Remove docs from main repo 2018-02-24 08:12:55 -05:00
fedeTibaldo
b7cb21360d Update priority order to (from the highest): active-hover-focus 2018-02-19 17:23:22 +01:00