@mekari/pixel3-theme 0.7.0 → 0.7.1-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1141,7 +1141,7 @@ var inputSlotRecipe = (0, import_dev7.defineSlotRecipe)({
1141
1141
  width: "full"
1142
1142
  },
1143
1143
  "&[data-with-clearable=true]": {
1144
- "& > [data-pixel-component=MpInputControl]": {
1144
+ "&:hover > [data-pixel-component=MpInputControl]": {
1145
1145
  paddingRight: "44px"
1146
1146
  },
1147
1147
  "& > [data-pixel-component=MpInputClear]": {
@@ -1316,7 +1316,7 @@ var inputGroupSlotRecipe = (0, import_dev7.defineSlotRecipe)({
1316
1316
  }
1317
1317
  },
1318
1318
  "&[data-with-clearable=true]": {
1319
- "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]": {
1319
+ "& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]": {
1320
1320
  paddingRight: "44px"
1321
1321
  },
1322
1322
  "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]": {
@@ -1333,7 +1333,7 @@ var inputGroupSlotRecipe = (0, import_dev7.defineSlotRecipe)({
1333
1333
  paddingRight: "calc(var(--mp-input-offset--right) + 14px)"
1334
1334
  },
1335
1335
  "&[data-with-clearable=true]": {
1336
- "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]": {
1336
+ "& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]": {
1337
1337
  paddingRight: "calc(var(--mp-input-offset--right) + 54px)"
1338
1338
  },
1339
1339
  "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]": {
@@ -1346,7 +1346,7 @@ var inputGroupSlotRecipe = (0, import_dev7.defineSlotRecipe)({
1346
1346
  paddingRight: "calc(var(--mp-input-offset--right) + 14px)"
1347
1347
  },
1348
1348
  "&[data-with-clearable=true]": {
1349
- "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]": {
1349
+ "& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]": {
1350
1350
  paddingRight: "calc(var(--mp-input-offset--right) + 46px)"
1351
1351
  },
1352
1352
  "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]": {
@@ -1418,8 +1418,8 @@ var inputAddonSlotRecipe = (0, import_dev7.defineSlotRecipe)({
1418
1418
  size: {
1419
1419
  sm: {
1420
1420
  root: {
1421
- height: "6.5",
1422
- borderRadius: "2xs",
1421
+ height: "26px",
1422
+ borderRadius: "sm",
1423
1423
  _hasBackground: {
1424
1424
  _placementLeft: {
1425
1425
  left: "0.5",
@@ -1475,6 +1475,11 @@ var selectSlotRecipe = (0, import_dev8.defineSlotRecipe)({
1475
1475
  alignItems: "center",
1476
1476
  _isFullWidth: {
1477
1477
  width: "full"
1478
+ },
1479
+ "&[data-with-clearable=true]:hover": {
1480
+ "& > [data-pixel-component=MpSelectControl]": {
1481
+ paddingRight: "62px!"
1482
+ }
1478
1483
  }
1479
1484
  },
1480
1485
  control: {
@@ -1491,7 +1496,7 @@ var selectSlotRecipe = (0, import_dev8.defineSlotRecipe)({
1491
1496
  paddingLeft: "3",
1492
1497
  paddingRight: "var(--mp-select--padding-right)",
1493
1498
  appearance: "none",
1494
- transition: "all 250ms",
1499
+ transition: "border-color 250ms, background-color 250ms, box-shadow 250ms",
1495
1500
  backgroundColor: "white",
1496
1501
  borderColor: "gray.100",
1497
1502
  _hover: {
@@ -3206,7 +3211,7 @@ var import_dev24 = require("@pandacss/dev");
3206
3211
  var formControlSlotRecipe = (0, import_dev24.defineSlotRecipe)({
3207
3212
  className: "form-control",
3208
3213
  jsx: ["MpFormControl", "mp-form-control"],
3209
- slots: ["root", "label", "required", "helpText", "errorMessage"],
3214
+ slots: ["root", "label", "required", "labelIcon", "helpText", "errorMessage"],
3210
3215
  base: {
3211
3216
  root: {},
3212
3217
  label: {
@@ -3215,7 +3220,8 @@ var formControlSlotRecipe = (0, import_dev24.defineSlotRecipe)({
3215
3220
  marginBottom: "1",
3216
3221
  textAlign: "left",
3217
3222
  verticalAlign: "middle",
3218
- display: "flex"
3223
+ display: "flex",
3224
+ alignItems: "center"
3219
3225
  },
3220
3226
  required: {
3221
3227
  color: "red.400",
@@ -3223,6 +3229,11 @@ var formControlSlotRecipe = (0, import_dev24.defineSlotRecipe)({
3223
3229
  color: "text.danger"
3224
3230
  }
3225
3231
  },
3232
+ labelIcon: {
3233
+ display: "inline-flex",
3234
+ alignItems: "center",
3235
+ marginLeft: "0.5"
3236
+ },
3226
3237
  helpText: {
3227
3238
  color: "gray.600",
3228
3239
  fontSize: "sm",
@@ -3286,8 +3297,8 @@ var inputTagSlotRecipe = (0, import_dev25.defineSlotRecipe)({
3286
3297
  paddingTop: "2",
3287
3298
  paddingBottom: "2",
3288
3299
  paddingLeft: "3",
3289
- paddingRight: "8",
3290
- transition: "all 250ms",
3300
+ paddingRight: "3",
3301
+ transition: "border-color 250ms, background-color 250ms, box-shadow 250ms",
3291
3302
  _nextTheme: {
3292
3303
  borderRadius: "md",
3293
3304
  borderColor: "border.form",
@@ -3340,6 +3351,9 @@ var inputTagSlotRecipe = (0, import_dev25.defineSlotRecipe)({
3340
3351
  }
3341
3352
  }
3342
3353
  },
3354
+ "&[data-show-clear=true]:not([data-has-icon=true])": {
3355
+ paddingRight: "32px"
3356
+ },
3343
3357
  _hasIcon: {
3344
3358
  paddingRight: "52px"
3345
3359
  }
@@ -3645,7 +3659,7 @@ var uploadSlotRecipe = (0, import_dev28.defineSlotRecipe)({
3645
3659
  borderRadius: "md",
3646
3660
  background: "white",
3647
3661
  outline: "none",
3648
- transition: "all 250ms",
3662
+ transition: "border-color 250ms, background-color 250ms, box-shadow 250ms",
3649
3663
  _nextTheme: {
3650
3664
  borderRadius: "md",
3651
3665
  borderColor: "border.default",
@@ -3653,14 +3667,17 @@ var uploadSlotRecipe = (0, import_dev28.defineSlotRecipe)({
3653
3667
  },
3654
3668
  _hover: {
3655
3669
  borderColor: "gray.400",
3656
- "& .mp-upload__resetButton": {
3657
- display: "block"
3658
- },
3659
3670
  _nextTheme: {
3660
3671
  borderColor: "border.form",
3661
3672
  background: "background.neutral.hovered"
3662
3673
  }
3663
3674
  },
3675
+ "&[data-has-reset=true]:hover": {
3676
+ paddingRight: "44px",
3677
+ "& [data-pixel-component=MpUploadResetButton]": {
3678
+ display: "block"
3679
+ }
3680
+ },
3664
3681
  _focus: {
3665
3682
  boxShadow: "focus",
3666
3683
  borderColor: "blue.400",
@@ -8497,10 +8514,10 @@ var import_dev68 = require("@pandacss/dev");
8497
8514
  var spacing3 = import_dev68.defineSemanticTokens.spacing({
8498
8515
  "4xs": {
8499
8516
  value: {
8500
- base: "{spacing.0.5}",
8501
- _light: "{spacing.0.5}",
8502
- _dark: "{spacing.0.5}",
8503
- _enterprise: "{spacing.0.5}"
8517
+ base: "0.125rem",
8518
+ _light: "0.125rem",
8519
+ _dark: "0.125rem",
8520
+ _enterprise: "0.125rem"
8504
8521
  }
8505
8522
  },
8506
8523
  "3xs": {
@@ -8513,10 +8530,10 @@ var spacing3 = import_dev68.defineSemanticTokens.spacing({
8513
8530
  },
8514
8531
  "2xs": {
8515
8532
  value: {
8516
- base: "{spacing.1.5}",
8517
- _light: "{spacing.1.5}",
8518
- _dark: "{spacing.1.5}",
8519
- _enterprise: "{spacing.1.5}"
8533
+ base: "0.375rem",
8534
+ _light: "0.375rem",
8535
+ _dark: "0.375rem",
8536
+ _enterprise: "0.375rem"
8520
8537
  }
8521
8538
  },
8522
8539
  xs: {
package/dist/index.mjs CHANGED
@@ -1115,7 +1115,7 @@ var inputSlotRecipe = defineSlotRecipe4({
1115
1115
  width: "full"
1116
1116
  },
1117
1117
  "&[data-with-clearable=true]": {
1118
- "& > [data-pixel-component=MpInputControl]": {
1118
+ "&:hover > [data-pixel-component=MpInputControl]": {
1119
1119
  paddingRight: "44px"
1120
1120
  },
1121
1121
  "& > [data-pixel-component=MpInputClear]": {
@@ -1290,7 +1290,7 @@ var inputGroupSlotRecipe = defineSlotRecipe4({
1290
1290
  }
1291
1291
  },
1292
1292
  "&[data-with-clearable=true]": {
1293
- "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]": {
1293
+ "& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]": {
1294
1294
  paddingRight: "44px"
1295
1295
  },
1296
1296
  "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]": {
@@ -1307,7 +1307,7 @@ var inputGroupSlotRecipe = defineSlotRecipe4({
1307
1307
  paddingRight: "calc(var(--mp-input-offset--right) + 14px)"
1308
1308
  },
1309
1309
  "&[data-with-clearable=true]": {
1310
- "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]": {
1310
+ "& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]": {
1311
1311
  paddingRight: "calc(var(--mp-input-offset--right) + 54px)"
1312
1312
  },
1313
1313
  "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]": {
@@ -1320,7 +1320,7 @@ var inputGroupSlotRecipe = defineSlotRecipe4({
1320
1320
  paddingRight: "calc(var(--mp-input-offset--right) + 14px)"
1321
1321
  },
1322
1322
  "&[data-with-clearable=true]": {
1323
- "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]": {
1323
+ "& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]": {
1324
1324
  paddingRight: "calc(var(--mp-input-offset--right) + 46px)"
1325
1325
  },
1326
1326
  "& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]": {
@@ -1392,8 +1392,8 @@ var inputAddonSlotRecipe = defineSlotRecipe4({
1392
1392
  size: {
1393
1393
  sm: {
1394
1394
  root: {
1395
- height: "6.5",
1396
- borderRadius: "2xs",
1395
+ height: "26px",
1396
+ borderRadius: "sm",
1397
1397
  _hasBackground: {
1398
1398
  _placementLeft: {
1399
1399
  left: "0.5",
@@ -1449,6 +1449,11 @@ var selectSlotRecipe = defineSlotRecipe5({
1449
1449
  alignItems: "center",
1450
1450
  _isFullWidth: {
1451
1451
  width: "full"
1452
+ },
1453
+ "&[data-with-clearable=true]:hover": {
1454
+ "& > [data-pixel-component=MpSelectControl]": {
1455
+ paddingRight: "62px!"
1456
+ }
1452
1457
  }
1453
1458
  },
1454
1459
  control: {
@@ -1465,7 +1470,7 @@ var selectSlotRecipe = defineSlotRecipe5({
1465
1470
  paddingLeft: "3",
1466
1471
  paddingRight: "var(--mp-select--padding-right)",
1467
1472
  appearance: "none",
1468
- transition: "all 250ms",
1473
+ transition: "border-color 250ms, background-color 250ms, box-shadow 250ms",
1469
1474
  backgroundColor: "white",
1470
1475
  borderColor: "gray.100",
1471
1476
  _hover: {
@@ -3180,7 +3185,7 @@ import { defineSlotRecipe as defineSlotRecipe13 } from "@pandacss/dev";
3180
3185
  var formControlSlotRecipe = defineSlotRecipe13({
3181
3186
  className: "form-control",
3182
3187
  jsx: ["MpFormControl", "mp-form-control"],
3183
- slots: ["root", "label", "required", "helpText", "errorMessage"],
3188
+ slots: ["root", "label", "required", "labelIcon", "helpText", "errorMessage"],
3184
3189
  base: {
3185
3190
  root: {},
3186
3191
  label: {
@@ -3189,7 +3194,8 @@ var formControlSlotRecipe = defineSlotRecipe13({
3189
3194
  marginBottom: "1",
3190
3195
  textAlign: "left",
3191
3196
  verticalAlign: "middle",
3192
- display: "flex"
3197
+ display: "flex",
3198
+ alignItems: "center"
3193
3199
  },
3194
3200
  required: {
3195
3201
  color: "red.400",
@@ -3197,6 +3203,11 @@ var formControlSlotRecipe = defineSlotRecipe13({
3197
3203
  color: "text.danger"
3198
3204
  }
3199
3205
  },
3206
+ labelIcon: {
3207
+ display: "inline-flex",
3208
+ alignItems: "center",
3209
+ marginLeft: "0.5"
3210
+ },
3200
3211
  helpText: {
3201
3212
  color: "gray.600",
3202
3213
  fontSize: "sm",
@@ -3260,8 +3271,8 @@ var inputTagSlotRecipe = defineSlotRecipe14({
3260
3271
  paddingTop: "2",
3261
3272
  paddingBottom: "2",
3262
3273
  paddingLeft: "3",
3263
- paddingRight: "8",
3264
- transition: "all 250ms",
3274
+ paddingRight: "3",
3275
+ transition: "border-color 250ms, background-color 250ms, box-shadow 250ms",
3265
3276
  _nextTheme: {
3266
3277
  borderRadius: "md",
3267
3278
  borderColor: "border.form",
@@ -3314,6 +3325,9 @@ var inputTagSlotRecipe = defineSlotRecipe14({
3314
3325
  }
3315
3326
  }
3316
3327
  },
3328
+ "&[data-show-clear=true]:not([data-has-icon=true])": {
3329
+ paddingRight: "32px"
3330
+ },
3317
3331
  _hasIcon: {
3318
3332
  paddingRight: "52px"
3319
3333
  }
@@ -3619,7 +3633,7 @@ var uploadSlotRecipe = defineSlotRecipe17({
3619
3633
  borderRadius: "md",
3620
3634
  background: "white",
3621
3635
  outline: "none",
3622
- transition: "all 250ms",
3636
+ transition: "border-color 250ms, background-color 250ms, box-shadow 250ms",
3623
3637
  _nextTheme: {
3624
3638
  borderRadius: "md",
3625
3639
  borderColor: "border.default",
@@ -3627,14 +3641,17 @@ var uploadSlotRecipe = defineSlotRecipe17({
3627
3641
  },
3628
3642
  _hover: {
3629
3643
  borderColor: "gray.400",
3630
- "& .mp-upload__resetButton": {
3631
- display: "block"
3632
- },
3633
3644
  _nextTheme: {
3634
3645
  borderColor: "border.form",
3635
3646
  background: "background.neutral.hovered"
3636
3647
  }
3637
3648
  },
3649
+ "&[data-has-reset=true]:hover": {
3650
+ paddingRight: "44px",
3651
+ "& [data-pixel-component=MpUploadResetButton]": {
3652
+ display: "block"
3653
+ }
3654
+ },
3638
3655
  _focus: {
3639
3656
  boxShadow: "focus",
3640
3657
  borderColor: "blue.400",
@@ -8471,10 +8488,10 @@ import { defineSemanticTokens as defineSemanticTokens2 } from "@pandacss/dev";
8471
8488
  var spacing3 = defineSemanticTokens2.spacing({
8472
8489
  "4xs": {
8473
8490
  value: {
8474
- base: "{spacing.0.5}",
8475
- _light: "{spacing.0.5}",
8476
- _dark: "{spacing.0.5}",
8477
- _enterprise: "{spacing.0.5}"
8491
+ base: "0.125rem",
8492
+ _light: "0.125rem",
8493
+ _dark: "0.125rem",
8494
+ _enterprise: "0.125rem"
8478
8495
  }
8479
8496
  },
8480
8497
  "3xs": {
@@ -8487,10 +8504,10 @@ var spacing3 = defineSemanticTokens2.spacing({
8487
8504
  },
8488
8505
  "2xs": {
8489
8506
  value: {
8490
- base: "{spacing.1.5}",
8491
- _light: "{spacing.1.5}",
8492
- _dark: "{spacing.1.5}",
8493
- _enterprise: "{spacing.1.5}"
8507
+ base: "0.375rem",
8508
+ _light: "0.375rem",
8509
+ _dark: "0.375rem",
8510
+ _enterprise: "0.375rem"
8494
8511
  }
8495
8512
  },
8496
8513
  xs: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-theme",
3
3
  "description": "Theme for mekari pixel 3",
4
- "version": "0.7.0",
4
+ "version": "0.7.1-dev.1",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
@@ -9,13 +9,13 @@
9
9
  "src"
10
10
  ],
11
11
  "dependencies": {
12
- "@pandacss/dev": "1.11.4"
12
+ "@pandacss/dev": "1.12.0"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "vue": "^3.4.9"
16
16
  },
17
17
  "devDependencies": {
18
- "@pandacss/types": "1.11.4",
18
+ "@pandacss/types": "1.12.0",
19
19
  "vue": "^3.4.9"
20
20
  },
21
21
  "publishConfig": {
@@ -3,7 +3,7 @@ import { defineSlotRecipe } from '@pandacss/dev'
3
3
  const formControlSlotRecipe = defineSlotRecipe({
4
4
  className: 'form-control',
5
5
  jsx: ['MpFormControl', 'mp-form-control'],
6
- slots: ['root', 'label', 'required', 'helpText', 'errorMessage'],
6
+ slots: ['root', 'label', 'required', 'labelIcon', 'helpText', 'errorMessage'],
7
7
  base: {
8
8
  root: {},
9
9
  label: {
@@ -12,7 +12,8 @@ const formControlSlotRecipe = defineSlotRecipe({
12
12
  marginBottom: '1',
13
13
  textAlign: 'left',
14
14
  verticalAlign: 'middle',
15
- display: 'flex'
15
+ display: 'flex',
16
+ alignItems: 'center'
16
17
  },
17
18
  required: {
18
19
  color: 'red.400',
@@ -20,6 +21,11 @@ const formControlSlotRecipe = defineSlotRecipe({
20
21
  color: 'text.danger'
21
22
  }
22
23
  },
24
+ labelIcon: {
25
+ display: 'inline-flex',
26
+ alignItems: 'center',
27
+ marginLeft: '0.5'
28
+ },
23
29
  helpText: {
24
30
  color: 'gray.600',
25
31
  fontSize: 'sm',
@@ -36,8 +36,8 @@ const inputTagSlotRecipe = defineSlotRecipe({
36
36
  paddingTop: '2',
37
37
  paddingBottom: '2',
38
38
  paddingLeft: '3',
39
- paddingRight: '8',
40
- transition: 'all 250ms',
39
+ paddingRight: '3',
40
+ transition: 'border-color 250ms, background-color 250ms, box-shadow 250ms',
41
41
  _nextTheme: {
42
42
  borderRadius: 'md',
43
43
  borderColor: 'border.form',
@@ -92,6 +92,9 @@ const inputTagSlotRecipe = defineSlotRecipe({
92
92
  }
93
93
  }
94
94
  },
95
+ '&[data-show-clear=true]:not([data-has-icon=true])': {
96
+ paddingRight: '32px'
97
+ },
95
98
  _hasIcon: {
96
99
  paddingRight: '52px'
97
100
  }
@@ -13,7 +13,7 @@ const inputSlotRecipe = defineSlotRecipe({
13
13
  width: 'full'
14
14
  },
15
15
  '&[data-with-clearable=true]': {
16
- '& > [data-pixel-component=MpInputControl]': {
16
+ '&:hover > [data-pixel-component=MpInputControl]': {
17
17
  paddingRight: '44px'
18
18
  },
19
19
  '& > [data-pixel-component=MpInputClear]': {
@@ -189,7 +189,7 @@ const inputGroupSlotRecipe = defineSlotRecipe({
189
189
  }
190
190
  },
191
191
  '&[data-with-clearable=true]': {
192
- '& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]': {
192
+ '& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]': {
193
193
  paddingRight: '44px'
194
194
  },
195
195
  '& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]': {
@@ -206,7 +206,7 @@ const inputGroupSlotRecipe = defineSlotRecipe({
206
206
  paddingRight: 'calc(var(--mp-input-offset--right) + 14px)'
207
207
  },
208
208
  '&[data-with-clearable=true]': {
209
- '& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]': {
209
+ '& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]': {
210
210
  paddingRight: 'calc(var(--mp-input-offset--right) + 54px)'
211
211
  },
212
212
  '& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]': {
@@ -219,7 +219,7 @@ const inputGroupSlotRecipe = defineSlotRecipe({
219
219
  paddingRight: 'calc(var(--mp-input-offset--right) + 14px)'
220
220
  },
221
221
  '&[data-with-clearable=true]': {
222
- '& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputControl]': {
222
+ '& > [data-pixel-component=MpInput]:hover > [data-pixel-component=MpInputControl]': {
223
223
  paddingRight: 'calc(var(--mp-input-offset--right) + 46px)'
224
224
  },
225
225
  '& > [data-pixel-component=MpInput] > [data-pixel-component=MpInputClear]': {
@@ -292,8 +292,8 @@ const inputAddonSlotRecipe = defineSlotRecipe({
292
292
  size: {
293
293
  sm: {
294
294
  root: {
295
- height: '6.5',
296
- borderRadius: '2xs',
295
+ height: '26px',
296
+ borderRadius: 'sm',
297
297
  _hasBackground: {
298
298
  _placementLeft: {
299
299
  left: '0.5',
@@ -11,6 +11,11 @@ const selectSlotRecipe = defineSlotRecipe({
11
11
  alignItems: 'center',
12
12
  _isFullWidth: {
13
13
  width: 'full'
14
+ },
15
+ '&[data-with-clearable=true]:hover': {
16
+ '& > [data-pixel-component=MpSelectControl]': {
17
+ paddingRight: '62px!'
18
+ }
14
19
  }
15
20
  },
16
21
  control: {
@@ -27,7 +32,7 @@ const selectSlotRecipe = defineSlotRecipe({
27
32
  paddingLeft: '3',
28
33
  paddingRight: 'var(--mp-select--padding-right)',
29
34
  appearance: 'none',
30
- transition: 'all 250ms',
35
+ transition: 'border-color 250ms, background-color 250ms, box-shadow 250ms',
31
36
  backgroundColor: 'white',
32
37
  borderColor: 'gray.100',
33
38
  _hover: {
@@ -20,7 +20,7 @@ const uploadSlotRecipe = defineSlotRecipe({
20
20
  borderRadius: 'md',
21
21
  background: 'white',
22
22
  outline: 'none',
23
- transition: 'all 250ms',
23
+ transition: 'border-color 250ms, background-color 250ms, box-shadow 250ms',
24
24
  _nextTheme: {
25
25
  borderRadius: 'md',
26
26
  borderColor: 'border.default',
@@ -29,15 +29,17 @@ const uploadSlotRecipe = defineSlotRecipe({
29
29
 
30
30
  _hover: {
31
31
  borderColor: 'gray.400',
32
- '& .mp-upload__resetButton': {
33
- display: 'block'
34
- },
35
-
36
32
  _nextTheme: {
37
33
  borderColor: 'border.form',
38
34
  background: 'background.neutral.hovered'
39
35
  }
40
36
  },
37
+ '&[data-has-reset=true]:hover': {
38
+ paddingRight: '44px',
39
+ '& [data-pixel-component=MpUploadResetButton]': {
40
+ display: 'block'
41
+ }
42
+ },
41
43
  _focus: {
42
44
  boxShadow: 'focus',
43
45
  borderColor: 'blue.400',
@@ -3,10 +3,10 @@ import { defineSemanticTokens } from '@pandacss/dev'
3
3
  export const spacing = defineSemanticTokens.spacing({
4
4
  '4xs': {
5
5
  value: {
6
- base: '{spacing.0.5}',
7
- _light: '{spacing.0.5}',
8
- _dark: '{spacing.0.5}',
9
- _enterprise: '{spacing.0.5}'
6
+ base: '0.125rem',
7
+ _light: '0.125rem',
8
+ _dark: '0.125rem',
9
+ _enterprise: '0.125rem'
10
10
  }
11
11
  },
12
12
  '3xs': {
@@ -19,10 +19,10 @@ export const spacing = defineSemanticTokens.spacing({
19
19
  },
20
20
  '2xs': {
21
21
  value: {
22
- base: '{spacing.1.5}',
23
- _light: '{spacing.1.5}',
24
- _dark: '{spacing.1.5}',
25
- _enterprise: '{spacing.1.5}'
22
+ base: '0.375rem',
23
+ _light: '0.375rem',
24
+ _dark: '0.375rem',
25
+ _enterprise: '0.375rem'
26
26
  }
27
27
  },
28
28
  xs: {