@mekari/pixel3-theme 0.3.0-dev.1 → 0.3.0-dev.3
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 +172 -55
- package/dist/index.mjs +124 -7
- package/dist/recipes/airene-chat-input.d.mts +5 -0
- package/dist/recipes/airene-chat-input.d.ts +5 -0
- package/dist/recipes/index.d.mts +2 -0
- package/dist/recipes/index.d.ts +2 -0
- package/dist/recipes/scrollbar.d.mts +5 -0
- package/dist/recipes/scrollbar.d.ts +5 -0
- package/package.json +1 -1
- package/src/recipes/airene-chat-input.ts +82 -0
- package/src/recipes/index.ts +6 -2
- package/src/recipes/input-tag.ts +21 -4
- package/src/recipes/scrollbar.ts +22 -0
- package/src/recipes/skeleton.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_dev68 = require("@pandacss/dev");
|
|
29
29
|
|
|
30
30
|
// src/breakpoints.ts
|
|
31
31
|
var breakpoints = {
|
|
@@ -3218,6 +3218,7 @@ var inputTagSlotRecipe = (0, import_dev25.defineSlotRecipe)({
|
|
|
3218
3218
|
},
|
|
3219
3219
|
trigger: {
|
|
3220
3220
|
overflowY: "auto",
|
|
3221
|
+
overflowX: "hidden",
|
|
3221
3222
|
position: "relative",
|
|
3222
3223
|
display: "flex",
|
|
3223
3224
|
alignItems: "center",
|
|
@@ -3289,13 +3290,26 @@ var inputTagSlotRecipe = (0, import_dev25.defineSlotRecipe)({
|
|
|
3289
3290
|
}
|
|
3290
3291
|
},
|
|
3291
3292
|
input: {
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3293
|
+
appearance: "none",
|
|
3294
|
+
outline: "none",
|
|
3295
|
+
transition: "none",
|
|
3296
|
+
width: "full",
|
|
3297
|
+
textStyle: "label.md",
|
|
3298
|
+
color: "dark",
|
|
3299
|
+
_nextTheme: {
|
|
3300
|
+
color: "text.default"
|
|
3301
|
+
},
|
|
3295
3302
|
_placeholder: {
|
|
3296
3303
|
color: "gray.400",
|
|
3297
3304
|
_nextTheme: {
|
|
3298
|
-
|
|
3305
|
+
color: "text.placeholder"
|
|
3306
|
+
}
|
|
3307
|
+
},
|
|
3308
|
+
_disabled: {
|
|
3309
|
+
cursor: "not-allowed",
|
|
3310
|
+
color: "gray.400",
|
|
3311
|
+
_nextTheme: {
|
|
3312
|
+
color: "text.disabled"
|
|
3299
3313
|
}
|
|
3300
3314
|
}
|
|
3301
3315
|
},
|
|
@@ -6059,7 +6073,7 @@ var textlinkRecipe = (0, import_dev43.defineRecipe)({
|
|
|
6059
6073
|
// src/recipes/skeleton.ts
|
|
6060
6074
|
var import_dev44 = require("@pandacss/dev");
|
|
6061
6075
|
var skeletonRecipe = (0, import_dev44.defineRecipe)({
|
|
6062
|
-
className: "skeleton",
|
|
6076
|
+
className: "skeleton-component",
|
|
6063
6077
|
jsx: ["MpSkeleton", "mp-skeleton"],
|
|
6064
6078
|
base: {
|
|
6065
6079
|
flexShrink: 0,
|
|
@@ -6114,6 +6128,107 @@ var skeletonRecipe = (0, import_dev44.defineRecipe)({
|
|
|
6114
6128
|
}
|
|
6115
6129
|
});
|
|
6116
6130
|
|
|
6131
|
+
// src/recipes/scrollbar.ts
|
|
6132
|
+
var import_dev45 = require("@pandacss/dev");
|
|
6133
|
+
var scrollbarRecipe = (0, import_dev45.defineRecipe)({
|
|
6134
|
+
className: "skeleton",
|
|
6135
|
+
jsx: ["MpScrollbar", "mp-scrollbar"],
|
|
6136
|
+
base: {
|
|
6137
|
+
"& .os-scrollbar": {
|
|
6138
|
+
"--os-handle-bg": "colors.gray.100!",
|
|
6139
|
+
"--os-handle-bg-hover": "colors.gray.400!",
|
|
6140
|
+
"--os-handle-bg-active": "colors.gray.400!"
|
|
6141
|
+
},
|
|
6142
|
+
_nextTheme: {
|
|
6143
|
+
"& .os-scrollbar": {
|
|
6144
|
+
"--os-handle-bg": "colors.icon.subtle!",
|
|
6145
|
+
"--os-handle-bg-hover": "colors.icon.default!",
|
|
6146
|
+
"--os-handle-bg-active": "colors.icon.default!"
|
|
6147
|
+
}
|
|
6148
|
+
}
|
|
6149
|
+
}
|
|
6150
|
+
});
|
|
6151
|
+
|
|
6152
|
+
// src/recipes/airene-chat-input.ts
|
|
6153
|
+
var import_dev46 = require("@pandacss/dev");
|
|
6154
|
+
var aireneInputSlotRecipe = (0, import_dev46.defineSlotRecipe)({
|
|
6155
|
+
className: "airene-chat-input",
|
|
6156
|
+
jsx: ["MpAireneChatInput", "mp-airene-chat-input"],
|
|
6157
|
+
slots: ["root", "wrapper", "input"],
|
|
6158
|
+
base: {
|
|
6159
|
+
root: {
|
|
6160
|
+
position: "relative",
|
|
6161
|
+
display: "flex",
|
|
6162
|
+
alignItems: "flex-end",
|
|
6163
|
+
gap: "2",
|
|
6164
|
+
width: "full",
|
|
6165
|
+
py: "xs",
|
|
6166
|
+
px: "md",
|
|
6167
|
+
rounded: "full",
|
|
6168
|
+
borderWidth: "1px",
|
|
6169
|
+
borderColor: "border.default",
|
|
6170
|
+
backgroundColor: "background.neutral",
|
|
6171
|
+
color: "text.default",
|
|
6172
|
+
transitionDuration: "250ms",
|
|
6173
|
+
transitionProperty: "border-color",
|
|
6174
|
+
transitionTimingFunction: "linear",
|
|
6175
|
+
_hover: {
|
|
6176
|
+
borderColor: "border.focused"
|
|
6177
|
+
},
|
|
6178
|
+
_focusWithin: {
|
|
6179
|
+
borderColor: "border.focused"
|
|
6180
|
+
},
|
|
6181
|
+
_invalid: {
|
|
6182
|
+
borderColor: "border.danger",
|
|
6183
|
+
_hover: {
|
|
6184
|
+
borderColor: "border.danger"
|
|
6185
|
+
}
|
|
6186
|
+
},
|
|
6187
|
+
_disabled: {
|
|
6188
|
+
backgroundColor: "background.disabled",
|
|
6189
|
+
borderColor: "border.disabled",
|
|
6190
|
+
color: "text.disabled",
|
|
6191
|
+
cursor: "not-allowed",
|
|
6192
|
+
_hover: {
|
|
6193
|
+
borderColor: "border.disabled"
|
|
6194
|
+
}
|
|
6195
|
+
}
|
|
6196
|
+
},
|
|
6197
|
+
wrapper: {
|
|
6198
|
+
width: "full",
|
|
6199
|
+
display: "flex",
|
|
6200
|
+
flexDirection: "column",
|
|
6201
|
+
gap: "2"
|
|
6202
|
+
},
|
|
6203
|
+
input: {
|
|
6204
|
+
appearance: "none",
|
|
6205
|
+
width: "full",
|
|
6206
|
+
minHeight: "20px",
|
|
6207
|
+
maxHeight: "136px",
|
|
6208
|
+
outline: "none",
|
|
6209
|
+
resize: "none",
|
|
6210
|
+
caretColor: "border.selected",
|
|
6211
|
+
fontSize: "md",
|
|
6212
|
+
fontWeight: "regular",
|
|
6213
|
+
lineHeight: "md",
|
|
6214
|
+
scrollbarWidth: "none",
|
|
6215
|
+
"-ms-overflow-style": "none",
|
|
6216
|
+
"&::-webkit-scrollbar": {
|
|
6217
|
+
display: "none"
|
|
6218
|
+
},
|
|
6219
|
+
"&::selection": {
|
|
6220
|
+
background: "background.brand"
|
|
6221
|
+
},
|
|
6222
|
+
"&::-moz-selection": {
|
|
6223
|
+
background: "background.brand"
|
|
6224
|
+
}
|
|
6225
|
+
}
|
|
6226
|
+
},
|
|
6227
|
+
variants: {},
|
|
6228
|
+
compoundVariants: [],
|
|
6229
|
+
defaultVariants: {}
|
|
6230
|
+
});
|
|
6231
|
+
|
|
6117
6232
|
// src/recipes/index.ts
|
|
6118
6233
|
var recipes = {
|
|
6119
6234
|
buttonRecipe,
|
|
@@ -6143,7 +6258,8 @@ var recipes = {
|
|
|
6143
6258
|
yearItemRecipe,
|
|
6144
6259
|
timeItemRecipe,
|
|
6145
6260
|
textlinkRecipe,
|
|
6146
|
-
skeletonRecipe
|
|
6261
|
+
skeletonRecipe,
|
|
6262
|
+
scrollbarRecipe
|
|
6147
6263
|
};
|
|
6148
6264
|
var slotRecipes = {
|
|
6149
6265
|
accordionSlotRecipe,
|
|
@@ -6190,12 +6306,13 @@ var slotRecipes = {
|
|
|
6190
6306
|
colorPickerSlotRecipe,
|
|
6191
6307
|
sliderSlotRecipe,
|
|
6192
6308
|
tourSlotRecipe,
|
|
6193
|
-
aireneButtonSlotRecipe
|
|
6309
|
+
aireneButtonSlotRecipe,
|
|
6310
|
+
aireneInputSlotRecipe
|
|
6194
6311
|
};
|
|
6195
6312
|
|
|
6196
6313
|
// src/text-styles.ts
|
|
6197
|
-
var
|
|
6198
|
-
var textStyles = (0,
|
|
6314
|
+
var import_dev47 = require("@pandacss/dev");
|
|
6315
|
+
var textStyles = (0, import_dev47.defineTextStyles)({
|
|
6199
6316
|
overline: {
|
|
6200
6317
|
value: {
|
|
6201
6318
|
fontFamily: "var(--font-inter)",
|
|
@@ -6238,11 +6355,11 @@ var textStyles = (0, import_dev45.defineTextStyles)({
|
|
|
6238
6355
|
});
|
|
6239
6356
|
|
|
6240
6357
|
// src/tokens/index.ts
|
|
6241
|
-
var
|
|
6358
|
+
var import_dev58 = require("@pandacss/dev");
|
|
6242
6359
|
|
|
6243
6360
|
// src/tokens/borders.ts
|
|
6244
|
-
var
|
|
6245
|
-
var borderWidths =
|
|
6361
|
+
var import_dev48 = require("@pandacss/dev");
|
|
6362
|
+
var borderWidths = import_dev48.defineTokens.borderWidths({
|
|
6246
6363
|
none: { value: "none" },
|
|
6247
6364
|
sm: { value: "1px" },
|
|
6248
6365
|
md: { value: "1.5px" },
|
|
@@ -6250,8 +6367,8 @@ var borderWidths = import_dev46.defineTokens.borderWidths({
|
|
|
6250
6367
|
});
|
|
6251
6368
|
|
|
6252
6369
|
// src/tokens/colors.ts
|
|
6253
|
-
var
|
|
6254
|
-
var colors =
|
|
6370
|
+
var import_dev49 = require("@pandacss/dev");
|
|
6371
|
+
var colors = import_dev49.defineTokens.colors({
|
|
6255
6372
|
debug: { value: "blue" },
|
|
6256
6373
|
currentcolor: { value: "currentcolor" },
|
|
6257
6374
|
dark: { value: "#232933" },
|
|
@@ -6393,16 +6510,16 @@ var colors = import_dev47.defineTokens.colors({
|
|
|
6393
6510
|
});
|
|
6394
6511
|
|
|
6395
6512
|
// src/tokens/durations.ts
|
|
6396
|
-
var
|
|
6397
|
-
var durations =
|
|
6513
|
+
var import_dev50 = require("@pandacss/dev");
|
|
6514
|
+
var durations = import_dev50.defineTokens.durations({
|
|
6398
6515
|
slow: { value: "100ms" },
|
|
6399
6516
|
normal: { value: "250ms" },
|
|
6400
6517
|
fast: { value: "300ms" }
|
|
6401
6518
|
});
|
|
6402
6519
|
|
|
6403
6520
|
// src/tokens/opacity.ts
|
|
6404
|
-
var
|
|
6405
|
-
var opacity =
|
|
6521
|
+
var import_dev51 = require("@pandacss/dev");
|
|
6522
|
+
var opacity = import_dev51.defineTokens.opacity({
|
|
6406
6523
|
0: { value: 0 },
|
|
6407
6524
|
40: { value: 0.4 },
|
|
6408
6525
|
60: { value: 0.6 },
|
|
@@ -6410,8 +6527,8 @@ var opacity = import_dev49.defineTokens.opacity({
|
|
|
6410
6527
|
});
|
|
6411
6528
|
|
|
6412
6529
|
// src/tokens/radii.ts
|
|
6413
|
-
var
|
|
6414
|
-
var radii =
|
|
6530
|
+
var import_dev52 = require("@pandacss/dev");
|
|
6531
|
+
var radii = import_dev52.defineTokens.radii({
|
|
6415
6532
|
none: { value: "0" },
|
|
6416
6533
|
xs: { value: "0.125rem", description: "2px" },
|
|
6417
6534
|
sm: { value: "0.25rem", description: "4px" },
|
|
@@ -6422,8 +6539,8 @@ var radii = import_dev50.defineTokens.radii({
|
|
|
6422
6539
|
});
|
|
6423
6540
|
|
|
6424
6541
|
// src/tokens/shadows.ts
|
|
6425
|
-
var
|
|
6426
|
-
var shadows =
|
|
6542
|
+
var import_dev53 = require("@pandacss/dev");
|
|
6543
|
+
var shadows = import_dev53.defineTokens.shadows({
|
|
6427
6544
|
xs: {
|
|
6428
6545
|
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
6429
6546
|
},
|
|
@@ -6463,8 +6580,8 @@ var shadows = import_dev51.defineTokens.shadows({
|
|
|
6463
6580
|
});
|
|
6464
6581
|
|
|
6465
6582
|
// src/tokens/sizes.ts
|
|
6466
|
-
var
|
|
6467
|
-
var sizes =
|
|
6583
|
+
var import_dev54 = require("@pandacss/dev");
|
|
6584
|
+
var sizes = import_dev54.defineTokens.sizes({
|
|
6468
6585
|
0: { value: "0" },
|
|
6469
6586
|
0.25: { value: "0.0625rem" },
|
|
6470
6587
|
0.5: { value: "0.125rem" },
|
|
@@ -6493,8 +6610,8 @@ var sizes = import_dev52.defineTokens.sizes({
|
|
|
6493
6610
|
});
|
|
6494
6611
|
|
|
6495
6612
|
// src/tokens/spacing.ts
|
|
6496
|
-
var
|
|
6497
|
-
var spacing =
|
|
6613
|
+
var import_dev55 = require("@pandacss/dev");
|
|
6614
|
+
var spacing = import_dev55.defineTokens.spacing({
|
|
6498
6615
|
0: { value: "0" },
|
|
6499
6616
|
0.5: { value: "0.125rem", description: "2px" },
|
|
6500
6617
|
1: { value: "0.25rem", description: "4px" },
|
|
@@ -6515,8 +6632,8 @@ var spacing = import_dev53.defineTokens.spacing({
|
|
|
6515
6632
|
});
|
|
6516
6633
|
|
|
6517
6634
|
// src/tokens/z-index.ts
|
|
6518
|
-
var
|
|
6519
|
-
var zIndex =
|
|
6635
|
+
var import_dev56 = require("@pandacss/dev");
|
|
6636
|
+
var zIndex = import_dev56.defineTokens.zIndex({
|
|
6520
6637
|
hide: { value: -1 },
|
|
6521
6638
|
base: { value: 0 },
|
|
6522
6639
|
docked: { value: 10 },
|
|
@@ -6528,8 +6645,8 @@ var zIndex = import_dev54.defineTokens.zIndex({
|
|
|
6528
6645
|
});
|
|
6529
6646
|
|
|
6530
6647
|
// src/tokens/typography.ts
|
|
6531
|
-
var
|
|
6532
|
-
var fonts =
|
|
6648
|
+
var import_dev57 = require("@pandacss/dev");
|
|
6649
|
+
var fonts = import_dev57.defineTokens.fonts({
|
|
6533
6650
|
body: {
|
|
6534
6651
|
value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
6535
6652
|
},
|
|
@@ -6537,7 +6654,7 @@ var fonts = import_dev55.defineTokens.fonts({
|
|
|
6537
6654
|
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
6538
6655
|
}
|
|
6539
6656
|
});
|
|
6540
|
-
var fontSizes =
|
|
6657
|
+
var fontSizes = import_dev57.defineTokens.fontSizes({
|
|
6541
6658
|
xs: { value: "0.625rem" },
|
|
6542
6659
|
sm: { value: "0.75rem" },
|
|
6543
6660
|
md: { value: "0.875rem" },
|
|
@@ -6545,12 +6662,12 @@ var fontSizes = import_dev55.defineTokens.fontSizes({
|
|
|
6545
6662
|
xl: { value: "1.25rem" },
|
|
6546
6663
|
"2xl": { value: "1.5rem" }
|
|
6547
6664
|
});
|
|
6548
|
-
var fontWeights =
|
|
6665
|
+
var fontWeights = import_dev57.defineTokens.fontWeights({
|
|
6549
6666
|
regular: { value: "400" },
|
|
6550
6667
|
semiBold: { value: "600" },
|
|
6551
6668
|
bold: { value: "800" }
|
|
6552
6669
|
});
|
|
6553
|
-
var lineHeights =
|
|
6670
|
+
var lineHeights = import_dev57.defineTokens.lineHeights({
|
|
6554
6671
|
xs: { value: 1.2 },
|
|
6555
6672
|
sm: { value: 1.34 },
|
|
6556
6673
|
md: { value: 1.43 },
|
|
@@ -6559,7 +6676,7 @@ var lineHeights = import_dev55.defineTokens.lineHeights({
|
|
|
6559
6676
|
"2xl": { value: 1.67 },
|
|
6560
6677
|
"3xl": { value: 1.71 }
|
|
6561
6678
|
});
|
|
6562
|
-
var letterSpacings =
|
|
6679
|
+
var letterSpacings = import_dev57.defineTokens.letterSpacings({
|
|
6563
6680
|
tighter: { value: "-0.05em" },
|
|
6564
6681
|
tight: { value: "-0.025em" },
|
|
6565
6682
|
normal: { value: "0" },
|
|
@@ -6569,7 +6686,7 @@ var letterSpacings = import_dev55.defineTokens.letterSpacings({
|
|
|
6569
6686
|
});
|
|
6570
6687
|
|
|
6571
6688
|
// src/tokens/index.ts
|
|
6572
|
-
var tokens = (0,
|
|
6689
|
+
var tokens = (0, import_dev58.defineTokens)({
|
|
6573
6690
|
borderWidths,
|
|
6574
6691
|
colors,
|
|
6575
6692
|
durations,
|
|
@@ -6587,11 +6704,11 @@ var tokens = (0, import_dev56.defineTokens)({
|
|
|
6587
6704
|
});
|
|
6588
6705
|
|
|
6589
6706
|
// src/tokens-next/index.ts
|
|
6590
|
-
var
|
|
6707
|
+
var import_dev64 = require("@pandacss/dev");
|
|
6591
6708
|
|
|
6592
6709
|
// src/tokens-next/borders.ts
|
|
6593
|
-
var
|
|
6594
|
-
var borderWidths2 =
|
|
6710
|
+
var import_dev59 = require("@pandacss/dev");
|
|
6711
|
+
var borderWidths2 = import_dev59.defineTokens.borderWidths({
|
|
6595
6712
|
none: { value: "none" },
|
|
6596
6713
|
sm: { value: "1px" },
|
|
6597
6714
|
md: { value: "1.5px" },
|
|
@@ -6601,8 +6718,8 @@ var borderWidths2 = import_dev57.defineTokens.borderWidths({
|
|
|
6601
6718
|
});
|
|
6602
6719
|
|
|
6603
6720
|
// src/tokens-next/colors.ts
|
|
6604
|
-
var
|
|
6605
|
-
var colors2 =
|
|
6721
|
+
var import_dev60 = require("@pandacss/dev");
|
|
6722
|
+
var colors2 = import_dev60.defineTokens.colors({
|
|
6606
6723
|
debug: { value: "red" },
|
|
6607
6724
|
currentcolor: { value: "currentcolor" },
|
|
6608
6725
|
white: { value: "#FFFFFF" },
|
|
@@ -6774,8 +6891,8 @@ var colors2 = import_dev58.defineTokens.colors({
|
|
|
6774
6891
|
});
|
|
6775
6892
|
|
|
6776
6893
|
// src/tokens-next/radii.ts
|
|
6777
|
-
var
|
|
6778
|
-
var radii2 =
|
|
6894
|
+
var import_dev61 = require("@pandacss/dev");
|
|
6895
|
+
var radii2 = import_dev61.defineTokens.radii({
|
|
6779
6896
|
none: { value: "0" },
|
|
6780
6897
|
sm: { value: "0.25rem", description: "4px" },
|
|
6781
6898
|
md: { value: "0.375rem", description: "6px" },
|
|
@@ -6785,8 +6902,8 @@ var radii2 = import_dev59.defineTokens.radii({
|
|
|
6785
6902
|
});
|
|
6786
6903
|
|
|
6787
6904
|
// src/tokens-next/spacing.ts
|
|
6788
|
-
var
|
|
6789
|
-
var spacing2 =
|
|
6905
|
+
var import_dev62 = require("@pandacss/dev");
|
|
6906
|
+
var spacing2 = import_dev62.defineTokens.spacing({
|
|
6790
6907
|
0: { value: "0" },
|
|
6791
6908
|
0.5: { value: "0.125rem", description: "2px" },
|
|
6792
6909
|
1: { value: "0.25rem", description: "4px" },
|
|
@@ -6802,8 +6919,8 @@ var spacing2 = import_dev60.defineTokens.spacing({
|
|
|
6802
6919
|
});
|
|
6803
6920
|
|
|
6804
6921
|
// src/tokens-next/shadows.ts
|
|
6805
|
-
var
|
|
6806
|
-
var shadows2 =
|
|
6922
|
+
var import_dev63 = require("@pandacss/dev");
|
|
6923
|
+
var shadows2 = import_dev63.defineTokens.shadows({
|
|
6807
6924
|
xs: {
|
|
6808
6925
|
value: [
|
|
6809
6926
|
"0px 2px 4px 0px {colors.background.shadow}",
|
|
@@ -6843,7 +6960,7 @@ var shadows2 = import_dev61.defineTokens.shadows({
|
|
|
6843
6960
|
});
|
|
6844
6961
|
|
|
6845
6962
|
// src/tokens-next/index.ts
|
|
6846
|
-
var tokensNext = (0,
|
|
6963
|
+
var tokensNext = (0, import_dev64.defineTokens)({
|
|
6847
6964
|
borderWidths: borderWidths2,
|
|
6848
6965
|
colors: colors2,
|
|
6849
6966
|
durations,
|
|
@@ -6861,11 +6978,11 @@ var tokensNext = (0, import_dev62.defineTokens)({
|
|
|
6861
6978
|
});
|
|
6862
6979
|
|
|
6863
6980
|
// src/semanticTokens/index.ts
|
|
6864
|
-
var
|
|
6981
|
+
var import_dev67 = require("@pandacss/dev");
|
|
6865
6982
|
|
|
6866
6983
|
// src/semanticTokens/colors.ts
|
|
6867
|
-
var
|
|
6868
|
-
var colors3 =
|
|
6984
|
+
var import_dev65 = require("@pandacss/dev");
|
|
6985
|
+
var colors3 = import_dev65.defineSemanticTokens.colors({
|
|
6869
6986
|
background: {
|
|
6870
6987
|
surface: {
|
|
6871
6988
|
value: {
|
|
@@ -7791,8 +7908,8 @@ var colors3 = import_dev63.defineSemanticTokens.colors({
|
|
|
7791
7908
|
});
|
|
7792
7909
|
|
|
7793
7910
|
// src/semanticTokens/spacing.ts
|
|
7794
|
-
var
|
|
7795
|
-
var spacing3 =
|
|
7911
|
+
var import_dev66 = require("@pandacss/dev");
|
|
7912
|
+
var spacing3 = import_dev66.defineSemanticTokens.spacing({
|
|
7796
7913
|
"4xs": {
|
|
7797
7914
|
value: {
|
|
7798
7915
|
base: "0.125rem"
|
|
@@ -7851,7 +7968,7 @@ var spacing3 = import_dev64.defineSemanticTokens.spacing({
|
|
|
7851
7968
|
});
|
|
7852
7969
|
|
|
7853
7970
|
// src/semanticTokens/index.ts
|
|
7854
|
-
var semanticTokens = (0,
|
|
7971
|
+
var semanticTokens = (0, import_dev67.defineSemanticTokens)({
|
|
7855
7972
|
colors: colors3,
|
|
7856
7973
|
spacing: spacing3
|
|
7857
7974
|
});
|
|
@@ -7899,7 +8016,7 @@ var globalFontface = {
|
|
|
7899
8016
|
};
|
|
7900
8017
|
|
|
7901
8018
|
// src/index.ts
|
|
7902
|
-
var preset = (0,
|
|
8019
|
+
var preset = (0, import_dev68.definePreset)({
|
|
7903
8020
|
name: "@mekari/pixel3-theme",
|
|
7904
8021
|
// Main Theme
|
|
7905
8022
|
theme: {
|
package/dist/index.mjs
CHANGED
|
@@ -3192,6 +3192,7 @@ var inputTagSlotRecipe = defineSlotRecipe14({
|
|
|
3192
3192
|
},
|
|
3193
3193
|
trigger: {
|
|
3194
3194
|
overflowY: "auto",
|
|
3195
|
+
overflowX: "hidden",
|
|
3195
3196
|
position: "relative",
|
|
3196
3197
|
display: "flex",
|
|
3197
3198
|
alignItems: "center",
|
|
@@ -3263,13 +3264,26 @@ var inputTagSlotRecipe = defineSlotRecipe14({
|
|
|
3263
3264
|
}
|
|
3264
3265
|
},
|
|
3265
3266
|
input: {
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3267
|
+
appearance: "none",
|
|
3268
|
+
outline: "none",
|
|
3269
|
+
transition: "none",
|
|
3270
|
+
width: "full",
|
|
3271
|
+
textStyle: "label.md",
|
|
3272
|
+
color: "dark",
|
|
3273
|
+
_nextTheme: {
|
|
3274
|
+
color: "text.default"
|
|
3275
|
+
},
|
|
3269
3276
|
_placeholder: {
|
|
3270
3277
|
color: "gray.400",
|
|
3271
3278
|
_nextTheme: {
|
|
3272
|
-
|
|
3279
|
+
color: "text.placeholder"
|
|
3280
|
+
}
|
|
3281
|
+
},
|
|
3282
|
+
_disabled: {
|
|
3283
|
+
cursor: "not-allowed",
|
|
3284
|
+
color: "gray.400",
|
|
3285
|
+
_nextTheme: {
|
|
3286
|
+
color: "text.disabled"
|
|
3273
3287
|
}
|
|
3274
3288
|
}
|
|
3275
3289
|
},
|
|
@@ -6033,7 +6047,7 @@ var textlinkRecipe = defineRecipe14({
|
|
|
6033
6047
|
// src/recipes/skeleton.ts
|
|
6034
6048
|
import { defineRecipe as defineRecipe15 } from "@pandacss/dev";
|
|
6035
6049
|
var skeletonRecipe = defineRecipe15({
|
|
6036
|
-
className: "skeleton",
|
|
6050
|
+
className: "skeleton-component",
|
|
6037
6051
|
jsx: ["MpSkeleton", "mp-skeleton"],
|
|
6038
6052
|
base: {
|
|
6039
6053
|
flexShrink: 0,
|
|
@@ -6088,6 +6102,107 @@ var skeletonRecipe = defineRecipe15({
|
|
|
6088
6102
|
}
|
|
6089
6103
|
});
|
|
6090
6104
|
|
|
6105
|
+
// src/recipes/scrollbar.ts
|
|
6106
|
+
import { defineRecipe as defineRecipe16 } from "@pandacss/dev";
|
|
6107
|
+
var scrollbarRecipe = defineRecipe16({
|
|
6108
|
+
className: "skeleton",
|
|
6109
|
+
jsx: ["MpScrollbar", "mp-scrollbar"],
|
|
6110
|
+
base: {
|
|
6111
|
+
"& .os-scrollbar": {
|
|
6112
|
+
"--os-handle-bg": "colors.gray.100!",
|
|
6113
|
+
"--os-handle-bg-hover": "colors.gray.400!",
|
|
6114
|
+
"--os-handle-bg-active": "colors.gray.400!"
|
|
6115
|
+
},
|
|
6116
|
+
_nextTheme: {
|
|
6117
|
+
"& .os-scrollbar": {
|
|
6118
|
+
"--os-handle-bg": "colors.icon.subtle!",
|
|
6119
|
+
"--os-handle-bg-hover": "colors.icon.default!",
|
|
6120
|
+
"--os-handle-bg-active": "colors.icon.default!"
|
|
6121
|
+
}
|
|
6122
|
+
}
|
|
6123
|
+
}
|
|
6124
|
+
});
|
|
6125
|
+
|
|
6126
|
+
// src/recipes/airene-chat-input.ts
|
|
6127
|
+
import { defineSlotRecipe as defineSlotRecipe32 } from "@pandacss/dev";
|
|
6128
|
+
var aireneInputSlotRecipe = defineSlotRecipe32({
|
|
6129
|
+
className: "airene-chat-input",
|
|
6130
|
+
jsx: ["MpAireneChatInput", "mp-airene-chat-input"],
|
|
6131
|
+
slots: ["root", "wrapper", "input"],
|
|
6132
|
+
base: {
|
|
6133
|
+
root: {
|
|
6134
|
+
position: "relative",
|
|
6135
|
+
display: "flex",
|
|
6136
|
+
alignItems: "flex-end",
|
|
6137
|
+
gap: "2",
|
|
6138
|
+
width: "full",
|
|
6139
|
+
py: "xs",
|
|
6140
|
+
px: "md",
|
|
6141
|
+
rounded: "full",
|
|
6142
|
+
borderWidth: "1px",
|
|
6143
|
+
borderColor: "border.default",
|
|
6144
|
+
backgroundColor: "background.neutral",
|
|
6145
|
+
color: "text.default",
|
|
6146
|
+
transitionDuration: "250ms",
|
|
6147
|
+
transitionProperty: "border-color",
|
|
6148
|
+
transitionTimingFunction: "linear",
|
|
6149
|
+
_hover: {
|
|
6150
|
+
borderColor: "border.focused"
|
|
6151
|
+
},
|
|
6152
|
+
_focusWithin: {
|
|
6153
|
+
borderColor: "border.focused"
|
|
6154
|
+
},
|
|
6155
|
+
_invalid: {
|
|
6156
|
+
borderColor: "border.danger",
|
|
6157
|
+
_hover: {
|
|
6158
|
+
borderColor: "border.danger"
|
|
6159
|
+
}
|
|
6160
|
+
},
|
|
6161
|
+
_disabled: {
|
|
6162
|
+
backgroundColor: "background.disabled",
|
|
6163
|
+
borderColor: "border.disabled",
|
|
6164
|
+
color: "text.disabled",
|
|
6165
|
+
cursor: "not-allowed",
|
|
6166
|
+
_hover: {
|
|
6167
|
+
borderColor: "border.disabled"
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6170
|
+
},
|
|
6171
|
+
wrapper: {
|
|
6172
|
+
width: "full",
|
|
6173
|
+
display: "flex",
|
|
6174
|
+
flexDirection: "column",
|
|
6175
|
+
gap: "2"
|
|
6176
|
+
},
|
|
6177
|
+
input: {
|
|
6178
|
+
appearance: "none",
|
|
6179
|
+
width: "full",
|
|
6180
|
+
minHeight: "20px",
|
|
6181
|
+
maxHeight: "136px",
|
|
6182
|
+
outline: "none",
|
|
6183
|
+
resize: "none",
|
|
6184
|
+
caretColor: "border.selected",
|
|
6185
|
+
fontSize: "md",
|
|
6186
|
+
fontWeight: "regular",
|
|
6187
|
+
lineHeight: "md",
|
|
6188
|
+
scrollbarWidth: "none",
|
|
6189
|
+
"-ms-overflow-style": "none",
|
|
6190
|
+
"&::-webkit-scrollbar": {
|
|
6191
|
+
display: "none"
|
|
6192
|
+
},
|
|
6193
|
+
"&::selection": {
|
|
6194
|
+
background: "background.brand"
|
|
6195
|
+
},
|
|
6196
|
+
"&::-moz-selection": {
|
|
6197
|
+
background: "background.brand"
|
|
6198
|
+
}
|
|
6199
|
+
}
|
|
6200
|
+
},
|
|
6201
|
+
variants: {},
|
|
6202
|
+
compoundVariants: [],
|
|
6203
|
+
defaultVariants: {}
|
|
6204
|
+
});
|
|
6205
|
+
|
|
6091
6206
|
// src/recipes/index.ts
|
|
6092
6207
|
var recipes = {
|
|
6093
6208
|
buttonRecipe,
|
|
@@ -6117,7 +6232,8 @@ var recipes = {
|
|
|
6117
6232
|
yearItemRecipe,
|
|
6118
6233
|
timeItemRecipe,
|
|
6119
6234
|
textlinkRecipe,
|
|
6120
|
-
skeletonRecipe
|
|
6235
|
+
skeletonRecipe,
|
|
6236
|
+
scrollbarRecipe
|
|
6121
6237
|
};
|
|
6122
6238
|
var slotRecipes = {
|
|
6123
6239
|
accordionSlotRecipe,
|
|
@@ -6164,7 +6280,8 @@ var slotRecipes = {
|
|
|
6164
6280
|
colorPickerSlotRecipe,
|
|
6165
6281
|
sliderSlotRecipe,
|
|
6166
6282
|
tourSlotRecipe,
|
|
6167
|
-
aireneButtonSlotRecipe
|
|
6283
|
+
aireneButtonSlotRecipe,
|
|
6284
|
+
aireneInputSlotRecipe
|
|
6168
6285
|
};
|
|
6169
6286
|
|
|
6170
6287
|
// src/text-styles.ts
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -29,6 +29,7 @@ declare const recipes: {
|
|
|
29
29
|
timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
30
30
|
textlinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
31
31
|
skeletonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
32
|
+
scrollbarRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
32
33
|
};
|
|
33
34
|
declare const slotRecipes: {
|
|
34
35
|
accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
@@ -76,6 +77,7 @@ declare const slotRecipes: {
|
|
|
76
77
|
sliderSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
77
78
|
tourSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
78
79
|
aireneButtonSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
80
|
+
aireneInputSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
79
81
|
};
|
|
80
82
|
|
|
81
83
|
export { recipes, slotRecipes };
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ declare const recipes: {
|
|
|
29
29
|
timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
30
30
|
textlinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
31
31
|
skeletonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
32
|
+
scrollbarRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
32
33
|
};
|
|
33
34
|
declare const slotRecipes: {
|
|
34
35
|
accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
@@ -76,6 +77,7 @@ declare const slotRecipes: {
|
|
|
76
77
|
sliderSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
77
78
|
tourSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
78
79
|
aireneButtonSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
80
|
+
aireneInputSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
79
81
|
};
|
|
80
82
|
|
|
81
83
|
export { recipes, slotRecipes };
|
package/package.json
CHANGED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const aireneInputSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: 'airene-chat-input',
|
|
5
|
+
jsx: ['MpAireneChatInput', 'mp-airene-chat-input'],
|
|
6
|
+
slots: ['root', 'wrapper', 'input'],
|
|
7
|
+
base: {
|
|
8
|
+
root: {
|
|
9
|
+
position: 'relative',
|
|
10
|
+
display: 'flex',
|
|
11
|
+
alignItems: 'flex-end',
|
|
12
|
+
gap: '2',
|
|
13
|
+
width: 'full',
|
|
14
|
+
py: 'xs',
|
|
15
|
+
px: 'md',
|
|
16
|
+
rounded: 'full',
|
|
17
|
+
borderWidth: '1px',
|
|
18
|
+
borderColor: 'border.default',
|
|
19
|
+
backgroundColor: 'background.neutral',
|
|
20
|
+
color: 'text.default',
|
|
21
|
+
transitionDuration: '250ms',
|
|
22
|
+
transitionProperty: 'border-color',
|
|
23
|
+
transitionTimingFunction: 'linear',
|
|
24
|
+
|
|
25
|
+
_hover: {
|
|
26
|
+
borderColor: 'border.focused'
|
|
27
|
+
},
|
|
28
|
+
_focusWithin: {
|
|
29
|
+
borderColor: 'border.focused'
|
|
30
|
+
},
|
|
31
|
+
_invalid: {
|
|
32
|
+
borderColor: 'border.danger',
|
|
33
|
+
_hover: {
|
|
34
|
+
borderColor: 'border.danger'
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
_disabled: {
|
|
38
|
+
backgroundColor: 'background.disabled',
|
|
39
|
+
borderColor: 'border.disabled',
|
|
40
|
+
color: 'text.disabled',
|
|
41
|
+
cursor: 'not-allowed',
|
|
42
|
+
_hover: {
|
|
43
|
+
borderColor: 'border.disabled'
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
wrapper: {
|
|
48
|
+
width: 'full',
|
|
49
|
+
display: 'flex',
|
|
50
|
+
flexDirection: 'column',
|
|
51
|
+
gap: '2'
|
|
52
|
+
},
|
|
53
|
+
input: {
|
|
54
|
+
appearance: 'none',
|
|
55
|
+
width: 'full',
|
|
56
|
+
minHeight: '20px',
|
|
57
|
+
maxHeight: '136px',
|
|
58
|
+
outline: 'none',
|
|
59
|
+
resize: 'none',
|
|
60
|
+
caretColor: 'border.selected',
|
|
61
|
+
fontSize: 'md',
|
|
62
|
+
fontWeight: 'regular',
|
|
63
|
+
lineHeight: 'md',
|
|
64
|
+
scrollbarWidth: 'none',
|
|
65
|
+
'-ms-overflow-style': 'none',
|
|
66
|
+
'&::-webkit-scrollbar': {
|
|
67
|
+
display: 'none'
|
|
68
|
+
},
|
|
69
|
+
'&::selection': {
|
|
70
|
+
background: 'background.brand'
|
|
71
|
+
},
|
|
72
|
+
'&::-moz-selection': {
|
|
73
|
+
background: 'background.brand'
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
variants: {},
|
|
78
|
+
compoundVariants: [],
|
|
79
|
+
defaultVariants: {}
|
|
80
|
+
})
|
|
81
|
+
|
|
82
|
+
export { aireneInputSlotRecipe }
|
package/src/recipes/index.ts
CHANGED
|
@@ -66,6 +66,8 @@ import { sliderSlotRecipe } from './slider'
|
|
|
66
66
|
import { tourSlotRecipe } from './tour'
|
|
67
67
|
import { textlinkRecipe } from './textlink'
|
|
68
68
|
import { skeletonRecipe } from './skeleton'
|
|
69
|
+
import { scrollbarRecipe } from './scrollbar'
|
|
70
|
+
import { aireneInputSlotRecipe } from './airene-chat-input'
|
|
69
71
|
|
|
70
72
|
export const recipes = {
|
|
71
73
|
buttonRecipe,
|
|
@@ -95,7 +97,8 @@ export const recipes = {
|
|
|
95
97
|
yearItemRecipe,
|
|
96
98
|
timeItemRecipe,
|
|
97
99
|
textlinkRecipe,
|
|
98
|
-
skeletonRecipe
|
|
100
|
+
skeletonRecipe,
|
|
101
|
+
scrollbarRecipe
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
export const slotRecipes = {
|
|
@@ -143,5 +146,6 @@ export const slotRecipes = {
|
|
|
143
146
|
colorPickerSlotRecipe,
|
|
144
147
|
sliderSlotRecipe,
|
|
145
148
|
tourSlotRecipe,
|
|
146
|
-
aireneButtonSlotRecipe
|
|
149
|
+
aireneButtonSlotRecipe,
|
|
150
|
+
aireneInputSlotRecipe
|
|
147
151
|
}
|
package/src/recipes/input-tag.ts
CHANGED
|
@@ -23,6 +23,7 @@ const inputTagSlotRecipe = defineSlotRecipe({
|
|
|
23
23
|
},
|
|
24
24
|
trigger: {
|
|
25
25
|
overflowY: 'auto',
|
|
26
|
+
overflowX: 'hidden',
|
|
26
27
|
position: 'relative',
|
|
27
28
|
display: 'flex',
|
|
28
29
|
alignItems: 'center',
|
|
@@ -96,13 +97,29 @@ const inputTagSlotRecipe = defineSlotRecipe({
|
|
|
96
97
|
}
|
|
97
98
|
},
|
|
98
99
|
input: {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
appearance: 'none',
|
|
101
|
+
outline: 'none',
|
|
102
|
+
transition: 'none',
|
|
103
|
+
width: 'full',
|
|
104
|
+
textStyle: 'label.md',
|
|
105
|
+
color: 'dark',
|
|
106
|
+
_nextTheme: {
|
|
107
|
+
color: 'text.default'
|
|
108
|
+
},
|
|
109
|
+
|
|
102
110
|
_placeholder: {
|
|
103
111
|
color: 'gray.400',
|
|
104
112
|
_nextTheme: {
|
|
105
|
-
|
|
113
|
+
color: 'text.placeholder'
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
|
|
117
|
+
_disabled: {
|
|
118
|
+
cursor: 'not-allowed',
|
|
119
|
+
color: 'gray.400',
|
|
120
|
+
|
|
121
|
+
_nextTheme: {
|
|
122
|
+
color: 'text.disabled'
|
|
106
123
|
}
|
|
107
124
|
}
|
|
108
125
|
},
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const scrollbarRecipe = defineRecipe({
|
|
4
|
+
className: 'skeleton',
|
|
5
|
+
jsx: ['MpScrollbar', 'mp-scrollbar'],
|
|
6
|
+
base: {
|
|
7
|
+
'& .os-scrollbar': {
|
|
8
|
+
'--os-handle-bg': 'colors.gray.100!',
|
|
9
|
+
'--os-handle-bg-hover': 'colors.gray.400!',
|
|
10
|
+
'--os-handle-bg-active': 'colors.gray.400!'
|
|
11
|
+
},
|
|
12
|
+
_nextTheme: {
|
|
13
|
+
'& .os-scrollbar': {
|
|
14
|
+
'--os-handle-bg': 'colors.icon.subtle!',
|
|
15
|
+
'--os-handle-bg-hover': 'colors.icon.default!',
|
|
16
|
+
'--os-handle-bg-active': 'colors.icon.default!'
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
export { scrollbarRecipe }
|