@kalink-ui/seedly 0.28.0 → 0.29.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,11 @@
1
1
  # @kalink-ui/seedly
2
2
 
3
+ ## 0.29.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8c2404f: Correctly use the overrides layer for ButtonIcon specificities
8
+
3
9
  ## 0.28.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kalink-ui/seedly",
3
- "version": "0.28.0",
3
+ "version": "0.29.0",
4
4
  "description": "A set of components for building UIs with React and TypeScript",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -2,7 +2,7 @@ import { assignVars } from '@vanilla-extract/css';
2
2
  import { recipe, RecipeVariants } from '@vanilla-extract/recipes';
3
3
 
4
4
  import { createResponsiveVariants, defaultMedia, sys } from '../../styles';
5
- import { components } from '../../styles/layers.css';
5
+ import { overrides } from '../../styles/layers.css';
6
6
  import {
7
7
  buttonRecipe,
8
8
  buttonVars,
@@ -19,7 +19,7 @@ export const buttonIcon = recipe({
19
19
  buttonRecipe.classNames.variants.size.sm,
20
20
  {
21
21
  '@layer': {
22
- [components]: {
22
+ [overrides]: {
23
23
  vars: assignVars(buttonVars.spacing, {
24
24
  block: sys.spacing[2],
25
25
  inline: sys.spacing[2],
@@ -33,7 +33,7 @@ export const buttonIcon = recipe({
33
33
  buttonRecipe.classNames.variants.size.md,
34
34
  {
35
35
  '@layer': {
36
- [components]: {
36
+ [overrides]: {
37
37
  vars: assignVars(buttonVars.spacing, {
38
38
  block: sys.spacing[2],
39
39
  inline: sys.spacing[2],
@@ -47,7 +47,7 @@ export const buttonIcon = recipe({
47
47
  buttonRecipe.classNames.variants.size.lg,
48
48
  {
49
49
  '@layer': {
50
- [components]: {
50
+ [overrides]: {
51
51
  vars: assignVars(buttonVars.spacing, {
52
52
  block: sys.spacing[3],
53
53
  inline: sys.spacing[3],
@@ -72,7 +72,7 @@ export type ButtonIconVariants = NonNullable<RecipeVariants<typeof buttonIcon>>;
72
72
  const buttonIconSizeStyles = {
73
73
  sm: {
74
74
  '@layer': {
75
- [components]: {
75
+ [overrides]: {
76
76
  vars: assignVars(buttonVars.spacing, {
77
77
  block: sys.spacing[2],
78
78
  inline: sys.spacing[2],
@@ -83,7 +83,7 @@ const buttonIconSizeStyles = {
83
83
  },
84
84
  md: {
85
85
  '@layer': {
86
- [components]: {
86
+ [overrides]: {
87
87
  vars: assignVars(buttonVars.spacing, {
88
88
  block: sys.spacing[2],
89
89
  inline: sys.spacing[2],
@@ -94,7 +94,7 @@ const buttonIconSizeStyles = {
94
94
  },
95
95
  lg: {
96
96
  '@layer': {
97
- [components]: {
97
+ [overrides]: {
98
98
  vars: assignVars(buttonVars.spacing, {
99
99
  block: sys.spacing[3],
100
100
  inline: sys.spacing[3],