@mekari/pixel3-theme 0.7.0 → 0.7.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +30 -13
- package/dist/index.mjs +30 -13
- package/package.json +1 -1
- package/src/recipes/form-control.ts +8 -2
- package/src/recipes/input-tag.ts +5 -2
- package/src/recipes/input.ts +4 -4
- package/src/recipes/select.ts +6 -1
- package/src/recipes/upload.ts +7 -5
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
|
-
"
|
|
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]": {
|
|
@@ -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: "
|
|
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: "
|
|
3290
|
-
transition: "
|
|
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: "
|
|
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",
|
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
|
-
"
|
|
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]": {
|
|
@@ -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: "
|
|
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: "
|
|
3264
|
-
transition: "
|
|
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: "
|
|
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",
|
package/package.json
CHANGED
|
@@ -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',
|
package/src/recipes/input-tag.ts
CHANGED
|
@@ -36,8 +36,8 @@ const inputTagSlotRecipe = defineSlotRecipe({
|
|
|
36
36
|
paddingTop: '2',
|
|
37
37
|
paddingBottom: '2',
|
|
38
38
|
paddingLeft: '3',
|
|
39
|
-
paddingRight: '
|
|
40
|
-
transition: '
|
|
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
|
}
|
package/src/recipes/input.ts
CHANGED
|
@@ -13,7 +13,7 @@ const inputSlotRecipe = defineSlotRecipe({
|
|
|
13
13
|
width: 'full'
|
|
14
14
|
},
|
|
15
15
|
'&[data-with-clearable=true]': {
|
|
16
|
-
'
|
|
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]': {
|
package/src/recipes/select.ts
CHANGED
|
@@ -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: '
|
|
35
|
+
transition: 'border-color 250ms, background-color 250ms, box-shadow 250ms',
|
|
31
36
|
backgroundColor: 'white',
|
|
32
37
|
borderColor: 'gray.100',
|
|
33
38
|
_hover: {
|
package/src/recipes/upload.ts
CHANGED
|
@@ -20,7 +20,7 @@ const uploadSlotRecipe = defineSlotRecipe({
|
|
|
20
20
|
borderRadius: 'md',
|
|
21
21
|
background: 'white',
|
|
22
22
|
outline: 'none',
|
|
23
|
-
transition: '
|
|
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',
|