nightshade 3.1.0 → 3.2.0

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 ADDED
@@ -0,0 +1,18 @@
1
+ # nightshade
2
+
3
+ The Nightshade umbrella: `@nightshadeui/stylesheets` and `@nightshadeui/components` in one dependency.
4
+
5
+ ```bash
6
+ npm i nightshade
7
+ ```
8
+
9
+ ```css
10
+ @import 'nightshade/css'; /* the styles */
11
+ @import './palette.css';
12
+ ```
13
+
14
+ ```ts
15
+ import { Btn, InputText } from 'nightshade'; /* each component brings its own CSS */
16
+ ```
17
+
18
+ See [@nightshadeui/stylesheets](https://www.npmjs.com/package/@nightshadeui/stylesheets) and [@nightshadeui/components](https://www.npmjs.com/package/@nightshadeui/components).
package/css.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ // A stylesheet: importing it is a side effect, with nothing to type.
2
+ export {};
package/index.css CHANGED
@@ -1,2 +1 @@
1
1
  @import '@nightshadeui/stylesheets';
2
- @import '@nightshadeui/components/css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nightshade",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "A seed for application-owned design systems: CSS variables first, Vue primitives optional",
5
5
  "author": "Boris Okunskiy",
6
6
  "license": "ISC",
@@ -10,11 +10,14 @@
10
10
  "types": "./index.d.ts",
11
11
  "import": "./index.mjs"
12
12
  },
13
- "./css": "./index.css"
13
+ "./css": {
14
+ "types": "./css.d.ts",
15
+ "default": "./index.css"
16
+ }
14
17
  },
15
18
  "dependencies": {
16
- "@nightshadeui/components": "3.1.0",
17
- "@nightshadeui/stylesheets": "3.1.0"
19
+ "@nightshadeui/components": "3.2.0",
20
+ "@nightshadeui/stylesheets": "3.2.0"
18
21
  },
19
22
  "peerDependencies": {
20
23
  "vue": "^3.5.22"