simplestyle-js 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ A concise guide to the core `simplestyle-js` APIs, how they fit together, and ho
|
|
|
12
12
|
## Table of Contents
|
|
13
13
|
- [Install](#install)
|
|
14
14
|
- [Quick Start](#quick-start)
|
|
15
|
-
- [API Reference
|
|
15
|
+
- [API Reference](#api-reference-from-srcindexts)
|
|
16
16
|
- [Patterns and Tips](#patterns-and-tips)
|
|
17
17
|
- [SSR](#ssr)
|
|
18
18
|
- [SSR steps for most SSR / SSG frameworks (including Next.js)](#ssr-steps-for-most-ssr--ssg-frameworks)
|
|
@@ -71,7 +71,7 @@ const Button = (props) => <button {...props} className={classes.root}>Awesome bu
|
|
|
71
71
|
|
|
72
72
|
Rules support nested selectors via `&`, media queries, and `$className` back-references to other generated classes.
|
|
73
73
|
|
|
74
|
-
## API Reference
|
|
74
|
+
## API Reference
|
|
75
75
|
|
|
76
76
|
- `createStyles(ruleId, rules, options?)`
|
|
77
77
|
- Builds a set of class names and CSS from a rules object. Returns `{ classes, stylesheet, updateSheet }`.
|
package/package.json
CHANGED