@onemrvapublic/design-system 21.7.5-develop.2 → 21.7.5-develop.4

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.
@@ -1,5 +1,5 @@
1
1
  // Auto-generated — do not edit
2
- const VERSION = '21.7.5-develop.2';
2
+ const VERSION = '21.7.5-develop.4';
3
3
 
4
4
  const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;
5
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"onemrvapublic-design-system.mjs","sources":["../../../../projects/onemrva/design-system/version.ts","../../../../projects/onemrva/design-system/index.ts","../../../../projects/onemrva/design-system/onemrvapublic-design-system.ts"],"sourcesContent":["// Auto-generated — do not edit\nexport const VERSION = '21.7.5-develop.2';\n","export { VERSION } from './version';\n\nexport const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACO,MAAM,OAAO,GAAG;;ACChB,MAAM,yCAAyC,GAAG;;ACFzD;;AAEG;;;;"}
1
+ {"version":3,"file":"onemrvapublic-design-system.mjs","sources":["../../../../projects/onemrva/design-system/version.ts","../../../../projects/onemrva/design-system/index.ts","../../../../projects/onemrva/design-system/onemrvapublic-design-system.ts"],"sourcesContent":["// Auto-generated — do not edit\nexport const VERSION = '21.7.5-develop.4';\n","export { VERSION } from './version';\n\nexport const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACO,MAAM,OAAO,GAAG;;ACChB,MAAM,yCAAyC,GAAG;;ACFzD;;AAEG;;;;"}
@@ -133,6 +133,10 @@
133
133
 
134
134
  &.collapsed {
135
135
  --sideNavWidth: var(--sideNavWidthCollapsed);
136
+
137
+ onemrva-layout-left-sidenav {
138
+ width: var(--sideNavWidthCollapsed);
139
+ }
136
140
  }
137
141
 
138
142
  grid-template-areas:
@@ -14,6 +14,8 @@
14
14
  }
15
15
 
16
16
  &.collapsed {
17
+ width: var(--sideNavWidthCollapsed);
18
+
17
19
  .toggle-container {
18
20
  justify-content: center;
19
21
  }
@@ -12,10 +12,25 @@ $box-shadow: 0px 3px 3px #312f3a29;
12
12
  background-color: var(--mat-sys-primary-container);
13
13
  border: 1px solid var(--mat-sys-primary-container);
14
14
  padding: var(--double-spacer);
15
- display: block;
15
+ display: flex;
16
+ flex-direction: column;
16
17
 
17
- .file-panel-title-action button {
18
- color: #6e68ae;
18
+ .file-panel-title {
19
+ font: var(--mat-sys-title-medium);
20
+ display: flex;
21
+ flex-direction: row;
22
+ justify-content: space-between;
23
+ width: 100%;
24
+ }
25
+
26
+ .file-panel-title-action {
27
+ display: flex;
28
+ align-items: center;
29
+ max-height: 1em;
30
+
31
+ button {
32
+ color: #6e68ae;
33
+ }
19
34
  }
20
35
 
21
36
  .file-panel-content {
@@ -40,14 +55,18 @@ $box-shadow: 0px 3px 3px #312f3a29;
40
55
  }
41
56
 
42
57
  .file-panel-title {
43
- .file-panel-title-left {
44
- display: inline-flex;
45
- align-items: center;
46
- gap: var(--spacer);
47
- }
48
58
  font: var(--mat-sys-title-medium);
49
59
  margin-bottom: 0;
50
60
  color: var(--mat-sys-on-primary-container);
61
+ display: flex;
62
+ align-items: center;
63
+
64
+ .file-name {
65
+ display: flex;
66
+ align-items: center;
67
+ gap: 0 var(--spacer);
68
+ }
69
+
51
70
  &:before {
52
71
  margin-right: var(--spacer);
53
72
  margin-top: var(--quarter-spacer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system",
3
- "version": "21.7.5-develop.2",
3
+ "version": "21.7.5-develop.4",
4
4
  "description": "Design System Onem/Rva without theme included",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -18,7 +18,7 @@ import { HttpEvent } from '@angular/common/http';
18
18
 
19
19
  interface ProgressFile {
20
20
  file?: File;
21
- message: string;
21
+ message?: string;
22
22
  progress: number;
23
23
  color: OnemrvaMatColor;
24
24
  url: string | null;
@@ -42,7 +42,7 @@ interface ReferencedProgressFile extends ProgressFile {
42
42
  declare function formatBytes(bytes: number, decimals?: number): string;
43
43
  declare function formattedSize(size: number | null, decimals?: number): string;
44
44
  declare function convertToProgressFile(id: string, name: string, message?: string, progress?: number, color?: "primary", url?: string | null, enableProgressBar?: boolean, data?: string | null, size?: number, type?: string, maxSize?: null): ProgressFile;
45
- declare function convertToReferencedProgressFile(id: string, name: string, message?: string, progress?: number, color?: "primary", url?: string | null, enableProgressBar?: boolean, data?: string | null, size?: number, type?: string, maxSize?: null): ReferencedProgressFile;
45
+ declare function convertToReferencedProgressFile(id: string, name: string, message?: undefined, progress?: number, color?: "primary", url?: string | null, enableProgressBar?: boolean, data?: string | null, size?: number, type?: string, maxSize?: null): ReferencedProgressFile;
46
46
 
47
47
  interface ActionConfig {
48
48
  iconName: string;
@@ -60,23 +60,24 @@ declare class OnemrvaFilePanelComponent {
60
60
  readonly file: _angular_core.InputSignal<ReferencedProgressFile>;
61
61
  readonly actions: _angular_core.InputSignal<ActionConfig[]>;
62
62
  readonly showProgress: _angular_core.InputSignal<boolean>;
63
- readonly displayDate: _angular_core.InputSignal<string>;
63
+ readonly displayDate: _angular_core.InputSignal<string | undefined>;
64
64
  readonly maxFileSize: _angular_core.InputSignal<number>;
65
65
  readonly disabled: _angular_core.InputSignal<boolean>;
66
- panelClick: _angular_core.OutputEmitterRef<void>;
66
+ panelClick: _angular_core.OutputEmitterRef<ReferencedProgressFile>;
67
67
  readonly progress: _angular_core.Signal<number>;
68
68
  readonly size: _angular_core.Signal<string>;
69
69
  readonly color: _angular_core.Signal<OnemrvaMatColor>;
70
- protected readonly colorAccent: _angular_core.Signal<"" | null>;
70
+ protected readonly isAccent: _angular_core.Signal<boolean>;
71
71
  protected readonly isError: _angular_core.Signal<boolean>;
72
72
  protected readonly isWarn: _angular_core.Signal<boolean>;
73
73
  protected readonly isSuccess: _angular_core.Signal<boolean>;
74
74
  protected readonly isPrimary: _angular_core.Signal<boolean>;
75
75
  protected readonly formattedSize: typeof formattedSize;
76
76
  readonly finalActions: _angular_core.Signal<ActionConfig[]>;
77
+ onActionClick(event: Event, action: any): void;
77
78
  onPanelClick(): void;
78
79
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaFilePanelComponent, never>;
79
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaFilePanelComponent, "file-panel", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "dataCy": { "alias": "dataCy"; "required": false; "isSignal": true; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; "displayDate": { "alias": "displayDate"; "required": false; "isSignal": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "panelClick": "panelClick"; }, never, never, true, never>;
80
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaFilePanelComponent, "file-panel", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "dataCy": { "alias": "dataCy"; "required": false; "isSignal": true; }; "file": { "alias": "file"; "required": true; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; "displayDate": { "alias": "displayDate"; "required": false; "isSignal": true; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "panelClick": "panelClick"; }, never, ["*"], true, never>;
80
81
  }
81
82
 
82
83
  declare class OnemrvaMatFileUploadComponent implements OnInit {
@@ -1,4 +1,4 @@
1
- declare const VERSION = "21.7.5-develop.2";
1
+ declare const VERSION = "21.7.5-develop.4";
2
2
 
3
3
  declare const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;
4
4