@onemrvapublic/design-system 21.7.4 → 21.7.5-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 = '21.7.4';
2
+ const VERSION = '21.7.5-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 = '21.7.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;;;;"}
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.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;;;;"}
@@ -6,9 +6,7 @@
6
6
  --sideNavWidthFull: 240px;
7
7
  --sideNavWidthCollapsed: 56px;
8
8
  --sideNavWidth: var(--sideNavWidthFull);
9
- --mainContentSize: calc(
10
- 100vh - var(--layout-header-height) - var(--layout-footer-height)
11
- );
9
+ --mainContentSize: calc(100vh - var(--layout-header-height));
12
10
 
13
11
  position: relative;
14
12
 
@@ -174,7 +172,8 @@
174
172
  }
175
173
 
176
174
  main {
177
- display: block;
175
+ display: flex;
176
+ flex-direction: column;
178
177
  grid-area: main;
179
178
  position: relative;
180
179
  width: 100%;
@@ -190,11 +189,13 @@
190
189
  }
191
190
 
192
191
  & > section {
192
+ display: flex;
193
+ flex-direction: column;
194
+ flex-grow: 1;
193
195
  width: 95%;
194
196
  max-width: 1400px;
195
197
  margin-left: auto;
196
198
  margin-right: auto;
197
- min-height: calc(var(--mainContentSize) - 60px);
198
199
  }
199
200
  }
200
201
 
@@ -242,6 +243,7 @@
242
243
  }
243
244
 
244
245
  .onemrva-footer {
246
+ margin-top: auto;
245
247
  height: var(--layout-footer-height);
246
248
  max-height: var(--layout-footer-height);
247
249
  overflow: hidden;
@@ -2,6 +2,7 @@
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  overflow-y: hidden;
5
+ min-height: calc(100vh - var(--layout-header-height));
5
6
  max-height: calc(100vh - var(--layout-header-height));
6
7
  width: var(--sideNavWidth);
7
8
  transition: width 0.3s ease;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onemrvapublic/design-system",
3
- "version": "21.7.4",
3
+ "version": "21.7.5-develop.1",
4
4
  "description": "Design System Onem/Rva without theme included",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -159,9 +159,11 @@ declare class OnemrvaDrawerService {
159
159
  declare class OnemrvaLeftSidenavService {
160
160
  private originalItems;
161
161
  readonly items: WritableSignal<NavItem[]>;
162
+ isCollapsed: WritableSignal<boolean>;
162
163
  setOriginal(items: NavItem[]): void;
163
164
  updateItems(items: NavItem[]): void;
164
165
  reset(): void;
166
+ toggleIsCollapsed(): void;
165
167
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaLeftSidenavService, never>;
166
168
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<OnemrvaLeftSidenavService>;
167
169
  }
@@ -202,7 +204,6 @@ declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
202
204
  onemrvaClass: string;
203
205
  private map;
204
206
  activeTheme: _angular_core.WritableSignal<"light" | "dark" | "system">;
205
- isCollapsed: _angular_core.WritableSignal<boolean>;
206
207
  color: Signal<OnemrvaMatColor>;
207
208
  toggleTheme(newTheme: 'light' | 'dark' | 'system'): void;
208
209
  readonly OnemrvaMatColor: {
@@ -300,7 +301,7 @@ declare function ObservableContent(): (target: any, propertyKey: string) => void
300
301
 
301
302
  declare class OnemrvaLayoutModule {
302
303
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaLayoutModule, never>;
303
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<OnemrvaLayoutModule, never, [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof LayoutLeftSidenavComponent, typeof StripHtmlPipe, typeof DrawerHostDirective, typeof i14.CommonModule, typeof _angular_router.RouterModule, typeof i16.LayoutModule, typeof i17.MatToolbarModule, typeof i18.MatDividerModule, typeof i19.MatSidenavModule, typeof i20.MatTabsModule, typeof i21.MatButtonModule, typeof i22.MatMenuModule, typeof i23.MatIconModule, typeof i24.OnemrvaMatAvatarModule, typeof i25.MatTooltipModule, typeof i26.TranslateModule, typeof i27.MatRipple], [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof LayoutLeftSidenavComponent, typeof i16.LayoutModule]>;
304
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<OnemrvaLayoutModule, never, [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof LayoutLeftSidenavComponent, typeof StripHtmlPipe, typeof DrawerHostDirective, typeof i14.CommonModule, typeof _angular_router.RouterModule, typeof i16.LayoutModule, typeof i17.MatToolbarModule, typeof i18.MatDividerModule, typeof i19.MatSidenavModule, typeof i20.MatTabsModule, typeof i21.MatButtonModule, typeof i22.MatMenuModule, typeof i23.MatIconModule, typeof i24.OnemrvaMatAvatarComponent, typeof i25.MatTooltipModule, typeof i26.TranslateModule, typeof i27.MatRipple], [typeof LayoutComponent, typeof LayoutContentComponent, typeof LayoutFooterComponent, typeof LayoutRouteComponent, typeof LayoutSubrouteComponent, typeof LayoutTitleComponent, typeof LayoutSidenavTitleComponent, typeof LayoutSidenavComponent, typeof LayoutLoginMenuComponent, typeof LayoutAfterNavComponent, typeof LayoutLeftSidenavComponent, typeof i16.LayoutModule]>;
304
305
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<OnemrvaLayoutModule>;
305
306
  }
306
307
 
@@ -58,10 +58,4 @@ declare class OnemrvaMatAvatarComponent implements OnInit {
58
58
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<OnemrvaMatAvatarComponent, "onemrva-mat-avatar", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "roundShape": { "alias": "roundShape"; "required": false; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
59
59
  }
60
60
 
61
- declare class OnemrvaMatAvatarModule {
62
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<OnemrvaMatAvatarModule, never>;
63
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<OnemrvaMatAvatarModule, never, [typeof OnemrvaMatAvatarComponent], [typeof OnemrvaMatAvatarComponent]>;
64
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<OnemrvaMatAvatarModule>;
65
- }
66
-
67
- export { MatAvatarType, OnemrvaMatAvatarComponent, OnemrvaMatAvatarModule };
61
+ export { MatAvatarType, OnemrvaMatAvatarComponent };
@@ -1,4 +1,4 @@
1
- declare const VERSION = "21.7.4";
1
+ declare const VERSION = "21.7.5-develop.1";
2
2
 
3
3
  declare const ɵɵtsModuleIndicatorApiExtractorWorkaround = true;
4
4