@mekari/pixel3-theme 0.0.5-dev.0 → 0.0.6-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 +110 -38
- package/dist/index.mjs +76 -4
- package/dist/recipes/broadcast.d.mts +5 -0
- package/dist/recipes/broadcast.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/broadcast.ts +72 -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_dev45 = require("@pandacss/dev");
|
|
29
29
|
|
|
30
30
|
// src/breakpoints.ts
|
|
31
31
|
var breakpoints = {
|
|
@@ -2794,9 +2794,80 @@ var toastSlotRecipe = (0, import_dev30.defineSlotRecipe)({
|
|
|
2794
2794
|
}
|
|
2795
2795
|
});
|
|
2796
2796
|
|
|
2797
|
-
// src/recipes/
|
|
2797
|
+
// src/recipes/broadcast.ts
|
|
2798
2798
|
var import_dev31 = require("@pandacss/dev");
|
|
2799
|
-
var
|
|
2799
|
+
var broadcastSlotRecipe = (0, import_dev31.defineSlotRecipe)({
|
|
2800
|
+
className: "broadcast",
|
|
2801
|
+
jsx: ["MpBroadcast", "mp-broadcast"],
|
|
2802
|
+
slots: ["root", "container", "wrapper", "icon", "content", "textLink", "action", "close"],
|
|
2803
|
+
base: {
|
|
2804
|
+
root: {
|
|
2805
|
+
width: "full",
|
|
2806
|
+
position: "relative"
|
|
2807
|
+
},
|
|
2808
|
+
container: {
|
|
2809
|
+
display: "flex",
|
|
2810
|
+
flexDirection: "row",
|
|
2811
|
+
alignItems: "center",
|
|
2812
|
+
justifyContent: "space-between",
|
|
2813
|
+
paddingY: "2",
|
|
2814
|
+
paddingX: "6"
|
|
2815
|
+
},
|
|
2816
|
+
wrapper: {
|
|
2817
|
+
display: "flex",
|
|
2818
|
+
flexDirection: "row",
|
|
2819
|
+
alignItems: "center",
|
|
2820
|
+
width: "var(--mp-broadcast--width)"
|
|
2821
|
+
},
|
|
2822
|
+
icon: {
|
|
2823
|
+
marginRight: "3"
|
|
2824
|
+
},
|
|
2825
|
+
textLink: {
|
|
2826
|
+
flex: "none",
|
|
2827
|
+
textDecoration: "underline",
|
|
2828
|
+
marginLeft: "3"
|
|
2829
|
+
},
|
|
2830
|
+
close: {
|
|
2831
|
+
color: "white!",
|
|
2832
|
+
backgroundColor: "transparent!",
|
|
2833
|
+
borderColor: "transparent!",
|
|
2834
|
+
marginLeft: "3",
|
|
2835
|
+
_hover: {
|
|
2836
|
+
color: "white!"
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2839
|
+
},
|
|
2840
|
+
variants: {
|
|
2841
|
+
variant: {
|
|
2842
|
+
announcement: {
|
|
2843
|
+
container: { backgroundColor: "stone.400" },
|
|
2844
|
+
icon: { color: "white" },
|
|
2845
|
+
content: { color: "white" },
|
|
2846
|
+
textLink: { color: "white" }
|
|
2847
|
+
},
|
|
2848
|
+
information: {
|
|
2849
|
+
container: { backgroundColor: "violet.400" },
|
|
2850
|
+
icon: { color: "white" },
|
|
2851
|
+
content: { color: "white" },
|
|
2852
|
+
textLink: { color: "white" }
|
|
2853
|
+
},
|
|
2854
|
+
important: {
|
|
2855
|
+
container: { backgroundColor: "amber.100" },
|
|
2856
|
+
icon: { color: "dark" },
|
|
2857
|
+
content: { color: "dark" },
|
|
2858
|
+
textLink: { color: "dark" }
|
|
2859
|
+
}
|
|
2860
|
+
}
|
|
2861
|
+
},
|
|
2862
|
+
compoundVariants: [],
|
|
2863
|
+
defaultVariants: {
|
|
2864
|
+
variant: "announcement"
|
|
2865
|
+
}
|
|
2866
|
+
});
|
|
2867
|
+
|
|
2868
|
+
// src/recipes/banner.ts
|
|
2869
|
+
var import_dev32 = require("@pandacss/dev");
|
|
2870
|
+
var bannerSlotRecipe = (0, import_dev32.defineSlotRecipe)({
|
|
2800
2871
|
className: "banner",
|
|
2801
2872
|
jsx: ["MpBanner", "mp-banner"],
|
|
2802
2873
|
slots: ["root", "body"],
|
|
@@ -2837,7 +2908,7 @@ var bannerSlotRecipe = (0, import_dev31.defineSlotRecipe)({
|
|
|
2837
2908
|
variant: "info"
|
|
2838
2909
|
}
|
|
2839
2910
|
});
|
|
2840
|
-
var bannerTitleRecipe = (0,
|
|
2911
|
+
var bannerTitleRecipe = (0, import_dev32.defineRecipe)({
|
|
2841
2912
|
className: "banner-title",
|
|
2842
2913
|
jsx: ["MpBannerTitle", "mp-banner-title"],
|
|
2843
2914
|
base: {
|
|
@@ -2854,7 +2925,7 @@ var bannerTitleRecipe = (0, import_dev31.defineRecipe)({
|
|
|
2854
2925
|
compoundVariants: [],
|
|
2855
2926
|
defaultVariants: {}
|
|
2856
2927
|
});
|
|
2857
|
-
var bannerDescriptionRecipe = (0,
|
|
2928
|
+
var bannerDescriptionRecipe = (0, import_dev32.defineRecipe)({
|
|
2858
2929
|
className: "banner-description",
|
|
2859
2930
|
jsx: ["MpBannerDescription", "mp-banner-description"],
|
|
2860
2931
|
base: {
|
|
@@ -2869,7 +2940,7 @@ var bannerDescriptionRecipe = (0, import_dev31.defineRecipe)({
|
|
|
2869
2940
|
compoundVariants: [],
|
|
2870
2941
|
defaultVariants: {}
|
|
2871
2942
|
});
|
|
2872
|
-
var bannerIconSlotRecipe = (0,
|
|
2943
|
+
var bannerIconSlotRecipe = (0, import_dev32.defineSlotRecipe)({
|
|
2873
2944
|
className: "banner-icon",
|
|
2874
2945
|
jsx: ["MpBannerIcon", "mp-banner-icon"],
|
|
2875
2946
|
slots: ["root", "custom"],
|
|
@@ -2892,7 +2963,7 @@ var bannerIconSlotRecipe = (0, import_dev31.defineSlotRecipe)({
|
|
|
2892
2963
|
compoundVariants: [],
|
|
2893
2964
|
defaultVariants: {}
|
|
2894
2965
|
});
|
|
2895
|
-
var bannerLinkRecipe = (0,
|
|
2966
|
+
var bannerLinkRecipe = (0, import_dev32.defineRecipe)({
|
|
2896
2967
|
className: "banner-link",
|
|
2897
2968
|
jsx: ["MpBannerLink", "mp-banner-link"],
|
|
2898
2969
|
base: {
|
|
@@ -2905,7 +2976,7 @@ var bannerLinkRecipe = (0, import_dev31.defineRecipe)({
|
|
|
2905
2976
|
compoundVariants: [],
|
|
2906
2977
|
defaultVariants: {}
|
|
2907
2978
|
});
|
|
2908
|
-
var bannerCloseButtonRecipe = (0,
|
|
2979
|
+
var bannerCloseButtonRecipe = (0, import_dev32.defineRecipe)({
|
|
2909
2980
|
className: "banner-close-button",
|
|
2910
2981
|
jsx: ["MpBannerCloseButton", "mp-banner-close-button"],
|
|
2911
2982
|
base: {
|
|
@@ -2971,12 +3042,13 @@ var slotRecipes = {
|
|
|
2971
3042
|
bannerSlotRecipe,
|
|
2972
3043
|
bannerIconSlotRecipe,
|
|
2973
3044
|
segmentedControlSlotRecipe,
|
|
2974
|
-
toastSlotRecipe
|
|
3045
|
+
toastSlotRecipe,
|
|
3046
|
+
broadcastSlotRecipe
|
|
2975
3047
|
};
|
|
2976
3048
|
|
|
2977
3049
|
// src/text-styles.ts
|
|
2978
|
-
var
|
|
2979
|
-
var textStyles = (0,
|
|
3050
|
+
var import_dev33 = require("@pandacss/dev");
|
|
3051
|
+
var textStyles = (0, import_dev33.defineTextStyles)({
|
|
2980
3052
|
overline: { value: { fontSize: "xs", lineHeight: "xs" } },
|
|
2981
3053
|
body: {
|
|
2982
3054
|
sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
|
|
@@ -3010,11 +3082,11 @@ var textStyles = (0, import_dev32.defineTextStyles)({
|
|
|
3010
3082
|
});
|
|
3011
3083
|
|
|
3012
3084
|
// src/tokens/index.ts
|
|
3013
|
-
var
|
|
3085
|
+
var import_dev44 = require("@pandacss/dev");
|
|
3014
3086
|
|
|
3015
3087
|
// src/tokens/borders.ts
|
|
3016
|
-
var
|
|
3017
|
-
var borders =
|
|
3088
|
+
var import_dev34 = require("@pandacss/dev");
|
|
3089
|
+
var borders = import_dev34.defineTokens.borders({
|
|
3018
3090
|
none: { value: "none" },
|
|
3019
3091
|
sm: { value: "1px" },
|
|
3020
3092
|
md: { value: "1.5px" },
|
|
@@ -3022,8 +3094,8 @@ var borders = import_dev33.defineTokens.borders({
|
|
|
3022
3094
|
});
|
|
3023
3095
|
|
|
3024
3096
|
// src/tokens/colors.ts
|
|
3025
|
-
var
|
|
3026
|
-
var colors =
|
|
3097
|
+
var import_dev35 = require("@pandacss/dev");
|
|
3098
|
+
var colors = import_dev35.defineTokens.colors({
|
|
3027
3099
|
currentcolor: {
|
|
3028
3100
|
value: "currentcolor",
|
|
3029
3101
|
description: "Need to add this for Icon usage"
|
|
@@ -3176,16 +3248,16 @@ var colors = import_dev34.defineTokens.colors({
|
|
|
3176
3248
|
});
|
|
3177
3249
|
|
|
3178
3250
|
// src/tokens/durations.ts
|
|
3179
|
-
var
|
|
3180
|
-
var durations =
|
|
3251
|
+
var import_dev36 = require("@pandacss/dev");
|
|
3252
|
+
var durations = import_dev36.defineTokens.durations({
|
|
3181
3253
|
slow: { value: "100ms" },
|
|
3182
3254
|
normal: { value: "250ms" },
|
|
3183
3255
|
fast: { value: "300ms" }
|
|
3184
3256
|
});
|
|
3185
3257
|
|
|
3186
3258
|
// src/tokens/opacity.ts
|
|
3187
|
-
var
|
|
3188
|
-
var opacity =
|
|
3259
|
+
var import_dev37 = require("@pandacss/dev");
|
|
3260
|
+
var opacity = import_dev37.defineTokens.opacity({
|
|
3189
3261
|
0: { value: 0 },
|
|
3190
3262
|
40: { value: 0.4 },
|
|
3191
3263
|
60: { value: 0.6 },
|
|
@@ -3193,8 +3265,8 @@ var opacity = import_dev36.defineTokens.opacity({
|
|
|
3193
3265
|
});
|
|
3194
3266
|
|
|
3195
3267
|
// src/tokens/radii.ts
|
|
3196
|
-
var
|
|
3197
|
-
var radii =
|
|
3268
|
+
var import_dev38 = require("@pandacss/dev");
|
|
3269
|
+
var radii = import_dev38.defineTokens.radii({
|
|
3198
3270
|
none: { value: "0" },
|
|
3199
3271
|
xs: { value: "0.125rem", description: "2px" },
|
|
3200
3272
|
sm: { value: "0.25rem", description: "4px" },
|
|
@@ -3205,8 +3277,8 @@ var radii = import_dev37.defineTokens.radii({
|
|
|
3205
3277
|
});
|
|
3206
3278
|
|
|
3207
3279
|
// src/tokens/shadows.ts
|
|
3208
|
-
var
|
|
3209
|
-
var shadows =
|
|
3280
|
+
var import_dev39 = require("@pandacss/dev");
|
|
3281
|
+
var shadows = import_dev39.defineTokens.shadows({
|
|
3210
3282
|
xs: {
|
|
3211
3283
|
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
3212
3284
|
},
|
|
@@ -3246,8 +3318,8 @@ var shadows = import_dev38.defineTokens.shadows({
|
|
|
3246
3318
|
});
|
|
3247
3319
|
|
|
3248
3320
|
// src/tokens/sizes.ts
|
|
3249
|
-
var
|
|
3250
|
-
var sizes =
|
|
3321
|
+
var import_dev40 = require("@pandacss/dev");
|
|
3322
|
+
var sizes = import_dev40.defineTokens.sizes({
|
|
3251
3323
|
0: { value: "0", description: "0px" },
|
|
3252
3324
|
0.25: { value: "0.0625rem", description: "1px" },
|
|
3253
3325
|
0.5: { value: "0.125rem", description: "2px" },
|
|
@@ -3276,8 +3348,8 @@ var sizes = import_dev39.defineTokens.sizes({
|
|
|
3276
3348
|
});
|
|
3277
3349
|
|
|
3278
3350
|
// src/tokens/spacing.ts
|
|
3279
|
-
var
|
|
3280
|
-
var spacing =
|
|
3351
|
+
var import_dev41 = require("@pandacss/dev");
|
|
3352
|
+
var spacing = import_dev41.defineTokens.spacing({
|
|
3281
3353
|
0: { value: "0", description: "0px" },
|
|
3282
3354
|
0.5: { value: "0.125rem", description: "2px" },
|
|
3283
3355
|
1: { value: "0.25rem", description: "4px" },
|
|
@@ -3298,8 +3370,8 @@ var spacing = import_dev40.defineTokens.spacing({
|
|
|
3298
3370
|
});
|
|
3299
3371
|
|
|
3300
3372
|
// src/tokens/z-index.ts
|
|
3301
|
-
var
|
|
3302
|
-
var zIndex =
|
|
3373
|
+
var import_dev42 = require("@pandacss/dev");
|
|
3374
|
+
var zIndex = import_dev42.defineTokens.zIndex({
|
|
3303
3375
|
hide: { value: -1 },
|
|
3304
3376
|
base: { value: 0 },
|
|
3305
3377
|
docked: { value: 10 },
|
|
@@ -3311,8 +3383,8 @@ var zIndex = import_dev41.defineTokens.zIndex({
|
|
|
3311
3383
|
});
|
|
3312
3384
|
|
|
3313
3385
|
// src/tokens/typography.ts
|
|
3314
|
-
var
|
|
3315
|
-
var fonts =
|
|
3386
|
+
var import_dev43 = require("@pandacss/dev");
|
|
3387
|
+
var fonts = import_dev43.defineTokens.fonts({
|
|
3316
3388
|
body: {
|
|
3317
3389
|
value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
3318
3390
|
},
|
|
@@ -3320,7 +3392,7 @@ var fonts = import_dev42.defineTokens.fonts({
|
|
|
3320
3392
|
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
3321
3393
|
}
|
|
3322
3394
|
});
|
|
3323
|
-
var fontSizes =
|
|
3395
|
+
var fontSizes = import_dev43.defineTokens.fontSizes({
|
|
3324
3396
|
xs: { value: "0.625rem", description: "10px" },
|
|
3325
3397
|
sm: { value: "0.75rem", description: "12px" },
|
|
3326
3398
|
md: { value: "0.875rem", description: "14px" },
|
|
@@ -3328,12 +3400,12 @@ var fontSizes = import_dev42.defineTokens.fontSizes({
|
|
|
3328
3400
|
xl: { value: "1.25rem", description: "20px" },
|
|
3329
3401
|
"2xl": { value: "1.5rem", description: "24px" }
|
|
3330
3402
|
});
|
|
3331
|
-
var fontWeights =
|
|
3403
|
+
var fontWeights = import_dev43.defineTokens.fontWeights({
|
|
3332
3404
|
regular: { value: "400" },
|
|
3333
3405
|
semiBold: { value: "600" },
|
|
3334
3406
|
bold: { value: "800" }
|
|
3335
3407
|
});
|
|
3336
|
-
var lineHeights =
|
|
3408
|
+
var lineHeights = import_dev43.defineTokens.lineHeights({
|
|
3337
3409
|
xs: { value: 1.2, description: "12px/10px" },
|
|
3338
3410
|
sm: { value: 1.34, description: "16px/12px or 32px/24px" },
|
|
3339
3411
|
md: { value: 1.4, description: "28px/20px" },
|
|
@@ -3342,7 +3414,7 @@ var lineHeights = import_dev42.defineTokens.lineHeights({
|
|
|
3342
3414
|
"2xl": { value: 1.67, description: "20px/12px" },
|
|
3343
3415
|
"3xl": { value: 1.71, description: "24px/14px" }
|
|
3344
3416
|
});
|
|
3345
|
-
var letterSpacings =
|
|
3417
|
+
var letterSpacings = import_dev43.defineTokens.letterSpacings({
|
|
3346
3418
|
tighter: { value: "-0.05em" },
|
|
3347
3419
|
tight: { value: "-0.025em" },
|
|
3348
3420
|
normal: { value: "0" },
|
|
@@ -3352,7 +3424,7 @@ var letterSpacings = import_dev42.defineTokens.letterSpacings({
|
|
|
3352
3424
|
});
|
|
3353
3425
|
|
|
3354
3426
|
// src/tokens/index.ts
|
|
3355
|
-
var tokens = (0,
|
|
3427
|
+
var tokens = (0, import_dev44.defineTokens)({
|
|
3356
3428
|
borders,
|
|
3357
3429
|
colors,
|
|
3358
3430
|
durations,
|
|
@@ -3370,7 +3442,7 @@ var tokens = (0, import_dev43.defineTokens)({
|
|
|
3370
3442
|
});
|
|
3371
3443
|
|
|
3372
3444
|
// src/index.ts
|
|
3373
|
-
var preset = (0,
|
|
3445
|
+
var preset = (0, import_dev45.definePreset)({
|
|
3374
3446
|
theme: {
|
|
3375
3447
|
extend: {
|
|
3376
3448
|
breakpoints,
|
package/dist/index.mjs
CHANGED
|
@@ -2768,9 +2768,80 @@ var toastSlotRecipe = defineSlotRecipe17({
|
|
|
2768
2768
|
}
|
|
2769
2769
|
});
|
|
2770
2770
|
|
|
2771
|
+
// src/recipes/broadcast.ts
|
|
2772
|
+
import { defineSlotRecipe as defineSlotRecipe18 } from "@pandacss/dev";
|
|
2773
|
+
var broadcastSlotRecipe = defineSlotRecipe18({
|
|
2774
|
+
className: "broadcast",
|
|
2775
|
+
jsx: ["MpBroadcast", "mp-broadcast"],
|
|
2776
|
+
slots: ["root", "container", "wrapper", "icon", "content", "textLink", "action", "close"],
|
|
2777
|
+
base: {
|
|
2778
|
+
root: {
|
|
2779
|
+
width: "full",
|
|
2780
|
+
position: "relative"
|
|
2781
|
+
},
|
|
2782
|
+
container: {
|
|
2783
|
+
display: "flex",
|
|
2784
|
+
flexDirection: "row",
|
|
2785
|
+
alignItems: "center",
|
|
2786
|
+
justifyContent: "space-between",
|
|
2787
|
+
paddingY: "2",
|
|
2788
|
+
paddingX: "6"
|
|
2789
|
+
},
|
|
2790
|
+
wrapper: {
|
|
2791
|
+
display: "flex",
|
|
2792
|
+
flexDirection: "row",
|
|
2793
|
+
alignItems: "center",
|
|
2794
|
+
width: "var(--mp-broadcast--width)"
|
|
2795
|
+
},
|
|
2796
|
+
icon: {
|
|
2797
|
+
marginRight: "3"
|
|
2798
|
+
},
|
|
2799
|
+
textLink: {
|
|
2800
|
+
flex: "none",
|
|
2801
|
+
textDecoration: "underline",
|
|
2802
|
+
marginLeft: "3"
|
|
2803
|
+
},
|
|
2804
|
+
close: {
|
|
2805
|
+
color: "white!",
|
|
2806
|
+
backgroundColor: "transparent!",
|
|
2807
|
+
borderColor: "transparent!",
|
|
2808
|
+
marginLeft: "3",
|
|
2809
|
+
_hover: {
|
|
2810
|
+
color: "white!"
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
},
|
|
2814
|
+
variants: {
|
|
2815
|
+
variant: {
|
|
2816
|
+
announcement: {
|
|
2817
|
+
container: { backgroundColor: "stone.400" },
|
|
2818
|
+
icon: { color: "white" },
|
|
2819
|
+
content: { color: "white" },
|
|
2820
|
+
textLink: { color: "white" }
|
|
2821
|
+
},
|
|
2822
|
+
information: {
|
|
2823
|
+
container: { backgroundColor: "violet.400" },
|
|
2824
|
+
icon: { color: "white" },
|
|
2825
|
+
content: { color: "white" },
|
|
2826
|
+
textLink: { color: "white" }
|
|
2827
|
+
},
|
|
2828
|
+
important: {
|
|
2829
|
+
container: { backgroundColor: "amber.100" },
|
|
2830
|
+
icon: { color: "dark" },
|
|
2831
|
+
content: { color: "dark" },
|
|
2832
|
+
textLink: { color: "dark" }
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2835
|
+
},
|
|
2836
|
+
compoundVariants: [],
|
|
2837
|
+
defaultVariants: {
|
|
2838
|
+
variant: "announcement"
|
|
2839
|
+
}
|
|
2840
|
+
});
|
|
2841
|
+
|
|
2771
2842
|
// src/recipes/banner.ts
|
|
2772
|
-
import { defineRecipe as defineRecipe12, defineSlotRecipe as
|
|
2773
|
-
var bannerSlotRecipe =
|
|
2843
|
+
import { defineRecipe as defineRecipe12, defineSlotRecipe as defineSlotRecipe19 } from "@pandacss/dev";
|
|
2844
|
+
var bannerSlotRecipe = defineSlotRecipe19({
|
|
2774
2845
|
className: "banner",
|
|
2775
2846
|
jsx: ["MpBanner", "mp-banner"],
|
|
2776
2847
|
slots: ["root", "body"],
|
|
@@ -2843,7 +2914,7 @@ var bannerDescriptionRecipe = defineRecipe12({
|
|
|
2843
2914
|
compoundVariants: [],
|
|
2844
2915
|
defaultVariants: {}
|
|
2845
2916
|
});
|
|
2846
|
-
var bannerIconSlotRecipe =
|
|
2917
|
+
var bannerIconSlotRecipe = defineSlotRecipe19({
|
|
2847
2918
|
className: "banner-icon",
|
|
2848
2919
|
jsx: ["MpBannerIcon", "mp-banner-icon"],
|
|
2849
2920
|
slots: ["root", "custom"],
|
|
@@ -2945,7 +3016,8 @@ var slotRecipes = {
|
|
|
2945
3016
|
bannerSlotRecipe,
|
|
2946
3017
|
bannerIconSlotRecipe,
|
|
2947
3018
|
segmentedControlSlotRecipe,
|
|
2948
|
-
toastSlotRecipe
|
|
3019
|
+
toastSlotRecipe,
|
|
3020
|
+
broadcastSlotRecipe
|
|
2949
3021
|
};
|
|
2950
3022
|
|
|
2951
3023
|
// src/text-styles.ts
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -47,6 +47,7 @@ declare const slotRecipes: {
|
|
|
47
47
|
bannerIconSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
48
48
|
segmentedControlSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
49
49
|
toastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
50
|
+
broadcastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
50
51
|
};
|
|
51
52
|
|
|
52
53
|
export { recipes, slotRecipes };
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ declare const slotRecipes: {
|
|
|
47
47
|
bannerIconSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
48
48
|
segmentedControlSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
49
49
|
toastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
50
|
+
broadcastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
50
51
|
};
|
|
51
52
|
|
|
52
53
|
export { recipes, slotRecipes };
|
package/package.json
CHANGED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const broadcastSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: 'broadcast',
|
|
5
|
+
jsx: ['MpBroadcast', 'mp-broadcast'],
|
|
6
|
+
slots: ['root', 'container', 'wrapper', 'icon', 'content', 'textLink', 'action', 'close'],
|
|
7
|
+
base: {
|
|
8
|
+
root: {
|
|
9
|
+
width: 'full',
|
|
10
|
+
position: 'relative'
|
|
11
|
+
},
|
|
12
|
+
container: {
|
|
13
|
+
display: 'flex',
|
|
14
|
+
flexDirection: 'row',
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
justifyContent: 'space-between',
|
|
17
|
+
paddingY: '2',
|
|
18
|
+
paddingX: '6'
|
|
19
|
+
},
|
|
20
|
+
wrapper: {
|
|
21
|
+
display: 'flex',
|
|
22
|
+
flexDirection: 'row',
|
|
23
|
+
alignItems: 'center',
|
|
24
|
+
width: 'var(--mp-broadcast--width)'
|
|
25
|
+
},
|
|
26
|
+
icon: {
|
|
27
|
+
marginRight: '3'
|
|
28
|
+
},
|
|
29
|
+
textLink: {
|
|
30
|
+
flex: 'none',
|
|
31
|
+
textDecoration: 'underline',
|
|
32
|
+
marginLeft: '3'
|
|
33
|
+
},
|
|
34
|
+
close: {
|
|
35
|
+
color: 'white!',
|
|
36
|
+
backgroundColor: 'transparent!',
|
|
37
|
+
borderColor: 'transparent!',
|
|
38
|
+
marginLeft: '3',
|
|
39
|
+
_hover: {
|
|
40
|
+
color: 'white!'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
variants: {
|
|
45
|
+
variant: {
|
|
46
|
+
announcement: {
|
|
47
|
+
container: { backgroundColor: 'stone.400' },
|
|
48
|
+
icon: { color: 'white' },
|
|
49
|
+
content: { color: 'white' },
|
|
50
|
+
textLink: { color: 'white' }
|
|
51
|
+
},
|
|
52
|
+
information: {
|
|
53
|
+
container: { backgroundColor: 'violet.400' },
|
|
54
|
+
icon: { color: 'white' },
|
|
55
|
+
content: { color: 'white' },
|
|
56
|
+
textLink: { color: 'white' }
|
|
57
|
+
},
|
|
58
|
+
important: {
|
|
59
|
+
container: { backgroundColor: 'amber.100' },
|
|
60
|
+
icon: { color: 'dark' },
|
|
61
|
+
content: { color: 'dark' },
|
|
62
|
+
textLink: { color: 'dark' }
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
compoundVariants: [],
|
|
67
|
+
defaultVariants: {
|
|
68
|
+
variant: 'announcement'
|
|
69
|
+
}
|
|
70
|
+
})
|
|
71
|
+
|
|
72
|
+
export { broadcastSlotRecipe }
|
package/src/recipes/index.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { uploadSlotRecipe, uploadListSlotRecipe } from './upload'
|
|
|
26
26
|
import { dropzoneSlotRecipe } from './dropzone'
|
|
27
27
|
import { segmentedControlSlotRecipe } from './segmented-control'
|
|
28
28
|
import { toastSlotRecipe } from './toast'
|
|
29
|
+
import { broadcastSlotRecipe } from './broadcast'
|
|
29
30
|
|
|
30
31
|
import {
|
|
31
32
|
bannerSlotRecipe,
|
|
@@ -83,5 +84,6 @@ export const slotRecipes = {
|
|
|
83
84
|
bannerSlotRecipe,
|
|
84
85
|
bannerIconSlotRecipe,
|
|
85
86
|
segmentedControlSlotRecipe,
|
|
86
|
-
toastSlotRecipe
|
|
87
|
+
toastSlotRecipe,
|
|
88
|
+
broadcastSlotRecipe
|
|
87
89
|
}
|