@mirohq/design-system-button 2.0.17 → 3.0.0-button.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +264 -315
- package/dist/main.js.map +1 -1
- package/dist/module.js +265 -316
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +441 -53
- package/package.json +5 -4
package/dist/types.d.ts
CHANGED
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import react__default, { ComponentPropsWithRef
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import react__default, { ComponentPropsWithRef } from 'react';
|
|
3
|
+
import * as _mirohq_design_system_base_button from '@mirohq/design-system-base-button';
|
|
4
|
+
import { BaseButtonProps } from '@mirohq/design-system-base-button';
|
|
5
5
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
6
6
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
7
|
-
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
8
7
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
8
|
+
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
9
9
|
|
|
10
10
|
declare const StyledButton: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
11
|
-
variant?: "
|
|
12
|
-
|
|
13
|
-
size?: "small" | "medium" | "large" | "x-small" | "xx-small" | undefined;
|
|
11
|
+
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
12
|
+
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
14
13
|
rounded?: boolean | "true" | undefined;
|
|
15
|
-
loading?: boolean | "true" | undefined;
|
|
16
14
|
fluid?: boolean | "true" | undefined;
|
|
17
|
-
}, "size" | "
|
|
18
|
-
variant?: "
|
|
19
|
-
|
|
20
|
-
size?: "small" | "medium" | "large" | "x-small" | "xx-small" | undefined;
|
|
15
|
+
}, "size" | "variant" | "rounded" | "fluid"> & _stitches_react_types_styled_component.TransformProps<{
|
|
16
|
+
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
17
|
+
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
21
18
|
rounded?: boolean | "true" | undefined;
|
|
22
|
-
loading?: boolean | "true" | undefined;
|
|
23
19
|
fluid?: boolean | "true" | undefined;
|
|
24
|
-
}, {}> & _mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<
|
|
20
|
+
}, {}> & _mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<Pick<_mirohq_design_system_base_button.BaseButtonProps, "form" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "target" | "href" | "rel" | "asChild" | "css" | "UNSAFE_style" | "onPress" | "onPressStart" | "onPressEnd" | "onPressChange" | "onFocusChange" | "excludeFromTabOrder" | "onHoverStart" | "onHoverEnd" | "onHoverChange"> & react.RefAttributes<HTMLButtonElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
25
21
|
'border-widths': {
|
|
26
22
|
readonly none: 0;
|
|
27
23
|
readonly sm: "1px";
|
|
@@ -431,67 +427,459 @@ declare const StyledButton: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
431
427
|
readonly [$$PropertyValue]: "margin";
|
|
432
428
|
};
|
|
433
429
|
};
|
|
434
|
-
}>>> & _mirohq_design_system_stitches.CustomStylesProps, "form" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "size" | "loading" | "asChild" | "appearance" | keyof _mirohq_design_system_stitches.CustomStylesProps | "variant" | "rounded" | "fluid"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"button">>, {
|
|
435
|
-
variant?: "
|
|
436
|
-
|
|
437
|
-
size?: "small" | "medium" | "large" | "x-small" | "xx-small" | undefined;
|
|
430
|
+
}>>> & _mirohq_design_system_stitches.CustomStylesProps, "form" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "size" | "target" | "href" | "rel" | "asChild" | keyof _mirohq_design_system_stitches.CustomStylesProps | "onPress" | "onPressStart" | "onPressEnd" | "onPressChange" | "onFocusChange" | "excludeFromTabOrder" | "onHoverStart" | "onHoverEnd" | "onHoverChange" | "variant" | "rounded" | "fluid"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<Pick<_mirohq_design_system_base_button.BaseButtonProps, "form" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "target" | "href" | "rel" | "asChild" | "css" | "UNSAFE_style" | "onPress" | "onPressStart" | "onPressEnd" | "onPressChange" | "onFocusChange" | "excludeFromTabOrder" | "onHoverStart" | "onHoverEnd" | "onHoverChange"> & react.RefAttributes<HTMLButtonElement>>, {
|
|
431
|
+
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
432
|
+
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
438
433
|
rounded?: boolean | "true" | undefined;
|
|
439
|
-
loading?: boolean | "true" | undefined;
|
|
440
434
|
fluid?: boolean | "true" | undefined;
|
|
441
435
|
}, {}>;
|
|
442
436
|
declare type StyledButtonProps = ComponentPropsWithRef<typeof StyledButton>;
|
|
443
437
|
|
|
444
|
-
declare
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
438
|
+
declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Pick<Omit<{}, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"svg">>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
439
|
+
'border-widths': {
|
|
440
|
+
readonly none: 0;
|
|
441
|
+
readonly sm: "1px";
|
|
442
|
+
readonly md: "2px";
|
|
443
|
+
readonly lg: "4px";
|
|
444
|
+
};
|
|
445
|
+
colors: {
|
|
446
|
+
readonly 'blue-100': any;
|
|
447
|
+
readonly 'blue-200': any;
|
|
448
|
+
readonly 'blue-300': any;
|
|
449
|
+
readonly 'blue-400': any;
|
|
450
|
+
readonly 'blue-500': any;
|
|
451
|
+
readonly 'blue-600': any;
|
|
452
|
+
readonly 'blue-700': any;
|
|
453
|
+
readonly 'blue-800': any;
|
|
454
|
+
readonly 'blue-900': any;
|
|
455
|
+
readonly 'blue-1000': any;
|
|
456
|
+
readonly 'gray-100': any;
|
|
457
|
+
readonly 'gray-200': any;
|
|
458
|
+
readonly 'gray-300': any;
|
|
459
|
+
readonly 'gray-400': any;
|
|
460
|
+
readonly 'gray-500': any;
|
|
461
|
+
readonly 'gray-600': any;
|
|
462
|
+
readonly 'gray-700': any;
|
|
463
|
+
readonly 'gray-800': any;
|
|
464
|
+
readonly 'gray-900': any;
|
|
465
|
+
readonly 'indigo-100': any;
|
|
466
|
+
readonly 'indigo-200': any;
|
|
467
|
+
readonly 'indigo-300': any;
|
|
468
|
+
readonly 'indigo-400': any;
|
|
469
|
+
readonly 'indigo-500': any;
|
|
470
|
+
readonly 'indigo-600': any;
|
|
471
|
+
readonly 'indigo-700': any;
|
|
472
|
+
readonly 'indigo-800': any;
|
|
473
|
+
readonly 'indigo-900': any;
|
|
474
|
+
readonly 'red-100': any;
|
|
475
|
+
readonly 'red-200': any;
|
|
476
|
+
readonly 'red-300': any;
|
|
477
|
+
readonly 'red-400': any;
|
|
478
|
+
readonly 'red-500': any;
|
|
479
|
+
readonly 'red-600': any;
|
|
480
|
+
readonly 'red-700': any;
|
|
481
|
+
readonly 'red-800': any;
|
|
482
|
+
readonly 'red-900': any;
|
|
483
|
+
readonly 'yellow-100': any;
|
|
484
|
+
readonly 'yellow-200': any;
|
|
485
|
+
readonly 'yellow-300': any;
|
|
486
|
+
readonly 'yellow-400': any;
|
|
487
|
+
readonly 'yellow-500': any;
|
|
488
|
+
readonly 'yellow-600': any;
|
|
489
|
+
readonly 'yellow-700': any;
|
|
490
|
+
readonly 'yellow-800': any;
|
|
491
|
+
readonly 'yellow-900': any;
|
|
492
|
+
readonly 'green-100': any;
|
|
493
|
+
readonly 'green-200': any;
|
|
494
|
+
readonly 'green-300': any;
|
|
495
|
+
readonly 'green-400': any;
|
|
496
|
+
readonly 'green-500': any;
|
|
497
|
+
readonly 'green-600': any;
|
|
498
|
+
readonly 'green-700': any;
|
|
499
|
+
readonly 'green-800': any;
|
|
500
|
+
readonly 'green-900': any;
|
|
501
|
+
readonly black: any;
|
|
502
|
+
readonly white: any;
|
|
503
|
+
readonly transparent: any;
|
|
504
|
+
readonly 'background-neutrals'?: any;
|
|
505
|
+
readonly 'background-neutrals-body'?: any;
|
|
506
|
+
readonly 'background-neutrals-container'?: any;
|
|
507
|
+
readonly 'background-neutrals-inverted'?: any;
|
|
508
|
+
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
509
|
+
readonly 'background-neutrals-subtle'?: any;
|
|
510
|
+
readonly 'background-neutrals-subtle-hover'?: any;
|
|
511
|
+
readonly 'background-neutrals-subtle-active'?: any;
|
|
512
|
+
readonly 'background-neutrals-disabled'?: any;
|
|
513
|
+
readonly 'background-neutrals-controls-disabled'?: any;
|
|
514
|
+
readonly 'background-neutrals-scrolls'?: any;
|
|
515
|
+
readonly 'background-neutrals-inactive'?: any;
|
|
516
|
+
readonly 'background-neutrals-inactive-hover'?: any;
|
|
517
|
+
readonly 'background-primary-prominent'?: any;
|
|
518
|
+
readonly 'background-primary-prominent-hover'?: any;
|
|
519
|
+
readonly 'background-primary-prominent-active'?: any;
|
|
520
|
+
readonly 'background-primary-prominent-selected'?: any;
|
|
521
|
+
readonly 'background-primary-subtle'?: any;
|
|
522
|
+
readonly 'background-primary-subtle-hover'?: any;
|
|
523
|
+
readonly 'background-primary-subtle-active'?: any;
|
|
524
|
+
readonly 'background-primary-subtle-selected'?: any;
|
|
525
|
+
readonly 'background-danger-prominent'?: any;
|
|
526
|
+
readonly 'background-danger-prominent-hover'?: any;
|
|
527
|
+
readonly 'background-danger-prominent-active'?: any;
|
|
528
|
+
readonly 'background-danger'?: any;
|
|
529
|
+
readonly 'background-danger-hover'?: any;
|
|
530
|
+
readonly 'background-success'?: any;
|
|
531
|
+
readonly 'background-warning-subtle'?: any;
|
|
532
|
+
readonly 'background-warning-prominent'?: any;
|
|
533
|
+
readonly 'text-neutrals-inverted'?: any;
|
|
534
|
+
readonly 'text-neutrals'?: any;
|
|
535
|
+
readonly 'text-neutrals-subtle'?: any;
|
|
536
|
+
readonly 'text-neutrals-placeholder-only'?: any;
|
|
537
|
+
readonly 'text-neutrals-placeholder'?: any;
|
|
538
|
+
readonly 'text-neutrals-disabled'?: any;
|
|
539
|
+
readonly 'text-primary-inverted'?: any;
|
|
540
|
+
readonly 'text-primary'?: any;
|
|
541
|
+
readonly 'text-primary-hover'?: any;
|
|
542
|
+
readonly 'text-primary-active'?: any;
|
|
543
|
+
readonly 'text-primary-selected'?: any;
|
|
544
|
+
readonly 'text-primary-inverted-subtle'?: any;
|
|
545
|
+
readonly 'text-danger-inverted'?: any;
|
|
546
|
+
readonly 'text-danger'?: any;
|
|
547
|
+
readonly 'text-danger-hover'?: any;
|
|
548
|
+
readonly 'text-danger-active'?: any;
|
|
549
|
+
readonly 'text-success'?: any;
|
|
550
|
+
readonly 'text-warning'?: any;
|
|
551
|
+
readonly 'icon-neutrals-inverted'?: any;
|
|
552
|
+
readonly 'icon-neutrals'?: any;
|
|
553
|
+
readonly 'icon-neutrals-with-text'?: any;
|
|
554
|
+
readonly 'icon-neutrals-subtle'?: any;
|
|
555
|
+
readonly 'icon-neutrals-disabled'?: any;
|
|
556
|
+
readonly 'icon-neutrals-search'?: any;
|
|
557
|
+
readonly 'icon-neutrals-inactive'?: any;
|
|
558
|
+
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
559
|
+
readonly 'icon-primary-inverted'?: any;
|
|
560
|
+
readonly 'icon-primary'?: any;
|
|
561
|
+
readonly 'icon-primary-hover'?: any;
|
|
562
|
+
readonly 'icon-primary-active'?: any;
|
|
563
|
+
readonly 'icon-primary-selected'?: any;
|
|
564
|
+
readonly 'icon-danger-inverted'?: any;
|
|
565
|
+
readonly 'icon-danger'?: any;
|
|
566
|
+
readonly 'icon-danger-hover'?: any;
|
|
567
|
+
readonly 'icon-danger-active'?: any;
|
|
568
|
+
readonly 'icon-success-inverted'?: any;
|
|
569
|
+
readonly 'icon-success'?: any;
|
|
570
|
+
readonly 'icon-warning'?: any;
|
|
571
|
+
readonly 'border-neutrals'?: any;
|
|
572
|
+
readonly 'border-neutrals-hover'?: any;
|
|
573
|
+
readonly 'border-neutrals-active'?: any;
|
|
574
|
+
readonly 'border-neutrals-disabled'?: any;
|
|
575
|
+
readonly 'border-neutrals-controls'?: any;
|
|
576
|
+
readonly 'border-neutrals-controls-disabled'?: any;
|
|
577
|
+
readonly 'border-neutrals-subtle'?: any;
|
|
578
|
+
readonly 'border-neutrals-inverted'?: any;
|
|
579
|
+
readonly 'border-primary'?: any;
|
|
580
|
+
readonly 'border-primary-hover'?: any;
|
|
581
|
+
readonly 'border-primary-active'?: any;
|
|
582
|
+
readonly 'border-primary-inverted'?: any;
|
|
583
|
+
readonly 'border-danger'?: any;
|
|
584
|
+
readonly 'border-success'?: any;
|
|
585
|
+
readonly 'border-warning'?: any;
|
|
586
|
+
};
|
|
587
|
+
'font-sizes': {
|
|
588
|
+
readonly 150: "0.75rem";
|
|
589
|
+
readonly 175: "0.875rem";
|
|
590
|
+
readonly 200: "1rem";
|
|
591
|
+
readonly 225: "1.125rem";
|
|
592
|
+
readonly 250: "1.25rem";
|
|
593
|
+
readonly 300: "1.5rem";
|
|
594
|
+
readonly 400: "2rem";
|
|
595
|
+
readonly 500: "2.5rem";
|
|
596
|
+
readonly 600: "3rem";
|
|
597
|
+
readonly 800: "4rem";
|
|
598
|
+
readonly 900: "4.5rem";
|
|
599
|
+
};
|
|
600
|
+
radii: {
|
|
601
|
+
readonly none: 0;
|
|
602
|
+
readonly half: "999em";
|
|
603
|
+
readonly 25: "2px";
|
|
604
|
+
readonly 50: "4px";
|
|
605
|
+
readonly 75: "6px";
|
|
606
|
+
readonly 100: "8px";
|
|
607
|
+
readonly 200: "16px";
|
|
608
|
+
};
|
|
609
|
+
shadows: {
|
|
610
|
+
readonly 50: "0 4px 16px #05003812";
|
|
611
|
+
readonly 100: "0 8px 32px #05003808";
|
|
612
|
+
};
|
|
613
|
+
sizes: {
|
|
614
|
+
readonly number: string;
|
|
615
|
+
readonly 'icon-200': "16px";
|
|
616
|
+
readonly 'icon-300': "24px";
|
|
617
|
+
readonly 'icon-400': "32px";
|
|
618
|
+
};
|
|
619
|
+
space: {
|
|
620
|
+
readonly none: 0;
|
|
621
|
+
readonly 50: "4px";
|
|
622
|
+
readonly 100: "8px";
|
|
623
|
+
readonly 150: "12px";
|
|
624
|
+
readonly 200: "16px";
|
|
625
|
+
readonly 300: "24px";
|
|
626
|
+
readonly 400: "32px";
|
|
627
|
+
readonly 500: "64px";
|
|
628
|
+
readonly 600: "48px";
|
|
629
|
+
readonly 800: "64px";
|
|
630
|
+
readonly 1200: "96px";
|
|
631
|
+
readonly 1600: "128px";
|
|
632
|
+
};
|
|
633
|
+
'space-gap': {
|
|
634
|
+
readonly none: any;
|
|
635
|
+
readonly 50: any;
|
|
636
|
+
readonly 100: any;
|
|
637
|
+
readonly 200: any;
|
|
638
|
+
readonly 300: any;
|
|
639
|
+
};
|
|
640
|
+
'space-inset': {
|
|
641
|
+
readonly none: any;
|
|
642
|
+
readonly 50: any;
|
|
643
|
+
readonly 100: any;
|
|
644
|
+
readonly 150: any;
|
|
645
|
+
readonly 200: any;
|
|
646
|
+
readonly 300: any;
|
|
647
|
+
readonly 400: any;
|
|
648
|
+
readonly 600: any;
|
|
649
|
+
readonly 800: any;
|
|
650
|
+
readonly 1200: any;
|
|
651
|
+
readonly 1600: any;
|
|
652
|
+
};
|
|
653
|
+
'space-offset': {
|
|
654
|
+
readonly none: any;
|
|
655
|
+
readonly 50: any;
|
|
656
|
+
readonly 100: any;
|
|
657
|
+
readonly 150: any;
|
|
658
|
+
readonly 200: any;
|
|
659
|
+
readonly 300: any;
|
|
660
|
+
readonly 400: any;
|
|
661
|
+
readonly 600: any;
|
|
662
|
+
readonly 800: any;
|
|
663
|
+
readonly 1200: any;
|
|
664
|
+
readonly 1600: any;
|
|
665
|
+
readonly 'stacking-none': any;
|
|
666
|
+
readonly 'stacking-100': any;
|
|
667
|
+
readonly 'stacking-200': any;
|
|
668
|
+
readonly 'stacking-300': any;
|
|
669
|
+
readonly 'stacking-400': any;
|
|
670
|
+
readonly 'stacking-500': any;
|
|
671
|
+
readonly 'stacking-800': any;
|
|
672
|
+
};
|
|
673
|
+
'z-indices': {
|
|
674
|
+
readonly dropdownMenu: 100;
|
|
675
|
+
readonly popover: 200;
|
|
676
|
+
readonly tooltip: 300;
|
|
677
|
+
};
|
|
678
|
+
}, {
|
|
679
|
+
readonly background: "colors";
|
|
680
|
+
readonly backgroundColor: "colors";
|
|
681
|
+
readonly backgroundImage: "colors";
|
|
682
|
+
readonly blockSize: "sizes";
|
|
683
|
+
readonly border: "colors";
|
|
684
|
+
readonly borderBlock: "colors";
|
|
685
|
+
readonly borderBlockEnd: "colors";
|
|
686
|
+
readonly borderBlockStart: "colors";
|
|
687
|
+
readonly borderBottom: "colors";
|
|
688
|
+
readonly borderBottomColor: "colors";
|
|
689
|
+
readonly borderBottomLeftRadius: "radii";
|
|
690
|
+
readonly borderBottomRightRadius: "radii";
|
|
691
|
+
readonly borderBottomStyle: "border-styles";
|
|
692
|
+
readonly borderBottomWidth: "border-widths";
|
|
693
|
+
readonly borderColor: "colors";
|
|
694
|
+
readonly borderImage: "colors";
|
|
695
|
+
readonly borderInline: "colors";
|
|
696
|
+
readonly borderInlineEnd: "colors";
|
|
697
|
+
readonly borderInlineStart: "colors";
|
|
698
|
+
readonly borderLeft: "colors";
|
|
699
|
+
readonly borderLeftColor: "colors";
|
|
700
|
+
readonly borderLeftStyle: "border-styles";
|
|
701
|
+
readonly borderLeftWidth: "border-widths";
|
|
702
|
+
readonly borderRadius: "radii";
|
|
703
|
+
readonly borderRight: "colors";
|
|
704
|
+
readonly borderRightColor: "colors";
|
|
705
|
+
readonly borderRightStyle: "border-styles";
|
|
706
|
+
readonly borderRightWidth: "border-widths";
|
|
707
|
+
readonly borderStyle: "border-styles";
|
|
708
|
+
readonly borderTop: "colors";
|
|
709
|
+
readonly borderTopColor: "colors";
|
|
710
|
+
readonly borderTopLeftRadius: "radii";
|
|
711
|
+
readonly borderTopRightRadius: "radii";
|
|
712
|
+
readonly borderTopStyle: "border-styles";
|
|
713
|
+
readonly borderTopWidth: "border-widths";
|
|
714
|
+
readonly borderWidth: "border-widths";
|
|
715
|
+
readonly bottom: "space";
|
|
716
|
+
readonly boxShadow: "shadows";
|
|
717
|
+
readonly caretColor: "colors";
|
|
718
|
+
readonly color: "colors";
|
|
719
|
+
readonly columnGap: "space-gap";
|
|
720
|
+
readonly columnRuleColor: "colors";
|
|
721
|
+
readonly fill: "colors";
|
|
722
|
+
readonly flexBasis: "sizes";
|
|
723
|
+
readonly fontFamily: "fonts";
|
|
724
|
+
readonly fontSize: "font-sizes";
|
|
725
|
+
readonly fontWeight: "font-weights";
|
|
726
|
+
readonly gap: "space-gap";
|
|
727
|
+
readonly gridColumnGap: "space-gap";
|
|
728
|
+
readonly gridGap: "space-gap";
|
|
729
|
+
readonly gridRowGap: "space-gap";
|
|
730
|
+
readonly gridTemplateColumns: "sizes";
|
|
731
|
+
readonly gridTemplateRows: "sizes";
|
|
732
|
+
readonly height: "sizes";
|
|
733
|
+
readonly inlineSize: "sizes";
|
|
734
|
+
readonly inset: "space-inset";
|
|
735
|
+
readonly insetBlock: "space-inset";
|
|
736
|
+
readonly insetBlockEnd: "space-inset";
|
|
737
|
+
readonly insetBlockStart: "space-inset";
|
|
738
|
+
readonly insetInline: "space-inset";
|
|
739
|
+
readonly insetInlineEnd: "space-inset";
|
|
740
|
+
readonly insetInlineStart: "space-inset";
|
|
741
|
+
readonly left: "space";
|
|
742
|
+
readonly letterSpacing: "letter-spacings";
|
|
743
|
+
readonly lineHeight: "line-heights";
|
|
744
|
+
readonly margin: "space-offset";
|
|
745
|
+
readonly marginBlock: "space-offset";
|
|
746
|
+
readonly marginBlockEnd: "space-offset";
|
|
747
|
+
readonly marginBlockStart: "space-offset";
|
|
748
|
+
readonly marginBottom: "space-offset";
|
|
749
|
+
readonly marginInline: "space-offset";
|
|
750
|
+
readonly marginInlineEnd: "space-offset";
|
|
751
|
+
readonly marginInlineStart: "space-offset";
|
|
752
|
+
readonly marginLeft: "space-offset";
|
|
753
|
+
readonly marginRight: "space-offset";
|
|
754
|
+
readonly marginTop: "space-offset";
|
|
755
|
+
readonly maxBlockSize: "sizes";
|
|
756
|
+
readonly maxHeight: "sizes";
|
|
757
|
+
readonly maxInlineSize: "sizes";
|
|
758
|
+
readonly maxWidth: "sizes";
|
|
759
|
+
readonly minBlockSize: "sizes";
|
|
760
|
+
readonly minHeight: "sizes";
|
|
761
|
+
readonly minInlineSize: "sizes";
|
|
762
|
+
readonly minWidth: "sizes";
|
|
763
|
+
readonly outline: "colors";
|
|
764
|
+
readonly outlineColor: "colors";
|
|
765
|
+
readonly padding: "space-inset";
|
|
766
|
+
readonly paddingBlock: "space-inset";
|
|
767
|
+
readonly paddingBlockEnd: "space-inset";
|
|
768
|
+
readonly paddingBlockStart: "space-inset";
|
|
769
|
+
readonly paddingBottom: "space-inset";
|
|
770
|
+
readonly paddingInline: "space-inset";
|
|
771
|
+
readonly paddingInlineEnd: "space-inset";
|
|
772
|
+
readonly paddingInlineStart: "space-inset";
|
|
773
|
+
readonly paddingLeft: "space-inset";
|
|
774
|
+
readonly paddingRight: "space-inset";
|
|
775
|
+
readonly paddingTop: "space-inset";
|
|
776
|
+
readonly right: "space";
|
|
777
|
+
readonly rowGap: "space-gap";
|
|
778
|
+
readonly scrollMargin: "space-offset";
|
|
779
|
+
readonly scrollMarginBlock: "space-offset";
|
|
780
|
+
readonly scrollMarginBlockEnd: "space-offset";
|
|
781
|
+
readonly scrollMarginBlockStart: "space-offset";
|
|
782
|
+
readonly scrollMarginBottom: "space-offset";
|
|
783
|
+
readonly scrollMarginInline: "space-offset";
|
|
784
|
+
readonly scrollMarginInlineEnd: "space-offset";
|
|
785
|
+
readonly scrollMarginInlineStart: "space-offset";
|
|
786
|
+
readonly scrollMarginLeft: "space-offset";
|
|
787
|
+
readonly scrollMarginRight: "space-offset";
|
|
788
|
+
readonly scrollMarginTop: "space-offset";
|
|
789
|
+
readonly scrollPadding: "space-inset";
|
|
790
|
+
readonly scrollPaddingBlock: "space-inset";
|
|
791
|
+
readonly scrollPaddingBlockEnd: "space-inset";
|
|
792
|
+
readonly scrollPaddingBlockStart: "space-inset";
|
|
793
|
+
readonly scrollPaddingBottom: "space-inset";
|
|
794
|
+
readonly scrollPaddingInline: "space-inset";
|
|
795
|
+
readonly scrollPaddingInlineEnd: "space-inset";
|
|
796
|
+
readonly scrollPaddingInlineStart: "space-inset";
|
|
797
|
+
readonly scrollPaddingLeft: "space-inset";
|
|
798
|
+
readonly scrollPaddingRight: "space-inset";
|
|
799
|
+
readonly scrollPaddingTop: "space-inset";
|
|
800
|
+
readonly stroke: "colors";
|
|
801
|
+
readonly textDecorationColor: "colors";
|
|
802
|
+
readonly textShadow: "shadows";
|
|
803
|
+
readonly top: "space";
|
|
804
|
+
readonly transition: "transitions";
|
|
805
|
+
readonly width: "sizes";
|
|
806
|
+
readonly zIndex: "z-indices";
|
|
807
|
+
}, {
|
|
808
|
+
paddingX: (value: {
|
|
809
|
+
readonly [$$PropertyValue]: "padding";
|
|
810
|
+
}) => {
|
|
811
|
+
paddingLeft: {
|
|
812
|
+
readonly [$$PropertyValue]: "padding";
|
|
813
|
+
};
|
|
814
|
+
paddingRight: {
|
|
815
|
+
readonly [$$PropertyValue]: "padding";
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
paddingY: (value: {
|
|
819
|
+
readonly [$$PropertyValue]: "padding";
|
|
820
|
+
}) => {
|
|
821
|
+
paddingTop: {
|
|
822
|
+
readonly [$$PropertyValue]: "padding";
|
|
823
|
+
};
|
|
824
|
+
paddingBottom: {
|
|
825
|
+
readonly [$$PropertyValue]: "padding";
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
marginX: (value: {
|
|
829
|
+
readonly [$$PropertyValue]: "margin";
|
|
830
|
+
}) => {
|
|
831
|
+
marginLeft: {
|
|
832
|
+
readonly [$$PropertyValue]: "margin";
|
|
833
|
+
};
|
|
834
|
+
marginRight: {
|
|
835
|
+
readonly [$$PropertyValue]: "margin";
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
marginY: (value: {
|
|
839
|
+
readonly [$$PropertyValue]: "margin";
|
|
840
|
+
}) => {
|
|
841
|
+
marginTop: {
|
|
842
|
+
readonly [$$PropertyValue]: "margin";
|
|
843
|
+
};
|
|
844
|
+
marginBottom: {
|
|
845
|
+
readonly [$$PropertyValue]: "margin";
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
}>>> & _mirohq_design_system_stitches.CustomStylesProps, "string" | "clipPath" | "filter" | "mask" | "path" | "key" | "crossOrigin" | "id" | "lang" | "tabIndex" | "role" | "color" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "name" | "type" | "max" | "min" | "origin" | "media" | "method" | "target" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "asChild" | keyof _mirohq_design_system_stitches.CustomStylesProps> & react__default.RefAttributes<SVGSVGElement>> & _mirohq_design_system_stitches.StitchesInternals<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"svg">>, {}, {}>;
|
|
849
|
+
declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
|
|
850
|
+
interface IconSlotProps extends StyledIconSlotProps {
|
|
450
851
|
/**
|
|
451
|
-
*
|
|
852
|
+
* The icon
|
|
452
853
|
*/
|
|
453
|
-
|
|
854
|
+
children: react__default.ReactNode;
|
|
855
|
+
}
|
|
856
|
+
declare const IconSlot: react__default.ForwardRefExoticComponent<Pick<IconSlotProps, "string" | "clipPath" | "filter" | "mask" | "path" | "key" | "crossOrigin" | "id" | "lang" | "tabIndex" | "role" | "color" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "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-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "height" | "width" | "name" | "type" | "max" | "min" | "origin" | "media" | "method" | "target" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "asChild" | "css" | "UNSAFE_style"> & react__default.RefAttributes<SVGSVGElement>>;
|
|
857
|
+
|
|
858
|
+
interface ButtonProps extends Omit<BaseButtonProps, 'variant' | 'size'> {
|
|
454
859
|
/**
|
|
455
860
|
* Change the button style
|
|
456
861
|
*/
|
|
457
|
-
|
|
862
|
+
variant?: StyledButtonProps['variant'];
|
|
458
863
|
/**
|
|
459
|
-
* Change the button
|
|
864
|
+
* Change the button size
|
|
460
865
|
*/
|
|
461
|
-
size?:
|
|
866
|
+
size?: StyledButtonProps['size'];
|
|
462
867
|
/**
|
|
463
|
-
* Make border
|
|
868
|
+
* Make button border rounded
|
|
464
869
|
*/
|
|
465
870
|
rounded?: StyledButtonProps['rounded'];
|
|
466
871
|
/**
|
|
467
872
|
* Add spinner and disable
|
|
468
873
|
*/
|
|
469
|
-
loading?:
|
|
874
|
+
loading?: boolean;
|
|
470
875
|
/**
|
|
471
876
|
* Make width 100%
|
|
472
877
|
*/
|
|
473
878
|
fluid?: StyledButtonProps['fluid'];
|
|
474
|
-
/**
|
|
475
|
-
* Prevent pointer events
|
|
476
|
-
*/
|
|
477
|
-
disabled?: boolean;
|
|
478
|
-
/**
|
|
479
|
-
* A URL to link when using the button as a link
|
|
480
|
-
*/
|
|
481
|
-
href?: string;
|
|
482
|
-
/**
|
|
483
|
-
* The target window using the button as a link
|
|
484
|
-
*/
|
|
485
|
-
target?: string;
|
|
486
|
-
/**
|
|
487
|
-
* The relationship between the linked resource and the current page. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
488
|
-
*/
|
|
489
|
-
rel?: string;
|
|
490
|
-
/**
|
|
491
|
-
* Alias for onPress
|
|
492
|
-
*/
|
|
493
|
-
onClick?: AriaButtonProps['onPress'];
|
|
494
879
|
}
|
|
495
|
-
declare const Button: react__default.ForwardRefExoticComponent<
|
|
880
|
+
declare const Button: react__default.ForwardRefExoticComponent<ButtonProps> & Partials;
|
|
881
|
+
interface Partials {
|
|
882
|
+
IconSlot: typeof IconSlot;
|
|
883
|
+
}
|
|
496
884
|
|
|
497
885
|
export { Button, ButtonProps };
|