react-magma-dom 3.2.1 → 3.3.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.
@@ -0,0 +1 @@
1
+ export * from './ToggleButton';
@@ -0,0 +1,53 @@
1
+ import * as React from 'react';
2
+ import { ButtonSize } from '../Button';
3
+ import { ButtonGroupProps } from '../ButtonGroup';
4
+ import { ThemeInterface } from '../../theme/magma';
5
+ /**
6
+ * @children required
7
+ */
8
+ export interface ToggleButtonGroupProps extends ButtonGroupProps {
9
+ /**
10
+ * Description for aria-describedby
11
+ */
12
+ descriptionId?: string;
13
+ /**
14
+ * Enables a radio configuration throughout the group retaining an active selection at all times.
15
+ * @default false
16
+ */
17
+ enforced?: boolean;
18
+ /**
19
+ * Sets the Toggle Button group to have only one active selection.
20
+ * @default false
21
+ */
22
+ exclusive?: boolean;
23
+ isInverse?: boolean;
24
+ /**
25
+ * The onChange handler for managing state of toggle buttons by your custom logic.
26
+ */
27
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value?: string) => void;
28
+ /**
29
+ * @internal
30
+ */
31
+ testId?: string;
32
+ /**
33
+ * @internal
34
+ */
35
+ theme?: ThemeInterface;
36
+ /**
37
+ * Value of the toggle button that is the default selected value for the group
38
+ */
39
+ value?: string;
40
+ }
41
+ export interface ToggleButtonGroupContextInterface {
42
+ ariaChecked?: boolean;
43
+ descriptionId?: string;
44
+ selectedValues?: string[];
45
+ isInverse?: boolean;
46
+ enforced?: boolean;
47
+ exclusive?: boolean;
48
+ selected?: boolean;
49
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value?: string) => void;
50
+ size?: ButtonSize;
51
+ }
52
+ export declare const ToggleButtonGroupContext: React.Context<ToggleButtonGroupContextInterface>;
53
+ export declare const ToggleButtonGroup: React.ForwardRefExoticComponent<ToggleButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,556 @@
1
+ import React from 'react';
2
+ import { ToggleButtonGroupProps } from '.';
3
+ import { ButtonSize } from '../Button';
4
+ declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
5
+ export default _default;
6
+ export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, ToggleButtonGroupProps>;
7
+ export declare const AlignmentExample: {
8
+ (args: any): JSX.Element;
9
+ args: {
10
+ descriptionId?: string;
11
+ enforced: boolean;
12
+ exclusive: boolean;
13
+ isInverse?: boolean;
14
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value?: string) => void;
15
+ testId?: string;
16
+ theme?: import("../..").ThemeInterface;
17
+ value?: string;
18
+ alignment?: import("../ButtonGroup").ButtonGroupAlignment;
19
+ color?: import("../Button").ButtonColor;
20
+ orientation?: import("../ButtonGroup").ButtonGroupOrientation;
21
+ variant?: import("../Button").ButtonVariant;
22
+ size?: ButtonSize;
23
+ noSpace: boolean;
24
+ textTransform?: import("../Button").ButtonTextTransform;
25
+ defaultChecked?: boolean;
26
+ defaultValue?: string | number | readonly string[];
27
+ suppressContentEditableWarning?: boolean;
28
+ suppressHydrationWarning?: boolean;
29
+ accessKey?: string;
30
+ className?: string;
31
+ contentEditable?: boolean | "inherit" | "true" | "false";
32
+ contextMenu?: string;
33
+ dir?: string;
34
+ draggable?: boolean | "true" | "false";
35
+ hidden?: boolean;
36
+ id?: string;
37
+ lang?: string;
38
+ placeholder?: string;
39
+ slot?: string;
40
+ spellCheck?: boolean | "true" | "false";
41
+ style?: React.CSSProperties;
42
+ tabIndex?: number;
43
+ title?: string;
44
+ translate?: "yes" | "no";
45
+ radioGroup?: string;
46
+ role?: React.AriaRole;
47
+ about?: string;
48
+ datatype?: string;
49
+ inlist?: any;
50
+ prefix?: string;
51
+ property?: string;
52
+ resource?: string;
53
+ typeof?: string;
54
+ vocab?: string;
55
+ autoCapitalize?: string;
56
+ autoCorrect?: string;
57
+ autoSave?: string;
58
+ itemProp?: string;
59
+ itemScope?: boolean;
60
+ itemType?: string;
61
+ itemID?: string;
62
+ itemRef?: string;
63
+ results?: number;
64
+ security?: string;
65
+ unselectable?: "on" | "off";
66
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
67
+ is?: string;
68
+ 'aria-activedescendant'?: string;
69
+ 'aria-atomic'?: boolean | "true" | "false";
70
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both";
71
+ 'aria-busy'?: boolean | "true" | "false";
72
+ 'aria-checked'?: boolean | "true" | "false" | "mixed";
73
+ 'aria-colcount'?: number;
74
+ 'aria-colindex'?: number;
75
+ 'aria-colspan'?: number;
76
+ 'aria-controls'?: string;
77
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
78
+ 'aria-describedby'?: string;
79
+ 'aria-details'?: string;
80
+ 'aria-disabled'?: boolean | "true" | "false";
81
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup";
82
+ 'aria-errormessage'?: string;
83
+ 'aria-expanded'?: boolean | "true" | "false";
84
+ 'aria-flowto'?: string;
85
+ 'aria-grabbed'?: boolean | "true" | "false";
86
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree";
87
+ 'aria-hidden'?: boolean | "true" | "false";
88
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
89
+ 'aria-keyshortcuts'?: string;
90
+ 'aria-label'?: string;
91
+ 'aria-labelledby'?: string;
92
+ 'aria-level'?: number;
93
+ 'aria-live'?: "off" | "assertive" | "polite";
94
+ 'aria-modal'?: boolean | "true" | "false";
95
+ 'aria-multiline'?: boolean | "true" | "false";
96
+ 'aria-multiselectable'?: boolean | "true" | "false";
97
+ 'aria-orientation'?: "horizontal" | "vertical";
98
+ 'aria-owns'?: string;
99
+ 'aria-placeholder'?: string;
100
+ 'aria-posinset'?: number;
101
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed";
102
+ 'aria-readonly'?: boolean | "true" | "false";
103
+ 'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
104
+ 'aria-required'?: boolean | "true" | "false";
105
+ 'aria-roledescription'?: string;
106
+ 'aria-rowcount'?: number;
107
+ 'aria-rowindex'?: number;
108
+ 'aria-rowspan'?: number;
109
+ 'aria-selected'?: boolean | "true" | "false";
110
+ 'aria-setsize'?: number;
111
+ 'aria-sort'?: "none" | "other" | "ascending" | "descending";
112
+ 'aria-valuemax'?: number;
113
+ 'aria-valuemin'?: number;
114
+ 'aria-valuenow'?: number;
115
+ 'aria-valuetext'?: string;
116
+ children?: React.ReactNode;
117
+ dangerouslySetInnerHTML?: {
118
+ __html: string;
119
+ };
120
+ onCopy?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
121
+ onCopyCapture?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
122
+ onCut?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
123
+ onCutCapture?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
124
+ onPaste?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
125
+ onPasteCapture?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
126
+ onCompositionEnd?: (event: React.CompositionEvent<HTMLDivElement>) => void;
127
+ onCompositionEndCapture?: (event: React.CompositionEvent<HTMLDivElement>) => void;
128
+ onCompositionStart?: (event: React.CompositionEvent<HTMLDivElement>) => void;
129
+ onCompositionStartCapture?: (event: React.CompositionEvent<HTMLDivElement>) => void;
130
+ onCompositionUpdate?: (event: React.CompositionEvent<HTMLDivElement>) => void;
131
+ onCompositionUpdateCapture?: (event: React.CompositionEvent<HTMLDivElement>) => void;
132
+ onFocus?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
133
+ onFocusCapture?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
134
+ onBlur?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
135
+ onBlurCapture?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
136
+ onChangeCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
137
+ onBeforeInput?: (event: React.FormEvent<HTMLDivElement>) => void;
138
+ onBeforeInputCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
139
+ onInput?: (event: React.FormEvent<HTMLDivElement>) => void;
140
+ onInputCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
141
+ onReset?: (event: React.FormEvent<HTMLDivElement>) => void;
142
+ onResetCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
143
+ onSubmit?: (event: React.FormEvent<HTMLDivElement>) => void;
144
+ onSubmitCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
145
+ onInvalid?: (event: React.FormEvent<HTMLDivElement>) => void;
146
+ onInvalidCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
147
+ onLoad?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
148
+ onLoadCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
149
+ onError?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
150
+ onErrorCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
151
+ onKeyDown?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
152
+ onKeyDownCapture?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
153
+ onKeyPress?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
154
+ onKeyPressCapture?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
155
+ onKeyUp?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
156
+ onKeyUpCapture?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
157
+ onAbort?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
158
+ onAbortCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
159
+ onCanPlay?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
160
+ onCanPlayCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
161
+ onCanPlayThrough?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
162
+ onCanPlayThroughCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
163
+ onDurationChange?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
164
+ onDurationChangeCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
165
+ onEmptied?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
166
+ onEmptiedCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
167
+ onEncrypted?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
168
+ onEncryptedCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
169
+ onEnded?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
170
+ onEndedCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
171
+ onLoadedData?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
172
+ onLoadedDataCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
173
+ onLoadedMetadata?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
174
+ onLoadedMetadataCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
175
+ onLoadStart?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
176
+ onLoadStartCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
177
+ onPause?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
178
+ onPauseCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
179
+ onPlay?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
180
+ onPlayCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
181
+ onPlaying?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
182
+ onPlayingCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
183
+ onProgress?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
184
+ onProgressCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
185
+ onRateChange?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
186
+ onRateChangeCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
187
+ onSeeked?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
188
+ onSeekedCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
189
+ onSeeking?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
190
+ onSeekingCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
191
+ onStalled?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
192
+ onStalledCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
193
+ onSuspend?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
194
+ onSuspendCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
195
+ onTimeUpdate?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
196
+ onTimeUpdateCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
197
+ onVolumeChange?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
198
+ onVolumeChangeCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
199
+ onWaiting?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
200
+ onWaitingCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
201
+ onAuxClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
202
+ onAuxClickCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
203
+ onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
204
+ onClickCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
205
+ onContextMenu?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
206
+ onContextMenuCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
207
+ onDoubleClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
208
+ onDoubleClickCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
209
+ onDrag?: (event: React.DragEvent<HTMLDivElement>) => void;
210
+ onDragCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
211
+ onDragEnd?: (event: React.DragEvent<HTMLDivElement>) => void;
212
+ onDragEndCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
213
+ onDragEnter?: (event: React.DragEvent<HTMLDivElement>) => void;
214
+ onDragEnterCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
215
+ onDragExit?: (event: React.DragEvent<HTMLDivElement>) => void;
216
+ onDragExitCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
217
+ onDragLeave?: (event: React.DragEvent<HTMLDivElement>) => void;
218
+ onDragLeaveCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
219
+ onDragOver?: (event: React.DragEvent<HTMLDivElement>) => void;
220
+ onDragOverCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
221
+ onDragStart?: (event: React.DragEvent<HTMLDivElement>) => void;
222
+ onDragStartCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
223
+ onDrop?: (event: React.DragEvent<HTMLDivElement>) => void;
224
+ onDropCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
225
+ onMouseDown?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
226
+ onMouseDownCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
227
+ onMouseEnter?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
228
+ onMouseLeave?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
229
+ onMouseMove?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
230
+ onMouseMoveCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
231
+ onMouseOut?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
232
+ onMouseOutCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
233
+ onMouseOver?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
234
+ onMouseOverCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
235
+ onMouseUp?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
236
+ onMouseUpCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
237
+ onSelect?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
238
+ onSelectCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
239
+ onTouchCancel?: (event: React.TouchEvent<HTMLDivElement>) => void;
240
+ onTouchCancelCapture?: (event: React.TouchEvent<HTMLDivElement>) => void;
241
+ onTouchEnd?: (event: React.TouchEvent<HTMLDivElement>) => void;
242
+ onTouchEndCapture?: (event: React.TouchEvent<HTMLDivElement>) => void;
243
+ onTouchMove?: (event: React.TouchEvent<HTMLDivElement>) => void;
244
+ onTouchMoveCapture?: (event: React.TouchEvent<HTMLDivElement>) => void;
245
+ onTouchStart?: (event: React.TouchEvent<HTMLDivElement>) => void;
246
+ onTouchStartCapture?: (event: React.TouchEvent<HTMLDivElement>) => void;
247
+ onPointerDown?: (event: React.PointerEvent<HTMLDivElement>) => void;
248
+ onPointerDownCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
249
+ onPointerMove?: (event: React.PointerEvent<HTMLDivElement>) => void;
250
+ onPointerMoveCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
251
+ onPointerUp?: (event: React.PointerEvent<HTMLDivElement>) => void;
252
+ onPointerUpCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
253
+ onPointerCancel?: (event: React.PointerEvent<HTMLDivElement>) => void;
254
+ onPointerCancelCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
255
+ onPointerEnter?: (event: React.PointerEvent<HTMLDivElement>) => void;
256
+ onPointerEnterCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
257
+ onPointerLeave?: (event: React.PointerEvent<HTMLDivElement>) => void;
258
+ onPointerLeaveCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
259
+ onPointerOver?: (event: React.PointerEvent<HTMLDivElement>) => void;
260
+ onPointerOverCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
261
+ onPointerOut?: (event: React.PointerEvent<HTMLDivElement>) => void;
262
+ onPointerOutCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
263
+ onGotPointerCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
264
+ onGotPointerCaptureCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
265
+ onLostPointerCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
266
+ onLostPointerCaptureCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
267
+ onScroll?: (event: React.UIEvent<HTMLDivElement, UIEvent>) => void;
268
+ onScrollCapture?: (event: React.UIEvent<HTMLDivElement, UIEvent>) => void;
269
+ onWheel?: (event: React.WheelEvent<HTMLDivElement>) => void;
270
+ onWheelCapture?: (event: React.WheelEvent<HTMLDivElement>) => void;
271
+ onAnimationStart?: (event: React.AnimationEvent<HTMLDivElement>) => void;
272
+ onAnimationStartCapture?: (event: React.AnimationEvent<HTMLDivElement>) => void;
273
+ onAnimationEnd?: (event: React.AnimationEvent<HTMLDivElement>) => void;
274
+ onAnimationEndCapture?: (event: React.AnimationEvent<HTMLDivElement>) => void;
275
+ onAnimationIteration?: (event: React.AnimationEvent<HTMLDivElement>) => void;
276
+ onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLDivElement>) => void;
277
+ onTransitionEnd?: (event: React.TransitionEvent<HTMLDivElement>) => void;
278
+ onTransitionEndCapture?: (event: React.TransitionEvent<HTMLDivElement>) => void;
279
+ css?: import("@emotion/core").InterpolationWithTheme<any>;
280
+ };
281
+ };
282
+ export declare const DifferentToggleButtons: {
283
+ (args: any): JSX.Element;
284
+ args: {
285
+ descriptionId?: string;
286
+ enforced?: boolean;
287
+ exclusive?: boolean;
288
+ isInverse?: boolean;
289
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, value?: string) => void;
290
+ testId?: string;
291
+ theme?: import("../..").ThemeInterface;
292
+ value?: string;
293
+ alignment?: import("../ButtonGroup").ButtonGroupAlignment;
294
+ color?: import("../Button").ButtonColor;
295
+ orientation?: import("../ButtonGroup").ButtonGroupOrientation;
296
+ variant?: import("../Button").ButtonVariant;
297
+ size?: ButtonSize;
298
+ noSpace: boolean;
299
+ textTransform?: import("../Button").ButtonTextTransform;
300
+ defaultChecked?: boolean;
301
+ defaultValue?: string | number | readonly string[];
302
+ suppressContentEditableWarning?: boolean;
303
+ suppressHydrationWarning?: boolean;
304
+ accessKey?: string;
305
+ className?: string;
306
+ contentEditable?: boolean | "inherit" | "true" | "false";
307
+ contextMenu?: string;
308
+ dir?: string;
309
+ draggable?: boolean | "true" | "false";
310
+ hidden?: boolean;
311
+ id?: string;
312
+ lang?: string;
313
+ placeholder?: string;
314
+ slot?: string;
315
+ spellCheck?: boolean | "true" | "false";
316
+ style?: React.CSSProperties;
317
+ tabIndex?: number;
318
+ title?: string;
319
+ translate?: "yes" | "no";
320
+ radioGroup?: string;
321
+ role?: React.AriaRole;
322
+ about?: string;
323
+ datatype?: string;
324
+ inlist?: any;
325
+ prefix?: string;
326
+ property?: string;
327
+ resource?: string;
328
+ typeof?: string;
329
+ vocab?: string;
330
+ autoCapitalize?: string;
331
+ autoCorrect?: string;
332
+ autoSave?: string;
333
+ itemProp?: string;
334
+ itemScope?: boolean;
335
+ itemType?: string;
336
+ itemID?: string;
337
+ itemRef?: string;
338
+ results?: number;
339
+ security?: string;
340
+ unselectable?: "on" | "off";
341
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
342
+ is?: string;
343
+ 'aria-activedescendant'?: string;
344
+ 'aria-atomic'?: boolean | "true" | "false";
345
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both";
346
+ 'aria-busy'?: boolean | "true" | "false";
347
+ 'aria-checked'?: boolean | "true" | "false" | "mixed";
348
+ 'aria-colcount'?: number;
349
+ 'aria-colindex'?: number;
350
+ 'aria-colspan'?: number;
351
+ 'aria-controls'?: string;
352
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date";
353
+ 'aria-describedby'?: string;
354
+ 'aria-details'?: string;
355
+ 'aria-disabled'?: boolean | "true" | "false";
356
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup";
357
+ 'aria-errormessage'?: string;
358
+ 'aria-expanded'?: boolean | "true" | "false";
359
+ 'aria-flowto'?: string;
360
+ 'aria-grabbed'?: boolean | "true" | "false";
361
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree";
362
+ 'aria-hidden'?: boolean | "true" | "false";
363
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
364
+ 'aria-keyshortcuts'?: string;
365
+ 'aria-label'?: string;
366
+ 'aria-labelledby'?: string;
367
+ 'aria-level'?: number;
368
+ 'aria-live'?: "off" | "assertive" | "polite";
369
+ 'aria-modal'?: boolean | "true" | "false";
370
+ 'aria-multiline'?: boolean | "true" | "false";
371
+ 'aria-multiselectable'?: boolean | "true" | "false";
372
+ 'aria-orientation'?: "horizontal" | "vertical";
373
+ 'aria-owns'?: string;
374
+ 'aria-placeholder'?: string;
375
+ 'aria-posinset'?: number;
376
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed";
377
+ 'aria-readonly'?: boolean | "true" | "false";
378
+ 'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
379
+ 'aria-required'?: boolean | "true" | "false";
380
+ 'aria-roledescription'?: string;
381
+ 'aria-rowcount'?: number;
382
+ 'aria-rowindex'?: number;
383
+ 'aria-rowspan'?: number;
384
+ 'aria-selected'?: boolean | "true" | "false";
385
+ 'aria-setsize'?: number;
386
+ 'aria-sort'?: "none" | "other" | "ascending" | "descending";
387
+ 'aria-valuemax'?: number;
388
+ 'aria-valuemin'?: number;
389
+ 'aria-valuenow'?: number;
390
+ 'aria-valuetext'?: string;
391
+ children?: React.ReactNode;
392
+ dangerouslySetInnerHTML?: {
393
+ __html: string;
394
+ };
395
+ onCopy?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
396
+ onCopyCapture?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
397
+ onCut?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
398
+ onCutCapture?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
399
+ onPaste?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
400
+ onPasteCapture?: (event: React.ClipboardEvent<HTMLDivElement>) => void;
401
+ onCompositionEnd?: (event: React.CompositionEvent<HTMLDivElement>) => void;
402
+ onCompositionEndCapture?: (event: React.CompositionEvent<HTMLDivElement>) => void;
403
+ onCompositionStart?: (event: React.CompositionEvent<HTMLDivElement>) => void;
404
+ onCompositionStartCapture?: (event: React.CompositionEvent<HTMLDivElement>) => void;
405
+ onCompositionUpdate?: (event: React.CompositionEvent<HTMLDivElement>) => void;
406
+ onCompositionUpdateCapture?: (event: React.CompositionEvent<HTMLDivElement>) => void;
407
+ onFocus?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
408
+ onFocusCapture?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
409
+ onBlur?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
410
+ onBlurCapture?: (event: React.FocusEvent<HTMLDivElement, Element>) => void;
411
+ onChangeCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
412
+ onBeforeInput?: (event: React.FormEvent<HTMLDivElement>) => void;
413
+ onBeforeInputCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
414
+ onInput?: (event: React.FormEvent<HTMLDivElement>) => void;
415
+ onInputCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
416
+ onReset?: (event: React.FormEvent<HTMLDivElement>) => void;
417
+ onResetCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
418
+ onSubmit?: (event: React.FormEvent<HTMLDivElement>) => void;
419
+ onSubmitCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
420
+ onInvalid?: (event: React.FormEvent<HTMLDivElement>) => void;
421
+ onInvalidCapture?: (event: React.FormEvent<HTMLDivElement>) => void;
422
+ onLoad?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
423
+ onLoadCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
424
+ onError?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
425
+ onErrorCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
426
+ onKeyDown?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
427
+ onKeyDownCapture?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
428
+ onKeyPress?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
429
+ onKeyPressCapture?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
430
+ onKeyUp?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
431
+ onKeyUpCapture?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
432
+ onAbort?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
433
+ onAbortCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
434
+ onCanPlay?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
435
+ onCanPlayCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
436
+ onCanPlayThrough?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
437
+ onCanPlayThroughCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
438
+ onDurationChange?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
439
+ onDurationChangeCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
440
+ onEmptied?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
441
+ onEmptiedCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
442
+ onEncrypted?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
443
+ onEncryptedCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
444
+ onEnded?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
445
+ onEndedCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
446
+ onLoadedData?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
447
+ onLoadedDataCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
448
+ onLoadedMetadata?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
449
+ onLoadedMetadataCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
450
+ onLoadStart?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
451
+ onLoadStartCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
452
+ onPause?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
453
+ onPauseCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
454
+ onPlay?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
455
+ onPlayCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
456
+ onPlaying?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
457
+ onPlayingCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
458
+ onProgress?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
459
+ onProgressCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
460
+ onRateChange?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
461
+ onRateChangeCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
462
+ onSeeked?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
463
+ onSeekedCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
464
+ onSeeking?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
465
+ onSeekingCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
466
+ onStalled?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
467
+ onStalledCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
468
+ onSuspend?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
469
+ onSuspendCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
470
+ onTimeUpdate?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
471
+ onTimeUpdateCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
472
+ onVolumeChange?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
473
+ onVolumeChangeCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
474
+ onWaiting?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
475
+ onWaitingCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
476
+ onAuxClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
477
+ onAuxClickCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
478
+ onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
479
+ onClickCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
480
+ onContextMenu?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
481
+ onContextMenuCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
482
+ onDoubleClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
483
+ onDoubleClickCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
484
+ onDrag?: (event: React.DragEvent<HTMLDivElement>) => void;
485
+ onDragCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
486
+ onDragEnd?: (event: React.DragEvent<HTMLDivElement>) => void;
487
+ onDragEndCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
488
+ onDragEnter?: (event: React.DragEvent<HTMLDivElement>) => void;
489
+ onDragEnterCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
490
+ onDragExit?: (event: React.DragEvent<HTMLDivElement>) => void;
491
+ onDragExitCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
492
+ onDragLeave?: (event: React.DragEvent<HTMLDivElement>) => void;
493
+ onDragLeaveCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
494
+ onDragOver?: (event: React.DragEvent<HTMLDivElement>) => void;
495
+ onDragOverCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
496
+ onDragStart?: (event: React.DragEvent<HTMLDivElement>) => void;
497
+ onDragStartCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
498
+ onDrop?: (event: React.DragEvent<HTMLDivElement>) => void;
499
+ onDropCapture?: (event: React.DragEvent<HTMLDivElement>) => void;
500
+ onMouseDown?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
501
+ onMouseDownCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
502
+ onMouseEnter?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
503
+ onMouseLeave?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
504
+ onMouseMove?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
505
+ onMouseMoveCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
506
+ onMouseOut?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
507
+ onMouseOutCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
508
+ onMouseOver?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
509
+ onMouseOverCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
510
+ onMouseUp?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
511
+ onMouseUpCapture?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
512
+ onSelect?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
513
+ onSelectCapture?: (event: React.SyntheticEvent<HTMLDivElement, Event>) => void;
514
+ onTouchCancel?: (event: React.TouchEvent<HTMLDivElement>) => void;
515
+ onTouchCancelCapture?: (event: React.TouchEvent<HTMLDivElement>) => void;
516
+ onTouchEnd?: (event: React.TouchEvent<HTMLDivElement>) => void;
517
+ onTouchEndCapture?: (event: React.TouchEvent<HTMLDivElement>) => void;
518
+ onTouchMove?: (event: React.TouchEvent<HTMLDivElement>) => void;
519
+ onTouchMoveCapture?: (event: React.TouchEvent<HTMLDivElement>) => void;
520
+ onTouchStart?: (event: React.TouchEvent<HTMLDivElement>) => void;
521
+ onTouchStartCapture?: (event: React.TouchEvent<HTMLDivElement>) => void;
522
+ onPointerDown?: (event: React.PointerEvent<HTMLDivElement>) => void;
523
+ onPointerDownCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
524
+ onPointerMove?: (event: React.PointerEvent<HTMLDivElement>) => void;
525
+ onPointerMoveCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
526
+ onPointerUp?: (event: React.PointerEvent<HTMLDivElement>) => void;
527
+ onPointerUpCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
528
+ onPointerCancel?: (event: React.PointerEvent<HTMLDivElement>) => void;
529
+ onPointerCancelCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
530
+ onPointerEnter?: (event: React.PointerEvent<HTMLDivElement>) => void;
531
+ onPointerEnterCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
532
+ onPointerLeave?: (event: React.PointerEvent<HTMLDivElement>) => void;
533
+ onPointerLeaveCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
534
+ onPointerOver?: (event: React.PointerEvent<HTMLDivElement>) => void;
535
+ onPointerOverCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
536
+ onPointerOut?: (event: React.PointerEvent<HTMLDivElement>) => void;
537
+ onPointerOutCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
538
+ onGotPointerCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
539
+ onGotPointerCaptureCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
540
+ onLostPointerCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
541
+ onLostPointerCaptureCapture?: (event: React.PointerEvent<HTMLDivElement>) => void;
542
+ onScroll?: (event: React.UIEvent<HTMLDivElement, UIEvent>) => void;
543
+ onScrollCapture?: (event: React.UIEvent<HTMLDivElement, UIEvent>) => void;
544
+ onWheel?: (event: React.WheelEvent<HTMLDivElement>) => void;
545
+ onWheelCapture?: (event: React.WheelEvent<HTMLDivElement>) => void;
546
+ onAnimationStart?: (event: React.AnimationEvent<HTMLDivElement>) => void;
547
+ onAnimationStartCapture?: (event: React.AnimationEvent<HTMLDivElement>) => void;
548
+ onAnimationEnd?: (event: React.AnimationEvent<HTMLDivElement>) => void;
549
+ onAnimationEndCapture?: (event: React.AnimationEvent<HTMLDivElement>) => void;
550
+ onAnimationIteration?: (event: React.AnimationEvent<HTMLDivElement>) => void;
551
+ onAnimationIterationCapture?: (event: React.AnimationEvent<HTMLDivElement>) => void;
552
+ onTransitionEnd?: (event: React.TransitionEvent<HTMLDivElement>) => void;
553
+ onTransitionEndCapture?: (event: React.TransitionEvent<HTMLDivElement>) => void;
554
+ css?: import("@emotion/core").InterpolationWithTheme<any>;
555
+ };
556
+ };
@@ -0,0 +1 @@
1
+ export * from './ToggleButtonGroup';