@cloudfrogger/goodui 0.0.60 → 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,88 @@
1
+ # Month calendar
2
+
3
+ `good-month-calendar` is a compact month picker. Use it to choose one day or one whole week. For appointments, time grids, and event editing, use [`good-calendar`](calendar.md).
4
+
5
+ ## Start with one month
6
+
7
+ Import `GoodMonthCalendarComponent` from `@cloudfrogger/goodui` and bind `selected` if the application needs the chosen date. The current month is shown initially. Both `month` and `selected` are Angular model inputs and support two-way binding.
8
+
9
+ ```ts
10
+ import { Component, signal } from '@angular/core';
11
+ import { GoodMonthCalendarComponent } from '@cloudfrogger/goodui';
12
+
13
+ @Component({
14
+ standalone: true,
15
+ imports: [GoodMonthCalendarComponent],
16
+ template: '<good-month-calendar [(selected)]="selectedDay" />',
17
+ })
18
+ export class DateChoiceComponent {
19
+ readonly selectedDay = signal<string | null>(null);
20
+ }
21
+ ```
22
+
23
+ Dates use local calendar strings (`YYYY-MM-DD`); the anchor month uses `YYYY-MM`. The default selection mode is `day`. The center year button opens a native dialog with nearby years and a numeric field for any year from 1 to 9999. The dialog fits a narrow viewport, traps focus, and closes with Escape.
24
+
25
+ ## Choose a week
26
+
27
+ Set `selectionMode="week"`. Clicking any day selects the complete seven-day week. `selected` then holds the week start. `selectionChange` emits `{ mode, start, endExclusive }`; the end is the first day *after* the selection. For a day it is the following day, and for a week it is seven days later. `weekStartsOn` accepts JavaScript weekday numbers 0–6 and defaults to Monday (`1`).
28
+
29
+ ```html
30
+ <good-month-calendar selectionMode="week" [(selected)]="selectedWeek"
31
+ (selectionChange)="onWeekSelected($event)" />
32
+ ```
33
+
34
+ ```ts
35
+ import type { GoodMonthCalendarSelection } from '@cloudfrogger/goodui';
36
+
37
+ onWeekSelected(selection: GoodMonthCalendarSelection): void {
38
+ // Load records from selection.start up to, but excluding, selection.endExclusive.
39
+ }
40
+ ```
41
+
42
+ ## Show several months
43
+
44
+ `months` accepts 1–12 and defaults to 1. `orientation="horizontal"` is the default: blocks sit beside each other when space allows and wrap on narrow screens. `orientation="vertical"` stacks them in a single column. One header controls all blocks; the arrows move the anchor by one month. Use `[(month)]` to control or observe the anchor, and `(monthChanged)` for a change notification.
45
+
46
+ ```html
47
+ <good-month-calendar [months]="3" [(month)]="firstMonth" />
48
+ <good-month-calendar [months]="2" orientation="vertical" />
49
+ ```
50
+
51
+ ## Mark days
52
+
53
+ Pass `highlights` as `{ date, color, label? }` records. `color` uses a `GoodMarkerColor` name and the shared `color.marker.*` palette. A subtle tint and dot mark the day; the optional label is included in its accessible name. Highlights are visual information and do not change which dates can be chosen. Outside-month dates remain selectable.
54
+
55
+ ```ts
56
+ import type { GoodMonthCalendarHighlight } from '@cloudfrogger/goodui';
57
+
58
+ readonly highlights: readonly GoodMonthCalendarHighlight[] = [
59
+ { date: '2026-10-04', color: 'blue', label: 'Planning' },
60
+ { date: '2026-10-12', color: 'orange', label: 'Review' },
61
+ ];
62
+ ```
63
+
64
+ ```html
65
+ <good-month-calendar month="2026-10" [highlights]="highlights" />
66
+ ```
67
+
68
+ ## API and interaction
69
+
70
+ | API | Default | Meaning |
71
+ | --- | --- | --- |
72
+ | `[(month)]` | Current month | First visible month, `YYYY-MM`. |
73
+ | `[(selected)]` | `null` | Selected day or week start, `YYYY-MM-DD`. |
74
+ | `selectionMode` | `day` | `day` or `week`. |
75
+ | `months` | `1` | Consecutive month blocks, clamped to 1–12. |
76
+ | `orientation` | `horizontal` | `horizontal` or `vertical`. |
77
+ | `weekStartsOn` | `1` | First weekday, 0–6. |
78
+ | `locale` | Angular or browser locale | Month, weekday, and accessible date labels. |
79
+ | `highlights` | `[]` | Marker-colored dates and optional accessible labels. |
80
+ | `disabled` | `false` | Disables navigation, year choice, and date selection. |
81
+ | `selectionChange` | — | Selection with exclusive end date. |
82
+ | `monthChanged` | — | New first visible month after navigation, year choice, or selecting an outside date. |
83
+
84
+ Weekday names appear above seven date columns. Date buttons expose full localized dates, selection through `aria-pressed`, and highlight labels. Arrow keys move one day or week; Home/End go to the start/end of the displayed week; Page Up/Down move a month. Enter/Space select the focused date. Native buttons and the year dialog support mouse, keyboard, and touch.
85
+
86
+ ## Design mapping
87
+
88
+ Penpot page `32 Month Calendars` publishes `goodui.month-calendar` with `selection=day/week` variants, mapped to `good-month-calendar [selectionMode]`. [The contract](../../design/month-calendar-contract.json) records the variant group and library IDs. The specimen includes the shared year header, weekday abbreviations, today outline, selected date/week, and marker-color examples. Month count, orientation, locale, dates, disabled state, and the year dialog are runtime behavior. The component reuses semantic `date.*`, `color.*`, and `color.marker.*` tokens in both themes; no calendar-specific token export is required.
@@ -0,0 +1,76 @@
1
+ # Notifications
2
+
3
+ `good-notifications` is the topbar bell and side panel. `GoodNotificationCenter` is the injectable notification service; it sends [Alerts](alert.md) to a toast, a top-entry stack, or only the panel. Register GoodUI once in the root `app.config.ts` with `provideGoodUI()`. `good-app-layout` includes `good-notification-host` automatically. An application without AppLayout can place one host near its root; use exactly one host per application.
4
+
5
+ ```ts
6
+ import { ApplicationConfig, Injectable, inject } from '@angular/core';
7
+ import { provideGoodUI, GoodNotificationCenter } from '@cloudfrogger/goodui';
8
+
9
+ export const appConfig: ApplicationConfig = {
10
+ providers: [provideGoodUI()],
11
+ };
12
+
13
+ // In an Angular component or service:
14
+ @Injectable({ providedIn: 'root' })
15
+ export class SaveService {
16
+ private readonly notifications = inject(GoodNotificationCenter);
17
+
18
+ notify(): void {
19
+ this.notifications.publish({
20
+ title: 'Changes saved',
21
+ message: 'Your preferences are up to date.',
22
+ tone: 'success',
23
+ delivery: 'toast',
24
+ duration: 5000,
25
+ persist: false,
26
+ });
27
+ }
28
+ }
29
+ ```
30
+
31
+ | Option | Behavior |
32
+ | --- | --- |
33
+ | `delivery: 'toast'` | Top-right stack; default |
34
+ | `delivery: 'top'` | Centered stack entering from above |
35
+ | `delivery: 'inbox'` | Adds only to the bell panel; no toast |
36
+ | `duration` | Toast lifetime in milliseconds; defaults to 5000; zero waits for manual dismissal |
37
+ | `requireAcknowledgement` | Disables the timeout and shows an Acknowledge action |
38
+ | `persist` | Per-message history choice. `false` shows the toast without adding it to the bell panel; overrides the application default |
39
+ | `actions` | Optional route links or callback buttons |
40
+ | `progress` | Optional `good-progress` configuration shown in the toast and its panel entry; omitted when no progress is needed |
41
+ | `tone`, `appearance`, `icon` | Same presentation choices as Alert |
42
+
43
+ For a real job, publish once and update the same notification ID as work advances. A determinate Progress bar receives its percentage from the job; the notification service does not invent progress. Set `duration: 0` while the job is running so a toast does not disappear mid-task. `delivery: 'inbox'` shows the job only in the bell panel.
44
+
45
+ ```ts
46
+ const id = notifications.publish({
47
+ title: 'Generating report', delivery: 'toast', duration: 0, persist: true,
48
+ tone: 'info', progress: { value: 0, color: 'info', showPercent: true },
49
+ });
50
+
51
+ // Call this from actual job progress events:
52
+ notifications.update(id, { progress: { value: 60, color: 'info', showPercent: true } });
53
+ notifications.update(id, {
54
+ title: 'Report ready', tone: 'success',
55
+ progress: { value: 100, color: 'success', showPercent: true },
56
+ });
57
+ notifications.dismissToast(id); // The saved panel entry remains.
58
+ ```
59
+
60
+ `update(id, changes)` can change title, message, tone, appearance, icon, and progress without changing the delivery, creation time, or read state. A Progress configuration accepts the same mode, appearance, size, color, timing, title, and percentage options as [`good-progress`](progress.md). The example page includes a report job visible inline and in a toast, plus an inbox-only job whose progress appears only under the bell.
61
+
62
+ Up to three toasts are visible at once. Later toasts wait in order, and their timer starts only when they become visible. Hovering or focusing a toast pauses its timer. Closing a saved toast leaves its panel copy in place; Acknowledge hides it and marks that copy as read. A toast with `persist: false` never enters the panel and is removed after dismissal. Inbox-only delivery always stays in the panel. The default history choice is true, or set `provideGoodUI({ notifications: { persistToHistory: false } })` once at bootstrap; `publish({ persist: true })` can save an individual toast in that case. The bell shows a compact 16 px destructive `good-badge` with the unread count, capped visually at `99+`; its accessible name includes the full count. The `notification.count.*` tokens size this application of Badge without changing Badge's normal small/medium/large scale. The panel supports removal, mark as read, and acknowledgement. When empty, it says “No new messages.” Clicking outside the drawer or pressing Escape closes it and returns focus to the bell. The center is in memory for the current page session; applications that need persistence can save and restore their own notification data.
63
+
64
+ The panel orders dated notifications newest first across the center and the `[items]` input. Every `publish()` call records its creation time automatically. The panel displays that date and time in the viewer's locale and time zone, and exposes the original value through a semantic `<time datetime>` element. For externally supplied `GoodNotification` items, provide `createdAt` as Unix milliseconds to get the same ordering and display. Items without `createdAt` follow dated items in their supplied order; their legacy `time` text is shown unchanged.
65
+
66
+ ```ts
67
+ import type { GoodNotification } from '@cloudfrogger/goodui';
68
+
69
+ const notifications: GoodNotification[] = [
70
+ { id: 'release', title: 'Release completed', createdAt: Date.now(), read: false },
71
+ ];
72
+ ```
73
+
74
+ `good-notifications` still accepts the simple `[items]` input with `GoodNotification` records, so existing applications remain compatible. Its native dialog manages focus, Escape, and the mobile viewport.
75
+
76
+ The [Notifications example](../../homepage/src/app/examples/notifications/notifications-page.html) shows each delivery mode and includes its HTML and TypeScript source on the page. Its design uses `goodui.notifications.unread`, a linked composition of the existing bell and `goodui.badge`, plus the Alert tokens and specimens on Penpot page `21 Alerts`.
@@ -0,0 +1,21 @@
1
+ # Number input
2
+
3
+ `good-number-input` is a numeric field with a minus button on the left and a plus button on the right. It starts at `0`, moves in steps of `1`, and has a minimum of `0` and no maximum unless configured. Set `min`, `max`, and `step` to finite numbers; a nonpositive or nonfinite step falls back to `1`. If `max` is below `min`, the effective maximum equals the minimum.
4
+
5
+ ```html
6
+ <good-number-input label="Quantity" [showLabel]="true" [(value)]="quantity" />
7
+ <good-number-input label="Rate" [min]="0" [max]="5" [step]="0.25"
8
+ [icon]="gaugeIcon" [formControl]="rate" />
9
+ ```
10
+
11
+ `size` accepts `small`, `default`, or `large`, matching Input heights of 32, 40, and 48 px. `disabled` blocks editing and stepping, including when Angular Forms disables the control. The buttons stop at the configured bounds. `label`, `showLabel`, `name`, `inputId`, and `describedBy` provide the same labeling pattern as other GoodUI inputs. `icon` accepts any Lucide icon data; the icon is decorative and the numeric input keeps its accessible label.
12
+
13
+ The field fills its parent's available width by default, like other GoodUI form inputs. Set `[fullWidth]="false"` for a compact stepper in a toolbar or another inline setting. Size still controls its height, icon size, and compact center width.
14
+
15
+ Click the center to edit with the keyboard. Enter commits, Escape restores the prior value, and Arrow Up/Down use the configured step. A typed number is clamped to the bounds on blur. Empty or invalid text leaves the previous value in place. The component implements `ControlValueAccessor` with a numeric value, so use either `[(value)]` or Angular Forms as the source of truth.
16
+
17
+ On value changes, digits slide upward with a brief brightness flicker. `prefers-reduced-motion: reduce` removes the animation. The displayed number is decorative; assistive technology reads the native numeric input and the labeled buttons.
18
+
19
+ ## Design mapping
20
+
21
+ The `goodui.number-input` Penpot family maps to `good-number-input`. Size and disabled status are visual variants. Bounds, step, value, width behavior, and the choice of Lucide icon remain runtime inputs. Penpot specimens show the compact width; Angular fills the parent by default. The control reuses Input surface, border, focus, and height tokens in both themes.
@@ -0,0 +1,38 @@
1
+ # PDF preview
2
+
3
+ `good-pdf-preview` displays one PDF page at a time inside a responsive GoodUI frame. Its toolbar owns page navigation, zoom (50–300% of fitted width), clockwise rotation, and an optional download action. The document viewport scrolls when a zoomed page exceeds its width. PDF.js renders the page and a selectable text layer; page count updates are announced to assistive technology. `PageUp` and `PageDown` work while the viewport has focus.
4
+
5
+ ```ts
6
+ import { GoodPdfPreviewComponent } from '@cloudfrogger/goodui';
7
+
8
+ // Add GoodPdfPreviewComponent to your standalone component's imports.
9
+ readonly pdfUrl = '/api/reports/quarterly.pdf';
10
+ ```
11
+
12
+ ```html
13
+ <good-pdf-preview [source]="pdfUrl" title="Quarterly report"
14
+ downloadName="quarterly-report.pdf"
15
+ (loaded)="onPdfLoaded($event)" (loadError)="onPdfError($event)" />
16
+ ```
17
+
18
+ `source` accepts a URL, `File`, `ArrayBuffer`, `Uint8Array`, or `null`. A URL must be same-origin or CORS-enabled. Changing it cancels the old load, resets to page 1, and releases the old PDF document. The viewer only loads PDF.js when a source is provided. `pageNumber` and `zoom` are two-way models; `goToPage`, `setZoom`, `rotate`, and `download` are also public methods. `(pageChange)` emits for reader navigation; `(loaded)` supplies the total page count; `(loadError)` supplies a readable error message.
19
+
20
+ The component previews pages and selectable text. It does not edit PDF forms or expose an annotation toolbar; password-protected files report an error.
21
+
22
+ | Input | Default | Purpose |
23
+ | --- | --- | --- |
24
+ | `source` | `null` | URL, file, or PDF bytes |
25
+ | `title` | `PDF preview` | Toolbar title and accessible document name |
26
+ | `height` | `min(70vh, 800px)` | Scrollable viewport height |
27
+ | `showToolbar` | `true` | Show reader controls |
28
+ | `allowDownload` | `true` | Show the download button |
29
+ | `downloadName` | `document.pdf` | Name for the downloaded PDF |
30
+ | `workerUrl` | empty | URL of a separately hosted PDF.js worker for strict CSP sites |
31
+
32
+ By default, the library lazily loads a bundled PDF.js worker and creates a `blob:` worker URL. Sites with `worker-src 'self'` should host the worker from the **same installed `pdfjs-dist` version** and set `workerUrl`, for example `workerUrl="/pdf.worker.min.mjs"`. In an Angular app, copy `node_modules/pdfjs-dist/build/pdf.worker.min.mjs` into an asset path during its build and serve it under that URL. The GoodUI homepage does this in `homepage/scripts/copy-pdf-worker.mjs`, so its deployed CSP remains `script-src 'self'`. Consumers installing the package normally receive `pdfjs-dist` as a dependency; the local symlinked homepage also declares it directly for development.
33
+
34
+ The Penpot library publishes `goodui.pdf-preview` on `25 PDF Preview`. It maps directly to `good-pdf-preview`. The displayed loaded page is a design specimen; loading, empty, error, pagination, zoom, rotation, download, and file contents are runtime states or data. The toolbar contains linked GoodUI Button instances; the frame and viewport use existing surface, border, spacing, text, and radius tokens. The component owns its toolbar, frame, page fitting, overflow, and responsive wrapping. Applications do not need custom layout for the reader.
35
+
36
+ The toolbar's six Lucide instances have 14 px outer bounds **and** 14 px scaled internal paths. Their strokes bind to `button.ghost.foreground` in both themes. When replacing one of these icons in Penpot, check the child paths after `swapComponent()`; Penpot may keep the replacement's original 24 px path geometry even when the instance frame remains 14 px.
37
+
38
+ See the [PDF reader example](../../homepage/src/app/examples/pdf-reader/pdf-reader-page.html) for three local documents and its displayed Angular source.
@@ -0,0 +1,37 @@
1
+ # PIN input
2
+
3
+ `good-pin-input` collects a short code in a row of large slots. It uses one native input behind the slots, so keyboard selection, paste, browser one-time-code autofill, and mobile keyboards work as one field. Clicking a slot moves the caret to that position. A long code scrolls horizontally inside the control.
4
+
5
+ ## Use
6
+
7
+ ```ts
8
+ import { FormControl } from '@angular/forms';
9
+
10
+ readonly code = new FormControl('', { nonNullable: true });
11
+ ```
12
+
13
+ ```html
14
+ <good-pin-input label="Verification code" [showLabel]="true"
15
+ allowedCharacters="0-9" [formControl]="code" />
16
+ ```
17
+
18
+ `length` defaults to six and accepts 1–64 slots. A nonempty value is valid only when it reaches the configured length; set `required` to reject an empty value too. The control implements `ControlValueAccessor`, works with `[(value)]` or Angular forms, and emits `completed` when user input reaches full length. Use one value binding style per instance. `disabled` also works through `FormControl.disable()`. `name`, `inputId`, `describedBy`, and `autocomplete` support form and accessibility integration. The accessible name comes from `label`, even if `showLabel` is false. FormField can supply the required state.
19
+
20
+ ## Character sets, masking, and placeholders
21
+
22
+ `allowedCharacters` accepts comma-separated literal characters and inclusive ranges, for example `0-9,A-F,@`. The default is `0-9,a-z,A-Z`. Invalid pasted or typed characters are removed, and the value keeps its original case. A digits-only set uses the mobile number keypad.
23
+
24
+ ```html
25
+ <good-pin-input label="Recovery code" [length]="8" allowedCharacters="0-9,A-F"
26
+ [masked]="true" placeholder="·" />
27
+ ```
28
+
29
+ `masked` displays `*` for each filled slot and changes the native input to password type. Empty slots have a neutral gray surface. A one-character `placeholder` repeats in every empty slot; a longer string supplies one character per slot. Pass a Lucide icon through `placeholderIcon` to show an icon instead of text in empty slots. This icon is decorative. For example, import `LucideMinus` from `@cloudfrogger/goodui` and bind `[placeholderIcon]="minusIcon"`.
30
+
31
+ ## Appearance and layout
32
+
33
+ `size=small/default/large` selects 44 × 48, 52 × 56, or 60 × 64 px slots. `appearance=brand` colors entered characters and the active slot with the brand token. `appearance=mono` uses the theme text color. The component owns its slot gap, background, border, radius, focus ring, and horizontal overflow; consumers need no slot layout CSS. Disabled fields dim and cannot receive input. Semantic `pin.*` tokens define slot geometry and alias existing Input and color roles in both themes.
34
+
35
+ ## Penpot status
36
+
37
+ The proposed `goodui.pin-input` family maps to `good-pin-input` with `size`, `appearance`, and representative `state=empty/filled/masked/disabled` axes. [The pending design contract](../../design/pin-input-contract.json) records the intended mapping. The `20 PIN Inputs` Penpot page and `pin.*` tokens exist, but the MCP plugin disconnected while the first variant was being constructed. The component and variant IDs remain unverified. Do not treat the proposed family as published until its live components and token bindings are checked and added to `design/component-map.json`.
@@ -0,0 +1,41 @@
1
+ # Progress
2
+
3
+ `good-progress` shows a known percentage, ongoing work, or a timed cycle. It owns its label, percentage, track, fill, and responsive width, so callers do not need a custom wrapper. It can be placed directly in page content or inside `good-alert`.
4
+
5
+ For service-delivered alerts, pass `progress` to `GoodNotificationCenter.publish()` and call `update(id, { progress: ... })` when the job reports a new value. The same bar appears in the toast and its saved notification-panel entry; an inbox-only job shows it only in the panel. See [Notifications](notifications.md).
6
+
7
+ | Input | Values | Default |
8
+ | --- | --- | --- |
9
+ | `mode` | `determinate`, `indeterminate`, `timed` | `determinate` |
10
+ | `appearance` | `solid`, `segmented` | `solid` |
11
+ | `size` | `small`, `default`, `large` | `default` |
12
+ | `value` | Number from 0 to 100; clamped when rendered | `0` |
13
+ | `durationMs` | Timed cycle length in milliseconds, minimum 250 | `5000` |
14
+ | `loop` | Repeat a timed cycle | `true` |
15
+ | `title`, `showPercent` | Optional label and visible rounded percentage | Empty; `false` |
16
+ | `color` | `brand`, `accent`, `secondary`, `destructive`, `warning`, `success`, `info`, `text`, any of the 16 marker color names, or a valid CSS color such as `rgb(59 130 246)` | `brand` |
17
+ | `ariaLabel` | Accessible fallback label when `title` is empty | `Progress` |
18
+
19
+ ```html
20
+ <good-progress title="Upload" [value]="uploadPercent" [showPercent]="true" />
21
+ <good-progress mode="indeterminate" appearance="segmented"
22
+ title="Synchronizing" color="info" />
23
+ <good-progress mode="timed" [durationMs]="6000" [loop]="true"
24
+ title="Next refresh" [showPercent]="true" color="rgb(59 130 246)" />
25
+ ```
26
+
27
+ Determinate mode takes its value from the application; it never advances on its own. Indeterminate mode animates a sweep and omits `aria-valuenow` because no percentage is known. Timed mode fills over `durationMs`, repeats by default, and stops at 100% when `loop` is false. The displayed percentage follows the animated fill. The animation uses `requestAnimationFrame` and is canceled when the component is destroyed or its timing inputs change. Indeterminate motion stops under `prefers-reduced-motion: reduce` while the bar remains visible.
28
+
29
+ The segmented appearance uses theme-aware divider color and shared segment tokens. Semantic and marker colors follow the active theme. A custom CSS color is a local override and is not a Penpot theme token; supply a theme-aware CSS variable if it must change with the application theme.
30
+
31
+ ```html
32
+ <good-alert tone="info" title="Preparing export"
33
+ message="Your download is being assembled.">
34
+ <good-progress mode="timed" [durationMs]="6000" color="info"
35
+ ariaLabel="Export progress" />
36
+ </good-alert>
37
+ ```
38
+
39
+ The track has the native `progressbar` role, a name from `title` or `ariaLabel`, a 0–100 range, and a current value only when one is known. The optional visible percent is not required for assistive technology. Keep `title` concise and describe the underlying task nearby when the progress indicator appears without other context.
40
+
41
+ Penpot page `24 Progress` contains 18 published `goodui.progress` variants for `mode` × `appearance` × `size`. The color palette below the family uses linked instances with semantic and marker token overrides. A separate linked instance shows a deliberately local RGB fill override. Numeric progress, elapsed time, and animation remain runtime states. The `goodui.alert-composition.progress` specimen shows a linked Progress instance in a detached, token-bound Alert frame because Penpot cannot add children to a component copy. Penpot binds height, label size, radius, and divider width to `progress.*` tokens. Penpot 2.17 did not repaint bound color aliases on this variant family when the theme changed, so its track, label, and divider bind directly to `color.selected`, `color.text`, and `color.surface`; the `progress.*` color aliases point to the same bases for generated CSS. Both themes were checked on the live components. Penpot cannot bind a repeated divider pitch: the 14 px positions are the visual counterpart of `progress.segment.width`; Angular CSS uses that token directly. See [progress-variants.json](../../design/progress-variants.json) and [design-to-code](../contributing/design-to-code.md) for IDs, axes, and mappings.
@@ -0,0 +1,41 @@
1
+ # Radio group
2
+
3
+ `good-radio-group` presents one choice from a set of options. It owns the group label, spacing, selection indicator, and disabled presentation. It uses a native `fieldset`, `legend`, and radio inputs, so keyboard users can Tab into the group and use arrow keys to change the selection.
4
+
5
+ ```ts
6
+ import { FormControl, ReactiveFormsModule } from '@angular/forms';
7
+ import { GoodRadioGroupComponent, type GoodRadioOption } from '@cloudfrogger/goodui';
8
+
9
+ readonly plan = new FormControl<string | null>('team');
10
+ readonly plans: readonly GoodRadioOption[] = [
11
+ { value: 'personal', label: 'Personal' },
12
+ { value: 'team', label: 'Team', description: 'Share with your team' },
13
+ ];
14
+
15
+ // Add GoodRadioGroupComponent and ReactiveFormsModule to the component's imports.
16
+ ```
17
+
18
+ ```html
19
+ <good-radio-group label="Plan" [options]="plans" [formControl]="plan" />
20
+ ```
21
+
22
+ | Input / model | Default | Purpose |
23
+ | --- | --- | --- |
24
+ | `options` | required | Items with unique string `value`, `label`, optional `description`, and optional `disabled` |
25
+ | `label` | required | Fallback accessible group name, shown in the native legend by default |
26
+ | `showLabel` | `true` | Show the native legend; `false` visually hides it while retaining the group name |
27
+ | `value` | `null` | Two-way selected value; use this or a form control for state |
28
+ | `size` | `default` | `small`, `default`, or `large` (16, 20, or 24 px indicator) |
29
+ | `appearance` | `brand` | `brand` or `mono`; mono follows theme text color |
30
+ | `orientation` | `vertical` | `vertical` or wrapping `horizontal` layout |
31
+ | `disabled` | `false` | Disable the entire group while preserving its value |
32
+ | `name` | generated | Native radio name; each group gets a unique default |
33
+ | `required` | `false` | Require a selection in native and Angular form validation |
34
+ | `labelledBy` | empty | ID of an external group label; hides the visible legend and names the fieldset through `aria-labelledby` |
35
+ | `describedBy` | empty | ID of supporting text for the group |
36
+
37
+ Each choice has a minimum 44 px hit height and a visible focus ring. A disabled choice is skipped by native keyboard interaction. For reactive forms, `FormControl.disable()` also disables the group. An empty value is `null`; disabled groups retain their selection.
38
+
39
+ A required RadioGroup adds a red star to its visible label and registers Angular `required` validation. You can set `[required]="true"` directly or wrap it in `<good-form-field [required]="true">`; the group is invalid until an enabled option is selected. For a standalone group, its native `legend` displays the `label`. In a horizontal `goodForm`, use an external `<good-field-label id="plan-label">Preferred plan</good-field-label>` and set `labelledBy="plan-label"` and `[showLabel]="false"` on the group. The FieldLabel renders text instead of a `<label for>` when `forId` is absent, so it can correctly name the fieldset through `aria-labelledby`; the internal legend remains available but visually hidden. Keep the group's `label` as a fallback accessible name.
40
+
41
+ Penpot publishes `goodui.radio-group` on `07 Radio Groups` with 24 variants across `appearance=brand/mono`, `size=small/default/large`, `selection=none/selected`, and `status=default/disabled`. Each Penpot specimen contains three example options. Angular accepts any option count through `options`; a Penpot design with a different count needs a separate composition of rows. `selection=selected` shows the second option selected and maps to a non-null `value` or form value; `selection=none` maps to `null`. `status=disabled` maps to `[disabled]` or a disabled form control. [radio-group-variants.json](https://github.com/cloudfrogger/goodui/blob/master/design/radio-group-variants.json) records every Penpot library ID. The indicator and dot use their own semantic tokens rather than Checkbox values.
@@ -0,0 +1,42 @@
1
+ # Range slider
2
+
3
+ Use `good-range-slider` to choose one number or the ends of an interval. It fills the available width and starts with a plain thumb, a brand-colored selected track, and a value of `50` on a `0`–`100` scale.
4
+
5
+ ```html
6
+ <good-range-slider label="Volume" [showLabel]="true" [(value)]="volume" />
7
+ <good-range-slider mode="range" label="Price range" [min]="0" [max]="500"
8
+ [step]="10" [(rangeValue)]="priceRange" [showBounds]="true" />
9
+ ```
10
+
11
+ Initialize the single value with `signal(50)` and the interval with `signal<GoodRangeSliderRange>({ start: 100, end: 300 })`. Set either signal to change the control programmatically. Use **one value source** per instance: `[(value)]` for `single`, `[(rangeValue)]` for `range`, or an Angular Forms control.
12
+
13
+ ## Inputs and events
14
+
15
+ | Input | Default | Purpose |
16
+ | --- | --- | --- |
17
+ | `mode` | `single` | `single` or `range`; range uses `{ start, end }`. |
18
+ | `value`, `rangeValue` | `50`, `{ start: 25, end: 75 }` | Two-way values, including `valueChange` and `rangeValueChange` events. |
19
+ | `min`, `max`, `step` | `0`, `100`, `1` | Finite limits and step. A nonpositive step becomes `1`; a maximum below the minimum becomes the minimum. |
20
+ | `label`, `showLabel` | `Value`, `false` | Accessible name and optional visible label. |
21
+ | `showBounds`, `minLabel`, `maxLabel` | `false`, `''`, `''` | Show endpoint labels; custom text replaces the numeric endpoints. |
22
+ | `ticks` | `[]` | `{ value, label }[]` for selected tick captions. Tick values outside the limits are omitted. Endpoint tick captions are omitted when bounds already show them. |
23
+ | `size` | `default` | `small`, `default`, or `large` with 32, 40, or 48 px touch targets. |
24
+ | `color` | `brand` | A semantic color (`brand`, `accent`, `secondary`, `destructive`, `warning`, `success`, `info`, `text`) or GoodUI marker color. |
25
+ | `icon` | none | Any Lucide icon data, such as `LucideGrip` or `LucideMoveHorizontal`, placed in each thumb. |
26
+ | `showStepButtons`, `disabled` | `false`, `false` | Optional minus/plus buttons; blocked interaction and disabled Forms state. |
27
+
28
+ `changeCommitted` fires once when a user finishes a pointer drag or makes a keyboard/button step. `valueChange` and `rangeValueChange` report the changing model value. Programmatic updates do not fire `changeCommitted`. The active range thumb receives the step button action; clicking or focusing a thumb selects it. Clicking the track chooses the nearest thumb. Handles stop at each other and can meet but cannot cross.
29
+
30
+ The control snaps to the step grid from `min` and also permits the exact `max` endpoint. Keyboard controls are Arrow keys, Home, End, Page Up, and Page Down. Each handle exposes slider semantics and its current accessible value. For Angular Forms, use `FormControl<number>` in single mode or `FormControl<GoodRangeSliderRange>` in range mode.
31
+
32
+ ```ts
33
+ readonly volume = signal(35);
34
+ readonly interval = signal<GoodRangeSliderRange>({ start: 20, end: 75 });
35
+ readonly ticks: GoodRangeSliderTick[] = [
36
+ { value: 0, label: 'Low' }, { value: 50, label: 'Medium' }, { value: 100, label: 'High' },
37
+ ];
38
+ ```
39
+
40
+ ## Design mapping
41
+
42
+ The `goodui.range-slider` Penpot family on `33 Range Sliders` maps to `good-range-slider`. Its twelve published variants cover mode, size, and disabled status; bounds, ticks, values, color, icon, and step buttons remain runtime choices. See `design/range-slider-variants.json` for the verified library IDs. The rail, selected range, thumb, and corners bind to GoodUI design tokens.
@@ -0,0 +1,39 @@
1
+ # Rating
2
+
3
+ `good-rating` displays or collects a whole-number score. It uses five Lucide stars by default. Selected stars and thumbs-up are yellow, selected hearts are red, and custom icons default to purple. Unselected symbols are gray. The score is always between one and `count`.
4
+
5
+ ```ts
6
+ import { FormControl } from '@angular/forms';
7
+
8
+ readonly satisfaction = new FormControl(3, { nonNullable: true });
9
+ ```
10
+
11
+ ```html
12
+ <good-rating label="Satisfaction" [formControl]="satisfaction" />
13
+ <good-rating label="Average satisfaction" [value]="4" [readonly]="true" />
14
+ <good-rating label="Favorite" icon="heart" [count]="3" [value]="2" />
15
+ <good-rating label="Mood" [customIcon]="smileIcon" selectedColor="#0EA5E9" [value]="4" />
16
+ ```
17
+
18
+ Import `GoodRatingComponent` from `@cloudfrogger/goodui` and `ReactiveFormsModule` when using a form control. Standalone usage also supports `[(value)]`; the selected integer is emitted through `valueChange`. A form control may disable the component, or you may set `[disabled]="true"`.
19
+
20
+ | Input | Default | Purpose |
21
+ | --- | --- | --- |
22
+ | `value` | `1` | Selected whole-number score. Invalid or out-of-range input is displayed within `1..count`. |
23
+ | `count` | `5` | Number of symbols. Values below one become one. |
24
+ | `icon` | `star` | `star`, `heart`, or `thumbs-up`. |
25
+ | `customIcon` | unset | A Lucide icon or icon data, overriding `icon`. |
26
+ | `selectedColor` | icon token | Optional CSS color for selected symbols; overrides the star, heart, thumbs-up, or custom default. |
27
+ | `size` | `default` | `small`, `default`, or `large`; icons are 16, 20, or 24 px. |
28
+ | `readonly` | `false` | Display the current score without a control. |
29
+ | `disabled` | `false` | Show the score but prevent selection. |
30
+ | `label` | `Rating` | Accessible group name and read-only description. |
31
+ | `describedBy` | empty | ID of help text for the editable group. |
32
+
33
+ The editable version uses native radio inputs. The selected input receives keyboard focus; arrow keys change the score, while Tab moves into or out of the group. Every choice has a visible focus ring and a 32, 40, or 48 px hit target by size. The disabled group is skipped by keyboard navigation. The read-only version has one accessible description such as “Average satisfaction: 4 of 5”; its decorative icons are hidden from assistive technology.
34
+
35
+ Pointer hover previews the score up to the hovered symbol. Leaving the group restores the committed score without changing the form value.
36
+
37
+ The built-in symbols fill when selected. A custom Lucide icon uses the selected stroke color only, so icons with interior details remain legible. `selectedColor` changes the selected symbols and focus outline; it does not change the unselected gray. Use a color with enough contrast in both themes when overriding the theme-aware defaults.
38
+
39
+ Penpot page `15 Ratings` publishes `goodui.rating` with `icon=star/heart/thumbs-up`, `size=small/default/large`, `value=1/3`, and `status=default/disabled`. These are representative five-symbol compositions. A separate `example.rating-custom-icon` specimen uses linked Lucide Smile instances and the purple `rating.custom.color` token; it is an example, not a published variant. Angular's `count`, exact `value`, custom icon, and `selectedColor` override are runtime data. For a different count, icon, or color in Penpot, compose linked Lucide icons using the Rating size and spacing tokens, and carry the icon and color into Angular's `[customIcon]` and `[selectedColor]`. `[readonly]` changes semantics and interaction, not the visual score. The 36 published Penpot IDs are recorded in [rating-variants.json](../../design/rating-variants.json). The selected light and dark colors, unselected color, gap, icon sizes, and target sizes are shared semantic tokens. Selected fill and stroke are token-bound for built-in symbols; the custom example binds selected strokes and leaves fill empty. Angular uses the matching CSS variables.
@@ -0,0 +1,3 @@
1
+ # Resizable pane
2
+
3
+ `good-resizable-pane` is one of the two content areas inside [Resizable](resizable.md). Use it once with `side="start"` and once with `side="end"`; the parent positions them around its divider. The pane scrolls independently and adds responsive content padding by default. Set `padding="none"` when its content should reach the edges.
@@ -0,0 +1,75 @@
1
+ # Resizable
2
+
3
+ `good-resizable` gives two parts of a workspace an adjustable boundary. Its two content slots are `good-resizable-pane side="start"` and `side="end"`. Both panes scroll independently. The split is a percentage of the space left after the 12 px divider.
4
+
5
+ ```ts
6
+ import { Component, signal } from '@angular/core';
7
+ import { GoodResizableComponent, GoodResizablePaneComponent } from '@cloudfrogger/goodui';
8
+
9
+ @Component({
10
+ standalone: true,
11
+ imports: [GoodResizableComponent, GoodResizablePaneComponent],
12
+ template: `
13
+ <good-resizable [(split)]="split" ariaLabel="Resize navigation and detail">
14
+ <good-resizable-pane side="start">Navigation</good-resizable-pane>
15
+ <good-resizable-pane side="end">Detail</good-resizable-pane>
16
+ </good-resizable>
17
+ `,
18
+ })
19
+ export class ExampleComponent {
20
+ readonly split = signal(35);
21
+ }
22
+ ```
23
+
24
+ Write each `side` once. Keep the attribute literal so Angular can place the content in the correct slot. Nested GoodUI content, forms, editors, maps, and calendars can be placed inside either pane. The pane supplies 16 px content padding by default and reduces it in a narrow container; `padding="none"` removes it for edge-to-edge content.
25
+
26
+ ## Inputs and events
27
+
28
+ | On `good-resizable` | Default | Meaning |
29
+ | --- | --- | --- |
30
+ | `split` / `splitChange` | `50` | First pane's percentage. Use `[(split)]` for two-way binding, or `[split]` to set it from code. |
31
+ | `splitChangeEnd` | — | Emits the final percentage after a drag, keyboard step, or double-click reset. Save a preference here rather than on every pointer move. |
32
+ | `orientation` | `auto` | `auto` is side by side at 680 px and wider and stacked below it, based on **the component's width**. `horizontal` and `vertical` force a direction. |
33
+ | `handle` | `grip` | `grip`, `line`, `dots`, or `chevrons`. Only the drawing changes; the divider remains visually 12 px with a larger, invisible pointer target. |
34
+ | `height` | `min(70dvh, 560px)` | CSS height of the whole split view. Use `height="100%"` inside a parent with a defined height, such as a fill view. |
35
+ | `minSplit`, `maxSplit` | `20`, `80` | Percentage limits for the first pane. Values are clamped to 0–100; a maximum below the minimum becomes the minimum. |
36
+ | `disabled` | `false` | Keeps the layout visible while turning off drag, keyboard adjustment, and reset. |
37
+ | `ariaLabel` | `Resize panels` | Accessible name of the divider; use names that distinguish multiple split views. |
38
+
39
+ | On `good-resizable-pane` | Default | Meaning |
40
+ | --- | --- | --- |
41
+ | `padding` | `default` | `default` adds responsive inner spacing; `none` lets the content reach the edges. |
42
+ | `side` | required | Static `start` or `end` projection attribute. |
43
+
44
+ The first pane stays first when the layout stacks. At 390 px viewport width the pane order is top, divider, bottom. Each pane keeps its own scrollbar; content does not force the other pane wider or taller. Choose a height that leaves enough room for both panes on small screens. For a full workspace, use GoodUI's `good-main-view fillHeight` and give the split view `height="100%"`.
45
+
46
+ ## Vertical and nested layouts
47
+
48
+ Set `orientation="vertical"` to keep the first pane above the second at every width. A Resizable can also sit inside either pane of another Resizable. Give that pane `padding="none"` and the nested Resizable `height="100%"`; the outer split then supplies its height. Keep separate `split` signals so each divider changes only its own two panes.
49
+
50
+ ```html
51
+ <good-resizable orientation="auto" height="540px" [(split)]="outerSplit"
52
+ ariaLabel="Resize navigation and workspace">
53
+ <good-resizable-pane side="start">Navigation</good-resizable-pane>
54
+ <good-resizable-pane side="end" padding="none">
55
+ <good-resizable orientation="vertical" height="100%" [(split)]="innerSplit"
56
+ ariaLabel="Resize list and detail">
57
+ <good-resizable-pane side="start">List</good-resizable-pane>
58
+ <good-resizable-pane side="end">Detail</good-resizable-pane>
59
+ </good-resizable>
60
+ </good-resizable-pane>
61
+ </good-resizable>
62
+ ```
63
+
64
+ `outerSplit` and `innerSplit` are independent `signal<number>` values, such as `signal(35)` and `signal(40)`. The outer `auto` direction stacks below 680 px of its own width; the inner split stays vertical. Choose a taller outer height when both splits stack on a small screen so each pane has useful space. The [live example](../../homepage/src/app/resizables-page.html) demonstrates both dividers.
65
+
66
+ ## Operation
67
+
68
+ - Drag the separator with mouse, pen, or touch. The position updates continuously through `splitChange`.
69
+ - Focus the separator and use Left/Right when side by side or Up/Down when stacked. A normal arrow moves 2 percentage points; Shift plus an arrow moves 10. Home and End jump to the configured limits.
70
+ - Double-click the separator to reset to an even 50/50 split, subject to the limits.
71
+ - A programmatic `split` change uses the same limits and updates the layout without an interaction event. The input value itself remains owned by the caller.
72
+
73
+ The separator has the ARIA `separator` role, current percentage, allowed range, direction, and a relationship to the first pane. The focused divider has a visible accent outline. The handle colors follow GoodUI's surface, border, selected, muted, and accent tokens in both themes.
74
+
75
+ Penpot page `40 Resizable` publishes the four handle specimens, a stacked specimen, a disabled specimen, and the pane family. IDs and state mapping are in [resizable-contract.json](../../design/resizable-contract.json).