@iyulab/house-style 0.8.1 → 0.9.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/CHANGELOG.md +19 -0
- package/package.json +2 -2
- package/styles/patterns.css +24 -0
- package/styles/tokens.css +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.0] - 2026-10-17
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- The reference app's sidebar foot is an account menu — the signed-in user's name, a role line and initials, with the theme
|
|
8
|
+
toggle and Sign out inside (`type: 'menu'` with `avatar` and `description`). The route guard that loads the session keeps the
|
|
9
|
+
user, and the shell reads it when the layout route renders (again after every sign-in), so the config needs no reactive
|
|
10
|
+
session.
|
|
11
|
+
- `.hs-note` — a collapsible explanation (`<details class="hs-note">`): an accent summary line, the body one step quieter,
|
|
12
|
+
760px at most. The guide also says that a section heading (`u-group-box` `meta` + `actions`) and a record heading
|
|
13
|
+
(`u-page-header` `eyebrow` + `status`) are components already — no pattern for them.
|
|
14
|
+
|
|
15
|
+
### Removed
|
|
16
|
+
|
|
17
|
+
- `--hs-control-sm` · `--hs-control-md` · `--hs-control-lg` — declared as «read by components.css», read by nothing.
|
|
18
|
+
Control heights follow from the density (`--u-density`) through the padding formula (32 / 36 / 40 at 14px), so the
|
|
19
|
+
literals would also have been wrong at any other density. A host control that wants the ladder measures a
|
|
20
|
+
`u-button` or sets its own height.
|
|
21
|
+
|
|
3
22
|
## [0.8.1] - 2026-10-17
|
|
4
23
|
|
|
5
24
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iyulab/house-style",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
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": {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@iyulab/components": "^2.29.0",
|
|
75
75
|
"@iyulab/data-components": "^0.51.0",
|
|
76
76
|
"@iyulab/enterprise": "^0.35.0",
|
|
77
|
-
"@iyulab/flex-table": "^0.
|
|
77
|
+
"@iyulab/flex-table": "^0.70.0",
|
|
78
78
|
"@iyulab/modern-app": "^0.56.0",
|
|
79
79
|
"@iyulab/router": "^0.24.0",
|
|
80
80
|
"@iyulab/u-widgets": "^0.35.0",
|
package/styles/patterns.css
CHANGED
|
@@ -160,6 +160,30 @@ tr[aria-selected='true'] .hs-row-actions {
|
|
|
160
160
|
align-items: start;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
/* ── Collapsible note — `<details class="hs-note">`: an accent summary line, the body one step quieter. For the
|
|
164
|
+
* explanation a screen can do without; the conclusion still goes in the title (callouts), not in here. ── */
|
|
165
|
+
.hs-note {
|
|
166
|
+
max-inline-size: 760px;
|
|
167
|
+
font-size: var(--u-text-label-size);
|
|
168
|
+
line-height: 1.55;
|
|
169
|
+
color: var(--u-txt-color-weak);
|
|
170
|
+
}
|
|
171
|
+
.hs-note > summary {
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
width: fit-content;
|
|
174
|
+
font-size: var(--u-text-body-size);
|
|
175
|
+
font-weight: 600;
|
|
176
|
+
color: var(--u-primary-color);
|
|
177
|
+
}
|
|
178
|
+
.hs-note > summary:focus-visible {
|
|
179
|
+
outline: 2px solid var(--u-focus-ring-color, var(--u-primary-color));
|
|
180
|
+
outline-offset: 2px;
|
|
181
|
+
border-radius: var(--u-radius-sm);
|
|
182
|
+
}
|
|
183
|
+
.hs-note > :not(summary) {
|
|
184
|
+
margin: var(--u-space-sm, 8px) 0 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
163
187
|
/* ── Form — label above, help below; sections instead of one long grid ── */
|
|
164
188
|
.hs-fieldset {
|
|
165
189
|
margin: 0;
|
package/styles/tokens.css
CHANGED
|
@@ -530,10 +530,8 @@
|
|
|
530
530
|
--u-text-overline-leading: 1.273;
|
|
531
531
|
--u-text-overline-tracking: 0.04em;
|
|
532
532
|
|
|
533
|
-
/* House-only scale —
|
|
534
|
-
|
|
535
|
-
--hs-control-md: 36px;
|
|
536
|
-
--hs-control-lg: 40px;
|
|
533
|
+
/* House-only scale — table rows (read by components.css · patterns.css). Control heights are not tokens: they
|
|
534
|
+
follow from the density (`--u-density`) through the padding formula in components.css, 32 / 36 / 40 at 14px. */
|
|
537
535
|
--hs-row: 44px;
|
|
538
536
|
--hs-row-compact: 36px;
|
|
539
537
|
--hs-page-padding: 20px 32px 48px;
|