Socket
Socket
Sign inDemoInstall

@os-design/core

Package Overview
Dependencies
Maintainers
1
Versions
476
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-design/core - npm Package Compare versions

Comparing version 0.0.38 to 0.0.39

lib/List/index.d.ts

1

lib/Alert/AlertContainer.d.ts

@@ -5,2 +5,3 @@ /// <reference types="react" />

declare const AlertContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<AlertProps, "type" | "sizing">, {
colorText: string;
colorPrimary: string;

@@ -7,0 +8,0 @@ colorBorder: string;

@@ -6,2 +6,3 @@ /// <reference types="react" />

theme?: {
colorText: string;
colorPrimary: string;

@@ -24,2 +25,3 @@ colorBorder: string;

}, Pick<DrawerProps, "visible" | "width" | "placement">, {
colorText: string;
colorPrimary: string;

@@ -26,0 +28,0 @@ colorBorder: string;

declare const typography: (theme: {
colorText: string;
colorPrimary: string;

@@ -3,0 +4,0 @@ colorBorder: string;

2

lib/GlobalStyles/typography.js

@@ -21,3 +21,3 @@ "use strict";

html, input {
color: #222;
color: ${theme.colorText};
}

@@ -24,0 +24,0 @@

@@ -12,2 +12,4 @@ export { default as Alert } from './Alert';

export { default as Link } from './Link';
export { default as List } from './List';
export { default as ListItem } from './List/ListItem';
export { default as LogoContainer } from './LogoContainer';

@@ -14,0 +16,0 @@ export { default as Modal } from './Modal';

@@ -28,2 +28,6 @@ "use strict";

exports.Link = Link_1.default;
var List_1 = require("./List");
exports.List = List_1.default;
var ListItem_1 = require("./List/ListItem");
exports.ListItem = ListItem_1.default;
var LogoContainer_1 = require("./LogoContainer");

@@ -30,0 +34,0 @@ exports.LogoContainer = LogoContainer_1.default;

@@ -8,2 +8,3 @@ /// <reference types="react" />

declare const InputAddon: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, InputAddonProps, {
colorText: string;
colorPrimary: string;

@@ -10,0 +11,0 @@ colorBorder: string;

@@ -6,2 +6,3 @@ /// <reference types="react" />

declare const InputContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<InputProps, "sizing">, {
colorText: string;
colorPrimary: string;

@@ -8,0 +9,0 @@ colorBorder: string;

@@ -17,2 +17,3 @@ /// <reference types="react" />

declare const InputField: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, Pick<InputProps, "left" | "right" | "type" | "placeholder" | "onChange" | "darkMode" | "value">, {
colorText: string;
colorPrimary: string;

@@ -19,0 +20,0 @@ colorBorder: string;

@@ -8,2 +8,3 @@ import { BaseProps } from '@os-design/styled';

underline?: 'hover' | 'always' | 'never';
noPrimaryColor?: boolean;
target?: '_blank' | '_self' | '_parent' | '_top' | string;

@@ -10,0 +11,0 @@ }

@@ -12,3 +12,3 @@ "use strict";

&, &:active, &:focus {
color: ${p.theme.colorPrimary};
color: ${p.noPrimaryColor ? p.theme.colorText : p.theme.colorPrimary};
}

@@ -62,3 +62,3 @@ `;

`;
const StyledLink = styled_1.default('a', utils_1.omitProps(['darkMode', 'sizing', 'underline'])) `
const StyledLink = styled_1.default('a', utils_1.omitProps(['darkMode', 'sizing', 'underline', 'noPrimaryColor'])) `
cursor: pointer;

@@ -65,0 +65,0 @@ text-decoration: none;

@@ -10,2 +10,3 @@ /// <reference types="react" />

declare const ModalBody: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ModalBodyProps, {
colorText: string;
colorPrimary: string;

@@ -12,0 +13,0 @@ colorBorder: string;

@@ -6,2 +6,3 @@ /// <reference types="react" />

theme?: {
colorText: string;
colorPrimary: string;

@@ -25,2 +26,3 @@ colorBorder: string;

theme?: {
colorText: string;
colorPrimary: string;

@@ -43,2 +45,3 @@ colorBorder: string;

}, "hidden" | "visible" | "dir" | "slot" | "style" | "title" | "color" | "children" | "translate" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "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" | "theme">, {
colorText: string;
colorPrimary: string;

@@ -45,0 +48,0 @@ colorBorder: string;

@@ -6,2 +6,3 @@ /// <reference types="react" />

theme?: {
colorText: string;
colorPrimary: string;

@@ -24,2 +25,3 @@ colorBorder: string;

}, Pick<ModalProps, "visible">, {
colorText: string;
colorPrimary: string;

@@ -26,0 +28,0 @@ colorBorder: string;

@@ -7,2 +7,3 @@ /// <reference types="react" />

declare const SelectToggleContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<SelectToggleProps, "open" | "darkMode">, {
colorText: string;
colorPrimary: string;

@@ -9,0 +10,0 @@ colorBorder: string;

@@ -5,2 +5,3 @@ /// <reference types="react" />

declare const BaseModalContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ModalProps, "visible">, {
colorText: string;
colorPrimary: string;

@@ -7,0 +8,0 @@ colorBorder: string;

@@ -5,2 +5,3 @@ /// <reference types="react" />

declare const BaseModalContent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ModalProps, "visible">, {
colorText: string;
colorPrimary: string;

@@ -7,0 +8,0 @@ colorBorder: string;

@@ -5,2 +5,3 @@ /// <reference types="react" />

declare const BaseModalMask: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ModalProps, "visible">, {
colorText: string;
colorPrimary: string;

@@ -7,0 +8,0 @@ colorBorder: string;

{
"name": "@os-design/core",
"version": "0.0.38",
"version": "0.0.39",
"license": "MIT",

@@ -20,6 +20,7 @@ "main": "lib/index.js",

"@emotion/core": "^10.0.22",
"@os-design/icons": "^0.0.15",
"@os-design/styled": "^0.0.6",
"@os-design/utils": "^0.0.8",
"facepaint": "^1.2.1"
"@os-design/icons": "^0.0.16",
"@os-design/styled": "^0.0.7",
"@os-design/utils": "^0.0.9",
"facepaint": "^1.2.1",
"react-window": "^1.8.5"
},

@@ -31,5 +32,6 @@ "peerDependencies": {

"devDependencies": {
"@os-design/theming": "^0.0.6"
"@os-design/theming": "^0.0.7",
"@types/react-window": "^1.8.1"
},
"gitHead": "ef98301509a74b4087344da766f053082c31fad5"
"gitHead": "f5b51c6bc137e2000b009ea1453db9599943e02e"
}

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

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc