@blockle/blocks-v2
Advanced tools
Comparing version 0.0.20 to 0.0.21
{ | ||
"name": "@blockle/blocks-v2", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "Blockle blocks", | ||
@@ -5,0 +5,0 @@ "main": "src/index.ts", |
@@ -0,2 +1,3 @@ | ||
// TODO Remove FlexGrid and use Grid instead | ||
export * from './Col'; | ||
export * from './Row'; |
@@ -21,3 +21,3 @@ import { globalStyle } from '@vanilla-extract/css'; | ||
fontSize: '100%', | ||
lineHeight: 1.15, | ||
lineHeight: 'inherit', | ||
margin: 0, | ||
@@ -27,3 +27,3 @@ padding: 0, | ||
globalStyle(':where(ul, ol)', { | ||
globalStyle(':where(p, ul, ol)', { | ||
margin: 0, | ||
@@ -30,0 +30,0 @@ padding: 0, |
@@ -1,2 +0,2 @@ | ||
import { style } from '@vanilla-extract/css'; | ||
import { style, styleVariants } from '@vanilla-extract/css'; | ||
import { createComponentTheme } from '../../components/BlocksProvider/createComponentTheme'; | ||
@@ -8,7 +8,2 @@ | ||
border: 'none', | ||
textDecoration: 'none', | ||
color: vars.color.primary, | ||
':hover': { | ||
color: vars.color.secondary, | ||
}, | ||
':focus-visible': { | ||
@@ -18,2 +13,19 @@ outline: vars.outline.focus, | ||
}), | ||
variant: styleVariants({ | ||
inherit: {}, | ||
primary: { | ||
textDecoration: 'none', | ||
color: vars.color.primary, | ||
':hover': { | ||
color: vars.color.secondary, | ||
}, | ||
}, | ||
secondary: { | ||
textDecoration: 'none', | ||
color: vars.color.secondary, | ||
':hover': { | ||
color: vars.color.secondary, | ||
}, | ||
}, | ||
}), | ||
})); |
import { ButtonProps } from '../components/Button'; | ||
import { LinkProps } from '../components/Link'; | ||
@@ -16,2 +17,3 @@ type ThemeRecord<T extends string> = Record<T, string>; | ||
base: string; | ||
variant: ThemeRecord<Exclude<LinkProps['variant'], undefined>>; | ||
}; | ||
@@ -18,0 +20,0 @@ progressBar: { |
@@ -0,1 +1,2 @@ | ||
/* eslint-disable @typescript-eslint/ban-types */ | ||
import { HTMLProps } from 'react'; | ||
@@ -12,3 +13,2 @@ import { Atoms } from '../css/sprinkles.css'; | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
export type EmptyObject = {}; | ||
@@ -15,0 +15,0 @@ |
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
284899
146
4490