@sentropic/design-system-vue 0.36.51 → 0.36.52

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
@@ -17459,51 +17459,79 @@
17459
17459
 
17460
17460
  .st-appShell--workspace {
17461
17461
  display: grid;
17462
- grid-template-areas:
17463
- "top top top top"
17464
- "rail nav main context"
17465
- "bottom bottom bottom bottom";
17466
- grid-template-columns: auto minmax(0, var(--st-component-navShell-width, 18rem)) minmax(0, 1fr) minmax(0, var(--st-component-contextPanel-width, 20rem));
17462
+ grid-template-columns: minmax(0, 1fr);
17467
17463
  grid-template-rows: auto minmax(0, 1fr) auto;
17468
17464
  position: relative;
17469
17465
  }
17470
17466
 
17471
- .st-appShell--workspace:has(.st-appShell__utilityPanel)[data-utility-mode="reserve"]:not([data-utility-side]),
17472
- .st-appShell--workspace:has(.st-appShell__utilityPanel)[data-utility-mode="reserve"][data-utility-side="right"] {
17473
- grid-template-areas:
17474
- "top top top top top"
17475
- "rail nav main context utility"
17476
- "bottom bottom bottom bottom bottom";
17477
- 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));
17478
- grid-template-rows: auto minmax(0, 1fr) auto;
17467
+ /* The body owns the horizontal layout: a flex row whose panels collapse when
17468
+ they aren't rendered, so empty rail/nav/context/utility columns are never
17469
+ reserved (a dashboard providing only `main` gets the full width). The outer
17470
+ element only stacks top / body / bottom. */
17471
+ .st-appShell__body {
17472
+ grid-row: 2;
17473
+ display: flex;
17474
+ flex-flow: row nowrap;
17475
+ min-block-size: 0;
17476
+ min-inline-size: 0;
17477
+ position: relative;
17479
17478
  }
17480
17479
 
17481
- .st-appShell--workspace:has(.st-appShell__utilityPanel)[data-utility-mode="reserve"][data-utility-side="left"] {
17482
- grid-template-areas:
17483
- "top top top top top"
17484
- "rail nav utility main context"
17485
- "bottom bottom bottom bottom bottom";
17486
- 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));
17487
- grid-template-rows: auto minmax(0, 1fr) auto;
17480
+ .st-appShell[data-utility-side="bottom"] .st-appShell__body {
17481
+ flex-wrap: wrap;
17482
+ }
17483
+
17484
+ .st-appShell__topChrome { grid-row: 1; }
17485
+ .st-appShell__bottomPanel { grid-row: 3; }
17486
+
17487
+ .st-appShell__primaryRail {
17488
+ order: 10;
17489
+ flex: 0 0 auto;
17490
+ min-block-size: 0;
17491
+ overflow: hidden;
17492
+ }
17493
+
17494
+ .st-appShell__navigationPanel {
17495
+ order: 20;
17496
+ flex: 0 1 auto;
17497
+ inline-size: var(--st-component-navShell-width, 18rem);
17498
+ min-block-size: 0;
17499
+ overflow: hidden;
17500
+ }
17501
+
17502
+ .st-appShell__main {
17503
+ order: 30;
17504
+ flex: 1 1 0;
17505
+ min-block-size: 0;
17506
+ min-inline-size: 0;
17507
+ overflow: auto;
17488
17508
  }
17489
17509
 
17490
- .st-appShell--workspace:has(.st-appShell__utilityPanel)[data-utility-mode="reserve"][data-utility-side="bottom"] {
17491
- grid-template-areas:
17492
- "top top top top"
17493
- "rail nav main context"
17494
- "rail nav utility utility"
17495
- "bottom bottom bottom bottom";
17496
- grid-template-columns: auto minmax(0, var(--st-component-navShell-width, 18rem)) minmax(0, 1fr) minmax(0, var(--st-component-contextPanel-width, 20rem));
17497
- grid-template-rows: auto minmax(0, 1fr) auto auto;
17510
+ .st-appShell__contextPanel {
17511
+ order: 40;
17512
+ flex: 0 1 auto;
17513
+ inline-size: var(--st-component-contextPanel-width, 20rem);
17514
+ min-block-size: 0;
17515
+ overflow: hidden;
17498
17516
  }
17499
17517
 
17500
- .st-appShell__topChrome { grid-area: top; }
17501
- .st-appShell__primaryRail { grid-area: rail; min-block-size: 0; }
17502
- .st-appShell__navigationPanel { grid-area: nav; min-block-size: 0; overflow: hidden; }
17503
- .st-appShell__main { grid-area: main; min-block-size: 0; min-inline-size: 0; overflow: auto; }
17504
- .st-appShell__contextPanel { grid-area: context; min-block-size: 0; overflow: hidden; }
17505
- .st-appShell__utilityPanel { grid-area: utility; inline-size: 100%; min-block-size: 0; overflow: hidden; }
17506
- .st-appShell__bottomPanel { grid-area: bottom; }
17518
+ .st-appShell__utilityPanel {
17519
+ order: 50;
17520
+ flex: 0 1 auto;
17521
+ inline-size: var(--st-component-utilityPanel-width, 24rem);
17522
+ min-block-size: 0;
17523
+ overflow: hidden;
17524
+ }
17525
+
17526
+ .st-appShell[data-utility-side="left"] .st-appShell__utilityPanel {
17527
+ order: 25;
17528
+ }
17529
+
17530
+ .st-appShell[data-utility-mode="reserve"][data-utility-side="bottom"] .st-appShell__utilityPanel {
17531
+ flex-basis: 100%;
17532
+ inline-size: auto;
17533
+ order: 60;
17534
+ }
17507
17535
 
17508
17536
  .st-appShell[data-utility-mode="overlay"] .st-appShell__utilityPanel,
17509
17537
  .st-appShell[data-utility-mode="floating"] .st-appShell__utilityPanel {
@@ -17751,17 +17779,15 @@
17751
17779
  }
17752
17780
 
17753
17781
  @media (max-width: 900px) {
17754
- .st-appShell--workspace {
17755
- grid-template-areas:
17756
- "top"
17757
- "rail"
17758
- "nav"
17759
- "main"
17760
- "context"
17761
- "utility"
17762
- "bottom";
17763
- grid-template-columns: minmax(0, 1fr);
17764
- grid-template-rows: auto auto auto minmax(0, 1fr) auto auto auto;
17782
+ .st-appShell__body {
17783
+ flex-flow: column nowrap;
17784
+ }
17785
+
17786
+ .st-appShell__primaryRail,
17787
+ .st-appShell__navigationPanel,
17788
+ .st-appShell__contextPanel,
17789
+ .st-appShell__utilityPanel {
17790
+ inline-size: auto;
17765
17791
  }
17766
17792
 
17767
17793
  .st-navRail {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentropic/design-system-vue",
3
- "version": "0.36.51",
3
+ "version": "0.36.52",
4
4
  "description": "Vue 3 components for the Sentropic design system.",
5
5
  "type": "module",
6
6
  "publishConfig": {