@smg-automotive/components 25.10.0-migrate-topListingBadge-component.1 → 25.10.0-talamcol-menu.2

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 (57) hide show
  1. package/dist/bin/cli +106 -18
  2. package/dist/cjs/components/filterPatterns/dialog/OpenFilterButton.d.ts +12 -4
  3. package/dist/cjs/components/filterPatterns/dialog/OpenFilterButton.d.ts.map +1 -1
  4. package/dist/cjs/components/filterPatterns/dialog/index.d.ts.map +1 -1
  5. package/dist/cjs/components/filterPatterns/dialog/props.d.ts +7 -2
  6. package/dist/cjs/components/filterPatterns/dialog/props.d.ts.map +1 -1
  7. package/dist/cjs/components/formControlSection/index.d.ts +11 -0
  8. package/dist/cjs/components/formControlSection/index.d.ts.map +1 -0
  9. package/dist/cjs/components/index.d.ts +2 -0
  10. package/dist/cjs/components/index.d.ts.map +1 -1
  11. package/dist/cjs/components/menu/index.d.ts +21 -0
  12. package/dist/cjs/components/menu/index.d.ts.map +1 -0
  13. package/dist/cjs/index.js +120 -0
  14. package/dist/cjs/index.js.map +1 -1
  15. package/dist/cjs/themes/shared/index.d.ts +1 -0
  16. package/dist/cjs/themes/shared/index.d.ts.map +1 -1
  17. package/dist/cjs/themes/shared/slotRecipes/index.d.ts +1 -0
  18. package/dist/cjs/themes/shared/slotRecipes/index.d.ts.map +1 -1
  19. package/dist/cjs/themes/shared/slotRecipes/menu.d.ts +2 -0
  20. package/dist/cjs/themes/shared/slotRecipes/menu.d.ts.map +1 -0
  21. package/dist/esm/components/filterPatterns/dialog/OpenFilterButton.d.ts +12 -4
  22. package/dist/esm/components/filterPatterns/dialog/OpenFilterButton.d.ts.map +1 -1
  23. package/dist/esm/components/filterPatterns/dialog/index.d.ts.map +1 -1
  24. package/dist/esm/components/filterPatterns/dialog/props.d.ts +7 -2
  25. package/dist/esm/components/filterPatterns/dialog/props.d.ts.map +1 -1
  26. package/dist/esm/components/formControlSection/index.d.ts +11 -0
  27. package/dist/esm/components/formControlSection/index.d.ts.map +1 -0
  28. package/dist/esm/components/formControlSection/index.js +190 -0
  29. package/dist/esm/components/formControlSection/index.js.map +1 -0
  30. package/dist/esm/components/index.d.ts +2 -0
  31. package/dist/esm/components/index.d.ts.map +1 -1
  32. package/dist/esm/components/menu/index.d.ts +21 -0
  33. package/dist/esm/components/menu/index.d.ts.map +1 -0
  34. package/dist/esm/components/menu/index.js +193 -0
  35. package/dist/esm/components/menu/index.js.map +1 -0
  36. package/dist/esm/components/themeProvider/index.js +1 -0
  37. package/dist/esm/components/themeProvider/index.js.map +1 -1
  38. package/dist/esm/components/tooltip/index.js +25 -0
  39. package/dist/esm/components/tooltip/index.js.map +1 -0
  40. package/dist/esm/index.js +3 -0
  41. package/dist/esm/index.js.map +1 -1
  42. package/dist/esm/themes/shared/index.d.ts +1 -0
  43. package/dist/esm/themes/shared/index.d.ts.map +1 -1
  44. package/dist/esm/themes/shared/slotRecipes/index.d.ts +1 -0
  45. package/dist/esm/themes/shared/slotRecipes/index.d.ts.map +1 -1
  46. package/dist/esm/themes/shared/slotRecipes/index.js +2 -0
  47. package/dist/esm/themes/shared/slotRecipes/index.js.map +1 -1
  48. package/dist/esm/themes/shared/slotRecipes/menu.d.ts +2 -0
  49. package/dist/esm/themes/shared/slotRecipes/menu.d.ts.map +1 -0
  50. package/dist/esm/themes/shared/slotRecipes/menu.js +64 -0
  51. package/dist/esm/themes/shared/slotRecipes/menu.js.map +1 -0
  52. package/dist/index.d.ts +32 -5
  53. package/package.json +4 -5
  54. package/dist/cjs/components/topListingBadge/index.d.ts +0 -7
  55. package/dist/cjs/components/topListingBadge/index.d.ts.map +0 -1
  56. package/dist/esm/components/topListingBadge/index.d.ts +0 -7
  57. package/dist/esm/components/topListingBadge/index.d.ts.map +0 -1
@@ -0,0 +1,25 @@
1
+ import React, { useState, cloneElement } from 'react';
2
+ import { TooltipRoot, TooltipTrigger, TooltipPositioner, TooltipContent, TooltipArrow, TooltipArrowTip } from '@chakra-ui/react';
3
+
4
+ var Tooltip = function (_a) {
5
+ var children = _a.children, _b = _a.placement, placement = _b === void 0 ? 'bottom' : _b, _c = _a.maxWidth, maxWidth = _c === void 0 ? '6xl' : _c, label = _a.label;
6
+ var _d = useState(false), isOpen = _d[0], setIsOpen = _d[1];
7
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
8
+ var childrenWithProps = cloneElement(children, {
9
+ onMouseEnter: function () { return setIsOpen(true); },
10
+ onMouseLeave: function () { return setIsOpen(false); },
11
+ onClick: function () { return setIsOpen(true); },
12
+ });
13
+ return (React.createElement(TooltipRoot, { positioning: {
14
+ placement: placement,
15
+ }, open: isOpen },
16
+ React.createElement(TooltipTrigger, { asChild: true }, childrenWithProps),
17
+ React.createElement(TooltipPositioner, null,
18
+ React.createElement(TooltipContent, { maxWidth: maxWidth },
19
+ React.createElement(TooltipArrow, null,
20
+ React.createElement(TooltipArrowTip, null)),
21
+ label))));
22
+ };
23
+
24
+ export { Tooltip };
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/components/tooltip/index.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;AAwBO,IAAM,OAAO,GAAqB,UAAC,EAKzC,EAAA;AAJC,IAAA,IAAA,QAAQ,cAAA,EACR,EAAA,GAAA,EAAA,CAAA,SAAoB,EAApB,SAAS,mBAAG,QAAQ,GAAA,EAAA,EACpB,EAAA,GAAA,EAAA,CAAA,QAAgB,EAAhB,QAAQ,GAAA,EAAA,KAAA,MAAA,GAAG,KAAK,GAAA,EAAA,EAChB,KAAK,GAAA,EAAA,CAAA,KAAA;IAEC,IAAA,EAAA,GAAsB,QAAQ,CAAU,KAAK,CAAC,EAA7C,MAAM,GAAA,EAAA,CAAA,CAAA,CAAA,EAAE,SAAS,GAAA,EAAA,CAAA,CAAA,CAA4B;;AAEpD,IAAA,IAAM,iBAAiB,GAAG,YAAY,CAAC,QAAmC,EAAE;QAC1E,YAAY,EAAE,cAAM,OAAA,SAAS,CAAC,IAAI,CAAC,EAAf,CAAe;QACnC,YAAY,EAAE,cAAM,OAAA,SAAS,CAAC,KAAK,CAAC,EAAhB,CAAgB;QACpC,OAAO,EAAE,cAAM,OAAA,SAAS,CAAC,IAAI,CAAC,EAAf,CAAe;AAC/B,KAAA,CAAC;AAEF,IAAA,QACE,KAAA,CAAA,aAAA,CAAC,WAAW,EAAA,EACV,WAAW,EAAE;AACX,YAAA,SAAS,EAAA,SAAA;SACV,EACD,IAAI,EAAE,MAAM,EAAA;AAEZ,QAAA,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,OAAO,EAAE,IAAI,EAAA,EAAG,iBAAiB,CAAkB;AACnE,QAAA,KAAA,CAAA,aAAA,CAAC,iBAAiB,EAAA,IAAA;AAChB,YAAA,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,QAAQ,EAAE,QAAQ,EAAA;AAChC,gBAAA,KAAA,CAAA,aAAA,CAAC,YAAY,EAAA,IAAA;oBACX,KAAA,CAAA,aAAA,CAAC,eAAe,OAAG,CACN;AACd,gBAAA,KAAK,CACS,CACC,CACR;AAElB;;;;"}
package/dist/esm/index.js CHANGED
@@ -30,6 +30,7 @@ import './themes/shared/slotRecipes/radio.js';
30
30
  import './themes/shared/slotRecipes/popoverFilter.js';
31
31
  import './themes/shared/slotRecipes/pagination.js';
32
32
  import './themes/shared/slotRecipes/numberInput.js';
33
+ import './themes/shared/slotRecipes/menu.js';
33
34
  import './themes/shared/slotRecipes/markedText.js';
34
35
  import './themes/shared/slotRecipes/list.js';
35
36
  import './themes/shared/slotRecipes/input.js';
@@ -258,6 +259,7 @@ export { LayoutWithVehicleReference } from './components/layout/WithVehicleRefer
258
259
  export { Link } from './components/link/index.js';
259
260
  export { List, ListItem, ListRoot } from './components/list/index.js';
260
261
  export { Chip } from './components/chip/index.js';
262
+ export { Menu } from './components/menu/index.js';
261
263
  export { MissingImage } from './components/missingImage/index.js';
262
264
  export { MobileOnlyAccordion } from './components/mobileOnlyAccordion/index.js';
263
265
  export { Footer } from './components/navigation/footer/index.js';
@@ -278,6 +280,7 @@ export { ThemeProvider } from './components/themeProvider/index.js';
278
280
  export { VehicleReference } from './components/vehicleReference/index.js';
279
281
  export { RangeFilterInput } from './components/rangeFilterInput/index.js';
280
282
  export { TopVehicleSharedBadge } from './components/topVehicleSharedBadge/index.js';
283
+ export { FormControlSection } from './components/formControlSection/index.js';
281
284
  export { convertRemEmToPx } from './utilities/convertRemEmToPx.js';
282
285
  export { default as logger } from './lib/logger.js';
283
286
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1917,6 +1917,7 @@ export declare const getSharedConfig: () => {
1917
1917
  };
1918
1918
  }>;
1919
1919
  pagination: import("@chakra-ui/react").SlotRecipeDefinition<"paginationContainer" | "paginationButton" | "dots", import("@chakra-ui/react").SlotRecipeVariantRecord<"paginationContainer" | "paginationButton" | "dots">>;
1920
+ menu: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
1920
1921
  };
1921
1922
  tokens: {
1922
1923
  zIndex: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/themes/shared/index.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B1B,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -1718,5 +1718,6 @@ export declare const slotRecipes: {
1718
1718
  };
1719
1719
  }>;
1720
1720
  pagination: import("@chakra-ui/react").SlotRecipeDefinition<"paginationContainer" | "paginationButton" | "dots", import("@chakra-ui/react").SlotRecipeVariantRecord<"paginationContainer" | "paginationButton" | "dots">>;
1721
+ menu: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
1721
1722
  };
1722
1723
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BvB,CAAC"}
@@ -9,6 +9,7 @@ import { radioRecipe } from './radio.js';
9
9
  import { popoverFilterRecipe } from './popoverFilter.js';
10
10
  import { paginationRecipe } from './pagination.js';
11
11
  import { numberInputRecipe } from './numberInput.js';
12
+ import { menuRecipe } from './menu.js';
12
13
  import { markedTextRecipe } from './markedText.js';
13
14
  import { listRecipe } from './list.js';
14
15
  import { inputSlotRecipe } from './input.js';
@@ -48,6 +49,7 @@ var slotRecipes = {
48
49
  numberInput: numberInputRecipe,
49
50
  radio: radioRecipe,
50
51
  pagination: paginationRecipe,
52
+ menu: menuRecipe,
51
53
  };
52
54
 
53
55
  export { slotRecipes };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../src/themes/shared/slotRecipes/index.ts"],"sourcesContent":[null],"names":["articleTeaser","accordion","breadcrumbs","card","energyLabel","list","markedText","dialog","simpleHeader","table","vehicleReference","tooltip","field","section","checkbox","input","select","dialogFilter","alert","popoverFilter","numberInput","radio","pagination"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAyBO,IAAM,WAAW,GAAG;AACzB,IAAA,aAAa,EAAAA,mBAAA;AACb,IAAA,SAAS,EAAAC,eAAA;AACT,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,UAAU,EAAAC,gBAAA;AACV,IAAA,MAAM,EAAAC,YAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,gBAAgB,EAAAC,sBAAA;AAChB,IAAA,OAAO,EAAAC,iBAAA;AACP,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,OAAO,EAAAC,aAAA;AACP,IAAA,QAAQ,EAAAC,cAAA;AACR,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,MAAM,EAAAC,gBAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,aAAa,EAAAC,mBAAA;AACb,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,UAAU,EAAAC,gBAAA;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../src/themes/shared/slotRecipes/index.ts"],"sourcesContent":[null],"names":["articleTeaser","accordion","breadcrumbs","card","energyLabel","list","markedText","dialog","simpleHeader","table","vehicleReference","tooltip","field","section","checkbox","input","select","dialogFilter","alert","popoverFilter","numberInput","radio","pagination","menu"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA0BO,IAAM,WAAW,GAAG;AACzB,IAAA,aAAa,EAAAA,mBAAA;AACb,IAAA,SAAS,EAAAC,eAAA;AACT,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,UAAU,EAAAC,gBAAA;AACV,IAAA,MAAM,EAAAC,YAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,gBAAgB,EAAAC,sBAAA;AAChB,IAAA,OAAO,EAAAC,iBAAA;AACP,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,OAAO,EAAAC,aAAA;AACP,IAAA,QAAQ,EAAAC,cAAA;AACR,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,MAAM,EAAAC,gBAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,aAAa,EAAAC,mBAAA;AACb,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,UAAU,EAAAC,gBAAA;AACV,IAAA,IAAI,EAAAC,UAAA;;;;;"}
@@ -0,0 +1,2 @@
1
+ export declare const menuRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "trigger" | "item", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "trigger" | "item">>;
2
+ //# sourceMappingURL=menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/menu.ts"],"names":[],"mappings":"AAwDA,eAAO,MAAM,UAAU,qKAQrB,CAAC"}
@@ -0,0 +1,64 @@
1
+ import { defineStyle, defineSlotRecipe } from '@chakra-ui/react';
2
+
3
+ var maximumScrollbarWidth = 20;
4
+ var content = defineStyle({
5
+ '--max-width': "calc(100vw - ".concat(maximumScrollbarWidth, "px)"),
6
+ bg: 'white',
7
+ boxShadow: 'sm',
8
+ color: 'inherit',
9
+ minW: '4xl',
10
+ maxW: 'var(--max-width)',
11
+ py: 'xxs',
12
+ zIndex: 'dropdown',
13
+ borderRadius: 'sm',
14
+ border: '1px',
15
+ borderColor: 'gray.200',
16
+ cursor: 'pointer',
17
+ _focusVisible: {
18
+ outline: 'none',
19
+ },
20
+ });
21
+ var item = defineStyle({
22
+ paddingY: 'md',
23
+ paddingX: 'lg',
24
+ cursor: 'pointer',
25
+ _focus: {
26
+ bg: 'gray.100',
27
+ },
28
+ _focusVisible: {
29
+ outline: 'none',
30
+ },
31
+ _active: {
32
+ bg: 'blue.100',
33
+ },
34
+ _expanded: {
35
+ bg: 'gray.100',
36
+ },
37
+ _hover: {
38
+ bg: 'gray.100',
39
+ },
40
+ _disabled: {
41
+ opacity: '40',
42
+ cursor: 'notAllowed',
43
+ },
44
+ });
45
+ var trigger = defineStyle({
46
+ display: 'inline-flex',
47
+ padding: '0',
48
+ cursor: 'pointer',
49
+ _focusVisible: {
50
+ outline: 'none',
51
+ },
52
+ });
53
+ var menuRecipe = defineSlotRecipe({
54
+ slots: ['content', 'item', 'trigger'],
55
+ className: 'chakra-menu',
56
+ base: {
57
+ content: content,
58
+ item: item,
59
+ trigger: trigger,
60
+ },
61
+ });
62
+
63
+ export { menuRecipe };
64
+ //# sourceMappingURL=menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.js","sources":["../../../../../../src/themes/shared/slotRecipes/menu.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA,IAAM,qBAAqB,GAAG,EAAE;AAEhC,IAAM,OAAO,GAAG,WAAW,CAAC;IAC1B,aAAa,EAAE,eAAA,CAAA,MAAA,CAAgB,qBAAqB,EAAA,KAAA,CAAK;AACzD,IAAA,EAAE,EAAE,OAAO;AACX,IAAA,SAAS,EAAE,IAAI;AACf,IAAA,KAAK,EAAE,SAAS;AAChB,IAAA,IAAI,EAAE,KAAK;AACX,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAAA,EAAE,EAAE,KAAK;AACT,IAAA,MAAM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;AACF,CAAA;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  export { keyframes } from '@emotion/react';
2
2
  import * as _chakra_ui_react from '@chakra-ui/react';
3
- import { UseMediaQueryOptions, AccordionRootProps, RecipeVariantProps, BoxProps, BadgeProps as BadgeProps$1, BreadcrumbRootProps, ButtonProps, Card as Card$1, CenterProps as CenterProps$1, CheckboxCheckedChangeDetails, InputProps as InputProps$1, Switch as Switch$1, UseDialogProps, FlexProps as FlexProps$1, HeadingProps as HeadingProps$1, LinkProps as LinkProps$2, List as List$1, Accordion as Accordion$1, NativeSelectRootProps, NativeSelectFieldProps, SeparatorProps, SimpleGridProps, StackProps as StackProps$1, Table as Table$1, TextProps, NumberInput } from '@chakra-ui/react';
3
+ import { UseMediaQueryOptions, AccordionRootProps, RecipeVariantProps, BoxProps, BadgeProps as BadgeProps$1, BreadcrumbRootProps, ButtonProps, Card as Card$1, CenterProps as CenterProps$1, CheckboxCheckedChangeDetails, InputProps as InputProps$1, Switch as Switch$1, UseDialogProps, FlexProps as FlexProps$1, HeadingProps as HeadingProps$1, LinkProps as LinkProps$2, List as List$1, MenuTriggerProps, MenuRootProps, Accordion as Accordion$1, NativeSelectRootProps, NativeSelectFieldProps, SeparatorProps, SimpleGridProps, StackProps as StackProps$1, Table as Table$1, TextProps, NumberInput } from '@chakra-ui/react';
4
4
  export { AspectRatioProps, Box, BoxProps, CardBodyProps, CardFooterProps, CardHeaderProps, GridItemProps, GridProps, ListItemProps, ListRootProps, SeparatorProps, StackSeparator, TableBodyProps, TableCaptionProps, TableCellProps, TableColumnGroupProps, TableColumnHeaderProps, TableColumnProps, TableFooterProps, TableHeaderProps, TableRootProps, TableRowProps, TableScrollAreaProps, TextProps, useBreakpointValue, useChakraContext, useDisclosure } from '@chakra-ui/react';
5
5
  import * as React from 'react';
6
- import React__default, { FocusEventHandler, ChangeEventHandler, FC, PropsWithChildren, ReactNode, ReactElement, ElementType, ComponentProps } from 'react';
6
+ import React__default, { FocusEventHandler, ChangeEventHandler, FC, PropsWithChildren, ReactNode, ReactElement, ElementType, ComponentProps, JSX } from 'react';
7
7
  export { PropsWithChildren as FullHeightProps } from 'react';
8
8
  import * as node_modules__chakra_ui_react_dist_types_styled_system_generated_system_gen from 'node_modules/@chakra-ui/react/dist/types/styled-system/generated/system.gen';
9
9
  import * as node_modules__chakra_ui_react_dist_types_styled_system_generated_prop_types_gen from 'node_modules/@chakra-ui/react/dist/types/styled-system/generated/prop-types.gen';
@@ -430,7 +430,7 @@ type DatePickerProps = Pick<InputProps$1, 'onFocus' | 'onBlur' | 'onChange'> & I
430
430
  value?: string;
431
431
  invalid?: boolean;
432
432
  };
433
- declare const DatePicker: React__default.ForwardRefExoticComponent<Pick<InputProps$1, "onFocus" | "onBlur" | "onChange"> & {
433
+ declare const DatePicker: React__default.ForwardRefExoticComponent<Pick<InputProps$1, "onChange" | "onBlur" | "onFocus"> & {
434
434
  variant?: _chakra_ui_react.ConditionalValue<"outline" | undefined>;
435
435
  size?: _chakra_ui_react.ConditionalValue<"md" | "lg" | undefined>;
436
436
  } & {
@@ -2274,6 +2274,24 @@ type ChipProps = {
2274
2274
  } & RecipeVariantProps<typeof chipRecipe>;
2275
2275
  declare const Chip: FC<PropsWithChildren<ChipProps>>;
2276
2276
 
2277
+ interface MenuItem {
2278
+ text: JSX.Element | string;
2279
+ value: string;
2280
+ onClick: () => void;
2281
+ }
2282
+ interface MenuProps {
2283
+ title: string | ReactElement;
2284
+ items: MenuItem[];
2285
+ fontWeightTitle?: MenuTriggerProps['fontWeight'];
2286
+ offset?: [number, number];
2287
+ menuColor?: MenuTriggerProps['color'];
2288
+ showChevron?: boolean;
2289
+ icon?: ReactElement;
2290
+ iconSpacing?: MenuTriggerProps['gap'];
2291
+ placement?: Exclude<MenuRootProps['positioning'], undefined>['placement'];
2292
+ }
2293
+ declare const Menu: FC<MenuProps>;
2294
+
2277
2295
  type MissingImageProps = Pick<BoxProps, 'width' | 'height' | 'aspectRatio'>;
2278
2296
  declare const MissingImage: FC<MissingImageProps>;
2279
2297
 
@@ -2507,6 +2525,15 @@ type Props = {
2507
2525
  };
2508
2526
  declare const TopVehicleSharedBadge: FC<PropsWithChildren<Props>>;
2509
2527
 
2528
+ type BaseProps = {
2529
+ id: string;
2530
+ errorMessage?: string;
2531
+ label?: string;
2532
+ hint?: string;
2533
+ tooltip?: string;
2534
+ };
2535
+ declare const FormControlSection: FC<PropsWithChildren<BaseProps>>;
2536
+
2510
2537
  declare const convertRemEmToPx: (value: string) => number;
2511
2538
 
2512
2539
  declare class Logger {
@@ -2514,5 +2541,5 @@ declare class Logger {
2514
2541
  }
2515
2542
  declare const logger: Logger;
2516
2543
 
2517
- export { Accordion, AddPhotoIcon, AdvancedSearchIcon, AndroidIcon, AppleIcon, ArrowCircleIcon, ArrowDiagonalIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArticleTeaser, AspectRatio, AutoScout24AppLogo, AutoScout24Icon, Avatar, AvatarIcon, AvatarWithNotificationIcon, Badge, BankNotesIcon, BatteryIcon, BookmarkIcon, Breadcrumbs, BulbIcon, Button, CabrioletIcon, CalculatorIcon, CalendarIcon, CallIcon, CamperIcon, CarConditionIcon, CarIcon, Card, Body$1 as CardBody, Footer$2 as CardFooter, Header$1 as CardHeader, Root$2 as CardRoot, CartIcon, CategoryAIcon, CategoryAMinusIcon, CategoryAOneIcon, Center, ChartIcon, ChatBubbleIcon, CheckShieldIcon, Checkbox, CheckboxGroup, CheckmarkCircleColorIcon, CheckmarkCircleIcon, CheckmarkIcon, ChevronDownLargeIcon, ChevronDownSmallIcon, ChevronLeftLargeIcon, ChevronLeftSmallIcon, ChevronRightLargeIcon, ChevronRightSmallIcon, ChevronRightTinyIcon, ChevronUpLargeIcon, ChevronUpSmallIcon, ChfCurrencyIcon, Chip, CloseIcon, CollapseIcon, CompareIcon, ConsumptionIcon, CopyIcon, Count, CoupeIcon, CreditCardIcon, CreditIcon, DatePicker, DaylightIcon, DeleteIcon, DevOverlay, Dialog, DigitalContractIcon, DocumentCheckIcon, DocumentIcon, DoubleChevronDownIcon, DoubleChevronUpIcon, DoubleLineIcon, DownloadIcon, DragIcon, DriveSystemIcon, DriveSystemLargeIcon, DriveTypeIcon, EnergyLabel, EquipmentIcon, ErrorIcon, ErrorPage, ExchangeIcon, ExpandIcon, EyeCrossedIcon, EyeIcon, FacebookIcon, FlagIcon, FlameIcon, FlashIcon, Flex, Footer$1 as Footer, ForwardIcon, FullHeight, GarageIcon, GasStationIcon, GlobeIcon, GoogleIcon, Grid, GridItem, H1, H2, H3, H4, H5, H6, HamburgerMenuIcon, HeartIcon, HighlightedText, HistoryClockIcon, HouseIcon, ImageIcon, InfinityCircleIcon, InfoIcon, InformationBubbleIcon, InformationIcon, Input, InstagramIcon, InteriorIcon, LabelIcon, LayoutWithVehicleReference, Link, LinkedinIcon, List, ListIcon, Item as ListItem, Root$1 as ListRoot, LocationPinIcon, LockIcon, LogoutIcon, MagnifierIcon, MagnifierLargeIcon, MarkedText, MessageIcon, MiniVanIcon, MinusIcon, MissingImage, MissingImageIcon, MobileOnlyAccordion, MotoScout24AppLogo, MotoScout24Icon, MotorcycleIcon, NoPhotoIcon, NotAvailableIcon, NotAvailableSquareIcon, OptimizerIcon, OverflowVerticalIcon, PageLayout, Pagination, PartialClockIcon, PenIcon, PickUpIcon, PlusCircleIcon, PlusIcon, PrintIcon, QualitySealIcon, RangeFilterInput, RangeIcon, Rating, RoadIcon, RocketIcon, RotateIcon, SafeNumberIcon, SaveSearchIcon, ScreenIcon, Section, SedanIcon, Select, Separator, ShareIcon, SimpleGrid, SimpleHeader, SingleColumnCenteredLayout, SmallCarIcon, SortIcon, SpeakerIcon, Stack, StarCircleIcon, StarIcon, SteeringWheelIcon, SuvIcon, SwissFlagIcon, Switch, Table, Body as TableBody, Caption as TableCaption, Cell as TableCell, Column as TableColumn, ColumnGroup as TableColumnGroup, ColumnHeader as TableColumnHeader, Footer as TableFooter, Header as TableHeader, Root as TableRoot, Row as TableRow, ScrollArea as TableScrollArea, Text, ThemeProvider, ThreeSixtyIcon, ThumbsDownIcon, ThumbsUpIcon, TiltedRectangleIcon, TimeIcon, TooltipIcon, TopListingIcon, TopVehicleSharedBadge, TrailerIcon, TransmissionIcon, TrashIcon, TriangleIcon, TruckIcon, TwitterIcon, TwoColumnsLayout, UtilityVehicleIcon, VanIcon, VehiclePowerIcon, VehicleReference, VehicleTypesMotorcycleIcon, VehicleTypesMotorcycleStarIcon, VideoCameraIcon, VideoIcon, ViewCarIcon, ViewMotorcycleIcon, WagonIcon, WarningIcon, WarrantyIcon, WhatsAppIcon, WindowsIcon, YoutubeIcon, autoScout24Config, _default as autoScout24System, breakpoints, convertRemEmToPx, logger, motoScout24Config, _default$1 as motoScout24System, repeatArea, useDebouncedOnChange, useMediaQuery, useToken };
2518
- export type { AccordionProps, ArticleTeaserProps, AvatarProps, BadgeProps, BaseButtonProps, BreadcrumbsPropsExtended, ButtonSharedProps, CenterProps, ChangeCallback, CheckboxGroupProps, CheckboxProps, ChipProps, CountProps, DatePickerProps, DevOverlayProps, DevOverlayVariables, DialogProps, EnergyLabelProps, ErrorPageProps, FlexProps, HeadingProps, HighlightedTextProps, InputProps, LinkProps, MarkedTextProps, MissingImageProps, MobileOnlyAccordionProps, Option, PaginationProps, PickedNumberInputProps, Props$1 as Props, RangeFilterInputField, RatingProps, SectionProps, SelectProps, SimpleHeaderProps, StackProps, SwitchProps, ThemeProviderProps, UnifiedButtonProps, VehicleReferenceProps };
2544
+ export { Accordion, AddPhotoIcon, AdvancedSearchIcon, AndroidIcon, AppleIcon, ArrowCircleIcon, ArrowDiagonalIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArticleTeaser, AspectRatio, AutoScout24AppLogo, AutoScout24Icon, Avatar, AvatarIcon, AvatarWithNotificationIcon, Badge, BankNotesIcon, BatteryIcon, BookmarkIcon, Breadcrumbs, BulbIcon, Button, CabrioletIcon, CalculatorIcon, CalendarIcon, CallIcon, CamperIcon, CarConditionIcon, CarIcon, Card, Body$1 as CardBody, Footer$2 as CardFooter, Header$1 as CardHeader, Root$2 as CardRoot, CartIcon, CategoryAIcon, CategoryAMinusIcon, CategoryAOneIcon, Center, ChartIcon, ChatBubbleIcon, CheckShieldIcon, Checkbox, CheckboxGroup, CheckmarkCircleColorIcon, CheckmarkCircleIcon, CheckmarkIcon, ChevronDownLargeIcon, ChevronDownSmallIcon, ChevronLeftLargeIcon, ChevronLeftSmallIcon, ChevronRightLargeIcon, ChevronRightSmallIcon, ChevronRightTinyIcon, ChevronUpLargeIcon, ChevronUpSmallIcon, ChfCurrencyIcon, Chip, CloseIcon, CollapseIcon, CompareIcon, ConsumptionIcon, CopyIcon, Count, CoupeIcon, CreditCardIcon, CreditIcon, DatePicker, DaylightIcon, DeleteIcon, DevOverlay, Dialog, DigitalContractIcon, DocumentCheckIcon, DocumentIcon, DoubleChevronDownIcon, DoubleChevronUpIcon, DoubleLineIcon, DownloadIcon, DragIcon, DriveSystemIcon, DriveSystemLargeIcon, DriveTypeIcon, EnergyLabel, EquipmentIcon, ErrorIcon, ErrorPage, ExchangeIcon, ExpandIcon, EyeCrossedIcon, EyeIcon, FacebookIcon, FlagIcon, FlameIcon, FlashIcon, Flex, Footer$1 as Footer, FormControlSection, ForwardIcon, FullHeight, GarageIcon, GasStationIcon, GlobeIcon, GoogleIcon, Grid, GridItem, H1, H2, H3, H4, H5, H6, HamburgerMenuIcon, HeartIcon, HighlightedText, HistoryClockIcon, HouseIcon, ImageIcon, InfinityCircleIcon, InfoIcon, InformationBubbleIcon, InformationIcon, Input, InstagramIcon, InteriorIcon, LabelIcon, LayoutWithVehicleReference, Link, LinkedinIcon, List, ListIcon, Item as ListItem, Root$1 as ListRoot, LocationPinIcon, LockIcon, LogoutIcon, MagnifierIcon, MagnifierLargeIcon, MarkedText, Menu, MessageIcon, MiniVanIcon, MinusIcon, MissingImage, MissingImageIcon, MobileOnlyAccordion, MotoScout24AppLogo, MotoScout24Icon, MotorcycleIcon, NoPhotoIcon, NotAvailableIcon, NotAvailableSquareIcon, OptimizerIcon, OverflowVerticalIcon, PageLayout, Pagination, PartialClockIcon, PenIcon, PickUpIcon, PlusCircleIcon, PlusIcon, PrintIcon, QualitySealIcon, RangeFilterInput, RangeIcon, Rating, RoadIcon, RocketIcon, RotateIcon, SafeNumberIcon, SaveSearchIcon, ScreenIcon, Section, SedanIcon, Select, Separator, ShareIcon, SimpleGrid, SimpleHeader, SingleColumnCenteredLayout, SmallCarIcon, SortIcon, SpeakerIcon, Stack, StarCircleIcon, StarIcon, SteeringWheelIcon, SuvIcon, SwissFlagIcon, Switch, Table, Body as TableBody, Caption as TableCaption, Cell as TableCell, Column as TableColumn, ColumnGroup as TableColumnGroup, ColumnHeader as TableColumnHeader, Footer as TableFooter, Header as TableHeader, Root as TableRoot, Row as TableRow, ScrollArea as TableScrollArea, Text, ThemeProvider, ThreeSixtyIcon, ThumbsDownIcon, ThumbsUpIcon, TiltedRectangleIcon, TimeIcon, TooltipIcon, TopListingIcon, TopVehicleSharedBadge, TrailerIcon, TransmissionIcon, TrashIcon, TriangleIcon, TruckIcon, TwitterIcon, TwoColumnsLayout, UtilityVehicleIcon, VanIcon, VehiclePowerIcon, VehicleReference, VehicleTypesMotorcycleIcon, VehicleTypesMotorcycleStarIcon, VideoCameraIcon, VideoIcon, ViewCarIcon, ViewMotorcycleIcon, WagonIcon, WarningIcon, WarrantyIcon, WhatsAppIcon, WindowsIcon, YoutubeIcon, autoScout24Config, _default as autoScout24System, breakpoints, convertRemEmToPx, logger, motoScout24Config, _default$1 as motoScout24System, repeatArea, useDebouncedOnChange, useMediaQuery, useToken };
2545
+ export type { AccordionProps, ArticleTeaserProps, AvatarProps, BadgeProps, BaseButtonProps, BaseProps, BreadcrumbsPropsExtended, ButtonSharedProps, CenterProps, ChangeCallback, CheckboxGroupProps, CheckboxProps, ChipProps, CountProps, DatePickerProps, DevOverlayProps, DevOverlayVariables, DialogProps, EnergyLabelProps, ErrorPageProps, FlexProps, BaseProps as FormControlSectionProps, HeadingProps, HighlightedTextProps, InputProps, LinkProps, MarkedTextProps, MenuProps, MissingImageProps, MobileOnlyAccordionProps, Option, PaginationProps, PickedNumberInputProps, Props$1 as Props, RangeFilterInputField, RatingProps, SectionProps, SelectProps, SimpleHeaderProps, StackProps, SwitchProps, ThemeProviderProps, UnifiedButtonProps, VehicleReferenceProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smg-automotive/components",
3
- "version": "25.10.0-migrate-topListingBadge-component.1",
3
+ "version": "25.10.0-talamcol-menu.2",
4
4
  "description": "SMG Automotive components library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -65,13 +65,12 @@
65
65
  "@babel/preset-env": "7.28.5",
66
66
  "@babel/preset-react": "7.28.5",
67
67
  "@babel/preset-typescript": "7.28.5",
68
- "@isaacs/brace-expansion": "^5.0.0",
69
68
  "@rollup/plugin-commonjs": "29.0.0",
70
69
  "@rollup/plugin-image": "3.0.3",
71
70
  "@rollup/plugin-json": "6.1.0",
72
71
  "@rollup/plugin-node-resolve": "16.0.3",
73
72
  "@rollup/plugin-typescript": "12.3.0",
74
- "@smg-automotive/auth": "8.2.6",
73
+ "@smg-automotive/auth": "8.2.7",
75
74
  "@smg-automotive/eslint-config": "5.2.4",
76
75
  "@storybook/addon-actions": "8.6.14",
77
76
  "@storybook/addon-docs": "8.6.14",
@@ -93,7 +92,7 @@
93
92
  "@testing-library/user-event": "14.6.1",
94
93
  "@types/estree": "1.0.8",
95
94
  "@types/jest": "30.0.0",
96
- "@types/react": "19.2.6",
95
+ "@types/react": "19.2.7",
97
96
  "@types/react-textarea-autosize": "8.0.0",
98
97
  "autoprefixer": "10.4.22",
99
98
  "babel-loader": "10.0.0",
@@ -111,7 +110,7 @@
111
110
  "querystring-es3": "0.2.1",
112
111
  "react": "19.2.0",
113
112
  "react-dom": "19.2.0",
114
- "rimraf": "6.1.0",
113
+ "rimraf": "6.1.2",
115
114
  "rollup": "4.53.3",
116
115
  "rollup-plugin-add-shebang": "0.3.1",
117
116
  "rollup-plugin-copy": "3.5.0",
@@ -1,7 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- type Props = {
3
- aspectRatio?: number;
4
- };
5
- export declare const TopListingBadge: FC<PropsWithChildren<Props>>;
6
- export {};
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/topListingBadge/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKrD,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAgCxD,CAAC"}
@@ -1,7 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- type Props = {
3
- aspectRatio?: number;
4
- };
5
- export declare const TopListingBadge: FC<PropsWithChildren<Props>>;
6
- export {};
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/topListingBadge/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKrD,KAAK,KAAK,GAAG;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAgCxD,CAAC"}