nightshade 2.6.1 → 2.8.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.
Files changed (3) hide show
  1. package/AGENTS.md +33 -0
  2. package/index.css +1 -1
  3. package/package.json +3 -3
package/AGENTS.md ADDED
@@ -0,0 +1,33 @@
1
+ # AGENTS Guide: nightshade
2
+
3
+ ## Purpose
4
+
5
+ `nightshade` is the umbrella distribution package. It exposes a simple public API for consumers:
6
+ - JS exports from `@nightshadeui/core`
7
+ - CSS entrypoint combining core CSS and stylesheets
8
+
9
+ ## Shared Repository Guidelines (Required)
10
+
11
+ All edits in this package must follow the shared repository guidelines in `docs/GUIDELINES.md`.
12
+
13
+ ## Existing Architecture
14
+
15
+ - `index.mjs`: re-export all from `@nightshadeui/core`.
16
+ - `index.d.ts`: mirrors the same type re-export.
17
+ - `index.css`: imports `@nightshadeui/stylesheets` and `@nightshadeui/core/css` (scoped styles of core components).
18
+
19
+ ## Conventions
20
+
21
+ - Keep this package thin: no runtime logic, no component definitions.
22
+ - Keep JS and type exports aligned (if `index.mjs` changes, `index.d.ts` must match).
23
+ - Preserve CSS import order unless there is a deliberate layering change.
24
+ - Dependency versions for `@nightshadeui/core` and `@nightshadeui/stylesheets` stay synchronized with workspace versioning.
25
+
26
+ ## Editing Rules
27
+
28
+ - Prefer changes in source packages (`core`, `stylesheets`) over adding behavior here.
29
+ - Only modify this package when changing public packaging/export behavior.
30
+
31
+ ## Useful Commands
32
+
33
+ - Validate package through workspace build: `npm run build`
package/index.css CHANGED
@@ -1,2 +1,2 @@
1
- @import '@nightshadeui/core/css';
2
1
  @import '@nightshadeui/stylesheets';
2
+ @import '@nightshadeui/core/css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nightshade",
3
- "version": "2.6.1",
3
+ "version": "2.8.0",
4
4
  "description": "Scalabe design system for Vue",
5
5
  "author": "Boris Okunskiy",
6
6
  "license": "ISC",
@@ -13,8 +13,8 @@
13
13
  "./css": "./index.css"
14
14
  },
15
15
  "dependencies": {
16
- "@nightshadeui/core": "2.6.1",
17
- "@nightshadeui/stylesheets": "2.6.1"
16
+ "@nightshadeui/core": "2.8.0",
17
+ "@nightshadeui/stylesheets": "2.8.0"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "vue": "^3.5.22"