@elliemae/ds-chip 3.57.0-next.2 → 3.57.0-next.21
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/cjs/DSChip.js +2 -2
- package/dist/cjs/DSChip.js.map +2 -2
- package/dist/cjs/config/useConfig.js +5 -4
- package/dist/cjs/config/useConfig.js.map +2 -2
- package/dist/cjs/{constants.js → constants/index.js} +18 -1
- package/dist/cjs/constants/index.js.map +7 -0
- package/dist/cjs/index.js +29 -4
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/react-desc-prop-types.js +6 -5
- package/dist/cjs/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/sharedTypes.js.map +1 -1
- package/dist/cjs/styles.js +9 -10
- package/dist/cjs/styles.js.map +2 -2
- package/dist/cjs/typescript-testing/typescript-chip-valid.js +91 -0
- package/dist/cjs/typescript-testing/typescript-chip-valid.js.map +7 -0
- package/dist/esm/DSChip.js +3 -3
- package/dist/esm/DSChip.js.map +2 -2
- package/dist/esm/config/useConfig.js +5 -4
- package/dist/esm/config/useConfig.js.map +2 -2
- package/dist/esm/{constants.js → constants/index.js} +18 -1
- package/dist/esm/constants/index.js.map +7 -0
- package/dist/esm/index.js +43 -3
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/react-desc-prop-types.js +9 -6
- package/dist/esm/react-desc-prop-types.js.map +2 -2
- package/dist/esm/styles.js +15 -7
- package/dist/esm/styles.js.map +2 -2
- package/dist/esm/typescript-testing/typescript-chip-valid.js +68 -0
- package/dist/esm/typescript-testing/typescript-chip-valid.js.map +7 -0
- package/dist/types/config/useConfig.d.ts +451 -11
- package/dist/types/{constants.d.ts → constants/index.d.ts} +29 -0
- package/dist/types/index.d.ts +4 -3
- package/dist/types/react-desc-prop-types.d.ts +9 -8
- package/dist/types/sharedTypes.d.ts +1 -1
- package/dist/types/tests/DSChip.data-testid.test.d.ts +1 -0
- package/dist/types/tests/DSChip.events.test.d.ts +1 -0
- package/dist/types/tests/DSChip.exports.test.d.ts +1 -0
- package/dist/types/tests/DSChip.keyboard.test.d.ts +1 -0
- package/dist/types/tests/DSChips.get-owner-props.test.d.ts +1 -0
- package/dist/types/typescript-testing/typescript-chip-valid.d.ts +1 -0
- package/package.json +7 -7
- package/dist/cjs/constants.js.map +0 -7
- package/dist/cjs/exported_related/data-test-ids.js +0 -38
- package/dist/cjs/exported_related/data-test-ids.js.map +0 -7
- package/dist/cjs/exported_related/index.js +0 -31
- package/dist/cjs/exported_related/index.js.map +0 -7
- package/dist/cjs/exported_related/theming.js +0 -44
- package/dist/cjs/exported_related/theming.js.map +0 -7
- package/dist/esm/constants.js.map +0 -7
- package/dist/esm/exported_related/data-test-ids.js +0 -8
- package/dist/esm/exported_related/data-test-ids.js.map +0 -7
- package/dist/esm/exported_related/index.js +0 -4
- package/dist/esm/exported_related/index.js.map +0 -7
- package/dist/esm/exported_related/theming.js +0 -14
- package/dist/esm/exported_related/theming.js.map +0 -7
- package/dist/types/exported_related/data-test-ids.d.ts +0 -7
- package/dist/types/exported_related/index.d.ts +0 -2
- package/dist/types/exported_related/theming.d.ts +0 -8
- /package/dist/types/tests/{DSChip.test.d.ts → DSChip.api.test.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DSChipT } from '../react-desc-prop-types.js';
|
|
2
2
|
export declare const useConfig: (props: DSChipT.Props) => {
|
|
3
|
-
globalAttrs: Partial<Pick<{
|
|
3
|
+
globalAttrs: Omit<Partial<Pick<{
|
|
4
4
|
type?: "button" | "reset" | "submit";
|
|
5
5
|
}, "label" | "default" | "shape" | "selected" | "size" | "form" | "list" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "defer" | "disabled" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap"> & Omit<{
|
|
6
6
|
label?: string | undefined | undefined;
|
|
@@ -367,22 +367,462 @@ export declare const useConfig: (props: DSChipT.Props) => {
|
|
|
367
367
|
width?: number | string | undefined | undefined;
|
|
368
368
|
wmode?: string | undefined | undefined;
|
|
369
369
|
wrap?: string | undefined | undefined;
|
|
370
|
-
}, "type"
|
|
370
|
+
}, "type">>, "label" | "shape">;
|
|
371
371
|
xStyledAttrs: import("@elliemae/ds-props-helpers").XstyledProps;
|
|
372
372
|
ownerPropsConfig: {
|
|
373
|
-
getOwnerProps: () =>
|
|
373
|
+
getOwnerProps: () => DSChipT.InternalProps;
|
|
374
374
|
getOwnerPropsArguments: () => {};
|
|
375
375
|
};
|
|
376
|
-
selected: boolean;
|
|
377
|
-
innerRef: React.RefObject<HTMLButtonElement> | ((_ref: HTMLButtonElement) => void);
|
|
378
|
-
dsChipRoot: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object>;
|
|
379
|
-
dsChipButton: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object>;
|
|
380
|
-
dsChipLabel: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object>;
|
|
381
|
-
dsChipRoundShape: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object>;
|
|
382
|
-
dsChipEllipsis: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object>;
|
|
383
376
|
size: import("../sharedTypes.js").ChipSizesT;
|
|
384
377
|
shape: import("../sharedTypes.js").ChipShapesT;
|
|
385
378
|
applyAriaDisabled: boolean;
|
|
379
|
+
selected?: boolean;
|
|
380
|
+
innerRef?: React.RefObject<HTMLButtonElement> | ((_ref: HTMLButtonElement) => void);
|
|
381
|
+
dsChipRoot?: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object> | undefined;
|
|
382
|
+
dsChipButton?: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object> | undefined;
|
|
383
|
+
dsChipLabel?: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object> | undefined;
|
|
384
|
+
dsChipRoundShape?: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object> | undefined;
|
|
385
|
+
dsChipEllipsis?: object | import("@elliemae/ds-typescript-helpers").TypescriptHelpersT.GenericFunc<unknown, object> | undefined;
|
|
386
|
+
default?: boolean | undefined | undefined;
|
|
387
|
+
form?: string | undefined | undefined;
|
|
388
|
+
list?: string | undefined | undefined;
|
|
389
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
390
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
391
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
392
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
393
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
394
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
395
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
396
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
397
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
398
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
399
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
400
|
+
"aria-controls"?: string | undefined | undefined;
|
|
401
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
402
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
403
|
+
"aria-description"?: string | undefined | undefined;
|
|
404
|
+
"aria-details"?: string | undefined | undefined;
|
|
405
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
406
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
407
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
408
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
409
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
410
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
411
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
412
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
413
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
414
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
415
|
+
"aria-label"?: string | undefined | undefined;
|
|
416
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
417
|
+
"aria-level"?: number | undefined | undefined;
|
|
418
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
419
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
420
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
421
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
422
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
423
|
+
"aria-owns"?: string | undefined | undefined;
|
|
424
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
425
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
426
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
427
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
428
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
429
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
430
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
431
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
432
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
433
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
434
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
435
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
436
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
437
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
438
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
439
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
440
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
441
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
442
|
+
children?: import("react").ReactNode;
|
|
443
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
444
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
445
|
+
onCut?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
446
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
447
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
448
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
449
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
450
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
451
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
452
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
453
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
454
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
455
|
+
onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
456
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
457
|
+
onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
458
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
459
|
+
onChange?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
460
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
461
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
462
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
463
|
+
onInput?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
464
|
+
onInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
465
|
+
onReset?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
466
|
+
onResetCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
467
|
+
onSubmit?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
468
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
469
|
+
onInvalid?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
470
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
471
|
+
onLoad?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
472
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
473
|
+
onError?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
474
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
475
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
476
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
477
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
478
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
479
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
480
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
481
|
+
onAbort?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
482
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
483
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
484
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
485
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
486
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
487
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
488
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
489
|
+
onEmptied?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
490
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
491
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
492
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
493
|
+
onEnded?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
494
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
495
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
496
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
497
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
498
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
499
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
500
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
501
|
+
onPause?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
502
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
503
|
+
onPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
504
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
505
|
+
onPlaying?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
506
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
507
|
+
onProgress?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
508
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
509
|
+
onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
510
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
511
|
+
onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
512
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
513
|
+
onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
514
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
515
|
+
onStalled?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
516
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
517
|
+
onSuspend?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
518
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
519
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
520
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
521
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
522
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
523
|
+
onWaiting?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
524
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
525
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
526
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
527
|
+
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
528
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
529
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
530
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
531
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
532
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
533
|
+
onDrag?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
534
|
+
onDragCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
535
|
+
onDragEnd?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
536
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
537
|
+
onDragEnter?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
538
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
539
|
+
onDragExit?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
540
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
541
|
+
onDragLeave?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
542
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
543
|
+
onDragOver?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
544
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
545
|
+
onDragStart?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
546
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
547
|
+
onDrop?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
548
|
+
onDropCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
549
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
550
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
551
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
552
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
553
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
554
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
555
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
556
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
557
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
558
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
559
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
560
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
561
|
+
onSelect?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
562
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
563
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
564
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
565
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
566
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
567
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
568
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
569
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
570
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
571
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
572
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
573
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
574
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
575
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
576
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
577
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
578
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
579
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
580
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
581
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
582
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
583
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
584
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
585
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
586
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
587
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
588
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
589
|
+
onScroll?: import("react").UIEventHandler<HTMLElement> | undefined;
|
|
590
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLElement> | undefined;
|
|
591
|
+
onWheel?: import("react").WheelEventHandler<HTMLElement> | undefined;
|
|
592
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLElement> | undefined;
|
|
593
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
594
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
595
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
596
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
597
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
598
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
599
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
600
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
601
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
602
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
603
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
604
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
605
|
+
accessKey?: string | undefined | undefined;
|
|
606
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
607
|
+
autoFocus?: boolean | undefined | undefined;
|
|
608
|
+
className?: string | undefined | undefined;
|
|
609
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
610
|
+
contextMenu?: string | undefined | undefined;
|
|
611
|
+
dir?: string | undefined | undefined;
|
|
612
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
613
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
614
|
+
hidden?: boolean | undefined | undefined;
|
|
615
|
+
id?: string | undefined | undefined;
|
|
616
|
+
lang?: string | undefined | undefined;
|
|
617
|
+
nonce?: string | undefined | undefined;
|
|
618
|
+
slot?: string | undefined | undefined;
|
|
619
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
620
|
+
style?: import("react").CSSProperties | undefined;
|
|
621
|
+
tabIndex?: 0 | -1 | undefined;
|
|
622
|
+
title?: string | undefined | undefined;
|
|
623
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
624
|
+
radioGroup?: string | undefined | undefined;
|
|
625
|
+
role?: import("react").AriaRole | undefined;
|
|
626
|
+
about?: string | undefined | undefined;
|
|
627
|
+
content?: string | undefined | undefined;
|
|
628
|
+
datatype?: string | undefined | undefined;
|
|
629
|
+
inlist?: any;
|
|
630
|
+
prefix?: string | undefined | undefined;
|
|
631
|
+
property?: string | undefined | undefined;
|
|
632
|
+
rel?: string | undefined | undefined;
|
|
633
|
+
resource?: string | undefined | undefined;
|
|
634
|
+
rev?: string | undefined | undefined;
|
|
635
|
+
typeof?: string | undefined | undefined;
|
|
636
|
+
vocab?: string | undefined | undefined;
|
|
637
|
+
autoCorrect?: string | undefined | undefined;
|
|
638
|
+
autoSave?: string | undefined | undefined;
|
|
639
|
+
color?: string | undefined | undefined;
|
|
640
|
+
itemProp?: string | undefined | undefined;
|
|
641
|
+
itemScope?: boolean | undefined | undefined;
|
|
642
|
+
itemType?: string | undefined | undefined;
|
|
643
|
+
itemID?: string | undefined | undefined;
|
|
644
|
+
itemRef?: string | undefined | undefined;
|
|
645
|
+
results?: number | undefined | undefined;
|
|
646
|
+
security?: string | undefined | undefined;
|
|
647
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
648
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
649
|
+
is?: string | undefined | undefined;
|
|
650
|
+
exportparts?: string | undefined | undefined;
|
|
651
|
+
part?: string | undefined | undefined;
|
|
652
|
+
accept?: string | undefined | undefined;
|
|
653
|
+
acceptCharset?: string | undefined | undefined;
|
|
654
|
+
action?: string | undefined;
|
|
655
|
+
allowFullScreen?: boolean | undefined | undefined;
|
|
656
|
+
allowTransparency?: boolean | undefined | undefined;
|
|
657
|
+
alt?: string | undefined | undefined;
|
|
658
|
+
async?: boolean | undefined | undefined;
|
|
659
|
+
autoComplete?: string | undefined | undefined;
|
|
660
|
+
autoPlay?: boolean | undefined | undefined;
|
|
661
|
+
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
662
|
+
cellPadding?: number | string | undefined | undefined;
|
|
663
|
+
cellSpacing?: number | string | undefined | undefined;
|
|
664
|
+
charSet?: string | undefined | undefined;
|
|
665
|
+
challenge?: string | undefined | undefined;
|
|
666
|
+
checked?: boolean | undefined | undefined;
|
|
667
|
+
cite?: string | undefined | undefined;
|
|
668
|
+
classID?: string | undefined | undefined;
|
|
669
|
+
cols?: number | undefined | undefined;
|
|
670
|
+
colSpan?: number | undefined | undefined;
|
|
671
|
+
controls?: boolean | undefined | undefined;
|
|
672
|
+
coords?: string | undefined | undefined;
|
|
673
|
+
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
674
|
+
data?: string | undefined | undefined;
|
|
675
|
+
dateTime?: string | undefined | undefined;
|
|
676
|
+
defer?: boolean | undefined | undefined;
|
|
677
|
+
disabled?: boolean | undefined | undefined;
|
|
678
|
+
download?: any;
|
|
679
|
+
encType?: string | undefined | undefined;
|
|
680
|
+
formAction?: string | undefined;
|
|
681
|
+
formEncType?: string | undefined | undefined;
|
|
682
|
+
formMethod?: string | undefined | undefined;
|
|
683
|
+
formNoValidate?: boolean | undefined | undefined;
|
|
684
|
+
formTarget?: string | undefined | undefined;
|
|
685
|
+
frameBorder?: number | string | undefined | undefined;
|
|
686
|
+
headers?: string | undefined | undefined;
|
|
687
|
+
height?: number | string | undefined | undefined;
|
|
688
|
+
high?: number | undefined | undefined;
|
|
689
|
+
href?: string | undefined | undefined;
|
|
690
|
+
hrefLang?: string | undefined | undefined;
|
|
691
|
+
htmlFor?: string | undefined | undefined;
|
|
692
|
+
httpEquiv?: string | undefined | undefined;
|
|
693
|
+
integrity?: string | undefined | undefined;
|
|
694
|
+
keyParams?: string | undefined | undefined;
|
|
695
|
+
keyType?: string | undefined | undefined;
|
|
696
|
+
kind?: string | undefined | undefined;
|
|
697
|
+
loop?: boolean | undefined | undefined;
|
|
698
|
+
low?: number | undefined | undefined;
|
|
699
|
+
manifest?: string | undefined | undefined;
|
|
700
|
+
marginHeight?: number | undefined | undefined;
|
|
701
|
+
marginWidth?: number | undefined | undefined;
|
|
702
|
+
max?: number | string | undefined | undefined;
|
|
703
|
+
maxLength?: number | undefined | undefined;
|
|
704
|
+
media?: string | undefined | undefined;
|
|
705
|
+
mediaGroup?: string | undefined | undefined;
|
|
706
|
+
method?: string | undefined | undefined;
|
|
707
|
+
min?: number | string | undefined | undefined;
|
|
708
|
+
minLength?: number | undefined | undefined;
|
|
709
|
+
multiple?: boolean | undefined | undefined;
|
|
710
|
+
muted?: boolean | undefined | undefined;
|
|
711
|
+
name?: string | undefined | undefined;
|
|
712
|
+
noValidate?: boolean | undefined | undefined;
|
|
713
|
+
open?: boolean | undefined | undefined;
|
|
714
|
+
optimum?: number | undefined | undefined;
|
|
715
|
+
pattern?: string | undefined | undefined;
|
|
716
|
+
placeholder?: string | undefined | undefined;
|
|
717
|
+
playsInline?: boolean | undefined | undefined;
|
|
718
|
+
poster?: string | undefined | undefined;
|
|
719
|
+
preload?: string | undefined | undefined;
|
|
720
|
+
readOnly?: boolean | undefined | undefined;
|
|
721
|
+
required?: boolean | undefined | undefined;
|
|
722
|
+
reversed?: boolean | undefined | undefined;
|
|
723
|
+
rows?: number | undefined | undefined;
|
|
724
|
+
rowSpan?: number | undefined | undefined;
|
|
725
|
+
sandbox?: string | undefined | undefined;
|
|
726
|
+
scope?: string | undefined | undefined;
|
|
727
|
+
scoped?: boolean | undefined | undefined;
|
|
728
|
+
scrolling?: string | undefined | undefined;
|
|
729
|
+
seamless?: boolean | undefined | undefined;
|
|
730
|
+
sizes?: string | undefined | undefined;
|
|
731
|
+
span?: number | undefined | undefined;
|
|
732
|
+
src?: string | undefined | undefined;
|
|
733
|
+
srcDoc?: string | undefined | undefined;
|
|
734
|
+
srcLang?: string | undefined | undefined;
|
|
735
|
+
srcSet?: string | undefined | undefined;
|
|
736
|
+
start?: number | undefined | undefined;
|
|
737
|
+
step?: number | string | undefined | undefined;
|
|
738
|
+
summary?: string | undefined | undefined;
|
|
739
|
+
target?: string | undefined | undefined;
|
|
740
|
+
type?: string | undefined | undefined;
|
|
741
|
+
useMap?: string | undefined | undefined;
|
|
742
|
+
value?: string | number | readonly string[] | undefined;
|
|
743
|
+
width?: number | string | undefined | undefined;
|
|
744
|
+
wmode?: string | undefined | undefined;
|
|
745
|
+
wrap?: string | undefined | undefined;
|
|
746
|
+
margin?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
747
|
+
m?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
748
|
+
marginTop?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
749
|
+
mt?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
750
|
+
marginRight?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
751
|
+
mr?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
752
|
+
marginBottom?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
753
|
+
mb?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
754
|
+
marginLeft?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
755
|
+
ml?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
756
|
+
mx?: (import("@xstyled/styled-components").SystemProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme> & (string | number | {} | import("@xstyled/styled-components").ThemeProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme>)) | undefined;
|
|
757
|
+
my?: (import("@xstyled/styled-components").SystemProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme> & (string | number | {} | import("@xstyled/styled-components").ThemeProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme>)) | undefined;
|
|
758
|
+
padding?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
759
|
+
p?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
760
|
+
paddingTop?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
761
|
+
pt?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
762
|
+
paddingRight?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
763
|
+
pr?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
764
|
+
paddingBottom?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
765
|
+
pb?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
766
|
+
paddingLeft?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
767
|
+
pl?: ((string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>) & (string | number | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | {} | (string & {}), import("@xstyled/styled-components").Theme>)) | undefined;
|
|
768
|
+
px?: (import("@xstyled/styled-components").SystemProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme> & (string | number | {} | import("@xstyled/styled-components").ThemeProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme>)) | undefined;
|
|
769
|
+
py?: (import("@xstyled/styled-components").SystemProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme> & (string | number | {} | import("@xstyled/styled-components").ThemeProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme>)) | undefined;
|
|
770
|
+
spaceX?: import("@xstyled/styled-components").SystemProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme> | undefined;
|
|
771
|
+
spaceY?: import("@xstyled/styled-components").SystemProp<import("@xstyled/styled-components").Space<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme> | undefined;
|
|
772
|
+
spaceXReverse?: import("@xstyled/styled-components").SystemProp<true, import("@xstyled/styled-components").Theme> | undefined;
|
|
773
|
+
spaceYReverse?: import("@xstyled/styled-components").SystemProp<true, import("@xstyled/styled-components").Theme> | undefined;
|
|
774
|
+
w?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
775
|
+
h?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
776
|
+
maxWidth?: (string | number | true | symbol | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme>) | undefined;
|
|
777
|
+
maxW?: (string | number | true | symbol | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme>) | undefined;
|
|
778
|
+
maxHeight?: (string | number | true | symbol | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme>) | undefined;
|
|
779
|
+
maxH?: (string | number | true | symbol | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme>) | undefined;
|
|
780
|
+
minWidth?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
781
|
+
minHeight?: (string | number | true | symbol | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme>) | undefined;
|
|
782
|
+
minH?: (string | number | true | symbol | {} | (string & {}) | import("@xstyled/styled-components").ThemeProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme>) | undefined;
|
|
783
|
+
maskSize?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
784
|
+
display?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.Display, import("@xstyled/styled-components").Theme> | undefined;
|
|
785
|
+
float?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.Float, import("@xstyled/styled-components").Theme> | undefined;
|
|
786
|
+
boxSizing?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.BoxSizing, import("@xstyled/styled-components").Theme> | undefined;
|
|
787
|
+
container?: import("@xstyled/styled-components").SystemProp<true, import("@xstyled/styled-components").Theme> | undefined;
|
|
788
|
+
overflow?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.Overflow, import("@xstyled/styled-components").Theme> | undefined;
|
|
789
|
+
overflowX?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.OverflowX, import("@xstyled/styled-components").Theme> | undefined;
|
|
790
|
+
overflowY?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.OverflowY, import("@xstyled/styled-components").Theme> | undefined;
|
|
791
|
+
position?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.Position, import("@xstyled/styled-components").Theme> | undefined;
|
|
792
|
+
zIndex?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}) | (number & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
793
|
+
top?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
794
|
+
right?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
795
|
+
bottom?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
796
|
+
left?: import("@xstyled/styled-components").SystemProp<string | number | true | symbol | {} | (string & {}), import("@xstyled/styled-components").Theme> | undefined;
|
|
797
|
+
visibility?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.Visibility, import("@xstyled/styled-components").Theme> | undefined;
|
|
798
|
+
overscrollBehavior?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.OverscrollBehavior, import("@xstyled/styled-components").Theme> | undefined;
|
|
799
|
+
objectFit?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.ObjectFit, import("@xstyled/styled-components").Theme> | undefined;
|
|
800
|
+
boxShadow?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.BoxShadow | import("@xstyled/styled-components").ThemeShadow<import("@xstyled/styled-components").Theme>, import("@xstyled/styled-components").Theme> | undefined;
|
|
801
|
+
border?: string;
|
|
802
|
+
borderTop?: string;
|
|
803
|
+
borderBottom?: string;
|
|
804
|
+
borderRight?: string;
|
|
805
|
+
borderLeft?: string;
|
|
806
|
+
borderColor?: keyof import("@elliemae/ds-system").DummyColorTheme | `neutral-100-${string}` | `neutral-200-${string}` | `neutral-300-${string}` | `neutral-400-${string}` | `neutral-500-${string}` | `neutral-600-${string}` | `neutral-700-${string}` | `neutral-800-${string}` | `neutral-000-${string}` | `neutral-050-${string}` | `neutral-080-${string}` | `brand-100-${string}` | `brand-200-${string}` | `brand-300-${string}` | `brand-400-${string}` | `brand-500-${string}` | `brand-600-${string}` | `brand-700-${string}` | `brand-800-${string}` | `success-300-${string}` | `success-900-${string}` | `warning-400-${string}` | `warning-600-${string}` | `warning-900-${string}` | `danger-200-${string}` | `danger-900-${string}` | `#${string}` | `rgba(${string})` | `rgb(${string})`;
|
|
807
|
+
borderTopColor?: keyof import("@elliemae/ds-system").DummyColorTheme | `neutral-100-${string}` | `neutral-200-${string}` | `neutral-300-${string}` | `neutral-400-${string}` | `neutral-500-${string}` | `neutral-600-${string}` | `neutral-700-${string}` | `neutral-800-${string}` | `neutral-000-${string}` | `neutral-050-${string}` | `neutral-080-${string}` | `brand-100-${string}` | `brand-200-${string}` | `brand-300-${string}` | `brand-400-${string}` | `brand-500-${string}` | `brand-600-${string}` | `brand-700-${string}` | `brand-800-${string}` | `success-300-${string}` | `success-900-${string}` | `warning-400-${string}` | `warning-600-${string}` | `warning-900-${string}` | `danger-200-${string}` | `danger-900-${string}` | `#${string}` | `rgba(${string})` | `rgb(${string})`;
|
|
808
|
+
borderBottomColor?: keyof import("@elliemae/ds-system").DummyColorTheme | `neutral-100-${string}` | `neutral-200-${string}` | `neutral-300-${string}` | `neutral-400-${string}` | `neutral-500-${string}` | `neutral-600-${string}` | `neutral-700-${string}` | `neutral-800-${string}` | `neutral-000-${string}` | `neutral-050-${string}` | `neutral-080-${string}` | `brand-100-${string}` | `brand-200-${string}` | `brand-300-${string}` | `brand-400-${string}` | `brand-500-${string}` | `brand-600-${string}` | `brand-700-${string}` | `brand-800-${string}` | `success-300-${string}` | `success-900-${string}` | `warning-400-${string}` | `warning-600-${string}` | `warning-900-${string}` | `danger-200-${string}` | `danger-900-${string}` | `#${string}` | `rgba(${string})` | `rgb(${string})`;
|
|
809
|
+
borderRightColor?: keyof import("@elliemae/ds-system").DummyColorTheme | `neutral-100-${string}` | `neutral-200-${string}` | `neutral-300-${string}` | `neutral-400-${string}` | `neutral-500-${string}` | `neutral-600-${string}` | `neutral-700-${string}` | `neutral-800-${string}` | `neutral-000-${string}` | `neutral-050-${string}` | `neutral-080-${string}` | `brand-100-${string}` | `brand-200-${string}` | `brand-300-${string}` | `brand-400-${string}` | `brand-500-${string}` | `brand-600-${string}` | `brand-700-${string}` | `brand-800-${string}` | `success-300-${string}` | `success-900-${string}` | `warning-400-${string}` | `warning-600-${string}` | `warning-900-${string}` | `danger-200-${string}` | `danger-900-${string}` | `#${string}` | `rgba(${string})` | `rgb(${string})`;
|
|
810
|
+
borderLeftColor?: keyof import("@elliemae/ds-system").DummyColorTheme | `neutral-100-${string}` | `neutral-200-${string}` | `neutral-300-${string}` | `neutral-400-${string}` | `neutral-500-${string}` | `neutral-600-${string}` | `neutral-700-${string}` | `neutral-800-${string}` | `neutral-000-${string}` | `neutral-050-${string}` | `neutral-080-${string}` | `brand-100-${string}` | `brand-200-${string}` | `brand-300-${string}` | `brand-400-${string}` | `brand-500-${string}` | `brand-600-${string}` | `brand-700-${string}` | `brand-800-${string}` | `success-300-${string}` | `success-900-${string}` | `warning-400-${string}` | `warning-600-${string}` | `warning-900-${string}` | `danger-200-${string}` | `danger-900-${string}` | `#${string}` | `rgba(${string})` | `rgb(${string})`;
|
|
811
|
+
borderStyle?: string;
|
|
812
|
+
borderTopStyle?: string;
|
|
813
|
+
borderBottomStyle?: string;
|
|
814
|
+
borderRightStyle?: string;
|
|
815
|
+
borderLeftStyle?: string;
|
|
816
|
+
borderWidth?: keyof import("@elliemae/pui-theme/dist/types/lib/theme-type.js").Space | `${number}%` | `${number}em` | `${number}px` | `${number}rem` | `${number}vh` | `${number}vw` | `${number}vmin` | `${number}vmax`;
|
|
817
|
+
borderTopWidth?: keyof import("@elliemae/pui-theme/dist/types/lib/theme-type.js").Space | `${number}%` | `${number}em` | `${number}px` | `${number}rem` | `${number}vh` | `${number}vw` | `${number}vmin` | `${number}vmax`;
|
|
818
|
+
borderBottomWidth?: keyof import("@elliemae/pui-theme/dist/types/lib/theme-type.js").Space | `${number}%` | `${number}em` | `${number}px` | `${number}rem` | `${number}vh` | `${number}vw` | `${number}vmin` | `${number}vmax`;
|
|
819
|
+
borderRightWidth?: keyof import("@elliemae/pui-theme/dist/types/lib/theme-type.js").Space | `${number}%` | `${number}em` | `${number}px` | `${number}rem` | `${number}vh` | `${number}vw` | `${number}vmin` | `${number}vmax`;
|
|
820
|
+
borderLeftWidth?: keyof import("@elliemae/pui-theme/dist/types/lib/theme-type.js").Space | `${number}%` | `${number}em` | `${number}px` | `${number}rem` | `${number}vh` | `${number}vw` | `${number}vmin` | `${number}vmax`;
|
|
821
|
+
borderRadius?: string;
|
|
822
|
+
backgroundColor?: keyof import("@elliemae/ds-system").DummyColorTheme | `neutral-100-${string}` | `neutral-200-${string}` | `neutral-300-${string}` | `neutral-400-${string}` | `neutral-500-${string}` | `neutral-600-${string}` | `neutral-700-${string}` | `neutral-800-${string}` | `neutral-000-${string}` | `neutral-050-${string}` | `neutral-080-${string}` | `brand-100-${string}` | `brand-200-${string}` | `brand-300-${string}` | `brand-400-${string}` | `brand-500-${string}` | `brand-600-${string}` | `brand-700-${string}` | `brand-800-${string}` | `success-300-${string}` | `success-900-${string}` | `warning-400-${string}` | `warning-600-${string}` | `warning-900-${string}` | `danger-200-${string}` | `danger-900-${string}` | `#${string}` | `rgba(${string})` | `rgb(${string})`;
|
|
823
|
+
bg?: keyof import("@elliemae/ds-system").DummyColorTheme | `neutral-100-${string}` | `neutral-200-${string}` | `neutral-300-${string}` | `neutral-400-${string}` | `neutral-500-${string}` | `neutral-600-${string}` | `neutral-700-${string}` | `neutral-800-${string}` | `neutral-000-${string}` | `neutral-050-${string}` | `neutral-080-${string}` | `brand-100-${string}` | `brand-200-${string}` | `brand-300-${string}` | `brand-400-${string}` | `brand-500-${string}` | `brand-600-${string}` | `brand-700-${string}` | `brand-800-${string}` | `success-300-${string}` | `success-900-${string}` | `warning-400-${string}` | `warning-600-${string}` | `warning-900-${string}` | `danger-200-${string}` | `danger-900-${string}` | `#${string}` | `rgba(${string})` | `rgb(${string})`;
|
|
824
|
+
fontWeight?: import("@xstyled/styled-components").SystemProp<{} | (string & {}) | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | (number & {}) | "bold" | "normal" | "bolder" | "lighter" | "thin" | "light" | "regular" | "semibold", import("@xstyled/styled-components").Theme> | undefined;
|
|
825
|
+
textAlign?: import("@xstyled/styled-components").SystemProp<import("csstype").Property.TextAlign, import("@xstyled/styled-components").Theme> | undefined;
|
|
386
826
|
label: string;
|
|
387
|
-
icon:
|
|
827
|
+
icon: React.ComponentType<Record<string, never>>;
|
|
388
828
|
};
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
export declare const DSChipName = "DSChip";
|
|
2
|
+
export declare const CHIP_SLOTS: {
|
|
3
|
+
readonly ROOT: "root";
|
|
4
|
+
readonly BUTTON: "button";
|
|
5
|
+
readonly LABEL: "label";
|
|
6
|
+
readonly ROUND_SHAPE: "round-shape";
|
|
7
|
+
readonly ELLIPSIS: "ellipsis";
|
|
8
|
+
};
|
|
9
|
+
export declare const CHIP_DATA_TESTID: {
|
|
10
|
+
readonly ROOT: "ds-chip-root";
|
|
11
|
+
readonly BUTTON: "ds-chip-button";
|
|
12
|
+
readonly LABEL: "ds-chip-label";
|
|
13
|
+
readonly ROUND_SHAPE: "ds-chip-round-shape";
|
|
14
|
+
readonly ELLIPSIS: "ds-chip-ellipsis";
|
|
15
|
+
};
|
|
16
|
+
export declare const DSChipSlots: {
|
|
17
|
+
readonly ROOT: "root";
|
|
18
|
+
readonly BUTTON: "button";
|
|
19
|
+
readonly LABEL: "label";
|
|
20
|
+
readonly ROUND_SHAPE: "round-shape";
|
|
21
|
+
readonly ELLIPSIS: "ellipsis";
|
|
22
|
+
};
|
|
23
|
+
export declare const DSChipDataTestIds: {
|
|
24
|
+
readonly ROOT: "ds-chip-root";
|
|
25
|
+
readonly BUTTON: "ds-chip-button";
|
|
26
|
+
readonly LABEL: "ds-chip-label";
|
|
27
|
+
readonly ROUND_SHAPE: "ds-chip-round-shape";
|
|
28
|
+
readonly ELLIPSIS: "ds-chip-ellipsis";
|
|
29
|
+
};
|
|
1
30
|
export declare const CHIP_SHAPES: {
|
|
2
31
|
DEFAULT: "default";
|
|
3
32
|
ROUND: "round";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { DSChip, DSChipWithSchema } from './DSChip.js';
|
|
2
|
+
export { type DSChipT, DSChipPropTypes } from './react-desc-prop-types.js';
|
|
3
|
+
export { CHIP_SLOTS, CHIP_DATA_TESTID, DSChipName, CHIP_SHAPES, CHIP_SIZES, ChipInteractionStates, ChipInteractionStatesValuesString, ChipShapesValuesArray, ChipShapesValuesString, ChipSizesValuesArray, ChipSizesValuesString, DSChipDataTestIds, // legacy test id constant name, same values as new one by default
|
|
4
|
+
DSChipSlots, basicSizes, roundShapeLarge, roundShapeSmall, shapeSizes, } from './constants/index.js';
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import type { GlobalAttributesT, XstyledProps, ValidationMap } from '@elliemae/ds-props-helpers';
|
|
2
|
+
import type { GlobalAttributesT, XstyledProps, ValidationMap, DSPropTypesSchema } from '@elliemae/ds-props-helpers';
|
|
3
3
|
import type { TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';
|
|
4
|
+
import { DSChipName, CHIP_SLOTS } from './constants/index.js';
|
|
4
5
|
import type { ChipSizesT, ChipShapesT } from './sharedTypes.js';
|
|
5
|
-
|
|
6
|
-
export declare const defaultProps: DSChipT.DefaultProps;
|
|
6
|
+
export declare const DSChipDefaultProps: DSChipT.DefaultProps;
|
|
7
7
|
export declare namespace DSChipT {
|
|
8
8
|
interface DefaultProps {
|
|
9
9
|
size: ChipSizesT;
|
|
10
10
|
shape: ChipShapesT;
|
|
11
11
|
applyAriaDisabled: boolean;
|
|
12
12
|
}
|
|
13
|
-
interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSChipName, typeof
|
|
13
|
+
interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSChipName, typeof CHIP_SLOTS> {
|
|
14
14
|
selected?: boolean;
|
|
15
15
|
innerRef?: React.RefObject<HTMLButtonElement> | ((_ref: HTMLButtonElement) => void);
|
|
16
16
|
}
|
|
17
17
|
interface RequiredProps {
|
|
18
18
|
label: string;
|
|
19
|
-
icon:
|
|
19
|
+
icon: React.ComponentType<Record<string, never>>;
|
|
20
20
|
}
|
|
21
|
-
interface
|
|
21
|
+
interface Props extends Partial<DefaultProps>, OptionalProps, Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps | keyof RequiredProps | keyof OptionalProps>, XstyledProps, RequiredProps {
|
|
22
22
|
}
|
|
23
|
-
interface
|
|
23
|
+
interface InternalProps extends DefaultProps, OptionalProps, Omit<GlobalAttributesT<HTMLElement>, keyof DefaultProps | keyof XstyledProps | keyof RequiredProps | keyof OptionalProps>, XstyledProps, RequiredProps {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
export declare const DSChipPropTypes:
|
|
26
|
+
export declare const DSChipPropTypes: DSPropTypesSchema<DSChipT.Props>;
|
|
27
|
+
export declare const DSChipPropTypesSchema: ValidationMap<DSChipT.Props>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CHIP_SIZES, CHIP_SHAPES, ChipInteractionStates } from './constants.js';
|
|
1
|
+
import type { CHIP_SIZES, CHIP_SHAPES, ChipInteractionStates } from './constants/index.js';
|
|
2
2
|
export type ChipSizesT = (typeof CHIP_SIZES)[keyof typeof CHIP_SIZES];
|
|
3
3
|
export type ChipShapesT = (typeof CHIP_SHAPES)[keyof typeof CHIP_SHAPES];
|
|
4
4
|
export type ChipInteractionStatesT = (typeof ChipInteractionStates)[number];
|