@mekari/pixel3-theme 0.0.1 → 0.0.3
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/dist/index.js +1903 -1356
- package/dist/index.mjs +1722 -1179
- package/dist/recipes/banner.d.mts +10 -0
- package/dist/recipes/banner.d.ts +10 -0
- package/dist/recipes/dropzone.d.mts +5 -0
- package/dist/recipes/dropzone.d.ts +5 -0
- package/dist/recipes/index.d.mts +10 -0
- package/dist/recipes/index.d.ts +10 -0
- package/dist/recipes/modal.d.mts +5 -0
- package/dist/recipes/modal.d.ts +5 -0
- package/dist/recipes/upload.d.mts +6 -0
- package/dist/recipes/upload.d.ts +6 -0
- package/dist/tokens/colors.d.mts +64 -0
- package/dist/tokens/colors.d.ts +64 -0
- package/dist/tokens/index.d.mts +67 -0
- package/dist/tokens/index.d.ts +67 -0
- package/dist/tokens/sizes.d.mts +3 -0
- package/dist/tokens/sizes.d.ts +3 -0
- package/package.json +5 -5
- package/src/index.ts +3 -3
- package/src/recipes/banner.ts +143 -0
- package/src/recipes/dropzone.ts +161 -0
- package/src/recipes/index.ts +24 -2
- package/src/recipes/modal.ts +108 -0
- package/src/recipes/table.ts +7 -7
- package/src/recipes/tag.ts +9 -2
- package/src/recipes/upload.ts +99 -0
- package/src/tokens/colors.ts +24 -0
- package/src/tokens/sizes.ts +2 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as _pandacss_dev from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
declare const bannerSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
|
+
declare const bannerTitleRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
|
+
declare const bannerDescriptionRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
6
|
+
declare const bannerIconSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
7
|
+
declare const bannerLinkRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
8
|
+
declare const bannerCloseButtonRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
9
|
+
|
|
10
|
+
export { bannerCloseButtonRecipe, bannerDescriptionRecipe, bannerIconSlotRecipe, bannerLinkRecipe, bannerSlotRecipe, bannerTitleRecipe };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as _pandacss_dev from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
declare const bannerSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
|
+
declare const bannerTitleRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
|
+
declare const bannerDescriptionRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
6
|
+
declare const bannerIconSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
7
|
+
declare const bannerLinkRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
8
|
+
declare const bannerCloseButtonRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
9
|
+
|
|
10
|
+
export { bannerCloseButtonRecipe, bannerDescriptionRecipe, bannerIconSlotRecipe, bannerLinkRecipe, bannerSlotRecipe, bannerTitleRecipe };
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -18,6 +18,10 @@ declare const recipes: {
|
|
|
18
18
|
tableRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
19
19
|
tableContainerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
20
20
|
dividerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
21
|
+
bannerTitleRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
22
|
+
bannerDescriptionRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
23
|
+
bannerLinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
24
|
+
bannerCloseButtonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
21
25
|
};
|
|
22
26
|
declare const slotRecipes: {
|
|
23
27
|
accordion: _pandacss_types.SlotRecipeConfig;
|
|
@@ -35,6 +39,12 @@ declare const slotRecipes: {
|
|
|
35
39
|
selectSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
36
40
|
formControlSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
37
41
|
inputTagSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
42
|
+
modalSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
43
|
+
uploadSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
44
|
+
uploadListSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
45
|
+
dropzoneSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
46
|
+
bannerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
47
|
+
bannerIconSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
38
48
|
};
|
|
39
49
|
|
|
40
50
|
export { recipes, slotRecipes };
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -18,6 +18,10 @@ declare const recipes: {
|
|
|
18
18
|
tableRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
19
19
|
tableContainerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
20
20
|
dividerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
21
|
+
bannerTitleRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
22
|
+
bannerDescriptionRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
23
|
+
bannerLinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
24
|
+
bannerCloseButtonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
21
25
|
};
|
|
22
26
|
declare const slotRecipes: {
|
|
23
27
|
accordion: _pandacss_types.SlotRecipeConfig;
|
|
@@ -35,6 +39,12 @@ declare const slotRecipes: {
|
|
|
35
39
|
selectSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
36
40
|
formControlSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
37
41
|
inputTagSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
42
|
+
modalSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
43
|
+
uploadSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
44
|
+
uploadListSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
45
|
+
dropzoneSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
46
|
+
bannerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
47
|
+
bannerIconSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
38
48
|
};
|
|
39
49
|
|
|
40
50
|
export { recipes, slotRecipes };
|
package/dist/tokens/colors.d.mts
CHANGED
|
@@ -61,6 +61,70 @@ declare const colors: {
|
|
|
61
61
|
description: string;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
whiteAlpha: {
|
|
65
|
+
50: {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
100: {
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
200: {
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
300: {
|
|
75
|
+
value: string;
|
|
76
|
+
};
|
|
77
|
+
400: {
|
|
78
|
+
value: string;
|
|
79
|
+
};
|
|
80
|
+
500: {
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
600: {
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
700: {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
800: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
900: {
|
|
93
|
+
value: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
blackAplpha: {
|
|
97
|
+
50: {
|
|
98
|
+
value: string;
|
|
99
|
+
};
|
|
100
|
+
100: {
|
|
101
|
+
value: string;
|
|
102
|
+
};
|
|
103
|
+
200: {
|
|
104
|
+
value: string;
|
|
105
|
+
};
|
|
106
|
+
300: {
|
|
107
|
+
value: string;
|
|
108
|
+
};
|
|
109
|
+
400: {
|
|
110
|
+
value: string;
|
|
111
|
+
};
|
|
112
|
+
500: {
|
|
113
|
+
value: string;
|
|
114
|
+
};
|
|
115
|
+
600: {
|
|
116
|
+
value: string;
|
|
117
|
+
};
|
|
118
|
+
700: {
|
|
119
|
+
value: string;
|
|
120
|
+
};
|
|
121
|
+
800: {
|
|
122
|
+
value: string;
|
|
123
|
+
};
|
|
124
|
+
900: {
|
|
125
|
+
value: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
64
128
|
gray: {
|
|
65
129
|
25: {
|
|
66
130
|
value: string;
|
package/dist/tokens/colors.d.ts
CHANGED
|
@@ -61,6 +61,70 @@ declare const colors: {
|
|
|
61
61
|
description: string;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
whiteAlpha: {
|
|
65
|
+
50: {
|
|
66
|
+
value: string;
|
|
67
|
+
};
|
|
68
|
+
100: {
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
200: {
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
300: {
|
|
75
|
+
value: string;
|
|
76
|
+
};
|
|
77
|
+
400: {
|
|
78
|
+
value: string;
|
|
79
|
+
};
|
|
80
|
+
500: {
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
600: {
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
700: {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
800: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
900: {
|
|
93
|
+
value: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
blackAplpha: {
|
|
97
|
+
50: {
|
|
98
|
+
value: string;
|
|
99
|
+
};
|
|
100
|
+
100: {
|
|
101
|
+
value: string;
|
|
102
|
+
};
|
|
103
|
+
200: {
|
|
104
|
+
value: string;
|
|
105
|
+
};
|
|
106
|
+
300: {
|
|
107
|
+
value: string;
|
|
108
|
+
};
|
|
109
|
+
400: {
|
|
110
|
+
value: string;
|
|
111
|
+
};
|
|
112
|
+
500: {
|
|
113
|
+
value: string;
|
|
114
|
+
};
|
|
115
|
+
600: {
|
|
116
|
+
value: string;
|
|
117
|
+
};
|
|
118
|
+
700: {
|
|
119
|
+
value: string;
|
|
120
|
+
};
|
|
121
|
+
800: {
|
|
122
|
+
value: string;
|
|
123
|
+
};
|
|
124
|
+
900: {
|
|
125
|
+
value: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
64
128
|
gray: {
|
|
65
129
|
25: {
|
|
66
130
|
value: string;
|
package/dist/tokens/index.d.mts
CHANGED
|
@@ -76,6 +76,70 @@ declare const tokens: {
|
|
|
76
76
|
description: string;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
+
whiteAlpha: {
|
|
80
|
+
50: {
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
100: {
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
200: {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
300: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
400: {
|
|
93
|
+
value: string;
|
|
94
|
+
};
|
|
95
|
+
500: {
|
|
96
|
+
value: string;
|
|
97
|
+
};
|
|
98
|
+
600: {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
700: {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
104
|
+
800: {
|
|
105
|
+
value: string;
|
|
106
|
+
};
|
|
107
|
+
900: {
|
|
108
|
+
value: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
blackAplpha: {
|
|
112
|
+
50: {
|
|
113
|
+
value: string;
|
|
114
|
+
};
|
|
115
|
+
100: {
|
|
116
|
+
value: string;
|
|
117
|
+
};
|
|
118
|
+
200: {
|
|
119
|
+
value: string;
|
|
120
|
+
};
|
|
121
|
+
300: {
|
|
122
|
+
value: string;
|
|
123
|
+
};
|
|
124
|
+
400: {
|
|
125
|
+
value: string;
|
|
126
|
+
};
|
|
127
|
+
500: {
|
|
128
|
+
value: string;
|
|
129
|
+
};
|
|
130
|
+
600: {
|
|
131
|
+
value: string;
|
|
132
|
+
};
|
|
133
|
+
700: {
|
|
134
|
+
value: string;
|
|
135
|
+
};
|
|
136
|
+
800: {
|
|
137
|
+
value: string;
|
|
138
|
+
};
|
|
139
|
+
900: {
|
|
140
|
+
value: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
79
143
|
gray: {
|
|
80
144
|
25: {
|
|
81
145
|
value: string;
|
|
@@ -549,6 +613,9 @@ declare const tokens: {
|
|
|
549
613
|
full: {
|
|
550
614
|
value: string;
|
|
551
615
|
};
|
|
616
|
+
sm: {
|
|
617
|
+
value: string;
|
|
618
|
+
};
|
|
552
619
|
};
|
|
553
620
|
spacing: {
|
|
554
621
|
0: {
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -76,6 +76,70 @@ declare const tokens: {
|
|
|
76
76
|
description: string;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
+
whiteAlpha: {
|
|
80
|
+
50: {
|
|
81
|
+
value: string;
|
|
82
|
+
};
|
|
83
|
+
100: {
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
200: {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
300: {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
92
|
+
400: {
|
|
93
|
+
value: string;
|
|
94
|
+
};
|
|
95
|
+
500: {
|
|
96
|
+
value: string;
|
|
97
|
+
};
|
|
98
|
+
600: {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
101
|
+
700: {
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
104
|
+
800: {
|
|
105
|
+
value: string;
|
|
106
|
+
};
|
|
107
|
+
900: {
|
|
108
|
+
value: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
blackAplpha: {
|
|
112
|
+
50: {
|
|
113
|
+
value: string;
|
|
114
|
+
};
|
|
115
|
+
100: {
|
|
116
|
+
value: string;
|
|
117
|
+
};
|
|
118
|
+
200: {
|
|
119
|
+
value: string;
|
|
120
|
+
};
|
|
121
|
+
300: {
|
|
122
|
+
value: string;
|
|
123
|
+
};
|
|
124
|
+
400: {
|
|
125
|
+
value: string;
|
|
126
|
+
};
|
|
127
|
+
500: {
|
|
128
|
+
value: string;
|
|
129
|
+
};
|
|
130
|
+
600: {
|
|
131
|
+
value: string;
|
|
132
|
+
};
|
|
133
|
+
700: {
|
|
134
|
+
value: string;
|
|
135
|
+
};
|
|
136
|
+
800: {
|
|
137
|
+
value: string;
|
|
138
|
+
};
|
|
139
|
+
900: {
|
|
140
|
+
value: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
79
143
|
gray: {
|
|
80
144
|
25: {
|
|
81
145
|
value: string;
|
|
@@ -549,6 +613,9 @@ declare const tokens: {
|
|
|
549
613
|
full: {
|
|
550
614
|
value: string;
|
|
551
615
|
};
|
|
616
|
+
sm: {
|
|
617
|
+
value: string;
|
|
618
|
+
};
|
|
552
619
|
};
|
|
553
620
|
spacing: {
|
|
554
621
|
0: {
|
package/dist/tokens/sizes.d.mts
CHANGED
package/dist/tokens/sizes.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-theme",
|
|
3
3
|
"description": "Theme for mekari pixel 3",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"src"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@pandacss/dev": "0.
|
|
12
|
+
"@pandacss/dev": "0.24.1"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"vue": "^3.
|
|
15
|
+
"vue": "^3.4.9"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@pandacss/types": "0.
|
|
19
|
-
"vue": "^3.
|
|
18
|
+
"@pandacss/types": "0.24.1",
|
|
19
|
+
"vue": "^3.4.9"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|
package/src/index.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { definePreset } from '@pandacss/dev'
|
|
2
2
|
import type { Preset } from '@pandacss/types'
|
|
3
|
+
import { breakpoints } from './breakpoints'
|
|
3
4
|
import { conditions } from './conditions'
|
|
4
5
|
import { globalCss } from './global-css'
|
|
5
|
-
import { tokens } from './tokens'
|
|
6
|
-
import { textStyles } from './text-styles'
|
|
7
6
|
import { keyframes } from './keyframes'
|
|
8
7
|
import { recipes, slotRecipes } from './recipes'
|
|
9
|
-
import {
|
|
8
|
+
import { textStyles } from './text-styles'
|
|
9
|
+
import { tokens } from './tokens'
|
|
10
10
|
|
|
11
11
|
const preset: Preset = definePreset({
|
|
12
12
|
theme: {
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { defineRecipe, defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const bannerSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: 'banner',
|
|
5
|
+
jsx: ['MpBanner', 'mp-banner'],
|
|
6
|
+
slots: ['root', 'body'],
|
|
7
|
+
base: {
|
|
8
|
+
root: {
|
|
9
|
+
display: 'flex',
|
|
10
|
+
position: 'relative',
|
|
11
|
+
alignItems: 'var(--mp-banner--align-items)',
|
|
12
|
+
borderRadius: 'md',
|
|
13
|
+
paddingY: 'var(--mp-banner--padding-y)',
|
|
14
|
+
paddingX: 'var(--mp-banner--padding-x)'
|
|
15
|
+
},
|
|
16
|
+
body: {
|
|
17
|
+
display: 'flex',
|
|
18
|
+
justifyContent: 'space-between',
|
|
19
|
+
alignItems: 'center',
|
|
20
|
+
width: 'full'
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
variants: {
|
|
24
|
+
variant: {
|
|
25
|
+
info: {
|
|
26
|
+
root: { backgroundColor: 'blue.50' }
|
|
27
|
+
},
|
|
28
|
+
success: {
|
|
29
|
+
root: { backgroundColor: 'green.50' }
|
|
30
|
+
},
|
|
31
|
+
danger: {
|
|
32
|
+
root: { backgroundColor: 'red.50' }
|
|
33
|
+
},
|
|
34
|
+
warning: {
|
|
35
|
+
root: { backgroundColor: 'orange.50' }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
compoundVariants: [],
|
|
40
|
+
defaultVariants: {
|
|
41
|
+
variant: 'info'
|
|
42
|
+
}
|
|
43
|
+
})
|
|
44
|
+
|
|
45
|
+
const bannerTitleRecipe = defineRecipe({
|
|
46
|
+
className: 'banner-title',
|
|
47
|
+
jsx: ['MpBannerTitle', 'mp-banner-title'],
|
|
48
|
+
base: {
|
|
49
|
+
fontFamily: 'body',
|
|
50
|
+
fontSize: 'md',
|
|
51
|
+
fontWeight: 'semiBold',
|
|
52
|
+
lineHeight: 'md',
|
|
53
|
+
letterSpacing: 'normal',
|
|
54
|
+
color: 'dark',
|
|
55
|
+
marginTop: '0.5',
|
|
56
|
+
marginBottom: '1.5'
|
|
57
|
+
},
|
|
58
|
+
variants: {},
|
|
59
|
+
compoundVariants: [],
|
|
60
|
+
defaultVariants: {}
|
|
61
|
+
})
|
|
62
|
+
|
|
63
|
+
const bannerDescriptionRecipe = defineRecipe({
|
|
64
|
+
className: 'banner-description',
|
|
65
|
+
jsx: ['MpBannerDescription', 'mp-banner-description'],
|
|
66
|
+
base: {
|
|
67
|
+
fontFamily: 'body',
|
|
68
|
+
fontSize: 'md',
|
|
69
|
+
fontWeight: 'regular',
|
|
70
|
+
lineHeight: 'md',
|
|
71
|
+
letterSpacing: 'normal',
|
|
72
|
+
color: 'dark'
|
|
73
|
+
},
|
|
74
|
+
variants: {},
|
|
75
|
+
compoundVariants: [],
|
|
76
|
+
defaultVariants: {}
|
|
77
|
+
})
|
|
78
|
+
|
|
79
|
+
const bannerIconSlotRecipe = defineSlotRecipe({
|
|
80
|
+
className: 'banner-icon',
|
|
81
|
+
jsx: ['MpBannerIcon', 'mp-banner-icon'],
|
|
82
|
+
slots: ['root', 'custom'],
|
|
83
|
+
base: {
|
|
84
|
+
root: {
|
|
85
|
+
marginRight: '3'
|
|
86
|
+
},
|
|
87
|
+
custom: {
|
|
88
|
+
flexShrink: '0',
|
|
89
|
+
backfaceVisibility: 'hidden',
|
|
90
|
+
width: '6',
|
|
91
|
+
height: '6',
|
|
92
|
+
display: 'inline-block',
|
|
93
|
+
verticalAlign: 'middle',
|
|
94
|
+
marginRight: '3',
|
|
95
|
+
color: 'var(--mp-banner-icon--color)'
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
variants: {},
|
|
99
|
+
compoundVariants: [],
|
|
100
|
+
defaultVariants: {}
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
const bannerLinkRecipe = defineRecipe({
|
|
104
|
+
className: 'banner-link',
|
|
105
|
+
jsx: ['MpBannerLink', 'mp-banner-link'],
|
|
106
|
+
base: {
|
|
107
|
+
display: 'flex',
|
|
108
|
+
gap: '4',
|
|
109
|
+
marginBottom: 'var(--mp-banner-link--margin-bottom)',
|
|
110
|
+
marginTop: 'var(--mp-banner-link--margin-top)'
|
|
111
|
+
},
|
|
112
|
+
variants: {},
|
|
113
|
+
compoundVariants: [],
|
|
114
|
+
defaultVariants: {}
|
|
115
|
+
})
|
|
116
|
+
|
|
117
|
+
const bannerCloseButtonRecipe = defineRecipe({
|
|
118
|
+
className: 'banner-close-button',
|
|
119
|
+
jsx: ['MpBannerCloseButton', 'mp-banner-close-button'],
|
|
120
|
+
base: {
|
|
121
|
+
position: 'absolute',
|
|
122
|
+
top: 'var(--mp-banner-close-button--top)',
|
|
123
|
+
right: 'var(--mp-banner-close-button--right)',
|
|
124
|
+
display: 'inline-flex',
|
|
125
|
+
justifyContent: 'center',
|
|
126
|
+
alignItems: 'center',
|
|
127
|
+
width: '6',
|
|
128
|
+
height: '6',
|
|
129
|
+
cursor: 'pointer'
|
|
130
|
+
},
|
|
131
|
+
variants: {},
|
|
132
|
+
compoundVariants: [],
|
|
133
|
+
defaultVariants: {}
|
|
134
|
+
})
|
|
135
|
+
|
|
136
|
+
export {
|
|
137
|
+
bannerSlotRecipe,
|
|
138
|
+
bannerTitleRecipe,
|
|
139
|
+
bannerDescriptionRecipe,
|
|
140
|
+
bannerIconSlotRecipe,
|
|
141
|
+
bannerLinkRecipe,
|
|
142
|
+
bannerCloseButtonRecipe
|
|
143
|
+
}
|