@cloudfrogger/goodui 0.0.60 → 0.0.63
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 +10 -0
- package/ai/README.md +47 -0
- package/ai/case-studies/index.md +10 -0
- package/ai/case-studies/vpshoster.md +18 -0
- package/ai/case-studies/webmailer.md +21 -0
- package/ai/catalog/README.md +7 -0
- package/ai/catalog/component.schema.json +289 -0
- package/ai/catalog/components/div-goodDetailRow.json +33 -0
- package/ai/catalog/components/form-goodForm.json +84 -0
- package/ai/catalog/components/good-action-bar.json +83 -0
- package/ai/catalog/components/good-action-group.json +143 -0
- package/ai/catalog/components/good-action-menu.json +121 -0
- package/ai/catalog/components/good-alert.json +184 -0
- package/ai/catalog/components/good-app-layout.json +247 -0
- package/ai/catalog/components/good-assistant-body.json +43 -0
- package/ai/catalog/components/good-assistant-footer.json +43 -0
- package/ai/catalog/components/good-assistant-header.json +43 -0
- package/ai/catalog/components/good-assistant-main.json +61 -0
- package/ai/catalog/components/good-assistant-mobile.json +43 -0
- package/ai/catalog/components/good-assistant-panel.json +131 -0
- package/ai/catalog/components/good-avatar-menu-item.json +82 -0
- package/ai/catalog/components/good-avatar-menu.json +83 -0
- package/ai/catalog/components/good-badge.json +180 -0
- package/ai/catalog/components/good-bar-chart.json +118 -0
- package/ai/catalog/components/good-brand-icon.json +71 -0
- package/ai/catalog/components/good-breadcrumbs.json +102 -0
- package/ai/catalog/components/good-button.json +192 -0
- package/ai/catalog/components/good-calendar.json +430 -0
- package/ai/catalog/components/good-card-footer.json +63 -0
- package/ai/catalog/components/good-card-header.json +100 -0
- package/ai/catalog/components/good-card.json +57 -0
- package/ai/catalog/components/good-chart-axis.json +168 -0
- package/ai/catalog/components/good-chart-bar.json +89 -0
- package/ai/catalog/components/good-chart-histogram.json +78 -0
- package/ai/catalog/components/good-chart-line.json +89 -0
- package/ai/catalog/components/good-chart-scatter.json +87 -0
- package/ai/catalog/components/good-checkbox.json +171 -0
- package/ai/catalog/components/good-citation.json +62 -0
- package/ai/catalog/components/good-code-block.json +116 -0
- package/ai/catalog/components/good-color-controls.json +58 -0
- package/ai/catalog/components/good-color-picker.json +141 -0
- package/ai/catalog/components/good-column.json +53 -0
- package/ai/catalog/components/good-columns.json +77 -0
- package/ai/catalog/components/good-date-input.json +386 -0
- package/ai/catalog/components/good-detail-list.json +43 -0
- package/ai/catalog/components/good-dropdown.json +259 -0
- package/ai/catalog/components/good-error-page.json +133 -0
- package/ai/catalog/components/good-error-text.json +43 -0
- package/ai/catalog/components/good-expandable.json +159 -0
- package/ai/catalog/components/good-eyebrow.json +61 -0
- package/ai/catalog/components/good-field-label.json +62 -0
- package/ai/catalog/components/good-form-field.json +67 -0
- package/ai/catalog/components/good-form-row.json +70 -0
- package/ai/catalog/components/good-group.json +150 -0
- package/ai/catalog/components/good-heading-group.json +45 -0
- package/ai/catalog/components/good-heading.json +69 -0
- package/ai/catalog/components/good-hint.json +43 -0
- package/ai/catalog/components/good-histogram.json +103 -0
- package/ai/catalog/components/good-icon.json +97 -0
- package/ai/catalog/components/good-image-input.json +190 -0
- package/ai/catalog/components/good-image-preview.json +97 -0
- package/ai/catalog/components/good-inline-image.json +131 -0
- package/ai/catalog/components/good-input-phone.json +226 -0
- package/ai/catalog/components/good-input.json +350 -0
- package/ai/catalog/components/good-line-chart.json +94 -0
- package/ai/catalog/components/good-link.json +147 -0
- package/ai/catalog/components/good-listbox.json +248 -0
- package/ai/catalog/components/good-main-menu.json +140 -0
- package/ai/catalog/components/good-main-view.json +179 -0
- package/ai/catalog/components/good-map-color-scale.json +163 -0
- package/ai/catalog/components/good-map-overlay.json +136 -0
- package/ai/catalog/components/good-modal-footer.json +63 -0
- package/ai/catalog/components/good-modal-header.json +73 -0
- package/ai/catalog/components/good-modal.json +131 -0
- package/ai/catalog/components/good-month-calendar.json +170 -0
- package/ai/catalog/components/good-notification-host.json +46 -0
- package/ai/catalog/components/good-notifications.json +72 -0
- package/ai/catalog/components/good-number-input.json +180 -0
- package/ai/catalog/components/good-paragraph.json +47 -0
- package/ai/catalog/components/good-pdf-preview.json +153 -0
- package/ai/catalog/components/good-pin-input.json +211 -0
- package/ai/catalog/components/good-progress.json +158 -0
- package/ai/catalog/components/good-prose.json +43 -0
- package/ai/catalog/components/good-radio-group.json +181 -0
- package/ai/catalog/components/good-range-slider.json +285 -0
- package/ai/catalog/components/good-rating.json +160 -0
- package/ai/catalog/components/good-resizable-pane.json +61 -0
- package/ai/catalog/components/good-resizable.json +185 -0
- package/ai/catalog/components/good-rich-text-editor.json +164 -0
- package/ai/catalog/components/good-scatter-chart.json +94 -0
- package/ai/catalog/components/good-search.json +60 -0
- package/ai/catalog/components/good-section.json +43 -0
- package/ai/catalog/components/good-select-country.json +205 -0
- package/ai/catalog/components/good-select-font.json +111 -0
- package/ai/catalog/components/good-select.json +217 -0
- package/ai/catalog/components/good-separator.json +59 -0
- package/ai/catalog/components/good-settings.json +60 -0
- package/ai/catalog/components/good-sidebar-container.json +112 -0
- package/ai/catalog/components/good-sidebar-item.json +210 -0
- package/ai/catalog/components/good-sidebar-menu-container.json +80 -0
- package/ai/catalog/components/good-sidebar-submenu-group.json +98 -0
- package/ai/catalog/components/good-sidebar-submenu-item.json +113 -0
- package/ai/catalog/components/good-signature-pad.json +115 -0
- package/ai/catalog/components/good-sparkline.json +188 -0
- package/ai/catalog/components/good-status-icon.json +425 -0
- package/ai/catalog/components/good-subheading.json +67 -0
- package/ai/catalog/components/good-subnav.json +132 -0
- package/ai/catalog/components/good-summary.json +43 -0
- package/ai/catalog/components/good-switch.json +167 -0
- package/ai/catalog/components/good-tab.json +129 -0
- package/ai/catalog/components/good-table.json +294 -0
- package/ai/catalog/components/good-tabs.json +90 -0
- package/ai/catalog/components/good-textarea.json +194 -0
- package/ai/catalog/components/good-theme-toggle.json +57 -0
- package/ai/catalog/components/good-timeline-section.json +105 -0
- package/ai/catalog/components/good-timeline-step.json +248 -0
- package/ai/catalog/components/good-timeline.json +302 -0
- package/ai/catalog/components/good-topbar-dropdown-item.json +115 -0
- package/ai/catalog/components/good-topbar-dropdown-menu.json +85 -0
- package/ai/catalog/components/good-topbar-menu-container.json +96 -0
- package/ai/catalog/components/good-topbar-menu-item.json +99 -0
- package/ai/catalog/components/good-topbar-submenu.json +77 -0
- package/ai/catalog/components/good-topbar.json +259 -0
- package/ai/catalog/components/good-world-map.json +145 -0
- package/ai/catalog/components/goodCardActions.json +33 -0
- package/ai/catalog/components/goodDropdownFooter.json +33 -0
- package/ai/catalog/components/goodDropdownHeader.json +33 -0
- package/ai/catalog/components/goodExpandableHeader.json +33 -0
- package/ai/catalog/components/ng-template-goodListboxItem.json +33 -0
- package/ai/catalog/components/ng-template-goodTableCell.json +43 -0
- package/ai/catalog/index.json +1484 -0
- package/ai/catalog/index.schema.json +13 -0
- package/ai/examples/angular.json +26 -0
- package/ai/examples/edit-form.html +13 -0
- package/ai/examples/edit-form.ts +18 -0
- package/ai/examples/index.html +1 -0
- package/ai/examples/login.html +11 -0
- package/ai/examples/login.ts +14 -0
- package/ai/examples/main.ts +25 -0
- package/ai/examples/settings.html +10 -0
- package/ai/examples/settings.ts +13 -0
- package/ai/examples/table-view.html +3 -0
- package/ai/examples/table-view.ts +21 -0
- package/ai/examples/tsconfig.json +27 -0
- package/ai/guides/common-mistakes.md +9 -0
- package/ai/guides/component-discovery.md +19 -0
- package/ai/guides/design-tokens.md +10 -0
- package/ai/guides/layout.md +19 -0
- package/ai/guides/page-patterns.md +39 -0
- package/ai/install.mjs +25 -0
- package/ai/manifest.json +6 -0
- package/ai/skill/goodui/SKILL.md +27 -0
- package/angular/projects/goodui/package.json +28 -0
- package/angular/projects/goodui/src/action-bar.css +20 -0
- package/angular/projects/goodui/src/assistant-panel.css +38 -0
- package/angular/projects/goodui/src/calendar.css +161 -0
- package/angular/projects/goodui/src/chart.css +35 -0
- package/angular/projects/goodui/src/color-picker.css +40 -0
- package/angular/projects/goodui/src/error-page.css +24 -0
- package/angular/projects/goodui/src/lib/action-bar.ts +161 -0
- package/angular/projects/goodui/src/lib/action-group.ts +31 -0
- package/angular/projects/goodui/src/lib/action-menu.ts +81 -0
- package/angular/projects/goodui/src/lib/actions.ts +320 -0
- package/angular/projects/goodui/src/lib/alert.ts +60 -0
- package/angular/projects/goodui/src/lib/app-layout.ts +84 -0
- package/angular/projects/goodui/src/lib/assistant-panel.ts +133 -0
- package/angular/projects/goodui/src/lib/badge.ts +47 -0
- package/angular/projects/goodui/src/lib/bar-chart.html +80 -0
- package/angular/projects/goodui/src/lib/bar-chart.ts +233 -0
- package/angular/projects/goodui/src/lib/breadcrumbs.ts +81 -0
- package/angular/projects/goodui/src/lib/button.ts +38 -0
- package/angular/projects/goodui/src/lib/calendar-layout.ts +68 -0
- package/angular/projects/goodui/src/lib/calendar-service.ts +144 -0
- package/angular/projects/goodui/src/lib/calendar-working-hours.ts +65 -0
- package/angular/projects/goodui/src/lib/calendar.html +200 -0
- package/angular/projects/goodui/src/lib/calendar.ts +471 -0
- package/angular/projects/goodui/src/lib/card.ts +64 -0
- package/angular/projects/goodui/src/lib/chart-colors.ts +22 -0
- package/angular/projects/goodui/src/lib/chart-data.ts +269 -0
- package/angular/projects/goodui/src/lib/checkbox.ts +87 -0
- package/angular/projects/goodui/src/lib/code-block.ts +147 -0
- package/angular/projects/goodui/src/lib/color-controls.ts +107 -0
- package/angular/projects/goodui/src/lib/color-picker.ts +142 -0
- package/angular/projects/goodui/src/lib/color-utils.ts +69 -0
- package/angular/projects/goodui/src/lib/country-data.ts +16 -0
- package/angular/projects/goodui/src/lib/date-input.ts +542 -0
- package/angular/projects/goodui/src/lib/dropdown.ts +309 -0
- package/angular/projects/goodui/src/lib/error-page.ts +46 -0
- package/angular/projects/goodui/src/lib/expandable.ts +64 -0
- package/angular/projects/goodui/src/lib/form.ts +12 -0
- package/angular/projects/goodui/src/lib/goodui-config.ts +16 -0
- package/angular/projects/goodui/src/lib/group.ts +45 -0
- package/angular/projects/goodui/src/lib/histogram.html +52 -0
- package/angular/projects/goodui/src/lib/histogram.ts +146 -0
- package/angular/projects/goodui/src/lib/icon.ts +44 -0
- package/angular/projects/goodui/src/lib/image-input.ts +154 -0
- package/angular/projects/goodui/src/lib/image-preview.ts +26 -0
- package/angular/projects/goodui/src/lib/input-phone.ts +305 -0
- package/angular/projects/goodui/src/lib/input.ts +143 -0
- package/angular/projects/goodui/src/lib/line-chart.html +53 -0
- package/angular/projects/goodui/src/lib/line-chart.ts +193 -0
- package/angular/projects/goodui/src/lib/link.ts +46 -0
- package/angular/projects/goodui/src/lib/listbox.ts +254 -0
- package/angular/projects/goodui/src/lib/main-view.ts +39 -0
- package/angular/projects/goodui/src/lib/marker-colors.ts +7 -0
- package/angular/projects/goodui/src/lib/modal.ts +199 -0
- package/angular/projects/goodui/src/lib/models.ts +115 -0
- package/angular/projects/goodui/src/lib/month-calendar.ts +289 -0
- package/angular/projects/goodui/src/lib/notification-center.ts +170 -0
- package/angular/projects/goodui/src/lib/notification-host.ts +86 -0
- package/angular/projects/goodui/src/lib/number-input.ts +180 -0
- package/angular/projects/goodui/src/lib/pdf-preview.ts +242 -0
- package/angular/projects/goodui/src/lib/pdf-worker.generated.ts +2 -0
- package/angular/projects/goodui/src/lib/pin-input.ts +193 -0
- package/angular/projects/goodui/src/lib/progress.ts +93 -0
- package/angular/projects/goodui/src/lib/provide-goodui.ts +15 -0
- package/angular/projects/goodui/src/lib/radio-group.ts +94 -0
- package/angular/projects/goodui/src/lib/range-slider.ts +313 -0
- package/angular/projects/goodui/src/lib/rating.ts +90 -0
- package/angular/projects/goodui/src/lib/required-control.ts +4 -0
- package/angular/projects/goodui/src/lib/resizable.ts +168 -0
- package/angular/projects/goodui/src/lib/rich-text-command.ts +111 -0
- package/angular/projects/goodui/src/lib/rich-text-editor.html +193 -0
- package/angular/projects/goodui/src/lib/rich-text-editor.ts +864 -0
- package/angular/projects/goodui/src/lib/rich-text-sanitize.ts +99 -0
- package/angular/projects/goodui/src/lib/scatter-chart.html +48 -0
- package/angular/projects/goodui/src/lib/scatter-chart.ts +150 -0
- package/angular/projects/goodui/src/lib/select-country.ts +104 -0
- package/angular/projects/goodui/src/lib/select-font.ts +189 -0
- package/angular/projects/goodui/src/lib/select.ts +336 -0
- package/angular/projects/goodui/src/lib/sidebar.ts +232 -0
- package/angular/projects/goodui/src/lib/signature-pad.ts +238 -0
- package/angular/projects/goodui/src/lib/sparkline.html +15 -0
- package/angular/projects/goodui/src/lib/sparkline.ts +106 -0
- package/angular/projects/goodui/src/lib/status-icon.ts +79 -0
- package/angular/projects/goodui/src/lib/subnav.ts +156 -0
- package/angular/projects/goodui/src/lib/switch.ts +54 -0
- package/angular/projects/goodui/src/lib/table.ts +538 -0
- package/angular/projects/goodui/src/lib/tabs.ts +251 -0
- package/angular/projects/goodui/src/lib/textarea.ts +83 -0
- package/angular/projects/goodui/src/lib/theme.ts +49 -0
- package/angular/projects/goodui/src/lib/timeline.ts +252 -0
- package/angular/projects/goodui/src/lib/topbar.ts +403 -0
- package/angular/projects/goodui/src/lib/typography.ts +250 -0
- package/angular/projects/goodui/src/lib/world-map-data.ts +3 -0
- package/angular/projects/goodui/src/lib/world-map.html +73 -0
- package/angular/projects/goodui/src/lib/world-map.ts +391 -0
- package/angular/projects/goodui/src/month-calendar.css +47 -0
- package/angular/projects/goodui/src/pdf-preview.css +25 -0
- package/angular/projects/goodui/src/progress.css +38 -0
- package/angular/projects/goodui/src/public-api.ts +74 -0
- package/angular/projects/goodui/src/range-slider.css +54 -0
- package/angular/projects/goodui/src/resizable.css +32 -0
- package/angular/projects/goodui/src/rich-text-editor.css +33 -0
- package/angular/projects/goodui/src/select-font.css +16 -0
- package/angular/projects/goodui/src/signature-pad.css +14 -0
- package/angular/projects/goodui/src/styles.css +1105 -0
- package/angular/projects/goodui/src/timeline.css +138 -0
- package/angular/projects/goodui/src/tokens.generated.css +754 -0
- package/design/component-map.json +2233 -0
- package/design-tokens/penpot.tokens.json +3339 -0
- package/design.md +452 -0
- package/fesm2022/cloudfrogger-goodui.mjs +32 -18
- package/fesm2022/cloudfrogger-goodui.mjs.map +1 -1
- package/guides/README.md +17 -0
- package/guides/components/action-bar.md +43 -0
- package/guides/components/action-group.md +43 -0
- package/guides/components/action-menu.md +22 -0
- package/guides/components/alert.md +28 -0
- package/guides/components/assistant-panel.md +50 -0
- package/guides/components/avatar-menu.md +34 -0
- package/guides/components/badge.md +39 -0
- package/guides/components/bar-chart.md +40 -0
- package/guides/components/breadcrumbs.md +37 -0
- package/guides/components/button.md +40 -0
- package/guides/components/calendar.md +166 -0
- package/guides/components/card.md +62 -0
- package/guides/components/chart-axis.md +5 -0
- package/guides/components/chart-bar.md +5 -0
- package/guides/components/chart-data.md +58 -0
- package/guides/components/chart-histogram.md +16 -0
- package/guides/components/chart-line.md +5 -0
- package/guides/components/chart-scatter.md +14 -0
- package/guides/components/checkbox.md +36 -0
- package/guides/components/code-block.md +35 -0
- package/guides/components/color-controls.md +22 -0
- package/guides/components/column.md +5 -0
- package/guides/components/columns.md +13 -0
- package/guides/components/date-input.md +62 -0
- package/guides/components/detail-list.md +25 -0
- package/guides/components/dropdown.md +48 -0
- package/guides/components/error-page.md +31 -0
- package/guides/components/expandable.md +36 -0
- package/guides/components/form.md +49 -0
- package/guides/components/group.md +41 -0
- package/guides/components/histogram.md +45 -0
- package/guides/components/icon.md +13 -0
- package/guides/components/image-input.md +34 -0
- package/guides/components/input-phone.md +45 -0
- package/guides/components/input.md +59 -0
- package/guides/components/line-chart.md +37 -0
- package/guides/components/link.md +31 -0
- package/guides/components/listbox.md +109 -0
- package/guides/components/main-menu.md +23 -0
- package/guides/components/main-view.md +21 -0
- package/guides/components/modal.md +58 -0
- package/guides/components/month-calendar.md +88 -0
- package/guides/components/notifications.md +76 -0
- package/guides/components/number-input.md +21 -0
- package/guides/components/pdf-preview.md +38 -0
- package/guides/components/pin-input.md +37 -0
- package/guides/components/progress.md +41 -0
- package/guides/components/radio-group.md +41 -0
- package/guides/components/range-slider.md +42 -0
- package/guides/components/rating.md +39 -0
- package/guides/components/resizable-pane.md +3 -0
- package/guides/components/resizable.md +75 -0
- package/guides/components/rich-text-editor.md +113 -0
- package/guides/components/scatter-chart.md +43 -0
- package/guides/components/search.md +51 -0
- package/guides/components/select-font.md +16 -0
- package/guides/components/select.md +65 -0
- package/guides/components/settings.md +11 -0
- package/guides/components/sidebar.md +47 -0
- package/guides/components/signature-pad.md +45 -0
- package/guides/components/sparkline.md +31 -0
- package/guides/components/status-icon.md +32 -0
- package/guides/components/submenus.md +30 -0
- package/guides/components/subnav.md +54 -0
- package/guides/components/switch.md +48 -0
- package/guides/components/table.md +256 -0
- package/guides/components/tabs.md +46 -0
- package/guides/components/textarea.md +44 -0
- package/guides/components/theme-toggle.md +33 -0
- package/guides/components/timeline-section.md +7 -0
- package/guides/components/timeline-step.md +12 -0
- package/guides/components/timeline.md +179 -0
- package/guides/components/topbar.md +89 -0
- package/guides/components/typography.md +155 -0
- package/guides/components/world-map.md +72 -0
- package/guides/contributing/design-to-code.md +265 -0
- package/guides/deployment/drone.md +77 -0
- package/guides/examples/user-registration.md +11 -0
- package/guides/foundations/naming.md +7 -0
- package/guides/foundations/tokens.md +203 -0
- package/guides/intro.md +80 -0
- package/guides/layout/app-layout.md +81 -0
- package/guides/layout/layout-rules.md +16 -0
- package/homepage/src/app/examples/calendar-workspace/calendar-workspace-page.html +22 -0
- package/homepage/src/app/examples/calendar-workspace/calendar-workspace-page.ts +111 -0
- package/homepage/src/app/examples/calendar-workspace/source-code.generated.ts +3 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/billing-page.html +166 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/billing-page.ts +134 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/cloudhoster-store.ts +92 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/create-database-page.html +93 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/create-database-page.ts +115 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/database-detail-page.html +202 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/database-detail-page.ts +143 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/databases-page.html +70 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/databases-page.ts +44 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/home-page.html +70 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/home-page.ts +32 -0
- package/homepage/src/app/examples/case-studies/cloudhoster/source-code.generated.ts +12 -0
- package/homepage/src/app/examples/case-studies/vpshoster/create-server-page.html +208 -0
- package/homepage/src/app/examples/case-studies/vpshoster/create-server-page.ts +214 -0
- package/homepage/src/app/examples/case-studies/vpshoster/overview-page.html +35 -0
- package/homepage/src/app/examples/case-studies/vpshoster/overview-page.ts +17 -0
- package/homepage/src/app/examples/case-studies/vpshoster/servers-page.html +111 -0
- package/homepage/src/app/examples/case-studies/vpshoster/servers-page.ts +206 -0
- package/homepage/src/app/examples/case-studies/vpshoster/source-code.generated.ts +6 -0
- package/homepage/src/app/examples/case-studies/vpshoster/vps-store.ts +92 -0
- package/homepage/src/app/examples/case-studies/webmailer/webmailer-page.html +35 -0
- package/homepage/src/app/examples/case-studies/webmailer/webmailer-page.ts +17 -0
- package/homepage/src/app/examples/error-pages/error-pages-example-page.html +27 -0
- package/homepage/src/app/examples/error-pages/error-pages-example-page.ts +34 -0
- package/homepage/src/app/examples/error-pages/not-found-page.html +8 -0
- package/homepage/src/app/examples/error-pages/not-found-page.ts +19 -0
- package/homepage/src/app/examples/error-pages/server-error-page.html +8 -0
- package/homepage/src/app/examples/error-pages/server-error-page.ts +20 -0
- package/homepage/src/app/examples/error-pages/source-code.generated.ts +7 -0
- package/homepage/src/app/examples/mail-compose/mail-compose-page.html +25 -0
- package/homepage/src/app/examples/mail-compose/mail-compose-page.ts +28 -0
- package/homepage/src/app/examples/mail-workspace/mail-workspace-page.html +59 -0
- package/homepage/src/app/examples/mail-workspace/mail-workspace-page.ts +128 -0
- package/homepage/src/app/examples/mail-workspace/source-code.generated.ts +3 -0
- package/homepage/src/app/examples/notifications/notifications-page.html +51 -0
- package/homepage/src/app/examples/notifications/notifications-page.ts +133 -0
- package/homepage/src/app/examples/notifications/source-code.generated.ts +3 -0
- package/homepage/src/app/examples/pdf-reader/pdf-reader-page.html +27 -0
- package/homepage/src/app/examples/pdf-reader/pdf-reader-page.ts +39 -0
- package/homepage/src/app/examples/pdf-reader/source-code.generated.ts +3 -0
- package/homepage/src/app/examples/user-registration/source-code.generated.ts +5 -0
- package/homepage/src/app/examples/user-registration/user-registration-example-page.html +11 -0
- package/homepage/src/app/examples/user-registration/user-registration-example-page.ts +21 -0
- package/homepage/src/app/examples/user-registration/user-registration-form.html +116 -0
- package/homepage/src/app/examples/user-registration/user-registration-form.ts +93 -0
- package/homepage/src/app/examples/user-registration/user-registration-page.html +11 -0
- package/homepage/src/app/examples/user-registration/user-registration-page.ts +23 -0
- package/package.json +2 -2
- package/types/cloudfrogger-goodui.d.ts +2 -2
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
# From Penpot to Angular
|
|
2
|
+
|
|
3
|
+
The native GoodUI library snapshot belongs at `design/penpot/goodui.penpot`, but its export workflow is suspended while [Penpot issue #11554](https://github.com/penpot/penpot/issues/11554) remains unresolved. See [`design/penpot/README.md`](../../design/penpot/README.md) before resuming it. The token JSON below is a separate CSS generation input; live Penpot inspection and component mapping checks continue during the suspension. Check that the archive exists before claiming a snapshot is available.
|
|
4
|
+
|
|
5
|
+
## Workflow
|
|
6
|
+
|
|
7
|
+
1. Read `design.md` and the affected component guide. Inspect the GoodUI Penpot components and rendered homepage for visual questions.
|
|
8
|
+
2. Find the Penpot main component through MCP. Preserve its shape and library IDs; keep children as actual component instances.
|
|
9
|
+
3. Export and visually inspect desktop, mobile, and open states. Check the four default topbar actions individually; verify all three ThemeToggle icons and the optional Settings panel.
|
|
10
|
+
4. Keep the Penpot mapping and homepage API examples in sync.
|
|
11
|
+
5. Run `npm run build:homepage`. Check shell, menus, and drawer on desktop and mobile, including keyboard and screen reader behavior.
|
|
12
|
+
|
|
13
|
+
## Penpot-Registry
|
|
14
|
+
|
|
15
|
+
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
|
+
|
|
17
|
+
| Penpot component | Library ID |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| `goodui.app-layout.desktop` | `521fe58c-da62-80e2-8008-d33f7af79de1` |
|
|
20
|
+
| `goodui.app-layout.mobile` | `521fe58c-da62-80e2-8008-d33fc5601fd6` |
|
|
21
|
+
| `goodui.app-layout.mobile-drawer-open` | `521fe58c-da62-80e2-8008-d33fc5a77074` |
|
|
22
|
+
| `goodui.app-layout.sidebar-expanded` | `521fe58c-da62-80e2-8008-d34591f8da80` |
|
|
23
|
+
| `goodui.app-layout.mobile-drawer-expanded` | `521fe58c-da62-80e2-8008-d345fc71d6ee` |
|
|
24
|
+
| `goodui.sidebar-container.default` | `521fe58c-da62-80e2-8008-d33f4ac0f922` |
|
|
25
|
+
| `goodui.sidebar-container.drawer` | `521fe58c-da62-80e2-8008-d33fc3f1ea97` |
|
|
26
|
+
| `goodui.sidebar-container.expanded` | `521fe58c-da62-80e2-8008-d3458996ee89` |
|
|
27
|
+
| `goodui.sidebar-container.drawer-expanded` | `521fe58c-da62-80e2-8008-d345f7623c28` |
|
|
28
|
+
| `goodui.sidebar-menu-container.default` | `521fe58c-da62-80e2-8008-d33f4a57452a` |
|
|
29
|
+
| `goodui.sidebar-menu-container.expanded` | `521fe58c-da62-80e2-8008-d3457ea24a0f` |
|
|
30
|
+
| `goodui.sidebar-item.default` | `521fe58c-da62-80e2-8008-d33f49ccaa46` |
|
|
31
|
+
| `goodui.sidebar-item.active` | `521fe58c-da62-80e2-8008-d33f4a133c70` |
|
|
32
|
+
| `goodui.sidebar-item.expanded` | `521fe58c-da62-80e2-8008-d34552e9bc72` |
|
|
33
|
+
| `goodui.sidebar-submenu-group.collapsed` / `.expanded` | `521fe58c-da62-80e2-8008-d345acbb05fb` / `521fe58c-da62-80e2-8008-d3454e2d2cfc` |
|
|
34
|
+
| `goodui.sidebar-submenu-item.default` / `.active` | `521fe58c-da62-80e2-8008-d34536320476` / `521fe58c-da62-80e2-8008-d34536702092` |
|
|
35
|
+
| `goodui.topbar.default` | `521fe58c-da62-80e2-8008-d33f667375d0` |
|
|
36
|
+
| `goodui.topbar.with-brand` | `521fe58c-da62-80e2-8008-d33f66ae31ee` |
|
|
37
|
+
| `goodui.topbar.mobile` | `521fe58c-da62-80e2-8008-d33fc43d443e` |
|
|
38
|
+
| `goodui.topbar.mobile-menu-icon` / `.mobile-menu-popup-open` | `c0c3286f-e4bf-804c-8008-d5e514a9b336` / `c0c3286f-e4bf-804c-8008-d5e5154d923f` |
|
|
39
|
+
| `goodui.brand-icon.default` | `521fe58c-da62-80e2-8008-d33f6648cf58` |
|
|
40
|
+
| `goodui.topbar-menu-container.default` | `521fe58c-da62-80e2-8008-d33f65433040` |
|
|
41
|
+
| `goodui.topbar-menu-container.mobile-icon` / `.mobile-popup-open` | `c0c3286f-e4bf-804c-8008-d5e4dc8469c8` / `c0c3286f-e4bf-804c-8008-d5e4f1abf064` |
|
|
42
|
+
| `goodui.topbar-menu-item.default` | `521fe58c-da62-80e2-8008-d33f65037987` |
|
|
43
|
+
| `goodui.topbar-menu-item.open` | `521fe58c-da62-80e2-8008-d3cb40c02667` |
|
|
44
|
+
| `goodui.topbar-dropdown-item.link` | `521fe58c-da62-80e2-8008-d3caa3b78281` |
|
|
45
|
+
| `goodui.topbar-dropdown-item.parent` | `521fe58c-da62-80e2-8008-d3caefc179e0` |
|
|
46
|
+
| `goodui.topbar-dropdown-item.open` | `521fe58c-da62-80e2-8008-d3caf0167256` |
|
|
47
|
+
| `goodui.topbar-dropdown-menu.default` | `521fe58c-da62-80e2-8008-d3cb1bfe9de3` |
|
|
48
|
+
| `goodui.topbar-dropdown-menu.nested-open` | `521fe58c-da62-80e2-8008-d3cb41079b9e` |
|
|
49
|
+
| `goodui.topbar-submenu.default` | `521fe58c-da62-80e2-8008-d3cb2ae3b496` |
|
|
50
|
+
| `goodui.topbar.help-open` | `521fe58c-da62-80e2-8008-d3cb51d73426` |
|
|
51
|
+
| `goodui.topbar.help-submenu-open` | `521fe58c-da62-80e2-8008-d3cb522ee751` |
|
|
52
|
+
| `goodui.app-layout.help-submenu-open` | `521fe58c-da62-80e2-8008-d3cb84e00368` |
|
|
53
|
+
| `goodui.main-menu.default` | `521fe58c-da62-80e2-8008-d33f6619a524` |
|
|
54
|
+
| `goodui.theme-toggle.light` / `.system` / `.dark` | `f52a309e-8b45-80e4-8008-d86c7ab97196` / `f52a309e-8b45-80e4-8008-d86c7bab8421` / `f52a309e-8b45-80e4-8008-d86c7c8f020f` |
|
|
55
|
+
| `goodui.search.default` / `.open` | `521fe58c-da62-80e2-8008-d33f6563524e` / `521fe58c-da62-80e2-8008-d33ffe1c4f79` |
|
|
56
|
+
| `goodui.notifications.default` / `.open` | `521fe58c-da62-80e2-8008-d33f65811a2c` / `521fe58c-da62-80e2-8008-d33fff9a20ba` |
|
|
57
|
+
| `goodui.notifications.unread` | `5fd6a355-e255-80dc-8008-d81d121a0160` (linked bell and destructive Badge with 16 px `notification.count.*` overrides) |
|
|
58
|
+
| `goodui.progress` (`mode` × `appearance` × `size`) | Container `bf5e7a26-ff29-80d7-8008-d9b649158136`; all 18 published IDs and Angular inputs in [progress-variants.json](../../design/progress-variants.json) |
|
|
59
|
+
| `goodui.range-slider` (`mode` × `size` × `status`) | Container `5f52067e-ed89-8049-8008-e07b21d51436` on `33 Range Sliders`; all 12 published IDs and Angular inputs in [range-slider-variants.json](../../design/range-slider-variants.json) |
|
|
60
|
+
| `goodui.pdf-preview` | `bf5e7a26-ff29-80d7-8008-d9c818647115` on `25 PDF Preview`; maps to `good-pdf-preview` (loaded specimen). Toolbar buttons remain linked GoodUI Button instances; page content is illustrative. |
|
|
61
|
+
| `goodui.error-page` (`status=404/500`) | Container `9ec30947-b9fa-809b-8008-db17cc868a9c` on `26 Error Pages`; both published IDs and Angular inputs are in [error-page-variants.json](../../design/error-page-variants.json). Actions and Lucide icons are linked library instances. |
|
|
62
|
+
| `goodui.alert-composition.progress` | `bf5e7a26-ff29-80d7-8008-d9b857795ba5`; linked Progress instance inside a detached, token-bound Alert frame for composition reference |
|
|
63
|
+
| `goodui.settings.default` / `.open` | `521fe58c-da62-80e2-8008-d33f65a3839a` / `521fe58c-da62-80e2-8008-d340005398c5` |
|
|
64
|
+
| `goodui.avatar-menu.default` / `.open` | `521fe58c-da62-80e2-8008-d33f65e8aeea` / `521fe58c-da62-80e2-8008-d3400143c866` |
|
|
65
|
+
| `goodui.avatar-menu-item.default` / `.parent` / `.sign-out` | `521fe58c-da62-80e2-8008-d3dff07e8b0c` / `521fe58c-da62-80e2-8008-d3e02020206b` / `521fe58c-da62-80e2-8008-d3e020759afe` |
|
|
66
|
+
| `goodui.avatar-submenu.default` / `goodui.avatar-menu.account-open` | `521fe58c-da62-80e2-8008-d3e0a96714b4` / `521fe58c-da62-80e2-8008-d3e0a9a60899` |
|
|
67
|
+
| `goodui.main-view.default` / `.mobile` | `521fe58c-da62-80e2-8008-d33f7aa54b2b` / `521fe58c-da62-80e2-8008-d33fc4dcceec` |
|
|
68
|
+
| `goodui.main-view.account` | `521fe58c-da62-80e2-8008-d34655a672c2` |
|
|
69
|
+
| `goodui.main-view.account-mobile` | `521fe58c-da62-80e2-8008-d40ced977d68` |
|
|
70
|
+
| `goodui.main-view.fill-heading` / `.fill-heading-mobile` | `1b6260d7-e591-805d-8008-e28200da7174` / `1b6260d7-e591-805d-8008-e282014cb32c` on `02 Layout`; both map to `good-main-view layout="fill"` with an optional heading. The heading keeps the standard 30/24 px inset while the workspace below spans the full width. |
|
|
71
|
+
| `goodui.subnav-item.link` / `.parent` / `.active` | `521fe58c-da62-80e2-8008-d40ca2339866` / `521fe58c-da62-80e2-8008-d40ca29a692f` / `521fe58c-da62-80e2-8008-d40ca32c96fa` |
|
|
72
|
+
| `goodui.subnav.desktop` / `.mobile` / `.menu-open` | `521fe58c-da62-80e2-8008-d40cb8b8e01a` / `521fe58c-da62-80e2-8008-d40cba28bff7` / `521fe58c-da62-80e2-8008-d40cd63c49cf` |
|
|
73
|
+
| `goodui.subnav-dropdown.default` | `521fe58c-da62-80e2-8008-d40cd5f5d476` |
|
|
74
|
+
| `goodui.subnav.with-actions` | `521fe58c-da62-80e2-8008-d41a1e574999` |
|
|
75
|
+
| `goodui.button` variant group (`variant` × `size` × `content`) | Container `521fe58c-da62-80e2-8008-d4240d421919`; all 45 IDs in [button-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/button-variants.json) |
|
|
76
|
+
| `goodui.switch` variant group (`state` × `size` × `status` × `appearance`) | Container `521fe58c-da62-80e2-8008-d457ef0aef38`; all 36 IDs in [switch-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/switch-variants.json) |
|
|
77
|
+
| `goodui.checkbox` variant group (`appearance` × `state` × `size` × `status`) | Container `79fa6408-a1e2-80d7-8008-d497977b07fc`; all 36 IDs in [checkbox-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/checkbox-variants.json) |
|
|
78
|
+
| `goodui.radio-group` variant group (`appearance` × `size` × `selection` × `status`) | Container `c0c3286f-e4bf-804c-8008-d527a8bca171`; all 24 IDs in [radio-group-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/radio-group-variants.json) |
|
|
79
|
+
| `goodui.rating` variant group (`icon` × `size` × `value` × `status`) | Container `c0c3286f-e4bf-804c-8008-d6d2d59cd6de`; all 36 IDs in [rating-variants.json](../../design/rating-variants.json) |
|
|
80
|
+
| `goodui.link` (`appearance` × `underline` × `decoration` × `status`) | Container `c0c3286f-e4bf-804c-8008-d52ebed18b43`; all 24 IDs in [link-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/link-variants.json) |
|
|
81
|
+
| `goodui.card` (`header` × `footer`) | Container `c0c3286f-e4bf-804c-8008-d530a53ab97a`; all 20 IDs in [card-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/card-variants.json) |
|
|
82
|
+
| `goodui.card-header` (`tone` × `actions`) / `goodui.card-footer` (`content`) | Containers `c0c3286f-e4bf-804c-8008-d52fb75ce3d8` / `c0c3286f-e4bf-804c-8008-d52ff73e803a`; six Header and four Footer IDs in the same manifest |
|
|
83
|
+
| `goodui.code-block` (`display` × `lineNumbers` × `preview`) | Container `c0c3286f-e4bf-804c-8008-d53b76052bd3`; five IDs in [code-block-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/code-block-variants.json) |
|
|
84
|
+
| `goodui.modal` (`presentation` × `size` × `footer`) | Container `c0c3286f-e4bf-804c-8008-d5597a4374dc`; 18 IDs in [modal-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/modal-variants.json) |
|
|
85
|
+
| `goodui.modal-header` (`description`) / `goodui.modal-footer` (`actions`) | Containers `c0c3286f-e4bf-804c-8008-d55933e7c8e3` / `c0c3286f-e4bf-804c-8008-d559378cfb14`; two IDs each in the same manifest |
|
|
86
|
+
| `goodui.action-group` (`orientation` × `spacing`) | Container `c0c3286f-e4bf-804c-8008-d5619557bd60`; six IDs in [action-group-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/action-group-variants.json) |
|
|
87
|
+
| `goodui.heading-group`, `goodui.heading` (`level=1/2-6`), `goodui.summary`, `goodui.section`, `goodui.prose`, `goodui.detail-list`, `goodui.paragraph`, `goodui.subheading`, `goodui.citation` | Published IDs and Angular selectors in [typography-components.json](../../design/typography-components.json); DetailList `1b6260d7-e591-805d-8008-e2d28e329f5a` maps to `good-detail-list` with native `dt`/`dd` rows marked by `div[goodDetailRow]`; Section composes linked Subheading and Prose instances |
|
|
88
|
+
| `goodui.columns` (`columns=2/3/4`) / `goodui.column` | Variant group `3b81f0ef-6814-8039-8008-dfd9ad609b79`, linked Column component `3b81f0ef-6814-8039-8008-dfd8f3c082d6`; all variant IDs in [typography-components.json](../../design/typography-components.json). Angular `good-columns [columns]` distributes content and `good-column [visibleAt]` filters it by container-width band. |
|
|
89
|
+
| `goodui.eyebrow` (`appearance=brand/mono`), `goodui.separator` (`style=dots/line`), `goodui.inline-image` (`align=center/left/right`) | Variant IDs and inputs in [typography-components.json](../../design/typography-components.json) |
|
|
90
|
+
| `goodui.form-field` (`state=default/error`), `goodui.field-label` (`required=false/true`), `goodui.hint`, `goodui.error-text` | Linked form compositions and text IDs in [typography-components.json](../../design/typography-components.json) |
|
|
91
|
+
| `goodui.form.vertical` / `.left` / `.right` | `c0c3286f-e4bf-804c-8008-d66c6d6ef862` / `c0c3286f-e4bf-804c-8008-d66c9f9af724` / `c0c3286f-e4bf-804c-8008-d66ca3a385e3`; Angular `form[goodForm]` with matching `layout` input. Each Penpot form contains linked FieldLabel and Input instances. The specimens show default constrained width; `[fullWidth]="true"` removes the Angular maximums and is illustrated with Groups and FormRows on `19 Groups`. The former `.inline`, `.inline-compact`, and `.inline-spread` FormField specimens were removed; set `layout` once on the form. |
|
|
92
|
+
| `goodui.form-field.checkbox-required` / `.radio-required` | `c0c3286f-e4bf-804c-8008-d6694e0b2387` / `c0c3286f-e4bf-804c-8008-d669672e1467`; linked selection controls with shared `form.label-width` and `form.column-gap` bindings. The radio example has a linked required FieldLabel in the label column and a linked RadioGroup with its legend hidden visually; Angular maps this to `labelledBy`. |
|
|
93
|
+
| `goodui.status-icon` (`status` × `appearance`) | Variant group `3b81f0ef-6814-8039-8008-dfe23c66b611`; 42 published IDs in [status-icon-variants.json](../../design/status-icon-variants.json) map to `good-status-icon`. `clock-mono` and `circle-mono` bind `color.text` for every status. Size and disabled are demonstrated by linked runtime specimens on `30 Status Icons`. |
|
|
94
|
+
| `goodui.expandable` (`icon` × `state`) | Variant group `8c729319-5265-802b-8008-dfff9ab66723`; eight published IDs in [expandable-contract.json](../../design/expandable-contract.json) map to `good-expandable`. A linked specimen shows the disabled runtime state on `31 Expandables`. |
|
|
95
|
+
| `goodui.month-calendar` (`selection`) | Variant group `0f7b0071-4660-806f-8008-e00913a6277d`; `day` library ID `0f7b0071-4660-806f-8008-e00909d6eb75` and `week` library ID `0f7b0071-4660-806f-8008-e0090e22243d` map to `good-month-calendar [selectionMode]` on `32 Month Calendars`. [month-calendar-contract.json](../../design/month-calendar-contract.json) records the main shape IDs. Month count, orientation, highlights, year choice, and dates are runtime values. |
|
|
96
|
+
| `goodui.group.outline` / `.outline-no-title` / `.contrast` / `.plain` | `good-group [appearance]`, optional `[title]`, `[headingLevel]`, `[headingId]`; four published IDs and linked FormRow content in [group-components.json](../../design/group-components.json). Group owns its surface and child gap; outline title crosses the frame. |
|
|
97
|
+
| `goodui.form-row.2` / `.3` | `good-form-row [columns]`; two published IDs in [group-components.json](../../design/group-components.json). Linked FormField instances; Angular stacks columns by container width. |
|
|
98
|
+
| `goodui.input` variant group (`kind` × `size` × `status`) | Container `79fa6408-a1e2-80d7-8008-d47eb4e37dc7`; all 21 IDs in [input-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/input-variants.json) |
|
|
99
|
+
| `goodui.textarea` (`size` × `status`) | Container `5f52067e-ed89-8049-8008-e080bcd2b586` on `34 Textareas`; all 12 published IDs and the optional resize specimen in [textarea-variants.json](../../design/textarea-variants.json) |
|
|
100
|
+
| `goodui.rich-text-editor` | `5f52067e-ed89-8049-8008-e08fc607a358` on `35 Rich Text`; maps to `good-rich-text-editor`. Runtime states and main shape ID are in [rich-text-contract.json](../../design/rich-text-contract.json). |
|
|
101
|
+
| `goodui.select-font` | `5f52067e-ed89-8049-8008-e0d847bafee0` on `37 Font Selects`; maps to `good-select-font`. The guide board presents the master and linked small, large, disabled, keyboard-focus, and open-trigger specimens; the open list and IDs are in [select-font-contract.json](../../design/select-font-contract.json). A linked instance appears in the Rich Text editor toolbar. Named font availability is determined by each browser and is not a Penpot variant. |
|
|
102
|
+
| `goodui.signature-pad` | `5f52067e-ed89-8049-8008-e116dc874393` on `38 Signature Pads`; maps to `good-signature-pad`. The empty master is `5f52067e-ed89-8049-8008-e116cbc11774`; the signed specimen is a linked copy with separate ink paths. Timed drawing, SVG output, clear, and disabled behavior are runtime states in [signature-pad-contract.json](../../design/signature-pad-contract.json). |
|
|
103
|
+
| `goodui.timeline.simple` / `.detailed` / `.illustrated` / `.illustrated-endpoints` / `.vertical` / `.small` / `.large` / `.deactivated` / `.secondary` / `.mono` | Ten step presentations on `39 Timelines` map to `good-timeline`. Their stable IDs and appearance, orientation, size, tone, endpoint, and deactivated states are in [timeline-contract.json](../../design/timeline-contract.json). Step count, titles, icons, images, colors, progress, and transition labels are runtime data. |
|
|
104
|
+
| `goodui.timeline-step` | `2f4a7d00-3514-8040-8008-e13ce8fe5e6d` on `39 Timelines`; maps to the declarative `good-timeline-step` tag. The tag provides inputs; `good-timeline` owns the rendered list item and connector. |
|
|
105
|
+
| `goodui.timeline.sections` | `1b6260d7-e591-805d-8008-e2c931b359ef` on `39 Timelines`; maps to `good-timeline appearance="sections"`. The specimen shows the dashed rail, completed/attention/optional markers, and the compact sticky heading state. |
|
|
106
|
+
| `goodui.timeline-section` | `1b6260d7-e591-805d-8008-e2c93746d449` on `39 Timelines`; maps to `good-timeline-section`, which owns a semantic heading, state marker, and projected content. |
|
|
107
|
+
| `goodui.resizable.grip` / `.line` / `.dots` / `.chevrons` / `.vertical` / `.disabled` | Six published components on `40 Resizable` map to `good-resizable`. Their stable IDs and handle, direction, and disabled semantics are in [resizable-contract.json](../../design/resizable-contract.json). Split percentage, bounds, responsive direction, and interaction are runtime states. |
|
|
108
|
+
| `goodui.resizable-pane` | `2f4a7d00-3514-8040-8008-e1682a05bb5c` on `40 Resizable`; maps to `good-resizable-pane`. Use the static `side=start/end` projection attribute and optional `padding`. |
|
|
109
|
+
| `goodui.assistant-panel.desktop` / `.soft` / `.mobile-drawer` / `.mobile-bottom` | Four published components on `41 Assistant Panels` map to `good-assistant-panel`. `appearance="soft"` uses a borderless, token-bound tinted card. The presence of `good-assistant-mobile` chooses the docked mobile composition; otherwise the right drawer is the default. `hideOnMobile` removes the companion. Live IDs are in [assistant-panel-contract.json](../../design/assistant-panel-contract.json). |
|
|
110
|
+
| `goodui.assistant-main` / `.assistant-header` / `.assistant-body` / `.assistant-footer` / `.assistant-mobile` | Five published section components on `41 Assistant Panels` map to their matching Angular tags. Main owns responsive padding; Body scrolls between Header and Footer; Mobile supplies the optional compact dock content. IDs and composition semantics are in [assistant-panel-contract.json](../../design/assistant-panel-contract.json). |
|
|
111
|
+
| `goodui.color-picker` / `goodui.color-controls` | `5f52067e-ed89-8049-8008-e094ea62f927` / `5f52067e-ed89-8049-8008-e094ea67d958` on `36 Color Controls`; map to `good-color-picker` and `good-color-controls`. The compact picker shows only a swatch and chevron by default; linked size and disabled specimens plus the open palette are recorded in [color-controls-contract.json](../../design/color-controls-contract.json). The former Rich Text page masters were replaced during the page move; the current IDs remain stable through this API rename. |
|
|
112
|
+
| `goodui.input-addon` variant group (`side` × `content` × `tone` × `size`) | Container `79fa6408-a1e2-80d7-8008-d47f49489ba6`; all 24 IDs in the same manifest |
|
|
113
|
+
| `goodui.date-input` (`mode` × `size` × `status`) | Container `c0c3286f-e4bf-804c-8008-d6a49f798c44`; 30 variants in [date-input-variants.json](../../design/date-input-variants.json) map to `good-date-input` |
|
|
114
|
+
| `goodui.date-input-addon` / `goodui.date-day` / `goodui.date-calendar` | Internal families owned by `good-date-input`; containers `c0c3286f-e4bf-804c-8008-d6a485d410d1`, `c0c3286f-e4bf-804c-8008-d6a4e2e77d97`, and `c0c3286f-e4bf-804c-8008-d6a5c83be85d`; 3, 5, and 6 variants in the same manifest |
|
|
115
|
+
| `goodui.date-calendar-overlay` | Mobile modal composition `c0c3286f-e4bf-804c-8008-d6ac737576fa`; linked Calendar, ModalHeader, and Button, owned by `good-date-input` |
|
|
116
|
+
| `goodui.calendar.month` / `.week` / `.day` / `.list` | `f52a309e-8b45-80e4-8008-d87a4a69a83b` / `f52a309e-8b45-80e4-8008-d8784cd0967f` / `f52a309e-8b45-80e4-8008-d878a2dd876c` / `f52a309e-8b45-80e4-8008-d878c1de4bca`; map to `good-calendar [view]` on `22 Calendars` |
|
|
117
|
+
| `goodui.calendar-toolbar.month/week/day/list` | Internal parts of `good-calendar`; IDs `f52a309e-8b45-80e4-8008-d876ecbd6a96`, `f52a309e-8b45-80e4-8008-d87710964835`, `f52a309e-8b45-80e4-8008-d8773156ed96`, and `f52a309e-8b45-80e4-8008-d877558e4c95`. Each calendar view contains its linked toolbar instance. |
|
|
118
|
+
| `goodui.calendar-event.timed` / `.all-day` | Internal appointment presentations `f52a309e-8b45-80e4-8008-d87684025b2b` / `f52a309e-8b45-80e4-8008-d87684cbe1f0`; Angular uses event data, overlap placement, and local time instead of additional Penpot variants. |
|
|
119
|
+
| `goodui.calendar-event.timed-resizable` / `.all-day-resizable` | Internal linked event and resize-handle compositions `f52a309e-8b45-80e4-8008-d8cdc19c5a8c` / `f52a309e-8b45-80e4-8008-d8cdc4447454`. They map to event `resizable: true` in `good-calendar`; handle geometry binds `calendar.resize.handle.size`. |
|
|
120
|
+
| `goodui.calendar.nonworking-band` | Internal background part `67db336f-622c-80dd-8008-d8d4374f980d`, owned by `good-calendar`. Linked weekend instances in the week specimen and weekend month cells bind `calendar.nonworking.background`; Angular computes actual bands from `[workingHours]`. |
|
|
121
|
+
| `goodui.calendar.nonworking-band.labeled` | Internal linked background and caption composition `67db336f-622c-80dd-8008-d8d94a111acc`, owned by `good-calendar`. The week specimen uses it for the default 12:00–13:00 Lunch break; Angular uses `[nonWorkingLabels]` for matching gaps. |
|
|
122
|
+
| `goodui.calendar.now-indicator` | Internal line-and-dot component `67db336f-622c-80dd-8008-d8dc65d002a3`, owned by `good-calendar`. Linked instances in the week and day specimens represent `[showCurrentTime]`; line height, dot size, and fill bind to `calendar.now.*` tokens. Its shown time in Penpot is illustrative; Angular uses the live local clock. |
|
|
123
|
+
| `goodui.calendar.holiday-label` | Internal label component `67db336f-622c-80dd-8008-d8e0536243ea`, owned by `good-calendar`. Linked instances in all four calendar views represent the `holidays` input; selected surface, readable text, rose marker color, compact radius, and marker size are bound to tokens. |
|
|
124
|
+
|
|
125
|
+
Penpot page `23 Marker Colors` is a token reference page, not an Angular component family. Its 16 swatches bind directly to `color.marker.<name>` in `layout`; `layout-dark` overrides each value. Linked calendar event instances on `22 Calendars` bind their fills directly to those same tokens. Their text binds to `calendar.marker.text` or `.text-on-deep` for contrast. These instance overrides map to `GoodCalendarEvent.marker`; the published event components retain their generic brand default. `good-calendar` uses the same roles at runtime, and applications may use the generated CSS/Tailwind variables for labeled domain highlights.
|
|
126
|
+
| `goodui.image-input` (`shape` × `state`) / `goodui.image-preview` | Container `c0c3286f-e4bf-804c-8008-d6914803417c`; four variants and preview component `c0c3286f-e4bf-804c-8008-d69165c1578d` in [image-input-variants.json](../../design/image-input-variants.json) |
|
|
127
|
+
| `goodui.dropdown` variant group (`placement` × `chevron` × `state`) | Container `79fa6408-a1e2-80d7-8008-d4862be1ed43`; all 16 IDs in [dropdown-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/dropdown-variants.json) |
|
|
128
|
+
| `goodui.dropdown-panel` (`sections` × `scroll`) / `goodui.dropdown-item` (`content` × `state`) | Containers `79fa6408-a1e2-80d7-8008-d485ec2fb91d` / `79fa6408-a1e2-80d7-8008-d48594a79ebf`; four panel and twelve item IDs in the same manifest |
|
|
129
|
+
| `goodui.dropdown.submenu-open` | `79fa6408-a1e2-80d7-8008-d48641347a8e`; linked root and child panels |
|
|
130
|
+
| `goodui.breadcrumbs` (`style` × `start` × `path` × `separator`) | Container `79fa6408-a1e2-80d7-8008-d48e4edba3e0`; all 16 IDs in [breadcrumbs-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/breadcrumbs-variants.json) |
|
|
131
|
+
| `goodui.action-menu.default` / `.open` | `521fe58c-da62-80e2-8008-d41a7659d7eb` / `521fe58c-da62-80e2-8008-d41a76a2c06d` |
|
|
132
|
+
|
|
133
|
+
Open states are visual designs. The Angular implementation connects triggers, focus, closing, data, and navigation. The two-level Help and avatar account menus exist in Penpot, the library, and `homepage`. Review new states across all three.
|
|
134
|
+
|
|
135
|
+
### Brand artwork on `04 Logos`
|
|
136
|
+
|
|
137
|
+
These are brand assets rather than Angular UI components, so they have no `good-*` selector. The two wordmarks are transparent vector components with nine editable paths each. The standalone light and dark symbols retain their original library IDs and now each contain three editable paths (`checkmark`, `dot`, and `smile`) on a transparent board, with no image fill. Their direct Penpot exports are `assets/brand/goodui-mark.svg` and `goodui-mark-dark.svg`; the wordmarks are exported to `goodui-logo-light.svg` and `goodui-logo-dark.svg` in the same directory. The remaining square symbols, glossy symbols, and badges use supplied PNG artwork as image fills, including the original backgrounds and effects. The miniature symbols in `artwork/iconography.png` are size previews of the standalone symbol, not separate logo forms.
|
|
138
|
+
|
|
139
|
+
The Angular homepage takes its wordmarks and mobile topbar symbols from those SVG exports. Run `npm run brand:sync` after a Penpot logo export; `build:homepage` and `start:homepage` run the same step automatically. The script copies the wordmarks and symbols to `homepage/public/` and also copies the symbols as `favicon.svg` and `favicon-dark.svg`. The homepage selects its favicon from the active GoodUI theme. The Angular library does not ship or set a favicon. A consuming app supplies its own logo URLs and favicon in its own public assets and `index.html`.
|
|
140
|
+
|
|
141
|
+
| Penpot asset | Library ID | Source artwork |
|
|
142
|
+
| --- | --- | --- |
|
|
143
|
+
| `goodui.logo.wordmark.light` | `521fe58c-da62-80e2-8008-d43db1552ac3` | `artwork/goodui_logo_white_and_dark.png` |
|
|
144
|
+
| `goodui.logo.wordmark.dark` | `521fe58c-da62-80e2-8008-d43de4638aa6` | `artwork/goodui_logo_white_and_dark.png` |
|
|
145
|
+
| `goodui.logo.symbol.light` | `521fe58c-da62-80e2-8008-d43de7597121` | `artwork/iconography.png` |
|
|
146
|
+
| `goodui.logo.symbol.dark` | `521fe58c-da62-80e2-8008-d43df4f611b5` | `artwork/iconography.png` |
|
|
147
|
+
| `goodui.logo.symbol-tile.light` | `521fe58c-da62-80e2-8008-d43dea2d593c` | `artwork/iconography.png` |
|
|
148
|
+
| `goodui.logo.symbol-tile.dark` | `521fe58c-da62-80e2-8008-d43df99f0c6c` | `artwork/iconography.png` |
|
|
149
|
+
| `goodui.logo.symbol-glossy.light` | `521fe58c-da62-80e2-8008-d43dee73988e` | `artwork/iconography.png` |
|
|
150
|
+
| `goodui.logo.symbol-glossy.dark` | `521fe58c-da62-80e2-8008-d43dfe8d4d4b` | `artwork/iconography.png` |
|
|
151
|
+
| `goodui.logo.badge-outline.light` | `521fe58c-da62-80e2-8008-d43e0089be7a` | `artwork/reference_logos.png` |
|
|
152
|
+
| `goodui.logo.badge-outline.dark` | `521fe58c-da62-80e2-8008-d43e102b60ef` | `artwork/reference_logos.png` |
|
|
153
|
+
| `goodui.logo.badge-solid.light` | `521fe58c-da62-80e2-8008-d43e051ac34e` | `artwork/reference_logos.png` |
|
|
154
|
+
| `goodui.logo.badge-solid.dark` | `521fe58c-da62-80e2-8008-d43e197f84af` | `artwork/reference_logos.png` |
|
|
155
|
+
| `goodui.logo.badge-built-with.light` | `521fe58c-da62-80e2-8008-d43e0a19338e` | `artwork/reference_logos.png` |
|
|
156
|
+
| `goodui.logo.badge-built-with.dark` | `521fe58c-da62-80e2-8008-d43e1b73cbf2` | `artwork/reference_logos.png` |
|
|
157
|
+
|
|
158
|
+
## Reusable component mapping
|
|
159
|
+
|
|
160
|
+
`design/component-map.json` is the machine-readable mapping for published Penpot UI components. Each `componentMappings` entry records the complete Penpot component name and stable library ID, Angular selector, internal-part owner where applicable, and design state. `variantManifests` points to the detailed axis and ID matrices without duplicating them. Most families map by the `goodui.<family>.<state>` → `good-<family>` rule. Internal visual parts, including DateInput's addon, day, and calendar families, map to their owning Angular component. The state suffix is represented by input data, projected content, or runtime state, not by a new selector. Brand artwork on `04 Logos` has no Angular selector and is documented separately above. Use this contract when importing GoodUI components into future Penpot project files and implementing those designs with `@cloudfrogger/goodui`. Run `npm run check:mapping` to validate the JSON against Angular selectors and variant manifests; compare its IDs with the live Penpot library through MCP when either side changes. The script itself does not connect to Penpot.
|
|
161
|
+
|
|
162
|
+
| Penpot family and state | Angular API |
|
|
163
|
+
| --- | --- |
|
|
164
|
+
| `goodui.subnav.desktop`, `.mobile`, `.menu-open` | `good-subnav`, `GoodSubnavItem[]`; viewport and open state are responsive/runtime behavior |
|
|
165
|
+
| `goodui.subnav.with-actions` | `good-subnav [actions]` or `good-main-view [subnavActions]` using `GoodSubnavAction[]` |
|
|
166
|
+
| `goodui.subnav-item.*`, `goodui.subnav-dropdown.default` | Internal parts of `good-subnav`; `items[].route`, `items[].children`, and router state |
|
|
167
|
+
| `goodui.button`, `variant=default/secondary/destructive/outline/ghost` | `good-button [variant]`; default is `default` |
|
|
168
|
+
| `goodui.button`, `size=small/default/large` | `good-button [size]`; default is `default` |
|
|
169
|
+
| `goodui.button`, `content=text/with-icon/icon-only` | Projected text; optional Lucide `[icon]`; for icon-only use an empty label or `[iconOnly]="true"` and required `ariaLabel` |
|
|
170
|
+
| `goodui.action-menu.default`, `.open` | `good-action-menu [items]="..."`; `label`, `icon`, and runtime open state |
|
|
171
|
+
| `goodui.switch`, `state=off/on` | `good-switch [checked]` / `[(checked)]`; native checkbox with switch semantics |
|
|
172
|
+
| `goodui.switch`, `size=small/default/large` | `good-switch [size]`; default is `default` |
|
|
173
|
+
| `goodui.switch`, `status=default/disabled/error` | `good-switch [disabled]` or `[error]`; disabled takes visual priority when both are true |
|
|
174
|
+
| `goodui.switch`, `appearance=brand/mono` | `good-switch [appearance]`; brand is the default, mono follows theme text color |
|
|
175
|
+
| `goodui.checkbox`, `appearance=brand/mono` | `good-checkbox [appearance]`; brand is the default |
|
|
176
|
+
| `goodui.checkbox`, `state=unchecked/checked/indeterminate` | `checked` and `indeterminate` models, or Angular form values `false` / `true` / `null` |
|
|
177
|
+
| `goodui.checkbox`, `size=small/default/large`, `status=default/disabled` | `good-checkbox [size]` and `[disabled]` or disabled FormControl |
|
|
178
|
+
| `goodui.radio-group`, `appearance=brand/mono`, `size=small/default/large` | `good-radio-group [appearance]` and `[size]` |
|
|
179
|
+
| `goodui.radio-group`, `selection=none/selected`, `status=default/disabled` | `good-radio-group [value]` / `[(value)]` or a FormControl; `[disabled]` or disabled FormControl |
|
|
180
|
+
| `goodui.rating`, `icon=star/heart/thumbs-up`, `size=small/default/large` | `good-rating [icon]` and `[size]`; `[customIcon]` accepts other Lucide artwork, while `[selectedColor]` overrides the theme-aware icon color |
|
|
181
|
+
| `goodui.rating`, `value=1/3`, `status=default/disabled` | `good-rating [value]` / `[(value)]` or a FormControl; `[disabled]` or a disabled FormControl; `[readonly]` changes interaction only |
|
|
182
|
+
| `goodui.link`, `appearance=brand/mono` | `good-link [appearance]`; accent or theme text color |
|
|
183
|
+
| `goodui.link`, `underline=hover/always`, `decoration=solid/dashed/dotted` | `good-link [underline]` and `[decoration]`; hover is a runtime state |
|
|
184
|
+
| `goodui.link`, `status=default/disabled` | `good-link [route]` or `[href]`, optionally `[disabled]`; disabled removes destination and focus |
|
|
185
|
+
| `goodui.card`, `header=none/default/secondary/image` | `good-card` with an optional `good-card-header`; `[tone]` or `[backgroundImage]` selects its surface |
|
|
186
|
+
| `goodui.card`, `footer=none/text/link/buttons/mixed` | `good-card` with optional `good-card-footer` and projected content |
|
|
187
|
+
| `goodui.card-header`, `tone=default/secondary/image`, `actions=none/buttons` | `good-card-header [title]`, `[headingLevel]`, optional `[goodCardSubtitle]` and `[goodCardActions]`; actions are projected controls |
|
|
188
|
+
| `goodui.card-footer`, `content=text/link/buttons/mixed` | `good-card-footer [align]` with projected text, `good-link`, and/or `good-button` |
|
|
189
|
+
| `goodui.code-block`, `display=block/inline` | `good-code-block [inline]`; block is the default |
|
|
190
|
+
| `goodui.code-block`, `lineNumbers=off/on` | `good-code-block [lineNumbers]`; ignored in inline mode |
|
|
191
|
+
| `goodui.code-block`, `preview=full/collapsed` | `good-code-block [collapsible]` and `[collapsedLines]`; expand/collapse is runtime state |
|
|
192
|
+
| `goodui.dropdown`, `placement=top-start/bottom-start/left-start/right-start` | `good-dropdown [placement]`; runtime viewport clamping may shift final coordinates |
|
|
193
|
+
| `goodui.dropdown`, `chevron=shown/hidden`, `state=closed/open` | `good-dropdown [showChevron]` and `[(open)]`; click or hover is selected with `[trigger]` |
|
|
194
|
+
| `goodui.dropdown-panel`, `sections=items-only/full`, `scroll=off/on` | Optional `goodDropdownHeader` and `goodDropdownFooter` projection; `[scrollItems]` and `[maxItemsHeight]` |
|
|
195
|
+
| `goodui.dropdown-item`, `content` and `state` | `GoodDropdownItem` icon, label, badge, detail, children, and disabled fields; no separate selector |
|
|
196
|
+
| `goodui.breadcrumbs`, `style=plain/card` | `good-breadcrumbs [card]`; `plain` is the default |
|
|
197
|
+
| `goodui.breadcrumbs`, `start=text/icon` | `good-breadcrumbs [homeIcon]`; first item label remains the accessible name |
|
|
198
|
+
| `goodui.breadcrumbs`, `path=full/collapsed` | `GoodBreadcrumbItem[]` and `[maxItems]`; hidden ancestors open through the ellipsis menu |
|
|
199
|
+
| `goodui.breadcrumbs`, `separator=chevron/slash` | `[separator]`; default Lucide Chevron Right or custom icon/text |
|
|
200
|
+
| `goodui.badge`, `color` / `variant` / `shape` / `size` | `good-badge` inputs; defaults are `primary`, `solid`, `pill`, `default`. Angular `circle` aliases `pill` and `medium` aliases `default`. |
|
|
201
|
+
| `goodui.badge`, leading icon / removable X | `good-badge [icon]` and `[removable]`; `(removed)` is emitted by the X button |
|
|
202
|
+
|
|
203
|
+
The original outlined Button component IDs `521fe58c-da62-80e2-8008-d41a0ffcd7b8` (small text) and `521fe58c-da62-80e2-8008-d41a10456bbf` (small icon-only) remain in the variant group. Existing Subnav and ActionMenu compositions retain their Button instances. `design/button-variants.json` is the complete Penpot-library-ID-to-Angular-input registry; `npm run check:mapping` checks its matrix and uniqueness. The script cannot read live Penpot, so also compare the manifest with the MCP catalog after design changes.
|
|
204
|
+
|
|
205
|
+
`design/switch-variants.json` is the matching Switch registry. The track and thumb are token-bound Penpot shapes inside each library variant. `npm run check:mapping` checks all 36 combinations and unique IDs; the original 18 IDs remain under `appearance=brand`. The visual error state uses `switch.error.border` and the runtime control adds `aria-invalid` and an optional `describedBy` relationship.
|
|
206
|
+
|
|
207
|
+
`goodui.checkbox` publishes 36 variants on `06 Checkboxes`. Its `appearance`, `state`, `size`, and `status` axes map to `good-checkbox` inputs and native form behavior. The mark is a vector in a flex-centered, token-sized board; Penpot cannot size-bind the imported SVG group itself, so its path coordinates are authored per size. [checkbox-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/checkbox-variants.json) records all IDs. The browser supplies native focus and the required indeterminate-to-unchecked transition.
|
|
208
|
+
|
|
209
|
+
`goodui.radio-group` publishes 24 variants on `07 Radio Groups`. The `selected` specimen selects its second option; a runtime group may select any option through its `value` or form control. Each Penpot specimen has three example options; the Angular `options` array provides runtime labels and count. Its root, option list, and rows use flex layout with token-bound gaps; indicator and dot dimensions, fills, strokes, and radius use semantic `radio.*` tokens. [radio-group-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/radio-group-variants.json) records the library IDs. The browser supplies the native fieldset, legend, arrow-key selection, and form behavior.
|
|
210
|
+
|
|
211
|
+
`goodui.rating` publishes 36 variants on `15 Ratings`; its container ID is `c0c3286f-e4bf-804c-8008-d6d2d59cd6de`. [rating-variants.json](../../design/rating-variants.json) records every variant ID and axis. Each specimen contains five linked Lucide instances. Star and thumbs-up selection uses `rating.selected.color`; heart selection uses `rating.heart.color`. The non-library `example.rating-custom-icon` shows linked Smile instances with `rating.custom.color` and no fill. `value=1/3` is a representative visual state; `good-rating` accepts any score from one through its runtime `count`. A project-specific icon and color map to `[customIcon]` and `[selectedColor]`. Native radios, focus, read-only semantics, and Angular Forms behavior belong to the Angular component.
|
|
212
|
+
|
|
213
|
+
`goodui.table` publishes eight `style=default/bordered/striped/compact` × `state=populated/empty` variants on `16 Tables`; its variant container ID is `c0c3286f-e4bf-804c-8008-d70497244bf9`. [table-variants.json](../../design/table-variants.json) records all library IDs. Every variant maps to `good-table`: `style` maps directly to the Angular input, while `state=empty` means `[data]` is empty. Populated specimens contain linked `goodui.badge`, `goodui.switch`, and `goodui.action-menu` copies to demonstrate rich cell composition. The non-library `example.table-search-pagination` combines a linked Table, linked Input search, and linked Button page actions; search and pagination remain optional regions owned by `good-table`, with no additional Angular selector. The selected-row specimen on the same page is a runtime example of `selectable` and `selectedRowId`, not another library variant. TanStack column definitions, sorting, filtering, cursor data, cell actions, keyboard operation, selection, and the number of rows are runtime behavior. Table frames, cells, header and row states, spacing, and dimensions use semantic `table.*` tokens in both themes. Penpot cannot bind browser table semantics or the column's backend sort behavior, so those are documented and verified in the Angular implementation. The current Penpot export renderer keeps the light fill for the specimen's body text after switching to dark, even though the live text shapes resolve `table.text` to `#FAFAFA`; inspect the token binding in the file and the Angular dark rendering when reviewing that state.
|
|
214
|
+
|
|
215
|
+
`goodui.line-chart` (`1b6260d7-e591-805d-8008-e2e1e2b3f91b`), `goodui.bar-chart` (`1b6260d7-e591-805d-8008-e3534ae5a60d`), `goodui.chart-axis` (`1b6260d7-e591-805d-8008-e2e297d4bfae`), `goodui.chart-line` (`1b6260d7-e591-805d-8008-e2e297e11eab`), and `goodui.chart-bar` (`1b6260d7-e591-805d-8008-e3535bb1b85d`) are published on `42 Charts`. They map to `good-line-chart`, `good-bar-chart`, `good-chart-axis`, `good-chart-line`, and `good-chart-bar`; axis and series tags configure a parent chart and do not render alone. [chart-contract.json](../../design/chart-contract.json) records their IDs, inputs, shared typed data contract, and runtime states. Both chart specimens include a linked GoodUI Card and use theme-aware marker blue and teal for data series. Angular handles responsive plotting, multiple sources, time aggregation, custom palettes, the optional icon-only GoodUI Button and Table view, and accessibility.
|
|
216
|
+
|
|
217
|
+
`goodui.sparkline` (`1b6260d7-e591-805d-8008-e3e1ea06ba12`) is also published on `42 Charts` and maps to `good-sparkline`. It is a compact line with an endpoint and no Card; the specimen binds its stroke to `color.marker.blue` and its endpoint fill to `color.surface`. Angular accepts the same typed data source as the larger charts, with one numeric Y key and optional X key. Size, color, bounds, time grouping, endpoint visibility, and the accessible name are runtime options. See [Sparkline](../components/sparkline.md).
|
|
218
|
+
|
|
219
|
+
`goodui.scatter-chart` (`6478e0b9-da8b-80c2-8008-e3e68249d198`) and `goodui.chart-scatter` (`6478e0b9-da8b-80c2-8008-e3e6a0bb2b93`) are published on `42 Charts` and map to `good-scatter-chart` and its declarative `good-chart-scatter` series tag. The chart specimen contains a linked GoodUI Card and token-bound blue and teal observations; the series specimen shows individual 2D points. Angular handles independent observations, multiple sources, the marker palette, continuous axes, responsive plotting, optional Table view, and accessibility. See [Scatter plot](../components/scatter-chart.md).
|
|
220
|
+
|
|
221
|
+
`goodui.histogram` (`6478e0b9-da8b-80c2-8008-e3ea638c1541`) and `goodui.chart-histogram` (`18e25442-2c17-80b0-8008-e3ec54585fa6`) are published on `42 Charts` and map to `good-histogram` and its declarative series tag. The chart specimen uses a linked GoodUI Card, shared equal-width bins, and blue/teal marker tokens. `goodui.bar-chart.horizontal` (`18e25442-2c17-80b0-8008-e3ec6ac2f5a3`) maps to `good-bar-chart` with `orientation=horizontal`; the original `goodui.bar-chart` maps to its default vertical state. Both use the same logical X category and Y numeric declarations. See [Histogram](../components/histogram.md) and [Bar chart](../components/bar-chart.md).
|
|
222
|
+
|
|
223
|
+
`goodui.select` publishes 12 `size=small/default/large` × `state=placeholder/selected/multi/disabled` variants on `17 Selects`, in container `c0c3286f-e4bf-804c-8008-d715570a1919`. `goodui.select-country` publishes nine corresponding country presentations in container `c0c3286f-e4bf-804c-8008-d716877541ec`. The six `goodui.select-option` states in container `c0c3286f-e4bf-804c-8008-d715ccc4c37a` and `goodui.select-panel` component `c0c3286f-e4bf-804c-8008-d715f18ec245` are internal visual parts of `good-select`. [select-variants.json](../../design/select-variants.json) records every ID and its selector mapping. The multi specimen contains a linked GoodUI Badge; options and the trigger use linked Lucide icons, and the panel contains linked option instances. Penpot shows a German flag as an editable country example; Angular loads the country flag collection and localizes names at runtime. The `select.*` bindings alias existing Input, Dropdown, spacing, radius, and color roles. Exact option sets, current values, keyboard focus, filtering, the maximum count, and menu scrolling are runtime behavior.
|
|
224
|
+
|
|
225
|
+
`goodui.listbox.default` (`9ec30947-b9fa-809b-8008-ddfd35d08b52`), `.single-highlight` (`9ec30947-b9fa-809b-8008-ddfadb66bdfc`), `.checkbox-multiple` (`9ec30947-b9fa-809b-8008-ddfadb6a08d7`), and `.grouped-search` (`9ec30947-b9fa-809b-8008-ddfadb6e6c5c`) are published components on `28 Listboxes`. They all map to `good-listbox`; [listbox-contract.json](../../design/listbox-contract.json) records the input and state semantics. The four specimens demonstrate activation-only rows, highlight selection, checkbox multiple selection, and grouped search. Other combinations, custom item templates, content, current values, filtering, and keyboard focus are runtime options. Their surfaces, text, and radius bind the existing `select.*` and shared radius tokens.
|
|
226
|
+
|
|
227
|
+
`goodui.tabs.default` (`9ec30947-b9fa-809b-8008-deecf3c88ff5`), `.icons-badges` (`9ec30947-b9fa-809b-8008-deed077cf1a7`), and `.overflow` (`9ec30947-b9fa-809b-8008-deed1a56fcd6`) are published components on `29 Tabs` and map to `good-tabs`. The `goodui.tab` specimen (`9ec30947-b9fa-809b-8008-deed26bb3746`) maps to `good-tab`. [tabs-contract.json](../../design/tabs-contract.json) records the selection, content, badge, icon, and overflow semantics. These specimens illustrate runtime states; responsive overflow, labels, icon objects, badges, and panel content come from Angular and the containing layout.
|
|
228
|
+
|
|
229
|
+
`goodui.input-phone` publishes 12 `size=small/default/large` × `state=empty/filled/disabled/error` variants on `18 Phone Inputs`, in container `c0c3286f-e4bf-804c-8008-d7266bc26b79`. `goodui.phone-country` publishes three matching size variants in container `c0c3286f-e4bf-804c-8008-d725a20e7000`. It is a linked internal part of `good-input-phone`, not a separate Angular selector. [input-phone-variants.json](../../design/input-phone-variants.json) records all IDs and the direct/owned mappings. The linked Lucide chevron remains token sized; the editable German flag is representative. The `phone.*` tokens alias Input/Select surfaces, text, focus, error, dimensions, and radius roles. Angular supplies the country catalog, calling codes, flags, native field behavior, locale inference, live `+`/`00` prefix recognition, and leading-zero cleanup on blur. Penpot cannot bind the country database, the native telephone input, or browser focus and search behavior to design tokens.
|
|
230
|
+
|
|
231
|
+
`goodui.link` publishes 24 variants on `08 Cards and Links`. The label fill and underline stroke bind to `link.brand.color` or `link.mono.color`; `underline=hover` depicts the resting state. Angular supplies the native anchor, hover, focus, routing, and disabled behavior. [link-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/link-variants.json) records every library ID.
|
|
232
|
+
|
|
233
|
+
`goodui.card` publishes 20 variants on the same page, built with linked Header and Footer component instances. The six `goodui.card-header` variants cover surface tone and action presence; the four `goodui.card-footer` variants cover projected content examples. Header actions retain linked Button and ActionMenu instances, while footer examples retain linked Link and Button instances. `good-card` owns the outer border, clipping, body padding, and separators. The `goodui.card` body is an internal part of `good-card`. [card-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/card-variants.json) records all 30 IDs, the title-only `header=default/footer=none` composition, and a composition with visible right-side actions. The title-only composition hides its linked Header instance's optional subtitle; the Header component still retains that content option. Its header and body fills both resolve to `color.surface`. The image fill is a PNG rendering of the homepage SVG because Penpot's media import did not retain that SVG; Angular accepts an application-owned image URL.
|
|
234
|
+
|
|
235
|
+
`goodui.code-block` publishes five variants on `09 Code`: block with or without line numbers, each full or collapsed, and inline. [code-block-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/code-block-variants.json) records their IDs. The copy and expansion controls are linked `goodui.button` instances; language labels, source, and syntax colors are editable content, not separate variants. Angular supplies highlighting, clipboard feedback, horizontal scrolling, and the live expansion state. The Penpot fade uses six token-bound translucent strips to follow theme changes; CSS uses a smooth gradient. The title, viewport, gutter, and source lines are internal parts of `good-code-block`.
|
|
236
|
+
|
|
237
|
+
`goodui.input` is a published 21-variant Penpot family. `kind=text/file` maps to `good-input type`, `size=small/default/large` maps to `size`, and `status=disabled/readonly/error` maps to the corresponding inputs; default has no status flag. The 24 `goodui.input-addon` variants map `side=start/end`, `content=icon/text`, and `tone=inline/contrast` to the matching `start*` and `end*` inputs of the same Angular component. The addon has no separate selector. Two Penpot compositions show text and file controls with linked addon instances. [input-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/input-variants.json) records all component IDs. `npm run check:mapping` validates the complete matrix and uniqueness; compare IDs and bindings against live Penpot after design edits.
|
|
238
|
+
|
|
239
|
+
`goodui.number-input` publishes 12 variants on `27 Number Inputs`: `size=small/default/large`, `status=default/disabled`, and `icon=no/yes`. They map to `good-number-input`'s `size`, `disabled`, and optional `icon` inputs. The icon specimen uses a linked Lucide Gauge; any Lucide icon can be supplied in Angular. Linked Lucide Minus and Plus appear in every variant. Value, bounds, step, and `fullWidth` are runtime inputs; Angular fills a form column by default and uses the specimen's compact width when `[fullWidth]="false"`. The upward digit animation exists only at runtime. [number-input-variants.json](../../design/number-input-variants.json) records the IDs and token bindings.
|
|
240
|
+
|
|
241
|
+
`goodui.pin-input` is currently a **pending** Penpot family: page `20 PIN Inputs` and `pin.*` tokens were created through MCP, but the plugin disconnected while the first variant was being built. Its intended direct mapping is `good-pin-input`; `size=small/default/large` and `appearance=brand/mono` map to identically named Angular inputs, while representative `state=empty/filled/masked/disabled` maps to `value`, `masked`, and `disabled`. The number and content of slots, the accepted-character rule, and the optional placeholder text or Lucide icon are runtime inputs, not extra selectors. [pin-input-contract.json](../../design/pin-input-contract.json) records the full pending contract without fabricated Penpot IDs. Publish a real library variant family and verify token bindings in both themes before moving it from `pendingPenpotFamilies` to `directFamilies` and entering its actual IDs here and in `design/component-map.json`.
|
|
242
|
+
|
|
243
|
+
`goodui.expandable` is a published eight-variant family on page `31 Expandables` (variant container `8c729319-5265-802b-8008-dfff9ab66723`). `icon=plus/chevron/arrow/caret` and `state=collapsed/expanded` map to `good-expandable`; the default `plus/collapsed` library ID is `8c729319-5265-802b-8008-dfff89ac5116`. Label, projected header/body content, `disabled`, and activation events are runtime behavior. A linked disabled specimen has ID `8c729319-5265-802b-8008-dfffd1b30932`. [expandable-contract.json](../../design/expandable-contract.json) records all eight published IDs.
|
|
244
|
+
|
|
245
|
+
`goodui.alert` is a published 72-variant family on `21 Alerts`: six tones, four appearances, and three sizes map directly to `good-alert`. All variants have linked Lucide Info instances and token-bound surface, text, padding, and icon size. The published `goodui.alert-composition.actions-dismissible` component shows a linked GoodUI Button and Lucide X; Penpot cannot add children to a component copy, so this optional-content specimen has a detached Alert frame. Angular uses projected actions and the `dismissible` input. The four published `goodui.notification-host` variants show `placement=top-right/top` and `state=single/stacked`, with linked Alert instances; timing, queueing, and acknowledgement are runtime service behavior. [alert-contract.json](../../design/alert-contract.json) and [notification-host-contract.json](../../design/notification-host-contract.json) record all IDs and selector mappings. The light and dark render were inspected, and the editor was restored to light on `02 Layout`.
|
|
246
|
+
|
|
247
|
+
`goodui.dropdown` is a published 16-variant family whose trigger is a linked `goodui.button` instance. Its optional trailing chevron is a linked Lucide instance layered over the Button copy because Penpot does not allow adding children inside a copy; Angular renders it inside the Button. Four `goodui.dropdown-panel` variants contain linked `goodui.dropdown-item` instances. Twelve item variants cover plain, icon, badge, submenu, and disabled visuals; further text/detail and arbitrary custom icon data are runtime content. `goodui.dropdown.submenu-open` shows a linked child panel. [dropdown-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/dropdown-variants.json) records all IDs. The scroll variant uses a clipped list as the Penpot representation of browser scrolling. Trigger mode, focus, keyboard handling, dynamic viewport clamping, and actual scrollbars are Angular behavior rather than static Penpot variants.
|
|
248
|
+
|
|
249
|
+
`goodui.breadcrumbs` is a published 16-variant family with linked Lucide home and chevron instances. The Card samples bind their fill, border, radius, padding, and gap to shared tokens. [breadcrumbs-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/breadcrumbs-variants.json) records the exact IDs and axis values. The collapsed variants show the `…` trigger; Angular supplies the navigable overflow menu and keyboard behavior.
|
|
250
|
+
|
|
251
|
+
`goodui.badge` is a published 126-variant family on `05 Badges`; `color`, `variant`, `shape=pill/square`, and `size=small/default/large` map to `good-badge`. Angular also accepts `circle` for `pill` and `medium` for `default`. Each variant contains hidden, linked Lucide slots for the optional leading icon and removable X. Four linked instance examples show `icon` and `removable` combinations. [badge-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/badge-variants.json) records every library ID and the example instance IDs. The `removed` output and X keyboard behavior are Angular runtime behavior. Compare the manifest with the live Penpot variant catalog after changes.
|
|
252
|
+
|
|
253
|
+
The previous public names `GoodSectionNavComponent`, `GoodSectionNavItem`, `good-section-nav`, `sectionNavItems`, and `sectionNavLabel` were replaced by `GoodSubnavComponent`, `GoodSubnavItem`, `good-subnav`, `subnavItems`, and `subnavLabel`. Update consuming code when moving to this version.
|
|
254
|
+
|
|
255
|
+
`goodui.world-map` (`18e25442-2c17-80b0-8008-e3f412c7a013`) is published on `42 Charts` and maps to `good-world-map`. The map specimen shows country geometry, a header with zoom controls, and percentage glyphs. `goodui.map-overlay` (`18e25442-2c17-80b0-8008-e3f4551cd9be`), `goodui.map-overlay.bar` (`18e25442-2c17-80b0-8008-e3f455478339`), and `goodui.map-overlay.pie` (`18e25442-2c17-80b0-8008-e3f4556f4a3d`) map to the declarative `good-map-overlay` tag with `type=percentage`, `bar`, and `pie`. Geometry and glyph data are dynamic runtime content. See [World map](../components/world-map.md) and [world-map-contract.json](../../design/world-map-contract.json).
|
|
256
|
+
|
|
257
|
+
`goodui.world-map.color-scale` (`18e25442-2c17-80b0-8008-e3f9ce07e2bf`) is the color-filled map state of `good-world-map`; its linked `goodui.map-color-scale` (`18e25442-2c17-80b0-8008-e3f9ce9d78e0`) shows the default corporate `palette` in `good-map-color-scale`. The linked scale has token-bound sky, blue, and violet stops. `goodui.map-color-scale.heatmap` (`18e25442-2c17-80b0-8008-e4059532df81`) maps to `palette="heatmap"` with five token-bound stops. `goodui.map-color-scale.custom` (`18e25442-2c17-80b0-8008-e405a2f1850f`) maps to a three-stop `[colors]` input; its middle yellow is an explicit example color. Angular interpolates the full continuous range and uses the same stops in its legend. Unvalued countries retain the neutral fill in both themes.
|
|
258
|
+
|
|
259
|
+
`goodui.world-map.selected-neighbors` (`18e25442-2c17-80b0-8008-e3fd1171966f`) maps to `good-world-map` with a selected country. Its United States specimen shows Canada and Mexico with the muted token and a brand outline on the selected country. Angular derives direct neighbors from the bundled TopoJSON arcs at build time and shades them automatically when a country is selected; the default world state remains unshaded.
|
|
260
|
+
|
|
261
|
+
`goodui.map-overlay.aggregated` (`18e25442-2c17-80b0-8008-e40193c020b5`) maps to the runtime aggregated state of `good-map-overlay`: a mean value and country-count badge. `goodui.world-map.aggregated-overlays` (`18e25442-2c17-80b0-8008-e401d4eda08a`) maps to `good-world-map` at a zoom level where nearby country details combine. Its linked aggregated overlay instances illustrate that Angular averages each numeric measure separately and recomputes groups as map size or zoom changes. The default `aggregateOverlays=true` input enables this state; false keeps individual details.
|
|
262
|
+
|
|
263
|
+
### Main menu composition
|
|
264
|
+
|
|
265
|
+
`goodui.main-menu.default` maps to `good-main-menu`, a container for application-selected action components. Its linked Search, Notifications, ThemeToggle, and AvatarMenu instances represent the default arrangement. Angular accepts custom projected children in their declared order; AppLayout forwards its direct MainMenu child to Topbar. Stable component IDs, geometry, and token bindings are unchanged. See [Main menu](../components/main-menu.md).
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Build and publish the homepage with Drone
|
|
2
|
+
|
|
3
|
+
The root `.drone.yml` builds the Angular library and homepage inside a multistage Docker image, then publishes the static homepage in an unprivileged Nginx image. A Kaniko step performs the build and registry push without a Docker socket or a privileged Drone repository. On a push to `master`, a second step updates one existing Kubernetes Deployment after the image push succeeds. After a successful deployment on a push to `master`, Drone builds the Angular package and publishes `@cloudfrogger/goodui` to npm. Pipeline runs are serialized to keep deployments and npm releases in order. A custom Drone run builds and publishes the image.
|
|
4
|
+
|
|
5
|
+
## Configure the private registry
|
|
6
|
+
|
|
7
|
+
Create these repository secrets in Drone before pushing the pipeline:
|
|
8
|
+
|
|
9
|
+
| Secret | Example | Purpose |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| `registry_host` | `registry.example.com:5000` | Registry address used for authentication. For Docker Hub, use `https://index.docker.io/v1/`. |
|
|
12
|
+
| `registry_image` | `registry.example.com:5000/cloudfrogger/goodui-homepage` | Image repository without a tag. For Docker Hub, use `cloudfrogger/goodui-homepage`. |
|
|
13
|
+
| `registry_username` | A dedicated CI account | Account with push access to this image only. |
|
|
14
|
+
| `registry_password` | A registry token | Password or scoped token for that account. |
|
|
15
|
+
|
|
16
|
+
Use a TLS-enabled registry trusted by the Drone runner. For a self-hosted registry, the host portion of `registry_image` must equal `registry_host`. Docker Hub is the exception: the Kaniko plugin authenticates against `https://index.docker.io/v1/` and publishes a repository such as `cloudfrogger/goodui-homepage`. Keep credentials in Drone secrets, never in YAML, build arguments, or the Git repository. Registry secrets must be available for push and custom builds; restrict Kubernetes secrets to push events if your Drone installation supports event restrictions. Protect `master` in the source repository, since code on that branch controls the image build. Kaniko publishes both `:latest` and a `:<full commit SHA>` tag. Enable tag immutability in the registry if available.
|
|
17
|
+
|
|
18
|
+
## Configure the Kubernetes rollout
|
|
19
|
+
|
|
20
|
+
Create these additional Drone repository secrets. The deployment step receives them only at runtime; no cluster credentials or manifests are committed:
|
|
21
|
+
|
|
22
|
+
| Secret | Value |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| `k8s_api_server` | Bare HTTPS origin of the Kubernetes API, such as `https://kubernetes.example.com:6443` |
|
|
25
|
+
| `k8s_ca_pem_b64` | Single-line base64-encoded PEM CA certificate used to verify that API server |
|
|
26
|
+
| `k8s_token` | Token for a dedicated, namespace-scoped ServiceAccount |
|
|
27
|
+
| `k8s_namespace` | Namespace containing the existing homepage Deployment |
|
|
28
|
+
| `k8s_deployment` | Name of that existing Deployment |
|
|
29
|
+
|
|
30
|
+
The ServiceAccount needs only `get` and `patch` on the named Deployment. For example, an administrator can bind it to a Role with this rule in the target namespace:
|
|
31
|
+
|
|
32
|
+
```yaml
|
|
33
|
+
rules:
|
|
34
|
+
- apiGroups: ["apps"]
|
|
35
|
+
resources: ["deployments"]
|
|
36
|
+
resourceNames: ["goodui"]
|
|
37
|
+
verbs: ["get", "patch"]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Replace `goodui` with `k8s_deployment` when creating the Role. No cluster-wide role, pod access, `create`, `delete`, or `scale` permission is needed. Rotate the ServiceAccount token using your normal secret-management process. The existing Deployment must already have the appropriate image pull credentials, readiness probe, and rolling-update strategy; this pipeline does not create or change them.
|
|
41
|
+
|
|
42
|
+
`k8s_token` is the raw bearer token for that dedicated ServiceAccount, not a kubeconfig or a base64 value. For an initial test, an administrator can request one with `kubectl -n <namespace> create token goodui-deployer --duration=24h` and enter the returned string as the Drone secret. The API server may grant a different lifetime; check its expiry and arrange rotation before relying on unattended deployments. Do not use a personal or cluster-admin token, and do not commit the token. Long-lived ServiceAccount token Secrets are discouraged by Kubernetes.
|
|
43
|
+
|
|
44
|
+
The deploy step first runs its safety tests, then reads the named Deployment. It selects the sole application container automatically and refuses to guess if the Deployment has more than one. It also refuses a different image repository, a paused or `Recreate` Deployment, or a Deployment scaled to zero. It patches only that container image to the `${DRONE_COMMIT_SHA}` tag, conditioned on the Deployment's resource version, and checks readiness for up to five minutes. A concurrent change causes a conflict instead of overwriting it. A failed rollout fails the Drone step but does not delete resources or automatically roll back; inspect the Deployment and choose a rollback explicitly. The deployment step runs only after Kaniko has published the image successfully.
|
|
45
|
+
|
|
46
|
+
To build the same image locally without publishing or deploying:
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
docker build -f deploy/Dockerfile -t goodui-homepage:local .
|
|
50
|
+
docker run --rm --read-only \
|
|
51
|
+
--cap-drop ALL --security-opt no-new-privileges \
|
|
52
|
+
-p 127.0.0.1:8080:8080 goodui-homepage:local
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Visit `http://127.0.0.1:8080/`. The image listens on IPv4 port 8080 and includes a `/healthz` probe. The IPv4-only listener lets `nginx -t` run in Kaniko environments without IPv6 support; an ingress or reverse proxy may still expose the site over IPv6. Nginx stores its PID and temporary files in the container's writable `/dev/shm`, so it can run as UID 101 with a read-only root filesystem even when `/tmp` is not writable. Keep `/dev/shm` writable in the deployment. Nginx logs to container stdout/stderr. TLS termination, the public hostname, and port exposure belong to the deployment or reverse proxy configuration.
|
|
56
|
+
|
|
57
|
+
The builder, runtime, and Kaniko images are pinned by digest for repeatable builds. Update those digests deliberately when applying upstream security updates, then rebuild and test the image.
|
|
58
|
+
|
|
59
|
+
## Cloudflare request headers
|
|
60
|
+
|
|
61
|
+
The host or ingress controls which clients may reach this container. GoodUI's Nginx configuration does not filter Cloudflare IP ranges or rewrite the client address. Cloudflare request headers such as `CF-Connecting-IP`, `CF-Ray`, and `CF-IPCountry` remain available as Nginx `$http_*` variables. The access log records `CF-Connecting-IP` and `CF-Ray` separately from `$remote_addr`, which remains the direct peer address.
|
|
62
|
+
|
|
63
|
+
If an ingress sits between Cloudflare and this container, configure it to pass the Cloudflare request headers through unchanged. This Nginx image serves static Angular files; it has no `proxy_pass` upstream to forward headers to. Request headers are not copied into browser response headers. Nginx serves Angular routes via `index.html`, returns 404 for missing assets and hidden files, disables source-map delivery, applies security response headers, avoids caching the application shell, and caches hashed JS/CSS assets for one year. Set HTTPS and HSTS policy at Cloudflare or the TLS-terminating proxy.
|
|
64
|
+
|
|
65
|
+
The production Angular build disables critical CSS inlining. This keeps Angular from adding an inline `onload` handler to the stylesheet link, which the image's `script-src 'self'` policy blocks. The stylesheet remains minified and loads as a regular blocking CSS file. Keep this build setting aligned with the CSP when changing the homepage build.
|
|
66
|
+
|
|
67
|
+
## Publish the Angular package to npm
|
|
68
|
+
|
|
69
|
+
Create a Drone repository secret named `npm_token` with a granular npm access token that has publish permission for `@cloudfrogger/goodui` and bypass 2FA enabled for unattended publishing. The npm account must own the `cloudfrogger` scope or have permission to publish there. Configure token expiry and rotation in your npm account. See [npm's CI token documentation](https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow/).
|
|
70
|
+
|
|
71
|
+
The `build-npm-package` step installs dependencies and builds the Angular package without the publishing token. The following `publish-npm-package` step receives that token and publishes only on push events for `master`, after all preceding steps succeed. A temporary npm configuration reads the token from the environment and is removed afterward.
|
|
72
|
+
|
|
73
|
+
Each publication uses the source package's major and minor numbers and the Drone build number as its patch number. For example, source version `0.0.1` and build 42 produce `0.0.42`. The published package records the commit SHA in `gitHead`. Its bundled AI catalog, reference manifest, and source package identity receive the same version; the reference manifest also records that commit. The build checks every catalog reference against the bundled files and compiles the agent examples before publication. Retrying the same build skips a version already published for the same commit. A version belonging to another commit fails the step. The source version and built manifest are preserved after the command completes.
|
|
74
|
+
|
|
75
|
+
Consumers install the public package with `npm install @cloudfrogger/goodui` and import its stylesheet from `@cloudfrogger/goodui/styles.css`. This replaces the earlier local package name `@goodui/angular`; update existing TypeScript and stylesheet imports when migrating.
|
|
76
|
+
|
|
77
|
+
To inspect the publication without uploading a package, build the library and run the script with `--dry-run`, setting `DRONE_BUILD_NUMBER` to a positive integer and `DRONE_COMMIT_SHA` to a full commit SHA.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# User registration example
|
|
2
|
+
|
|
3
|
+
The homepage's **Examples → User registration** page demonstrates a complete Angular Reactive Form using only GoodUI layout, content, and control components. It places GoodUI Breadcrumbs above the page heading with the path `Home › Examples › User registration`; Home links to the dashboard, and the final item is the current page. The example lives in [homepage/src/app/examples/user-registration](../../homepage/src/app/examples/user-registration/): the [page](../../homepage/src/app/examples/user-registration/user-registration-page.ts) and [form](../../homepage/src/app/examples/user-registration/user-registration-form.ts) each have their own TypeScript class and HTML template. No example-specific stylesheet or Tailwind class is required.
|
|
4
|
+
|
|
5
|
+
The [showcase wrapper](../../homepage/src/app/examples/user-registration/user-registration-example-page.ts) projects four GoodUI CodeBlocks into the page's content slot. They display the actual page and form `.ts` and `.html` files, without the showcase code in the copyable example. `npm --prefix homepage run examples:sync` regenerates [source-code.generated.ts](../../homepage/src/app/examples/user-registration/source-code.generated.ts) from those four files; `npm --prefix homepage run examples:check` verifies it. The homepage's `start` and `build` scripts sync automatically before running. If you edit a source file while `ng serve` is already running, run `examples:sync` again to refresh the visible code.
|
|
6
|
+
|
|
7
|
+
The form collects a title choice (`Mr.`, `Ms.`, or `No title`); first, middle, and last names; street address, postal code, city, and country; optional phone and required mobile numbers; email; optional interests; and a password entered twice. It uses `goodForm` with `fullWidth`, `good-group` for lightweight titled sections, and `good-form-row` for equal-width name, address, phone, and password fields. The three-column rows become two columns in a narrower container and one column on mobile. `good-form-field` owns labels and validation messages, while GoodUI Input, RadioGroup, Country Select, Phone Input, and Listbox own the controls. The selected address country initializes both phone selectors, while users may choose another calling code in either phone field. The Interests Listbox demonstrates named groups, checkbox presentation, multiple selection, and a Reactive Forms array value.
|
|
8
|
+
|
|
9
|
+
Submitting an incomplete form marks its controls as touched and displays GoodUI error text. The email uses Angular's email validator; a form-level validator requires the two masked password fields to match. A valid submission displays the user's name, email, and any selected interests, omitting the passwords. This is a local demonstration: it does not create an account on a server or store credentials.
|
|
10
|
+
|
|
11
|
+
Future example pages should show their working template and TypeScript source, use GoodUI components for visible layout and controls, and identify a missing library capability before introducing page-specific CSS or Tailwind layout rules.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Naming and ownership
|
|
2
|
+
|
|
3
|
+
A component has a stable semantic ID such as `goodui.sidebar-item`. Penpot adds a state or variant (`goodui.sidebar-item.active`); the Angular selector uses the `good-` prefix (`good-sidebar-item`). Internal shapes are named for their purpose: `heading`, `label`, `icon`, `scrim`, and `content-slot`.
|
|
4
|
+
|
|
5
|
+
Containers own spacing and arrangement. Items own their semantics and internal structure. `SidebarMenuContainer` renders the section heading and arranges `SidebarItem` children. `TopbarMenuContainer` arranges `TopbarMenuItem` children. `AppLayout` owns the desktop and mobile offsets for the whole shell.
|
|
6
|
+
|
|
7
|
+
Variant axes are consistently named `variant`, `size`, and `state`, with stable English values. Record renames in Penpot, `design.md`, and these docs together.
|