@stoplight/mosaic
Advanced tools
Comparing version 1.0.0-beta.15 to 1.0.0-beta.16
import React from 'react'; | ||
import { IMarginProps, IPaddingProps } from '../../enhancers'; | ||
import { IBoxHTMLAttributes } from '../Box/types'; | ||
import { BoxProps } from '../Box/types'; | ||
export declare type HeadingSizeVals = 1 | 2 | 3 | 4; | ||
export interface IHeadingProps extends IMarginProps, IPaddingProps, IBoxHTMLAttributes<HTMLHeadingElement> { | ||
export declare type HeadingOwnProps = { | ||
size: HeadingSizeVals; | ||
} | ||
export declare const Heading: React.MemoExoticComponent<React.ForwardRefExoticComponent<IHeadingProps & React.RefAttributes<HTMLHeadingElement>>>; | ||
}; | ||
export declare type HeadingAs = 'h1' | 'h2' | 'h3' | 'h4'; | ||
export declare type HeadingProps = HeadingOwnProps & BoxProps<HeadingAs>; | ||
export declare const Heading: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<HeadingProps, "p" | "slot" | "style" | "title" | "fontSize" | "lineHeight" | "letterSpacing" | "fontFamily" | "fontWeight" | "fontStyle" | "textAlign" | "textDecoration" | "textTransform" | "textOverflow" | "verticalAlign" | "whitespace" | "wordBreak" | "h" | "maxH" | "minH" | "w" | "maxW" | "minW" | "m" | "mx" | "my" | "mt" | "mr" | "mb" | "ml" | "px" | "py" | "pt" | "pr" | "pb" | "pl" | "boxShadow" | "color" | "placeholderColor" | "bg" | "outline" | "borderColor" | "border" | "borderT" | "borderR" | "borderL" | "borderB" | "rounded" | "ring" | "ringColor" | "ringOpacity" | "cursor" | "opacity" | "pointerEvents" | "resize" | "userSelect" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "justifyContent" | "justifyItems" | "justifySelf" | "alignContent" | "alignItems" | "alignSelf" | "pos" | "pin" | "pinY" | "pinX" | "top" | "left" | "right" | "bottom" | "zIndex" | "display" | "overflowY" | "overflowX" | "as" | "className" | "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" | "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" | "size"> & React.RefAttributes<HTMLHeadingElement>>>; |
import './style.css'; | ||
import React from 'react'; | ||
import { IMarginProps, IPaddingProps } from '../../enhancers'; | ||
import { IBoxHTMLAttributes } from '../Box/types'; | ||
export interface ILinkProps extends IMarginProps, IPaddingProps, IBoxHTMLAttributes<HTMLAnchorElement> { | ||
import { PolymorphicComponentProps } from '../Box'; | ||
export declare type LinkOwnProps = { | ||
href?: string; | ||
} | ||
export declare const Link: React.MemoExoticComponent<React.ForwardRefExoticComponent<ILinkProps & React.RefAttributes<HTMLAnchorElement>>>; | ||
}; | ||
export declare type LinkProps<E extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<E, LinkOwnProps>; | ||
declare const defaultElement = "a"; | ||
export declare const Link: <E extends React.ElementType = typeof defaultElement>(props: LinkProps<E>) => JSX.Element; | ||
export {}; |
import './style.css'; | ||
import React from 'react'; | ||
import { IHeadingProps } from '../Heading'; | ||
export interface ILinkHeadingProps extends IHeadingProps { | ||
import { BoxProps } from '../Box'; | ||
import { HeadingAs, HeadingOwnProps } from '../Heading'; | ||
export declare type LinkHeadingOwnProps = HeadingOwnProps & { | ||
id?: string; | ||
} | ||
export declare const LinkHeading: React.MemoExoticComponent<React.ForwardRefExoticComponent<ILinkHeadingProps & React.RefAttributes<HTMLHeadingElement>>>; | ||
}; | ||
export declare type LinkHeadingProps = LinkHeadingOwnProps & BoxProps<HeadingAs>; | ||
export declare const LinkHeading: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<LinkHeadingProps, "p" | "slot" | "style" | "title" | "fontSize" | "lineHeight" | "letterSpacing" | "fontFamily" | "fontWeight" | "fontStyle" | "textAlign" | "textDecoration" | "textTransform" | "textOverflow" | "verticalAlign" | "whitespace" | "wordBreak" | "h" | "maxH" | "minH" | "w" | "maxW" | "minW" | "m" | "mx" | "my" | "mt" | "mr" | "mb" | "ml" | "px" | "py" | "pt" | "pr" | "pb" | "pl" | "boxShadow" | "color" | "placeholderColor" | "bg" | "outline" | "borderColor" | "border" | "borderT" | "borderR" | "borderL" | "borderB" | "rounded" | "ring" | "ringColor" | "ringOpacity" | "cursor" | "opacity" | "pointerEvents" | "resize" | "userSelect" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "justifyContent" | "justifyItems" | "justifySelf" | "alignContent" | "alignItems" | "alignSelf" | "pos" | "pin" | "pinY" | "pinX" | "top" | "left" | "right" | "bottom" | "zIndex" | "display" | "overflowY" | "overflowX" | "as" | "className" | "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" | "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" | "size"> & React.RefAttributes<HTMLHeadingElement>>>; |
import React from 'react'; | ||
import { IMarginProps } from '../../enhancers'; | ||
import { PolymorphicComponentProps } from '../Box'; | ||
export declare type ParagraphSizeVals = 'leading' | 'default' | 'small' | 'tiny'; | ||
export interface IParagraphProps extends IMarginProps { | ||
export declare type ParagraphOwnProps = { | ||
size?: ParagraphSizeVals; | ||
} | ||
export declare const Paragraph: React.MemoExoticComponent<React.ForwardRefExoticComponent<IParagraphProps & React.RefAttributes<HTMLParagraphElement>>>; | ||
}; | ||
export declare type ParagraphProps<E extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<E, ParagraphOwnProps>; | ||
declare const defaultElement = "p"; | ||
export declare const Paragraph: <E extends React.ElementType = typeof defaultElement>(props: ParagraphProps<E>) => JSX.Element; | ||
export {}; |
import React from 'react'; | ||
import { FontSizeVals, IMarginProps, IPaddingProps, ITextColorProps, ITypographyProps, ParagraphSizes } from '../../enhancers'; | ||
import { FontSizeVals, ParagraphSizes } from '../../enhancers'; | ||
import { PolymorphicComponentProps } from '../Box'; | ||
export declare type TextSizeVals = FontSizeVals | ParagraphSizes; | ||
export interface ITextProps extends IMarginProps, IPaddingProps, ITypographyProps, ITextColorProps { | ||
children: React.ReactNode; | ||
export declare type TextOwnProps = { | ||
size?: TextSizeVals; | ||
} | ||
export declare const Text: React.MemoExoticComponent<React.ForwardRefExoticComponent<ITextProps & React.RefAttributes<HTMLSpanElement>>>; | ||
}; | ||
export declare type TextProps<E extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<E, TextOwnProps>; | ||
declare const defaultElement = "span"; | ||
export declare const Text: <E extends React.ElementType = typeof defaultElement>(props: TextProps<E>) => JSX.Element; | ||
export {}; |
@@ -5,3 +5,3 @@ import { Pseudo } from './pseudo'; | ||
export declare type SemanticColorVals = 'link' | 'link-dark' | 'code' | 'on-code' | 'primary' | 'primary-tint' | 'primary-light' | 'primary-dark' | 'on-primary' | 'success' | 'success-tint' | 'success-light' | 'success-dark' | 'on-success' | 'warning' | 'warning-tint' | 'warning-light' | 'warning-dark' | 'on-warning' | 'danger' | 'danger-tint' | 'danger-light' | 'danger-dark' | 'on-danger'; | ||
export declare type TextColorVals = 'body' | 'muted' | 'light' | 'heading' | 'paragraph' | SemanticColorVals; | ||
export declare type TextColorVals = 'current' | 'body' | 'muted' | 'light' | 'heading' | 'paragraph' | SemanticColorVals; | ||
export declare type PlaceholderColorVals = true | 'primary' | 'success' | 'warning' | 'danger'; | ||
@@ -8,0 +8,0 @@ export interface ITextColorProps { |
{ | ||
"name": "@stoplight/mosaic", | ||
"version": "1.0.0-beta.15", | ||
"version": "1.0.0-beta.16", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
532869
7937