@quilltap/theme-storybook 1.0.92 → 1.0.94

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.
package/dist/index.css CHANGED
@@ -770,6 +770,12 @@ body {
770
770
  box-shadow: var(--qt-card-shadow-hover);
771
771
  transform: translateY(-2px);
772
772
  }
773
+ .qt-card:has([aria-haspopup][aria-expanded=true]),
774
+ .qt-card-interactive:has([aria-haspopup][aria-expanded=true]) {
775
+ position: relative;
776
+ z-index: 20;
777
+ transform: none;
778
+ }
773
779
  .qt-card-header {
774
780
  padding: var(--qt-card-padding);
775
781
  padding-bottom: 0;
@@ -2501,6 +2507,9 @@ body {
2501
2507
  .qt-bg-card {
2502
2508
  background-color: var(--color-card);
2503
2509
  }
2510
+ .qt-bg-popover {
2511
+ background-color: var(--qt-popover-bg);
2512
+ }
2504
2513
  .qt-border {
2505
2514
  border-color: var(--color-border);
2506
2515
  }
@@ -3175,10 +3184,14 @@ body {
3175
3184
  .qt-page-toolbar-left {
3176
3185
  display: flex;
3177
3186
  align-items: center;
3187
+ flex: 1 1 0%;
3178
3188
  min-width: 2.5rem;
3179
3189
  }
3190
+ .qt-page-toolbar-left:empty {
3191
+ flex: 0 1 auto;
3192
+ }
3180
3193
  .qt-page-toolbar-center {
3181
- flex: 1 1 0%;
3194
+ flex: 0 1 32rem;
3182
3195
  display: flex;
3183
3196
  justify-content: center;
3184
3197
  padding-left: 1rem;
@@ -3189,6 +3202,7 @@ body {
3189
3202
  display: flex;
3190
3203
  align-items: center;
3191
3204
  gap: 0.5rem;
3205
+ flex-shrink: 0;
3192
3206
  min-width: 2.5rem;
3193
3207
  justify-content: flex-end;
3194
3208
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quilltap/theme-storybook",
3
- "version": "1.0.92",
3
+ "version": "1.0.94",
4
4
  "description": "Storybook preset and stories for developing Quilltap theme plugins",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -762,6 +762,13 @@
762
762
  transform: translateY(-2px);
763
763
  }
764
764
 
765
+ .qt-card:has([aria-haspopup][aria-expanded="true"]),
766
+ .qt-card-interactive:has([aria-haspopup][aria-expanded="true"]) {
767
+ position: relative;
768
+ z-index: 20;
769
+ transform: none;
770
+ }
771
+
765
772
  .qt-card-header {
766
773
  padding: var(--qt-card-padding);
767
774
  padding-bottom: 0;
@@ -3055,6 +3062,10 @@
3055
3062
  background-color: var(--color-card);
3056
3063
  }
3057
3064
 
3065
+ .qt-bg-popover {
3066
+ background-color: var(--qt-popover-bg);
3067
+ }
3068
+
3058
3069
  .qt-border {
3059
3070
  border-color: var(--color-border);
3060
3071
  }
@@ -3985,15 +3996,24 @@
3985
3996
  -webkit-backdrop-filter: var(--qt-app-header-blur);
3986
3997
  }
3987
3998
 
3999
+ /* With page content, the left section takes whatever the search bar and the
4000
+ right section leave over — never the other way round — so a crowded
4001
+ breadcrumb compacts itself instead of squeezing the search bar. */
3988
4002
  .qt-page-toolbar-left {
3989
4003
  display: flex;
3990
4004
  align-items: center;
4005
+ flex: 1 1 0%;
3991
4006
  /* Reserve space for hamburger on mobile, empty on desktop */
3992
4007
  min-width: 2.5rem;
3993
4008
  }
3994
4009
 
4010
+ /* Empty, it claims no spare room, so the search bar sits where it always has. */
4011
+ .qt-page-toolbar-left:empty {
4012
+ flex: 0 1 auto;
4013
+ }
4014
+
3995
4015
  .qt-page-toolbar-center {
3996
- flex: 1 1 0%;
4016
+ flex: 0 1 32rem;
3997
4017
  display: flex;
3998
4018
  justify-content: center;
3999
4019
  padding-left: 1rem;
@@ -4005,6 +4025,7 @@
4005
4025
  display: flex;
4006
4026
  align-items: center;
4007
4027
  gap: 0.5rem;
4028
+ flex-shrink: 0;
4008
4029
  /* Balance with left section */
4009
4030
  min-width: 2.5rem;
4010
4031
  justify-content: flex-end;