@cngx/ui 0.0.1-rc.0 → 0.1.0-rc.1

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 (60) hide show
  1. package/README.md +22 -48
  2. package/action-button/README.md +9 -11
  3. package/empty-state/README.md +11 -26
  4. package/feedback/README.md +3 -3
  5. package/fesm2022/cngx-ui-action-button.mjs +30 -26
  6. package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
  7. package/fesm2022/cngx-ui-empty-state.mjs +26 -21
  8. package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
  9. package/fesm2022/cngx-ui-feedback.mjs +498 -261
  10. package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
  11. package/fesm2022/cngx-ui-layout.mjs +32 -5
  12. package/fesm2022/cngx-ui-layout.mjs.map +1 -1
  13. package/fesm2022/cngx-ui-mat-stepper.mjs +119 -297
  14. package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
  15. package/fesm2022/cngx-ui-mat-tabs.mjs +455 -120
  16. package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
  17. package/fesm2022/cngx-ui-material.mjs +14 -3
  18. package/fesm2022/cngx-ui-material.mjs.map +1 -1
  19. package/fesm2022/cngx-ui-overlay.mjs +22 -3
  20. package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
  21. package/fesm2022/cngx-ui-sidenav.mjs +107 -28
  22. package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
  23. package/fesm2022/cngx-ui-skeleton.mjs +61 -20
  24. package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
  25. package/fesm2022/cngx-ui-speak.mjs +14 -5
  26. package/fesm2022/cngx-ui-speak.mjs.map +1 -1
  27. package/fesm2022/cngx-ui-stepper.mjs +659 -163
  28. package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
  29. package/fesm2022/cngx-ui-tabs.mjs +306 -55
  30. package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
  31. package/fesm2022/cngx-ui.mjs +2 -1
  32. package/fesm2022/cngx-ui.mjs.map +1 -1
  33. package/layout/README.md +9 -44
  34. package/mat-stepper/README.md +37 -17
  35. package/mat-tabs/README.md +13 -13
  36. package/mat-tabs/styles/mat-tabs.css +357 -213
  37. package/material/README.md +19 -19
  38. package/overlay/README.md +11 -11
  39. package/package.json +7 -6
  40. package/sidenav/README.md +4 -19
  41. package/skeleton/README.md +3 -17
  42. package/speak/README.md +15 -15
  43. package/stepper/README.md +213 -5
  44. package/tabs/README.md +22 -4
  45. package/theming/system-tokens.css +29 -0
  46. package/types/cngx-ui-action-button.d.ts +28 -13
  47. package/types/cngx-ui-empty-state.d.ts +21 -9
  48. package/types/cngx-ui-feedback.d.ts +437 -121
  49. package/types/cngx-ui-layout.d.ts +38 -8
  50. package/types/cngx-ui-mat-stepper.d.ts +100 -134
  51. package/types/cngx-ui-mat-tabs.d.ts +291 -84
  52. package/types/cngx-ui-material.d.ts +12 -1
  53. package/types/cngx-ui-overlay.d.ts +25 -4
  54. package/types/cngx-ui-sidenav.d.ts +106 -12
  55. package/types/cngx-ui-skeleton.d.ts +62 -8
  56. package/types/cngx-ui-speak.d.ts +10 -2
  57. package/types/cngx-ui-stepper.d.ts +390 -57
  58. package/types/cngx-ui-tabs.d.ts +182 -18
  59. package/types/cngx-ui.d.ts +1 -0
  60. package/speak/speak-button-theme.scss +0 -78
@@ -2,15 +2,15 @@ import * as _angular_core from '@angular/core';
2
2
  import { CngxAsyncState } from '@cngx/core/utils';
3
3
 
4
4
  /**
5
- * Empty-state display atom for grids, tables, lists, and dashboards.
5
+ * Empty-state display organism for grids, tables, lists, and dashboards.
6
6
  *
7
7
  * Communicates why a view is empty and what the user can do next.
8
8
  * Supports three UX contexts via the parent's `emptyReason`:
9
- * - **first-use** — onboarding, show what's possible
10
- * - **no-results** — recovery, offer filter reset or search change
11
- * - **cleared** — confirmation, everything is done
9
+ * - **first-use** - onboarding, show what's possible
10
+ * - **no-results** - recovery, offer filter reset or search change
11
+ * - **cleared** - confirmation, everything is done
12
12
  *
13
- * Icon is provided via the `[cngxEmptyStateIcon]` content slot — no Material
13
+ * Icon is provided via the `[cngxEmptyStateIcon]` content slot - no Material
14
14
  * dependency. Consumers project `<mat-icon>`, `<svg>`, or any icon system.
15
15
  *
16
16
  * ```html
@@ -19,16 +19,28 @@ import { CngxAsyncState } from '@cngx/core/utils';
19
19
  * <button cngxEmptyStateAction (click)="resetSearch()">Reset</button>
20
20
  * </cngx-empty-state>
21
21
  * ```
22
+ *
23
+ * @category ui/empty-state
24
+ * @docsKind primary
25
+ * @wcag AA
26
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/empty-state/empty-state.component.ts
27
+ * @since 0.1.0
28
+ * @relatedTo CngxAsyncState, CngxSkeletonContainer
29
+ * <example-url>http://localhost:4200/#/ui/empty-state/default-no-icon-projected</example-url>
30
+ * <example-url>http://localhost:4200/#/ui/empty-state/inside-a-card-grid</example-url>
31
+ * <example-url>http://localhost:4200/#/ui/empty-state/inside-a-list</example-url>
32
+ * <example-url>http://localhost:4200/#/ui/empty-state/inside-a-table</example-url>
33
+ * <example-url>http://localhost:4200/#/ui/empty-state/with-custom-icon-actions</example-url>
22
34
  */
23
35
  declare class CngxEmptyState {
24
36
  private readonly uid;
25
- /** Primary message — what state the user is in. */
37
+ /** Primary message - what state the user is in. */
26
38
  readonly title: _angular_core.InputSignal<string>;
27
- /** Supporting detail — clarifies context and suggests next steps. */
39
+ /** Supporting detail - clarifies context and suggests next steps. */
28
40
  readonly description: _angular_core.InputSignal<string | undefined>;
29
- /** Bind an async state — auto-hides when data is not empty. */
41
+ /** Bind an async state - auto-hides when data is not empty. */
30
42
  readonly state: _angular_core.InputSignal<CngxAsyncState<unknown> | undefined>;
31
- /** @internal — hidden when state is bound and data is not empty or still loading. */
43
+ /** @internal - hidden when state is bound and data is not empty or still loading. */
32
44
  protected readonly shouldHide: _angular_core.Signal<boolean>;
33
45
  /** @internal */
34
46
  protected readonly titleId: string;