@vodafone_de/brix-components 7.1.6 → 7.1.7

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 (45) hide show
  1. package/dist/TableHead-C9Nyap9H.js +109 -0
  2. package/dist/TableWrapper-BlScbDc6.js +25 -0
  3. package/dist/components/Carousel/index.js +1 -1
  4. package/dist/components/DiscoveryCard/index.js +4 -3
  5. package/dist/components/FilterGroup/index.js +1 -1
  6. package/dist/components/FootnoteLink/index.js +1 -1
  7. package/dist/components/IconSnippet/index.js +1 -1
  8. package/dist/components/ImageHeader/index.js +2 -2
  9. package/dist/components/Legend/index.js +2 -12
  10. package/dist/components/LoadingSpinner/index.js +1 -1
  11. package/dist/components/MediaText/index.js +1 -1
  12. package/dist/components/Notification/index.js +1 -1
  13. package/dist/components/OpenTextFootnoteAdapter/index.js +1 -1
  14. package/dist/components/PickerGroup/index.js +1 -1
  15. package/dist/components/Price/index.js +2 -2
  16. package/dist/components/ProductCard/index.js +1 -1
  17. package/dist/components/Rating/index.js +10 -9
  18. package/dist/components/RichText/index.js +1 -1
  19. package/dist/components/RichtTextContentful/index.js +1 -1
  20. package/dist/components/ScreenreaderOnly/index.js +14 -3
  21. package/dist/components/Table/TableContext.d.ts +12 -0
  22. package/dist/components/Table/components/TableBody.d.ts +4 -0
  23. package/dist/components/Table/components/TableCell.d.ts +4 -0
  24. package/dist/components/Table/components/TableFoot.d.ts +4 -0
  25. package/dist/components/Table/components/TableHead.d.ts +7 -0
  26. package/dist/components/Table/components/TableWrapper.d.ts +4 -0
  27. package/dist/components/Table/index.d.ts +8 -0
  28. package/dist/components/Table/index.js +13 -0
  29. package/dist/components/Table/props.d.ts +30 -0
  30. package/dist/components/Table/styled.d.ts +6 -0
  31. package/dist/components/TabularPrice/index.js +2 -2
  32. package/dist/components/TextList/index.js +1 -1
  33. package/dist/contentful/index.js +2 -1
  34. package/dist/contentful/live-preview-inspector/index.js +1 -1
  35. package/dist/contentful/live-preview-renderer/index.js +1 -1
  36. package/dist/contentful/renderer/index.js +1 -1
  37. package/dist/{index-7A9g1r9L.js → index-B5p4bosD.js} +72 -1
  38. package/dist/{index-BjtnAuPr.js → index-C69TqGKE.js} +1 -1
  39. package/dist/index.d.ts +2 -0
  40. package/dist/index.js +171 -161
  41. package/dist/{mapContentToComponents-BobPnbKM.js → mapContentToComponents-DRp1r1ht.js} +2 -1
  42. package/dist/screenreaderOnly-Dv2v6MAr.js +11 -0
  43. package/dist/styled-CH1kr8ZR.js +14 -0
  44. package/package.json +1 -1
  45. package/dist/index-B2VrT4fo.js +0 -24
@@ -0,0 +1,109 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { createContext, useContext } from "react";
3
+ import styled from "styled-components";
4
+ import { v as viewport } from "./index-Ck2bCrhT.js";
5
+ import { getBorderColor } from "./foundations/token/getBorderColor/index.js";
6
+ import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
7
+ import { getSpacing } from "./foundations/token/getSpacing/index.js";
8
+ import { getTextColor } from "./foundations/token/getTextColor/index.js";
9
+ import { f as colorBorderSubtle, a as colorBorderNeutral } from "./BorderColor-CYdSW9dg.js";
10
+ import { a as fontWeightBold, f as fontWeightRegular } from "./FontWeight-C2pGs7aR.js";
11
+ import { c as spacingSm } from "./Spacing-BMQelJYr.js";
12
+ import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
13
+ const TableWrapperDiv = styled.div.withConfig({
14
+ displayName: "TableWrapperDiv",
15
+ componentId: "sc-wxnzfr-0"
16
+ })({
17
+ overflowX: "auto"
18
+ });
19
+ const TableStyled = styled.table.withConfig({
20
+ displayName: "TableStyled",
21
+ componentId: "sc-wxnzfr-1"
22
+ })({
23
+ width: "100%",
24
+ overflow: "auto"
25
+ });
26
+ const cellAlign = {
27
+ left: "left",
28
+ right: "right"
29
+ };
30
+ const TableCellStyled = styled.td.withConfig({
31
+ displayName: "TableCellStyled",
32
+ componentId: "sc-wxnzfr-2"
33
+ })(({
34
+ align,
35
+ as
36
+ }) => ({
37
+ padding: `${getSpacing(spacingSm)}`,
38
+ textAlign: cellAlign[align],
39
+ color: getTextColor(colorTextNeutral),
40
+ borderBottom: `1px solid ${as === "th" ? getBorderColor(colorBorderNeutral) : getBorderColor(colorBorderSubtle)}`,
41
+ fontWeight: as === "th" ? getFontWeight(fontWeightBold) : getFontWeight(fontWeightRegular),
42
+ minWidth: 180,
43
+ wordBreak: "break-word",
44
+ whiteSpace: "normal",
45
+ overflowWrap: "break-word",
46
+ ...viewport.lg({
47
+ minWidth: 248
48
+ }),
49
+ // Style for tfoot cells
50
+ "tfoot &": {
51
+ borderBottom: `1px solid ${getBorderColor(colorBorderSubtle)}`,
52
+ fontWeight: getFontWeight(fontWeightBold)
53
+ }
54
+ }));
55
+ const TableCell = ({
56
+ children,
57
+ align = "left",
58
+ colSpan,
59
+ as = "td",
60
+ scope,
61
+ ...rest
62
+ }) => {
63
+ return /* @__PURE__ */ jsx(TableCellStyled, { as, align, colSpan, scope, ...rest, children });
64
+ };
65
+ const TableContext = createContext({});
66
+ const TableProvider = ({
67
+ columns,
68
+ children
69
+ }) => /* @__PURE__ */ jsx(TableContext.Provider, { value: {
70
+ columns
71
+ }, children });
72
+ const TableBody = ({
73
+ rows,
74
+ sideHeader
75
+ }) => {
76
+ const {
77
+ columns
78
+ } = useContext(TableContext);
79
+ return /* @__PURE__ */ jsx("tbody", { children: rows.map((row) => /* @__PURE__ */ jsx("tr", { children: row.cells.map((cell, i) => {
80
+ var _a;
81
+ const align = ((_a = columns == null ? void 0 : columns[i]) == null ? void 0 : _a.align) || "left";
82
+ if (sideHeader && i === 0) {
83
+ return /* @__PURE__ */ jsx(TableCell, { as: "th", scope: "row", align, children: cell.children }, row.key + "-" + i);
84
+ }
85
+ return /* @__PURE__ */ jsx(TableCell, { align, children: cell.children }, row.key + "-" + i);
86
+ }) }, row.key)) });
87
+ };
88
+ TableBody.displayName = "TableBody";
89
+ const TableFoot = ({
90
+ cells
91
+ }) => /* @__PURE__ */ jsx("tfoot", { children: /* @__PURE__ */ jsx("tr", { children: cells.map((cell, i) => /* @__PURE__ */ jsx(TableCell, { ...cell, as: "td", children: cell.children }, "foot-" + i)) }) });
92
+ TableFoot.displayName = "TableFoot";
93
+ const TableHead = ({
94
+ columns
95
+ }) => {
96
+ if (!columns) return null;
97
+ return /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx("tr", { children: columns.map((col) => /* @__PURE__ */ jsx(TableCell, { align: col.align, as: "th", scope: "col", children: col.label }, col.key)) }) });
98
+ };
99
+ TableHead.displayName = "TableHead";
100
+ export {
101
+ TableHead as T,
102
+ TableBody as a,
103
+ TableFoot as b,
104
+ TableCell as c,
105
+ TableContext as d,
106
+ TableProvider as e,
107
+ TableWrapperDiv as f,
108
+ TableStyled as g
109
+ };
@@ -0,0 +1,25 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { Children, isValidElement } from "react";
3
+ import { e as TableProvider, f as TableWrapperDiv, g as TableStyled } from "./TableHead-C9Nyap9H.js";
4
+ const allowedTypes = ["TableHead", "TableBody", "TableFoot"];
5
+ const TableWrapper = ({
6
+ children,
7
+ ...rest
8
+ }) => {
9
+ let columns = void 0;
10
+ Children.forEach(children, (child) => {
11
+ if (isValidElement(child) && typeof child.type === "function" && child.type.displayName === "TableHead") {
12
+ const head = child;
13
+ columns = head.props.columns;
14
+ }
15
+ });
16
+ const filteredChildren = Children.map(children, (child) => {
17
+ if (!isValidElement(child)) return null;
18
+ const typeName = typeof child.type === "function" && child.type.displayName;
19
+ return allowedTypes.includes(typeName || "") ? child : null;
20
+ });
21
+ return /* @__PURE__ */ jsx(TableProvider, { columns, children: /* @__PURE__ */ jsx(TableWrapperDiv, { ...rest, children: /* @__PURE__ */ jsx(TableStyled, { role: "table", children: filteredChildren }) }) });
22
+ };
23
+ export {
24
+ TableWrapper as T
25
+ };
@@ -18,7 +18,7 @@ import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
18
18
  import { a as colorObjectBrand, g as colorObjectUnselected } from "../../ObjectColor-0RAzLGI5.js";
19
19
  import { a as filterProps } from "../../filterProps-CTn92eZw.js";
20
20
  import IconButton from "../IconButton/index.js";
21
- import { S as ScreenreaderOnly } from "../../index-B2VrT4fo.js";
21
+ import ScreenreaderOnly from "../ScreenreaderOnly/index.js";
22
22
  const getItems = (items, loop) => {
23
23
  const normalizedItems = [...items].map((item, index) => ({
24
24
  ...item,
@@ -5,8 +5,8 @@ import Badge from "../Badge/index.js";
5
5
  import Body, { bodyAlignLeft, bodyAlignCenter } from "../Body/index.js";
6
6
  import Heading from "../Heading/index.js";
7
7
  import Link from "../Link/index.js";
8
- import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-BjtnAuPr.js";
9
- import { R as RichText } from "../../index-7A9g1r9L.js";
8
+ import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-C69TqGKE.js";
9
+ import { R as RichText } from "../../index-B5p4bosD.js";
10
10
  import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
11
11
  import { b as textHeadingSm } from "../../HeadingSize-CfCRn3Lh.js";
12
12
  import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
@@ -15,13 +15,14 @@ import "../../NotificationErrorIcon-DMnAJgPN.js";
15
15
  import "../../styled-RnVr222F.js";
16
16
  import "html-react-parser";
17
17
  import { b as BadgeStyled } from "../../styled-B-_SmQSA.js";
18
- import "../../index-B2VrT4fo.js";
18
+ import "../ScreenreaderOnly/index.js";
19
19
  import "../FootnoteLink/index.js";
20
20
  import "../../styled-VAsSnb5y.js";
21
21
  import "../../styled-q7r_5eaz.js";
22
22
  import { a as LinkStyled } from "../../index-M27FMM9r.js";
23
23
  import "../../hooks/useLinkComponent/index.js";
24
24
  import "../InlineLink/index.js";
25
+ import "../../TableHead-C9Nyap9H.js";
25
26
  import "../../styled-DJWrbsIZ.js";
26
27
  import styled from "styled-components";
27
28
  import Card from "../Card/index.js";
@@ -6,7 +6,7 @@ import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
6
6
  import "../../styled-RnVr222F.js";
7
7
  import styled from "styled-components";
8
8
  import { I as IconLoader } from "../../index-C3dW-7e_.js";
9
- import { s as screenreaderOnly } from "../../index-B2VrT4fo.js";
9
+ import { s as screenreaderOnly } from "../../screenreaderOnly-Dv2v6MAr.js";
10
10
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
11
11
  import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
12
12
  import { getBodySize } from "../../foundations/token/getBodySize/index.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs, jsx } from "react/jsx-runtime";
3
- import { S as ScreenreaderOnly } from "../../index-B2VrT4fo.js";
3
+ import ScreenreaderOnly from "../ScreenreaderOnly/index.js";
4
4
  import styled from "styled-components";
5
5
  import InlineLink from "../InlineLink/index.js";
6
6
  import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
@@ -6,7 +6,7 @@ import { d as iconSizeLg, g as iconSize3xl, b as iconSizeSm } from "../../props-
6
6
  import "../../styled-RnVr222F.js";
7
7
  import InlineLink from "../InlineLink/index.js";
8
8
  import Link from "../Link/index.js";
9
- import { R as RichText } from "../../index-7A9g1r9L.js";
9
+ import { R as RichText } from "../../index-B5p4bosD.js";
10
10
  import { d as divTagName } from "../../tags-38kBhOn6.js";
11
11
  import { c as spacingSm, a as spacingMd, s as spacingNone, b as spacingXs } from "../../Spacing-BMQelJYr.js";
12
12
  import styled from "styled-components";
@@ -4,8 +4,8 @@ import Body from "../Body/index.js";
4
4
  import Button from "../Button/index.js";
5
5
  import Container from "../Container/index.js";
6
6
  import Heading from "../Heading/index.js";
7
- import { P as Price, b as priceSizeSm } from "../../index-BjtnAuPr.js";
8
- import { R as RichText } from "../../index-7A9g1r9L.js";
7
+ import { P as Price, b as priceSizeSm } from "../../index-C69TqGKE.js";
8
+ import { R as RichText } from "../../index-B5p4bosD.js";
9
9
  import { b as fontWeightLight } from "../../FontWeight-C2pGs7aR.js";
10
10
  import { m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
11
11
  import { a as spacingMd, c as spacingSm, d as spacingXl, b as spacingXs, e as spacing2Xs, s as spacingNone } from "../../Spacing-BMQelJYr.js";
@@ -3,18 +3,8 @@ import { jsx, Fragment } from "react/jsx-runtime";
3
3
  import Body from "../Body/index.js";
4
4
  import Heading from "../Heading/index.js";
5
5
  import IconSnippet, { iconSnippetAlignCenter } from "../IconSnippet/index.js";
6
- import { R as RichText } from "../../index-7A9g1r9L.js";
7
- import styled from "styled-components";
8
- const LegendStyled = styled.legend.withConfig({
9
- displayName: "LegendStyled",
10
- componentId: "sc-1vyrzt5-0"
11
- })({
12
- /**
13
- * minimal hack to disable the wired position of a legend in a fieldset
14
- */
15
- all: "unset",
16
- width: "100%"
17
- });
6
+ import { R as RichText } from "../../index-B5p4bosD.js";
7
+ import { L as LegendStyled } from "../../styled-CH1kr8ZR.js";
18
8
  const Legend = ({
19
9
  contents,
20
10
  ...props
@@ -2,7 +2,7 @@
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import { useState, useEffect } from "react";
4
4
  import { createPortal } from "react-dom";
5
- import { S as ScreenreaderOnly } from "../../index-B2VrT4fo.js";
5
+ import ScreenreaderOnly from "../ScreenreaderOnly/index.js";
6
6
  import { L as LoadingSpinnerSVGStyled, a as LoadingSpinnerPathXsStyled, b as LoadingSpinnerPathOuter3Styled, c as LoadingSpinnerPathOuter2Styled, d as LoadingSpinnerPathOuter1Styled, e as LoadingSpinnerPathCenterStyled, f as LoadingSpinnerContainerStyled, g as LoadingSpinnerContentStyled, h as LoadingSpinnerLabelStyled, i as LoadingSpinnerChildrenStyled } from "../../styled-U9du2n1i.js";
7
7
  const LoadingSpinnerSVG = ({
8
8
  size = "lg",
@@ -6,7 +6,7 @@ import FlexItem from "../FlexItem/index.js";
6
6
  import Heading from "../Heading/index.js";
7
7
  import Image, { aspectRatio16_9 } from "../Image/index.js";
8
8
  import Link from "../Link/index.js";
9
- import { R as RichText } from "../../index-7A9g1r9L.js";
9
+ import { R as RichText } from "../../index-B5p4bosD.js";
10
10
  import YoutubeVideo from "../YoutubeVideo/index.js";
11
11
  import { p as pTagName, u as ulTagName, d as divTagName, l as liTagName } from "../../tags-38kBhOn6.js";
12
12
  import { f as fontWeightRegular } from "../../FontWeight-C2pGs7aR.js";
@@ -9,7 +9,7 @@ import { I as IconLoader } from "../../index-C3dW-7e_.js";
9
9
  import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
10
10
  import "../../styled-RnVr222F.js";
11
11
  import Link from "../Link/index.js";
12
- import { R as RichText } from "../../index-7A9g1r9L.js";
12
+ import { R as RichText } from "../../index-B5p4bosD.js";
13
13
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
14
14
  import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
15
15
  import { e as colorBorderCritical, g as colorBorderWarning, d as colorBorderSuccess, k as colorBorderInformation } from "../../BorderColor-CYdSW9dg.js";
@@ -5,7 +5,7 @@ import AccordionGroup from "../AccordionGroup/index.js";
5
5
  import Container from "../Container/index.js";
6
6
  import FootnoteContent from "../FootnoteContent/index.js";
7
7
  import Heading from "../Heading/index.js";
8
- import { R as RichText } from "../../index-7A9g1r9L.js";
8
+ import { R as RichText } from "../../index-B5p4bosD.js";
9
9
  import { b as textHeadingSm, c as textHeadingLg } from "../../HeadingSize-CfCRn3Lh.js";
10
10
  import { h as h3TagName } from "../../tags-38kBhOn6.js";
11
11
  const getFootnoteContent = (content, footnoteContentBacklinkText) => {
@@ -15,7 +15,7 @@ import { I as IconLoader } from "../../index-C3dW-7e_.js";
15
15
  import Image, { aspectRatio1_1 } from "../Image/index.js";
16
16
  import { v as viewport } from "../../index-Ck2bCrhT.js";
17
17
  import GridItem from "../GridItem/index.js";
18
- import { s as screenreaderOnly } from "../../index-B2VrT4fo.js";
18
+ import { s as screenreaderOnly } from "../../screenreaderOnly-Dv2v6MAr.js";
19
19
  import forcedColors from "../../foundations/media-query/forcedColors/index.js";
20
20
  import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
21
21
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import "../../index-B2VrT4fo.js";
4
- import { c, P, g, f, p, a, e, d, b } from "../../index-BjtnAuPr.js";
3
+ import "../ScreenreaderOnly/index.js";
4
+ import { c, P, g, f, p, a, e, d, b } from "../../index-C69TqGKE.js";
5
5
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
6
6
  export {
7
7
  c as createScreenReaderText,
@@ -9,7 +9,7 @@ import Image, { aspectRatio1_1 } from "../Image/index.js";
9
9
  import { d as iconSizeLg } from "../../props-7dcsjRUx.js";
10
10
  import "../../styled-RnVr222F.js";
11
11
  import Link from "../Link/index.js";
12
- import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-BjtnAuPr.js";
12
+ import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-C69TqGKE.js";
13
13
  import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
14
14
  import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
15
15
  import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
@@ -1,11 +1,10 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { useState, useEffect, useRef } from "react";
4
- import Legend from "../Legend/index.js";
5
4
  import styled from "styled-components";
6
5
  import { v as viewport } from "../../index-Ck2bCrhT.js";
7
6
  import { a as filterProps } from "../../filterProps-CTn92eZw.js";
8
- import { s as screenreaderOnly } from "../../index-B2VrT4fo.js";
7
+ import { s as screenreaderOnly } from "../../screenreaderOnly-Dv2v6MAr.js";
9
8
  import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
10
9
  import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
11
10
  import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
@@ -17,10 +16,14 @@ import { c as colorBorderFocus, j as colorBorderSelected, a as colorBorderNeutra
17
16
  import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
18
17
  import { d as colorObjectSelected } from "../../ObjectColor-0RAzLGI5.js";
19
18
  import { b as spacingXs } from "../../Spacing-BMQelJYr.js";
20
- const StarStyled = styled.svg.withConfig({
19
+ import { L as LegendStyled } from "../../styled-CH1kr8ZR.js";
20
+ const StarSvg = () => {
21
+ return /* @__PURE__ */ jsx(StarSvgStyled, { viewBox: "0 0 26 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("path", { d: "M1 9.95223L9.26911 8.58599L12.8296 1L16.6847 8.44108L25 9.48408L19.1147 15.449L20.6911 23.6799L13.199 19.9252L5.85987 23.9682L7.11465 15.6831L1 9.95223Z", fill: "white", stroke: "#7E7E7E", strokeLinecap: "round", strokeLinejoin: "round" }) });
22
+ };
23
+ const StarSvgStyled = styled.svg.withConfig({
21
24
  shouldForwardProp: filterProps(),
22
- displayName: "StarStyled",
23
- componentId: "sc-joexcb-0"
25
+ displayName: "StarSvgStyled",
26
+ componentId: "sc-iheyat-0"
24
27
  })({
25
28
  display: "inline-block",
26
29
  width: "24px",
@@ -30,7 +33,6 @@ const StarStyled = styled.svg.withConfig({
30
33
  height: "30.624px"
31
34
  })
32
35
  });
33
- const Star = () => /* @__PURE__ */ jsx(StarStyled, { viewBox: "0 0 26 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("path", { d: "M1 9.95223L9.26911 8.58599L12.8296 1L16.6847 8.44108L25 9.48408L19.1147 15.449L20.6911 23.6799L13.199 19.9252L5.85987 23.9682L7.11465 15.6831L1 9.95223Z", fill: "white", stroke: "#7E7E7E", strokeLinecap: "round", strokeLinejoin: "round" }) });
34
36
  const RatingFieldsetStyled = styled.fieldset.withConfig({
35
37
  shouldForwardProp: filterProps(),
36
38
  displayName: "RatingFieldsetStyled",
@@ -107,7 +109,6 @@ const Rating = ({
107
109
  groupName,
108
110
  uid,
109
111
  component: _component,
110
- legend,
111
112
  ...props
112
113
  }) => {
113
114
  const [internalValue, setInternalValue] = useState(value ?? 0);
@@ -140,13 +141,13 @@ const Rating = ({
140
141
  };
141
142
  const ref = useRef(null);
142
143
  return /* @__PURE__ */ jsxs(RatingFieldsetStyled, { ...props, uid, ref, children: [
143
- legend && /* @__PURE__ */ jsx(Legend, { ...legend }),
144
+ /* @__PURE__ */ jsx(LegendStyled, { ...props.legend }),
144
145
  /* @__PURE__ */ jsx(StarsWrapperStyled, { className, role: "radiogroup", children: [...Array(5)].map((_, index) => {
145
146
  const starValue = index + 1;
146
147
  const isInHoverRange = hoverValue !== null && starValue <= hoverValue;
147
148
  return /* @__PURE__ */ jsxs(StarLabelStyled, { selected: starValue <= internalValue, isInHoverRange, htmlFor: `${uid}-star-${starValue}`, onMouseEnter: () => handleMouseEnter(index), onMouseLeave: handleMouseLeave, "aria-label": `${starValue} von 5 Sternen`, children: [
148
149
  /* @__PURE__ */ jsx(HiddenRadioStyled, { type: "radio", id: `${uid}-star-${starValue}`, name: groupName || uid, value: starValue, checked: starValue === internalValue, onChange: handleChange, onClick: () => handleClick(starValue) }),
149
- /* @__PURE__ */ jsx(Star, {})
150
+ /* @__PURE__ */ jsx(StarSvg, {})
150
151
  ] }, `star-${starValue}-${uid}`);
151
152
  }) })
152
153
  ] });
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
- import { R } from "../../index-7A9g1r9L.js";
4
+ import { R } from "../../index-B5p4bosD.js";
5
5
  export {
6
6
  R as default
7
7
  };
@@ -5,7 +5,7 @@ import Body from "../Body/index.js";
5
5
  import Divider from "../Divider/index.js";
6
6
  import Heading from "../Heading/index.js";
7
7
  import InlineLink from "../InlineLink/index.js";
8
- import { a as TextListItem, T as TextList } from "../../index-7A9g1r9L.js";
8
+ import { a as TextListItem, T as TextList } from "../../index-B5p4bosD.js";
9
9
  const getOptions = (paragraphSpacing = void 0) => {
10
10
  const options = {
11
11
  renderMark: {
@@ -1,6 +1,17 @@
1
1
  "use client";
2
- import "react/jsx-runtime";
3
- import { S } from "../../index-B2VrT4fo.js";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import styled from "styled-components";
4
+ import { s as screenreaderOnly } from "../../screenreaderOnly-Dv2v6MAr.js";
5
+ import { a as filterProps } from "../../filterProps-CTn92eZw.js";
6
+ const ScreenReaderOnlyStyled = styled.span.withConfig({
7
+ shouldForwardProp: filterProps(),
8
+ displayName: "ScreenReaderOnlyStyled",
9
+ componentId: "sc-1r7az4k-0"
10
+ })(screenreaderOnly);
11
+ const ScreenreaderOnly = ({
12
+ children,
13
+ ...props
14
+ }) => /* @__PURE__ */ jsx(ScreenReaderOnlyStyled, { ...props, children });
4
15
  export {
5
- S as default
16
+ ScreenreaderOnly as default
6
17
  };
@@ -0,0 +1,12 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { TableColumn } from './props';
3
+ export type TableContextType = {
4
+ columns?: TableColumn[];
5
+ };
6
+ export declare const TableContext: import('react').Context<TableContextType>;
7
+ interface TableProviderProps {
8
+ columns?: TableColumn[];
9
+ children: ReactNode;
10
+ }
11
+ export declare const TableProvider: FC<TableProviderProps>;
12
+ export {};
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { TableBodyProps } from '../props';
3
+ declare const TableBody: FC<TableBodyProps>;
4
+ export default TableBody;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { TableCellProps } from '../props';
3
+ declare const TableCell: FC<TableCellProps>;
4
+ export default TableCell;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { TableFootProps } from '../props';
3
+ declare const TableFoot: FC<TableFootProps>;
4
+ export default TableFoot;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { TableColumn } from '../props';
3
+ type TableHeadProps = {
4
+ columns?: TableColumn[];
5
+ };
6
+ declare const TableHead: FC<TableHeadProps>;
7
+ export default TableHead;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { TableWrapperProps } from '../props';
3
+ declare const TableWrapper: FC<TableWrapperProps>;
4
+ export default TableWrapper;
@@ -0,0 +1,8 @@
1
+ import { default as TableBody } from './components/TableBody';
2
+ import { default as TableCell } from './components/TableCell';
3
+ import { default as TableFoot } from './components/TableFoot';
4
+ import { default as TableHead } from './components/TableHead';
5
+ import { default as TableWrapper } from './components/TableWrapper';
6
+ import { TableContext, TableProvider } from './TableContext';
7
+ export { TableWrapper, TableHead, TableBody, TableFoot, TableCell, TableContext, TableProvider };
8
+ export default TableWrapper;
@@ -0,0 +1,13 @@
1
+ "use client";
2
+ import { a, c, d, b, T, e } from "../../TableHead-C9Nyap9H.js";
3
+ import { T as TableWrapper } from "../../TableWrapper-BlScbDc6.js";
4
+ export {
5
+ a as TableBody,
6
+ c as TableCell,
7
+ d as TableContext,
8
+ b as TableFoot,
9
+ T as TableHead,
10
+ e as TableProvider,
11
+ TableWrapper,
12
+ TableWrapper as default
13
+ };
@@ -0,0 +1,30 @@
1
+ import { HTMLAttributes, ReactNode, ReactElement } from 'react';
2
+ import { PatternProps } from '../../foundations/PatternProps';
3
+ export type TableColumn = {
4
+ key: string;
5
+ label: ReactNode;
6
+ align?: 'left' | 'right';
7
+ };
8
+ export interface TableCellProps extends PatternProps, HTMLAttributes<HTMLTableCellElement> {
9
+ children: ReactNode;
10
+ align?: 'left' | 'right';
11
+ colSpan?: number;
12
+ as?: 'td' | 'th';
13
+ scope?: string;
14
+ }
15
+ export interface TableHeadProps {
16
+ columns: TableColumn[];
17
+ }
18
+ export interface TableBodyProps {
19
+ rows: Array<{
20
+ key: string;
21
+ cells: TableCellProps[];
22
+ }>;
23
+ sideHeader?: boolean;
24
+ }
25
+ export interface TableFootProps {
26
+ cells: TableCellProps[];
27
+ }
28
+ export interface TableWrapperProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
29
+ children?: ReactElement | ReactElement[];
30
+ }
@@ -0,0 +1,6 @@
1
+ export declare const TableWrapperDiv: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const TableStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, never>> & string;
3
+ export declare const TableCellStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
4
+ align: "left" | "right";
5
+ as: "td" | "th";
6
+ }>> & string;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { T } from "../../index-BjtnAuPr.js";
4
- import "../../index-B2VrT4fo.js";
3
+ import { T } from "../../index-C69TqGKE.js";
4
+ import "../ScreenreaderOnly/index.js";
5
5
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
6
6
  export {
7
7
  T as default
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { a, T } from "../../index-7A9g1r9L.js";
3
+ import { a, T } from "../../index-B5p4bosD.js";
4
4
  import "../../tags-38kBhOn6.js";
5
5
  import "../../Spacing-BMQelJYr.js";
6
6
  import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
3
  import "@contentful/live-preview/react";
4
- import "../index-B2VrT4fo.js";
4
+ import "../components/ScreenreaderOnly/index.js";
5
5
  import "../components/FootnoteLink/index.js";
6
6
  import "html-react-parser";
7
7
  import "../components/Body/index.js";
@@ -19,4 +19,5 @@ import "../styled-BlHKbHF4.js";
19
19
  import "../styled-DOK4C5Ml.js";
20
20
  import "../styled-D8a-ap4J.js";
21
21
  import "../components/InlineLink/index.js";
22
+ import "../TableHead-C9Nyap9H.js";
22
23
  import "../styled-DJWrbsIZ.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
3
  import "@contentful/live-preview/react";
4
- import { L } from "../../mapContentToComponents-BobPnbKM.js";
4
+ import { L } from "../../mapContentToComponents-DRp1r1ht.js";
5
5
  export {
6
6
  L as LivePreviewInspector
7
7
  };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, Fragment } from "react/jsx-runtime";
3
3
  import { useContentfulLiveUpdates, ContentfulLivePreviewProvider } from "@contentful/live-preview/react";
4
- import { m as mapContentToComponents } from "../../mapContentToComponents-BobPnbKM.js";
4
+ import { m as mapContentToComponents } from "../../mapContentToComponents-DRp1r1ht.js";
5
5
  const BrixLiveRendererComponents = ({
6
6
  data
7
7
  }) => {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx, Fragment } from "react/jsx-runtime";
3
3
  import LivePreviewRenderer from "../live-preview-renderer/index.js";
4
- import { m as mapContentToComponents } from "../../mapContentToComponents-BobPnbKM.js";
4
+ import { m as mapContentToComponents } from "../../mapContentToComponents-DRp1r1ht.js";
5
5
  const Renderer = ({
6
6
  content,
7
7
  isDraftMode