@kalink-ui/seedly 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/components/box/box.css.ts +2 -2
- package/src/components/box/box.tsx +3 -2
- package/src/components/button/button.css.ts +1 -1
- package/src/components/button/button.tsx +4 -2
- package/src/components/center/center.css.ts +2 -2
- package/src/components/center/center.tsx +1 -1
- package/src/components/cluster/cluster.css.ts +2 -2
- package/src/components/cluster/cluster.tsx +1 -1
- package/src/components/cover/cover.css.ts +2 -2
- package/src/components/cover/cover.tsx +1 -1
- package/src/components/frame/frame.tsx +1 -1
- package/src/components/grid/grid.css.ts +2 -2
- package/src/components/grid/grid.tsx +1 -1
- package/src/components/sidebar/sidebar.css.ts +2 -2
- package/src/components/sidebar/sidebar.tsx +1 -1
- package/src/components/stack/stack.css.ts +2 -2
- package/src/components/stack/stack.tsx +1 -1
- package/src/components/switcher/switcher.css.ts +2 -2
- package/src/components/switcher/switcher.tsx +1 -1
- package/src/styles/seed/seed.tsx +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVar } from '@vanilla-extract/css';
|
|
2
2
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
3
3
|
|
|
4
|
-
import { sys } from '
|
|
5
|
-
import { mapContractVars } from '
|
|
4
|
+
import { sys } from '../../styles/system-contract.css';
|
|
5
|
+
import { mapContractVars } from '../../utils/map-contract-vars';
|
|
6
6
|
|
|
7
7
|
export const colorForeground = createVar();
|
|
8
8
|
export const colorBackground = createVar();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
|
|
3
|
-
import type { PolymorphicComponentProps } from '@/types/utils.types.js';
|
|
4
|
-
|
|
5
3
|
import { boxRecipe, type BoxVariants } from './box.css';
|
|
6
4
|
|
|
5
|
+
import type { PolymorphicComponentProps } from '../../types/utils.types.js';
|
|
6
|
+
|
|
7
|
+
|
|
7
8
|
type BoxProps<TUse extends React.ElementType> =
|
|
8
9
|
PolymorphicComponentProps<TUse> & {
|
|
9
10
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createTheme } from '@vanilla-extract/css';
|
|
2
2
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
3
3
|
|
|
4
|
-
import { sys } from '
|
|
4
|
+
import { sys } from '../../styles/system-contract.css';
|
|
5
5
|
|
|
6
6
|
export const [buttonTheme, buttonsys] = createTheme({
|
|
7
7
|
color: {
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
|
|
3
|
-
import { Box } from '
|
|
4
|
-
import type { PolymorphicComponentProps } from '@/types/utils.types';
|
|
3
|
+
import { Box } from '../box';
|
|
5
4
|
|
|
6
5
|
import { buttonRecipe, type ButtonVariants } from './button.css';
|
|
7
6
|
|
|
7
|
+
import type { PolymorphicComponentProps } from '../../types/utils.types';
|
|
8
|
+
|
|
9
|
+
|
|
8
10
|
type ButtonProps<TUse extends React.ElementType> =
|
|
9
11
|
PolymorphicComponentProps<TUse> & {
|
|
10
12
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
2
2
|
|
|
3
|
-
import { sys } from '
|
|
4
|
-
import { mapContractVars } from '
|
|
3
|
+
import { sys } from '../../styles/system-contract.css';
|
|
4
|
+
import { mapContractVars } from '../../utils/map-contract-vars';
|
|
5
5
|
|
|
6
6
|
export const centerRecipe = recipe({
|
|
7
7
|
base: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { ElementType } from 'react';
|
|
3
3
|
|
|
4
|
-
import { PolymorphicComponentProps } from '
|
|
4
|
+
import { PolymorphicComponentProps } from '../../types/utils.types';
|
|
5
5
|
|
|
6
6
|
import { centerRecipe, CenterVariants } from './center.css';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
2
2
|
|
|
3
|
-
import { sys } from '
|
|
4
|
-
import { mapContractVars } from '
|
|
3
|
+
import { sys } from '../../styles/system-contract.css';
|
|
4
|
+
import { mapContractVars } from '../../utils/map-contract-vars';
|
|
5
5
|
|
|
6
6
|
export const clusterRecipe = recipe({
|
|
7
7
|
base: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { ElementType } from 'react';
|
|
3
3
|
|
|
4
|
-
import { PolymorphicComponentProps } from '
|
|
4
|
+
import { PolymorphicComponentProps } from '../../types/utils.types';
|
|
5
5
|
|
|
6
6
|
import { clusterRecipe, ClusterVariants } from './cluster.css';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVar, globalStyle } from '@vanilla-extract/css';
|
|
2
2
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
3
3
|
|
|
4
|
-
import { sys } from '
|
|
5
|
-
import { mapContractVars } from '
|
|
4
|
+
import { sys } from '../../styles/system-contract.css';
|
|
5
|
+
import { mapContractVars } from '../../utils/map-contract-vars';
|
|
6
6
|
|
|
7
7
|
const spaceVar = createVar();
|
|
8
8
|
export const minSizeVar = createVar();
|
|
@@ -4,7 +4,7 @@ import { assignInlineVars } from '@vanilla-extract/dynamic';
|
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { ElementType } from 'react';
|
|
6
6
|
|
|
7
|
-
import { PolymorphicComponentProps } from '
|
|
7
|
+
import { PolymorphicComponentProps } from '../../types/utils.types';
|
|
8
8
|
|
|
9
9
|
import { coverRecipe, CoverVariants, minSizeVar } from './cover.css';
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { ElementType } from 'react';
|
|
3
3
|
|
|
4
|
-
import { PolymorphicComponentProps } from '
|
|
4
|
+
import { PolymorphicComponentProps } from '../../types/utils.types';
|
|
5
5
|
|
|
6
6
|
import { frameRecipe, FrameVariants } from './frame.css';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVar } from '@vanilla-extract/css';
|
|
2
2
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
3
3
|
|
|
4
|
-
import { sys } from '
|
|
5
|
-
import { mapContractVars } from '
|
|
4
|
+
import { sys } from '../../styles/system-contract.css';
|
|
5
|
+
import { mapContractVars } from '../../utils/map-contract-vars';
|
|
6
6
|
|
|
7
7
|
export const minSizeVar = createVar();
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@ import { assignInlineVars } from '@vanilla-extract/dynamic';
|
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { ElementType } from 'react';
|
|
6
6
|
|
|
7
|
-
import { PolymorphicComponentProps } from '
|
|
7
|
+
import { PolymorphicComponentProps } from '../../types/utils.types';
|
|
8
8
|
|
|
9
9
|
import { gridRecipe, GridVariants, minSizeVar } from './grid.css';
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVar, globalStyle } from '@vanilla-extract/css';
|
|
2
2
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
3
3
|
|
|
4
|
-
import { sys } from '
|
|
5
|
-
import { mapContractVars } from '
|
|
4
|
+
import { sys } from '../../styles/system-contract.css';
|
|
5
|
+
import { mapContractVars } from '../../utils/map-contract-vars';
|
|
6
6
|
|
|
7
7
|
export const sideWidthVar = createVar();
|
|
8
8
|
export const contentMinWidthVar = createVar();
|
|
@@ -4,7 +4,7 @@ import { assignInlineVars } from '@vanilla-extract/dynamic';
|
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { ElementType } from 'react';
|
|
6
6
|
|
|
7
|
-
import { PolymorphicComponentProps } from '
|
|
7
|
+
import { PolymorphicComponentProps } from '../../types/utils.types';
|
|
8
8
|
|
|
9
9
|
import {
|
|
10
10
|
contentMinWidthVar,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVar, globalStyle } from '@vanilla-extract/css';
|
|
2
2
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
3
3
|
|
|
4
|
-
import { sys } from '
|
|
5
|
-
import { mapContractVars } from '
|
|
4
|
+
import { sys } from '../../styles/system-contract.css';
|
|
5
|
+
import { mapContractVars } from '../../utils/map-contract-vars';
|
|
6
6
|
|
|
7
7
|
const spacing = createVar();
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
import { ElementType } from 'react';
|
|
3
3
|
|
|
4
|
-
import { PolymorphicComponentProps } from '
|
|
4
|
+
import { PolymorphicComponentProps } from '../../types/utils.types';
|
|
5
5
|
|
|
6
6
|
import { stackRecipe, StackVariants } from './stack.css';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createVar, globalStyle } from '@vanilla-extract/css';
|
|
2
2
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
3
3
|
|
|
4
|
-
import { sys } from '
|
|
5
|
-
import { mapContractVars } from '
|
|
4
|
+
import { sys } from '../../styles/system-contract.css';
|
|
5
|
+
import { mapContractVars } from '../../utils/map-contract-vars';
|
|
6
6
|
|
|
7
7
|
export const thresholdVar = createVar();
|
|
8
8
|
export const limitVar = createVar();
|
|
@@ -4,7 +4,7 @@ import { assignInlineVars } from '@vanilla-extract/dynamic';
|
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { ElementType } from 'react';
|
|
6
6
|
|
|
7
|
-
import { PolymorphicComponentProps } from '
|
|
7
|
+
import { PolymorphicComponentProps } from '../../types/utils.types';
|
|
8
8
|
|
|
9
9
|
import { switcherRecipe, SwitcherVariants, thresholdVar } from './switcher.css';
|
|
10
10
|
|
package/src/styles/seed/seed.tsx
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { clsx } from 'clsx';
|
|
2
2
|
|
|
3
|
-
import type { PolymorphicComponentProps } from '@/types/utils.types';
|
|
4
3
|
import {
|
|
5
4
|
extractSprinklesProps,
|
|
6
5
|
type GetSprinkles,
|
|
7
6
|
type SprinklesFnBase,
|
|
8
|
-
} from '
|
|
7
|
+
} from '../../utils/extract-sprinkles-props';
|
|
9
8
|
|
|
9
|
+
import type { PolymorphicComponentProps } from '../../types/utils.types';
|
|
10
10
|
import type { ElementType } from 'react';
|
|
11
11
|
|
|
12
12
|
/**
|