@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.
- package/dist/TableHead-C9Nyap9H.js +109 -0
- package/dist/TableWrapper-BlScbDc6.js +25 -0
- package/dist/components/Carousel/index.js +1 -1
- package/dist/components/DiscoveryCard/index.js +4 -3
- package/dist/components/FilterGroup/index.js +1 -1
- package/dist/components/FootnoteLink/index.js +1 -1
- package/dist/components/IconSnippet/index.js +1 -1
- package/dist/components/ImageHeader/index.js +2 -2
- package/dist/components/Legend/index.js +2 -12
- package/dist/components/LoadingSpinner/index.js +1 -1
- package/dist/components/MediaText/index.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/OpenTextFootnoteAdapter/index.js +1 -1
- package/dist/components/PickerGroup/index.js +1 -1
- package/dist/components/Price/index.js +2 -2
- package/dist/components/ProductCard/index.js +1 -1
- package/dist/components/Rating/index.js +10 -9
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichtTextContentful/index.js +1 -1
- package/dist/components/ScreenreaderOnly/index.js +14 -3
- package/dist/components/Table/TableContext.d.ts +12 -0
- package/dist/components/Table/components/TableBody.d.ts +4 -0
- package/dist/components/Table/components/TableCell.d.ts +4 -0
- package/dist/components/Table/components/TableFoot.d.ts +4 -0
- package/dist/components/Table/components/TableHead.d.ts +7 -0
- package/dist/components/Table/components/TableWrapper.d.ts +4 -0
- package/dist/components/Table/index.d.ts +8 -0
- package/dist/components/Table/index.js +13 -0
- package/dist/components/Table/props.d.ts +30 -0
- package/dist/components/Table/styled.d.ts +6 -0
- package/dist/components/TabularPrice/index.js +2 -2
- package/dist/components/TextList/index.js +1 -1
- package/dist/contentful/index.js +2 -1
- package/dist/contentful/live-preview-inspector/index.js +1 -1
- package/dist/contentful/live-preview-renderer/index.js +1 -1
- package/dist/contentful/renderer/index.js +1 -1
- package/dist/{index-7A9g1r9L.js → index-B5p4bosD.js} +72 -1
- package/dist/{index-BjtnAuPr.js → index-C69TqGKE.js} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +171 -161
- package/dist/{mapContentToComponents-BobPnbKM.js → mapContentToComponents-DRp1r1ht.js} +2 -1
- package/dist/screenreaderOnly-Dv2v6MAr.js +11 -0
- package/dist/styled-CH1kr8ZR.js +14 -0
- package/package.json +1 -1
- 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
|
|
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-
|
|
6
|
-
import { P, T as T2, c, g, f, p, a as a2, e, d, b } from "./index-
|
|
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 {
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { HiddenRadioStyled, default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { default as
|
|
22
|
-
import { default as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
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
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { I, i, a as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
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
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
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-
|
|
114
|
-
import { a as
|
|
115
|
-
import { a as
|
|
116
|
-
import { a as
|
|
117
|
-
import { I as I2, f as f2, i as i3, g as g2, h, j, d as
|
|
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
|
|
120
|
-
import { e as
|
|
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
|
|
125
|
+
import { B as B2, p as p2, s, a as a11, t } from "./styled-B-_SmQSA.js";
|
|
124
126
|
export {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
default79 as Accordion,
|
|
128
|
+
default78 as AccordionGroup,
|
|
129
|
+
default77 as Badge,
|
|
128
130
|
B2 as BadgeAppearanceColor,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
default76 as Body,
|
|
132
|
+
default75 as BottomBar,
|
|
133
|
+
default74 as Button,
|
|
132
134
|
B as ButtonAsLink,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
default73 as ButtonGroup,
|
|
136
|
+
default72 as Card,
|
|
135
137
|
C2 as CardAppearanceColor,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
|
|
147
|
+
default63 as DateInput,
|
|
146
148
|
DefaultLink,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
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
|
-
|
|
165
|
-
|
|
166
|
+
default46 as GoogleMap,
|
|
167
|
+
default45 as Grid,
|
|
166
168
|
GridContext,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
default44 as GridItem,
|
|
170
|
+
default43 as Heading,
|
|
169
171
|
HiddenRadioStyled,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
172
|
+
default42 as HifiIcon,
|
|
173
|
+
default41 as Icon,
|
|
174
|
+
default40 as IconButton,
|
|
173
175
|
I as IconLoader,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
+
default39 as IconSnippet,
|
|
177
|
+
default38 as IconSnippetList,
|
|
176
178
|
I2 as IconWithAccent,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
default37 as Image,
|
|
180
|
+
default36 as ImageHeader,
|
|
181
|
+
default35 as InfoBanner,
|
|
182
|
+
default34 as InlineIcon,
|
|
181
183
|
I3 as InlineIconStyled,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
-
|
|
190
|
-
|
|
191
|
+
default28 as LinkList,
|
|
192
|
+
default27 as LinkListItem,
|
|
191
193
|
LinkProvider,
|
|
192
194
|
L2 as LivePreviewInspector,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
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
|
-
|
|
202
|
+
default20 as PickerGroup,
|
|
201
203
|
P as Price,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
default19 as ProductCard,
|
|
205
|
+
default18 as QuickLinkList,
|
|
206
|
+
default17 as RadioGroup,
|
|
207
|
+
default16 as Rating,
|
|
206
208
|
RatingFieldsetStyled,
|
|
207
|
-
|
|
209
|
+
default15 as ResponsiveImage,
|
|
208
210
|
R as RichText,
|
|
209
|
-
|
|
210
|
-
|
|
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
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
279
|
+
e4 as flexJustifyBetween,
|
|
280
|
+
d4 as flexJustifyCenter,
|
|
281
|
+
c4 as flexJustifyEnd,
|
|
282
|
+
b4 as flexJustifyStart,
|
|
273
283
|
f3 as flexOrientationHorizontal,
|
|
274
|
-
|
|
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
|
-
|
|
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
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
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
|
-
|
|
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
|
-
|
|
361
|
+
a4 as isIconLoaderProps,
|
|
352
362
|
l as largeMediaQuery,
|
|
353
|
-
|
|
363
|
+
a6 as linkListItemVariantHorizontal,
|
|
354
364
|
l3 as linkListItemVariantVertical,
|
|
355
|
-
|
|
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
|
-
|
|
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
|
|
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,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
package/dist/index-B2VrT4fo.js
DELETED
|
@@ -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
|
-
};
|