@iyulab/house-style 0.1.4 → 0.1.5

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/CHANGELOG.md +9 -0
  2. package/README.md +8 -3
  3. package/package.json +19 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.5] - 2026-10-09
4
+
5
+ ### Fixed
6
+
7
+ - **The `@iyulab/modern-app` peer range now starts where the theme takes effect: `>=0.39.0`** (was `>=0.34.0`). The
8
+ theme sets `--app-sidebar-group-active-fg` so a sidebar group header that holds the current page stays readable on
9
+ the theme's light active surface; modern-app reads that property from 0.39.0. With 0.34–0.38 the range allowed it,
10
+ and the header text was derived from the surface instead — about 1.6:1 contrast in light mode.
11
+
3
12
  ## [0.1.4] - 2026-10-07
4
13
 
5
14
  ### Fixed
package/README.md CHANGED
@@ -100,9 +100,14 @@ The live page is organized into sections:
100
100
  ## The reference app
101
101
 
102
102
  The guide has a second half: a small but working line-of-business app, assembled only from
103
- these libraries, at **https://iyulab.github.io/house-style/app/** (sign in with `demo` / `demo`
104
- — the backend is mocked in the browser, there are no real accounts). It is reachable from the
105
- guide's sidebar under "Open the reference app".
103
+ these libraries, at **https://iyulab.github.io/house-style/app/** (sign in with `demo` / `demo`,
104
+ or `viewer` / `viewer` for a read-only account — the backend is mocked in the browser, there are
105
+ no real accounts). It is reachable from the guide's sidebar under "Open the reference app".
106
+
107
+ The two accounts show permissions end to end: one permission decides both whether a link or
108
+ action is shown and whether its route lets the user in. The read-only account sees no create or
109
+ cancel actions, and opening the new-order screen by its address shows the blocked state
110
+ (`<u-empty-state variant="no-access">`) inside the shell.
106
111
 
107
112
  Where the guide shows each pattern on its own, the app shows them load-bearing: a sidebar shell,
108
113
  a list screen with filtering, selection and bulk actions, a master-detail order screen with an
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iyulab/house-style",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "The iyulab house theme: a CSS-only theme for @iyulab components — tokens, component recipes, line-of-business layout patterns and a Tailwind CSS v4 preset — plus the guide site that documents it.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -37,11 +37,19 @@
37
37
  "typecheck": "tsc --noEmit",
38
38
  "check:guide": "node scripts/check-guide.mjs",
39
39
  "check:a11y": "node scripts/check-a11y.mjs",
40
+ "check:ladder": "node scripts/check-ladder.mjs",
40
41
  "check:start-here": "node scripts/check-start-here.mjs",
41
42
  "check:start-here:local": "node scripts/check-start-here.mjs --local",
42
43
  "pretest": "node -e \"if(require('fs').existsSync('../../scripts/sibling-dist-check.js'))require('child_process').execFileSync('node',['../../scripts/sibling-dist-check.js'],{stdio:'inherit'})\"",
43
44
  "test": "node --test \"tests/*.test.mjs\""
44
45
  },
46
+ "iyulab": {
47
+ "upstreamChecks": {
48
+ "@iyulab/components": [
49
+ "check:ladder"
50
+ ]
51
+ }
52
+ },
45
53
  "engines": {
46
54
  "node": ">=20"
47
55
  },
@@ -51,7 +59,7 @@
51
59
  "peerDependencies": {
52
60
  "@iyulab/components": "^2.0.0",
53
61
  "@iyulab/flex-table": ">=0.41.0",
54
- "@iyulab/modern-app": ">=0.34.0"
62
+ "@iyulab/modern-app": ">=0.39.0"
55
63
  },
56
64
  "peerDependenciesMeta": {
57
65
  "@iyulab/flex-table": {
@@ -62,16 +70,17 @@
62
70
  }
63
71
  },
64
72
  "devDependencies": {
65
- "@iyulab/components": "^2.0.0",
66
- "@iyulab/data-components": "^0.43.0",
67
- "@iyulab/enterprise": "^0.26.0",
68
- "@iyulab/modern-app": "^0.43.0",
69
- "@iyulab/router": "^0.20.0",
70
- "@iyulab/u-widgets": "^0.26.0",
73
+ "@iyulab/components": "^2.19.0",
74
+ "@iyulab/data-components": "^0.47.0",
75
+ "@iyulab/enterprise": "^0.29.0",
76
+ "@iyulab/flex-table": "^0.64.0",
77
+ "@iyulab/modern-app": "^0.49.0",
78
+ "@iyulab/router": "^0.21.0",
79
+ "@iyulab/u-widgets": "^0.29.0",
71
80
  "@lit/react": "^1.0.8",
72
81
  "@types/node": "^26.1.1",
73
- "@types/react": "^19.2.14",
74
- "@types/react-dom": "^19.2.3",
82
+ "@types/react": "^19.3.0",
83
+ "@types/react-dom": "^19.3.0",
75
84
  "axe-core": "^4.14.0",
76
85
  "echarts": "^6.1.0",
77
86
  "lit": "^3.3.2",