@quilltap/theme-storybook 1.0.101 → 1.0.103

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.101",
3
+ "version": "1.0.103",
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",
@@ -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;
@@ -7957,6 +8005,34 @@
7957
8005
  .qt-chat-attachment-chip-remove:hover {
7958
8006
  color: var(--qt-status-danger-fg);
7959
8007
  }
8008
+ /**
8009
+ * In-place message editor — the notices above the textarea (a model has
8010
+ * read the line; memories it formed, with the regenerate checkbox) and the
8011
+ * Save / Cancel row beneath it.
8012
+ */
8013
+ :where(.qt-chat-message-editor > :not(:last-child)) {
8014
+ --tw-space-y-reverse: 0;
8015
+ margin-block-start: calc(calc(var(--spacing, 0.25rem) * 2) * var(--tw-space-y-reverse));
8016
+ margin-block-end: calc(calc(var(--spacing, 0.25rem) * 2) * calc(1 - var(--tw-space-y-reverse)));
8017
+ }
8018
+ :where(.qt-chat-message-editor-notice > :not(:last-child)) {
8019
+ --tw-space-y-reverse: 0;
8020
+ margin-block-start: calc(var(--spacing, 0.25rem) * var(--tw-space-y-reverse));
8021
+ margin-block-end: calc(var(--spacing, 0.25rem) * calc(1 - var(--tw-space-y-reverse)));
8022
+ }
8023
+ .qt-chat-message-editor-option {
8024
+ display: flex;
8025
+ cursor: pointer;
8026
+ align-items: flex-start;
8027
+ gap: calc(var(--spacing, 0.25rem) * 2);
8028
+ }
8029
+ .qt-chat-message-editor-option input {
8030
+ margin-top: calc(var(--spacing, 0.25rem) * 0.5);
8031
+ }
8032
+ .qt-chat-message-editor-actions {
8033
+ display: flex;
8034
+ gap: calc(var(--spacing, 0.25rem) * 2);
8035
+ }
7960
8036
  /**
7961
8037
  * Message action bar - shows action icons at bottom of message
7962
8038
  * Persistent on mobile, replaces hover-based actions