@cloudfrogger/goodui 0.0.65 → 0.0.72
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/ai/README.md +15 -0
- package/ai/case-studies/dockerhub.md +7 -0
- package/ai/case-studies/index.md +1 -0
- package/ai/catalog/component.schema.json +6 -0
- package/ai/catalog/components/good-action-menu.json +2 -2
- package/ai/catalog/components/good-alert.json +2 -2
- package/ai/catalog/components/{good-topbar.json → good-app-header.json} +75 -81
- package/ai/catalog/components/{good-app-layout.json → good-app-shell.json} +32 -68
- package/ai/catalog/components/good-brand-icon.json +6 -6
- package/ai/catalog/components/good-button.json +2 -2
- package/ai/catalog/components/good-dropdown.json +2 -2
- package/ai/catalog/components/good-header-actions.json +10 -1
- package/ai/catalog/components/{good-topbar-dropdown-item.json → good-header-dropdown-item.json} +17 -17
- package/ai/catalog/components/{good-topbar-dropdown-menu.json → good-header-dropdown-menu.json} +14 -14
- package/ai/catalog/components/{good-topbar-menu-item.json → good-header-menu-item.json} +17 -15
- package/ai/catalog/components/{good-topbar-menu-container.json → good-header-menu.json} +16 -14
- package/ai/catalog/components/good-header-search.json +12 -3
- package/ai/catalog/components/{good-topbar-submenu.json → good-header-submenu.json} +12 -12
- package/ai/catalog/components/good-header-themetoggle.json +3 -1
- package/ai/catalog/components/{good-heading.json → good-heading-1.json} +15 -33
- package/ai/catalog/components/good-heading-2.json +46 -0
- package/ai/catalog/components/{good-subheading.json → good-heading-3.json} +9 -30
- package/ai/catalog/components/good-heading-4.json +46 -0
- package/ai/catalog/components/good-heading-5.json +46 -0
- package/ai/catalog/components/good-heading-6.json +46 -0
- package/ai/catalog/components/good-heading-7.json +46 -0
- package/ai/catalog/components/good-heading-group.json +1 -1
- package/ai/catalog/components/good-main-view.json +6 -49
- package/ai/catalog/components/good-notification-host.json +1 -1
- package/ai/catalog/components/good-section.json +20 -2
- package/ai/catalog/components/good-sidebar-item.json +4 -2
- package/ai/catalog/components/good-sidebar-menu-container.json +4 -2
- package/ai/catalog/components/good-sidebar-submenu-group.json +1 -1
- package/ai/catalog/components/good-sidebar-submenu-item.json +1 -1
- package/ai/catalog/components/{good-sidebar-container.json → good-sidebar.json} +23 -26
- package/ai/catalog/components/good-summary.json +6 -1
- package/ai/catalog/index.json +170 -110
- package/ai/examples/edit-form.html +3 -1
- package/ai/examples/edit-form.ts +2 -2
- package/ai/examples/login.html +3 -1
- package/ai/examples/login.ts +2 -2
- package/ai/examples/settings.html +3 -1
- package/ai/examples/settings.ts +2 -2
- package/ai/examples/shell.html +18 -0
- package/ai/examples/shell.ts +11 -0
- package/ai/examples/table-view.html +3 -1
- package/ai/examples/table-view.ts +2 -2
- package/ai/examples/tsconfig.json +2 -1
- package/ai/guides/component-discovery.md +2 -2
- package/ai/guides/layout.md +5 -3
- package/ai/guides/page-patterns.md +7 -3
- package/ai/manifest.json +2 -2
- package/ai/skill/goodui/SKILL.md +11 -3
- package/angular/projects/goodui/package.json +1 -1
- package/angular/projects/goodui/src/lib/actions.ts +27 -3
- package/angular/projects/goodui/src/lib/app-shell.ts +109 -0
- package/angular/projects/goodui/src/lib/{topbar.ts → header.ts} +96 -69
- package/angular/projects/goodui/src/lib/main-view.ts +22 -13
- package/angular/projects/goodui/src/lib/shell-context.ts +46 -0
- package/angular/projects/goodui/src/lib/sidebar.ts +58 -40
- package/angular/projects/goodui/src/lib/typography.ts +51 -41
- package/angular/projects/goodui/src/public-api.ts +2 -2
- package/angular/projects/goodui/src/styles.css +95 -61
- package/angular/projects/goodui/src/tokens.generated.css +43 -6
- package/design/app-shell-contract.json +118 -0
- package/design/component-map.json +153 -71
- package/design/header-search-variants.json +55 -0
- package/design/typography-components.json +327 -0
- package/design-tokens/penpot.tokens.json +160 -6
- package/design.md +49 -37
- package/fesm2022/cloudfrogger-goodui.mjs +501 -342
- package/fesm2022/cloudfrogger-goodui.mjs.map +1 -1
- package/guides/README.md +1 -1
- package/guides/components/action-bar.md +1 -1
- package/guides/components/app-header.md +27 -0
- package/guides/components/columns.md +3 -3
- package/guides/components/header-actions.md +10 -5
- package/guides/components/header-avatar.md +1 -1
- package/guides/components/header-menu.md +64 -0
- package/guides/components/header-notification.md +1 -1
- package/guides/components/header-search.md +26 -5
- package/guides/components/header-themetoggle.md +3 -3
- package/guides/components/icon.md +1 -1
- package/guides/components/main-view.md +30 -8
- package/guides/components/notifications.md +1 -1
- package/guides/components/settings.md +1 -1
- package/guides/components/sidebar.md +16 -34
- package/guides/components/submenus.md +4 -4
- package/guides/components/subnav.md +4 -3
- package/guides/components/typography.md +76 -19
- package/guides/contributing/design-to-code.md +61 -31
- package/guides/foundations/naming.md +1 -1
- package/guides/foundations/tokens.md +7 -7
- package/guides/intro.md +17 -19
- package/guides/layout/app-shell.md +37 -0
- package/guides/layout/layout-rules.md +2 -2
- package/guides/migrations/app-shell.md +28 -0
- package/guides/migrations/explicit-headings.md +20 -0
- package/guides/migrations/header-actions.md +1 -1
- package/guides/migrations/header-menu.md +16 -0
- package/homepage/src/app/examples/calendar-workspace/calendar-workspace-page.ts +2 -10
- package/homepage/src/app/examples/calendar-workspace/source-code.generated.ts +1 -1
- package/homepage/src/app/examples/case-studies/cloudhoster/billing-page.html +6 -4
- package/homepage/src/app/examples/case-studies/cloudhoster/billing-page.ts +2 -20
- package/homepage/src/app/examples/case-studies/cloudhoster/create-database-page.html +5 -5
- package/homepage/src/app/examples/case-studies/cloudhoster/create-database-page.ts +2 -20
- package/homepage/src/app/examples/case-studies/cloudhoster/database-detail-page.html +3 -1
- package/homepage/src/app/examples/case-studies/cloudhoster/database-detail-page.ts +2 -20
- package/homepage/src/app/examples/case-studies/cloudhoster/databases-page.html +7 -5
- package/homepage/src/app/examples/case-studies/cloudhoster/databases-page.ts +2 -14
- package/homepage/src/app/examples/case-studies/cloudhoster/home-page.html +4 -4
- package/homepage/src/app/examples/case-studies/cloudhoster/home-page.ts +2 -12
- package/homepage/src/app/examples/case-studies/cloudhoster/source-code.generated.ts +10 -10
- package/homepage/src/app/examples/case-studies/vpshoster/create-server-page.html +6 -6
- package/homepage/src/app/examples/case-studies/vpshoster/create-server-page.ts +2 -18
- package/homepage/src/app/examples/case-studies/vpshoster/overview-page.html +4 -4
- package/homepage/src/app/examples/case-studies/vpshoster/overview-page.ts +2 -8
- package/homepage/src/app/examples/case-studies/vpshoster/servers-page.html +4 -1
- package/homepage/src/app/examples/case-studies/vpshoster/servers-page.ts +2 -12
- package/homepage/src/app/examples/case-studies/vpshoster/source-code.generated.ts +4 -4
- package/homepage/src/app/examples/case-studies/webmailer/webmailer-page.html +4 -4
- package/homepage/src/app/examples/case-studies/webmailer/webmailer-page.ts +2 -8
- package/homepage/src/app/examples/error-pages/error-pages-example-page.html +3 -1
- package/homepage/src/app/examples/error-pages/error-pages-example-page.ts +2 -7
- package/homepage/src/app/examples/error-pages/source-code.generated.ts +2 -2
- package/homepage/src/app/examples/mail-compose/mail-compose-page.ts +2 -4
- package/homepage/src/app/examples/mail-workspace/mail-workspace-page.ts +2 -10
- package/homepage/src/app/examples/mail-workspace/source-code.generated.ts +1 -1
- package/homepage/src/app/examples/notifications/notifications-page.html +3 -1
- package/homepage/src/app/examples/notifications/notifications-page.ts +2 -8
- package/homepage/src/app/examples/notifications/source-code.generated.ts +2 -2
- package/homepage/src/app/examples/pdf-reader/pdf-reader-page.html +3 -1
- package/homepage/src/app/examples/pdf-reader/pdf-reader-page.ts +2 -7
- package/homepage/src/app/examples/pdf-reader/source-code.generated.ts +2 -2
- package/homepage/src/app/examples/user-registration/source-code.generated.ts +3 -3
- package/homepage/src/app/examples/user-registration/user-registration-example-page.html +1 -1
- package/homepage/src/app/examples/user-registration/user-registration-example-page.ts +2 -2
- package/homepage/src/app/examples/user-registration/user-registration-form.ts +2 -13
- package/homepage/src/app/examples/user-registration/user-registration-page.html +1 -1
- package/homepage/src/app/examples/user-registration/user-registration-page.ts +2 -7
- package/package.json +2 -2
- package/styles.css +1 -1
- package/types/cloudfrogger-goodui.d.ts +202 -107
- package/angular/projects/goodui/src/lib/app-layout.ts +0 -84
- package/guides/components/topbar.md +0 -89
- package/guides/layout/app-layout.md +0 -81
package/ai/README.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# GoodUI for coding agents
|
|
2
2
|
|
|
3
|
+
## Start a Penpot design without Angular
|
|
4
|
+
|
|
5
|
+
Open an empty local project folder in your editor. From that folder, install the skill directly from GitHub for Codex:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
mkdir -p .agents/skills/goodui
|
|
9
|
+
curl -fL https://raw.githubusercontent.com/cloudfrogger/goodui/master/ai/skill/goodui/SKILL.md -o .agents/skills/goodui/SKILL.md
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
For Claude Code, replace `.agents` with `.claude` in both commands. Start a new agent session afterward. This downloads the current skill from `master`; it does not install an Angular package or the Penpot library.
|
|
13
|
+
|
|
14
|
+
In Penpot, create a project and a design file, then add the shared GoodUI library through **Assets** and the library manager. Your Penpot team needs access to the GoodUI file, shared as a library. Connect your agent to Penpot through MCP and provide the target file and GoodUI library links. Ask: “Use the GoodUI skill. Inspect the shared GoodUI library and create desktop and mobile designs for a searchable people directory in my open file. Use linked components. Do not write Angular code yet.”
|
|
15
|
+
|
|
16
|
+
The skill can use the live library and relevant GitHub references for design-only work. For Angular implementation, install the package and use its version-matched references below.
|
|
17
|
+
|
|
3
18
|
## Set up an Angular project
|
|
4
19
|
|
|
5
20
|
Install `@cloudfrogger/goodui` with npm and import `@cloudfrogger/goodui/styles.css` in the application's global stylesheet. Follow the homepage's Developing chapter for the root providers and application shell.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# DockerHub header search
|
|
2
|
+
|
|
3
|
+
Reference: `artwork/dockerhub-example.png`. Ignore the white strip across the middle of the reference; it is a rendering artifact.
|
|
4
|
+
|
|
5
|
+
The header combines a wide search trigger with independent account actions. GoodUI reproduces this reusable pattern with `good-header-actions`, `good-header-search [hotkey]="true"`, `good-header-notification`, and `good-header-avatar`. It uses the existing navigation search dialog and application-supplied `GoodSearchItem` records. This study records the header pattern; a complete DockerHub application recreation is not implemented here.
|
|
6
|
+
|
|
7
|
+
The search trigger uses the published Penpot `goodui.search` hotkey variant, linked Lucide artwork, and theme-bound tokens. The hint uses Ctrl K or ⌘ K according to platform. On smaller viewports it collapses to the compact action while retaining keyboard access. See [Header search](../../guides/components/header-search.md) for the public API and [variant registry](../../design/header-search-variants.json) for the design mapping.
|
package/ai/case-studies/index.md
CHANGED
|
@@ -4,6 +4,7 @@ Case studies document a working application context. Open one only when the task
|
|
|
4
4
|
|
|
5
5
|
| Study | When to open it | Detail |
|
|
6
6
|
| --- | --- | --- |
|
|
7
|
+
| DockerHub header | A wide navigation search trigger with a shortcut hint and independent account actions | [DockerHub header](dockerhub.md) |
|
|
7
8
|
| Webmailer | A workspace with grouped commands, folders, a selectable list, preview, and rich text composition | [Webmailer](webmailer.md) |
|
|
8
9
|
| VPS hoster | A sortable server list with filters and a multi-section server configuration flow | [VPS hoster](vpshoster.md) |
|
|
9
10
|
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"required": false,
|
|
27
27
|
"default": "outline",
|
|
28
28
|
"allowedValues": [
|
|
29
|
-
"outline",
|
|
30
29
|
"default",
|
|
30
|
+
"outline",
|
|
31
31
|
"secondary",
|
|
32
32
|
"destructive",
|
|
33
33
|
"ghost"
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"outputs": [],
|
|
71
71
|
"variants": {
|
|
72
72
|
"variant": [
|
|
73
|
-
"outline",
|
|
74
73
|
"default",
|
|
74
|
+
"outline",
|
|
75
75
|
"secondary",
|
|
76
76
|
"destructive",
|
|
77
77
|
"ghost"
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"default": "default",
|
|
33
33
|
"allowedValues": [
|
|
34
34
|
"mono",
|
|
35
|
-
"outline",
|
|
36
35
|
"default",
|
|
36
|
+
"outline",
|
|
37
37
|
"light"
|
|
38
38
|
],
|
|
39
39
|
"source": "angular/projects/goodui/src/lib/alert.ts",
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
],
|
|
128
128
|
"appearance": [
|
|
129
129
|
"mono",
|
|
130
|
-
"outline",
|
|
131
130
|
"default",
|
|
131
|
+
"outline",
|
|
132
132
|
"light"
|
|
133
133
|
],
|
|
134
134
|
"size": [
|
|
@@ -1,168 +1,166 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "../component.schema.json",
|
|
3
|
-
"selector": "good-
|
|
4
|
-
"className": "
|
|
3
|
+
"selector": "good-app-header",
|
|
4
|
+
"className": "GoodAppHeaderComponent",
|
|
5
5
|
"kind": "component",
|
|
6
6
|
"import": {
|
|
7
7
|
"package": "@cloudfrogger/goodui",
|
|
8
|
-
"symbol": "
|
|
8
|
+
"symbol": "GoodAppHeaderComponent"
|
|
9
9
|
},
|
|
10
|
-
"source": "angular/projects/goodui/src/lib/
|
|
10
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
11
11
|
"inputs": [
|
|
12
12
|
{
|
|
13
13
|
"name": "brand",
|
|
14
14
|
"type": "string",
|
|
15
15
|
"required": false,
|
|
16
|
-
"default":
|
|
16
|
+
"default": {
|
|
17
|
+
"expression": "undefined"
|
|
18
|
+
},
|
|
17
19
|
"allowedValues": null,
|
|
18
|
-
"source": "angular/projects/goodui/src/lib/
|
|
20
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
19
21
|
"kind": "input"
|
|
20
22
|
},
|
|
21
23
|
{
|
|
22
24
|
"name": "brandLogoSrc",
|
|
23
25
|
"type": "string",
|
|
24
26
|
"required": false,
|
|
25
|
-
"default":
|
|
27
|
+
"default": {
|
|
28
|
+
"expression": "undefined"
|
|
29
|
+
},
|
|
26
30
|
"allowedValues": null,
|
|
27
|
-
"source": "angular/projects/goodui/src/lib/
|
|
31
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
28
32
|
"kind": "input"
|
|
29
33
|
},
|
|
30
34
|
{
|
|
31
35
|
"name": "brandLogoDarkSrc",
|
|
32
36
|
"type": "string",
|
|
33
37
|
"required": false,
|
|
34
|
-
"default":
|
|
38
|
+
"default": {
|
|
39
|
+
"expression": "undefined"
|
|
40
|
+
},
|
|
35
41
|
"allowedValues": null,
|
|
36
|
-
"source": "angular/projects/goodui/src/lib/
|
|
42
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
37
43
|
"kind": "input"
|
|
38
44
|
},
|
|
39
45
|
{
|
|
40
46
|
"name": "brandMarkSrc",
|
|
41
47
|
"type": "string",
|
|
42
48
|
"required": false,
|
|
43
|
-
"default":
|
|
49
|
+
"default": {
|
|
50
|
+
"expression": "undefined"
|
|
51
|
+
},
|
|
44
52
|
"allowedValues": null,
|
|
45
|
-
"source": "angular/projects/goodui/src/lib/
|
|
53
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
46
54
|
"kind": "input"
|
|
47
55
|
},
|
|
48
56
|
{
|
|
49
57
|
"name": "brandMarkDarkSrc",
|
|
50
58
|
"type": "string",
|
|
51
59
|
"required": false,
|
|
52
|
-
"default":
|
|
60
|
+
"default": {
|
|
61
|
+
"expression": "undefined"
|
|
62
|
+
},
|
|
53
63
|
"allowedValues": null,
|
|
54
|
-
"source": "angular/projects/goodui/src/lib/
|
|
64
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
55
65
|
"kind": "input"
|
|
56
66
|
},
|
|
57
67
|
{
|
|
58
68
|
"name": "showBrandIcon",
|
|
59
69
|
"type": "boolean",
|
|
60
70
|
"required": false,
|
|
61
|
-
"default":
|
|
71
|
+
"default": {
|
|
72
|
+
"expression": "undefined"
|
|
73
|
+
},
|
|
62
74
|
"allowedValues": null,
|
|
63
|
-
"source": "angular/projects/goodui/src/lib/
|
|
75
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
64
76
|
"kind": "input"
|
|
65
77
|
},
|
|
66
78
|
{
|
|
67
79
|
"name": "showMobileBrand",
|
|
68
80
|
"type": "boolean",
|
|
69
81
|
"required": false,
|
|
70
|
-
"default":
|
|
82
|
+
"default": {
|
|
83
|
+
"expression": "undefined"
|
|
84
|
+
},
|
|
71
85
|
"allowedValues": null,
|
|
72
|
-
"source": "angular/projects/goodui/src/lib/
|
|
73
|
-
"kind": "input"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "items",
|
|
77
|
-
"type": "readonly GoodTopbarItem[]",
|
|
78
|
-
"required": false,
|
|
79
|
-
"default": [],
|
|
80
|
-
"allowedValues": null,
|
|
81
|
-
"source": "angular/projects/goodui/src/lib/topbar.ts",
|
|
82
|
-
"kind": "input"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "activeRoute",
|
|
86
|
-
"type": "string",
|
|
87
|
-
"required": false,
|
|
88
|
-
"default": "",
|
|
89
|
-
"allowedValues": null,
|
|
90
|
-
"source": "angular/projects/goodui/src/lib/topbar.ts",
|
|
91
|
-
"kind": "input"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"name": "mobileMenuMode",
|
|
95
|
-
"type": "GoodTopbarMobileMenuMode",
|
|
96
|
-
"required": false,
|
|
97
|
-
"default": "hidden",
|
|
98
|
-
"allowedValues": [
|
|
99
|
-
"hidden",
|
|
100
|
-
"popup"
|
|
101
|
-
],
|
|
102
|
-
"source": "angular/projects/goodui/src/lib/topbar.ts",
|
|
86
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
103
87
|
"kind": "input"
|
|
104
88
|
},
|
|
105
89
|
{
|
|
106
90
|
"name": "user",
|
|
107
91
|
"type": "GoodUser",
|
|
108
92
|
"required": false,
|
|
109
|
-
"default":
|
|
93
|
+
"default": {
|
|
94
|
+
"expression": "undefined"
|
|
95
|
+
},
|
|
110
96
|
"allowedValues": null,
|
|
111
|
-
"source": "angular/projects/goodui/src/lib/
|
|
97
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
112
98
|
"kind": "input"
|
|
113
99
|
},
|
|
114
100
|
{
|
|
115
101
|
"name": "notifications",
|
|
116
102
|
"type": "readonly GoodNotification[]",
|
|
117
103
|
"required": false,
|
|
118
|
-
"default":
|
|
104
|
+
"default": {
|
|
105
|
+
"expression": "undefined"
|
|
106
|
+
},
|
|
119
107
|
"allowedValues": null,
|
|
120
|
-
"source": "angular/projects/goodui/src/lib/
|
|
108
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
121
109
|
"kind": "input"
|
|
122
110
|
},
|
|
123
111
|
{
|
|
124
112
|
"name": "searchItems",
|
|
125
113
|
"type": "readonly GoodSearchItem[]",
|
|
126
114
|
"required": false,
|
|
127
|
-
"default":
|
|
115
|
+
"default": {
|
|
116
|
+
"expression": "undefined"
|
|
117
|
+
},
|
|
128
118
|
"allowedValues": null,
|
|
129
|
-
"source": "angular/projects/goodui/src/lib/
|
|
119
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
130
120
|
"kind": "input"
|
|
131
121
|
},
|
|
132
122
|
{
|
|
133
123
|
"name": "settingsActions",
|
|
134
124
|
"type": "readonly GoodMenuAction[]",
|
|
135
125
|
"required": false,
|
|
136
|
-
"default":
|
|
126
|
+
"default": {
|
|
127
|
+
"expression": "undefined"
|
|
128
|
+
},
|
|
137
129
|
"allowedValues": null,
|
|
138
|
-
"source": "angular/projects/goodui/src/lib/
|
|
130
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
139
131
|
"kind": "input"
|
|
140
132
|
},
|
|
141
133
|
{
|
|
142
134
|
"name": "showThemeToggle",
|
|
143
135
|
"type": "boolean",
|
|
144
136
|
"required": false,
|
|
145
|
-
"default":
|
|
137
|
+
"default": {
|
|
138
|
+
"expression": "undefined"
|
|
139
|
+
},
|
|
146
140
|
"allowedValues": null,
|
|
147
|
-
"source": "angular/projects/goodui/src/lib/
|
|
141
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
148
142
|
"kind": "input"
|
|
149
143
|
},
|
|
150
144
|
{
|
|
151
145
|
"name": "showSettings",
|
|
152
146
|
"type": "boolean",
|
|
153
147
|
"required": false,
|
|
154
|
-
"default":
|
|
148
|
+
"default": {
|
|
149
|
+
"expression": "undefined"
|
|
150
|
+
},
|
|
155
151
|
"allowedValues": null,
|
|
156
|
-
"source": "angular/projects/goodui/src/lib/
|
|
152
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
157
153
|
"kind": "input"
|
|
158
154
|
},
|
|
159
155
|
{
|
|
160
156
|
"name": "avatarActions",
|
|
161
157
|
"type": "readonly GoodMenuAction[]",
|
|
162
158
|
"required": false,
|
|
163
|
-
"default":
|
|
159
|
+
"default": {
|
|
160
|
+
"expression": "undefined"
|
|
161
|
+
},
|
|
164
162
|
"allowedValues": null,
|
|
165
|
-
"source": "angular/projects/goodui/src/lib/
|
|
163
|
+
"source": "angular/projects/goodui/src/lib/header.ts",
|
|
166
164
|
"kind": "input"
|
|
167
165
|
}
|
|
168
166
|
],
|
|
@@ -170,24 +168,18 @@
|
|
|
170
168
|
{
|
|
171
169
|
"name": "menuToggle",
|
|
172
170
|
"type": "void",
|
|
173
|
-
"source": "angular/projects/goodui/src/lib/
|
|
171
|
+
"source": "angular/projects/goodui/src/lib/header.ts"
|
|
174
172
|
}
|
|
175
173
|
],
|
|
176
|
-
"variants": {
|
|
177
|
-
"mobileMenuMode": [
|
|
178
|
-
"hidden",
|
|
179
|
-
"popup"
|
|
180
|
-
]
|
|
181
|
-
},
|
|
174
|
+
"variants": {},
|
|
182
175
|
"composition": {
|
|
183
176
|
"projectedContent": [
|
|
184
|
-
"good-
|
|
177
|
+
"good-header-menu",
|
|
185
178
|
"good-header-actions"
|
|
186
179
|
],
|
|
187
180
|
"relatedSelectors": [
|
|
188
181
|
"good-icon",
|
|
189
182
|
"good-brand-icon",
|
|
190
|
-
"good-topbar-menu-container",
|
|
191
183
|
"good-header-actions"
|
|
192
184
|
],
|
|
193
185
|
"notes": "See source template and component guide for projection slots."
|
|
@@ -196,56 +188,58 @@
|
|
|
196
188
|
"controlValueAccessor": false,
|
|
197
189
|
"validator": false
|
|
198
190
|
},
|
|
199
|
-
"usageGuide": "guides/components/
|
|
191
|
+
"usageGuide": "guides/components/app-header.md",
|
|
200
192
|
"usage": {
|
|
201
|
-
"summary": "
|
|
202
|
-
"examples": [
|
|
193
|
+
"summary": "Use `good-app-header` to compose the application's header. Declare `good-header-menu` and `good-header-actions` inside it, then place AppHeader directly inside `good-app-shell`. AppHeader owns header layout and the mobile sidebar trigger; the menu owns navigation and its mobile popup.",
|
|
194
|
+
"examples": [
|
|
195
|
+
"ai/examples/shell.html"
|
|
196
|
+
]
|
|
203
197
|
},
|
|
204
198
|
"penpot": [
|
|
205
199
|
{
|
|
206
|
-
"penpotName": "goodui.
|
|
200
|
+
"penpotName": "goodui.app-header.default",
|
|
207
201
|
"penpotId": "521fe58c-da62-80e2-8008-d33f667375d0",
|
|
208
202
|
"kind": "component",
|
|
209
203
|
"state": "default",
|
|
210
204
|
"owner": null
|
|
211
205
|
},
|
|
212
206
|
{
|
|
213
|
-
"penpotName": "goodui.
|
|
207
|
+
"penpotName": "goodui.app-header.help-open",
|
|
214
208
|
"penpotId": "521fe58c-da62-80e2-8008-d3cb51d73426",
|
|
215
209
|
"kind": "component",
|
|
216
210
|
"state": "help-open",
|
|
217
211
|
"owner": null
|
|
218
212
|
},
|
|
219
213
|
{
|
|
220
|
-
"penpotName": "goodui.
|
|
214
|
+
"penpotName": "goodui.app-header.help-submenu-open",
|
|
221
215
|
"penpotId": "521fe58c-da62-80e2-8008-d3cb522ee751",
|
|
222
216
|
"kind": "component",
|
|
223
217
|
"state": "help-submenu-open",
|
|
224
218
|
"owner": null
|
|
225
219
|
},
|
|
226
220
|
{
|
|
227
|
-
"penpotName": "goodui.
|
|
221
|
+
"penpotName": "goodui.app-header.mobile",
|
|
228
222
|
"penpotId": "521fe58c-da62-80e2-8008-d33fc43d443e",
|
|
229
223
|
"kind": "component",
|
|
230
224
|
"state": "mobile",
|
|
231
225
|
"owner": null
|
|
232
226
|
},
|
|
233
227
|
{
|
|
234
|
-
"penpotName": "goodui.
|
|
228
|
+
"penpotName": "goodui.app-header.mobile-menu-icon",
|
|
235
229
|
"penpotId": "c0c3286f-e4bf-804c-8008-d5e514a9b336",
|
|
236
230
|
"kind": "component",
|
|
237
231
|
"state": "mobile-menu-icon",
|
|
238
232
|
"owner": null
|
|
239
233
|
},
|
|
240
234
|
{
|
|
241
|
-
"penpotName": "goodui.
|
|
235
|
+
"penpotName": "goodui.app-header.mobile-menu-popup-open",
|
|
242
236
|
"penpotId": "c0c3286f-e4bf-804c-8008-d5e5154d923f",
|
|
243
237
|
"kind": "component",
|
|
244
238
|
"state": "mobile-menu-popup-open",
|
|
245
239
|
"owner": null
|
|
246
240
|
},
|
|
247
241
|
{
|
|
248
|
-
"penpotName": "goodui.
|
|
242
|
+
"penpotName": "goodui.app-header.with-brand",
|
|
249
243
|
"penpotId": "521fe58c-da62-80e2-8008-d33f66ae31ee",
|
|
250
244
|
"kind": "component",
|
|
251
245
|
"state": "with-brand",
|