c3-components 0.6.1 → 0.8.0

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 (22) hide show
  1. package/esm2022/lib/c3-flowing-menu/components/c3-flowing-menu/c3-flowing-menu.component.mjs +4 -4
  2. package/esm2022/lib/c3-trace-card/c3-trace-card.module.mjs +44 -0
  3. package/esm2022/lib/c3-trace-card/components/c3-trace-card/c3-trace-card.component.mjs +28 -0
  4. package/esm2022/lib/c3-trace-card/components/c3-trace-card-content/c3-trace-card-content.component.mjs +11 -0
  5. package/esm2022/lib/c3-trace-card/components/c3-trace-card-title/c3-trace-card-title.component.mjs +11 -0
  6. package/esm2022/lib/c3-trace-card/directives/align-left.directive.mjs +21 -0
  7. package/esm2022/lib/c3-trace-card/directives/align-right.directive.mjs +21 -0
  8. package/esm2022/public-api.mjs +10 -1
  9. package/fesm2022/c3-components.mjs +119 -3
  10. package/fesm2022/c3-components.mjs.map +1 -1
  11. package/lib/c3-flowing-menu/components/c3-flowing-menu/c3-flowing-menu.component.d.ts +2 -2
  12. package/lib/c3-trace-card/c3-trace-card.module.d.ts +12 -0
  13. package/lib/c3-trace-card/components/c3-trace-card/c3-trace-card.component.d.ts +8 -0
  14. package/lib/c3-trace-card/components/c3-trace-card/c3-trace-card.component.scss +35 -0
  15. package/lib/c3-trace-card/components/c3-trace-card-content/c3-trace-card-content.component.d.ts +5 -0
  16. package/lib/c3-trace-card/components/c3-trace-card-content/c3-trace-card-content.component.scss +0 -0
  17. package/lib/c3-trace-card/components/c3-trace-card-title/c3-trace-card-title.component.d.ts +5 -0
  18. package/lib/c3-trace-card/components/c3-trace-card-title/c3-trace-card-title.component.scss +0 -0
  19. package/lib/c3-trace-card/directives/align-left.directive.d.ts +7 -0
  20. package/lib/c3-trace-card/directives/align-right.directive.d.ts +7 -0
  21. package/package.json +1 -1
  22. package/public-api.d.ts +9 -0
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
3
3
  export declare class C3FlowingMenuComponent {
4
4
  readonly c3FlowingMenu: import("@angular/core").Signal<readonly C3FlowingMenuItemComponent[]>;
5
5
  private readonly targetContentRef;
6
- readonly selectedIndex: import("@angular/core").WritableSignal<number>;
6
+ readonly selectedIndex: import("@angular/core").ModelSignal<number>;
7
7
  constructor();
8
8
  selectMenu(index: number): void;
9
9
  private updateView;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<C3FlowingMenuComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<C3FlowingMenuComponent, "c3-flowing-menu", never, {}, {}, ["c3FlowingMenu"], never, false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3FlowingMenuComponent, "c3-flowing-menu", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; "isSignal": true; }; }, { "selectedIndex": "selectedIndexChange"; }, ["c3FlowingMenu"], never, false, never>;
12
12
  }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/c3-trace-card/c3-trace-card.component";
3
+ import * as i2 from "./components/c3-trace-card-title/c3-trace-card-title.component";
4
+ import * as i3 from "./components/c3-trace-card-content/c3-trace-card-content.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "./directives/align-left.directive";
7
+ import * as i6 from "./directives/align-right.directive";
8
+ export declare class C3TraceCardModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<C3TraceCardModule, [typeof i1.C3TraceCardComponent, typeof i2.C3TraceCardTitleComponent, typeof i3.C3TraceCardContentComponent], [typeof i4.CommonModule, typeof i5.C3TraceCardAlignLeftDirective, typeof i6.C3TraceCardAlignRightDirective], [typeof i1.C3TraceCardComponent, typeof i2.C3TraceCardTitleComponent, typeof i3.C3TraceCardContentComponent, typeof i5.C3TraceCardAlignLeftDirective, typeof i6.C3TraceCardAlignRightDirective]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<C3TraceCardModule>;
12
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class C3TraceCardComponent {
3
+ readonly align: import("@angular/core").WritableSignal<"left" | "right">;
4
+ get alignLeft(): boolean;
5
+ get alignRight(): boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardComponent, "c3-trace-card", never, {}, {}, never, ["c3-trace-card-content", "c3-trace-card-title"], false, never>;
8
+ }
@@ -0,0 +1,35 @@
1
+ @use "@angular/material" as mat;
2
+
3
+ .c3-trace-card {
4
+ display: flex;
5
+ flex-direction: row;
6
+ justify-content: space-between;
7
+ align-items: start;
8
+ gap: 1rem;
9
+ font-size: 14px;
10
+
11
+ &.align-right {
12
+ flex-direction: row-reverse;
13
+ }
14
+
15
+ c3-trace-card-title {
16
+ padding: 0.5rem 1rem;
17
+ font-size: 1.5rem;
18
+ line-height: 2rem;
19
+ border: #e0e0e0 solid 1px;
20
+ border-radius: 0.5rem;
21
+ @include mat.elevation(1);
22
+ }
23
+
24
+ .content {
25
+ display: flex;
26
+ flex-direction: column;
27
+ width: 100%;
28
+
29
+ .horizontal-line {
30
+ margin-top: 25px;
31
+ height: 1px;
32
+ background-color: #e0e0e0;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class C3TraceCardContentComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardContentComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardContentComponent, "c3-trace-card-content", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class C3TraceCardTitleComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardTitleComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<C3TraceCardTitleComponent, "c3-trace-card-title", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class C3TraceCardAlignLeftDirective {
3
+ private readonly c3CardTitle;
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardAlignLeftDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3TraceCardAlignLeftDirective, "c3-trace-card[align-left]", never, {}, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class C3TraceCardAlignRightDirective {
3
+ private readonly c3CardTitle;
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<C3TraceCardAlignRightDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<C3TraceCardAlignRightDirective, "c3-trace-card[align-right]", never, {}, {}, never, never, true, never>;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c3-components",
3
- "version": "0.6.1",
3
+ "version": "0.8.0",
4
4
  "description": "C3 Components Library",
5
5
  "author": "c3ulnta0rk",
6
6
  "license": "MIT",
package/public-api.d.ts CHANGED
@@ -66,3 +66,12 @@ export * from './lib/c3-flowing-menu/c3-flowing-menu.module';
66
66
  export * from './lib/c3-flowing-menu/components/c3-flowing-menu/c3-flowing-menu.component';
67
67
  export * from './lib/c3-flowing-menu/components/c3-flowing-menu-item/c3-flowing-menu-item.component';
68
68
  export * from './lib/c3-flowing-menu/components/c3-flowing-menu-item-content/c3-flowing-menu-item-content.component';
69
+ /**
70
+ * C3 Trace Card
71
+ */
72
+ export * from './lib/c3-trace-card/c3-trace-card.module';
73
+ export * from './lib/c3-trace-card/components/c3-trace-card/c3-trace-card.component';
74
+ export * from './lib/c3-trace-card/components/c3-trace-card-content/c3-trace-card-content.component';
75
+ export * from './lib/c3-trace-card/components/c3-trace-card-title/c3-trace-card-title.component';
76
+ export * from './lib/c3-trace-card/directives/align-left.directive';
77
+ export * from './lib/c3-trace-card/directives/align-right.directive';