@mekari/pixel3-theme 0.4.1-dev.0 → 0.4.2-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 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: {
@@ -3508,11 +3499,16 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3508
3499
  }
3509
3500
  },
3510
3501
  header: {
3502
+ display: "flex",
3503
+ alignItems: "center",
3504
+ justifyContent: "space-between",
3505
+ gap: 1,
3511
3506
  px: 4,
3512
3507
  py: 3,
3513
3508
  position: "relative",
3514
3509
  fontSize: "md",
3515
3510
  fontWeight: "semiBold",
3511
+ color: "dark",
3516
3512
  bg: "background",
3517
3513
  borderTopLeftRadius: "md",
3518
3514
  borderTopRightRadius: "md",
@@ -3523,18 +3519,11 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3523
3519
  background: "background.neutral.subtle",
3524
3520
  borderBottomColor: "border.default"
3525
3521
  },
3526
- '&[data-modal-presentation="drawer"]': {
3527
- borderTopLeftRadius: "none",
3528
- borderTopRightRadius: "none"
3522
+ '&[data-modal-type="drawer"]': {
3523
+ borderTopLeftRadius: "0",
3524
+ borderTopRightRadius: "0"
3529
3525
  }
3530
3526
  },
3531
- closeButton: {
3532
- position: "absolute",
3533
- top: "10px",
3534
- right: "12px",
3535
- bg: "transparent",
3536
- borderColor: "transparent"
3537
- },
3538
3527
  footer: {
3539
3528
  display: "flex",
3540
3529
  pt: 2,
@@ -5189,6 +5178,7 @@ var autocompleteSlotRecipe = (0, import_dev37.defineSlotRecipe)({
5189
5178
  className: "autocomplete",
5190
5179
  jsx: ["MpAutocomplete", "mp-autocomplete"],
5191
5180
  slots: [
5181
+ "root",
5192
5182
  "groupText",
5193
5183
  "popoverContent",
5194
5184
  "buttonAction",
@@ -5198,6 +5188,9 @@ var autocompleteSlotRecipe = (0, import_dev37.defineSlotRecipe)({
5198
5188
  "infinityScroll"
5199
5189
  ],
5200
5190
  base: {
5191
+ root: {
5192
+ position: "relative"
5193
+ },
5201
5194
  groupText: {
5202
5195
  px: 3,
5203
5196
  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: {
@@ -3482,11 +3473,16 @@ var modalSlotRecipe = defineSlotRecipe16({
3482
3473
  }
3483
3474
  },
3484
3475
  header: {
3476
+ display: "flex",
3477
+ alignItems: "center",
3478
+ justifyContent: "space-between",
3479
+ gap: 1,
3485
3480
  px: 4,
3486
3481
  py: 3,
3487
3482
  position: "relative",
3488
3483
  fontSize: "md",
3489
3484
  fontWeight: "semiBold",
3485
+ color: "dark",
3490
3486
  bg: "background",
3491
3487
  borderTopLeftRadius: "md",
3492
3488
  borderTopRightRadius: "md",
@@ -3497,18 +3493,11 @@ var modalSlotRecipe = defineSlotRecipe16({
3497
3493
  background: "background.neutral.subtle",
3498
3494
  borderBottomColor: "border.default"
3499
3495
  },
3500
- '&[data-modal-presentation="drawer"]': {
3501
- borderTopLeftRadius: "none",
3502
- borderTopRightRadius: "none"
3496
+ '&[data-modal-type="drawer"]': {
3497
+ borderTopLeftRadius: "0",
3498
+ borderTopRightRadius: "0"
3503
3499
  }
3504
3500
  },
3505
- closeButton: {
3506
- position: "absolute",
3507
- top: "10px",
3508
- right: "12px",
3509
- bg: "transparent",
3510
- borderColor: "transparent"
3511
- },
3512
3501
  footer: {
3513
3502
  display: "flex",
3514
3503
  pt: 2,
@@ -5163,6 +5152,7 @@ var autocompleteSlotRecipe = defineSlotRecipe26({
5163
5152
  className: "autocomplete",
5164
5153
  jsx: ["MpAutocomplete", "mp-autocomplete"],
5165
5154
  slots: [
5155
+ "root",
5166
5156
  "groupText",
5167
5157
  "popoverContent",
5168
5158
  "buttonAction",
@@ -5172,6 +5162,9 @@ var autocompleteSlotRecipe = defineSlotRecipe26({
5172
5162
  "infinityScroll"
5173
5163
  ],
5174
5164
  base: {
5165
+ root: {
5166
+ position: "relative"
5167
+ },
5175
5168
  groupText: {
5176
5169
  px: 3,
5177
5170
  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-dev.0",
4
+ "version": "0.4.2-dev.0",
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: {
@@ -59,13 +58,17 @@ export const modalSlotRecipe = defineSlotRecipe({
59
58
  }
60
59
  }
61
60
  },
62
-
63
61
  header: {
62
+ display: 'flex',
63
+ alignItems: 'center',
64
+ justifyContent: 'space-between',
65
+ gap: 1,
64
66
  px: 4,
65
67
  py: 3,
66
68
  position: 'relative',
67
69
  fontSize: 'md',
68
70
  fontWeight: 'semiBold',
71
+ color: 'dark',
69
72
  bg: 'background',
70
73
  borderTopLeftRadius: 'md',
71
74
  borderTopRightRadius: 'md',
@@ -76,18 +79,11 @@ export const modalSlotRecipe = defineSlotRecipe({
76
79
  background: 'background.neutral.subtle',
77
80
  borderBottomColor: 'border.default'
78
81
  },
79
- '&[data-modal-presentation="drawer"]': {
80
- borderTopLeftRadius: 'none',
81
- borderTopRightRadius: 'none'
82
+ '&[data-modal-type="drawer"]': {
83
+ borderTopLeftRadius: '0',
84
+ borderTopRightRadius: '0'
82
85
  }
83
86
  },
84
- closeButton: {
85
- position: 'absolute',
86
- top: '10px',
87
- right: '12px',
88
- bg: 'transparent',
89
- borderColor: 'transparent'
90
- },
91
87
  footer: {
92
88
  display: 'flex',
93
89
  pt: 2,