@vodafone_de/brix-components 7.1.9 → 7.1.11
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/{BorderRadius-2LdggXbQ.js → BorderRadius-ClUShVLu.js} +2 -2
- package/dist/{HeadingSize-CfCRn3Lh.js → HeadingSize-CqqUYZWV.js} +2 -2
- package/dist/{TableHead-Cfn2iQRg.js → TableHead-ogeZ901P.js} +40 -17
- package/dist/{TableWrapper-BrnjxwJz.js → TableWrapper-Og83COGw.js} +1 -1
- package/dist/components/Accordion/index.js +2 -2
- package/dist/components/AccordionGroup/index.js +1 -1
- package/dist/components/Badge/index.js +9 -5
- package/dist/components/Badge/props.d.ts +8 -3
- package/dist/components/Body/index.js +2 -2
- package/dist/components/BottomBar/index.js +3 -3
- package/dist/components/Button/index.js +2 -2
- package/dist/components/ButtonAsLink/index.js +2 -2
- package/dist/components/ButtonGroup/index.js +2 -2
- package/dist/components/Card/index.js +2 -2
- package/dist/components/Carousel/index.js +7 -7
- package/dist/components/Checkbox/index.js +3 -3
- package/dist/components/CheckboxGroup/index.js +2 -2
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/ColorSwatch/index.js +2 -2
- package/dist/components/ColorSwatchGroup/index.js +3 -3
- package/dist/components/ConsentMessage/index.js +4 -4
- package/dist/components/Container/index.js +2 -2
- package/dist/components/DateInput/index.js +3 -2
- package/dist/components/DemoBox/index.js +8 -2
- package/dist/components/Dialog/index.js +9 -7
- package/dist/components/DiscoveryCard/index.js +13 -13
- package/dist/components/DiscoveryCard/styled.d.ts +1 -1
- package/dist/components/DiscoveryCardGroup/index.js +1 -1
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Fieldset/index.js +2 -1
- package/dist/components/FilterGroup/index.js +4 -4
- package/dist/components/Flex/index.js +2 -2
- package/dist/components/FlexItem/index.js +1 -1
- package/dist/components/FootnoteContent/index.js +1 -1
- package/dist/components/FootnoteLink/index.js +4 -52
- package/dist/components/Form/index.js +1 -1
- package/dist/components/FormElement/index.js +1 -1
- package/dist/components/FormHelperStatusIcon/index.js +1 -1
- package/dist/components/GoogleMap/index.js +3 -3
- package/dist/components/Grid/index.js +1 -1
- package/dist/components/GridItem/index.js +1 -1
- package/dist/components/Heading/index.js +4 -4
- package/dist/components/HifiIcon/index.js +1 -1
- package/dist/components/IconButton/index.js +4 -4
- package/dist/components/IconSnippet/index.js +3 -3
- package/dist/components/Image/index.js +39 -47
- package/dist/components/Image/props.d.ts +32 -35
- package/dist/components/Image/styled.d.ts +1 -1
- package/dist/components/ImageHeader/index.js +7 -7
- package/dist/components/ImageHeader/props.d.ts +1 -1
- package/dist/components/ImageHeader/styled.d.ts +1 -1
- package/dist/components/InfoBanner/index.js +3 -3
- package/dist/components/InlineIcon/index.js +1 -1
- package/dist/components/InlineLink/index.js +11 -12
- package/dist/components/Input/index.js +2 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Legend/index.js +12 -2
- package/dist/components/Link/index.js +2 -2
- package/dist/components/LinkAsButton/index.js +1 -1
- package/dist/components/LinkList/index.js +1 -1
- package/dist/components/LinkListItem/index.js +4 -4
- package/dist/components/LoadingSpinner/index.js +2 -2
- package/dist/components/LocalStyle/index.js +2 -2
- package/dist/components/MediaText/index.js +7 -7
- package/dist/components/Notification/index.js +4 -4
- package/dist/components/OpenTextFootnoteAdapter/index.js +2 -2
- package/dist/components/Overlay/index.js +1 -1
- package/dist/components/PickerGroup/index.js +6 -6
- package/dist/components/Price/index.js +2 -2
- package/dist/components/ProductCard/index.js +4 -4
- package/dist/components/QuickLinkList/index.js +4 -4
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/Rating/index.js +6 -5
- package/dist/components/ResponsiveImage/index.d.ts +5 -0
- package/dist/components/ResponsiveImage/index.js +89 -0
- package/dist/components/ResponsiveImage/props.d.ts +16 -0
- package/dist/components/ResponsiveImage/styled.d.ts +4 -0
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichtTextContentful/index.js +2 -2
- package/dist/components/ScreenreaderOnly/index.js +3 -14
- package/dist/components/SearchInput/index.js +4 -4
- package/dist/components/SelectInput/index.js +4 -3
- package/dist/components/Stepper/index.js +3 -4
- package/dist/components/SuggestInput/index.js +22 -17
- package/dist/components/SuggestInput/props.d.ts +2 -1
- package/dist/components/Switch/index.js +3 -3
- package/dist/components/TabGroup/index.js +3 -3
- package/dist/components/Table/index.d.ts +1 -1
- package/dist/components/Table/index.js +7 -7
- package/dist/components/Table/props.d.ts +1 -1
- package/dist/components/Table/styled.d.ts +2 -0
- package/dist/components/TabularPrice/index.js +2 -2
- package/dist/components/TextList/index.js +2 -2
- package/dist/components/Textarea/index.js +4 -3
- package/dist/components/TimeInput/index.js +3 -2
- package/dist/components/Tray/index.js +3 -3
- package/dist/components/YoutubeVideo/index.js +1 -1
- package/dist/contentful/index.js +12 -12
- 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/{cssVars-_wntC-Ac.js → cssVars-CR3xqdPx.js} +2 -2
- package/dist/filterProps-BWnAPYBL.js +17 -0
- package/dist/foundations/GlobalStyle/index.js +1 -1
- package/dist/foundations/media-query/viewport/index.js +4 -24
- package/dist/hooks/useViewport/index.js +2 -2
- package/dist/{index-tpq3BGwZ.js → index-ByPSWRQ0.js} +3 -3
- package/dist/index-Ck2bCrhT.js +32 -0
- package/dist/{index-rbdl_kyF.js → index-Cmrx-D-0.js} +5 -5
- package/dist/{index-BPweURE-.js → index-Cv2XdnwK.js} +9 -5
- package/dist/index-DSF1zGyd.js +24 -0
- package/dist/{index-DKCzYjXw.js → index-G2mpsxF7.js} +1 -1
- package/dist/index-UJLGt4uV.js +54 -0
- package/dist/{index-Vub90geg.js → index-tT4JzApY.js} +2 -2
- package/dist/index.d.ts +2 -4
- package/dist/index.js +94 -101
- package/dist/{mapContentToComponents-bL4ms1AC.js → mapContentToComponents-CbN3OD_t.js} +15 -13
- package/dist/{styled-DUsRG1Xh.js → styled-B1bxWqtW.js} +1 -1
- package/dist/{styled-CKK_LUlC.js → styled-BBG87P4U.js} +4 -4
- package/dist/{styled-B_ihuvyB.js → styled-BKWEE3dx.js} +1 -1
- package/dist/{styled-CWusLu5R.js → styled-BQGCfF-s.js} +2 -2
- package/dist/{styled-C6Wms75x.js → styled-BXtzJJFu.js} +1 -1
- package/dist/{styled-DoOOutJj.js → styled-BYYivuzh.js} +1 -1
- package/dist/{styled-CQLDmqmZ.js → styled-CE_Y6O4R.js} +2 -2
- package/dist/{styled-13a_Vk0D.js → styled-CIwf9Ebu.js} +22 -2
- package/dist/{styled-D57p2ktn.js → styled-Cz2kpbgE.js} +4 -4
- package/dist/{styled-BKmRVjNA.js → styled-DGMsuBML.js} +1 -1
- package/dist/{styled-Dk6VS_Sg.js → styled-Dgv3RBlg.js} +3 -3
- package/dist/{styled-Csv7V9ez.js → styled-Dmb8-99g.js} +1 -1
- package/dist/{styled-DCLv3G2j.js → styled-Dr-tPBqx.js} +1 -1
- package/dist/{styled-D_F38PuI.js → styled-Du4LgXoA.js} +2 -2
- package/dist/{styled-DG6HSLPJ.js → styled-O5mL4jlL.js} +1 -1
- package/dist/{styled-QLVvcMdB.js → styled-VuUKI7PE.js} +1 -1
- package/package.json +1 -1
- package/dist/breakpoint-CzBSbbY7.js +0 -9
- package/dist/components/ArtDirectedImage/index.d.ts +0 -5
- package/dist/components/ArtDirectedImage/index.js +0 -44
- package/dist/components/ArtDirectedImage/props.d.ts +0 -18
- package/dist/components/ArtDirectedImage/styled.d.ts +0 -2
- package/dist/filterProps-CPul3CC8.js +0 -17
- package/dist/hooks/useImageComponent/index.d.ts +0 -28
- package/dist/hooks/useImageComponent/index.js +0 -17
- package/dist/hooks/usePictureComponent/index.d.ts +0 -25
- package/dist/hooks/usePictureComponent/index.js +0 -27
- package/dist/screenreaderOnly-Dv2v6MAr.js +0 -11
- package/dist/styled-CH1kr8ZR.js +0 -14
|
@@ -3,8 +3,8 @@ const borderRadiusSm = "borderRadiusSm";
|
|
|
3
3
|
const borderRadiusMd = "borderRadiusMd";
|
|
4
4
|
const borderRadiusFull = "borderRadiusFull";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
borderRadiusNone as a,
|
|
7
7
|
borderRadiusMd as b,
|
|
8
|
-
|
|
8
|
+
borderRadiusFull as c,
|
|
9
9
|
borderRadiusSm as d
|
|
10
10
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useContext } from "react";
|
|
3
3
|
import styled from "styled-components";
|
|
4
|
-
import viewport from "./
|
|
4
|
+
import { v as viewport } from "./index-Ck2bCrhT.js";
|
|
5
5
|
import { getBorderColor } from "./foundations/token/getBorderColor/index.js";
|
|
6
6
|
import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
|
|
7
7
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
@@ -20,6 +20,9 @@ const TableStyled = styled.table.withConfig({
|
|
|
20
20
|
displayName: "TableStyled",
|
|
21
21
|
componentId: "sc-wxnzfr-1"
|
|
22
22
|
})({
|
|
23
|
+
all: "unset",
|
|
24
|
+
// Reset all inherited styles
|
|
25
|
+
display: "table",
|
|
23
26
|
width: "100%",
|
|
24
27
|
overflow: "auto"
|
|
25
28
|
});
|
|
@@ -27,13 +30,33 @@ const cellAlign = {
|
|
|
27
30
|
left: "left",
|
|
28
31
|
right: "right"
|
|
29
32
|
};
|
|
33
|
+
const TableHeadStyled = styled.thead.withConfig({
|
|
34
|
+
displayName: "TableHeadStyled",
|
|
35
|
+
componentId: "sc-wxnzfr-2"
|
|
36
|
+
})({
|
|
37
|
+
all: "unset",
|
|
38
|
+
// Reset all inherited styles for thead
|
|
39
|
+
display: "table-header-group"
|
|
40
|
+
});
|
|
41
|
+
const TableRowStyled = styled.tr.withConfig({
|
|
42
|
+
displayName: "TableRowStyled",
|
|
43
|
+
componentId: "sc-wxnzfr-3"
|
|
44
|
+
})({
|
|
45
|
+
all: "unset",
|
|
46
|
+
// Reset all inherited styles for tr
|
|
47
|
+
display: "table-row"
|
|
48
|
+
});
|
|
30
49
|
const TableCellStyled = styled.td.withConfig({
|
|
31
50
|
displayName: "TableCellStyled",
|
|
32
|
-
componentId: "sc-wxnzfr-
|
|
51
|
+
componentId: "sc-wxnzfr-4"
|
|
33
52
|
})(({
|
|
34
53
|
align,
|
|
35
54
|
as
|
|
36
55
|
}) => ({
|
|
56
|
+
all: "unset",
|
|
57
|
+
// Reset all inherited styles for cell
|
|
58
|
+
display: "table-cell",
|
|
59
|
+
boxSizing: "border-box",
|
|
37
60
|
padding: `${getSpacing(spacingSm)}`,
|
|
38
61
|
textAlign: cellAlign[align],
|
|
39
62
|
color: getTextColor(colorTextNeutral),
|
|
@@ -52,6 +75,13 @@ const TableCellStyled = styled.td.withConfig({
|
|
|
52
75
|
fontWeight: getFontWeight(fontWeightBold)
|
|
53
76
|
}
|
|
54
77
|
}));
|
|
78
|
+
const TableContext = createContext({});
|
|
79
|
+
const TableProvider = ({
|
|
80
|
+
columns,
|
|
81
|
+
children
|
|
82
|
+
}) => /* @__PURE__ */ jsx(TableContext.Provider, { value: {
|
|
83
|
+
columns
|
|
84
|
+
}, children });
|
|
55
85
|
const TableCell = ({
|
|
56
86
|
children,
|
|
57
87
|
align = "left",
|
|
@@ -62,13 +92,6 @@ const TableCell = ({
|
|
|
62
92
|
}) => {
|
|
63
93
|
return /* @__PURE__ */ jsx(TableCellStyled, { as, align, colSpan, scope, ...rest, children });
|
|
64
94
|
};
|
|
65
|
-
const TableContext = createContext({});
|
|
66
|
-
const TableProvider = ({
|
|
67
|
-
columns,
|
|
68
|
-
children
|
|
69
|
-
}) => /* @__PURE__ */ jsx(TableContext.Provider, { value: {
|
|
70
|
-
columns
|
|
71
|
-
}, children });
|
|
72
95
|
const TableBody = ({
|
|
73
96
|
rows,
|
|
74
97
|
sideHeader
|
|
@@ -76,7 +99,7 @@ const TableBody = ({
|
|
|
76
99
|
const {
|
|
77
100
|
columns
|
|
78
101
|
} = useContext(TableContext);
|
|
79
|
-
return /* @__PURE__ */ jsx("tbody", { children: rows.map((row) => /* @__PURE__ */ jsx(
|
|
102
|
+
return /* @__PURE__ */ jsx("tbody", { children: rows.map((row) => /* @__PURE__ */ jsx(TableRowStyled, { children: row.cells.map((cell, i) => {
|
|
80
103
|
var _a;
|
|
81
104
|
const align = ((_a = columns == null ? void 0 : columns[i]) == null ? void 0 : _a.align) || "left";
|
|
82
105
|
if (sideHeader && i === 0) {
|
|
@@ -88,21 +111,21 @@ const TableBody = ({
|
|
|
88
111
|
TableBody.displayName = "TableBody";
|
|
89
112
|
const TableFoot = ({
|
|
90
113
|
cells
|
|
91
|
-
}) => /* @__PURE__ */ jsx("tfoot", { children: /* @__PURE__ */ jsx(
|
|
114
|
+
}) => /* @__PURE__ */ jsx("tfoot", { children: /* @__PURE__ */ jsx(TableRowStyled, { children: cells.map((cell, i) => /* @__PURE__ */ jsx(TableCell, { ...cell, as: "td", children: cell.children }, "foot-" + i)) }) });
|
|
92
115
|
TableFoot.displayName = "TableFoot";
|
|
93
116
|
const TableHead = ({
|
|
94
117
|
columns
|
|
95
118
|
}) => {
|
|
96
119
|
if (!columns) return null;
|
|
97
|
-
return /* @__PURE__ */ jsx(
|
|
120
|
+
return /* @__PURE__ */ jsx(TableHeadStyled, { children: /* @__PURE__ */ jsx(TableRowStyled, { children: columns.map((col) => /* @__PURE__ */ jsx(TableCell, { align: col.align, as: "th", scope: "col", children: col.label }, col.key)) }) });
|
|
98
121
|
};
|
|
99
122
|
TableHead.displayName = "TableHead";
|
|
100
123
|
export {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
124
|
+
TableBody as T,
|
|
125
|
+
TableCell as a,
|
|
126
|
+
TableContext as b,
|
|
127
|
+
TableFoot as c,
|
|
128
|
+
TableHead as d,
|
|
106
129
|
TableProvider as e,
|
|
107
130
|
TableWrapperDiv as f,
|
|
108
131
|
TableStyled as g
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Children, isValidElement } from "react";
|
|
3
|
-
import { e as TableProvider, f as TableWrapperDiv, g as TableStyled } from "./TableHead-
|
|
3
|
+
import { e as TableProvider, f as TableWrapperDiv, g as TableStyled } from "./TableHead-ogeZ901P.js";
|
|
4
4
|
const allowedTypes = ["TableHead", "TableBody", "TableFoot"];
|
|
5
5
|
const TableWrapper = ({
|
|
6
6
|
children,
|
|
@@ -4,7 +4,7 @@ import { useRef, useState, useEffect } from "react";
|
|
|
4
4
|
import Collapsible from "../Collapsible/index.js";
|
|
5
5
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
6
6
|
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-B1bxWqtW.js";
|
|
8
8
|
import { bf as ChevronDownIcon } from "../../_5gPlusIcon-CnxmOo1u.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import Heading from "../Heading/index.js";
|
|
@@ -22,7 +22,7 @@ import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus
|
|
|
22
22
|
import { f as fontWeightRegular, a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
23
23
|
import { a as spacingMd, s as spacingNone, b as spacingXs } from "../../Spacing-BMQelJYr.js";
|
|
24
24
|
import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
|
|
25
|
-
import { a as filterProps } from "../../filterProps-
|
|
25
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
26
26
|
const accordionToggleExpanded = "expanded";
|
|
27
27
|
const accordionToggleCollapsing = "collapsing";
|
|
28
28
|
const accordionToggleCollapsed = "collapsed";
|
|
@@ -5,7 +5,7 @@ import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
8
|
-
import { a as filterProps } from "../../filterProps-
|
|
8
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
9
9
|
const AccordionGroupSingleExpand = ({
|
|
10
10
|
bottomSpacing = spacingMd,
|
|
11
11
|
...props
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
+
import { F as FootnoteLink } from "../../index-UJLGt4uV.js";
|
|
3
4
|
import { b as iconNames, I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
4
5
|
import { a as iconSizeXs, b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
5
|
-
import "../../styled-
|
|
6
|
+
import "../../styled-B1bxWqtW.js";
|
|
6
7
|
import { s as smallSize, m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
7
8
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
8
9
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
9
|
-
import { p as primaryBadgeAppearance, s as secondaryBadgeAppearance, t as tertiaryBadgeAppearance, a as successBadgeAppearance, b as BadgeStyled } from "../../styled-
|
|
10
|
-
import { B } from "../../styled-
|
|
10
|
+
import { p as primaryBadgeAppearance, s as secondaryBadgeAppearance, t as tertiaryBadgeAppearance, a as successBadgeAppearance, b as BadgeStyled } from "../../styled-CIwf9Ebu.js";
|
|
11
|
+
import { B } from "../../styled-CIwf9Ebu.js";
|
|
11
12
|
const badgeAppearances = [primaryBadgeAppearance, secondaryBadgeAppearance, tertiaryBadgeAppearance, successBadgeAppearance];
|
|
12
13
|
const badgeSizes = [smallSize, mediumSize];
|
|
13
14
|
const validateBadgeProps = (props) => {
|
|
@@ -37,11 +38,14 @@ const isBadgeProps = (props) => {
|
|
|
37
38
|
};
|
|
38
39
|
const Badge = ({
|
|
39
40
|
children,
|
|
41
|
+
icon,
|
|
42
|
+
footnote,
|
|
40
43
|
bottomSpacing = spacingMd,
|
|
41
44
|
...props
|
|
42
45
|
}) => /* @__PURE__ */ jsxs(BadgeStyled, { ...props, bottomSpacing, children: [
|
|
43
|
-
|
|
44
|
-
renderInlineRichTextFromOpenText(children)
|
|
46
|
+
icon ? /* @__PURE__ */ jsx(IconLoader, { name: icon, size: props.size === smallSize ? iconSizeXs : iconSizeSm }) : null,
|
|
47
|
+
renderInlineRichTextFromOpenText(children),
|
|
48
|
+
footnote && /* @__PURE__ */ jsx(FootnoteLink, { ...footnote })
|
|
45
49
|
] });
|
|
46
50
|
export {
|
|
47
51
|
B as BadgeAppearanceColor,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { IconName } from '@vfde-react/inline-icon-library/IconName';
|
|
2
|
-
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
4
|
import { ObjectColor } from '../../foundations/types/ObjectColor';
|
|
5
5
|
import { mediumSize, smallSize } from '../../foundations/types/SizeTypes';
|
|
6
|
+
import { FootnoteLinkProps } from '../FootnoteLink';
|
|
6
7
|
export declare const primaryBadgeAppearance = "primary";
|
|
7
8
|
export declare const secondaryBadgeAppearance = "secondary";
|
|
8
9
|
export declare const tertiaryBadgeAppearance = "tertiary";
|
|
@@ -28,7 +29,11 @@ export interface BadgeProps extends PatternProps, HTMLAttributes<HTMLSpanElement
|
|
|
28
29
|
*/
|
|
29
30
|
icon?: IconName;
|
|
30
31
|
/**
|
|
31
|
-
* Children are mandatory
|
|
32
|
+
* Children are mandatory
|
|
32
33
|
*/
|
|
33
|
-
children:
|
|
34
|
+
children: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* add a footnote next the badge
|
|
37
|
+
*/
|
|
38
|
+
footnote?: FootnoteLinkProps;
|
|
34
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import FootnoteLink from "
|
|
3
|
+
import { F as FootnoteLink } from "../../index-UJLGt4uV.js";
|
|
4
4
|
import { c as spacingSm, a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
5
5
|
import { t as textBodyMd, a as textBodySm } from "../../TextBodySize-BcZR9mh2.js";
|
|
6
6
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
@@ -11,7 +11,7 @@ import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
|
11
11
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
12
12
|
import { a as fontWeightBold, b as fontWeightLight, f as fontWeightRegular } from "../../FontWeight-C2pGs7aR.js";
|
|
13
13
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
14
|
-
import { a as filterProps } from "../../filterProps-
|
|
14
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
15
15
|
import { p as pTagName, d as divTagName, s as spanTagName, q as strongTagName, r as supTagName } from "../../tags-38kBhOn6.js";
|
|
16
16
|
const BodyStyled = styled.p.withConfig({
|
|
17
17
|
shouldForwardProp: filterProps(),
|
|
@@ -4,11 +4,11 @@ import { useRef, useState, useEffect } from "react";
|
|
|
4
4
|
import Container from "../Container/index.js";
|
|
5
5
|
import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { a as CardStyled } from "../../styled-
|
|
7
|
+
import { a as CardStyled } from "../../styled-CE_Y6O4R.js";
|
|
8
8
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
9
9
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
10
|
-
import {
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
10
|
+
import { a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
11
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
12
12
|
const bottomBarExtraPadding = 100;
|
|
13
13
|
const BottomBarStyled = styled(CardStyled).withConfig({
|
|
14
14
|
shouldForwardProp: filterProps(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { B as ButtonAsLink, g as getButtonIcon } from "../../index-
|
|
3
|
+
import { B as ButtonAsLink, g as getButtonIcon } from "../../index-Cv2XdnwK.js";
|
|
4
4
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
5
|
-
import { B as ButtonStyled } from "../../styled-
|
|
5
|
+
import { B as ButtonStyled } from "../../styled-Dgv3RBlg.js";
|
|
6
6
|
const buttonFullWidth = "full";
|
|
7
7
|
const buttonAutoWidth = "auto";
|
|
8
8
|
const isButtonAsLinkProp = (props) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { B } from "../../index-
|
|
3
|
+
import { B } from "../../index-Cv2XdnwK.js";
|
|
4
4
|
import "../../hooks/useLinkComponent/index.js";
|
|
5
|
-
import "../../filterProps-
|
|
5
|
+
import "../../filterProps-BWnAPYBL.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
7
7
|
import "../../sanitizeLinkProps-D2Kkovy1.js";
|
|
8
8
|
export {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import Button from "../Button/index.js";
|
|
4
4
|
import Flex from "../Flex/index.js";
|
|
5
|
-
import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-
|
|
5
|
+
import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-O5mL4jlL.js";
|
|
6
6
|
import FlexItem from "../FlexItem/index.js";
|
|
7
7
|
import { c as spacingSm, a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
8
|
-
import { u as useViewport } from "../../index-
|
|
8
|
+
import { u as useViewport } from "../../index-G2mpsxF7.js";
|
|
9
9
|
const renderButtons = (buttons, isMobile, isReversed = false) => {
|
|
10
10
|
if (!isMobile && isReversed) {
|
|
11
11
|
buttons = buttons.slice().reverse();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { d as divTagName } from "../../tags-38kBhOn6.js";
|
|
4
|
-
import { a as CardStyled } from "../../styled-
|
|
5
|
-
import { C } from "../../styled-
|
|
4
|
+
import { a as CardStyled } from "../../styled-CE_Y6O4R.js";
|
|
5
|
+
import { C } from "../../styled-CE_Y6O4R.js";
|
|
6
6
|
const Card = ({
|
|
7
7
|
children,
|
|
8
8
|
className,
|
|
@@ -6,19 +6,19 @@ import { useFocusWithin } from "../../hooks/useFocusWithin/index.js";
|
|
|
6
6
|
import { l as liTagName, u as ulTagName } from "../../tags-38kBhOn6.js";
|
|
7
7
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
8
8
|
import styled from "styled-components";
|
|
9
|
-
import { a as CardStyled } from "../../styled-
|
|
10
|
-
import { G as GridStyled } from "../../styled-
|
|
11
|
-
import { G as GridItemStyled } from "../../styled-
|
|
12
|
-
import viewport from "../../
|
|
9
|
+
import { a as CardStyled } from "../../styled-CE_Y6O4R.js";
|
|
10
|
+
import { G as GridStyled } from "../../styled-DGMsuBML.js";
|
|
11
|
+
import { G as GridItemStyled } from "../../styled-Cz2kpbgE.js";
|
|
12
|
+
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
13
13
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
14
14
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
15
15
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
16
16
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
17
|
-
import {
|
|
17
|
+
import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
18
18
|
import { a as colorObjectBrand, g as colorObjectUnselected } from "../../ObjectColor-0RAzLGI5.js";
|
|
19
|
-
import { a as filterProps } from "../../filterProps-
|
|
19
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
20
20
|
import IconButton from "../IconButton/index.js";
|
|
21
|
-
import ScreenreaderOnly from "
|
|
21
|
+
import { S as ScreenreaderOnly } from "../../index-DSF1zGyd.js";
|
|
22
22
|
const getItems = (items, loop) => {
|
|
23
23
|
const normalizedItems = [...items].map((item, index) => ({
|
|
24
24
|
...item,
|
|
@@ -4,7 +4,7 @@ import { N as NotificationErrorIcon } from "../../NotificationErrorIcon-DMnAJgPN
|
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
5
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
6
6
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-B1bxWqtW.js";
|
|
8
8
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import Label from "../Label/index.js";
|
|
@@ -19,11 +19,11 @@ import { getObjectColor } from "../../foundations/token/getObjectColor/index.js"
|
|
|
19
19
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
20
20
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
21
21
|
import { c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
|
|
22
|
-
import { d as borderRadiusSm } from "../../BorderRadius-
|
|
22
|
+
import { d as borderRadiusSm } from "../../BorderRadius-ClUShVLu.js";
|
|
23
23
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
24
24
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
25
25
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
26
|
-
import { a as filterProps } from "../../filterProps-
|
|
26
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
27
27
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
28
28
|
const CheckboxLabelStyled = styled(Label).withConfig({
|
|
29
29
|
shouldForwardProp: filterProps(),
|
|
@@ -5,10 +5,10 @@ import Checkbox from "../Checkbox/index.js";
|
|
|
5
5
|
import Fieldset from "../Fieldset/index.js";
|
|
6
6
|
import { g as spacingLg, a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
|
-
import { F as FlexStyled } from "../../styled-
|
|
8
|
+
import { F as FlexStyled } from "../../styled-O5mL4jlL.js";
|
|
9
9
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
10
10
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
12
12
|
const CheckboxGroupStyled = styled(FlexStyled).withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
14
14
|
displayName: "CheckboxGroupStyled",
|
|
@@ -8,7 +8,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
8
8
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
9
9
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
10
10
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
12
12
|
const CollapsibleStyled = styled.div.withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
14
14
|
displayName: "CollapsibleStyled",
|
|
@@ -4,13 +4,13 @@ import { useState, useRef, useEffect } from "react";
|
|
|
4
4
|
import { a as getComputedBackgroundColor, p as parseColorToRgbObject, b as getContrastRatio } from "../../colorUtils-lb0oJttx.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-B1bxWqtW.js";
|
|
8
8
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
9
9
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
10
10
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
11
11
|
import { a as colorBorderNeutral } from "../../BorderColor-CYdSW9dg.js";
|
|
12
12
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
13
|
-
import { a as filterProps } from "../../filterProps-
|
|
13
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
14
14
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
15
15
|
const colorSwatchSizeSmall = "sm";
|
|
16
16
|
const colorSwatchSizeMedium = "md";
|
|
@@ -3,11 +3,11 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import ColorSwatch, { colorSwatchSizeSmall } from "../ColorSwatch/index.js";
|
|
4
4
|
import { a as spacingMd, e as spacing2Xs } from "../../Spacing-BMQelJYr.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
|
-
import { F as FlexStyled } from "../../styled-
|
|
6
|
+
import { F as FlexStyled } from "../../styled-O5mL4jlL.js";
|
|
7
7
|
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
8
|
-
import "../../styled-
|
|
8
|
+
import "../../styled-B1bxWqtW.js";
|
|
9
9
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
10
|
-
import { a as filterProps } from "../../filterProps-
|
|
10
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
11
11
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
12
12
|
const ColorSwatchListStyled = styled(FlexStyled).withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
@@ -4,15 +4,15 @@ import { useState, useEffect } from "react";
|
|
|
4
4
|
import Body, { bodyAlignCenter } from "../Body/index.js";
|
|
5
5
|
import Button, { buttonAutoWidth } from "../Button/index.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-
|
|
8
|
-
import viewport from "../../
|
|
7
|
+
import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-Dgv3RBlg.js";
|
|
8
|
+
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
9
9
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
10
10
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
11
11
|
import { b as colorBackgroundOverlay } from "../../BackgroundColor-DSOSZvNi.js";
|
|
12
12
|
import { a as spacingMd, b as spacingXs, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
13
13
|
import Heading from "../Heading/index.js";
|
|
14
|
-
import { a as headingAlignCenter } from "../../styled-
|
|
15
|
-
import {
|
|
14
|
+
import { a as headingAlignCenter } from "../../styled-Dmb8-99g.js";
|
|
15
|
+
import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
16
16
|
const ConsentMessageBackgroundStyled = styled.div.withConfig({
|
|
17
17
|
displayName: "ConsentMessageBackgroundStyled",
|
|
18
18
|
componentId: "sc-gbn604-0"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { a as ContainerBackgroundStyled, b as ContainerCenterStyled } from "../../styled-
|
|
4
|
-
import { C } from "../../styled-
|
|
3
|
+
import { a as ContainerBackgroundStyled, b as ContainerCenterStyled } from "../../styled-BXtzJJFu.js";
|
|
4
|
+
import { C } from "../../styled-BXtzJJFu.js";
|
|
5
5
|
import { s as spacingNone, d as spacingXl, f as spacing5Xl } from "../../Spacing-BMQelJYr.js";
|
|
6
6
|
const containerAppearances = ["primary", "secondary", "tertiary", "alternative"];
|
|
7
7
|
const containerPaddings = [spacingNone, spacingXl, spacing5Xl];
|
|
@@ -6,9 +6,9 @@ import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
|
6
6
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
7
7
|
import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
|
|
8
8
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
9
|
-
import "../../styled-
|
|
9
|
+
import "../../styled-B1bxWqtW.js";
|
|
10
10
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
11
|
-
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-
|
|
11
|
+
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-BQGCfF-s.js";
|
|
12
12
|
import { a as spacingMd, b as spacingXs } from "../../Spacing-BMQelJYr.js";
|
|
13
13
|
import { aW as CalendarMonthIcon } from "../../_5gPlusIcon-CnxmOo1u.js";
|
|
14
14
|
import styled from "styled-components";
|
|
@@ -83,6 +83,7 @@ const DateInput = forwardRef(({
|
|
|
83
83
|
/* @__PURE__ */ jsx(FormHelperMessage, { id: messageId, status, message: inputStateError === status ? errorMessage : helperText })
|
|
84
84
|
] });
|
|
85
85
|
});
|
|
86
|
+
DateInput.displayName = "DateInput";
|
|
86
87
|
export {
|
|
87
88
|
DateInput as default
|
|
88
89
|
};
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import IconSnippet from "../IconSnippet/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
5
|
+
import { v4 } from "uuid";
|
|
6
|
+
import { D as DemoBoxStyled } from "../../styled-Dr-tPBqx.js";
|
|
7
|
+
const getUid = () => {
|
|
8
|
+
return v4();
|
|
9
|
+
};
|
|
6
10
|
const heading = {
|
|
11
|
+
uid: getUid(),
|
|
7
12
|
component: "Heading",
|
|
8
13
|
children: "Child component",
|
|
9
14
|
size: textHeadingXs
|
|
10
15
|
};
|
|
11
16
|
const richText = {
|
|
17
|
+
uid: getUid(),
|
|
12
18
|
component: "RichText",
|
|
13
19
|
html: "<p>This is a placeholder.</p>"
|
|
14
20
|
};
|
|
@@ -4,7 +4,7 @@ import { useState, useRef, useEffect } from "react";
|
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
5
|
import Heading from "../Heading/index.js";
|
|
6
6
|
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
7
|
-
import {
|
|
7
|
+
import { t as textHeadingMd } from "../../HeadingSize-CqqUYZWV.js";
|
|
8
8
|
import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
@@ -16,7 +16,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
16
16
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
17
17
|
import { d as colorBackgroundOverlayStatic } from "../../BackgroundColor-DSOSZvNi.js";
|
|
18
18
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
19
|
-
import { a as filterProps } from "../../filterProps-
|
|
19
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
20
20
|
const DialogOverlayStyled = styled.div.withConfig({
|
|
21
21
|
shouldForwardProp: filterProps(),
|
|
22
22
|
displayName: "DialogOverlayStyled",
|
|
@@ -96,7 +96,9 @@ const Dialog = ({
|
|
|
96
96
|
size: textHeadingMd,
|
|
97
97
|
weight: fontWeightBold,
|
|
98
98
|
uid: headingId,
|
|
99
|
-
|
|
99
|
+
id: headingId,
|
|
100
|
+
bottomSpacing: spacingNone,
|
|
101
|
+
tabIndex: focusElementOnOpen ? void 0 : -1
|
|
100
102
|
};
|
|
101
103
|
const closeWithEscape = (event) => {
|
|
102
104
|
if (event.key !== "Escape") return;
|
|
@@ -141,16 +143,16 @@ const Dialog = ({
|
|
|
141
143
|
};
|
|
142
144
|
}, []);
|
|
143
145
|
useEffect(() => {
|
|
144
|
-
var _a;
|
|
146
|
+
var _a, _b;
|
|
145
147
|
if (open) {
|
|
146
148
|
updateElements(true);
|
|
147
|
-
focusElementOnOpen
|
|
149
|
+
focusElementOnOpen ? (_a = document.getElementById(focusElementOnOpen)) == null ? void 0 : _a.focus() : (_b = document.getElementById(headingId)) == null ? void 0 : _b.focus();
|
|
148
150
|
dismissable && document.addEventListener("keydown", closeWithEscape);
|
|
149
151
|
}
|
|
150
152
|
return () => {
|
|
151
|
-
var _a2,
|
|
153
|
+
var _a2, _b2;
|
|
152
154
|
updateElements(false);
|
|
153
|
-
focusElementOnClose ? (_a2 = document.getElementById(focusElementOnClose)) == null ? void 0 : _a2.focus() : (
|
|
155
|
+
focusElementOnClose ? (_a2 = document.getElementById(focusElementOnClose)) == null ? void 0 : _a2.focus() : (_b2 = invokingElement.current) == null ? void 0 : _b2.focus();
|
|
154
156
|
dismissable && document.removeEventListener("keydown", closeWithEscape);
|
|
155
157
|
};
|
|
156
158
|
}, [open]);
|
|
@@ -5,31 +5,31 @@ 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-
|
|
9
|
-
import { R as RichText } from "../../index-
|
|
8
|
+
import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-tT4JzApY.js";
|
|
9
|
+
import { R as RichText } from "../../index-Cmrx-D-0.js";
|
|
10
10
|
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
11
|
-
import { b as textHeadingSm } from "../../HeadingSize-
|
|
11
|
+
import { b as textHeadingSm } from "../../HeadingSize-CqqUYZWV.js";
|
|
12
12
|
import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
13
13
|
import { a as spacingMd, s as spacingNone, b as spacingXs, c as spacingSm } from "../../Spacing-BMQelJYr.js";
|
|
14
|
+
import "../../index-DSF1zGyd.js";
|
|
15
|
+
import "../../index-UJLGt4uV.js";
|
|
14
16
|
import "../../NotificationErrorIcon-DMnAJgPN.js";
|
|
15
|
-
import "../../styled-
|
|
17
|
+
import "../../styled-B1bxWqtW.js";
|
|
16
18
|
import "html-react-parser";
|
|
17
|
-
import { b as BadgeStyled } from "../../styled-
|
|
18
|
-
import "
|
|
19
|
-
import "
|
|
20
|
-
import "../../
|
|
21
|
-
import "../../styled-Dk6VS_Sg.js";
|
|
22
|
-
import { a as LinkStyled } from "../../index-tpq3BGwZ.js";
|
|
19
|
+
import { b as BadgeStyled } from "../../styled-CIwf9Ebu.js";
|
|
20
|
+
import "../../styled-Dmb8-99g.js";
|
|
21
|
+
import "../../styled-Dgv3RBlg.js";
|
|
22
|
+
import { a as LinkStyled } from "../../index-ByPSWRQ0.js";
|
|
23
23
|
import "../../hooks/useLinkComponent/index.js";
|
|
24
24
|
import "../InlineLink/index.js";
|
|
25
|
-
import "../../TableHead-
|
|
26
|
-
import "../../styled-
|
|
25
|
+
import "../../TableHead-ogeZ901P.js";
|
|
26
|
+
import "../../styled-BYYivuzh.js";
|
|
27
27
|
import styled from "styled-components";
|
|
28
28
|
import Card from "../Card/index.js";
|
|
29
29
|
import Image, { aspectRatio16_9, aspectRatio1_1 } from "../Image/index.js";
|
|
30
30
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
31
31
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
32
|
-
import { a as filterProps } from "../../filterProps-
|
|
32
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
33
33
|
import { a as cornerRounded } from "../../CornerStyle-JEbGNArR.js";
|
|
34
34
|
const discoveryCardOrientationVertical = "vertical";
|
|
35
35
|
const discoveryCardOrientationHorizontal = "horizontal";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes } from 'react';
|
|
2
2
|
import { DiscoveryCardProps } from './props';
|
|
3
|
-
export declare const DiscoveryCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Card').CardProps, Omit<DiscoveryCardProps, "badge" | "heading" | "
|
|
3
|
+
export declare const DiscoveryCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Card').CardProps, Omit<DiscoveryCardProps, "badge" | "heading" | "price" | "uid" | "body" | "link" | "image">>> & string & Omit<import('react').FC<import('../Card').CardProps>, keyof import('react').Component<any, {}, any>>;
|
|
4
4
|
export declare const DiscoveryCardContentyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
5
|
export declare const DiscoveryCardImageLinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, Pick<DiscoveryCardProps, "bottomSpacing" | "orientation"> & AnchorHTMLAttributes<HTMLAnchorElement>>> & string;
|
|
6
6
|
export declare const DiscoveryCardImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Image').ImageProps, never>> & string & Omit<import('react').FC<import('../Image').ImageProps>, keyof import('react').Component<any, {}, any>>;
|