@stokelp/styled-system 2.65.1 → 2.67.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.65.1",
3
+ "version": "2.67.0",
4
4
  "description": "Stokelp UI styled-system",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -123,6 +123,13 @@
123
123
  "severity]___[value:danger]___[recipe:iconButton",
124
124
  "severity]___[value:success]___[recipe:iconButton"
125
125
  ],
126
+ "icon": [
127
+ "size]___[value:md]___[recipe:icon",
128
+ "size]___[value:xs]___[recipe:icon",
129
+ "size]___[value:sm]___[recipe:icon",
130
+ "size]___[value:lg]___[recipe:icon",
131
+ "size]___[value:xl]___[recipe:icon"
132
+ ],
126
133
  "priceTag": [
127
134
  "size]___[value:md]___[recipe:priceTag",
128
135
  "size]___[value:sm]___[recipe:priceTag",
@@ -193,13 +200,6 @@
193
200
  ],
194
201
  "collapsible": [],
195
202
  "productCardCatalog": [],
196
- "icon": [
197
- "size]___[value:md]___[recipe:icon",
198
- "size]___[value:xs]___[recipe:icon",
199
- "size]___[value:sm]___[recipe:icon",
200
- "size]___[value:lg]___[recipe:icon",
201
- "size]___[value:xl]___[recipe:icon"
202
- ],
203
203
  "accordion": [
204
204
  "size]___[value:md]___[recipe:accordion"
205
205
  ],
@@ -339,6 +339,8 @@
339
339
  "appNavigationLanguageSelect": [
340
340
  "size]___[value:md]___[recipe:appNavigationLanguageSelect",
341
341
  "variant]___[value:primary]___[recipe:appNavigationLanguageSelect",
342
+ "isMiniaturized]___[value:false]___[recipe:appNavigationLanguageSelect",
343
+ "isMiniaturized]___[value:true]___[recipe:appNavigationLanguageSelect",
342
344
  "variant]___[value:secondary]___[recipe:appNavigationLanguageSelect"
343
345
  ]
344
346
  }
@@ -4,6 +4,10 @@ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
4
 
5
5
  interface AppNavigationLanguageSelectVariant {
6
6
  /**
7
+ * @default false
8
+ */
9
+ isMiniaturized: boolean
10
+ /**
7
11
  * @default "md"
8
12
  */
9
13
  size: "md"
@@ -3,7 +3,8 @@ import { createRecipe } from './create-recipe.mjs';
3
3
 
4
4
  const appNavigationLanguageSelectDefaultVariants = {
5
5
  "size": "md",
6
- "variant": "primary"
6
+ "variant": "primary",
7
+ "isMiniaturized": false
7
8
  }
8
9
  const appNavigationLanguageSelectCompoundVariants = []
9
10
 
@@ -76,6 +77,7 @@ const appNavigationLanguageSelectFn = memo((props = {}) => {
76
77
  })
77
78
 
78
79
  const appNavigationLanguageSelectVariantKeys = [
80
+ "isMiniaturized",
79
81
  "size",
80
82
  "variant"
81
83
  ]
@@ -87,6 +89,10 @@ export const appNavigationLanguageSelect = /* @__PURE__ */ Object.assign(appNavi
87
89
  raw: (props) => props,
88
90
  variantKeys: appNavigationLanguageSelectVariantKeys,
89
91
  variantMap: {
92
+ "isMiniaturized": [
93
+ "true",
94
+ "false"
95
+ ],
90
96
  "size": [
91
97
  "md"
92
98
  ],
@@ -19,7 +19,7 @@ export type AppNavigationVariantProps = {
19
19
 
20
20
  export interface AppNavigationRecipe {
21
21
  __type: AppNavigationVariantProps
22
- (props?: AppNavigationVariantProps): Pretty<Record<"root" | "header" | "body" | "item" | "itemLabel" | "itemIcon" | "itemContent" | "itemSubItems" | "footer", string>>
22
+ (props?: AppNavigationVariantProps): Pretty<Record<"root" | "header" | "miniaturizeTrigger" | "body" | "item" | "itemLabel" | "itemIcon" | "itemContent" | "itemSubItems" | "footer", string>>
23
23
  raw: (props?: AppNavigationVariantProps) => AppNavigationVariantProps
24
24
  variantMap: AppNavigationVariantMap
25
25
  variantKeys: Array<keyof AppNavigationVariant>
@@ -15,6 +15,10 @@ const appNavigationSlotNames = [
15
15
  "header",
16
16
  "app-navigation__header"
17
17
  ],
18
+ [
19
+ "miniaturizeTrigger",
20
+ "app-navigation__miniaturizeTrigger"
21
+ ],
18
22
  [
19
23
  "body",
20
24
  "app-navigation__body"