@mekari/pixel3-theme 0.2.2-dev.4 → 0.2.2-dev.6

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.
Files changed (52) hide show
  1. package/dist/index.js +285 -71
  2. package/dist/index.mjs +237 -23
  3. package/dist/recipes/index.d.mts +1 -0
  4. package/dist/recipes/index.d.ts +1 -0
  5. package/dist/recipes/textlink.d.mts +5 -0
  6. package/dist/recipes/textlink.d.ts +5 -0
  7. package/dist/semanticTokens/colors.d.mts +7 -0
  8. package/dist/semanticTokens/colors.d.ts +7 -0
  9. package/dist/semanticTokens/index.d.mts +7 -0
  10. package/dist/semanticTokens/index.d.ts +7 -0
  11. package/package.json +1 -1
  12. package/src/conditions.ts +3 -2
  13. package/src/fonts.ts +4 -4
  14. package/src/global-css.ts +3 -3
  15. package/src/index.ts +1 -1
  16. package/src/recipes/airene-button.ts +1 -1
  17. package/src/recipes/autocomplete.ts +23 -9
  18. package/src/recipes/avatar.ts +28 -20
  19. package/src/recipes/badge.ts +7 -7
  20. package/src/recipes/banner.ts +7 -7
  21. package/src/recipes/broadcast.ts +45 -19
  22. package/src/recipes/button.ts +7 -4
  23. package/src/recipes/carousel.ts +2 -6
  24. package/src/recipes/color-picker.ts +1 -1
  25. package/src/recipes/date-picker.ts +1 -1
  26. package/src/recipes/divider.ts +3 -3
  27. package/src/recipes/form-control.ts +3 -3
  28. package/src/recipes/index.ts +3 -1
  29. package/src/recipes/input.ts +23 -23
  30. package/src/recipes/modal.ts +3 -3
  31. package/src/recipes/popover.ts +4 -3
  32. package/src/recipes/rich-text-editor.ts +2 -2
  33. package/src/recipes/segmented-control.ts +14 -13
  34. package/src/recipes/select.ts +9 -9
  35. package/src/recipes/slider.ts +16 -11
  36. package/src/recipes/table.ts +5 -5
  37. package/src/recipes/tabs.ts +2 -2
  38. package/src/recipes/tag.ts +2 -1
  39. package/src/recipes/textarea.ts +1 -1
  40. package/src/recipes/textlink.ts +105 -0
  41. package/src/recipes/timeline.ts +31 -4
  42. package/src/recipes/toast.ts +29 -9
  43. package/src/recipes/toggle.ts +1 -1
  44. package/src/semanticTokens/colors.ts +8 -1
  45. package/src/semanticTokens/index.ts +1 -1
  46. package/src/semanticTokens/spacing.ts +12 -12
  47. package/src/tokens/colors.ts +2 -2
  48. package/src/tokens/spacing.ts +2 -2
  49. package/src/tokens/typography.ts +1 -1
  50. package/src/tokens-next/radii.ts +1 -1
  51. package/src/tokens-next/shadows.ts +16 -4
  52. package/src/tokens-next/spacing.ts +1 -1
package/dist/index.mjs CHANGED
@@ -213,7 +213,8 @@ var tagSlotRecipe = defineSlotRecipe({
213
213
  defaultVariants: {
214
214
  size: "md",
215
215
  variant: "gray"
216
- }
216
+ },
217
+ staticCss: ["*"]
217
218
  });
218
219
 
219
220
  // src/recipes/avatar.ts
@@ -496,7 +497,7 @@ var aireneButtonSlotRecipe = defineSlotRecipe3({
496
497
  color: "blue.400!",
497
498
  borderRadius: "25px!",
498
499
  fontSize: "md",
499
- fontWeight: "semiBold",
500
+ fontWeight: "semiBold!",
500
501
  paddingLeft: "0.625rem!",
501
502
  paddingRight: "0.625rem!",
502
503
  overflow: "hidden",
@@ -621,6 +622,9 @@ var buttonRecipe = defineRecipe({
621
622
  transitionDuration: "250ms",
622
623
  transitionProperty: "background, border-color, color, box-shadow",
623
624
  transitionTimingFunction: "linear",
625
+ _isFullWidth: {
626
+ width: "full"
627
+ },
624
628
  _loading: {
625
629
  cursor: "wait",
626
630
  position: "absolute",
@@ -1819,7 +1823,8 @@ var popoverContentRecipe = defineRecipe5({
1819
1823
  defaultVariants: {
1820
1824
  isDark: false,
1821
1825
  isUnstyled: false
1822
- }
1826
+ },
1827
+ staticCss: ["*"]
1823
1828
  });
1824
1829
  var popoverListRecipe = defineRecipe5({
1825
1830
  className: "popover-list",
@@ -1866,7 +1871,7 @@ var popoverListItemRecipe = defineRecipe5({
1866
1871
  color: "text.default"
1867
1872
  }
1868
1873
  },
1869
- _active: {
1874
+ '&[data-active="true"]': {
1870
1875
  background: "ice.50",
1871
1876
  color: "dark",
1872
1877
  outline: 0,
@@ -1898,8 +1903,8 @@ var badgeRecipe = defineRecipe6({
1898
1903
  color: "white"
1899
1904
  },
1900
1905
  subtle: {},
1901
- "additionalInformation": {},
1902
- "tableStatus": {},
1906
+ additionalInformation: {},
1907
+ tableStatus: {},
1903
1908
  indicator: {}
1904
1909
  },
1905
1910
  variantColor: {
@@ -4012,7 +4017,8 @@ var toastSlotRecipe = defineSlotRecipe20({
4012
4017
  variants: {
4013
4018
  variant: {
4014
4019
  success: {},
4015
- error: {}
4020
+ error: {},
4021
+ greeting: {}
4016
4022
  }
4017
4023
  },
4018
4024
  compoundVariants: [
@@ -4037,6 +4043,25 @@ var toastSlotRecipe = defineSlotRecipe20({
4037
4043
  }
4038
4044
  }
4039
4045
  }
4046
+ },
4047
+ {
4048
+ variant: "greeting",
4049
+ css: {
4050
+ root: {
4051
+ borderRadius: "999px",
4052
+ border: "none",
4053
+ backgroundColor: "overlay",
4054
+ _nextTheme: {
4055
+ backgroundColor: "background.overlay"
4056
+ }
4057
+ },
4058
+ label: {
4059
+ color: "white",
4060
+ _nextTheme: {
4061
+ color: "text.inverse-static"
4062
+ }
4063
+ }
4064
+ }
4040
4065
  }
4041
4066
  ],
4042
4067
  defaultVariants: {
@@ -4172,6 +4197,32 @@ var broadcastSlotRecipe = defineSlotRecipe21({
4172
4197
  color: "text.warning.inverse"
4173
4198
  }
4174
4199
  }
4200
+ },
4201
+ critical: {
4202
+ container: {
4203
+ backgroundColor: "rose.400",
4204
+ _nextTheme: {
4205
+ backgroundColor: "background.danger.bold"
4206
+ }
4207
+ },
4208
+ icon: {
4209
+ color: "white",
4210
+ _nextTheme: {
4211
+ color: "icon.inverse"
4212
+ }
4213
+ },
4214
+ label: {
4215
+ color: "white",
4216
+ _nextTheme: {
4217
+ color: "text.inverse"
4218
+ }
4219
+ },
4220
+ textLink: {
4221
+ color: "white",
4222
+ _nextTheme: {
4223
+ color: "text.inverse"
4224
+ }
4225
+ }
4175
4226
  }
4176
4227
  }
4177
4228
  },
@@ -4895,11 +4946,7 @@ import { defineSlotRecipe as defineSlotRecipe24 } from "@pandacss/dev";
4895
4946
  var carouselSlotRecipe = defineSlotRecipe24({
4896
4947
  className: "carousel",
4897
4948
  jsx: ["MpCarousel", "mp-carousel"],
4898
- slots: [
4899
- "root",
4900
- "buttonRight",
4901
- "buttonLeft"
4902
- ],
4949
+ slots: ["root", "buttonRight", "buttonLeft"],
4903
4950
  base: {
4904
4951
  root: {
4905
4952
  display: "block",
@@ -5055,7 +5102,15 @@ import { defineSlotRecipe as defineSlotRecipe26 } from "@pandacss/dev";
5055
5102
  var autocompleteSlotRecipe = defineSlotRecipe26({
5056
5103
  className: "autocomplete",
5057
5104
  jsx: ["MpAutocomplete", "mp-autocomplete"],
5058
- slots: ["groupText", "popoverContent", "buttonAction", "emptyText", "contentLoading", "input"],
5105
+ slots: [
5106
+ "groupText",
5107
+ "popoverContent",
5108
+ "buttonAction",
5109
+ "emptyText",
5110
+ "contentLoading",
5111
+ "input",
5112
+ "infinityScroll"
5113
+ ],
5059
5114
  base: {
5060
5115
  groupText: {
5061
5116
  px: 3,
@@ -5101,6 +5156,11 @@ var autocompleteSlotRecipe = defineSlotRecipe26({
5101
5156
  },
5102
5157
  input: {
5103
5158
  cursor: "pointer"
5159
+ },
5160
+ infinityScroll: {
5161
+ height: "1px",
5162
+ width: "100%",
5163
+ marginTop: "-1px"
5104
5164
  }
5105
5165
  }
5106
5166
  });
@@ -5214,11 +5274,13 @@ var timelineLogSlotRecipe = defineSlotRecipe27({
5214
5274
  base: {
5215
5275
  root: {
5216
5276
  display: "flex",
5217
- flexDirection: "column"
5277
+ flexDirection: "column",
5278
+ gap: "1"
5218
5279
  },
5219
5280
  log: {
5220
5281
  display: "flex",
5221
- cursor: "pointer"
5282
+ cursor: "pointer",
5283
+ gap: "1"
5222
5284
  },
5223
5285
  logText: {
5224
5286
  color: "gray.400",
@@ -5247,7 +5309,11 @@ var timelineSeparatorSlotRecipe = defineSlotRecipe27({
5247
5309
  root: {
5248
5310
  display: "flex",
5249
5311
  flexDirection: "column",
5250
- alignItems: "center"
5312
+ alignItems: "center",
5313
+ "&[data-accordion-child=true]": {
5314
+ alignItems: "start",
5315
+ marginLeft: "9px"
5316
+ }
5251
5317
  },
5252
5318
  topConnector: {
5253
5319
  height: "6px",
@@ -5257,8 +5323,20 @@ var timelineSeparatorSlotRecipe = defineSlotRecipe27({
5257
5323
  "&[data-position=first]": {
5258
5324
  backgroundColor: "transparent"
5259
5325
  },
5326
+ "&[data-hide=true]": {
5327
+ backgroundColor: "transparent"
5328
+ },
5329
+ "&[data-accordion-child=true]": {
5330
+ roundedBottom: ""
5331
+ },
5260
5332
  _nextTheme: {
5261
- backgroundColor: "border.default"
5333
+ backgroundColor: "border.default",
5334
+ "&[data-position=first]": {
5335
+ backgroundColor: "transparent"
5336
+ },
5337
+ "&[data-hide=true]": {
5338
+ backgroundColor: "transparent"
5339
+ }
5262
5340
  }
5263
5341
  },
5264
5342
  bottomConnector: {
@@ -5270,10 +5348,19 @@ var timelineSeparatorSlotRecipe = defineSlotRecipe27({
5270
5348
  "&[data-position=last]": {
5271
5349
  backgroundColor: "transparent"
5272
5350
  },
5351
+ "&[data-hide=true]": {
5352
+ backgroundColor: "transparent"
5353
+ },
5354
+ "&[data-accordion-child=true]": {
5355
+ roundedTop: ""
5356
+ },
5273
5357
  _nextTheme: {
5274
5358
  backgroundColor: "border.default",
5275
5359
  "&[data-position=last]": {
5276
5360
  backgroundColor: "transparent"
5361
+ },
5362
+ "&[data-hide=true]": {
5363
+ backgroundColor: "transparent"
5277
5364
  }
5278
5365
  }
5279
5366
  }
@@ -5805,6 +5892,110 @@ var tourSlotRecipe = defineSlotRecipe31({
5805
5892
  defaultVariants: {}
5806
5893
  });
5807
5894
 
5895
+ // src/recipes/textlink.ts
5896
+ import { defineRecipe as defineRecipe14 } from "@pandacss/dev";
5897
+ var textlinkRecipe = defineRecipe14({
5898
+ className: "textlink",
5899
+ jsx: ["MpTextlink", "mp-textlink"],
5900
+ base: {
5901
+ display: "inline-flex !important",
5902
+ gap: "1",
5903
+ py: "0 !important",
5904
+ px: "2px !important",
5905
+ backgroundColor: "transparent !important",
5906
+ textStyle: "label.md !important",
5907
+ _hover: {
5908
+ textDecoration: "underline"
5909
+ },
5910
+ _loading: {
5911
+ background: "white"
5912
+ }
5913
+ },
5914
+ variants: {
5915
+ variant: {
5916
+ primary: {
5917
+ color: "blue.400",
5918
+ _hover: {
5919
+ color: "blue.400"
5920
+ },
5921
+ _active: {
5922
+ color: "blue.700"
5923
+ },
5924
+ _nextTheme: {
5925
+ color: "text.link",
5926
+ _hover: {
5927
+ color: "text.link"
5928
+ },
5929
+ _active: {
5930
+ color: "text.link.pressed"
5931
+ }
5932
+ }
5933
+ },
5934
+ secondary: {
5935
+ color: "gray.400",
5936
+ _hover: {
5937
+ color: "gray.400"
5938
+ },
5939
+ _active: {
5940
+ color: "gray.700"
5941
+ },
5942
+ _nextTheme: {
5943
+ color: "text.secondary",
5944
+ _hover: {
5945
+ color: "text.secondary"
5946
+ },
5947
+ _active: {
5948
+ color: "text.secondary.pressed"
5949
+ }
5950
+ }
5951
+ },
5952
+ danger: {
5953
+ color: "red.400",
5954
+ _hover: {
5955
+ color: "red.400"
5956
+ },
5957
+ _active: {
5958
+ color: "red.700"
5959
+ },
5960
+ _nextTheme: {
5961
+ color: "text.danger",
5962
+ _hover: {
5963
+ color: "text.danger"
5964
+ },
5965
+ _active: {
5966
+ color: "text.danger.pressed"
5967
+ }
5968
+ }
5969
+ }
5970
+ }
5971
+ },
5972
+ compoundVariants: [
5973
+ {
5974
+ variant: ["primary", "secondary", "danger"],
5975
+ css: {
5976
+ _disabled: {
5977
+ cursor: "not-allowed",
5978
+ color: "gray.100",
5979
+ _hover: {
5980
+ color: "gray.100",
5981
+ textDecoration: "none"
5982
+ },
5983
+ _nextTheme: {
5984
+ color: "text.disabled",
5985
+ _hover: {
5986
+ color: "text.disabled",
5987
+ textDecoration: "none"
5988
+ }
5989
+ }
5990
+ },
5991
+ _focusVisible: {
5992
+ boxShadow: "focus"
5993
+ }
5994
+ }
5995
+ }
5996
+ ]
5997
+ });
5998
+
5808
5999
  // src/recipes/index.ts
5809
6000
  var recipes = {
5810
6001
  buttonRecipe,
@@ -5832,7 +6023,8 @@ var recipes = {
5832
6023
  dateItemRecipe,
5833
6024
  monthItemRecipe,
5834
6025
  yearItemRecipe,
5835
- timeItemRecipe
6026
+ timeItemRecipe,
6027
+ textlinkRecipe
5836
6028
  };
5837
6029
  var slotRecipes = {
5838
6030
  accordionSlotRecipe,
@@ -6242,7 +6434,7 @@ var fontWeights = defineTokens10.fontWeights({
6242
6434
  var lineHeights = defineTokens10.lineHeights({
6243
6435
  xs: { value: 1.2 },
6244
6436
  sm: { value: 1.34 },
6245
- md: { value: 1.4 },
6437
+ md: { value: 1.43 },
6246
6438
  lg: { value: 1.429 },
6247
6439
  xl: { value: 1.5 },
6248
6440
  "2xl": { value: 1.67 },
@@ -6494,16 +6686,28 @@ var spacing2 = defineTokens15.spacing({
6494
6686
  import { defineTokens as defineTokens16 } from "@pandacss/dev";
6495
6687
  var shadows2 = defineTokens16.shadows({
6496
6688
  xs: {
6497
- value: ["0px 2px 4px 0px {colors.background.shadow}", "0px 0px 2px 0px {colors.background.shadow}"]
6689
+ value: [
6690
+ "0px 2px 4px 0px {colors.background.shadow}",
6691
+ "0px 0px 2px 0px {colors.background.shadow}"
6692
+ ]
6498
6693
  },
6499
6694
  sm: {
6500
- value: ["0px 10px 15px -3px {colors.background.shadow}", "0px 4px 6px -2px {colors.background.shadow}"]
6695
+ value: [
6696
+ "0px 10px 15px -3px {colors.background.shadow}",
6697
+ "0px 4px 6px -2px {colors.background.shadow}"
6698
+ ]
6501
6699
  },
6502
6700
  md: {
6503
- value: ["0px 20px 25px -5px {colors.background.shadow}", "0px 10px 10px -5px {colors.background.shadow}"]
6701
+ value: [
6702
+ "0px 20px 25px -5px {colors.background.shadow}",
6703
+ "0px 10px 10px -5px {colors.background.shadow}"
6704
+ ]
6504
6705
  },
6505
6706
  lg: {
6506
- value: ["0px 25px 30px -10px {colors.background.shadow}", "0px 15px 15px -10px {colors.background.shadow}"]
6707
+ value: [
6708
+ "0px 25px 30px -10px {colors.background.shadow}",
6709
+ "0px 15px 15px -10px {colors.background.shadow}"
6710
+ ]
6507
6711
  },
6508
6712
  focus: {
6509
6713
  value: "0 0 0 1px {colors.border.focused}"
@@ -6932,6 +7136,16 @@ var colors3 = defineSemanticTokens.colors({
6932
7136
  }
6933
7137
  }
6934
7138
  }
7139
+ },
7140
+ airene: {
7141
+ value: {
7142
+ base: "radial-gradient(108.28% 139.29% at 0% 0%, #EEF0FC 0%, #F3F1FC 100%)",
7143
+ // Doens't have raw token
7144
+ _light: "radial-gradient(108.28% 139.29% at 0% 0%, #EEF0FC 0%, #F3F1FC 100%)",
7145
+ // Doesn't have raw token
7146
+ _dark: "radial-gradient(108.28% 139.29% at 0% 0%, #1D2656 0%, #2B2549 100%)"
7147
+ // Doesn't have raw token
7148
+ }
6935
7149
  }
6936
7150
  },
6937
7151
  nav: {
@@ -27,6 +27,7 @@ declare const recipes: {
27
27
  monthItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
28
28
  yearItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
29
29
  timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
30
+ textlinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
30
31
  };
31
32
  declare const slotRecipes: {
32
33
  accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
@@ -27,6 +27,7 @@ declare const recipes: {
27
27
  monthItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
28
28
  yearItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
29
29
  timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
30
+ textlinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
30
31
  };
31
32
  declare const slotRecipes: {
32
33
  accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const textlinkRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
4
+
5
+ export { textlinkRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const textlinkRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
4
+
5
+ export { textlinkRecipe };
@@ -378,6 +378,13 @@ declare const colors: {
378
378
  };
379
379
  };
380
380
  };
381
+ airene: {
382
+ value: {
383
+ base: string;
384
+ _light: string;
385
+ _dark: string;
386
+ };
387
+ };
381
388
  };
382
389
  nav: {
383
390
  parent: {
@@ -378,6 +378,13 @@ declare const colors: {
378
378
  };
379
379
  };
380
380
  };
381
+ airene: {
382
+ value: {
383
+ base: string;
384
+ _light: string;
385
+ _dark: string;
386
+ };
387
+ };
381
388
  };
382
389
  nav: {
383
390
  parent: {
@@ -379,6 +379,13 @@ declare const semanticTokens: {
379
379
  };
380
380
  };
381
381
  };
382
+ airene: {
383
+ value: {
384
+ base: string;
385
+ _light: string;
386
+ _dark: string;
387
+ };
388
+ };
382
389
  };
383
390
  nav: {
384
391
  parent: {
@@ -379,6 +379,13 @@ declare const semanticTokens: {
379
379
  };
380
380
  };
381
381
  };
382
+ airene: {
383
+ value: {
384
+ base: string;
385
+ _light: string;
386
+ _dark: string;
387
+ };
388
+ };
382
389
  };
383
390
  nav: {
384
391
  parent: {
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.2.2-dev.4",
4
+ "version": "0.2.2-dev.6",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
package/src/conditions.ts CHANGED
@@ -4,7 +4,8 @@ export const conditions = {
4
4
  invalid: '&:is([aria-invalid=true], [data-invalid])',
5
5
  active: '&:is(:active, [data-active=true])',
6
6
  checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])',
7
- indeterminate: '&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])',
7
+ indeterminate:
8
+ '&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])',
8
9
  closed: '&:is([data-state=closed])',
9
10
  open: '&:is([open], [data-state=open])',
10
11
  hidden: '&:is([hidden])',
@@ -20,6 +21,6 @@ export const conditions = {
20
21
  placementRight: '&[data-placement=right]',
21
22
  nextTheme: '[data-panda-theme=next] &',
22
23
  light: '.light &',
23
- dark: '.dark &',
24
+ dark: '.dark &'
24
25
  }
25
26
  }
package/src/fonts.ts CHANGED
@@ -6,7 +6,7 @@ export const globalFontface = {
6
6
  'url("https://cdn.mekari.design/fonts/Inter/Inter-Regular.ttf") format("truetype")'
7
7
  ],
8
8
  fontStyle: 'normal',
9
- fontWeight: '400',
9
+ fontWeight: '400'
10
10
  // fontDisplay: 'swap'
11
11
  },
12
12
  {
@@ -15,7 +15,7 @@ export const globalFontface = {
15
15
  'url("https://cdn.mekari.design/fonts/Inter/Inter-SemiBold.ttf") format("truetype")'
16
16
  ],
17
17
  fontStyle: 'normal',
18
- fontWeight: '600',
18
+ fontWeight: '600'
19
19
  // fontDisplay: 'swap'
20
20
  },
21
21
  {
@@ -24,8 +24,8 @@ export const globalFontface = {
24
24
  'url("https://cdn.mekari.design/fonts/Inter/Inter-SemiBoldItalic.ttf") format("truetype")'
25
25
  ],
26
26
  fontStyle: 'italic',
27
- fontWeight: '600',
27
+ fontWeight: '600'
28
28
  // fontDisplay: 'swap'
29
- },
29
+ }
30
30
  ]
31
31
  }
package/src/global-css.ts CHANGED
@@ -5,7 +5,7 @@ export const globalCss = defineGlobalStyles({
5
5
  MozOsxFontSmoothing: 'grayscale',
6
6
  textRendering: 'optimizeLegibility',
7
7
  WebkitFontSmoothing: 'antialiased',
8
- WebkitTextSizeAdjust: '100%',
8
+ WebkitTextSizeAdjust: '100%'
9
9
  },
10
10
  body: {
11
11
  background: 'var(--mp-colors-white)',
@@ -18,8 +18,8 @@ export const globalCss = defineGlobalStyles({
18
18
  colorScheme: 'dark'
19
19
  },
20
20
  _nextTheme: {
21
- background: 'var(--mp-colors-background-neutral)',
22
- color: 'var(--mp-colors-text-default)',
21
+ background: 'var(--mp-colors-background-neutral)',
22
+ color: 'var(--mp-colors-text-default)'
23
23
  }
24
24
  },
25
25
  '*, *::before, *::after': {
package/src/index.ts CHANGED
@@ -29,7 +29,7 @@ const preset: Preset = definePreset({
29
29
  next: {
30
30
  tokens: tokensNext,
31
31
  semanticTokens
32
- },
32
+ }
33
33
  },
34
34
  conditions,
35
35
  globalCss,
@@ -14,7 +14,7 @@ const aireneButtonSlotRecipe = defineSlotRecipe({
14
14
  color: 'blue.400!',
15
15
  borderRadius: '25px!',
16
16
  fontSize: 'md',
17
- fontWeight: 'semiBold',
17
+ fontWeight: 'semiBold!',
18
18
  paddingLeft: '0.625rem!',
19
19
  paddingRight: '0.625rem!',
20
20
  overflow: 'hidden',
@@ -3,10 +3,19 @@ import { defineSlotRecipe } from '@pandacss/dev'
3
3
  const autocompleteSlotRecipe = defineSlotRecipe({
4
4
  className: 'autocomplete',
5
5
  jsx: ['MpAutocomplete', 'mp-autocomplete'],
6
- slots: ['groupText', 'popoverContent', 'buttonAction', 'emptyText', 'contentLoading', 'input'],
6
+ slots: [
7
+ 'groupText',
8
+ 'popoverContent',
9
+ 'buttonAction',
10
+ 'emptyText',
11
+ 'contentLoading',
12
+ 'input',
13
+ 'infinityScroll'
14
+ ],
7
15
  base: {
8
16
  groupText: {
9
- px: 3, py: 2
17
+ px: 3,
18
+ py: 2
10
19
  },
11
20
  popoverContent: {
12
21
  maxHeight: '300px',
@@ -32,24 +41,29 @@ const autocompleteSlotRecipe = defineSlotRecipe({
32
41
  _nextTheme: {
33
42
  background: 'background.stage',
34
43
  borderColor: 'border.default',
35
- color: 'text.link',
44
+ color: 'text.link'
36
45
  }
37
46
  },
38
47
  emptyText: {
39
- px: 3,
48
+ px: 3,
40
49
  py: 2
41
50
  },
42
51
  contentLoading: {
43
- px: 3,
44
- py: 2,
45
- display: 'flex',
46
- alignItems: 'center',
52
+ px: 3,
53
+ py: 2,
54
+ display: 'flex',
55
+ alignItems: 'center',
47
56
  gap: 3
48
57
  },
49
58
  input: {
50
59
  cursor: 'pointer'
60
+ },
61
+ infinityScroll: {
62
+ height: '1px',
63
+ width: '100%',
64
+ marginTop: '-1px'
51
65
  }
52
- },
66
+ }
53
67
  })
54
68
 
55
69
  export { autocompleteSlotRecipe }