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