@stokelp/styled-system 2.17.0 → 2.18.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokelp/styled-system",
3
- "version": "2.17.0",
3
+ "version": "2.18.0",
4
4
  "description": "Stokelp UI styled-system",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -7,6 +7,10 @@ interface AppNavigationLanguageSelectVariant {
7
7
  * @default "md"
8
8
  */
9
9
  size: "md"
10
+ /**
11
+ * @default "primary"
12
+ */
13
+ variant: "primary" | "secondary"
10
14
  }
11
15
 
12
16
  type AppNavigationLanguageSelectVariantMap = {
@@ -2,7 +2,8 @@ import { compact, getSlotCompoundVariant, memo, splitProps } from '../helpers.mj
2
2
  import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const appNavigationLanguageSelectDefaultVariants = {
5
- "size": "md"
5
+ "size": "md",
6
+ "variant": "primary"
6
7
  }
7
8
  const appNavigationLanguageSelectCompoundVariants = []
8
9
 
@@ -75,7 +76,8 @@ const appNavigationLanguageSelectFn = memo((props = {}) => {
75
76
  })
76
77
 
77
78
  const appNavigationLanguageSelectVariantKeys = [
78
- "size"
79
+ "size",
80
+ "variant"
79
81
  ]
80
82
  const getVariantProps = (variants) => ({ ...appNavigationLanguageSelectDefaultVariants, ...compact(variants) })
81
83
 
@@ -87,6 +89,10 @@ export const appNavigationLanguageSelect = /* @__PURE__ */ Object.assign(appNavi
87
89
  variantMap: {
88
90
  "size": [
89
91
  "md"
92
+ ],
93
+ "variant": [
94
+ "primary",
95
+ "secondary"
90
96
  ]
91
97
  },
92
98
  splitVariantProps(props) {