@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
|
@@ -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) {
|