@mirohq/design-system-base-form
Advanced tools
Comparing version 0.2.15 to 0.2.16
@@ -11,3 +11,3 @@ 'use strict'; | ||
var designSystemPrimitive = require('@mirohq/design-system-primitive'); | ||
var designSystemBaseInput = require('@mirohq/design-system-base-input'); | ||
var designSystemBaseTextField = require('@mirohq/design-system-base-text-field'); | ||
@@ -126,2 +126,3 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
height: "0.75em", | ||
...designSystemBaseTextField.styles.base.placeholder, | ||
variants: { | ||
@@ -134,13 +135,11 @@ floating: { | ||
fontSize: "$150", | ||
color: "$text-neutrals-subtle", | ||
padding: "0 2px", | ||
backgroundColor: "$background-neutrals-container", | ||
height: "auto", | ||
lineHeight: 1 | ||
lineHeight: 1, | ||
backgroundColor: "$background-neutrals-container" | ||
}, | ||
false: { | ||
fontSize: "$200", | ||
marginTop: "-1px", | ||
marginTop: "-1px" | ||
// adjust for the input's border | ||
...designSystemBaseInput.styles.base.placeholder | ||
} | ||
@@ -147,0 +146,0 @@ }, |
@@ -7,3 +7,3 @@ import { jsx } from 'react/jsx-runtime'; | ||
import { Primitive } from '@mirohq/design-system-primitive'; | ||
import { styles } from '@mirohq/design-system-base-input'; | ||
import { styles } from '@mirohq/design-system-base-text-field'; | ||
@@ -118,2 +118,3 @@ const FORM_FIELD_STATUS = Object.freeze({ | ||
height: "0.75em", | ||
...styles.base.placeholder, | ||
variants: { | ||
@@ -126,13 +127,11 @@ floating: { | ||
fontSize: "$150", | ||
color: "$text-neutrals-subtle", | ||
padding: "0 2px", | ||
backgroundColor: "$background-neutrals-container", | ||
height: "auto", | ||
lineHeight: 1 | ||
lineHeight: 1, | ||
backgroundColor: "$background-neutrals-container" | ||
}, | ||
false: { | ||
fontSize: "$200", | ||
marginTop: "-1px", | ||
marginTop: "-1px" | ||
// adjust for the input's border | ||
...styles.base.placeholder | ||
} | ||
@@ -139,0 +138,0 @@ }, |
{ | ||
"name": "@mirohq/design-system-base-form", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"description": "", | ||
@@ -29,3 +29,3 @@ "author": "Miro", | ||
"dependencies": { | ||
"@mirohq/design-system-base-input": "^0.0.4", | ||
"@mirohq/design-system-base-text-field": "^0.1.0", | ||
"@mirohq/design-system-primitive": "^1.1.2", | ||
@@ -32,0 +32,0 @@ "@mirohq/design-system-stitches": "^2.6.11", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
46273
496
+ Added@mirohq/design-system-base-text-field@0.1.16(transitive)
+ Added@mirohq/design-system-styles@1.2.34(transitive)
+ Addedwhat-input@5.2.12(transitive)
- Removed@mirohq/design-system-base-input@0.0.4(transitive)