File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
src/lib/components/panels Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 7
7
import AIInsightsCard from ' ../ui/AIInsightsCard.svelte' ;
8
8
import RuixenInsights from ' ../ui/RuixenInsights.svelte' ;
9
9
import DataManager from ' ../ui/DataManager.svelte' ;
10
+ import Button from ' ../ui/Button.svelte' ;
10
11
import EmptyState from ' ../ui/EmptyState.svelte' ;
11
12
import Skeleton from ' ../ui/Skeleton.svelte' ;
12
13
import { rightPanelView , uiHelpers } from ' $lib/stores/ui' ;
295
296
</h3 >
296
297
<p >Mark {selectedPet ?.name } as passed away?</p >
297
298
<div class =" flex justify-end gap-2" >
298
- <button class = "button- secondary" onclick ={() => uiHelpers .setView (' dashboard' )}
299
- >Cancel</button
299
+ <Button variant = " secondary" onclick ={() => uiHelpers .setView (' dashboard' )}
300
+ >Cancel</Button
300
301
>
301
- <button
302
- class = " button "
302
+ <Button
303
+ variant = " primary "
303
304
onclick ={() => {
304
305
if (selectedPet ) {
305
306
petHelpers .archive (selectedPet .id );
308
309
}
309
310
}
310
311
uiHelpers .setView (' dashboard' );
311
- }}>Confirm</button
312
+ }}>Confirm</Button
312
313
>
313
314
</div >
314
315
</div >
597
598
598
599
<!-- Actions -->
599
600
<div class =" flex justify-end space-x-3" >
600
- <button
601
+ <Button
602
+ variant =" secondary"
601
603
onclick ={() => uiHelpers .setView (' dashboard' )}
602
- class =" button-secondary"
603
604
disabled ={isSubmitting }
604
605
>
605
606
Cancel
606
- </button >
607
- <button
607
+ </Button >
608
+ <Button
609
+ variant =" primary"
608
610
onclick ={submitJournalEntry }
609
- class =" button flex items-center space-x-2"
610
611
disabled ={! journalInput .trim () || isSubmitting }
611
612
>
612
613
{#if isSubmitting || $isAnalyzing }
618
619
<PenTool size ={16 } />
619
620
<span >Add Entry</span >
620
621
{/if }
621
- </button >
622
+ </Button >
622
623
</div >
623
624
</div >
624
625
</div >
You can’t perform that action at this time.
0 commit comments