@quilltap/theme-storybook 1.0.102 → 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.102",
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",
@@ -8005,6 +8005,34 @@
8005
8005
  .qt-chat-attachment-chip-remove:hover {
8006
8006
  color: var(--qt-status-danger-fg);
8007
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
+ }
8008
8036
  /**
8009
8037
  * Message action bar - shows action icons at bottom of message
8010
8038
  * Persistent on mobile, replaces hover-based actions