@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
@@ -1,10 +1,12 @@
1
- import { jsx, Fragment } from "react/jsx-runtime";
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { cloneElement } from "react";
3
3
  import parse, { Element, domToReact } from "html-react-parser";
4
4
  import Body from "./components/Body/index.js";
5
5
  import FootnoteLink from "./components/FootnoteLink/index.js";
6
6
  import Heading from "./components/Heading/index.js";
7
7
  import InlineLink from "./components/InlineLink/index.js";
8
+ import { T as TableHead, a as TableBody, b as TableFoot } from "./TableHead-C9Nyap9H.js";
9
+ import { T as TableWrapper } from "./TableWrapper-BlScbDc6.js";
8
10
  import { k as headingHtmlTags, o as olTagName, q as strongTagName, r as supTagName, u as ulTagName } from "./tags-38kBhOn6.js";
9
11
  import { s as spacingNone } from "./Spacing-BMQelJYr.js";
10
12
  import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
@@ -36,6 +38,75 @@ const getOptions = (paragraphSpacing, additionalProps = {}) => {
36
38
  if ("ul" === domNode.name) {
37
39
  return /* @__PURE__ */ jsx(TextList, { ...additionalProps.ul, children: domToReact(domNode.children, options) });
38
40
  }
41
+ if (domNode.name === "table") {
42
+ const thead = domNode.children.find((child) => child instanceof Element && child.name === "thead");
43
+ const tbody = domNode.children.find((child) => child instanceof Element && child.name === "tbody");
44
+ const tfoot = domNode.children.find((child) => child instanceof Element && child.name === "tfoot");
45
+ let columns = [];
46
+ if (thead) {
47
+ const tr = thead.children.find((child) => child instanceof Element && child.name === "tr");
48
+ if (tr) {
49
+ columns = tr.children.filter((child) => child instanceof Element && child.name === "th").map((th, i) => {
50
+ const attribs = th.attribs || {};
51
+ const align = attribs.align === "right" ? "right" : attribs.align === "left" ? "left" : void 0;
52
+ return {
53
+ key: attribs.key || `col${i}`,
54
+ label: domToReact(th.children, options),
55
+ align
56
+ };
57
+ });
58
+ }
59
+ }
60
+ let rows = [];
61
+ let sideHeader = false;
62
+ if (tbody) {
63
+ if (tbody.attribs && typeof tbody.attribs.sideheader !== "undefined") {
64
+ sideHeader = tbody.attribs.sideheader === "" || tbody.attribs.sideheader === "true";
65
+ }
66
+ rows = tbody.children.filter((child) => child instanceof Element && child.name === "tr").map((tr, i) => ({
67
+ key: `row${i}`,
68
+ cells: tr.children.filter((cell) => cell instanceof Element && (cell.name === "td" || cell.name === "th")).map((cell) => {
69
+ const attribs = cell.attribs || {};
70
+ const align = attribs.align === "right" ? "right" : attribs.align === "left" ? "left" : void 0;
71
+ const as = cell.name === "th" ? "th" : "td";
72
+ const colSpan = attribs.colspan ? parseInt(attribs.colspan, 10) : void 0;
73
+ const scope = attribs.scope;
74
+ return {
75
+ children: domToReact(cell.children, options),
76
+ align,
77
+ as,
78
+ colSpan,
79
+ scope
80
+ };
81
+ })
82
+ }));
83
+ }
84
+ let footCells = [];
85
+ if (tfoot) {
86
+ const tr = tfoot.children.find((child) => child instanceof Element && child.name === "tr");
87
+ if (tr) {
88
+ footCells = tr.children.filter((cell) => cell instanceof Element && (cell.name === "td" || cell.name === "th")).map((cell) => {
89
+ const attribs = cell.attribs || {};
90
+ const align = attribs.align === "right" ? "right" : attribs.align === "left" ? "left" : void 0;
91
+ const as = cell.name === "th" ? "th" : "td";
92
+ const colSpan = attribs.colspan ? parseInt(attribs.colspan, 10) : void 0;
93
+ const scope = attribs.scope;
94
+ return {
95
+ children: domToReact(cell.children, options),
96
+ align,
97
+ as,
98
+ colSpan,
99
+ scope
100
+ };
101
+ });
102
+ }
103
+ }
104
+ return /* @__PURE__ */ jsxs(TableWrapper, { children: [
105
+ /* @__PURE__ */ jsx(TableHead, { columns }),
106
+ /* @__PURE__ */ jsx(TableBody, { rows, sideHeader }),
107
+ footCells.length ? /* @__PURE__ */ jsx(TableFoot, { cells: footCells }) : void 0
108
+ ] });
109
+ }
39
110
  if ("strong" === domNode.name) {
40
111
  return /* @__PURE__ */ jsx(Body, { ...additionalProps.strong, tag: strongTagName, children: domToReact(domNode.children, options) });
41
112
  }
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { S as ScreenreaderOnly } from "./index-B2VrT4fo.js";
2
+ import ScreenreaderOnly from "./components/ScreenreaderOnly/index.js";
3
3
  import styled from "styled-components";
4
4
  import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
5
5
  import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
package/dist/index.d.ts CHANGED
@@ -10,6 +10,8 @@ export * from './components/TextList';
10
10
  export { default as TextList } from './components/TextList';
11
11
  export * from './components/TabularPrice';
12
12
  export { default as TabularPrice } from './components/TabularPrice';
13
+ export * from './components/Table';
14
+ export { default as Table } from './components/Table';
13
15
  export * from './components/TabGroup';
14
16
  export { default as TabGroup } from './components/TabGroup';
15
17
  export * from './components/Switch';
package/dist/index.js CHANGED
@@ -2,8 +2,10 @@ import { default as default2, YoutubeVideoIframeStyled, YoutubeVideoStyled } fro
2
2
  import { default as default3 } from "./components/Tray/index.js";
3
3
  import { default as default4 } from "./components/TimeInput/index.js";
4
4
  import { default as default5 } from "./components/Textarea/index.js";
5
- import { R, T, a } from "./index-7A9g1r9L.js";
6
- import { P, T as T2, c, g, f, p, a as a2, e, d, b } from "./index-BjtnAuPr.js";
5
+ import { R, T, a } from "./index-B5p4bosD.js";
6
+ import { P, T as T2, c, g, f, p, a as a2, e, d, b } from "./index-C69TqGKE.js";
7
+ import { a as a3, c as c2, d as d2, b as b2, T as T3, e as e2 } from "./TableHead-C9Nyap9H.js";
8
+ import { T as T4, T as T5 } from "./TableWrapper-BlScbDc6.js";
7
9
  import { PanelStyled, default as default6, TabGroupContainerStyled, TabGroupIndicatorStyled, TabGroupTabsScrollableContainerStyled, TabGroupTabsStyled, TabLabelStyled, TabStyled, iconPositionLeft, iconPositionTop, tabGroupWidthAuto, tabGroupWidthFull } from "./components/TabGroup/index.js";
8
10
  import { default as default7 } from "./components/Switch/index.js";
9
11
  import { default as default8 } from "./components/SuggestInput/index.js";
@@ -11,76 +13,76 @@ import { default as default9 } from "./components/Stepper/index.js";
11
13
  import { default as default10 } from "./components/SmoothScrollArea/index.js";
12
14
  import { default as default11 } from "./components/SelectInput/index.js";
13
15
  import { default as default12 } from "./components/SearchInput/index.js";
14
- import { S } from "./index-B2VrT4fo.js";
15
- import { default as default13 } from "./components/RichtTextContentful/index.js";
16
- import { default as default14 } from "./components/ResponsiveImage/index.js";
17
- import { HiddenRadioStyled, default as default15, RatingFieldsetStyled, StarLabelStyled, StarsWrapperStyled } from "./components/Rating/index.js";
18
- import { default as default16 } from "./components/RadioGroup/index.js";
19
- import { default as default17 } from "./components/QuickLinkList/index.js";
20
- import { default as default18 } from "./components/ProductCard/index.js";
21
- import { default as default19 } from "./components/PickerGroup/index.js";
22
- import { default as default20, overlayAppearancePrimary, overlayAppearanceSecondary } from "./components/Overlay/index.js";
23
- import { default as default21 } from "./components/OpenTextFootnoteAdapter/index.js";
24
- import { default as default22, notificationStatusError, notificationStatusInfo, notificationStatusSuccess, notificationStatusWarning } from "./components/Notification/index.js";
25
- import { default as default23, mediaTextPositionLeft, mediaTextPositionRight, mediaTextPositionTop } from "./components/MediaText/index.js";
26
- import { default as default24 } from "./components/LocalStyle/index.js";
27
- import { default as default25 } from "./components/LoadingSpinner/index.js";
28
- import { default as default26 } from "./components/LinkListItem/index.js";
29
- import { default as default27 } from "./components/LinkList/index.js";
16
+ import { default as default13 } from "./components/ScreenreaderOnly/index.js";
17
+ import { default as default14 } from "./components/RichtTextContentful/index.js";
18
+ import { default as default15 } from "./components/ResponsiveImage/index.js";
19
+ import { HiddenRadioStyled, default as default16, RatingFieldsetStyled, StarLabelStyled, StarsWrapperStyled } from "./components/Rating/index.js";
20
+ import { default as default17 } from "./components/RadioGroup/index.js";
21
+ import { default as default18 } from "./components/QuickLinkList/index.js";
22
+ import { default as default19 } from "./components/ProductCard/index.js";
23
+ import { default as default20 } from "./components/PickerGroup/index.js";
24
+ import { default as default21, overlayAppearancePrimary, overlayAppearanceSecondary } from "./components/Overlay/index.js";
25
+ import { default as default22 } from "./components/OpenTextFootnoteAdapter/index.js";
26
+ import { default as default23, notificationStatusError, notificationStatusInfo, notificationStatusSuccess, notificationStatusWarning } from "./components/Notification/index.js";
27
+ import { default as default24, mediaTextPositionLeft, mediaTextPositionRight, mediaTextPositionTop } from "./components/MediaText/index.js";
28
+ import { default as default25 } from "./components/LocalStyle/index.js";
29
+ import { default as default26 } from "./components/LoadingSpinner/index.js";
30
+ import { default as default27 } from "./components/LinkListItem/index.js";
31
+ import { default as default28 } from "./components/LinkList/index.js";
30
32
  import { L } from "./index-M27FMM9r.js";
31
- import { default as default28 } from "./components/Link/index.js";
32
- import { default as default29 } from "./components/Legend/index.js";
33
- import { default as default30 } from "./components/Label/index.js";
34
- import { default as default31 } from "./components/Input/index.js";
35
- import { default as default32 } from "./components/InlineLink/index.js";
36
- import { default as default33 } from "./components/InlineIcon/index.js";
37
- import { default as default34, infoBannerAppearancePrimary, infoBannerAppearanceSecondary, infoBannerAppearanceTertiary } from "./components/InfoBanner/index.js";
38
- import { default as default35, imageHeaderPositionLeft, imageHeaderPositionRight, imageHeaderVariantFull, imageHeaderVariantSplit } from "./components/ImageHeader/index.js";
39
- import { default as default36, aspectRatio16_9, aspectRatio1_1, aspectRatio21_9, aspectRatio32_9, aspectRatio48_9, aspectRatio4_3, horizontalAlignmentCenter, horizontalAlignmentLeft, horizontalAlignmentRight, objectFitContain, objectFitCover, objectFitNone, objectPositionCenter, objectPositionLeftBottom, objectPositionLeftCenter, objectPositionLeftTop, objectPositionRightBottom, objectPositionRightCenter, objectPositionRightTop } from "./components/Image/index.js";
40
- import { default as default37 } from "./components/IconSnippetList/index.js";
41
- import { default as default38, iconSnippetAlignCenter, iconSnippetAlignTop, iconSnippetPositionCenter, iconSnippetPositionLeft, iconSnippetSize3Xl, iconSnippetSizeLarge, iconSnippetSizeSmall } from "./components/IconSnippet/index.js";
42
- import { I, i, a as a3, v } from "./index-C3dW-7e_.js";
43
- import { default as default39, iconButtonShapeCircle, iconButtonShapeSquare } from "./components/IconButton/index.js";
44
- import { default as default40, iconSize6xl, iconSize7xl, iconSize8xl, iconSize9xl } from "./components/Icon/index.js";
45
- import { default as default41 } from "./components/HifiIcon/index.js";
46
- import { default as default42, headingSizes, headingTags, headingWeights, headlingAligns, isHeadingProps, validateHeadingProps } from "./components/Heading/index.js";
47
- import { default as default43, gridItemAligns, gridItemTags, isGridItemProps, validateGridItemProps } from "./components/GridItem/index.js";
48
- import { default as default44, GridContext, gridAligns, gridSpacings, gridTags, isGridConfig, isGridProps, validateGridColSpan, validateGridConfig, validateGridProps } from "./components/Grid/index.js";
49
- import { default as default45 } from "./components/GoogleMap/index.js";
50
- import { default as default46, inputStatusIcons } from "./components/FormHelperStatusIcon/index.js";
51
- import { default as default47 } from "./components/FormHelperMessage/index.js";
52
- import { default as default48 } from "./components/FormHelperLabel/index.js";
53
- import { default as default49 } from "./components/FormElement/index.js";
54
- import { default as default50 } from "./components/Form/index.js";
55
- import { default as default51 } from "./components/FootnoteLink/index.js";
56
- import { default as default52 } from "./components/FootnoteContent/index.js";
57
- import { default as default53, flexItemAutoGrow, flexItemFullGrow } from "./components/FlexItem/index.js";
58
- import { default as default54 } from "./components/Flex/index.js";
59
- import { default as default55 } from "./components/FilterGroup/index.js";
60
- import { default as default56 } from "./components/Fieldset/index.js";
61
- import { default as default57 } from "./components/Divider/index.js";
62
- import { default as default58 } from "./components/DiscoveryCardGroup/index.js";
63
- import { default as default59, discoveryCardOrientationHorizontal, discoveryCardOrientationVertical } from "./components/DiscoveryCard/index.js";
64
- import { default as default60 } from "./components/Dialog/index.js";
65
- import { default as default61 } from "./components/DemoBox/index.js";
66
- import { default as default62 } from "./components/DateInput/index.js";
67
- import { default as default63, containerAppearances, containerPaddings, isContainerProps, validateContainerProps } from "./components/Container/index.js";
68
- import { default as default64 } from "./components/ConsentMessage/index.js";
69
- import { default as default65 } from "./components/ColorSwatchGroup/index.js";
70
- import { default as default66, colorSwatchSizeMedium, colorSwatchSizeSmall } from "./components/ColorSwatch/index.js";
71
- import { default as default67 } from "./components/Collapsible/index.js";
72
- import { default as default68 } from "./components/CheckboxGroup/index.js";
73
- import { default as default69 } from "./components/Checkbox/index.js";
74
- import { default as default70 } from "./components/Carousel/index.js";
75
- import { default as default71 } from "./components/Card/index.js";
76
- import { default as default72 } from "./components/ButtonGroup/index.js";
33
+ import { default as default29 } from "./components/Link/index.js";
34
+ import { default as default30 } from "./components/Legend/index.js";
35
+ import { default as default31 } from "./components/Label/index.js";
36
+ import { default as default32 } from "./components/Input/index.js";
37
+ import { default as default33 } from "./components/InlineLink/index.js";
38
+ import { default as default34 } from "./components/InlineIcon/index.js";
39
+ import { default as default35, infoBannerAppearancePrimary, infoBannerAppearanceSecondary, infoBannerAppearanceTertiary } from "./components/InfoBanner/index.js";
40
+ import { default as default36, imageHeaderPositionLeft, imageHeaderPositionRight, imageHeaderVariantFull, imageHeaderVariantSplit } from "./components/ImageHeader/index.js";
41
+ import { default as default37, aspectRatio16_9, aspectRatio1_1, aspectRatio21_9, aspectRatio32_9, aspectRatio48_9, aspectRatio4_3, horizontalAlignmentCenter, horizontalAlignmentLeft, horizontalAlignmentRight, objectFitContain, objectFitCover, objectFitNone, objectPositionCenter, objectPositionLeftBottom, objectPositionLeftCenter, objectPositionLeftTop, objectPositionRightBottom, objectPositionRightCenter, objectPositionRightTop } from "./components/Image/index.js";
42
+ import { default as default38 } from "./components/IconSnippetList/index.js";
43
+ import { default as default39, iconSnippetAlignCenter, iconSnippetAlignTop, iconSnippetPositionCenter, iconSnippetPositionLeft, iconSnippetSize3Xl, iconSnippetSizeLarge, iconSnippetSizeSmall } from "./components/IconSnippet/index.js";
44
+ import { I, i, a as a4, v } from "./index-C3dW-7e_.js";
45
+ import { default as default40, iconButtonShapeCircle, iconButtonShapeSquare } from "./components/IconButton/index.js";
46
+ import { default as default41, iconSize6xl, iconSize7xl, iconSize8xl, iconSize9xl } from "./components/Icon/index.js";
47
+ import { default as default42 } from "./components/HifiIcon/index.js";
48
+ import { default as default43, headingSizes, headingTags, headingWeights, headlingAligns, isHeadingProps, validateHeadingProps } from "./components/Heading/index.js";
49
+ import { default as default44, gridItemAligns, gridItemTags, isGridItemProps, validateGridItemProps } from "./components/GridItem/index.js";
50
+ import { default as default45, GridContext, gridAligns, gridSpacings, gridTags, isGridConfig, isGridProps, validateGridColSpan, validateGridConfig, validateGridProps } from "./components/Grid/index.js";
51
+ import { default as default46 } from "./components/GoogleMap/index.js";
52
+ import { default as default47, inputStatusIcons } from "./components/FormHelperStatusIcon/index.js";
53
+ import { default as default48 } from "./components/FormHelperMessage/index.js";
54
+ import { default as default49 } from "./components/FormHelperLabel/index.js";
55
+ import { default as default50 } from "./components/FormElement/index.js";
56
+ import { default as default51 } from "./components/Form/index.js";
57
+ import { default as default52 } from "./components/FootnoteLink/index.js";
58
+ import { default as default53 } from "./components/FootnoteContent/index.js";
59
+ import { default as default54, flexItemAutoGrow, flexItemFullGrow } from "./components/FlexItem/index.js";
60
+ import { default as default55 } from "./components/Flex/index.js";
61
+ import { default as default56 } from "./components/FilterGroup/index.js";
62
+ import { default as default57 } from "./components/Fieldset/index.js";
63
+ import { default as default58 } from "./components/Divider/index.js";
64
+ import { default as default59 } from "./components/DiscoveryCardGroup/index.js";
65
+ import { default as default60, discoveryCardOrientationHorizontal, discoveryCardOrientationVertical } from "./components/DiscoveryCard/index.js";
66
+ import { default as default61 } from "./components/Dialog/index.js";
67
+ import { default as default62 } from "./components/DemoBox/index.js";
68
+ import { default as default63 } from "./components/DateInput/index.js";
69
+ import { default as default64, containerAppearances, containerPaddings, isContainerProps, validateContainerProps } from "./components/Container/index.js";
70
+ import { default as default65 } from "./components/ConsentMessage/index.js";
71
+ import { default as default66 } from "./components/ColorSwatchGroup/index.js";
72
+ import { default as default67, colorSwatchSizeMedium, colorSwatchSizeSmall } from "./components/ColorSwatch/index.js";
73
+ import { default as default68 } from "./components/Collapsible/index.js";
74
+ import { default as default69 } from "./components/CheckboxGroup/index.js";
75
+ import { default as default70 } from "./components/Checkbox/index.js";
76
+ import { default as default71 } from "./components/Carousel/index.js";
77
+ import { default as default72 } from "./components/Card/index.js";
78
+ import { default as default73 } from "./components/ButtonGroup/index.js";
77
79
  import { B } from "./index-DXRuQeDl.js";
78
- import { default as default73, buttonAutoWidth, buttonFullWidth } from "./components/Button/index.js";
79
- import { default as default74 } from "./components/BottomBar/index.js";
80
- import { default as default75, bodyAlignCenter, bodyAlignLeft, bodyAlignRight, bodyAligns, bodySizes, bodyTags, bodyWeights, isBodyProps, validateBodyProps } from "./components/Body/index.js";
81
- import { default as default76, badgeAppearances, badgeSizes, isBadgeProps, validateBadgeProps } from "./components/Badge/index.js";
82
- import { default as default77 } from "./components/AccordionGroup/index.js";
83
- import { default as default78, accordionToggleCollapsed, accordionToggleCollapsing, accordionToggleExpanded } from "./components/Accordion/index.js";
80
+ import { default as default74, buttonAutoWidth, buttonFullWidth } from "./components/Button/index.js";
81
+ import { default as default75 } from "./components/BottomBar/index.js";
82
+ import { default as default76, bodyAlignCenter, bodyAlignLeft, bodyAlignRight, bodyAligns, bodySizes, bodyTags, bodyWeights, isBodyProps, validateBodyProps } from "./components/Body/index.js";
83
+ import { default as default77, badgeAppearances, badgeSizes, isBadgeProps, validateBadgeProps } from "./components/Badge/index.js";
84
+ import { default as default78 } from "./components/AccordionGroup/index.js";
85
+ import { default as default79, accordionToggleCollapsed, accordionToggleCollapsing, accordionToggleExpanded } from "./components/Accordion/index.js";
84
86
  import { getTextDecoration } from "./foundations/token/getTextDecoration/index.js";
85
87
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
86
88
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
@@ -110,104 +112,104 @@ import { useForcedColors } from "./hooks/useForcedColors/index.js";
110
112
  import { useFocusWithin } from "./hooks/useFocusWithin/index.js";
111
113
  import "react/jsx-runtime";
112
114
  import "@contentful/live-preview/react";
113
- import { L as L2 } from "./mapContentToComponents-BobPnbKM.js";
114
- import { a as a4, l as l2 } from "./styled-BlHKbHF4.js";
115
- import { a as a5, l as l3 } from "./styled-SllFJc7o.js";
116
- import { a as a6, i as i2 } from "./props-DDpgcryb.js";
117
- import { I as I2, f as f2, i as i3, g as g2, h, j, d as d2, c as c2, b as b2, e as e2, a as a7, k, l as l4 } from "./props-7dcsjRUx.js";
115
+ import { L as L2 } from "./mapContentToComponents-DRp1r1ht.js";
116
+ import { a as a5, l as l2 } from "./styled-BlHKbHF4.js";
117
+ import { a as a6, l as l3 } from "./styled-SllFJc7o.js";
118
+ import { a as a7, i as i2 } from "./props-DDpgcryb.js";
119
+ import { I as I2, f as f2, i as i3, g as g2, h, j, d as d3, c as c3, b as b3, e as e3, a as a8, k, l as l4 } from "./props-7dcsjRUx.js";
118
120
  import { I as I3 } from "./styled-RnVr222F.js";
119
- import { a as a8, h as h2 } from "./styled-VAsSnb5y.js";
120
- import { e as e3, d as d3, c as c3, b as b3, f as f3, a as a9 } from "./styled-CyZvsdJs.js";
121
+ import { a as a9, h as h2 } from "./styled-VAsSnb5y.js";
122
+ import { e as e4, d as d4, c as c4, b as b4, f as f3, a as a10 } from "./styled-CyZvsdJs.js";
121
123
  import { C } from "./styled-jl0239KS.js";
122
124
  import { C as C2 } from "./styled-1OrCdMDT.js";
123
- import { B as B2, p as p2, s, a as a10, t } from "./styled-B-_SmQSA.js";
125
+ import { B as B2, p as p2, s, a as a11, t } from "./styled-B-_SmQSA.js";
124
126
  export {
125
- default78 as Accordion,
126
- default77 as AccordionGroup,
127
- default76 as Badge,
127
+ default79 as Accordion,
128
+ default78 as AccordionGroup,
129
+ default77 as Badge,
128
130
  B2 as BadgeAppearanceColor,
129
- default75 as Body,
130
- default74 as BottomBar,
131
- default73 as Button,
131
+ default76 as Body,
132
+ default75 as BottomBar,
133
+ default74 as Button,
132
134
  B as ButtonAsLink,
133
- default72 as ButtonGroup,
134
- default71 as Card,
135
+ default73 as ButtonGroup,
136
+ default72 as Card,
135
137
  C2 as CardAppearanceColor,
136
- default70 as Carousel,
137
- default69 as Checkbox,
138
- default68 as CheckboxGroup,
139
- default67 as Collapsible,
140
- default66 as ColorSwatch,
141
- default65 as ColorSwatchGroup,
142
- default64 as ConsentMessage,
143
- default63 as Container,
138
+ default71 as Carousel,
139
+ default70 as Checkbox,
140
+ default69 as CheckboxGroup,
141
+ default68 as Collapsible,
142
+ default67 as ColorSwatch,
143
+ default66 as ColorSwatchGroup,
144
+ default65 as ConsentMessage,
145
+ default64 as Container,
144
146
  C as ContainerAppearanceColor,
145
- default62 as DateInput,
147
+ default63 as DateInput,
146
148
  DefaultLink,
147
- default61 as DemoBox,
148
- default60 as Dialog,
149
- default59 as DiscoveryCard,
150
- default58 as DiscoveryCardGroup,
151
- default57 as Divider,
152
- default56 as Fieldset,
153
- default55 as FilterGroup,
154
- default54 as Flex,
155
- default53 as FlexItem,
156
- default52 as FootnoteContent,
157
- default51 as FootnoteLink,
158
- default50 as Form,
159
- default49 as FormElement,
160
- default48 as FormHelperLabel,
161
- default47 as FormHelperMessage,
162
- default46 as FormHelperStatusIcon,
149
+ default62 as DemoBox,
150
+ default61 as Dialog,
151
+ default60 as DiscoveryCard,
152
+ default59 as DiscoveryCardGroup,
153
+ default58 as Divider,
154
+ default57 as Fieldset,
155
+ default56 as FilterGroup,
156
+ default55 as Flex,
157
+ default54 as FlexItem,
158
+ default53 as FootnoteContent,
159
+ default52 as FootnoteLink,
160
+ default51 as Form,
161
+ default50 as FormElement,
162
+ default49 as FormHelperLabel,
163
+ default48 as FormHelperMessage,
164
+ default47 as FormHelperStatusIcon,
163
165
  GlobalStyle,
164
- default45 as GoogleMap,
165
- default44 as Grid,
166
+ default46 as GoogleMap,
167
+ default45 as Grid,
166
168
  GridContext,
167
- default43 as GridItem,
168
- default42 as Heading,
169
+ default44 as GridItem,
170
+ default43 as Heading,
169
171
  HiddenRadioStyled,
170
- default41 as HifiIcon,
171
- default40 as Icon,
172
- default39 as IconButton,
172
+ default42 as HifiIcon,
173
+ default41 as Icon,
174
+ default40 as IconButton,
173
175
  I as IconLoader,
174
- default38 as IconSnippet,
175
- default37 as IconSnippetList,
176
+ default39 as IconSnippet,
177
+ default38 as IconSnippetList,
176
178
  I2 as IconWithAccent,
177
- default36 as Image,
178
- default35 as ImageHeader,
179
- default34 as InfoBanner,
180
- default33 as InlineIcon,
179
+ default37 as Image,
180
+ default36 as ImageHeader,
181
+ default35 as InfoBanner,
182
+ default34 as InlineIcon,
181
183
  I3 as InlineIconStyled,
182
- default32 as InlineLink,
183
- default31 as Input,
184
- default30 as Label,
185
- default29 as Legend,
186
- default28 as Link,
184
+ default33 as InlineLink,
185
+ default32 as Input,
186
+ default31 as Label,
187
+ default30 as Legend,
188
+ default29 as Link,
187
189
  L as LinkAsButton,
188
190
  LinkContext,
189
- default27 as LinkList,
190
- default26 as LinkListItem,
191
+ default28 as LinkList,
192
+ default27 as LinkListItem,
191
193
  LinkProvider,
192
194
  L2 as LivePreviewInspector,
193
- default25 as LoadingSpinner,
194
- default24 as LocalStyle,
195
- default23 as MediaText,
196
- default22 as Notification,
197
- default21 as OpenTextFootnoteAdapter,
198
- default20 as Overlay,
195
+ default26 as LoadingSpinner,
196
+ default25 as LocalStyle,
197
+ default24 as MediaText,
198
+ default23 as Notification,
199
+ default22 as OpenTextFootnoteAdapter,
200
+ default21 as Overlay,
199
201
  PanelStyled,
200
- default19 as PickerGroup,
202
+ default20 as PickerGroup,
201
203
  P as Price,
202
- default18 as ProductCard,
203
- default17 as QuickLinkList,
204
- default16 as RadioGroup,
205
- default15 as Rating,
204
+ default19 as ProductCard,
205
+ default18 as QuickLinkList,
206
+ default17 as RadioGroup,
207
+ default16 as Rating,
206
208
  RatingFieldsetStyled,
207
- default14 as ResponsiveImage,
209
+ default15 as ResponsiveImage,
208
210
  R as RichText,
209
- default13 as RichtTextContentful,
210
- S as ScreenreaderOnly,
211
+ default14 as RichtTextContentful,
212
+ default13 as ScreenreaderOnly,
211
213
  default12 as SearchInput,
212
214
  default11 as SelectInput,
213
215
  default10 as SmoothScrollArea,
@@ -223,6 +225,14 @@ export {
223
225
  TabGroupTabsStyled,
224
226
  TabLabelStyled,
225
227
  TabStyled,
228
+ T4 as Table,
229
+ a3 as TableBody,
230
+ c2 as TableCell,
231
+ d2 as TableContext,
232
+ b2 as TableFoot,
233
+ T3 as TableHead,
234
+ e2 as TableProvider,
235
+ T5 as TableWrapper,
226
236
  T2 as TabularPrice,
227
237
  T as TextList,
228
238
  a as TextListItem,
@@ -266,12 +276,12 @@ export {
266
276
  discoveryCardOrientationVertical,
267
277
  flexItemAutoGrow,
268
278
  flexItemFullGrow,
269
- e3 as flexJustifyBetween,
270
- d3 as flexJustifyCenter,
271
- c3 as flexJustifyEnd,
272
- b3 as flexJustifyStart,
279
+ e4 as flexJustifyBetween,
280
+ d4 as flexJustifyCenter,
281
+ c4 as flexJustifyEnd,
282
+ b4 as flexJustifyStart,
273
283
  f3 as flexOrientationHorizontal,
274
- a9 as flexOrientationVertical,
284
+ a10 as flexOrientationVertical,
275
285
  forcedColorsQuery,
276
286
  getBackgroundColor,
277
287
  getBodySize,
@@ -294,7 +304,7 @@ export {
294
304
  gridItemTags,
295
305
  gridSpacings,
296
306
  gridTags,
297
- a8 as headingAlignCenter,
307
+ a9 as headingAlignCenter,
298
308
  h2 as headingAlignLeft,
299
309
  headingSizes,
300
310
  headingTags,
@@ -316,11 +326,11 @@ export {
316
326
  iconSize7xl,
317
327
  iconSize8xl,
318
328
  iconSize9xl,
319
- d2 as iconSizeLg,
320
- c2 as iconSizeMd,
321
- b2 as iconSizeSm,
322
- e2 as iconSizeXl,
323
- a7 as iconSizeXs,
329
+ d3 as iconSizeLg,
330
+ c3 as iconSizeMd,
331
+ b3 as iconSizeSm,
332
+ e3 as iconSizeXl,
333
+ a8 as iconSizeXs,
324
334
  i as iconSizes,
325
335
  iconSnippetAlignCenter,
326
336
  iconSnippetAlignTop,
@@ -338,7 +348,7 @@ export {
338
348
  infoBannerAppearanceTertiary,
339
349
  k as inlineIconModeFill,
340
350
  l4 as inlineIconModeStroke,
341
- a6 as inputStateError,
351
+ a7 as inputStateError,
342
352
  i2 as inputStateSuccess,
343
353
  inputStatusIcons,
344
354
  isBadgeProps,
@@ -348,11 +358,11 @@ export {
348
358
  isGridItemProps,
349
359
  isGridProps,
350
360
  isHeadingProps,
351
- a3 as isIconLoaderProps,
361
+ a4 as isIconLoaderProps,
352
362
  l as largeMediaQuery,
353
- a5 as linkListItemVariantHorizontal,
363
+ a6 as linkListItemVariantHorizontal,
354
364
  l3 as linkListItemVariantVertical,
355
- a4 as linkListVariantColumn,
365
+ a5 as linkListVariantColumn,
356
366
  l2 as linkListVariantRow,
357
367
  mediaTextPositionLeft,
358
368
  mediaTextPositionRight,
@@ -385,7 +395,7 @@ export {
385
395
  p2 as primaryBadgeAppearance,
386
396
  reducedMotionQuery,
387
397
  s as secondaryBadgeAppearance,
388
- a10 as successBadgeAppearance,
398
+ a11 as successBadgeAppearance,
389
399
  tabGroupWidthAuto,
390
400
  tabGroupWidthFull,
391
401
  t as tertiaryBadgeAppearance,
@@ -14,7 +14,7 @@ import "./styled-B-_SmQSA.js";
14
14
  import { isBadgeProps } from "./components/Badge/index.js";
15
15
  import { i as isObject, h as hasMatchingComponentName } from "./isObject-cuWKq2kY.js";
16
16
  import { useContentfulInspectorMode } from "@contentful/live-preview/react";
17
- import "./index-B2VrT4fo.js";
17
+ import "./components/ScreenreaderOnly/index.js";
18
18
  import "./components/FootnoteLink/index.js";
19
19
  import "./styled-jl0239KS.js";
20
20
  import "react";
@@ -26,6 +26,7 @@ import { l as linkListVariantRow, a as linkListVariantColumn } from "./styled-Bl
26
26
  import "./styled-DOK4C5Ml.js";
27
27
  import "./styled-D8a-ap4J.js";
28
28
  import "./components/InlineLink/index.js";
29
+ import "./TableHead-C9Nyap9H.js";
29
30
  import "./styled-DJWrbsIZ.js";
30
31
  const validateLegibleContent = (check) => {
31
32
  var _a, _b, _c, _d;
@@ -0,0 +1,11 @@
1
+ const screenreaderOnly = {
2
+ position: "absolute",
3
+ left: "-10000px",
4
+ top: "auto",
5
+ width: "1px",
6
+ height: "1px",
7
+ overflow: "hidden"
8
+ };
9
+ export {
10
+ screenreaderOnly as s
11
+ };
@@ -0,0 +1,14 @@
1
+ import styled from "styled-components";
2
+ const LegendStyled = styled.legend.withConfig({
3
+ displayName: "LegendStyled",
4
+ componentId: "sc-1vyrzt5-0"
5
+ })({
6
+ /**
7
+ * minimal hack to disable the wired position of a legend in a fieldset
8
+ */
9
+ all: "unset",
10
+ width: "100%"
11
+ });
12
+ export {
13
+ LegendStyled as L
14
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vodafone_de/brix-components",
3
3
  "description": "Brix is the digital design system for vodafone.de",
4
- "version": "7.1.6",
4
+ "version": "7.1.7",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
7
7
  ".": {
@@ -1,24 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import styled from "styled-components";
3
- import { a as filterProps } from "./filterProps-CTn92eZw.js";
4
- const screenreaderOnly = {
5
- position: "absolute",
6
- left: "-10000px",
7
- top: "auto",
8
- width: "1px",
9
- height: "1px",
10
- overflow: "hidden"
11
- };
12
- const ScreenReaderOnlyStyled = styled.span.withConfig({
13
- shouldForwardProp: filterProps(),
14
- displayName: "ScreenReaderOnlyStyled",
15
- componentId: "sc-1r7az4k-0"
16
- })(screenreaderOnly);
17
- const ScreenreaderOnly = ({
18
- children,
19
- ...props
20
- }) => /* @__PURE__ */ jsx(ScreenReaderOnlyStyled, { ...props, children });
21
- export {
22
- ScreenreaderOnly as S,
23
- screenreaderOnly as s
24
- };