@tedconf/monterey
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -0,1 +1,8 @@ | ||
## [4.0.1](https://github.com/tedconf/monterey/compare/v4.0.0...v4.0.1) (2020-09-01) | ||
### Bug Fixes | ||
* **input:** update input grays ([c6265e6](https://github.com/tedconf/monterey/commit/c6265e680087fed7c97927a7700d921afc729395)), closes [#25](https://github.com/tedconf/monterey/issues/25) | ||
# [4.0.0](https://github.com/tedconf/monterey/compare/v3.0.0...v4.0.0) (2020-09-01) | ||
@@ -2,0 +9,0 @@ |
@@ -12,6 +12,11 @@ import { Theme } from '../theme'; | ||
}) => { | ||
'&[disabled]': { | ||
'&:hover': { | ||
opacity: number; | ||
}; | ||
'&:active': { | ||
opacity: number; | ||
}; | ||
'&:[disabled]': { | ||
cursor: string; | ||
backgroundColor: string; | ||
color: string; | ||
opacity: number; | ||
}; | ||
@@ -28,5 +33,2 @@ boxShadow: (theme: Theme) => string; | ||
}; | ||
'&:focus': { | ||
boxShadow: (theme: Theme) => string; | ||
}; | ||
'&:not(:placeholder-shown)': { | ||
@@ -33,0 +35,0 @@ '&:invalid': { |
@@ -1,15 +0,2 @@ | ||
/// <reference types="react" /> | ||
/// <reference types="@emotion/core" /> | ||
import { Theme } from '../theme'; | ||
import { ButtonProps } from './base'; | ||
declare type ButtonVariants = 'default' | 'primary' | 'alt'; | ||
declare const Button: import("@emotion/styled-base").StyledComponent<Pick<import("react").PropsWithChildren<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLElement> & { | ||
disabled?: boolean; | ||
size?: import("styled-system").ResponsiveValue<import("./base").ButtonSize, Required<import("styled-system").Theme<import("react").ReactText>>>; | ||
variant?: import("styled-system").ResponsiveValue<string, Required<import("styled-system").Theme<import("react").ReactText>>>; | ||
} & { | ||
theme?: Theme; | ||
}>, "style" | "title" | "children" | "theme" | "color" | "translate" | "hidden" | "size" | "disabled" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "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" | "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" | "css" | "variant"> & { | ||
ref?: ((instance: HTMLDivElement) => void) | import("react").RefObject<HTMLDivElement>; | ||
}, ButtonProps<ButtonVariants>, Theme>; | ||
declare const Button: any; | ||
export default Button; |
import Button from './button'; | ||
import { ButtonProps } from './base'; | ||
import Ghost from './ghost'; | ||
import Link from './link'; | ||
export { Button as default, ButtonProps, Link, Ghost }; | ||
export { Button as default, ButtonProps }; |
@@ -1,31 +0,17 @@ | ||
export declare const DISABLED_COLOR = "gray.2"; | ||
export declare const DISABLED_TEXT = "gray.1"; | ||
export declare const STYLE: { | ||
(disabled: any): { | ||
boxShadow: string; | ||
backgroundColor: string; | ||
color: string; | ||
(disabled: boolean): { | ||
opacity: number; | ||
'&:hover': { | ||
boxShadow: string; | ||
backgroundColor: string; | ||
color: string; | ||
opacity: number; | ||
}; | ||
'&:active': { | ||
boxShadow: string; | ||
backgroundColor: string; | ||
color: string; | ||
opacity: number; | ||
}; | ||
'&[disabled]': { | ||
boxShadow: string; | ||
backgroundColor: string; | ||
color: string; | ||
opacity: number; | ||
'&:hover': { | ||
boxShadow: string; | ||
backgroundColor: string; | ||
color: string; | ||
opacity: number; | ||
}; | ||
'&:active': { | ||
boxShadow: string; | ||
backgroundColor: string; | ||
color: string; | ||
opacity: number; | ||
}; | ||
@@ -38,4 +24,14 @@ }; | ||
"displayName": string; | ||
"props": {}; | ||
"props": { | ||
"valueOf": { | ||
"defaultValue": any; | ||
"description": string; | ||
"name": string; | ||
"required": boolean; | ||
"type": { | ||
"name": string; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |
import sx from '@styled-system/css'; | ||
import { jsx } from 'theme-ui'; | ||
import Button, { ButtonProps, Ghost, Link } from './components/button'; | ||
import Button, { ButtonProps } from './components/button'; | ||
import Input, { InputProps } from './components/input'; | ||
@@ -11,2 +11,2 @@ import Selectable from './components/selectable'; | ||
import ThemeProvider, { Theme, useTheme, theme } from './components/theme'; | ||
export { Button, ButtonProps, Ghost as GhostButton, Input, InputProps, Link as LinkButton, Lockup, Logo, Selectable, Text, TextProps, Theme, ThemeProvider as Monterey, ThemeProvider, View, ViewProps, jsx, styled, sx, textVariants, theme, useTheme, }; | ||
export { Button, ButtonProps, Input, InputProps, Lockup, Logo, Selectable, Text, TextProps, Theme, ThemeProvider as Monterey, ThemeProvider, View, ViewProps, jsx, styled, sx, textVariants, theme, useTheme, }; |
{ | ||
"name": "@tedconf/monterey", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"main": "dist/index.min.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.esm.min.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17705794
107152