@smg-automotive/components 27.3.2-fix-components-bundlesize.2 → 27.3.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 +62 -63
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/theme-provider/autoscout24.js +0 -1
  4. package/dist/cjs/theme-provider/autoscout24.js.map +1 -1
  5. package/dist/cjs/theme-provider/motoscout24.js +0 -1
  6. package/dist/cjs/theme-provider/motoscout24.js.map +1 -1
  7. package/dist/cjs/themeProvider.js +0 -1
  8. package/dist/cjs/themeProvider.js.map +1 -1
  9. package/dist/cjs/themes.js.map +1 -1
  10. package/dist/esm/components/accordion/AccordionButton.js.map +1 -1
  11. package/dist/esm/components/accordion/AccordionItem.js +0 -1
  12. package/dist/esm/components/accordion/AccordionItem.js.map +1 -1
  13. package/dist/esm/components/accordion/AccordionPanel.js.map +1 -1
  14. package/dist/esm/components/accordion/index.js.map +1 -1
  15. package/dist/esm/components/alert/index.js.map +1 -1
  16. package/dist/esm/components/articleTeaser/index.js.map +1 -1
  17. package/dist/esm/components/aspectRatio/index.js.map +1 -1
  18. package/dist/esm/components/avatar/index.js.map +1 -1
  19. package/dist/esm/components/breadcrumbs/Separator.js.map +1 -1
  20. package/dist/esm/components/button/index.js +0 -1
  21. package/dist/esm/components/button/index.js.map +1 -1
  22. package/dist/esm/components/carousel/index.js +0 -1
  23. package/dist/esm/components/carousel/index.js.map +1 -1
  24. package/dist/esm/components/checkbox/index.js.map +1 -1
  25. package/dist/esm/components/checkboxFilter/CheckboxGroupCollapsibleWithChildren.js.map +1 -1
  26. package/dist/esm/components/chip/index.js.map +1 -1
  27. package/dist/esm/components/closeButton/index.js.map +1 -1
  28. package/dist/esm/components/colorPicker/index.js.map +1 -1
  29. package/dist/esm/components/datePicker/index.js.map +1 -1
  30. package/dist/esm/components/devOverlay/index.js.map +1 -1
  31. package/dist/esm/components/dialog/index.js.map +1 -1
  32. package/dist/esm/components/drawer/index.js +0 -1
  33. package/dist/esm/components/drawer/index.js.map +1 -1
  34. package/dist/esm/components/field/index.js.map +1 -1
  35. package/dist/esm/components/filterPatterns/HeadingContent.js.map +1 -1
  36. package/dist/esm/components/filterPatterns/dialog/Content.js.map +1 -1
  37. package/dist/esm/components/filterPatterns/dialog/OpenFilterButton.js.map +1 -1
  38. package/dist/esm/components/filterPatterns/popover/Content.js +0 -1
  39. package/dist/esm/components/filterPatterns/popover/Content.js.map +1 -1
  40. package/dist/esm/components/filterPatterns/popover/Popover.js +0 -1
  41. package/dist/esm/components/filterPatterns/popover/Popover.js.map +1 -1
  42. package/dist/esm/components/focusedHeader/index.js +2 -1
  43. package/dist/esm/components/focusedHeader/index.js.map +1 -1
  44. package/dist/esm/components/galleryHeader/Content.js +0 -1
  45. package/dist/esm/components/galleryHeader/Content.js.map +1 -1
  46. package/dist/esm/components/grid/index.js.map +1 -1
  47. package/dist/esm/components/input/SearchField.js +0 -1
  48. package/dist/esm/components/input/SearchField.js.map +1 -1
  49. package/dist/esm/components/input/index.js +0 -1
  50. package/dist/esm/components/input/index.js.map +1 -1
  51. package/dist/esm/components/layout/BaseLayout.js.map +1 -1
  52. package/dist/esm/components/layout/Page.js +0 -1
  53. package/dist/esm/components/layout/Page.js.map +1 -1
  54. package/dist/esm/components/layout/TwoColumnsLayout.js.map +1 -1
  55. package/dist/esm/components/list/SearchableList.js +0 -1
  56. package/dist/esm/components/list/SearchableList.js.map +1 -1
  57. package/dist/esm/components/list/SearchableListItem.js.map +1 -1
  58. package/dist/esm/components/list/index.js.map +1 -1
  59. package/dist/esm/components/mobileOnlyAccordion/index.js.map +1 -1
  60. package/dist/esm/components/navigation/footer/Apps.js +1 -1
  61. package/dist/esm/components/navigation/footer/Apps.js.map +1 -1
  62. package/dist/esm/components/navigation/header/NavigationItems.js +2 -1
  63. package/dist/esm/components/navigation/header/NavigationItems.js.map +1 -1
  64. package/dist/esm/components/navigation/header/drawer/index.js.map +1 -1
  65. package/dist/esm/components/navigation/header/drawer/userInfo/index.js.map +1 -1
  66. package/dist/esm/components/navigation/header/index.js +0 -1
  67. package/dist/esm/components/navigation/header/index.js.map +1 -1
  68. package/dist/esm/components/navigation/header/navigationTenantMenu/index.js.map +1 -1
  69. package/dist/esm/components/pagination/index.js +0 -1
  70. package/dist/esm/components/pagination/index.js.map +1 -1
  71. package/dist/esm/components/popover/index.js.map +1 -1
  72. package/dist/esm/components/radio/RadioList.js.map +1 -1
  73. package/dist/esm/components/radio/RadioListItem.js +0 -1
  74. package/dist/esm/components/radio/RadioListItem.js.map +1 -1
  75. package/dist/esm/components/radio/index.js +0 -1
  76. package/dist/esm/components/radio/index.js.map +1 -1
  77. package/dist/esm/components/rangeFilterInput/InputGroup.js +0 -1
  78. package/dist/esm/components/rangeFilterInput/InputGroup.js.map +1 -1
  79. package/dist/esm/components/rangeFilterInput/index.js +0 -1
  80. package/dist/esm/components/rangeFilterInput/index.js.map +1 -1
  81. package/dist/esm/components/rangeFilterInputWithSlider/index.js +0 -1
  82. package/dist/esm/components/rangeFilterInputWithSlider/index.js.map +1 -1
  83. package/dist/esm/components/rangeSlider/Chart.js +0 -1
  84. package/dist/esm/components/rangeSlider/Chart.js.map +1 -1
  85. package/dist/esm/components/rangeSlider/RangeSliderWithChart.js +0 -1
  86. package/dist/esm/components/rangeSlider/RangeSliderWithChart.js.map +1 -1
  87. package/dist/esm/components/rangeSlider/RangeSliderWithScale.js +0 -1
  88. package/dist/esm/components/rangeSlider/RangeSliderWithScale.js.map +1 -1
  89. package/dist/esm/components/rangeSlider/index.js +0 -1
  90. package/dist/esm/components/rangeSlider/index.js.map +1 -1
  91. package/dist/esm/components/rating/index.js.map +1 -1
  92. package/dist/esm/components/section/index.js.map +1 -1
  93. package/dist/esm/components/select/index.js.map +1 -1
  94. package/dist/esm/components/switch/index.js.map +1 -1
  95. package/dist/esm/components/tab/Tab.js +0 -1
  96. package/dist/esm/components/tab/Tab.js.map +1 -1
  97. package/dist/esm/components/tab/TabList.js +0 -1
  98. package/dist/esm/components/tab/TabList.js.map +1 -1
  99. package/dist/esm/components/tab/TabPanel.js +0 -1
  100. package/dist/esm/components/tab/TabPanel.js.map +1 -1
  101. package/dist/esm/components/tab/TabPanels.js +0 -1
  102. package/dist/esm/components/tab/TabPanels.js.map +1 -1
  103. package/dist/esm/components/tab/index.js +0 -1
  104. package/dist/esm/components/tab/index.js.map +1 -1
  105. package/dist/esm/components/table/index.js.map +1 -1
  106. package/dist/esm/components/tenantSelection/index.js +0 -1
  107. package/dist/esm/components/tenantSelection/index.js.map +1 -1
  108. package/dist/esm/components/textarea/index.js.map +1 -1
  109. package/dist/esm/components/themeProvider/AutoScout24ThemeProvider.js +0 -1
  110. package/dist/esm/components/themeProvider/AutoScout24ThemeProvider.js.map +1 -1
  111. package/dist/esm/components/themeProvider/MotoScout24ThemeProvider.js +0 -1
  112. package/dist/esm/components/themeProvider/MotoScout24ThemeProvider.js.map +1 -1
  113. package/dist/esm/components/themeProvider/index.js +0 -1
  114. package/dist/esm/components/themeProvider/index.js.map +1 -1
  115. package/dist/esm/components/timePicker/index.js.map +1 -1
  116. package/dist/esm/components/tooltip/index.js +0 -1
  117. package/dist/esm/components/tooltip/index.js.map +1 -1
  118. package/dist/esm/components/topListingBadge/index.js.map +1 -1
  119. package/dist/esm/hooks/useToast/Toast.js.map +1 -1
  120. package/dist/esm/index.js +9 -9
  121. package/dist/esm/themes/autoScout24.js.map +1 -1
  122. package/dist/esm/themes/motoScout24.js.map +1 -1
  123. package/dist/esm/utilities/i18nInit.js +0 -1
  124. package/dist/esm/utilities/i18nInit.js.map +1 -1
  125. package/dist/fonts/cjs/Hosted.js +0 -1
  126. package/dist/fonts/cjs/Hosted.js.map +1 -1
  127. package/dist/fonts/esm/Hosted.js +0 -1
  128. package/dist/fonts/esm/Hosted.js.map +1 -1
  129. package/dist/index.d.mts +50 -50
  130. package/dist/index.d.ts +50 -50
  131. package/package.json +7 -56
  132. package/dist/cjs/page-layout.js +0 -24
  133. package/dist/cjs/page-layout.js.map +0 -1
  134. package/dist/page-layout.d.mts +0 -96
  135. package/dist/page-layout.d.ts +0 -96
package/dist/cjs/index.js CHANGED
@@ -1,4 +1,3 @@
1
- 'use client';
2
1
  'use strict';
3
2
 
4
3
  var react = require('@chakra-ui/react');
@@ -457,6 +456,17 @@ const useDisclosure = (options = {}) => {
457
456
  };
458
457
  };
459
458
 
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
+
460
470
  const AccordionButton = (props) => {
461
471
  const recipe = react.useSlotRecipe({ key: 'accordion' });
462
472
  const [recipeProps, restProps] = recipe.splitVariantProps(props);
@@ -485,17 +495,6 @@ const AccordionPanel = (props) => {
485
495
  return (jsxRuntime.jsx(react.Accordion.ItemContent, { css: styles.content, children: jsxRuntime.jsx(react.Accordion.ItemBody, { ...rest, css: { ...styles.body, ...(pb !== undefined && { pb }) }, children: children }) }));
486
496
  };
487
497
 
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
-
499
498
  const Box = React.forwardRef(function BoxAdapter(props, ref) {
500
499
  const { as, textColor, spacing, color, sx, children,
501
500
  // Link-like props, e.g. NextLink
@@ -4454,24 +4453,6 @@ const Avatar = ({ withNotification, color }) => {
4454
4453
 
4455
4454
  const Badge = ({ text, ...props }) => (jsxRuntime.jsx(react.Badge, { ...props, children: text }));
4456
4455
 
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
-
4475
4456
  const BreadcrumbSeparator = () => {
4476
4457
  const recipe = react.useSlotRecipe({ key: 'breadcrumbs' });
4477
4458
  const styles = recipe();
@@ -4493,6 +4474,24 @@ const Breadcrumbs = ({ children, ...props }) => {
4493
4474
  }) }) }));
4494
4475
  };
4495
4476
 
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
+
4496
4495
  const { Root, Header, Body, Footer: Footer$1 } = react.Card;
4497
4496
  Root.displayName = 'Card.Root';
4498
4497
  Header.displayName = 'Card.Header';
@@ -4898,9 +4897,8 @@ const DiscreteSlider = ({ marks, applyIndentation = true, onValueChanged, value,
4898
4897
  }, children: label }, index))) })] }) }));
4899
4898
  };
4900
4899
 
4901
- const DrawerBody = (props) => {
4902
- const { children, ...drawerBodyProps } = props;
4903
- return jsxRuntime.jsx(react.Drawer.Body, { ...drawerBodyProps, children: children });
4900
+ const DrawerOverlay = (props) => {
4901
+ return jsxRuntime.jsx(react.Drawer.Backdrop, { ...props });
4904
4902
  };
4905
4903
 
4906
4904
  const DrawerContent = (props) => {
@@ -4908,8 +4906,9 @@ const DrawerContent = (props) => {
4908
4906
  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] }) }));
4909
4907
  };
4910
4908
 
4911
- const DrawerOverlay = (props) => {
4912
- return jsxRuntime.jsx(react.Drawer.Backdrop, { ...props });
4909
+ const DrawerBody = (props) => {
4910
+ const { children, ...drawerBodyProps } = props;
4911
+ return jsxRuntime.jsx(react.Drawer.Body, { ...drawerBodyProps, children: children });
4913
4912
  };
4914
4913
 
4915
4914
  const Drawer = (props) => {
@@ -5509,7 +5508,7 @@ var img$3 = "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBo
5509
5508
 
5510
5509
  const FocusedHeader = ({ brand }) => {
5511
5510
  const logo = brand === Brand.AutoScout24 ? img$3 : img$4;
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" }) }) }));
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" }) }) }));
5513
5512
  };
5514
5513
 
5515
5514
  const FormControlSection = ({ children, errorMessage, id, label, hint, tooltip, }) => {
@@ -5612,16 +5611,16 @@ const AppLayoutContent = React.forwardRef((props, ref) => {
5612
5611
  });
5613
5612
  AppLayoutContent.displayName = 'AppLayoutContent';
5614
5613
 
5615
- const AppLayoutFooter = React.forwardRef((props, ref) => {
5616
- return jsxRuntime.jsx(GridItem, { as: "div", area: "footer", ref: ref, ...props });
5617
- });
5618
- AppLayoutFooter.displayName = 'AppLayoutFooter';
5619
-
5620
5614
  const AppLayoutHeader = React.forwardRef((props, ref) => {
5621
5615
  return jsxRuntime.jsx(GridItem, { as: "div", area: "header", ref: ref, ...props });
5622
5616
  });
5623
5617
  AppLayoutHeader.displayName = 'AppLayoutHeader';
5624
5618
 
5619
+ const AppLayoutFooter = React.forwardRef((props, ref) => {
5620
+ return jsxRuntime.jsx(GridItem, { as: "div", area: "footer", ref: ref, ...props });
5621
+ });
5622
+ AppLayoutFooter.displayName = 'AppLayoutFooter';
5623
+
5625
5624
  const SearchableListItemLabel = ({ label, isSelected, showChevron = true, highlightIndices = [], isCheckbox = false, facet, }) => {
5626
5625
  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] })] }));
5627
5626
  };
@@ -5802,7 +5801,7 @@ var img$1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARAAAABQCAMAAADm+9r/A
5802
5801
 
5803
5802
  const FooterApps = ({ config }) => {
5804
5803
  const { t } = useI18n();
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" }) }) })] })] }) }));
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" }) }) })] })] }) }));
5806
5805
  };
5807
5806
 
5808
5807
  const FooterSectionGrid = ({ config }) => {
@@ -8157,7 +8156,7 @@ const NavigationItems = ({ platform, headerLinks, drawer, isOpen, createDrawerHa
8157
8156
  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: {
8158
8157
  width: { sm: '124px', base: '101px' },
8159
8158
  height: { sm: '30px', base: 'var(--spacing-sm)' },
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 }) })] }));
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 }) })] }));
8161
8160
  };
8162
8161
 
8163
8162
  const NavigationAvatar = ({ user, isOpen, drawer, hasNotification, createDrawerHandler, onLogin, }) => {
@@ -8413,6 +8412,26 @@ const Progress = ({ current, max, label }) => {
8413
8412
  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) })] })] }));
8414
8413
  };
8415
8414
 
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
+
8416
8435
  const RadioListItem = React.forwardRef(({ children, value, ...rest }, ref) => {
8417
8436
  const recipe = react.useRecipe({ key: 'radioListItem' });
8418
8437
  const styles = recipe();
@@ -8447,26 +8466,6 @@ const RadioList = ({ name, defaultValue, options, onChange, }) => {
8447
8466
  }) }) }));
8448
8467
  };
8449
8468
 
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
-
8470
8469
  const Rating = ({ rating, ...props }) => {
8471
8470
  const percent = `calc((${rating.toString()} - 0.16) / 5 * 100%)`;
8472
8471
  const recipe = react.useRecipe({ key: 'rating' });