@lindle/linoardo 1.0.10 → 1.0.12
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/index.cjs +140 -803
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +220 -273
- package/dist/index.d.ts +220 -273
- package/dist/index.js +140 -802
- package/dist/index.js.map +1 -1
- package/dist/styles.css +117 -42
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
|
|
3
3
|
type Palette = 'primary' | 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'surface' | 'bw';
|
|
4
4
|
type GlobalVariant = 'solid' | 'outline' | 'text' | 'ghost' | 'filled' | 'underlined' | 'rounded' | 'sharp';
|
|
@@ -11,7 +11,7 @@ type ButtonVariant = GlobalVariant;
|
|
|
11
11
|
/**
|
|
12
12
|
* Containment button supporting variant, size, block layout and loading states.
|
|
13
13
|
*/
|
|
14
|
-
declare const Button:
|
|
14
|
+
declare const Button: react.ForwardRefExoticComponent<react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
15
15
|
variant?: ButtonVariant;
|
|
16
16
|
color?: Palette;
|
|
17
17
|
size?: GlobalSize;
|
|
@@ -19,11 +19,11 @@ declare const Button: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttrib
|
|
|
19
19
|
loading?: boolean;
|
|
20
20
|
loadingText?: string;
|
|
21
21
|
icon?: PropIcon;
|
|
22
|
-
} &
|
|
22
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
23
23
|
|
|
24
24
|
type ChipVariant = GlobalVariant;
|
|
25
25
|
type ChipSize = 'small' | 'medium' | 'large';
|
|
26
|
-
type NativeChipProps = Omit<
|
|
26
|
+
type NativeChipProps = Omit<react.HTMLAttributes<HTMLSpanElement>, 'color'>;
|
|
27
27
|
type ChipProps = NativeChipProps & {
|
|
28
28
|
/**
|
|
29
29
|
* Visual variant shared across Containment components.
|
|
@@ -63,7 +63,7 @@ type ChipProps = NativeChipProps & {
|
|
|
63
63
|
/**
|
|
64
64
|
* Callback invoked when the close icon is activated.
|
|
65
65
|
*/
|
|
66
|
-
onClose?: (event:
|
|
66
|
+
onClose?: (event: react.MouseEvent<HTMLButtonElement>) => void;
|
|
67
67
|
/**
|
|
68
68
|
* Shows the filter indicator circle/checkmark.
|
|
69
69
|
* @default false
|
|
@@ -89,7 +89,7 @@ type ChipProps = NativeChipProps & {
|
|
|
89
89
|
disabled?: boolean;
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
declare const Chip:
|
|
92
|
+
declare const Chip: react.ForwardRefExoticComponent<{
|
|
93
93
|
defaultChecked?: boolean | undefined | undefined;
|
|
94
94
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
95
95
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -109,12 +109,12 @@ declare const Chip: React$1.ForwardRefExoticComponent<{
|
|
|
109
109
|
nonce?: string | undefined | undefined;
|
|
110
110
|
slot?: string | undefined | undefined;
|
|
111
111
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
112
|
-
style?:
|
|
112
|
+
style?: react.CSSProperties | undefined;
|
|
113
113
|
tabIndex?: number | undefined | undefined;
|
|
114
114
|
title?: string | undefined | undefined;
|
|
115
115
|
translate?: "yes" | "no" | undefined | undefined;
|
|
116
116
|
radioGroup?: string | undefined | undefined;
|
|
117
|
-
role?:
|
|
117
|
+
role?: react.AriaRole | undefined;
|
|
118
118
|
about?: string | undefined | undefined;
|
|
119
119
|
content?: string | undefined | undefined;
|
|
120
120
|
datatype?: string | undefined | undefined;
|
|
@@ -197,178 +197,178 @@ declare const Chip: React$1.ForwardRefExoticComponent<{
|
|
|
197
197
|
"aria-valuemin"?: number | undefined | undefined;
|
|
198
198
|
"aria-valuenow"?: number | undefined | undefined;
|
|
199
199
|
"aria-valuetext"?: string | undefined | undefined;
|
|
200
|
-
children?:
|
|
200
|
+
children?: react.ReactNode;
|
|
201
201
|
dangerouslySetInnerHTML?: {
|
|
202
202
|
__html: string | TrustedHTML;
|
|
203
203
|
} | undefined | undefined;
|
|
204
|
-
onCopy?:
|
|
205
|
-
onCopyCapture?:
|
|
206
|
-
onCut?:
|
|
207
|
-
onCutCapture?:
|
|
208
|
-
onPaste?:
|
|
209
|
-
onPasteCapture?:
|
|
210
|
-
onCompositionEnd?:
|
|
211
|
-
onCompositionEndCapture?:
|
|
212
|
-
onCompositionStart?:
|
|
213
|
-
onCompositionStartCapture?:
|
|
214
|
-
onCompositionUpdate?:
|
|
215
|
-
onCompositionUpdateCapture?:
|
|
216
|
-
onFocus?:
|
|
217
|
-
onFocusCapture?:
|
|
218
|
-
onBlur?:
|
|
219
|
-
onBlurCapture?:
|
|
220
|
-
onChange?:
|
|
221
|
-
onChangeCapture?:
|
|
222
|
-
onBeforeInput?:
|
|
223
|
-
onBeforeInputCapture?:
|
|
224
|
-
onInput?:
|
|
225
|
-
onInputCapture?:
|
|
226
|
-
onReset?:
|
|
227
|
-
onResetCapture?:
|
|
228
|
-
onSubmit?:
|
|
229
|
-
onSubmitCapture?:
|
|
230
|
-
onInvalid?:
|
|
231
|
-
onInvalidCapture?:
|
|
232
|
-
onLoad?:
|
|
233
|
-
onLoadCapture?:
|
|
234
|
-
onError?:
|
|
235
|
-
onErrorCapture?:
|
|
236
|
-
onKeyDown?:
|
|
237
|
-
onKeyDownCapture?:
|
|
238
|
-
onKeyPress?:
|
|
239
|
-
onKeyPressCapture?:
|
|
240
|
-
onKeyUp?:
|
|
241
|
-
onKeyUpCapture?:
|
|
242
|
-
onAbort?:
|
|
243
|
-
onAbortCapture?:
|
|
244
|
-
onCanPlay?:
|
|
245
|
-
onCanPlayCapture?:
|
|
246
|
-
onCanPlayThrough?:
|
|
247
|
-
onCanPlayThroughCapture?:
|
|
248
|
-
onDurationChange?:
|
|
249
|
-
onDurationChangeCapture?:
|
|
250
|
-
onEmptied?:
|
|
251
|
-
onEmptiedCapture?:
|
|
252
|
-
onEncrypted?:
|
|
253
|
-
onEncryptedCapture?:
|
|
254
|
-
onEnded?:
|
|
255
|
-
onEndedCapture?:
|
|
256
|
-
onLoadedData?:
|
|
257
|
-
onLoadedDataCapture?:
|
|
258
|
-
onLoadedMetadata?:
|
|
259
|
-
onLoadedMetadataCapture?:
|
|
260
|
-
onLoadStart?:
|
|
261
|
-
onLoadStartCapture?:
|
|
262
|
-
onPause?:
|
|
263
|
-
onPauseCapture?:
|
|
264
|
-
onPlay?:
|
|
265
|
-
onPlayCapture?:
|
|
266
|
-
onPlaying?:
|
|
267
|
-
onPlayingCapture?:
|
|
268
|
-
onProgress?:
|
|
269
|
-
onProgressCapture?:
|
|
270
|
-
onRateChange?:
|
|
271
|
-
onRateChangeCapture?:
|
|
272
|
-
onSeeked?:
|
|
273
|
-
onSeekedCapture?:
|
|
274
|
-
onSeeking?:
|
|
275
|
-
onSeekingCapture?:
|
|
276
|
-
onStalled?:
|
|
277
|
-
onStalledCapture?:
|
|
278
|
-
onSuspend?:
|
|
279
|
-
onSuspendCapture?:
|
|
280
|
-
onTimeUpdate?:
|
|
281
|
-
onTimeUpdateCapture?:
|
|
282
|
-
onVolumeChange?:
|
|
283
|
-
onVolumeChangeCapture?:
|
|
284
|
-
onWaiting?:
|
|
285
|
-
onWaitingCapture?:
|
|
286
|
-
onAuxClick?:
|
|
287
|
-
onAuxClickCapture?:
|
|
288
|
-
onClick?:
|
|
289
|
-
onClickCapture?:
|
|
290
|
-
onContextMenu?:
|
|
291
|
-
onContextMenuCapture?:
|
|
292
|
-
onDoubleClick?:
|
|
293
|
-
onDoubleClickCapture?:
|
|
294
|
-
onDrag?:
|
|
295
|
-
onDragCapture?:
|
|
296
|
-
onDragEnd?:
|
|
297
|
-
onDragEndCapture?:
|
|
298
|
-
onDragEnter?:
|
|
299
|
-
onDragEnterCapture?:
|
|
300
|
-
onDragExit?:
|
|
301
|
-
onDragExitCapture?:
|
|
302
|
-
onDragLeave?:
|
|
303
|
-
onDragLeaveCapture?:
|
|
304
|
-
onDragOver?:
|
|
305
|
-
onDragOverCapture?:
|
|
306
|
-
onDragStart?:
|
|
307
|
-
onDragStartCapture?:
|
|
308
|
-
onDrop?:
|
|
309
|
-
onDropCapture?:
|
|
310
|
-
onMouseDown?:
|
|
311
|
-
onMouseDownCapture?:
|
|
312
|
-
onMouseEnter?:
|
|
313
|
-
onMouseLeave?:
|
|
314
|
-
onMouseMove?:
|
|
315
|
-
onMouseMoveCapture?:
|
|
316
|
-
onMouseOut?:
|
|
317
|
-
onMouseOutCapture?:
|
|
318
|
-
onMouseOver?:
|
|
319
|
-
onMouseOverCapture?:
|
|
320
|
-
onMouseUp?:
|
|
321
|
-
onMouseUpCapture?:
|
|
322
|
-
onSelect?:
|
|
323
|
-
onSelectCapture?:
|
|
324
|
-
onTouchCancel?:
|
|
325
|
-
onTouchCancelCapture?:
|
|
326
|
-
onTouchEnd?:
|
|
327
|
-
onTouchEndCapture?:
|
|
328
|
-
onTouchMove?:
|
|
329
|
-
onTouchMoveCapture?:
|
|
330
|
-
onTouchStart?:
|
|
331
|
-
onTouchStartCapture?:
|
|
332
|
-
onPointerDown?:
|
|
333
|
-
onPointerDownCapture?:
|
|
334
|
-
onPointerMove?:
|
|
335
|
-
onPointerMoveCapture?:
|
|
336
|
-
onPointerUp?:
|
|
337
|
-
onPointerUpCapture?:
|
|
338
|
-
onPointerCancel?:
|
|
339
|
-
onPointerCancelCapture?:
|
|
340
|
-
onPointerEnter?:
|
|
341
|
-
onPointerLeave?:
|
|
342
|
-
onPointerOver?:
|
|
343
|
-
onPointerOverCapture?:
|
|
344
|
-
onPointerOut?:
|
|
345
|
-
onPointerOutCapture?:
|
|
346
|
-
onGotPointerCapture?:
|
|
347
|
-
onGotPointerCaptureCapture?:
|
|
348
|
-
onLostPointerCapture?:
|
|
349
|
-
onLostPointerCaptureCapture?:
|
|
350
|
-
onScroll?:
|
|
351
|
-
onScrollCapture?:
|
|
352
|
-
onScrollEnd?:
|
|
353
|
-
onScrollEndCapture?:
|
|
354
|
-
onWheel?:
|
|
355
|
-
onWheelCapture?:
|
|
356
|
-
onAnimationStart?:
|
|
357
|
-
onAnimationStartCapture?:
|
|
358
|
-
onAnimationEnd?:
|
|
359
|
-
onAnimationEndCapture?:
|
|
360
|
-
onAnimationIteration?:
|
|
361
|
-
onAnimationIterationCapture?:
|
|
362
|
-
onToggle?:
|
|
363
|
-
onBeforeToggle?:
|
|
364
|
-
onTransitionCancel?:
|
|
365
|
-
onTransitionCancelCapture?:
|
|
366
|
-
onTransitionEnd?:
|
|
367
|
-
onTransitionEndCapture?:
|
|
368
|
-
onTransitionRun?:
|
|
369
|
-
onTransitionRunCapture?:
|
|
370
|
-
onTransitionStart?:
|
|
371
|
-
onTransitionStartCapture?:
|
|
204
|
+
onCopy?: react.ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
205
|
+
onCopyCapture?: react.ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
206
|
+
onCut?: react.ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
207
|
+
onCutCapture?: react.ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
208
|
+
onPaste?: react.ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
209
|
+
onPasteCapture?: react.ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
210
|
+
onCompositionEnd?: react.CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
211
|
+
onCompositionEndCapture?: react.CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
212
|
+
onCompositionStart?: react.CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
213
|
+
onCompositionStartCapture?: react.CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
214
|
+
onCompositionUpdate?: react.CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
215
|
+
onCompositionUpdateCapture?: react.CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
216
|
+
onFocus?: react.FocusEventHandler<HTMLSpanElement> | undefined;
|
|
217
|
+
onFocusCapture?: react.FocusEventHandler<HTMLSpanElement> | undefined;
|
|
218
|
+
onBlur?: react.FocusEventHandler<HTMLSpanElement> | undefined;
|
|
219
|
+
onBlurCapture?: react.FocusEventHandler<HTMLSpanElement> | undefined;
|
|
220
|
+
onChange?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
221
|
+
onChangeCapture?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
222
|
+
onBeforeInput?: react.InputEventHandler<HTMLSpanElement> | undefined;
|
|
223
|
+
onBeforeInputCapture?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
224
|
+
onInput?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
225
|
+
onInputCapture?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
226
|
+
onReset?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
227
|
+
onResetCapture?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
228
|
+
onSubmit?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
229
|
+
onSubmitCapture?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
230
|
+
onInvalid?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
231
|
+
onInvalidCapture?: react.FormEventHandler<HTMLSpanElement> | undefined;
|
|
232
|
+
onLoad?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
233
|
+
onLoadCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
234
|
+
onError?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
235
|
+
onErrorCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
236
|
+
onKeyDown?: react.KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
237
|
+
onKeyDownCapture?: react.KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
238
|
+
onKeyPress?: react.KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
239
|
+
onKeyPressCapture?: react.KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
240
|
+
onKeyUp?: react.KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
241
|
+
onKeyUpCapture?: react.KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
242
|
+
onAbort?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
243
|
+
onAbortCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
244
|
+
onCanPlay?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
245
|
+
onCanPlayCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
246
|
+
onCanPlayThrough?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
247
|
+
onCanPlayThroughCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
248
|
+
onDurationChange?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
249
|
+
onDurationChangeCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
250
|
+
onEmptied?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
251
|
+
onEmptiedCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
252
|
+
onEncrypted?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
253
|
+
onEncryptedCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
254
|
+
onEnded?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
255
|
+
onEndedCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
256
|
+
onLoadedData?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
257
|
+
onLoadedDataCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
258
|
+
onLoadedMetadata?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
259
|
+
onLoadedMetadataCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
260
|
+
onLoadStart?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
261
|
+
onLoadStartCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
262
|
+
onPause?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
263
|
+
onPauseCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
264
|
+
onPlay?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
265
|
+
onPlayCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
266
|
+
onPlaying?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
267
|
+
onPlayingCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
268
|
+
onProgress?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
269
|
+
onProgressCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
270
|
+
onRateChange?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
271
|
+
onRateChangeCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
272
|
+
onSeeked?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
273
|
+
onSeekedCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
274
|
+
onSeeking?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
275
|
+
onSeekingCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
276
|
+
onStalled?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
277
|
+
onStalledCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
278
|
+
onSuspend?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
279
|
+
onSuspendCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
280
|
+
onTimeUpdate?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
281
|
+
onTimeUpdateCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
282
|
+
onVolumeChange?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
283
|
+
onVolumeChangeCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
284
|
+
onWaiting?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
285
|
+
onWaitingCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
286
|
+
onAuxClick?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
287
|
+
onAuxClickCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
288
|
+
onClick?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
289
|
+
onClickCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
290
|
+
onContextMenu?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
291
|
+
onContextMenuCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
292
|
+
onDoubleClick?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
293
|
+
onDoubleClickCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
294
|
+
onDrag?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
295
|
+
onDragCapture?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
296
|
+
onDragEnd?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
297
|
+
onDragEndCapture?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
298
|
+
onDragEnter?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
299
|
+
onDragEnterCapture?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
300
|
+
onDragExit?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
301
|
+
onDragExitCapture?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
302
|
+
onDragLeave?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
303
|
+
onDragLeaveCapture?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
304
|
+
onDragOver?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
305
|
+
onDragOverCapture?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
306
|
+
onDragStart?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
307
|
+
onDragStartCapture?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
308
|
+
onDrop?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
309
|
+
onDropCapture?: react.DragEventHandler<HTMLSpanElement> | undefined;
|
|
310
|
+
onMouseDown?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
311
|
+
onMouseDownCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
312
|
+
onMouseEnter?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
313
|
+
onMouseLeave?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
314
|
+
onMouseMove?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
315
|
+
onMouseMoveCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
316
|
+
onMouseOut?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
317
|
+
onMouseOutCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
318
|
+
onMouseOver?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
319
|
+
onMouseOverCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
320
|
+
onMouseUp?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
321
|
+
onMouseUpCapture?: react.MouseEventHandler<HTMLSpanElement> | undefined;
|
|
322
|
+
onSelect?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
323
|
+
onSelectCapture?: react.ReactEventHandler<HTMLSpanElement> | undefined;
|
|
324
|
+
onTouchCancel?: react.TouchEventHandler<HTMLSpanElement> | undefined;
|
|
325
|
+
onTouchCancelCapture?: react.TouchEventHandler<HTMLSpanElement> | undefined;
|
|
326
|
+
onTouchEnd?: react.TouchEventHandler<HTMLSpanElement> | undefined;
|
|
327
|
+
onTouchEndCapture?: react.TouchEventHandler<HTMLSpanElement> | undefined;
|
|
328
|
+
onTouchMove?: react.TouchEventHandler<HTMLSpanElement> | undefined;
|
|
329
|
+
onTouchMoveCapture?: react.TouchEventHandler<HTMLSpanElement> | undefined;
|
|
330
|
+
onTouchStart?: react.TouchEventHandler<HTMLSpanElement> | undefined;
|
|
331
|
+
onTouchStartCapture?: react.TouchEventHandler<HTMLSpanElement> | undefined;
|
|
332
|
+
onPointerDown?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
333
|
+
onPointerDownCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
334
|
+
onPointerMove?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
335
|
+
onPointerMoveCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
336
|
+
onPointerUp?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
337
|
+
onPointerUpCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
338
|
+
onPointerCancel?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
339
|
+
onPointerCancelCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
340
|
+
onPointerEnter?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
341
|
+
onPointerLeave?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
342
|
+
onPointerOver?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
343
|
+
onPointerOverCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
344
|
+
onPointerOut?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
345
|
+
onPointerOutCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
346
|
+
onGotPointerCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
347
|
+
onGotPointerCaptureCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
348
|
+
onLostPointerCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
349
|
+
onLostPointerCaptureCapture?: react.PointerEventHandler<HTMLSpanElement> | undefined;
|
|
350
|
+
onScroll?: react.UIEventHandler<HTMLSpanElement> | undefined;
|
|
351
|
+
onScrollCapture?: react.UIEventHandler<HTMLSpanElement> | undefined;
|
|
352
|
+
onScrollEnd?: react.UIEventHandler<HTMLSpanElement> | undefined;
|
|
353
|
+
onScrollEndCapture?: react.UIEventHandler<HTMLSpanElement> | undefined;
|
|
354
|
+
onWheel?: react.WheelEventHandler<HTMLSpanElement> | undefined;
|
|
355
|
+
onWheelCapture?: react.WheelEventHandler<HTMLSpanElement> | undefined;
|
|
356
|
+
onAnimationStart?: react.AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
357
|
+
onAnimationStartCapture?: react.AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
358
|
+
onAnimationEnd?: react.AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
359
|
+
onAnimationEndCapture?: react.AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
360
|
+
onAnimationIteration?: react.AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
361
|
+
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
362
|
+
onToggle?: react.ToggleEventHandler<HTMLSpanElement> | undefined;
|
|
363
|
+
onBeforeToggle?: react.ToggleEventHandler<HTMLSpanElement> | undefined;
|
|
364
|
+
onTransitionCancel?: react.TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
365
|
+
onTransitionCancelCapture?: react.TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
366
|
+
onTransitionEnd?: react.TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
367
|
+
onTransitionEndCapture?: react.TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
368
|
+
onTransitionRun?: react.TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
369
|
+
onTransitionRunCapture?: react.TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
370
|
+
onTransitionStart?: react.TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
371
|
+
onTransitionStartCapture?: react.TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
372
372
|
} & {
|
|
373
373
|
variant?: ChipVariant;
|
|
374
374
|
color?: Palette;
|
|
@@ -377,30 +377,30 @@ declare const Chip: React$1.ForwardRefExoticComponent<{
|
|
|
377
377
|
selected?: boolean;
|
|
378
378
|
closable?: boolean;
|
|
379
379
|
closeIcon?: PropIcon;
|
|
380
|
-
onClose?: (event: React
|
|
380
|
+
onClose?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
381
381
|
filter?: boolean;
|
|
382
382
|
filterIcon?: PropIcon;
|
|
383
383
|
prependIcon?: PropIcon;
|
|
384
384
|
appendIcon?: PropIcon;
|
|
385
385
|
disabled?: boolean;
|
|
386
|
-
} &
|
|
386
|
+
} & react.RefAttributes<HTMLSpanElement>>;
|
|
387
387
|
|
|
388
388
|
type ListVariant = GlobalVariant;
|
|
389
389
|
type ListDensity = 'default' | 'comfortable' | 'compact';
|
|
390
390
|
type ListLines = 'one' | 'two' | 'three';
|
|
391
391
|
type ListRounded = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'pill';
|
|
392
392
|
|
|
393
|
-
interface ListItemProps extends Omit<
|
|
394
|
-
component?:
|
|
393
|
+
interface ListItemProps extends Omit<react.HTMLAttributes<HTMLElement>, 'title'> {
|
|
394
|
+
component?: react.ElementType;
|
|
395
395
|
href?: string;
|
|
396
396
|
target?: string;
|
|
397
397
|
rel?: string;
|
|
398
398
|
type?: 'button' | 'submit' | 'reset';
|
|
399
|
-
title?:
|
|
400
|
-
subtitle?:
|
|
401
|
-
overline?:
|
|
402
|
-
prepend?:
|
|
403
|
-
append?:
|
|
399
|
+
title?: react.ReactNode;
|
|
400
|
+
subtitle?: react.ReactNode;
|
|
401
|
+
overline?: react.ReactNode;
|
|
402
|
+
prepend?: react.ReactNode;
|
|
403
|
+
append?: react.ReactNode;
|
|
404
404
|
active?: boolean;
|
|
405
405
|
disabled?: boolean;
|
|
406
406
|
inset?: boolean;
|
|
@@ -411,9 +411,9 @@ interface ListItemProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'title
|
|
|
411
411
|
color?: Palette;
|
|
412
412
|
sharp?: boolean;
|
|
413
413
|
}
|
|
414
|
-
declare const ListItem:
|
|
414
|
+
declare const ListItem: react.ForwardRefExoticComponent<ListItemProps & react.RefAttributes<HTMLElement>>;
|
|
415
415
|
|
|
416
|
-
interface ListProps extends
|
|
416
|
+
interface ListProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
417
417
|
variant?: ListVariant;
|
|
418
418
|
density?: ListDensity;
|
|
419
419
|
lines?: ListLines;
|
|
@@ -422,46 +422,30 @@ interface ListProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
422
422
|
rounded?: ListRounded;
|
|
423
423
|
color?: Palette;
|
|
424
424
|
}
|
|
425
|
-
declare const List:
|
|
425
|
+
declare const List: react.ForwardRefExoticComponent<ListProps & react.RefAttributes<HTMLDivElement>>;
|
|
426
426
|
|
|
427
427
|
type MenuPlacement = 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end';
|
|
428
|
-
interface
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
'aria-haspopup': 'menu';
|
|
432
|
-
'aria-expanded': boolean;
|
|
433
|
-
'aria-controls': string;
|
|
434
|
-
onClick: React$1.MouseEventHandler<HTMLElement>;
|
|
435
|
-
onKeyDown: React$1.KeyboardEventHandler<HTMLElement>;
|
|
436
|
-
onMouseEnter?: React$1.MouseEventHandler<HTMLElement>;
|
|
437
|
-
onMouseLeave?: React$1.MouseEventHandler<HTMLElement>;
|
|
438
|
-
disabled?: boolean;
|
|
439
|
-
open: boolean;
|
|
440
|
-
}
|
|
441
|
-
interface MenuProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
442
|
-
activator: (props: MenuActivatorRenderProps) => React$1.ReactNode;
|
|
443
|
-
children: React$1.ReactNode;
|
|
444
|
-
open?: boolean;
|
|
445
|
-
defaultOpen?: boolean;
|
|
446
|
-
onOpenChange?: (open: boolean) => void;
|
|
428
|
+
interface MenuProps extends Omit<react.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
429
|
+
activator: react.ReactNode;
|
|
430
|
+
children: react.ReactNode;
|
|
447
431
|
placement?: MenuPlacement;
|
|
432
|
+
open?: boolean;
|
|
448
433
|
openOnHover?: boolean;
|
|
449
|
-
|
|
434
|
+
openOnFocus?: boolean;
|
|
450
435
|
matchActivatorWidth?: boolean;
|
|
451
436
|
keepMounted?: boolean;
|
|
452
|
-
disabled?: boolean;
|
|
453
437
|
scrim?: boolean;
|
|
454
438
|
contentClassName?: string;
|
|
455
|
-
contentProps?:
|
|
439
|
+
contentProps?: react.HTMLAttributes<HTMLDivElement>;
|
|
456
440
|
overlayClassName?: string;
|
|
457
441
|
}
|
|
458
|
-
declare const Menu:
|
|
442
|
+
declare const Menu: react.ForwardRefExoticComponent<MenuProps & react.RefAttributes<HTMLDivElement>>;
|
|
459
443
|
|
|
460
|
-
type ExpansionPanelValue =
|
|
444
|
+
type ExpansionPanelValue = react.Key;
|
|
461
445
|
type ExpansionPanelVariant = 'elevated' | 'outlined' | 'tonal' | 'plain';
|
|
462
446
|
type ExpansionPanelDensity = 'compact' | 'default' | 'comfortable';
|
|
463
447
|
type ExpansionPanelRounded = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
464
|
-
type DivAttributes = Omit<
|
|
448
|
+
type DivAttributes = Omit<react.HTMLAttributes<HTMLDivElement>, 'color' | 'value' | 'defaultValue' | 'onChange'>;
|
|
465
449
|
interface ExpansionPanelSharedProps extends DivAttributes {
|
|
466
450
|
variant?: ExpansionPanelVariant;
|
|
467
451
|
rounded?: ExpansionPanelRounded;
|
|
@@ -484,90 +468,53 @@ interface ExpansionPanelMultipleProps extends ExpansionPanelSharedProps {
|
|
|
484
468
|
type ExpansionPanelProps = ExpansionPanelSingleProps | ExpansionPanelMultipleProps;
|
|
485
469
|
interface ExpansionPanelItemProps extends Omit<DivAttributes, 'title'> {
|
|
486
470
|
value?: ExpansionPanelValue;
|
|
487
|
-
title?:
|
|
488
|
-
subtitle?:
|
|
489
|
-
text?:
|
|
471
|
+
title?: react.ReactNode;
|
|
472
|
+
subtitle?: react.ReactNode;
|
|
473
|
+
text?: react.ReactNode;
|
|
490
474
|
disabled?: boolean;
|
|
491
|
-
prepend?:
|
|
492
|
-
append?:
|
|
493
|
-
expandIcon?:
|
|
494
|
-
collapseIcon?:
|
|
475
|
+
prepend?: react.ReactNode;
|
|
476
|
+
append?: react.ReactNode;
|
|
477
|
+
expandIcon?: react.ReactNode;
|
|
478
|
+
collapseIcon?: react.ReactNode;
|
|
495
479
|
hideToggleIcon?: boolean;
|
|
496
480
|
headerClassName?: string;
|
|
497
481
|
contentClassName?: string;
|
|
498
482
|
color?: Palette;
|
|
499
483
|
}
|
|
500
484
|
|
|
501
|
-
declare const ExpansionPanelItem:
|
|
485
|
+
declare const ExpansionPanelItem: react.ForwardRefExoticComponent<ExpansionPanelItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
502
486
|
|
|
503
|
-
declare const ExpansionPanel:
|
|
487
|
+
declare const ExpansionPanel: react.ForwardRefExoticComponent<ExpansionPanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
504
488
|
|
|
505
|
-
interface
|
|
506
|
-
|
|
507
|
-
id: string;
|
|
508
|
-
open: boolean;
|
|
509
|
-
disabled?: boolean;
|
|
510
|
-
'aria-haspopup': 'dialog';
|
|
511
|
-
'aria-expanded': boolean;
|
|
512
|
-
'aria-controls': string;
|
|
513
|
-
onClick: React$1.MouseEventHandler<HTMLElement>;
|
|
514
|
-
onKeyDown: React$1.KeyboardEventHandler<HTMLElement>;
|
|
515
|
-
}
|
|
516
|
-
interface DialogProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
517
|
-
activator?: (props: DialogActivatorRenderProps) => React$1.ReactNode;
|
|
489
|
+
interface DialogProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
490
|
+
activator?: react.ReactNode;
|
|
518
491
|
open?: boolean;
|
|
519
|
-
defaultOpen?: boolean;
|
|
520
|
-
onOpenChange?: (open: boolean) => void;
|
|
521
|
-
persistent?: boolean;
|
|
522
|
-
closeOnEsc?: boolean;
|
|
523
|
-
closeOnOutsideClick?: boolean;
|
|
524
|
-
closeOnContentClick?: boolean;
|
|
525
|
-
scrim?: boolean;
|
|
526
492
|
keepMounted?: boolean;
|
|
493
|
+
scrim?: boolean;
|
|
527
494
|
fullscreen?: boolean;
|
|
528
495
|
maxWidth?: string | number;
|
|
529
496
|
width?: string | number;
|
|
530
497
|
containerClassName?: string;
|
|
531
498
|
overlayClassName?: string;
|
|
532
|
-
overlayProps?:
|
|
533
|
-
scrollLock?: boolean;
|
|
534
|
-
disabled?: boolean;
|
|
499
|
+
overlayProps?: react.HTMLAttributes<HTMLDivElement>;
|
|
535
500
|
}
|
|
536
|
-
declare const Dialog:
|
|
501
|
+
declare const Dialog: react.ForwardRefExoticComponent<DialogProps & react.RefAttributes<HTMLDivElement>>;
|
|
537
502
|
|
|
538
503
|
type ToolTipPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
539
|
-
interface
|
|
540
|
-
|
|
541
|
-
open: boolean;
|
|
542
|
-
disabled?: boolean;
|
|
543
|
-
'aria-describedby'?: string;
|
|
544
|
-
onPointerEnter: React$1.PointerEventHandler<HTMLElement>;
|
|
545
|
-
onPointerLeave: React$1.PointerEventHandler<HTMLElement>;
|
|
546
|
-
onFocus: React$1.FocusEventHandler<HTMLElement>;
|
|
547
|
-
onBlur: React$1.FocusEventHandler<HTMLElement>;
|
|
548
|
-
onClick?: React$1.MouseEventHandler<HTMLElement>;
|
|
549
|
-
onKeyDown?: React$1.KeyboardEventHandler<HTMLElement>;
|
|
550
|
-
}
|
|
551
|
-
interface ToolTipProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
552
|
-
activator: (props: ToolTipActivatorRenderProps) => React$1.ReactNode;
|
|
553
|
-
open?: boolean;
|
|
554
|
-
defaultOpen?: boolean;
|
|
555
|
-
onOpenChange?: (open: boolean) => void;
|
|
504
|
+
interface ToolTipProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
505
|
+
activator: react.ReactNode;
|
|
556
506
|
placement?: ToolTipPlacement;
|
|
557
|
-
openDelay?: number;
|
|
558
|
-
closeDelay?: number;
|
|
559
|
-
openOnHover?: boolean;
|
|
560
|
-
openOnFocus?: boolean;
|
|
561
|
-
openOnClick?: boolean;
|
|
562
|
-
interactive?: boolean;
|
|
563
507
|
arrow?: boolean;
|
|
564
508
|
disabled?: boolean;
|
|
509
|
+
persistent?: boolean;
|
|
510
|
+
showOnHover?: boolean;
|
|
511
|
+
showOnFocus?: boolean;
|
|
512
|
+
interactive?: boolean;
|
|
565
513
|
keepMounted?: boolean;
|
|
566
514
|
maxWidth?: string | number;
|
|
567
515
|
wrapperClassName?: string;
|
|
568
|
-
closeOnContentClick?: boolean;
|
|
569
516
|
}
|
|
570
|
-
declare const ToolTip:
|
|
517
|
+
declare const ToolTip: react.ForwardRefExoticComponent<ToolTipProps & react.RefAttributes<HTMLDivElement>>;
|
|
571
518
|
|
|
572
519
|
type InputVariant = GlobalVariant;
|
|
573
520
|
type StatusMessage = string;
|
|
@@ -588,4 +535,4 @@ type InputProp = React.InputHTMLAttributes<HTMLInputElement> & InputStatusProps
|
|
|
588
535
|
|
|
589
536
|
declare const Input: React.FC<InputProp>;
|
|
590
537
|
|
|
591
|
-
export { Button, Chip, type ChipProps, type ChipSize, type ChipVariant, Dialog, type
|
|
538
|
+
export { Button, Chip, type ChipProps, type ChipSize, type ChipVariant, Dialog, type DialogProps, ExpansionPanel, type ExpansionPanelDensity, ExpansionPanelItem, type ExpansionPanelItemProps, type ExpansionPanelProps, type ExpansionPanelRounded, type ExpansionPanelValue, type ExpansionPanelVariant, Input, List, type ListDensity, ListItem, type ListItemProps, type ListLines, type ListProps, type ListRounded, type ListVariant, Menu, type MenuPlacement, type MenuProps, ToolTip, type ToolTipPlacement, type ToolTipProps };
|