Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mirohq/design-system-base-text-field

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mirohq/design-system-base-text-field - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

37

dist/main.js

@@ -5,10 +5,36 @@ 'use strict';

const styles = {
var designSystemStyles = require('@mirohq/design-system-styles');
const actionButtonStyles = {
backgroundColor: "transparent",
color: "$icon-neutrals-subtle",
display: "flex",
justifyContent: "center",
padding: "6px",
square: "$7",
"& svg:not([data-icon-component]), & img:not([data-icon-component])": {
square: "$icon-200",
"--svg-stroke-width": "$stroke-width$thin"
},
...designSystemStyles.focus.css({
boxShadow: "$focus-small"
}),
"&:hover": {
backgroundColor: "$background-neutrals-subtle-hover"
},
"&:active, &[data-pressed]": {
backgroundColor: "$background-neutrals-subtle-active"
}
};
const textFieldStyles = {
variants: {
idle: {
boxSizing: "border-box",
width: "100%",
fontSize: "$200",
lineHeight: "1.5",
color: "$text-neutrals",
background: "$background-neutrals-container",
border: "1px solid $border-neutrals",
borderRadius: "$50",
fontSize: "$200",
lineHeight: "1.5"
borderRadius: "$50"
},

@@ -74,3 +100,4 @@ focused: {

exports.styles = styles;
exports.actionButtonStyles = actionButtonStyles;
exports.textFieldStyles = textFieldStyles;
//# sourceMappingURL=main.js.map

@@ -1,9 +0,35 @@

const styles = {
import { focus } from '@mirohq/design-system-styles';
const actionButtonStyles = {
backgroundColor: "transparent",
color: "$icon-neutrals-subtle",
display: "flex",
justifyContent: "center",
padding: "6px",
square: "$7",
"& svg:not([data-icon-component]), & img:not([data-icon-component])": {
square: "$icon-200",
"--svg-stroke-width": "$stroke-width$thin"
},
...focus.css({
boxShadow: "$focus-small"
}),
"&:hover": {
backgroundColor: "$background-neutrals-subtle-hover"
},
"&:active, &[data-pressed]": {
backgroundColor: "$background-neutrals-subtle-active"
}
};
const textFieldStyles = {
variants: {
idle: {
boxSizing: "border-box",
width: "100%",
fontSize: "$200",
lineHeight: "1.5",
color: "$text-neutrals",
background: "$background-neutrals-container",
border: "1px solid $border-neutrals",
borderRadius: "$50",
fontSize: "$200",
lineHeight: "1.5"
borderRadius: "$50"
},

@@ -69,3 +95,3 @@ focused: {

export { styles };
export { actionButtonStyles, textFieldStyles };
//# sourceMappingURL=module.js.map

@@ -1,9 +0,34 @@

declare const styles: {
declare const actionButtonStyles: {
'&:hover': {
backgroundColor: string;
};
'&:active, &[data-pressed]': {
backgroundColor: string;
};
'&:focus-visible': any;
'[data-whatintent="keyboard"] &:focus': any;
'&[data-focused]': any;
'&[data-focus-visible]': any;
backgroundColor: string;
color: string;
display: string;
justifyContent: string;
padding: string;
square: string;
'& svg:not([data-icon-component]), & img:not([data-icon-component])': {
square: string;
'--svg-stroke-width': string;
};
};
declare const textFieldStyles: {
variants: {
idle: {
boxSizing: string;
width: string;
fontSize: string;
lineHeight: string;
color: string;
background: string;
border: string;
borderRadius: string;
fontSize: string;
lineHeight: string;
};

@@ -69,2 +94,2 @@ focused: {

export { styles };
export { actionButtonStyles, textFieldStyles };

5

package.json
{
"name": "@mirohq/design-system-base-text-field",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

@@ -28,2 +28,5 @@ "author": "Miro",

},
"dependencies": {
"@mirohq/design-system-styles": "^1.2.12"
},
"scripts": {

@@ -30,0 +33,0 @@ "build": "rollup -c ../../../../rollup.config.js",

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc