@bothub-chat/ui 2.28.3-develop-e1b6ebcc-ecf7-49cb-b671-68a17f2df554 → 2.28.3-develop-bec4cbb1-e1ac-43b0-b9f4-32a093d73239
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -23
- package/dist/components/scrollable-tabs/index.d.ts +8 -10
- package/dist/components/scrollable-tabs/index.js +1 -1
- package/dist/components/scrollable-tabs/styled.d.ts +9 -2
- package/dist/components/scrollable-tabs/styled.js +28 -5
- package/dist/components/scrollable-tabs/types.d.ts +8 -0
- package/dist/components/select-field/filterData.d.ts +2 -0
- package/dist/components/select-field/filterData.js +1 -0
- package/dist/components/select-field/index.d.ts +8 -0
- package/dist/components/select-field/index.js +1 -1
- package/dist/components/select-field/option/collapse/index.js +1 -1
- package/dist/components/select-field/option/collapse/styled.d.ts +7 -275
- package/dist/components/select-field/option/collapse/styled.js +4 -4
- package/dist/components/select-field/option/list/index.js +1 -1
- package/dist/components/select-field/option/list/styled.d.ts +827 -0
- package/dist/components/select-field/option/list/styled.js +1 -1
- package/dist/components/select-field/styled.js +3 -3
- package/dist/components/select-field/types.d.ts +5 -2
- package/dist/components/sidebar/styled.d.ts +2 -1
- package/dist/components/slider/index.d.ts +3 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/styled.d.ts +5 -273
- package/dist/components/slider/styled.js +1 -1
- package/dist/components/slider/types.d.ts +1 -0
- package/dist/components/slider/useSlider.js +1 -1
- package/dist/components/text-field/index.d.ts +4 -2
- package/dist/components/text-field/index.js +1 -1
- package/dist/components/text-field/styled.d.ts +6 -301
- package/dist/components/text-field/styled.js +18 -16
- package/dist/components/text-field/types.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/utils/hasSubstring/index.d.ts +1 -0
- package/dist/utils/hasSubstring/index.js +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +68 -68
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { Variant } from './types';
|
|
2
|
+
export interface VariantProps {
|
|
3
|
+
$variant: Variant;
|
|
4
|
+
}
|
|
1
5
|
export interface TextFieldStyledProps {
|
|
2
6
|
$fullWidth: boolean;
|
|
3
7
|
$disabled: boolean;
|
|
@@ -279,7 +283,7 @@ export declare const TextFieldLabel: import("styled-components").IStyledComponen
|
|
|
279
283
|
fullWidth?: boolean | undefined;
|
|
280
284
|
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
281
285
|
}>;
|
|
282
|
-
export interface TextFieldBlockProps {
|
|
286
|
+
export interface TextFieldBlockProps extends VariantProps {
|
|
283
287
|
$error: boolean;
|
|
284
288
|
$focus: boolean;
|
|
285
289
|
$hover: boolean;
|
|
@@ -287,306 +291,7 @@ export interface TextFieldBlockProps {
|
|
|
287
291
|
$skeleton: boolean;
|
|
288
292
|
}
|
|
289
293
|
export declare const TextFieldBlock: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, TextFieldBlockProps>>;
|
|
290
|
-
export declare const TextFieldInput: import("styled-components").IStyledComponent<"web",
|
|
291
|
-
ref?: import("react").LegacyRef<HTMLInputElement> | undefined;
|
|
292
|
-
key?: import("react").Key | null | undefined;
|
|
293
|
-
accept?: string | undefined | undefined;
|
|
294
|
-
alt?: string | undefined | undefined;
|
|
295
|
-
autoComplete?: import("react").HTMLInputAutoCompleteAttribute | undefined;
|
|
296
|
-
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
297
|
-
checked?: boolean | undefined | undefined;
|
|
298
|
-
disabled?: boolean | undefined | undefined;
|
|
299
|
-
form?: string | undefined | undefined;
|
|
300
|
-
formAction?: string | undefined;
|
|
301
|
-
formEncType?: string | undefined | undefined;
|
|
302
|
-
formMethod?: string | undefined | undefined;
|
|
303
|
-
formNoValidate?: boolean | undefined | undefined;
|
|
304
|
-
formTarget?: string | undefined | undefined;
|
|
305
|
-
height?: number | string | undefined | undefined;
|
|
306
|
-
list?: string | undefined | undefined;
|
|
307
|
-
max?: number | string | undefined | undefined;
|
|
308
|
-
maxLength?: number | undefined | undefined;
|
|
309
|
-
min?: number | string | undefined | undefined;
|
|
310
|
-
minLength?: number | undefined | undefined;
|
|
311
|
-
multiple?: boolean | undefined | undefined;
|
|
312
|
-
name?: string | undefined | undefined;
|
|
313
|
-
pattern?: string | undefined | undefined;
|
|
314
|
-
placeholder?: string | undefined | undefined;
|
|
315
|
-
readOnly?: boolean | undefined | undefined;
|
|
316
|
-
required?: boolean | undefined | undefined;
|
|
317
|
-
size?: number | undefined | undefined;
|
|
318
|
-
src?: string | undefined | undefined;
|
|
319
|
-
step?: number | string | undefined | undefined;
|
|
320
|
-
type?: import("react").HTMLInputTypeAttribute | undefined;
|
|
321
|
-
value?: string | number | readonly string[] | undefined;
|
|
322
|
-
width?: number | string | undefined | undefined;
|
|
323
|
-
onChange?: import("react").ChangeEventHandler<HTMLInputElement> | undefined;
|
|
324
|
-
defaultChecked?: boolean | undefined | undefined;
|
|
325
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
326
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
327
|
-
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
328
|
-
accessKey?: string | undefined | undefined;
|
|
329
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
330
|
-
autoFocus?: boolean | undefined | undefined;
|
|
331
|
-
className?: string | undefined | undefined;
|
|
332
|
-
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
333
|
-
contextMenu?: string | undefined | undefined;
|
|
334
|
-
dir?: string | undefined | undefined;
|
|
335
|
-
draggable?: (boolean | "false" | "true") | undefined;
|
|
336
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
337
|
-
hidden?: boolean | undefined | undefined;
|
|
338
|
-
id?: string | undefined | undefined;
|
|
339
|
-
lang?: string | undefined | undefined;
|
|
340
|
-
nonce?: string | undefined | undefined;
|
|
341
|
-
slot?: string | undefined | undefined;
|
|
342
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
343
|
-
style?: import("react").CSSProperties | undefined;
|
|
344
|
-
tabIndex?: number | undefined | undefined;
|
|
345
|
-
title?: string | undefined | undefined;
|
|
346
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
347
|
-
radioGroup?: string | undefined | undefined;
|
|
348
|
-
role?: import("react").AriaRole | undefined;
|
|
349
|
-
about?: string | undefined | undefined;
|
|
350
|
-
content?: string | undefined | undefined;
|
|
351
|
-
datatype?: string | undefined | undefined;
|
|
352
|
-
inlist?: any;
|
|
353
|
-
prefix?: string | undefined | undefined;
|
|
354
|
-
property?: string | undefined | undefined;
|
|
355
|
-
rel?: string | undefined | undefined;
|
|
356
|
-
resource?: string | undefined | undefined;
|
|
357
|
-
rev?: string | undefined | undefined;
|
|
358
|
-
typeof?: string | undefined | undefined;
|
|
359
|
-
vocab?: string | undefined | undefined;
|
|
360
|
-
autoCorrect?: string | undefined | undefined;
|
|
361
|
-
autoSave?: string | undefined | undefined;
|
|
362
|
-
color?: string | undefined | undefined;
|
|
363
|
-
itemProp?: string | undefined | undefined;
|
|
364
|
-
itemScope?: boolean | undefined | undefined;
|
|
365
|
-
itemType?: string | undefined | undefined;
|
|
366
|
-
itemID?: string | undefined | undefined;
|
|
367
|
-
itemRef?: string | undefined | undefined;
|
|
368
|
-
results?: number | undefined | undefined;
|
|
369
|
-
security?: string | undefined | undefined;
|
|
370
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
371
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
372
|
-
is?: string | undefined | undefined;
|
|
373
|
-
"aria-activedescendant"?: string | undefined | undefined;
|
|
374
|
-
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
375
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
376
|
-
"aria-braillelabel"?: string | undefined | undefined;
|
|
377
|
-
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
378
|
-
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
379
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
380
|
-
"aria-colcount"?: number | undefined | undefined;
|
|
381
|
-
"aria-colindex"?: number | undefined | undefined;
|
|
382
|
-
"aria-colindextext"?: string | undefined | undefined;
|
|
383
|
-
"aria-colspan"?: number | undefined | undefined;
|
|
384
|
-
"aria-controls"?: string | undefined | undefined;
|
|
385
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
386
|
-
"aria-describedby"?: string | undefined | undefined;
|
|
387
|
-
"aria-description"?: string | undefined | undefined;
|
|
388
|
-
"aria-details"?: string | undefined | undefined;
|
|
389
|
-
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
390
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
391
|
-
"aria-errormessage"?: string | undefined | undefined;
|
|
392
|
-
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
393
|
-
"aria-flowto"?: string | undefined | undefined;
|
|
394
|
-
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
395
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
396
|
-
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
397
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
398
|
-
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
399
|
-
"aria-label"?: string | undefined | undefined;
|
|
400
|
-
"aria-labelledby"?: string | undefined | undefined;
|
|
401
|
-
"aria-level"?: number | undefined | undefined;
|
|
402
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
403
|
-
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
404
|
-
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
405
|
-
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
406
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
407
|
-
"aria-owns"?: string | undefined | undefined;
|
|
408
|
-
"aria-placeholder"?: string | undefined | undefined;
|
|
409
|
-
"aria-posinset"?: number | undefined | undefined;
|
|
410
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
411
|
-
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
412
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
413
|
-
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
414
|
-
"aria-roledescription"?: string | undefined | undefined;
|
|
415
|
-
"aria-rowcount"?: number | undefined | undefined;
|
|
416
|
-
"aria-rowindex"?: number | undefined | undefined;
|
|
417
|
-
"aria-rowindextext"?: string | undefined | undefined;
|
|
418
|
-
"aria-rowspan"?: number | undefined | undefined;
|
|
419
|
-
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
420
|
-
"aria-setsize"?: number | undefined | undefined;
|
|
421
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
422
|
-
"aria-valuemax"?: number | undefined | undefined;
|
|
423
|
-
"aria-valuemin"?: number | undefined | undefined;
|
|
424
|
-
"aria-valuenow"?: number | undefined | undefined;
|
|
425
|
-
"aria-valuetext"?: string | undefined | undefined;
|
|
426
|
-
children?: import("react").ReactNode;
|
|
427
|
-
dangerouslySetInnerHTML?: {
|
|
428
|
-
__html: string | TrustedHTML;
|
|
429
|
-
} | undefined | undefined;
|
|
430
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
431
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
432
|
-
onCut?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
433
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
434
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
435
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
436
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
|
|
437
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
|
|
438
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
|
|
439
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
|
|
440
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
|
|
441
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLInputElement> | undefined;
|
|
442
|
-
onFocus?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
|
|
443
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
|
|
444
|
-
onBlur?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
|
|
445
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLInputElement> | undefined;
|
|
446
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
447
|
-
onBeforeInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
448
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
449
|
-
onInput?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
450
|
-
onInputCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
451
|
-
onReset?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
452
|
-
onResetCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
453
|
-
onSubmit?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
454
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
455
|
-
onInvalid?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
456
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLInputElement> | undefined;
|
|
457
|
-
onLoad?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
458
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
459
|
-
onError?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
460
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
461
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
462
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
463
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
464
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
465
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
466
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
467
|
-
onAbort?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
468
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
469
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
470
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
471
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
472
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
473
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
474
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
475
|
-
onEmptied?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
476
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
477
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
478
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
479
|
-
onEnded?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
480
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
481
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
482
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
483
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
484
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
485
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
486
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
487
|
-
onPause?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
488
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
489
|
-
onPlay?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
490
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
491
|
-
onPlaying?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
492
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
493
|
-
onProgress?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
494
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
495
|
-
onRateChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
496
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
497
|
-
onResize?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
498
|
-
onResizeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
499
|
-
onSeeked?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
500
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
501
|
-
onSeeking?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
502
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
503
|
-
onStalled?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
504
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
505
|
-
onSuspend?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
506
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
507
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
508
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
509
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
510
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
511
|
-
onWaiting?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
512
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
513
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
514
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
515
|
-
onClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
516
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
517
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
518
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
519
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
520
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
521
|
-
onDrag?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
522
|
-
onDragCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
523
|
-
onDragEnd?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
524
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
525
|
-
onDragEnter?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
526
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
527
|
-
onDragExit?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
528
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
529
|
-
onDragLeave?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
530
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
531
|
-
onDragOver?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
532
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
533
|
-
onDragStart?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
534
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
535
|
-
onDrop?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
536
|
-
onDropCapture?: import("react").DragEventHandler<HTMLInputElement> | undefined;
|
|
537
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
538
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
539
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
540
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
541
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
542
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
543
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
544
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
545
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
546
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
547
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
548
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLInputElement> | undefined;
|
|
549
|
-
onSelect?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
550
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLInputElement> | undefined;
|
|
551
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
|
|
552
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
|
|
553
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
|
|
554
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
|
|
555
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
|
|
556
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
|
|
557
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
|
|
558
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLInputElement> | undefined;
|
|
559
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
560
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
561
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
562
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
563
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
564
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
565
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
566
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
567
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
568
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
569
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
570
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
571
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
572
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
573
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
574
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
575
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
576
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLInputElement> | undefined;
|
|
577
|
-
onScroll?: import("react").UIEventHandler<HTMLInputElement> | undefined;
|
|
578
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLInputElement> | undefined;
|
|
579
|
-
onWheel?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
|
|
580
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLInputElement> | undefined;
|
|
581
|
-
onAnimationStart?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
|
|
582
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
|
|
583
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
|
|
584
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
|
|
585
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
|
|
586
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
|
|
587
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
|
|
588
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
|
|
589
|
-
}>;
|
|
294
|
+
export declare const TextFieldInput: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, VariantProps>>;
|
|
590
295
|
export declare const TextFieldColor: import("styled-components").IStyledComponent<"web", {
|
|
591
296
|
ref?: import("react").LegacyRef<HTMLLabelElement> | undefined;
|
|
592
297
|
key?: import("react").Key | null | undefined;
|
|
@@ -1,36 +1,38 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{styled as o,css as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{styled as o,css as r}from"styled-components";import{Typography as i}from"../typography/index.js";import{Skeleton as t}from"../skeleton/index.js";import{Button as l}from"../button/index.js";import{CloseIcon as a}from"../../icons/close/index.js";const n=o.div.withConfig({displayName:"styled__TextFieldStyled",componentId:"sc-1p7nrvv-0"})(["display:inline-flex;flex-direction:column;align-items:flex-start;width:",";box-sizing:border-box;"," ",""],(({$fullWidth:e})=>e?"100%":"420px"),(({$disabled:e})=>e&&r`
|
|
2
2
|
cursor: not-allowed;
|
|
3
|
-
`),(({$disabled:e})=>!e&&
|
|
3
|
+
`),(({$disabled:e})=>!e&&r`
|
|
4
4
|
cursor: default;
|
|
5
|
-
`)),s=o(i).attrs({variant:"input-sm"}).withConfig({displayName:"styled__TextFieldLabel",componentId:"sc-1p7nrvv-1"})(["display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;width:100%;cursor:inherit;"]),c=o.label.withConfig({displayName:"styled__TextFieldBlock",componentId:"sc-1p7nrvv-2"})(["display:inline-flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;border
|
|
5
|
+
`)),s=o(i).attrs({variant:"input-sm"}).withConfig({displayName:"styled__TextFieldLabel",componentId:"sc-1p7nrvv-1"})(["display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;width:100%;cursor:inherit;"]),c=o.label.withConfig({displayName:"styled__TextFieldBlock",componentId:"sc-1p7nrvv-2"})(["display:inline-flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;border-radius:8px;overflow:hidden;cursor:",";padding:0px ","px;",";"," "," ",""],(({$disabled:e,$skeleton:o})=>o?"progress":e?"not-allowed":"text"),(({$variant:e})=>"primary"===e?16:10),(({$variant:e})=>"primary"===e&&r`
|
|
6
|
+
border: 1px solid ${({theme:e})=>e.colors.grayScale.gray2};
|
|
7
|
+
`),(({theme:e,$error:o,$hover:i,$focus:t,$disabled:l,$skeleton:a})=>l||a?r`
|
|
6
8
|
border-color: ${({theme:e})=>e.colors.grayScale.gray2};
|
|
7
|
-
`:o?
|
|
9
|
+
`:o?r`
|
|
8
10
|
border-color: ${e.colors.critic};
|
|
9
|
-
`:(i||
|
|
11
|
+
`:(i||t)&&r`
|
|
10
12
|
border-color: ${e.colors.accent.primary};
|
|
11
|
-
`),(({theme:e,$focus:o,$disabled:i,$skeleton:
|
|
13
|
+
`),(({theme:e,$focus:o,$disabled:i,$skeleton:t,$variant:l})=>i||t?r`
|
|
12
14
|
background: ${e.colors.grayScale.gray3};
|
|
13
|
-
`:o?
|
|
14
|
-
background: ${"light"===e.mode?e.default.colors.base.white:e.colors.grayScale.gray4};
|
|
15
|
+
`:o?r`
|
|
16
|
+
background: ${"light"===e.mode?"primary"===l?e.default.colors.base.white:e.colors.grayScale.gray7:"primary"===l?e.colors.grayScale.gray4:e.colors.grayScale.gray7};
|
|
15
17
|
> svg path {
|
|
16
18
|
fill: ${"light"===e.mode?e.default.colors.accent.primary:e.colors.base.white};
|
|
17
19
|
}
|
|
18
|
-
`:
|
|
19
|
-
background: ${"light"===e.mode?e.default.colors.base.white:e.colors.grayScale.gray4};
|
|
20
|
+
`:r`
|
|
21
|
+
background: ${"light"===e.mode?"primary"===l?e.default.colors.base.white:e.colors.grayScale.gray7:"primary"===l?e.colors.grayScale.gray4:e.colors.grayScale.gray7};
|
|
20
22
|
> svg path {
|
|
21
23
|
fill: ${e.colors.grayScale.gray1};
|
|
22
24
|
}
|
|
23
|
-
`),(({$focus:e,$disabled:o})=>o?
|
|
24
|
-
${
|
|
25
|
+
`),(({$focus:e,$disabled:o})=>o?r`
|
|
26
|
+
${h} {
|
|
25
27
|
visibility: hidden;
|
|
26
28
|
}
|
|
27
|
-
`:
|
|
28
|
-
${
|
|
29
|
+
`:r`
|
|
30
|
+
${h} {
|
|
29
31
|
visibility: ${e?"visible":"hidden"};
|
|
30
32
|
}
|
|
31
33
|
&:hover {
|
|
32
|
-
${
|
|
34
|
+
${h} {
|
|
33
35
|
visibility: visible;
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
|
-
`)),d=o.input.withConfig({displayName:"styled__TextFieldInput",componentId:"sc-1p7nrvv-3"})(["display:",";width:100%;background:none;border:none;outline:none;padding:
|
|
38
|
+
`)),d=o.input.withConfig({displayName:"styled__TextFieldInput",componentId:"sc-1p7nrvv-3"})(["display:",";width:100%;background:none;border:none;outline:none;padding:","px 0px;color:",";font-size:14px;font-weight:400;line-height:18px;cursor:inherit;&:hover ~ ","{border-color:",";}&::placeholder{color:",";}&:focus::placeholder{color:",";}&:-webkit-autofill,&:-webkit-autofill:hover,&:-webkit-autofill:active{caret-color:",";-webkit-background-clip:text;-webkit-text-fill-color:",";box-shadow:0 0 0 100px "," inset !important;}&:-webkit-autofill:focus{caret-color:",";-webkit-background-clip:text;-webkit-text-fill-color:",";box-shadow:0 0 0 100px "," inset !important;}&::-webkit-search-decoration,&::-webkit-search-cancel-button,&::-webkit-search-results-button,&::-webkit-search-results-decoration{-webkit-appearance:none;}&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"],(({type:e})=>"color"===e?"none":"inline-flex"),(({$variant:e})=>"primary"===e?14:8),(({theme:e})=>e.colors.base.white),c,(({theme:e})=>e.colors.accent.primary),(({theme:e})=>e.colors.grayScale.gray1),(({theme:e})=>"light"===e.mode?e.colors.grayScale.gray1:e.colors.grayScale.gray6),(({theme:e})=>e.colors.base.white),(({theme:e})=>e.colors.base.white),(({theme:e})=>e.colors.grayScale.gray4),(({theme:e})=>e.colors.base.white),(({theme:e})=>e.colors.base.white),(({theme:e})=>e.colors.grayScale.gray4)),p=o.label.withConfig({displayName:"styled__TextFieldColor",componentId:"sc-1p7nrvv-4"})(["display:inline-flex;cursor:pointer;"]),y=o.input.attrs({type:"color"}).withConfig({displayName:"styled__TextFieldColorInput",componentId:"sc-1p7nrvv-5"})(["display:none;"]),m=o.span.withConfig({displayName:"styled__TextFieldColorPreview",componentId:"sc-1p7nrvv-6"})(["display:inline-flex;width:18px;height:18px;flex-shrink:0;background:",";border-radius:4px;"],(({$color:e})=>e)),h=o(l).attrs({variant:"text",iconSize:12,children:e(a,{})}).withConfig({displayName:"styled__TextFieldClearButton",componentId:"sc-1p7nrvv-7"})([""]),g=o(i).attrs({variant:"input-sm"}).withConfig({displayName:"styled__TextFieldErrorText",componentId:"sc-1p7nrvv-8"})(["display:inline-flex;margin-top:8px;color:",";"],(({theme:e})=>e.colors.critic)),b=o(t).withConfig({displayName:"styled__TextFieldSkeleton",componentId:"sc-1p7nrvv-9"})(["width:100%;height:18px;margin:14px 0px;"]);export{c as TextFieldBlock,h as TextFieldClearButton,p as TextFieldColor,y as TextFieldColorInput,m as TextFieldColorPreview,g as TextFieldErrorText,d as TextFieldInput,s as TextFieldLabel,b as TextFieldSkeleton,n as TextFieldStyled};
|