@vodafone_de/brix-components 7.0.4 → 7.0.5
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/{FontWeight-CR22KTex.js → FontWeight-DEBGHbtO.js} +2 -2
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Body/index.js +1 -1
- package/dist/components/Button/index.js +2 -2
- package/dist/components/ButtonAsLink/index.js +1 -1
- package/dist/components/ConsentMessage/index.js +1 -1
- package/dist/components/DemoBox/index.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/DiscoveryCard/index.js +5 -5
- package/dist/components/DiscoveryCardGroup/index.js +1 -1
- package/dist/components/Heading/index.js +1 -1
- package/dist/components/IconButton/index.js +1 -1
- package/dist/components/IconSnippet/index.js +1 -1
- package/dist/components/ImageHeader/index.js +5 -4
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/Link/index.js +1 -1
- package/dist/components/LinkAsButton/index.js +1 -1
- package/dist/components/LinkListItem/index.js +1 -1
- package/dist/components/MediaText/index.d.ts +5 -0
- package/dist/components/MediaText/index.js +123 -0
- package/dist/components/MediaText/props.d.ts +42 -0
- package/dist/components/MediaText/styled.d.ts +4 -0
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PickerGroup/index.js +2 -2
- package/dist/components/Price/index.js +1 -1
- package/dist/components/ProductCard/index.js +3 -3
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/SearchInput/index.js +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/TabularPrice/index.js +1 -1
- package/dist/components/TextList/index.js +1 -1
- package/dist/components/Tray/index.js +1 -1
- package/dist/{index-C7meHOM4.js → index-57IF0yrd.js} +2 -2
- package/dist/{index-ZHkR70j3.js → index-CKvLGUdD.js} +1 -1
- package/dist/{index-BeSd-V81.js → index-ClmKFtnx.js} +3 -7
- package/dist/index-DR3e19BE.js +7 -0
- package/dist/{index-C5GzK6_0.js → index-DrySIh-D.js} +1 -1
- package/dist/{index-aUJfXBUI.js → index-WLBo71sp.js} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +112 -107
- package/dist/{styled-BSqC5P9h.js → styled-DLS1p_AJ.js} +1 -1
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
|
16
16
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
17
17
|
import { j as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
|
|
18
18
|
import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
|
|
19
|
-
import {
|
|
19
|
+
import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
20
20
|
import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
|
|
21
21
|
import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
|
|
22
22
|
import { f as filterProps } from "../../filterProps-Cewck8OH.js";
|
|
@@ -4,7 +4,7 @@ import "../../index-Cbojl4_Q.js";
|
|
|
4
4
|
import "../../Spacing-D0HQH9YJ.js";
|
|
5
5
|
import "../../SizeTypes-Ck_RdzIf.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
7
|
-
import { a, B } from "../../index-
|
|
7
|
+
import { a, B } from "../../index-CKvLGUdD.js";
|
|
8
8
|
export {
|
|
9
9
|
a as BadgeAppearanceColor,
|
|
10
10
|
B as default
|
|
@@ -8,7 +8,7 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
|
8
8
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
9
9
|
import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
10
10
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
11
|
-
import { f as fontWeightBold } from "../../FontWeight-
|
|
11
|
+
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
12
12
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
13
13
|
import { f as filterProps } from "../../filterProps-Cewck8OH.js";
|
|
14
14
|
const BodyStyled = styled.p.withConfig({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
4
|
-
import { B as ButtonAsLink, g as getButtonIcon } from "../../index-
|
|
5
|
-
import { B as ButtonStyled } from "../../styled-
|
|
4
|
+
import { B as ButtonAsLink, g as getButtonIcon } from "../../index-57IF0yrd.js";
|
|
5
|
+
import { B as ButtonStyled } from "../../styled-DLS1p_AJ.js";
|
|
6
6
|
const buttonFullWidth = "full";
|
|
7
7
|
const buttonAutoWidth = "auto";
|
|
8
8
|
const isButtonAsLinkProp = (props) => {
|
|
@@ -4,7 +4,7 @@ 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-
|
|
7
|
+
import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-DLS1p_AJ.js";
|
|
8
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";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import IconSnippet from "../IconSnippet/index.js";
|
|
4
4
|
import { t as textHeadingXs } from "../../HeadingSize-CfCRn3Lh.js";
|
|
5
|
-
import { g as getUid } from "../../index-
|
|
5
|
+
import { g as getUid } from "../../index-DR3e19BE.js";
|
|
6
6
|
import { D as DemoBoxStyled } from "../../styled-ODPFCF1a.js";
|
|
7
7
|
const heading = {
|
|
8
8
|
component: "Heading",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef, useEffect } from "react";
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
|
-
import { f as fontWeightBold } from "../../FontWeight-
|
|
5
|
+
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
6
6
|
import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
|
|
7
7
|
import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
8
8
|
import Heading from "../Heading/index.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Fragment } from "react";
|
|
4
|
-
import { R as RichText } from "../../index-
|
|
5
|
-
import { f as fontWeightBold } from "../../FontWeight-
|
|
4
|
+
import { R as RichText } from "../../index-ClmKFtnx.js";
|
|
5
|
+
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
6
6
|
import { b as textHeadingSm } from "../../HeadingSize-CfCRn3Lh.js";
|
|
7
7
|
import { s as spacingMd, b as spacingNone, a as spacingXs, c as spacingSm } from "../../Spacing-D0HQH9YJ.js";
|
|
8
8
|
import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
9
|
-
import { b as BadgeStyled, B as Badge } from "../../index-
|
|
9
|
+
import { b as BadgeStyled, B as Badge } from "../../index-CKvLGUdD.js";
|
|
10
10
|
import Body, { bodyAlignLeft, bodyAlignCenter } from "../Body/index.js";
|
|
11
11
|
import Heading from "../Heading/index.js";
|
|
12
12
|
import Link from "../Link/index.js";
|
|
13
|
-
import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-
|
|
13
|
+
import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-WLBo71sp.js";
|
|
14
14
|
import Image, { aspectRatio16_9, aspectRatio1_1 } from "../Image/index.js";
|
|
15
15
|
import { a as cornerRounded } from "../../CornerStyle-JEbGNArR.js";
|
|
16
16
|
import styled from "styled-components";
|
|
@@ -18,7 +18,7 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
18
18
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
19
19
|
import { f as filterProps } from "../../filterProps-Cewck8OH.js";
|
|
20
20
|
import Card from "../Card/index.js";
|
|
21
|
-
import { a as LinkStyled } from "../../index-
|
|
21
|
+
import { a as LinkStyled } from "../../index-DrySIh-D.js";
|
|
22
22
|
const discoveryCardOrientationVertical = "vertical";
|
|
23
23
|
const discoveryCardOrientationHorizontal = "horizontal";
|
|
24
24
|
const DiscoveryCardStyled = styled(Card).withConfig({
|
|
@@ -6,7 +6,7 @@ import Grid from "../Grid/index.js";
|
|
|
6
6
|
import GridItem from "../GridItem/index.js";
|
|
7
7
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
8
8
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
9
|
-
import { a as LinkStyled } from "../../index-
|
|
9
|
+
import { a as LinkStyled } from "../../index-DrySIh-D.js";
|
|
10
10
|
const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
|
|
11
11
|
displayName: "DiscoveryCardGroupGridStyled",
|
|
12
12
|
componentId: "sc-6axszn-0"
|
|
@@ -9,7 +9,7 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
9
9
|
import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
10
10
|
import { getHeadingSize } from "../../foundations/token/getHeadingSize/index.js";
|
|
11
11
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
12
|
-
import { f as fontWeightBold,
|
|
12
|
+
import { f as fontWeightBold, b as fontWeightLight } from "../../FontWeight-DEBGHbtO.js";
|
|
13
13
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
14
14
|
import { f as filterProps } from "../../filterProps-Cewck8OH.js";
|
|
15
15
|
const headingAlignLeft = "left";
|
|
@@ -13,7 +13,7 @@ import { b as borderRadiusMd, c as borderRadiusFull } from "../../BorderRadius-C
|
|
|
13
13
|
import { d as borderWidthSelected } from "../../BorderWidth-DfOlyKK7.js";
|
|
14
14
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
15
15
|
import { a as spacingXs, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
16
|
-
import { b as buttonHeight, g as getButtonAppearance, p as primaryAppearance, a as ButtonAppearanceColor } from "../../styled-
|
|
16
|
+
import { b as buttonHeight, g as getButtonAppearance, p as primaryAppearance, a as ButtonAppearanceColor } from "../../styled-DLS1p_AJ.js";
|
|
17
17
|
import { f as filterProps } from "../../filterProps-Cewck8OH.js";
|
|
18
18
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
19
19
|
const iconButtonShapeSquare = "square";
|
|
@@ -4,7 +4,7 @@ import { df as IconLoader, it as iconSizeLg, iq as iconSize3xl, iv as iconSizeSm
|
|
|
4
4
|
import Body from "../Body/index.js";
|
|
5
5
|
import Heading from "../Heading/index.js";
|
|
6
6
|
import InlineLink from "../InlineLink/index.js";
|
|
7
|
-
import { R as RichText } from "../../index-
|
|
7
|
+
import { R as RichText } from "../../index-ClmKFtnx.js";
|
|
8
8
|
import { d as divTagName } from "../../tags-DI6H1biK.js";
|
|
9
9
|
import { a as spacingXs, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
10
10
|
import Link from "../Link/index.js";
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import Body from "../Body/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b as fontWeightLight } from "../../FontWeight-DEBGHbtO.js";
|
|
5
5
|
import { s as spacingMd, c as spacingSm, d as spacingXl, a as spacingXs, e as spacing2Xs, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
6
6
|
import { m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
7
|
-
import { g as getUid
|
|
7
|
+
import { g as getUid } from "../../index-DR3e19BE.js";
|
|
8
8
|
import Button from "../Button/index.js";
|
|
9
9
|
import Container from "../Container/index.js";
|
|
10
10
|
import Heading, { headingAlignCenter } from "../Heading/index.js";
|
|
11
|
-
import { P as Price, b as priceSizeSm } from "../../index-
|
|
11
|
+
import { P as Price, b as priceSizeSm } from "../../index-WLBo71sp.js";
|
|
12
|
+
import { R as RichText } from "../../index-ClmKFtnx.js";
|
|
12
13
|
import styled from "styled-components";
|
|
13
|
-
import { B as Badge } from "../../index-
|
|
14
|
+
import { B as Badge } from "../../index-CKvLGUdD.js";
|
|
14
15
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
15
16
|
import Grid from "../Grid/index.js";
|
|
16
17
|
import GridItem from "../GridItem/index.js";
|
|
@@ -3,7 +3,7 @@ import { jsx, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import Body from "../Body/index.js";
|
|
4
4
|
import Heading from "../Heading/index.js";
|
|
5
5
|
import IconSnippet, { iconSnippetAlignCenter } from "../IconSnippet/index.js";
|
|
6
|
-
import { R as RichText } from "../../index-
|
|
6
|
+
import { R as RichText } from "../../index-ClmKFtnx.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
8
|
const LegendStyled = styled.legend.withConfig({
|
|
9
9
|
displayName: "LegendStyled",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { L as LinkAsButton, a as LinkStyled, g as getLinkIcon } from "../../index-
|
|
3
|
+
import { L as LinkAsButton, a as LinkStyled, g as getLinkIcon } from "../../index-DrySIh-D.js";
|
|
4
4
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
5
5
|
const isLinkAsButtonProp = (props) => {
|
|
6
6
|
return props.href === void 0;
|
|
@@ -4,7 +4,7 @@ import { iu as iconSizeMd, df as IconLoader } from "../../index-Cbojl4_Q.js";
|
|
|
4
4
|
import { s as spanTagName } from "../../tags-DI6H1biK.js";
|
|
5
5
|
import { s as spacingMd, a as spacingXs, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
6
6
|
import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
7
|
-
import { B as Badge } from "../../index-
|
|
7
|
+
import { B as Badge } from "../../index-CKvLGUdD.js";
|
|
8
8
|
import styled from "styled-components";
|
|
9
9
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
10
10
|
import { e as ease_in_sine } from "../../easing-Dm-pO8SY.js";
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
import Body from "../Body/index.js";
|
|
5
|
+
import Flex from "../Flex/index.js";
|
|
6
|
+
import FlexItem from "../FlexItem/index.js";
|
|
7
|
+
import Heading, { headingAlignLeft } from "../Heading/index.js";
|
|
8
|
+
import Image, { aspectRatio16_9 } from "../Image/index.js";
|
|
9
|
+
import Link from "../Link/index.js";
|
|
10
|
+
import YoutubeVideo from "../YoutubeVideo/index.js";
|
|
11
|
+
import { u as ulTagName, d as divTagName, l as liTagName } from "../../tags-DI6H1biK.js";
|
|
12
|
+
import { a as fontWeightRegular } from "../../FontWeight-DEBGHbtO.js";
|
|
13
|
+
import { b as textHeadingSm, t as textHeadingXs } from "../../HeadingSize-CfCRn3Lh.js";
|
|
14
|
+
import { s as spacingMd, e as spacing2Xs, c as spacingSm, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
15
|
+
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
16
|
+
import { u as useViewport } from "../../index-Cs0Hw0dj.js";
|
|
17
|
+
import { g as getUid } from "../../index-DR3e19BE.js";
|
|
18
|
+
import styled from "styled-components";
|
|
19
|
+
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
20
|
+
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
21
|
+
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
22
|
+
import { f as filterProps } from "../../filterProps-Cewck8OH.js";
|
|
23
|
+
import { a as flexOrientationVertical, f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-B0YKfXTz.js";
|
|
24
|
+
const mediaTextOrientationTop = "top";
|
|
25
|
+
const mediaTextOrientationLeft = "left";
|
|
26
|
+
const mediaTextOrientationRight = "right";
|
|
27
|
+
const MediaTextStyled = styled.div.withConfig({
|
|
28
|
+
shouldForwardProp: filterProps(),
|
|
29
|
+
displayName: "MediaTextStyled",
|
|
30
|
+
componentId: "sc-zs2pry-0"
|
|
31
|
+
})(({
|
|
32
|
+
orientation,
|
|
33
|
+
bottomSpacing = spacingMd
|
|
34
|
+
}) => ({
|
|
35
|
+
display: "flex",
|
|
36
|
+
flexDirection: "column",
|
|
37
|
+
...viewport.md({
|
|
38
|
+
flexDirection: orientation === "top" ? "column" : orientation === "left" ? "row" : "row-reverse"
|
|
39
|
+
}),
|
|
40
|
+
...getBottomSpacing({
|
|
41
|
+
bottomSpacing
|
|
42
|
+
})
|
|
43
|
+
}));
|
|
44
|
+
const MediaTextMediaStyled = styled.div.withConfig({
|
|
45
|
+
shouldForwardProp: filterProps(),
|
|
46
|
+
displayName: "MediaTextMediaStyled",
|
|
47
|
+
componentId: "sc-zs2pry-1"
|
|
48
|
+
})(({
|
|
49
|
+
orientation,
|
|
50
|
+
bottomSpacing = spacingMd
|
|
51
|
+
}) => ({
|
|
52
|
+
flex: 1,
|
|
53
|
+
...getBottomSpacing({
|
|
54
|
+
bottomSpacing
|
|
55
|
+
}),
|
|
56
|
+
...viewport.md({
|
|
57
|
+
...orientation != mediaTextOrientationTop ? {
|
|
58
|
+
marginBottom: 0
|
|
59
|
+
} : {}
|
|
60
|
+
})
|
|
61
|
+
}));
|
|
62
|
+
const MediaTextContentStyled = styled.div.withConfig({
|
|
63
|
+
shouldForwardProp: filterProps(),
|
|
64
|
+
displayName: "MediaTextContentStyled",
|
|
65
|
+
componentId: "sc-zs2pry-2"
|
|
66
|
+
})(({
|
|
67
|
+
orientation
|
|
68
|
+
}) => ({
|
|
69
|
+
flex: 1,
|
|
70
|
+
...viewport.md({
|
|
71
|
+
...orientation === "left" && {
|
|
72
|
+
paddingLeft: getSpacing(spacingMd)
|
|
73
|
+
},
|
|
74
|
+
...orientation === "right" && {
|
|
75
|
+
paddingRight: getSpacing(spacingMd)
|
|
76
|
+
}
|
|
77
|
+
})
|
|
78
|
+
}));
|
|
79
|
+
const MediaText = ({
|
|
80
|
+
media,
|
|
81
|
+
orientation = mediaTextOrientationLeft,
|
|
82
|
+
heading,
|
|
83
|
+
subline,
|
|
84
|
+
body,
|
|
85
|
+
action,
|
|
86
|
+
...props
|
|
87
|
+
}) => {
|
|
88
|
+
const headingId = `heading-${getUid()}`;
|
|
89
|
+
const sublineId = `subline-${getUid()}`;
|
|
90
|
+
const viewport2 = useViewport();
|
|
91
|
+
const headingSpacing = subline ? spacing2Xs : spacingMd;
|
|
92
|
+
const hasMultipleActions = Array.isArray(action) && action.length > 1;
|
|
93
|
+
const actionFlexAs = hasMultipleActions ? ulTagName : divTagName;
|
|
94
|
+
const linkFlexItemAs = hasMultipleActions ? liTagName : divTagName;
|
|
95
|
+
const renderMedia = (media2) => {
|
|
96
|
+
if (!media2) return null;
|
|
97
|
+
switch (media2.component) {
|
|
98
|
+
case "Image":
|
|
99
|
+
return /* @__PURE__ */ jsx(Image, { ...media2, aspectRatio: aspectRatio16_9, bottomSpacing: spacingNone });
|
|
100
|
+
case "YoutubeVideo":
|
|
101
|
+
return /* @__PURE__ */ jsx(YoutubeVideo, { ...media2, bottomSpacing: spacingNone });
|
|
102
|
+
default:
|
|
103
|
+
console.warn(`Unsupported media component: ${media2.component}`);
|
|
104
|
+
return null;
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
const mediaContent = useMemo(() => renderMedia(media), [media]);
|
|
108
|
+
return /* @__PURE__ */ jsxs(MediaTextStyled, { orientation, ...props, children: [
|
|
109
|
+
/* @__PURE__ */ jsx(MediaTextMediaStyled, { orientation, children: mediaContent }),
|
|
110
|
+
/* @__PURE__ */ jsxs(MediaTextContentStyled, { orientation, children: [
|
|
111
|
+
/* @__PURE__ */ jsx(Heading, { ...heading, id: headingId, align: headingAlignLeft, size: textHeadingSm, bottomSpacing: headingSpacing }),
|
|
112
|
+
subline && /* @__PURE__ */ jsx(Heading, { ...subline, id: sublineId, align: headingAlignLeft, size: textHeadingXs, weight: fontWeightRegular, bottomSpacing: spacingMd }),
|
|
113
|
+
/* @__PURE__ */ jsx(Body, { ...body, size: textBodyMd, bottomSpacing: spacingMd }),
|
|
114
|
+
/* @__PURE__ */ jsx(Flex, { bottomSpacing: spacingMd, gapSpacing: spacingSm, justify: flexJustifyStart, orientation: "sm" === viewport2 ? flexOrientationVertical : flexOrientationHorizontal, as: actionFlexAs, children: action && action.map((action2) => /* @__PURE__ */ jsx(FlexItem, { as: linkFlexItemAs, bottomSpacing: spacingNone, children: /* @__PURE__ */ jsx(Link, { ...action2 }) }, action2.uid)) })
|
|
115
|
+
] })
|
|
116
|
+
] });
|
|
117
|
+
};
|
|
118
|
+
export {
|
|
119
|
+
MediaText as default,
|
|
120
|
+
mediaTextOrientationLeft,
|
|
121
|
+
mediaTextOrientationRight,
|
|
122
|
+
mediaTextOrientationTop
|
|
123
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { BodyProps } from '../Body/props';
|
|
3
|
+
import { HeadingProps } from '../Heading/props';
|
|
4
|
+
import { ImageProps } from '../Image';
|
|
5
|
+
import { LinkProps } from '../Link';
|
|
6
|
+
import { YoutubeVideoProps } from '../YoutubeVideo';
|
|
7
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
8
|
+
export declare const mediaTextOrientationTop = "top";
|
|
9
|
+
export declare const mediaTextOrientationLeft = "left";
|
|
10
|
+
export declare const mediaTextOrientationRight = "right";
|
|
11
|
+
export type MediaTextOrientation = typeof mediaTextOrientationTop | typeof mediaTextOrientationLeft | typeof mediaTextOrientationRight;
|
|
12
|
+
export interface MediaTextProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
|
|
13
|
+
/**
|
|
14
|
+
* Pin component's name from string to the concrete name
|
|
15
|
+
*/
|
|
16
|
+
component?: 'MediaText';
|
|
17
|
+
/**
|
|
18
|
+
* media prop can be either an Image or a YoutubeVideo
|
|
19
|
+
* The aspect ratio is always 16 to 1. This must be taken into account when selecting the asset.
|
|
20
|
+
*/
|
|
21
|
+
media: Omit<ImageProps, 'bottomSpacing'> | Omit<YoutubeVideoProps, 'bottomSpacing'>;
|
|
22
|
+
/**
|
|
23
|
+
* MediaText media can be orientated top, left or right.
|
|
24
|
+
*/
|
|
25
|
+
orientation?: MediaTextOrientation;
|
|
26
|
+
/**
|
|
27
|
+
* Heading
|
|
28
|
+
*/
|
|
29
|
+
heading: Omit<HeadingProps, 'size' | 'weight' | 'bottomSpacing'>;
|
|
30
|
+
/**
|
|
31
|
+
* Subline
|
|
32
|
+
*/
|
|
33
|
+
subline?: Omit<HeadingProps, 'size' | 'weight' | 'bottomSpacing'>;
|
|
34
|
+
/**
|
|
35
|
+
* Body
|
|
36
|
+
*/
|
|
37
|
+
body: Omit<BodyProps, 'size' | 'weight' | 'bottomSpacing'>;
|
|
38
|
+
/**
|
|
39
|
+
* Action, list of links
|
|
40
|
+
*/
|
|
41
|
+
action?: LinkProps[];
|
|
42
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MediaTextProps } from './props';
|
|
2
|
+
export declare const MediaTextStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<MediaTextProps, "orientation" | "bottomSpacing">>> & string;
|
|
3
|
+
export declare const MediaTextMediaStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<MediaTextProps, "orientation" | "bottomSpacing">>> & string;
|
|
4
|
+
export declare const MediaTextContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<MediaTextProps, "orientation">>> & string;
|
|
@@ -7,7 +7,7 @@ import ButtonGroup from "../ButtonGroup/index.js";
|
|
|
7
7
|
import Flex from "../Flex/index.js";
|
|
8
8
|
import Heading from "../Heading/index.js";
|
|
9
9
|
import Link from "../Link/index.js";
|
|
10
|
-
import { R as RichText } from "../../index-
|
|
10
|
+
import { R as RichText } from "../../index-ClmKFtnx.js";
|
|
11
11
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
12
12
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
13
13
|
import { e as colorBorderCritical, f as colorBorderWarning, d as colorBorderSuccess, k as colorBorderInformation } from "../../BorderColor-BummoQ1-.js";
|
|
@@ -6,7 +6,7 @@ import { e as spacing2Xs, s as spacingMd, c as spacingSm, b as spacingNone } fro
|
|
|
6
6
|
import { useState, useEffect } from "react";
|
|
7
7
|
import Grid from "../Grid/index.js";
|
|
8
8
|
import { df as IconLoader, iu as iconSizeMd } from "../../index-Cbojl4_Q.js";
|
|
9
|
-
import { B as Badge } from "../../index-
|
|
9
|
+
import { B as Badge } from "../../index-CKvLGUdD.js";
|
|
10
10
|
import ColorSwatch from "../ColorSwatch/index.js";
|
|
11
11
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
12
12
|
import styled from "styled-components";
|
|
@@ -27,7 +27,7 @@ import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
|
27
27
|
import { c as colorBackgroundNeutral } from "../../BackgroundColor-e0N9tdDR.js";
|
|
28
28
|
import { b as borderRadiusMd } from "../../BorderRadius-ClUShVLu.js";
|
|
29
29
|
import { a as borderWidthFocus, d as borderWidthSelected } from "../../BorderWidth-DfOlyKK7.js";
|
|
30
|
-
import {
|
|
30
|
+
import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
31
31
|
import { o as opacityOverlay } from "../../Opacity-smkGiwsf.js";
|
|
32
32
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
33
33
|
import { f as filterProps } from "../../filterProps-Cewck8OH.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "../../index-DQhtQZ85.js";
|
|
4
4
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
5
|
-
import { c, P, i, g, f, h, p, a, e, d, b } from "../../index-
|
|
5
|
+
import { c, P, i, g, f, h, p, a, e, d, b } from "../../index-WLBo71sp.js";
|
|
6
6
|
export {
|
|
7
7
|
c as createScreenReaderText,
|
|
8
8
|
P as default,
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { it as iconSizeLg } from "../../index-Cbojl4_Q.js";
|
|
4
4
|
import Image, { aspectRatio1_1 } from "../Image/index.js";
|
|
5
|
-
import { f as fontWeightBold } from "../../FontWeight-
|
|
5
|
+
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
6
6
|
import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
|
|
7
7
|
import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
8
|
-
import { B as Badge } from "../../index-
|
|
8
|
+
import { B as Badge } from "../../index-CKvLGUdD.js";
|
|
9
9
|
import Body from "../Body/index.js";
|
|
10
10
|
import ColorSwatchGroup from "../ColorSwatchGroup/index.js";
|
|
11
11
|
import Heading from "../Heading/index.js";
|
|
12
12
|
import Link from "../Link/index.js";
|
|
13
|
-
import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-
|
|
13
|
+
import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-WLBo71sp.js";
|
|
14
14
|
import styled from "styled-components";
|
|
15
15
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
16
16
|
import Card from "../Card/index.js";
|
|
@@ -5,7 +5,7 @@ import { forwardRef, useState, useRef, useImperativeHandle } from "react";
|
|
|
5
5
|
import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
6
6
|
import IconButton, { iconButtonShapeSquare } from "../IconButton/index.js";
|
|
7
7
|
import { b as spacingNone, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
8
|
-
import { p as primaryAppearance } from "../../styled-
|
|
8
|
+
import { p as primaryAppearance } from "../../styled-DLS1p_AJ.js";
|
|
9
9
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
10
10
|
import Form from "../Form/index.js";
|
|
11
11
|
import styled from "styled-components";
|
|
@@ -12,7 +12,7 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
12
12
|
import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
13
13
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
14
14
|
import { g as colorBorderBrand, a as colorBorderNeutral, h as colorBorderInverse } from "../../BorderColor-BummoQ1-.js";
|
|
15
|
-
import { f as fontWeightBold } from "../../FontWeight-
|
|
15
|
+
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
16
16
|
import { c as colorObjectBrand, a as colorObjectInverse } from "../../ObjectColor-BZDBuV8H.js";
|
|
17
17
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
18
18
|
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { a, T } from "../../index-
|
|
3
|
+
import { a, T } from "../../index-ClmKFtnx.js";
|
|
4
4
|
import "../../tags-DI6H1biK.js";
|
|
5
5
|
import "../../Spacing-D0HQH9YJ.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
@@ -4,7 +4,7 @@ import { useState, useRef, useEffect } from "react";
|
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
5
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
6
6
|
import Heading from "../Heading/index.js";
|
|
7
|
-
import { f as fontWeightBold } from "../../FontWeight-
|
|
7
|
+
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
8
8
|
import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
|
|
9
9
|
import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
10
10
|
import styled from "styled-components";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { iv as iconSizeSm } from "./index-Cbojl4_Q.js";
|
|
3
|
-
import { l as leftPosition, c as ButtonIconStyled, b as buttonHeight, g as getButtonAppearance, p as primaryAppearance } from "./styled-
|
|
3
|
+
import { l as leftPosition, c as ButtonIconStyled, b as buttonHeight, g as getButtonAppearance, p as primaryAppearance } from "./styled-DLS1p_AJ.js";
|
|
4
4
|
import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { getBodySize } from "./foundations/token/getBodySize/index.js";
|
|
@@ -9,7 +9,7 @@ import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js"
|
|
|
9
9
|
import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
|
|
10
10
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
11
11
|
import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
|
|
12
|
-
import {
|
|
12
|
+
import { a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
|
|
13
13
|
import { a as spacingXs, d as spacingXl, b as spacingNone, s as spacingMd } from "./Spacing-D0HQH9YJ.js";
|
|
14
14
|
import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|
|
15
15
|
import { f as filterProps } from "./filterProps-Cewck8OH.js";
|
|
@@ -12,7 +12,7 @@ import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
|
|
|
12
12
|
import { getObjectColor } from "./foundations/token/getObjectColor/index.js";
|
|
13
13
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
14
14
|
import { c as borderRadiusFull } from "./BorderRadius-ClUShVLu.js";
|
|
15
|
-
import { f as fontWeightBold } from "./FontWeight-
|
|
15
|
+
import { f as fontWeightBold } from "./FontWeight-DEBGHbtO.js";
|
|
16
16
|
import { a as textBodySm, t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|
|
17
17
|
import { b as getForegroundColor } from "./colorUtils-BSfFfgbi.js";
|
|
18
18
|
import { f as filterProps } from "./filterProps-Cewck8OH.js";
|
|
@@ -13,14 +13,11 @@ import { getBodySize } from "./foundations/token/getBodySize/index.js";
|
|
|
13
13
|
import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
|
|
14
14
|
import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
|
|
15
15
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
16
|
-
import {
|
|
16
|
+
import { a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
|
|
17
17
|
import { a as textBodySm, t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|
|
18
18
|
import { f as filterProps } from "./filterProps-Cewck8OH.js";
|
|
19
19
|
import { t as textHeadingXs, b as textHeadingSm, a as textHeadingMd, c as textHeadingLg, d as textHeadingXl } from "./HeadingSize-CfCRn3Lh.js";
|
|
20
|
-
import {
|
|
21
|
-
const getUid = () => {
|
|
22
|
-
return v4();
|
|
23
|
-
};
|
|
20
|
+
import { g as getUid } from "./index-DR3e19BE.js";
|
|
24
21
|
const mapSizeToTag = {
|
|
25
22
|
h1: textHeadingXl,
|
|
26
23
|
h2: textHeadingLg,
|
|
@@ -163,6 +160,5 @@ const TextList = ({
|
|
|
163
160
|
export {
|
|
164
161
|
RichText as R,
|
|
165
162
|
TextList as T,
|
|
166
|
-
TextListItem as a
|
|
167
|
-
getUid as g
|
|
163
|
+
TextListItem as a
|
|
168
164
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { iv as iconSizeSm } from "./index-Cbojl4_Q.js";
|
|
3
|
-
import { c as ButtonIconStyled } from "./styled-
|
|
3
|
+
import { c as ButtonIconStyled } from "./styled-DLS1p_AJ.js";
|
|
4
4
|
import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
|
|
@@ -8,7 +8,7 @@ import { getHeadingSize } from "./foundations/token/getHeadingSize/index.js";
|
|
|
8
8
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
9
9
|
import { getTextColor } from "./foundations/token/getTextColor/index.js";
|
|
10
10
|
import { getTextDecoration } from "./foundations/token/getTextDecoration/index.js";
|
|
11
|
-
import { f as fontWeightBold,
|
|
11
|
+
import { f as fontWeightBold, a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
|
|
12
12
|
import { s as spacingMd, b as spacingNone, a as spacingXs } from "./Spacing-D0HQH9YJ.js";
|
|
13
13
|
import { g as colorTextCritical, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
|
|
14
14
|
import { f as filterProps } from "./filterProps-Cewck8OH.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export * from './components/Overlay';
|
|
|
40
40
|
export { default as Overlay } from './components/Overlay';
|
|
41
41
|
export * from './components/Notification';
|
|
42
42
|
export { default as Notification } from './components/Notification';
|
|
43
|
+
export * from './components/MediaText';
|
|
44
|
+
export { default as MediaText } from './components/MediaText';
|
|
43
45
|
export * from './components/LoadingSpinner';
|
|
44
46
|
export { default as LoadingSpinner } from './components/LoadingSpinner';
|
|
45
47
|
export * from './components/LinkListItem';
|
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@ 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, i, g, f, h, p, a as a2, e, d, b } from "./index-
|
|
5
|
+
import { R, T, a } from "./index-ClmKFtnx.js";
|
|
6
|
+
import { P, T as T2, c, i, g, f, h, p, a as a2, e, d, b } from "./index-WLBo71sp.js";
|
|
7
7
|
import { default as default6 } from "./components/Switch/index.js";
|
|
8
8
|
import { default as default7 } from "./components/SuggestInput/index.js";
|
|
9
9
|
import { default as default8 } from "./components/Stepper/index.js";
|
|
@@ -17,60 +17,61 @@ import { default as default14 } from "./components/ProductCard/index.js";
|
|
|
17
17
|
import { default as default15 } from "./components/PickerGroup/index.js";
|
|
18
18
|
import { default as default16, overlayAppearancePrimary, overlayAppearanceSecondary } from "./components/Overlay/index.js";
|
|
19
19
|
import { default as default17, notificationStatusError, notificationStatusInfo, notificationStatusSuccess, notificationStatusWarning } from "./components/Notification/index.js";
|
|
20
|
-
import { default as default18 } from "./components/
|
|
21
|
-
import { default as default19
|
|
22
|
-
import { default as default20,
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { default as default22 } from "./components/
|
|
26
|
-
import { default as default23 } from "./components/
|
|
27
|
-
import { default as default24 } from "./components/
|
|
28
|
-
import { default as default25 } from "./components/
|
|
29
|
-
import { default as default26
|
|
30
|
-
import { default as default27,
|
|
31
|
-
import { default as default28 } from "./components/
|
|
32
|
-
import { default as default29
|
|
33
|
-
import { default as default30,
|
|
34
|
-
import { default as default31,
|
|
35
|
-
import { default as default32 } from "./components/
|
|
36
|
-
import { default as default33
|
|
37
|
-
import { default as default34 } from "./components/
|
|
38
|
-
import { default as default35 } from "./components/
|
|
39
|
-
import { default as default36 } from "./components/
|
|
40
|
-
import { default as default37
|
|
41
|
-
import { default as default38 } from "./components/
|
|
42
|
-
import { default as default39 } from "./components/
|
|
43
|
-
import { default as default40 } from "./components/
|
|
44
|
-
import { default as default41 } from "./components/
|
|
45
|
-
import { default as default42 } from "./components/
|
|
46
|
-
import { default as default43 } from "./components/
|
|
47
|
-
import { default as default44
|
|
48
|
-
import { default as default45 } from "./components/
|
|
49
|
-
import { default as default46 } from "./components/
|
|
50
|
-
import { default as default47 } from "./components/
|
|
51
|
-
import { default as default48 } from "./components/
|
|
52
|
-
import { default as default49 } from "./components/
|
|
53
|
-
import { default as default50
|
|
54
|
-
import { default as default51 } from "./components/
|
|
55
|
-
import { default as default52 } from "./components/
|
|
56
|
-
import { default as default53 } from "./components/
|
|
57
|
-
import { default as default54
|
|
58
|
-
import { default as default55 } from "./components/
|
|
59
|
-
import { default as default56 } from "./components/
|
|
60
|
-
import { default as default57
|
|
61
|
-
import { default as default58 } from "./components/
|
|
62
|
-
import { default as default59 } from "./components/
|
|
63
|
-
import { default as default60 } from "./components/
|
|
64
|
-
import { default as default61 } from "./components/
|
|
65
|
-
import { default as default62 } from "./components/
|
|
66
|
-
import { default as default63 } from "./components/
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import { default as default65 } from "./components/
|
|
70
|
-
import { default as default66
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import { default as default68
|
|
20
|
+
import { default as default18, mediaTextOrientationLeft, mediaTextOrientationRight, mediaTextOrientationTop } from "./components/MediaText/index.js";
|
|
21
|
+
import { default as default19 } from "./components/LoadingSpinner/index.js";
|
|
22
|
+
import { default as default20, linkListItemVariantHorizontal, linkListItemVariantVertical } from "./components/LinkListItem/index.js";
|
|
23
|
+
import { default as default21, linkListVariantColumn, linkListVariantRow } from "./components/LinkList/index.js";
|
|
24
|
+
import { L } from "./index-DrySIh-D.js";
|
|
25
|
+
import { default as default22 } from "./components/Link/index.js";
|
|
26
|
+
import { default as default23 } from "./components/Legend/index.js";
|
|
27
|
+
import { default as default24 } from "./components/Label/index.js";
|
|
28
|
+
import { default as default25 } from "./components/Input/index.js";
|
|
29
|
+
import { default as default26 } from "./components/InlineLink/index.js";
|
|
30
|
+
import { default as default27, imageHeaderPositionLeft, imageHeaderPositionRight, imageHeaderVariantFull, imageHeaderVariantSplit } from "./components/ImageHeader/index.js";
|
|
31
|
+
import { default as default28, aspectRatio16_9, aspectRatio1_1, aspectRatio21_9, aspectRatio32_9, aspectRatio3_4, aspectRatio48_9, horizontalAlignmentCenter, horizontalAlignmentLeft, horizontalAlignmentRight, objectFitContain, objectFitCover, objectFitNone, objectPositionCenter, objectPositionLeftBottom, objectPositionLeftCenter, objectPositionLeftTop, objectPositionRightBottom, objectPositionRightCenter, objectPositionRightTop } from "./components/Image/index.js";
|
|
32
|
+
import { default as default29 } from "./components/IconSnippetList/index.js";
|
|
33
|
+
import { default as default30, iconSnippetAlignCenter, iconSnippetAlignTop, iconSnippetPositionCenter, iconSnippetPositionLeft, iconSnippetSize3Xl, iconSnippetSizeLarge, iconSnippetSizeSmall } from "./components/IconSnippet/index.js";
|
|
34
|
+
import { default as default31, iconButtonShapeCircle, iconButtonShapeSquare } from "./components/IconButton/index.js";
|
|
35
|
+
import { default as default32, iconSize5xl, iconSize6xl, iconSize7xl, iconSize8xl, iconSize9xl } from "./components/Icon/index.js";
|
|
36
|
+
import { default as default33 } from "./components/HifiIcon/index.js";
|
|
37
|
+
import { default as default34, headingAlignCenter, headingAlignLeft } from "./components/Heading/index.js";
|
|
38
|
+
import { default as default35 } from "./components/GridItem/index.js";
|
|
39
|
+
import { default as default36 } from "./components/Grid/index.js";
|
|
40
|
+
import { default as default37 } from "./components/GoogleMap/index.js";
|
|
41
|
+
import { default as default38, inputStatusIcons } from "./components/FormHelperStatusIcon/index.js";
|
|
42
|
+
import { default as default39 } from "./components/FormHelperMessage/index.js";
|
|
43
|
+
import { default as default40 } from "./components/FormHelperLabel/index.js";
|
|
44
|
+
import { default as default41 } from "./components/FormElement/index.js";
|
|
45
|
+
import { default as default42 } from "./components/Form/index.js";
|
|
46
|
+
import { default as default43 } from "./components/FootnoteLink/index.js";
|
|
47
|
+
import { default as default44 } from "./components/FootnoteContent/index.js";
|
|
48
|
+
import { default as default45, flexItemAutoGrow, flexItemFullGrow } from "./components/FlexItem/index.js";
|
|
49
|
+
import { default as default46 } from "./components/Flex/index.js";
|
|
50
|
+
import { default as default47 } from "./components/FilterGroup/index.js";
|
|
51
|
+
import { default as default48 } from "./components/Fieldset/index.js";
|
|
52
|
+
import { default as default49 } from "./components/Divider/index.js";
|
|
53
|
+
import { default as default50 } from "./components/DiscoveryCardGroup/index.js";
|
|
54
|
+
import { default as default51, discoveryCardOrientationHorizontal, discoveryCardOrientationVertical } from "./components/DiscoveryCard/index.js";
|
|
55
|
+
import { default as default52 } from "./components/Dialog/index.js";
|
|
56
|
+
import { default as default53 } from "./components/DemoBox/index.js";
|
|
57
|
+
import { default as default54 } from "./components/DateInput/index.js";
|
|
58
|
+
import { default as default55, ContainerAppearanceColor } from "./components/Container/index.js";
|
|
59
|
+
import { default as default56 } from "./components/ConsentMessage/index.js";
|
|
60
|
+
import { default as default57 } from "./components/ColorSwatchGroup/index.js";
|
|
61
|
+
import { default as default58, colorSwatchSizeMedium, colorSwatchSizeSmall } from "./components/ColorSwatch/index.js";
|
|
62
|
+
import { default as default59 } from "./components/Collapsible/index.js";
|
|
63
|
+
import { default as default60 } from "./components/CheckboxGroup/index.js";
|
|
64
|
+
import { default as default61 } from "./components/Checkbox/index.js";
|
|
65
|
+
import { default as default62 } from "./components/Carousel/index.js";
|
|
66
|
+
import { default as default63 } from "./components/Card/index.js";
|
|
67
|
+
import { default as default64 } from "./components/ButtonGroup/index.js";
|
|
68
|
+
import { B } from "./index-57IF0yrd.js";
|
|
69
|
+
import { default as default65, buttonAutoWidth, buttonFullWidth } from "./components/Button/index.js";
|
|
70
|
+
import { default as default66 } from "./components/BottomBar/index.js";
|
|
71
|
+
import { default as default67, bodyAlignCenter, bodyAlignLeft, bodyAlignRight } from "./components/Body/index.js";
|
|
72
|
+
import { B as B2, a as a3 } from "./index-CKvLGUdD.js";
|
|
73
|
+
import { default as default68 } from "./components/AccordionGroup/index.js";
|
|
74
|
+
import { default as default69, accordionToggleCollapsed, accordionToggleCollapsing, accordionToggleExpanded } from "./components/Accordion/index.js";
|
|
74
75
|
import { getTextDecoration } from "./foundations/token/getTextDecoration/index.js";
|
|
75
76
|
import { getTextColor } from "./foundations/token/getTextColor/index.js";
|
|
76
77
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
@@ -101,65 +102,66 @@ import { a as a4, i as i2 } from "./props-DDpgcryb.js";
|
|
|
101
102
|
import { e as e2, d as d2, c as c2, b as b2, f as f2, a as a5 } from "./styled-B0YKfXTz.js";
|
|
102
103
|
import { C } from "./styled-CYugcGtx.js";
|
|
103
104
|
export {
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
default69 as Accordion,
|
|
106
|
+
default68 as AccordionGroup,
|
|
106
107
|
B2 as Badge,
|
|
107
108
|
a3 as BadgeAppearanceColor,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
default67 as Body,
|
|
110
|
+
default66 as BottomBar,
|
|
111
|
+
default65 as Button,
|
|
111
112
|
B as ButtonAsLink,
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
default64 as ButtonGroup,
|
|
114
|
+
default63 as Card,
|
|
114
115
|
C as CardAppearanceColor,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
116
|
+
default62 as Carousel,
|
|
117
|
+
default61 as Checkbox,
|
|
118
|
+
default60 as CheckboxGroup,
|
|
119
|
+
default59 as Collapsible,
|
|
120
|
+
default58 as ColorSwatch,
|
|
121
|
+
default57 as ColorSwatchGroup,
|
|
122
|
+
default56 as ConsentMessage,
|
|
123
|
+
default55 as Container,
|
|
123
124
|
ContainerAppearanceColor,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
125
|
+
default54 as DateInput,
|
|
126
|
+
default53 as DemoBox,
|
|
127
|
+
default52 as Dialog,
|
|
128
|
+
default51 as DiscoveryCard,
|
|
129
|
+
default50 as DiscoveryCardGroup,
|
|
130
|
+
default49 as Divider,
|
|
131
|
+
default48 as Fieldset,
|
|
132
|
+
default47 as FilterGroup,
|
|
133
|
+
default46 as Flex,
|
|
134
|
+
default45 as FlexItem,
|
|
135
|
+
default44 as FootnoteContent,
|
|
136
|
+
default43 as FootnoteLink,
|
|
137
|
+
default42 as Form,
|
|
138
|
+
default41 as FormElement,
|
|
139
|
+
default40 as FormHelperLabel,
|
|
140
|
+
default39 as FormHelperMessage,
|
|
141
|
+
default38 as FormHelperStatusIcon,
|
|
141
142
|
GlobalStyle,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
default37 as GoogleMap,
|
|
144
|
+
default36 as Grid,
|
|
145
|
+
default35 as GridItem,
|
|
146
|
+
default34 as Heading,
|
|
146
147
|
HiddenRadioStyled,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
148
|
+
default33 as HifiIcon,
|
|
149
|
+
default32 as Icon,
|
|
150
|
+
default31 as IconButton,
|
|
151
|
+
default30 as IconSnippet,
|
|
152
|
+
default29 as IconSnippetList,
|
|
153
|
+
default28 as Image,
|
|
154
|
+
default27 as ImageHeader,
|
|
155
|
+
default26 as InlineLink,
|
|
156
|
+
default25 as Input,
|
|
157
|
+
default24 as Label,
|
|
158
|
+
default23 as Legend,
|
|
159
|
+
default22 as Link,
|
|
159
160
|
L as LinkAsButton,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
default21 as LinkList,
|
|
162
|
+
default20 as LinkListItem,
|
|
163
|
+
default19 as LoadingSpinner,
|
|
164
|
+
default18 as MediaText,
|
|
163
165
|
default17 as Notification,
|
|
164
166
|
default16 as Overlay,
|
|
165
167
|
default15 as PickerGroup,
|
|
@@ -266,6 +268,9 @@ export {
|
|
|
266
268
|
linkListItemVariantVertical,
|
|
267
269
|
linkListVariantColumn,
|
|
268
270
|
linkListVariantRow,
|
|
271
|
+
mediaTextOrientationLeft,
|
|
272
|
+
mediaTextOrientationRight,
|
|
273
|
+
mediaTextOrientationTop,
|
|
269
274
|
m as mediumMediaQuery,
|
|
270
275
|
noReducedMotion,
|
|
271
276
|
notificationStatusError,
|
|
@@ -19,7 +19,7 @@ import { getFontWeight } from "./foundations/token/getFontWeight/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 { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
|
|
22
|
-
import {
|
|
22
|
+
import { a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
|
|
23
23
|
import { a as opacityDisabled } from "./Opacity-smkGiwsf.js";
|
|
24
24
|
import { a as spacingXs, d as spacingXl, b as spacingNone, s as spacingMd } from "./Spacing-D0HQH9YJ.js";
|
|
25
25
|
import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|