@slimr/styled 2.1.6 → 2.1.10

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.
Files changed (2) hide show
  1. package/README.md +12 -6
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -4,12 +4,6 @@ A tiny (~2kb) React css-in-js library inspired by chakra-ui, emotion, and styled
4
4
 
5
5
  Demos: See `./examples/css-and-styled` or [CodeSandbox](https://codesandbox.io/s/64r9px?file=/src/App.tsx)
6
6
 
7
- `@slimr` is a set of slim React (hence '@slimr') libs:
8
-
9
- - [@slimr/css](https://www.npmjs.com/package/@slimr/css) - an emotion-like css management lib bundled with this lib
10
- - [@slimr/mdi-paths](https://www.npmjs.com/package/@slimr/mdi-paths)
11
- - [@slimr/styled](https://www.npmjs.com/package/@slimr/styled)
12
-
13
7
  Pros:
14
8
 
15
9
  - Much less bundle size and runtime sluggishness
@@ -40,6 +34,18 @@ Cons:
40
34
 
41
35
  - No SSR support
42
36
 
37
+ `@slimr` is a set of slim React (hence '@slimr') libs:
38
+
39
+ - [@slimr/css](https://www.npmjs.com/package/@slimr/css) - Framework agnostic css-in-js features inspired by the popular Emotion lib
40
+ - [@slimr/forms](https://www.npmjs.com/package/@slimr/forms) - A minimalistic form hook
41
+ - [@slimr/hooks](https://www.npmjs.com/package/@slimr/hooks) - A collection of useful 1st and third party react hooks
42
+ - [@slimr/markdown](https://www.npmjs.com/package/@slimr/markdown) - A simple component and slim markdown-to-html parser
43
+ - [@slimr/mdi-paths](https://www.npmjs.com/package/@slimr/mdi-paths) - A basic Icon component and Material Design icon svg paths, code-split by path.
44
+ - [@slimr/router](https://www.npmjs.com/package/@slimr/router) - A novel React-web router that supports stack routing
45
+ - [@slimr/styled](https://www.npmjs.com/package/@slimr/styled) - css-in-js features inspired by the popular styled-components and Chakra-UI libs
46
+ - [@slimr/swr](https://www.npmjs.com/package/@slimr/swr) - A React hook for fetching data that supports stale-while-refresh eager rendering
47
+ - [@slimr/util](https://www.npmjs.com/package/@slimr/util) - Framework agnostic Javascript polyfills
48
+
43
49
  ## Setup/Install
44
50
 
45
51
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slimr/styled",
3
- "version": "2.1.6",
3
+ "version": "2.1.10",
4
4
  "author": "Brian Dombrowski",
5
5
  "license": "ISC",
6
6
  "private": false,
@@ -30,7 +30,8 @@
30
30
  "build": "npm-run-all clean --parallel build:*",
31
31
  "build:esm": "OUT=esm; tsc -d -m es2020 --outDir $OUT --noEmit false && cp -r src/* $OUT",
32
32
  "build:cjs": "OUT=cjs; tsc -d -m commonjs --outDir $OUT --noEmit false && cp -r src/* $OUT",
33
- "clean": "rm -rf esm cjs"
33
+ "clean": "rm -rf esm cjs",
34
+ "prepack": "run-s build"
34
35
  },
35
36
  "peerDependencies": {
36
37
  "@types/react": "^16.8 || ^17 || ^18",
@@ -39,6 +40,6 @@
39
40
  "react-dom": "^16.8 || ^17 || ^18"
40
41
  },
41
42
  "dependencies": {
42
- "@slimr/css": "2.1.6"
43
+ "@slimr/css": "2.1.7"
43
44
  }
44
45
  }