@cloudfrogger/goodui 0.0.74 → 0.0.75
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/catalog/index.json +1 -1
- package/ai/manifest.json +2 -2
- package/angular/projects/goodui/package.json +1 -1
- package/design/app-shell-contract.json +2 -0
- package/design/header-search-variants.json +2 -0
- package/guides/components/header-actions.md +2 -0
- package/guides/components/header-avatar.md +2 -0
- package/guides/components/header-menu.md +2 -0
- package/guides/components/settings.md +2 -0
- package/guides/components/sidebar.md +2 -0
- package/guides/components/subnav.md +2 -0
- package/guides/contributing/design-to-code.md +2 -0
- package/package.json +2 -2
package/ai/catalog/index.json
CHANGED
package/ai/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@cloudfrogger/goodui",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"sourceRevision": "
|
|
3
|
+
"version": "0.0.75",
|
|
4
|
+
"sourceRevision": "2432e021d8ace916f5a177a02dda3e2c627ba882",
|
|
5
5
|
"note": "References bundled with the npm package."
|
|
6
6
|
}
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
"sharedByBothVariants": true
|
|
30
30
|
},
|
|
31
31
|
"composition": {
|
|
32
|
+
"page": "45 Sidebars and Menus",
|
|
33
|
+
"pageId": "ffd8177e-90f6-8061-8008-fc9af9f40969",
|
|
32
34
|
"id": "4c1f5233-504c-80ed-8008-fb5c51acce40",
|
|
33
35
|
"family": "goodui.main-menu.search-hotkey",
|
|
34
36
|
"selector": "good-header-actions",
|
|
@@ -32,3 +32,5 @@ The design family names remain `goodui.main-menu`, `goodui.search`, `goodui.noti
|
|
|
32
32
|
For the former selector and class names, see [migration](../migrations/header-actions.md).
|
|
33
33
|
|
|
34
34
|
The optional `goodui.main-menu.search-hotkey` Penpot composition demonstrates Search (`hotkey=true`), Notification, and Avatar as linked instances. Enable it on a projected `good-header-search` child; the generated default search keeps `hotkey=false`. See [Header search](header-search.md).
|
|
35
|
+
|
|
36
|
+
Penpot `goodui.main-menu.default` and `goodui.main-menu.search-hotkey` are on **45 Sidebars and Menus**. Search, Notifications, and ThemeToggle masters remain on `01 Components`; the AvatarMenu and Settings masters moved with the menus. All linked compositions and IDs are preserved.
|
|
@@ -32,3 +32,5 @@ Pass the same values as `[user]` and `[avatarActions]` to `good-app-shell` when
|
|
|
32
32
|
The menu itself owns identity and item layout, so consumers do not add spacing around rows. `GoodAvatarMenuItemComponent` is exported for composing account rows elsewhere. On desktop its submenu opens to the left of the avatar panel; on narrow screens it expands inside the panel.
|
|
33
33
|
|
|
34
34
|
The trigger exposes `aria-expanded`. Nested parents expose their own expanded state and can be opened by click, hover, or Right Arrow. Escape closes the deepest open submenu first, then the panel and returns focus to the avatar. Outside clicks close the menu. The Dark Mode control is a labeled switch backed by `GoodThemeService`.
|
|
35
|
+
|
|
36
|
+
Penpot AvatarMenu, AvatarMenuItem, and AvatarSubmenu masters are on **45 Sidebars and Menus** with their existing library and main-shape IDs.
|
|
@@ -62,3 +62,5 @@ Parent rows use buttons with `aria-expanded` and `aria-controls`; leaves use lin
|
|
|
62
62
|
The five `goodui.header-menu`, `goodui.header-menu-item`, `goodui.header-dropdown-menu`, `goodui.header-dropdown-item`, and `goodui.header-submenu` families retain all eleven original library IDs. Default/open, link/parent/open, nested-open, and mobile icon/popup states retain their behavior and geometry. The registry is `design/component-map.json`; the stable IDs are listed in [Design to Angular](../contributing/design-to-code.md).
|
|
63
63
|
|
|
64
64
|
See the combined [Header menu homepage chapter](../../homepage/src/app/components/header-menu.html) and [migration guide](../migrations/header-menu.md).
|
|
65
|
+
|
|
66
|
+
These navigation masters are on **45 Sidebars and Menus**. Their IDs and linked AppHeader instances are unchanged after moving from `01 Components`.
|
|
@@ -11,3 +11,5 @@ The menu stays inside the viewport near its right edge, is keyboard accessible,
|
|
|
11
11
|
Settings is optional in the standard topbar: set `[showSettings]="true"` on `good-app-shell`, `good-app-header`, or `good-header-actions` to include it.
|
|
12
12
|
|
|
13
13
|
For a settings **page**, compose MainView with [settings Sections](typography.md#settings-sections), page actions, DetailList, and Forms. The [complete Settings example](../../homepage/src/app/examples/settings/settings-page.html) includes workspace overview, read mode, explicit editing, repeated rows, and name-confirmed archiving. The `good-settings` selector continues to represent only the shell header menu.
|
|
14
|
+
|
|
15
|
+
The header Settings trigger and open-menu masters are on **45 Sidebars and Menus**. The settings-page composition remains separately documented on `44 Settings`.
|
|
@@ -27,3 +27,5 @@ The existing `good-sidebar-submenu-group` and `good-sidebar-submenu-item` parts
|
|
|
27
27
|
Penpot `goodui.sidebar` retains all former SidebarContainer library IDs. Linked MenuContainer, SidebarItem, SubmenuGroup, and SubmenuItem specimens remain intact. IDs and selectors are recorded in `design/component-map.json`. The **Layout → Sidebar** homepage chapter contains a working declarative example and complete shell markup.
|
|
28
28
|
|
|
29
29
|
The shared region, responsive, and state contract is `design/app-shell-contract.json`.
|
|
30
|
+
|
|
31
|
+
Penpot sidebar masters and their menu/item parts are on **45 Sidebars and Menus**. The move from `01 Components` preserves all component, main-shape, and child IDs; shell specimens on `02 Shell` remain linked.
|
|
@@ -53,3 +53,5 @@ readonly subnavActions: readonly GoodSubnavAction[] = [
|
|
|
53
53
|
`Subnav` is a named navigation landmark. Current links use `aria-current="page"`; menu buttons use `aria-expanded` and `aria-controls`. Arrow Left/Right and Home/End move among top-level links or buttons. Opening a menu focuses its first link; Escape closes it and returns focus. Outside click, horizontal scroll, window resize, and route changes also close it. Keep labels concise enough to scan, and use an explicit accessible label when a page has more than one navigation landmark.
|
|
54
54
|
|
|
55
55
|
Penpot states: `goodui.subnav.desktop`, `.mobile`, `.menu-open`, `.with-actions`; `goodui.subnav-item.link`, `.parent`, `.active`; and `goodui.subnav-dropdown.default`. The mobile viewport clips a longer nested item track to document the scroll behavior.
|
|
56
|
+
|
|
57
|
+
Penpot Subnav, SubnavItem, and SubnavDropdown masters are on **45 Sidebars and Menus** with unchanged IDs and linked MainView specimens.
|
|
@@ -12,6 +12,8 @@ The native GoodUI library snapshot belongs at `design/penpot/goodui.penpot`, but
|
|
|
12
12
|
|
|
13
13
|
## Penpot-Registry
|
|
14
14
|
|
|
15
|
+
Navigation masters are organized on **45 Sidebars and Menus** (page ID `ffd8177e-90f6-8061-8008-fc9af9f40969`): four Sidebars, nine sidebar menu/item components, eleven header menu/dropdown components, seven avatar menu components, seven Subnav components, and four HeaderActions/Settings compositions. These 42 masters moved from `01 Components` with their library, main-shape, and child IDs intact. The six page sections are organizational boards, not published UI components. AppHeader, MainView, Search, Notifications, ThemeToggle, and BrandIcon masters remain on `01 Components`; the linked shell examples remain on `02 Shell`.
|
|
16
|
+
|
|
15
17
|
File ID: `a552d28a-7556-80e4-8008-d3392c96c899`. Dedicated control pages include `13 Images`, `14 Date Inputs`, `15 Ratings`, `16 Tables`, `17 Selects`, `18 Phone Inputs`, `21 Alerts`, `24 Progress`, `25 PDF Preview`, `27 Number Inputs`, `28 Listboxes`, `29 Tabs`, `33 Range Sliders`, and `34 Textareas`. The IDs below are Penpot main shape IDs; preserve them while editing.
|
|
16
18
|
|
|
17
19
|
| Penpot component | Library ID |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudfrogger/goodui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.75",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"module": "fesm2022/cloudfrogger-goodui.mjs",
|
|
36
36
|
"typings": "types/cloudfrogger-goodui.d.ts",
|
|
37
37
|
"type": "module",
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "2432e021d8ace916f5a177a02dda3e2c627ba882"
|
|
39
39
|
}
|