@schandlergarcia/sf-web-components 2.3.0 → 2.3.1
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/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/scripts/apply-brand.mjs +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.3.1] - 2026-04-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Demo preserves neutral theme** — `demo:engine` no longer copies the brand's `global.css`. The app installs with the neutral palette so the brand transformation is visible when you run `brand:engine`.
|
|
12
|
+
|
|
8
13
|
## [2.3.0] - 2026-04-10
|
|
9
14
|
|
|
10
15
|
### Added
|
package/package.json
CHANGED
package/scripts/apply-brand.mjs
CHANGED
|
@@ -142,7 +142,8 @@ if (isDemo) {
|
|
|
142
142
|
let installed = 0;
|
|
143
143
|
|
|
144
144
|
// Copy the full app directory tree into src/
|
|
145
|
-
|
|
145
|
+
// Note: 'styles' is deliberately excluded — demo keeps the neutral theme
|
|
146
|
+
const appSubdirs = ['pages', 'hooks', 'api', 'config', 'features', 'components/workspace', 'components/alerts', 'components/layouts'];
|
|
146
147
|
|
|
147
148
|
for (const sub of appSubdirs) {
|
|
148
149
|
const src = path.join(appDir, sub);
|