@stokelp/styled-system 2.93.0 → 2.95.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/css/conditions.mjs +1 -1
- package/css/css.mjs +1 -1
- package/css/sva.mjs +9 -4
- package/helpers.mjs +12 -20
- package/jsx/create-style-context.d.ts +54 -0
- package/jsx/create-style-context.mjs +98 -0
- package/jsx/factory.mjs +14 -5
- package/jsx/index.d.ts +1 -0
- package/jsx/index.mjs +1 -0
- package/jsx/is-valid-prop.mjs +1 -1
- package/package.json +1 -1
- package/panda.buildinfo.json +12 -10
- package/patterns/aspect-ratio.d.ts +0 -1
- package/patterns/bleed.d.ts +0 -1
- package/patterns/box.d.ts +0 -1
- package/patterns/center.d.ts +0 -1
- package/patterns/circle.d.ts +0 -1
- package/patterns/container.d.ts +0 -1
- package/patterns/cq.d.ts +0 -1
- package/patterns/divider.d.ts +0 -1
- package/patterns/flex.d.ts +0 -1
- package/patterns/float.d.ts +0 -1
- package/patterns/grid-item.d.ts +0 -1
- package/patterns/grid.d.ts +0 -1
- package/patterns/grid.mjs +1 -1
- package/patterns/hstack.d.ts +0 -1
- package/patterns/hstack.mjs +1 -1
- package/patterns/link-overlay.d.ts +0 -1
- package/patterns/spacer.d.ts +0 -1
- package/patterns/square.d.ts +0 -1
- package/patterns/stack.d.ts +0 -1
- package/patterns/stack.mjs +1 -1
- package/patterns/visually-hidden.d.ts +0 -1
- package/patterns/vstack.d.ts +0 -1
- package/patterns/vstack.mjs +1 -1
- package/patterns/wrap.d.ts +0 -1
- package/patterns/wrap.mjs +1 -1
- package/recipes/accordion.d.ts +4 -1
- package/recipes/accordion.mjs +1 -0
- package/recipes/action-card.d.ts +4 -3
- package/recipes/action-card.mjs +1 -0
- package/recipes/alert.d.ts +4 -3
- package/recipes/alert.mjs +1 -0
- package/recipes/app-navigation-language-select.d.ts +4 -1
- package/recipes/app-navigation-language-select.mjs +1 -0
- package/recipes/app-navigation.d.ts +4 -3
- package/recipes/app-navigation.mjs +1 -0
- package/recipes/avatar-group.d.ts +3 -0
- package/recipes/avatar.d.ts +4 -1
- package/recipes/avatar.mjs +1 -0
- package/recipes/breadcrumb.d.ts +4 -1
- package/recipes/breadcrumb.mjs +1 -0
- package/recipes/button-filter.d.ts +3 -2
- package/recipes/button.d.ts +3 -2
- package/recipes/chat-document-message.d.ts +3 -2
- package/recipes/chat-message.d.ts +3 -2
- package/recipes/chat-profile-avatar.d.ts +3 -2
- package/recipes/chat-text-input.d.ts +3 -2
- package/recipes/chat.d.ts +4 -3
- package/recipes/chat.mjs +1 -0
- package/recipes/checkbox-card.d.ts +4 -1
- package/recipes/checkbox-card.mjs +1 -0
- package/recipes/checkbox-group.d.ts +3 -0
- package/recipes/checkbox.d.ts +4 -1
- package/recipes/checkbox.mjs +1 -0
- package/recipes/chip.d.ts +4 -3
- package/recipes/chip.mjs +1 -0
- package/recipes/collapsible.d.ts +4 -1
- package/recipes/collapsible.mjs +1 -0
- package/recipes/combobox.d.ts +4 -1
- package/recipes/combobox.mjs +1 -0
- package/recipes/datepicker.d.ts +4 -1
- package/recipes/datepicker.mjs +1 -0
- package/recipes/dialog.d.ts +4 -1
- package/recipes/dialog.mjs +1 -0
- package/recipes/drawer.d.ts +4 -1
- package/recipes/drawer.mjs +1 -0
- package/recipes/flag.d.ts +3 -0
- package/recipes/form-control.d.ts +3 -2
- package/recipes/form-helper-text.d.ts +3 -2
- package/recipes/form-label.d.ts +4 -3
- package/recipes/form-label.mjs +1 -0
- package/recipes/heading.d.ts +3 -0
- package/recipes/highlighted-input.d.ts +33 -0
- package/recipes/highlighted-input.mjs +45 -0
- package/recipes/icon-button.d.ts +3 -2
- package/recipes/icon.d.ts +3 -0
- package/recipes/illustration.d.ts +3 -2
- package/recipes/index.d.ts +2 -1
- package/recipes/index.mjs +2 -1
- package/recipes/input-addon.d.ts +3 -2
- package/recipes/input-group.d.ts +3 -2
- package/recipes/input.d.ts +3 -2
- package/recipes/menu.d.ts +4 -1
- package/recipes/menu.mjs +1 -0
- package/recipes/pagination.d.ts +4 -3
- package/recipes/pagination.mjs +1 -0
- package/recipes/phone-number-input.d.ts +3 -2
- package/recipes/popover.d.ts +4 -1
- package/recipes/popover.mjs +1 -0
- package/recipes/price-tag.d.ts +4 -1
- package/recipes/price-tag.mjs +1 -0
- package/recipes/product-card-catalog.d.ts +4 -3
- package/recipes/product-card-catalog.mjs +1 -0
- package/recipes/radio-button-group.d.ts +4 -1
- package/recipes/radio-button-group.mjs +1 -0
- package/recipes/radio-card-group.d.ts +4 -1
- package/recipes/radio-card-group.mjs +1 -0
- package/recipes/radio-group.d.ts +4 -1
- package/recipes/radio-group.mjs +1 -0
- package/recipes/select-language.d.ts +4 -1
- package/recipes/select-language.mjs +1 -0
- package/recipes/select.d.ts +4 -1
- package/recipes/select.mjs +1 -0
- package/recipes/status-tag-select.d.ts +4 -1
- package/recipes/status-tag-select.mjs +1 -0
- package/recipes/switch-card.d.ts +4 -1
- package/recipes/switch-card.mjs +1 -0
- package/recipes/switch-recipe.d.ts +4 -1
- package/recipes/switch-recipe.mjs +1 -0
- package/recipes/table-container.d.ts +3 -0
- package/recipes/table-empty-row.d.ts +3 -0
- package/recipes/table-group-title.d.ts +3 -0
- package/recipes/table.d.ts +4 -1
- package/recipes/table.mjs +1 -0
- package/recipes/tabs-chip.d.ts +3 -2
- package/recipes/tabs.d.ts +4 -1
- package/recipes/tabs.mjs +1 -0
- package/recipes/tag.d.ts +4 -3
- package/recipes/tag.mjs +1 -0
- package/recipes/text.d.ts +3 -0
- package/recipes/textarea.d.ts +3 -0
- package/recipes/tooltip.d.ts +4 -1
- package/recipes/tooltip.mjs +1 -0
- package/tokens/tokens.d.ts +1 -1
- package/types/composition.d.ts +83 -23
- package/types/conditions.d.ts +11 -7
- package/types/jsx.d.ts +25 -10
- package/types/prop-type.d.ts +10 -2
- package/types/style-props.d.ts +15 -4
- package/types/system-types.d.ts +76 -0
package/patterns/grid-item.d.ts
CHANGED
package/patterns/grid.d.ts
CHANGED
package/patterns/grid.mjs
CHANGED
|
@@ -15,7 +15,7 @@ transform(props15, { map, isCssUnit }) {
|
|
|
15
15
|
};
|
|
16
16
|
},
|
|
17
17
|
defaultValues(props15) {
|
|
18
|
-
return { gap: props15.columnGap || props15.rowGap ? void 0 : "
|
|
18
|
+
return { gap: props15.columnGap || props15.rowGap ? void 0 : "8px" };
|
|
19
19
|
}}
|
|
20
20
|
|
|
21
21
|
export const getGridStyle = (styles = {}) => {
|
package/patterns/hstack.d.ts
CHANGED
package/patterns/hstack.mjs
CHANGED
package/patterns/spacer.d.ts
CHANGED
package/patterns/square.d.ts
CHANGED
package/patterns/stack.d.ts
CHANGED
package/patterns/stack.mjs
CHANGED
package/patterns/vstack.d.ts
CHANGED
package/patterns/vstack.mjs
CHANGED
package/patterns/wrap.d.ts
CHANGED
package/patterns/wrap.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { css } from '../css/index.mjs';
|
|
|
3
3
|
|
|
4
4
|
const wrapConfig = {
|
|
5
5
|
transform(props15) {
|
|
6
|
-
const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "
|
|
6
|
+
const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "8px", align, justify, ...rest } = props15;
|
|
7
7
|
return {
|
|
8
8
|
display: "flex",
|
|
9
9
|
flexWrap: "wrap",
|
package/recipes/accordion.d.ts
CHANGED
|
@@ -13,13 +13,16 @@ type AccordionVariantMap = {
|
|
|
13
13
|
[key in keyof AccordionVariant]: Array<AccordionVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type AccordionSlot = "root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator"
|
|
17
|
+
|
|
16
18
|
export type AccordionVariantProps = {
|
|
17
19
|
[key in keyof AccordionVariant]?: ConditionalValue<AccordionVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface AccordionRecipe {
|
|
23
|
+
__slot: AccordionSlot
|
|
21
24
|
__type: AccordionVariantProps
|
|
22
|
-
(props?: AccordionVariantProps): Pretty<Record<
|
|
25
|
+
(props?: AccordionVariantProps): Pretty<Record<AccordionSlot, string>>
|
|
23
26
|
raw: (props?: AccordionVariantProps) => AccordionVariantProps
|
|
24
27
|
variantMap: AccordionVariantMap
|
|
25
28
|
variantKeys: Array<keyof AccordionVariant>
|
package/recipes/accordion.mjs
CHANGED
package/recipes/action-card.d.ts
CHANGED
|
@@ -10,13 +10,16 @@ type ActionCardVariantMap = {
|
|
|
10
10
|
[key in keyof ActionCardVariant]: Array<ActionCardVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type ActionCardSlot = "root" | "title" | "description" | "icon"
|
|
14
|
+
|
|
13
15
|
export type ActionCardVariantProps = {
|
|
14
16
|
[key in keyof ActionCardVariant]?: ConditionalValue<ActionCardVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ActionCardRecipe {
|
|
20
|
+
__slot: ActionCardSlot
|
|
18
21
|
__type: ActionCardVariantProps
|
|
19
|
-
(props?: ActionCardVariantProps): Pretty<Record<
|
|
22
|
+
(props?: ActionCardVariantProps): Pretty<Record<ActionCardSlot, string>>
|
|
20
23
|
raw: (props?: ActionCardVariantProps) => ActionCardVariantProps
|
|
21
24
|
variantMap: ActionCardVariantMap
|
|
22
25
|
variantKeys: Array<keyof ActionCardVariant>
|
|
@@ -26,7 +29,5 @@ export interface ActionCardRecipe {
|
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* The styles for the ActionCard component
|
|
29
|
-
|
|
30
|
-
|
|
31
32
|
*/
|
|
32
33
|
export declare const actionCard: ActionCardRecipe
|
package/recipes/action-card.mjs
CHANGED
package/recipes/alert.d.ts
CHANGED
|
@@ -13,13 +13,16 @@ type AlertVariantMap = {
|
|
|
13
13
|
[key in keyof AlertVariant]: Array<AlertVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type AlertSlot = "root" | "icon" | "title" | "description"
|
|
17
|
+
|
|
16
18
|
export type AlertVariantProps = {
|
|
17
19
|
[key in keyof AlertVariant]?: ConditionalValue<AlertVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface AlertRecipe {
|
|
23
|
+
__slot: AlertSlot
|
|
21
24
|
__type: AlertVariantProps
|
|
22
|
-
(props?: AlertVariantProps): Pretty<Record<
|
|
25
|
+
(props?: AlertVariantProps): Pretty<Record<AlertSlot, string>>
|
|
23
26
|
raw: (props?: AlertVariantProps) => AlertVariantProps
|
|
24
27
|
variantMap: AlertVariantMap
|
|
25
28
|
variantKeys: Array<keyof AlertVariant>
|
|
@@ -29,7 +32,5 @@ export interface AlertRecipe {
|
|
|
29
32
|
|
|
30
33
|
/**
|
|
31
34
|
* The styles for the Alert component
|
|
32
|
-
|
|
33
|
-
|
|
34
35
|
*/
|
|
35
36
|
export declare const alert: AlertRecipe
|
package/recipes/alert.mjs
CHANGED
|
@@ -21,13 +21,16 @@ type AppNavigationLanguageSelectVariantMap = {
|
|
|
21
21
|
[key in keyof AppNavigationLanguageSelectVariant]: Array<AppNavigationLanguageSelectVariant[key]>
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
type AppNavigationLanguageSelectSlot = "label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText"
|
|
25
|
+
|
|
24
26
|
export type AppNavigationLanguageSelectVariantProps = {
|
|
25
27
|
[key in keyof AppNavigationLanguageSelectVariant]?: ConditionalValue<AppNavigationLanguageSelectVariant[key]> | undefined
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
export interface AppNavigationLanguageSelectRecipe {
|
|
31
|
+
__slot: AppNavigationLanguageSelectSlot
|
|
29
32
|
__type: AppNavigationLanguageSelectVariantProps
|
|
30
|
-
(props?: AppNavigationLanguageSelectVariantProps): Pretty<Record<
|
|
33
|
+
(props?: AppNavigationLanguageSelectVariantProps): Pretty<Record<AppNavigationLanguageSelectSlot, string>>
|
|
31
34
|
raw: (props?: AppNavigationLanguageSelectVariantProps) => AppNavigationLanguageSelectVariantProps
|
|
32
35
|
variantMap: AppNavigationLanguageSelectVariantMap
|
|
33
36
|
variantKeys: Array<keyof AppNavigationLanguageSelectVariant>
|
|
@@ -87,6 +87,7 @@ export const appNavigationLanguageSelect = /* @__PURE__ */ Object.assign(appNavi
|
|
|
87
87
|
__recipe__: false,
|
|
88
88
|
__name__: 'appNavigationLanguageSelect',
|
|
89
89
|
raw: (props) => props,
|
|
90
|
+
classNameMap: {},
|
|
90
91
|
variantKeys: appNavigationLanguageSelectVariantKeys,
|
|
91
92
|
variantMap: {
|
|
92
93
|
"isMiniaturized": [
|
|
@@ -13,13 +13,16 @@ type AppNavigationVariantMap = {
|
|
|
13
13
|
[key in keyof AppNavigationVariant]: Array<AppNavigationVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type AppNavigationSlot = "root" | "header" | "miniaturizeTrigger" | "body" | "item" | "itemLabel" | "itemIcon" | "itemAlpha" | "itemContent" | "itemSubItems" | "footer"
|
|
17
|
+
|
|
16
18
|
export type AppNavigationVariantProps = {
|
|
17
19
|
[key in keyof AppNavigationVariant]?: ConditionalValue<AppNavigationVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface AppNavigationRecipe {
|
|
23
|
+
__slot: AppNavigationSlot
|
|
21
24
|
__type: AppNavigationVariantProps
|
|
22
|
-
(props?: AppNavigationVariantProps): Pretty<Record<
|
|
25
|
+
(props?: AppNavigationVariantProps): Pretty<Record<AppNavigationSlot, string>>
|
|
23
26
|
raw: (props?: AppNavigationVariantProps) => AppNavigationVariantProps
|
|
24
27
|
variantMap: AppNavigationVariantMap
|
|
25
28
|
variantKeys: Array<keyof AppNavigationVariant>
|
|
@@ -29,7 +32,5 @@ export interface AppNavigationRecipe {
|
|
|
29
32
|
|
|
30
33
|
/**
|
|
31
34
|
* The styles for the AppNavigation component
|
|
32
|
-
|
|
33
|
-
|
|
34
35
|
*/
|
|
35
36
|
export declare const appNavigation: AppNavigationRecipe
|
|
@@ -13,11 +13,14 @@ type AvatarGroupVariantMap = {
|
|
|
13
13
|
[key in keyof AvatarGroupVariant]: Array<AvatarGroupVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
|
|
17
|
+
|
|
16
18
|
export type AvatarGroupVariantProps = {
|
|
17
19
|
[key in keyof AvatarGroupVariant]?: ConditionalValue<AvatarGroupVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface AvatarGroupRecipe {
|
|
23
|
+
|
|
21
24
|
__type: AvatarGroupVariantProps
|
|
22
25
|
(props?: AvatarGroupVariantProps): string
|
|
23
26
|
raw: (props?: AvatarGroupVariantProps) => AvatarGroupVariantProps
|
package/recipes/avatar.d.ts
CHANGED
|
@@ -17,13 +17,16 @@ type AvatarVariantMap = {
|
|
|
17
17
|
[key in keyof AvatarVariant]: Array<AvatarVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
type AvatarSlot = "root" | "image" | "fallback"
|
|
21
|
+
|
|
20
22
|
export type AvatarVariantProps = {
|
|
21
23
|
[key in keyof AvatarVariant]?: ConditionalValue<AvatarVariant[key]> | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface AvatarRecipe {
|
|
27
|
+
__slot: AvatarSlot
|
|
25
28
|
__type: AvatarVariantProps
|
|
26
|
-
(props?: AvatarVariantProps): Pretty<Record<
|
|
29
|
+
(props?: AvatarVariantProps): Pretty<Record<AvatarSlot, string>>
|
|
27
30
|
raw: (props?: AvatarVariantProps) => AvatarVariantProps
|
|
28
31
|
variantMap: AvatarVariantMap
|
|
29
32
|
variantKeys: Array<keyof AvatarVariant>
|
package/recipes/avatar.mjs
CHANGED
package/recipes/breadcrumb.d.ts
CHANGED
|
@@ -10,13 +10,16 @@ type BreadcrumbVariantMap = {
|
|
|
10
10
|
[key in keyof BreadcrumbVariant]: Array<BreadcrumbVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type BreadcrumbSlot = "root" | "list" | "item" | "link"
|
|
14
|
+
|
|
13
15
|
export type BreadcrumbVariantProps = {
|
|
14
16
|
[key in keyof BreadcrumbVariant]?: ConditionalValue<BreadcrumbVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface BreadcrumbRecipe {
|
|
20
|
+
__slot: BreadcrumbSlot
|
|
18
21
|
__type: BreadcrumbVariantProps
|
|
19
|
-
(props?: BreadcrumbVariantProps): Pretty<Record<
|
|
22
|
+
(props?: BreadcrumbVariantProps): Pretty<Record<BreadcrumbSlot, string>>
|
|
20
23
|
raw: (props?: BreadcrumbVariantProps) => BreadcrumbVariantProps
|
|
21
24
|
variantMap: BreadcrumbVariantMap
|
|
22
25
|
variantKeys: Array<keyof BreadcrumbVariant>
|
package/recipes/breadcrumb.mjs
CHANGED
|
@@ -10,11 +10,14 @@ type ButtonFilterVariantMap = {
|
|
|
10
10
|
[key in keyof ButtonFilterVariant]: Array<ButtonFilterVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type ButtonFilterVariantProps = {
|
|
14
16
|
[key in keyof ButtonFilterVariant]?: ConditionalValue<ButtonFilterVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ButtonFilterRecipe {
|
|
20
|
+
|
|
18
21
|
__type: ButtonFilterVariantProps
|
|
19
22
|
(props?: ButtonFilterVariantProps): string
|
|
20
23
|
raw: (props?: ButtonFilterVariantProps) => ButtonFilterVariantProps
|
|
@@ -26,7 +29,5 @@ export interface ButtonFilterRecipe {
|
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* The styles for the ButtonFilter component
|
|
29
|
-
|
|
30
|
-
|
|
31
32
|
*/
|
|
32
33
|
export declare const buttonFilter: ButtonFilterRecipe
|
package/recipes/button.d.ts
CHANGED
|
@@ -21,11 +21,14 @@ type ButtonVariantMap = {
|
|
|
21
21
|
[key in keyof ButtonVariant]: Array<ButtonVariant[key]>
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
|
|
25
|
+
|
|
24
26
|
export type ButtonVariantProps = {
|
|
25
27
|
[key in keyof ButtonVariant]?: ButtonVariant[key] | undefined
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
export interface ButtonRecipe {
|
|
31
|
+
|
|
29
32
|
__type: ButtonVariantProps
|
|
30
33
|
(props?: ButtonVariantProps): string
|
|
31
34
|
raw: (props?: ButtonVariantProps) => ButtonVariantProps
|
|
@@ -37,7 +40,5 @@ export interface ButtonRecipe {
|
|
|
37
40
|
|
|
38
41
|
/**
|
|
39
42
|
* The styles for the Button component
|
|
40
|
-
|
|
41
|
-
|
|
42
43
|
*/
|
|
43
44
|
export declare const button: ButtonRecipe
|
|
@@ -10,11 +10,14 @@ type ChatDocumentMessageVariantMap = {
|
|
|
10
10
|
[key in keyof ChatDocumentMessageVariant]: Array<ChatDocumentMessageVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type ChatDocumentMessageVariantProps = {
|
|
14
16
|
[key in keyof ChatDocumentMessageVariant]?: ConditionalValue<ChatDocumentMessageVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ChatDocumentMessageRecipe {
|
|
20
|
+
|
|
18
21
|
__type: ChatDocumentMessageVariantProps
|
|
19
22
|
(props?: ChatDocumentMessageVariantProps): string
|
|
20
23
|
raw: (props?: ChatDocumentMessageVariantProps) => ChatDocumentMessageVariantProps
|
|
@@ -26,7 +29,5 @@ export interface ChatDocumentMessageRecipe {
|
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* The styles for the Chat document message component
|
|
29
|
-
|
|
30
|
-
|
|
31
32
|
*/
|
|
32
33
|
export declare const chatDocumentMessage: ChatDocumentMessageRecipe
|
|
@@ -17,11 +17,14 @@ type ChatMessageVariantMap = {
|
|
|
17
17
|
[key in keyof ChatMessageVariant]: Array<ChatMessageVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
|
|
20
22
|
export type ChatMessageVariantProps = {
|
|
21
23
|
[key in keyof ChatMessageVariant]?: ConditionalValue<ChatMessageVariant[key]> | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface ChatMessageRecipe {
|
|
27
|
+
|
|
25
28
|
__type: ChatMessageVariantProps
|
|
26
29
|
(props?: ChatMessageVariantProps): string
|
|
27
30
|
raw: (props?: ChatMessageVariantProps) => ChatMessageVariantProps
|
|
@@ -33,7 +36,5 @@ export interface ChatMessageRecipe {
|
|
|
33
36
|
|
|
34
37
|
/**
|
|
35
38
|
* The styles for the Chat message component
|
|
36
|
-
|
|
37
|
-
|
|
38
39
|
*/
|
|
39
40
|
export declare const chatMessage: ChatMessageRecipe
|
|
@@ -13,11 +13,14 @@ type ChatProfileAvatarVariantMap = {
|
|
|
13
13
|
[key in keyof ChatProfileAvatarVariant]: Array<ChatProfileAvatarVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
|
|
17
|
+
|
|
16
18
|
export type ChatProfileAvatarVariantProps = {
|
|
17
19
|
[key in keyof ChatProfileAvatarVariant]?: ConditionalValue<ChatProfileAvatarVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface ChatProfileAvatarRecipe {
|
|
23
|
+
|
|
21
24
|
__type: ChatProfileAvatarVariantProps
|
|
22
25
|
(props?: ChatProfileAvatarVariantProps): string
|
|
23
26
|
raw: (props?: ChatProfileAvatarVariantProps) => ChatProfileAvatarVariantProps
|
|
@@ -29,7 +32,5 @@ export interface ChatProfileAvatarRecipe {
|
|
|
29
32
|
|
|
30
33
|
/**
|
|
31
34
|
* The styles for the Chat profile avatar component
|
|
32
|
-
|
|
33
|
-
|
|
34
35
|
*/
|
|
35
36
|
export declare const chatProfileAvatar: ChatProfileAvatarRecipe
|
|
@@ -10,11 +10,14 @@ type ChatTextInputVariantMap = {
|
|
|
10
10
|
[key in keyof ChatTextInputVariant]: Array<ChatTextInputVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type ChatTextInputVariantProps = {
|
|
14
16
|
[key in keyof ChatTextInputVariant]?: ConditionalValue<ChatTextInputVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ChatTextInputRecipe {
|
|
20
|
+
|
|
18
21
|
__type: ChatTextInputVariantProps
|
|
19
22
|
(props?: ChatTextInputVariantProps): string
|
|
20
23
|
raw: (props?: ChatTextInputVariantProps) => ChatTextInputVariantProps
|
|
@@ -26,7 +29,5 @@ export interface ChatTextInputRecipe {
|
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* The styles for the Chat input text component
|
|
29
|
-
|
|
30
|
-
|
|
31
32
|
*/
|
|
32
33
|
export declare const chatTextInput: ChatTextInputRecipe
|
package/recipes/chat.d.ts
CHANGED
|
@@ -10,13 +10,16 @@ type ChatVariantMap = {
|
|
|
10
10
|
[key in keyof ChatVariant]: Array<ChatVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type ChatSlot = "root" | "message-container" | "message" | "document-message"
|
|
14
|
+
|
|
13
15
|
export type ChatVariantProps = {
|
|
14
16
|
[key in keyof ChatVariant]?: ConditionalValue<ChatVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ChatRecipe {
|
|
20
|
+
__slot: ChatSlot
|
|
18
21
|
__type: ChatVariantProps
|
|
19
|
-
(props?: ChatVariantProps): Pretty<Record<
|
|
22
|
+
(props?: ChatVariantProps): Pretty<Record<ChatSlot, string>>
|
|
20
23
|
raw: (props?: ChatVariantProps) => ChatVariantProps
|
|
21
24
|
variantMap: ChatVariantMap
|
|
22
25
|
variantKeys: Array<keyof ChatVariant>
|
|
@@ -26,7 +29,5 @@ export interface ChatRecipe {
|
|
|
26
29
|
|
|
27
30
|
/**
|
|
28
31
|
* The styles for the Chat component.
|
|
29
|
-
|
|
30
|
-
|
|
31
32
|
*/
|
|
32
33
|
export declare const chat: ChatRecipe
|
package/recipes/chat.mjs
CHANGED
|
@@ -13,13 +13,16 @@ type CheckboxCardVariantMap = {
|
|
|
13
13
|
[key in keyof CheckboxCardVariant]: Array<CheckboxCardVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type CheckboxCardSlot = "root" | "label" | "control" | "indicator" | "group" | "image" | "content" | "title" | "description"
|
|
17
|
+
|
|
16
18
|
export type CheckboxCardVariantProps = {
|
|
17
19
|
[key in keyof CheckboxCardVariant]?: ConditionalValue<CheckboxCardVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface CheckboxCardRecipe {
|
|
23
|
+
__slot: CheckboxCardSlot
|
|
21
24
|
__type: CheckboxCardVariantProps
|
|
22
|
-
(props?: CheckboxCardVariantProps): Pretty<Record<
|
|
25
|
+
(props?: CheckboxCardVariantProps): Pretty<Record<CheckboxCardSlot, string>>
|
|
23
26
|
raw: (props?: CheckboxCardVariantProps) => CheckboxCardVariantProps
|
|
24
27
|
variantMap: CheckboxCardVariantMap
|
|
25
28
|
variantKeys: Array<keyof CheckboxCardVariant>
|
|
@@ -10,11 +10,14 @@ type CheckboxGroupVariantMap = {
|
|
|
10
10
|
[key in keyof CheckboxGroupVariant]: Array<CheckboxGroupVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type CheckboxGroupVariantProps = {
|
|
14
16
|
[key in keyof CheckboxGroupVariant]?: ConditionalValue<CheckboxGroupVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface CheckboxGroupRecipe {
|
|
20
|
+
|
|
18
21
|
__type: CheckboxGroupVariantProps
|
|
19
22
|
(props?: CheckboxGroupVariantProps): string
|
|
20
23
|
raw: (props?: CheckboxGroupVariantProps) => CheckboxGroupVariantProps
|
package/recipes/checkbox.d.ts
CHANGED
|
@@ -13,13 +13,16 @@ type CheckboxVariantMap = {
|
|
|
13
13
|
[key in keyof CheckboxVariant]: Array<CheckboxVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type CheckboxSlot = "root" | "label" | "control" | "indicator" | "group"
|
|
17
|
+
|
|
16
18
|
export type CheckboxVariantProps = {
|
|
17
19
|
[key in keyof CheckboxVariant]?: ConditionalValue<CheckboxVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface CheckboxRecipe {
|
|
23
|
+
__slot: CheckboxSlot
|
|
21
24
|
__type: CheckboxVariantProps
|
|
22
|
-
(props?: CheckboxVariantProps): Pretty<Record<
|
|
25
|
+
(props?: CheckboxVariantProps): Pretty<Record<CheckboxSlot, string>>
|
|
23
26
|
raw: (props?: CheckboxVariantProps) => CheckboxVariantProps
|
|
24
27
|
variantMap: CheckboxVariantMap
|
|
25
28
|
variantKeys: Array<keyof CheckboxVariant>
|
package/recipes/checkbox.mjs
CHANGED
package/recipes/chip.d.ts
CHANGED
|
@@ -17,13 +17,16 @@ type ChipVariantMap = {
|
|
|
17
17
|
[key in keyof ChipVariant]: Array<ChipVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
type ChipSlot = "root" | "avatar" | "body" | "clearTrigger"
|
|
21
|
+
|
|
20
22
|
export type ChipVariantProps = {
|
|
21
23
|
[key in keyof ChipVariant]?: ConditionalValue<ChipVariant[key]> | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface ChipRecipe {
|
|
27
|
+
__slot: ChipSlot
|
|
25
28
|
__type: ChipVariantProps
|
|
26
|
-
(props?: ChipVariantProps): Pretty<Record<
|
|
29
|
+
(props?: ChipVariantProps): Pretty<Record<ChipSlot, string>>
|
|
27
30
|
raw: (props?: ChipVariantProps) => ChipVariantProps
|
|
28
31
|
variantMap: ChipVariantMap
|
|
29
32
|
variantKeys: Array<keyof ChipVariant>
|
|
@@ -33,7 +36,5 @@ export interface ChipRecipe {
|
|
|
33
36
|
|
|
34
37
|
/**
|
|
35
38
|
* The styles for the Chip component
|
|
36
|
-
|
|
37
|
-
|
|
38
39
|
*/
|
|
39
40
|
export declare const chip: ChipRecipe
|