@stokelp/styled-system 2.89.4 → 2.90.1
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 +1 -1
- package/panda.buildinfo.json +2 -12
- package/recipes/chat-text-input.d.ts +32 -0
- package/recipes/chat-text-input.mjs +24 -0
- package/recipes/index.d.ts +1 -0
- package/recipes/index.mjs +1 -0
package/package.json
CHANGED
package/panda.buildinfo.json
CHANGED
|
@@ -61,17 +61,6 @@
|
|
|
61
61
|
"color]___[value:primary.500",
|
|
62
62
|
"border]___[value:solid 1px",
|
|
63
63
|
"borderColor]___[value:grey.100",
|
|
64
|
-
"width]___[value:10px]___[cond:&::-webkit-scrollbar",
|
|
65
|
-
"background]___[value:transparent]___[cond:&::-webkit-scrollbar-track",
|
|
66
|
-
"marginBlock]___[value:4px]___[cond:&::-webkit-scrollbar-track",
|
|
67
|
-
"borderRadius]___[value:8px]___[cond:&::-webkit-scrollbar-track",
|
|
68
|
-
"background]___[value:rgba(0,0,0,0.25)]___[cond:&::-webkit-scrollbar-thumb",
|
|
69
|
-
"borderRadius]___[value:8px]___[cond:&::-webkit-scrollbar-thumb",
|
|
70
|
-
"border]___[value:2px solid transparent]___[cond:&::-webkit-scrollbar-thumb",
|
|
71
|
-
"backgroundClip]___[value:padding-box]___[cond:&::-webkit-scrollbar-thumb",
|
|
72
|
-
"overflowAnchor]___[value:none",
|
|
73
|
-
"boxSizing]___[value:border-box",
|
|
74
|
-
"resize]___[value:none",
|
|
75
64
|
"stroke]___[value:grey.100",
|
|
76
65
|
"fill]___[value:primary.500",
|
|
77
66
|
"padding]___[value:space-8",
|
|
@@ -172,7 +161,6 @@
|
|
|
172
161
|
"italic]___[value:true]___[recipe:text",
|
|
173
162
|
"underline]___[value:true]___[recipe:text"
|
|
174
163
|
],
|
|
175
|
-
"textarea": [],
|
|
176
164
|
"checkbox": [
|
|
177
165
|
"size]___[value:md]___[recipe:checkbox"
|
|
178
166
|
],
|
|
@@ -274,6 +262,7 @@
|
|
|
274
262
|
"hideClearTrigger]___[value:true]___[recipe:combobox"
|
|
275
263
|
],
|
|
276
264
|
"dialog": [],
|
|
265
|
+
"textarea": [],
|
|
277
266
|
"drawer": [
|
|
278
267
|
"variant]___[value:right]___[recipe:drawer",
|
|
279
268
|
"variant]___[value:left]___[recipe:drawer"
|
|
@@ -360,6 +349,7 @@
|
|
|
360
349
|
"side]___[value:right]___[recipe:chatMessage",
|
|
361
350
|
"variant]___[value:secondary]___[recipe:chatMessage"
|
|
362
351
|
],
|
|
352
|
+
"chatTextInput": [],
|
|
363
353
|
"chatDocumentMessage": [],
|
|
364
354
|
"selectLanguage": [
|
|
365
355
|
"variant]___[value:default]___[recipe:selectLanguage",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface ChatTextInputVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type ChatTextInputVariantMap = {
|
|
10
|
+
[key in keyof ChatTextInputVariant]: Array<ChatTextInputVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type ChatTextInputVariantProps = {
|
|
14
|
+
[key in keyof ChatTextInputVariant]?: ConditionalValue<ChatTextInputVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ChatTextInputRecipe {
|
|
18
|
+
__type: ChatTextInputVariantProps
|
|
19
|
+
(props?: ChatTextInputVariantProps): string
|
|
20
|
+
raw: (props?: ChatTextInputVariantProps) => ChatTextInputVariantProps
|
|
21
|
+
variantMap: ChatTextInputVariantMap
|
|
22
|
+
variantKeys: Array<keyof ChatTextInputVariant>
|
|
23
|
+
splitVariantProps<Props extends ChatTextInputVariantProps>(props: Props): [ChatTextInputVariantProps, Pretty<DistributiveOmit<Props, keyof ChatTextInputVariantProps>>]
|
|
24
|
+
getVariantProps: (props?: ChatTextInputVariantProps) => ChatTextInputVariantProps
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* The styles for the Chat input text component
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
*/
|
|
32
|
+
export declare const chatTextInput: ChatTextInputRecipe
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { memo, splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const chatTextInputFn = /* @__PURE__ */ createRecipe('chat-input-text', {}, [])
|
|
5
|
+
|
|
6
|
+
const chatTextInputVariantMap = {}
|
|
7
|
+
|
|
8
|
+
const chatTextInputVariantKeys = Object.keys(chatTextInputVariantMap)
|
|
9
|
+
|
|
10
|
+
export const chatTextInput = /* @__PURE__ */ Object.assign(memo(chatTextInputFn.recipeFn), {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'chatTextInput',
|
|
13
|
+
__getCompoundVariantCss__: chatTextInputFn.__getCompoundVariantCss__,
|
|
14
|
+
raw: (props) => props,
|
|
15
|
+
variantKeys: chatTextInputVariantKeys,
|
|
16
|
+
variantMap: chatTextInputVariantMap,
|
|
17
|
+
merge(recipe) {
|
|
18
|
+
return mergeRecipes(this, recipe)
|
|
19
|
+
},
|
|
20
|
+
splitVariantProps(props) {
|
|
21
|
+
return splitProps(props, chatTextInputVariantKeys)
|
|
22
|
+
},
|
|
23
|
+
getVariantProps: chatTextInputFn.getVariantProps,
|
|
24
|
+
})
|
package/recipes/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './avatar-group';
|
|
|
22
22
|
export * from './tabs-chip';
|
|
23
23
|
export * from './checkbox-group';
|
|
24
24
|
export * from './chat-message';
|
|
25
|
+
export * from './chat-text-input';
|
|
25
26
|
export * from './chat-document-message';
|
|
26
27
|
export * from './chat-profile-avatar';
|
|
27
28
|
export * from './drawer';
|
package/recipes/index.mjs
CHANGED
|
@@ -21,6 +21,7 @@ export * from './avatar-group.mjs';
|
|
|
21
21
|
export * from './tabs-chip.mjs';
|
|
22
22
|
export * from './checkbox-group.mjs';
|
|
23
23
|
export * from './chat-message.mjs';
|
|
24
|
+
export * from './chat-text-input.mjs';
|
|
24
25
|
export * from './chat-document-message.mjs';
|
|
25
26
|
export * from './chat-profile-avatar.mjs';
|
|
26
27
|
export * from './drawer.mjs';
|