@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.
Files changed (397) hide show
  1. package/README.md +10 -0
  2. package/ai/README.md +47 -0
  3. package/ai/case-studies/index.md +10 -0
  4. package/ai/case-studies/vpshoster.md +18 -0
  5. package/ai/case-studies/webmailer.md +21 -0
  6. package/ai/catalog/README.md +7 -0
  7. package/ai/catalog/component.schema.json +289 -0
  8. package/ai/catalog/components/div-goodDetailRow.json +33 -0
  9. package/ai/catalog/components/form-goodForm.json +84 -0
  10. package/ai/catalog/components/good-action-bar.json +83 -0
  11. package/ai/catalog/components/good-action-group.json +143 -0
  12. package/ai/catalog/components/good-action-menu.json +121 -0
  13. package/ai/catalog/components/good-alert.json +184 -0
  14. package/ai/catalog/components/good-app-layout.json +245 -0
  15. package/ai/catalog/components/good-assistant-body.json +43 -0
  16. package/ai/catalog/components/good-assistant-footer.json +43 -0
  17. package/ai/catalog/components/good-assistant-header.json +43 -0
  18. package/ai/catalog/components/good-assistant-main.json +61 -0
  19. package/ai/catalog/components/good-assistant-mobile.json +43 -0
  20. package/ai/catalog/components/good-assistant-panel.json +131 -0
  21. package/ai/catalog/components/good-avatar-menu-item.json +82 -0
  22. package/ai/catalog/components/good-avatar-menu.json +83 -0
  23. package/ai/catalog/components/good-badge.json +180 -0
  24. package/ai/catalog/components/good-bar-chart.json +118 -0
  25. package/ai/catalog/components/good-brand-icon.json +71 -0
  26. package/ai/catalog/components/good-breadcrumbs.json +102 -0
  27. package/ai/catalog/components/good-button.json +192 -0
  28. package/ai/catalog/components/good-calendar.json +430 -0
  29. package/ai/catalog/components/good-card-footer.json +63 -0
  30. package/ai/catalog/components/good-card-header.json +100 -0
  31. package/ai/catalog/components/good-card.json +57 -0
  32. package/ai/catalog/components/good-chart-axis.json +168 -0
  33. package/ai/catalog/components/good-chart-bar.json +89 -0
  34. package/ai/catalog/components/good-chart-histogram.json +78 -0
  35. package/ai/catalog/components/good-chart-line.json +89 -0
  36. package/ai/catalog/components/good-chart-scatter.json +87 -0
  37. package/ai/catalog/components/good-checkbox.json +171 -0
  38. package/ai/catalog/components/good-citation.json +62 -0
  39. package/ai/catalog/components/good-code-block.json +116 -0
  40. package/ai/catalog/components/good-color-controls.json +58 -0
  41. package/ai/catalog/components/good-color-picker.json +141 -0
  42. package/ai/catalog/components/good-column.json +53 -0
  43. package/ai/catalog/components/good-columns.json +77 -0
  44. package/ai/catalog/components/good-date-input.json +386 -0
  45. package/ai/catalog/components/good-detail-list.json +43 -0
  46. package/ai/catalog/components/good-dropdown.json +259 -0
  47. package/ai/catalog/components/good-error-page.json +133 -0
  48. package/ai/catalog/components/good-error-text.json +43 -0
  49. package/ai/catalog/components/good-expandable.json +159 -0
  50. package/ai/catalog/components/good-eyebrow.json +61 -0
  51. package/ai/catalog/components/good-field-label.json +62 -0
  52. package/ai/catalog/components/good-form-field.json +67 -0
  53. package/ai/catalog/components/good-form-row.json +70 -0
  54. package/ai/catalog/components/good-group.json +150 -0
  55. package/ai/catalog/components/good-heading-group.json +45 -0
  56. package/ai/catalog/components/good-heading.json +69 -0
  57. package/ai/catalog/components/good-hint.json +43 -0
  58. package/ai/catalog/components/good-histogram.json +103 -0
  59. package/ai/catalog/components/good-icon.json +97 -0
  60. package/ai/catalog/components/good-image-input.json +190 -0
  61. package/ai/catalog/components/good-image-preview.json +97 -0
  62. package/ai/catalog/components/good-inline-image.json +131 -0
  63. package/ai/catalog/components/good-input-phone.json +226 -0
  64. package/ai/catalog/components/good-input.json +350 -0
  65. package/ai/catalog/components/good-line-chart.json +94 -0
  66. package/ai/catalog/components/good-link.json +147 -0
  67. package/ai/catalog/components/good-listbox.json +248 -0
  68. package/ai/catalog/components/good-main-menu.json +138 -0
  69. package/ai/catalog/components/good-main-view.json +179 -0
  70. package/ai/catalog/components/good-map-color-scale.json +163 -0
  71. package/ai/catalog/components/good-map-overlay.json +136 -0
  72. package/ai/catalog/components/good-modal-footer.json +63 -0
  73. package/ai/catalog/components/good-modal-header.json +73 -0
  74. package/ai/catalog/components/good-modal.json +131 -0
  75. package/ai/catalog/components/good-month-calendar.json +170 -0
  76. package/ai/catalog/components/good-notification-host.json +46 -0
  77. package/ai/catalog/components/good-notifications.json +72 -0
  78. package/ai/catalog/components/good-number-input.json +180 -0
  79. package/ai/catalog/components/good-paragraph.json +47 -0
  80. package/ai/catalog/components/good-pdf-preview.json +153 -0
  81. package/ai/catalog/components/good-pin-input.json +211 -0
  82. package/ai/catalog/components/good-progress.json +158 -0
  83. package/ai/catalog/components/good-prose.json +43 -0
  84. package/ai/catalog/components/good-radio-group.json +181 -0
  85. package/ai/catalog/components/good-range-slider.json +285 -0
  86. package/ai/catalog/components/good-rating.json +160 -0
  87. package/ai/catalog/components/good-resizable-pane.json +61 -0
  88. package/ai/catalog/components/good-resizable.json +185 -0
  89. package/ai/catalog/components/good-rich-text-editor.json +164 -0
  90. package/ai/catalog/components/good-scatter-chart.json +94 -0
  91. package/ai/catalog/components/good-search.json +60 -0
  92. package/ai/catalog/components/good-section.json +43 -0
  93. package/ai/catalog/components/good-select-country.json +205 -0
  94. package/ai/catalog/components/good-select-font.json +111 -0
  95. package/ai/catalog/components/good-select.json +217 -0
  96. package/ai/catalog/components/good-separator.json +59 -0
  97. package/ai/catalog/components/good-settings.json +60 -0
  98. package/ai/catalog/components/good-sidebar-container.json +112 -0
  99. package/ai/catalog/components/good-sidebar-item.json +210 -0
  100. package/ai/catalog/components/good-sidebar-menu-container.json +80 -0
  101. package/ai/catalog/components/good-sidebar-submenu-group.json +98 -0
  102. package/ai/catalog/components/good-sidebar-submenu-item.json +113 -0
  103. package/ai/catalog/components/good-signature-pad.json +115 -0
  104. package/ai/catalog/components/good-sparkline.json +188 -0
  105. package/ai/catalog/components/good-status-icon.json +425 -0
  106. package/ai/catalog/components/good-subheading.json +67 -0
  107. package/ai/catalog/components/good-subnav.json +132 -0
  108. package/ai/catalog/components/good-summary.json +43 -0
  109. package/ai/catalog/components/good-switch.json +167 -0
  110. package/ai/catalog/components/good-tab.json +129 -0
  111. package/ai/catalog/components/good-table.json +294 -0
  112. package/ai/catalog/components/good-tabs.json +90 -0
  113. package/ai/catalog/components/good-textarea.json +194 -0
  114. package/ai/catalog/components/good-theme-toggle.json +57 -0
  115. package/ai/catalog/components/good-timeline-section.json +105 -0
  116. package/ai/catalog/components/good-timeline-step.json +248 -0
  117. package/ai/catalog/components/good-timeline.json +302 -0
  118. package/ai/catalog/components/good-topbar-dropdown-item.json +115 -0
  119. package/ai/catalog/components/good-topbar-dropdown-menu.json +85 -0
  120. package/ai/catalog/components/good-topbar-menu-container.json +96 -0
  121. package/ai/catalog/components/good-topbar-menu-item.json +99 -0
  122. package/ai/catalog/components/good-topbar-submenu.json +77 -0
  123. package/ai/catalog/components/good-topbar.json +259 -0
  124. package/ai/catalog/components/good-world-map.json +145 -0
  125. package/ai/catalog/components/goodCardActions.json +33 -0
  126. package/ai/catalog/components/goodDropdownFooter.json +33 -0
  127. package/ai/catalog/components/goodDropdownHeader.json +33 -0
  128. package/ai/catalog/components/goodExpandableHeader.json +33 -0
  129. package/ai/catalog/components/ng-template-goodListboxItem.json +33 -0
  130. package/ai/catalog/components/ng-template-goodTableCell.json +43 -0
  131. package/ai/catalog/index.json +1484 -0
  132. package/ai/catalog/index.schema.json +13 -0
  133. package/ai/examples/angular.json +26 -0
  134. package/ai/examples/edit-form.html +13 -0
  135. package/ai/examples/edit-form.ts +18 -0
  136. package/ai/examples/index.html +1 -0
  137. package/ai/examples/login.html +11 -0
  138. package/ai/examples/login.ts +14 -0
  139. package/ai/examples/main.ts +25 -0
  140. package/ai/examples/settings.html +10 -0
  141. package/ai/examples/settings.ts +13 -0
  142. package/ai/examples/table-view.html +3 -0
  143. package/ai/examples/table-view.ts +21 -0
  144. package/ai/examples/tsconfig.json +27 -0
  145. package/ai/guides/common-mistakes.md +9 -0
  146. package/ai/guides/component-discovery.md +17 -0
  147. package/ai/guides/design-tokens.md +10 -0
  148. package/ai/guides/layout.md +17 -0
  149. package/ai/guides/page-patterns.md +39 -0
  150. package/ai/install.mjs +25 -0
  151. package/ai/manifest.json +6 -0
  152. package/ai/skill/goodui/SKILL.md +27 -0
  153. package/angular/projects/goodui/package.json +28 -0
  154. package/angular/projects/goodui/src/action-bar.css +20 -0
  155. package/angular/projects/goodui/src/assistant-panel.css +38 -0
  156. package/angular/projects/goodui/src/calendar.css +161 -0
  157. package/angular/projects/goodui/src/chart.css +35 -0
  158. package/angular/projects/goodui/src/color-picker.css +40 -0
  159. package/angular/projects/goodui/src/error-page.css +24 -0
  160. package/angular/projects/goodui/src/lib/action-bar.ts +161 -0
  161. package/angular/projects/goodui/src/lib/action-group.ts +31 -0
  162. package/angular/projects/goodui/src/lib/action-menu.ts +81 -0
  163. package/angular/projects/goodui/src/lib/actions.ts +318 -0
  164. package/angular/projects/goodui/src/lib/alert.ts +60 -0
  165. package/angular/projects/goodui/src/lib/app-layout.ts +79 -0
  166. package/angular/projects/goodui/src/lib/assistant-panel.ts +133 -0
  167. package/angular/projects/goodui/src/lib/badge.ts +47 -0
  168. package/angular/projects/goodui/src/lib/bar-chart.html +80 -0
  169. package/angular/projects/goodui/src/lib/bar-chart.ts +233 -0
  170. package/angular/projects/goodui/src/lib/breadcrumbs.ts +81 -0
  171. package/angular/projects/goodui/src/lib/button.ts +38 -0
  172. package/angular/projects/goodui/src/lib/calendar-layout.ts +68 -0
  173. package/angular/projects/goodui/src/lib/calendar-service.ts +144 -0
  174. package/angular/projects/goodui/src/lib/calendar-working-hours.ts +65 -0
  175. package/angular/projects/goodui/src/lib/calendar.html +200 -0
  176. package/angular/projects/goodui/src/lib/calendar.ts +471 -0
  177. package/angular/projects/goodui/src/lib/card.ts +64 -0
  178. package/angular/projects/goodui/src/lib/chart-colors.ts +22 -0
  179. package/angular/projects/goodui/src/lib/chart-data.ts +269 -0
  180. package/angular/projects/goodui/src/lib/checkbox.ts +87 -0
  181. package/angular/projects/goodui/src/lib/code-block.ts +147 -0
  182. package/angular/projects/goodui/src/lib/color-controls.ts +107 -0
  183. package/angular/projects/goodui/src/lib/color-picker.ts +142 -0
  184. package/angular/projects/goodui/src/lib/color-utils.ts +69 -0
  185. package/angular/projects/goodui/src/lib/country-data.ts +16 -0
  186. package/angular/projects/goodui/src/lib/date-input.ts +542 -0
  187. package/angular/projects/goodui/src/lib/dropdown.ts +309 -0
  188. package/angular/projects/goodui/src/lib/error-page.ts +46 -0
  189. package/angular/projects/goodui/src/lib/expandable.ts +64 -0
  190. package/angular/projects/goodui/src/lib/form.ts +12 -0
  191. package/angular/projects/goodui/src/lib/goodui-config.ts +16 -0
  192. package/angular/projects/goodui/src/lib/group.ts +45 -0
  193. package/angular/projects/goodui/src/lib/histogram.html +52 -0
  194. package/angular/projects/goodui/src/lib/histogram.ts +146 -0
  195. package/angular/projects/goodui/src/lib/icon.ts +44 -0
  196. package/angular/projects/goodui/src/lib/image-input.ts +154 -0
  197. package/angular/projects/goodui/src/lib/image-preview.ts +26 -0
  198. package/angular/projects/goodui/src/lib/input-phone.ts +305 -0
  199. package/angular/projects/goodui/src/lib/input.ts +143 -0
  200. package/angular/projects/goodui/src/lib/line-chart.html +53 -0
  201. package/angular/projects/goodui/src/lib/line-chart.ts +193 -0
  202. package/angular/projects/goodui/src/lib/link.ts +46 -0
  203. package/angular/projects/goodui/src/lib/listbox.ts +254 -0
  204. package/angular/projects/goodui/src/lib/main-view.ts +39 -0
  205. package/angular/projects/goodui/src/lib/marker-colors.ts +7 -0
  206. package/angular/projects/goodui/src/lib/modal.ts +199 -0
  207. package/angular/projects/goodui/src/lib/models.ts +115 -0
  208. package/angular/projects/goodui/src/lib/month-calendar.ts +289 -0
  209. package/angular/projects/goodui/src/lib/notification-center.ts +170 -0
  210. package/angular/projects/goodui/src/lib/notification-host.ts +86 -0
  211. package/angular/projects/goodui/src/lib/number-input.ts +180 -0
  212. package/angular/projects/goodui/src/lib/pdf-preview.ts +242 -0
  213. package/angular/projects/goodui/src/lib/pdf-worker.generated.ts +2 -0
  214. package/angular/projects/goodui/src/lib/pin-input.ts +193 -0
  215. package/angular/projects/goodui/src/lib/progress.ts +93 -0
  216. package/angular/projects/goodui/src/lib/provide-goodui.ts +15 -0
  217. package/angular/projects/goodui/src/lib/radio-group.ts +94 -0
  218. package/angular/projects/goodui/src/lib/range-slider.ts +313 -0
  219. package/angular/projects/goodui/src/lib/rating.ts +90 -0
  220. package/angular/projects/goodui/src/lib/required-control.ts +4 -0
  221. package/angular/projects/goodui/src/lib/resizable.ts +168 -0
  222. package/angular/projects/goodui/src/lib/rich-text-command.ts +111 -0
  223. package/angular/projects/goodui/src/lib/rich-text-editor.html +193 -0
  224. package/angular/projects/goodui/src/lib/rich-text-editor.ts +864 -0
  225. package/angular/projects/goodui/src/lib/rich-text-sanitize.ts +99 -0
  226. package/angular/projects/goodui/src/lib/scatter-chart.html +48 -0
  227. package/angular/projects/goodui/src/lib/scatter-chart.ts +150 -0
  228. package/angular/projects/goodui/src/lib/select-country.ts +104 -0
  229. package/angular/projects/goodui/src/lib/select-font.ts +189 -0
  230. package/angular/projects/goodui/src/lib/select.ts +336 -0
  231. package/angular/projects/goodui/src/lib/sidebar.ts +232 -0
  232. package/angular/projects/goodui/src/lib/signature-pad.ts +238 -0
  233. package/angular/projects/goodui/src/lib/sparkline.html +15 -0
  234. package/angular/projects/goodui/src/lib/sparkline.ts +106 -0
  235. package/angular/projects/goodui/src/lib/status-icon.ts +79 -0
  236. package/angular/projects/goodui/src/lib/subnav.ts +156 -0
  237. package/angular/projects/goodui/src/lib/switch.ts +54 -0
  238. package/angular/projects/goodui/src/lib/table.ts +538 -0
  239. package/angular/projects/goodui/src/lib/tabs.ts +251 -0
  240. package/angular/projects/goodui/src/lib/textarea.ts +83 -0
  241. package/angular/projects/goodui/src/lib/theme.ts +49 -0
  242. package/angular/projects/goodui/src/lib/timeline.ts +252 -0
  243. package/angular/projects/goodui/src/lib/topbar.ts +402 -0
  244. package/angular/projects/goodui/src/lib/typography.ts +250 -0
  245. package/angular/projects/goodui/src/lib/world-map-data.ts +3 -0
  246. package/angular/projects/goodui/src/lib/world-map.html +73 -0
  247. package/angular/projects/goodui/src/lib/world-map.ts +391 -0
  248. package/angular/projects/goodui/src/month-calendar.css +47 -0
  249. package/angular/projects/goodui/src/pdf-preview.css +25 -0
  250. package/angular/projects/goodui/src/progress.css +38 -0
  251. package/angular/projects/goodui/src/public-api.ts +74 -0
  252. package/angular/projects/goodui/src/range-slider.css +54 -0
  253. package/angular/projects/goodui/src/resizable.css +32 -0
  254. package/angular/projects/goodui/src/rich-text-editor.css +33 -0
  255. package/angular/projects/goodui/src/select-font.css +16 -0
  256. package/angular/projects/goodui/src/signature-pad.css +14 -0
  257. package/angular/projects/goodui/src/styles.css +1105 -0
  258. package/angular/projects/goodui/src/timeline.css +138 -0
  259. package/angular/projects/goodui/src/tokens.generated.css +754 -0
  260. package/design/component-map.json +2233 -0
  261. package/design-tokens/penpot.tokens.json +3339 -0
  262. package/design.md +452 -0
  263. package/guides/README.md +17 -0
  264. package/guides/components/action-bar.md +43 -0
  265. package/guides/components/action-group.md +43 -0
  266. package/guides/components/action-menu.md +22 -0
  267. package/guides/components/alert.md +28 -0
  268. package/guides/components/assistant-panel.md +50 -0
  269. package/guides/components/avatar-menu.md +34 -0
  270. package/guides/components/badge.md +39 -0
  271. package/guides/components/bar-chart.md +40 -0
  272. package/guides/components/breadcrumbs.md +37 -0
  273. package/guides/components/button.md +40 -0
  274. package/guides/components/calendar.md +166 -0
  275. package/guides/components/card.md +62 -0
  276. package/guides/components/chart-axis.md +5 -0
  277. package/guides/components/chart-bar.md +5 -0
  278. package/guides/components/chart-data.md +58 -0
  279. package/guides/components/chart-histogram.md +16 -0
  280. package/guides/components/chart-line.md +5 -0
  281. package/guides/components/chart-scatter.md +14 -0
  282. package/guides/components/checkbox.md +36 -0
  283. package/guides/components/code-block.md +35 -0
  284. package/guides/components/color-controls.md +22 -0
  285. package/guides/components/column.md +5 -0
  286. package/guides/components/columns.md +13 -0
  287. package/guides/components/date-input.md +62 -0
  288. package/guides/components/detail-list.md +25 -0
  289. package/guides/components/dropdown.md +48 -0
  290. package/guides/components/error-page.md +31 -0
  291. package/guides/components/expandable.md +36 -0
  292. package/guides/components/form.md +49 -0
  293. package/guides/components/group.md +41 -0
  294. package/guides/components/histogram.md +45 -0
  295. package/guides/components/icon.md +13 -0
  296. package/guides/components/image-input.md +34 -0
  297. package/guides/components/input-phone.md +45 -0
  298. package/guides/components/input.md +59 -0
  299. package/guides/components/line-chart.md +37 -0
  300. package/guides/components/link.md +31 -0
  301. package/guides/components/listbox.md +109 -0
  302. package/guides/components/main-menu.md +11 -0
  303. package/guides/components/main-view.md +21 -0
  304. package/guides/components/modal.md +58 -0
  305. package/guides/components/month-calendar.md +88 -0
  306. package/guides/components/notifications.md +76 -0
  307. package/guides/components/number-input.md +21 -0
  308. package/guides/components/pdf-preview.md +38 -0
  309. package/guides/components/pin-input.md +37 -0
  310. package/guides/components/progress.md +41 -0
  311. package/guides/components/radio-group.md +41 -0
  312. package/guides/components/range-slider.md +42 -0
  313. package/guides/components/rating.md +39 -0
  314. package/guides/components/resizable-pane.md +3 -0
  315. package/guides/components/resizable.md +75 -0
  316. package/guides/components/rich-text-editor.md +113 -0
  317. package/guides/components/scatter-chart.md +43 -0
  318. package/guides/components/search.md +9 -0
  319. package/guides/components/select-font.md +16 -0
  320. package/guides/components/select.md +65 -0
  321. package/guides/components/settings.md +11 -0
  322. package/guides/components/sidebar.md +47 -0
  323. package/guides/components/signature-pad.md +45 -0
  324. package/guides/components/sparkline.md +31 -0
  325. package/guides/components/status-icon.md +32 -0
  326. package/guides/components/submenus.md +30 -0
  327. package/guides/components/subnav.md +54 -0
  328. package/guides/components/switch.md +48 -0
  329. package/guides/components/table.md +256 -0
  330. package/guides/components/tabs.md +46 -0
  331. package/guides/components/textarea.md +44 -0
  332. package/guides/components/theme-toggle.md +33 -0
  333. package/guides/components/timeline-section.md +7 -0
  334. package/guides/components/timeline-step.md +12 -0
  335. package/guides/components/timeline.md +179 -0
  336. package/guides/components/topbar.md +83 -0
  337. package/guides/components/typography.md +155 -0
  338. package/guides/components/world-map.md +72 -0
  339. package/guides/contributing/design-to-code.md +261 -0
  340. package/guides/deployment/drone.md +77 -0
  341. package/guides/examples/user-registration.md +11 -0
  342. package/guides/foundations/naming.md +7 -0
  343. package/guides/foundations/tokens.md +203 -0
  344. package/guides/intro.md +80 -0
  345. package/guides/layout/app-layout.md +64 -0
  346. package/guides/layout/layout-rules.md +16 -0
  347. package/homepage/src/app/examples/calendar-workspace/calendar-workspace-page.html +22 -0
  348. package/homepage/src/app/examples/calendar-workspace/calendar-workspace-page.ts +111 -0
  349. package/homepage/src/app/examples/calendar-workspace/source-code.generated.ts +3 -0
  350. package/homepage/src/app/examples/case-studies/cloudhoster/billing-page.html +166 -0
  351. package/homepage/src/app/examples/case-studies/cloudhoster/billing-page.ts +134 -0
  352. package/homepage/src/app/examples/case-studies/cloudhoster/cloudhoster-store.ts +92 -0
  353. package/homepage/src/app/examples/case-studies/cloudhoster/create-database-page.html +93 -0
  354. package/homepage/src/app/examples/case-studies/cloudhoster/create-database-page.ts +115 -0
  355. package/homepage/src/app/examples/case-studies/cloudhoster/database-detail-page.html +202 -0
  356. package/homepage/src/app/examples/case-studies/cloudhoster/database-detail-page.ts +143 -0
  357. package/homepage/src/app/examples/case-studies/cloudhoster/databases-page.html +70 -0
  358. package/homepage/src/app/examples/case-studies/cloudhoster/databases-page.ts +44 -0
  359. package/homepage/src/app/examples/case-studies/cloudhoster/home-page.html +70 -0
  360. package/homepage/src/app/examples/case-studies/cloudhoster/home-page.ts +32 -0
  361. package/homepage/src/app/examples/case-studies/cloudhoster/source-code.generated.ts +12 -0
  362. package/homepage/src/app/examples/case-studies/vpshoster/create-server-page.html +208 -0
  363. package/homepage/src/app/examples/case-studies/vpshoster/create-server-page.ts +214 -0
  364. package/homepage/src/app/examples/case-studies/vpshoster/overview-page.html +35 -0
  365. package/homepage/src/app/examples/case-studies/vpshoster/overview-page.ts +17 -0
  366. package/homepage/src/app/examples/case-studies/vpshoster/servers-page.html +111 -0
  367. package/homepage/src/app/examples/case-studies/vpshoster/servers-page.ts +206 -0
  368. package/homepage/src/app/examples/case-studies/vpshoster/source-code.generated.ts +6 -0
  369. package/homepage/src/app/examples/case-studies/vpshoster/vps-store.ts +92 -0
  370. package/homepage/src/app/examples/case-studies/webmailer/webmailer-page.html +35 -0
  371. package/homepage/src/app/examples/case-studies/webmailer/webmailer-page.ts +17 -0
  372. package/homepage/src/app/examples/error-pages/error-pages-example-page.html +27 -0
  373. package/homepage/src/app/examples/error-pages/error-pages-example-page.ts +34 -0
  374. package/homepage/src/app/examples/error-pages/not-found-page.html +8 -0
  375. package/homepage/src/app/examples/error-pages/not-found-page.ts +19 -0
  376. package/homepage/src/app/examples/error-pages/server-error-page.html +8 -0
  377. package/homepage/src/app/examples/error-pages/server-error-page.ts +20 -0
  378. package/homepage/src/app/examples/error-pages/source-code.generated.ts +7 -0
  379. package/homepage/src/app/examples/mail-compose/mail-compose-page.html +25 -0
  380. package/homepage/src/app/examples/mail-compose/mail-compose-page.ts +28 -0
  381. package/homepage/src/app/examples/mail-workspace/mail-workspace-page.html +59 -0
  382. package/homepage/src/app/examples/mail-workspace/mail-workspace-page.ts +128 -0
  383. package/homepage/src/app/examples/mail-workspace/source-code.generated.ts +3 -0
  384. package/homepage/src/app/examples/notifications/notifications-page.html +51 -0
  385. package/homepage/src/app/examples/notifications/notifications-page.ts +133 -0
  386. package/homepage/src/app/examples/notifications/source-code.generated.ts +3 -0
  387. package/homepage/src/app/examples/pdf-reader/pdf-reader-page.html +27 -0
  388. package/homepage/src/app/examples/pdf-reader/pdf-reader-page.ts +39 -0
  389. package/homepage/src/app/examples/pdf-reader/source-code.generated.ts +3 -0
  390. package/homepage/src/app/examples/user-registration/source-code.generated.ts +5 -0
  391. package/homepage/src/app/examples/user-registration/user-registration-example-page.html +11 -0
  392. package/homepage/src/app/examples/user-registration/user-registration-example-page.ts +21 -0
  393. package/homepage/src/app/examples/user-registration/user-registration-form.html +116 -0
  394. package/homepage/src/app/examples/user-registration/user-registration-form.ts +93 -0
  395. package/homepage/src/app/examples/user-registration/user-registration-page.html +11 -0
  396. package/homepage/src/app/examples/user-registration/user-registration-page.ts +23 -0
  397. package/package.json +2 -2
@@ -0,0 +1,43 @@
1
+ # Action bar
2
+
3
+ `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.
4
+
5
+ ```ts
6
+ import { GoodActionBarComponent, GoodInputComponent, LucideCopy, LucidePlus, LucideTrash2, type GoodActionBarGroup } from '@cloudfrogger/goodui';
7
+
8
+ readonly groups: readonly GoodActionBarGroup[] = [
9
+ { id: 'create', label: 'Create', commands: [
10
+ { id: 'new', label: 'New', icon: LucidePlus, priority: 'important', variant: 'default' },
11
+ ] },
12
+ { id: 'items', label: 'Item actions', commands: [
13
+ { id: 'copy', label: 'Copy', icon: LucideCopy },
14
+ { id: 'delete', label: 'Delete', icon: LucideTrash2, priority: 'overflow' },
15
+ ] },
16
+ ];
17
+ ```
18
+
19
+ ```html
20
+ <good-main-view layout="fill">
21
+ <good-action-bar goodMainViewToolbar [groups]="groups"
22
+ (commandSelected)="runCommand($event)">
23
+ <div goodActionBarTools>
24
+ <good-input label="Search items" type="search" [(value)]="query" />
25
+ </div>
26
+ </good-action-bar>
27
+ <app-workspace />
28
+ </good-main-view>
29
+ ```
30
+
31
+ `commandSelected` emits `{ groupId, commandId }` from either a visible Button or More. The application handles the command; the bar does not infer selection or mutate data. Group IDs must be unique, and command IDs must be unique within a group. Group labels name the visible control group and appear as details in More.
32
+
33
+ | Input | Default | Use |
34
+ | --- | --- | --- |
35
+ | `groups` | `[]` | Ordered groups of `{id, label, commands}` |
36
+ | `size` | `small` | GoodUI Button size: `small`, `default`, `large` |
37
+ | `ariaLabel` | `Actions` | Name for the command region |
38
+
39
+ Each command accepts `id`, `label`, optional GoodUI `icon`, `variant`, `disabled`, and `priority`. `normal` is the default. `important` remains in the visible row; `overflow` always appears in More. Commands show a larger icon above a compact label. As width shrinks, lower-priority commands move into More while the labels of visible commands remain readable. If even important commands exceed the available width, their row scrolls horizontally while More stays available. The tools slot moves below the command row when the bar is narrow.
40
+
41
+ Use `goodMainViewToolbar` for a fixed strip above a height-filling child. The child owns its own scrolling. The slot is generic and also accepts a custom control or status strip. See [MainView](./main-view.md) and [Fill layout](../layout/app-layout.md).
42
+
43
+ Penpot mapping: `goodui.action-bar` is pending a live library component and ID. The Penpot MCP was disconnected during this implementation. No ID or variant has been invented; see `design/action-bar-contract.json`.
@@ -0,0 +1,43 @@
1
+ # Action group
2
+
3
+ `good-action-group` arranges related actions and owns the space between them. Put `good-button`, `good-dropdown`, links, or other controls inside it. Individual controls do not need external margins. Use `horizontal` for a wrapping row, `vertical` for a column, or `responsive` for a row that becomes a full-width column on narrow screens.
4
+
5
+ The homepage app has a dedicated **Components → Action groups** page at `/components/action-groups`. It shows mixed controls, vertical and responsive layouts, and all three spacing values. The Modal demo uses the same component for its example launchers.
6
+
7
+ ```ts
8
+ import { GoodActionGroupComponent, GoodButtonComponent } from '@cloudfrogger/goodui';
9
+
10
+ // Add both components to the consuming standalone component's imports.
11
+ ```
12
+
13
+ ```html
14
+ <good-action-group ariaLabel="Project actions">
15
+ <good-button>Create</good-button>
16
+ <good-button variant="secondary">Edit</good-button>
17
+ <good-button variant="outline">More</good-button>
18
+ </good-action-group>
19
+
20
+ <good-action-group orientation="vertical" spacing="large" ariaLabel="Available actions">
21
+ <good-button>Continue</good-button>
22
+ <good-button variant="secondary">Save draft</good-button>
23
+ </good-action-group>
24
+
25
+ <good-action-group orientation="responsive" ariaLabel="Dialog examples">
26
+ <good-button>Small dialog</good-button>
27
+ <good-button variant="secondary">Full width</good-button>
28
+ <good-button variant="outline">Overlay</good-button>
29
+ </good-action-group>
30
+ ```
31
+
32
+ | Input | Default | Purpose |
33
+ | --- | --- | --- |
34
+ | `orientation` | `horizontal` | `horizontal`, `vertical`, or `responsive` |
35
+ | `spacing` | `default` | `small` (8 px), `default` (12 px), or `large` (16 px) gap |
36
+ | `wrap` | `true` | Let horizontal actions move to another row when space runs out |
37
+ | `justify` | `start` | Main-axis placement: `start`, `center`, `end`, or `between` |
38
+ | `align` | `start` | Cross-axis placement: `start`, `center`, `end`, or `stretch` |
39
+ | `ariaLabel` | empty | Accessible name; adds `role="group"` when supplied |
40
+
41
+ `responsive` behaves like `horizontal` above 680 px and stacks actions below that width. On narrow screens, GoodUI Buttons in this mode fill the group width. `vertical` keeps each action at its natural width unless `align="stretch"` is set. A horizontal group wraps by default; set `[wrap]="false"` only where the surrounding layout has enough room or manages overflow. The component handles alignment and spacing, but the parent decides the group's available width.
42
+
43
+ Penpot page `11 Action Groups` publishes six `goodui.action-group` variants: horizontal and vertical at all three spacing sizes. The [variant manifest](https://github.com/cloudfrogger/goodui/blob/master/design/action-group-variants.json) maps their library IDs to `good-action-group`. Each contains linked GoodUI Button instances and token-bound flex gaps. `responsive` maps to the horizontal design above 680 px and the vertical design below it; wrap, alignment, labels, and control actions are runtime behavior.
@@ -0,0 +1,22 @@
1
+ # ActionMenu
2
+
3
+ `good-action-menu` is a compact icon button with an action list. It fits an optional action area in Subnav and can be used anywhere a small secondary menu is needed. It uses `good-button` for the trigger.
4
+
5
+ ```ts
6
+ import { GoodActionMenuComponent, LucideEllipsis, type GoodMenuAction } from '@cloudfrogger/goodui';
7
+
8
+ readonly menuIcon = LucideEllipsis;
9
+
10
+ readonly accountActions: readonly GoodMenuAction[] = [
11
+ { id: 'profile', label: 'Profile', route: '/account/profile' },
12
+ { id: 'settings', label: 'Settings', route: '/account/settings' },
13
+ ];
14
+ ```
15
+
16
+ ```html
17
+ <good-action-menu [icon]="menuIcon" label="Account actions" [items]="accountActions" />
18
+ ```
19
+
20
+ The trigger reports its open state with `aria-expanded` and `aria-controls`. Arrow Down opens the menu and focuses the first item; Arrow Up/Down moves among items. Escape closes it and returns focus. Clicking outside closes it. Route items use Angular Router links; action items call their supplied callback. Provide a concise `label` that describes the menu.
21
+
22
+ Penpot components on `03 Controls`: `goodui.action-menu.default` and `.open`. Both map to the same Angular selector; the open state is runtime behavior, not a second Angular component.
@@ -0,0 +1,28 @@
1
+ # Alert
2
+
3
+ `good-alert` presents a message in a page, a notification panel, or a toast. It owns its icon, spacing, border, content flow, action row, and dismiss button. The default Lucide icon is Info; pass another Lucide icon through `icon`, or set `showIcon` to false. The same component renders all three sizes and both GoodUI themes.
4
+
5
+ | Input | Values | Default |
6
+ | --- | --- | --- |
7
+ | `tone` | `neutral`, `info`, `success`, `brand`, `destructive`, `warning` | `neutral` |
8
+ | `appearance` | `default`, `mono`, `outline`, `light` | `default` |
9
+ | `size` | `small`, `default`, `large` | `default` |
10
+ | `title`, `message` | Plain text | Empty |
11
+ | `icon`, `showIcon` | Lucide icon or custom Lucide data; boolean | Info; true |
12
+ | `dismissible` | Boolean | false |
13
+
14
+ The default appearance uses a theme-aware, tone-tinted surface. `light` uses a quieter tint. `outline` keeps the regular application surface and border while coloring the message and icon. `mono` keeps both title and message in the normal text color and colors only the icon. The neutral tone uses the application's gray surface. Warning shares the vivid `color.warning` base with Badge and Rating; its title and icon use the companion `color.warning-foreground` token so they remain readable on light surfaces. Error and warning roles change with the light and dark themes.
15
+
16
+ ```html
17
+ <good-alert tone="warning" appearance="light" title="Check your details"
18
+ message="Your changes need review." [dismissible]="true" (closed)="onDismiss()">
19
+ <div goodAlertActions>
20
+ <good-button size="small" (click)="review()">Review</good-button>
21
+ <good-link route="/settings">Open settings</good-link>
22
+ </div>
23
+ </good-alert>
24
+ ```
25
+
26
+ Project actions into `[goodAlertActions]`; the Alert arranges them and wraps them on narrow screens. A [`good-progress`](progress.md) can also be projected directly into the Alert content for uploads, exports, or timed work. `closed` fires when the optional X is activated. The Alert hides itself immediately, so a consuming app can also remove it from its data source. `closeLabel` customizes the accessible name. Neutral, information, success, brand, and warning messages use a polite status role; destructive messages use an alert role. Actions and close controls remain reachable by keyboard.
27
+
28
+ The published `goodui.alert` family on Penpot page `21 Alerts` has 72 `tone` / `appearance` / `size` variants. All 72 bind surface, text, padding, and icon-size properties to `alert.*` tokens and retain linked Lucide Info instances. A separate reusable `goodui.alert-composition.actions-dismissible` specimen shows a linked GoodUI Button and Lucide X. Its Alert frame is detached because Penpot cannot add children to a component copy; the base 72-variant family remains linked and is the source for ordinary messages. [alert-contract.json](../../design/alert-contract.json) records the published IDs and mapping. Use [Notifications](notifications.md) to send the same Angular component as a toast or inbox item.
@@ -0,0 +1,50 @@
1
+ # Assistant panel
2
+
3
+ `good-assistant-panel` places a contextual companion beside a primary workspace. Use it for an inspector, contextual help, or an order summary. The main area gets GoodUI spacing by default; both areas fill their available client height and scroll independently. No pixel height is needed inside `good-main-view layout="fill"`.
4
+
5
+ ```ts
6
+ import {
7
+ GoodAssistantPanelComponent, GoodAssistantMainComponent,
8
+ GoodAssistantHeaderComponent, GoodAssistantBodyComponent,
9
+ GoodAssistantFooterComponent, GoodAssistantMobileComponent,
10
+ } from '@cloudfrogger/goodui';
11
+ ```
12
+
13
+ ```html
14
+ <good-main-view layout="fill">
15
+ <good-assistant-panel label="Order summary">
16
+ <good-assistant-main><!-- Primary workspace or form --></good-assistant-main>
17
+ <good-assistant-header><!-- Companion heading --></good-assistant-header>
18
+ <good-assistant-body><!-- Full details; scrolls independently --></good-assistant-body>
19
+ <good-assistant-footer><!-- Total and actions --></good-assistant-footer>
20
+ <good-assistant-mobile><!-- Only the essential mobile summary --></good-assistant-mobile>
21
+ </good-assistant-panel>
22
+ </good-main-view>
23
+ ```
24
+
25
+ `good-assistant-main` owns the primary content and its responsive inset. `padding="none"` removes the inset for a map or edge-to-edge canvas. The companion's header and footer remain in place while its body scrolls. All five sections accept arbitrary GoodUI content. The default surface is open to the workspace. Set `appearance="soft"` to inset the companion as a rounded, borderless card on the existing theme-aware `color.selected` surface. The tint also follows the mobile drawer and bottom dock; no custom CSS or new color value is needed.
26
+
27
+ ## Mobile choices
28
+
29
+ | Composition | Behavior |
30
+ | --- | --- |
31
+ | No `good-assistant-mobile` | Default: a small button opens the whole companion from the right. |
32
+ | Add `good-assistant-mobile` | Its projected content docks at the lower edge of the client area. Its height follows that content. The expand button opens the full companion from the bottom. The page designer chooses the shortened content. |
33
+ | Set `hideOnMobile` | Companion and launcher disappear on mobile; the main area fills the width. |
34
+
35
+ `hideOnMobile` takes precedence when a mobile section is also present. The viewport breakpoint is 700px. The mobile overlay closes by Escape, backdrop, or its close button; focus returns to the opener. Use `[(open)]` to control expansion in code.
36
+
37
+ | Input or output | Default | Meaning |
38
+ | --- | --- | --- |
39
+ | `label` | `Assistant panel` | Accessible name for the companion and mobile controls. |
40
+ | `appearance` | `default` | `default` is the open surface; `soft` is an inset card with a subtle background and no border. |
41
+ | `width` | `300px` | Desktop companion width as a CSS length. |
42
+ | `hideOnMobile` | `false` | Hide the companion and its mobile controls below the breakpoint. |
43
+ | `[(open)]` | `false` | Programmatic and user-controlled mobile expansion. |
44
+ | `good-assistant-main padding` | `default` | `default` uses GoodUI's responsive inset; `none` is edge-to-edge. |
45
+
46
+ The [VPS hoster case study](../../homepage/src/app/examples/case-studies/vpshoster/create-server-page.html) shows a docked price summary. The [component page](../../homepage/src/app/assistant-panels-page.ts) shows the default right drawer with a document inspector, an unrelated use case.
47
+
48
+ The component page also shows an [illustration made from desktop and mobile screenshots](../../homepage/public/components/assistant-panel-dock.svg): the red arrow connects the full desktop summary to the shorter mobile dock. The source screenshots are in `homepage/artwork/`; regenerate the SVG with `node homepage/scripts/generate-assistant-panel-illustration.mjs` after changing that example.
49
+
50
+ Penpot page `41 Assistant Panels` publishes desktop, soft desktop, mobile drawer, and mobile dock specimens and the five section families. Their live library IDs and Angular mapping are recorded in [assistant-panel-contract.json](../../design/assistant-panel-contract.json).
@@ -0,0 +1,34 @@
1
+ # Avatar menu
2
+
3
+ `good-avatar-menu` is the account control in the topbar. The round trigger opens an approximately 250 × 384 px panel with an identity header, profile links, expandable account and language rows, a Dark Mode switch, and an optional sign-out action. The 40 px rows and their spacing belong to the component. It uses the same semantic colors in light and dark themes.
4
+
5
+ ```ts
6
+ import { GoodMenuAction, GoodUser } from '@cloudfrogger/goodui';
7
+
8
+ currentUser: GoodUser = {
9
+ name: 'Alex Morgan', email: 'alex@example.com', initials: 'AM', badge: 'Pro',
10
+ };
11
+
12
+ accountActions: readonly GoodMenuAction[] = [
13
+ { id: 'profile', label: 'My Profile', icon: 'account', route: '/profile' },
14
+ { id: 'account', label: 'My Account', icon: 'settings', children: [
15
+ { id: 'billing', label: 'Billing', route: '/account/billing' },
16
+ { id: 'security', label: 'Security', route: '/account/security' },
17
+ ] },
18
+ { id: 'language', label: 'Language', icon: 'globe', detail: 'English', children: [
19
+ { id: 'english', label: 'English', action: () => setLanguage('en-US') },
20
+ { id: 'german', label: 'Deutsch', action: () => setLanguage('de-DE') },
21
+ ] },
22
+ { id: 'sign-out', label: 'Log out', variant: 'sign-out', action: () => signOut() },
23
+ ];
24
+ ```
25
+
26
+ ```html
27
+ <good-avatar-menu [user]="currentUser" [actions]="accountActions" />
28
+ ```
29
+
30
+ Pass the same values as `[user]` and `[avatarActions]` to `good-app-layout` when using the complete shell. The badge, icons, row details, submenu children, and sign-out action are optional. Route entries use Angular Router links; callback entries use buttons. Give submenu parents children instead of a route. `separatorBefore` adds a divider before a row. Sign-out is provided by the host application; the library does not assume an authentication system.
31
+
32
+ The menu itself owns identity and item layout, so consumers do not add spacing around rows. `GoodAvatarMenuItemComponent` is exported for composing account rows elsewhere. On desktop its submenu opens to the left of the avatar panel; on narrow screens it expands inside the panel.
33
+
34
+ The trigger exposes `aria-expanded`. Nested parents expose their own expanded state and can be opened by click, hover, or Right Arrow. Escape closes the deepest open submenu first, then the panel and returns focus to the avatar. Outside clicks close the menu. The Dark Mode control is a labeled switch backed by `GoodThemeService`.
@@ -0,0 +1,39 @@
1
+ # Badge
2
+
3
+ `good-badge` displays compact status or metadata text. It owns its spacing, icon alignment, colors, and rounded shape, so a page only needs to place the component.
4
+
5
+ ```ts
6
+ import { GoodBadgeComponent, LucideSparkles } from '@cloudfrogger/goodui';
7
+
8
+ readonly sparklesIcon = LucideSparkles;
9
+
10
+ removeTag(): void {
11
+ // Remove this item from the containing list.
12
+ }
13
+ ```
14
+
15
+ ```html
16
+ <good-badge label="Active" color="success" />
17
+ <good-badge label="Featured" color="info" variant="light" [icon]="sparklesIcon" />
18
+ <good-badge label="Design" color="secondary" variant="outline"
19
+ shape="square" size="small" [removable]="true" (removed)="removeTag()" />
20
+ ```
21
+
22
+ Add `GoodBadgeComponent` to the consuming standalone component's `imports`. Lucide Angular icons are re-exported by `@cloudfrogger/goodui`; `icon` also accepts custom `GoodButtonIcon` data. `iconSrc` accepts a URL or data URI for a decorative leading image, such as a flag, when no Lucide `icon` is provided.
23
+
24
+ | Input / output | Default | Purpose |
25
+ | --- | --- | --- |
26
+ | `label` | required | Visible text |
27
+ | `color` | `primary` | `primary`, `secondary`, `destructive`, `warning`, `success`, `info`, or `text` |
28
+ | `variant` | `solid` | `solid`, `outline`, or `light` |
29
+ | `shape` | `pill` | Fully rounded pill, or `square` for compact corners; `circle` remains an alias |
30
+ | `size` | `default` | `small`, `medium`, or `large`; `default` and `medium` are equivalent |
31
+ | `icon` | none | Optional leading Lucide or custom icon |
32
+ | `iconSrc` | none | Optional leading image when `icon` is absent |
33
+ | `removable` | `false` | Show a trailing X button |
34
+ | `removeLabel` | `Remove {label}` | Accessible name for the X button |
35
+ | `(removed)` | — | Fires when the X button is activated; the owner updates its own list |
36
+
37
+ The X is a native button, reachable by keyboard and labeled for assistive technology. The Badge itself is plain text and does not imply a live status announcement. Use `aria-live` on a surrounding status region when removal feedback must be announced. `secondary` shares its color roles with the secondary Button. `text` follows theme text colors. Warning solid shares the vivid `color.warning` token with Alerts and Rating; small text in outline and light variants uses `color.warning-foreground` for contrast.
38
+
39
+ Penpot publishes `goodui.badge` on `05 Badges` with 126 `color × variant × shape × size` variants. The Penpot axes use `pill` / `square` and `small` / `default` / `large`; the Angular `medium` alias maps to Penpot `default`. `badge.shape.pill.radius` aliases the previous circle radius token, preserving existing theme values. Every variant includes token-bound dimensions, colors, text, and optional hidden Lucide icon slots. Four linked examples show the content options. An `iconSrc` image replaces the same leading slot at runtime, so it does not add a visual variant. The exact ID-to-input map is in [badge-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/badge-variants.json). Penpot shows the removable X; Angular provides focus and the `removed` event.
@@ -0,0 +1,40 @@
1
+ # Bar chart
2
+
3
+ `good-bar-chart` compares numeric values by category, number, or time. Like `good-line-chart`, it uses the shared `GoodChartDataSource` contract, declarative `good-chart-axis` children, GoodUI Card, and an optional GoodUI Table view. Each `good-chart-bar` selects one numeric measure. Bars with the same X value sit beside each other; missing values leave a gap.
4
+
5
+ ```ts
6
+ import { Component } from '@angular/core';
7
+ import { GoodBarChartComponent, GoodChartAxisComponent, GoodChartBarComponent,
8
+ type GoodChartDataSource } from '@cloudfrogger/goodui';
9
+
10
+ @Component({
11
+ selector: 'app-requests', standalone: true,
12
+ imports: [GoodBarChartComponent, GoodChartAxisComponent, GoodChartBarComponent],
13
+ templateUrl: './requests.html',
14
+ })
15
+ export class RequestsComponent {
16
+ readonly sources: GoodChartDataSource[] = [
17
+ { id: 'new', keys: [{ key: 'quarter', type: 'category' }, { key: 'count', type: 'integer' }],
18
+ rows: [{ quarter: 'Q1', count: 42 }, { quarter: 'Q2', count: 57 }] },
19
+ { id: 'returning', keys: [{ key: 'quarter', type: 'category' }, { key: 'count', type: 'integer' }],
20
+ rows: [{ quarter: 'Q1', count: 31 }, { quarter: 'Q2', count: 39 }] },
21
+ ];
22
+ }
23
+ ```
24
+
25
+ ```html
26
+ <good-bar-chart title="Requests by quarter" [sources]="sources" [showDataToggle]="true">
27
+ <good-chart-axis position="x" type="category" label="Quarter" />
28
+ <good-chart-axis position="y" type="number" label="Requests" [min]="0" [precision]="0" />
29
+ <good-chart-bar source="new" xKey="quarter" yKey="count" label="New" />
30
+ <good-chart-bar source="returning" xKey="quarter" yKey="count" label="Returning" />
31
+ </good-bar-chart>
32
+ ```
33
+
34
+ `title` and `sources` are required. `ariaLabel` can describe the SVG for assistive technology. `showDataToggle` defaults to false; when enabled, an icon-only GoodUI Button switches between the chart and its data table. The Table scrolls horizontally on narrow screens. The bar chart supports the same `colors` palette array and per-series `color` override as the [Line chart](line-chart.md). Without overrides, it uses GoodUI's theme-aware marker and highlight colors: blue, teal, violet, amber, rose, and lime.
35
+
36
+ `orientation="vertical"` is the default. Set `orientation="horizontal"` for category labels or ranked comparisons that read better as rows. Keep the same declarative X category axis, Y numeric axis, and `xKey`/`yKey` series definitions; GoodUI rotates their visual placement. The horizontal plot grows with the number of categories and keeps the same sorting, data table, palette, and numeric bounds. For example, add `orientation="horizontal"` to the template above without changing the child tags. The [Bar charts page](../../homepage/src/app/visualizations/bar-charts-page.html) shows both orientations.
37
+
38
+ The Y axis includes zero by default, including for negative values. Explicit `min` and `max` set a visible range; bars outside it are clipped to the range. The X axis can be numeric or temporal, with the same typed-key validation and time bucketing as the line chart. For a one-dimensional source, omit `xKey` and use a numeric X axis; row positions become 1, 2, 3, and so on. See [Chart data sources](chart-data.md) for key types, aggregation, and axis configuration.
39
+
40
+ The [homepage example](../../homepage/src/app/visualizations/bar-charts-page.html) demonstrates two sources, both orientations, and a custom palette. Penpot publishes the default vertical `goodui.bar-chart` (`1b6260d7-e591-805d-8008-e3534ae5a60d`) and `goodui.bar-chart.horizontal` (`18e25442-2c17-80b0-8008-e3ec6ac2f5a3`) on `42 Charts`.
@@ -0,0 +1,37 @@
1
+ # Breadcrumbs
2
+
3
+ `good-breadcrumbs` shows a page's position in a hierarchy. Pass the path in order, from the first level to the current page. Earlier levels with a `route` become Angular links; the final level is always current and has `aria-current="page"`.
4
+
5
+ ```ts
6
+ import { GoodBreadcrumbsComponent, type GoodBreadcrumbItem, LucideHouse } from '@cloudfrogger/goodui';
7
+
8
+ readonly homeIcon = LucideHouse;
9
+ readonly path: readonly GoodBreadcrumbItem[] = [
10
+ { label: 'Home', route: '/dashboard' },
11
+ { label: 'Account', route: '/account' },
12
+ { label: 'Billing', route: '/account/billing' },
13
+ { label: 'Invoices', route: '/account/billing/invoices' },
14
+ { label: 'Invoice details' },
15
+ ];
16
+ ```
17
+
18
+ ```html
19
+ <good-breadcrumbs [items]="path" [homeIcon]="homeIcon" [maxItems]="4" [card]="true" />
20
+ ```
21
+
22
+ Add `GoodBreadcrumbsComponent` to the consuming standalone component's `imports`. The package provides the required router integration; configure `provideRouter(routes)` in the application as described in Getting Started.
23
+
24
+ | Input | Default | Purpose |
25
+ | --- | --- | --- |
26
+ | `items` | `[]` | Ordered `GoodBreadcrumbItem[]` path; `label` is required and `route` is optional |
27
+ | `homeIcon` | none | Optional Lucide or custom `GoodButtonIcon` replacing the first label visually; the label remains its accessible name |
28
+ | `separator` | `LucideChevronRight` | Lucide/custom icon or text such as `"/"` between levels |
29
+ | `maxItems` | `null` | Maximum displayed entries, including the first, ellipsis, and final levels; values below three act as three |
30
+ | `card` | `false` | Add the shared card surface, border, radius, and padding |
31
+ | `ariaLabel` | `Breadcrumb` | Accessible name for the navigation region |
32
+
33
+ When a path exceeds `maxItems`, the component keeps its first level and as many final levels as fit. Every hidden level from the second item onward moves into the `…` dropdown in its original order. Selecting one navigates through its `route`; levels without a route are disabled in the menu. The dropdown inherits GoodUI's focus movement, Escape, outside-click dismissal, and viewport placement. The limit counts displayed entries, so a limit of four renders `Home › … › Parent › Current`.
34
+
35
+ The component owns its list, separators, overflow control, wrapping, focus treatment, and optional card frame. Consumers supply labels and routes without custom breadcrumb layout CSS. The current item is not a link, even if it has a `route`. Labels and separators use semantic text/icon roles in both themes.
36
+
37
+ Penpot publishes `goodui.breadcrumbs` on `03 Controls` with `style=plain/card`, `start=text/icon`, `path=full/collapsed`, and `separator=chevron/slash` variants. These map to `card`, `homeIcon`, `maxItems`, and `separator`. The ellipsis visual represents the runtime dropdown; Penpot does not implement its keyboard behavior. The linked home and chevron symbols come from the connected Lucide library. [breadcrumbs-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/breadcrumbs-variants.json) records all 16 IDs.
@@ -0,0 +1,40 @@
1
+ # Button
2
+
3
+ `good-button` owns the action's dimensions, padding, icon alignment, focus ring, disabled state, and native button behavior. It accepts text, a leading Lucide icon, an optional trailing `endIcon`, or an icon alone. An icon-only button is square at every size, whether its empty label is inferred or `iconOnly` is set explicitly.
4
+
5
+ | `variant` | Appearance |
6
+ | --- | --- |
7
+ | `default` | Filled brand blue; the default action |
8
+ | `secondary` | Subtle neutral fill |
9
+ | `destructive` | Filled red for destructive actions |
10
+ | `outline` | Transparent fill with a border |
11
+ | `ghost` | Transparent fill without a border |
12
+
13
+ Sizes are `small` (32 px), `default` (40 px), and `large` (48 px). The default variant and size are both `default`. All five variants work in light and dark themes.
14
+
15
+ ```ts
16
+ import { GoodButtonComponent, LucidePlus, LucideSettings, LucideTrash2 } from '@cloudfrogger/goodui';
17
+
18
+ readonly plusIcon = LucidePlus;
19
+ readonly settingsIcon = LucideSettings;
20
+ readonly trashIcon = LucideTrash2;
21
+ ```
22
+
23
+ ```html
24
+ <good-button [icon]="plusIcon" (click)="createItem()">Create</good-button>
25
+ <good-button variant="secondary" size="small">Cancel</good-button>
26
+ <good-button variant="destructive" [icon]="trashIcon" (click)="deleteItem()">Delete</good-button>
27
+ <good-button variant="outline" size="large" [icon]="settingsIcon"
28
+ ariaLabel="Settings" (click)="openSettings()" />
29
+ <good-button variant="ghost" [icon]="settingsIcon" [iconOnly]="true"
30
+ ariaLabel="More settings" (click)="openSettings()" />
31
+ <good-button [disabled]="saving" type="submit">Save changes</good-button>
32
+ ```
33
+
34
+ Lucide Angular is a dependency of `@cloudfrogger/goodui`, and the library re-exports its icons. Import the icon classes you use from GoodUI and pass them to `[icon]`; no icon font, global provider, or icon CSS import is needed. The Penpot file uses the connected `Lucide-icons` library for the same icon shapes. Use a visible label when space allows. An icon-only button needs an icon and a meaningful `ariaLabel`; `[iconOnly]="true"` explicitly hides projected text. For a toggle button, bind `[ariaPressed]` to its boolean state; this reaches the native button. The default native type is `button`; set `type="submit"` or `type="reset"` for form controls. The click event bubbles from the internal native button. Use Angular Router links for navigation actions.
35
+
36
+ `endIcon` uses the same icon type and size as `icon`. It is useful for a trailing chevron; `good-dropdown` sets it automatically when `showChevron` is enabled. The Penpot Button matrix remains the base visual family, while the Dropdown compositions show its trailing chevron as a linked Lucide overlay on a linked Button instance.
37
+
38
+ To place multiple actions beside or below each other, wrap them in [`good-action-group`](./action-group.md). The group owns their gap, wrapping, and responsive stacking; Buttons own only their own control dimensions and internal content.
39
+
40
+ Penpot `03 Controls` contains one `goodui.button` variant group with the axes `variant`, `size`, and `content` (`text`, `with-icon`, `icon-only`). Its 45 combinations map to the same `GoodButtonComponent` / `good-button` selector. The [variant ID manifest](https://github.com/cloudfrogger/goodui/blob/master/design/button-variants.json) records each published Penpot library ID and the matching Angular inputs. The button's height, radius, padding, icon size, gap, and color roles are token-bound in Penpot and generated into CSS. `disabled`, focus, and hover are runtime states; they do not create new selectors or Penpot variants.
@@ -0,0 +1,166 @@
1
+ # Calendar
2
+
3
+ `good-calendar` presents appointments in **month, week, day, and list** views. It owns period navigation, today navigation, view switching, the 24-hour time grid, overlapping appointment lanes, all-day rows, scrolling, responsive layout, and event presentation. The week starts on Monday by default. The four views use the same event data and local browser time zone.
4
+
5
+ ## Start with the injectable service
6
+
7
+ Register GoodUI once at bootstrap with `provideGoodUI()`. Then inject `GoodCalendarService` wherever appointments are loaded or edited. The component reads that service automatically.
8
+
9
+ ```ts
10
+ import { Component, inject } from '@angular/core';
11
+ import { GoodCalendarComponent, GoodCalendarService } from '@cloudfrogger/goodui';
12
+
13
+ @Component({
14
+ selector: 'app-schedule',
15
+ standalone: true,
16
+ imports: [GoodCalendarComponent],
17
+ template: '<good-calendar label="Team schedule" />',
18
+ })
19
+ export class SchedulePage {
20
+ private readonly calendar = inject(GoodCalendarService);
21
+
22
+ constructor() {
23
+ this.calendar.setEvents([{
24
+ id: 'planning', title: 'Planning session',
25
+ start: new Date(2026, 9, 27, 9, 0),
26
+ end: new Date(2026, 9, 27, 10, 30),
27
+ marker: 'violet',
28
+ resizable: true,
29
+ }]);
30
+ }
31
+ }
32
+ ```
33
+
34
+ For applications that already use the GoodUI shell, `provideGoodUI()` is already in `app.config.ts`. New applications add it to the root provider list:
35
+
36
+ ```ts
37
+ import { provideGoodUI } from '@cloudfrogger/goodui';
38
+
39
+ export const appConfig = { providers: [provideGoodUI()] };
40
+ ```
41
+
42
+ To open your own editor or persist a move, add output handlers to the template:
43
+
44
+ ```html
45
+ <good-calendar label="Team schedule"
46
+ (eventSelected)="showDetails($event)"
47
+ (eventDoubleClicked)="openEvent($event)"
48
+ (emptyDoubleClicked)="createEvent($event)"
49
+ (eventMoved)="saveMove($event)"
50
+ (eventResized)="saveResize($event)" />
51
+ ```
52
+
53
+ `setEvents()` replaces the current collection. `upsertEvent()`, `removeEvent()`, `moveEvent()`, `resizeEvent()`, and `clear()` support ordinary updates; `events()` is a read-only signal. IDs must be unique. The service lives at the application injector by default. Provide `GoodCalendarService` at a feature or component injector when independent calendars need separate stores.
54
+
55
+ ## Event and interaction contract
56
+
57
+ | API | Behavior |
58
+ | --- | --- |
59
+ | `GoodCalendarEventInput` | `id`, `title`, `start`, and exclusive `end` are required. `start`/`end` accept `Date` or ISO strings. Optional `allDay`, `description`, `tone`, `marker`, and `draggable` describe presentation. |
60
+ | `resizable: true` | Opts an event into changing its end. The default is `false`. A dedicated edge handle keeps resizing separate from dragging the event body. |
61
+ | `tone` | `brand` (default), `secondary`, `success`, `warning`, `destructive`, or `info`; colors follow GoodUI semantic tokens in both themes. |
62
+ | `marker` | Optional category color from the 16 `GoodMarkerColor` names; it takes precedence over `tone` and fills the event with the exact `color.marker.*` token used by the Color Scheme swatch. The list dot and drag preview use the same token. |
63
+ | `[(selectedEventId)]` / `(eventSelected)` | The selected event ID and selection output. Clicking an event or activating its button with the keyboard selects it. `eventClicked` remains available for callers using the original click output. |
64
+ | `[(view)]` | `month`, `week` (default), `day`, or `list`. |
65
+ | `[sidebarEnabled]` / `[(sidebarOpen)]` | Optional collapsible side panel for projected tools. Disabled and closed by default. The calendar toolbar supplies its accessible toggle; the panel stacks above the grid in a narrow container. |
66
+ | `[sidebarLabel]` | Accessible name for the panel and its toggle; defaults to `Calendar tools`. |
67
+ | `[showCurrentTime]` | `true` by default. Draws a live time line in today's column of week and day views; set `false` to hide it. |
68
+ | `[showDayStrip]` | `false` by default. When enabled, shows a seven-day picker above the day grid in narrow containers; selecting a date updates `date`. |
69
+ | `[fillHeight]` | `false` by default. In a height-constrained parent such as `good-main-view layout="fill"`, fills the available height with a flush outer frame and scrolls the time grid, month, list, and optional sidebar within the calendar. |
70
+ | `[(date)]` | The date around which the visible period is built. Prev/next moves by the current view's period; Today returns to the current date. |
71
+ | `[events]` | Optional externally managed event list. When supplied, dragging emits `eventMoved` without changing that input; update your data after saving. |
72
+ | `(eventClicked)` / `(eventDoubleClicked)` | Emits the normalized event. Double-click can open an application-owned editor. |
73
+ | `(emptyDoubleClicked)` | Emits `{ date, start, end }` for an empty day or time slot; the application decides whether to create an event. |
74
+ | `(eventMoved)` | Emits the original event, previous start/end, and proposed new start/end. In service mode the in-memory event moves immediately. |
75
+ | `(eventResized)` | Emits the original event, previous start/end, and proposed start/end with the start unchanged. In service mode the in-memory end changes immediately; with `[events]`, persist the proposal and update the supplied array. |
76
+ | `(rangeChanged)` / `visibleRange()` | Emits and exposes the displayed start and exclusive end when date or view changes. Use it to load appointments from a backend for the current period. |
77
+
78
+ All-day events use a local midnight `start` and an **exclusive** local midnight `end`: a one-day appointment on October 27 ends on October 28 at 00:00. A timed event keeps its duration when moved; an all-day event keeps its number of calendar days even across daylight-saving changes. Date-only strings are interpreted as local dates. ISO timestamps should include an offset when data crosses time zones.
79
+
80
+ Week and day views show 00:00–24:00 in a vertically scrollable grid. They initially scroll to the first configured working hour (08:00 by default), unless the current-time line would be outside the visible area; then the clock is brought into view. One current-time line spans the entire time grid, including all seven week columns and the single day column. It remains a current time-of-day guide when viewing another date, updates at the next minute boundary, and does not intercept pointer actions. Set `[showCurrentTime]="false"` to hide it. Overlapping events share the day column in separate lanes. Events crossing midnight appear in both affected days. Month cells stack a configurable number of events and show a “+N more” button that opens that day. List view shows chronological day groups and intentionally has no drag handling.
81
+
82
+ ## Working hours
83
+
84
+ The calendar softly shades non-working time in week and day views. By default, working time is Monday–Friday from 08:00–12:00 and 13:00–17:00. The 12:00–13:00 band is labeled **Lunch break**; nights and weekends are also gray. A month cell and all-day cell are shaded when the entire day has no working period. Shading is visual guidance only: creating, moving, and resizing appointments remains possible there.
85
+ The hourly grid lines remain visible over shaded periods, including fully shaded day columns, so time boundaries stay readable.
86
+
87
+ Pass `[workingHours]` to define your own weekly schedule. Each period has `daysOfWeek` (JavaScript weekdays: Sunday `0` through Saturday `6`), local `start`, and exclusive `end` in `HH:mm` format. Multiple periods can describe lunch breaks or different shifts; overlapping periods are merged. Use `24:00` for an end at midnight, or an empty array to shade every hour. Overnight shifts are expressed as two periods on consecutive days. `[nonWorkingLabels]` optionally names exact gaps; the default label applies only when a 12:00–13:00 gap exists. Pass `[]` to remove captions.
88
+
89
+ ```ts
90
+ import type { GoodCalendarWorkingPeriod } from '@cloudfrogger/goodui';
91
+
92
+ readonly workingHours: readonly GoodCalendarWorkingPeriod[] = [
93
+ { daysOfWeek: [1, 2, 3, 4], start: '08:30', end: '12:00' },
94
+ { daysOfWeek: [1, 2, 3, 4], start: '13:00', end: '17:30' },
95
+ { daysOfWeek: [5], start: '09:00', end: '15:00' },
96
+ ];
97
+ ```
98
+
99
+ ```html
100
+ <good-calendar [workingHours]="workingHours" />
101
+ ```
102
+
103
+ For a named gap, bind `[nonWorkingLabels]` with `GoodCalendarNonWorkingLabel` values:
104
+
105
+ ```ts
106
+ readonly nonWorkingLabels = [
107
+ { daysOfWeek: [1, 2, 3, 4], start: '12:00', end: '13:00', label: 'Lunch break' },
108
+ ];
109
+ ```
110
+
111
+ ## Handle selection and moves
112
+
113
+ `eventSelected` provides the normalized event and updates `selectedEventId`; `eventMoved` provides the previous and proposed start/end. Both are normal Angular outputs. In service mode, a move updates the local store before the output fires. With `[events]`, the caller owns the update. A modal is an application choice: the [Calendar component page](../../homepage/src/app/calendar-page.ts) opens a small GoodUI Modal for either event, showing how to inspect a selection or persist a move.
114
+
115
+ ```ts
116
+ onSelect(event: GoodCalendarEvent): void {
117
+ this.selectedEvent.set(event);
118
+ this.detailsOpen.set(true);
119
+ }
120
+
121
+ onMove(change: GoodCalendarMove): void {
122
+ this.lastMove.set(change);
123
+ this.detailsOpen.set(true);
124
+ // Persist change.start and change.end in your application.
125
+ }
126
+ ```
127
+
128
+ Drag an event body to another day or time with a mouse, pen, or touch pointer. For an event with `resizable: true`, drag the bottom handle in week/day view to change a timed end, or the right handle on the final day of an all-day event in month/week view to change its inclusive last day. End times snap to `snapMinutes` (15 by default); the shortest timed event is one snap interval and the shortest all-day event is one calendar day. The list view has neither drag nor resize. Timed month items and all-day items in the single-day view have no resize handle because those views cannot show the relevant end boundary clearly. Use the focused resize handle's Up/Down arrows for timed events or Left/Right arrows for all-day events. `Alt+Left/Right` moves a focused event one day; `Alt+Up/Down` moves a timed event by one snap interval. `Shift+Enter` on a focused event emits `eventDoubleClicked`. Event buttons and resize handles have accessible labels. Set `[editable]="false"` to disable moving, resizing, and empty-slot creation, or `[disabled]="true"` to disable all interaction. Per-event `draggable: false` blocks moving that appointment; `resizable` remains independent.
129
+
130
+ `locale`, `weekStartsOn` (0–6), `listDays` (default 14), `maxMonthEvents` (default 3), `snapMinutes`, `hourHeight`, `workingHours`, `nonWorkingLabels`, and `holidays` configure display. Set `[locale]="'de-DE'"` for German date and 24-hour time formatting. If omitted, the calendar uses a configured Angular `LOCALE_ID` when it differs from Angular's default `en-US`, then the browser locale. The week grid scrolls horizontally inside the component on narrow screens; the page does not need custom overflow CSS. Apps own persistence, authorization, recurrence expansion, reminders, attendees, and external time-zone conversion. Feed the resulting concrete occurrences to the calendar.
131
+
132
+ Pass holidays as `{ date, name }` entries. A `YYYY-MM-DD` string is a local calendar date; a `Date` is also accepted. Multiple named holidays may share a date. Labels appear in all four views and do not block selection or booking:
133
+
134
+ ```typescript
135
+ import type { GoodCalendarHoliday } from '@cloudfrogger/goodui';
136
+
137
+ readonly holidays: readonly GoodCalendarHoliday[] = [
138
+ { date: '2026-12-25', name: 'Christmas Day' },
139
+ { date: '2026-12-26', name: 'Boxing Day' },
140
+ ];
141
+ ```
142
+
143
+ ```html
144
+ <good-calendar [holidays]="holidays" [locale]="'de-DE'" />
145
+ ```
146
+
147
+ Project an optional `[goodCalendarActions]` element into the toolbar for application actions such as “New event.” The calendar owns toolbar placement and wrapping.
148
+
149
+ For a scheduling workspace, project a compact `good-month-calendar` and optional filters into `[goodCalendarSidebar]`. Bind its selected day to the main calendar's `date` and choose `day` view when a date is picked. Use `good-listbox` with multiple checkbox selection for a short, keyboard-accessible list of visible calendars; filter the event input by its `selectedIds`. The side panel is an optional runtime composition of `good-calendar`; it does not replace or duplicate the appointment grid. The [calendar workspace example](../../homepage/src/app/examples/calendar-workspace/calendar-workspace-page.html) shows the complete pattern, including a day view on narrow screens and working event filters.
150
+
151
+ ```html
152
+ <good-calendar [(date)]="date" [(view)]="view" [sidebarEnabled]="true" [(sidebarOpen)]="sidebarOpen">
153
+ <div goodCalendarSidebar>
154
+ <good-month-calendar [month]="monthKey()" [selected]="selectedDay()"
155
+ (selectionChange)="pickDay($event)" />
156
+ </div>
157
+ </good-calendar>
158
+ ```
159
+
160
+ ## Design mapping
161
+
162
+ Penpot page `22 Calendars` publishes the four `goodui.calendar` view states for `good-calendar`. The linked `goodui.calendar-toolbar` and `goodui.calendar-event` families are internal visual parts owned by this selector. `goodui.calendar-event.timed-resizable` and `.all-day-resizable` add a token-sized handle around linked event instances for the `resizable: true` state. Their library IDs and state semantics are recorded in `design/component-map.json`. The semantic `calendar.*` tokens alias GoodUI surface, text, spacing, and radius roles; separate brand event colors follow light and dark appearance. The timed event blocks and resize handles are genuine overlays; the rest of the calendar uses grid and flex layout.
163
+ Penpot event specimens use short generic placeholder text so narrow overlapping blocks remain legible. Angular renders the application's event title and time from the event data.
164
+ The Penpot non-working band is an internal calendar visual part bound to `calendar.nonworking.background`, which aliases the selected neutral surface in each theme. The design specimen shows weekend shading; Angular derives the actual bands from `workingHours` for each visible local day.
165
+ `goodui.calendar.now-indicator` is a linked internal part in the week and day specimens. The week instance spans the seven day columns. Its line, dot, and color bind to `calendar.now.*` tokens; the position in Penpot is illustrative, while Angular positions it from the clock. `showCurrentTime` controls its presence. `goodui.calendar.holiday-label` is another linked internal part, shown in all four specimens and mapped to the `holidays` input. It binds the selected surface, readable text, rose marker, compact radius, and `calendar.holiday.marker.size` tokens.
166
+ The linked `.labeled` state shows the lunch caption. The color specimens on Penpot page `23 Marker Colors` bind directly to all 16 `color.marker.*` tokens. Calendar event specimens remain generic library components; linked instances in the view specimens bind their marker fill and text to the same palette and `calendar.marker.text` / `calendar.marker.text-on-deep` contrast roles used by Angular. Blue, indigo, violet, and purple use the deep-color text role in light mode; the dark appearance uses dark text across the lighter marker palette. The `marker` input has no status or brand meaning.