@mekari/pixel3-theme 0.4.1 → 0.4.2-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
@@ -1154,24 +1154,16 @@ var inputSlotRecipe = (0, import_dev7.defineSlotRecipe)({
1154
1154
  }
1155
1155
  },
1156
1156
  clear: {
1157
- position: "absolute!",
1158
- color: "gray.600",
1159
- border: "none",
1157
+ cursor: "pointer",
1158
+ position: "absolute",
1160
1159
  top: "9px",
1161
1160
  right: "var(--mp-input--right)",
1162
- width: "5",
1163
- height: "5",
1164
- minWidth: "5",
1165
- padding: "0",
1166
- transition: "all 250ms!",
1161
+ transition: "all 250ms",
1167
1162
  visibility: "hidden",
1168
1163
  opacity: "0",
1169
1164
  _groupHover: {
1170
1165
  visibility: "var(--mp-input--visibility)",
1171
1166
  opacity: "var(--mp-input--opacity)"
1172
- },
1173
- _nextTheme: {
1174
- color: "icon.default"
1175
1167
  }
1176
1168
  }
1177
1169
  },
@@ -3378,7 +3370,7 @@ var inputTagSlotRecipe = (0, import_dev25.defineSlotRecipe)({
3378
3370
  px: "3",
3379
3371
  py: "2",
3380
3372
  width: "full",
3381
- textAlign: "left"
3373
+ textAlign: "center"
3382
3374
  },
3383
3375
  suggestionWrapper: {
3384
3376
  display: "flex",
@@ -3461,8 +3453,7 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3461
3453
  "header",
3462
3454
  "footer",
3463
3455
  "body",
3464
- "overlay",
3465
- "closeButton"
3456
+ "overlay"
3466
3457
  ],
3467
3458
  base: {
3468
3459
  root: {
@@ -3490,6 +3481,7 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3490
3481
  contentChild: {
3491
3482
  outline: 0,
3492
3483
  width: "100%",
3484
+ height: "100%",
3493
3485
  position: "relative",
3494
3486
  display: "flex",
3495
3487
  flexDir: "column",
@@ -3508,11 +3500,16 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3508
3500
  }
3509
3501
  },
3510
3502
  header: {
3503
+ display: "flex",
3504
+ alignItems: "center",
3505
+ justifyContent: "space-between",
3506
+ gap: 1,
3511
3507
  px: 4,
3512
3508
  py: 3,
3513
3509
  position: "relative",
3514
3510
  fontSize: "md",
3515
3511
  fontWeight: "semiBold",
3512
+ color: "dark",
3516
3513
  bg: "background",
3517
3514
  borderTopLeftRadius: "md",
3518
3515
  borderTopRightRadius: "md",
@@ -3523,18 +3520,11 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3523
3520
  background: "background.neutral.subtle",
3524
3521
  borderBottomColor: "border.default"
3525
3522
  },
3526
- '&[data-modal-presentation="drawer"]': {
3527
- borderTopLeftRadius: "none",
3528
- borderTopRightRadius: "none"
3523
+ '&[data-modal-type="drawer"]': {
3524
+ borderTopLeftRadius: "0",
3525
+ borderTopRightRadius: "0"
3529
3526
  }
3530
3527
  },
3531
- closeButton: {
3532
- position: "absolute",
3533
- top: "10px",
3534
- right: "12px",
3535
- bg: "transparent",
3536
- borderColor: "transparent"
3537
- },
3538
3528
  footer: {
3539
3529
  display: "flex",
3540
3530
  pt: 2,
@@ -3547,8 +3537,8 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3547
3537
  bg: "overlay",
3548
3538
  left: "0",
3549
3539
  top: "0",
3550
- w: "100vw",
3551
- h: "100vh",
3540
+ bottom: "0",
3541
+ right: "0",
3552
3542
  zIndex: "overlay",
3553
3543
  _nextTheme: {
3554
3544
  background: "background.overlay"
@@ -3562,7 +3552,7 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3562
3552
  top: "0"
3563
3553
  },
3564
3554
  contentChild: {
3565
- height: "100vh",
3555
+ height: "100%",
3566
3556
  border: "none",
3567
3557
  borderRadius: "none"
3568
3558
  }
@@ -5189,6 +5179,7 @@ var autocompleteSlotRecipe = (0, import_dev37.defineSlotRecipe)({
5189
5179
  className: "autocomplete",
5190
5180
  jsx: ["MpAutocomplete", "mp-autocomplete"],
5191
5181
  slots: [
5182
+ "root",
5192
5183
  "groupText",
5193
5184
  "popoverContent",
5194
5185
  "buttonAction",
@@ -5198,6 +5189,9 @@ var autocompleteSlotRecipe = (0, import_dev37.defineSlotRecipe)({
5198
5189
  "infinityScroll"
5199
5190
  ],
5200
5191
  base: {
5192
+ root: {
5193
+ position: "relative"
5194
+ },
5201
5195
  groupText: {
5202
5196
  px: 3,
5203
5197
  py: 2
package/dist/index.mjs CHANGED
@@ -1128,24 +1128,16 @@ var inputSlotRecipe = defineSlotRecipe4({
1128
1128
  }
1129
1129
  },
1130
1130
  clear: {
1131
- position: "absolute!",
1132
- color: "gray.600",
1133
- border: "none",
1131
+ cursor: "pointer",
1132
+ position: "absolute",
1134
1133
  top: "9px",
1135
1134
  right: "var(--mp-input--right)",
1136
- width: "5",
1137
- height: "5",
1138
- minWidth: "5",
1139
- padding: "0",
1140
- transition: "all 250ms!",
1135
+ transition: "all 250ms",
1141
1136
  visibility: "hidden",
1142
1137
  opacity: "0",
1143
1138
  _groupHover: {
1144
1139
  visibility: "var(--mp-input--visibility)",
1145
1140
  opacity: "var(--mp-input--opacity)"
1146
- },
1147
- _nextTheme: {
1148
- color: "icon.default"
1149
1141
  }
1150
1142
  }
1151
1143
  },
@@ -3352,7 +3344,7 @@ var inputTagSlotRecipe = defineSlotRecipe14({
3352
3344
  px: "3",
3353
3345
  py: "2",
3354
3346
  width: "full",
3355
- textAlign: "left"
3347
+ textAlign: "center"
3356
3348
  },
3357
3349
  suggestionWrapper: {
3358
3350
  display: "flex",
@@ -3435,8 +3427,7 @@ var modalSlotRecipe = defineSlotRecipe16({
3435
3427
  "header",
3436
3428
  "footer",
3437
3429
  "body",
3438
- "overlay",
3439
- "closeButton"
3430
+ "overlay"
3440
3431
  ],
3441
3432
  base: {
3442
3433
  root: {
@@ -3464,6 +3455,7 @@ var modalSlotRecipe = defineSlotRecipe16({
3464
3455
  contentChild: {
3465
3456
  outline: 0,
3466
3457
  width: "100%",
3458
+ height: "100%",
3467
3459
  position: "relative",
3468
3460
  display: "flex",
3469
3461
  flexDir: "column",
@@ -3482,11 +3474,16 @@ var modalSlotRecipe = defineSlotRecipe16({
3482
3474
  }
3483
3475
  },
3484
3476
  header: {
3477
+ display: "flex",
3478
+ alignItems: "center",
3479
+ justifyContent: "space-between",
3480
+ gap: 1,
3485
3481
  px: 4,
3486
3482
  py: 3,
3487
3483
  position: "relative",
3488
3484
  fontSize: "md",
3489
3485
  fontWeight: "semiBold",
3486
+ color: "dark",
3490
3487
  bg: "background",
3491
3488
  borderTopLeftRadius: "md",
3492
3489
  borderTopRightRadius: "md",
@@ -3497,18 +3494,11 @@ var modalSlotRecipe = defineSlotRecipe16({
3497
3494
  background: "background.neutral.subtle",
3498
3495
  borderBottomColor: "border.default"
3499
3496
  },
3500
- '&[data-modal-presentation="drawer"]': {
3501
- borderTopLeftRadius: "none",
3502
- borderTopRightRadius: "none"
3497
+ '&[data-modal-type="drawer"]': {
3498
+ borderTopLeftRadius: "0",
3499
+ borderTopRightRadius: "0"
3503
3500
  }
3504
3501
  },
3505
- closeButton: {
3506
- position: "absolute",
3507
- top: "10px",
3508
- right: "12px",
3509
- bg: "transparent",
3510
- borderColor: "transparent"
3511
- },
3512
3502
  footer: {
3513
3503
  display: "flex",
3514
3504
  pt: 2,
@@ -3521,8 +3511,8 @@ var modalSlotRecipe = defineSlotRecipe16({
3521
3511
  bg: "overlay",
3522
3512
  left: "0",
3523
3513
  top: "0",
3524
- w: "100vw",
3525
- h: "100vh",
3514
+ bottom: "0",
3515
+ right: "0",
3526
3516
  zIndex: "overlay",
3527
3517
  _nextTheme: {
3528
3518
  background: "background.overlay"
@@ -3536,7 +3526,7 @@ var modalSlotRecipe = defineSlotRecipe16({
3536
3526
  top: "0"
3537
3527
  },
3538
3528
  contentChild: {
3539
- height: "100vh",
3529
+ height: "100%",
3540
3530
  border: "none",
3541
3531
  borderRadius: "none"
3542
3532
  }
@@ -5163,6 +5153,7 @@ var autocompleteSlotRecipe = defineSlotRecipe26({
5163
5153
  className: "autocomplete",
5164
5154
  jsx: ["MpAutocomplete", "mp-autocomplete"],
5165
5155
  slots: [
5156
+ "root",
5166
5157
  "groupText",
5167
5158
  "popoverContent",
5168
5159
  "buttonAction",
@@ -5172,6 +5163,9 @@ var autocompleteSlotRecipe = defineSlotRecipe26({
5172
5163
  "infinityScroll"
5173
5164
  ],
5174
5165
  base: {
5166
+ root: {
5167
+ position: "relative"
5168
+ },
5175
5169
  groupText: {
5176
5170
  px: 3,
5177
5171
  py: 2
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.4.1",
4
+ "version": "0.4.2-dev.1",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
@@ -4,6 +4,7 @@ const autocompleteSlotRecipe = defineSlotRecipe({
4
4
  className: 'autocomplete',
5
5
  jsx: ['MpAutocomplete', 'mp-autocomplete'],
6
6
  slots: [
7
+ 'root',
7
8
  'groupText',
8
9
  'popoverContent',
9
10
  'buttonAction',
@@ -13,6 +14,9 @@ const autocompleteSlotRecipe = defineSlotRecipe({
13
14
  'infinityScroll'
14
15
  ],
15
16
  base: {
17
+ root: {
18
+ position: 'relative'
19
+ },
16
20
  groupText: {
17
21
  px: 3,
18
22
  py: 2
@@ -155,7 +155,7 @@ const inputTagSlotRecipe = defineSlotRecipe({
155
155
  px: '3',
156
156
  py: '2',
157
157
  width: 'full',
158
- textAlign: 'left'
158
+ textAlign: 'center'
159
159
  },
160
160
  suggestionWrapper: {
161
161
  display: 'flex',
@@ -52,24 +52,16 @@ const inputSlotRecipe = defineSlotRecipe({
52
52
  }
53
53
  },
54
54
  clear: {
55
- position: 'absolute!',
56
- color: 'gray.600',
57
- border: 'none',
55
+ cursor: 'pointer',
56
+ position: 'absolute',
58
57
  top: '9px',
59
58
  right: 'var(--mp-input--right)',
60
- width: '5',
61
- height: '5',
62
- minWidth: '5',
63
- padding: '0',
64
- transition: 'all 250ms!',
59
+ transition: 'all 250ms',
65
60
  visibility: 'hidden',
66
61
  opacity: '0',
67
62
  _groupHover: {
68
63
  visibility: 'var(--mp-input--visibility)',
69
64
  opacity: 'var(--mp-input--opacity)'
70
- },
71
- _nextTheme: {
72
- color: 'icon.default'
73
65
  }
74
66
  }
75
67
  },
@@ -13,8 +13,7 @@ export const modalSlotRecipe = defineSlotRecipe({
13
13
  'header',
14
14
  'footer',
15
15
  'body',
16
- 'overlay',
17
- 'closeButton'
16
+ 'overlay'
18
17
  ],
19
18
  base: {
20
19
  root: {
@@ -42,6 +41,7 @@ export const modalSlotRecipe = defineSlotRecipe({
42
41
  contentChild: {
43
42
  outline: 0,
44
43
  width: '100%',
44
+ height: '100%',
45
45
  position: 'relative',
46
46
  display: 'flex',
47
47
  flexDir: 'column',
@@ -59,13 +59,17 @@ export const modalSlotRecipe = defineSlotRecipe({
59
59
  }
60
60
  }
61
61
  },
62
-
63
62
  header: {
63
+ display: 'flex',
64
+ alignItems: 'center',
65
+ justifyContent: 'space-between',
66
+ gap: 1,
64
67
  px: 4,
65
68
  py: 3,
66
69
  position: 'relative',
67
70
  fontSize: 'md',
68
71
  fontWeight: 'semiBold',
72
+ color: 'dark',
69
73
  bg: 'background',
70
74
  borderTopLeftRadius: 'md',
71
75
  borderTopRightRadius: 'md',
@@ -76,18 +80,11 @@ export const modalSlotRecipe = defineSlotRecipe({
76
80
  background: 'background.neutral.subtle',
77
81
  borderBottomColor: 'border.default'
78
82
  },
79
- '&[data-modal-presentation="drawer"]': {
80
- borderTopLeftRadius: 'none',
81
- borderTopRightRadius: 'none'
83
+ '&[data-modal-type="drawer"]': {
84
+ borderTopLeftRadius: '0',
85
+ borderTopRightRadius: '0'
82
86
  }
83
87
  },
84
- closeButton: {
85
- position: 'absolute',
86
- top: '10px',
87
- right: '12px',
88
- bg: 'transparent',
89
- borderColor: 'transparent'
90
- },
91
88
  footer: {
92
89
  display: 'flex',
93
90
  pt: 2,
@@ -100,8 +97,8 @@ export const modalSlotRecipe = defineSlotRecipe({
100
97
  bg: 'overlay',
101
98
  left: '0',
102
99
  top: '0',
103
- w: '100vw',
104
- h: '100vh',
100
+ bottom: '0',
101
+ right: '0',
105
102
  zIndex: 'overlay',
106
103
  _nextTheme: {
107
104
  background: 'background.overlay'
@@ -115,7 +112,7 @@ export const modalSlotRecipe = defineSlotRecipe({
115
112
  top: '0'
116
113
  },
117
114
  contentChild: {
118
- height: '100vh',
115
+ height: '100%',
119
116
  border: 'none',
120
117
  borderRadius: 'none'
121
118
  }