@mekari/pixel3-theme 0.0.9 → 0.0.10-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 CHANGED
@@ -25,7 +25,7 @@ __export(theme_exports, {
25
25
  module.exports = __toCommonJS(theme_exports);
26
26
 
27
27
  // src/index.ts
28
- var import_dev48 = require("@pandacss/dev");
28
+ var import_dev49 = require("@pandacss/dev");
29
29
 
30
30
  // src/breakpoints.ts
31
31
  var breakpoints = {
@@ -2953,7 +2953,7 @@ var richTextEditorSlotRecipe = (0, import_dev32.defineSlotRecipe)({
2953
2953
  content: "attr(data-placeholder)",
2954
2954
  float: "left",
2955
2955
  height: "0",
2956
- pointeEvents: "none"
2956
+ pointerEvents: "none"
2957
2957
  }
2958
2958
  }
2959
2959
  },
@@ -3354,9 +3354,110 @@ var carouselSlotRecipe = (0, import_dev34.defineSlotRecipe)({
3354
3354
  }
3355
3355
  });
3356
3356
 
3357
- // src/recipes/banner.ts
3357
+ // src/recipes/chart.ts
3358
3358
  var import_dev35 = require("@pandacss/dev");
3359
- var bannerSlotRecipe = (0, import_dev35.defineSlotRecipe)({
3359
+ var chartSlotRecipe = (0, import_dev35.defineSlotRecipe)({
3360
+ className: "chart",
3361
+ jsx: ["MpChart", "mp-chart"],
3362
+ slots: [
3363
+ "root",
3364
+ "chartHeader",
3365
+ "chartWrapper",
3366
+ "chartContainer",
3367
+ "canvasContainer",
3368
+ "chartLegend",
3369
+ "legendWrapper",
3370
+ "legendBox",
3371
+ "chartTooltip",
3372
+ "tooltipWrapper",
3373
+ "tooltipRow",
3374
+ "tooltipItem",
3375
+ "tooltipBox"
3376
+ ],
3377
+ base: {
3378
+ root: {
3379
+ position: "relative"
3380
+ },
3381
+ chartHeader: {
3382
+ display: "flex",
3383
+ flexDirection: "row",
3384
+ justifyContent: "space-between",
3385
+ alignItems: "center",
3386
+ width: "full",
3387
+ marginBottom: "4"
3388
+ },
3389
+ chartWrapper: {
3390
+ display: "flex"
3391
+ },
3392
+ chartContainer: {
3393
+ position: "relative",
3394
+ overflow: "auto",
3395
+ display: "flex"
3396
+ },
3397
+ canvasContainer: {
3398
+ flex: "none"
3399
+ },
3400
+ chartLegend: {
3401
+ display: "flex",
3402
+ flexDirection: "row",
3403
+ flexWrap: "wrap",
3404
+ alignItems: "center",
3405
+ wrap: "wrap",
3406
+ width: "full",
3407
+ gap: "4",
3408
+ py: "2",
3409
+ px: "1"
3410
+ },
3411
+ legendWrapper: {
3412
+ display: "flex",
3413
+ flexDirection: "row",
3414
+ alignItems: "center",
3415
+ cursor: "pointer"
3416
+ },
3417
+ legendBox: {
3418
+ borderRadius: "3px",
3419
+ marginRight: "2"
3420
+ },
3421
+ chartTooltip: {
3422
+ position: "absolute",
3423
+ backgroundColor: "white",
3424
+ border: "1px solid",
3425
+ borderColor: "gray.400",
3426
+ borderRadius: "md",
3427
+ boxShadow: "sm",
3428
+ zIndex: "popover",
3429
+ pointerEvents: "none",
3430
+ transition: "all 0.1s ease 0s"
3431
+ },
3432
+ tooltipWrapper: {
3433
+ display: "flex",
3434
+ flexDirection: "column",
3435
+ gap: "2",
3436
+ width: "200px",
3437
+ padding: "4"
3438
+ },
3439
+ tooltipRow: {
3440
+ display: "flex",
3441
+ justifyContent: "space-between",
3442
+ alignItems: "center",
3443
+ width: "full"
3444
+ },
3445
+ tooltipItem: {
3446
+ display: "flex",
3447
+ alignItems: "center",
3448
+ gap: "2"
3449
+ },
3450
+ tooltipBox: {
3451
+ width: "2",
3452
+ height: "2",
3453
+ borderRadius: "xs"
3454
+ }
3455
+ }
3456
+ });
3457
+
3458
+ // src/recipes/banner.ts
3459
+ var import_dev36 = require("@pandacss/dev");
3460
+ var bannerSlotRecipe = (0, import_dev36.defineSlotRecipe)({
3360
3461
  className: "banner",
3361
3462
  jsx: ["MpBanner", "mp-banner"],
3362
3463
  slots: ["root", "body"],
@@ -3397,7 +3498,7 @@ var bannerSlotRecipe = (0, import_dev35.defineSlotRecipe)({
3397
3498
  variant: "info"
3398
3499
  }
3399
3500
  });
3400
- var bannerTitleRecipe = (0, import_dev35.defineRecipe)({
3501
+ var bannerTitleRecipe = (0, import_dev36.defineRecipe)({
3401
3502
  className: "banner-title",
3402
3503
  jsx: ["MpBannerTitle", "mp-banner-title"],
3403
3504
  base: {
@@ -3414,7 +3515,7 @@ var bannerTitleRecipe = (0, import_dev35.defineRecipe)({
3414
3515
  compoundVariants: [],
3415
3516
  defaultVariants: {}
3416
3517
  });
3417
- var bannerDescriptionRecipe = (0, import_dev35.defineRecipe)({
3518
+ var bannerDescriptionRecipe = (0, import_dev36.defineRecipe)({
3418
3519
  className: "banner-description",
3419
3520
  jsx: ["MpBannerDescription", "mp-banner-description"],
3420
3521
  base: {
@@ -3429,7 +3530,7 @@ var bannerDescriptionRecipe = (0, import_dev35.defineRecipe)({
3429
3530
  compoundVariants: [],
3430
3531
  defaultVariants: {}
3431
3532
  });
3432
- var bannerIconSlotRecipe = (0, import_dev35.defineSlotRecipe)({
3533
+ var bannerIconSlotRecipe = (0, import_dev36.defineSlotRecipe)({
3433
3534
  className: "banner-icon",
3434
3535
  jsx: ["MpBannerIcon", "mp-banner-icon"],
3435
3536
  slots: ["root", "custom"],
@@ -3452,7 +3553,7 @@ var bannerIconSlotRecipe = (0, import_dev35.defineSlotRecipe)({
3452
3553
  compoundVariants: [],
3453
3554
  defaultVariants: {}
3454
3555
  });
3455
- var bannerLinkRecipe = (0, import_dev35.defineRecipe)({
3556
+ var bannerLinkRecipe = (0, import_dev36.defineRecipe)({
3456
3557
  className: "banner-link",
3457
3558
  jsx: ["MpBannerLink", "mp-banner-link"],
3458
3559
  base: {
@@ -3465,7 +3566,7 @@ var bannerLinkRecipe = (0, import_dev35.defineRecipe)({
3465
3566
  compoundVariants: [],
3466
3567
  defaultVariants: {}
3467
3568
  });
3468
- var bannerCloseButtonRecipe = (0, import_dev35.defineRecipe)({
3569
+ var bannerCloseButtonRecipe = (0, import_dev36.defineRecipe)({
3469
3570
  className: "banner-close-button",
3470
3571
  jsx: ["MpBannerCloseButton", "mp-banner-close-button"],
3471
3572
  base: {
@@ -3545,12 +3646,13 @@ var slotRecipes = {
3545
3646
  tableMonthSlotRecipe,
3546
3647
  tableYearSlotRecipe,
3547
3648
  pinbarSlotRecipe,
3548
- carouselSlotRecipe
3649
+ carouselSlotRecipe,
3650
+ chartSlotRecipe
3549
3651
  };
3550
3652
 
3551
3653
  // src/text-styles.ts
3552
- var import_dev36 = require("@pandacss/dev");
3553
- var textStyles = (0, import_dev36.defineTextStyles)({
3654
+ var import_dev37 = require("@pandacss/dev");
3655
+ var textStyles = (0, import_dev37.defineTextStyles)({
3554
3656
  overline: { value: { fontSize: "xs", lineHeight: "xs" } },
3555
3657
  body: {
3556
3658
  sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
@@ -3584,11 +3686,11 @@ var textStyles = (0, import_dev36.defineTextStyles)({
3584
3686
  });
3585
3687
 
3586
3688
  // src/tokens/index.ts
3587
- var import_dev47 = require("@pandacss/dev");
3689
+ var import_dev48 = require("@pandacss/dev");
3588
3690
 
3589
3691
  // src/tokens/borders.ts
3590
- var import_dev37 = require("@pandacss/dev");
3591
- var borders = import_dev37.defineTokens.borders({
3692
+ var import_dev38 = require("@pandacss/dev");
3693
+ var borders = import_dev38.defineTokens.borders({
3592
3694
  none: { value: "none" },
3593
3695
  sm: { value: "1px" },
3594
3696
  md: { value: "1.5px" },
@@ -3596,8 +3698,8 @@ var borders = import_dev37.defineTokens.borders({
3596
3698
  });
3597
3699
 
3598
3700
  // src/tokens/colors.ts
3599
- var import_dev38 = require("@pandacss/dev");
3600
- var colors = import_dev38.defineTokens.colors({
3701
+ var import_dev39 = require("@pandacss/dev");
3702
+ var colors = import_dev39.defineTokens.colors({
3601
3703
  currentcolor: {
3602
3704
  value: "currentcolor"
3603
3705
  },
@@ -3743,16 +3845,16 @@ var colors = import_dev38.defineTokens.colors({
3743
3845
  });
3744
3846
 
3745
3847
  // src/tokens/durations.ts
3746
- var import_dev39 = require("@pandacss/dev");
3747
- var durations = import_dev39.defineTokens.durations({
3848
+ var import_dev40 = require("@pandacss/dev");
3849
+ var durations = import_dev40.defineTokens.durations({
3748
3850
  slow: { value: "100ms" },
3749
3851
  normal: { value: "250ms" },
3750
3852
  fast: { value: "300ms" }
3751
3853
  });
3752
3854
 
3753
3855
  // src/tokens/opacity.ts
3754
- var import_dev40 = require("@pandacss/dev");
3755
- var opacity = import_dev40.defineTokens.opacity({
3856
+ var import_dev41 = require("@pandacss/dev");
3857
+ var opacity = import_dev41.defineTokens.opacity({
3756
3858
  0: { value: 0 },
3757
3859
  40: { value: 0.4 },
3758
3860
  60: { value: 0.6 },
@@ -3760,8 +3862,8 @@ var opacity = import_dev40.defineTokens.opacity({
3760
3862
  });
3761
3863
 
3762
3864
  // src/tokens/radii.ts
3763
- var import_dev41 = require("@pandacss/dev");
3764
- var radii = import_dev41.defineTokens.radii({
3865
+ var import_dev42 = require("@pandacss/dev");
3866
+ var radii = import_dev42.defineTokens.radii({
3765
3867
  none: { value: "0" },
3766
3868
  xs: { value: "0.125rem" },
3767
3869
  sm: { value: "0.25rem" },
@@ -3772,8 +3874,8 @@ var radii = import_dev41.defineTokens.radii({
3772
3874
  });
3773
3875
 
3774
3876
  // src/tokens/shadows.ts
3775
- var import_dev42 = require("@pandacss/dev");
3776
- var shadows = import_dev42.defineTokens.shadows({
3877
+ var import_dev43 = require("@pandacss/dev");
3878
+ var shadows = import_dev43.defineTokens.shadows({
3777
3879
  xs: {
3778
3880
  value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
3779
3881
  },
@@ -3813,8 +3915,8 @@ var shadows = import_dev42.defineTokens.shadows({
3813
3915
  });
3814
3916
 
3815
3917
  // src/tokens/sizes.ts
3816
- var import_dev43 = require("@pandacss/dev");
3817
- var sizes = import_dev43.defineTokens.sizes({
3918
+ var import_dev44 = require("@pandacss/dev");
3919
+ var sizes = import_dev44.defineTokens.sizes({
3818
3920
  0: { value: "0" },
3819
3921
  0.25: { value: "0.0625rem" },
3820
3922
  0.5: { value: "0.125rem" },
@@ -3843,8 +3945,8 @@ var sizes = import_dev43.defineTokens.sizes({
3843
3945
  });
3844
3946
 
3845
3947
  // src/tokens/spacing.ts
3846
- var import_dev44 = require("@pandacss/dev");
3847
- var spacing = import_dev44.defineTokens.spacing({
3948
+ var import_dev45 = require("@pandacss/dev");
3949
+ var spacing = import_dev45.defineTokens.spacing({
3848
3950
  0: { value: "0" },
3849
3951
  0.5: { value: "0.125rem" },
3850
3952
  1: { value: "0.25rem" },
@@ -3865,8 +3967,8 @@ var spacing = import_dev44.defineTokens.spacing({
3865
3967
  });
3866
3968
 
3867
3969
  // src/tokens/z-index.ts
3868
- var import_dev45 = require("@pandacss/dev");
3869
- var zIndex = import_dev45.defineTokens.zIndex({
3970
+ var import_dev46 = require("@pandacss/dev");
3971
+ var zIndex = import_dev46.defineTokens.zIndex({
3870
3972
  hide: { value: -1 },
3871
3973
  base: { value: 0 },
3872
3974
  docked: { value: 10 },
@@ -3878,8 +3980,8 @@ var zIndex = import_dev45.defineTokens.zIndex({
3878
3980
  });
3879
3981
 
3880
3982
  // src/tokens/typography.ts
3881
- var import_dev46 = require("@pandacss/dev");
3882
- var fonts = import_dev46.defineTokens.fonts({
3983
+ var import_dev47 = require("@pandacss/dev");
3984
+ var fonts = import_dev47.defineTokens.fonts({
3883
3985
  body: {
3884
3986
  value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
3885
3987
  },
@@ -3887,7 +3989,7 @@ var fonts = import_dev46.defineTokens.fonts({
3887
3989
  value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
3888
3990
  }
3889
3991
  });
3890
- var fontSizes = import_dev46.defineTokens.fontSizes({
3992
+ var fontSizes = import_dev47.defineTokens.fontSizes({
3891
3993
  xs: { value: "0.625rem" },
3892
3994
  sm: { value: "0.75rem" },
3893
3995
  md: { value: "0.875rem" },
@@ -3895,12 +3997,12 @@ var fontSizes = import_dev46.defineTokens.fontSizes({
3895
3997
  xl: { value: "1.25rem" },
3896
3998
  "2xl": { value: "1.5rem" }
3897
3999
  });
3898
- var fontWeights = import_dev46.defineTokens.fontWeights({
4000
+ var fontWeights = import_dev47.defineTokens.fontWeights({
3899
4001
  regular: { value: "400" },
3900
4002
  semiBold: { value: "600" },
3901
4003
  bold: { value: "800" }
3902
4004
  });
3903
- var lineHeights = import_dev46.defineTokens.lineHeights({
4005
+ var lineHeights = import_dev47.defineTokens.lineHeights({
3904
4006
  xs: { value: 1.2 },
3905
4007
  sm: { value: 1.34 },
3906
4008
  md: { value: 1.4 },
@@ -3909,7 +4011,7 @@ var lineHeights = import_dev46.defineTokens.lineHeights({
3909
4011
  "2xl": { value: 1.67 },
3910
4012
  "3xl": { value: 1.71 }
3911
4013
  });
3912
- var letterSpacings = import_dev46.defineTokens.letterSpacings({
4014
+ var letterSpacings = import_dev47.defineTokens.letterSpacings({
3913
4015
  tighter: { value: "-0.05em" },
3914
4016
  tight: { value: "-0.025em" },
3915
4017
  normal: { value: "0" },
@@ -3919,7 +4021,7 @@ var letterSpacings = import_dev46.defineTokens.letterSpacings({
3919
4021
  });
3920
4022
 
3921
4023
  // src/tokens/index.ts
3922
- var tokens = (0, import_dev47.defineTokens)({
4024
+ var tokens = (0, import_dev48.defineTokens)({
3923
4025
  borders,
3924
4026
  colors,
3925
4027
  durations,
@@ -3937,7 +4039,7 @@ var tokens = (0, import_dev47.defineTokens)({
3937
4039
  });
3938
4040
 
3939
4041
  // src/index.ts
3940
- var preset = (0, import_dev48.definePreset)({
4042
+ var preset = (0, import_dev49.definePreset)({
3941
4043
  theme: {
3942
4044
  extend: {
3943
4045
  breakpoints,
package/dist/index.mjs CHANGED
@@ -2927,7 +2927,7 @@ var richTextEditorSlotRecipe = defineSlotRecipe19({
2927
2927
  content: "attr(data-placeholder)",
2928
2928
  float: "left",
2929
2929
  height: "0",
2930
- pointeEvents: "none"
2930
+ pointerEvents: "none"
2931
2931
  }
2932
2932
  }
2933
2933
  },
@@ -3328,9 +3328,110 @@ var carouselSlotRecipe = defineSlotRecipe21({
3328
3328
  }
3329
3329
  });
3330
3330
 
3331
+ // src/recipes/chart.ts
3332
+ import { defineSlotRecipe as defineSlotRecipe22 } from "@pandacss/dev";
3333
+ var chartSlotRecipe = defineSlotRecipe22({
3334
+ className: "chart",
3335
+ jsx: ["MpChart", "mp-chart"],
3336
+ slots: [
3337
+ "root",
3338
+ "chartHeader",
3339
+ "chartWrapper",
3340
+ "chartContainer",
3341
+ "canvasContainer",
3342
+ "chartLegend",
3343
+ "legendWrapper",
3344
+ "legendBox",
3345
+ "chartTooltip",
3346
+ "tooltipWrapper",
3347
+ "tooltipRow",
3348
+ "tooltipItem",
3349
+ "tooltipBox"
3350
+ ],
3351
+ base: {
3352
+ root: {
3353
+ position: "relative"
3354
+ },
3355
+ chartHeader: {
3356
+ display: "flex",
3357
+ flexDirection: "row",
3358
+ justifyContent: "space-between",
3359
+ alignItems: "center",
3360
+ width: "full",
3361
+ marginBottom: "4"
3362
+ },
3363
+ chartWrapper: {
3364
+ display: "flex"
3365
+ },
3366
+ chartContainer: {
3367
+ position: "relative",
3368
+ overflow: "auto",
3369
+ display: "flex"
3370
+ },
3371
+ canvasContainer: {
3372
+ flex: "none"
3373
+ },
3374
+ chartLegend: {
3375
+ display: "flex",
3376
+ flexDirection: "row",
3377
+ flexWrap: "wrap",
3378
+ alignItems: "center",
3379
+ wrap: "wrap",
3380
+ width: "full",
3381
+ gap: "4",
3382
+ py: "2",
3383
+ px: "1"
3384
+ },
3385
+ legendWrapper: {
3386
+ display: "flex",
3387
+ flexDirection: "row",
3388
+ alignItems: "center",
3389
+ cursor: "pointer"
3390
+ },
3391
+ legendBox: {
3392
+ borderRadius: "3px",
3393
+ marginRight: "2"
3394
+ },
3395
+ chartTooltip: {
3396
+ position: "absolute",
3397
+ backgroundColor: "white",
3398
+ border: "1px solid",
3399
+ borderColor: "gray.400",
3400
+ borderRadius: "md",
3401
+ boxShadow: "sm",
3402
+ zIndex: "popover",
3403
+ pointerEvents: "none",
3404
+ transition: "all 0.1s ease 0s"
3405
+ },
3406
+ tooltipWrapper: {
3407
+ display: "flex",
3408
+ flexDirection: "column",
3409
+ gap: "2",
3410
+ width: "200px",
3411
+ padding: "4"
3412
+ },
3413
+ tooltipRow: {
3414
+ display: "flex",
3415
+ justifyContent: "space-between",
3416
+ alignItems: "center",
3417
+ width: "full"
3418
+ },
3419
+ tooltipItem: {
3420
+ display: "flex",
3421
+ alignItems: "center",
3422
+ gap: "2"
3423
+ },
3424
+ tooltipBox: {
3425
+ width: "2",
3426
+ height: "2",
3427
+ borderRadius: "xs"
3428
+ }
3429
+ }
3430
+ });
3431
+
3331
3432
  // src/recipes/banner.ts
3332
- import { defineRecipe as defineRecipe14, defineSlotRecipe as defineSlotRecipe22 } from "@pandacss/dev";
3333
- var bannerSlotRecipe = defineSlotRecipe22({
3433
+ import { defineRecipe as defineRecipe14, defineSlotRecipe as defineSlotRecipe23 } from "@pandacss/dev";
3434
+ var bannerSlotRecipe = defineSlotRecipe23({
3334
3435
  className: "banner",
3335
3436
  jsx: ["MpBanner", "mp-banner"],
3336
3437
  slots: ["root", "body"],
@@ -3403,7 +3504,7 @@ var bannerDescriptionRecipe = defineRecipe14({
3403
3504
  compoundVariants: [],
3404
3505
  defaultVariants: {}
3405
3506
  });
3406
- var bannerIconSlotRecipe = defineSlotRecipe22({
3507
+ var bannerIconSlotRecipe = defineSlotRecipe23({
3407
3508
  className: "banner-icon",
3408
3509
  jsx: ["MpBannerIcon", "mp-banner-icon"],
3409
3510
  slots: ["root", "custom"],
@@ -3519,7 +3620,8 @@ var slotRecipes = {
3519
3620
  tableMonthSlotRecipe,
3520
3621
  tableYearSlotRecipe,
3521
3622
  pinbarSlotRecipe,
3522
- carouselSlotRecipe
3623
+ carouselSlotRecipe,
3624
+ chartSlotRecipe
3523
3625
  };
3524
3626
 
3525
3627
  // src/text-styles.ts
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const chartSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { chartSlotRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const chartSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { chartSlotRecipe };
@@ -61,6 +61,7 @@ declare const slotRecipes: {
61
61
  tableYearSlotRecipe: _pandacss_types.SlotRecipeConfig;
62
62
  pinbarSlotRecipe: _pandacss_types.SlotRecipeConfig;
63
63
  carouselSlotRecipe: _pandacss_types.SlotRecipeConfig;
64
+ chartSlotRecipe: _pandacss_types.SlotRecipeConfig;
64
65
  };
65
66
 
66
67
  export { recipes, slotRecipes };
@@ -61,6 +61,7 @@ declare const slotRecipes: {
61
61
  tableYearSlotRecipe: _pandacss_types.SlotRecipeConfig;
62
62
  pinbarSlotRecipe: _pandacss_types.SlotRecipeConfig;
63
63
  carouselSlotRecipe: _pandacss_types.SlotRecipeConfig;
64
+ chartSlotRecipe: _pandacss_types.SlotRecipeConfig;
64
65
  };
65
66
 
66
67
  export { recipes, slotRecipes };
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.9",
4
+ "version": "0.0.10-dev.0",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
@@ -9,13 +9,13 @@
9
9
  "src"
10
10
  ],
11
11
  "dependencies": {
12
- "@pandacss/dev": "^0.29.1"
12
+ "@pandacss/dev": "^0.39.2"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "vue": "^3.4.9"
16
16
  },
17
17
  "devDependencies": {
18
- "@pandacss/types": "^0.29.1",
18
+ "@pandacss/types": "^0.39.2",
19
19
  "vue": "^3.4.9"
20
20
  },
21
21
  "publishConfig": {
@@ -0,0 +1,102 @@
1
+ import { defineSlotRecipe } from '@pandacss/dev'
2
+
3
+ const chartSlotRecipe = defineSlotRecipe({
4
+ className: 'chart',
5
+ jsx: ['MpChart', 'mp-chart'],
6
+ slots: [
7
+ 'root',
8
+ 'chartHeader',
9
+ 'chartWrapper',
10
+ 'chartContainer',
11
+ 'canvasContainer',
12
+ 'chartLegend',
13
+ 'legendWrapper',
14
+ 'legendBox',
15
+ 'chartTooltip',
16
+ 'tooltipWrapper',
17
+ 'tooltipRow',
18
+ 'tooltipItem',
19
+ 'tooltipBox'
20
+ ],
21
+ base: {
22
+ root: {
23
+ position: 'relative'
24
+ },
25
+ chartHeader: {
26
+ display: 'flex',
27
+ flexDirection: 'row',
28
+ justifyContent: 'space-between',
29
+ alignItems: 'center',
30
+ width: 'full',
31
+ marginBottom: '4'
32
+ },
33
+ chartWrapper: {
34
+ display: 'flex'
35
+ },
36
+ chartContainer: {
37
+ position: 'relative',
38
+ overflow: 'auto',
39
+ display: 'flex'
40
+ },
41
+ canvasContainer: {
42
+ flex: 'none'
43
+ },
44
+ chartLegend: {
45
+ display: 'flex',
46
+ flexDirection: 'row',
47
+ flexWrap: 'wrap',
48
+ alignItems: 'center',
49
+ wrap: 'wrap',
50
+ width: 'full',
51
+ gap: '4',
52
+ py: '2',
53
+ px: '1'
54
+ },
55
+ legendWrapper: {
56
+ display: 'flex',
57
+ flexDirection: 'row',
58
+ alignItems: 'center',
59
+ cursor: 'pointer'
60
+ },
61
+ legendBox: {
62
+ borderRadius: '3px',
63
+ marginRight: '2'
64
+ },
65
+ chartTooltip: {
66
+ position: 'absolute',
67
+ backgroundColor: 'white',
68
+ border: '1px solid',
69
+ borderColor: 'gray.400',
70
+ borderRadius: 'md',
71
+ boxShadow: 'sm',
72
+ zIndex: 'popover',
73
+ pointerEvents: 'none',
74
+ transition: 'all 0.1s ease 0s'
75
+ },
76
+ tooltipWrapper: {
77
+ display: 'flex',
78
+ flexDirection: 'column',
79
+ gap: '2',
80
+ width: '200px',
81
+ padding: '4'
82
+ },
83
+ tooltipRow: {
84
+ display: 'flex',
85
+ justifyContent: 'space-between',
86
+ alignItems: 'center',
87
+ width: 'full'
88
+ },
89
+ tooltipItem: {
90
+ display: 'flex',
91
+ alignItems: 'center',
92
+ gap: '2'
93
+ },
94
+ tooltipBox: {
95
+ width: '2',
96
+ height: '2',
97
+ borderRadius: 'xs'
98
+ }
99
+ }
100
+ })
101
+
102
+ export { chartSlotRecipe }
@@ -41,6 +41,7 @@ import {
41
41
  pinbarSlotRecipe
42
42
  } from './date-picker'
43
43
  import { carouselSlotRecipe } from './carousel'
44
+ import { chartSlotRecipe } from './chart'
44
45
 
45
46
  import {
46
47
  bannerSlotRecipe,
@@ -112,5 +113,6 @@ export const slotRecipes = {
112
113
  tableMonthSlotRecipe,
113
114
  tableYearSlotRecipe,
114
115
  pinbarSlotRecipe,
115
- carouselSlotRecipe
116
+ carouselSlotRecipe,
117
+ chartSlotRecipe
116
118
  }
@@ -75,7 +75,7 @@ const richTextEditorSlotRecipe = defineSlotRecipe({
75
75
  content: 'attr(data-placeholder)',
76
76
  float: 'left',
77
77
  height: '0',
78
- pointeEvents: 'none'
78
+ pointerEvents: 'none'
79
79
  }
80
80
  }
81
81
  },