entasis 0.4.1 → 0.5.0
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/README.md +1 -0
- package/dist/attachments/spinnerOverlay.theme.d.ts +2 -36
- package/dist/components/AIAskUserQuestion/aiAskUserQuestion.theme.d.ts +2 -30
- package/dist/components/AIChat/aiChat.theme.d.ts +2 -14
- package/dist/components/AIComposer/aiComposer.theme.d.ts +2 -50
- package/dist/components/AIContext/aiContext.theme.d.ts +2 -37
- package/dist/components/AIConversation/aiConversation.theme.d.ts +2 -4
- package/dist/components/AIFilePreview/aiFilePreview.theme.d.ts +2 -17
- package/dist/components/AIMarker/aiMarker.theme.d.ts +2 -18
- package/dist/components/AIMessage/aiMessage.theme.d.ts +2 -72
- package/dist/components/AIMessageActions/aiMessageActions.theme.d.ts +2 -29
- package/dist/components/AIModelSelector/aiModelSelector.theme.d.ts +2 -25
- package/dist/components/AIReasoning/aiReasoning.theme.d.ts +2 -9
- package/dist/components/AISuggestion/aiSuggestion.theme.d.ts +2 -6
- package/dist/components/AIThread/aiThread.theme.d.ts +2 -35
- package/dist/components/AIThreadToc/aiThreadToc.theme.d.ts +2 -44
- package/dist/components/AITool/aiTool.mcp.d.ts +1 -1
- package/dist/components/AITool/aiTool.mcp.js +1 -1
- package/dist/components/AITool/aiTool.theme.d.ts +2 -170
- package/dist/components/AITool/aiTool.theme.js +14 -12
- package/dist/components/Accordion/accordion.theme.d.ts +2 -135
- package/dist/components/Alert/alert.theme.d.ts +2 -88
- package/dist/components/AppShell/appShell.theme.d.ts +2 -34
- package/dist/components/AspectRatio/aspectRatio.theme.d.ts +2 -5
- package/dist/components/AudioPlayer/audioPlayer.theme.d.ts +2 -179
- package/dist/components/Avatar/avatar.theme.d.ts +2 -38
- package/dist/components/Avatar/avatarGroup.theme.d.ts +2 -17
- package/dist/components/Breadcrumbs/breadcrumbs.theme.d.ts +2 -33
- package/dist/components/Button/Button.svelte +15 -13
- package/dist/components/Button/button.theme.d.ts +2 -55
- package/dist/components/ButtonGroup/buttonGroup.theme.d.ts +2 -4
- package/dist/components/Card/card.theme.d.ts +2 -119
- package/dist/components/Carousel/carousel.theme.d.ts +2 -73
- package/dist/components/Chart/chart.theme.d.ts +2 -24
- package/dist/components/Chip/chip.theme.d.ts +2 -56
- package/dist/components/Code/code.theme.d.ts +2 -9
- package/dist/components/Collapsible/collapsible.theme.d.ts +2 -44
- package/dist/components/Command/command.theme.d.ts +2 -103
- package/dist/components/Confirmation/confirmation.theme.d.ts +2 -10
- package/dist/components/ContextMenu/contextMenu.theme.d.ts +2 -10
- package/dist/components/DataTable/dataTable.theme.d.ts +2 -160
- package/dist/components/Dialog/Dialog.svelte +16 -0
- package/dist/components/Dialog/dialog.mcp.d.ts +1 -1
- package/dist/components/Dialog/dialog.mcp.js +2 -1
- package/dist/components/Dialog/dialog.props.d.ts +5 -0
- package/dist/components/Dialog/dialog.theme.d.ts +2 -137
- package/dist/components/Dialog/dialog.theme.js +12 -8
- package/dist/components/Diff/diff.theme.d.ts +2 -6
- package/dist/components/DocumentViewer/documentViewer.theme.d.ts +2 -87
- package/dist/components/Empty/empty.theme.d.ts +2 -71
- package/dist/components/EventCalendar/eventCalendar.theme.d.ts +2 -3171
- package/dist/components/FloatingWindow/floatingWindow.theme.d.ts +2 -96
- package/dist/components/Form/Calendar/CalendarPrimitive.svelte.d.ts +2 -63
- package/dist/components/Form/Calendar/calendar.theme.d.ts +2 -63
- package/dist/components/Form/CheckboxesInput/checkboxesInput.theme.d.ts +2 -100
- package/dist/components/Form/ColorInput/colorInput.theme.d.ts +2 -32
- package/dist/components/Form/ColorPicker/colorPicker.theme.d.ts +2 -127
- package/dist/components/Form/Combobox/combobox.theme.d.ts +2 -50
- package/dist/components/Form/DateInput/dateInput.theme.d.ts +2 -26
- package/dist/components/Form/DateSelector/dateSelector.theme.d.ts +2 -17
- package/dist/components/Form/Field/field.theme.d.ts +2 -146
- package/dist/components/Form/File/fileInput.theme.d.ts +2 -41
- package/dist/components/Form/Form/form.theme.d.ts +2 -129
- package/dist/components/Form/KeyValueInput/keyValueInput.theme.d.ts +2 -50
- package/dist/components/Form/MultiStepForm/multiStepForm.theme.d.ts +2 -25
- package/dist/components/Form/NumberInput/numberInput.theme.d.ts +2 -25
- package/dist/components/Form/PasswordInput/passwordInput.theme.d.ts +2 -25
- package/dist/components/Form/PhoneInput/phoneInput.theme.d.ts +2 -112
- package/dist/components/Form/PinInput/pinInput.theme.d.ts +2 -38
- package/dist/components/Form/RadioInput/radioInput.theme.d.ts +2 -94
- package/dist/components/Form/Select/select.theme.d.ts +2 -71
- package/dist/components/Form/Slider/slider.theme.d.ts +2 -266
- package/dist/components/Form/Switch/switch.theme.d.ts +2 -40
- package/dist/components/Form/TagGroup/tagGroup.theme.d.ts +2 -19
- package/dist/components/Form/TagsInput/tagsInput.theme.d.ts +2 -53
- package/dist/components/Form/TextArea/textArea.theme.d.ts +2 -25
- package/dist/components/Form/TextInput/textInput.theme.d.ts +2 -25
- package/dist/components/Form/TimeInput/timeInput.theme.d.ts +2 -47
- package/dist/components/Form/VoiceInput/voiceInput.theme.d.ts +2 -155
- package/dist/components/GanttChart/ganttChart.theme.d.ts +2 -2478
- package/dist/components/Globe/globe.theme.d.ts +2 -13
- package/dist/components/Grid/grid.theme.d.ts +2 -18
- package/dist/components/Grid/gridSpan.theme.d.ts +2 -4
- package/dist/components/Heading/heading.theme.d.ts +2 -41
- package/dist/components/Hitbox/hitbox.theme.d.ts +2 -10
- package/dist/components/HoverCard/hoverCard.theme.d.ts +11 -27
- package/dist/components/HoverCard/hoverCard.theme.js +9 -4
- package/dist/components/ImageGallery/imageGallery.theme.d.ts +2 -6
- package/dist/components/ImageZoom/imageZoom.theme.d.ts +2 -16
- package/dist/components/Kanban/kanban.theme.d.ts +2 -60
- package/dist/components/Kbd/kbd.theme.d.ts +2 -33
- package/dist/components/Layout/layoutSpacing.d.ts +1 -1
- package/dist/components/LinkPreview/linkPreview.theme.d.ts +2 -58
- package/dist/components/Map/map.theme.d.ts +2 -14
- package/dist/components/Markdown/markdown.theme.d.ts +2 -10
- package/dist/components/Marquee/marquee.theme.d.ts +2 -37
- package/dist/components/MediaVolume/mediaVolumeControl.theme.d.ts +2 -22
- package/dist/components/Menu/menu.theme.d.ts +2 -12
- package/dist/components/MenuBar/menuBar.theme.d.ts +2 -16
- package/dist/components/MenuOption/menuOption.theme.d.ts +2 -75
- package/dist/components/Mermaid/mermaid.theme.d.ts +2 -15
- package/dist/components/MetadataList/metadataList.theme.d.ts +2 -97
- package/dist/components/Meter/meter.theme.d.ts +2 -111
- package/dist/components/MiniCalendar/miniCalendar.theme.d.ts +2 -71
- package/dist/components/NetworkIndicator/networkIndicator.theme.d.ts +2 -41
- package/dist/components/Overlay/overlay.theme.d.ts +2 -92
- package/dist/components/PageShell/pageShell.theme.d.ts +2 -36
- package/dist/components/Pagination/pagination.theme.d.ts +2 -108
- package/dist/components/Popover/popover.theme.d.ts +2 -40
- package/dist/components/PopupMenu/popupMenu.theme.d.ts +2 -4
- package/dist/components/ProgressCircle/progressCircle.theme.d.ts +2 -22
- package/dist/components/QRCode/qrCode.theme.d.ts +2 -19
- package/dist/components/Rating/rating.theme.d.ts +2 -37
- package/dist/components/Resizable/resizable.theme.d.ts +2 -65
- package/dist/components/RichTextInput/richTextInput.theme.d.ts +2 -167
- package/dist/components/ScrollArea/scrollArea.theme.d.ts +2 -15
- package/dist/components/SegmentedControl/segmentedControl.theme.d.ts +2 -76
- package/dist/components/SelectionMenu/selectionMenu.theme.d.ts +2 -5
- package/dist/components/Separator/separator.theme.d.ts +2 -33
- package/dist/components/Sidebar/SidebarAction.svelte +2 -2
- package/dist/components/Sidebar/SidebarActivityBar.svelte +3 -3
- package/dist/components/Sidebar/SidebarGroup.svelte +6 -6
- package/dist/components/Sidebar/SidebarMenuButton.svelte +15 -18
- package/dist/components/Sidebar/SidebarMenuItem.svelte +15 -21
- package/dist/components/Sidebar/SidebarMenuSubItem.svelte +5 -6
- package/dist/components/Sidebar/SidebarPanel.svelte +3 -6
- package/dist/components/Sidebar/SidebarTreeNode.svelte +2 -2
- package/dist/components/Sidebar/sidebar.theme.d.ts +86 -540
- package/dist/components/Sidebar/sidebar.theme.js +69 -67
- package/dist/components/Skeleton/skeleton.theme.d.ts +2 -14
- package/dist/components/SortableList/sortableList.theme.d.ts +2 -43
- package/dist/components/Spinner/spinner.theme.d.ts +2 -41
- package/dist/components/SpinnerText/spinnerText.theme.d.ts +2 -49
- package/dist/components/Stack/stack.theme.d.ts +2 -12
- package/dist/components/Stat/stat.theme.d.ts +2 -132
- package/dist/components/Stepper/stepper.theme.d.ts +2 -22
- package/dist/components/Tabbar/tabbar.theme.d.ts +2 -110
- package/dist/components/Table/table.theme.d.ts +2 -42
- package/dist/components/TableOfContents/tableOfContents.theme.d.ts +2 -28
- package/dist/components/Tabs/tabs.theme.d.ts +2 -20
- package/dist/components/Theme/Theme.svelte +4 -4
- package/dist/components/Theme/theme.designTokens.d.ts +10 -0
- package/dist/components/Theme/theme.designTokens.js +14 -1
- package/dist/components/Theme/theme.state.svelte.js +3 -3
- package/dist/components/Timeline/timeline.theme.d.ts +2 -226
- package/dist/components/Toast/toast.theme.d.ts +2 -236
- package/dist/components/ToggleButton/toggleButton.theme.d.ts +2 -57
- package/dist/components/ToggleButtonGroup/toggleButtonGroup.theme.d.ts +2 -9
- package/dist/components/ToggleMenu/toggleMenu.theme.d.ts +2 -7
- package/dist/components/Tooltip/tooltip.theme.d.ts +2 -25
- package/dist/components/Tree/tree.theme.d.ts +2 -7
- package/dist/components/VideoPlayer/videoPlayer.theme.d.ts +2 -145
- package/dist/generated/componentContract.d.ts +1 -1
- package/dist/generated/componentContract.js +2 -0
- package/dist/generated/componentMcpRegistry.d.ts +3 -3
- package/dist/tailwind/colors.js +7 -1
- package/dist/tailwind/spacing.d.ts +13 -0
- package/dist/tailwind/spacing.js +5 -2
- package/dist/utils/cva/cva.mcp.d.ts +1 -1
- package/dist/utils/cva/cva.mcp.js +1 -1
- package/dist/utils/cva/index.d.ts +1 -1
- package/dist/utils/cva/theme.d.ts +36 -1
- package/dist/utils/cva/theme.js +25 -2
- package/package.json +1 -1
|
@@ -357,7 +357,7 @@ export declare const setAudioPlayerTheme: (theme: InferComponentTheme<{
|
|
|
357
357
|
};
|
|
358
358
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
359
359
|
}>) => void;
|
|
360
|
-
export declare const useAudioPlayerTheme: (theme
|
|
360
|
+
export declare const useAudioPlayerTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
361
361
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
362
362
|
size: {
|
|
363
363
|
small: string;
|
|
@@ -534,181 +534,4 @@ export declare const useAudioPlayerTheme: (theme?: InferComponentTheme<{
|
|
|
534
534
|
error: string;
|
|
535
535
|
};
|
|
536
536
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
537
|
-
}
|
|
538
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
539
|
-
size: {
|
|
540
|
-
small: string;
|
|
541
|
-
normal: string;
|
|
542
|
-
large: string;
|
|
543
|
-
};
|
|
544
|
-
disabled: {
|
|
545
|
-
true: string;
|
|
546
|
-
false: string;
|
|
547
|
-
};
|
|
548
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
549
|
-
header: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
550
|
-
size: {
|
|
551
|
-
small: string;
|
|
552
|
-
normal: string;
|
|
553
|
-
large: string;
|
|
554
|
-
};
|
|
555
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
556
|
-
artwork: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
557
|
-
size: {
|
|
558
|
-
small: string;
|
|
559
|
-
normal: string;
|
|
560
|
-
large: string;
|
|
561
|
-
};
|
|
562
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
563
|
-
artworkImage: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
564
|
-
meta: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
565
|
-
title: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
566
|
-
size: {
|
|
567
|
-
small: string;
|
|
568
|
-
normal: string;
|
|
569
|
-
large: string;
|
|
570
|
-
};
|
|
571
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
572
|
-
artist: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
573
|
-
size: {
|
|
574
|
-
small: string;
|
|
575
|
-
normal: string;
|
|
576
|
-
large: string;
|
|
577
|
-
};
|
|
578
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
579
|
-
controls: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
580
|
-
size: {
|
|
581
|
-
small: string;
|
|
582
|
-
normal: string;
|
|
583
|
-
large: string;
|
|
584
|
-
};
|
|
585
|
-
layout: {
|
|
586
|
-
block: string;
|
|
587
|
-
inline: string;
|
|
588
|
-
};
|
|
589
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
590
|
-
controlGroup: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
591
|
-
layout: {
|
|
592
|
-
block: string;
|
|
593
|
-
inline: string;
|
|
594
|
-
};
|
|
595
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
596
|
-
controlButton: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
597
|
-
size: {
|
|
598
|
-
small: string;
|
|
599
|
-
normal: string;
|
|
600
|
-
large: string;
|
|
601
|
-
};
|
|
602
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
603
|
-
playButton: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
604
|
-
size: {
|
|
605
|
-
small: string;
|
|
606
|
-
normal: string;
|
|
607
|
-
large: string;
|
|
608
|
-
};
|
|
609
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
610
|
-
waveform: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
611
|
-
size: {
|
|
612
|
-
small: string;
|
|
613
|
-
normal: string;
|
|
614
|
-
large: string;
|
|
615
|
-
};
|
|
616
|
-
variant: {
|
|
617
|
-
centered: string;
|
|
618
|
-
histogram: string;
|
|
619
|
-
};
|
|
620
|
-
disabled: {
|
|
621
|
-
true: string;
|
|
622
|
-
false: string;
|
|
623
|
-
};
|
|
624
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
625
|
-
waveformBars: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
626
|
-
variant: {
|
|
627
|
-
centered: string;
|
|
628
|
-
histogram: string;
|
|
629
|
-
};
|
|
630
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
631
|
-
waveformBar: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
632
|
-
variant: {
|
|
633
|
-
centered: string;
|
|
634
|
-
histogram: string;
|
|
635
|
-
};
|
|
636
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
637
|
-
waveformBarFill: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
638
|
-
waveformBarBuffered: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
639
|
-
waveformInput: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
640
|
-
track: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
641
|
-
size: {
|
|
642
|
-
small: string;
|
|
643
|
-
normal: string;
|
|
644
|
-
large: string;
|
|
645
|
-
};
|
|
646
|
-
disabled: {
|
|
647
|
-
true: string;
|
|
648
|
-
false: string;
|
|
649
|
-
};
|
|
650
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
651
|
-
trackBuffered: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
652
|
-
size: {
|
|
653
|
-
small: string;
|
|
654
|
-
normal: string;
|
|
655
|
-
large: string;
|
|
656
|
-
};
|
|
657
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
658
|
-
trackRange: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
659
|
-
size: {
|
|
660
|
-
small: string;
|
|
661
|
-
normal: string;
|
|
662
|
-
large: string;
|
|
663
|
-
};
|
|
664
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
665
|
-
trackInput: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
666
|
-
inline: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
667
|
-
size: {
|
|
668
|
-
small: string;
|
|
669
|
-
normal: string;
|
|
670
|
-
large: string;
|
|
671
|
-
};
|
|
672
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
673
|
-
inlineSeek: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
674
|
-
inlineTrailing: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
675
|
-
time: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
676
|
-
size: {
|
|
677
|
-
small: string;
|
|
678
|
-
normal: string;
|
|
679
|
-
large: string;
|
|
680
|
-
};
|
|
681
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
682
|
-
volumeControl: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
683
|
-
layout: {
|
|
684
|
-
block: string;
|
|
685
|
-
inline: string;
|
|
686
|
-
};
|
|
687
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
688
|
-
popoverPanel: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
689
|
-
volumePanel: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
690
|
-
size: {
|
|
691
|
-
small: string;
|
|
692
|
-
normal: string;
|
|
693
|
-
large: string;
|
|
694
|
-
};
|
|
695
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
696
|
-
volumeSlider: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
697
|
-
size: {
|
|
698
|
-
small: string;
|
|
699
|
-
normal: string;
|
|
700
|
-
large: string;
|
|
701
|
-
};
|
|
702
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
703
|
-
status: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
704
|
-
size: {
|
|
705
|
-
small: string;
|
|
706
|
-
normal: string;
|
|
707
|
-
large: string;
|
|
708
|
-
};
|
|
709
|
-
tone: {
|
|
710
|
-
loading: string;
|
|
711
|
-
error: string;
|
|
712
|
-
};
|
|
713
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
714
|
-
};
|
|
537
|
+
}>;
|
|
@@ -75,7 +75,7 @@ export declare const setAvatarTheme: (theme: InferComponentTheme<{
|
|
|
75
75
|
};
|
|
76
76
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
77
77
|
}>) => void;
|
|
78
|
-
export declare const useAvatarTheme: (theme
|
|
78
|
+
export declare const useAvatarTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
79
79
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
80
80
|
size: {
|
|
81
81
|
normal: string;
|
|
@@ -111,40 +111,4 @@ export declare const useAvatarTheme: (theme?: InferComponentTheme<{
|
|
|
111
111
|
large: string;
|
|
112
112
|
};
|
|
113
113
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
114
|
-
}
|
|
115
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
116
|
-
size: {
|
|
117
|
-
normal: string;
|
|
118
|
-
small: string;
|
|
119
|
-
large: string;
|
|
120
|
-
};
|
|
121
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
122
|
-
avatarImage: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
123
|
-
size: {
|
|
124
|
-
normal: string;
|
|
125
|
-
small: string;
|
|
126
|
-
large: string;
|
|
127
|
-
};
|
|
128
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
129
|
-
avatarPrefix: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
130
|
-
size: {
|
|
131
|
-
normal: string;
|
|
132
|
-
small: string;
|
|
133
|
-
large: string;
|
|
134
|
-
};
|
|
135
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
136
|
-
avatarSuffix: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
137
|
-
size: {
|
|
138
|
-
normal: string;
|
|
139
|
-
small: string;
|
|
140
|
-
large: string;
|
|
141
|
-
};
|
|
142
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
143
|
-
avatarInitials: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
144
|
-
size: {
|
|
145
|
-
normal: string;
|
|
146
|
-
small: string;
|
|
147
|
-
large: string;
|
|
148
|
-
};
|
|
149
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
150
|
-
};
|
|
114
|
+
}>;
|
|
@@ -33,7 +33,7 @@ export declare const setAvatarGroupTheme: (theme: InferComponentTheme<{
|
|
|
33
33
|
};
|
|
34
34
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
35
35
|
}>) => void;
|
|
36
|
-
export declare const useAvatarGroupTheme: (theme
|
|
36
|
+
export declare const useAvatarGroupTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
37
37
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
38
38
|
size: {
|
|
39
39
|
normal: string;
|
|
@@ -48,19 +48,4 @@ export declare const useAvatarGroupTheme: (theme?: InferComponentTheme<{
|
|
|
48
48
|
large: string;
|
|
49
49
|
};
|
|
50
50
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
51
|
-
}
|
|
52
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
53
|
-
size: {
|
|
54
|
-
normal: string;
|
|
55
|
-
small: string;
|
|
56
|
-
large: string;
|
|
57
|
-
};
|
|
58
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
59
|
-
avatarGroupCount: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
60
|
-
size: {
|
|
61
|
-
normal: string;
|
|
62
|
-
small: string;
|
|
63
|
-
large: string;
|
|
64
|
-
};
|
|
65
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
66
|
-
};
|
|
51
|
+
}>;
|
|
@@ -65,7 +65,7 @@ export declare const setBreadcrumbsTheme: (theme: InferComponentTheme<{
|
|
|
65
65
|
};
|
|
66
66
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
67
67
|
}>) => void;
|
|
68
|
-
export declare const useBreadcrumbsTheme: (theme
|
|
68
|
+
export declare const useBreadcrumbsTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
69
69
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
70
70
|
item: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
71
71
|
disabled: {
|
|
@@ -96,35 +96,4 @@ export declare const useBreadcrumbsTheme: (theme?: InferComponentTheme<{
|
|
|
96
96
|
large: string;
|
|
97
97
|
};
|
|
98
98
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
99
|
-
}
|
|
100
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
101
|
-
item: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
102
|
-
disabled: {
|
|
103
|
-
true: string;
|
|
104
|
-
false: string;
|
|
105
|
-
};
|
|
106
|
-
active: {
|
|
107
|
-
true: string;
|
|
108
|
-
false: string;
|
|
109
|
-
};
|
|
110
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
111
|
-
link: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
112
|
-
disabled: {
|
|
113
|
-
true: string;
|
|
114
|
-
false: string;
|
|
115
|
-
};
|
|
116
|
-
active: {
|
|
117
|
-
true: string;
|
|
118
|
-
false: string;
|
|
119
|
-
};
|
|
120
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
121
|
-
separator: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
122
|
-
ellipsis: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
123
|
-
icon: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
124
|
-
size: {
|
|
125
|
-
small: string;
|
|
126
|
-
normal: string;
|
|
127
|
-
large: string;
|
|
128
|
-
};
|
|
129
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
130
|
-
};
|
|
99
|
+
}>;
|
|
@@ -47,8 +47,19 @@
|
|
|
47
47
|
);
|
|
48
48
|
const isAnchor = $derived(!!(as || href));
|
|
49
49
|
|
|
50
|
-
const classes = $derived(useButtonTheme(theme));
|
|
51
50
|
const resolvedColor = $derived(useDefaultColor(color));
|
|
51
|
+
// One set of variant values for every slot; the template reads `slots.x()`.
|
|
52
|
+
const slots = $derived(
|
|
53
|
+
useButtonTheme(theme, {
|
|
54
|
+
color: resolvedColor,
|
|
55
|
+
squared: isSquared,
|
|
56
|
+
variant,
|
|
57
|
+
size,
|
|
58
|
+
loading,
|
|
59
|
+
disabled,
|
|
60
|
+
fullWidth
|
|
61
|
+
})
|
|
62
|
+
);
|
|
52
63
|
|
|
53
64
|
const handleClick: NonNullable<ButtonInternalProps['onclick']> = (event) => {
|
|
54
65
|
if (disabled) {
|
|
@@ -91,23 +102,14 @@
|
|
|
91
102
|
data-slot={dataSlot}
|
|
92
103
|
data-color={resolvedColor}
|
|
93
104
|
disabled={!isAnchor && disabled ? true : undefined}
|
|
94
|
-
class={
|
|
95
|
-
color: resolvedColor,
|
|
96
|
-
squared: isSquared,
|
|
97
|
-
variant,
|
|
98
|
-
size,
|
|
99
|
-
loading,
|
|
100
|
-
disabled,
|
|
101
|
-
className,
|
|
102
|
-
fullWidth
|
|
103
|
-
})}
|
|
105
|
+
class={slots.root({ className })}
|
|
104
106
|
{@attach spinnerOverlay({ loading, size })}
|
|
105
107
|
onclick={disabled || onclick ? handleClick : undefined}
|
|
106
108
|
onpointerenter={onpointerenter ? handlePointerEnter : undefined}
|
|
107
109
|
onpointerleave={onpointerleave ? handlePointerLeave : undefined}
|
|
108
110
|
{...attachments}
|
|
109
111
|
>
|
|
110
|
-
<Slot render={prefix} as="span" class={
|
|
112
|
+
<Slot render={prefix} as="span" class={slots.prefix()} />
|
|
111
113
|
<Slot render={children} />
|
|
112
|
-
<Slot render={suffix} as="span" class={
|
|
114
|
+
<Slot render={suffix} as="span" class={slots.suffix()} />
|
|
113
115
|
</svelte:element>
|
|
@@ -109,7 +109,7 @@ export declare const setButtonTheme: (theme: InferComponentTheme<{
|
|
|
109
109
|
};
|
|
110
110
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
111
111
|
}>) => void;
|
|
112
|
-
export declare const useButtonTheme: (theme
|
|
112
|
+
export declare const useButtonTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
113
113
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
114
114
|
size: {
|
|
115
115
|
small: string;
|
|
@@ -162,57 +162,4 @@ export declare const useButtonTheme: (theme?: InferComponentTheme<{
|
|
|
162
162
|
small: string;
|
|
163
163
|
};
|
|
164
164
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
165
|
-
}
|
|
166
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
167
|
-
size: {
|
|
168
|
-
small: string;
|
|
169
|
-
normal: string;
|
|
170
|
-
large: string;
|
|
171
|
-
};
|
|
172
|
-
color: {
|
|
173
|
-
primary: string;
|
|
174
|
-
secondary: string;
|
|
175
|
-
neutral: string;
|
|
176
|
-
danger: string;
|
|
177
|
-
success: string;
|
|
178
|
-
warning: string;
|
|
179
|
-
info: string;
|
|
180
|
-
};
|
|
181
|
-
variant: {
|
|
182
|
-
solid: string;
|
|
183
|
-
outline: string;
|
|
184
|
-
soft: string;
|
|
185
|
-
ghost: string;
|
|
186
|
-
link: string;
|
|
187
|
-
};
|
|
188
|
-
loading: {
|
|
189
|
-
true: string;
|
|
190
|
-
false: null;
|
|
191
|
-
};
|
|
192
|
-
disabled: {
|
|
193
|
-
true: string;
|
|
194
|
-
false: null;
|
|
195
|
-
};
|
|
196
|
-
squared: {
|
|
197
|
-
true: string;
|
|
198
|
-
false: null;
|
|
199
|
-
};
|
|
200
|
-
fullWidth: {
|
|
201
|
-
true: string;
|
|
202
|
-
};
|
|
203
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
204
|
-
prefix: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
205
|
-
size: {
|
|
206
|
-
normal: string;
|
|
207
|
-
large: string;
|
|
208
|
-
small: string;
|
|
209
|
-
};
|
|
210
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
211
|
-
suffix: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
212
|
-
size: {
|
|
213
|
-
normal: string;
|
|
214
|
-
large: string;
|
|
215
|
-
small: string;
|
|
216
|
-
};
|
|
217
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
218
|
-
};
|
|
165
|
+
}>;
|
|
@@ -7,8 +7,6 @@ export type ButtonGroupThemeProps = InferComponentTheme<ButtonGroupTheme>;
|
|
|
7
7
|
export declare const setButtonGroupTheme: (theme: InferComponentTheme<{
|
|
8
8
|
root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
9
9
|
}>) => void;
|
|
10
|
-
export declare const useButtonGroupTheme: (theme
|
|
10
|
+
export declare const useButtonGroupTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
11
11
|
root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
12
|
-
}
|
|
13
|
-
root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
14
|
-
};
|
|
12
|
+
}>;
|
|
@@ -237,7 +237,7 @@ export declare const setCardTheme: (theme: InferComponentTheme<{
|
|
|
237
237
|
};
|
|
238
238
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
239
239
|
}>) => void;
|
|
240
|
-
export declare const useCardTheme: (theme
|
|
240
|
+
export declare const useCardTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
241
241
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
242
242
|
size: {
|
|
243
243
|
small: string;
|
|
@@ -354,121 +354,4 @@ export declare const useCardTheme: (theme?: InferComponentTheme<{
|
|
|
354
354
|
false: string;
|
|
355
355
|
};
|
|
356
356
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
357
|
-
}
|
|
358
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
359
|
-
size: {
|
|
360
|
-
small: string;
|
|
361
|
-
normal: string;
|
|
362
|
-
large: string;
|
|
363
|
-
};
|
|
364
|
-
density: {
|
|
365
|
-
compact: string;
|
|
366
|
-
normal: string;
|
|
367
|
-
comfortable: string;
|
|
368
|
-
};
|
|
369
|
-
color: {
|
|
370
|
-
primary: string;
|
|
371
|
-
secondary: string;
|
|
372
|
-
neutral: string;
|
|
373
|
-
danger: string;
|
|
374
|
-
success: string;
|
|
375
|
-
warning: string;
|
|
376
|
-
info: string;
|
|
377
|
-
};
|
|
378
|
-
variant: {
|
|
379
|
-
solid: string;
|
|
380
|
-
outline: string;
|
|
381
|
-
soft: string;
|
|
382
|
-
ghost: string;
|
|
383
|
-
};
|
|
384
|
-
clickable: {
|
|
385
|
-
true: string;
|
|
386
|
-
false: string;
|
|
387
|
-
};
|
|
388
|
-
disabled: {
|
|
389
|
-
true: string;
|
|
390
|
-
false: null;
|
|
391
|
-
};
|
|
392
|
-
elevation: {
|
|
393
|
-
1: string;
|
|
394
|
-
2: string;
|
|
395
|
-
3: string;
|
|
396
|
-
4: string;
|
|
397
|
-
5: string;
|
|
398
|
-
};
|
|
399
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
400
|
-
header: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
401
|
-
density: {
|
|
402
|
-
compact: string;
|
|
403
|
-
normal: string;
|
|
404
|
-
comfortable: string;
|
|
405
|
-
};
|
|
406
|
-
hasAction: {
|
|
407
|
-
true: string;
|
|
408
|
-
false: string;
|
|
409
|
-
};
|
|
410
|
-
hasBorder: {
|
|
411
|
-
true: string;
|
|
412
|
-
false: string;
|
|
413
|
-
};
|
|
414
|
-
variant: {
|
|
415
|
-
solid: string;
|
|
416
|
-
outline: string;
|
|
417
|
-
soft: string;
|
|
418
|
-
ghost: string;
|
|
419
|
-
};
|
|
420
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
421
|
-
title: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
422
|
-
size: {
|
|
423
|
-
small: string;
|
|
424
|
-
normal: string;
|
|
425
|
-
large: string;
|
|
426
|
-
};
|
|
427
|
-
variant: {
|
|
428
|
-
solid: string;
|
|
429
|
-
outline: string;
|
|
430
|
-
soft: string;
|
|
431
|
-
ghost: string;
|
|
432
|
-
};
|
|
433
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
434
|
-
description: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
435
|
-
size: {
|
|
436
|
-
small: string;
|
|
437
|
-
normal: string;
|
|
438
|
-
large: string;
|
|
439
|
-
};
|
|
440
|
-
variant: {
|
|
441
|
-
solid: string;
|
|
442
|
-
outline: string;
|
|
443
|
-
soft: string;
|
|
444
|
-
ghost: string;
|
|
445
|
-
};
|
|
446
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
447
|
-
action: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
448
|
-
content: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
449
|
-
density: {
|
|
450
|
-
compact: string;
|
|
451
|
-
normal: string;
|
|
452
|
-
comfortable: string;
|
|
453
|
-
};
|
|
454
|
-
hasBorderTop: {
|
|
455
|
-
true: string;
|
|
456
|
-
false: string;
|
|
457
|
-
};
|
|
458
|
-
hasBorderBottom: {
|
|
459
|
-
true: string;
|
|
460
|
-
false: string;
|
|
461
|
-
};
|
|
462
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
463
|
-
footer: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
464
|
-
density: {
|
|
465
|
-
compact: string;
|
|
466
|
-
normal: string;
|
|
467
|
-
comfortable: string;
|
|
468
|
-
};
|
|
469
|
-
hasBorder: {
|
|
470
|
-
true: string;
|
|
471
|
-
false: string;
|
|
472
|
-
};
|
|
473
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
474
|
-
};
|
|
357
|
+
}>;
|
|
@@ -145,7 +145,7 @@ export declare const setCarouselTheme: (theme: InferComponentTheme<{
|
|
|
145
145
|
};
|
|
146
146
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
147
147
|
}>) => void;
|
|
148
|
-
export declare const useCarouselTheme: (theme
|
|
148
|
+
export declare const useCarouselTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
149
149
|
root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
150
150
|
slider: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
151
151
|
slide: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
@@ -216,75 +216,4 @@ export declare const useCarouselTheme: (theme?: InferComponentTheme<{
|
|
|
216
216
|
false: null;
|
|
217
217
|
};
|
|
218
218
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
219
|
-
}
|
|
220
|
-
root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
221
|
-
slider: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
222
|
-
slide: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
223
|
-
footer: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
224
|
-
progress: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
225
|
-
size: {
|
|
226
|
-
small: string;
|
|
227
|
-
normal: string;
|
|
228
|
-
large: string;
|
|
229
|
-
};
|
|
230
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
231
|
-
progressFill: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
232
|
-
color: {
|
|
233
|
-
primary: string;
|
|
234
|
-
secondary: string;
|
|
235
|
-
neutral: string;
|
|
236
|
-
danger: string;
|
|
237
|
-
success: string;
|
|
238
|
-
warning: string;
|
|
239
|
-
info: string;
|
|
240
|
-
};
|
|
241
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
242
|
-
navigation: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
243
|
-
navigationButton: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
244
|
-
size: {
|
|
245
|
-
small: string;
|
|
246
|
-
normal: string;
|
|
247
|
-
large: string;
|
|
248
|
-
};
|
|
249
|
-
color: {
|
|
250
|
-
primary: string;
|
|
251
|
-
secondary: string;
|
|
252
|
-
neutral: string;
|
|
253
|
-
danger: string;
|
|
254
|
-
success: string;
|
|
255
|
-
warning: string;
|
|
256
|
-
info: string;
|
|
257
|
-
};
|
|
258
|
-
disabled: {
|
|
259
|
-
true: string;
|
|
260
|
-
false: null;
|
|
261
|
-
};
|
|
262
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
263
|
-
dots: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
264
|
-
size: {
|
|
265
|
-
small: string;
|
|
266
|
-
normal: string;
|
|
267
|
-
large: string;
|
|
268
|
-
};
|
|
269
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
270
|
-
dot: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
271
|
-
size: {
|
|
272
|
-
small: string;
|
|
273
|
-
normal: string;
|
|
274
|
-
large: string;
|
|
275
|
-
};
|
|
276
|
-
color: {
|
|
277
|
-
primary: string;
|
|
278
|
-
secondary: string;
|
|
279
|
-
neutral: string;
|
|
280
|
-
danger: string;
|
|
281
|
-
success: string;
|
|
282
|
-
warning: string;
|
|
283
|
-
info: string;
|
|
284
|
-
};
|
|
285
|
-
active: {
|
|
286
|
-
true: string;
|
|
287
|
-
false: null;
|
|
288
|
-
};
|
|
289
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
290
|
-
};
|
|
219
|
+
}>;
|