@kalink-ui/seedly 0.17.0 → 0.19.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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @kalink-ui/seedly
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e73d11a: [Center] Use a custom property to define gutters value
|
|
8
|
+
|
|
9
|
+
## 0.18.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- a81dae0: [Skeleton] Correctly reexport component
|
|
14
|
+
|
|
3
15
|
## 0.17.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { createVar } from '@vanilla-extract/css';
|
|
1
2
|
import { recipe, type RecipeVariants } from '@vanilla-extract/recipes';
|
|
2
3
|
|
|
3
4
|
import { mapContractVars, sys } from '../../styles';
|
|
4
5
|
import { components } from '../../styles/layers.css';
|
|
5
6
|
|
|
7
|
+
export const gutterSize = createVar();
|
|
8
|
+
|
|
6
9
|
export const centerRecipe = recipe({
|
|
7
10
|
base: {
|
|
8
11
|
'@layer': {
|
|
@@ -11,6 +14,7 @@ export const centerRecipe = recipe({
|
|
|
11
14
|
boxSizing: 'content-box',
|
|
12
15
|
marginInline: 'auto',
|
|
13
16
|
maxInlineSize: sys.layout.measure,
|
|
17
|
+
paddingInline: gutterSize,
|
|
14
18
|
},
|
|
15
19
|
},
|
|
16
20
|
},
|
|
@@ -50,7 +54,9 @@ export const centerRecipe = recipe({
|
|
|
50
54
|
gutters: mapContractVars(sys.spacing, (key) => ({
|
|
51
55
|
'@layer': {
|
|
52
56
|
[components]: {
|
|
53
|
-
|
|
57
|
+
vars: {
|
|
58
|
+
[gutterSize]: sys.spacing[key],
|
|
59
|
+
},
|
|
54
60
|
},
|
|
55
61
|
},
|
|
56
62
|
})),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Center, type CenterProps } from './center';
|
|
2
|
-
export { centerRecipe, type CenterVariants } from './center.css';
|
|
2
|
+
export { centerRecipe, gutterSize, type CenterVariants } from './center.css';
|
package/src/components/index.ts
CHANGED