@mekari/pixel3-theme 0.3.0-dev.6 → 0.3.1-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 +119 -49
- package/dist/index.mjs +71 -1
- package/dist/recipes/index.d.mts +1 -0
- package/dist/recipes/index.d.ts +1 -0
- package/dist/recipes/rating.d.mts +5 -0
- package/dist/recipes/rating.d.ts +5 -0
- package/package.json +1 -1
- package/src/recipes/index.ts +3 -1
- package/src/recipes/rating.ts +77 -0
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_dev70 = require("@pandacss/dev");
|
|
29
29
|
|
|
30
30
|
// src/breakpoints.ts
|
|
31
31
|
var breakpoints = {
|
|
@@ -6364,6 +6364,75 @@ var aireneBubbleSlotRecipe = (0, import_dev47.defineSlotRecipe)({
|
|
|
6364
6364
|
defaultVariants: {}
|
|
6365
6365
|
});
|
|
6366
6366
|
|
|
6367
|
+
// src/recipes/rating.ts
|
|
6368
|
+
var import_dev48 = require("@pandacss/dev");
|
|
6369
|
+
var ratingSlotRecipe = (0, import_dev48.defineSlotRecipe)({
|
|
6370
|
+
className: "rating",
|
|
6371
|
+
jsx: ["MpRating", "mp-rating"],
|
|
6372
|
+
slots: ["root", "wrapper", "value", "backgroundIconWrapper", "activeIconWrapper"],
|
|
6373
|
+
base: {
|
|
6374
|
+
root: {
|
|
6375
|
+
position: "relative",
|
|
6376
|
+
display: "inline-flex",
|
|
6377
|
+
alignItems: "center",
|
|
6378
|
+
gap: "4",
|
|
6379
|
+
py: "1"
|
|
6380
|
+
},
|
|
6381
|
+
wrapper: {
|
|
6382
|
+
position: "relative",
|
|
6383
|
+
width: "fit-content"
|
|
6384
|
+
},
|
|
6385
|
+
value: {
|
|
6386
|
+
position: "relative",
|
|
6387
|
+
display: "flex",
|
|
6388
|
+
alignItems: "center",
|
|
6389
|
+
mt: "2px"
|
|
6390
|
+
},
|
|
6391
|
+
backgroundIconWrapper: {
|
|
6392
|
+
display: "flex",
|
|
6393
|
+
gap: "2",
|
|
6394
|
+
"& svg": {
|
|
6395
|
+
display: "flex",
|
|
6396
|
+
width: "6",
|
|
6397
|
+
height: "6",
|
|
6398
|
+
color: "gray.100 !important",
|
|
6399
|
+
_nextTheme: {
|
|
6400
|
+
color: "icon.disabled !important"
|
|
6401
|
+
}
|
|
6402
|
+
}
|
|
6403
|
+
},
|
|
6404
|
+
activeIconWrapper: {
|
|
6405
|
+
position: "absolute",
|
|
6406
|
+
top: 0,
|
|
6407
|
+
left: 0,
|
|
6408
|
+
display: "flex",
|
|
6409
|
+
gap: "2",
|
|
6410
|
+
overflow: "hidden",
|
|
6411
|
+
whiteSpace: "nowrap",
|
|
6412
|
+
"& svg": {
|
|
6413
|
+
flex: "none",
|
|
6414
|
+
width: "6",
|
|
6415
|
+
height: "6",
|
|
6416
|
+
'&[data-variant="star"]': {
|
|
6417
|
+
color: "amber.400",
|
|
6418
|
+
_nextTheme: {
|
|
6419
|
+
color: "chart.cat04.bold"
|
|
6420
|
+
}
|
|
6421
|
+
},
|
|
6422
|
+
'&[data-variant="heart"]': {
|
|
6423
|
+
color: "rose.400",
|
|
6424
|
+
_nextTheme: {
|
|
6425
|
+
color: "chart.cat06.bold"
|
|
6426
|
+
}
|
|
6427
|
+
}
|
|
6428
|
+
}
|
|
6429
|
+
}
|
|
6430
|
+
},
|
|
6431
|
+
variants: {},
|
|
6432
|
+
compoundVariants: [],
|
|
6433
|
+
defaultVariants: {}
|
|
6434
|
+
});
|
|
6435
|
+
|
|
6367
6436
|
// src/recipes/index.ts
|
|
6368
6437
|
var recipes = {
|
|
6369
6438
|
buttonRecipe,
|
|
@@ -6443,12 +6512,13 @@ var slotRecipes = {
|
|
|
6443
6512
|
tourSlotRecipe,
|
|
6444
6513
|
aireneButtonSlotRecipe,
|
|
6445
6514
|
aireneInputSlotRecipe,
|
|
6446
|
-
aireneBubbleSlotRecipe
|
|
6515
|
+
aireneBubbleSlotRecipe,
|
|
6516
|
+
ratingSlotRecipe
|
|
6447
6517
|
};
|
|
6448
6518
|
|
|
6449
6519
|
// src/text-styles.ts
|
|
6450
|
-
var
|
|
6451
|
-
var textStyles = (0,
|
|
6520
|
+
var import_dev49 = require("@pandacss/dev");
|
|
6521
|
+
var textStyles = (0, import_dev49.defineTextStyles)({
|
|
6452
6522
|
overline: {
|
|
6453
6523
|
value: {
|
|
6454
6524
|
fontFamily: "var(--font-inter)",
|
|
@@ -6491,11 +6561,11 @@ var textStyles = (0, import_dev48.defineTextStyles)({
|
|
|
6491
6561
|
});
|
|
6492
6562
|
|
|
6493
6563
|
// src/tokens/index.ts
|
|
6494
|
-
var
|
|
6564
|
+
var import_dev60 = require("@pandacss/dev");
|
|
6495
6565
|
|
|
6496
6566
|
// src/tokens/borders.ts
|
|
6497
|
-
var
|
|
6498
|
-
var borderWidths =
|
|
6567
|
+
var import_dev50 = require("@pandacss/dev");
|
|
6568
|
+
var borderWidths = import_dev50.defineTokens.borderWidths({
|
|
6499
6569
|
none: { value: "none" },
|
|
6500
6570
|
sm: { value: "1px" },
|
|
6501
6571
|
md: { value: "1.5px" },
|
|
@@ -6503,8 +6573,8 @@ var borderWidths = import_dev49.defineTokens.borderWidths({
|
|
|
6503
6573
|
});
|
|
6504
6574
|
|
|
6505
6575
|
// src/tokens/colors.ts
|
|
6506
|
-
var
|
|
6507
|
-
var colors =
|
|
6576
|
+
var import_dev51 = require("@pandacss/dev");
|
|
6577
|
+
var colors = import_dev51.defineTokens.colors({
|
|
6508
6578
|
debug: { value: "blue" },
|
|
6509
6579
|
currentcolor: { value: "currentcolor" },
|
|
6510
6580
|
dark: { value: "#232933" },
|
|
@@ -6647,16 +6717,16 @@ var colors = import_dev50.defineTokens.colors({
|
|
|
6647
6717
|
});
|
|
6648
6718
|
|
|
6649
6719
|
// src/tokens/durations.ts
|
|
6650
|
-
var
|
|
6651
|
-
var durations =
|
|
6720
|
+
var import_dev52 = require("@pandacss/dev");
|
|
6721
|
+
var durations = import_dev52.defineTokens.durations({
|
|
6652
6722
|
slow: { value: "100ms" },
|
|
6653
6723
|
normal: { value: "250ms" },
|
|
6654
6724
|
fast: { value: "300ms" }
|
|
6655
6725
|
});
|
|
6656
6726
|
|
|
6657
6727
|
// src/tokens/opacity.ts
|
|
6658
|
-
var
|
|
6659
|
-
var opacity =
|
|
6728
|
+
var import_dev53 = require("@pandacss/dev");
|
|
6729
|
+
var opacity = import_dev53.defineTokens.opacity({
|
|
6660
6730
|
0: { value: 0 },
|
|
6661
6731
|
40: { value: 0.4 },
|
|
6662
6732
|
60: { value: 0.6 },
|
|
@@ -6664,8 +6734,8 @@ var opacity = import_dev52.defineTokens.opacity({
|
|
|
6664
6734
|
});
|
|
6665
6735
|
|
|
6666
6736
|
// src/tokens/radii.ts
|
|
6667
|
-
var
|
|
6668
|
-
var radii =
|
|
6737
|
+
var import_dev54 = require("@pandacss/dev");
|
|
6738
|
+
var radii = import_dev54.defineTokens.radii({
|
|
6669
6739
|
none: { value: "0" },
|
|
6670
6740
|
xs: { value: "0.125rem", description: "2px" },
|
|
6671
6741
|
sm: { value: "0.25rem", description: "4px" },
|
|
@@ -6676,8 +6746,8 @@ var radii = import_dev53.defineTokens.radii({
|
|
|
6676
6746
|
});
|
|
6677
6747
|
|
|
6678
6748
|
// src/tokens/shadows.ts
|
|
6679
|
-
var
|
|
6680
|
-
var shadows =
|
|
6749
|
+
var import_dev55 = require("@pandacss/dev");
|
|
6750
|
+
var shadows = import_dev55.defineTokens.shadows({
|
|
6681
6751
|
xs: {
|
|
6682
6752
|
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
6683
6753
|
},
|
|
@@ -6717,8 +6787,8 @@ var shadows = import_dev54.defineTokens.shadows({
|
|
|
6717
6787
|
});
|
|
6718
6788
|
|
|
6719
6789
|
// src/tokens/sizes.ts
|
|
6720
|
-
var
|
|
6721
|
-
var sizes =
|
|
6790
|
+
var import_dev56 = require("@pandacss/dev");
|
|
6791
|
+
var sizes = import_dev56.defineTokens.sizes({
|
|
6722
6792
|
0: { value: "0" },
|
|
6723
6793
|
0.25: { value: "0.0625rem" },
|
|
6724
6794
|
0.5: { value: "0.125rem" },
|
|
@@ -6747,8 +6817,8 @@ var sizes = import_dev55.defineTokens.sizes({
|
|
|
6747
6817
|
});
|
|
6748
6818
|
|
|
6749
6819
|
// src/tokens/spacing.ts
|
|
6750
|
-
var
|
|
6751
|
-
var spacing =
|
|
6820
|
+
var import_dev57 = require("@pandacss/dev");
|
|
6821
|
+
var spacing = import_dev57.defineTokens.spacing({
|
|
6752
6822
|
0: { value: "0" },
|
|
6753
6823
|
0.5: { value: "0.125rem", description: "2px" },
|
|
6754
6824
|
1: { value: "0.25rem", description: "4px" },
|
|
@@ -6769,8 +6839,8 @@ var spacing = import_dev56.defineTokens.spacing({
|
|
|
6769
6839
|
});
|
|
6770
6840
|
|
|
6771
6841
|
// src/tokens/z-index.ts
|
|
6772
|
-
var
|
|
6773
|
-
var zIndex =
|
|
6842
|
+
var import_dev58 = require("@pandacss/dev");
|
|
6843
|
+
var zIndex = import_dev58.defineTokens.zIndex({
|
|
6774
6844
|
hide: { value: -1 },
|
|
6775
6845
|
base: { value: 0 },
|
|
6776
6846
|
docked: { value: 10 },
|
|
@@ -6782,8 +6852,8 @@ var zIndex = import_dev57.defineTokens.zIndex({
|
|
|
6782
6852
|
});
|
|
6783
6853
|
|
|
6784
6854
|
// src/tokens/typography.ts
|
|
6785
|
-
var
|
|
6786
|
-
var fonts =
|
|
6855
|
+
var import_dev59 = require("@pandacss/dev");
|
|
6856
|
+
var fonts = import_dev59.defineTokens.fonts({
|
|
6787
6857
|
body: {
|
|
6788
6858
|
value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
6789
6859
|
},
|
|
@@ -6791,7 +6861,7 @@ var fonts = import_dev58.defineTokens.fonts({
|
|
|
6791
6861
|
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
6792
6862
|
}
|
|
6793
6863
|
});
|
|
6794
|
-
var fontSizes =
|
|
6864
|
+
var fontSizes = import_dev59.defineTokens.fontSizes({
|
|
6795
6865
|
xs: { value: "0.625rem" },
|
|
6796
6866
|
sm: { value: "0.75rem" },
|
|
6797
6867
|
md: { value: "0.875rem" },
|
|
@@ -6799,12 +6869,12 @@ var fontSizes = import_dev58.defineTokens.fontSizes({
|
|
|
6799
6869
|
xl: { value: "1.25rem" },
|
|
6800
6870
|
"2xl": { value: "1.5rem" }
|
|
6801
6871
|
});
|
|
6802
|
-
var fontWeights =
|
|
6872
|
+
var fontWeights = import_dev59.defineTokens.fontWeights({
|
|
6803
6873
|
regular: { value: "400" },
|
|
6804
6874
|
semiBold: { value: "600" },
|
|
6805
6875
|
bold: { value: "800" }
|
|
6806
6876
|
});
|
|
6807
|
-
var lineHeights =
|
|
6877
|
+
var lineHeights = import_dev59.defineTokens.lineHeights({
|
|
6808
6878
|
xs: { value: 1.2 },
|
|
6809
6879
|
sm: { value: 1.34 },
|
|
6810
6880
|
md: { value: 1.43 },
|
|
@@ -6813,7 +6883,7 @@ var lineHeights = import_dev58.defineTokens.lineHeights({
|
|
|
6813
6883
|
"2xl": { value: 1.67 },
|
|
6814
6884
|
"3xl": { value: 1.71 }
|
|
6815
6885
|
});
|
|
6816
|
-
var letterSpacings =
|
|
6886
|
+
var letterSpacings = import_dev59.defineTokens.letterSpacings({
|
|
6817
6887
|
tighter: { value: "-0.05em" },
|
|
6818
6888
|
tight: { value: "-0.025em" },
|
|
6819
6889
|
normal: { value: "0" },
|
|
@@ -6823,7 +6893,7 @@ var letterSpacings = import_dev58.defineTokens.letterSpacings({
|
|
|
6823
6893
|
});
|
|
6824
6894
|
|
|
6825
6895
|
// src/tokens/index.ts
|
|
6826
|
-
var tokens = (0,
|
|
6896
|
+
var tokens = (0, import_dev60.defineTokens)({
|
|
6827
6897
|
borderWidths,
|
|
6828
6898
|
colors,
|
|
6829
6899
|
durations,
|
|
@@ -6841,11 +6911,11 @@ var tokens = (0, import_dev59.defineTokens)({
|
|
|
6841
6911
|
});
|
|
6842
6912
|
|
|
6843
6913
|
// src/tokens-next/index.ts
|
|
6844
|
-
var
|
|
6914
|
+
var import_dev66 = require("@pandacss/dev");
|
|
6845
6915
|
|
|
6846
6916
|
// src/tokens-next/borders.ts
|
|
6847
|
-
var
|
|
6848
|
-
var borderWidths2 =
|
|
6917
|
+
var import_dev61 = require("@pandacss/dev");
|
|
6918
|
+
var borderWidths2 = import_dev61.defineTokens.borderWidths({
|
|
6849
6919
|
none: { value: "none" },
|
|
6850
6920
|
sm: { value: "1px" },
|
|
6851
6921
|
md: { value: "1.5px" },
|
|
@@ -6855,8 +6925,8 @@ var borderWidths2 = import_dev60.defineTokens.borderWidths({
|
|
|
6855
6925
|
});
|
|
6856
6926
|
|
|
6857
6927
|
// src/tokens-next/colors.ts
|
|
6858
|
-
var
|
|
6859
|
-
var colors2 =
|
|
6928
|
+
var import_dev62 = require("@pandacss/dev");
|
|
6929
|
+
var colors2 = import_dev62.defineTokens.colors({
|
|
6860
6930
|
debug: { value: "red" },
|
|
6861
6931
|
currentcolor: { value: "currentcolor" },
|
|
6862
6932
|
white: { value: "#FFFFFF" },
|
|
@@ -7031,8 +7101,8 @@ var colors2 = import_dev61.defineTokens.colors({
|
|
|
7031
7101
|
});
|
|
7032
7102
|
|
|
7033
7103
|
// src/tokens-next/radii.ts
|
|
7034
|
-
var
|
|
7035
|
-
var radii2 =
|
|
7104
|
+
var import_dev63 = require("@pandacss/dev");
|
|
7105
|
+
var radii2 = import_dev63.defineTokens.radii({
|
|
7036
7106
|
none: { value: "0" },
|
|
7037
7107
|
sm: { value: "0.25rem", description: "4px" },
|
|
7038
7108
|
md: { value: "0.375rem", description: "6px" },
|
|
@@ -7042,8 +7112,8 @@ var radii2 = import_dev62.defineTokens.radii({
|
|
|
7042
7112
|
});
|
|
7043
7113
|
|
|
7044
7114
|
// src/tokens-next/spacing.ts
|
|
7045
|
-
var
|
|
7046
|
-
var spacing2 =
|
|
7115
|
+
var import_dev64 = require("@pandacss/dev");
|
|
7116
|
+
var spacing2 = import_dev64.defineTokens.spacing({
|
|
7047
7117
|
0: { value: "0" },
|
|
7048
7118
|
0.5: { value: "0.125rem", description: "2px" },
|
|
7049
7119
|
1: { value: "0.25rem", description: "4px" },
|
|
@@ -7059,8 +7129,8 @@ var spacing2 = import_dev63.defineTokens.spacing({
|
|
|
7059
7129
|
});
|
|
7060
7130
|
|
|
7061
7131
|
// src/tokens-next/shadows.ts
|
|
7062
|
-
var
|
|
7063
|
-
var shadows2 =
|
|
7132
|
+
var import_dev65 = require("@pandacss/dev");
|
|
7133
|
+
var shadows2 = import_dev65.defineTokens.shadows({
|
|
7064
7134
|
xs: {
|
|
7065
7135
|
value: [
|
|
7066
7136
|
"0px 2px 4px 0px {colors.background.shadow}",
|
|
@@ -7100,7 +7170,7 @@ var shadows2 = import_dev64.defineTokens.shadows({
|
|
|
7100
7170
|
});
|
|
7101
7171
|
|
|
7102
7172
|
// src/tokens-next/index.ts
|
|
7103
|
-
var tokensNext = (0,
|
|
7173
|
+
var tokensNext = (0, import_dev66.defineTokens)({
|
|
7104
7174
|
borderWidths: borderWidths2,
|
|
7105
7175
|
colors: colors2,
|
|
7106
7176
|
durations,
|
|
@@ -7118,11 +7188,11 @@ var tokensNext = (0, import_dev65.defineTokens)({
|
|
|
7118
7188
|
});
|
|
7119
7189
|
|
|
7120
7190
|
// src/semanticTokens/index.ts
|
|
7121
|
-
var
|
|
7191
|
+
var import_dev69 = require("@pandacss/dev");
|
|
7122
7192
|
|
|
7123
7193
|
// src/semanticTokens/colors.ts
|
|
7124
|
-
var
|
|
7125
|
-
var colors3 =
|
|
7194
|
+
var import_dev67 = require("@pandacss/dev");
|
|
7195
|
+
var colors3 = import_dev67.defineSemanticTokens.colors({
|
|
7126
7196
|
background: {
|
|
7127
7197
|
surface: {
|
|
7128
7198
|
value: {
|
|
@@ -8048,8 +8118,8 @@ var colors3 = import_dev66.defineSemanticTokens.colors({
|
|
|
8048
8118
|
});
|
|
8049
8119
|
|
|
8050
8120
|
// src/semanticTokens/spacing.ts
|
|
8051
|
-
var
|
|
8052
|
-
var spacing3 =
|
|
8121
|
+
var import_dev68 = require("@pandacss/dev");
|
|
8122
|
+
var spacing3 = import_dev68.defineSemanticTokens.spacing({
|
|
8053
8123
|
"4xs": {
|
|
8054
8124
|
value: {
|
|
8055
8125
|
base: "0.125rem"
|
|
@@ -8108,7 +8178,7 @@ var spacing3 = import_dev67.defineSemanticTokens.spacing({
|
|
|
8108
8178
|
});
|
|
8109
8179
|
|
|
8110
8180
|
// src/semanticTokens/index.ts
|
|
8111
|
-
var semanticTokens = (0,
|
|
8181
|
+
var semanticTokens = (0, import_dev69.defineSemanticTokens)({
|
|
8112
8182
|
colors: colors3,
|
|
8113
8183
|
spacing: spacing3
|
|
8114
8184
|
});
|
|
@@ -8156,7 +8226,7 @@ var globalFontface = {
|
|
|
8156
8226
|
};
|
|
8157
8227
|
|
|
8158
8228
|
// src/index.ts
|
|
8159
|
-
var preset = (0,
|
|
8229
|
+
var preset = (0, import_dev70.definePreset)({
|
|
8160
8230
|
name: "@mekari/pixel3-theme",
|
|
8161
8231
|
// Main Theme
|
|
8162
8232
|
theme: {
|
package/dist/index.mjs
CHANGED
|
@@ -6338,6 +6338,75 @@ var aireneBubbleSlotRecipe = defineSlotRecipe33({
|
|
|
6338
6338
|
defaultVariants: {}
|
|
6339
6339
|
});
|
|
6340
6340
|
|
|
6341
|
+
// src/recipes/rating.ts
|
|
6342
|
+
import { defineSlotRecipe as defineSlotRecipe34 } from "@pandacss/dev";
|
|
6343
|
+
var ratingSlotRecipe = defineSlotRecipe34({
|
|
6344
|
+
className: "rating",
|
|
6345
|
+
jsx: ["MpRating", "mp-rating"],
|
|
6346
|
+
slots: ["root", "wrapper", "value", "backgroundIconWrapper", "activeIconWrapper"],
|
|
6347
|
+
base: {
|
|
6348
|
+
root: {
|
|
6349
|
+
position: "relative",
|
|
6350
|
+
display: "inline-flex",
|
|
6351
|
+
alignItems: "center",
|
|
6352
|
+
gap: "4",
|
|
6353
|
+
py: "1"
|
|
6354
|
+
},
|
|
6355
|
+
wrapper: {
|
|
6356
|
+
position: "relative",
|
|
6357
|
+
width: "fit-content"
|
|
6358
|
+
},
|
|
6359
|
+
value: {
|
|
6360
|
+
position: "relative",
|
|
6361
|
+
display: "flex",
|
|
6362
|
+
alignItems: "center",
|
|
6363
|
+
mt: "2px"
|
|
6364
|
+
},
|
|
6365
|
+
backgroundIconWrapper: {
|
|
6366
|
+
display: "flex",
|
|
6367
|
+
gap: "2",
|
|
6368
|
+
"& svg": {
|
|
6369
|
+
display: "flex",
|
|
6370
|
+
width: "6",
|
|
6371
|
+
height: "6",
|
|
6372
|
+
color: "gray.100 !important",
|
|
6373
|
+
_nextTheme: {
|
|
6374
|
+
color: "icon.disabled !important"
|
|
6375
|
+
}
|
|
6376
|
+
}
|
|
6377
|
+
},
|
|
6378
|
+
activeIconWrapper: {
|
|
6379
|
+
position: "absolute",
|
|
6380
|
+
top: 0,
|
|
6381
|
+
left: 0,
|
|
6382
|
+
display: "flex",
|
|
6383
|
+
gap: "2",
|
|
6384
|
+
overflow: "hidden",
|
|
6385
|
+
whiteSpace: "nowrap",
|
|
6386
|
+
"& svg": {
|
|
6387
|
+
flex: "none",
|
|
6388
|
+
width: "6",
|
|
6389
|
+
height: "6",
|
|
6390
|
+
'&[data-variant="star"]': {
|
|
6391
|
+
color: "amber.400",
|
|
6392
|
+
_nextTheme: {
|
|
6393
|
+
color: "chart.cat04.bold"
|
|
6394
|
+
}
|
|
6395
|
+
},
|
|
6396
|
+
'&[data-variant="heart"]': {
|
|
6397
|
+
color: "rose.400",
|
|
6398
|
+
_nextTheme: {
|
|
6399
|
+
color: "chart.cat06.bold"
|
|
6400
|
+
}
|
|
6401
|
+
}
|
|
6402
|
+
}
|
|
6403
|
+
}
|
|
6404
|
+
},
|
|
6405
|
+
variants: {},
|
|
6406
|
+
compoundVariants: [],
|
|
6407
|
+
defaultVariants: {}
|
|
6408
|
+
});
|
|
6409
|
+
|
|
6341
6410
|
// src/recipes/index.ts
|
|
6342
6411
|
var recipes = {
|
|
6343
6412
|
buttonRecipe,
|
|
@@ -6417,7 +6486,8 @@ var slotRecipes = {
|
|
|
6417
6486
|
tourSlotRecipe,
|
|
6418
6487
|
aireneButtonSlotRecipe,
|
|
6419
6488
|
aireneInputSlotRecipe,
|
|
6420
|
-
aireneBubbleSlotRecipe
|
|
6489
|
+
aireneBubbleSlotRecipe,
|
|
6490
|
+
ratingSlotRecipe
|
|
6421
6491
|
};
|
|
6422
6492
|
|
|
6423
6493
|
// src/text-styles.ts
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -79,6 +79,7 @@ declare const slotRecipes: {
|
|
|
79
79
|
aireneButtonSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
80
80
|
aireneInputSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
81
81
|
aireneBubbleSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
82
|
+
ratingSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
82
83
|
};
|
|
83
84
|
|
|
84
85
|
export { recipes, slotRecipes };
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ declare const slotRecipes: {
|
|
|
79
79
|
aireneButtonSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
80
80
|
aireneInputSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
81
81
|
aireneBubbleSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
82
|
+
ratingSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
82
83
|
};
|
|
83
84
|
|
|
84
85
|
export { recipes, slotRecipes };
|
package/package.json
CHANGED
package/src/recipes/index.ts
CHANGED
|
@@ -69,6 +69,7 @@ import { skeletonRecipe } from './skeleton'
|
|
|
69
69
|
import { scrollbarRecipe } from './scrollbar'
|
|
70
70
|
import { aireneInputSlotRecipe } from './airene-chat-input'
|
|
71
71
|
import { aireneBubbleSlotRecipe } from './airene-chat-bubble'
|
|
72
|
+
import { ratingSlotRecipe } from './rating'
|
|
72
73
|
|
|
73
74
|
export const recipes = {
|
|
74
75
|
buttonRecipe,
|
|
@@ -149,5 +150,6 @@ export const slotRecipes = {
|
|
|
149
150
|
tourSlotRecipe,
|
|
150
151
|
aireneButtonSlotRecipe,
|
|
151
152
|
aireneInputSlotRecipe,
|
|
152
|
-
aireneBubbleSlotRecipe
|
|
153
|
+
aireneBubbleSlotRecipe,
|
|
154
|
+
ratingSlotRecipe
|
|
153
155
|
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const ratingSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: 'rating',
|
|
5
|
+
jsx: ['MpRating', 'mp-rating'],
|
|
6
|
+
slots: ['root', 'wrapper', 'value', 'backgroundIconWrapper', 'activeIconWrapper'],
|
|
7
|
+
base: {
|
|
8
|
+
root: {
|
|
9
|
+
position: 'relative',
|
|
10
|
+
display: 'inline-flex',
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
gap: '4',
|
|
13
|
+
py: '1'
|
|
14
|
+
},
|
|
15
|
+
wrapper: {
|
|
16
|
+
position: 'relative',
|
|
17
|
+
width: 'fit-content'
|
|
18
|
+
},
|
|
19
|
+
value: {
|
|
20
|
+
position: 'relative',
|
|
21
|
+
display: 'flex',
|
|
22
|
+
alignItems: 'center',
|
|
23
|
+
mt: '2px'
|
|
24
|
+
},
|
|
25
|
+
backgroundIconWrapper: {
|
|
26
|
+
display: 'flex',
|
|
27
|
+
gap: '2',
|
|
28
|
+
|
|
29
|
+
'& svg': {
|
|
30
|
+
display: 'flex',
|
|
31
|
+
width: '6',
|
|
32
|
+
height: '6',
|
|
33
|
+
color: 'gray.100 !important',
|
|
34
|
+
|
|
35
|
+
_nextTheme: {
|
|
36
|
+
color: 'icon.disabled !important'
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
activeIconWrapper: {
|
|
41
|
+
position: 'absolute',
|
|
42
|
+
top: 0,
|
|
43
|
+
left: 0,
|
|
44
|
+
display: 'flex',
|
|
45
|
+
gap: '2',
|
|
46
|
+
overflow: 'hidden',
|
|
47
|
+
whiteSpace: 'nowrap',
|
|
48
|
+
|
|
49
|
+
'& svg': {
|
|
50
|
+
flex: 'none',
|
|
51
|
+
width: '6',
|
|
52
|
+
height: '6',
|
|
53
|
+
|
|
54
|
+
'&[data-variant="star"]': {
|
|
55
|
+
color: 'amber.400',
|
|
56
|
+
|
|
57
|
+
_nextTheme: {
|
|
58
|
+
color: 'chart.cat04.bold'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
'&[data-variant="heart"]': {
|
|
63
|
+
color: 'rose.400',
|
|
64
|
+
|
|
65
|
+
_nextTheme: {
|
|
66
|
+
color: 'chart.cat06.bold'
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
variants: {},
|
|
73
|
+
compoundVariants: [],
|
|
74
|
+
defaultVariants: {}
|
|
75
|
+
})
|
|
76
|
+
|
|
77
|
+
export { ratingSlotRecipe }
|