@gouno/ui 0.3.4 → 0.3.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.
- package/CHANGELOG.md +10 -0
- package/dist/brand-icons/gosso-admin.svg +10 -0
- package/dist/brand-icons/gosso.svg +6 -0
- package/dist/brand-icons/gouno-blog.svg +5 -0
- package/dist/brand-icons/gouno-ui.svg +8 -0
- package/dist/brand-icons/gouno.svg +5 -0
- package/dist/core/selection-controls.js +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,16 @@ All notable changes to this project are documented here.
|
|
|
16
16
|
- Participating controls use English fallback consistently. Configure zhCN to retain Chinese defaults; existing explicit text remains authoritative. See [migration](docs/component-localization.md).
|
|
17
17
|
- Review completion retains scope/evidence and can reopen after a defect instead of requiring every catalog entry to remain permanently at 100.
|
|
18
18
|
|
|
19
|
+
## [0.3.5] - 2026-09-13
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- Published the canonical Gouno family product marks through `@gouno/ui/brand-icons/*` so product shells and Showcase can share the exact same SVG assets.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Normalized native Checkbox and Radio layout to a block formatting box so embedded selection controls no longer reserve inline baseline whitespace in cards and overlays.
|
|
28
|
+
|
|
19
29
|
## [0.3.4] - 2026-09-13
|
|
20
30
|
|
|
21
31
|
### Fixed
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128" fill="none" color="currentColor">
|
|
2
|
+
<title>Gosso Admin</title>
|
|
3
|
+
<path d="M94 20H48C32.536 20 20 32.536 20 48V80C20 95.464 32.536 108 48 108H80C95.464 108 108 95.464 108 80V66" stroke="currentColor" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<line x1="47" y1="49" x2="81" y2="49" stroke="currentColor" stroke-width="8" stroke-linecap="round"/>
|
|
5
|
+
<line x1="47" y1="64" x2="81" y2="64" stroke="currentColor" stroke-width="8" stroke-linecap="round"/>
|
|
6
|
+
<line x1="47" y1="79" x2="81" y2="79" stroke="currentColor" stroke-width="8" stroke-linecap="round"/>
|
|
7
|
+
<circle cx="57" cy="49" r="5" fill="currentColor"/>
|
|
8
|
+
<circle cx="72" cy="64" r="5" fill="currentColor"/>
|
|
9
|
+
<circle cx="63" cy="79" r="5" fill="currentColor"/>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128" fill="none" color="currentColor">
|
|
2
|
+
<title>Gosso</title>
|
|
3
|
+
<path d="M94 20H48C32.536 20 20 32.536 20 48V80C20 95.464 32.536 108 48 108H80C95.464 108 108 95.464 108 80V66" stroke="currentColor" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M53 57V52C53 45.925 57.925 41 64 41C70.075 41 75 45.925 75 52V57" stroke="currentColor" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M55 57H73C77.418 57 81 60.582 81 65V79C81 83.418 77.418 87 73 87H55C50.582 87 47 83.418 47 79V65C47 60.582 50.582 57 55 57ZM64 63C61.791 63 60 64.791 60 67C60 68.451 60.773 69.722 61.93 70.423V76C61.93 77.143 62.857 78.07 64 78.07C65.143 78.07 66.07 77.143 66.07 76V70.423C67.227 69.722 68 68.451 68 67C68 64.791 66.209 63 64 63Z" fill="currentColor"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128" fill="none" color="currentColor">
|
|
2
|
+
<title>Gouno Blog</title>
|
|
3
|
+
<path d="M94 20H48C32.536 20 20 32.536 20 48V80C20 95.464 32.536 108 48 108H80C95.464 108 108 95.464 108 80V66" stroke="currentColor" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M51 49H77C81.418 49 85 52.582 85 57V69C85 73.418 81.418 77 77 77H70L64 86L58 77H51C46.582 77 43 73.418 43 69V57C43 52.582 46.582 49 51 49Z" fill="currentColor"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128" fill="none" color="currentColor">
|
|
2
|
+
<title>Gouno UI</title>
|
|
3
|
+
<path d="M94 20H48C32.536 20 20 32.536 20 48V80C20 95.464 32.536 108 48 108H80C95.464 108 108 95.464 108 80V66" stroke="currentColor" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<rect x="42.5" y="42.5" width="17" height="17" rx="5" fill="currentColor"/>
|
|
5
|
+
<rect x="68.5" y="42.5" width="17" height="17" rx="5" fill="currentColor"/>
|
|
6
|
+
<rect x="42.5" y="68.5" width="17" height="17" rx="5" fill="currentColor"/>
|
|
7
|
+
<rect x="68.5" y="68.5" width="17" height="17" rx="5" fill="currentColor"/>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" width="128" height="128" fill="none" color="currentColor">
|
|
2
|
+
<title>Gouno</title>
|
|
3
|
+
<path d="M94 20H48C32.536 20 20 32.536 20 48V80C20 95.464 32.536 108 48 108H80C95.464 108 108 95.464 108 80V66" stroke="currentColor" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<circle cx="64" cy="64" r="13" fill="currentColor"/>
|
|
5
|
+
</svg>
|
|
@@ -5,7 +5,7 @@ import { cn } from "../lib/utils.js";
|
|
|
5
5
|
function CheckControl({ label, id, kind, className, ...props }) {
|
|
6
6
|
const generated = useId();
|
|
7
7
|
const controlId = id || generated;
|
|
8
|
-
const control = _jsx("input", { ...props, id: controlId, type: kind, className: cn("size-4 shrink-0 accent-primary disabled:opacity-50", className) });
|
|
8
|
+
const control = _jsx("input", { ...props, id: controlId, type: kind, className: cn("block size-4 shrink-0 accent-primary disabled:opacity-50", className) });
|
|
9
9
|
return label ? _jsxs("label", { htmlFor: controlId, className: "flex items-center gap-2 text-sm", children: [control, _jsx("span", { children: label })] }) : control;
|
|
10
10
|
}
|
|
11
11
|
export const Checkbox = (props) => _jsx(CheckControl, { ...props, kind: "checkbox" });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gouno/ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "Gouno product family UI, themes and administration template",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://rushairer.github.io/gouno-ui/",
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
"./tokens.css": "./dist/tokens.css",
|
|
53
53
|
"./base.css": "./dist/base.css",
|
|
54
54
|
"./bootstrap.js": "./dist/bootstrap.js",
|
|
55
|
-
"./fonts/*": "./dist/fonts/*"
|
|
55
|
+
"./fonts/*": "./dist/fonts/*",
|
|
56
|
+
"./brand-icons/*": "./dist/brand-icons/*"
|
|
56
57
|
},
|
|
57
58
|
"publishConfig": {
|
|
58
59
|
"access": "public",
|