@coolms/ui-react 0.1.0-alpha.26 → 0.1.0-alpha.27
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 +7 -0
- package/design-tokens.lock.json +5 -5
- package/dist/components/State.d.ts +3 -1
- package/dist/index.js +335 -332
- package/kit.contract.json +2 -1
- package/package.json +1 -1
- package/src/kit.css +1 -0
- package/src/tokens/coolms-tokens.css +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@coolms/ui-react` are listed here. Versions follow [semantic versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
+
## 0.1.0-alpha.27 (2026-11-23)
|
|
6
|
+
|
|
7
|
+
Design tokens v0.19.0: two icon names drawn for the workspace, and the empty pane's icon.
|
|
8
|
+
|
|
9
|
+
- `State`: the empty kind takes an optional `icon` (a name from the icon list, as the server's nodes give it), drawn above the title, decorative, 32px on a page and 24px elsewhere; a name the kit does not draw leaves no box.
|
|
10
|
+
- Design tokens v0.19.0: the icon list 0.8.0 names `chat-dots` and `folder2-open` for the workspace too, and the kit draws them as `chat` and `folder`; the components contract 0.12.0 (pane header row, list selection), with `settings-shell` not offered until a screen of the kit draws a settings layout.
|
|
11
|
+
|
|
5
12
|
## 0.1.0-alpha.26 (2026-11-23)
|
|
6
13
|
|
|
7
14
|
Mail rows back to three lines at every width, on design tokens v0.14.0.
|
package/design-tokens.lock.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "coolms/design-tokens",
|
|
3
|
-
"tag": "v0.
|
|
4
|
-
"commit": "
|
|
3
|
+
"tag": "v0.19.0",
|
|
4
|
+
"commit": "b565620abfc9626aae52bd9fa9076b377068b257",
|
|
5
5
|
"files": {
|
|
6
6
|
"dist/coolms-tokens.css": {
|
|
7
7
|
"to": "src/tokens/coolms-tokens.css",
|
|
8
|
-
"sha256": "
|
|
8
|
+
"sha256": "8913f190633292fd3e991bfacd3ed9e0927c98c2c46f533161cc4adebd948a21"
|
|
9
9
|
},
|
|
10
10
|
"contract/components.json": {
|
|
11
11
|
"to": "contract/components.json",
|
|
12
|
-
"sha256": "
|
|
12
|
+
"sha256": "b95106d16e3ec77399690042fb2f4037606222eb0419629d3386fe260d11f1a6"
|
|
13
13
|
},
|
|
14
14
|
"contract/server-states.json": {
|
|
15
15
|
"to": "contract/server-states.json",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"contract/icons.json": {
|
|
47
47
|
"to": "contract/icons.json",
|
|
48
|
-
"sha256": "
|
|
48
|
+
"sha256": "5d107ac1d99e7a1a5914f6497799b0984e663b7d3f095bb1c40e8d6f84a0b088"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -18,6 +18,8 @@ export interface StateProps {
|
|
|
18
18
|
readonly onAction: () => void;
|
|
19
19
|
};
|
|
20
20
|
readonly placement?: StatePlacement;
|
|
21
|
+
/** The empty kind only: an icon name from the icon list (as the server's nodes name them), drawn above the title, decorative. */
|
|
22
|
+
readonly icon?: string;
|
|
21
23
|
}
|
|
22
24
|
/** How long a loading state shows nothing, so a read answered sooner does not flash: the `state-delay` token. */
|
|
23
25
|
export declare const STATE_DELAY_MS = 300;
|
|
@@ -28,4 +30,4 @@ export declare const STATE_DELAY_MS = 300;
|
|
|
28
30
|
* nor title -- until the state delay has passed, then both together, while its title is in the live region from the
|
|
29
31
|
* start, visually hidden.
|
|
30
32
|
*/
|
|
31
|
-
export declare function State({ kind, title, description, action, placement }: StateProps): ReactNode;
|
|
33
|
+
export declare function State({ kind, title, description, action, placement, icon }: StateProps): ReactNode;
|