@spear-ai/spectral 1.3.62 → 1.3.63
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/dist/.js +181 -152
- package/dist/Accordion.d.ts +37 -0
- package/dist/Accordion.js +465 -0
- package/dist/Alert/AlertBase.js +2 -2
- package/dist/Alert.js +4 -3
- package/dist/Avatar.js +1 -1
- package/dist/Badge.d.ts +12 -2
- package/dist/Badge.js +28 -4
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup/ButtonGroupButton.d.ts +13 -0
- package/dist/ButtonGroup/ButtonGroupButton.js +51 -0
- package/dist/ButtonGroup.d.ts +29 -0
- package/dist/ButtonGroup.js +89 -0
- package/dist/ButtonIcon.js +2 -1
- package/dist/Checkbox/CheckboxBase.js +1 -1
- package/dist/Checkbox.js +11 -12
- package/dist/Dialog/DialogBase.d.ts +1 -1
- package/dist/Dialog/DialogBase.js +2 -2
- package/dist/Dialog.js +4 -4
- package/dist/Drawer.js +24 -1283
- package/dist/HoverCard.d.ts +29 -0
- package/dist/HoverCard.js +207 -0
- package/dist/Icons/MessagesIcon.d.ts +3 -0
- package/dist/Icons/MessagesIcon.js +31 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons.js +50 -48
- package/dist/Input.d.ts +2 -0
- package/dist/Input.js +98 -89
- package/dist/InputGroup.d.ts +16 -0
- package/dist/InputGroup.js +129 -0
- package/dist/InputOTP.d.ts +0 -2
- package/dist/InputOTP.js +138 -142
- package/dist/Label.d.ts +3 -7
- package/dist/Label.js +11 -11
- package/dist/MultiSelect/MultiSelectBase.js +22 -22
- package/dist/Popover.d.ts +6 -7
- package/dist/Popover.js +60 -71
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +1 -1
- package/dist/RadioButtonGroup.js +1 -1
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroup.js +141 -134
- package/dist/Select.js +97 -895
- package/dist/Separator.d.ts +12 -0
- package/dist/Separator.js +24 -0
- package/dist/Skeleton.js +3 -3
- package/dist/Slider.d.ts +15 -3
- package/dist/Slider.js +464 -40
- package/dist/Switch/SwitchBase.js +1 -1
- package/dist/Switch.js +2 -2
- package/dist/Tabs/TabsBase.js +1 -1
- package/dist/Tabs.js +16 -16
- package/dist/Textarea.js +41 -42
- package/dist/Toggle.js +2 -2
- package/dist/ToggleGroup.js +1 -1
- package/dist/Tooltip/TooltipBase.js +29 -29
- package/dist/Tooltip.js +15 -15
- package/dist/Tray/TrayStoriesData.d.ts +39 -0
- package/dist/Tray/TrayStoriesData.js +438 -0
- package/dist/Tray.d.ts +28 -0
- package/dist/Tray.js +227 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Accordion/Accordion.d.ts +37 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Badge/Badge.d.ts +12 -2
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +29 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
- package/dist/components/ButtonGroup/ButtonGroupButton.d.ts +13 -0
- package/dist/components/ButtonGroup/ButtonGroupButton.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Dialog/DialogBase.d.ts +1 -1
- package/dist/components/HoverCard/HoverCard.d.ts +29 -0
- package/dist/components/HoverCard/HoverCard.d.ts.map +1 -0
- package/dist/components/Icons/MessagesIcon.d.ts +3 -0
- package/dist/components/Icons/MessagesIcon.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +2 -0
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/InputGroup/InputGroup.d.ts +16 -0
- package/dist/components/InputGroup/InputGroup.d.ts.map +1 -0
- package/dist/components/InputOTP/InputOTP.d.ts +0 -2
- package/dist/components/InputOTP/InputOTP.d.ts.map +1 -1
- package/dist/components/Label/Label.d.ts +3 -7
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/Popover/Popover.d.ts +6 -7
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/Separator/Separator.d.ts +12 -0
- package/dist/components/Separator/Separator.d.ts.map +1 -0
- package/dist/components/Slider/Slider.d.ts +15 -3
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Tray/Tray.d.ts +28 -0
- package/dist/components/Tray/Tray.d.ts.map +1 -0
- package/dist/components/Tray/TrayStoriesData.d.ts +39 -0
- package/dist/components/Tray/TrayStoriesData.d.ts.map +1 -0
- package/dist/features/AuthCard/ForgotPasswordEmailForm.js +4 -3
- package/dist/features/AuthCard/ForgotPasswordResetForm.js +9 -9
- package/dist/features/AuthCard/PasswordInput.js +78 -9
- package/dist/features/AuthCard/SignInForm.js +8 -7
- package/dist/features/AuthCard/SignUpForm.js +8 -7
- package/dist/features/AuthCard.js +2 -2
- package/dist/features/LabelingTools.js +7 -6
- package/dist/features/SensorMetadata.js +3 -2
- package/dist/features/SettingsPopover.js +3 -2
- package/dist/index-0ioNhtNM.js +10 -0
- package/dist/{index-CBwRmAsQ.js → index-6Abv_Flm.js} +1 -1
- package/dist/{index-DUK1rxhf.js → index-B-GQStVW.js} +6 -5
- package/dist/index-B2oBi8ng.js +142 -0
- package/dist/index-BIpuW_o8.js +146 -0
- package/dist/index-BZPx6jYI.js +8 -0
- package/dist/index-BhufZRa2.js +232 -0
- package/dist/index-CAKA12cC.js +1265 -0
- package/dist/{index-Cfyte2YO.js → index-CGALWSq_.js} +1 -1
- package/dist/index-CVSxKOPp.js +13 -0
- package/dist/index-CevVJ05e.js +822 -0
- package/dist/{index-CRBC94ik.js → index-D29mdTf5.js} +1 -1
- package/dist/{index-FeGk8zep.js → index-NzygPVvJ.js} +10 -9
- package/dist/index-UEFPWH8U.js +54 -0
- package/dist/index-rKs9bXHr.js +6 -0
- package/dist/{index-Cb7rjMhE.js → index-y6Br5T4h.js} +6 -6
- package/dist/index.d.ts +10 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/linear-cursor-small.png +0 -0
- package/dist/message-alert-matte-glass-gradient.webp +0 -0
- package/dist/primitives/button.d.ts +10 -0
- package/dist/primitives/button.d.ts.map +1 -0
- package/dist/primitives/button.js +42 -0
- package/dist/primitives/input.d.ts +3 -0
- package/dist/primitives/input.d.ts.map +1 -0
- package/dist/primitives/input.js +18 -0
- package/dist/primitives/select.d.ts +16 -0
- package/dist/primitives/select.d.ts.map +1 -0
- package/dist/primitives/select.js +196 -0
- package/dist/primitives/slot.d.ts.map +1 -1
- package/dist/primitives/slot.js +21 -20
- package/dist/primitives/textarea.d.ts +3 -0
- package/dist/primitives/textarea.d.ts.map +1 -0
- package/dist/primitives/textarea.js +16 -0
- package/dist/{proxy-DD79Ok6n.js → proxy-C9AqCss6.js} +1 -1
- package/dist/speech-bubble-fluid-glass-gradient.webp +0 -0
- package/dist/styles/main.css +1 -1
- package/dist/utils/formFieldUtils.js +1 -1
- package/dist/utils/twUtils.js +2728 -2
- package/package.json +13 -8
- package/dist/Accordion/AccordionBase.d.ts +0 -42
- package/dist/Accordion/AccordionBase.js +0 -225
- package/dist/Badge/BadgeBase.d.ts +0 -13
- package/dist/Badge/BadgeBase.js +0 -35
- package/dist/PasswordInput-ClY_hxuN.js +0 -261
- package/dist/components/Accordion/AccordionBase.d.ts +0 -42
- package/dist/components/Accordion/AccordionBase.d.ts.map +0 -1
- package/dist/components/Badge/BadgeBase.d.ts +0 -13
- package/dist/components/Badge/BadgeBase.d.ts.map +0 -1
- package/dist/index-CA7haECj.js +0 -248
- package/dist/index-CbXx14YO.js +0 -59
- package/dist/index-VXXKXen4.js +0 -15
- package/dist/index-cCg4yNa8.js +0 -132
- package/dist/primitives/label.d.ts +0 -5
- package/dist/primitives/label.d.ts.map +0 -1
- package/dist/primitives/label.js +0 -27
- package/dist/twUtils-CRiPKpXj.js +0 -2743
package/dist/.js
CHANGED
|
@@ -1,154 +1,183 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
1
|
+
import { Accordion as e } from "./Accordion.js";
|
|
2
|
+
import { Alert as p } from "./Alert.js";
|
|
3
|
+
import { Avatar as m } from "./Avatar.js";
|
|
4
|
+
import { Badge as f } from "./Badge.js";
|
|
5
|
+
import { Button as I } from "./Button.js";
|
|
6
|
+
import { ButtonGroup as u, ButtonGroupItem as l, ButtonGroupSeparator as i } from "./ButtonGroup.js";
|
|
7
|
+
import { ButtonIcon as C } from "./ButtonIcon.js";
|
|
8
|
+
import { Checkbox as g } from "./Checkbox.js";
|
|
9
|
+
import { Dialog as G } from "./Dialog.js";
|
|
10
|
+
import { Drawer as v } from "./Drawer.js";
|
|
11
|
+
import { HoverCard as h, HoverCardContent as L, HoverCardTrigger as P } from "./HoverCard.js";
|
|
12
|
+
import { Input as k } from "./Input.js";
|
|
13
|
+
import { InputGroup as y, InputGroupAddon as D, InputGroupButton as E, InputGroupInput as R, InputGroupText as w, InputGroupTextarea as H } from "./InputGroup.js";
|
|
14
|
+
import { InputOTP as M } from "./InputOTP.js";
|
|
15
|
+
import { Label as Z } from "./Label.js";
|
|
16
|
+
import { Popover as F, PopoverContent as V, PopoverTrigger as W } from "./Popover.js";
|
|
17
|
+
import { RadioButtonGroup as Y, RadioButtonGroupItem as j } from "./RadioButtonGroup.js";
|
|
18
|
+
import { RadioGroup as J, RadioGroupItem as K } from "./RadioGroup.js";
|
|
19
|
+
import { Select as Q } from "./Select.js";
|
|
20
|
+
import { Separator as $ } from "./Separator.js";
|
|
21
|
+
import { Skeleton as ro } from "./Skeleton.js";
|
|
22
|
+
import { Slider as to } from "./Slider.js";
|
|
23
|
+
import { Switch as no } from "./Switch.js";
|
|
24
|
+
import { Tabs as xo } from "./Tabs.js";
|
|
25
|
+
import { Textarea as co } from "./Textarea.js";
|
|
26
|
+
import { Toggle as ao } from "./Toggle.js";
|
|
27
|
+
import { ToggleGroup as lo, ToggleGroupItem as io } from "./ToggleGroup.js";
|
|
28
|
+
import { Tooltip as Co, TooltipContent as go, TooltipTrigger as To } from "./Tooltip.js";
|
|
29
|
+
import { Tray as So } from "./Tray.js";
|
|
30
|
+
import { AnnotationsIcon as Bo } from "./Icons/AnnotationsIcon.js";
|
|
31
|
+
import { CalendarIcon as Lo } from "./Icons/CalendarIcon.js";
|
|
32
|
+
import { CheckCircleIcon as Ao } from "./Icons/CheckCircleIcon.js";
|
|
33
|
+
import { CheckSquareIcon as bo } from "./Icons/CheckSquareIcon.js";
|
|
34
|
+
import { CheckmarkIcon as Do } from "./Icons/CheckmarkIcon.js";
|
|
35
|
+
import { ChevronDownIcon as Ro } from "./Icons/ChevronDownIcon.js";
|
|
36
|
+
import { ChevronUpIcon as Ho } from "./Icons/ChevronUpIcon.js";
|
|
37
|
+
import { ClockIcon as Mo } from "./Icons/ClockIcon.js";
|
|
38
|
+
import { CloseCircleIcon as Zo } from "./Icons/CloseCircleIcon.js";
|
|
39
|
+
import { CloseIcon as Fo } from "./Icons/CloseIcon.js";
|
|
40
|
+
import { DashboardIcon as Wo } from "./Icons/DashboardIcon.js";
|
|
41
|
+
import { DeleteIcon as Yo } from "./Icons/DeleteIcon.js";
|
|
42
|
+
import { DurationIcon as zo } from "./Icons/DurationIcon.js";
|
|
43
|
+
import { EmailIcon as Ko } from "./Icons/EmailIcon.js";
|
|
44
|
+
import { EraserIcon as Qo } from "./Icons/EraserIcon.js";
|
|
45
|
+
import { ErrorIcon as $o } from "./Icons/ErrorIcon.js";
|
|
46
|
+
import { EyeClosedIcon as rr } from "./Icons/EyeClosedIcon.js";
|
|
47
|
+
import { EyeClosedIcon2 as tr } from "./Icons/EyeClosedIcon2.js";
|
|
48
|
+
import { EyeOpenIcon as nr } from "./Icons/EyeOpenIcon.js";
|
|
49
|
+
import { GoToFirstIcon as xr } from "./Icons/GoToFirstIcon.js";
|
|
50
|
+
import { GoToLastIcon as cr } from "./Icons/GoToLastIcon.js";
|
|
51
|
+
import { HarmonicCursorsIcon as ar } from "./Icons/HarmonicCursorsIcon.js";
|
|
52
|
+
import { InfoIcon as lr } from "./Icons/InfoIcon.js";
|
|
53
|
+
import { LabelIcon as sr } from "./Icons/LabelIcon.js";
|
|
54
|
+
import { LassoIcon as dr } from "./Icons/LassoIcon.js";
|
|
55
|
+
import { LineToolIcon as Tr } from "./Icons/LineToolIcon.js";
|
|
56
|
+
import { LiveViewIcon as Sr } from "./Icons/LiveViewIcon.js";
|
|
57
|
+
import { LoaderIcon as Br } from "./Icons/LoaderIcon.js";
|
|
58
|
+
import { LocationIcon as Lr } from "./Icons/LocationIcon.js";
|
|
59
|
+
import { LogoutIcon as Ar } from "./Icons/LogoutIcon.js";
|
|
60
|
+
import { MessagesIcon as br } from "./Icons/MessagesIcon.js";
|
|
61
|
+
import { MetadataIcon as Dr } from "./Icons/MetadataIcon.js";
|
|
62
|
+
import { MinusIcon as Rr } from "./Icons/MinusIcon.js";
|
|
63
|
+
import { OntologyIcon as Hr } from "./Icons/OntologyIcon.js";
|
|
64
|
+
import { PanelIconClose as Mr } from "./Icons/PanelIconClose.js";
|
|
65
|
+
import { PanelIconOpen as Zr } from "./Icons/PanelIconOpen.js";
|
|
66
|
+
import { PlayIcon as Fr } from "./Icons/PlayIcon.js";
|
|
67
|
+
import { PlusIcon as Wr } from "./Icons/PlusIcon.js";
|
|
68
|
+
import { ResetIcon as Yr } from "./Icons/ResetIcon.js";
|
|
69
|
+
import { ScissorsIcon as zr } from "./Icons/ScissorsIcon.js";
|
|
70
|
+
import { SettingsIcon as Kr } from "./Icons/SettingsIcon.js";
|
|
71
|
+
import { TrashIcon as Qr } from "./Icons/TrashIcon.js";
|
|
72
|
+
import { UndoIcon as $r } from "./Icons/UndoIcon.js";
|
|
73
|
+
import { UserIcon as re } from "./Icons/UserIcon.js";
|
|
74
|
+
import { WarningIcon as te } from "./Icons/WarningIcon.js";
|
|
75
|
+
import { ZoomAllIcon as ne } from "./Icons/ZoomAllIcon.js";
|
|
76
|
+
import { ZoomXIcon as xe } from "./Icons/ZoomXIcon.js";
|
|
77
|
+
import { ZoomYIcon as ce } from "./Icons/ZoomYIcon.js";
|
|
78
|
+
import { default as ae, SvgIdContext as ue } from "./Icons/IconBase.js";
|
|
79
|
+
import { useAccordionAutoScroll as ie } from "./hooks/useAccordionAutoScroll.js";
|
|
80
|
+
import { useControllableState as Ce } from "./hooks/useControllableState.js";
|
|
81
|
+
import { cn as ge } from "./utils/twUtils.js";
|
|
82
|
+
import { SpectralProvider as Ge } from "./SpectralProvider.js";
|
|
73
83
|
export {
|
|
74
|
-
e as
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
m as
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
Zr as
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
84
|
+
e as Accordion,
|
|
85
|
+
p as Alert,
|
|
86
|
+
Bo as AnnotationsIcon,
|
|
87
|
+
m as Avatar,
|
|
88
|
+
f as Badge,
|
|
89
|
+
I as Button,
|
|
90
|
+
u as ButtonGroup,
|
|
91
|
+
l as ButtonGroupItem,
|
|
92
|
+
i as ButtonGroupSeparator,
|
|
93
|
+
C as ButtonIcon,
|
|
94
|
+
Lo as CalendarIcon,
|
|
95
|
+
Ao as CheckCircleIcon,
|
|
96
|
+
bo as CheckSquareIcon,
|
|
97
|
+
g as Checkbox,
|
|
98
|
+
Do as CheckmarkIcon,
|
|
99
|
+
Ro as ChevronDownIcon,
|
|
100
|
+
Ho as ChevronUpIcon,
|
|
101
|
+
Mo as ClockIcon,
|
|
102
|
+
Zo as CloseCircleIcon,
|
|
103
|
+
Fo as CloseIcon,
|
|
104
|
+
Wo as DashboardIcon,
|
|
105
|
+
Yo as DeleteIcon,
|
|
106
|
+
G as Dialog,
|
|
107
|
+
v as Drawer,
|
|
108
|
+
zo as DurationIcon,
|
|
109
|
+
Ko as EmailIcon,
|
|
110
|
+
Qo as EraserIcon,
|
|
111
|
+
$o as ErrorIcon,
|
|
112
|
+
rr as EyeClosedIcon,
|
|
113
|
+
tr as EyeClosedIcon2,
|
|
114
|
+
nr as EyeOpenIcon,
|
|
115
|
+
xr as GoToFirstIcon,
|
|
116
|
+
cr as GoToLastIcon,
|
|
117
|
+
ar as HarmonicCursorsIcon,
|
|
118
|
+
h as HoverCard,
|
|
119
|
+
L as HoverCardContent,
|
|
120
|
+
P as HoverCardTrigger,
|
|
121
|
+
ae as IconBase,
|
|
122
|
+
lr as InfoIcon,
|
|
123
|
+
k as Input,
|
|
124
|
+
y as InputGroup,
|
|
125
|
+
D as InputGroupAddon,
|
|
126
|
+
E as InputGroupButton,
|
|
127
|
+
R as InputGroupInput,
|
|
128
|
+
w as InputGroupText,
|
|
129
|
+
H as InputGroupTextarea,
|
|
130
|
+
M as InputOTP,
|
|
131
|
+
Z as Label,
|
|
132
|
+
sr as LabelIcon,
|
|
133
|
+
dr as LassoIcon,
|
|
134
|
+
Tr as LineToolIcon,
|
|
135
|
+
Sr as LiveViewIcon,
|
|
136
|
+
Br as LoaderIcon,
|
|
137
|
+
Lr as LocationIcon,
|
|
138
|
+
Ar as LogoutIcon,
|
|
139
|
+
br as MessagesIcon,
|
|
140
|
+
Dr as MetadataIcon,
|
|
141
|
+
Rr as MinusIcon,
|
|
142
|
+
Hr as OntologyIcon,
|
|
143
|
+
Mr as PanelIconClose,
|
|
144
|
+
Zr as PanelIconOpen,
|
|
145
|
+
Fr as PlayIcon,
|
|
146
|
+
Wr as PlusIcon,
|
|
147
|
+
F as Popover,
|
|
148
|
+
V as PopoverContent,
|
|
149
|
+
W as PopoverTrigger,
|
|
150
|
+
Y as RadioButtonGroup,
|
|
151
|
+
j as RadioButtonGroupItem,
|
|
152
|
+
J as RadioGroup,
|
|
153
|
+
K as RadioGroupItem,
|
|
154
|
+
Yr as ResetIcon,
|
|
155
|
+
zr as ScissorsIcon,
|
|
156
|
+
Q as Select,
|
|
157
|
+
$ as Separator,
|
|
158
|
+
Kr as SettingsIcon,
|
|
159
|
+
ro as Skeleton,
|
|
160
|
+
to as Slider,
|
|
161
|
+
Ge as SpectralProvider,
|
|
162
|
+
ue as SvgIdContext,
|
|
163
|
+
no as Switch,
|
|
164
|
+
xo as Tabs,
|
|
165
|
+
co as Textarea,
|
|
166
|
+
ao as Toggle,
|
|
167
|
+
lo as ToggleGroup,
|
|
168
|
+
io as ToggleGroupItem,
|
|
169
|
+
Co as Tooltip,
|
|
170
|
+
go as TooltipContent,
|
|
171
|
+
To as TooltipTrigger,
|
|
172
|
+
Qr as TrashIcon,
|
|
173
|
+
So as Tray,
|
|
174
|
+
$r as UndoIcon,
|
|
175
|
+
re as UserIcon,
|
|
176
|
+
te as WarningIcon,
|
|
177
|
+
ne as ZoomAllIcon,
|
|
178
|
+
xe as ZoomXIcon,
|
|
179
|
+
ce as ZoomYIcon,
|
|
180
|
+
ge as cn,
|
|
181
|
+
ie as useAccordionAutoScroll,
|
|
182
|
+
Ce as useControllableState
|
|
154
183
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react';
|
|
2
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
3
|
+
export type AutoScrollBehavior = 'never' | 'mobile' | 'always';
|
|
4
|
+
type BaseAccordionProps = {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
autoScroll?: AutoScrollBehavior;
|
|
7
|
+
scrollPadding?: number;
|
|
8
|
+
variant?: 'default' | 'contained' | 'separated';
|
|
9
|
+
};
|
|
10
|
+
export type AccordionSingleProps = BaseAccordionProps & {
|
|
11
|
+
type: 'single';
|
|
12
|
+
value?: string;
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
onValueChange?: (value: string) => void;
|
|
15
|
+
collapsible?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type AccordionMultipleProps = BaseAccordionProps & {
|
|
18
|
+
type: 'multiple';
|
|
19
|
+
value?: string[];
|
|
20
|
+
defaultValue?: string[];
|
|
21
|
+
onValueChange?: (value: string[]) => void;
|
|
22
|
+
};
|
|
23
|
+
export type AccordionProps = AccordionSingleProps | AccordionMultipleProps;
|
|
24
|
+
export type AccordionComponent = ForwardRefExoticComponent<AccordionProps & RefAttributes<HTMLDivElement>> & {
|
|
25
|
+
Item: typeof AccordionItem;
|
|
26
|
+
Trigger: typeof AccordionTrigger;
|
|
27
|
+
Content: typeof AccordionContent;
|
|
28
|
+
};
|
|
29
|
+
export declare const Accordion: ForwardRefExoticComponent<AccordionProps & RefAttributes<HTMLDivElement>>;
|
|
30
|
+
export declare const AccordionItem: ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
31
|
+
export declare const AccordionTrigger: ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
32
|
+
title: string;
|
|
33
|
+
subtitle?: string;
|
|
34
|
+
} & RefAttributes<HTMLButtonElement>>;
|
|
35
|
+
export declare const AccordionContent: ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=Accordion.d.ts.map
|