@mekari/pixel3-theme 0.2.2-dev.4 → 0.2.2-dev.5
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 +229 -58
- package/dist/index.mjs +181 -10
- package/dist/recipes/index.d.mts +1 -0
- package/dist/recipes/index.d.ts +1 -0
- package/dist/recipes/textlink.d.mts +5 -0
- package/dist/recipes/textlink.d.ts +5 -0
- package/package.json +1 -1
- package/src/recipes/airene-button.ts +1 -1
- package/src/recipes/autocomplete.ts +23 -9
- package/src/recipes/broadcast.ts +27 -1
- package/src/recipes/button.ts +3 -0
- package/src/recipes/index.ts +3 -1
- package/src/recipes/popover.ts +3 -2
- package/src/recipes/tag.ts +2 -1
- package/src/recipes/textlink.ts +105 -0
- package/src/recipes/timeline.ts +4 -2
- package/src/recipes/toast.ts +21 -1
- package/src/tokens/typography.ts +1 -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_dev65 = require("@pandacss/dev");
|
|
29
29
|
|
|
30
30
|
// src/breakpoints.ts
|
|
31
31
|
var breakpoints = {
|
|
@@ -239,7 +239,8 @@ var tagSlotRecipe = (0, import_dev3.defineSlotRecipe)({
|
|
|
239
239
|
defaultVariants: {
|
|
240
240
|
size: "md",
|
|
241
241
|
variant: "gray"
|
|
242
|
-
}
|
|
242
|
+
},
|
|
243
|
+
staticCss: ["*"]
|
|
243
244
|
});
|
|
244
245
|
|
|
245
246
|
// src/recipes/avatar.ts
|
|
@@ -522,7 +523,7 @@ var aireneButtonSlotRecipe = (0, import_dev5.defineSlotRecipe)({
|
|
|
522
523
|
color: "blue.400!",
|
|
523
524
|
borderRadius: "25px!",
|
|
524
525
|
fontSize: "md",
|
|
525
|
-
fontWeight: "semiBold",
|
|
526
|
+
fontWeight: "semiBold!",
|
|
526
527
|
paddingLeft: "0.625rem!",
|
|
527
528
|
paddingRight: "0.625rem!",
|
|
528
529
|
overflow: "hidden",
|
|
@@ -647,6 +648,9 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
|
|
|
647
648
|
transitionDuration: "250ms",
|
|
648
649
|
transitionProperty: "background, border-color, color, box-shadow",
|
|
649
650
|
transitionTimingFunction: "linear",
|
|
651
|
+
_isFullWidth: {
|
|
652
|
+
width: "full"
|
|
653
|
+
},
|
|
650
654
|
_loading: {
|
|
651
655
|
cursor: "wait",
|
|
652
656
|
position: "absolute",
|
|
@@ -1845,7 +1849,8 @@ var popoverContentRecipe = (0, import_dev13.defineRecipe)({
|
|
|
1845
1849
|
defaultVariants: {
|
|
1846
1850
|
isDark: false,
|
|
1847
1851
|
isUnstyled: false
|
|
1848
|
-
}
|
|
1852
|
+
},
|
|
1853
|
+
staticCss: ["*"]
|
|
1849
1854
|
});
|
|
1850
1855
|
var popoverListRecipe = (0, import_dev13.defineRecipe)({
|
|
1851
1856
|
className: "popover-list",
|
|
@@ -1892,7 +1897,7 @@ var popoverListItemRecipe = (0, import_dev13.defineRecipe)({
|
|
|
1892
1897
|
color: "text.default"
|
|
1893
1898
|
}
|
|
1894
1899
|
},
|
|
1895
|
-
|
|
1900
|
+
'&[data-active="true"]': {
|
|
1896
1901
|
background: "ice.50",
|
|
1897
1902
|
color: "dark",
|
|
1898
1903
|
outline: 0,
|
|
@@ -4038,7 +4043,8 @@ var toastSlotRecipe = (0, import_dev31.defineSlotRecipe)({
|
|
|
4038
4043
|
variants: {
|
|
4039
4044
|
variant: {
|
|
4040
4045
|
success: {},
|
|
4041
|
-
error: {}
|
|
4046
|
+
error: {},
|
|
4047
|
+
greeting: {}
|
|
4042
4048
|
}
|
|
4043
4049
|
},
|
|
4044
4050
|
compoundVariants: [
|
|
@@ -4063,6 +4069,25 @@ var toastSlotRecipe = (0, import_dev31.defineSlotRecipe)({
|
|
|
4063
4069
|
}
|
|
4064
4070
|
}
|
|
4065
4071
|
}
|
|
4072
|
+
},
|
|
4073
|
+
{
|
|
4074
|
+
variant: "greeting",
|
|
4075
|
+
css: {
|
|
4076
|
+
root: {
|
|
4077
|
+
borderRadius: "999px",
|
|
4078
|
+
border: "none",
|
|
4079
|
+
backgroundColor: "overlay",
|
|
4080
|
+
_nextTheme: {
|
|
4081
|
+
backgroundColor: "background.overlay"
|
|
4082
|
+
}
|
|
4083
|
+
},
|
|
4084
|
+
label: {
|
|
4085
|
+
color: "white",
|
|
4086
|
+
_nextTheme: {
|
|
4087
|
+
color: "text.inverse-static"
|
|
4088
|
+
}
|
|
4089
|
+
}
|
|
4090
|
+
}
|
|
4066
4091
|
}
|
|
4067
4092
|
],
|
|
4068
4093
|
defaultVariants: {
|
|
@@ -4198,6 +4223,32 @@ var broadcastSlotRecipe = (0, import_dev32.defineSlotRecipe)({
|
|
|
4198
4223
|
color: "text.warning.inverse"
|
|
4199
4224
|
}
|
|
4200
4225
|
}
|
|
4226
|
+
},
|
|
4227
|
+
critical: {
|
|
4228
|
+
container: {
|
|
4229
|
+
backgroundColor: "rose.400",
|
|
4230
|
+
_nextTheme: {
|
|
4231
|
+
backgroundColor: "background.danger.bold"
|
|
4232
|
+
}
|
|
4233
|
+
},
|
|
4234
|
+
icon: {
|
|
4235
|
+
color: "white",
|
|
4236
|
+
_nextTheme: {
|
|
4237
|
+
color: "icon.inverse"
|
|
4238
|
+
}
|
|
4239
|
+
},
|
|
4240
|
+
label: {
|
|
4241
|
+
color: "white",
|
|
4242
|
+
_nextTheme: {
|
|
4243
|
+
color: "text.inverse"
|
|
4244
|
+
}
|
|
4245
|
+
},
|
|
4246
|
+
textLink: {
|
|
4247
|
+
color: "white",
|
|
4248
|
+
_nextTheme: {
|
|
4249
|
+
color: "text.inverse"
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4201
4252
|
}
|
|
4202
4253
|
}
|
|
4203
4254
|
},
|
|
@@ -5081,7 +5132,15 @@ var import_dev37 = require("@pandacss/dev");
|
|
|
5081
5132
|
var autocompleteSlotRecipe = (0, import_dev37.defineSlotRecipe)({
|
|
5082
5133
|
className: "autocomplete",
|
|
5083
5134
|
jsx: ["MpAutocomplete", "mp-autocomplete"],
|
|
5084
|
-
slots: [
|
|
5135
|
+
slots: [
|
|
5136
|
+
"groupText",
|
|
5137
|
+
"popoverContent",
|
|
5138
|
+
"buttonAction",
|
|
5139
|
+
"emptyText",
|
|
5140
|
+
"contentLoading",
|
|
5141
|
+
"input",
|
|
5142
|
+
"infinityScroll"
|
|
5143
|
+
],
|
|
5085
5144
|
base: {
|
|
5086
5145
|
groupText: {
|
|
5087
5146
|
px: 3,
|
|
@@ -5127,6 +5186,11 @@ var autocompleteSlotRecipe = (0, import_dev37.defineSlotRecipe)({
|
|
|
5127
5186
|
},
|
|
5128
5187
|
input: {
|
|
5129
5188
|
cursor: "pointer"
|
|
5189
|
+
},
|
|
5190
|
+
infinityScroll: {
|
|
5191
|
+
height: "1px",
|
|
5192
|
+
width: "100%",
|
|
5193
|
+
marginTop: "-1px"
|
|
5130
5194
|
}
|
|
5131
5195
|
}
|
|
5132
5196
|
});
|
|
@@ -5240,11 +5304,13 @@ var timelineLogSlotRecipe = (0, import_dev38.defineSlotRecipe)({
|
|
|
5240
5304
|
base: {
|
|
5241
5305
|
root: {
|
|
5242
5306
|
display: "flex",
|
|
5243
|
-
flexDirection: "column"
|
|
5307
|
+
flexDirection: "column",
|
|
5308
|
+
gap: "1"
|
|
5244
5309
|
},
|
|
5245
5310
|
log: {
|
|
5246
5311
|
display: "flex",
|
|
5247
|
-
cursor: "pointer"
|
|
5312
|
+
cursor: "pointer",
|
|
5313
|
+
gap: "1"
|
|
5248
5314
|
},
|
|
5249
5315
|
logText: {
|
|
5250
5316
|
color: "gray.400",
|
|
@@ -5831,6 +5897,110 @@ var tourSlotRecipe = (0, import_dev42.defineSlotRecipe)({
|
|
|
5831
5897
|
defaultVariants: {}
|
|
5832
5898
|
});
|
|
5833
5899
|
|
|
5900
|
+
// src/recipes/textlink.ts
|
|
5901
|
+
var import_dev43 = require("@pandacss/dev");
|
|
5902
|
+
var textlinkRecipe = (0, import_dev43.defineRecipe)({
|
|
5903
|
+
className: "textlink",
|
|
5904
|
+
jsx: ["MpTextlink", "mp-textlink"],
|
|
5905
|
+
base: {
|
|
5906
|
+
display: "inline-flex !important",
|
|
5907
|
+
gap: "1",
|
|
5908
|
+
py: "0 !important",
|
|
5909
|
+
px: "2px !important",
|
|
5910
|
+
backgroundColor: "transparent !important",
|
|
5911
|
+
textStyle: "label.md !important",
|
|
5912
|
+
_hover: {
|
|
5913
|
+
textDecoration: "underline"
|
|
5914
|
+
},
|
|
5915
|
+
_loading: {
|
|
5916
|
+
background: "white"
|
|
5917
|
+
}
|
|
5918
|
+
},
|
|
5919
|
+
variants: {
|
|
5920
|
+
variant: {
|
|
5921
|
+
primary: {
|
|
5922
|
+
color: "blue.400",
|
|
5923
|
+
_hover: {
|
|
5924
|
+
color: "blue.400"
|
|
5925
|
+
},
|
|
5926
|
+
_active: {
|
|
5927
|
+
color: "blue.700"
|
|
5928
|
+
},
|
|
5929
|
+
_nextTheme: {
|
|
5930
|
+
color: "text.link",
|
|
5931
|
+
_hover: {
|
|
5932
|
+
color: "text.link"
|
|
5933
|
+
},
|
|
5934
|
+
_active: {
|
|
5935
|
+
color: "text.link.pressed"
|
|
5936
|
+
}
|
|
5937
|
+
}
|
|
5938
|
+
},
|
|
5939
|
+
secondary: {
|
|
5940
|
+
color: "gray.400",
|
|
5941
|
+
_hover: {
|
|
5942
|
+
color: "gray.400"
|
|
5943
|
+
},
|
|
5944
|
+
_active: {
|
|
5945
|
+
color: "gray.700"
|
|
5946
|
+
},
|
|
5947
|
+
_nextTheme: {
|
|
5948
|
+
color: "text.secondary",
|
|
5949
|
+
_hover: {
|
|
5950
|
+
color: "text.secondary"
|
|
5951
|
+
},
|
|
5952
|
+
_active: {
|
|
5953
|
+
color: "text.secondary.pressed"
|
|
5954
|
+
}
|
|
5955
|
+
}
|
|
5956
|
+
},
|
|
5957
|
+
danger: {
|
|
5958
|
+
color: "red.400",
|
|
5959
|
+
_hover: {
|
|
5960
|
+
color: "red.400"
|
|
5961
|
+
},
|
|
5962
|
+
_active: {
|
|
5963
|
+
color: "red.700"
|
|
5964
|
+
},
|
|
5965
|
+
_nextTheme: {
|
|
5966
|
+
color: "text.danger",
|
|
5967
|
+
_hover: {
|
|
5968
|
+
color: "text.danger"
|
|
5969
|
+
},
|
|
5970
|
+
_active: {
|
|
5971
|
+
color: "text.danger.pressed"
|
|
5972
|
+
}
|
|
5973
|
+
}
|
|
5974
|
+
}
|
|
5975
|
+
}
|
|
5976
|
+
},
|
|
5977
|
+
compoundVariants: [
|
|
5978
|
+
{
|
|
5979
|
+
variant: ["primary", "secondary", "danger"],
|
|
5980
|
+
css: {
|
|
5981
|
+
_disabled: {
|
|
5982
|
+
cursor: "not-allowed",
|
|
5983
|
+
color: "gray.100",
|
|
5984
|
+
_hover: {
|
|
5985
|
+
color: "gray.100",
|
|
5986
|
+
textDecoration: "none"
|
|
5987
|
+
},
|
|
5988
|
+
_nextTheme: {
|
|
5989
|
+
color: "text.disabled",
|
|
5990
|
+
_hover: {
|
|
5991
|
+
color: "text.disabled",
|
|
5992
|
+
textDecoration: "none"
|
|
5993
|
+
}
|
|
5994
|
+
}
|
|
5995
|
+
},
|
|
5996
|
+
_focusVisible: {
|
|
5997
|
+
boxShadow: "focus"
|
|
5998
|
+
}
|
|
5999
|
+
}
|
|
6000
|
+
}
|
|
6001
|
+
]
|
|
6002
|
+
});
|
|
6003
|
+
|
|
5834
6004
|
// src/recipes/index.ts
|
|
5835
6005
|
var recipes = {
|
|
5836
6006
|
buttonRecipe,
|
|
@@ -5858,7 +6028,8 @@ var recipes = {
|
|
|
5858
6028
|
dateItemRecipe,
|
|
5859
6029
|
monthItemRecipe,
|
|
5860
6030
|
yearItemRecipe,
|
|
5861
|
-
timeItemRecipe
|
|
6031
|
+
timeItemRecipe,
|
|
6032
|
+
textlinkRecipe
|
|
5862
6033
|
};
|
|
5863
6034
|
var slotRecipes = {
|
|
5864
6035
|
accordionSlotRecipe,
|
|
@@ -5909,8 +6080,8 @@ var slotRecipes = {
|
|
|
5909
6080
|
};
|
|
5910
6081
|
|
|
5911
6082
|
// src/text-styles.ts
|
|
5912
|
-
var
|
|
5913
|
-
var textStyles = (0,
|
|
6083
|
+
var import_dev44 = require("@pandacss/dev");
|
|
6084
|
+
var textStyles = (0, import_dev44.defineTextStyles)({
|
|
5914
6085
|
overline: {
|
|
5915
6086
|
value: {
|
|
5916
6087
|
fontFamily: "var(--font-inter)",
|
|
@@ -5953,11 +6124,11 @@ var textStyles = (0, import_dev43.defineTextStyles)({
|
|
|
5953
6124
|
});
|
|
5954
6125
|
|
|
5955
6126
|
// src/tokens/index.ts
|
|
5956
|
-
var
|
|
6127
|
+
var import_dev55 = require("@pandacss/dev");
|
|
5957
6128
|
|
|
5958
6129
|
// src/tokens/borders.ts
|
|
5959
|
-
var
|
|
5960
|
-
var borderWidths =
|
|
6130
|
+
var import_dev45 = require("@pandacss/dev");
|
|
6131
|
+
var borderWidths = import_dev45.defineTokens.borderWidths({
|
|
5961
6132
|
none: { value: "none" },
|
|
5962
6133
|
sm: { value: "1px" },
|
|
5963
6134
|
md: { value: "1.5px" },
|
|
@@ -5965,8 +6136,8 @@ var borderWidths = import_dev44.defineTokens.borderWidths({
|
|
|
5965
6136
|
});
|
|
5966
6137
|
|
|
5967
6138
|
// src/tokens/colors.ts
|
|
5968
|
-
var
|
|
5969
|
-
var colors =
|
|
6139
|
+
var import_dev46 = require("@pandacss/dev");
|
|
6140
|
+
var colors = import_dev46.defineTokens.colors({
|
|
5970
6141
|
debug: { value: "blue" },
|
|
5971
6142
|
currentcolor: { value: "currentcolor" },
|
|
5972
6143
|
dark: { value: "#232933" },
|
|
@@ -6108,16 +6279,16 @@ var colors = import_dev45.defineTokens.colors({
|
|
|
6108
6279
|
});
|
|
6109
6280
|
|
|
6110
6281
|
// src/tokens/durations.ts
|
|
6111
|
-
var
|
|
6112
|
-
var durations =
|
|
6282
|
+
var import_dev47 = require("@pandacss/dev");
|
|
6283
|
+
var durations = import_dev47.defineTokens.durations({
|
|
6113
6284
|
slow: { value: "100ms" },
|
|
6114
6285
|
normal: { value: "250ms" },
|
|
6115
6286
|
fast: { value: "300ms" }
|
|
6116
6287
|
});
|
|
6117
6288
|
|
|
6118
6289
|
// src/tokens/opacity.ts
|
|
6119
|
-
var
|
|
6120
|
-
var opacity =
|
|
6290
|
+
var import_dev48 = require("@pandacss/dev");
|
|
6291
|
+
var opacity = import_dev48.defineTokens.opacity({
|
|
6121
6292
|
0: { value: 0 },
|
|
6122
6293
|
40: { value: 0.4 },
|
|
6123
6294
|
60: { value: 0.6 },
|
|
@@ -6125,8 +6296,8 @@ var opacity = import_dev47.defineTokens.opacity({
|
|
|
6125
6296
|
});
|
|
6126
6297
|
|
|
6127
6298
|
// src/tokens/radii.ts
|
|
6128
|
-
var
|
|
6129
|
-
var radii =
|
|
6299
|
+
var import_dev49 = require("@pandacss/dev");
|
|
6300
|
+
var radii = import_dev49.defineTokens.radii({
|
|
6130
6301
|
none: { value: "0" },
|
|
6131
6302
|
xs: { value: "0.125rem", description: "2px" },
|
|
6132
6303
|
sm: { value: "0.25rem", description: "4px" },
|
|
@@ -6137,8 +6308,8 @@ var radii = import_dev48.defineTokens.radii({
|
|
|
6137
6308
|
});
|
|
6138
6309
|
|
|
6139
6310
|
// src/tokens/shadows.ts
|
|
6140
|
-
var
|
|
6141
|
-
var shadows =
|
|
6311
|
+
var import_dev50 = require("@pandacss/dev");
|
|
6312
|
+
var shadows = import_dev50.defineTokens.shadows({
|
|
6142
6313
|
xs: {
|
|
6143
6314
|
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
6144
6315
|
},
|
|
@@ -6178,8 +6349,8 @@ var shadows = import_dev49.defineTokens.shadows({
|
|
|
6178
6349
|
});
|
|
6179
6350
|
|
|
6180
6351
|
// src/tokens/sizes.ts
|
|
6181
|
-
var
|
|
6182
|
-
var sizes =
|
|
6352
|
+
var import_dev51 = require("@pandacss/dev");
|
|
6353
|
+
var sizes = import_dev51.defineTokens.sizes({
|
|
6183
6354
|
0: { value: "0" },
|
|
6184
6355
|
0.25: { value: "0.0625rem" },
|
|
6185
6356
|
0.5: { value: "0.125rem" },
|
|
@@ -6208,8 +6379,8 @@ var sizes = import_dev50.defineTokens.sizes({
|
|
|
6208
6379
|
});
|
|
6209
6380
|
|
|
6210
6381
|
// src/tokens/spacing.ts
|
|
6211
|
-
var
|
|
6212
|
-
var spacing =
|
|
6382
|
+
var import_dev52 = require("@pandacss/dev");
|
|
6383
|
+
var spacing = import_dev52.defineTokens.spacing({
|
|
6213
6384
|
0: { value: "0" },
|
|
6214
6385
|
0.5: { value: "0.125rem", description: "2px" },
|
|
6215
6386
|
1: { value: "0.25rem", description: "4px" },
|
|
@@ -6230,8 +6401,8 @@ var spacing = import_dev51.defineTokens.spacing({
|
|
|
6230
6401
|
});
|
|
6231
6402
|
|
|
6232
6403
|
// src/tokens/z-index.ts
|
|
6233
|
-
var
|
|
6234
|
-
var zIndex =
|
|
6404
|
+
var import_dev53 = require("@pandacss/dev");
|
|
6405
|
+
var zIndex = import_dev53.defineTokens.zIndex({
|
|
6235
6406
|
hide: { value: -1 },
|
|
6236
6407
|
base: { value: 0 },
|
|
6237
6408
|
docked: { value: 10 },
|
|
@@ -6243,8 +6414,8 @@ var zIndex = import_dev52.defineTokens.zIndex({
|
|
|
6243
6414
|
});
|
|
6244
6415
|
|
|
6245
6416
|
// src/tokens/typography.ts
|
|
6246
|
-
var
|
|
6247
|
-
var fonts =
|
|
6417
|
+
var import_dev54 = require("@pandacss/dev");
|
|
6418
|
+
var fonts = import_dev54.defineTokens.fonts({
|
|
6248
6419
|
body: {
|
|
6249
6420
|
value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
6250
6421
|
},
|
|
@@ -6252,7 +6423,7 @@ var fonts = import_dev53.defineTokens.fonts({
|
|
|
6252
6423
|
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
6253
6424
|
}
|
|
6254
6425
|
});
|
|
6255
|
-
var fontSizes =
|
|
6426
|
+
var fontSizes = import_dev54.defineTokens.fontSizes({
|
|
6256
6427
|
xs: { value: "0.625rem" },
|
|
6257
6428
|
sm: { value: "0.75rem" },
|
|
6258
6429
|
md: { value: "0.875rem" },
|
|
@@ -6260,21 +6431,21 @@ var fontSizes = import_dev53.defineTokens.fontSizes({
|
|
|
6260
6431
|
xl: { value: "1.25rem" },
|
|
6261
6432
|
"2xl": { value: "1.5rem" }
|
|
6262
6433
|
});
|
|
6263
|
-
var fontWeights =
|
|
6434
|
+
var fontWeights = import_dev54.defineTokens.fontWeights({
|
|
6264
6435
|
regular: { value: "400" },
|
|
6265
6436
|
semiBold: { value: "600" },
|
|
6266
6437
|
bold: { value: "800" }
|
|
6267
6438
|
});
|
|
6268
|
-
var lineHeights =
|
|
6439
|
+
var lineHeights = import_dev54.defineTokens.lineHeights({
|
|
6269
6440
|
xs: { value: 1.2 },
|
|
6270
6441
|
sm: { value: 1.34 },
|
|
6271
|
-
md: { value: 1.
|
|
6442
|
+
md: { value: 1.43 },
|
|
6272
6443
|
lg: { value: 1.429 },
|
|
6273
6444
|
xl: { value: 1.5 },
|
|
6274
6445
|
"2xl": { value: 1.67 },
|
|
6275
6446
|
"3xl": { value: 1.71 }
|
|
6276
6447
|
});
|
|
6277
|
-
var letterSpacings =
|
|
6448
|
+
var letterSpacings = import_dev54.defineTokens.letterSpacings({
|
|
6278
6449
|
tighter: { value: "-0.05em" },
|
|
6279
6450
|
tight: { value: "-0.025em" },
|
|
6280
6451
|
normal: { value: "0" },
|
|
@@ -6284,7 +6455,7 @@ var letterSpacings = import_dev53.defineTokens.letterSpacings({
|
|
|
6284
6455
|
});
|
|
6285
6456
|
|
|
6286
6457
|
// src/tokens/index.ts
|
|
6287
|
-
var tokens = (0,
|
|
6458
|
+
var tokens = (0, import_dev55.defineTokens)({
|
|
6288
6459
|
borderWidths,
|
|
6289
6460
|
colors,
|
|
6290
6461
|
durations,
|
|
@@ -6302,11 +6473,11 @@ var tokens = (0, import_dev54.defineTokens)({
|
|
|
6302
6473
|
});
|
|
6303
6474
|
|
|
6304
6475
|
// src/tokens-next/index.ts
|
|
6305
|
-
var
|
|
6476
|
+
var import_dev61 = require("@pandacss/dev");
|
|
6306
6477
|
|
|
6307
6478
|
// src/tokens-next/borders.ts
|
|
6308
|
-
var
|
|
6309
|
-
var borderWidths2 =
|
|
6479
|
+
var import_dev56 = require("@pandacss/dev");
|
|
6480
|
+
var borderWidths2 = import_dev56.defineTokens.borderWidths({
|
|
6310
6481
|
none: { value: "none" },
|
|
6311
6482
|
sm: { value: "1px" },
|
|
6312
6483
|
md: { value: "1.5px" },
|
|
@@ -6316,8 +6487,8 @@ var borderWidths2 = import_dev55.defineTokens.borderWidths({
|
|
|
6316
6487
|
});
|
|
6317
6488
|
|
|
6318
6489
|
// src/tokens-next/colors.ts
|
|
6319
|
-
var
|
|
6320
|
-
var colors2 =
|
|
6490
|
+
var import_dev57 = require("@pandacss/dev");
|
|
6491
|
+
var colors2 = import_dev57.defineTokens.colors({
|
|
6321
6492
|
debug: { value: "red" },
|
|
6322
6493
|
currentcolor: { value: "currentcolor" },
|
|
6323
6494
|
white: { value: "#FFFFFF" },
|
|
@@ -6489,8 +6660,8 @@ var colors2 = import_dev56.defineTokens.colors({
|
|
|
6489
6660
|
});
|
|
6490
6661
|
|
|
6491
6662
|
// src/tokens-next/radii.ts
|
|
6492
|
-
var
|
|
6493
|
-
var radii2 =
|
|
6663
|
+
var import_dev58 = require("@pandacss/dev");
|
|
6664
|
+
var radii2 = import_dev58.defineTokens.radii({
|
|
6494
6665
|
none: { value: "0" },
|
|
6495
6666
|
sm: { value: "0.25rem", description: "4px" },
|
|
6496
6667
|
md: { value: "0.375rem", description: "6px" },
|
|
@@ -6500,8 +6671,8 @@ var radii2 = import_dev57.defineTokens.radii({
|
|
|
6500
6671
|
});
|
|
6501
6672
|
|
|
6502
6673
|
// src/tokens-next/spacing.ts
|
|
6503
|
-
var
|
|
6504
|
-
var spacing2 =
|
|
6674
|
+
var import_dev59 = require("@pandacss/dev");
|
|
6675
|
+
var spacing2 = import_dev59.defineTokens.spacing({
|
|
6505
6676
|
0: { value: "0" },
|
|
6506
6677
|
0.5: { value: "0.125rem", description: "2px" },
|
|
6507
6678
|
1: { value: "0.25rem", description: "4px" },
|
|
@@ -6517,8 +6688,8 @@ var spacing2 = import_dev58.defineTokens.spacing({
|
|
|
6517
6688
|
});
|
|
6518
6689
|
|
|
6519
6690
|
// src/tokens-next/shadows.ts
|
|
6520
|
-
var
|
|
6521
|
-
var shadows2 =
|
|
6691
|
+
var import_dev60 = require("@pandacss/dev");
|
|
6692
|
+
var shadows2 = import_dev60.defineTokens.shadows({
|
|
6522
6693
|
xs: {
|
|
6523
6694
|
value: ["0px 2px 4px 0px {colors.background.shadow}", "0px 0px 2px 0px {colors.background.shadow}"]
|
|
6524
6695
|
},
|
|
@@ -6546,7 +6717,7 @@ var shadows2 = import_dev59.defineTokens.shadows({
|
|
|
6546
6717
|
});
|
|
6547
6718
|
|
|
6548
6719
|
// src/tokens-next/index.ts
|
|
6549
|
-
var tokensNext = (0,
|
|
6720
|
+
var tokensNext = (0, import_dev61.defineTokens)({
|
|
6550
6721
|
borderWidths: borderWidths2,
|
|
6551
6722
|
colors: colors2,
|
|
6552
6723
|
durations,
|
|
@@ -6564,11 +6735,11 @@ var tokensNext = (0, import_dev60.defineTokens)({
|
|
|
6564
6735
|
});
|
|
6565
6736
|
|
|
6566
6737
|
// src/semanticTokens/index.ts
|
|
6567
|
-
var
|
|
6738
|
+
var import_dev64 = require("@pandacss/dev");
|
|
6568
6739
|
|
|
6569
6740
|
// src/semanticTokens/colors.ts
|
|
6570
|
-
var
|
|
6571
|
-
var colors3 =
|
|
6741
|
+
var import_dev62 = require("@pandacss/dev");
|
|
6742
|
+
var colors3 = import_dev62.defineSemanticTokens.colors({
|
|
6572
6743
|
background: {
|
|
6573
6744
|
surface: {
|
|
6574
6745
|
value: {
|
|
@@ -7484,8 +7655,8 @@ var colors3 = import_dev61.defineSemanticTokens.colors({
|
|
|
7484
7655
|
});
|
|
7485
7656
|
|
|
7486
7657
|
// src/semanticTokens/spacing.ts
|
|
7487
|
-
var
|
|
7488
|
-
var spacing3 =
|
|
7658
|
+
var import_dev63 = require("@pandacss/dev");
|
|
7659
|
+
var spacing3 = import_dev63.defineSemanticTokens.spacing({
|
|
7489
7660
|
"4xs": {
|
|
7490
7661
|
value: {
|
|
7491
7662
|
base: "0.125rem"
|
|
@@ -7544,7 +7715,7 @@ var spacing3 = import_dev62.defineSemanticTokens.spacing({
|
|
|
7544
7715
|
});
|
|
7545
7716
|
|
|
7546
7717
|
// src/semanticTokens/index.ts
|
|
7547
|
-
var semanticTokens = (0,
|
|
7718
|
+
var semanticTokens = (0, import_dev64.defineSemanticTokens)({
|
|
7548
7719
|
colors: colors3,
|
|
7549
7720
|
spacing: spacing3
|
|
7550
7721
|
});
|
|
@@ -7583,7 +7754,7 @@ var globalFontface = {
|
|
|
7583
7754
|
};
|
|
7584
7755
|
|
|
7585
7756
|
// src/index.ts
|
|
7586
|
-
var preset = (0,
|
|
7757
|
+
var preset = (0, import_dev65.definePreset)({
|
|
7587
7758
|
name: "@mekari/pixel3-theme",
|
|
7588
7759
|
// Main Theme
|
|
7589
7760
|
theme: {
|
package/dist/index.mjs
CHANGED
|
@@ -213,7 +213,8 @@ var tagSlotRecipe = defineSlotRecipe({
|
|
|
213
213
|
defaultVariants: {
|
|
214
214
|
size: "md",
|
|
215
215
|
variant: "gray"
|
|
216
|
-
}
|
|
216
|
+
},
|
|
217
|
+
staticCss: ["*"]
|
|
217
218
|
});
|
|
218
219
|
|
|
219
220
|
// src/recipes/avatar.ts
|
|
@@ -496,7 +497,7 @@ var aireneButtonSlotRecipe = defineSlotRecipe3({
|
|
|
496
497
|
color: "blue.400!",
|
|
497
498
|
borderRadius: "25px!",
|
|
498
499
|
fontSize: "md",
|
|
499
|
-
fontWeight: "semiBold",
|
|
500
|
+
fontWeight: "semiBold!",
|
|
500
501
|
paddingLeft: "0.625rem!",
|
|
501
502
|
paddingRight: "0.625rem!",
|
|
502
503
|
overflow: "hidden",
|
|
@@ -621,6 +622,9 @@ var buttonRecipe = defineRecipe({
|
|
|
621
622
|
transitionDuration: "250ms",
|
|
622
623
|
transitionProperty: "background, border-color, color, box-shadow",
|
|
623
624
|
transitionTimingFunction: "linear",
|
|
625
|
+
_isFullWidth: {
|
|
626
|
+
width: "full"
|
|
627
|
+
},
|
|
624
628
|
_loading: {
|
|
625
629
|
cursor: "wait",
|
|
626
630
|
position: "absolute",
|
|
@@ -1819,7 +1823,8 @@ var popoverContentRecipe = defineRecipe5({
|
|
|
1819
1823
|
defaultVariants: {
|
|
1820
1824
|
isDark: false,
|
|
1821
1825
|
isUnstyled: false
|
|
1822
|
-
}
|
|
1826
|
+
},
|
|
1827
|
+
staticCss: ["*"]
|
|
1823
1828
|
});
|
|
1824
1829
|
var popoverListRecipe = defineRecipe5({
|
|
1825
1830
|
className: "popover-list",
|
|
@@ -1866,7 +1871,7 @@ var popoverListItemRecipe = defineRecipe5({
|
|
|
1866
1871
|
color: "text.default"
|
|
1867
1872
|
}
|
|
1868
1873
|
},
|
|
1869
|
-
|
|
1874
|
+
'&[data-active="true"]': {
|
|
1870
1875
|
background: "ice.50",
|
|
1871
1876
|
color: "dark",
|
|
1872
1877
|
outline: 0,
|
|
@@ -4012,7 +4017,8 @@ var toastSlotRecipe = defineSlotRecipe20({
|
|
|
4012
4017
|
variants: {
|
|
4013
4018
|
variant: {
|
|
4014
4019
|
success: {},
|
|
4015
|
-
error: {}
|
|
4020
|
+
error: {},
|
|
4021
|
+
greeting: {}
|
|
4016
4022
|
}
|
|
4017
4023
|
},
|
|
4018
4024
|
compoundVariants: [
|
|
@@ -4037,6 +4043,25 @@ var toastSlotRecipe = defineSlotRecipe20({
|
|
|
4037
4043
|
}
|
|
4038
4044
|
}
|
|
4039
4045
|
}
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
variant: "greeting",
|
|
4049
|
+
css: {
|
|
4050
|
+
root: {
|
|
4051
|
+
borderRadius: "999px",
|
|
4052
|
+
border: "none",
|
|
4053
|
+
backgroundColor: "overlay",
|
|
4054
|
+
_nextTheme: {
|
|
4055
|
+
backgroundColor: "background.overlay"
|
|
4056
|
+
}
|
|
4057
|
+
},
|
|
4058
|
+
label: {
|
|
4059
|
+
color: "white",
|
|
4060
|
+
_nextTheme: {
|
|
4061
|
+
color: "text.inverse-static"
|
|
4062
|
+
}
|
|
4063
|
+
}
|
|
4064
|
+
}
|
|
4040
4065
|
}
|
|
4041
4066
|
],
|
|
4042
4067
|
defaultVariants: {
|
|
@@ -4172,6 +4197,32 @@ var broadcastSlotRecipe = defineSlotRecipe21({
|
|
|
4172
4197
|
color: "text.warning.inverse"
|
|
4173
4198
|
}
|
|
4174
4199
|
}
|
|
4200
|
+
},
|
|
4201
|
+
critical: {
|
|
4202
|
+
container: {
|
|
4203
|
+
backgroundColor: "rose.400",
|
|
4204
|
+
_nextTheme: {
|
|
4205
|
+
backgroundColor: "background.danger.bold"
|
|
4206
|
+
}
|
|
4207
|
+
},
|
|
4208
|
+
icon: {
|
|
4209
|
+
color: "white",
|
|
4210
|
+
_nextTheme: {
|
|
4211
|
+
color: "icon.inverse"
|
|
4212
|
+
}
|
|
4213
|
+
},
|
|
4214
|
+
label: {
|
|
4215
|
+
color: "white",
|
|
4216
|
+
_nextTheme: {
|
|
4217
|
+
color: "text.inverse"
|
|
4218
|
+
}
|
|
4219
|
+
},
|
|
4220
|
+
textLink: {
|
|
4221
|
+
color: "white",
|
|
4222
|
+
_nextTheme: {
|
|
4223
|
+
color: "text.inverse"
|
|
4224
|
+
}
|
|
4225
|
+
}
|
|
4175
4226
|
}
|
|
4176
4227
|
}
|
|
4177
4228
|
},
|
|
@@ -5055,7 +5106,15 @@ import { defineSlotRecipe as defineSlotRecipe26 } from "@pandacss/dev";
|
|
|
5055
5106
|
var autocompleteSlotRecipe = defineSlotRecipe26({
|
|
5056
5107
|
className: "autocomplete",
|
|
5057
5108
|
jsx: ["MpAutocomplete", "mp-autocomplete"],
|
|
5058
|
-
slots: [
|
|
5109
|
+
slots: [
|
|
5110
|
+
"groupText",
|
|
5111
|
+
"popoverContent",
|
|
5112
|
+
"buttonAction",
|
|
5113
|
+
"emptyText",
|
|
5114
|
+
"contentLoading",
|
|
5115
|
+
"input",
|
|
5116
|
+
"infinityScroll"
|
|
5117
|
+
],
|
|
5059
5118
|
base: {
|
|
5060
5119
|
groupText: {
|
|
5061
5120
|
px: 3,
|
|
@@ -5101,6 +5160,11 @@ var autocompleteSlotRecipe = defineSlotRecipe26({
|
|
|
5101
5160
|
},
|
|
5102
5161
|
input: {
|
|
5103
5162
|
cursor: "pointer"
|
|
5163
|
+
},
|
|
5164
|
+
infinityScroll: {
|
|
5165
|
+
height: "1px",
|
|
5166
|
+
width: "100%",
|
|
5167
|
+
marginTop: "-1px"
|
|
5104
5168
|
}
|
|
5105
5169
|
}
|
|
5106
5170
|
});
|
|
@@ -5214,11 +5278,13 @@ var timelineLogSlotRecipe = defineSlotRecipe27({
|
|
|
5214
5278
|
base: {
|
|
5215
5279
|
root: {
|
|
5216
5280
|
display: "flex",
|
|
5217
|
-
flexDirection: "column"
|
|
5281
|
+
flexDirection: "column",
|
|
5282
|
+
gap: "1"
|
|
5218
5283
|
},
|
|
5219
5284
|
log: {
|
|
5220
5285
|
display: "flex",
|
|
5221
|
-
cursor: "pointer"
|
|
5286
|
+
cursor: "pointer",
|
|
5287
|
+
gap: "1"
|
|
5222
5288
|
},
|
|
5223
5289
|
logText: {
|
|
5224
5290
|
color: "gray.400",
|
|
@@ -5805,6 +5871,110 @@ var tourSlotRecipe = defineSlotRecipe31({
|
|
|
5805
5871
|
defaultVariants: {}
|
|
5806
5872
|
});
|
|
5807
5873
|
|
|
5874
|
+
// src/recipes/textlink.ts
|
|
5875
|
+
import { defineRecipe as defineRecipe14 } from "@pandacss/dev";
|
|
5876
|
+
var textlinkRecipe = defineRecipe14({
|
|
5877
|
+
className: "textlink",
|
|
5878
|
+
jsx: ["MpTextlink", "mp-textlink"],
|
|
5879
|
+
base: {
|
|
5880
|
+
display: "inline-flex !important",
|
|
5881
|
+
gap: "1",
|
|
5882
|
+
py: "0 !important",
|
|
5883
|
+
px: "2px !important",
|
|
5884
|
+
backgroundColor: "transparent !important",
|
|
5885
|
+
textStyle: "label.md !important",
|
|
5886
|
+
_hover: {
|
|
5887
|
+
textDecoration: "underline"
|
|
5888
|
+
},
|
|
5889
|
+
_loading: {
|
|
5890
|
+
background: "white"
|
|
5891
|
+
}
|
|
5892
|
+
},
|
|
5893
|
+
variants: {
|
|
5894
|
+
variant: {
|
|
5895
|
+
primary: {
|
|
5896
|
+
color: "blue.400",
|
|
5897
|
+
_hover: {
|
|
5898
|
+
color: "blue.400"
|
|
5899
|
+
},
|
|
5900
|
+
_active: {
|
|
5901
|
+
color: "blue.700"
|
|
5902
|
+
},
|
|
5903
|
+
_nextTheme: {
|
|
5904
|
+
color: "text.link",
|
|
5905
|
+
_hover: {
|
|
5906
|
+
color: "text.link"
|
|
5907
|
+
},
|
|
5908
|
+
_active: {
|
|
5909
|
+
color: "text.link.pressed"
|
|
5910
|
+
}
|
|
5911
|
+
}
|
|
5912
|
+
},
|
|
5913
|
+
secondary: {
|
|
5914
|
+
color: "gray.400",
|
|
5915
|
+
_hover: {
|
|
5916
|
+
color: "gray.400"
|
|
5917
|
+
},
|
|
5918
|
+
_active: {
|
|
5919
|
+
color: "gray.700"
|
|
5920
|
+
},
|
|
5921
|
+
_nextTheme: {
|
|
5922
|
+
color: "text.secondary",
|
|
5923
|
+
_hover: {
|
|
5924
|
+
color: "text.secondary"
|
|
5925
|
+
},
|
|
5926
|
+
_active: {
|
|
5927
|
+
color: "text.secondary.pressed"
|
|
5928
|
+
}
|
|
5929
|
+
}
|
|
5930
|
+
},
|
|
5931
|
+
danger: {
|
|
5932
|
+
color: "red.400",
|
|
5933
|
+
_hover: {
|
|
5934
|
+
color: "red.400"
|
|
5935
|
+
},
|
|
5936
|
+
_active: {
|
|
5937
|
+
color: "red.700"
|
|
5938
|
+
},
|
|
5939
|
+
_nextTheme: {
|
|
5940
|
+
color: "text.danger",
|
|
5941
|
+
_hover: {
|
|
5942
|
+
color: "text.danger"
|
|
5943
|
+
},
|
|
5944
|
+
_active: {
|
|
5945
|
+
color: "text.danger.pressed"
|
|
5946
|
+
}
|
|
5947
|
+
}
|
|
5948
|
+
}
|
|
5949
|
+
}
|
|
5950
|
+
},
|
|
5951
|
+
compoundVariants: [
|
|
5952
|
+
{
|
|
5953
|
+
variant: ["primary", "secondary", "danger"],
|
|
5954
|
+
css: {
|
|
5955
|
+
_disabled: {
|
|
5956
|
+
cursor: "not-allowed",
|
|
5957
|
+
color: "gray.100",
|
|
5958
|
+
_hover: {
|
|
5959
|
+
color: "gray.100",
|
|
5960
|
+
textDecoration: "none"
|
|
5961
|
+
},
|
|
5962
|
+
_nextTheme: {
|
|
5963
|
+
color: "text.disabled",
|
|
5964
|
+
_hover: {
|
|
5965
|
+
color: "text.disabled",
|
|
5966
|
+
textDecoration: "none"
|
|
5967
|
+
}
|
|
5968
|
+
}
|
|
5969
|
+
},
|
|
5970
|
+
_focusVisible: {
|
|
5971
|
+
boxShadow: "focus"
|
|
5972
|
+
}
|
|
5973
|
+
}
|
|
5974
|
+
}
|
|
5975
|
+
]
|
|
5976
|
+
});
|
|
5977
|
+
|
|
5808
5978
|
// src/recipes/index.ts
|
|
5809
5979
|
var recipes = {
|
|
5810
5980
|
buttonRecipe,
|
|
@@ -5832,7 +6002,8 @@ var recipes = {
|
|
|
5832
6002
|
dateItemRecipe,
|
|
5833
6003
|
monthItemRecipe,
|
|
5834
6004
|
yearItemRecipe,
|
|
5835
|
-
timeItemRecipe
|
|
6005
|
+
timeItemRecipe,
|
|
6006
|
+
textlinkRecipe
|
|
5836
6007
|
};
|
|
5837
6008
|
var slotRecipes = {
|
|
5838
6009
|
accordionSlotRecipe,
|
|
@@ -6242,7 +6413,7 @@ var fontWeights = defineTokens10.fontWeights({
|
|
|
6242
6413
|
var lineHeights = defineTokens10.lineHeights({
|
|
6243
6414
|
xs: { value: 1.2 },
|
|
6244
6415
|
sm: { value: 1.34 },
|
|
6245
|
-
md: { value: 1.
|
|
6416
|
+
md: { value: 1.43 },
|
|
6246
6417
|
lg: { value: 1.429 },
|
|
6247
6418
|
xl: { value: 1.5 },
|
|
6248
6419
|
"2xl": { value: 1.67 },
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -27,6 +27,7 @@ declare const recipes: {
|
|
|
27
27
|
monthItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
28
28
|
yearItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
29
29
|
timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
30
|
+
textlinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
30
31
|
};
|
|
31
32
|
declare const slotRecipes: {
|
|
32
33
|
accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ declare const recipes: {
|
|
|
27
27
|
monthItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
28
28
|
yearItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
29
29
|
timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
30
|
+
textlinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
30
31
|
};
|
|
31
32
|
declare const slotRecipes: {
|
|
32
33
|
accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
package/package.json
CHANGED
|
@@ -3,10 +3,19 @@ import { defineSlotRecipe } from '@pandacss/dev'
|
|
|
3
3
|
const autocompleteSlotRecipe = defineSlotRecipe({
|
|
4
4
|
className: 'autocomplete',
|
|
5
5
|
jsx: ['MpAutocomplete', 'mp-autocomplete'],
|
|
6
|
-
slots: [
|
|
6
|
+
slots: [
|
|
7
|
+
'groupText',
|
|
8
|
+
'popoverContent',
|
|
9
|
+
'buttonAction',
|
|
10
|
+
'emptyText',
|
|
11
|
+
'contentLoading',
|
|
12
|
+
'input',
|
|
13
|
+
'infinityScroll'
|
|
14
|
+
],
|
|
7
15
|
base: {
|
|
8
16
|
groupText: {
|
|
9
|
-
px: 3,
|
|
17
|
+
px: 3,
|
|
18
|
+
py: 2
|
|
10
19
|
},
|
|
11
20
|
popoverContent: {
|
|
12
21
|
maxHeight: '300px',
|
|
@@ -32,24 +41,29 @@ const autocompleteSlotRecipe = defineSlotRecipe({
|
|
|
32
41
|
_nextTheme: {
|
|
33
42
|
background: 'background.stage',
|
|
34
43
|
borderColor: 'border.default',
|
|
35
|
-
color: 'text.link'
|
|
44
|
+
color: 'text.link'
|
|
36
45
|
}
|
|
37
46
|
},
|
|
38
47
|
emptyText: {
|
|
39
|
-
px: 3,
|
|
48
|
+
px: 3,
|
|
40
49
|
py: 2
|
|
41
50
|
},
|
|
42
51
|
contentLoading: {
|
|
43
|
-
px: 3,
|
|
44
|
-
py: 2,
|
|
45
|
-
display: 'flex',
|
|
46
|
-
alignItems: 'center',
|
|
52
|
+
px: 3,
|
|
53
|
+
py: 2,
|
|
54
|
+
display: 'flex',
|
|
55
|
+
alignItems: 'center',
|
|
47
56
|
gap: 3
|
|
48
57
|
},
|
|
49
58
|
input: {
|
|
50
59
|
cursor: 'pointer'
|
|
60
|
+
},
|
|
61
|
+
infinityScroll: {
|
|
62
|
+
height: '1px',
|
|
63
|
+
width: '100%',
|
|
64
|
+
marginTop: '-1px'
|
|
51
65
|
}
|
|
52
|
-
}
|
|
66
|
+
}
|
|
53
67
|
})
|
|
54
68
|
|
|
55
69
|
export { autocompleteSlotRecipe }
|
package/src/recipes/broadcast.ts
CHANGED
|
@@ -126,7 +126,33 @@ const broadcastSlotRecipe = defineSlotRecipe({
|
|
|
126
126
|
color: 'text.warning.inverse'
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
}
|
|
129
|
+
},
|
|
130
|
+
critical: {
|
|
131
|
+
container: {
|
|
132
|
+
backgroundColor: 'rose.400',
|
|
133
|
+
_nextTheme: {
|
|
134
|
+
backgroundColor: 'background.danger.bold',
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
icon: {
|
|
138
|
+
color: 'white',
|
|
139
|
+
_nextTheme: {
|
|
140
|
+
color: 'icon.inverse'
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
label: {
|
|
144
|
+
color: 'white',
|
|
145
|
+
_nextTheme: {
|
|
146
|
+
color: 'text.inverse'
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
textLink: {
|
|
150
|
+
color: 'white',
|
|
151
|
+
_nextTheme: {
|
|
152
|
+
color: 'text.inverse'
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
130
156
|
}
|
|
131
157
|
},
|
|
132
158
|
compoundVariants: [],
|
package/src/recipes/button.ts
CHANGED
|
@@ -20,6 +20,9 @@ const buttonRecipe = defineRecipe({
|
|
|
20
20
|
transitionDuration: '250ms',
|
|
21
21
|
transitionProperty: 'background, border-color, color, box-shadow',
|
|
22
22
|
transitionTimingFunction: 'linear',
|
|
23
|
+
_isFullWidth: {
|
|
24
|
+
width: 'full'
|
|
25
|
+
},
|
|
23
26
|
_loading: {
|
|
24
27
|
cursor: 'wait',
|
|
25
28
|
position: 'absolute',
|
package/src/recipes/index.ts
CHANGED
|
@@ -64,6 +64,7 @@ import {
|
|
|
64
64
|
import { colorPickerSlotRecipe } from './color-picker'
|
|
65
65
|
import { sliderSlotRecipe } from './slider'
|
|
66
66
|
import { tourSlotRecipe } from './tour'
|
|
67
|
+
import { textlinkRecipe } from './textlink'
|
|
67
68
|
|
|
68
69
|
export const recipes = {
|
|
69
70
|
buttonRecipe,
|
|
@@ -91,7 +92,8 @@ export const recipes = {
|
|
|
91
92
|
dateItemRecipe,
|
|
92
93
|
monthItemRecipe,
|
|
93
94
|
yearItemRecipe,
|
|
94
|
-
timeItemRecipe
|
|
95
|
+
timeItemRecipe,
|
|
96
|
+
textlinkRecipe
|
|
95
97
|
}
|
|
96
98
|
|
|
97
99
|
export const slotRecipes = {
|
package/src/recipes/popover.ts
CHANGED
|
@@ -34,7 +34,8 @@ const popoverContentRecipe = defineRecipe({
|
|
|
34
34
|
defaultVariants: {
|
|
35
35
|
isDark: false,
|
|
36
36
|
isUnstyled: false
|
|
37
|
-
}
|
|
37
|
+
},
|
|
38
|
+
staticCss: ['*']
|
|
38
39
|
})
|
|
39
40
|
|
|
40
41
|
const popoverListRecipe = defineRecipe({
|
|
@@ -83,7 +84,7 @@ const popoverListItemRecipe = defineRecipe({
|
|
|
83
84
|
color: 'text.default'
|
|
84
85
|
}
|
|
85
86
|
},
|
|
86
|
-
|
|
87
|
+
'&[data-active="true"]': {
|
|
87
88
|
background: 'ice.50',
|
|
88
89
|
color: 'dark',
|
|
89
90
|
outline: 0,
|
package/src/recipes/tag.ts
CHANGED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const textlinkRecipe = defineRecipe({
|
|
4
|
+
className: 'textlink',
|
|
5
|
+
jsx: ['MpTextlink', 'mp-textlink'],
|
|
6
|
+
base: {
|
|
7
|
+
display: 'inline-flex !important',
|
|
8
|
+
gap: '1',
|
|
9
|
+
py: '0 !important',
|
|
10
|
+
px: '2px !important',
|
|
11
|
+
backgroundColor: 'transparent !important',
|
|
12
|
+
textStyle: 'label.md !important',
|
|
13
|
+
_hover: {
|
|
14
|
+
textDecoration: 'underline'
|
|
15
|
+
},
|
|
16
|
+
_loading: {
|
|
17
|
+
background: 'white'
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
variants: {
|
|
21
|
+
variant: {
|
|
22
|
+
primary: {
|
|
23
|
+
color: 'blue.400',
|
|
24
|
+
_hover: {
|
|
25
|
+
color: 'blue.400'
|
|
26
|
+
},
|
|
27
|
+
_active: {
|
|
28
|
+
color: 'blue.700'
|
|
29
|
+
},
|
|
30
|
+
_nextTheme: {
|
|
31
|
+
color: 'text.link',
|
|
32
|
+
_hover: {
|
|
33
|
+
color: 'text.link',
|
|
34
|
+
},
|
|
35
|
+
_active: {
|
|
36
|
+
color: 'text.link.pressed'
|
|
37
|
+
},
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
secondary: {
|
|
41
|
+
color: 'gray.400',
|
|
42
|
+
_hover: {
|
|
43
|
+
color: 'gray.400'
|
|
44
|
+
},
|
|
45
|
+
_active: {
|
|
46
|
+
color: 'gray.700',
|
|
47
|
+
},
|
|
48
|
+
_nextTheme: {
|
|
49
|
+
color: 'text.secondary',
|
|
50
|
+
_hover: {
|
|
51
|
+
color: 'text.secondary',
|
|
52
|
+
},
|
|
53
|
+
_active: {
|
|
54
|
+
color: 'text.secondary.pressed'
|
|
55
|
+
},
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
danger: {
|
|
59
|
+
color: 'red.400',
|
|
60
|
+
_hover: {
|
|
61
|
+
color: 'red.400'
|
|
62
|
+
},
|
|
63
|
+
_active: {
|
|
64
|
+
color: 'red.700'
|
|
65
|
+
},
|
|
66
|
+
_nextTheme: {
|
|
67
|
+
color: 'text.danger',
|
|
68
|
+
_hover: {
|
|
69
|
+
color: 'text.danger',
|
|
70
|
+
},
|
|
71
|
+
_active: {
|
|
72
|
+
color: 'text.danger.pressed'
|
|
73
|
+
},
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
compoundVariants: [
|
|
79
|
+
{
|
|
80
|
+
variant: ['primary', 'secondary', 'danger'],
|
|
81
|
+
css: {
|
|
82
|
+
_disabled: {
|
|
83
|
+
cursor: 'not-allowed',
|
|
84
|
+
color: 'gray.100',
|
|
85
|
+
_hover: {
|
|
86
|
+
color: 'gray.100',
|
|
87
|
+
textDecoration: 'none'
|
|
88
|
+
},
|
|
89
|
+
_nextTheme: {
|
|
90
|
+
color: 'text.disabled',
|
|
91
|
+
_hover: {
|
|
92
|
+
color: 'text.disabled',
|
|
93
|
+
textDecoration: 'none'
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
_focusVisible: {
|
|
98
|
+
boxShadow: 'focus'
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
})
|
|
104
|
+
|
|
105
|
+
export { textlinkRecipe}
|
package/src/recipes/timeline.ts
CHANGED
|
@@ -109,11 +109,13 @@ const timelineLogSlotRecipe = defineSlotRecipe({
|
|
|
109
109
|
base: {
|
|
110
110
|
root: {
|
|
111
111
|
display: 'flex',
|
|
112
|
-
flexDirection: 'column'
|
|
112
|
+
flexDirection: 'column',
|
|
113
|
+
gap: '1'
|
|
113
114
|
},
|
|
114
115
|
log: {
|
|
115
116
|
display: 'flex',
|
|
116
|
-
cursor: 'pointer'
|
|
117
|
+
cursor: 'pointer',
|
|
118
|
+
gap: '1'
|
|
117
119
|
},
|
|
118
120
|
logText: {
|
|
119
121
|
color: 'gray.400',
|
package/src/recipes/toast.ts
CHANGED
|
@@ -30,7 +30,8 @@ const toastSlotRecipe = defineSlotRecipe({
|
|
|
30
30
|
variants: {
|
|
31
31
|
variant: {
|
|
32
32
|
success: {},
|
|
33
|
-
error: {}
|
|
33
|
+
error: {},
|
|
34
|
+
greeting: {}
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
compoundVariants: [
|
|
@@ -55,6 +56,25 @@ const toastSlotRecipe = defineSlotRecipe({
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
variant: 'greeting',
|
|
62
|
+
css: {
|
|
63
|
+
root: {
|
|
64
|
+
borderRadius: '999px',
|
|
65
|
+
border: 'none',
|
|
66
|
+
backgroundColor: 'overlay',
|
|
67
|
+
_nextTheme: {
|
|
68
|
+
backgroundColor: 'background.overlay',
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
label: {
|
|
72
|
+
color: 'white',
|
|
73
|
+
_nextTheme: {
|
|
74
|
+
color: 'text.inverse-static',
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
58
78
|
}
|
|
59
79
|
],
|
|
60
80
|
defaultVariants: {
|
package/src/tokens/typography.ts
CHANGED
|
@@ -28,7 +28,7 @@ export const fontWeights = defineTokens.fontWeights({
|
|
|
28
28
|
export const lineHeights = defineTokens.lineHeights({
|
|
29
29
|
xs: { value: 1.2 },
|
|
30
30
|
sm: { value: 1.34 },
|
|
31
|
-
md: { value: 1.
|
|
31
|
+
md: { value: 1.43 },
|
|
32
32
|
lg: { value: 1.429 },
|
|
33
33
|
xl: { value: 1.5 },
|
|
34
34
|
'2xl': { value: 1.67 },
|