rupoui 1.4.0 → 1.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 CHANGED
@@ -104,6 +104,74 @@ Apply custom themes using the `data-theme` attribute:
104
104
 
105
105
  ## 🧩 Components
106
106
 
107
+ ### Card
108
+
109
+ A composable container component for grouping related content, with support for layout slots and interactive states.
110
+
111
+ ```tsx
112
+ import { Button, Card, CardBody, CardFooter, CardHeader } from "rupoui";
113
+
114
+ <Card radius="lg" shadow="sm" className="max-w-md">
115
+ <CardHeader>
116
+ <h4 className="text-lg font-semibold">Pro Plan</h4>
117
+ <p className="text-default-500 text-sm">Best for growing teams</p>
118
+ </CardHeader>
119
+ <CardBody>Includes analytics, priority support, and team collaboration features.</CardBody>
120
+ <CardFooter>
121
+ <Button fullWidth>Upgrade</Button>
122
+ </CardFooter>
123
+ </Card>;
124
+ ```
125
+
126
+ **Props:**
127
+
128
+ - `variant`: `solid` (default), `bordered`, `flat`, `ghost`.
129
+ - `color`: `default` (default), `primary`, `secondary`, `success`, `warning`, `danger`.
130
+ - `radius`: `none`, `sm`, `md`, `lg`, `xl`.
131
+ - `shadow`: `none` (default), `sm`, `md`, `lg`.
132
+ - `isHoverable`, `isClickable`, `isBlurred`, `fullWidth`.
133
+ - `classNames`: Slot styling for `base`, `header`, `body`, `footer`.
134
+
135
+ ### Accordion
136
+
137
+ An accessible disclosure component for showing and hiding sections of content.
138
+
139
+ ```tsx
140
+ import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "rupoui";
141
+
142
+ <Accordion type="single" defaultValue="item-1" collapsible>
143
+ <AccordionItem value="item-1">
144
+ <AccordionTrigger>What is RupoUI?</AccordionTrigger>
145
+ <AccordionContent>
146
+ RupoUI is a modern React UI library built with TypeScript and Tailwind CSS.
147
+ </AccordionContent>
148
+ </AccordionItem>
149
+
150
+ <AccordionItem value="item-2">
151
+ <AccordionTrigger>Is it accessible?</AccordionTrigger>
152
+ <AccordionContent>
153
+ Yes. It supports ARIA semantics and keyboard interactions out of the box.
154
+ </AccordionContent>
155
+ </AccordionItem>
156
+ </Accordion>;
157
+ ```
158
+
159
+ **Props (Accordion):**
160
+
161
+ - `type`: `single` (default) or `multiple`.
162
+ - `value` / `defaultValue` / `onValueChange`: Controlled and uncontrolled state.
163
+ - `collapsible`: Allows closing the open item in `single` mode.
164
+ - `variant`: `solid` (default), `bordered`, `ghost`.
165
+ - `color`: `default` (default), `primary`, `secondary`, `success`, `warning`, `danger`.
166
+ - `radius`: `none`, `sm`, `md` (default), `lg`, `xl`.
167
+ - `fullWidth`: Whether the accordion takes full width.
168
+ - `classNames`: Slot styling for `base`, `item`, `trigger`, `triggerInner`, `indicator`, `content`, `contentInner`.
169
+
170
+ **Accessibility & Keyboard:**
171
+
172
+ - ARIA: `aria-expanded`, `aria-controls`, `role="region"`, `aria-labelledby`.
173
+ - Keyboard: `Enter` / `Space` to toggle, `ArrowUp` / `ArrowDown` to move focus, `Home` / `End` for first/last trigger.
174
+
107
175
  ### Button
108
176
 
109
177
  A versatile button component with support for loading states and icons.
@@ -253,8 +321,8 @@ import { DatePicker } from "rupoui";
253
321
  A component for selecting a start and end date with calendar range selection, hover preview, and text/segmented input modes.
254
322
 
255
323
  ```tsx
256
- import { DateRangePicker } from "rupoui";
257
324
  import { useState } from "react";
325
+ import { DateRangePicker } from "rupoui";
258
326
 
259
327
  const Example = () => {
260
328
  const [range, setRange] = useState<{ start: Date | null; end: Date | null }>({
@@ -264,11 +332,7 @@ const Example = () => {
264
332
 
265
333
  return (
266
334
  <>
267
- <DateRangePicker
268
- label="Travel Dates"
269
- value={range}
270
- onChange={setRange}
271
- />
335
+ <DateRangePicker label="Travel Dates" value={range} onChange={setRange} />
272
336
 
273
337
  <DateRangePicker
274
338
  label="Range (Two Inputs)"
@@ -295,7 +359,7 @@ const Example = () => {
295
359
  - **Validation**: `isInvalid`, `isDisabled`, `isReadOnly`, `minDate`, `maxDate`, `disabledDates`.
296
360
  - **Range Input**:
297
361
  - `rangeInput`: `single` (default) or `two`.
298
- - `separator`: separator string between start/end (default: ` – `).
362
+ - `separator`: separator string between start/end (default: `–`).
299
363
  - `inputMode`: `text` (default) or `segmented`.
300
364
  - **Style Variants**:
301
365
  - `variant`: `solid` (default), `bordered`, `flat`, `ghost`.
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { AccordionProps } from './accordion.types';
3
+
4
+ export declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { AccordionContentProps } from './accordion.types';
3
+
4
+ export declare const AccordionContent: React.ForwardRefExoticComponent<AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { AccordionItemProps } from './accordion.types';
3
+
4
+ export declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { AccordionTriggerProps } from './accordion.types';
3
+
4
+ export declare const AccordionTrigger: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,214 @@
1
+ export declare const accordion: import('tailwind-variants').TVReturnType<{
2
+ variant: {
3
+ solid: {
4
+ item: string;
5
+ trigger: string;
6
+ };
7
+ bordered: {
8
+ item: string;
9
+ trigger: string;
10
+ };
11
+ ghost: {
12
+ item: string;
13
+ trigger: string;
14
+ };
15
+ };
16
+ color: {
17
+ default: {
18
+ trigger: string;
19
+ indicator: string;
20
+ };
21
+ primary: {
22
+ trigger: string;
23
+ indicator: string;
24
+ };
25
+ secondary: {
26
+ trigger: string;
27
+ indicator: string;
28
+ };
29
+ success: {
30
+ trigger: string;
31
+ indicator: string;
32
+ };
33
+ warning: {
34
+ trigger: string;
35
+ indicator: string;
36
+ };
37
+ danger: {
38
+ trigger: string;
39
+ indicator: string;
40
+ };
41
+ };
42
+ radius: {
43
+ none: {
44
+ item: string;
45
+ };
46
+ sm: {
47
+ item: string;
48
+ };
49
+ md: {
50
+ item: string;
51
+ };
52
+ lg: {
53
+ item: string;
54
+ };
55
+ xl: {
56
+ item: string;
57
+ };
58
+ };
59
+ fullWidth: {
60
+ true: {
61
+ base: string;
62
+ };
63
+ };
64
+ }, {
65
+ base: string;
66
+ item: string;
67
+ trigger: string;
68
+ triggerInner: string;
69
+ indicator: string;
70
+ content: string;
71
+ contentInner: string;
72
+ }, undefined, {
73
+ variant: {
74
+ solid: {
75
+ item: string;
76
+ trigger: string;
77
+ };
78
+ bordered: {
79
+ item: string;
80
+ trigger: string;
81
+ };
82
+ ghost: {
83
+ item: string;
84
+ trigger: string;
85
+ };
86
+ };
87
+ color: {
88
+ default: {
89
+ trigger: string;
90
+ indicator: string;
91
+ };
92
+ primary: {
93
+ trigger: string;
94
+ indicator: string;
95
+ };
96
+ secondary: {
97
+ trigger: string;
98
+ indicator: string;
99
+ };
100
+ success: {
101
+ trigger: string;
102
+ indicator: string;
103
+ };
104
+ warning: {
105
+ trigger: string;
106
+ indicator: string;
107
+ };
108
+ danger: {
109
+ trigger: string;
110
+ indicator: string;
111
+ };
112
+ };
113
+ radius: {
114
+ none: {
115
+ item: string;
116
+ };
117
+ sm: {
118
+ item: string;
119
+ };
120
+ md: {
121
+ item: string;
122
+ };
123
+ lg: {
124
+ item: string;
125
+ };
126
+ xl: {
127
+ item: string;
128
+ };
129
+ };
130
+ fullWidth: {
131
+ true: {
132
+ base: string;
133
+ };
134
+ };
135
+ }, {
136
+ base: string;
137
+ item: string;
138
+ trigger: string;
139
+ triggerInner: string;
140
+ indicator: string;
141
+ content: string;
142
+ contentInner: string;
143
+ }, import('tailwind-variants').TVReturnType<{
144
+ variant: {
145
+ solid: {
146
+ item: string;
147
+ trigger: string;
148
+ };
149
+ bordered: {
150
+ item: string;
151
+ trigger: string;
152
+ };
153
+ ghost: {
154
+ item: string;
155
+ trigger: string;
156
+ };
157
+ };
158
+ color: {
159
+ default: {
160
+ trigger: string;
161
+ indicator: string;
162
+ };
163
+ primary: {
164
+ trigger: string;
165
+ indicator: string;
166
+ };
167
+ secondary: {
168
+ trigger: string;
169
+ indicator: string;
170
+ };
171
+ success: {
172
+ trigger: string;
173
+ indicator: string;
174
+ };
175
+ warning: {
176
+ trigger: string;
177
+ indicator: string;
178
+ };
179
+ danger: {
180
+ trigger: string;
181
+ indicator: string;
182
+ };
183
+ };
184
+ radius: {
185
+ none: {
186
+ item: string;
187
+ };
188
+ sm: {
189
+ item: string;
190
+ };
191
+ md: {
192
+ item: string;
193
+ };
194
+ lg: {
195
+ item: string;
196
+ };
197
+ xl: {
198
+ item: string;
199
+ };
200
+ };
201
+ fullWidth: {
202
+ true: {
203
+ base: string;
204
+ };
205
+ };
206
+ }, {
207
+ base: string;
208
+ item: string;
209
+ trigger: string;
210
+ triggerInner: string;
211
+ indicator: string;
212
+ content: string;
213
+ contentInner: string;
214
+ }, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1,36 @@
1
+ import { HTMLMotionProps } from 'framer-motion';
2
+ import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
3
+ import { accordion } from './accordion.styles';
4
+
5
+ export type AccordionType = "single" | "multiple";
6
+ export type AccordionVariant = "solid" | "bordered" | "ghost";
7
+ export type AccordionColor = "default" | "primary" | "secondary" | "success" | "warning" | "danger";
8
+ export type AccordionRadius = "none" | "sm" | "md" | "lg" | "xl";
9
+ export type AccordionValue = string | string[] | null;
10
+ export type AccordionSlots = keyof ReturnType<typeof accordion>;
11
+ export interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue" | "value" | "color"> {
12
+ children: ReactNode;
13
+ type?: AccordionType;
14
+ value?: AccordionValue;
15
+ defaultValue?: AccordionValue;
16
+ onValueChange?: (value: AccordionValue) => void;
17
+ collapsible?: boolean;
18
+ variant?: AccordionVariant;
19
+ color?: AccordionColor;
20
+ radius?: AccordionRadius;
21
+ fullWidth?: boolean;
22
+ className?: string;
23
+ classNames?: Partial<Record<AccordionSlots, string>>;
24
+ }
25
+ export interface AccordionItemProps extends HTMLAttributes<HTMLDivElement> {
26
+ children: ReactNode;
27
+ value: string;
28
+ disabled?: boolean;
29
+ }
30
+ export interface AccordionTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> {
31
+ children: ReactNode;
32
+ indicator?: ReactNode;
33
+ }
34
+ export interface AccordionContentProps extends Omit<HTMLMotionProps<"div">, "ref"> {
35
+ children: ReactNode;
36
+ }
@@ -0,0 +1,39 @@
1
+ import { RefObject } from 'react';
2
+ import { AccordionColor, AccordionProps, AccordionRadius, AccordionValue, AccordionVariant } from './accordion.types';
3
+
4
+ type RegisteredTrigger = {
5
+ id: string;
6
+ ref: RefObject<HTMLButtonElement | null>;
7
+ disabled: boolean;
8
+ };
9
+ export interface AccordionContextValue {
10
+ type: NonNullable<AccordionProps["type"]>;
11
+ value: AccordionValue;
12
+ collapsible: boolean;
13
+ variant: NonNullable<AccordionVariant>;
14
+ color: NonNullable<AccordionColor>;
15
+ radius: NonNullable<AccordionRadius>;
16
+ fullWidth: boolean;
17
+ classNames?: AccordionProps["classNames"];
18
+ isItemOpen: (itemValue: string) => boolean;
19
+ toggleItem: (itemValue: string) => void;
20
+ registerTrigger: (trigger: RegisteredTrigger) => void;
21
+ unregisterTrigger: (id: string) => void;
22
+ focusNextTrigger: (currentId: string) => void;
23
+ focusPreviousTrigger: (currentId: string) => void;
24
+ focusFirstTrigger: () => void;
25
+ focusLastTrigger: () => void;
26
+ }
27
+ export interface AccordionItemContextValue {
28
+ value: string;
29
+ disabled: boolean;
30
+ isOpen: boolean;
31
+ triggerId: string;
32
+ contentId: string;
33
+ toggle: () => void;
34
+ }
35
+ export declare const AccordionContext: import('react').Context<AccordionContextValue | null>;
36
+ export declare const AccordionItemContext: import('react').Context<AccordionItemContextValue | null>;
37
+ export declare const useAccordionContext: () => AccordionContextValue;
38
+ export declare const useAccordionItemContext: () => AccordionItemContextValue;
39
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from './Accordion';
2
+ export * from './AccordionContent';
3
+ export * from './AccordionItem';
4
+ export * from './AccordionTrigger';
5
+ export * from './accordion.styles';
6
+ export * from './accordion.types';
@@ -8,10 +8,10 @@ export declare function useCheckbox(props: CheckboxProps): {
8
8
  isDisabled: boolean;
9
9
  isReadOnly: boolean;
10
10
  isInvalid: boolean;
11
- size: "sm" | "md" | "lg" | undefined;
12
- color: "primary" | "secondary" | "success" | "warning" | "danger" | "default" | undefined;
13
- radius: "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
14
- variant: "solid" | "flat" | "ghost" | "bordered" | "light" | undefined;
11
+ size: "md" | "sm" | "lg" | undefined;
12
+ color: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
13
+ radius: "md" | "none" | "sm" | "lg" | "xl" | "full" | undefined;
14
+ variant: "solid" | "bordered" | "ghost" | "flat" | "light" | undefined;
15
15
  handleChange: (e: ChangeEvent<HTMLInputElement>) => void;
16
16
  children: import('react').ReactNode;
17
17
  id: string | undefined;
@@ -22,21 +22,9 @@ export declare function useCheckbox(props: CheckboxProps): {
22
22
  disableAnimation?: boolean;
23
23
  classNames?: Partial<Record<import('./checkbox.types').CheckboxSlots, string>>;
24
24
  content?: string | undefined | undefined;
25
- style?: import('react').CSSProperties | undefined;
26
- onAnimationStart?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
27
- onDragStart?: import('react').DragEventHandler<HTMLInputElement> | undefined;
28
- onDragEnd?: import('react').DragEventHandler<HTMLInputElement> | undefined;
29
- onDrag?: import('react').DragEventHandler<HTMLInputElement> | undefined;
30
- disabled?: boolean | undefined | undefined;
31
- form?: string | undefined | undefined;
32
- formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
33
- formEncType?: string | undefined | undefined;
34
- formMethod?: string | undefined | undefined;
35
- formNoValidate?: boolean | undefined | undefined;
36
- formTarget?: string | undefined | undefined;
37
- type?: import('react').HTMLInputTypeAttribute | undefined;
38
- defaultChecked?: boolean | undefined | undefined;
25
+ multiple?: boolean | undefined | undefined;
39
26
  defaultValue?: string | number | readonly string[] | undefined;
27
+ defaultChecked?: boolean | undefined | undefined;
40
28
  suppressContentEditableWarning?: boolean | undefined | undefined;
41
29
  suppressHydrationWarning?: boolean | undefined | undefined;
42
30
  accessKey?: string | undefined | undefined;
@@ -53,6 +41,7 @@ export declare function useCheckbox(props: CheckboxProps): {
53
41
  nonce?: string | undefined | undefined;
54
42
  slot?: string | undefined | undefined;
55
43
  spellCheck?: (boolean | "true" | "false") | undefined;
44
+ style?: import('react').CSSProperties | undefined;
56
45
  tabIndex?: number | undefined | undefined;
57
46
  title?: string | undefined | undefined;
58
47
  translate?: "yes" | "no" | undefined | undefined;
@@ -231,7 +220,9 @@ export declare function useCheckbox(props: CheckboxProps): {
231
220
  onContextMenuCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
232
221
  onDoubleClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
233
222
  onDoubleClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
223
+ onDrag?: import('react').DragEventHandler<HTMLInputElement> | undefined;
234
224
  onDragCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
225
+ onDragEnd?: import('react').DragEventHandler<HTMLInputElement> | undefined;
235
226
  onDragEndCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
236
227
  onDragEnter?: import('react').DragEventHandler<HTMLInputElement> | undefined;
237
228
  onDragEnterCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
@@ -241,6 +232,7 @@ export declare function useCheckbox(props: CheckboxProps): {
241
232
  onDragLeaveCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
242
233
  onDragOver?: import('react').DragEventHandler<HTMLInputElement> | undefined;
243
234
  onDragOverCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
235
+ onDragStart?: import('react').DragEventHandler<HTMLInputElement> | undefined;
244
236
  onDragStartCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
245
237
  onDrop?: import('react').DragEventHandler<HTMLInputElement> | undefined;
246
238
  onDropCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
@@ -290,6 +282,7 @@ export declare function useCheckbox(props: CheckboxProps): {
290
282
  onScrollEndCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
291
283
  onWheel?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
292
284
  onWheelCapture?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
285
+ onAnimationStart?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
293
286
  onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
294
287
  onAnimationEnd?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
295
288
  onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
@@ -305,6 +298,14 @@ export declare function useCheckbox(props: CheckboxProps): {
305
298
  onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
306
299
  onTransitionStart?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
307
300
  onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
301
+ type?: import('react').HTMLInputTypeAttribute | undefined;
302
+ disabled?: boolean | undefined | undefined;
303
+ form?: string | undefined | undefined;
304
+ formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
305
+ formEncType?: string | undefined | undefined;
306
+ formMethod?: string | undefined | undefined;
307
+ formNoValidate?: boolean | undefined | undefined;
308
+ formTarget?: string | undefined | undefined;
308
309
  accept?: string | undefined | undefined;
309
310
  alt?: string | undefined | undefined;
310
311
  autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
@@ -316,7 +317,6 @@ export declare function useCheckbox(props: CheckboxProps): {
316
317
  maxLength?: number | undefined | undefined;
317
318
  min?: number | string | undefined | undefined;
318
319
  minLength?: number | undefined | undefined;
319
- multiple?: boolean | undefined | undefined;
320
320
  pattern?: string | undefined | undefined;
321
321
  placeholder?: string | undefined | undefined;
322
322
  readOnly?: boolean | undefined | undefined;
@@ -11,18 +11,13 @@ export declare function useCheckboxGroup(props: CheckboxGroupProps): {
11
11
  isReadOnly: boolean | undefined;
12
12
  isInvalid: boolean | undefined;
13
13
  orientation: "vertical" | "horizontal";
14
- color: "primary" | "secondary" | "success" | "warning" | "danger" | "default" | undefined;
15
- size: "sm" | "md" | "lg" | undefined;
16
- radius: "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
17
- variant: "solid" | "flat" | "ghost" | "bordered" | "light" | undefined;
14
+ color: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | undefined;
15
+ size: "md" | "sm" | "lg" | undefined;
16
+ radius: "md" | "none" | "sm" | "lg" | "xl" | "full" | undefined;
17
+ variant: "solid" | "bordered" | "ghost" | "flat" | "light" | undefined;
18
18
  otherProps: {
19
19
  classNames?: Partial<Record<import('./checkbox.types').CheckboxGroupSlots, string>>;
20
20
  content?: string | undefined | undefined;
21
- style?: import('react').CSSProperties | undefined;
22
- onAnimationStart?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
23
- onDragStart?: import('react').DragEventHandler<HTMLDivElement> | undefined;
24
- onDragEnd?: import('react').DragEventHandler<HTMLDivElement> | undefined;
25
- onDrag?: import('react').DragEventHandler<HTMLDivElement> | undefined;
26
21
  defaultChecked?: boolean | undefined | undefined;
27
22
  suppressContentEditableWarning?: boolean | undefined | undefined;
28
23
  suppressHydrationWarning?: boolean | undefined | undefined;
@@ -41,6 +36,7 @@ export declare function useCheckboxGroup(props: CheckboxGroupProps): {
41
36
  nonce?: string | undefined | undefined;
42
37
  slot?: string | undefined | undefined;
43
38
  spellCheck?: (boolean | "true" | "false") | undefined;
39
+ style?: import('react').CSSProperties | undefined;
44
40
  tabIndex?: number | undefined | undefined;
45
41
  title?: string | undefined | undefined;
46
42
  translate?: "yes" | "no" | undefined | undefined;
@@ -219,7 +215,9 @@ export declare function useCheckboxGroup(props: CheckboxGroupProps): {
219
215
  onContextMenuCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
220
216
  onDoubleClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
221
217
  onDoubleClickCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
218
+ onDrag?: import('react').DragEventHandler<HTMLDivElement> | undefined;
222
219
  onDragCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
220
+ onDragEnd?: import('react').DragEventHandler<HTMLDivElement> | undefined;
223
221
  onDragEndCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
224
222
  onDragEnter?: import('react').DragEventHandler<HTMLDivElement> | undefined;
225
223
  onDragEnterCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
@@ -229,6 +227,7 @@ export declare function useCheckboxGroup(props: CheckboxGroupProps): {
229
227
  onDragLeaveCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
230
228
  onDragOver?: import('react').DragEventHandler<HTMLDivElement> | undefined;
231
229
  onDragOverCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
230
+ onDragStart?: import('react').DragEventHandler<HTMLDivElement> | undefined;
232
231
  onDragStartCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
233
232
  onDrop?: import('react').DragEventHandler<HTMLDivElement> | undefined;
234
233
  onDropCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
@@ -278,6 +277,7 @@ export declare function useCheckboxGroup(props: CheckboxGroupProps): {
278
277
  onScrollEndCapture?: import('react').UIEventHandler<HTMLDivElement> | undefined;
279
278
  onWheel?: import('react').WheelEventHandler<HTMLDivElement> | undefined;
280
279
  onWheelCapture?: import('react').WheelEventHandler<HTMLDivElement> | undefined;
280
+ onAnimationStart?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
281
281
  onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
282
282
  onAnimationEnd?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
283
283
  onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
@@ -5,7 +5,7 @@ export declare function useChipGroup(props: ChipGroupProps): {
5
5
  contextValue: {
6
6
  groupState: string[];
7
7
  setGroupState: (newValue: string[]) => void;
8
- selectionMode: "multiple" | "single";
8
+ selectionMode: "single" | "multiple";
9
9
  isDisabled: boolean;
10
10
  color: import('./chip.types').ChipColor;
11
11
  size: import('./chip.types').ChipSize;
@@ -17,11 +17,6 @@ export declare function useChipGroup(props: ChipGroupProps): {
17
17
  className: string | undefined;
18
18
  otherProps: {
19
19
  content?: string | undefined | undefined;
20
- style?: import('react').CSSProperties | undefined;
21
- onAnimationStart?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
22
- onDragStart?: import('react').DragEventHandler<HTMLDivElement> | undefined;
23
- onDragEnd?: import('react').DragEventHandler<HTMLDivElement> | undefined;
24
- onDrag?: import('react').DragEventHandler<HTMLDivElement> | undefined;
25
20
  defaultChecked?: boolean | undefined | undefined;
26
21
  suppressContentEditableWarning?: boolean | undefined | undefined;
27
22
  suppressHydrationWarning?: boolean | undefined | undefined;
@@ -39,6 +34,7 @@ export declare function useChipGroup(props: ChipGroupProps): {
39
34
  nonce?: string | undefined | undefined;
40
35
  slot?: string | undefined | undefined;
41
36
  spellCheck?: (boolean | "true" | "false") | undefined;
37
+ style?: import('react').CSSProperties | undefined;
42
38
  tabIndex?: number | undefined | undefined;
43
39
  title?: string | undefined | undefined;
44
40
  translate?: "yes" | "no" | undefined | undefined;
@@ -216,7 +212,9 @@ export declare function useChipGroup(props: ChipGroupProps): {
216
212
  onContextMenuCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
217
213
  onDoubleClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
218
214
  onDoubleClickCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
215
+ onDrag?: import('react').DragEventHandler<HTMLDivElement> | undefined;
219
216
  onDragCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
217
+ onDragEnd?: import('react').DragEventHandler<HTMLDivElement> | undefined;
220
218
  onDragEndCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
221
219
  onDragEnter?: import('react').DragEventHandler<HTMLDivElement> | undefined;
222
220
  onDragEnterCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
@@ -226,6 +224,7 @@ export declare function useChipGroup(props: ChipGroupProps): {
226
224
  onDragLeaveCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
227
225
  onDragOver?: import('react').DragEventHandler<HTMLDivElement> | undefined;
228
226
  onDragOverCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
227
+ onDragStart?: import('react').DragEventHandler<HTMLDivElement> | undefined;
229
228
  onDragStartCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
230
229
  onDrop?: import('react').DragEventHandler<HTMLDivElement> | undefined;
231
230
  onDropCapture?: import('react').DragEventHandler<HTMLDivElement> | undefined;
@@ -275,6 +274,7 @@ export declare function useChipGroup(props: ChipGroupProps): {
275
274
  onScrollEndCapture?: import('react').UIEventHandler<HTMLDivElement> | undefined;
276
275
  onWheel?: import('react').WheelEventHandler<HTMLDivElement> | undefined;
277
276
  onWheelCapture?: import('react').WheelEventHandler<HTMLDivElement> | undefined;
277
+ onAnimationStart?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
278
278
  onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
279
279
  onAnimationEnd?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
280
280
  onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
@@ -27,4 +27,4 @@ export declare const InputNumber: React.ForwardRefExoticComponent<{
27
27
  isReadOnly?: boolean;
28
28
  fullWidth?: boolean;
29
29
  classNames?: Partial<Record<"base" | "label" | "inputWrapper" | "input" | "buttonIncrement" | "buttonDecrement" | "controlsWrapper" | "description" | "errorMessage", string>>;
30
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "color" | "onChange" | "size" | "max" | "min" | "step"> & React.RefAttributes<HTMLInputElement>>;
30
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "color" | "onChange" | "defaultValue" | "value" | "size" | "max" | "min" | "step"> & React.RefAttributes<HTMLInputElement>>;