paradiego
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
||||
export { default } from './positions';
|
||||
export * from './positions';
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
export { default } from "./positions.js";
|
||||
export * from "./positions.js";
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"sideEffects": false,
|
||||
"module": "./index.js",
|
||||
"main": "../node/positions/index.js",
|
||||
"types": "./index.d.ts"
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
import { PropsFor, positions } from '../Box';
|
||||
|
||||
export type PositionsProps = PropsFor<typeof positions>;
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
import style from "../style/index.js";
|
||||
import compose from "../compose/index.js";
|
||||
export const position = style({
|
||||
prop: 'position'
|
||||
});
|
||||
export const zIndex = style({
|
||||
prop: 'zIndex',
|
||||
themeKey: 'zIndex'
|
||||
});
|
||||
export const top = style({
|
||||
prop: 'top'
|
||||
});
|
||||
export const right = style({
|
||||
prop: 'right'
|
||||
});
|
||||
export const bottom = style({
|
||||
prop: 'bottom'
|
||||
});
|
||||
export const left = style({
|
||||
prop: 'left'
|
||||
});
|
||||
export default compose(position, zIndex, top, right, bottom, left);
|
||||
Reference in New Issue
Block a user