@pushwoosh/dumb-components 3.5.0 → 4.0.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/AccessForbidden/styles.d.ts +1 -0
- package/Badge/styles.js +1 -1
- package/Banner/Banner.js +2 -2
- package/Button/Button.js +17 -6
- package/Button/colors.d.ts +4 -2
- package/Button/colors.js +64 -9
- package/Button/constants.d.ts +21 -0
- package/Button/constants.js +54 -0
- package/Button/styles.d.ts +9 -219
- package/Button/styles.js +23 -80
- package/Button/types.d.ts +9 -3
- package/Calendar/CalendarMonthSlider/styles.js +1 -1
- package/Calendar/CalendarSuperForm/components/CalendarTimeAndTimezoneSection/CalendarTimeAndTimezoneSection.js +3 -2
- package/CardMetric/styles.js +1 -1
- package/CrashScreen/styles.d.ts +1 -0
- package/Drawer/components/DrawerContent/styles.js +1 -1
- package/DropdownMenu/components/DropdownMenuSection/DropdownMenuSection.js +1 -1
- package/EditableField/styles.d.ts +3 -2
- package/EditableField/styles.js +3 -3
- package/ExportResult/styles.d.ts +3 -2
- package/ExportResult/styles.js +2 -2
- package/FieldBox/FieldBox.js +1 -1
- package/InboxPreview/components/InboxCellCarousel/styles.js +1 -1
- package/InboxPreview/components/InboxIOSCell/InboxIOSCell.js +1 -1
- package/InboxPreview/components/InboxWebCell/InboxWebCell.js +1 -1
- package/InboxPreview/constants.js +3 -3
- package/InputFile/styles.js +1 -1
- package/Modal/components/ModalTitle/styles.d.ts +3 -2
- package/Modal/components/ModalTitle/styles.js +2 -2
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/styles.d.ts +2 -2
- package/NativeRichMediaPreview/components/NativeRichMediaRewardPanel/styles.js +1 -1
- package/NativeRichMediaPreview/components/NativeRichMediaTitle/styles.d.ts +2 -2
- package/NativeRichMediaPreview/components/NativeRichMediaTitle/styles.js +1 -1
- package/NotificationInbox/NotificationBar.js +1 -1
- package/NotificationInbox/NotificationInbox.js +5 -5
- package/PageHeader/components/PageHeaderEditable/styles.d.ts +3 -2
- package/PageHeader/components/PageHeaderEditable/styles.js +2 -2
- package/PageHeader/components/PageHeaderError/styles.d.ts +3 -2
- package/PageHeader/components/PageHeaderError/styles.js +2 -2
- package/ProgressBar/styles.d.ts +3 -2
- package/ProgressBar/styles.js +2 -2
- package/RadioCard/RadioCard.js +2 -2
- package/SortButton/styles.js +1 -1
- package/StatisticCard/styles.d.ts +32 -6
- package/StatisticCard/styles.js +6 -4
- package/Tabs/components/TabBar/TabBar.js +2 -2
- package/Tabs/components/TabBase/styles.d.ts +3 -2
- package/Tabs/components/TabBase/styles.js +2 -2
- package/Toast/Toast.js +2 -2
- package/WhatsAppPreview/components/WhatsAppMessageContent/styles.d.ts +2 -2
- package/WhatsAppPreview/styles.d.ts +2 -2
- package/package.json +3 -3
- package/Button/maps.d.ts +0 -240
- package/Button/maps.js +0 -37
|
@@ -197,7 +197,7 @@ export declare const PreviewText: import("styled-components/dist/types").IStyled
|
|
|
197
197
|
}) | undefined;
|
|
198
198
|
}, {
|
|
199
199
|
$color?: string;
|
|
200
|
-
}>, "children" | "key" | "slot" | "style" | "title" | "ref" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "$color" | "$variant" | "as" | "forwardedAs" | "$
|
|
200
|
+
}>, "children" | "key" | "slot" | "style" | "title" | "ref" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "$color" | "$variant" | "as" | "forwardedAs" | "$textTransform" | "$textAlign" | "$ellipsis"> & Partial<Pick<import("styled-components/dist/types").Merged<Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
|
|
201
201
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
202
202
|
}, {
|
|
203
203
|
$color?: string;
|
|
@@ -214,7 +214,7 @@ export declare const PreviewText: import("styled-components/dist/types").IStyled
|
|
|
214
214
|
}) | undefined;
|
|
215
215
|
}, {
|
|
216
216
|
$color?: string;
|
|
217
|
-
}>, "children" | "key" | "slot" | "style" | "title" | "ref" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "$color" | "$variant" | "as" | "forwardedAs" | "$
|
|
217
|
+
}>, "children" | "key" | "slot" | "style" | "title" | "ref" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "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" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "$color" | "$variant" | "as" | "forwardedAs" | "$textTransform" | "$textAlign" | "$ellipsis">>> & string;
|
|
218
218
|
export declare const AppBar: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("styled-components").FastOmit<Omit<Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
219
219
|
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
220
220
|
}, import("@pushwoosh/kit-helpers/styled-helpers").CommonBoxProps & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushwoosh/dumb-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "React components to build Pushwoosh products",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@codemirror/view": "^6.43.11",
|
|
37
37
|
"@floating-ui/react-dom": "^2.1.2",
|
|
38
38
|
"@lezer/highlight": "^1.2.1",
|
|
39
|
-
"@pushwoosh/kit-constants": "^
|
|
39
|
+
"@pushwoosh/kit-constants": "^3.0.0",
|
|
40
40
|
"@pushwoosh/kit-helpers": "^4.16.0",
|
|
41
41
|
"@pushwoosh/kit-icons": "^2.3.10",
|
|
42
|
-
"@pushwoosh/kit-typography": "^
|
|
42
|
+
"@pushwoosh/kit-typography": "^2.0.0",
|
|
43
43
|
"@tippyjs/react": "^4.2.6",
|
|
44
44
|
"@uiw/codemirror-themes": "^4.23.8",
|
|
45
45
|
"@uiw/react-codemirror": "^4.23.8",
|
package/Button/maps.d.ts
DELETED
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
export declare const SpinnerSizeByButtonSizeMap: {
|
|
2
|
-
compact: "small";
|
|
3
|
-
field: "medium";
|
|
4
|
-
};
|
|
5
|
-
export declare const ButtonPropsToButtonBoxMap: {
|
|
6
|
-
readonly danger: {
|
|
7
|
-
readonly shape: {
|
|
8
|
-
readonly field: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
9
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
$isDisabled?: boolean;
|
|
12
|
-
$isLoading?: boolean;
|
|
13
|
-
$isOpen?: boolean;
|
|
14
|
-
$hideContent?: boolean;
|
|
15
|
-
$hasLeftIcon?: boolean;
|
|
16
|
-
$hasRightIcon?: boolean;
|
|
17
|
-
$hasContent?: boolean;
|
|
18
|
-
}>, "as" | "forwardedAs"> & {
|
|
19
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
20
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
21
|
-
}, "style"> & {
|
|
22
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
23
|
-
[key: `--${string}`]: string | number | undefined;
|
|
24
|
-
}) | undefined;
|
|
25
|
-
}> & string;
|
|
26
|
-
readonly compact: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
27
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
28
|
-
}, {
|
|
29
|
-
$isDisabled?: boolean;
|
|
30
|
-
$isLoading?: boolean;
|
|
31
|
-
$isOpen?: boolean;
|
|
32
|
-
$hideContent?: boolean;
|
|
33
|
-
$hasLeftIcon?: boolean;
|
|
34
|
-
$hasRightIcon?: boolean;
|
|
35
|
-
$hasContent?: boolean;
|
|
36
|
-
}>, "as" | "forwardedAs"> & {
|
|
37
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
38
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
39
|
-
}, "style"> & {
|
|
40
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
41
|
-
[key: `--${string}`]: string | number | undefined;
|
|
42
|
-
}) | undefined;
|
|
43
|
-
}> & string;
|
|
44
|
-
};
|
|
45
|
-
readonly ghost: {
|
|
46
|
-
readonly field: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
47
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
$isDisabled?: boolean;
|
|
50
|
-
$isLoading?: boolean;
|
|
51
|
-
$isOpen?: boolean;
|
|
52
|
-
$hideContent?: boolean;
|
|
53
|
-
$hasLeftIcon?: boolean;
|
|
54
|
-
$hasRightIcon?: boolean;
|
|
55
|
-
$hasContent?: boolean;
|
|
56
|
-
}>, "as" | "forwardedAs"> & {
|
|
57
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
58
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
59
|
-
}, "style"> & {
|
|
60
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
61
|
-
[key: `--${string}`]: string | number | undefined;
|
|
62
|
-
}) | undefined;
|
|
63
|
-
}> & string;
|
|
64
|
-
readonly compact: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
65
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
66
|
-
}, {
|
|
67
|
-
$isDisabled?: boolean;
|
|
68
|
-
$isLoading?: boolean;
|
|
69
|
-
$isOpen?: boolean;
|
|
70
|
-
$hideContent?: boolean;
|
|
71
|
-
$hasLeftIcon?: boolean;
|
|
72
|
-
$hasRightIcon?: boolean;
|
|
73
|
-
$hasContent?: boolean;
|
|
74
|
-
}>, "as" | "forwardedAs"> & {
|
|
75
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
76
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
77
|
-
}, "style"> & {
|
|
78
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
79
|
-
[key: `--${string}`]: string | number | undefined;
|
|
80
|
-
}) | undefined;
|
|
81
|
-
}> & string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
readonly primary: {
|
|
85
|
-
readonly shape: {
|
|
86
|
-
readonly field: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
87
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
88
|
-
}, {
|
|
89
|
-
$isDisabled?: boolean;
|
|
90
|
-
$isLoading?: boolean;
|
|
91
|
-
$isOpen?: boolean;
|
|
92
|
-
$hideContent?: boolean;
|
|
93
|
-
$hasLeftIcon?: boolean;
|
|
94
|
-
$hasRightIcon?: boolean;
|
|
95
|
-
$hasContent?: boolean;
|
|
96
|
-
}>, "as" | "forwardedAs"> & {
|
|
97
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
98
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
99
|
-
}, "style"> & {
|
|
100
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
101
|
-
[key: `--${string}`]: string | number | undefined;
|
|
102
|
-
}) | undefined;
|
|
103
|
-
}> & string;
|
|
104
|
-
readonly compact: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
105
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
106
|
-
}, {
|
|
107
|
-
$isDisabled?: boolean;
|
|
108
|
-
$isLoading?: boolean;
|
|
109
|
-
$isOpen?: boolean;
|
|
110
|
-
$hideContent?: boolean;
|
|
111
|
-
$hasLeftIcon?: boolean;
|
|
112
|
-
$hasRightIcon?: boolean;
|
|
113
|
-
$hasContent?: boolean;
|
|
114
|
-
}>, "as" | "forwardedAs"> & {
|
|
115
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
116
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
117
|
-
}, "style"> & {
|
|
118
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
119
|
-
[key: `--${string}`]: string | number | undefined;
|
|
120
|
-
}) | undefined;
|
|
121
|
-
}> & string;
|
|
122
|
-
};
|
|
123
|
-
readonly ghost: {
|
|
124
|
-
readonly field: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
125
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
126
|
-
}, {
|
|
127
|
-
$isDisabled?: boolean;
|
|
128
|
-
$isLoading?: boolean;
|
|
129
|
-
$isOpen?: boolean;
|
|
130
|
-
$hideContent?: boolean;
|
|
131
|
-
$hasLeftIcon?: boolean;
|
|
132
|
-
$hasRightIcon?: boolean;
|
|
133
|
-
$hasContent?: boolean;
|
|
134
|
-
}>, "as" | "forwardedAs"> & {
|
|
135
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
136
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
137
|
-
}, "style"> & {
|
|
138
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
139
|
-
[key: `--${string}`]: string | number | undefined;
|
|
140
|
-
}) | undefined;
|
|
141
|
-
}> & string;
|
|
142
|
-
readonly compact: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
143
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
144
|
-
}, {
|
|
145
|
-
$isDisabled?: boolean;
|
|
146
|
-
$isLoading?: boolean;
|
|
147
|
-
$isOpen?: boolean;
|
|
148
|
-
$hideContent?: boolean;
|
|
149
|
-
$hasLeftIcon?: boolean;
|
|
150
|
-
$hasRightIcon?: boolean;
|
|
151
|
-
$hasContent?: boolean;
|
|
152
|
-
}>, "as" | "forwardedAs"> & {
|
|
153
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
154
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
155
|
-
}, "style"> & {
|
|
156
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
157
|
-
[key: `--${string}`]: string | number | undefined;
|
|
158
|
-
}) | undefined;
|
|
159
|
-
}> & string;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
readonly secondary: {
|
|
163
|
-
readonly shape: {
|
|
164
|
-
readonly field: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
165
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
166
|
-
}, {
|
|
167
|
-
$isDisabled?: boolean;
|
|
168
|
-
$isLoading?: boolean;
|
|
169
|
-
$isOpen?: boolean;
|
|
170
|
-
$hideContent?: boolean;
|
|
171
|
-
$hasLeftIcon?: boolean;
|
|
172
|
-
$hasRightIcon?: boolean;
|
|
173
|
-
$hasContent?: boolean;
|
|
174
|
-
}>, "as" | "forwardedAs"> & {
|
|
175
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
176
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
177
|
-
}, "style"> & {
|
|
178
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
179
|
-
[key: `--${string}`]: string | number | undefined;
|
|
180
|
-
}) | undefined;
|
|
181
|
-
}> & string;
|
|
182
|
-
readonly compact: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
183
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
184
|
-
}, {
|
|
185
|
-
$isDisabled?: boolean;
|
|
186
|
-
$isLoading?: boolean;
|
|
187
|
-
$isOpen?: boolean;
|
|
188
|
-
$hideContent?: boolean;
|
|
189
|
-
$hasLeftIcon?: boolean;
|
|
190
|
-
$hasRightIcon?: boolean;
|
|
191
|
-
$hasContent?: boolean;
|
|
192
|
-
}>, "as" | "forwardedAs"> & {
|
|
193
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
194
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
195
|
-
}, "style"> & {
|
|
196
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
197
|
-
[key: `--${string}`]: string | number | undefined;
|
|
198
|
-
}) | undefined;
|
|
199
|
-
}> & string;
|
|
200
|
-
};
|
|
201
|
-
readonly ghost: {
|
|
202
|
-
readonly field: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
203
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
204
|
-
}, {
|
|
205
|
-
$isDisabled?: boolean;
|
|
206
|
-
$isLoading?: boolean;
|
|
207
|
-
$isOpen?: boolean;
|
|
208
|
-
$hideContent?: boolean;
|
|
209
|
-
$hasLeftIcon?: boolean;
|
|
210
|
-
$hasRightIcon?: boolean;
|
|
211
|
-
$hasContent?: boolean;
|
|
212
|
-
}>, "as" | "forwardedAs"> & {
|
|
213
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
214
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
215
|
-
}, "style"> & {
|
|
216
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
217
|
-
[key: `--${string}`]: string | number | undefined;
|
|
218
|
-
}) | undefined;
|
|
219
|
-
}> & string;
|
|
220
|
-
readonly compact: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
|
|
221
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
|
|
222
|
-
}, {
|
|
223
|
-
$isDisabled?: boolean;
|
|
224
|
-
$isLoading?: boolean;
|
|
225
|
-
$isOpen?: boolean;
|
|
226
|
-
$hideContent?: boolean;
|
|
227
|
-
$hasLeftIcon?: boolean;
|
|
228
|
-
$hasRightIcon?: boolean;
|
|
229
|
-
$hasContent?: boolean;
|
|
230
|
-
}>, "as" | "forwardedAs"> & {
|
|
231
|
-
as?: import("styled-components").WebTarget | undefined;
|
|
232
|
-
forwardedAs?: import("styled-components").WebTarget | undefined;
|
|
233
|
-
}, "style"> & {
|
|
234
|
-
style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
|
|
235
|
-
[key: `--${string}`]: string | number | undefined;
|
|
236
|
-
}) | undefined;
|
|
237
|
-
}> & string;
|
|
238
|
-
};
|
|
239
|
-
};
|
|
240
|
-
};
|
package/Button/maps.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ButtonBoxDangerShapeCompact, ButtonBoxDangerGhostCompact, ButtonBoxDangerShapeField, ButtonBoxDangerGhostField, ButtonBoxPrimaryShapeCompact, ButtonBoxPrimaryGhostCompact, ButtonBoxPrimaryShapeField, ButtonBoxPrimaryGhostField, ButtonBoxSecondaryShapeCompact, ButtonBoxSecondaryGhostCompact, ButtonBoxSecondaryShapeField, ButtonBoxSecondaryGhostField } from './styles';
|
|
2
|
-
export const SpinnerSizeByButtonSizeMap = {
|
|
3
|
-
compact: 'small',
|
|
4
|
-
field: 'medium'
|
|
5
|
-
};
|
|
6
|
-
export const ButtonPropsToButtonBoxMap = {
|
|
7
|
-
danger: {
|
|
8
|
-
shape: {
|
|
9
|
-
field: ButtonBoxDangerShapeField,
|
|
10
|
-
compact: ButtonBoxDangerShapeCompact
|
|
11
|
-
},
|
|
12
|
-
ghost: {
|
|
13
|
-
field: ButtonBoxDangerGhostField,
|
|
14
|
-
compact: ButtonBoxDangerGhostCompact
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
primary: {
|
|
18
|
-
shape: {
|
|
19
|
-
field: ButtonBoxPrimaryShapeField,
|
|
20
|
-
compact: ButtonBoxPrimaryShapeCompact
|
|
21
|
-
},
|
|
22
|
-
ghost: {
|
|
23
|
-
field: ButtonBoxPrimaryGhostField,
|
|
24
|
-
compact: ButtonBoxPrimaryGhostCompact
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
secondary: {
|
|
28
|
-
shape: {
|
|
29
|
-
field: ButtonBoxSecondaryShapeField,
|
|
30
|
-
compact: ButtonBoxSecondaryShapeCompact
|
|
31
|
-
},
|
|
32
|
-
ghost: {
|
|
33
|
-
field: ButtonBoxSecondaryGhostField,
|
|
34
|
-
compact: ButtonBoxSecondaryGhostCompact
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|