@onemrvapublic/design-system 22.3.0-develop.5 → 22.4.0-develop.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.
@@ -1,5 +1,5 @@
1
1
  // Auto-generated — do not edit
2
- const VERSION = '22.3.0-develop.5';
2
+ const VERSION = '22.4.0-develop.1';
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 = '22.3.0-develop.5';\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 = '22.4.0-develop.1';\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;;;;"}
@@ -0,0 +1,23 @@
1
+ onemrva-mat-panel-block {
2
+ font: var(--mat-sys-body-medium);
3
+
4
+ &.title {
5
+ font: var(--mat-sys-headline-small);
6
+ color: var(--mat-panel-title-color);
7
+ }
8
+ }
9
+
10
+ .panel-block {
11
+ display: flex;
12
+ flex-direction: column;
13
+
14
+ [blockkey] {
15
+ color: var(--Secondary-Secondary, #5f5c6d);
16
+ font: var(--mat-sys-body-small);
17
+ }
18
+
19
+ [blockValue] {
20
+ color: var(--Surface-On-Surface, #242424);
21
+ font: var(--mat-sys-body-large);
22
+ }
23
+ }
@@ -6,3 +6,8 @@
6
6
  margin: 0;
7
7
  }
8
8
  }
9
+
10
+ .panel-blocks {
11
+ display: flex;
12
+ align-items: center;
13
+ }
@@ -1,14 +1,17 @@
1
1
  .onemrva-mat-panel-title {
2
- font: var(--mat-sys-title-large);
3
- color: var(--mat-panel-title-color);
4
2
  display: flex;
5
3
  justify-content: space-between;
6
4
  width: 100%;
7
5
  align-items: center;
8
6
  }
9
7
 
8
+ onemrva-mat-panel-block {
9
+ display: flex;
10
+ align-items: center;
11
+ }
12
+
10
13
  .is-expandable {
11
14
  .onemrva-mat-panel-title {
12
- width: calc(100% - 50px);
15
+ align-items: center;
13
16
  }
14
17
  }
@@ -3,11 +3,18 @@
3
3
  :host {
4
4
  border-radius: var(--border-radius);
5
5
  border: 1px solid var(--mat-sys-outline-variant);
6
- padding: var(--triple-spacer);
6
+ padding: var(--double-spacer) var(--triple-spacer);
7
7
  display: block;
8
8
  position: relative;
9
9
  background: var(--mat-sys-surface-container-lowest);
10
10
 
11
+ hr {
12
+ margin-left: var(--triple-spacer);
13
+ border: 0;
14
+ border-radius: 0;
15
+ border-right: 1px solid var(--mat-sys-outline-variant);
16
+ }
17
+
11
18
  &.is-expandable {
12
19
  padding: 0;
13
20
  @include mat.expansion-overrides(
@@ -33,10 +40,14 @@
33
40
  }
34
41
  }
35
42
 
36
- &[class*=' mat-'],
37
- &[class^='mat-'] {
43
+ &.mat-primary {
44
+ --mat-panel-title-color: var(--mat-sys-on-primary-container);
45
+ }
46
+
47
+ &[class*=' mat-primary'],
48
+ &[class^='mat-primary'] {
38
49
  background: var(--mat-sys-primary-container);
39
- color: var(--mat-sys-on-primary-container);
50
+ //color: var(--mat-sys-on-primary-container);
40
51
  //border: none;
41
52
  }
42
53
  &.mat-accent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system",
3
- "version": "22.3.0-develop.5",
3
+ "version": "22.4.0-develop.1",
4
4
  "description": "Design System Onem/Rva without theme included",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,7 +22,9 @@
22
22
  padding: 0;
23
23
 
24
24
  .mat-expansion-indicator {
25
- margin-right: 12px;
25
+ margin-left: 24px;
26
+ display: flex;
27
+ justify-content: flex-end;
26
28
  }
27
29
  }
28
30
 
@@ -51,9 +51,10 @@ declare class OnemrvaMatPanelTitleComponent implements AfterViewInit {
51
51
  */
52
52
  declare class OnemrvaMatPanelContentComponent {
53
53
  readonly customNgClass: _angular_core.InputSignal<any>;
54
+ hasBlocks: _angular_core.InputSignal<boolean>;
54
55
  readonly template: _angular_core.Signal<TemplateRef<any> | undefined>;
55
56
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaMatPanelContentComponent, never>;
56
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaMatPanelContentComponent, "onemrva-mat-panel-content", never, { "customNgClass": { "alias": "customNgClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
57
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaMatPanelContentComponent, "onemrva-mat-panel-content", never, { "customNgClass": { "alias": "customNgClass"; "required": false; "isSignal": true; }; "hasBlocks": { "alias": "hasBlocks"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
57
58
  }
58
59
 
59
60
  /**
@@ -102,9 +103,25 @@ declare class OnemrvaMatPanelComponent implements AfterViewInit {
102
103
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaMatPanelComponent, "onemrva-mat-panel", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "data_cy": { "alias": "data_cy"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expandedChange": "expandedChange"; }, ["panel", "title", "content", "icon"], never, true, never>;
103
104
  }
104
105
 
106
+ /**
107
+ * Content slot inside an onemrva-mat-panel.
108
+ *
109
+ * Exposes 1 input and 0 outputs.
110
+ * Inputs: customNgClass: any.
111
+ * Outputs: none.
112
+ *
113
+ * @MatKeywords panel, accordion, content, expansion
114
+ * @MatGroup Layout
115
+ */
116
+ declare class OnemrvaMatPanelBlockComponent {
117
+ isTitle: _angular_core.InputSignal<boolean>;
118
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaMatPanelBlockComponent, never>;
119
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaMatPanelBlockComponent, "onemrva-mat-panel-block", never, { "isTitle": { "alias": "isTitle"; "required": false; "isSignal": true; }; }, {}, never, ["[blockKey]", "[blockValue]", "*"], true, never>;
120
+ }
121
+
105
122
  declare class OnemrvaMatPanelModule {
106
123
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaMatPanelModule, never>;
107
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<OnemrvaMatPanelModule, never, [typeof OnemrvaMatPanelComponent, typeof OnemrvaMatPanelTitleComponent, typeof OnemrvaMatPanelContentComponent, typeof OnemrvaMatPanelTitleActionComponent, typeof OnemrvaMatPanelIconComponent], [typeof OnemrvaMatPanelComponent, typeof OnemrvaMatPanelTitleComponent, typeof OnemrvaMatPanelContentComponent, typeof OnemrvaMatPanelTitleActionComponent, typeof OnemrvaMatPanelIconComponent]>;
124
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<OnemrvaMatPanelModule, never, [typeof OnemrvaMatPanelComponent, typeof OnemrvaMatPanelTitleComponent, typeof OnemrvaMatPanelContentComponent, typeof OnemrvaMatPanelTitleActionComponent, typeof OnemrvaMatPanelIconComponent, typeof OnemrvaMatPanelBlockComponent], [typeof OnemrvaMatPanelComponent, typeof OnemrvaMatPanelTitleComponent, typeof OnemrvaMatPanelContentComponent, typeof OnemrvaMatPanelTitleActionComponent, typeof OnemrvaMatPanelIconComponent, typeof OnemrvaMatPanelBlockComponent]>;
108
125
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<OnemrvaMatPanelModule>;
109
126
  }
110
127
 
@@ -113,4 +130,4 @@ declare class MatExpansionPanelHeaderArrowDivider {
113
130
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatExpansionPanelHeaderArrowDivider, "mat-expansion-panel-header-arrow-divider", never, {}, {}, never, never, true, never>;
114
131
  }
115
132
 
116
- export { MatExpansionPanelHeaderArrowDivider, OnemrvaMatPanelComponent, OnemrvaMatPanelContentComponent, OnemrvaMatPanelIconComponent, OnemrvaMatPanelModule, OnemrvaMatPanelTitleActionComponent, OnemrvaMatPanelTitleComponent };
133
+ export { MatExpansionPanelHeaderArrowDivider, OnemrvaMatPanelBlockComponent, OnemrvaMatPanelComponent, OnemrvaMatPanelContentComponent, OnemrvaMatPanelIconComponent, OnemrvaMatPanelModule, OnemrvaMatPanelTitleActionComponent, OnemrvaMatPanelTitleComponent };
@@ -1,4 +1,4 @@
1
- declare const VERSION = "22.3.0-develop.5";
1
+ declare const VERSION = "22.4.0-develop.1";
2
2
 
3
3
  declare const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;
4
4