@stokelp/styled-system 2.82.4 → 2.83.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
package/panda.buildinfo.json
CHANGED
|
@@ -147,8 +147,8 @@
|
|
|
147
147
|
"text": [
|
|
148
148
|
"size]___[value:md]___[recipe:text",
|
|
149
149
|
"bold]___[value:true]___[recipe:text",
|
|
150
|
-
"size]___[value:lg]___[recipe:text",
|
|
151
150
|
"size]___[value:sm]___[recipe:text",
|
|
151
|
+
"size]___[value:lg]___[recipe:text",
|
|
152
152
|
"italic]___[value:true]___[recipe:text",
|
|
153
153
|
"underline]___[value:true]___[recipe:text"
|
|
154
154
|
],
|
|
@@ -324,6 +324,10 @@
|
|
|
324
324
|
"colorScheme]___[value:grey]___[recipe:tabsChip"
|
|
325
325
|
],
|
|
326
326
|
"chat": [],
|
|
327
|
+
"chatProfileAvatar": [
|
|
328
|
+
"side]___[value:left]___[recipe:chatProfileAvatar",
|
|
329
|
+
"side]___[value:right]___[recipe:chatProfileAvatar"
|
|
330
|
+
],
|
|
327
331
|
"datepicker": [],
|
|
328
332
|
"formHelperText": [],
|
|
329
333
|
"phoneNumberInput": [
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface ChatProfileAvatarVariant {
|
|
6
|
+
/**
|
|
7
|
+
* @default "left"
|
|
8
|
+
*/
|
|
9
|
+
side: "left" | "right"
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type ChatProfileAvatarVariantMap = {
|
|
13
|
+
[key in keyof ChatProfileAvatarVariant]: Array<ChatProfileAvatarVariant[key]>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type ChatProfileAvatarVariantProps = {
|
|
17
|
+
[key in keyof ChatProfileAvatarVariant]?: ConditionalValue<ChatProfileAvatarVariant[key]> | undefined
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface ChatProfileAvatarRecipe {
|
|
21
|
+
__type: ChatProfileAvatarVariantProps
|
|
22
|
+
(props?: ChatProfileAvatarVariantProps): string
|
|
23
|
+
raw: (props?: ChatProfileAvatarVariantProps) => ChatProfileAvatarVariantProps
|
|
24
|
+
variantMap: ChatProfileAvatarVariantMap
|
|
25
|
+
variantKeys: Array<keyof ChatProfileAvatarVariant>
|
|
26
|
+
splitVariantProps<Props extends ChatProfileAvatarVariantProps>(props: Props): [ChatProfileAvatarVariantProps, Pretty<DistributiveOmit<Props, keyof ChatProfileAvatarVariantProps>>]
|
|
27
|
+
getVariantProps: (props?: ChatProfileAvatarVariantProps) => ChatProfileAvatarVariantProps
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The styles for the Chat profile avatar component
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
*/
|
|
35
|
+
export declare const chatProfileAvatar: ChatProfileAvatarRecipe
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const chatProfileAvatarFn = /* @__PURE__ */ createRecipe('chat-profile-avatar', {
|
|
5
|
+
"side": "left"
|
|
6
|
+
}, [])
|
|
7
|
+
|
|
8
|
+
const chatProfileAvatarVariantMap = {
|
|
9
|
+
"side": [
|
|
10
|
+
"left",
|
|
11
|
+
"right"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const chatProfileAvatarVariantKeys = Object.keys(chatProfileAvatarVariantMap)
|
|
16
|
+
|
|
17
|
+
export const chatProfileAvatar = /* @__PURE__ */ Object.assign(memo(chatProfileAvatarFn.recipeFn), {
|
|
18
|
+
__recipe__: true,
|
|
19
|
+
__name__: 'chatProfileAvatar',
|
|
20
|
+
__getCompoundVariantCss__: chatProfileAvatarFn.__getCompoundVariantCss__,
|
|
21
|
+
raw: (props) => props,
|
|
22
|
+
variantKeys: chatProfileAvatarVariantKeys,
|
|
23
|
+
variantMap: chatProfileAvatarVariantMap,
|
|
24
|
+
merge(recipe) {
|
|
25
|
+
return mergeRecipes(this, recipe)
|
|
26
|
+
},
|
|
27
|
+
splitVariantProps(props) {
|
|
28
|
+
return splitProps(props, chatProfileAvatarVariantKeys)
|
|
29
|
+
},
|
|
30
|
+
getVariantProps: chatProfileAvatarFn.getVariantProps,
|
|
31
|
+
})
|
package/recipes/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from './tabs-chip';
|
|
|
23
23
|
export * from './checkbox-group';
|
|
24
24
|
export * from './chat-message';
|
|
25
25
|
export * from './chat-document-message';
|
|
26
|
+
export * from './chat-profile-avatar';
|
|
26
27
|
export * from './drawer';
|
|
27
28
|
export * from './radio-button-group';
|
|
28
29
|
export * from './radio-group';
|
package/recipes/index.mjs
CHANGED
|
@@ -22,6 +22,7 @@ export * from './tabs-chip.mjs';
|
|
|
22
22
|
export * from './checkbox-group.mjs';
|
|
23
23
|
export * from './chat-message.mjs';
|
|
24
24
|
export * from './chat-document-message.mjs';
|
|
25
|
+
export * from './chat-profile-avatar.mjs';
|
|
25
26
|
export * from './drawer.mjs';
|
|
26
27
|
export * from './radio-button-group.mjs';
|
|
27
28
|
export * from './radio-group.mjs';
|