@mekari/pixel3-theme 0.7.0-dev.1 → 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.
@@ -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]': {
@@ -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',