@gridui/brand-link 1.0.5 → 1.0.7

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/README.md CHANGED
@@ -6,3 +6,5 @@ Import components from `@gridui/brand-link` and load `@gridui/brand-link/styles.
6
6
  Load styles for any composed dependency used by this family. Applications own routes, labels, state persistence, and branding.
7
7
 
8
8
  See [component ownership](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/docs/component-ownership.md) and [release history](https://github.com/sudo-ui/GridUI-React-Monorepo/tree/main/packages-core/brand-link/.changeset/history).
9
+
10
+ [Component reference](docs/reference/README.md) contains focused API pages for each public component.
package/docs/catalog.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "name": "@gridui/brand-link",
4
- "version": "1.0.5",
4
+ "version": "1.0.7",
5
5
  "category": "core",
6
6
  "description": "GridUI React brand link",
7
- "usage": "GridUI React brand link",
7
+ "usage": "Component reference contains focused API pages for each public component.",
8
8
  "documentation": [
9
- "README.md"
9
+ "README.md",
10
+ "docs/reference/README.md",
11
+ "docs/reference/brand-link.md"
10
12
  ],
11
13
  "exports": [
12
14
  {
@@ -25,6 +27,8 @@
25
27
  "@gridui/brand-link/styles.css"
26
28
  ],
27
29
  "examples": [
30
+ "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/brand-link/stories/brand-navigation.mdx",
31
+ "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/brand-link/stories/getting-started.mdx",
28
32
  "https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/brand-link/stories/brand-link.stories.tsx"
29
33
  ]
30
34
  }
@@ -0,0 +1,4 @@
1
+ <!-- Generated by pnpm docs:storybook. -->
2
+ # Component reference
3
+
4
+ - [BrandLink](brand-link.md)
@@ -0,0 +1,65 @@
1
+ <!-- Generated from public Props and owned stories. Run pnpm docs:storybook. -->
2
+ # BrandLink
3
+
4
+ Presents a brand name or mark as a navigation link. Use it in headers, footers, or other places that lead back to the site home.
5
+
6
+ Import from ``@gridui/brand-link`` and load Theme before this family's stylesheet.
7
+
8
+ ```tsx
9
+ import { BrandLink } from "@gridui/brand-link";
10
+ import "@gridui/theme/styles.css";
11
+ import "@gridui/brand-link/styles.css";
12
+ ```
13
+
14
+ Read the [package contract](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/brand-link/README.md) for shared behavior and stylesheet dependencies.
15
+
16
+ The [working composition](https://github.com/sudo-ui/GridUI-React-Monorepo/blob/main/packages-core/brand-link/stories/brand-link.stories.tsx) demonstrates required context, state, and related components. Use View code in Storybook to inspect the actual implementation.
17
+
18
+ ## API
19
+
20
+ The public Props type is the source of these signatures. Defaults below are explicit implementation defaults; story presets are separate. Native attributes remain available through the exported Props type.
21
+
22
+ ### children
23
+
24
+ ``ReactNode`` · Optional
25
+
26
+ Content rendered inside the component.
27
+
28
+ ### onFocus
29
+
30
+ ``(event: FocusEvent<HTMLAnchorElement, Element>): void`` · Optional
31
+
32
+ Called when the corresponding interaction occurs; inspect the arguments in Actions.
33
+
34
+ ### onBlur
35
+
36
+ ``(event: FocusEvent<HTMLAnchorElement, Element>): void`` · Optional
37
+
38
+ Called when the corresponding interaction occurs; inspect the arguments in Actions.
39
+
40
+ ### onChange
41
+
42
+ ``(event: ChangeEvent<HTMLAnchorElement, Element>): void`` · Optional
43
+
44
+ Called when the corresponding interaction occurs; inspect the arguments in Actions.
45
+
46
+ ### onSubmit
47
+
48
+ ``(event: SubmitEvent<HTMLAnchorElement>): void`` · Optional
49
+
50
+ Called when the corresponding interaction occurs; inspect the arguments in Actions.
51
+
52
+ ### onClick
53
+
54
+ ``(event: MouseEvent<HTMLAnchorElement, MouseEvent>): void`` · Optional
55
+
56
+ Called when the corresponding interaction occurs; inspect the arguments in Actions.
57
+
58
+ ### size
59
+
60
+ ``"standard" | "large" | "compact" | undefined`` · Optional
61
+
62
+ Default: ``"standard"``
63
+
64
+ Component size preset.
65
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridui/brand-link",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "GridUI React brand link",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -27,14 +27,14 @@
27
27
  "react-dom": "^19.2.0"
28
28
  },
29
29
  "dependencies": {
30
- "@gridui/style-utils": "^3.0.0",
31
- "@gridui/theme": "^2.5.3",
30
+ "@gridui/style-utils": "^4.0.0",
31
+ "@gridui/theme": "^3.0.0",
32
32
  "class-variance-authority": "0.7.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@gridui-internal/configuration": "0.0.0-internal",
36
36
  "@jest/globals": "30.5.2",
37
- "@storybook/react-vite": "10.6.6",
37
+ "@storybook/react-vite": "10.6.7",
38
38
  "@types/jest": "30.0.0",
39
39
  "@types/node": "26.6.6",
40
40
  "@types/react": "19.3.0",