@mekari/pixel3-theme 0.3.0-dev.3 → 0.3.0-dev.5

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.mjs CHANGED
@@ -2754,7 +2754,7 @@ var radioSlotRecipe = defineSlotRecipe9({
2754
2754
  import { defineSlotRecipe as defineSlotRecipe10 } from "@pandacss/dev";
2755
2755
  var sharedSlotRecipe = defineSlotRecipe10({
2756
2756
  className: "shared",
2757
- jsx: ["MpCheckbox", "mp-checkbox", "MpRadio", "mp-radio"],
2757
+ jsx: ["MpCheckbox", "mp-checkbox", "MpRadio", "mp-radio", "MpToggle", "mp-toggle"],
2758
2758
  slots: ["hidden"],
2759
2759
  base: {
2760
2760
  hidden: {
@@ -2947,10 +2947,42 @@ var tableRecipe = defineRecipe10({
2947
2947
  _nextTheme: {
2948
2948
  boxShadow: "0px 2px var(--mp-colors-border-default)"
2949
2949
  }
2950
+ },
2951
+ "&[data-table-head-narrowed=true]": {
2952
+ "& th": {
2953
+ paddingY: "2",
2954
+ paddingLeft: "2",
2955
+ paddingRight: "4"
2956
+ }
2957
+ },
2958
+ "&[data-table-head-bordered=true]": {
2959
+ "& th:nth-last-child(n+2)": {
2960
+ borderRightWidth: "sm",
2961
+ borderColor: "gray.100",
2962
+ _nextTheme: {
2963
+ borderColor: "border.default"
2964
+ }
2965
+ }
2950
2966
  }
2951
2967
  },
2952
2968
  "& > tbody": {
2953
- width: "full"
2969
+ width: "full",
2970
+ "&[data-table-head-narrowed=true]": {
2971
+ "& td": {
2972
+ paddingY: "2",
2973
+ paddingLeft: "2",
2974
+ paddingRight: "4"
2975
+ }
2976
+ },
2977
+ "&[data-table-head-bordered=true]": {
2978
+ "& td:nth-last-child(n+2)": {
2979
+ borderRightWidth: "sm",
2980
+ borderColor: "gray.100",
2981
+ _nextTheme: {
2982
+ borderColor: "border.default"
2983
+ }
2984
+ }
2985
+ }
2954
2986
  },
2955
2987
  "& > tr": {
2956
2988
  width: "full",
@@ -2959,9 +2991,9 @@ var tableRecipe = defineRecipe10({
2959
2991
  },
2960
2992
  "& th, & td": {
2961
2993
  cursor: "default",
2994
+ paddingY: "4",
2962
2995
  paddingLeft: "2",
2963
2996
  paddingRight: "4",
2964
- height: "52px",
2965
2997
  textStyle: "label.md",
2966
2998
  textAlign: "left",
2967
2999
  color: "dark",
@@ -3192,7 +3224,6 @@ var inputTagSlotRecipe = defineSlotRecipe14({
3192
3224
  },
3193
3225
  trigger: {
3194
3226
  overflowY: "auto",
3195
- overflowX: "hidden",
3196
3227
  position: "relative",
3197
3228
  display: "flex",
3198
3229
  alignItems: "center",
@@ -3264,26 +3295,13 @@ var inputTagSlotRecipe = defineSlotRecipe14({
3264
3295
  }
3265
3296
  },
3266
3297
  input: {
3267
- appearance: "none",
3268
- outline: "none",
3269
- transition: "none",
3270
- width: "full",
3271
- textStyle: "label.md",
3272
- color: "dark",
3273
- _nextTheme: {
3274
- color: "text.default"
3275
- },
3298
+ padding: "0 !important",
3299
+ margin: "0 !important",
3300
+ borderWidth: "0 !important",
3276
3301
  _placeholder: {
3277
3302
  color: "gray.400",
3278
3303
  _nextTheme: {
3279
- color: "text.placeholder"
3280
- }
3281
- },
3282
- _disabled: {
3283
- cursor: "not-allowed",
3284
- color: "gray.400",
3285
- _nextTheme: {
3286
- color: "text.disabled"
3304
+ borderColor: "text.placeholder"
3287
3305
  }
3288
3306
  }
3289
3307
  },
@@ -6136,35 +6154,63 @@ var aireneInputSlotRecipe = defineSlotRecipe32({
6136
6154
  alignItems: "flex-end",
6137
6155
  gap: "2",
6138
6156
  width: "full",
6139
- py: "xs",
6140
- px: "md",
6157
+ py: "2",
6158
+ px: "4",
6141
6159
  rounded: "full",
6142
6160
  borderWidth: "1px",
6143
- borderColor: "border.default",
6144
- backgroundColor: "background.neutral",
6145
- color: "text.default",
6161
+ borderColor: "gray.100",
6162
+ backgroundColor: "white",
6163
+ color: "dark",
6146
6164
  transitionDuration: "250ms",
6147
6165
  transitionProperty: "border-color",
6148
6166
  transitionTimingFunction: "linear",
6167
+ _nextTheme: {
6168
+ gap: "xs",
6169
+ py: "xs",
6170
+ px: "md",
6171
+ borderColor: "border.default",
6172
+ backgroundColor: "background.neutral",
6173
+ color: "text.default"
6174
+ },
6149
6175
  _hover: {
6150
- borderColor: "border.focused"
6176
+ borderColor: "blue.400",
6177
+ _nextTheme: {
6178
+ borderColor: "border.focused"
6179
+ }
6151
6180
  },
6152
6181
  _focusWithin: {
6153
- borderColor: "border.focused"
6182
+ borderColor: "blue.400",
6183
+ _nextTheme: {
6184
+ borderColor: "border.focused"
6185
+ }
6154
6186
  },
6155
6187
  _invalid: {
6156
- borderColor: "border.danger",
6157
- _hover: {
6188
+ borderColor: "red.400",
6189
+ _nextTheme: {
6158
6190
  borderColor: "border.danger"
6191
+ },
6192
+ _hover: {
6193
+ borderColor: "border.danger",
6194
+ _nextTheme: {
6195
+ borderColor: "red.400"
6196
+ }
6159
6197
  }
6160
6198
  },
6161
6199
  _disabled: {
6162
- backgroundColor: "background.disabled",
6163
- borderColor: "border.disabled",
6164
- color: "text.disabled",
6200
+ backgroundColor: "gray,50",
6201
+ borderColor: "gray.100",
6202
+ color: "gray.400",
6165
6203
  cursor: "not-allowed",
6204
+ _nextTheme: {
6205
+ backgroundColor: "background.disabled",
6206
+ borderColor: "border.disabled",
6207
+ color: "text.disabled"
6208
+ },
6166
6209
  _hover: {
6167
- borderColor: "border.disabled"
6210
+ borderColor: "gray.100",
6211
+ _nextTheme: {
6212
+ borderColor: "border.disabled"
6213
+ }
6168
6214
  }
6169
6215
  }
6170
6216
  },
@@ -6181,20 +6227,95 @@ var aireneInputSlotRecipe = defineSlotRecipe32({
6181
6227
  maxHeight: "136px",
6182
6228
  outline: "none",
6183
6229
  resize: "none",
6184
- caretColor: "border.selected",
6230
+ caretColor: "blue.400",
6185
6231
  fontSize: "md",
6186
6232
  fontWeight: "regular",
6187
6233
  lineHeight: "md",
6188
6234
  scrollbarWidth: "none",
6235
+ _nextTheme: {
6236
+ caretColor: "border.selected"
6237
+ },
6189
6238
  "-ms-overflow-style": "none",
6190
6239
  "&::-webkit-scrollbar": {
6191
6240
  display: "none"
6192
6241
  },
6193
6242
  "&::selection": {
6194
- background: "background.brand"
6243
+ background: "ice.50",
6244
+ _nextTheme: {
6245
+ background: "background.brand"
6246
+ }
6195
6247
  },
6196
6248
  "&::-moz-selection": {
6197
- background: "background.brand"
6249
+ background: "ice.50",
6250
+ _nextTheme: {
6251
+ background: "background.brand"
6252
+ }
6253
+ }
6254
+ }
6255
+ },
6256
+ variants: {},
6257
+ compoundVariants: [],
6258
+ defaultVariants: {}
6259
+ });
6260
+
6261
+ // src/recipes/airene-chat-bubble.ts
6262
+ import { defineSlotRecipe as defineSlotRecipe33 } from "@pandacss/dev";
6263
+ var aireneBubbleSlotRecipe = defineSlotRecipe33({
6264
+ className: "airene-chat-bubble",
6265
+ jsx: ["MpAireneChatBubble", "mp-airene-chat-bubble"],
6266
+ slots: ["root", "header", "loading", "body", "text"],
6267
+ base: {
6268
+ root: {
6269
+ position: "relative",
6270
+ width: "full",
6271
+ display: "flex",
6272
+ flexDirection: "column",
6273
+ gap: "2",
6274
+ py: "2",
6275
+ _nextTheme: {
6276
+ gap: "xs",
6277
+ py: "xs"
6278
+ }
6279
+ },
6280
+ header: {
6281
+ display: "flex",
6282
+ alignItems: "center",
6283
+ gap: "2",
6284
+ _nextTheme: {
6285
+ gap: "xs"
6286
+ }
6287
+ },
6288
+ loading: {
6289
+ display: "flex",
6290
+ flexDirection: "column",
6291
+ gap: "1.5",
6292
+ _nextTheme: {
6293
+ gap: "2xs"
6294
+ }
6295
+ },
6296
+ body: {
6297
+ position: "relative",
6298
+ display: "flex",
6299
+ flexDirection: "column",
6300
+ gap: "3",
6301
+ padding: "3",
6302
+ background: "lightPurple",
6303
+ borderRadius: "lg",
6304
+ borderWidth: "1px",
6305
+ borderStyle: "solid",
6306
+ borderColor: "blue.50",
6307
+ _nextTheme: {
6308
+ gap: "sm",
6309
+ padding: "sm",
6310
+ background: "lightPurple",
6311
+ borderColor: "background.neutral.subtle"
6312
+ }
6313
+ },
6314
+ text: {
6315
+ display: "flex",
6316
+ gap: "2",
6317
+ _nextTheme: {
6318
+ gap: "xs"
6198
6319
  }
6199
6320
  }
6200
6321
  },
@@ -6281,7 +6402,8 @@ var slotRecipes = {
6281
6402
  sliderSlotRecipe,
6282
6403
  tourSlotRecipe,
6283
6404
  aireneButtonSlotRecipe,
6284
- aireneInputSlotRecipe
6405
+ aireneInputSlotRecipe,
6406
+ aireneBubbleSlotRecipe
6285
6407
  };
6286
6408
 
6287
6409
  // src/text-styles.ts
@@ -6350,6 +6472,7 @@ var colors = defineTokens2.colors({
6350
6472
  overlay: { value: "rgba(22, 26, 32, 0.8)" },
6351
6473
  white: { value: "#FFFFFF" },
6352
6474
  vibrantPurple: { value: "linear-gradient(98deg, #F8F9FB 0%, #B5A2EC 50.01%, #4B61DD 100%)" },
6475
+ lightPurple: { value: "radial-gradient(108.28% 139.29% at 0% 0%, #E9F1FD 0%, #F4F0FF 100%)" },
6353
6476
  whiteAlpha: {
6354
6477
  50: { value: "rgba(255, 255, 255, 0.04)" },
6355
6478
  100: { value: "rgba(255, 255, 255, 0.06)" },
@@ -6509,7 +6632,7 @@ var radii = defineTokens5.radii({
6509
6632
  md: { value: "0.375rem", description: "6px" },
6510
6633
  lg: { value: "0.5rem", description: "8px" },
6511
6634
  xl: { value: "0.75rem", description: "12px" },
6512
- full: { value: "50%" }
6635
+ full: { value: "999px" }
6513
6636
  });
6514
6637
 
6515
6638
  // src/tokens/shadows.ts
@@ -6698,6 +6821,9 @@ var colors2 = defineTokens13.colors({
6698
6821
  currentcolor: { value: "currentcolor" },
6699
6822
  white: { value: "#FFFFFF" },
6700
6823
  vibrantPurple: { value: "linear-gradient(98deg, #F8F9FB 0%, #B5A2EC 50.01%, #4B61DD 100%)" },
6824
+ lightPurple: {
6825
+ value: "radial-gradient(108.28% 139.29% at 0% 0%, {colors.background.brand} 0%, {colors.background.highlight} 100%)"
6826
+ },
6701
6827
  dark: {
6702
6828
  "-100": {
6703
6829
  value: "#101214"
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const aireneBubbleSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { aireneBubbleSlotRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const aireneBubbleSlotRecipe: _pandacss_dev.SlotRecipeConfig;
4
+
5
+ export { aireneBubbleSlotRecipe };
@@ -78,6 +78,7 @@ declare const slotRecipes: {
78
78
  tourSlotRecipe: _pandacss_types.SlotRecipeConfig;
79
79
  aireneButtonSlotRecipe: _pandacss_types.SlotRecipeConfig;
80
80
  aireneInputSlotRecipe: _pandacss_types.SlotRecipeConfig;
81
+ aireneBubbleSlotRecipe: _pandacss_types.SlotRecipeConfig;
81
82
  };
82
83
 
83
84
  export { recipes, slotRecipes };
@@ -78,6 +78,7 @@ declare const slotRecipes: {
78
78
  tourSlotRecipe: _pandacss_types.SlotRecipeConfig;
79
79
  aireneButtonSlotRecipe: _pandacss_types.SlotRecipeConfig;
80
80
  aireneInputSlotRecipe: _pandacss_types.SlotRecipeConfig;
81
+ aireneBubbleSlotRecipe: _pandacss_types.SlotRecipeConfig;
81
82
  };
82
83
 
83
84
  export { recipes, slotRecipes };
@@ -20,6 +20,9 @@ declare const colors: {
20
20
  vibrantPurple: {
21
21
  value: string;
22
22
  };
23
+ lightPurple: {
24
+ value: string;
25
+ };
23
26
  whiteAlpha: {
24
27
  50: {
25
28
  value: string;
@@ -20,6 +20,9 @@ declare const colors: {
20
20
  vibrantPurple: {
21
21
  value: string;
22
22
  };
23
+ lightPurple: {
24
+ value: string;
25
+ };
23
26
  whiteAlpha: {
24
27
  50: {
25
28
  value: string;
@@ -35,6 +35,9 @@ declare const tokens: {
35
35
  vibrantPurple: {
36
36
  value: string;
37
37
  };
38
+ lightPurple: {
39
+ value: string;
40
+ };
38
41
  whiteAlpha: {
39
42
  50: {
40
43
  value: string;
@@ -35,6 +35,9 @@ declare const tokens: {
35
35
  vibrantPurple: {
36
36
  value: string;
37
37
  };
38
+ lightPurple: {
39
+ value: string;
40
+ };
38
41
  whiteAlpha: {
39
42
  50: {
40
43
  value: string;
@@ -11,6 +11,9 @@ declare const colors: {
11
11
  vibrantPurple: {
12
12
  value: string;
13
13
  };
14
+ lightPurple: {
15
+ value: string;
16
+ };
14
17
  dark: {
15
18
  '-100': {
16
19
  value: string;
@@ -11,6 +11,9 @@ declare const colors: {
11
11
  vibrantPurple: {
12
12
  value: string;
13
13
  };
14
+ lightPurple: {
15
+ value: string;
16
+ };
14
17
  dark: {
15
18
  '-100': {
16
19
  value: string;
@@ -32,6 +32,9 @@ declare const tokensNext: {
32
32
  vibrantPurple: {
33
33
  value: string;
34
34
  };
35
+ lightPurple: {
36
+ value: string;
37
+ };
35
38
  dark: {
36
39
  '-100': {
37
40
  value: string;
@@ -32,6 +32,9 @@ declare const tokensNext: {
32
32
  vibrantPurple: {
33
33
  value: string;
34
34
  };
35
+ lightPurple: {
36
+ value: string;
37
+ };
35
38
  dark: {
36
39
  '-100': {
37
40
  value: string;
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.3.0-dev.3",
4
+ "version": "0.3.0-dev.5",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
@@ -0,0 +1,72 @@
1
+ import { defineSlotRecipe } from '@pandacss/dev'
2
+
3
+ const aireneBubbleSlotRecipe = defineSlotRecipe({
4
+ className: 'airene-chat-bubble',
5
+ jsx: ['MpAireneChatBubble', 'mp-airene-chat-bubble'],
6
+ slots: ['root', 'header', 'loading', 'body', 'text'],
7
+ base: {
8
+ root: {
9
+ position: 'relative',
10
+ width: 'full',
11
+ display: 'flex',
12
+ flexDirection: 'column',
13
+ gap: '2',
14
+ py: '2',
15
+
16
+ _nextTheme: {
17
+ gap: 'xs',
18
+ py: 'xs'
19
+ }
20
+ },
21
+ header: {
22
+ display: 'flex',
23
+ alignItems: 'center',
24
+ gap: '2',
25
+
26
+ _nextTheme: {
27
+ gap: 'xs'
28
+ }
29
+ },
30
+ loading: {
31
+ display: 'flex',
32
+ flexDirection: 'column',
33
+ gap: '1.5',
34
+
35
+ _nextTheme: {
36
+ gap: '2xs'
37
+ }
38
+ },
39
+ body: {
40
+ position: 'relative',
41
+ display: 'flex',
42
+ flexDirection: 'column',
43
+ gap: '3',
44
+ padding: '3',
45
+ background: 'lightPurple',
46
+ borderRadius: 'lg',
47
+ borderWidth: '1px',
48
+ borderStyle: 'solid',
49
+ borderColor: 'blue.50',
50
+
51
+ _nextTheme: {
52
+ gap: 'sm',
53
+ padding: 'sm',
54
+ background: 'lightPurple',
55
+ borderColor: 'background.neutral.subtle'
56
+ }
57
+ },
58
+ text: {
59
+ display: 'flex',
60
+ gap: '2',
61
+
62
+ _nextTheme: {
63
+ gap: 'xs'
64
+ }
65
+ }
66
+ },
67
+ variants: {},
68
+ compoundVariants: [],
69
+ defaultVariants: {}
70
+ })
71
+
72
+ export { aireneBubbleSlotRecipe }
@@ -11,36 +11,73 @@ const aireneInputSlotRecipe = defineSlotRecipe({
11
11
  alignItems: 'flex-end',
12
12
  gap: '2',
13
13
  width: 'full',
14
- py: 'xs',
15
- px: 'md',
14
+ py: '2',
15
+ px: '4',
16
16
  rounded: 'full',
17
17
  borderWidth: '1px',
18
- borderColor: 'border.default',
19
- backgroundColor: 'background.neutral',
20
- color: 'text.default',
18
+ borderColor: 'gray.100',
19
+ backgroundColor: 'white',
20
+ color: 'dark',
21
21
  transitionDuration: '250ms',
22
22
  transitionProperty: 'border-color',
23
23
  transitionTimingFunction: 'linear',
24
24
 
25
+ _nextTheme: {
26
+ gap: 'xs',
27
+ py: 'xs',
28
+ px: 'md',
29
+ borderColor: 'border.default',
30
+ backgroundColor: 'background.neutral',
31
+ color: 'text.default'
32
+ },
33
+
25
34
  _hover: {
26
- borderColor: 'border.focused'
35
+ borderColor: 'blue.400',
36
+
37
+ _nextTheme: {
38
+ borderColor: 'border.focused'
39
+ }
27
40
  },
28
41
  _focusWithin: {
29
- borderColor: 'border.focused'
42
+ borderColor: 'blue.400',
43
+
44
+ _nextTheme: {
45
+ borderColor: 'border.focused'
46
+ }
30
47
  },
31
48
  _invalid: {
32
- borderColor: 'border.danger',
33
- _hover: {
49
+ borderColor: 'red.400',
50
+
51
+ _nextTheme: {
34
52
  borderColor: 'border.danger'
53
+ },
54
+
55
+ _hover: {
56
+ borderColor: 'border.danger',
57
+
58
+ _nextTheme: {
59
+ borderColor: 'red.400'
60
+ }
35
61
  }
36
62
  },
37
63
  _disabled: {
38
- backgroundColor: 'background.disabled',
39
- borderColor: 'border.disabled',
40
- color: 'text.disabled',
64
+ backgroundColor: 'gray,50',
65
+ borderColor: 'gray.100',
66
+ color: 'gray.400',
41
67
  cursor: 'not-allowed',
68
+
69
+ _nextTheme: {
70
+ backgroundColor: 'background.disabled',
71
+ borderColor: 'border.disabled',
72
+ color: 'text.disabled'
73
+ },
74
+
42
75
  _hover: {
43
- borderColor: 'border.disabled'
76
+ borderColor: 'gray.100',
77
+
78
+ _nextTheme: {
79
+ borderColor: 'border.disabled'
80
+ }
44
81
  }
45
82
  }
46
83
  },
@@ -57,20 +94,33 @@ const aireneInputSlotRecipe = defineSlotRecipe({
57
94
  maxHeight: '136px',
58
95
  outline: 'none',
59
96
  resize: 'none',
60
- caretColor: 'border.selected',
97
+ caretColor: 'blue.400',
61
98
  fontSize: 'md',
62
99
  fontWeight: 'regular',
63
100
  lineHeight: 'md',
64
101
  scrollbarWidth: 'none',
102
+
103
+ _nextTheme: {
104
+ caretColor: 'border.selected'
105
+ },
106
+
65
107
  '-ms-overflow-style': 'none',
66
108
  '&::-webkit-scrollbar': {
67
109
  display: 'none'
68
110
  },
69
111
  '&::selection': {
70
- background: 'background.brand'
112
+ background: 'ice.50',
113
+
114
+ _nextTheme: {
115
+ background: 'background.brand'
116
+ }
71
117
  },
72
118
  '&::-moz-selection': {
73
- background: 'background.brand'
119
+ background: 'ice.50',
120
+
121
+ _nextTheme: {
122
+ background: 'background.brand'
123
+ }
74
124
  }
75
125
  }
76
126
  },
@@ -68,6 +68,7 @@ import { textlinkRecipe } from './textlink'
68
68
  import { skeletonRecipe } from './skeleton'
69
69
  import { scrollbarRecipe } from './scrollbar'
70
70
  import { aireneInputSlotRecipe } from './airene-chat-input'
71
+ import { aireneBubbleSlotRecipe } from './airene-chat-bubble'
71
72
 
72
73
  export const recipes = {
73
74
  buttonRecipe,
@@ -147,5 +148,6 @@ export const slotRecipes = {
147
148
  sliderSlotRecipe,
148
149
  tourSlotRecipe,
149
150
  aireneButtonSlotRecipe,
150
- aireneInputSlotRecipe
151
+ aireneInputSlotRecipe,
152
+ aireneBubbleSlotRecipe
151
153
  }