@joewinke/jatui 0.1.22 → 0.1.24

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 (124) hide show
  1. package/CLAUDE.md +244 -0
  2. package/package.json +23 -10
  3. package/src/lib/actions/collapse.ts +0 -134
  4. package/src/lib/actions/railNav.ts +0 -473
  5. package/src/lib/components/AnnotationLayer.svelte +0 -108
  6. package/src/lib/components/AnnotationPanel.svelte +0 -319
  7. package/src/lib/components/AudioWaveform.svelte +0 -698
  8. package/src/lib/components/AvailabilityModal.svelte +0 -177
  9. package/src/lib/components/AvatarUpload.svelte +0 -234
  10. package/src/lib/components/Badge.svelte +0 -38
  11. package/src/lib/components/BookingForm.svelte +0 -278
  12. package/src/lib/components/BurndownChart.svelte +0 -778
  13. package/src/lib/components/Button.svelte +0 -81
  14. package/src/lib/components/CalendarPicker.svelte +0 -284
  15. package/src/lib/components/Card.svelte +0 -67
  16. package/src/lib/components/CharacterCounter.svelte +0 -82
  17. package/src/lib/components/ChipInput.svelte +0 -609
  18. package/src/lib/components/Collapse.svelte +0 -82
  19. package/src/lib/components/ColorSelector.svelte +0 -167
  20. package/src/lib/components/CommentThread.svelte +0 -773
  21. package/src/lib/components/ConfirmDialog.svelte +0 -348
  22. package/src/lib/components/ConfirmModal.svelte +0 -142
  23. package/src/lib/components/ContextMenu.svelte +0 -188
  24. package/src/lib/components/CountdownTimer.svelte +0 -94
  25. package/src/lib/components/DateRangePicker.svelte +0 -194
  26. package/src/lib/components/Drawer.svelte +0 -143
  27. package/src/lib/components/EmojiPicker.svelte +0 -159
  28. package/src/lib/components/EntityPreviewCard.svelte +0 -104
  29. package/src/lib/components/FileDropzone.svelte +0 -493
  30. package/src/lib/components/FilePicker.svelte +0 -488
  31. package/src/lib/components/FileThumbnail.svelte +0 -80
  32. package/src/lib/components/FilterDropdown.svelte +0 -203
  33. package/src/lib/components/FloatingActionBar.svelte +0 -354
  34. package/src/lib/components/GPSTracker.svelte +0 -202
  35. package/src/lib/components/HunkDiffView.svelte +0 -348
  36. package/src/lib/components/ImageLightbox.svelte +0 -274
  37. package/src/lib/components/ImageUpload.svelte +0 -147
  38. package/src/lib/components/InlineEdit.svelte +0 -291
  39. package/src/lib/components/InputDialog.svelte +0 -327
  40. package/src/lib/components/KeyboardShortcutsOverlay.svelte +0 -296
  41. package/src/lib/components/LazyImage.svelte +0 -123
  42. package/src/lib/components/LinkShortener.svelte +0 -274
  43. package/src/lib/components/LoadingSpinner.svelte +0 -106
  44. package/src/lib/components/LocationMap.svelte +0 -186
  45. package/src/lib/components/MapView.svelte +0 -341
  46. package/src/lib/components/MarkupEditor.svelte +0 -485
  47. package/src/lib/components/MarkupOverlay.svelte +0 -55
  48. package/src/lib/components/MediaWorkbench.svelte +0 -871
  49. package/src/lib/components/MilestoneCard.svelte +0 -98
  50. package/src/lib/components/MilestoneTimeline.svelte +0 -91
  51. package/src/lib/components/Modal.svelte +0 -244
  52. package/src/lib/components/PDFViewer.svelte +0 -105
  53. package/src/lib/components/PdfThumbnail.svelte +0 -63
  54. package/src/lib/components/PhoneInput.svelte +0 -212
  55. package/src/lib/components/ResizableDivider.svelte +0 -307
  56. package/src/lib/components/ResizablePanel.svelte +0 -305
  57. package/src/lib/components/SearchDropdown.svelte +0 -421
  58. package/src/lib/components/SelectInput.svelte +0 -237
  59. package/src/lib/components/SidebarUserFooter.svelte +0 -34
  60. package/src/lib/components/SignaturePad.svelte +0 -175
  61. package/src/lib/components/SmartImageEditor.svelte +0 -720
  62. package/src/lib/components/SortDropdown.svelte +0 -156
  63. package/src/lib/components/Sparkline.svelte +0 -116
  64. package/src/lib/components/SpeechForm.svelte +0 -114
  65. package/src/lib/components/StatusBadge.svelte +0 -157
  66. package/src/lib/components/TaskTypeIcon.svelte +0 -54
  67. package/src/lib/components/TextArea.svelte +0 -162
  68. package/src/lib/components/TextInput.svelte +0 -131
  69. package/src/lib/components/ThemeSelector.svelte +0 -206
  70. package/src/lib/components/TimeSlotPicker.svelte +0 -162
  71. package/src/lib/components/UserAvatar.svelte +0 -72
  72. package/src/lib/components/VariablePicker.svelte +0 -170
  73. package/src/lib/components/VoicePlayer.svelte +0 -422
  74. package/src/lib/components/linked-columns/LinkedColumns.svelte +0 -526
  75. package/src/lib/components/markup.ts +0 -287
  76. package/src/lib/components/messaging/Avatar.svelte +0 -81
  77. package/src/lib/components/messaging/ChannelInfoModal.svelte +0 -163
  78. package/src/lib/components/messaging/ChannelList.svelte +0 -107
  79. package/src/lib/components/messaging/ChannelMemberAvatarStack.svelte +0 -69
  80. package/src/lib/components/messaging/ChannelMembersModal.svelte +0 -182
  81. package/src/lib/components/messaging/CreateChannelModal.svelte +0 -190
  82. package/src/lib/components/messaging/DirectMessageList.svelte +0 -145
  83. package/src/lib/components/messaging/EmojiSelector.svelte +0 -261
  84. package/src/lib/components/messaging/MentionAutocomplete.svelte +0 -193
  85. package/src/lib/components/messaging/MessageAttachment.svelte +0 -273
  86. package/src/lib/components/messaging/MessageAttachmentUpload.svelte +0 -243
  87. package/src/lib/components/messaging/MessageInput.svelte +0 -452
  88. package/src/lib/components/messaging/MessageItem.svelte +0 -341
  89. package/src/lib/components/messaging/MessageThread.svelte +0 -306
  90. package/src/lib/components/messaging/NotificationSettingsModal.svelte +0 -234
  91. package/src/lib/components/messaging/QuotedMessageDisplay.svelte +0 -123
  92. package/src/lib/components/messaging/StartDMModal.svelte +0 -100
  93. package/src/lib/components/messaging/ThreadPanel.svelte +0 -153
  94. package/src/lib/components/pipeline/DESIGN.md +0 -361
  95. package/src/lib/components/pipeline/Pipeline.svelte +0 -391
  96. package/src/lib/components/pipeline/PipelineCard.svelte +0 -94
  97. package/src/lib/components/pipeline/PipelineColumn.svelte +0 -163
  98. package/src/lib/components/replay/ChapterTimeline.svelte +0 -326
  99. package/src/lib/components/session-nav/transcriptModel.ts +0 -352
  100. package/src/lib/data/emojis.ts +0 -1208
  101. package/src/lib/index.ts +0 -405
  102. package/src/lib/stores/confirmDialog.svelte.ts +0 -48
  103. package/src/lib/stores/inputDialog.svelte.ts +0 -51
  104. package/src/lib/styles/rail.css +0 -63
  105. package/src/lib/types/annotation.ts +0 -38
  106. package/src/lib/types/booking.ts +0 -143
  107. package/src/lib/types/comments.ts +0 -97
  108. package/src/lib/types/entityPreview.ts +0 -45
  109. package/src/lib/types/filePicker.ts +0 -16
  110. package/src/lib/types/googleMaps.d.ts +0 -51
  111. package/src/lib/types/maps.ts +0 -43
  112. package/src/lib/types/messaging.ts +0 -459
  113. package/src/lib/types/milestone.ts +0 -22
  114. package/src/lib/types/pipeline.ts +0 -150
  115. package/src/lib/types/smartImageEditor.ts +0 -39
  116. package/src/lib/types/templateVars.ts +0 -36
  117. package/src/lib/utils/currency.ts +0 -20
  118. package/src/lib/utils/daisyuiColors.ts +0 -243
  119. package/src/lib/utils/dateFormatters.ts +0 -196
  120. package/src/lib/utils/googleMapsLoader.ts +0 -84
  121. package/src/lib/utils/mentionParser.ts +0 -188
  122. package/src/lib/utils/phone.ts +0 -80
  123. package/src/lib/utils/phoneFormat.ts +0 -74
  124. package/src/lib/utils/taskUtils.ts +0 -75
@@ -1,327 +0,0 @@
1
- <script lang="ts">
2
- import { fly, fade } from 'svelte/transition';
3
- import { cubicOut } from 'svelte/easing';
4
- import { tick } from 'svelte';
5
- import { getPendingInput, submitInput, cancelInput } from '../stores/inputDialog.svelte';
6
-
7
- const pending = $derived(getPendingInput());
8
- const opts = $derived(pending?.options ?? null);
9
- const visible = $derived(pending !== null);
10
-
11
- let value = $state('');
12
- let error = $state<string | null>(null);
13
- let inputRef = $state<HTMLInputElement | null>(null);
14
-
15
- $effect(() => {
16
- if (visible && opts) {
17
- value = '';
18
- error = null;
19
- tick().then(() => inputRef?.focus());
20
- }
21
- });
22
-
23
- function handleSubmit() {
24
- if (opts?.validate) {
25
- const msg = opts.validate(value);
26
- if (msg !== null) { error = msg; return; }
27
- }
28
- error = null;
29
- submitInput(value);
30
- }
31
-
32
- function handleKeydown(e: KeyboardEvent) {
33
- if (!visible) return;
34
- if (e.key === 'Escape') { e.preventDefault(); e.stopPropagation(); cancelInput(); }
35
- if (e.key === 'Enter') { e.preventDefault(); e.stopPropagation(); handleSubmit(); }
36
- }
37
-
38
- $effect(() => {
39
- window.addEventListener('keydown', handleKeydown, true);
40
- return () => window.removeEventListener('keydown', handleKeydown, true);
41
- });
42
- </script>
43
-
44
- {#if visible && opts}
45
- <!-- Scrim (above ConfirmDialog z-9990/9991) -->
46
- <div
47
- class="id-scrim"
48
- transition:fade={{ duration: 120 }}
49
- role="presentation"
50
- onclick={cancelInput}
51
- ></div>
52
-
53
- <!-- Dialog -->
54
- <div
55
- class="id-wrap"
56
- role="dialog"
57
- aria-modal="true"
58
- aria-label="{opts.title}. Press Enter to confirm or Escape to cancel."
59
- in:fly={{ y: -20, duration: 200, easing: cubicOut }}
60
- out:fade={{ duration: 120 }}
61
- >
62
- <div class="id-box">
63
- <!-- Icon + title -->
64
- <div class="id-header">
65
- <div class="id-icon">
66
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round">
67
- <path d="M12 20h9"/>
68
- <path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"/>
69
- </svg>
70
- </div>
71
- <div class="id-title-group">
72
- <h3 class="id-title">{opts.title}</h3>
73
- {#if opts.body}
74
- <p class="id-body">{opts.body}</p>
75
- {/if}
76
- </div>
77
- </div>
78
-
79
- <!-- Input field -->
80
- <input
81
- bind:this={inputRef}
82
- bind:value
83
- oninput={() => { if (error) error = null; }}
84
- type="text"
85
- class="id-input"
86
- class:id-input-error={error !== null}
87
- placeholder={opts.placeholder ?? ''}
88
- maxlength={opts.maxLength}
89
- autocomplete="off"
90
- spellcheck="false"
91
- />
92
- {#if error !== null || opts.maxLength}
93
- <div class="id-field-footer">
94
- {#if error !== null}
95
- <p class="id-error">{error}</p>
96
- {:else}
97
- <span></span>
98
- {/if}
99
- {#if opts.maxLength}
100
- <span class="id-char-count">{value.length}/{opts.maxLength}</span>
101
- {/if}
102
- </div>
103
- {/if}
104
-
105
- <!-- Actions -->
106
- <div class="id-actions">
107
- <button
108
- type="button"
109
- class="id-btn id-btn-cancel"
110
- onclick={cancelInput}
111
- >
112
- <kbd class="id-kbd">Esc</kbd>
113
- <span>{opts.cancelLabel ?? 'Cancel'}</span>
114
- </button>
115
-
116
- <button
117
- type="button"
118
- class="id-btn id-btn-confirm"
119
- onclick={handleSubmit}
120
- >
121
- <kbd class="id-kbd">⏎</kbd>
122
- <span>{opts.confirmLabel ?? 'OK'}</span>
123
- </button>
124
- </div>
125
- </div>
126
- </div>
127
- {/if}
128
-
129
- <style>
130
- .id-scrim {
131
- position: fixed;
132
- inset: 0;
133
- background: oklch(0 0 0 / 0.45);
134
- z-index: 9991;
135
- backdrop-filter: blur(2px);
136
- }
137
-
138
- .id-wrap {
139
- position: fixed;
140
- top: 5rem;
141
- left: 50%;
142
- transform: translateX(-50%);
143
- z-index: 9992;
144
- pointer-events: auto;
145
- width: max-content;
146
- max-width: min(92vw, 460px);
147
- }
148
-
149
- .id-box {
150
- display: flex;
151
- flex-direction: column;
152
- gap: 0.625rem;
153
- padding: 1rem 1.125rem 0.625rem;
154
- background: oklch(0.17 0.02 250 / 0.98);
155
- border: 1px solid oklch(0.32 0.03 250);
156
- border-radius: 0.875rem;
157
- box-shadow:
158
- 0 20px 60px oklch(0 0 0 / 0.55),
159
- 0 0 0 1px oklch(0.28 0.03 250 / 0.5);
160
- backdrop-filter: blur(16px);
161
- }
162
-
163
- .id-header {
164
- display: flex;
165
- align-items: flex-start;
166
- gap: 0.875rem;
167
- }
168
-
169
- .id-icon {
170
- flex-shrink: 0;
171
- width: 2.25rem;
172
- height: 2.25rem;
173
- border-radius: 0.5rem;
174
- display: flex;
175
- align-items: center;
176
- justify-content: center;
177
- background: oklch(0.30 0.06 200 / 0.35);
178
- border: 1px solid oklch(0.45 0.10 200 / 0.4);
179
- color: oklch(0.75 0.12 200);
180
- }
181
-
182
- .id-icon svg {
183
- width: 1.125rem;
184
- height: 1.125rem;
185
- }
186
-
187
- .id-title-group {
188
- display: flex;
189
- flex-direction: column;
190
- gap: 0.25rem;
191
- flex: 1;
192
- min-width: 0;
193
- }
194
-
195
- .id-title {
196
- margin: 0;
197
- font-size: 0.9375rem;
198
- font-weight: 600;
199
- color: oklch(0.92 0.04 250);
200
- line-height: 1.3;
201
- }
202
-
203
- .id-body {
204
- margin: 0;
205
- font-size: 0.8rem;
206
- color: oklch(0.60 0.03 250);
207
- line-height: 1.5;
208
- }
209
-
210
- .id-input {
211
- width: 100%;
212
- padding: 0.4375rem 0.75rem;
213
- font-size: 0.875rem;
214
- background: oklch(0.13 0.02 250);
215
- border: 1px solid oklch(0.32 0.03 250);
216
- border-radius: 0.5rem;
217
- color: oklch(0.92 0.04 250);
218
- outline: none;
219
- transition: border-color 0.1s ease;
220
- box-sizing: border-box;
221
- }
222
-
223
- .id-input::placeholder {
224
- color: oklch(0.45 0.03 250);
225
- }
226
-
227
- .id-input:focus {
228
- border-color: oklch(0.55 0.12 250);
229
- box-shadow: 0 0 0 2px oklch(0.55 0.12 250 / 0.2);
230
- }
231
-
232
- .id-input-error,
233
- .id-input-error:focus {
234
- border-color: oklch(0.55 0.20 25);
235
- box-shadow: 0 0 0 2px oklch(0.55 0.20 25 / 0.2);
236
- }
237
-
238
- .id-field-footer {
239
- display: flex;
240
- align-items: center;
241
- justify-content: space-between;
242
- gap: 0.5rem;
243
- margin-top: -0.125rem;
244
- min-height: 1rem;
245
- }
246
-
247
- .id-error {
248
- margin: 0;
249
- font-size: 0.75rem;
250
- color: oklch(0.65 0.18 25);
251
- line-height: 1.4;
252
- }
253
-
254
- .id-char-count {
255
- margin-left: auto;
256
- font-size: 0.75rem;
257
- color: oklch(0.50 0.03 250);
258
- font-variant-numeric: tabular-nums;
259
- white-space: nowrap;
260
- flex-shrink: 0;
261
- }
262
-
263
- .id-actions {
264
- display: flex;
265
- align-items: center;
266
- gap: 0.375rem;
267
- padding-top: 0.125rem;
268
- }
269
-
270
- .id-btn {
271
- display: inline-flex;
272
- align-items: center;
273
- gap: 0.375rem;
274
- padding: 0.3125rem 0.75rem;
275
- font-size: 0.8rem;
276
- font-weight: 500;
277
- border-radius: 0.5rem;
278
- border: 1px solid transparent;
279
- background: transparent;
280
- color: oklch(0.80 0.04 250);
281
- cursor: pointer;
282
- transition: background 0.1s ease, border-color 0.1s ease, color 0.1s ease;
283
- white-space: nowrap;
284
- }
285
-
286
- .id-btn:hover {
287
- background: oklch(0.24 0.03 250);
288
- border-color: oklch(0.32 0.04 250);
289
- }
290
-
291
- .id-btn-cancel:focus-visible {
292
- outline: 2px solid oklch(0.60 0.10 250);
293
- outline-offset: 2px;
294
- }
295
-
296
- .id-btn-confirm {
297
- background: oklch(0.28 0.04 250 / 0.6);
298
- border-color: oklch(0.40 0.05 250);
299
- }
300
-
301
- .id-btn-confirm:hover {
302
- background: oklch(0.34 0.06 250);
303
- border-color: oklch(0.50 0.08 250);
304
- }
305
-
306
- .id-btn-confirm:focus-visible {
307
- outline: 2px solid oklch(0.60 0.10 250);
308
- outline-offset: 2px;
309
- }
310
-
311
- .id-kbd {
312
- font-family: ui-monospace, monospace;
313
- font-size: 0.65rem;
314
- padding: 0.0625rem 0.3125rem;
315
- background: oklch(0.22 0.02 250);
316
- border: 1px solid oklch(0.30 0.03 250);
317
- border-bottom-width: 2px;
318
- border-radius: 0.25rem;
319
- color: oklch(0.75 0.04 250);
320
- line-height: 1.6;
321
- }
322
-
323
- @media (prefers-reduced-motion: reduce) {
324
- .id-input { transition: none; }
325
- .id-btn { transition: none; }
326
- }
327
- </style>
@@ -1,296 +0,0 @@
1
- <script lang="ts">
2
- /**
3
- * KeyboardShortcutsOverlay — press `?` to toggle a modal listing the
4
- * keyboard shortcuts available on the current page. Press `?` again or
5
- * `Escape` to dismiss. Input/contenteditable fields and Ctrl/Meta/Alt
6
- * combos are ignored so the shortcut never interferes with typing.
7
- *
8
- * Usage:
9
- *
10
- * <KeyboardShortcutsOverlay shortcuts={[
11
- * { key: 'j / ↓', description: 'Focus next item' },
12
- * { key: 'k / ↑', description: 'Focus previous item' },
13
- * { key: 'Enter', description: 'Open detail' },
14
- * ]} />
15
- */
16
-
17
- export interface KeyboardShortcut {
18
- key: string;
19
- description: string;
20
- }
21
-
22
- export interface SectionEntry {
23
- key: string;
24
- description: string;
25
- /** Optional oklch color to tint the key badge — used for legend entries */
26
- color?: string;
27
- }
28
-
29
- export interface ShortcutSection {
30
- title: string;
31
- shortcuts: SectionEntry[];
32
- }
33
-
34
- let {
35
- shortcuts = [],
36
- sections,
37
- title = 'Keyboard Shortcuts',
38
- open = $bindable(false)
39
- }: {
40
- shortcuts?: KeyboardShortcut[];
41
- /**
42
- * Optional grouped sections (e.g. mode-specific shortcut tables for
43
- * /inbox: list / detail / compose). When provided, takes
44
- * precedence over the flat `shortcuts` prop.
45
- */
46
- sections?: ShortcutSection[];
47
- title?: string;
48
- open?: boolean;
49
- } = $props();
50
-
51
- let isOpen = $state(open);
52
-
53
- $effect(() => {
54
- isOpen = open;
55
- });
56
- $effect(() => {
57
- open = isOpen;
58
- });
59
-
60
- function isTypingTarget(target: EventTarget | null): boolean {
61
- if (!(target instanceof HTMLElement)) return false;
62
- const tag = target.tagName;
63
- if (tag === 'INPUT' || tag === 'TEXTAREA' || tag === 'SELECT') return true;
64
- return target.isContentEditable;
65
- }
66
-
67
- function onKeydown(e: KeyboardEvent) {
68
- if (e.ctrlKey || e.metaKey || e.altKey) return;
69
-
70
- if (e.key === '?') {
71
- // `?` is always Shift+/. Don't trigger while typing — would swallow the char.
72
- if (isTypingTarget(e.target)) return;
73
- e.preventDefault();
74
- isOpen = !isOpen;
75
- return;
76
- }
77
-
78
- if (isOpen && e.key === 'Escape') {
79
- e.preventDefault();
80
- isOpen = false;
81
- }
82
- }
83
-
84
- $effect(() => {
85
- window.addEventListener('keydown', onKeydown);
86
- return () => window.removeEventListener('keydown', onKeydown);
87
- });
88
- </script>
89
-
90
- {#if isOpen}
91
- <div
92
- class="kso-backdrop"
93
- role="presentation"
94
- onclick={() => (isOpen = false)}
95
- >
96
- <div
97
- class="kso-panel animate-scale-in"
98
- role="dialog"
99
- aria-modal="true"
100
- aria-label={title}
101
- onclick={(e) => e.stopPropagation()}
102
- onkeydown={(e) => e.stopPropagation()}
103
- tabindex="-1"
104
- >
105
- <div class="kso-header">
106
- <h2 class="kso-title">{title}</h2>
107
- <button
108
- type="button"
109
- class="kso-close"
110
- onclick={() => (isOpen = false)}
111
- aria-label="Close keyboard shortcuts"
112
- >
113
- ×
114
- </button>
115
- </div>
116
- <div class="kso-list">
117
- {#if sections && sections.length > 0}
118
- {#each sections as section, sIdx (section.title + '::' + sIdx)}
119
- <div class="kso-section-title">{section.title}</div>
120
- {#each section.shortcuts as { key, description, color }, i (section.title + '::' + key + '::' + i)}
121
- <div class="kso-row">
122
- <kbd
123
- class="kso-key"
124
- style={color
125
- ? `color:${color};border-color:color-mix(in oklch,${color} 50%,oklch(0.35 0.02 250));background:color-mix(in oklch,${color} 12%,oklch(0.25 0.02 250))`
126
- : ''}
127
- >
128
- {key}
129
- </kbd>
130
- <span class="kso-description">{description}</span>
131
- </div>
132
- {/each}
133
- {/each}
134
- {:else}
135
- {#each shortcuts as { key, description }, i (key + '::' + i)}
136
- <div class="kso-row">
137
- <kbd class="kso-key">{key}</kbd>
138
- <span class="kso-description">{description}</span>
139
- </div>
140
- {/each}
141
- {/if}
142
- <div class="kso-row kso-row-meta">
143
- <kbd class="kso-key">?</kbd>
144
- <span class="kso-description">Toggle this overlay</span>
145
- </div>
146
- <div class="kso-row kso-row-meta">
147
- <kbd class="kso-key">Esc</kbd>
148
- <span class="kso-description">Close overlay</span>
149
- </div>
150
- </div>
151
- </div>
152
- </div>
153
- {/if}
154
-
155
- <style>
156
- .kso-backdrop {
157
- position: fixed;
158
- inset: 0;
159
- background: oklch(0 0 0 / 0.6);
160
- backdrop-filter: blur(2px);
161
- z-index: 60;
162
- display: flex;
163
- align-items: center;
164
- justify-content: center;
165
- padding: 1.5rem;
166
- animation: kso-fade 0.15s ease-out;
167
- }
168
-
169
- .kso-panel {
170
- background: oklch(0.18 0.02 250);
171
- border: 1px solid oklch(0.30 0.03 250);
172
- border-radius: 0.75rem;
173
- box-shadow: 0 20px 60px oklch(0 0 0 / 0.6);
174
- max-width: 34rem;
175
- width: 100%;
176
- max-height: 80vh;
177
- overflow: hidden;
178
- display: flex;
179
- flex-direction: column;
180
- }
181
-
182
- .kso-header {
183
- display: flex;
184
- align-items: center;
185
- justify-content: space-between;
186
- padding: 0.9rem 1.25rem;
187
- border-bottom: 1px solid oklch(0.25 0.02 250);
188
- flex-shrink: 0;
189
- }
190
-
191
- .kso-title {
192
- font-size: 0.95rem;
193
- font-weight: 600;
194
- color: oklch(0.92 0.02 250);
195
- margin: 0;
196
- letter-spacing: 0.01em;
197
- }
198
-
199
- .kso-close {
200
- background: transparent;
201
- border: none;
202
- color: oklch(0.65 0.02 250);
203
- font-size: 1.5rem;
204
- line-height: 1;
205
- cursor: pointer;
206
- padding: 0.15rem 0.5rem;
207
- border-radius: 0.35rem;
208
- transition:
209
- background 0.12s ease,
210
- color 0.12s ease;
211
- }
212
-
213
- .kso-close:hover {
214
- color: oklch(0.94 0.02 250);
215
- background: oklch(0.25 0.02 250);
216
- }
217
-
218
- .kso-list {
219
- padding: 0.75rem 1.25rem 1.25rem;
220
- display: flex;
221
- flex-direction: column;
222
- gap: 0.3rem;
223
- overflow-y: auto;
224
- }
225
-
226
- .kso-row {
227
- display: flex;
228
- align-items: center;
229
- gap: 1rem;
230
- padding: 0.4rem 0.25rem;
231
- }
232
-
233
- .kso-section-title {
234
- font-size: 0.7rem;
235
- text-transform: uppercase;
236
- letter-spacing: 0.08em;
237
- color: oklch(0.62 0.05 240);
238
- padding: 0.55rem 0.25rem 0.2rem;
239
- border-bottom: 1px solid oklch(0.25 0.02 250);
240
- margin-top: 0.25rem;
241
- }
242
-
243
- .kso-section-title:first-of-type {
244
- margin-top: 0;
245
- padding-top: 0.1rem;
246
- }
247
-
248
- .kso-row-meta {
249
- opacity: 0.7;
250
- border-top: 1px dashed oklch(0.25 0.02 250);
251
- margin-top: 0.25rem;
252
- padding-top: 0.5rem;
253
- }
254
-
255
- .kso-row-meta:not(:first-of-type) {
256
- border-top: none;
257
- margin-top: 0;
258
- }
259
-
260
- .kso-key {
261
- font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
262
- font-size: 0.78rem;
263
- background: oklch(0.25 0.02 250);
264
- border: 1px solid oklch(0.35 0.02 250);
265
- border-bottom-width: 2px;
266
- border-radius: 0.35rem;
267
- padding: 0.18rem 0.55rem;
268
- min-width: 3.25rem;
269
- text-align: center;
270
- color: oklch(0.93 0.02 250);
271
- flex-shrink: 0;
272
- white-space: nowrap;
273
- }
274
-
275
- .kso-description {
276
- font-size: 0.85rem;
277
- color: oklch(0.78 0.02 250);
278
- line-height: 1.35;
279
- }
280
-
281
- @keyframes kso-fade {
282
- from {
283
- opacity: 0;
284
- }
285
- to {
286
- opacity: 1;
287
- }
288
- }
289
-
290
- @media (prefers-reduced-motion: reduce) {
291
- .kso-backdrop,
292
- .kso-panel {
293
- animation: none !important;
294
- }
295
- }
296
- </style>