@particle-network/ui-react 0.4.5-beta.0 → 0.4.5-beta.2

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.
@@ -1,330 +1,18 @@
1
1
  import React from 'react';
2
2
  import ExtendedSwitch from './switch.extend';
3
3
  export type UXSwitchProps = React.ComponentPropsWithRef<typeof ExtendedSwitch>;
4
- export declare const UXSwitch: React.ForwardRefExoticComponent<Omit<Omit<{
5
- ref?: React.Ref<HTMLInputElement> | undefined;
6
- children?: React.ReactNode;
7
- defaultChecked?: any;
8
- defaultValue?: any;
9
- suppressContentEditableWarning?: boolean | undefined;
10
- suppressHydrationWarning?: boolean | undefined;
11
- accessKey?: string | undefined;
12
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | (string & {}) | undefined;
13
- autoFocus?: boolean | undefined;
14
- className?: string | undefined;
15
- contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
16
- contextMenu?: string | undefined;
17
- dir?: string | undefined;
18
- draggable?: (boolean | "true" | "false") | undefined;
19
- enterKeyHint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | undefined;
20
- hidden?: boolean | undefined;
21
- id?: string | undefined;
22
- lang?: string | undefined;
23
- nonce?: string | undefined;
24
- slot?: any;
25
- spellCheck?: (boolean | "true" | "false") | undefined;
26
- style?: React.CSSProperties | undefined;
27
- tabIndex?: number | undefined;
28
- title?: string | undefined;
29
- translate?: "yes" | "no" | undefined;
30
- radioGroup?: string | undefined;
31
- role?: React.AriaRole | undefined;
32
- about?: string | undefined;
33
- content?: string | undefined;
34
- datatype?: string | undefined;
35
- inlist?: any;
36
- prefix?: string | undefined;
37
- property?: string | undefined;
38
- rel?: string | undefined;
39
- resource?: string | undefined;
40
- rev?: string | undefined;
41
- typeof?: string | undefined;
42
- vocab?: string | undefined;
43
- autoCorrect?: string | undefined;
44
- autoSave?: string | undefined;
45
- color?: "default" | "success" | "secondary" | "primary" | "danger" | "warning" | "bullish" | "bearish" | "contrast" | undefined;
46
- itemProp?: string | undefined;
47
- itemScope?: boolean | undefined;
48
- itemType?: string | undefined;
49
- itemID?: string | undefined;
50
- itemRef?: string | undefined;
51
- results?: number | undefined;
52
- security?: string | undefined;
53
- unselectable?: "off" | "on" | undefined;
54
- popover?: "" | "auto" | "manual" | undefined;
55
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
56
- popoverTarget?: string | undefined;
57
- inert?: boolean | undefined;
58
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
59
- is?: string | undefined;
60
- exportparts?: string | undefined;
61
- part?: string | undefined;
62
- "aria-activedescendant"?: string | undefined;
63
- "aria-atomic"?: (boolean | "true" | "false") | undefined;
64
- "aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
65
- "aria-braillelabel"?: string | undefined;
66
- "aria-brailleroledescription"?: string | undefined;
67
- "aria-busy"?: (boolean | "true" | "false") | undefined;
68
- "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
69
- "aria-colcount"?: number | undefined;
70
- "aria-colindex"?: number | undefined;
71
- "aria-colindextext"?: string | undefined;
72
- "aria-colspan"?: number | undefined;
73
- "aria-controls"?: string | undefined;
74
- "aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
75
- "aria-describedby"?: string | undefined;
76
- "aria-description"?: string | undefined;
77
- "aria-details"?: string | undefined;
78
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
79
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
80
- "aria-errormessage"?: string | undefined;
81
- "aria-expanded"?: (boolean | "true" | "false") | undefined;
82
- "aria-flowto"?: string | undefined;
83
- "aria-grabbed"?: (boolean | "true" | "false") | undefined;
84
- "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
85
- "aria-hidden"?: (boolean | "true" | "false") | undefined;
86
- "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
87
- "aria-keyshortcuts"?: string | undefined;
88
- "aria-label"?: string | undefined;
89
- "aria-labelledby"?: string | undefined;
90
- "aria-level"?: number | undefined;
91
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
92
- "aria-modal"?: (boolean | "true" | "false") | undefined;
93
- "aria-multiline"?: (boolean | "true" | "false") | undefined;
94
- "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
95
- "aria-orientation"?: "vertical" | "horizontal" | undefined;
96
- "aria-owns"?: string | undefined;
97
- "aria-placeholder"?: string | undefined;
98
- "aria-posinset"?: number | undefined;
99
- "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
100
- "aria-readonly"?: (boolean | "true" | "false") | undefined;
101
- "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
102
- "aria-required"?: (boolean | "true" | "false") | undefined;
103
- "aria-roledescription"?: string | undefined;
104
- "aria-rowcount"?: number | undefined;
105
- "aria-rowindex"?: number | undefined;
106
- "aria-rowindextext"?: string | undefined;
107
- "aria-rowspan"?: number | undefined;
108
- "aria-selected"?: (boolean | "true" | "false") | undefined;
109
- "aria-setsize"?: number | undefined;
110
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
111
- "aria-valuemax"?: number | undefined;
112
- "aria-valuemin"?: number | undefined;
113
- "aria-valuenow"?: number | undefined;
114
- "aria-valuetext"?: string | undefined;
115
- dangerouslySetInnerHTML?: {
116
- __html: string | TrustedHTML;
117
- } | undefined;
118
- onCopy?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
119
- onCopyCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
120
- onCut?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
121
- onCutCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
122
- onPaste?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
123
- onPasteCapture?: React.ClipboardEventHandler<HTMLInputElement> | undefined;
124
- onCompositionEnd?: React.CompositionEventHandler<HTMLInputElement> | undefined;
125
- onCompositionEndCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
126
- onCompositionStart?: React.CompositionEventHandler<HTMLInputElement> | undefined;
127
- onCompositionStartCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
128
- onCompositionUpdate?: React.CompositionEventHandler<HTMLInputElement> | undefined;
129
- onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLInputElement> | undefined;
130
- onFocus?: (React.FocusEventHandler<HTMLInputElement> & ((e: React.FocusEvent<Element, Element>) => void)) | undefined;
131
- onFocusCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
132
- onBlur?: (React.FocusEventHandler<HTMLInputElement> & ((e: React.FocusEvent<Element, Element>) => void)) | undefined;
133
- onBlurCapture?: React.FocusEventHandler<HTMLInputElement> | undefined;
134
- onChange?: React.ChangeEventHandler<HTMLInputElement> | undefined;
135
- onChangeCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
136
- onBeforeInput?: React.InputEventHandler<HTMLInputElement> | undefined;
137
- onBeforeInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
138
- onInput?: React.FormEventHandler<HTMLInputElement> | undefined;
139
- onInputCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
140
- onReset?: React.FormEventHandler<HTMLInputElement> | undefined;
141
- onResetCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
142
- onSubmit?: React.FormEventHandler<HTMLInputElement> | undefined;
143
- onSubmitCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
144
- onInvalid?: React.FormEventHandler<HTMLInputElement> | undefined;
145
- onInvalidCapture?: React.FormEventHandler<HTMLInputElement> | undefined;
146
- onLoad?: React.ReactEventHandler<HTMLInputElement> | undefined;
147
- onLoadCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
148
- onError?: React.ReactEventHandler<HTMLInputElement> | undefined;
149
- onErrorCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
150
- onKeyDown?: (React.KeyboardEventHandler<HTMLInputElement> & ((e: import("@react-types/shared").KeyboardEvent) => void)) | undefined;
151
- onKeyDownCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
152
- onKeyPress?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
153
- onKeyPressCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
154
- onKeyUp?: (React.KeyboardEventHandler<HTMLInputElement> & ((e: import("@react-types/shared").KeyboardEvent) => void)) | undefined;
155
- onKeyUpCapture?: React.KeyboardEventHandler<HTMLInputElement> | undefined;
156
- onAbort?: React.ReactEventHandler<HTMLInputElement> | undefined;
157
- onAbortCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
158
- onCanPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
159
- onCanPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
160
- onCanPlayThrough?: React.ReactEventHandler<HTMLInputElement> | undefined;
161
- onCanPlayThroughCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
162
- onDurationChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
163
- onDurationChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
164
- onEmptied?: React.ReactEventHandler<HTMLInputElement> | undefined;
165
- onEmptiedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
166
- onEncrypted?: React.ReactEventHandler<HTMLInputElement> | undefined;
167
- onEncryptedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
168
- onEnded?: React.ReactEventHandler<HTMLInputElement> | undefined;
169
- onEndedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
170
- onLoadedData?: React.ReactEventHandler<HTMLInputElement> | undefined;
171
- onLoadedDataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
172
- onLoadedMetadata?: React.ReactEventHandler<HTMLInputElement> | undefined;
173
- onLoadedMetadataCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
174
- onLoadStart?: React.ReactEventHandler<HTMLInputElement> | undefined;
175
- onLoadStartCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
176
- onPause?: React.ReactEventHandler<HTMLInputElement> | undefined;
177
- onPauseCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
178
- onPlay?: React.ReactEventHandler<HTMLInputElement> | undefined;
179
- onPlayCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
180
- onPlaying?: React.ReactEventHandler<HTMLInputElement> | undefined;
181
- onPlayingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
182
- onProgress?: React.ReactEventHandler<HTMLInputElement> | undefined;
183
- onProgressCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
184
- onRateChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
185
- onRateChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
186
- onSeeked?: React.ReactEventHandler<HTMLInputElement> | undefined;
187
- onSeekedCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
188
- onSeeking?: React.ReactEventHandler<HTMLInputElement> | undefined;
189
- onSeekingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
190
- onStalled?: React.ReactEventHandler<HTMLInputElement> | undefined;
191
- onStalledCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
192
- onSuspend?: React.ReactEventHandler<HTMLInputElement> | undefined;
193
- onSuspendCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
194
- onTimeUpdate?: React.ReactEventHandler<HTMLInputElement> | undefined;
195
- onTimeUpdateCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
196
- onVolumeChange?: React.ReactEventHandler<HTMLInputElement> | undefined;
197
- onVolumeChangeCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
198
- onWaiting?: React.ReactEventHandler<HTMLInputElement> | undefined;
199
- onWaitingCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
200
- onAuxClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
201
- onAuxClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
202
- onClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
203
- onClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
204
- onContextMenu?: React.MouseEventHandler<HTMLInputElement> | undefined;
205
- onContextMenuCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
206
- onDoubleClick?: React.MouseEventHandler<HTMLInputElement> | undefined;
207
- onDoubleClickCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
208
- onDrag?: React.DragEventHandler<HTMLInputElement> | undefined;
209
- onDragCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
210
- onDragEnd?: React.DragEventHandler<HTMLInputElement> | undefined;
211
- onDragEndCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
212
- onDragEnter?: React.DragEventHandler<HTMLInputElement> | undefined;
213
- onDragEnterCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
214
- onDragExit?: React.DragEventHandler<HTMLInputElement> | undefined;
215
- onDragExitCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
216
- onDragLeave?: React.DragEventHandler<HTMLInputElement> | undefined;
217
- onDragLeaveCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
218
- onDragOver?: React.DragEventHandler<HTMLInputElement> | undefined;
219
- onDragOverCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
220
- onDragStart?: React.DragEventHandler<HTMLInputElement> | undefined;
221
- onDragStartCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
222
- onDrop?: React.DragEventHandler<HTMLInputElement> | undefined;
223
- onDropCapture?: React.DragEventHandler<HTMLInputElement> | undefined;
224
- onMouseDown?: React.MouseEventHandler<HTMLInputElement> | undefined;
225
- onMouseDownCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
226
- onMouseEnter?: React.MouseEventHandler<HTMLInputElement> | undefined;
227
- onMouseLeave?: React.MouseEventHandler<HTMLInputElement> | undefined;
228
- onMouseMove?: React.MouseEventHandler<HTMLInputElement> | undefined;
229
- onMouseMoveCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
230
- onMouseOut?: React.MouseEventHandler<HTMLInputElement> | undefined;
231
- onMouseOutCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
232
- onMouseOver?: React.MouseEventHandler<HTMLInputElement> | undefined;
233
- onMouseOverCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
234
- onMouseUp?: React.MouseEventHandler<HTMLInputElement> | undefined;
235
- onMouseUpCapture?: React.MouseEventHandler<HTMLInputElement> | undefined;
236
- onSelect?: React.ReactEventHandler<HTMLInputElement> | undefined;
237
- onSelectCapture?: React.ReactEventHandler<HTMLInputElement> | undefined;
238
- onTouchCancel?: React.TouchEventHandler<HTMLInputElement> | undefined;
239
- onTouchCancelCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
240
- onTouchEnd?: React.TouchEventHandler<HTMLInputElement> | undefined;
241
- onTouchEndCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
242
- onTouchMove?: React.TouchEventHandler<HTMLInputElement> | undefined;
243
- onTouchMoveCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
244
- onTouchStart?: React.TouchEventHandler<HTMLInputElement> | undefined;
245
- onTouchStartCapture?: React.TouchEventHandler<HTMLInputElement> | undefined;
246
- onPointerDown?: React.PointerEventHandler<HTMLInputElement> | undefined;
247
- onPointerDownCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
248
- onPointerMove?: React.PointerEventHandler<HTMLInputElement> | undefined;
249
- onPointerMoveCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
250
- onPointerUp?: React.PointerEventHandler<HTMLInputElement> | undefined;
251
- onPointerUpCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
252
- onPointerCancel?: React.PointerEventHandler<HTMLInputElement> | undefined;
253
- onPointerCancelCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
254
- onPointerEnter?: React.PointerEventHandler<HTMLInputElement> | undefined;
255
- onPointerLeave?: React.PointerEventHandler<HTMLInputElement> | undefined;
256
- onPointerOver?: React.PointerEventHandler<HTMLInputElement> | undefined;
257
- onPointerOverCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
258
- onPointerOut?: React.PointerEventHandler<HTMLInputElement> | undefined;
259
- onPointerOutCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
260
- onGotPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
261
- onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
262
- onLostPointerCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
263
- onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLInputElement> | undefined;
264
- onScroll?: React.UIEventHandler<HTMLInputElement> | undefined;
265
- onScrollCapture?: React.UIEventHandler<HTMLInputElement> | undefined;
266
- onScrollEnd?: React.UIEventHandler<HTMLInputElement> | undefined;
267
- onScrollEndCapture?: React.UIEventHandler<HTMLInputElement> | undefined;
268
- onWheel?: React.WheelEventHandler<HTMLInputElement> | undefined;
269
- onWheelCapture?: React.WheelEventHandler<HTMLInputElement> | undefined;
270
- onAnimationStart?: React.AnimationEventHandler<HTMLInputElement> | undefined;
271
- onAnimationStartCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
272
- onAnimationEnd?: React.AnimationEventHandler<HTMLInputElement> | undefined;
273
- onAnimationEndCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
274
- onAnimationIteration?: React.AnimationEventHandler<HTMLInputElement> | undefined;
275
- onAnimationIterationCapture?: React.AnimationEventHandler<HTMLInputElement> | undefined;
276
- onToggle?: React.ToggleEventHandler<HTMLInputElement> | undefined;
277
- onBeforeToggle?: React.ToggleEventHandler<HTMLInputElement> | undefined;
278
- onTransitionCancel?: React.TransitionEventHandler<HTMLInputElement> | undefined;
279
- onTransitionCancelCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
280
- onTransitionEnd?: React.TransitionEventHandler<HTMLInputElement> | undefined;
281
- onTransitionEndCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
282
- onTransitionRun?: React.TransitionEventHandler<HTMLInputElement> | undefined;
283
- onTransitionRunCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
284
- onTransitionStart?: React.TransitionEventHandler<HTMLInputElement> | undefined;
285
- onTransitionStartCapture?: React.TransitionEventHandler<HTMLInputElement> | undefined;
286
- form?: string | undefined;
287
- list?: string | undefined;
288
- step?: string | number | undefined;
4
+ export declare const UXSwitch: React.ForwardRefExoticComponent<(Omit<Omit<import("@heroui/system-rsc").OmitCommonProps<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, keyof import("@heroui/switch").SwitchProps> & import("@heroui/switch").SwitchProps & {
5
+ as?: import("@heroui/system-rsc").As<any> | undefined;
6
+ } & {
7
+ color?: "success" | "primary" | "danger" | "warning" | "bullish" | "bearish" | "contrast" | undefined;
289
8
  size?: "sm" | "md" | "lg" | undefined;
290
- value?: string | (readonly string[] & string) | undefined;
291
- width?: string | number | undefined;
292
- height?: string | number | undefined;
293
- multiple?: boolean | undefined;
294
- disabled?: boolean | undefined;
295
- classNames?: import("@heroui/theme").SlotsToClasses<"base" | "label" | "startContent" | "endContent" | "wrapper" | "hiddenInput" | "thumb" | "thumbIcon"> | undefined;
296
9
  isDisabled?: boolean | undefined;
297
- isReadOnly?: boolean | undefined;
298
- onFocusChange?: ((isFocused: boolean) => void) | undefined;
299
- placeholder?: string | undefined;
300
- excludeFromTabOrder?: boolean | undefined;
301
- autoComplete?: React.HTMLInputAutoCompleteAttribute | undefined;
302
- maxLength?: number | undefined;
303
- minLength?: number | undefined;
304
- pattern?: string | undefined;
305
- type?: React.HTMLInputTypeAttribute | undefined;
306
- name?: string | undefined;
307
10
  disableAnimation?: boolean | undefined;
11
+ }, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<import("@heroui/system-rsc").OmitCommonProps<Omit<Omit<any, "ref">, never>, keyof import("@heroui/switch").SwitchProps> & import("@heroui/switch").SwitchProps & {
308
12
  as?: import("@heroui/system-rsc").As<any> | undefined;
309
- key?: React.Key | null | undefined;
310
- accept?: string | undefined;
311
- alt?: string | undefined;
312
- capture?: boolean | "user" | "environment" | undefined;
313
- checked?: boolean | undefined;
314
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
315
- formEncType?: string | undefined;
316
- formMethod?: string | undefined;
317
- formNoValidate?: boolean | undefined;
318
- formTarget?: string | undefined;
319
- max?: string | number | undefined;
320
- min?: string | number | undefined;
321
- readOnly?: boolean | undefined;
322
- required?: boolean | undefined;
323
- src?: string | undefined;
324
- startContent?: React.ReactNode;
325
- endContent?: React.ReactNode;
326
- onValueChange?: ((isSelected: boolean) => void) | undefined;
327
- isSelected?: boolean | undefined;
328
- defaultSelected?: boolean | undefined;
329
- thumbIcon?: React.ReactNode | ((props: import("@heroui/switch").SwitchThumbIconProps) => React.ReactNode);
330
- }, "ref"> & React.RefAttributes<React.ReactElement<unknown, string | React.JSXElementConstructor<any>>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
13
+ } & {
14
+ color?: "success" | "primary" | "danger" | "warning" | "bullish" | "bearish" | "contrast" | undefined;
15
+ size?: "sm" | "md" | "lg" | undefined;
16
+ isDisabled?: boolean | undefined;
17
+ disableAnimation?: boolean | undefined;
18
+ }, "ref"> & React.RefAttributes<HTMLInputElement>, "ref">) & React.RefAttributes<HTMLInputElement>>;