@mekari/pixel3-styled-system 0.1.6 → 0.1.7
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/CHANGELOG.md +12 -0
- package/css/conditions.mjs +1 -1
- package/css/css.mjs +1 -1
- package/css/sva.mjs +9 -4
- package/helpers.mjs +11 -22
- package/jsx/create-style-context.d.ts +58 -0
- package/jsx/create-style-context.mjs +116 -0
- package/jsx/factory.mjs +13 -2
- 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/recipes/accordion-slot-recipe.d.ts +4 -1
- package/recipes/accordion-slot-recipe.mjs +1 -0
- package/recipes/airene-bubble-slot-recipe.d.ts +4 -1
- package/recipes/airene-bubble-slot-recipe.mjs +1 -0
- package/recipes/airene-button-slot-recipe.d.ts +4 -1
- package/recipes/airene-button-slot-recipe.mjs +1 -0
- package/recipes/airene-input-slot-recipe.d.ts +4 -1
- package/recipes/airene-input-slot-recipe.mjs +1 -0
- package/recipes/autocomplete-slot-recipe.d.ts +4 -1
- package/recipes/autocomplete-slot-recipe.mjs +1 -0
- package/recipes/avatar-group-slot-recipe.d.ts +4 -1
- package/recipes/avatar-group-slot-recipe.mjs +1 -0
- package/recipes/avatar-slot-recipe.d.ts +4 -1
- package/recipes/avatar-slot-recipe.mjs +1 -0
- package/recipes/badge-recipe.d.ts +3 -0
- package/recipes/banner-close-button-recipe.d.ts +3 -0
- package/recipes/banner-description-recipe.d.ts +3 -0
- package/recipes/banner-icon-slot-recipe.d.ts +4 -1
- package/recipes/banner-icon-slot-recipe.mjs +1 -0
- package/recipes/banner-link-recipe.d.ts +3 -0
- package/recipes/banner-slot-recipe.d.ts +4 -1
- package/recipes/banner-slot-recipe.mjs +1 -0
- package/recipes/banner-title-recipe.d.ts +3 -0
- package/recipes/broadcast-slot-recipe.d.ts +4 -1
- package/recipes/broadcast-slot-recipe.mjs +1 -0
- package/recipes/button-group-recipe.d.ts +3 -0
- package/recipes/button-recipe.d.ts +3 -0
- package/recipes/calendar-panel-range-recipe.d.ts +3 -0
- package/recipes/carousel-slot-recipe.d.ts +4 -1
- package/recipes/carousel-slot-recipe.mjs +1 -0
- package/recipes/chart-slot-recipe.d.ts +4 -1
- package/recipes/chart-slot-recipe.mjs +1 -0
- package/recipes/checkbox-slot-recipe.d.ts +4 -1
- package/recipes/checkbox-slot-recipe.mjs +1 -0
- package/recipes/color-picker-slot-recipe.d.ts +4 -1
- package/recipes/color-picker-slot-recipe.mjs +1 -0
- package/recipes/date-item-recipe.d.ts +3 -0
- package/recipes/date-picker-slot-recipe.d.ts +4 -1
- package/recipes/date-picker-slot-recipe.mjs +1 -0
- package/recipes/day-item-recipe.d.ts +3 -0
- package/recipes/divider-slot-recipe.d.ts +4 -1
- package/recipes/divider-slot-recipe.mjs +1 -0
- package/recipes/dropzone-slot-recipe.d.ts +4 -1
- package/recipes/dropzone-slot-recipe.mjs +1 -0
- package/recipes/form-control-slot-recipe.d.ts +4 -1
- package/recipes/form-control-slot-recipe.mjs +1 -0
- package/recipes/icon-recipe.d.ts +3 -0
- package/recipes/input-addon-slot-recipe.d.ts +4 -1
- package/recipes/input-addon-slot-recipe.mjs +1 -0
- package/recipes/input-group-slot-recipe.d.ts +4 -1
- package/recipes/input-group-slot-recipe.mjs +1 -0
- package/recipes/input-slot-recipe.d.ts +4 -1
- package/recipes/input-slot-recipe.mjs +1 -0
- package/recipes/input-tag-slot-recipe.d.ts +4 -1
- package/recipes/input-tag-slot-recipe.mjs +1 -0
- package/recipes/modal-slot-recipe.d.ts +4 -1
- package/recipes/modal-slot-recipe.mjs +1 -0
- package/recipes/month-item-recipe.d.ts +3 -0
- package/recipes/pinbar-slot-recipe.d.ts +4 -1
- package/recipes/pinbar-slot-recipe.mjs +1 -0
- package/recipes/popover-content-recipe.d.ts +3 -0
- package/recipes/popover-list-item-recipe.d.ts +3 -0
- package/recipes/popover-list-recipe.d.ts +3 -0
- package/recipes/progress-slot-recipe.d.ts +4 -1
- package/recipes/progress-slot-recipe.mjs +1 -0
- package/recipes/radio-slot-recipe.d.ts +4 -1
- package/recipes/radio-slot-recipe.mjs +1 -0
- package/recipes/rating-slot-recipe.d.ts +4 -1
- package/recipes/rating-slot-recipe.mjs +1 -0
- package/recipes/rich-text-editor-slot-recipe.d.ts +4 -1
- package/recipes/rich-text-editor-slot-recipe.mjs +1 -0
- package/recipes/rtestyle-provider-recipe.d.ts +3 -0
- package/recipes/scrollbar-recipe.d.ts +3 -0
- package/recipes/segmented-control-slot-recipe.d.ts +4 -1
- package/recipes/segmented-control-slot-recipe.mjs +1 -0
- package/recipes/select-slot-recipe.d.ts +4 -1
- package/recipes/select-slot-recipe.mjs +1 -0
- package/recipes/shared-slot-recipe.d.ts +4 -1
- package/recipes/shared-slot-recipe.mjs +1 -0
- package/recipes/skeleton-recipe.d.ts +3 -0
- package/recipes/slider-slot-recipe.d.ts +4 -1
- package/recipes/slider-slot-recipe.mjs +1 -0
- package/recipes/spinner-recipe.d.ts +3 -0
- package/recipes/tab-list-slot-recipe.d.ts +4 -1
- package/recipes/tab-list-slot-recipe.mjs +1 -0
- package/recipes/tab-recipe.d.ts +3 -0
- package/recipes/tab-selected-border-recipe.d.ts +3 -0
- package/recipes/table-container-recipe.d.ts +3 -0
- package/recipes/table-date-slot-recipe.d.ts +4 -1
- package/recipes/table-date-slot-recipe.mjs +1 -0
- package/recipes/table-month-slot-recipe.d.ts +4 -1
- package/recipes/table-month-slot-recipe.mjs +1 -0
- package/recipes/table-recipe.d.ts +3 -0
- package/recipes/table-year-slot-recipe.d.ts +4 -1
- package/recipes/table-year-slot-recipe.mjs +1 -0
- package/recipes/tag-slot-recipe.d.ts +4 -1
- package/recipes/tag-slot-recipe.mjs +1 -0
- package/recipes/text-recipe.d.ts +3 -0
- package/recipes/textarea-recipe.d.ts +3 -0
- package/recipes/textlink-recipe.d.ts +3 -0
- package/recipes/time-item-recipe.d.ts +3 -0
- package/recipes/time-panel-slot-recipe.d.ts +4 -1
- package/recipes/time-panel-slot-recipe.mjs +1 -0
- package/recipes/timeline-accordion-slot-recipe.d.ts +4 -1
- package/recipes/timeline-accordion-slot-recipe.mjs +1 -0
- package/recipes/timeline-document-slot-recipe.d.ts +4 -1
- package/recipes/timeline-document-slot-recipe.mjs +1 -0
- package/recipes/timeline-log-slot-recipe.d.ts +4 -1
- package/recipes/timeline-log-slot-recipe.mjs +1 -0
- package/recipes/timeline-separator-slot-recipe.d.ts +4 -1
- package/recipes/timeline-separator-slot-recipe.mjs +1 -0
- package/recipes/timeline-slot-recipe.d.ts +4 -1
- package/recipes/timeline-slot-recipe.mjs +1 -0
- package/recipes/toast-slot-recipe.d.ts +4 -1
- package/recipes/toast-slot-recipe.mjs +1 -0
- package/recipes/toggle-slot-recipe.d.ts +4 -1
- package/recipes/toggle-slot-recipe.mjs +1 -0
- package/recipes/tooltip-recipe.d.ts +3 -0
- package/recipes/tour-slot-recipe.d.ts +4 -1
- package/recipes/tour-slot-recipe.mjs +1 -0
- package/recipes/upload-list-slot-recipe.d.ts +4 -1
- package/recipes/upload-list-slot-recipe.mjs +1 -0
- package/recipes/upload-slot-recipe.d.ts +4 -1
- package/recipes/upload-slot-recipe.mjs +1 -0
- package/recipes/year-item-recipe.d.ts +3 -0
- package/types/composition.d.ts +83 -23
- package/types/conditions.d.ts +7 -3
- package/types/jsx.d.ts +24 -5
- package/types/prop-type.d.ts +10 -1
- package/types/style-props.d.ts +14 -1
- package/types/system-types.d.ts +76 -0
package/recipes/text-recipe.d.ts
CHANGED
|
@@ -17,11 +17,14 @@ type TextRecipeVariantMap = {
|
|
|
17
17
|
[key in keyof TextRecipeVariant]: Array<TextRecipeVariant[key]>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
|
|
21
|
+
|
|
20
22
|
export type TextRecipeVariantProps = {
|
|
21
23
|
[key in keyof TextRecipeVariant]?: ConditionalValue<TextRecipeVariant[key]> | undefined
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface TextRecipeRecipe {
|
|
27
|
+
|
|
25
28
|
__type: TextRecipeVariantProps
|
|
26
29
|
(props?: TextRecipeVariantProps): string
|
|
27
30
|
raw: (props?: TextRecipeVariantProps) => TextRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type TextareaRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TextareaRecipeVariant]: Array<TextareaRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type TextareaRecipeVariantProps = {
|
|
14
16
|
[key in keyof TextareaRecipeVariant]?: ConditionalValue<TextareaRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TextareaRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: TextareaRecipeVariantProps
|
|
19
22
|
(props?: TextareaRecipeVariantProps): string
|
|
20
23
|
raw: (props?: TextareaRecipeVariantProps) => TextareaRecipeVariantProps
|
|
@@ -13,11 +13,14 @@ type TextlinkRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof TextlinkRecipeVariant]: Array<TextlinkRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
|
|
17
|
+
|
|
16
18
|
export type TextlinkRecipeVariantProps = {
|
|
17
19
|
[key in keyof TextlinkRecipeVariant]?: TextlinkRecipeVariant[key] | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface TextlinkRecipeRecipe {
|
|
23
|
+
|
|
21
24
|
__type: TextlinkRecipeVariantProps
|
|
22
25
|
(props?: TextlinkRecipeVariantProps): string
|
|
23
26
|
raw: (props?: TextlinkRecipeVariantProps) => TextlinkRecipeVariantProps
|
|
@@ -10,11 +10,14 @@ type TimeItemRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TimeItemRecipeVariant]: Array<TimeItemRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type TimeItemRecipeVariantProps = {
|
|
14
16
|
[key in keyof TimeItemRecipeVariant]?: ConditionalValue<TimeItemRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TimeItemRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: TimeItemRecipeVariantProps
|
|
19
22
|
(props?: TimeItemRecipeVariantProps): string
|
|
20
23
|
raw: (props?: TimeItemRecipeVariantProps) => TimeItemRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type TimePanelSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TimePanelSlotRecipeVariant]: Array<TimePanelSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TimePanelSlotRecipeSlot = "root" | "column"
|
|
14
|
+
|
|
13
15
|
export type TimePanelSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TimePanelSlotRecipeVariant]?: ConditionalValue<TimePanelSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TimePanelSlotRecipeRecipe {
|
|
20
|
+
__slot: TimePanelSlotRecipeSlot
|
|
18
21
|
__type: TimePanelSlotRecipeVariantProps
|
|
19
|
-
(props?: TimePanelSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TimePanelSlotRecipeVariantProps): Pretty<Record<TimePanelSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TimePanelSlotRecipeVariantProps) => TimePanelSlotRecipeVariantProps
|
|
21
24
|
variantMap: TimePanelSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TimePanelSlotRecipeVariant>
|
|
@@ -27,6 +27,7 @@ export const timePanelSlotRecipe = /* @__PURE__ */ Object.assign(timePanelSlotRe
|
|
|
27
27
|
__recipe__: false,
|
|
28
28
|
__name__: 'timePanelSlotRecipe',
|
|
29
29
|
raw: (props) => props,
|
|
30
|
+
classNameMap: {},
|
|
30
31
|
variantKeys: timePanelSlotRecipeVariantKeys,
|
|
31
32
|
variantMap: {},
|
|
32
33
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type TimelineAccordionSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TimelineAccordionSlotRecipeVariant]: Array<TimelineAccordionSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TimelineAccordionSlotRecipeSlot = "body" | "separator" | "icon" | "topConnector" | "bottomConnector" | "title" | "label"
|
|
14
|
+
|
|
13
15
|
export type TimelineAccordionSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TimelineAccordionSlotRecipeVariant]?: ConditionalValue<TimelineAccordionSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TimelineAccordionSlotRecipeRecipe {
|
|
20
|
+
__slot: TimelineAccordionSlotRecipeSlot
|
|
18
21
|
__type: TimelineAccordionSlotRecipeVariantProps
|
|
19
|
-
(props?: TimelineAccordionSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TimelineAccordionSlotRecipeVariantProps): Pretty<Record<TimelineAccordionSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TimelineAccordionSlotRecipeVariantProps) => TimelineAccordionSlotRecipeVariantProps
|
|
21
24
|
variantMap: TimelineAccordionSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TimelineAccordionSlotRecipeVariant>
|
|
@@ -47,6 +47,7 @@ export const timelineAccordionSlotRecipe = /* @__PURE__ */ Object.assign(timelin
|
|
|
47
47
|
__recipe__: false,
|
|
48
48
|
__name__: 'timelineAccordionSlotRecipe',
|
|
49
49
|
raw: (props) => props,
|
|
50
|
+
classNameMap: {},
|
|
50
51
|
variantKeys: timelineAccordionSlotRecipeVariantKeys,
|
|
51
52
|
variantMap: {},
|
|
52
53
|
splitVariantProps(props) {
|
|
@@ -13,13 +13,16 @@ type TimelineDocumentSlotRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof TimelineDocumentSlotRecipeVariant]: Array<TimelineDocumentSlotRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type TimelineDocumentSlotRecipeSlot = "root" | "content" | "title" | "description" | "fileSize"
|
|
17
|
+
|
|
16
18
|
export type TimelineDocumentSlotRecipeVariantProps = {
|
|
17
19
|
[key in keyof TimelineDocumentSlotRecipeVariant]?: ConditionalValue<TimelineDocumentSlotRecipeVariant[key]> | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface TimelineDocumentSlotRecipeRecipe {
|
|
23
|
+
__slot: TimelineDocumentSlotRecipeSlot
|
|
21
24
|
__type: TimelineDocumentSlotRecipeVariantProps
|
|
22
|
-
(props?: TimelineDocumentSlotRecipeVariantProps): Pretty<Record<
|
|
25
|
+
(props?: TimelineDocumentSlotRecipeVariantProps): Pretty<Record<TimelineDocumentSlotRecipeSlot, string>>
|
|
23
26
|
raw: (props?: TimelineDocumentSlotRecipeVariantProps) => TimelineDocumentSlotRecipeVariantProps
|
|
24
27
|
variantMap: TimelineDocumentSlotRecipeVariantMap
|
|
25
28
|
variantKeys: Array<keyof TimelineDocumentSlotRecipeVariant>
|
|
@@ -43,6 +43,7 @@ export const timelineDocumentSlotRecipe = /* @__PURE__ */ Object.assign(timeline
|
|
|
43
43
|
__recipe__: false,
|
|
44
44
|
__name__: 'timelineDocumentSlotRecipe',
|
|
45
45
|
raw: (props) => props,
|
|
46
|
+
classNameMap: {},
|
|
46
47
|
variantKeys: timelineDocumentSlotRecipeVariantKeys,
|
|
47
48
|
variantMap: {
|
|
48
49
|
"icon": [
|
|
@@ -10,13 +10,16 @@ type TimelineLogSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TimelineLogSlotRecipeVariant]: Array<TimelineLogSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TimelineLogSlotRecipeSlot = "root" | "log" | "logText" | "logIcon" | "content" | "logItem"
|
|
14
|
+
|
|
13
15
|
export type TimelineLogSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TimelineLogSlotRecipeVariant]?: ConditionalValue<TimelineLogSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TimelineLogSlotRecipeRecipe {
|
|
20
|
+
__slot: TimelineLogSlotRecipeSlot
|
|
18
21
|
__type: TimelineLogSlotRecipeVariantProps
|
|
19
|
-
(props?: TimelineLogSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TimelineLogSlotRecipeVariantProps): Pretty<Record<TimelineLogSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TimelineLogSlotRecipeVariantProps) => TimelineLogSlotRecipeVariantProps
|
|
21
24
|
variantMap: TimelineLogSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TimelineLogSlotRecipeVariant>
|
|
@@ -43,6 +43,7 @@ export const timelineLogSlotRecipe = /* @__PURE__ */ Object.assign(timelineLogSl
|
|
|
43
43
|
__recipe__: false,
|
|
44
44
|
__name__: 'timelineLogSlotRecipe',
|
|
45
45
|
raw: (props) => props,
|
|
46
|
+
classNameMap: {},
|
|
46
47
|
variantKeys: timelineLogSlotRecipeVariantKeys,
|
|
47
48
|
variantMap: {},
|
|
48
49
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type TimelineSeparatorSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TimelineSeparatorSlotRecipeVariant]: Array<TimelineSeparatorSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TimelineSeparatorSlotRecipeSlot = "root" | "topConnector" | "bottomConnector"
|
|
14
|
+
|
|
13
15
|
export type TimelineSeparatorSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TimelineSeparatorSlotRecipeVariant]?: ConditionalValue<TimelineSeparatorSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TimelineSeparatorSlotRecipeRecipe {
|
|
20
|
+
__slot: TimelineSeparatorSlotRecipeSlot
|
|
18
21
|
__type: TimelineSeparatorSlotRecipeVariantProps
|
|
19
|
-
(props?: TimelineSeparatorSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TimelineSeparatorSlotRecipeVariantProps): Pretty<Record<TimelineSeparatorSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TimelineSeparatorSlotRecipeVariantProps) => TimelineSeparatorSlotRecipeVariantProps
|
|
21
24
|
variantMap: TimelineSeparatorSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TimelineSeparatorSlotRecipeVariant>
|
|
@@ -31,6 +31,7 @@ export const timelineSeparatorSlotRecipe = /* @__PURE__ */ Object.assign(timelin
|
|
|
31
31
|
__recipe__: false,
|
|
32
32
|
__name__: 'timelineSeparatorSlotRecipe',
|
|
33
33
|
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
34
35
|
variantKeys: timelineSeparatorSlotRecipeVariantKeys,
|
|
35
36
|
variantMap: {},
|
|
36
37
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type TimelineSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TimelineSlotRecipeVariant]: Array<TimelineSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TimelineSlotRecipeSlot = "root" | "body" | "caption" | "content" | "item"
|
|
14
|
+
|
|
13
15
|
export type TimelineSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TimelineSlotRecipeVariant]?: ConditionalValue<TimelineSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TimelineSlotRecipeRecipe {
|
|
20
|
+
__slot: TimelineSlotRecipeSlot
|
|
18
21
|
__type: TimelineSlotRecipeVariantProps
|
|
19
|
-
(props?: TimelineSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TimelineSlotRecipeVariantProps): Pretty<Record<TimelineSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TimelineSlotRecipeVariantProps) => TimelineSlotRecipeVariantProps
|
|
21
24
|
variantMap: TimelineSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TimelineSlotRecipeVariant>
|
|
@@ -39,6 +39,7 @@ export const timelineSlotRecipe = /* @__PURE__ */ Object.assign(timelineSlotReci
|
|
|
39
39
|
__recipe__: false,
|
|
40
40
|
__name__: 'timelineSlotRecipe',
|
|
41
41
|
raw: (props) => props,
|
|
42
|
+
classNameMap: {},
|
|
42
43
|
variantKeys: timelineSlotRecipeVariantKeys,
|
|
43
44
|
variantMap: {},
|
|
44
45
|
splitVariantProps(props) {
|
|
@@ -13,13 +13,16 @@ type ToastSlotRecipeVariantMap = {
|
|
|
13
13
|
[key in keyof ToastSlotRecipeVariant]: Array<ToastSlotRecipeVariant[key]>
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
type ToastSlotRecipeSlot = "root" | "icon" | "label"
|
|
17
|
+
|
|
16
18
|
export type ToastSlotRecipeVariantProps = {
|
|
17
19
|
[key in keyof ToastSlotRecipeVariant]?: ToastSlotRecipeVariant[key] | undefined
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export interface ToastSlotRecipeRecipe {
|
|
23
|
+
__slot: ToastSlotRecipeSlot
|
|
21
24
|
__type: ToastSlotRecipeVariantProps
|
|
22
|
-
(props?: ToastSlotRecipeVariantProps): Pretty<Record<
|
|
25
|
+
(props?: ToastSlotRecipeVariantProps): Pretty<Record<ToastSlotRecipeSlot, string>>
|
|
23
26
|
raw: (props?: ToastSlotRecipeVariantProps) => ToastSlotRecipeVariantProps
|
|
24
27
|
variantMap: ToastSlotRecipeVariantMap
|
|
25
28
|
variantKeys: Array<keyof ToastSlotRecipeVariant>
|
|
@@ -10,13 +10,16 @@ type ToggleSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof ToggleSlotRecipeVariant]: Array<ToggleSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type ToggleSlotRecipeSlot = "root" | "control" | "label"
|
|
14
|
+
|
|
13
15
|
export type ToggleSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof ToggleSlotRecipeVariant]?: ConditionalValue<ToggleSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface ToggleSlotRecipeRecipe {
|
|
20
|
+
__slot: ToggleSlotRecipeSlot
|
|
18
21
|
__type: ToggleSlotRecipeVariantProps
|
|
19
|
-
(props?: ToggleSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: ToggleSlotRecipeVariantProps): Pretty<Record<ToggleSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: ToggleSlotRecipeVariantProps) => ToggleSlotRecipeVariantProps
|
|
21
24
|
variantMap: ToggleSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof ToggleSlotRecipeVariant>
|
|
@@ -31,6 +31,7 @@ export const toggleSlotRecipe = /* @__PURE__ */ Object.assign(toggleSlotRecipeFn
|
|
|
31
31
|
__recipe__: false,
|
|
32
32
|
__name__: 'toggleSlotRecipe',
|
|
33
33
|
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
34
35
|
variantKeys: toggleSlotRecipeVariantKeys,
|
|
35
36
|
variantMap: {},
|
|
36
37
|
splitVariantProps(props) {
|
|
@@ -10,11 +10,14 @@ type TooltipRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TooltipRecipeVariant]: Array<TooltipRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type TooltipRecipeVariantProps = {
|
|
14
16
|
[key in keyof TooltipRecipeVariant]?: ConditionalValue<TooltipRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TooltipRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: TooltipRecipeVariantProps
|
|
19
22
|
(props?: TooltipRecipeVariantProps): string
|
|
20
23
|
raw: (props?: TooltipRecipeVariantProps) => TooltipRecipeVariantProps
|
|
@@ -10,13 +10,16 @@ type TourSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof TourSlotRecipeVariant]: Array<TourSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type TourSlotRecipeSlot = "root" | "overlay" | "panel"
|
|
14
|
+
|
|
13
15
|
export type TourSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof TourSlotRecipeVariant]?: ConditionalValue<TourSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface TourSlotRecipeRecipe {
|
|
20
|
+
__slot: TourSlotRecipeSlot
|
|
18
21
|
__type: TourSlotRecipeVariantProps
|
|
19
|
-
(props?: TourSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: TourSlotRecipeVariantProps): Pretty<Record<TourSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: TourSlotRecipeVariantProps) => TourSlotRecipeVariantProps
|
|
21
24
|
variantMap: TourSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof TourSlotRecipeVariant>
|
|
@@ -31,6 +31,7 @@ export const tourSlotRecipe = /* @__PURE__ */ Object.assign(tourSlotRecipeFn, {
|
|
|
31
31
|
__recipe__: false,
|
|
32
32
|
__name__: 'tourSlotRecipe',
|
|
33
33
|
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
34
35
|
variantKeys: tourSlotRecipeVariantKeys,
|
|
35
36
|
variantMap: {},
|
|
36
37
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type UploadListSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof UploadListSlotRecipeVariant]: Array<UploadListSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type UploadListSlotRecipeSlot = "root" | "titleWrapper" | "actionWrapper"
|
|
14
|
+
|
|
13
15
|
export type UploadListSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof UploadListSlotRecipeVariant]?: ConditionalValue<UploadListSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface UploadListSlotRecipeRecipe {
|
|
20
|
+
__slot: UploadListSlotRecipeSlot
|
|
18
21
|
__type: UploadListSlotRecipeVariantProps
|
|
19
|
-
(props?: UploadListSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: UploadListSlotRecipeVariantProps): Pretty<Record<UploadListSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: UploadListSlotRecipeVariantProps) => UploadListSlotRecipeVariantProps
|
|
21
24
|
variantMap: UploadListSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof UploadListSlotRecipeVariant>
|
|
@@ -31,6 +31,7 @@ export const uploadListSlotRecipe = /* @__PURE__ */ Object.assign(uploadListSlot
|
|
|
31
31
|
__recipe__: false,
|
|
32
32
|
__name__: 'uploadListSlotRecipe',
|
|
33
33
|
raw: (props) => props,
|
|
34
|
+
classNameMap: {},
|
|
34
35
|
variantKeys: uploadListSlotRecipeVariantKeys,
|
|
35
36
|
variantMap: {},
|
|
36
37
|
splitVariantProps(props) {
|
|
@@ -10,13 +10,16 @@ type UploadSlotRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof UploadSlotRecipeVariant]: Array<UploadSlotRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
type UploadSlotRecipeSlot = "root" | "resetButton"
|
|
14
|
+
|
|
13
15
|
export type UploadSlotRecipeVariantProps = {
|
|
14
16
|
[key in keyof UploadSlotRecipeVariant]?: ConditionalValue<UploadSlotRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface UploadSlotRecipeRecipe {
|
|
20
|
+
__slot: UploadSlotRecipeSlot
|
|
18
21
|
__type: UploadSlotRecipeVariantProps
|
|
19
|
-
(props?: UploadSlotRecipeVariantProps): Pretty<Record<
|
|
22
|
+
(props?: UploadSlotRecipeVariantProps): Pretty<Record<UploadSlotRecipeSlot, string>>
|
|
20
23
|
raw: (props?: UploadSlotRecipeVariantProps) => UploadSlotRecipeVariantProps
|
|
21
24
|
variantMap: UploadSlotRecipeVariantMap
|
|
22
25
|
variantKeys: Array<keyof UploadSlotRecipeVariant>
|
|
@@ -27,6 +27,7 @@ export const uploadSlotRecipe = /* @__PURE__ */ Object.assign(uploadSlotRecipeFn
|
|
|
27
27
|
__recipe__: false,
|
|
28
28
|
__name__: 'uploadSlotRecipe',
|
|
29
29
|
raw: (props) => props,
|
|
30
|
+
classNameMap: {},
|
|
30
31
|
variantKeys: uploadSlotRecipeVariantKeys,
|
|
31
32
|
variantMap: {},
|
|
32
33
|
splitVariantProps(props) {
|
|
@@ -10,11 +10,14 @@ type YearItemRecipeVariantMap = {
|
|
|
10
10
|
[key in keyof YearItemRecipeVariant]: Array<YearItemRecipeVariant[key]>
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
|
|
14
|
+
|
|
13
15
|
export type YearItemRecipeVariantProps = {
|
|
14
16
|
[key in keyof YearItemRecipeVariant]?: ConditionalValue<YearItemRecipeVariant[key]> | undefined
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
export interface YearItemRecipeRecipe {
|
|
20
|
+
|
|
18
21
|
__type: YearItemRecipeVariantProps
|
|
19
22
|
(props?: YearItemRecipeVariantProps): string
|
|
20
23
|
raw: (props?: YearItemRecipeVariantProps) => YearItemRecipeVariantProps
|
package/types/composition.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ interface Recursive<T> {
|
|
|
15
15
|
* -----------------------------------------------------------------------------*/
|
|
16
16
|
|
|
17
17
|
type TextStyleProperty =
|
|
18
|
+
| 'color'
|
|
19
|
+
| 'direction'
|
|
18
20
|
| 'font'
|
|
19
21
|
| 'fontFamily'
|
|
20
22
|
| 'fontFeatureSettings'
|
|
@@ -35,6 +37,7 @@ type TextStyleProperty =
|
|
|
35
37
|
| 'fontVariantPosition'
|
|
36
38
|
| 'fontVariationSettings'
|
|
37
39
|
| 'fontWeight'
|
|
40
|
+
| 'hangingPunctuation'
|
|
38
41
|
| 'hypens'
|
|
39
42
|
| 'hyphenateCharacter'
|
|
40
43
|
| 'hyphenateLimitChars'
|
|
@@ -43,11 +46,17 @@ type TextStyleProperty =
|
|
|
43
46
|
| 'lineHeight'
|
|
44
47
|
| 'quotes'
|
|
45
48
|
| 'overflowWrap'
|
|
49
|
+
| 'tabSize'
|
|
50
|
+
| 'textAlign'
|
|
51
|
+
| 'textAlignLast'
|
|
46
52
|
| 'textCombineUpright'
|
|
47
53
|
| 'textDecoration'
|
|
48
54
|
| 'textDecorationColor'
|
|
49
55
|
| 'textDecorationLine'
|
|
56
|
+
| 'textDecorationSkip'
|
|
57
|
+
| 'textDecorationSkipBox'
|
|
50
58
|
| 'textDecorationSkipInk'
|
|
59
|
+
| 'textDecorationSkipInset'
|
|
51
60
|
| 'textDecorationStyle'
|
|
52
61
|
| 'textDecorationThickness'
|
|
53
62
|
| 'textEmphasis'
|
|
@@ -60,16 +69,21 @@ type TextStyleProperty =
|
|
|
60
69
|
| 'textOverflow'
|
|
61
70
|
| 'textRendering'
|
|
62
71
|
| 'textShadow'
|
|
72
|
+
| 'textStroke'
|
|
73
|
+
| 'textStrokeColor'
|
|
74
|
+
| 'textStrokeWidth'
|
|
63
75
|
| 'textTransform'
|
|
64
76
|
| 'textUnderlineOffset'
|
|
65
77
|
| 'textUnderlinePosition'
|
|
66
78
|
| 'textWrap'
|
|
67
79
|
| 'textWrapMode'
|
|
68
80
|
| 'textWrapStyle'
|
|
81
|
+
| 'unicodeBidi'
|
|
69
82
|
| 'verticalAlign'
|
|
70
83
|
| 'whiteSpace'
|
|
71
84
|
| 'wordBreak'
|
|
72
85
|
| 'wordSpacing'
|
|
86
|
+
| 'writingMode'
|
|
73
87
|
|
|
74
88
|
export type TextStyle = CompositionStyleObject<TextStyleProperty>
|
|
75
89
|
|
|
@@ -79,17 +93,11 @@ export type TextStyles = Recursive<Token<TextStyle>>
|
|
|
79
93
|
* Layer styles
|
|
80
94
|
* -----------------------------------------------------------------------------*/
|
|
81
95
|
|
|
82
|
-
type
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
| 'Inline'
|
|
88
|
-
| 'Block'
|
|
89
|
-
| 'InlineStart'
|
|
90
|
-
| 'InlineEnd'
|
|
91
|
-
| 'BlockStart'
|
|
92
|
-
| 'BlockEnd'
|
|
96
|
+
type LogicalPlacement = 'Inline' | 'Block' | 'InlineStart' | 'InlineEnd' | 'BlockStart' | 'BlockEnd'
|
|
97
|
+
|
|
98
|
+
type PhysicalPlacement = 'Top' | 'Right' | 'Bottom' | 'Left'
|
|
99
|
+
|
|
100
|
+
type Placement = PhysicalPlacement | LogicalPlacement
|
|
93
101
|
|
|
94
102
|
type Radius =
|
|
95
103
|
| `Top${'Right' | 'Left'}`
|
|
@@ -98,20 +106,80 @@ type Radius =
|
|
|
98
106
|
| `End${'Start' | 'End'}`
|
|
99
107
|
|
|
100
108
|
type LayerStyleProperty =
|
|
109
|
+
| 'aspectRatio'
|
|
101
110
|
| 'background'
|
|
102
111
|
| 'backgroundColor'
|
|
103
112
|
| 'backgroundImage'
|
|
104
|
-
| 'borderRadius'
|
|
105
113
|
| 'border'
|
|
106
|
-
| 'borderWidth'
|
|
107
114
|
| 'borderColor'
|
|
115
|
+
| 'borderImage'
|
|
116
|
+
| 'borderImageOutset'
|
|
117
|
+
| 'borderImageRepeat'
|
|
118
|
+
| 'borderImageSlice'
|
|
119
|
+
| 'borderImageSource'
|
|
120
|
+
| 'borderImageWidth'
|
|
121
|
+
| 'borderRadius'
|
|
108
122
|
| 'borderStyle'
|
|
123
|
+
| 'borderWidth'
|
|
124
|
+
| `border${Placement}`
|
|
125
|
+
| `border${Placement}Color`
|
|
126
|
+
| `border${Placement}Style`
|
|
127
|
+
| `border${Placement}Width`
|
|
128
|
+
| 'borderRadius'
|
|
129
|
+
| `border${Radius}Radius`
|
|
109
130
|
| 'boxShadow'
|
|
131
|
+
| 'boxShadowColor'
|
|
132
|
+
| 'clipPath'
|
|
133
|
+
| 'color'
|
|
134
|
+
| 'contain'
|
|
135
|
+
| 'content'
|
|
136
|
+
| 'contentVisibility'
|
|
137
|
+
| 'cursor'
|
|
138
|
+
| 'display'
|
|
110
139
|
| 'filter'
|
|
111
140
|
| 'backdropFilter'
|
|
112
|
-
| '
|
|
113
|
-
| '
|
|
141
|
+
| 'height'
|
|
142
|
+
| 'width'
|
|
143
|
+
| 'minHeight'
|
|
144
|
+
| 'minWidth'
|
|
145
|
+
| 'maxHeight'
|
|
146
|
+
| 'maxWidth'
|
|
147
|
+
| `margin${Placement}`
|
|
148
|
+
| 'inset'
|
|
149
|
+
| `inset${LogicalPlacement}`
|
|
150
|
+
| Lowercase<PhysicalPlacement>
|
|
151
|
+
| 'isolation'
|
|
152
|
+
| 'mask'
|
|
153
|
+
| 'maskClip'
|
|
154
|
+
| 'maskComposite'
|
|
155
|
+
| 'maskImage'
|
|
156
|
+
| 'maskMode'
|
|
157
|
+
| 'maskOrigin'
|
|
158
|
+
| 'maskPosition'
|
|
159
|
+
| 'maskRepeat'
|
|
160
|
+
| 'maskSize'
|
|
161
|
+
| 'mixBlendMode'
|
|
162
|
+
| 'objectFit'
|
|
163
|
+
| 'objectPosition'
|
|
114
164
|
| 'opacity'
|
|
165
|
+
| 'outline'
|
|
166
|
+
| 'outlineColor'
|
|
167
|
+
| 'outlineOffset'
|
|
168
|
+
| 'outlineStyle'
|
|
169
|
+
| 'outlineWidth'
|
|
170
|
+
| 'overflow'
|
|
171
|
+
| 'overflowX'
|
|
172
|
+
| 'overflowY'
|
|
173
|
+
| 'padding'
|
|
174
|
+
| `padding${Placement}`
|
|
175
|
+
| 'pointerEvents'
|
|
176
|
+
| 'position'
|
|
177
|
+
| 'resize'
|
|
178
|
+
| 'transform'
|
|
179
|
+
| 'transition'
|
|
180
|
+
| 'visibility'
|
|
181
|
+
| 'willChange'
|
|
182
|
+
| 'zIndex'
|
|
115
183
|
| 'backgroundBlendMode'
|
|
116
184
|
| 'backgroundAttachment'
|
|
117
185
|
| 'backgroundClip'
|
|
@@ -119,14 +187,6 @@ type LayerStyleProperty =
|
|
|
119
187
|
| 'backgroundPosition'
|
|
120
188
|
| 'backgroundRepeat'
|
|
121
189
|
| 'backgroundSize'
|
|
122
|
-
| `border${Placement}`
|
|
123
|
-
| `border${Placement}Width`
|
|
124
|
-
| 'borderRadius'
|
|
125
|
-
| `border${Radius}Radius`
|
|
126
|
-
| `border${Placement}Color`
|
|
127
|
-
| `border${Placement}Style`
|
|
128
|
-
| 'padding'
|
|
129
|
-
| `padding${Placement}`
|
|
130
190
|
|
|
131
191
|
export type LayerStyle = CompositionStyleObject<LayerStyleProperty>
|
|
132
192
|
|
package/types/conditions.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export interface Conditions {
|
|
|
46
46
|
"_firstLetter": string
|
|
47
47
|
/** `&::first-line` */
|
|
48
48
|
"_firstLine": string
|
|
49
|
-
/**
|
|
49
|
+
/** `&:is(::marker, ::-webkit-details-marker)` */
|
|
50
50
|
"_marker": string
|
|
51
51
|
/** `&::selection` */
|
|
52
52
|
"_selection": string
|
|
@@ -194,9 +194,9 @@ export interface Conditions {
|
|
|
194
194
|
"_lessContrast": string
|
|
195
195
|
/** `@media (prefers-contrast: more)` */
|
|
196
196
|
"_moreContrast": string
|
|
197
|
-
/**
|
|
197
|
+
/** `:where([dir=ltr], :dir(ltr)) &` */
|
|
198
198
|
"_ltr": string
|
|
199
|
-
/**
|
|
199
|
+
/** `:where([dir=rtl], :dir(rtl)) &` */
|
|
200
200
|
"_rtl": string
|
|
201
201
|
/** `&::-webkit-scrollbar` */
|
|
202
202
|
"_scrollbar": string
|
|
@@ -212,6 +212,10 @@ export interface Conditions {
|
|
|
212
212
|
"_icon": string
|
|
213
213
|
/** `@starting-style` */
|
|
214
214
|
"_starting": string
|
|
215
|
+
/** `@media (scripting: none)` */
|
|
216
|
+
"_noscript": string
|
|
217
|
+
/** `@media (inverted-colors: inverted)` */
|
|
218
|
+
"_invertedColors": string
|
|
215
219
|
/** `&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])` */
|
|
216
220
|
"_collapsed": string
|
|
217
221
|
/** `&[data-has-icon=true]` */
|