@redsift/design-system 11.6.0-muiv5 → 11.6.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/index.d.ts +55 -18
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -466,7 +466,7 @@ declare const getMaxTextWidth: (texts: string[], font: string, angle?: number) =
|
|
|
466
466
|
* @param component React function component or the component name
|
|
467
467
|
* @return predicate returning true if value is instance of the component
|
|
468
468
|
*/
|
|
469
|
-
declare const isComponent: <C>(component: Comp<C, any>
|
|
469
|
+
declare const isComponent: <C>(component: string | Comp<C, any>) => (instance: ReactNode) => instance is React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
|
|
470
470
|
|
|
471
471
|
/**
|
|
472
472
|
* Return components based on list of predicates.
|
|
@@ -2384,9 +2384,9 @@ interface UseSideNavigationMenuBarProps {
|
|
|
2384
2384
|
items: MenuBarItems;
|
|
2385
2385
|
isActive?: (href: string) => boolean;
|
|
2386
2386
|
}
|
|
2387
|
-
declare const useSideNavigationMenuBar: ({ items, isActive, }: UseSideNavigationMenuBarProps) => Omit<SideNavigationMenuBarProps,
|
|
2387
|
+
declare const useSideNavigationMenuBar: ({ items, isActive, }: UseSideNavigationMenuBarProps) => Omit<SideNavigationMenuBarProps, 'ref'>;
|
|
2388
2388
|
|
|
2389
|
-
declare const useAppSidePanel: ({ items, isActive }: UseSideNavigationMenuBarProps) => Omit<AppSidePanelProps,
|
|
2389
|
+
declare const useAppSidePanel: ({ items, isActive }: UseSideNavigationMenuBarProps) => Omit<AppSidePanelProps, 'ref'>;
|
|
2390
2390
|
|
|
2391
2391
|
/**
|
|
2392
2392
|
* Context props.
|
|
@@ -2579,7 +2579,17 @@ type StyledButtonProps = ButtonProps & {
|
|
|
2579
2579
|
/**
|
|
2580
2580
|
* Component style.
|
|
2581
2581
|
*/
|
|
2582
|
-
declare const StyledButton: styled_components.StyledComponent<"button", any,
|
|
2582
|
+
declare const StyledButton: styled_components.StyledComponent<"button", any, ButtonProps & {
|
|
2583
|
+
$color: string | undefined;
|
|
2584
|
+
$fullWidth?: boolean | undefined;
|
|
2585
|
+
$isActive: boolean | undefined;
|
|
2586
|
+
$isDisabled: boolean | undefined;
|
|
2587
|
+
$isGradient: boolean;
|
|
2588
|
+
$isHovered: boolean | undefined;
|
|
2589
|
+
$isLoading: boolean | undefined;
|
|
2590
|
+
$theme: Theme | undefined;
|
|
2591
|
+
$variant: ButtonVariant | undefined;
|
|
2592
|
+
}, never>;
|
|
2583
2593
|
|
|
2584
2594
|
/**
|
|
2585
2595
|
* The Button is a semantic button that looks like a button.
|
|
@@ -2627,7 +2637,12 @@ type StyledLinkProps = Omit<LinkProps, 'isDisabled'> & {
|
|
|
2627
2637
|
/**
|
|
2628
2638
|
* Component style.
|
|
2629
2639
|
*/
|
|
2630
|
-
declare const StyledLink: styled_components.StyledComponent<"a", any,
|
|
2640
|
+
declare const StyledLink: styled_components.StyledComponent<"a", any, Omit<LinkProps, "isDisabled"> & {
|
|
2641
|
+
$isDisabled: boolean | undefined;
|
|
2642
|
+
$color: (string & {}) | "radar" | NotificationsColorPalette | NeutralColorPalette | undefined;
|
|
2643
|
+
$theme: Theme | undefined;
|
|
2644
|
+
$hasIcons: boolean;
|
|
2645
|
+
}, never>;
|
|
2631
2646
|
|
|
2632
2647
|
/**
|
|
2633
2648
|
* The Link is a semantic link that looks like a link.
|
|
@@ -3493,13 +3508,13 @@ declare function useFocusOnListItem(props: {
|
|
|
3493
3508
|
declare function useFocusOnList(): UseFocusGroupProps;
|
|
3494
3509
|
|
|
3495
3510
|
declare const StyledGradientBorder: styled_components.StyledComponent<"div", any, {
|
|
3496
|
-
$borderRadius?: string;
|
|
3497
|
-
$color?: ButtonProps[
|
|
3498
|
-
$isActive?: ButtonProps[
|
|
3499
|
-
$isDisabled?: ButtonProps[
|
|
3500
|
-
$isHovered?: ButtonProps[
|
|
3501
|
-
$theme?: ButtonProps[
|
|
3502
|
-
width?: string;
|
|
3511
|
+
$borderRadius?: string | undefined;
|
|
3512
|
+
$color?: ButtonProps['color'];
|
|
3513
|
+
$isActive?: ButtonProps['isActive'];
|
|
3514
|
+
$isDisabled?: ButtonProps['isDisabled'];
|
|
3515
|
+
$isHovered?: ButtonProps['isHovered'];
|
|
3516
|
+
$theme?: ButtonProps['theme'];
|
|
3517
|
+
width?: string | undefined;
|
|
3503
3518
|
}, never>;
|
|
3504
3519
|
|
|
3505
3520
|
/**
|
|
@@ -3659,11 +3674,11 @@ type StyledListboxProps = Omit<ListboxProps, 'onChange'> & {
|
|
|
3659
3674
|
|
|
3660
3675
|
declare const ActiveDescendantListbox: React$1.ForwardRefExoticComponent<Pick<Omit<ListboxProps, "onChange"> & {
|
|
3661
3676
|
context: ListboxContextProps;
|
|
3662
|
-
}, "label" | "slot" | "style" | "title" | "left" | "right" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "alignContent" | "alignItems" | "flexDirection" | "flexWrap" | "gap" | "justifyContent" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyItems" | "display" | "position" | "top" | "bottom" | "zIndex" | "background" | "backgroundColor" | "border" | "borderTop" | "borderBottom" | "borderLeft" | "borderRight" | "borderRadius" | "boxShadow" | "
|
|
3677
|
+
}, "label" | "slot" | "style" | "title" | "left" | "right" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "alignContent" | "alignItems" | "flexDirection" | "flexWrap" | "gap" | "justifyContent" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyItems" | "display" | "position" | "top" | "bottom" | "zIndex" | "background" | "backgroundColor" | "border" | "borderTop" | "borderBottom" | "borderLeft" | "borderRight" | "borderRadius" | "boxShadow" | "aria-label" | "aria-labelledby" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "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-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" | "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" | "isInvalid" | "isRequired" | "isDisabled" | "padding" | "paddingTop" | "paddingBottom" | "direction" | "paddingLeft" | "paddingRight" | "values" | "defaultValues" | "isReadOnly" | "context" | "focusOnClick" | "focusOnInit" | "loopAround" | "focusType" | "listRole" | "activedescendant" | "maxOptionsLength" | "selectionMode"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3663
3678
|
|
|
3664
3679
|
declare const RovingTabindexListbox: React$1.ForwardRefExoticComponent<Pick<Omit<ListboxProps, "onChange"> & {
|
|
3665
3680
|
context: ListboxContextProps;
|
|
3666
|
-
}, "label" | "slot" | "style" | "title" | "left" | "right" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "alignContent" | "alignItems" | "flexDirection" | "flexWrap" | "gap" | "justifyContent" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyItems" | "display" | "position" | "top" | "bottom" | "zIndex" | "background" | "backgroundColor" | "border" | "borderTop" | "borderBottom" | "borderLeft" | "borderRight" | "borderRadius" | "boxShadow" | "
|
|
3681
|
+
}, "label" | "slot" | "style" | "title" | "left" | "right" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "alignContent" | "alignItems" | "flexDirection" | "flexWrap" | "gap" | "justifyContent" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyItems" | "display" | "position" | "top" | "bottom" | "zIndex" | "background" | "backgroundColor" | "border" | "borderTop" | "borderBottom" | "borderLeft" | "borderRight" | "borderRadius" | "boxShadow" | "aria-label" | "aria-labelledby" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "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-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" | "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" | "isInvalid" | "isRequired" | "isDisabled" | "padding" | "paddingTop" | "paddingBottom" | "direction" | "paddingLeft" | "paddingRight" | "values" | "defaultValues" | "isReadOnly" | "context" | "focusOnClick" | "focusOnInit" | "loopAround" | "focusType" | "listRole" | "activedescendant" | "maxOptionsLength" | "selectionMode"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
3667
3682
|
|
|
3668
3683
|
/**
|
|
3669
3684
|
* The Listbox component.
|
|
@@ -3740,7 +3755,17 @@ type StyledItemProps = Omit<ItemProps, 'color' | 'onClick' | 'value'> & {
|
|
|
3740
3755
|
/**
|
|
3741
3756
|
* Component style.
|
|
3742
3757
|
*/
|
|
3743
|
-
declare const StyledItem: styled_components.StyledComponent<"div", any,
|
|
3758
|
+
declare const StyledItem: styled_components.StyledComponent<"div", any, Omit<ItemProps, "color" | "onClick" | "value"> & {
|
|
3759
|
+
$borderRadius: string | undefined;
|
|
3760
|
+
$color: string | undefined;
|
|
3761
|
+
$hasBorder: boolean | undefined;
|
|
3762
|
+
$hasCheckbox: boolean | undefined;
|
|
3763
|
+
$isActive: boolean | undefined;
|
|
3764
|
+
$isDisabled: boolean | undefined;
|
|
3765
|
+
$isGradient: boolean;
|
|
3766
|
+
$isHovered: boolean | undefined;
|
|
3767
|
+
$theme: Theme | undefined;
|
|
3768
|
+
}, never>;
|
|
3744
3769
|
|
|
3745
3770
|
declare const RenderedListboxItem: Comp<Omit<ItemProps, 'value'> & Required<Pick<ItemProps, 'value'>>, HTMLElement>;
|
|
3746
3771
|
/**
|
|
@@ -3924,7 +3949,19 @@ type StyledTextFieldProps = Omit<TextFieldProps, 'color' | 'isColored' | 'isDisa
|
|
|
3924
3949
|
/**
|
|
3925
3950
|
* Component style.
|
|
3926
3951
|
*/
|
|
3927
|
-
declare const StyledTextField: styled_components.StyledComponent<"div", any,
|
|
3952
|
+
declare const StyledTextField: styled_components.StyledComponent<"div", any, Omit<TextFieldProps, "color" | "onChange" | "isInvalid" | "isRequired" | "isDisabled" | "isColored"> & {
|
|
3953
|
+
$color: string | undefined;
|
|
3954
|
+
$isGradient: boolean;
|
|
3955
|
+
$hasLeftIcon: boolean;
|
|
3956
|
+
$hasContent: boolean;
|
|
3957
|
+
$isDisabled: boolean | undefined;
|
|
3958
|
+
$isInvalid: boolean | undefined;
|
|
3959
|
+
$isFocused: boolean;
|
|
3960
|
+
$isFocusVisible: boolean;
|
|
3961
|
+
$isRequired: boolean | undefined;
|
|
3962
|
+
$theme: Theme | undefined;
|
|
3963
|
+
$variant: TextFieldVariant | undefined;
|
|
3964
|
+
}, never>;
|
|
3928
3965
|
|
|
3929
3966
|
/**
|
|
3930
3967
|
* The TextField component.
|
|
@@ -4439,10 +4476,10 @@ type StyledTextAreaProps = StyledTextFieldProps;
|
|
|
4439
4476
|
declare const TextArea: Comp<TextAreaProps, HTMLDivElement>;
|
|
4440
4477
|
|
|
4441
4478
|
declare const ThemeContext: React$1.Context<{
|
|
4442
|
-
theme?: Theme;
|
|
4479
|
+
theme?: Theme | undefined;
|
|
4443
4480
|
} | null>;
|
|
4444
4481
|
declare const ThemeProvider: React$1.Provider<{
|
|
4445
|
-
theme?: Theme;
|
|
4482
|
+
theme?: Theme | undefined;
|
|
4446
4483
|
} | null>;
|
|
4447
4484
|
|
|
4448
4485
|
declare function useTheme(theme?: Theme): Theme;
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"version": "version-changelog ../../CHANGELOG.md && changelog-verify ../../CHANGELOG.md && git add ../../CHANGELOG.md"
|
|
34
34
|
},
|
|
35
35
|
"types": "index.d.ts",
|
|
36
|
-
"version": "11.6.0
|
|
36
|
+
"version": "11.6.0",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@react-spring/web": "^9.7.1",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"react-dom": ">=17",
|
|
101
101
|
"styled-components": "^5.3.5"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "97881c569fe6cb959f4cf6db32155c0e97265c67"
|
|
104
104
|
}
|