@sentropic/design-system-angular 0.36.54 → 0.36.55

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 (2) hide show
  1. package/dist/styles.css +72 -46
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -17482,51 +17482,79 @@
17482
17482
 
17483
17483
  .st-appShell--workspace {
17484
17484
  display: grid;
17485
- grid-template-areas:
17486
- "top top top top"
17487
- "rail nav main context"
17488
- "bottom bottom bottom bottom";
17489
- grid-template-columns: auto minmax(0, var(--st-component-navShell-width, 18rem)) minmax(0, 1fr) minmax(0, var(--st-component-contextPanel-width, 20rem));
17485
+ grid-template-columns: minmax(0, 1fr);
17490
17486
  grid-template-rows: auto minmax(0, 1fr) auto;
17491
17487
  position: relative;
17492
17488
  }
17493
17489
 
17494
- .st-appShell--workspace:has(.st-appShell__utilityPanel)[data-utility-mode="reserve"]:not([data-utility-side]),
17495
- .st-appShell--workspace:has(.st-appShell__utilityPanel)[data-utility-mode="reserve"][data-utility-side="right"] {
17496
- grid-template-areas:
17497
- "top top top top top"
17498
- "rail nav main context utility"
17499
- "bottom bottom bottom bottom bottom";
17500
- grid-template-columns: auto minmax(0, var(--st-component-navShell-width, 18rem)) minmax(0, 1fr) minmax(0, var(--st-component-contextPanel-width, 20rem)) minmax(0, var(--st-component-utilityPanel-width, 24rem));
17501
- grid-template-rows: auto minmax(0, 1fr) auto;
17490
+ /* The body owns the horizontal layout: a flex row whose panels collapse when
17491
+ they aren't rendered, so empty rail/nav/context/utility columns are never
17492
+ reserved (a dashboard providing only `main` gets the full width). The outer
17493
+ element only stacks top / body / bottom. */
17494
+ .st-appShell__body {
17495
+ grid-row: 2;
17496
+ display: flex;
17497
+ flex-flow: row nowrap;
17498
+ min-block-size: 0;
17499
+ min-inline-size: 0;
17500
+ position: relative;
17502
17501
  }
17503
17502
 
17504
- .st-appShell--workspace:has(.st-appShell__utilityPanel)[data-utility-mode="reserve"][data-utility-side="left"] {
17505
- grid-template-areas:
17506
- "top top top top top"
17507
- "rail nav utility main context"
17508
- "bottom bottom bottom bottom bottom";
17509
- grid-template-columns: auto minmax(0, var(--st-component-navShell-width, 18rem)) minmax(0, var(--st-component-utilityPanel-width, 24rem)) minmax(0, 1fr) minmax(0, var(--st-component-contextPanel-width, 20rem));
17510
- grid-template-rows: auto minmax(0, 1fr) auto;
17503
+ .st-appShell[data-utility-side="bottom"] .st-appShell__body {
17504
+ flex-wrap: wrap;
17505
+ }
17506
+
17507
+ .st-appShell__topChrome { grid-row: 1; }
17508
+ .st-appShell__bottomPanel { grid-row: 3; }
17509
+
17510
+ .st-appShell__primaryRail {
17511
+ order: 10;
17512
+ flex: 0 0 auto;
17513
+ min-block-size: 0;
17514
+ overflow: hidden;
17515
+ }
17516
+
17517
+ .st-appShell__navigationPanel {
17518
+ order: 20;
17519
+ flex: 0 1 auto;
17520
+ inline-size: var(--st-component-navShell-width, 18rem);
17521
+ min-block-size: 0;
17522
+ overflow: hidden;
17523
+ }
17524
+
17525
+ .st-appShell__main {
17526
+ order: 30;
17527
+ flex: 1 1 0;
17528
+ min-block-size: 0;
17529
+ min-inline-size: 0;
17530
+ overflow: auto;
17511
17531
  }
17512
17532
 
17513
- .st-appShell--workspace:has(.st-appShell__utilityPanel)[data-utility-mode="reserve"][data-utility-side="bottom"] {
17514
- grid-template-areas:
17515
- "top top top top"
17516
- "rail nav main context"
17517
- "rail nav utility utility"
17518
- "bottom bottom bottom bottom";
17519
- grid-template-columns: auto minmax(0, var(--st-component-navShell-width, 18rem)) minmax(0, 1fr) minmax(0, var(--st-component-contextPanel-width, 20rem));
17520
- grid-template-rows: auto minmax(0, 1fr) auto auto;
17533
+ .st-appShell__contextPanel {
17534
+ order: 40;
17535
+ flex: 0 1 auto;
17536
+ inline-size: var(--st-component-contextPanel-width, 20rem);
17537
+ min-block-size: 0;
17538
+ overflow: hidden;
17521
17539
  }
17522
17540
 
17523
- .st-appShell__topChrome { grid-area: top; }
17524
- .st-appShell__primaryRail { grid-area: rail; min-block-size: 0; }
17525
- .st-appShell__navigationPanel { grid-area: nav; min-block-size: 0; overflow: hidden; }
17526
- .st-appShell__main { grid-area: main; min-block-size: 0; min-inline-size: 0; overflow: auto; }
17527
- .st-appShell__contextPanel { grid-area: context; min-block-size: 0; overflow: hidden; }
17528
- .st-appShell__utilityPanel { grid-area: utility; inline-size: 100%; min-block-size: 0; overflow: hidden; }
17529
- .st-appShell__bottomPanel { grid-area: bottom; }
17541
+ .st-appShell__utilityPanel {
17542
+ order: 50;
17543
+ flex: 0 1 auto;
17544
+ inline-size: var(--st-component-utilityPanel-width, 24rem);
17545
+ min-block-size: 0;
17546
+ overflow: hidden;
17547
+ }
17548
+
17549
+ .st-appShell[data-utility-side="left"] .st-appShell__utilityPanel {
17550
+ order: 25;
17551
+ }
17552
+
17553
+ .st-appShell[data-utility-mode="reserve"][data-utility-side="bottom"] .st-appShell__utilityPanel {
17554
+ flex-basis: 100%;
17555
+ inline-size: auto;
17556
+ order: 60;
17557
+ }
17530
17558
 
17531
17559
  .st-appShell[data-utility-mode="overlay"] .st-appShell__utilityPanel,
17532
17560
  .st-appShell[data-utility-mode="floating"] .st-appShell__utilityPanel {
@@ -17774,17 +17802,15 @@
17774
17802
  }
17775
17803
 
17776
17804
  @media (max-width: 900px) {
17777
- .st-appShell--workspace {
17778
- grid-template-areas:
17779
- "top"
17780
- "rail"
17781
- "nav"
17782
- "main"
17783
- "context"
17784
- "utility"
17785
- "bottom";
17786
- grid-template-columns: minmax(0, 1fr);
17787
- grid-template-rows: auto auto auto minmax(0, 1fr) auto auto auto;
17805
+ .st-appShell__body {
17806
+ flex-flow: column nowrap;
17807
+ }
17808
+
17809
+ .st-appShell__primaryRail,
17810
+ .st-appShell__navigationPanel,
17811
+ .st-appShell__contextPanel,
17812
+ .st-appShell__utilityPanel {
17813
+ inline-size: auto;
17788
17814
  }
17789
17815
 
17790
17816
  .st-navRail {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/design-system-angular",
3
- "version": "0.36.54",
3
+ "version": "0.36.55",
4
4
  "description": "Angular components for the Sentropic design system.",
5
5
  "type": "module",
6
6
  "publishConfig": {