@mekari/pixel3-theme 0.0.8 → 0.0.9-dev.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/dist/index.js +403 -39
- package/dist/index.mjs +373 -9
- package/dist/recipes/carousel.d.mts +5 -0
- package/dist/recipes/carousel.d.ts +5 -0
- package/dist/recipes/date-picker.d.mts +14 -0
- package/dist/recipes/date-picker.d.ts +14 -0
- package/dist/recipes/index.d.mts +11 -0
- package/dist/recipes/index.d.ts +11 -0
- package/package.json +1 -1
- package/src/recipes/carousel.ts +50 -0
- package/src/recipes/date-picker.ts +320 -0
- package/src/recipes/index.ts +26 -2
package/dist/index.mjs
CHANGED
|
@@ -2969,9 +2969,362 @@ var RTEStyleProviderRecipe = defineRecipe12({
|
|
|
2969
2969
|
defaultVariants: {}
|
|
2970
2970
|
});
|
|
2971
2971
|
|
|
2972
|
+
// src/recipes/date-picker.ts
|
|
2973
|
+
import { defineSlotRecipe as defineSlotRecipe20, defineRecipe as defineRecipe13 } from "@pandacss/dev";
|
|
2974
|
+
var datePickerSlotRecipe = defineSlotRecipe20({
|
|
2975
|
+
className: "datepicker",
|
|
2976
|
+
jsx: ["MpDatePicker", "mp-date-picker"],
|
|
2977
|
+
slots: ["root", "popoverContent"],
|
|
2978
|
+
base: {
|
|
2979
|
+
"root": {
|
|
2980
|
+
width: "100%",
|
|
2981
|
+
position: "relative"
|
|
2982
|
+
},
|
|
2983
|
+
popoverContent: {
|
|
2984
|
+
minWidth: "280px",
|
|
2985
|
+
padding: 4
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
});
|
|
2989
|
+
var calendarPanelRangeRecipe = defineRecipe13({
|
|
2990
|
+
className: "calendarPanelRange",
|
|
2991
|
+
base: {
|
|
2992
|
+
display: "grid",
|
|
2993
|
+
gap: 4,
|
|
2994
|
+
gridTemplateColumns: "2"
|
|
2995
|
+
}
|
|
2996
|
+
});
|
|
2997
|
+
var tableDateSlotRecipe = defineSlotRecipe20({
|
|
2998
|
+
className: "tableDate",
|
|
2999
|
+
jsx: ["TableDate", "table-date"],
|
|
3000
|
+
slots: ["headerRoot", "headerLabel", "dayWrapper", "dateItemRoot", "dateItemWrapper", "shortcutLabelWrapper"],
|
|
3001
|
+
base: {
|
|
3002
|
+
headerRoot: { display: "flex", justifyContent: "space-between", alignItems: "center" },
|
|
3003
|
+
headerLabel: { cursor: "pointer", fontWeight: "semiBold" },
|
|
3004
|
+
dayWrapper: { display: "flex", marginTop: 3 },
|
|
3005
|
+
dateItemRoot: { display: "flex", flexDirection: "column", gap: 1, marginTop: "1.5" },
|
|
3006
|
+
dateItemWrapper: { display: "flex" },
|
|
3007
|
+
shortcutLabelWrapper: { display: "flex", justifyContent: "center", alignItems: "center", marginTop: 3 }
|
|
3008
|
+
}
|
|
3009
|
+
});
|
|
3010
|
+
var tableMonthSlotRecipe = defineSlotRecipe20({
|
|
3011
|
+
className: "tableMonth",
|
|
3012
|
+
jsx: ["TableMonth", "table-month"],
|
|
3013
|
+
slots: ["headerRoot", "headerLabel", "monthItemRoot", "monthItemWrapper", "shortcutLabelWrapper"],
|
|
3014
|
+
base: {
|
|
3015
|
+
headerRoot: { display: "flex", justifyContent: "space-between", alignItems: "center" },
|
|
3016
|
+
headerLabel: { cursor: "pointer", fontWeight: "semiBold" },
|
|
3017
|
+
monthItemRoot: { display: "flex", flexDirection: "column", gap: 1, marginTop: "3" },
|
|
3018
|
+
monthItemWrapper: { display: "grid", gridTemplateColumns: "3" },
|
|
3019
|
+
shortcutLabelWrapper: { display: "flex", justifyContent: "center", alignItems: "center", marginTop: 3 }
|
|
3020
|
+
}
|
|
3021
|
+
});
|
|
3022
|
+
var tableYearSlotRecipe = defineSlotRecipe20({
|
|
3023
|
+
className: "tableYear",
|
|
3024
|
+
jsx: ["TableYear", "table-year"],
|
|
3025
|
+
slots: ["headerRoot", "headerLabel", "yearItemRoot", "yearItemWrapper", "shortcutLabelWrapper"],
|
|
3026
|
+
base: {
|
|
3027
|
+
headerRoot: { display: "flex", justifyContent: "space-between", alignItems: "center" },
|
|
3028
|
+
headerLabel: { fontWeight: "semiBold" },
|
|
3029
|
+
yearItemRoot: { display: "flex", flexDirection: "column", gap: 1, marginTop: "3" },
|
|
3030
|
+
yearItemWrapper: { display: "grid", gridTemplateColumns: "4" },
|
|
3031
|
+
shortcutLabelWrapper: { display: "flex", justifyContent: "center", alignItems: "center", marginTop: 3 }
|
|
3032
|
+
}
|
|
3033
|
+
});
|
|
3034
|
+
var dayItemRecipe = defineRecipe13({
|
|
3035
|
+
className: "day",
|
|
3036
|
+
jsx: ["Day", "day"],
|
|
3037
|
+
base: {
|
|
3038
|
+
width: "36px",
|
|
3039
|
+
height: "36px",
|
|
3040
|
+
display: "flex",
|
|
3041
|
+
flexDirection: "column",
|
|
3042
|
+
justifyContent: "center",
|
|
3043
|
+
alignItems: "center",
|
|
3044
|
+
flexShrink: 0,
|
|
3045
|
+
borderWidth: "1px",
|
|
3046
|
+
borderColor: "transparent",
|
|
3047
|
+
cursor: "pointer",
|
|
3048
|
+
color: "gray.600",
|
|
3049
|
+
fontSize: "sm",
|
|
3050
|
+
textAlign: "center"
|
|
3051
|
+
}
|
|
3052
|
+
});
|
|
3053
|
+
var dateItemRecipe = defineRecipe13({
|
|
3054
|
+
className: "dateItem",
|
|
3055
|
+
jsx: ["DateItem", "date-item", "Date", "date"],
|
|
3056
|
+
base: {
|
|
3057
|
+
position: "relative",
|
|
3058
|
+
width: "36px",
|
|
3059
|
+
height: "36px",
|
|
3060
|
+
display: "flex",
|
|
3061
|
+
flexDirection: "column",
|
|
3062
|
+
justifyContent: "center",
|
|
3063
|
+
alignItems: "center",
|
|
3064
|
+
flexShrink: 0,
|
|
3065
|
+
borderWidth: "1px",
|
|
3066
|
+
borderColor: "transparent",
|
|
3067
|
+
cursor: "pointer",
|
|
3068
|
+
fontSize: "md",
|
|
3069
|
+
transition: "box-shadow 300ms",
|
|
3070
|
+
_disabled: {
|
|
3071
|
+
color: "gray.400",
|
|
3072
|
+
cursor: "not-allowed",
|
|
3073
|
+
borderColor: "transparent",
|
|
3074
|
+
backgroundColor: "transparent"
|
|
3075
|
+
}
|
|
3076
|
+
},
|
|
3077
|
+
variants: {
|
|
3078
|
+
status: {
|
|
3079
|
+
default: {
|
|
3080
|
+
rounded: "sm",
|
|
3081
|
+
_hover: {
|
|
3082
|
+
borderColor: "gray.50",
|
|
3083
|
+
background: "gray.50"
|
|
3084
|
+
},
|
|
3085
|
+
_focus: {
|
|
3086
|
+
borderColor: "blue.400",
|
|
3087
|
+
background: "transparent",
|
|
3088
|
+
shadow: "outer"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
selected: {
|
|
3092
|
+
rounded: "sm",
|
|
3093
|
+
borderColor: "blue.400",
|
|
3094
|
+
backgroundColor: "blue.400",
|
|
3095
|
+
color: "white"
|
|
3096
|
+
},
|
|
3097
|
+
range: {
|
|
3098
|
+
borderColor: "ice.50",
|
|
3099
|
+
backgroundColor: "ice.50"
|
|
3100
|
+
},
|
|
3101
|
+
today: {
|
|
3102
|
+
rounded: "sm",
|
|
3103
|
+
borderColor: "orange.50",
|
|
3104
|
+
backgroundColor: "orange.50"
|
|
3105
|
+
},
|
|
3106
|
+
notThisMonth: {
|
|
3107
|
+
color: "gray.600"
|
|
3108
|
+
},
|
|
3109
|
+
disabled: {},
|
|
3110
|
+
// Week
|
|
3111
|
+
weekHoveredStart: {
|
|
3112
|
+
roundedLeft: "sm",
|
|
3113
|
+
borderColor: "gray.50",
|
|
3114
|
+
background: "gray.50"
|
|
3115
|
+
},
|
|
3116
|
+
weekHoveredMiddle: {
|
|
3117
|
+
borderColor: "gray.50",
|
|
3118
|
+
background: "gray.50"
|
|
3119
|
+
},
|
|
3120
|
+
weekHoveredEnd: {
|
|
3121
|
+
roundedRight: "sm",
|
|
3122
|
+
borderColor: "gray.50",
|
|
3123
|
+
background: "gray.50"
|
|
3124
|
+
},
|
|
3125
|
+
weekSelectedStart: {
|
|
3126
|
+
roundedLeft: "sm",
|
|
3127
|
+
borderColor: "blue.400",
|
|
3128
|
+
background: "blue.400",
|
|
3129
|
+
color: "white"
|
|
3130
|
+
},
|
|
3131
|
+
weekSelectedMiddle: {
|
|
3132
|
+
borderColor: "blue.400",
|
|
3133
|
+
background: "blue.400",
|
|
3134
|
+
color: "white"
|
|
3135
|
+
},
|
|
3136
|
+
weekSelectedEnd: {
|
|
3137
|
+
roundedRight: "sm",
|
|
3138
|
+
borderColor: "blue.400",
|
|
3139
|
+
background: "blue.400",
|
|
3140
|
+
color: "white"
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
},
|
|
3144
|
+
staticCss: ["*"]
|
|
3145
|
+
});
|
|
3146
|
+
var pinbarSlotRecipe = defineSlotRecipe20({
|
|
3147
|
+
className: "pinbar",
|
|
3148
|
+
slots: ["root", "pinbar"],
|
|
3149
|
+
base: {
|
|
3150
|
+
root: {
|
|
3151
|
+
position: "absolute",
|
|
3152
|
+
bottom: 0,
|
|
3153
|
+
height: 1,
|
|
3154
|
+
display: "flex",
|
|
3155
|
+
justifyContent: "center"
|
|
3156
|
+
},
|
|
3157
|
+
pinbar: {
|
|
3158
|
+
width: 6,
|
|
3159
|
+
height: 1,
|
|
3160
|
+
borderRadius: "2px",
|
|
3161
|
+
background: "orange.500"
|
|
3162
|
+
}
|
|
3163
|
+
}
|
|
3164
|
+
});
|
|
3165
|
+
var monthItemRecipe = defineRecipe13({
|
|
3166
|
+
className: "monthItem",
|
|
3167
|
+
jsx: ["MonthItem", "month-item"],
|
|
3168
|
+
base: {
|
|
3169
|
+
width: "full",
|
|
3170
|
+
height: "36px",
|
|
3171
|
+
display: "flex",
|
|
3172
|
+
flexDirection: "column",
|
|
3173
|
+
justifyContent: "center",
|
|
3174
|
+
alignItems: "center",
|
|
3175
|
+
flexShrink: 0,
|
|
3176
|
+
borderWidth: "1px",
|
|
3177
|
+
borderColor: "transparent",
|
|
3178
|
+
cursor: "pointer",
|
|
3179
|
+
_disabled: {
|
|
3180
|
+
color: "gray.400",
|
|
3181
|
+
cursor: "not-allowed",
|
|
3182
|
+
borderColor: "transparent",
|
|
3183
|
+
backgroundColor: "transparent"
|
|
3184
|
+
}
|
|
3185
|
+
},
|
|
3186
|
+
variants: {
|
|
3187
|
+
status: {
|
|
3188
|
+
disabled: {},
|
|
3189
|
+
default: {
|
|
3190
|
+
rounded: "sm",
|
|
3191
|
+
_hover: {
|
|
3192
|
+
borderColor: "gray.50",
|
|
3193
|
+
background: "gray.50"
|
|
3194
|
+
},
|
|
3195
|
+
_focus: {
|
|
3196
|
+
borderColor: "blue.400",
|
|
3197
|
+
background: "transparent",
|
|
3198
|
+
shadow: "outer"
|
|
3199
|
+
}
|
|
3200
|
+
},
|
|
3201
|
+
selected: {
|
|
3202
|
+
rounded: "sm",
|
|
3203
|
+
borderColor: "blue.400",
|
|
3204
|
+
backgroundColor: "blue.400",
|
|
3205
|
+
color: "white"
|
|
3206
|
+
},
|
|
3207
|
+
range: {
|
|
3208
|
+
borderColor: "ice.50",
|
|
3209
|
+
backgroundColor: "ice.50"
|
|
3210
|
+
},
|
|
3211
|
+
today: {
|
|
3212
|
+
rounded: "sm",
|
|
3213
|
+
borderColor: "orange.50",
|
|
3214
|
+
backgroundColor: "orange.50"
|
|
3215
|
+
}
|
|
3216
|
+
}
|
|
3217
|
+
},
|
|
3218
|
+
staticCss: ["*"]
|
|
3219
|
+
});
|
|
3220
|
+
var yearItemRecipe = defineRecipe13({
|
|
3221
|
+
className: "yearItem",
|
|
3222
|
+
jsx: ["YearItem", "year-item"],
|
|
3223
|
+
base: {
|
|
3224
|
+
width: "full",
|
|
3225
|
+
height: "36px",
|
|
3226
|
+
display: "flex",
|
|
3227
|
+
flexDirection: "column",
|
|
3228
|
+
justifyContent: "center",
|
|
3229
|
+
alignItems: "center",
|
|
3230
|
+
flexShrink: 0,
|
|
3231
|
+
borderWidth: "1px",
|
|
3232
|
+
borderColor: "transparent",
|
|
3233
|
+
cursor: "pointer",
|
|
3234
|
+
_disabled: {
|
|
3235
|
+
color: "gray.400",
|
|
3236
|
+
cursor: "not-allowed",
|
|
3237
|
+
borderColor: "transparent",
|
|
3238
|
+
backgroundColor: "transparent"
|
|
3239
|
+
}
|
|
3240
|
+
},
|
|
3241
|
+
variants: {
|
|
3242
|
+
status: {
|
|
3243
|
+
disabled: {},
|
|
3244
|
+
default: {
|
|
3245
|
+
rounded: "sm",
|
|
3246
|
+
_hover: {
|
|
3247
|
+
borderColor: "gray.50",
|
|
3248
|
+
background: "gray.50"
|
|
3249
|
+
},
|
|
3250
|
+
_focus: {
|
|
3251
|
+
borderColor: "blue.400",
|
|
3252
|
+
background: "transparent",
|
|
3253
|
+
shadow: "outer"
|
|
3254
|
+
}
|
|
3255
|
+
},
|
|
3256
|
+
selected: {
|
|
3257
|
+
rounded: "sm",
|
|
3258
|
+
borderColor: "blue.400",
|
|
3259
|
+
backgroundColor: "blue.400",
|
|
3260
|
+
color: "white"
|
|
3261
|
+
},
|
|
3262
|
+
range: {
|
|
3263
|
+
borderColor: "ice.50",
|
|
3264
|
+
backgroundColor: "ice.50"
|
|
3265
|
+
},
|
|
3266
|
+
today: {
|
|
3267
|
+
rounded: "sm",
|
|
3268
|
+
borderColor: "orange.50",
|
|
3269
|
+
backgroundColor: "orange.50"
|
|
3270
|
+
}
|
|
3271
|
+
}
|
|
3272
|
+
},
|
|
3273
|
+
staticCss: ["*"]
|
|
3274
|
+
});
|
|
3275
|
+
|
|
3276
|
+
// src/recipes/carousel.ts
|
|
3277
|
+
import { defineSlotRecipe as defineSlotRecipe21 } from "@pandacss/dev";
|
|
3278
|
+
var carouselSlotRecipe = defineSlotRecipe21({
|
|
3279
|
+
className: "carousel",
|
|
3280
|
+
jsx: ["MpCarousel", "mp-carousel"],
|
|
3281
|
+
slots: [
|
|
3282
|
+
"root",
|
|
3283
|
+
"buttonRight",
|
|
3284
|
+
"buttonLeft"
|
|
3285
|
+
],
|
|
3286
|
+
base: {
|
|
3287
|
+
root: {
|
|
3288
|
+
display: "block",
|
|
3289
|
+
position: "relative",
|
|
3290
|
+
width: "full",
|
|
3291
|
+
background: "gray.50",
|
|
3292
|
+
borderRadius: "md",
|
|
3293
|
+
borderWidth: "1px",
|
|
3294
|
+
borderColor: "gray.100",
|
|
3295
|
+
overflow: "hidden",
|
|
3296
|
+
boxSizing: "border-box"
|
|
3297
|
+
},
|
|
3298
|
+
buttonRight: {
|
|
3299
|
+
display: "flex",
|
|
3300
|
+
justifyContent: "center",
|
|
3301
|
+
alignItems: "center",
|
|
3302
|
+
position: "absolute",
|
|
3303
|
+
width: "9",
|
|
3304
|
+
height: "9",
|
|
3305
|
+
right: "6",
|
|
3306
|
+
top: "50%",
|
|
3307
|
+
transform: "translateY(-50%)",
|
|
3308
|
+
borderRadius: "full"
|
|
3309
|
+
},
|
|
3310
|
+
buttonLeft: {
|
|
3311
|
+
display: "flex",
|
|
3312
|
+
justifyContent: "center",
|
|
3313
|
+
alignItems: "center",
|
|
3314
|
+
position: "absolute",
|
|
3315
|
+
width: "9",
|
|
3316
|
+
height: "9",
|
|
3317
|
+
left: "6",
|
|
3318
|
+
top: "50%",
|
|
3319
|
+
transform: "translateY(-50%)",
|
|
3320
|
+
borderRadius: "full"
|
|
3321
|
+
}
|
|
3322
|
+
}
|
|
3323
|
+
});
|
|
3324
|
+
|
|
2972
3325
|
// src/recipes/banner.ts
|
|
2973
|
-
import { defineRecipe as
|
|
2974
|
-
var bannerSlotRecipe =
|
|
3326
|
+
import { defineRecipe as defineRecipe14, defineSlotRecipe as defineSlotRecipe22 } from "@pandacss/dev";
|
|
3327
|
+
var bannerSlotRecipe = defineSlotRecipe22({
|
|
2975
3328
|
className: "banner",
|
|
2976
3329
|
jsx: ["MpBanner", "mp-banner"],
|
|
2977
3330
|
slots: ["root", "body"],
|
|
@@ -3012,7 +3365,7 @@ var bannerSlotRecipe = defineSlotRecipe20({
|
|
|
3012
3365
|
variant: "info"
|
|
3013
3366
|
}
|
|
3014
3367
|
});
|
|
3015
|
-
var bannerTitleRecipe =
|
|
3368
|
+
var bannerTitleRecipe = defineRecipe14({
|
|
3016
3369
|
className: "banner-title",
|
|
3017
3370
|
jsx: ["MpBannerTitle", "mp-banner-title"],
|
|
3018
3371
|
base: {
|
|
@@ -3029,7 +3382,7 @@ var bannerTitleRecipe = defineRecipe13({
|
|
|
3029
3382
|
compoundVariants: [],
|
|
3030
3383
|
defaultVariants: {}
|
|
3031
3384
|
});
|
|
3032
|
-
var bannerDescriptionRecipe =
|
|
3385
|
+
var bannerDescriptionRecipe = defineRecipe14({
|
|
3033
3386
|
className: "banner-description",
|
|
3034
3387
|
jsx: ["MpBannerDescription", "mp-banner-description"],
|
|
3035
3388
|
base: {
|
|
@@ -3044,7 +3397,7 @@ var bannerDescriptionRecipe = defineRecipe13({
|
|
|
3044
3397
|
compoundVariants: [],
|
|
3045
3398
|
defaultVariants: {}
|
|
3046
3399
|
});
|
|
3047
|
-
var bannerIconSlotRecipe =
|
|
3400
|
+
var bannerIconSlotRecipe = defineSlotRecipe22({
|
|
3048
3401
|
className: "banner-icon",
|
|
3049
3402
|
jsx: ["MpBannerIcon", "mp-banner-icon"],
|
|
3050
3403
|
slots: ["root", "custom"],
|
|
@@ -3067,7 +3420,7 @@ var bannerIconSlotRecipe = defineSlotRecipe20({
|
|
|
3067
3420
|
compoundVariants: [],
|
|
3068
3421
|
defaultVariants: {}
|
|
3069
3422
|
});
|
|
3070
|
-
var bannerLinkRecipe =
|
|
3423
|
+
var bannerLinkRecipe = defineRecipe14({
|
|
3071
3424
|
className: "banner-link",
|
|
3072
3425
|
jsx: ["MpBannerLink", "mp-banner-link"],
|
|
3073
3426
|
base: {
|
|
@@ -3080,7 +3433,7 @@ var bannerLinkRecipe = defineRecipe13({
|
|
|
3080
3433
|
compoundVariants: [],
|
|
3081
3434
|
defaultVariants: {}
|
|
3082
3435
|
});
|
|
3083
|
-
var bannerCloseButtonRecipe =
|
|
3436
|
+
var bannerCloseButtonRecipe = defineRecipe14({
|
|
3084
3437
|
className: "banner-close-button",
|
|
3085
3438
|
jsx: ["MpBannerCloseButton", "mp-banner-close-button"],
|
|
3086
3439
|
base: {
|
|
@@ -3122,7 +3475,12 @@ var recipes = {
|
|
|
3122
3475
|
bannerDescriptionRecipe,
|
|
3123
3476
|
bannerLinkRecipe,
|
|
3124
3477
|
bannerCloseButtonRecipe,
|
|
3125
|
-
RTEStyleProviderRecipe
|
|
3478
|
+
RTEStyleProviderRecipe,
|
|
3479
|
+
calendarPanelRangeRecipe,
|
|
3480
|
+
dayItemRecipe,
|
|
3481
|
+
dateItemRecipe,
|
|
3482
|
+
monthItemRecipe,
|
|
3483
|
+
yearItemRecipe
|
|
3126
3484
|
};
|
|
3127
3485
|
var slotRecipes = {
|
|
3128
3486
|
accordion,
|
|
@@ -3149,7 +3507,13 @@ var slotRecipes = {
|
|
|
3149
3507
|
segmentedControlSlotRecipe,
|
|
3150
3508
|
toastSlotRecipe,
|
|
3151
3509
|
broadcastSlotRecipe,
|
|
3152
|
-
richTextEditorSlotRecipe
|
|
3510
|
+
richTextEditorSlotRecipe,
|
|
3511
|
+
datePickerSlotRecipe,
|
|
3512
|
+
tableDateSlotRecipe,
|
|
3513
|
+
tableMonthSlotRecipe,
|
|
3514
|
+
tableYearSlotRecipe,
|
|
3515
|
+
pinbarSlotRecipe,
|
|
3516
|
+
carouselSlotRecipe
|
|
3153
3517
|
};
|
|
3154
3518
|
|
|
3155
3519
|
// src/text-styles.ts
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _pandacss_dev from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
declare const datePickerSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
|
+
declare const calendarPanelRangeRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
|
+
declare const tableDateSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
6
|
+
declare const tableMonthSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
7
|
+
declare const tableYearSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
8
|
+
declare const dayItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
9
|
+
declare const dateItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
10
|
+
declare const pinbarSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
11
|
+
declare const monthItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
12
|
+
declare const yearItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
13
|
+
|
|
14
|
+
export { calendarPanelRangeRecipe, dateItemRecipe, datePickerSlotRecipe, dayItemRecipe, monthItemRecipe, pinbarSlotRecipe, tableDateSlotRecipe, tableMonthSlotRecipe, tableYearSlotRecipe, yearItemRecipe };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _pandacss_dev from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
declare const datePickerSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
|
+
declare const calendarPanelRangeRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
|
+
declare const tableDateSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
6
|
+
declare const tableMonthSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
7
|
+
declare const tableYearSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
8
|
+
declare const dayItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
9
|
+
declare const dateItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
10
|
+
declare const pinbarSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
11
|
+
declare const monthItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
12
|
+
declare const yearItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
13
|
+
|
|
14
|
+
export { calendarPanelRangeRecipe, dateItemRecipe, datePickerSlotRecipe, dayItemRecipe, monthItemRecipe, pinbarSlotRecipe, tableDateSlotRecipe, tableMonthSlotRecipe, tableYearSlotRecipe, yearItemRecipe };
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -23,6 +23,11 @@ declare const recipes: {
|
|
|
23
23
|
bannerLinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
24
24
|
bannerCloseButtonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
25
25
|
RTEStyleProviderRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
26
|
+
calendarPanelRangeRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
27
|
+
dayItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
28
|
+
dateItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
29
|
+
monthItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
30
|
+
yearItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
26
31
|
};
|
|
27
32
|
declare const slotRecipes: {
|
|
28
33
|
accordion: _pandacss_types.SlotRecipeConfig;
|
|
@@ -50,6 +55,12 @@ declare const slotRecipes: {
|
|
|
50
55
|
toastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
51
56
|
broadcastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
52
57
|
richTextEditorSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
58
|
+
datePickerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
59
|
+
tableDateSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
60
|
+
tableMonthSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
61
|
+
tableYearSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
62
|
+
pinbarSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
63
|
+
carouselSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
53
64
|
};
|
|
54
65
|
|
|
55
66
|
export { recipes, slotRecipes };
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -23,6 +23,11 @@ declare const recipes: {
|
|
|
23
23
|
bannerLinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
24
24
|
bannerCloseButtonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
25
25
|
RTEStyleProviderRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
26
|
+
calendarPanelRangeRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
27
|
+
dayItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
28
|
+
dateItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
29
|
+
monthItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
30
|
+
yearItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
26
31
|
};
|
|
27
32
|
declare const slotRecipes: {
|
|
28
33
|
accordion: _pandacss_types.SlotRecipeConfig;
|
|
@@ -50,6 +55,12 @@ declare const slotRecipes: {
|
|
|
50
55
|
toastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
51
56
|
broadcastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
52
57
|
richTextEditorSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
58
|
+
datePickerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
59
|
+
tableDateSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
60
|
+
tableMonthSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
61
|
+
tableYearSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
62
|
+
pinbarSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
63
|
+
carouselSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
53
64
|
};
|
|
54
65
|
|
|
55
66
|
export { recipes, slotRecipes };
|
package/package.json
CHANGED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const carouselSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: 'carousel',
|
|
5
|
+
jsx: ['MpCarousel', 'mp-carousel'],
|
|
6
|
+
slots: [
|
|
7
|
+
'root',
|
|
8
|
+
'buttonRight',
|
|
9
|
+
'buttonLeft'
|
|
10
|
+
],
|
|
11
|
+
base: {
|
|
12
|
+
root: {
|
|
13
|
+
display: 'block',
|
|
14
|
+
position: 'relative',
|
|
15
|
+
width: 'full',
|
|
16
|
+
background: 'gray.50',
|
|
17
|
+
borderRadius: 'md',
|
|
18
|
+
borderWidth: '1px',
|
|
19
|
+
borderColor: 'gray.100',
|
|
20
|
+
overflow: 'hidden',
|
|
21
|
+
boxSizing: 'border-box',
|
|
22
|
+
},
|
|
23
|
+
buttonRight: {
|
|
24
|
+
display: 'flex',
|
|
25
|
+
justifyContent: 'center',
|
|
26
|
+
alignItems: 'center',
|
|
27
|
+
position: 'absolute',
|
|
28
|
+
width: '9',
|
|
29
|
+
height: '9',
|
|
30
|
+
right: '6',
|
|
31
|
+
top: '50%',
|
|
32
|
+
transform: 'translateY(-50%)',
|
|
33
|
+
borderRadius: 'full'
|
|
34
|
+
},
|
|
35
|
+
buttonLeft: {
|
|
36
|
+
display: 'flex',
|
|
37
|
+
justifyContent: 'center',
|
|
38
|
+
alignItems: 'center',
|
|
39
|
+
position: 'absolute',
|
|
40
|
+
width: '9',
|
|
41
|
+
height: '9',
|
|
42
|
+
left: '6',
|
|
43
|
+
top: '50%',
|
|
44
|
+
transform: 'translateY(-50%)',
|
|
45
|
+
borderRadius: 'full'
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
export { carouselSlotRecipe }
|