@quilltap/theme-storybook 1.0.100 → 1.0.102

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quilltap/theme-storybook",
3
- "version": "1.0.100",
3
+ "version": "1.0.102",
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",
@@ -15,7 +15,7 @@
15
15
  * @package @quilltap/theme-storybook
16
16
  */
17
17
  @layer properties, theme, base, components, utilities;
18
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
18
+ /*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
19
19
  @layer properties;
20
20
  /* ==========================================================================
21
21
  SOURCE: app/styles/qt-components/_variables.css
@@ -1289,7 +1289,7 @@
1289
1289
  --tw-duration: 200ms;
1290
1290
  transition-duration: 200ms;
1291
1291
  &:focus-visible {
1292
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1292
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1293
1293
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1294
1294
  }
1295
1295
  &:focus-visible {
@@ -1297,7 +1297,7 @@
1297
1297
  }
1298
1298
  &:focus-visible {
1299
1299
  --tw-ring-offset-width: 2px;
1300
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1300
+ --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1301
1301
  }
1302
1302
  &:focus-visible {
1303
1303
  --tw-outline-style: none;
@@ -1420,7 +1420,7 @@
1420
1420
  font-size: var(--text-sm, 0.875rem);
1421
1421
  line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
1422
1422
  &:focus {
1423
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1423
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1424
1424
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1425
1425
  }
1426
1426
  &:focus {
@@ -1571,7 +1571,7 @@
1571
1571
  */
1572
1572
  .qt-checkbox {
1573
1573
  &:focus {
1574
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1574
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1575
1575
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1576
1576
  }
1577
1577
  width: var(--qt-checkbox-size);
@@ -1589,7 +1589,7 @@
1589
1589
  .qt-radio {
1590
1590
  border-radius: calc(infinity * 1px);
1591
1591
  &:focus {
1592
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1592
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1593
1593
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1594
1594
  }
1595
1595
  width: var(--qt-radio-size);
@@ -1614,7 +1614,7 @@
1614
1614
  */
1615
1615
  .qt-range {
1616
1616
  &:focus-visible {
1617
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1617
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1618
1618
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1619
1619
  }
1620
1620
  &:focus-visible {
@@ -1655,7 +1655,7 @@
1655
1655
  border-bottom-style: var(--tw-border-style);
1656
1656
  border-bottom-width: 0px;
1657
1657
  &:focus-visible {
1658
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1658
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1659
1659
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1660
1660
  }
1661
1661
  &:focus-visible {
@@ -1663,7 +1663,7 @@
1663
1663
  }
1664
1664
  &:focus-visible {
1665
1665
  --tw-ring-offset-width: 2px;
1666
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1666
+ --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1667
1667
  }
1668
1668
  &:focus-visible {
1669
1669
  --tw-outline-style: none;
@@ -2283,7 +2283,7 @@
2283
2283
  color: var(--theme-muted-foreground);
2284
2284
  }
2285
2285
  &:focus-visible {
2286
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2286
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2287
2287
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2288
2288
  }
2289
2289
  &:focus-visible {
@@ -2697,11 +2697,11 @@
2697
2697
  color: var(--qt-help-guide-search-placeholder, var(--color-muted-foreground));
2698
2698
  }
2699
2699
  .qt-help-guide-search-input:focus {
2700
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2700
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
2701
2701
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2702
2702
  --tw-ring-color: var(--theme-ring);
2703
2703
  --tw-ring-offset-width: 1px;
2704
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2704
+ --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2705
2705
  --tw-outline-style: none;
2706
2706
  outline-style: none;
2707
2707
  }
@@ -3535,7 +3535,7 @@
3535
3535
  --tw-duration: 200ms;
3536
3536
  transition-duration: 200ms;
3537
3537
  &:focus-visible {
3538
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
3538
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
3539
3539
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
3540
3540
  }
3541
3541
  &:focus-visible {
@@ -3543,7 +3543,7 @@
3543
3543
  }
3544
3544
  &:focus-visible {
3545
3545
  --tw-ring-offset-width: 2px;
3546
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
3546
+ --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
3547
3547
  }
3548
3548
  &:focus-visible {
3549
3549
  --tw-outline-style: none;
@@ -5114,6 +5114,54 @@
5114
5114
  .qt-chat-thinking-details {
5115
5115
  max-width: 85%;
5116
5116
  }
5117
+ /* Start-aligned variant: thinking set flush left in a column of tool cards
5118
+ (the Brahma Console), where the right offset would read as misplaced. */
5119
+ /*
5120
+ * Collapsible tool card summary (the Brahma Console's "Ran SQL" card): one
5121
+ * line that stays put; the chevron turns and the query preview hides when the
5122
+ * card is open (the full query is in the body then).
5123
+ */
5124
+ .qt-tool-card-summary {
5125
+ display: flex;
5126
+ align-items: center;
5127
+ gap: 0.5rem;
5128
+ cursor: pointer;
5129
+ -webkit-user-select: none;
5130
+ -moz-user-select: none;
5131
+ user-select: none;
5132
+ list-style: none;
5133
+ }
5134
+ .qt-tool-card-summary::-webkit-details-marker {
5135
+ display: none;
5136
+ }
5137
+ .qt-tool-card-summary > * {
5138
+ flex-shrink: 0;
5139
+ }
5140
+ .qt-tool-card-chevron {
5141
+ transition: transform 150ms ease;
5142
+ }
5143
+ details[open] > .qt-tool-card-summary .qt-tool-card-chevron {
5144
+ transform: rotate(90deg);
5145
+ }
5146
+ .qt-tool-card-summary > .qt-tool-card-preview {
5147
+ flex: 1 1 0%;
5148
+ min-width: 0;
5149
+ overflow: hidden;
5150
+ text-overflow: ellipsis;
5151
+ white-space: nowrap;
5152
+ }
5153
+ details[open] > .qt-tool-card-summary .qt-tool-card-preview {
5154
+ visibility: hidden;
5155
+ }
5156
+ .qt-chat-thinking-start {
5157
+ justify-content: flex-start;
5158
+ }
5159
+ .qt-chat-thinking-start .qt-chat-thinking-details {
5160
+ max-width: 100%;
5161
+ }
5162
+ .qt-chat-thinking-start .qt-chat-thinking-summary {
5163
+ justify-content: flex-start;
5164
+ }
5117
5165
  .qt-chat-thinking-summary {
5118
5166
  display: flex;
5119
5167
  align-items: center;
@@ -5950,7 +5998,7 @@
5950
5998
  align-items: center;
5951
5999
  justify-content: center;
5952
6000
  &:focus-visible {
5953
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
6001
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
5954
6002
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5955
6003
  }
5956
6004
  &:focus-visible {
@@ -5958,7 +6006,7 @@
5958
6006
  }
5959
6007
  &:focus-visible {
5960
6008
  --tw-ring-offset-width: 2px;
5961
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
6009
+ --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
5962
6010
  }
5963
6011
  &:focus-visible {
5964
6012
  --tw-outline-style: none;
@@ -6012,7 +6060,7 @@
6012
6060
  font-size: var(--text-sm, 0.875rem);
6013
6061
  line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
6014
6062
  &:focus {
6015
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
6063
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
6016
6064
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
6017
6065
  }
6018
6066
  &:focus {
@@ -6343,7 +6391,7 @@
6343
6391
  --tw-duration: 200ms;
6344
6392
  transition-duration: 200ms;
6345
6393
  &:focus-visible {
6346
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
6394
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
6347
6395
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
6348
6396
  }
6349
6397
  &:focus-visible {
@@ -6351,7 +6399,7 @@
6351
6399
  }
6352
6400
  &:focus-visible {
6353
6401
  --tw-ring-offset-width: 2px;
6354
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
6402
+ --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
6355
6403
  }
6356
6404
  &:focus-visible {
6357
6405
  --tw-outline-style: none;
@@ -6446,7 +6494,7 @@
6446
6494
  align-items: center;
6447
6495
  justify-content: center;
6448
6496
  &:focus-visible {
6449
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
6497
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
6450
6498
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
6451
6499
  }
6452
6500
  &:focus-visible {
@@ -6454,7 +6502,7 @@
6454
6502
  }
6455
6503
  &:focus-visible {
6456
6504
  --tw-ring-offset-width: 2px;
6457
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
6505
+ --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
6458
6506
  }
6459
6507
  &:focus-visible {
6460
6508
  --tw-outline-style: none;
@@ -10093,7 +10141,7 @@
10093
10141
  }
10094
10142
  }
10095
10143
  .qt-avatar-group .qt-avatar {
10096
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
10144
+ --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
10097
10145
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
10098
10146
  --tw-ring-color: var(--theme-background);
10099
10147
  }
@@ -13721,7 +13769,7 @@
13721
13769
  }
13722
13770
  }
13723
13771
  @layer properties {
13724
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
13772
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
13725
13773
  *, ::before, ::after, ::backdrop {
13726
13774
  --tw-font-weight: initial;
13727
13775
  --tw-duration: initial;