@smg-automotive/components 27.3.2-components-cleanup.3 → 27.3.2-fix-components-bundlesize.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 (135) hide show
  1. package/dist/cjs/index.js +63 -62
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/page-layout.js +24 -0
  4. package/dist/cjs/page-layout.js.map +1 -0
  5. package/dist/cjs/theme-provider/autoscout24.js +1 -0
  6. package/dist/cjs/theme-provider/autoscout24.js.map +1 -1
  7. package/dist/cjs/theme-provider/motoscout24.js +1 -0
  8. package/dist/cjs/theme-provider/motoscout24.js.map +1 -1
  9. package/dist/cjs/themeProvider.js +1 -0
  10. package/dist/cjs/themeProvider.js.map +1 -1
  11. package/dist/cjs/themes.js.map +1 -1
  12. package/dist/esm/components/accordion/AccordionButton.js.map +1 -1
  13. package/dist/esm/components/accordion/AccordionItem.js +1 -0
  14. package/dist/esm/components/accordion/AccordionItem.js.map +1 -1
  15. package/dist/esm/components/accordion/AccordionPanel.js.map +1 -1
  16. package/dist/esm/components/accordion/index.js.map +1 -1
  17. package/dist/esm/components/alert/index.js.map +1 -1
  18. package/dist/esm/components/articleTeaser/index.js.map +1 -1
  19. package/dist/esm/components/aspectRatio/index.js.map +1 -1
  20. package/dist/esm/components/avatar/index.js.map +1 -1
  21. package/dist/esm/components/breadcrumbs/Separator.js.map +1 -1
  22. package/dist/esm/components/button/index.js +1 -0
  23. package/dist/esm/components/button/index.js.map +1 -1
  24. package/dist/esm/components/carousel/index.js +1 -0
  25. package/dist/esm/components/carousel/index.js.map +1 -1
  26. package/dist/esm/components/checkbox/index.js.map +1 -1
  27. package/dist/esm/components/checkboxFilter/CheckboxGroupCollapsibleWithChildren.js.map +1 -1
  28. package/dist/esm/components/chip/index.js.map +1 -1
  29. package/dist/esm/components/closeButton/index.js.map +1 -1
  30. package/dist/esm/components/colorPicker/index.js.map +1 -1
  31. package/dist/esm/components/datePicker/index.js.map +1 -1
  32. package/dist/esm/components/devOverlay/index.js.map +1 -1
  33. package/dist/esm/components/dialog/index.js.map +1 -1
  34. package/dist/esm/components/drawer/index.js +1 -0
  35. package/dist/esm/components/drawer/index.js.map +1 -1
  36. package/dist/esm/components/field/index.js.map +1 -1
  37. package/dist/esm/components/filterPatterns/HeadingContent.js.map +1 -1
  38. package/dist/esm/components/filterPatterns/dialog/Content.js.map +1 -1
  39. package/dist/esm/components/filterPatterns/dialog/OpenFilterButton.js.map +1 -1
  40. package/dist/esm/components/filterPatterns/popover/Content.js +1 -0
  41. package/dist/esm/components/filterPatterns/popover/Content.js.map +1 -1
  42. package/dist/esm/components/filterPatterns/popover/Popover.js +1 -0
  43. package/dist/esm/components/filterPatterns/popover/Popover.js.map +1 -1
  44. package/dist/esm/components/focusedHeader/index.js +1 -2
  45. package/dist/esm/components/focusedHeader/index.js.map +1 -1
  46. package/dist/esm/components/galleryHeader/Content.js +1 -0
  47. package/dist/esm/components/galleryHeader/Content.js.map +1 -1
  48. package/dist/esm/components/grid/index.js.map +1 -1
  49. package/dist/esm/components/input/SearchField.js +1 -0
  50. package/dist/esm/components/input/SearchField.js.map +1 -1
  51. package/dist/esm/components/input/index.js +1 -0
  52. package/dist/esm/components/input/index.js.map +1 -1
  53. package/dist/esm/components/layout/BaseLayout.js.map +1 -1
  54. package/dist/esm/components/layout/Page.js +1 -0
  55. package/dist/esm/components/layout/Page.js.map +1 -1
  56. package/dist/esm/components/layout/TwoColumnsLayout.js.map +1 -1
  57. package/dist/esm/components/list/SearchableList.js +1 -0
  58. package/dist/esm/components/list/SearchableList.js.map +1 -1
  59. package/dist/esm/components/list/SearchableListItem.js.map +1 -1
  60. package/dist/esm/components/list/index.js.map +1 -1
  61. package/dist/esm/components/mobileOnlyAccordion/index.js.map +1 -1
  62. package/dist/esm/components/navigation/footer/Apps.js +1 -1
  63. package/dist/esm/components/navigation/footer/Apps.js.map +1 -1
  64. package/dist/esm/components/navigation/header/NavigationItems.js +1 -2
  65. package/dist/esm/components/navigation/header/NavigationItems.js.map +1 -1
  66. package/dist/esm/components/navigation/header/drawer/index.js.map +1 -1
  67. package/dist/esm/components/navigation/header/drawer/userInfo/index.js.map +1 -1
  68. package/dist/esm/components/navigation/header/index.js +1 -0
  69. package/dist/esm/components/navigation/header/index.js.map +1 -1
  70. package/dist/esm/components/navigation/header/navigationTenantMenu/index.js.map +1 -1
  71. package/dist/esm/components/pagination/index.js +1 -0
  72. package/dist/esm/components/pagination/index.js.map +1 -1
  73. package/dist/esm/components/popover/index.js.map +1 -1
  74. package/dist/esm/components/radio/RadioList.js.map +1 -1
  75. package/dist/esm/components/radio/RadioListItem.js +1 -0
  76. package/dist/esm/components/radio/RadioListItem.js.map +1 -1
  77. package/dist/esm/components/radio/index.js +1 -0
  78. package/dist/esm/components/radio/index.js.map +1 -1
  79. package/dist/esm/components/rangeFilterInput/InputGroup.js +1 -0
  80. package/dist/esm/components/rangeFilterInput/InputGroup.js.map +1 -1
  81. package/dist/esm/components/rangeFilterInput/index.js +1 -0
  82. package/dist/esm/components/rangeFilterInput/index.js.map +1 -1
  83. package/dist/esm/components/rangeFilterInputWithSlider/index.js +1 -0
  84. package/dist/esm/components/rangeFilterInputWithSlider/index.js.map +1 -1
  85. package/dist/esm/components/rangeSlider/Chart.js +1 -0
  86. package/dist/esm/components/rangeSlider/Chart.js.map +1 -1
  87. package/dist/esm/components/rangeSlider/RangeSliderWithChart.js +1 -0
  88. package/dist/esm/components/rangeSlider/RangeSliderWithChart.js.map +1 -1
  89. package/dist/esm/components/rangeSlider/RangeSliderWithScale.js +1 -0
  90. package/dist/esm/components/rangeSlider/RangeSliderWithScale.js.map +1 -1
  91. package/dist/esm/components/rangeSlider/index.js +1 -0
  92. package/dist/esm/components/rangeSlider/index.js.map +1 -1
  93. package/dist/esm/components/rating/index.js.map +1 -1
  94. package/dist/esm/components/section/index.js.map +1 -1
  95. package/dist/esm/components/select/index.js.map +1 -1
  96. package/dist/esm/components/switch/index.js.map +1 -1
  97. package/dist/esm/components/tab/Tab.js +1 -0
  98. package/dist/esm/components/tab/Tab.js.map +1 -1
  99. package/dist/esm/components/tab/TabList.js +1 -0
  100. package/dist/esm/components/tab/TabList.js.map +1 -1
  101. package/dist/esm/components/tab/TabPanel.js +1 -0
  102. package/dist/esm/components/tab/TabPanel.js.map +1 -1
  103. package/dist/esm/components/tab/TabPanels.js +1 -0
  104. package/dist/esm/components/tab/TabPanels.js.map +1 -1
  105. package/dist/esm/components/tab/index.js +1 -0
  106. package/dist/esm/components/tab/index.js.map +1 -1
  107. package/dist/esm/components/table/index.js.map +1 -1
  108. package/dist/esm/components/tenantSelection/index.js +1 -0
  109. package/dist/esm/components/tenantSelection/index.js.map +1 -1
  110. package/dist/esm/components/textarea/index.js.map +1 -1
  111. package/dist/esm/components/themeProvider/AutoScout24ThemeProvider.js +1 -0
  112. package/dist/esm/components/themeProvider/AutoScout24ThemeProvider.js.map +1 -1
  113. package/dist/esm/components/themeProvider/MotoScout24ThemeProvider.js +1 -0
  114. package/dist/esm/components/themeProvider/MotoScout24ThemeProvider.js.map +1 -1
  115. package/dist/esm/components/themeProvider/index.js +1 -0
  116. package/dist/esm/components/themeProvider/index.js.map +1 -1
  117. package/dist/esm/components/timePicker/index.js.map +1 -1
  118. package/dist/esm/components/tooltip/index.js +1 -0
  119. package/dist/esm/components/tooltip/index.js.map +1 -1
  120. package/dist/esm/components/topListingBadge/index.js.map +1 -1
  121. package/dist/esm/hooks/useToast/Toast.js.map +1 -1
  122. package/dist/esm/index.js +9 -9
  123. package/dist/esm/themes/autoScout24.js.map +1 -1
  124. package/dist/esm/themes/motoScout24.js.map +1 -1
  125. package/dist/esm/utilities/i18nInit.js +1 -0
  126. package/dist/esm/utilities/i18nInit.js.map +1 -1
  127. package/dist/fonts/cjs/Hosted.js +1 -0
  128. package/dist/fonts/cjs/Hosted.js.map +1 -1
  129. package/dist/fonts/esm/Hosted.js +1 -0
  130. package/dist/fonts/esm/Hosted.js.map +1 -1
  131. package/dist/index.d.mts +51 -51
  132. package/dist/index.d.ts +51 -51
  133. package/dist/page-layout.d.mts +96 -0
  134. package/dist/page-layout.d.ts +96 -0
  135. package/package.json +38 -7
package/dist/cjs/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  var react = require('@chakra-ui/react');
@@ -456,17 +457,6 @@ const useDisclosure = (options = {}) => {
456
457
  };
457
458
  };
458
459
 
459
- const Accordion = (props) => {
460
- const recipe = react.useSlotRecipe({ key: 'accordion' });
461
- const [recipeProps, restProps] = recipe.splitVariantProps(props);
462
- const { children, ...rest } = restProps;
463
- return (jsxRuntime.jsx(react.Accordion.Root, { ...rest, children: React.Children.map(children, (child) => React.isValidElement(child)
464
- ? React.cloneElement(child, {
465
- variant: recipeProps.variant,
466
- })
467
- : child) }));
468
- };
469
-
470
460
  const AccordionButton = (props) => {
471
461
  const recipe = react.useSlotRecipe({ key: 'accordion' });
472
462
  const [recipeProps, restProps] = recipe.splitVariantProps(props);
@@ -495,6 +485,17 @@ const AccordionPanel = (props) => {
495
485
  return (jsxRuntime.jsx(react.Accordion.ItemContent, { css: styles.content, children: jsxRuntime.jsx(react.Accordion.ItemBody, { ...rest, css: { ...styles.body, ...(pb !== undefined && { pb }) }, children: children }) }));
496
486
  };
497
487
 
488
+ const Accordion = (props) => {
489
+ const recipe = react.useSlotRecipe({ key: 'accordion' });
490
+ const [recipeProps, restProps] = recipe.splitVariantProps(props);
491
+ const { children, ...rest } = restProps;
492
+ return (jsxRuntime.jsx(react.Accordion.Root, { ...rest, children: React.Children.map(children, (child) => React.isValidElement(child)
493
+ ? React.cloneElement(child, {
494
+ variant: recipeProps.variant,
495
+ })
496
+ : child) }));
497
+ };
498
+
498
499
  const Box = React.forwardRef(function BoxAdapter(props, ref) {
499
500
  const { as, textColor, spacing, color, sx, children,
500
501
  // Link-like props, e.g. NextLink
@@ -4453,6 +4454,24 @@ const Avatar = ({ withNotification, color }) => {
4453
4454
 
4454
4455
  const Badge = ({ text, ...props }) => (jsxRuntime.jsx(react.Badge, { ...props, children: text }));
4455
4456
 
4457
+ const BreadcrumbsItem = ({ children }) => {
4458
+ return jsxRuntime.jsx(react.Breadcrumb.Item, { children: children });
4459
+ };
4460
+
4461
+ const BreadcrumbLink = ({ as, children, href, prefetch, replace, ...rest }) => {
4462
+ const recipe = react.useSlotRecipe({ key: 'breadcrumbs' });
4463
+ const styles = recipe();
4464
+ if (!href) {
4465
+ return children;
4466
+ }
4467
+ const isComponentAs = Boolean(as) && typeof as !== 'string';
4468
+ if (isComponentAs) {
4469
+ const AsComp = as;
4470
+ return (jsxRuntime.jsx(react.Breadcrumb.Link, { css: styles.link, asChild: true, ...rest, children: jsxRuntime.jsx(AsComp, { href: href, ...(prefetch !== undefined ? { prefetch } : {}), ...(replace ? { replace: true } : {}), children: children }) }));
4471
+ }
4472
+ return (jsxRuntime.jsx(react.Breadcrumb.Link, { css: styles.link, as: as, href: href, ...rest, children: children }));
4473
+ };
4474
+
4456
4475
  const BreadcrumbSeparator = () => {
4457
4476
  const recipe = react.useSlotRecipe({ key: 'breadcrumbs' });
4458
4477
  const styles = recipe();
@@ -4474,24 +4493,6 @@ const Breadcrumbs = ({ children, ...props }) => {
4474
4493
  }) }) }));
4475
4494
  };
4476
4495
 
4477
- const BreadcrumbsItem = ({ children }) => {
4478
- return jsxRuntime.jsx(react.Breadcrumb.Item, { children: children });
4479
- };
4480
-
4481
- const BreadcrumbLink = ({ as, children, href, prefetch, replace, ...rest }) => {
4482
- const recipe = react.useSlotRecipe({ key: 'breadcrumbs' });
4483
- const styles = recipe();
4484
- if (!href) {
4485
- return children;
4486
- }
4487
- const isComponentAs = Boolean(as) && typeof as !== 'string';
4488
- if (isComponentAs) {
4489
- const AsComp = as;
4490
- return (jsxRuntime.jsx(react.Breadcrumb.Link, { css: styles.link, asChild: true, ...rest, children: jsxRuntime.jsx(AsComp, { href: href, ...(prefetch !== undefined ? { prefetch } : {}), ...(replace ? { replace: true } : {}), children: children }) }));
4491
- }
4492
- return (jsxRuntime.jsx(react.Breadcrumb.Link, { css: styles.link, as: as, href: href, ...rest, children: children }));
4493
- };
4494
-
4495
4496
  const { Root, Header, Body, Footer: Footer$1 } = react.Card;
4496
4497
  Root.displayName = 'Card.Root';
4497
4498
  Header.displayName = 'Card.Header';
@@ -4897,8 +4898,9 @@ const DiscreteSlider = ({ marks, applyIndentation = true, onValueChanged, value,
4897
4898
  }, children: label }, index))) })] }) }));
4898
4899
  };
4899
4900
 
4900
- const DrawerOverlay = (props) => {
4901
- return jsxRuntime.jsx(react.Drawer.Backdrop, { ...props });
4901
+ const DrawerBody = (props) => {
4902
+ const { children, ...drawerBodyProps } = props;
4903
+ return jsxRuntime.jsx(react.Drawer.Body, { ...drawerBodyProps, children: children });
4902
4904
  };
4903
4905
 
4904
4906
  const DrawerContent = (props) => {
@@ -4906,9 +4908,8 @@ const DrawerContent = (props) => {
4906
4908
  return (jsxRuntime.jsx(react.Drawer.Positioner, { children: jsxRuntime.jsxs(react.Drawer.Content, { ...drawerContentProps, children: [withCloseButton ? (jsxRuntime.jsx(react.Drawer.CloseTrigger, { asChild: true, fontSize: "base", children: jsxRuntime.jsx(CloseIcon, {}) })) : null, children] }) }));
4907
4909
  };
4908
4910
 
4909
- const DrawerBody = (props) => {
4910
- const { children, ...drawerBodyProps } = props;
4911
- return jsxRuntime.jsx(react.Drawer.Body, { ...drawerBodyProps, children: children });
4911
+ const DrawerOverlay = (props) => {
4912
+ return jsxRuntime.jsx(react.Drawer.Backdrop, { ...props });
4912
4913
  };
4913
4914
 
4914
4915
  const Drawer = (props) => {
@@ -5508,7 +5509,7 @@ var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBo
5508
5509
 
5509
5510
  const FocusedHeader = ({ brand }) => {
5510
5511
  const logo = brand === Brand.AutoScout24 ? img$3 : img$4;
5511
- return (jsxRuntime.jsx(react.Box, { width: "full", borderBottomColor: "gray.200", borderBottomWidth: "1px", zIndex: "header", position: "relative", backgroundColor: "white", children: jsxRuntime.jsx(react.Box, { maxWidth: "container.2xl", height: menuHeightConfig, alignItems: "center", margin: "auto", display: "flex", justifyContent: "space-between", px: { base: 'sm', xs: 'lg', sm: '2xl' }, children: jsxRuntime.jsx(react.Image, { width: { sm: '124px', base: '101px' }, height: { sm: '30px', base: 'sm' }, src: getStaticImageSource(logo), alt: "Platform logo" }) }) }));
5512
+ return (jsxRuntime.jsx(react.Box, { width: "full", borderBottomColor: "gray.200", borderBottomWidth: "1px", zIndex: "header", position: "relative", backgroundColor: "white", children: jsxRuntime.jsx(react.Box, { maxWidth: "container.2xl", height: menuHeightConfig, alignItems: "center", margin: "auto", display: "flex", justifyContent: "space-between", px: { base: 'sm', xs: 'lg', sm: '2xl' }, children: jsxRuntime.jsx(react.Image, { width: { sm: '124px', base: '101px' }, height: { sm: '30px', base: 'sm' }, src: logo, alt: "Platform logo" }) }) }));
5512
5513
  };
5513
5514
 
5514
5515
  const FormControlSection = ({ children, errorMessage, id, label, hint, tooltip, }) => {
@@ -5611,16 +5612,16 @@ const AppLayoutContent = React.forwardRef((props, ref) => {
5611
5612
  });
5612
5613
  AppLayoutContent.displayName = 'AppLayoutContent';
5613
5614
 
5614
- const AppLayoutHeader = React.forwardRef((props, ref) => {
5615
- return jsxRuntime.jsx(GridItem, { as: "div", area: "header", ref: ref, ...props });
5616
- });
5617
- AppLayoutHeader.displayName = 'AppLayoutHeader';
5618
-
5619
5615
  const AppLayoutFooter = React.forwardRef((props, ref) => {
5620
5616
  return jsxRuntime.jsx(GridItem, { as: "div", area: "footer", ref: ref, ...props });
5621
5617
  });
5622
5618
  AppLayoutFooter.displayName = 'AppLayoutFooter';
5623
5619
 
5620
+ const AppLayoutHeader = React.forwardRef((props, ref) => {
5621
+ return jsxRuntime.jsx(GridItem, { as: "div", area: "header", ref: ref, ...props });
5622
+ });
5623
+ AppLayoutHeader.displayName = 'AppLayoutHeader';
5624
+
5624
5625
  const SearchableListItemLabel = ({ label, isSelected, showChevron = true, highlightIndices = [], isCheckbox = false, facet, }) => {
5625
5626
  return (jsxRuntime.jsxs(Flex, { width: "full", justifyContent: "space-between", whiteSpace: "pre-wrap", fontWeight: isSelected && !isCheckbox ? 'bold' : undefined, color: "gray.900", cursor: "pointer", children: [jsxRuntime.jsxs(Flex, { children: [isSelected && !isCheckbox ? (jsxRuntime.jsx(CheckmarkIcon, { w: "xs", mr: "xs", color: "gray.900" })) : null, jsxRuntime.jsx(HighlightedText, { text: label, highlightIndices: highlightIndices, textAlign: "left" })] }), jsxRuntime.jsxs(Flex, { as: "span", children: [facet ? (jsxRuntime.jsx(Text$1, { as: "span", color: "gray.400", mr: showChevron ? 'lg' : undefined, ml: "sm", minW: "lg", textAlign: "right", fontWeight: "regular", children: facet })) : null, showChevron ? (jsxRuntime.jsx(ChevronRightSmallIcon, { color: "gray.500", w: "sm", h: "sm" })) : null] })] }));
5626
5627
  };
@@ -5801,7 +5802,7 @@ var img$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARAAAABQCAMAAADm+9r/A
5801
5802
 
5802
5803
  const FooterApps = ({ config }) => {
5803
5804
  const { t } = useI18n();
5804
- return (jsxRuntime.jsx(GridItem, { children: jsxRuntime.jsxs(Stack$1, { paddingY: { base: '2xl', md: 'md' }, paddingX: { base: 'md', md: '0' }, gap: "md", children: [jsxRuntime.jsx(Text$1, { textStyle: "heading5", children: t('footer.apps.title') }), jsxRuntime.jsxs(Root$2, { children: [jsxRuntime.jsx(Item, { display: "flex", alignItems: "center", children: jsxRuntime.jsx(FooterLink, { linkInstance: config.apps.android[0], children: jsxRuntime.jsx(react.Image, { src: getStaticImageSource(img$2), alt: 'Googleplay Icon', width: "3xl", height: "auto", loading: "lazy" }) }) }), jsxRuntime.jsx(Item, { display: "flex", alignItems: "center", mt: "md", children: jsxRuntime.jsx(FooterLink, { linkInstance: config.apps.apple[0], children: jsxRuntime.jsx(react.Image, { src: getStaticImageSource(img$1), alt: 'Appstore Icon', width: "3xl", height: "auto", loading: "lazy" }) }) })] })] }) }));
5805
+ return (jsxRuntime.jsx(GridItem, { children: jsxRuntime.jsxs(Stack$1, { paddingY: { base: '2xl', md: 'md' }, paddingX: { base: 'md', md: '0' }, gap: "md", children: [jsxRuntime.jsx(Text$1, { textStyle: "heading5", children: t('footer.apps.title') }), jsxRuntime.jsxs(Root$2, { children: [jsxRuntime.jsx(Item, { display: "flex", alignItems: "center", children: jsxRuntime.jsx(FooterLink, { linkInstance: config.apps.android[0], children: jsxRuntime.jsx(react.Image, { src: getStaticImageSource(img$2), alt: 'Googleplay Icon', width: "3xl", height: "auto", loading: "lazy" }) }) }), jsxRuntime.jsx(Item, { display: "flex", alignItems: "center", mt: "md", children: jsxRuntime.jsx(FooterLink, { linkInstance: config.apps.apple[0], children: jsxRuntime.jsx(react.Image, { src: getStaticImageSource(img$1), alt: 'Appsore Icon', width: "3xl", height: "auto", loading: "lazy" }) }) })] })] }) }));
5805
5806
  };
5806
5807
 
5807
5808
  const FooterSectionGrid = ({ config }) => {
@@ -8156,7 +8157,7 @@ const NavigationItems = ({ platform, headerLinks, drawer, isOpen, createDrawerHa
8156
8157
  return (jsxRuntime.jsxs(Stack$1, { direction: "row", gap: { base: 'lg', sm: '2xl' }, align: "center", children: [jsxRuntime.jsx(Link$2, { href: `/${language}`, children: jsxRuntime.jsx(react.Image, { css: {
8157
8158
  width: { sm: '124px', base: '101px' },
8158
8159
  height: { sm: '30px', base: 'var(--spacing-sm)' },
8159
- }, src: getStaticImageSource(logo), alt: "Platform logo", htmlWidth: 300, htmlHeight: 71 }) }), jsxRuntime.jsx(react.Box, { hideBelow: "sm", children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.search", drawerHandler: searchDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.Search }) }), headerLinks.map((link, index) => (jsxRuntime.jsx(HeaderLink, { link: link }, `link-${index}`))), jsxRuntime.jsx(react.Box, { display: { base: 'none', sm: 'block', lg: 'none' }, children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.more", drawerHandler: moreDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.More }) })] }));
8160
+ }, src: logo, alt: "Platform logo", htmlWidth: 300, htmlHeight: 71 }) }), jsxRuntime.jsx(react.Box, { hideBelow: "sm", children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.search", drawerHandler: searchDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.Search }) }), headerLinks.map((link, index) => (jsxRuntime.jsx(HeaderLink, { link: link }, `link-${index}`))), jsxRuntime.jsx(react.Box, { display: { base: 'none', sm: 'block', lg: 'none' }, children: jsxRuntime.jsx(NavigationItem, { translationKey: "header.more", drawerHandler: moreDrawerHandler, isOpen: isOpen && drawer?.current === DrawerNode.More }) })] }));
8160
8161
  };
8161
8162
 
8162
8163
  const NavigationAvatar = ({ user, isOpen, drawer, hasNotification, createDrawerHandler, onLogin, }) => {
@@ -8412,26 +8413,6 @@ const Progress = ({ current, max, label }) => {
8412
8413
  return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(react.Progress.Root, { value: validCurrent, max: validMax, "aria-label": label(validCurrent, max), children: jsxRuntime.jsx(react.Progress.Track, { children: jsxRuntime.jsx(react.Progress.Range, {}) }) }), jsxRuntime.jsxs(Stack$1, { direction: "row", gap: "xs", align: "center", marginTop: "sm", children: [isComplete && jsxRuntime.jsx(CheckmarkCircleIcon, { color: "green.400" }), jsxRuntime.jsx(Text$1, { textStyle: "body", children: label(validCurrent, max) })] })] }));
8413
8414
  };
8414
8415
 
8415
- const Radio = React.forwardRef((props, ref) => {
8416
- const recipe = react.useSlotRecipe({ key: 'radio' });
8417
- const [recipeProps, restProps] = recipe.splitVariantProps(props);
8418
- const styles = recipe(recipeProps);
8419
- const { value, name, onChange, items, orientation = 'horizontal', children, ...rootDomProps } = restProps;
8420
- const renderedItems = items.map((item) => (jsxRuntime.jsxs(react.RadioGroup.Item, { value: item.value, disabled: item.disabled, invalid: item.invalid, css: styles.item, children: [jsxRuntime.jsx(react.RadioGroup.ItemControl, { css: styles.control, children: jsxRuntime.jsx(react.RadioGroup.ItemIndicator, { css: styles.indicator }) }), jsxRuntime.jsx(react.RadioGroup.ItemText, { css: styles.label, children: item.label }), jsxRuntime.jsx(react.RadioGroup.ItemHiddenInput, { ref: ref })] }, item.value)));
8421
- const defaultWrapped = (jsxRuntime.jsx(react.Stack, { direction: orientation === 'horizontal' ? 'row' : 'column', gap: orientation === 'horizontal' ? '2xl' : 'xxs', children: renderedItems }));
8422
- const content = children ? children(renderedItems) : defaultWrapped;
8423
- return (jsxRuntime.jsx(react.RadioGroup.Root, { name: name, value: value, onValueChange: (details) => {
8424
- if (!onChange)
8425
- return;
8426
- const target = {
8427
- value: details.value,
8428
- name,
8429
- checked: details.value === value,
8430
- };
8431
- onChange({ target });
8432
- }, css: styles.root, ...rootDomProps, children: content }));
8433
- });
8434
-
8435
8416
  const RadioListItem = React.forwardRef(({ children, value, ...rest }, ref) => {
8436
8417
  const recipe = react.useRecipe({ key: 'radioListItem' });
8437
8418
  const styles = recipe();
@@ -8466,6 +8447,26 @@ const RadioList = ({ name, defaultValue, options, onChange, }) => {
8466
8447
  }) }) }));
8467
8448
  };
8468
8449
 
8450
+ const Radio = React.forwardRef((props, ref) => {
8451
+ const recipe = react.useSlotRecipe({ key: 'radio' });
8452
+ const [recipeProps, restProps] = recipe.splitVariantProps(props);
8453
+ const styles = recipe(recipeProps);
8454
+ const { value, name, onChange, items, orientation = 'horizontal', children, ...rootDomProps } = restProps;
8455
+ const renderedItems = items.map((item) => (jsxRuntime.jsxs(react.RadioGroup.Item, { value: item.value, disabled: item.disabled, invalid: item.invalid, css: styles.item, children: [jsxRuntime.jsx(react.RadioGroup.ItemControl, { css: styles.control, children: jsxRuntime.jsx(react.RadioGroup.ItemIndicator, { css: styles.indicator }) }), jsxRuntime.jsx(react.RadioGroup.ItemText, { css: styles.label, children: item.label }), jsxRuntime.jsx(react.RadioGroup.ItemHiddenInput, { ref: ref })] }, item.value)));
8456
+ const defaultWrapped = (jsxRuntime.jsx(react.Stack, { direction: orientation === 'horizontal' ? 'row' : 'column', gap: orientation === 'horizontal' ? '2xl' : 'xxs', children: renderedItems }));
8457
+ const content = children ? children(renderedItems) : defaultWrapped;
8458
+ return (jsxRuntime.jsx(react.RadioGroup.Root, { name: name, value: value, onValueChange: (details) => {
8459
+ if (!onChange)
8460
+ return;
8461
+ const target = {
8462
+ value: details.value,
8463
+ name,
8464
+ checked: details.value === value,
8465
+ };
8466
+ onChange({ target });
8467
+ }, css: styles.root, ...rootDomProps, children: content }));
8468
+ });
8469
+
8469
8470
  const Rating = ({ rating, ...props }) => {
8470
8471
  const percent = `calc((${rating.toString()} - 0.16) / 5 * 100%)`;
8471
8472
  const recipe = react.useRecipe({ key: 'rating' });