@mekari/pixel3-theme 0.0.8 → 0.0.9-dev.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/dist/index.js +88 -38
- package/dist/index.mjs +54 -4
- package/dist/recipes/carousel.d.mts +5 -0
- package/dist/recipes/carousel.d.ts +5 -0
- package/dist/recipes/index.d.mts +1 -0
- package/dist/recipes/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/recipes/carousel.ts +50 -0
- package/src/recipes/index.ts +3 -1
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ __export(theme_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(theme_exports);
|
|
26
26
|
|
|
27
27
|
// src/index.ts
|
|
28
|
-
var
|
|
28
|
+
var import_dev47 = require("@pandacss/dev");
|
|
29
29
|
|
|
30
30
|
// src/breakpoints.ts
|
|
31
31
|
var breakpoints = {
|
|
@@ -2995,9 +2995,58 @@ var RTEStyleProviderRecipe = (0, import_dev32.defineRecipe)({
|
|
|
2995
2995
|
defaultVariants: {}
|
|
2996
2996
|
});
|
|
2997
2997
|
|
|
2998
|
-
// src/recipes/
|
|
2998
|
+
// src/recipes/carousel.ts
|
|
2999
2999
|
var import_dev33 = require("@pandacss/dev");
|
|
3000
|
-
var
|
|
3000
|
+
var carouselSlotRecipe = (0, import_dev33.defineSlotRecipe)({
|
|
3001
|
+
className: "carousel",
|
|
3002
|
+
jsx: ["MpCarousel", "mp-carousel"],
|
|
3003
|
+
slots: [
|
|
3004
|
+
"root",
|
|
3005
|
+
"buttonRight",
|
|
3006
|
+
"buttonLeft"
|
|
3007
|
+
],
|
|
3008
|
+
base: {
|
|
3009
|
+
root: {
|
|
3010
|
+
display: "block",
|
|
3011
|
+
position: "relative",
|
|
3012
|
+
width: "full",
|
|
3013
|
+
background: "gray.50",
|
|
3014
|
+
borderRadius: "md",
|
|
3015
|
+
borderWidth: "1px",
|
|
3016
|
+
borderColor: "gray.100",
|
|
3017
|
+
overflow: "hidden",
|
|
3018
|
+
boxSizing: "border-box"
|
|
3019
|
+
},
|
|
3020
|
+
buttonRight: {
|
|
3021
|
+
display: "flex",
|
|
3022
|
+
justifyContent: "center",
|
|
3023
|
+
alignItems: "center",
|
|
3024
|
+
position: "absolute",
|
|
3025
|
+
width: "9",
|
|
3026
|
+
height: "9",
|
|
3027
|
+
right: "6",
|
|
3028
|
+
top: "50%",
|
|
3029
|
+
transform: "translateY(-50%)",
|
|
3030
|
+
borderRadius: "full"
|
|
3031
|
+
},
|
|
3032
|
+
buttonLeft: {
|
|
3033
|
+
display: "flex",
|
|
3034
|
+
justifyContent: "center",
|
|
3035
|
+
alignItems: "center",
|
|
3036
|
+
position: "absolute",
|
|
3037
|
+
width: "9",
|
|
3038
|
+
height: "9",
|
|
3039
|
+
left: "6",
|
|
3040
|
+
top: "50%",
|
|
3041
|
+
transform: "translateY(-50%)",
|
|
3042
|
+
borderRadius: "full"
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
});
|
|
3046
|
+
|
|
3047
|
+
// src/recipes/banner.ts
|
|
3048
|
+
var import_dev34 = require("@pandacss/dev");
|
|
3049
|
+
var bannerSlotRecipe = (0, import_dev34.defineSlotRecipe)({
|
|
3001
3050
|
className: "banner",
|
|
3002
3051
|
jsx: ["MpBanner", "mp-banner"],
|
|
3003
3052
|
slots: ["root", "body"],
|
|
@@ -3038,7 +3087,7 @@ var bannerSlotRecipe = (0, import_dev33.defineSlotRecipe)({
|
|
|
3038
3087
|
variant: "info"
|
|
3039
3088
|
}
|
|
3040
3089
|
});
|
|
3041
|
-
var bannerTitleRecipe = (0,
|
|
3090
|
+
var bannerTitleRecipe = (0, import_dev34.defineRecipe)({
|
|
3042
3091
|
className: "banner-title",
|
|
3043
3092
|
jsx: ["MpBannerTitle", "mp-banner-title"],
|
|
3044
3093
|
base: {
|
|
@@ -3055,7 +3104,7 @@ var bannerTitleRecipe = (0, import_dev33.defineRecipe)({
|
|
|
3055
3104
|
compoundVariants: [],
|
|
3056
3105
|
defaultVariants: {}
|
|
3057
3106
|
});
|
|
3058
|
-
var bannerDescriptionRecipe = (0,
|
|
3107
|
+
var bannerDescriptionRecipe = (0, import_dev34.defineRecipe)({
|
|
3059
3108
|
className: "banner-description",
|
|
3060
3109
|
jsx: ["MpBannerDescription", "mp-banner-description"],
|
|
3061
3110
|
base: {
|
|
@@ -3070,7 +3119,7 @@ var bannerDescriptionRecipe = (0, import_dev33.defineRecipe)({
|
|
|
3070
3119
|
compoundVariants: [],
|
|
3071
3120
|
defaultVariants: {}
|
|
3072
3121
|
});
|
|
3073
|
-
var bannerIconSlotRecipe = (0,
|
|
3122
|
+
var bannerIconSlotRecipe = (0, import_dev34.defineSlotRecipe)({
|
|
3074
3123
|
className: "banner-icon",
|
|
3075
3124
|
jsx: ["MpBannerIcon", "mp-banner-icon"],
|
|
3076
3125
|
slots: ["root", "custom"],
|
|
@@ -3093,7 +3142,7 @@ var bannerIconSlotRecipe = (0, import_dev33.defineSlotRecipe)({
|
|
|
3093
3142
|
compoundVariants: [],
|
|
3094
3143
|
defaultVariants: {}
|
|
3095
3144
|
});
|
|
3096
|
-
var bannerLinkRecipe = (0,
|
|
3145
|
+
var bannerLinkRecipe = (0, import_dev34.defineRecipe)({
|
|
3097
3146
|
className: "banner-link",
|
|
3098
3147
|
jsx: ["MpBannerLink", "mp-banner-link"],
|
|
3099
3148
|
base: {
|
|
@@ -3106,7 +3155,7 @@ var bannerLinkRecipe = (0, import_dev33.defineRecipe)({
|
|
|
3106
3155
|
compoundVariants: [],
|
|
3107
3156
|
defaultVariants: {}
|
|
3108
3157
|
});
|
|
3109
|
-
var bannerCloseButtonRecipe = (0,
|
|
3158
|
+
var bannerCloseButtonRecipe = (0, import_dev34.defineRecipe)({
|
|
3110
3159
|
className: "banner-close-button",
|
|
3111
3160
|
jsx: ["MpBannerCloseButton", "mp-banner-close-button"],
|
|
3112
3161
|
base: {
|
|
@@ -3175,12 +3224,13 @@ var slotRecipes = {
|
|
|
3175
3224
|
segmentedControlSlotRecipe,
|
|
3176
3225
|
toastSlotRecipe,
|
|
3177
3226
|
broadcastSlotRecipe,
|
|
3178
|
-
richTextEditorSlotRecipe
|
|
3227
|
+
richTextEditorSlotRecipe,
|
|
3228
|
+
carouselSlotRecipe
|
|
3179
3229
|
};
|
|
3180
3230
|
|
|
3181
3231
|
// src/text-styles.ts
|
|
3182
|
-
var
|
|
3183
|
-
var textStyles = (0,
|
|
3232
|
+
var import_dev35 = require("@pandacss/dev");
|
|
3233
|
+
var textStyles = (0, import_dev35.defineTextStyles)({
|
|
3184
3234
|
overline: { value: { fontSize: "xs", lineHeight: "xs" } },
|
|
3185
3235
|
body: {
|
|
3186
3236
|
sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
|
|
@@ -3214,11 +3264,11 @@ var textStyles = (0, import_dev34.defineTextStyles)({
|
|
|
3214
3264
|
});
|
|
3215
3265
|
|
|
3216
3266
|
// src/tokens/index.ts
|
|
3217
|
-
var
|
|
3267
|
+
var import_dev46 = require("@pandacss/dev");
|
|
3218
3268
|
|
|
3219
3269
|
// src/tokens/borders.ts
|
|
3220
|
-
var
|
|
3221
|
-
var borders =
|
|
3270
|
+
var import_dev36 = require("@pandacss/dev");
|
|
3271
|
+
var borders = import_dev36.defineTokens.borders({
|
|
3222
3272
|
none: { value: "none" },
|
|
3223
3273
|
sm: { value: "1px" },
|
|
3224
3274
|
md: { value: "1.5px" },
|
|
@@ -3226,8 +3276,8 @@ var borders = import_dev35.defineTokens.borders({
|
|
|
3226
3276
|
});
|
|
3227
3277
|
|
|
3228
3278
|
// src/tokens/colors.ts
|
|
3229
|
-
var
|
|
3230
|
-
var colors =
|
|
3279
|
+
var import_dev37 = require("@pandacss/dev");
|
|
3280
|
+
var colors = import_dev37.defineTokens.colors({
|
|
3231
3281
|
currentcolor: {
|
|
3232
3282
|
value: "currentcolor"
|
|
3233
3283
|
},
|
|
@@ -3373,16 +3423,16 @@ var colors = import_dev36.defineTokens.colors({
|
|
|
3373
3423
|
});
|
|
3374
3424
|
|
|
3375
3425
|
// src/tokens/durations.ts
|
|
3376
|
-
var
|
|
3377
|
-
var durations =
|
|
3426
|
+
var import_dev38 = require("@pandacss/dev");
|
|
3427
|
+
var durations = import_dev38.defineTokens.durations({
|
|
3378
3428
|
slow: { value: "100ms" },
|
|
3379
3429
|
normal: { value: "250ms" },
|
|
3380
3430
|
fast: { value: "300ms" }
|
|
3381
3431
|
});
|
|
3382
3432
|
|
|
3383
3433
|
// src/tokens/opacity.ts
|
|
3384
|
-
var
|
|
3385
|
-
var opacity =
|
|
3434
|
+
var import_dev39 = require("@pandacss/dev");
|
|
3435
|
+
var opacity = import_dev39.defineTokens.opacity({
|
|
3386
3436
|
0: { value: 0 },
|
|
3387
3437
|
40: { value: 0.4 },
|
|
3388
3438
|
60: { value: 0.6 },
|
|
@@ -3390,8 +3440,8 @@ var opacity = import_dev38.defineTokens.opacity({
|
|
|
3390
3440
|
});
|
|
3391
3441
|
|
|
3392
3442
|
// src/tokens/radii.ts
|
|
3393
|
-
var
|
|
3394
|
-
var radii =
|
|
3443
|
+
var import_dev40 = require("@pandacss/dev");
|
|
3444
|
+
var radii = import_dev40.defineTokens.radii({
|
|
3395
3445
|
none: { value: "0" },
|
|
3396
3446
|
xs: { value: "0.125rem" },
|
|
3397
3447
|
sm: { value: "0.25rem" },
|
|
@@ -3402,8 +3452,8 @@ var radii = import_dev39.defineTokens.radii({
|
|
|
3402
3452
|
});
|
|
3403
3453
|
|
|
3404
3454
|
// src/tokens/shadows.ts
|
|
3405
|
-
var
|
|
3406
|
-
var shadows =
|
|
3455
|
+
var import_dev41 = require("@pandacss/dev");
|
|
3456
|
+
var shadows = import_dev41.defineTokens.shadows({
|
|
3407
3457
|
xs: {
|
|
3408
3458
|
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
3409
3459
|
},
|
|
@@ -3443,8 +3493,8 @@ var shadows = import_dev40.defineTokens.shadows({
|
|
|
3443
3493
|
});
|
|
3444
3494
|
|
|
3445
3495
|
// src/tokens/sizes.ts
|
|
3446
|
-
var
|
|
3447
|
-
var sizes =
|
|
3496
|
+
var import_dev42 = require("@pandacss/dev");
|
|
3497
|
+
var sizes = import_dev42.defineTokens.sizes({
|
|
3448
3498
|
0: { value: "0" },
|
|
3449
3499
|
0.25: { value: "0.0625rem" },
|
|
3450
3500
|
0.5: { value: "0.125rem" },
|
|
@@ -3473,8 +3523,8 @@ var sizes = import_dev41.defineTokens.sizes({
|
|
|
3473
3523
|
});
|
|
3474
3524
|
|
|
3475
3525
|
// src/tokens/spacing.ts
|
|
3476
|
-
var
|
|
3477
|
-
var spacing =
|
|
3526
|
+
var import_dev43 = require("@pandacss/dev");
|
|
3527
|
+
var spacing = import_dev43.defineTokens.spacing({
|
|
3478
3528
|
0: { value: "0" },
|
|
3479
3529
|
0.5: { value: "0.125rem" },
|
|
3480
3530
|
1: { value: "0.25rem" },
|
|
@@ -3495,8 +3545,8 @@ var spacing = import_dev42.defineTokens.spacing({
|
|
|
3495
3545
|
});
|
|
3496
3546
|
|
|
3497
3547
|
// src/tokens/z-index.ts
|
|
3498
|
-
var
|
|
3499
|
-
var zIndex =
|
|
3548
|
+
var import_dev44 = require("@pandacss/dev");
|
|
3549
|
+
var zIndex = import_dev44.defineTokens.zIndex({
|
|
3500
3550
|
hide: { value: -1 },
|
|
3501
3551
|
base: { value: 0 },
|
|
3502
3552
|
docked: { value: 10 },
|
|
@@ -3508,8 +3558,8 @@ var zIndex = import_dev43.defineTokens.zIndex({
|
|
|
3508
3558
|
});
|
|
3509
3559
|
|
|
3510
3560
|
// src/tokens/typography.ts
|
|
3511
|
-
var
|
|
3512
|
-
var fonts =
|
|
3561
|
+
var import_dev45 = require("@pandacss/dev");
|
|
3562
|
+
var fonts = import_dev45.defineTokens.fonts({
|
|
3513
3563
|
body: {
|
|
3514
3564
|
value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
3515
3565
|
},
|
|
@@ -3517,7 +3567,7 @@ var fonts = import_dev44.defineTokens.fonts({
|
|
|
3517
3567
|
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
3518
3568
|
}
|
|
3519
3569
|
});
|
|
3520
|
-
var fontSizes =
|
|
3570
|
+
var fontSizes = import_dev45.defineTokens.fontSizes({
|
|
3521
3571
|
xs: { value: "0.625rem" },
|
|
3522
3572
|
sm: { value: "0.75rem" },
|
|
3523
3573
|
md: { value: "0.875rem" },
|
|
@@ -3525,12 +3575,12 @@ var fontSizes = import_dev44.defineTokens.fontSizes({
|
|
|
3525
3575
|
xl: { value: "1.25rem" },
|
|
3526
3576
|
"2xl": { value: "1.5rem" }
|
|
3527
3577
|
});
|
|
3528
|
-
var fontWeights =
|
|
3578
|
+
var fontWeights = import_dev45.defineTokens.fontWeights({
|
|
3529
3579
|
regular: { value: "400" },
|
|
3530
3580
|
semiBold: { value: "600" },
|
|
3531
3581
|
bold: { value: "800" }
|
|
3532
3582
|
});
|
|
3533
|
-
var lineHeights =
|
|
3583
|
+
var lineHeights = import_dev45.defineTokens.lineHeights({
|
|
3534
3584
|
xs: { value: 1.2 },
|
|
3535
3585
|
sm: { value: 1.34 },
|
|
3536
3586
|
md: { value: 1.4 },
|
|
@@ -3539,7 +3589,7 @@ var lineHeights = import_dev44.defineTokens.lineHeights({
|
|
|
3539
3589
|
"2xl": { value: 1.67 },
|
|
3540
3590
|
"3xl": { value: 1.71 }
|
|
3541
3591
|
});
|
|
3542
|
-
var letterSpacings =
|
|
3592
|
+
var letterSpacings = import_dev45.defineTokens.letterSpacings({
|
|
3543
3593
|
tighter: { value: "-0.05em" },
|
|
3544
3594
|
tight: { value: "-0.025em" },
|
|
3545
3595
|
normal: { value: "0" },
|
|
@@ -3549,7 +3599,7 @@ var letterSpacings = import_dev44.defineTokens.letterSpacings({
|
|
|
3549
3599
|
});
|
|
3550
3600
|
|
|
3551
3601
|
// src/tokens/index.ts
|
|
3552
|
-
var tokens = (0,
|
|
3602
|
+
var tokens = (0, import_dev46.defineTokens)({
|
|
3553
3603
|
borders,
|
|
3554
3604
|
colors,
|
|
3555
3605
|
durations,
|
|
@@ -3567,7 +3617,7 @@ var tokens = (0, import_dev45.defineTokens)({
|
|
|
3567
3617
|
});
|
|
3568
3618
|
|
|
3569
3619
|
// src/index.ts
|
|
3570
|
-
var preset = (0,
|
|
3620
|
+
var preset = (0, import_dev47.definePreset)({
|
|
3571
3621
|
theme: {
|
|
3572
3622
|
extend: {
|
|
3573
3623
|
breakpoints,
|
package/dist/index.mjs
CHANGED
|
@@ -2969,9 +2969,58 @@ var RTEStyleProviderRecipe = defineRecipe12({
|
|
|
2969
2969
|
defaultVariants: {}
|
|
2970
2970
|
});
|
|
2971
2971
|
|
|
2972
|
+
// src/recipes/carousel.ts
|
|
2973
|
+
import { defineSlotRecipe as defineSlotRecipe20 } from "@pandacss/dev";
|
|
2974
|
+
var carouselSlotRecipe = defineSlotRecipe20({
|
|
2975
|
+
className: "carousel",
|
|
2976
|
+
jsx: ["MpCarousel", "mp-carousel"],
|
|
2977
|
+
slots: [
|
|
2978
|
+
"root",
|
|
2979
|
+
"buttonRight",
|
|
2980
|
+
"buttonLeft"
|
|
2981
|
+
],
|
|
2982
|
+
base: {
|
|
2983
|
+
root: {
|
|
2984
|
+
display: "block",
|
|
2985
|
+
position: "relative",
|
|
2986
|
+
width: "full",
|
|
2987
|
+
background: "gray.50",
|
|
2988
|
+
borderRadius: "md",
|
|
2989
|
+
borderWidth: "1px",
|
|
2990
|
+
borderColor: "gray.100",
|
|
2991
|
+
overflow: "hidden",
|
|
2992
|
+
boxSizing: "border-box"
|
|
2993
|
+
},
|
|
2994
|
+
buttonRight: {
|
|
2995
|
+
display: "flex",
|
|
2996
|
+
justifyContent: "center",
|
|
2997
|
+
alignItems: "center",
|
|
2998
|
+
position: "absolute",
|
|
2999
|
+
width: "9",
|
|
3000
|
+
height: "9",
|
|
3001
|
+
right: "6",
|
|
3002
|
+
top: "50%",
|
|
3003
|
+
transform: "translateY(-50%)",
|
|
3004
|
+
borderRadius: "full"
|
|
3005
|
+
},
|
|
3006
|
+
buttonLeft: {
|
|
3007
|
+
display: "flex",
|
|
3008
|
+
justifyContent: "center",
|
|
3009
|
+
alignItems: "center",
|
|
3010
|
+
position: "absolute",
|
|
3011
|
+
width: "9",
|
|
3012
|
+
height: "9",
|
|
3013
|
+
left: "6",
|
|
3014
|
+
top: "50%",
|
|
3015
|
+
transform: "translateY(-50%)",
|
|
3016
|
+
borderRadius: "full"
|
|
3017
|
+
}
|
|
3018
|
+
}
|
|
3019
|
+
});
|
|
3020
|
+
|
|
2972
3021
|
// src/recipes/banner.ts
|
|
2973
|
-
import { defineRecipe as defineRecipe13, defineSlotRecipe as
|
|
2974
|
-
var bannerSlotRecipe =
|
|
3022
|
+
import { defineRecipe as defineRecipe13, defineSlotRecipe as defineSlotRecipe21 } from "@pandacss/dev";
|
|
3023
|
+
var bannerSlotRecipe = defineSlotRecipe21({
|
|
2975
3024
|
className: "banner",
|
|
2976
3025
|
jsx: ["MpBanner", "mp-banner"],
|
|
2977
3026
|
slots: ["root", "body"],
|
|
@@ -3044,7 +3093,7 @@ var bannerDescriptionRecipe = defineRecipe13({
|
|
|
3044
3093
|
compoundVariants: [],
|
|
3045
3094
|
defaultVariants: {}
|
|
3046
3095
|
});
|
|
3047
|
-
var bannerIconSlotRecipe =
|
|
3096
|
+
var bannerIconSlotRecipe = defineSlotRecipe21({
|
|
3048
3097
|
className: "banner-icon",
|
|
3049
3098
|
jsx: ["MpBannerIcon", "mp-banner-icon"],
|
|
3050
3099
|
slots: ["root", "custom"],
|
|
@@ -3149,7 +3198,8 @@ var slotRecipes = {
|
|
|
3149
3198
|
segmentedControlSlotRecipe,
|
|
3150
3199
|
toastSlotRecipe,
|
|
3151
3200
|
broadcastSlotRecipe,
|
|
3152
|
-
richTextEditorSlotRecipe
|
|
3201
|
+
richTextEditorSlotRecipe,
|
|
3202
|
+
carouselSlotRecipe
|
|
3153
3203
|
};
|
|
3154
3204
|
|
|
3155
3205
|
// src/text-styles.ts
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -50,6 +50,7 @@ declare const slotRecipes: {
|
|
|
50
50
|
toastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
51
51
|
broadcastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
52
52
|
richTextEditorSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
53
|
+
carouselSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
53
54
|
};
|
|
54
55
|
|
|
55
56
|
export { recipes, slotRecipes };
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ declare const slotRecipes: {
|
|
|
50
50
|
toastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
51
51
|
broadcastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
52
52
|
richTextEditorSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
53
|
+
carouselSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
53
54
|
};
|
|
54
55
|
|
|
55
56
|
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 }
|
package/src/recipes/index.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { segmentedControlSlotRecipe } from './segmented-control'
|
|
|
28
28
|
import { toastSlotRecipe } from './toast'
|
|
29
29
|
import { broadcastSlotRecipe } from './broadcast'
|
|
30
30
|
import { richTextEditorSlotRecipe, RTEStyleProviderRecipe } from './rich-text-editor'
|
|
31
|
+
import { carouselSlotRecipe } from './carousel'
|
|
31
32
|
|
|
32
33
|
import {
|
|
33
34
|
bannerSlotRecipe,
|
|
@@ -88,5 +89,6 @@ export const slotRecipes = {
|
|
|
88
89
|
segmentedControlSlotRecipe,
|
|
89
90
|
toastSlotRecipe,
|
|
90
91
|
broadcastSlotRecipe,
|
|
91
|
-
richTextEditorSlotRecipe
|
|
92
|
+
richTextEditorSlotRecipe,
|
|
93
|
+
carouselSlotRecipe
|
|
92
94
|
}
|