@cloudfrogger/goodui 0.0.59 → 0.0.62
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 +245 -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 +138 -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 +17 -0
- package/ai/guides/design-tokens.md +10 -0
- package/ai/guides/layout.md +17 -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 +318 -0
- package/angular/projects/goodui/src/lib/alert.ts +60 -0
- package/angular/projects/goodui/src/lib/app-layout.ts +79 -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 +402 -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/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 +11 -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 +9 -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 +83 -0
- package/guides/components/typography.md +155 -0
- package/guides/components/world-map.md +72 -0
- package/guides/contributing/design-to-code.md +261 -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 +64 -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/README.md
CHANGED
|
@@ -3,3 +3,13 @@
|
|
|
3
3
|
GoodUI's standalone Angular 21.2 component library. It exports the application shell, sidebar, topbar, nested navigation, main menu actions, main view, icons, data models, and `GoodThemeService`.
|
|
4
4
|
|
|
5
5
|
Build it from the repository root with `npm run build:lib`. The package is written to `angular/dist/goodui`; consumer applications import `@cloudfrogger/goodui/styles.css` globally and configure Angular Router. See the [quick start](../../../README.md#how-to-use), [component docs](../../../guides/intro.md), and [homepage](../../../homepage/).
|
|
6
|
+
|
|
7
|
+
## Use with a coding agent
|
|
8
|
+
|
|
9
|
+
This package includes the GoodUI skill, component catalog, usage guides, examples, and source references under `ai/` and its linked paths. From your Angular project's root, install the project skill with:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
node node_modules/@cloudfrogger/goodui/ai/install.mjs --agent codex
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Use `--agent claude` for Claude Code or `--agent both` for both tools. Start a new agent session and ask it to use the GoodUI skill. The skill reads references shipped with the installed package version. See `ai/README.md` for setup, prompt examples, and updates.
|
package/ai/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# GoodUI for coding agents
|
|
2
|
+
|
|
3
|
+
## Set up an Angular project
|
|
4
|
+
|
|
5
|
+
Install `@cloudfrogger/goodui` with npm and import `@cloudfrogger/goodui/styles.css` in the application's global stylesheet. Follow the homepage's Developing chapter for the root providers and application shell.
|
|
6
|
+
|
|
7
|
+
The npm package includes `ai/catalog/index.json`, per-component details, guides, examples, the skill, and referenced source files. All paths in the catalog are relative to the package root, `node_modules/@cloudfrogger/goodui`. The package's `ai/manifest.json` records its version and published source revision.
|
|
8
|
+
|
|
9
|
+
From the Angular project's root, install the skill for Codex:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
node node_modules/@cloudfrogger/goodui/ai/install.mjs --agent codex
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
For Claude Code, use `--agent claude`. Use `--agent both` to install both copies. The installer writes `.agents/skills/goodui/SKILL.md` and/or `.claude/skills/goodui/SKILL.md` in the current project. An identical skill can be installed repeatedly. If a different file exists, review it before using `--force` to replace it. The command changes only the selected GoodUI skill files.
|
|
16
|
+
|
|
17
|
+
Start a new agent session in that project and try this prompt:
|
|
18
|
+
|
|
19
|
+
```text
|
|
20
|
+
Use the GoodUI skill. Check the installed package and its bundled catalog version.
|
|
21
|
+
Find the components for a searchable table, an edit form, and notifications.
|
|
22
|
+
Show their Angular imports and usage guides, then build the screen I describe.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Codex supports explicit `$goodui` invocation. Claude Code supports `/goodui`. Keep the installed skill in the repository. Teammates and remote agent environments need the installed npm dependencies, which can be restored with `npm ci`.
|
|
26
|
+
|
|
27
|
+
After updating GoodUI, its bundled references update automatically. Re-run the installer to refresh the skill; use `--force` after reviewing any edits to the existing copy. Keep the lockfile and skill changes together.
|
|
28
|
+
|
|
29
|
+
## Find the right references
|
|
30
|
+
|
|
31
|
+
Start with `ai/catalog/index.json` and `ai/guides/component-discovery.md`. Read component details and guides for the requested task. The catalog covers the public Angular selectors, their imports, inputs, outputs, variants, projection slots, and forms integration. Source files and `angular/projects/goodui/src/public-api.ts` cover services and exported types. `ai/examples/` supplies small page patterns; the referenced homepage examples show larger compositions.
|
|
32
|
+
|
|
33
|
+
Case studies are optional references under `ai/case-studies/`. Open a named study and its relevant screen when the task uses that workflow.
|
|
34
|
+
|
|
35
|
+
For a Penpot design, provide a working Penpot MCP connection and access to the GoodUI library and target file. The skill uses the bundled mapping and live library inspection.
|
|
36
|
+
|
|
37
|
+
## Older versions and archive downloads
|
|
38
|
+
|
|
39
|
+
A matching GitHub version release can provide `goodui-skill-<version>.zip` and `goodui-ai-<version>.zip`. The small archive contains the skill. The full archive preserves the reference tree and can be extracted into `.goodui/` in the consuming project. Copy `.goodui/ai/skill/goodui/SKILL.md` to the agent's project skill directory and tell the agent where the archive lives.
|
|
40
|
+
|
|
41
|
+
Check the archive manifest against the installed version and recorded commit. Drone npm releases carry their references inside the package and can be used without a separate GitHub release. Use the package's `gitHead` commit to locate older source when a matching archive is unavailable.
|
|
42
|
+
|
|
43
|
+
## Maintainer checks
|
|
44
|
+
|
|
45
|
+
Run `npm run build:lib`, `node ai/scripts/generate-catalog.mjs --check`, `node ai/scripts/check-catalog.mjs`, `node ai/scripts/check-catalog.mjs angular/dist/goodui`, `node ai/scripts/check-npm.mjs`, and `node ai/scripts/build-examples.mjs`. Regenerate the catalog after public API changes with `node ai/scripts/generate-catalog.mjs`. The index includes component summaries to help agents discover relevant components from a task description.
|
|
46
|
+
|
|
47
|
+
Library builds first check that the generated catalog matches the source and guides, then copy the reference tree into the npm package. A stale catalog fails the build. Keep catalog, guide, skill, and example updates in the same change as the component or API they describe. Publication stamps the npm manifest, catalog, reference manifest, and bundled source identity with the same version and source commit. The standalone ZIP workflow uses that same copy routine. `ai/catalog/component.schema.json` and `index.schema.json` define the catalog format.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Case studies
|
|
2
|
+
|
|
3
|
+
Case studies document a working application context. Open one only when the task names it or uses its workflow as a reference. For ordinary component work, start with the component catalog, guide, and relevant component example instead. Do not search every case study for a possible match.
|
|
4
|
+
|
|
5
|
+
| Study | When to open it | Detail |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| Webmailer | A workspace with grouped commands, folders, a selectable list, preview, and rich text composition | [Webmailer](webmailer.md) |
|
|
8
|
+
| VPS hoster | A sortable server list with filters and a multi-section server configuration flow | [VPS hoster](vpshoster.md) |
|
|
9
|
+
|
|
10
|
+
Keep domain state and wording in the study. When a study reveals a reusable gap, change the generic GoodUI component, verify its public API, and update the study's demonstrated usage.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# VPS hoster case study
|
|
2
|
+
|
|
3
|
+
Public entry: `/examples/case-studies/vpshoster`. The live screens are `/examples/case-studies/vpshoster/servers` and `/examples/case-studies/vpshoster/create`.
|
|
4
|
+
|
|
5
|
+
Use this study only for tasks about a server list, a long configuration workflow, or its specific GoodUI compositions. Do not scan it for unrelated component work. The full AI package includes the live Angular source at `homepage/src/app/examples/case-studies/vpshoster/`. The original reference screenshots are local review material and are not part of the release archive.
|
|
6
|
+
|
|
7
|
+
| Screen | GoodUI composition | Application responsibility |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Servers | MainView → Tabs, sortable Table with Checkbox, Badge, Dropdown, and a rich Name cell composed from StatusIcon, Link, and Hint; Modal with Input and Select filters; shell Notifications bell | In-memory server records, a plan/architecture/disk/zone subtitle, StatusIcon mapping, responsive column thresholds including desktop-only selection checkboxes, combined filter predicates including name/IP search in the Filter modal, row and bulk actions; one sample maintenance notice published to the bell inbox |
|
|
10
|
+
| Create servers | Fill MainView → AssistantPanel `appearance="soft"` with Main, Header, Body, Footer, and Mobile sections; Timeline with projected sections, Groups, Tabs, RadioGroup, selectable Table, Select, Listbox, Checkbox, Input, NumberInput, Textarea, Alert, Button; shell Notifications bell | Plan and image choices, validation, section completion/attention state, quantity, sample pricing, local creation; contextual form warnings stay beside their controls |
|
|
11
|
+
|
|
12
|
+
The public examples expose their editable HTML, TypeScript, and shared store through a View source dialog. Read the screen relevant to the task, then verify exact inputs and outputs against the installed GoodUI version's catalog. UI actions are local demonstrations. They do not provision servers, persist data, bill a customer, or transmit SSH keys. Prices are illustrative, and sample IPs use a documentation range.
|
|
13
|
+
|
|
14
|
+
Keep VPS terminology, plan names, prices, and provisioning logic in the case study. If the workflow reveals a reusable gap, extend the generic GoodUI component and update this study to demonstrate the new API.
|
|
15
|
+
|
|
16
|
+
The reference images include a prominent maintenance-status block. GoodUI already provides a shell bell, so this study publishes that sample status once through `GoodNotificationCenter` with `delivery: 'inbox'`. Do not recreate the block as an Expandable or Alert in page content. Keep immediate validation messages, such as a missing SSH key, inline because they explain an action on the current form. See [Notifications](../../guides/components/notifications.md) for the delivery and history contract.
|
|
17
|
+
|
|
18
|
+
The Servers Name column uses a projected `ng-template goodTableCell="name"` for its LED, link, and subtitle. The column definition stays responsible for sorting and visibility. This is the short path for a page-specific rich cell; use `flexRenderComponent` when a cell is reusable across pages.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Webmailer case study
|
|
2
|
+
|
|
3
|
+
Public entry: `/examples/case-studies/webmailer`. The two live screens keep their existing routes: `/examples/mail-workspace` and `/examples/mail-compose`.
|
|
4
|
+
|
|
5
|
+
## Screen map
|
|
6
|
+
|
|
7
|
+
| Screen | GoodUI composition | Source in the full AI package |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| Mail workspace | `good-main-view layout="fill"` → `good-action-bar[goodMainViewToolbar]` + nested `good-resizable` panes; `good-listbox` for folders, `good-table` for messages, GoodUI prose for preview | `homepage/src/app/examples/mail-workspace/mail-workspace-page.ts` and `.html` |
|
|
10
|
+
| Compose mail | `good-main-view layout="fill"` → `good-rich-text-editor` with a projected `form goodForm` header and GoodUI action footer | `homepage/src/app/examples/mail-compose/mail-compose-page.ts` and `.html` |
|
|
11
|
+
|
|
12
|
+
Read only the screen relevant to the requested task. The workspace's source modal displays its complete template and TypeScript. The case study overview source is in `homepage/src/app/examples/case-studies/webmailer/`.
|
|
13
|
+
|
|
14
|
+
## Reusable contracts demonstrated
|
|
15
|
+
|
|
16
|
+
- The action bar groups generic commands. Its `commandSelected` output carries a command ID; the application decides what that command does. Search and filter controls are projected into `goodActionBarTools`.
|
|
17
|
+
- The fill MainView reserves its height for the workspace. `goodMainViewToolbar` keeps the action bar above the internally scrolling, resizable content.
|
|
18
|
+
- Nested Resizable panes divide navigation, table, and preview. Listbox `selectedIds` chooses a folder. Table `selectedRowId`, `rowSelected`, `getRowId`, and `emphasizeRow` handle selection and unread styling. The example uses `tableStyle="compact"` and `compact` on Listbox.
|
|
19
|
+
- The composer binds HTML through RichTextEditor's `[(value)]`. Recipient and subject use GoodUI fields in a native form. The application owns draft validation and sending.
|
|
20
|
+
|
|
21
|
+
The example holds messages in memory and does not send mail. Do not transfer its mail data model, command IDs, or mail wording into reusable GoodUI APIs. Confirm exact imports and inputs in the installed version's component catalog before copying a pattern into another app.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Component catalog
|
|
2
|
+
|
|
3
|
+
`index.json` lists every public Angular component and directive selector exported through `angular/projects/goodui/src/public-api.ts`. Open only the relevant `components/*.json` files. `component.schema.json` and `index.schema.json` validate the format.
|
|
4
|
+
|
|
5
|
+
The generator uses the TypeScript compiler to read decorators, `input()`, `model()`, and `output()` declarations. `model()` also publishes a generated `nameChange` output (`implicit: true`). A required input has `default: null` and `required: true`; an omitted optional default is recorded as `{ "expression": "undefined" }`. A complex default is recorded as a source expression rather than evaluated. `allowedValues: null` means the type is not a finite literal union. `usage.summary: null` and `missing` flags mark unavailable details explicitly.
|
|
6
|
+
|
|
7
|
+
Penpot IDs come only from `design/component-map.json`. `kind: internal-part` belongs to the listed Angular selector and does not create a new selector. The catalog does not claim a live Penpot sync. `usageGuide` paths and source paths are relative to the repository root and are included in the full AI archive.
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://github.com/cloudfrogger/goodui/blob/ai/catalog/component.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": [
|
|
7
|
+
"$schema",
|
|
8
|
+
"selector",
|
|
9
|
+
"className",
|
|
10
|
+
"kind",
|
|
11
|
+
"import",
|
|
12
|
+
"source",
|
|
13
|
+
"inputs",
|
|
14
|
+
"outputs",
|
|
15
|
+
"variants",
|
|
16
|
+
"composition",
|
|
17
|
+
"forms",
|
|
18
|
+
"usageGuide",
|
|
19
|
+
"penpot",
|
|
20
|
+
"missing",
|
|
21
|
+
"usage"
|
|
22
|
+
],
|
|
23
|
+
"properties": {
|
|
24
|
+
"$schema": {
|
|
25
|
+
"const": "../component.schema.json"
|
|
26
|
+
},
|
|
27
|
+
"selector": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"minLength": 1
|
|
30
|
+
},
|
|
31
|
+
"className": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1
|
|
34
|
+
},
|
|
35
|
+
"kind": {
|
|
36
|
+
"enum": [
|
|
37
|
+
"component",
|
|
38
|
+
"directive"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"import": {
|
|
42
|
+
"$ref": "#/$defs/import"
|
|
43
|
+
},
|
|
44
|
+
"source": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"minLength": 1
|
|
47
|
+
},
|
|
48
|
+
"inputs": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"$ref": "#/$defs/input"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"outputs": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"$ref": "#/$defs/output"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"variants": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": [
|
|
66
|
+
"string",
|
|
67
|
+
"number"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"composition": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"additionalProperties": false,
|
|
75
|
+
"required": [
|
|
76
|
+
"projectedContent",
|
|
77
|
+
"notes",
|
|
78
|
+
"relatedSelectors"
|
|
79
|
+
],
|
|
80
|
+
"properties": {
|
|
81
|
+
"projectedContent": {
|
|
82
|
+
"type": "array",
|
|
83
|
+
"items": {
|
|
84
|
+
"type": "string"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"notes": {
|
|
88
|
+
"type": [
|
|
89
|
+
"string",
|
|
90
|
+
"null"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"relatedSelectors": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"items": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"forms": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"additionalProperties": false,
|
|
104
|
+
"required": [
|
|
105
|
+
"controlValueAccessor",
|
|
106
|
+
"validator"
|
|
107
|
+
],
|
|
108
|
+
"properties": {
|
|
109
|
+
"controlValueAccessor": {
|
|
110
|
+
"type": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"validator": {
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"usageGuide": {
|
|
118
|
+
"type": [
|
|
119
|
+
"string",
|
|
120
|
+
"null"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"penpot": {
|
|
124
|
+
"type": "array",
|
|
125
|
+
"items": {
|
|
126
|
+
"$ref": "#/$defs/penpot"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"missing": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"additionalProperties": false,
|
|
132
|
+
"required": [
|
|
133
|
+
"usageGuide",
|
|
134
|
+
"penpotMapping"
|
|
135
|
+
],
|
|
136
|
+
"properties": {
|
|
137
|
+
"usageGuide": {
|
|
138
|
+
"type": "boolean"
|
|
139
|
+
},
|
|
140
|
+
"penpotMapping": {
|
|
141
|
+
"type": "boolean"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"usage": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"additionalProperties": false,
|
|
148
|
+
"required": [
|
|
149
|
+
"summary",
|
|
150
|
+
"examples"
|
|
151
|
+
],
|
|
152
|
+
"properties": {
|
|
153
|
+
"summary": {
|
|
154
|
+
"type": [
|
|
155
|
+
"string",
|
|
156
|
+
"null"
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
"examples": {
|
|
160
|
+
"type": "array",
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"$defs": {
|
|
169
|
+
"import": {
|
|
170
|
+
"type": "object",
|
|
171
|
+
"additionalProperties": false,
|
|
172
|
+
"required": [
|
|
173
|
+
"package",
|
|
174
|
+
"symbol"
|
|
175
|
+
],
|
|
176
|
+
"properties": {
|
|
177
|
+
"package": {
|
|
178
|
+
"const": "@cloudfrogger/goodui"
|
|
179
|
+
},
|
|
180
|
+
"symbol": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"input": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"additionalProperties": false,
|
|
188
|
+
"required": [
|
|
189
|
+
"name",
|
|
190
|
+
"type",
|
|
191
|
+
"required",
|
|
192
|
+
"default",
|
|
193
|
+
"allowedValues",
|
|
194
|
+
"source",
|
|
195
|
+
"kind"
|
|
196
|
+
],
|
|
197
|
+
"properties": {
|
|
198
|
+
"name": {
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
"type": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"required": {
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
},
|
|
207
|
+
"default": {},
|
|
208
|
+
"allowedValues": {
|
|
209
|
+
"type": [
|
|
210
|
+
"array",
|
|
211
|
+
"null"
|
|
212
|
+
],
|
|
213
|
+
"items": {
|
|
214
|
+
"type": [
|
|
215
|
+
"string",
|
|
216
|
+
"number"
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"source": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"kind": {
|
|
224
|
+
"enum": [
|
|
225
|
+
"input",
|
|
226
|
+
"model"
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"output": {
|
|
232
|
+
"type": "object",
|
|
233
|
+
"additionalProperties": false,
|
|
234
|
+
"required": [
|
|
235
|
+
"name",
|
|
236
|
+
"type",
|
|
237
|
+
"source"
|
|
238
|
+
],
|
|
239
|
+
"properties": {
|
|
240
|
+
"name": {
|
|
241
|
+
"type": "string"
|
|
242
|
+
},
|
|
243
|
+
"type": {
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
"source": {
|
|
247
|
+
"type": "string"
|
|
248
|
+
},
|
|
249
|
+
"implicit": {
|
|
250
|
+
"type": "boolean"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"penpot": {
|
|
255
|
+
"type": "object",
|
|
256
|
+
"additionalProperties": false,
|
|
257
|
+
"required": [
|
|
258
|
+
"penpotName",
|
|
259
|
+
"penpotId",
|
|
260
|
+
"kind",
|
|
261
|
+
"state",
|
|
262
|
+
"owner"
|
|
263
|
+
],
|
|
264
|
+
"properties": {
|
|
265
|
+
"penpotName": {
|
|
266
|
+
"type": "string"
|
|
267
|
+
},
|
|
268
|
+
"penpotId": {
|
|
269
|
+
"type": "string"
|
|
270
|
+
},
|
|
271
|
+
"kind": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"state": {
|
|
275
|
+
"type": [
|
|
276
|
+
"string",
|
|
277
|
+
"null"
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"owner": {
|
|
281
|
+
"type": [
|
|
282
|
+
"string",
|
|
283
|
+
"null"
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../component.schema.json",
|
|
3
|
+
"selector": "div[goodDetailRow]",
|
|
4
|
+
"className": "GoodDetailRowDirective",
|
|
5
|
+
"kind": "directive",
|
|
6
|
+
"import": {
|
|
7
|
+
"package": "@cloudfrogger/goodui",
|
|
8
|
+
"symbol": "GoodDetailRowDirective"
|
|
9
|
+
},
|
|
10
|
+
"source": "angular/projects/goodui/src/lib/typography.ts",
|
|
11
|
+
"inputs": [],
|
|
12
|
+
"outputs": [],
|
|
13
|
+
"variants": {},
|
|
14
|
+
"composition": {
|
|
15
|
+
"projectedContent": [],
|
|
16
|
+
"relatedSelectors": [],
|
|
17
|
+
"notes": null
|
|
18
|
+
},
|
|
19
|
+
"forms": {
|
|
20
|
+
"controlValueAccessor": false,
|
|
21
|
+
"validator": false
|
|
22
|
+
},
|
|
23
|
+
"usageGuide": "guides/components/detail-list.md",
|
|
24
|
+
"usage": {
|
|
25
|
+
"summary": "Use `good-detail-list` for compact label/value pairs in summaries, settings, and price breakdowns. It renders a native `<dl>`. Add one `<div goodDetailRow>` per pair, with a native `<dt>` for the label and `<dd>` for the value. The value aligns to the right; long content wraps within narrow panels. The list has no border or page-specific padding.",
|
|
26
|
+
"examples": []
|
|
27
|
+
},
|
|
28
|
+
"penpot": [],
|
|
29
|
+
"missing": {
|
|
30
|
+
"usageGuide": false,
|
|
31
|
+
"penpotMapping": true
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../component.schema.json",
|
|
3
|
+
"selector": "form[goodForm]",
|
|
4
|
+
"className": "GoodFormDirective",
|
|
5
|
+
"kind": "directive",
|
|
6
|
+
"import": {
|
|
7
|
+
"package": "@cloudfrogger/goodui",
|
|
8
|
+
"symbol": "GoodFormDirective"
|
|
9
|
+
},
|
|
10
|
+
"source": "angular/projects/goodui/src/lib/form.ts",
|
|
11
|
+
"inputs": [
|
|
12
|
+
{
|
|
13
|
+
"name": "layout",
|
|
14
|
+
"type": "\"left\" | \"right\" | \"vertical\"",
|
|
15
|
+
"required": false,
|
|
16
|
+
"default": "vertical",
|
|
17
|
+
"allowedValues": [
|
|
18
|
+
"left",
|
|
19
|
+
"right",
|
|
20
|
+
"vertical"
|
|
21
|
+
],
|
|
22
|
+
"source": "angular/projects/goodui/src/lib/form.ts",
|
|
23
|
+
"kind": "input"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "fullWidth",
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"required": false,
|
|
29
|
+
"default": false,
|
|
30
|
+
"allowedValues": null,
|
|
31
|
+
"source": "angular/projects/goodui/src/lib/form.ts",
|
|
32
|
+
"kind": "input"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"outputs": [],
|
|
36
|
+
"variants": {
|
|
37
|
+
"layout": [
|
|
38
|
+
"left",
|
|
39
|
+
"right",
|
|
40
|
+
"vertical"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"composition": {
|
|
44
|
+
"projectedContent": [],
|
|
45
|
+
"relatedSelectors": [],
|
|
46
|
+
"notes": null
|
|
47
|
+
},
|
|
48
|
+
"forms": {
|
|
49
|
+
"controlValueAccessor": false,
|
|
50
|
+
"validator": false
|
|
51
|
+
},
|
|
52
|
+
"usageGuide": "guides/components/form.md",
|
|
53
|
+
"usage": {
|
|
54
|
+
"summary": "`goodForm` is a standalone Angular directive for a native `<form>`. It aligns every direct child `good-form-field` to the same columns and keeps native submit behavior, browser semantics, and Angular Reactive Forms intact.",
|
|
55
|
+
"examples": []
|
|
56
|
+
},
|
|
57
|
+
"penpot": [
|
|
58
|
+
{
|
|
59
|
+
"penpotName": "goodui.form.vertical",
|
|
60
|
+
"penpotId": "c0c3286f-e4bf-804c-8008-d66c6d6ef862",
|
|
61
|
+
"kind": "component",
|
|
62
|
+
"state": "vertical",
|
|
63
|
+
"owner": null
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"penpotName": "goodui.form.left",
|
|
67
|
+
"penpotId": "c0c3286f-e4bf-804c-8008-d66c9f9af724",
|
|
68
|
+
"kind": "component",
|
|
69
|
+
"state": "left",
|
|
70
|
+
"owner": null
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"penpotName": "goodui.form.right",
|
|
74
|
+
"penpotId": "c0c3286f-e4bf-804c-8008-d66ca3a385e3",
|
|
75
|
+
"kind": "component",
|
|
76
|
+
"state": "right",
|
|
77
|
+
"owner": null
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"missing": {
|
|
81
|
+
"usageGuide": false,
|
|
82
|
+
"penpotMapping": false
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../component.schema.json",
|
|
3
|
+
"selector": "good-action-bar",
|
|
4
|
+
"className": "GoodActionBarComponent",
|
|
5
|
+
"kind": "component",
|
|
6
|
+
"import": {
|
|
7
|
+
"package": "@cloudfrogger/goodui",
|
|
8
|
+
"symbol": "GoodActionBarComponent"
|
|
9
|
+
},
|
|
10
|
+
"source": "angular/projects/goodui/src/lib/action-bar.ts",
|
|
11
|
+
"inputs": [
|
|
12
|
+
{
|
|
13
|
+
"name": "groups",
|
|
14
|
+
"type": "readonly GoodActionBarGroup[]",
|
|
15
|
+
"required": false,
|
|
16
|
+
"default": [],
|
|
17
|
+
"allowedValues": null,
|
|
18
|
+
"source": "angular/projects/goodui/src/lib/action-bar.ts",
|
|
19
|
+
"kind": "input"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "size",
|
|
23
|
+
"type": "GoodButtonSize",
|
|
24
|
+
"required": false,
|
|
25
|
+
"default": "small",
|
|
26
|
+
"allowedValues": [
|
|
27
|
+
"default",
|
|
28
|
+
"small",
|
|
29
|
+
"large"
|
|
30
|
+
],
|
|
31
|
+
"source": "angular/projects/goodui/src/lib/action-bar.ts",
|
|
32
|
+
"kind": "input"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "ariaLabel",
|
|
36
|
+
"type": "string",
|
|
37
|
+
"required": false,
|
|
38
|
+
"default": "Actions",
|
|
39
|
+
"allowedValues": null,
|
|
40
|
+
"source": "angular/projects/goodui/src/lib/action-bar.ts",
|
|
41
|
+
"kind": "input"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"outputs": [
|
|
45
|
+
{
|
|
46
|
+
"name": "commandSelected",
|
|
47
|
+
"type": "GoodActionBarSelection",
|
|
48
|
+
"source": "angular/projects/goodui/src/lib/action-bar.ts"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"variants": {
|
|
52
|
+
"size": [
|
|
53
|
+
"default",
|
|
54
|
+
"small",
|
|
55
|
+
"large"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"composition": {
|
|
59
|
+
"projectedContent": [
|
|
60
|
+
"[goodActionBarTools]"
|
|
61
|
+
],
|
|
62
|
+
"relatedSelectors": [
|
|
63
|
+
"good-action-group",
|
|
64
|
+
"good-button",
|
|
65
|
+
"good-dropdown"
|
|
66
|
+
],
|
|
67
|
+
"notes": "See source template and component guide for projection slots."
|
|
68
|
+
},
|
|
69
|
+
"forms": {
|
|
70
|
+
"controlValueAccessor": false,
|
|
71
|
+
"validator": false
|
|
72
|
+
},
|
|
73
|
+
"usageGuide": "guides/components/action-bar.md",
|
|
74
|
+
"usage": {
|
|
75
|
+
"summary": "`good-action-bar` puts grouped commands above a workspace. It uses GoodUI Button for visible commands, ActionGroup for their spacing, and Dropdown for the accessible More menu. Project existing Input, Dropdown, or other controls into `[goodActionBarTools]` for search and filters. Command IDs and behavior belong to the application.",
|
|
76
|
+
"examples": []
|
|
77
|
+
},
|
|
78
|
+
"penpot": [],
|
|
79
|
+
"missing": {
|
|
80
|
+
"usageGuide": false,
|
|
81
|
+
"penpotMapping": true
|
|
82
|
+
}
|
|
83
|
+
}
|