@cloudfrogger/goodui 0.0.64 → 0.0.71
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} +77 -83
- package/ai/catalog/components/{good-app-layout.json → good-app-shell.json} +32 -68
- package/ai/catalog/components/good-avatar-menu-item.json +2 -2
- 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-main-menu.json → good-header-actions.json} +19 -10
- package/ai/catalog/components/{good-avatar-menu.json → good-header-avatar.json} +5 -5
- 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-notifications.json → good-header-notification.json} +5 -5
- package/ai/catalog/components/{good-search.json → good-header-search.json} +16 -7
- package/ai/catalog/components/{good-topbar-submenu.json → good-header-submenu.json} +12 -12
- package/ai/catalog/components/{good-theme-toggle.json → good-header-themetoggle.json} +8 -6
- 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-settings.json +1 -1
- 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 +231 -171
- 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 +47 -23
- package/angular/projects/goodui/src/lib/app-shell.ts +109 -0
- package/angular/projects/goodui/src/lib/{topbar.ts → header.ts} +98 -72
- 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 +99 -65
- package/angular/projects/goodui/src/tokens.generated.css +43 -6
- package/design/app-shell-contract.json +118 -0
- package/design/component-map.json +171 -82
- 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 +51 -39
- package/fesm2022/cloudfrogger-goodui.mjs +541 -383
- package/fesm2022/cloudfrogger-goodui.mjs.map +1 -1
- package/guides/README.md +2 -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 +34 -0
- package/guides/components/{avatar-menu.md → header-avatar.md} +5 -5
- package/guides/components/header-menu.md +64 -0
- package/guides/components/header-notification.md +13 -0
- package/guides/components/header-search.md +72 -0
- package/guides/components/{theme-toggle.md → header-themetoggle.md} +6 -6
- package/guides/components/icon.md +1 -1
- package/guides/components/main-view.md +30 -8
- package/guides/components/notifications.md +2 -2
- package/guides/components/settings.md +2 -2
- 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 +62 -32
- package/guides/foundations/naming.md +1 -1
- package/guides/foundations/tokens.md +9 -9
- package/guides/intro.md +17 -19
- package/guides/layout/app-shell.md +37 -0
- package/guides/layout/layout-rules.md +3 -3
- package/guides/migrations/app-shell.md +28 -0
- package/guides/migrations/explicit-headings.md +20 -0
- package/guides/migrations/header-actions.md +17 -0
- 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 +301 -207
- package/angular/projects/goodui/src/lib/app-layout.ts +0 -84
- package/guides/components/main-menu.md +0 -23
- package/guides/components/search.md +0 -51
- package/guides/components/topbar.md +0 -89
- package/guides/layout/app-layout.md +0 -81
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"penpotFileId": "0f428ff0-c8e2-8078-8008-fb55d9570459",
|
|
3
|
+
"page": "01 Components",
|
|
4
|
+
"pageId": "a552d28a-7556-80e4-8008-d3392c96c89a",
|
|
5
|
+
"family": "goodui.search",
|
|
6
|
+
"selector": "good-header-search",
|
|
7
|
+
"containerId": "4c1f5233-504c-80ed-8008-fb5b5998dc4e",
|
|
8
|
+
"axes": {
|
|
9
|
+
"hotkey": [
|
|
10
|
+
"false",
|
|
11
|
+
"true"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"variants": [
|
|
15
|
+
{
|
|
16
|
+
"id": "521fe58c-da62-80e2-8008-d33f6563524e",
|
|
17
|
+
"mainInstanceId": "521fe58c-da62-80e2-8008-d33f654453bf",
|
|
18
|
+
"hotkey": "false"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "4c1f5233-504c-80ed-8008-fb5b190807ea",
|
|
22
|
+
"mainInstanceId": "4c1f5233-504c-80ed-8008-fb5b06d16787",
|
|
23
|
+
"hotkey": "true"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"dialog": {
|
|
27
|
+
"id": "521fe58c-da62-80e2-8008-d33ffe1c4f79",
|
|
28
|
+
"family": "goodui.search.open",
|
|
29
|
+
"sharedByBothVariants": true
|
|
30
|
+
},
|
|
31
|
+
"composition": {
|
|
32
|
+
"id": "4c1f5233-504c-80ed-8008-fb5c51acce40",
|
|
33
|
+
"family": "goodui.main-menu.search-hotkey",
|
|
34
|
+
"selector": "good-header-actions",
|
|
35
|
+
"children": [
|
|
36
|
+
"goodui.search",
|
|
37
|
+
"goodui.notifications.default",
|
|
38
|
+
"goodui.avatar-menu.default"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"runtime": {
|
|
42
|
+
"hotkey": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"default": false
|
|
45
|
+
},
|
|
46
|
+
"shortcut": [
|
|
47
|
+
"Control+k",
|
|
48
|
+
"Meta+k"
|
|
49
|
+
],
|
|
50
|
+
"macHint": "⌘ K",
|
|
51
|
+
"otherHint": "Ctrl K",
|
|
52
|
+
"compactAtMaxWidth": 1200,
|
|
53
|
+
"ownership": "First visible opted-in instance handles an unclaimed shortcut; an open modal keeps it."
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
{
|
|
2
|
+
"page": "12 Typography",
|
|
3
|
+
"families": [
|
|
4
|
+
{
|
|
5
|
+
"family": "heading-group",
|
|
6
|
+
"selector": "good-heading-group",
|
|
7
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58d09f60369",
|
|
8
|
+
"composition": [
|
|
9
|
+
"eyebrow",
|
|
10
|
+
"heading",
|
|
11
|
+
"summary"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"family": "eyebrow",
|
|
16
|
+
"selector": "good-eyebrow",
|
|
17
|
+
"containerId": "c0c3286f-e4bf-804c-8008-d58daec5d3f8",
|
|
18
|
+
"input": "appearance",
|
|
19
|
+
"variants": {
|
|
20
|
+
"brand": "c0c3286f-e4bf-804c-8008-d58ca0985d81",
|
|
21
|
+
"mono": "c0c3286f-e4bf-804c-8008-d58ca09a0f4b"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"family": "heading",
|
|
26
|
+
"selector": "good-heading-1",
|
|
27
|
+
"containerId": "c0c3286f-e4bf-804c-8008-d5d1ac3b1e56",
|
|
28
|
+
"variants": {
|
|
29
|
+
"1": "c0c3286f-e4bf-804c-8008-d58c723ff455",
|
|
30
|
+
"2": "c0c3286f-e4bf-804c-8008-d5d1a6fa0770"
|
|
31
|
+
},
|
|
32
|
+
"note": "Heading levels 1 and 2 render native H1/H2 with the shared heading scale. Inter supports at most 900 in Penpot; the H1 specimen uses 900 while its CSS weight token requests 1000.",
|
|
33
|
+
"selectors": {
|
|
34
|
+
"1": "good-heading-1",
|
|
35
|
+
"2": "good-heading-2"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"family": "summary",
|
|
40
|
+
"selector": "good-summary",
|
|
41
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58ca09bab16"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"family": "section",
|
|
45
|
+
"selector": "good-section",
|
|
46
|
+
"containerId": "4c1f5233-504c-80ed-8008-fbe5a17a1e69",
|
|
47
|
+
"input": "spacing",
|
|
48
|
+
"variants": {
|
|
49
|
+
"default": "c0c3286f-e4bf-804c-8008-d59bac524010",
|
|
50
|
+
"content": "4c1f5233-504c-80ed-8008-fbe5a16e4492"
|
|
51
|
+
},
|
|
52
|
+
"composition": [
|
|
53
|
+
"subheading",
|
|
54
|
+
"prose",
|
|
55
|
+
"inline-image",
|
|
56
|
+
"code-block"
|
|
57
|
+
],
|
|
58
|
+
"tokens": [
|
|
59
|
+
"typography.section.content.block-gap",
|
|
60
|
+
"typography.section.content.heading-gap",
|
|
61
|
+
"typography.section.content.subsection-gap",
|
|
62
|
+
"typography.section.content.section-gap"
|
|
63
|
+
],
|
|
64
|
+
"note": "Default preserves compact spacing and its original library ID. Content owns 24 px direct block gaps, 12 px after headings, 40 px before later headings, and 48 px between adjacent content Sections. Prose retains its 20 px paragraph gap; images retain their caption gap. Set spacing explicitly on nested Sections."
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"family": "prose",
|
|
68
|
+
"selector": "good-prose",
|
|
69
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58d0a7628e8",
|
|
70
|
+
"composition": [
|
|
71
|
+
"paragraph",
|
|
72
|
+
"subheading",
|
|
73
|
+
"citation"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"family": "detail-list",
|
|
78
|
+
"selector": "good-detail-list",
|
|
79
|
+
"componentId": "1b6260d7-e591-805d-8008-e2d28e329f5a",
|
|
80
|
+
"composition": [
|
|
81
|
+
"term",
|
|
82
|
+
"definition"
|
|
83
|
+
],
|
|
84
|
+
"note": "Angular projects div[goodDetailRow] elements containing native dt and dd into one dl. Penpot shows three example rows; their content and count are runtime data."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"family": "columns",
|
|
88
|
+
"selector": "good-columns",
|
|
89
|
+
"containerId": "3b81f0ef-6814-8039-8008-dfd9ad609b79",
|
|
90
|
+
"input": "columns",
|
|
91
|
+
"variants": {
|
|
92
|
+
"2": "3b81f0ef-6814-8039-8008-dfd93ae53d86",
|
|
93
|
+
"3": "3b81f0ef-6814-8039-8008-dfd93b11f97c",
|
|
94
|
+
"4": "3b81f0ef-6814-8039-8008-dfd93b4251d9"
|
|
95
|
+
},
|
|
96
|
+
"composition": [
|
|
97
|
+
"column"
|
|
98
|
+
],
|
|
99
|
+
"note": "Desktop specimens use linked Column components. Angular stacks columns at 480, 700, and 960 px container widths and optionally filters each column by visibleAt across xs/sm/md/lg/xl. Visibility is a runtime option, not a Penpot variant."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"family": "column",
|
|
103
|
+
"selector": "good-column",
|
|
104
|
+
"componentId": "3b81f0ef-6814-8039-8008-dfd8f3c082d6",
|
|
105
|
+
"composition": [
|
|
106
|
+
"subheading",
|
|
107
|
+
"paragraph"
|
|
108
|
+
],
|
|
109
|
+
"note": "Linked typography children show the default text rhythm; Angular projects arbitrary content into a Prose flow."
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"family": "paragraph",
|
|
113
|
+
"selector": "good-paragraph",
|
|
114
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58ca09e0594"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"family": "subheading",
|
|
118
|
+
"selector": "good-heading-3",
|
|
119
|
+
"input": "level",
|
|
120
|
+
"note": "Heading levels 3\u20137 use the shared seven-step scale. Levels 3\u20136 render native H3\u2013H6; level 7 uses role=heading and aria-level=7 on its host.",
|
|
121
|
+
"containerId": "4c1f5233-504c-80ed-8008-fbe8d4f5a30b",
|
|
122
|
+
"variants": {
|
|
123
|
+
"3": "c0c3286f-e4bf-804c-8008-d58ca09f1874",
|
|
124
|
+
"4": "4c1f5233-504c-80ed-8008-fbe8d49ff271",
|
|
125
|
+
"5": "4c1f5233-504c-80ed-8008-fbe8d4bac54e",
|
|
126
|
+
"6": "4c1f5233-504c-80ed-8008-fbe8d4d58983",
|
|
127
|
+
"7": "4c1f5233-504c-80ed-8008-fbe8d4f04986"
|
|
128
|
+
},
|
|
129
|
+
"selectors": {
|
|
130
|
+
"3": "good-heading-3",
|
|
131
|
+
"4": "good-heading-4",
|
|
132
|
+
"5": "good-heading-5",
|
|
133
|
+
"6": "good-heading-6",
|
|
134
|
+
"7": "good-heading-7"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"family": "citation",
|
|
139
|
+
"selector": "good-citation",
|
|
140
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58ca0a09eb1",
|
|
141
|
+
"inputs": [
|
|
142
|
+
"source",
|
|
143
|
+
"cite"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"family": "separator",
|
|
148
|
+
"selector": "good-separator",
|
|
149
|
+
"containerId": "c0c3286f-e4bf-804c-8008-d58dd6fac624",
|
|
150
|
+
"penpotAxis": "style",
|
|
151
|
+
"input": "variant",
|
|
152
|
+
"variants": {
|
|
153
|
+
"dots": "c0c3286f-e4bf-804c-8008-d58d18952b69",
|
|
154
|
+
"line": "c0c3286f-e4bf-804c-8008-d58d1a4464fb"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"family": "inline-image",
|
|
159
|
+
"selector": "good-inline-image",
|
|
160
|
+
"containerId": "c0c3286f-e4bf-804c-8008-d58dd71fab11",
|
|
161
|
+
"input": "align",
|
|
162
|
+
"inputs": [
|
|
163
|
+
"src",
|
|
164
|
+
"alt",
|
|
165
|
+
"caption",
|
|
166
|
+
"loading",
|
|
167
|
+
"previewable",
|
|
168
|
+
"fullWidth"
|
|
169
|
+
],
|
|
170
|
+
"variants": {
|
|
171
|
+
"center": "c0c3286f-e4bf-804c-8008-d58d2b885f78",
|
|
172
|
+
"left": "c0c3286f-e4bf-804c-8008-d58d2cc362c5",
|
|
173
|
+
"right": "c0c3286f-e4bf-804c-8008-d58d2df9f5e6"
|
|
174
|
+
},
|
|
175
|
+
"note": "previewable opens good-image-preview at runtime; caption is shown in both the figure and the modal. fullWidth is a runtime width option, not a Penpot alignment variant."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"family": "form-field",
|
|
179
|
+
"selector": "good-form-field",
|
|
180
|
+
"containerId": "c0c3286f-e4bf-804c-8008-d58dd7440a43",
|
|
181
|
+
"variants": {
|
|
182
|
+
"default": "c0c3286f-e4bf-804c-8008-d58d481338f9",
|
|
183
|
+
"error": "c0c3286f-e4bf-804c-8008-d58d48ff20ee"
|
|
184
|
+
},
|
|
185
|
+
"selectionExamples": {
|
|
186
|
+
"checkbox-required": "c0c3286f-e4bf-804c-8008-d6694e0b2387",
|
|
187
|
+
"radio-required": "c0c3286f-e4bf-804c-8008-d669672e1467"
|
|
188
|
+
},
|
|
189
|
+
"note": "Form owns whole-form alignment. FormField owns one label, control, and help or error message. The selection examples use the same token-bound label and control columns; the radio example has a linked required FieldLabel and a linked RadioGroup whose internal legend is hidden visually. Angular RadioGroup labelledBy maps to its external FieldLabel ID."
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"family": "field-label",
|
|
193
|
+
"selector": "good-field-label",
|
|
194
|
+
"containerId": "c0c3286f-e4bf-804c-8008-d58dd6c6c444",
|
|
195
|
+
"input": "required",
|
|
196
|
+
"inputs": [
|
|
197
|
+
"forId"
|
|
198
|
+
],
|
|
199
|
+
"variants": {
|
|
200
|
+
"false": "c0c3286f-e4bf-804c-8008-d58ca0a37ad8",
|
|
201
|
+
"true": "c0c3286f-e4bf-804c-8008-d58ccb254713"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"family": "hint",
|
|
206
|
+
"selector": "good-hint",
|
|
207
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58ca0a208d6"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"family": "error-text",
|
|
211
|
+
"selector": "good-error-text",
|
|
212
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58ca0a4e2d3"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"formLayouts": {
|
|
216
|
+
"family": "form",
|
|
217
|
+
"selector": "form[goodForm]",
|
|
218
|
+
"input": "layout",
|
|
219
|
+
"inputs": [
|
|
220
|
+
"layout",
|
|
221
|
+
"fullWidth"
|
|
222
|
+
],
|
|
223
|
+
"variants": {
|
|
224
|
+
"vertical": "c0c3286f-e4bf-804c-8008-d66c6d6ef862",
|
|
225
|
+
"left": "c0c3286f-e4bf-804c-8008-d66c9f9af724",
|
|
226
|
+
"right": "c0c3286f-e4bf-804c-8008-d66ca3a385e3"
|
|
227
|
+
},
|
|
228
|
+
"tokens": [
|
|
229
|
+
"form.label-width",
|
|
230
|
+
"form.control-width",
|
|
231
|
+
"form.max-width",
|
|
232
|
+
"form.column-gap",
|
|
233
|
+
"form.row-gap"
|
|
234
|
+
],
|
|
235
|
+
"note": "Published Penpot form examples show the constrained default. Angular fullWidth removes the form and direct vertical control maximums; Group and FormRow examples on 19 Groups show the expanded composition."
|
|
236
|
+
},
|
|
237
|
+
"internalParts": [
|
|
238
|
+
{
|
|
239
|
+
"family": "image-caption",
|
|
240
|
+
"owner": "inline-image",
|
|
241
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58ca0a60733"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"headingStyles": [
|
|
245
|
+
{
|
|
246
|
+
"selector": "good-heading-1",
|
|
247
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58c723ff455",
|
|
248
|
+
"htmlElement": "h1",
|
|
249
|
+
"fontSize": 28,
|
|
250
|
+
"fontWeight": 1000,
|
|
251
|
+
"nativeSelector": "h1",
|
|
252
|
+
"penpotFontWeight": 900,
|
|
253
|
+
"note": "CSS requests 1000; Inter offers at most 900 in Penpot. Browsers choose the closest available font face."
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"selector": "good-heading-2",
|
|
257
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d5d1a6fa0770",
|
|
258
|
+
"htmlElement": "h2",
|
|
259
|
+
"fontSize": 26,
|
|
260
|
+
"fontWeight": 800,
|
|
261
|
+
"nativeSelector": "h2"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"selector": "good-heading-3",
|
|
265
|
+
"componentId": "c0c3286f-e4bf-804c-8008-d58ca09f1874",
|
|
266
|
+
"htmlElement": "h3",
|
|
267
|
+
"fontSize": 24,
|
|
268
|
+
"fontWeight": 700,
|
|
269
|
+
"nativeSelector": "h3"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"selector": "good-heading-4",
|
|
273
|
+
"componentId": "4c1f5233-504c-80ed-8008-fbe8d49ff271",
|
|
274
|
+
"htmlElement": "h4",
|
|
275
|
+
"fontSize": 22,
|
|
276
|
+
"fontWeight": 700,
|
|
277
|
+
"nativeSelector": "h4"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"selector": "good-heading-5",
|
|
281
|
+
"componentId": "4c1f5233-504c-80ed-8008-fbe8d4bac54e",
|
|
282
|
+
"htmlElement": "h5",
|
|
283
|
+
"fontSize": 20,
|
|
284
|
+
"fontWeight": 600,
|
|
285
|
+
"nativeSelector": "h5"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"selector": "good-heading-6",
|
|
289
|
+
"componentId": "4c1f5233-504c-80ed-8008-fbe8d4d58983",
|
|
290
|
+
"htmlElement": "h6",
|
|
291
|
+
"fontSize": 18,
|
|
292
|
+
"fontWeight": 600,
|
|
293
|
+
"nativeSelector": "h6"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"selector": "good-heading-7",
|
|
297
|
+
"componentId": "4c1f5233-504c-80ed-8008-fbe8d4f04986",
|
|
298
|
+
"htmlElement": null,
|
|
299
|
+
"fontSize": 16,
|
|
300
|
+
"fontWeight": 600,
|
|
301
|
+
"nativeSelector": "[role=\"heading\"][aria-level=\"7\"]",
|
|
302
|
+
"role": "heading",
|
|
303
|
+
"ariaLevel": 7
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"referencePage": {
|
|
307
|
+
"name": "43 Typography Reference",
|
|
308
|
+
"id": "4c1f5233-504c-80ed-8008-fbf549f71786",
|
|
309
|
+
"penpotFileId": "0f428ff0-c8e2-8078-8008-fb55d9570459",
|
|
310
|
+
"kind": "linked-component-reference",
|
|
311
|
+
"componentSourcePage": "12 Typography",
|
|
312
|
+
"boards": [
|
|
313
|
+
{
|
|
314
|
+
"id": "4c1f5233-504c-80ed-8008-fbf590c82587",
|
|
315
|
+
"name": "Typography / Heading scale"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "4c1f5233-504c-80ed-8008-fbf61a90f551",
|
|
319
|
+
"name": "Typography / Text roles"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"id": "4c1f5233-504c-80ed-8008-fbf66d799032",
|
|
323
|
+
"name": "Typography / Compositions"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
}
|
|
@@ -1603,19 +1603,19 @@
|
|
|
1603
1603
|
},
|
|
1604
1604
|
"heading": {
|
|
1605
1605
|
"font-size": {
|
|
1606
|
-
"$value": "
|
|
1606
|
+
"$value": "26",
|
|
1607
1607
|
"$type": "fontSizes"
|
|
1608
1608
|
},
|
|
1609
1609
|
"font-weight": {
|
|
1610
|
-
"$value": "
|
|
1610
|
+
"$value": "800",
|
|
1611
1611
|
"$type": "fontWeights"
|
|
1612
1612
|
},
|
|
1613
1613
|
"level-1-font-weight": {
|
|
1614
|
-
"$value": "
|
|
1614
|
+
"$value": "1000",
|
|
1615
1615
|
"$type": "fontWeights"
|
|
1616
1616
|
},
|
|
1617
1617
|
"level-1-font-size": {
|
|
1618
|
-
"$value": "
|
|
1618
|
+
"$value": "28",
|
|
1619
1619
|
"$type": "fontSizes"
|
|
1620
1620
|
},
|
|
1621
1621
|
"level-1-after-gap": {
|
|
@@ -1641,6 +1641,82 @@
|
|
|
1641
1641
|
"actions-gap": {
|
|
1642
1642
|
"$value": "{space.6}",
|
|
1643
1643
|
"$type": "spacing"
|
|
1644
|
+
},
|
|
1645
|
+
"level-1-letter-spacing": {
|
|
1646
|
+
"$value": "-0.7",
|
|
1647
|
+
"$type": "letterSpacing"
|
|
1648
|
+
},
|
|
1649
|
+
"level-2-font-size": {
|
|
1650
|
+
"$value": "{typography.heading.font-size}",
|
|
1651
|
+
"$type": "fontSizes"
|
|
1652
|
+
},
|
|
1653
|
+
"level-2-font-weight": {
|
|
1654
|
+
"$value": "{typography.heading.font-weight}",
|
|
1655
|
+
"$type": "fontWeights"
|
|
1656
|
+
},
|
|
1657
|
+
"level-2-letter-spacing": {
|
|
1658
|
+
"$value": "-0.52",
|
|
1659
|
+
"$type": "letterSpacing"
|
|
1660
|
+
},
|
|
1661
|
+
"level-3-font-size": {
|
|
1662
|
+
"$value": "{typography.subheading.font-size}",
|
|
1663
|
+
"$type": "fontSizes"
|
|
1664
|
+
},
|
|
1665
|
+
"level-3-font-weight": {
|
|
1666
|
+
"$value": "{typography.subheading.font-weight}",
|
|
1667
|
+
"$type": "fontWeights"
|
|
1668
|
+
},
|
|
1669
|
+
"level-3-letter-spacing": {
|
|
1670
|
+
"$value": "-0.36",
|
|
1671
|
+
"$type": "letterSpacing"
|
|
1672
|
+
},
|
|
1673
|
+
"level-4-font-size": {
|
|
1674
|
+
"$value": "22",
|
|
1675
|
+
"$type": "fontSizes"
|
|
1676
|
+
},
|
|
1677
|
+
"level-4-font-weight": {
|
|
1678
|
+
"$value": "700",
|
|
1679
|
+
"$type": "fontWeights"
|
|
1680
|
+
},
|
|
1681
|
+
"level-4-letter-spacing": {
|
|
1682
|
+
"$value": "-0.22",
|
|
1683
|
+
"$type": "letterSpacing"
|
|
1684
|
+
},
|
|
1685
|
+
"level-5-font-size": {
|
|
1686
|
+
"$value": "20",
|
|
1687
|
+
"$type": "fontSizes"
|
|
1688
|
+
},
|
|
1689
|
+
"level-5-font-weight": {
|
|
1690
|
+
"$value": "600",
|
|
1691
|
+
"$type": "fontWeights"
|
|
1692
|
+
},
|
|
1693
|
+
"level-5-letter-spacing": {
|
|
1694
|
+
"$value": "0",
|
|
1695
|
+
"$type": "letterSpacing"
|
|
1696
|
+
},
|
|
1697
|
+
"level-6-font-size": {
|
|
1698
|
+
"$value": "18",
|
|
1699
|
+
"$type": "fontSizes"
|
|
1700
|
+
},
|
|
1701
|
+
"level-6-font-weight": {
|
|
1702
|
+
"$value": "600",
|
|
1703
|
+
"$type": "fontWeights"
|
|
1704
|
+
},
|
|
1705
|
+
"level-6-letter-spacing": {
|
|
1706
|
+
"$value": "0",
|
|
1707
|
+
"$type": "letterSpacing"
|
|
1708
|
+
},
|
|
1709
|
+
"level-7-font-size": {
|
|
1710
|
+
"$value": "16",
|
|
1711
|
+
"$type": "fontSizes"
|
|
1712
|
+
},
|
|
1713
|
+
"level-7-font-weight": {
|
|
1714
|
+
"$value": "600",
|
|
1715
|
+
"$type": "fontWeights"
|
|
1716
|
+
},
|
|
1717
|
+
"level-7-letter-spacing": {
|
|
1718
|
+
"$value": "0",
|
|
1719
|
+
"$type": "letterSpacing"
|
|
1644
1720
|
}
|
|
1645
1721
|
},
|
|
1646
1722
|
"eyebrow": {
|
|
@@ -1703,11 +1779,11 @@
|
|
|
1703
1779
|
},
|
|
1704
1780
|
"subheading": {
|
|
1705
1781
|
"font-size": {
|
|
1706
|
-
"$value": "
|
|
1782
|
+
"$value": "24",
|
|
1707
1783
|
"$type": "fontSizes"
|
|
1708
1784
|
},
|
|
1709
1785
|
"font-weight": {
|
|
1710
|
-
"$value": "
|
|
1786
|
+
"$value": "700",
|
|
1711
1787
|
"$type": "fontWeights"
|
|
1712
1788
|
},
|
|
1713
1789
|
"color": {
|
|
@@ -1788,6 +1864,24 @@
|
|
|
1788
1864
|
}
|
|
1789
1865
|
},
|
|
1790
1866
|
"section": {
|
|
1867
|
+
"content": {
|
|
1868
|
+
"block-gap": {
|
|
1869
|
+
"$value": "{space.6}",
|
|
1870
|
+
"$type": "spacing"
|
|
1871
|
+
},
|
|
1872
|
+
"heading-gap": {
|
|
1873
|
+
"$value": "{space.3}",
|
|
1874
|
+
"$type": "spacing"
|
|
1875
|
+
},
|
|
1876
|
+
"subsection-gap": {
|
|
1877
|
+
"$value": "40",
|
|
1878
|
+
"$type": "spacing"
|
|
1879
|
+
},
|
|
1880
|
+
"section-gap": {
|
|
1881
|
+
"$value": "48",
|
|
1882
|
+
"$type": "spacing"
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1791
1885
|
"max-width": {
|
|
1792
1886
|
"$value": "1024",
|
|
1793
1887
|
"$type": "sizing"
|
|
@@ -2955,6 +3049,66 @@
|
|
|
2955
3049
|
"width": { "$value": "14", "$type": "sizing" },
|
|
2956
3050
|
"gap": { "$value": "3", "$type": "sizing" }
|
|
2957
3051
|
}
|
|
3052
|
+
},
|
|
3053
|
+
"header-search": {
|
|
3054
|
+
"width": {
|
|
3055
|
+
"$value": "320",
|
|
3056
|
+
"$type": "sizing"
|
|
3057
|
+
},
|
|
3058
|
+
"height": {
|
|
3059
|
+
"$value": "{control.input-height-default}",
|
|
3060
|
+
"$type": "sizing"
|
|
3061
|
+
},
|
|
3062
|
+
"icon-size": {
|
|
3063
|
+
"$value": "20",
|
|
3064
|
+
"$type": "sizing"
|
|
3065
|
+
},
|
|
3066
|
+
"radius": {
|
|
3067
|
+
"$value": "{radius.control}",
|
|
3068
|
+
"$type": "borderRadius"
|
|
3069
|
+
},
|
|
3070
|
+
"padding": {
|
|
3071
|
+
"$value": "{space.3}",
|
|
3072
|
+
"$type": "spacing"
|
|
3073
|
+
},
|
|
3074
|
+
"gap": {
|
|
3075
|
+
"$value": "{space.3}",
|
|
3076
|
+
"$type": "spacing"
|
|
3077
|
+
},
|
|
3078
|
+
"background": {
|
|
3079
|
+
"$value": "{color.selected}",
|
|
3080
|
+
"$type": "color"
|
|
3081
|
+
},
|
|
3082
|
+
"foreground": {
|
|
3083
|
+
"$value": "{color.muted}",
|
|
3084
|
+
"$type": "color"
|
|
3085
|
+
},
|
|
3086
|
+
"shortcut": {
|
|
3087
|
+
"height": {
|
|
3088
|
+
"$value": "24",
|
|
3089
|
+
"$type": "sizing"
|
|
3090
|
+
},
|
|
3091
|
+
"padding": {
|
|
3092
|
+
"$value": "{space.2}",
|
|
3093
|
+
"$type": "spacing"
|
|
3094
|
+
},
|
|
3095
|
+
"radius": {
|
|
3096
|
+
"$value": "{radius.compact}",
|
|
3097
|
+
"$type": "borderRadius"
|
|
3098
|
+
},
|
|
3099
|
+
"font-size": {
|
|
3100
|
+
"$value": "{typography.caption.font-size}",
|
|
3101
|
+
"$type": "fontSizes"
|
|
3102
|
+
},
|
|
3103
|
+
"background": {
|
|
3104
|
+
"$value": "{color.surface}",
|
|
3105
|
+
"$type": "color"
|
|
3106
|
+
},
|
|
3107
|
+
"border": {
|
|
3108
|
+
"$value": "{color.border}",
|
|
3109
|
+
"$type": "color"
|
|
3110
|
+
}
|
|
3111
|
+
}
|
|
2958
3112
|
}
|
|
2959
3113
|
},
|
|
2960
3114
|
"layout-dark": {
|