@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,212 +0,0 @@
1
- <script lang="ts">
2
- /**
3
- * PhoneInput Component — International phone number input.
4
- *
5
- * Country selector dropdown (flag + dial code + search) alongside a tel input.
6
- * Formats numbers with libphonenumber-js AsYouType as the user types.
7
- * Exposes the parsed E.164 value via `bind:value` and a hidden form field
8
- * named `name` so it submits cleanly with native `<form>` actions.
9
- *
10
- * Auto-detects country when the user's input begins with a `+` prefix.
11
- */
12
- import { AsYouType, parsePhoneNumberFromString, type CountryCode } from "libphonenumber-js";
13
- import { listCountries, PRIORITY_COUNTRIES, type CountryOption } from "../utils/phone";
14
-
15
- type Props = {
16
- name?: string;
17
- value?: string;
18
- defaultCountry?: CountryCode;
19
- required?: boolean;
20
- placeholder?: string;
21
- id?: string;
22
- class?: string;
23
- disabled?: boolean;
24
- autocomplete?: HTMLInputElement["autocomplete"];
25
- };
26
-
27
- let {
28
- name = "",
29
- value = $bindable(""),
30
- defaultCountry = "US",
31
- required = false,
32
- placeholder = "Phone number",
33
- id,
34
- class: klass = "",
35
- disabled = false,
36
- autocomplete = "tel" as HTMLInputElement["autocomplete"],
37
- }: Props = $props();
38
-
39
- const all = listCountries();
40
- const priorityOptions = PRIORITY_COUNTRIES.map((c) => all.find((o) => o.code === c)).filter(
41
- (o): o is CountryOption => !!o,
42
- );
43
- const otherOptions = all.filter((o) => !PRIORITY_COUNTRIES.includes(o.code));
44
-
45
- function initialFrom(e164: string): { country: CountryCode; national: string } {
46
- if (e164) {
47
- const parsed = parsePhoneNumberFromString(e164);
48
- if (parsed?.country) {
49
- return { country: parsed.country, national: parsed.formatNational() };
50
- }
51
- }
52
- return { country: defaultCountry, national: "" };
53
- }
54
-
55
- const init = initialFrom(value ?? "");
56
- let country = $state<CountryCode>(init.country);
57
- let display = $state<string>(init.national);
58
- let dropdownOpen = $state(false);
59
- let search = $state("");
60
-
61
- const current = $derived(all.find((o) => o.code === country) ?? all[0]);
62
-
63
- const filteredOthers = $derived.by(() => {
64
- const q = search.trim().toLowerCase();
65
- if (!q) return otherOptions;
66
- return otherOptions.filter(
67
- (o) => o.name.toLowerCase().includes(q) || o.dialCode.includes(q) || o.code.toLowerCase().includes(q),
68
- );
69
- });
70
-
71
- function updateE164(raw: string, cc: CountryCode) {
72
- const parsed = parsePhoneNumberFromString(raw, cc);
73
- value = parsed?.isValid() ? parsed.number : "";
74
- }
75
-
76
- function onInput(e: Event) {
77
- const raw = (e.target as HTMLInputElement).value;
78
- if (raw.startsWith("+")) {
79
- const parsed = parsePhoneNumberFromString(raw);
80
- if (parsed?.country) {
81
- country = parsed.country;
82
- display = parsed.formatNational();
83
- value = parsed.isValid() ? parsed.number : "";
84
- return;
85
- }
86
- display = raw;
87
- value = "";
88
- return;
89
- }
90
- const formatter = new AsYouType(country);
91
- display = formatter.input(raw);
92
- updateE164(raw, country);
93
- }
94
-
95
- function pickCountry(code: CountryCode) {
96
- country = code;
97
- dropdownOpen = false;
98
- search = "";
99
- updateE164(display, code);
100
- }
101
-
102
- function toggleDropdown() {
103
- dropdownOpen = !dropdownOpen;
104
- if (dropdownOpen) search = "";
105
- }
106
-
107
- function onBlur() {
108
- setTimeout(() => (dropdownOpen = false), 150);
109
- }
110
-
111
- $effect(() => {
112
- if (!value) return;
113
- const parsed = parsePhoneNumberFromString(value);
114
- if (parsed?.country && parsed.country !== country) {
115
- country = parsed.country;
116
- display = parsed.formatNational();
117
- }
118
- });
119
- </script>
120
-
121
- <div class="flex w-full {klass}">
122
- <div class="relative">
123
- <button
124
- type="button"
125
- class="btn btn-outline rounded-r-none border-r-0 px-3 min-w-[5.5rem] justify-start"
126
- onclick={toggleDropdown}
127
- {disabled}
128
- aria-label="Select country code"
129
- aria-expanded={dropdownOpen}
130
- aria-haspopup="listbox"
131
- >
132
- <span class="text-lg leading-none">{current?.flag}</span>
133
- <span class="text-sm font-mono">{current?.dialCode}</span>
134
- <svg class="w-3 h-3 opacity-60" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
135
- <path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7" />
136
- </svg>
137
- </button>
138
-
139
- {#if dropdownOpen}
140
- <div
141
- class="absolute z-50 mt-1 w-72 max-h-80 overflow-y-auto bg-base-200 border border-base-300 rounded-lg"
142
- role="listbox"
143
- >
144
- <div class="sticky top-0 bg-base-100 p-2 border-b border-base-300">
145
- <input
146
- type="text"
147
- class="input input-sm input-bordered w-full"
148
- placeholder="Search country…"
149
- bind:value={search}
150
- aria-label="Search country"
151
- />
152
- </div>
153
- <ul class="py-1">
154
- {#if !search}
155
- {#each priorityOptions as opt (opt.code)}
156
- <li>
157
- <button
158
- type="button"
159
- class="w-full flex items-center gap-2 px-3 py-2 text-sm hover:bg-base-200 {opt.code === country ? 'bg-primary/10' : ''}"
160
- onclick={() => pickCountry(opt.code)}
161
- role="option"
162
- aria-selected={opt.code === country}
163
- >
164
- <span class="text-lg leading-none">{opt.flag}</span>
165
- <span class="flex-1 text-left">{opt.name}</span>
166
- <span class="text-base-content/60 font-mono text-xs">{opt.dialCode}</span>
167
- </button>
168
- </li>
169
- {/each}
170
- <li><div class="border-t border-base-300 my-1"></div></li>
171
- {/if}
172
- {#each filteredOthers as opt (opt.code)}
173
- <li>
174
- <button
175
- type="button"
176
- class="w-full flex items-center gap-2 px-3 py-2 text-sm hover:bg-base-200 {opt.code === country ? 'bg-primary/10' : ''}"
177
- onclick={() => pickCountry(opt.code)}
178
- role="option"
179
- aria-selected={opt.code === country}
180
- >
181
- <span class="text-lg leading-none">{opt.flag}</span>
182
- <span class="flex-1 text-left">{opt.name}</span>
183
- <span class="text-base-content/60 font-mono text-xs">{opt.dialCode}</span>
184
- </button>
185
- </li>
186
- {/each}
187
- {#if filteredOthers.length === 0}
188
- <li class="px-3 py-2 text-sm text-base-content/60">No matches</li>
189
- {/if}
190
- </ul>
191
- </div>
192
- {/if}
193
- </div>
194
-
195
- <input
196
- type="tel"
197
- class="input input-bordered rounded-l-none flex-1 min-w-0"
198
- {id}
199
- {placeholder}
200
- {required}
201
- {disabled}
202
- {autocomplete}
203
- value={display}
204
- oninput={onInput}
205
- onblur={onBlur}
206
- aria-describedby={id ? `${id}-help` : undefined}
207
- />
208
-
209
- {#if name}
210
- <input type="hidden" {name} {value} />
211
- {/if}
212
- </div>
@@ -1,307 +0,0 @@
1
- <script lang="ts">
2
- /**
3
- * ResizableDivider Component
4
- * A draggable divider for resizing split panels.
5
- *
6
- * Features:
7
- * - Horizontal drag handle with grippy visual
8
- * - Mouse and touch support
9
- * - Emits percentage changes via callback
10
- * - Visual feedback on hover/drag
11
- * - Snap-to-collapse support with click-to-restore
12
- * - Proximity detection: grows larger when mouse approaches
13
- * - Glow effect on hover for better visibility
14
- */
15
-
16
- interface Props {
17
- onResize: (deltaY: number) => void;
18
- class?: string;
19
- /** Whether a panel is currently collapsed */
20
- isCollapsed?: boolean;
21
- /** Which direction the panel collapsed ('top' = top panel hidden, 'bottom' = bottom panel hidden) */
22
- collapsedDirection?: 'top' | 'bottom' | null;
23
- /** Callback when clicking the divider while collapsed (to restore) */
24
- onCollapsedClick?: () => void;
25
- }
26
-
27
- let {
28
- onResize,
29
- class: className = '',
30
- isCollapsed = false,
31
- collapsedDirection = null,
32
- onCollapsedClick
33
- }: Props = $props();
34
-
35
- let isDragging = $state(false);
36
- let isNearby = $state(false);
37
- let isHovering = $state(false);
38
- let startY = $state(0);
39
- let dividerElement: HTMLDivElement | undefined = $state();
40
-
41
- // Proximity detection threshold in pixels
42
- const PROXIMITY_THRESHOLD = 24;
43
-
44
- function handleMouseDown(e: MouseEvent) {
45
- if (isCollapsed && onCollapsedClick) {
46
- onCollapsedClick();
47
- return;
48
- }
49
-
50
- e.preventDefault();
51
- isDragging = true;
52
- startY = e.clientY;
53
-
54
- document.addEventListener('mousemove', handleMouseMove);
55
- document.addEventListener('mouseup', handleMouseUp);
56
- }
57
-
58
- function handleMouseMove(e: MouseEvent) {
59
- if (!isDragging) return;
60
- const deltaY = e.clientY - startY;
61
- startY = e.clientY;
62
- onResize(deltaY);
63
- }
64
-
65
- function handleMouseUp() {
66
- isDragging = false;
67
- document.removeEventListener('mousemove', handleMouseMove);
68
- document.removeEventListener('mouseup', handleMouseUp);
69
- }
70
-
71
- function handleTouchStart(e: TouchEvent) {
72
- if (isCollapsed && onCollapsedClick) {
73
- onCollapsedClick();
74
- return;
75
- }
76
-
77
- if (e.touches.length !== 1) return;
78
- isDragging = true;
79
- startY = e.touches[0].clientY;
80
- }
81
-
82
- function handleTouchMove(e: TouchEvent) {
83
- if (!isDragging || e.touches.length !== 1) return;
84
- const deltaY = e.touches[0].clientY - startY;
85
- startY = e.touches[0].clientY;
86
- onResize(deltaY);
87
- }
88
-
89
- function handleTouchEnd() {
90
- isDragging = false;
91
- }
92
-
93
- function handleMouseEnter() {
94
- isHovering = true;
95
- }
96
-
97
- function handleMouseLeave() {
98
- isHovering = false;
99
- }
100
-
101
- function handleProximityMove(e: MouseEvent) {
102
- if (!dividerElement || isDragging) return;
103
-
104
- const rect = dividerElement.getBoundingClientRect();
105
- const dividerCenterY = rect.top + rect.height / 2;
106
- const distance = Math.abs(e.clientY - dividerCenterY);
107
-
108
- isNearby = distance <= PROXIMITY_THRESHOLD;
109
- }
110
-
111
- $effect(() => {
112
- if (typeof window === 'undefined') return;
113
-
114
- document.addEventListener('mousemove', handleProximityMove);
115
-
116
- return () => {
117
- document.removeEventListener('mousemove', handleProximityMove);
118
- };
119
- });
120
-
121
- const isExpanded = $derived(isDragging || isHovering || isNearby);
122
- </script>
123
-
124
- <!-- svelte-ignore a11y_no_noninteractive_tabindex -->
125
- <!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
126
- <div
127
- bind:this={dividerElement}
128
- class="divider-container flex items-center justify-center select-none {className} {isCollapsed ? 'cursor-pointer divider-collapsed' : 'cursor-row-resize'} {isDragging ? 'bg-primary/25' : isExpanded && isCollapsed ? 'bg-primary/40' : isExpanded ? 'bg-primary/15' : ''}"
129
- class:expanded={isExpanded}
130
- class:dragging={isDragging}
131
- role="separator"
132
- aria-orientation="horizontal"
133
- aria-label={isCollapsed ? 'Expand panel' : 'Resize panel'}
134
- tabindex="0"
135
- onmousedown={handleMouseDown}
136
- onmouseenter={handleMouseEnter}
137
- onmouseleave={handleMouseLeave}
138
- ontouchstart={handleTouchStart}
139
- ontouchmove={handleTouchMove}
140
- ontouchend={handleTouchEnd}
141
- >
142
- {#if isCollapsed}
143
- <div class="collapsed-indicator">
144
- <div class="indicator-line"></div>
145
- <div class="indicator-dots">
146
- <span></span>
147
- <span></span>
148
- <span></span>
149
- </div>
150
- <div class="indicator-line"></div>
151
- </div>
152
- {:else}
153
- <div class="grippy-handle">
154
- <div class="grip-line"></div>
155
- <div class="grip-line"></div>
156
- </div>
157
- {/if}
158
- </div>
159
-
160
- <style>
161
- .divider-container {
162
- height: 8px;
163
- min-height: 8px;
164
- transition:
165
- height 200ms cubic-bezier(0.4, 0, 0.2, 1),
166
- background 200ms ease,
167
- box-shadow 200ms ease;
168
- }
169
-
170
- .divider-container.expanded {
171
- height: 16px;
172
- min-height: 16px;
173
- box-shadow:
174
- 0 0 12px color-mix(in oklch, var(--color-primary) 40%, transparent),
175
- inset 0 0 8px color-mix(in oklch, var(--color-primary) 20%, transparent);
176
- }
177
-
178
- .divider-container.dragging {
179
- height: 16px;
180
- min-height: 16px;
181
- box-shadow:
182
- 0 0 20px color-mix(in oklch, var(--color-primary) 50%, transparent),
183
- inset 0 0 12px color-mix(in oklch, var(--color-primary) 30%, transparent);
184
- }
185
-
186
- .grippy-handle {
187
- display: flex;
188
- flex-direction: column;
189
- gap: 3px;
190
- padding: 4px 32px;
191
- border-radius: 4px;
192
- transition:
193
- opacity 200ms ease,
194
- transform 200ms ease;
195
- opacity: 0.4;
196
- }
197
-
198
- .divider-container.expanded .grippy-handle {
199
- opacity: 1;
200
- transform: scaleY(1.2);
201
- }
202
-
203
- .divider-container.dragging .grippy-handle {
204
- opacity: 1;
205
- transform: scaleY(1.3);
206
- }
207
-
208
- .grip-line {
209
- width: 32px;
210
- height: 2px;
211
- border-radius: 1px;
212
- background: var(--color-base-content);
213
- opacity: 0.4;
214
- transition: background 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
215
- }
216
-
217
- .divider-container.expanded .grip-line {
218
- background: var(--color-primary);
219
- opacity: 0.8;
220
- box-shadow: 0 0 6px color-mix(in oklch, var(--color-primary) 50%, transparent);
221
- }
222
-
223
- .divider-container.dragging .grip-line {
224
- background: var(--color-primary);
225
- opacity: 1;
226
- box-shadow: 0 0 8px color-mix(in oklch, var(--color-primary) 60%, transparent);
227
- }
228
-
229
- .divider-collapsed {
230
- height: 6px;
231
- min-height: 6px;
232
- background: var(--color-base-200);
233
- border-color: var(--color-base-300) !important;
234
- }
235
-
236
- .divider-collapsed.expanded {
237
- height: 20px;
238
- min-height: 20px;
239
- box-shadow:
240
- 0 0 16px color-mix(in oklch, var(--color-primary) 50%, transparent),
241
- inset 0 0 10px color-mix(in oklch, var(--color-primary) 30%, transparent);
242
- }
243
-
244
- .collapsed-indicator {
245
- display: flex;
246
- align-items: center;
247
- gap: 8px;
248
- width: 100%;
249
- padding: 0 16px;
250
- transition: transform 200ms ease;
251
- }
252
-
253
- .divider-collapsed.expanded .collapsed-indicator {
254
- transform: scaleY(1.5);
255
- }
256
-
257
- .indicator-line {
258
- flex: 1;
259
- height: 1px;
260
- background: linear-gradient(
261
- 90deg,
262
- transparent 0%,
263
- color-mix(in oklch, var(--color-base-content) 30%, transparent) 20%,
264
- color-mix(in oklch, var(--color-base-content) 30%, transparent) 80%,
265
- transparent 100%
266
- );
267
- transition: background 200ms ease, height 200ms ease;
268
- }
269
-
270
- .divider-collapsed.expanded .indicator-line {
271
- height: 2px;
272
- background: linear-gradient(
273
- 90deg,
274
- transparent 0%,
275
- color-mix(in oklch, var(--color-primary) 70%, transparent) 15%,
276
- color-mix(in oklch, var(--color-primary) 70%, transparent) 85%,
277
- transparent 100%
278
- );
279
- }
280
-
281
- .indicator-dots {
282
- display: flex;
283
- gap: 3px;
284
- opacity: 0.5;
285
- transition: opacity 200ms ease, transform 200ms ease, gap 200ms ease;
286
- }
287
-
288
- .indicator-dots span {
289
- width: 3px;
290
- height: 3px;
291
- border-radius: 50%;
292
- background: var(--color-base-content);
293
- transition: width 200ms ease, height 200ms ease, background 200ms ease, box-shadow 200ms ease;
294
- }
295
-
296
- .divider-collapsed.expanded .indicator-dots {
297
- opacity: 1;
298
- gap: 5px;
299
- }
300
-
301
- .divider-collapsed.expanded .indicator-dots span {
302
- width: 5px;
303
- height: 5px;
304
- background: var(--color-primary);
305
- box-shadow: 0 0 8px color-mix(in oklch, var(--color-primary) 70%, transparent);
306
- }
307
- </style>