@vodafone_de/brix-components 7.0.14 → 7.0.15
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/{BorderWidth-DfOlyKK7.js → BorderWidth-eg_mz82k.js} +2 -2
- package/dist/{styled-BvCNTnzN.js → ButtonAppearanceHelper-D7-_vPGW.js} +5 -78
- package/dist/{ObjectColor-BZDBuV8H.js → ObjectColor-BYFmdKyF.js} +6 -6
- package/dist/{colorUtils-BSfFfgbi.js → colorUtils-lb0oJttx.js} +10 -3
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Button/index.js +2 -2
- package/dist/components/ButtonAsLink/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Carousel/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/ColorSwatch/index.js +1 -1
- package/dist/components/ConsentMessage/index.js +1 -1
- package/dist/components/Container/index.js +1 -1
- package/dist/components/DateInput/index.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/DiscoveryCard/index.js +3 -3
- package/dist/components/DiscoveryCardGroup/index.js +1 -1
- package/dist/components/FilterGroup/index.js +2 -2
- package/dist/components/FootnoteContent/index.js +1 -1
- package/dist/components/GoogleMap/index.js +1 -1
- package/dist/components/GridItem/index.js +1 -1
- package/dist/components/IconButton/index.js +3 -2
- package/dist/components/ImageHeader/index.js +1 -1
- package/dist/components/InlineLink/index.js +1 -1
- package/dist/components/Input/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 +2 -2
- package/dist/components/MediaText/index.js +1 -1
- package/dist/components/Notification/index.js +2 -2
- package/dist/components/PickerGroup/index.js +2 -2
- package/dist/components/ProductCard/index.js +1 -1
- package/dist/components/QuickLinkList/components/QuickLink/index.d.ts +5 -0
- package/dist/components/QuickLinkList/components/QuickLink/props.d.ts +21 -0
- package/dist/components/QuickLinkList/components/QuickLink/styled.d.ts +3 -0
- package/dist/components/QuickLinkList/index.d.ts +5 -0
- package/dist/components/QuickLinkList/index.js +130 -0
- package/dist/components/QuickLinkList/props.d.ts +12 -0
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/Rating/index.js +3 -3
- package/dist/components/SearchInput/index.js +2 -2
- package/dist/components/Stepper/index.js +2 -2
- package/dist/components/SuggestInput/index.js +1 -1
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/TabGroup/index.js +2 -2
- package/dist/components/TimeInput/index.js +2 -2
- package/dist/components/Tray/index.js +1 -1
- package/dist/hooks/useViewport/index.js +1 -1
- package/dist/{index-nhWB8ViX.js → index-BWSFmccc.js} +2 -2
- package/dist/{index-DAUhM24n.js → index-CoI0XH4F.js} +2 -2
- package/dist/{index-Cs0Hw0dj.js → index-DEBP0uAj.js} +1 -0
- package/dist/{index-CmRKTcf2.js → index-lIwEMVkJ.js} +2 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +122 -120
- package/dist/{styled-Zn59EuIp.js → styled--FF6flp-.js} +1 -1
- package/dist/styled-BB6bR4YZ.js +76 -0
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@ const borderWidthMd = "Md";
|
|
|
8
8
|
export {
|
|
9
9
|
borderWidthFocus as a,
|
|
10
10
|
borderWidthUnselected as b,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
borderWidthSelected as c,
|
|
12
|
+
borderWidthSm as d,
|
|
13
13
|
borderWidthDivider as e,
|
|
14
14
|
borderWidthNone as f,
|
|
15
15
|
borderWidthMd as g
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
1
|
import forcedColors from "./foundations/media-query/forcedColors/index.js";
|
|
3
2
|
import { e as ease_in_sine } from "./easing-Dm-pO8SY.js";
|
|
4
3
|
import { getBorderColor } from "./foundations/token/getBorderColor/index.js";
|
|
@@ -7,24 +6,9 @@ import { getHoverColor } from "./foundations/token/getHoverColor/index.js";
|
|
|
7
6
|
import { getObjectColor } from "./foundations/token/getObjectColor/index.js";
|
|
8
7
|
import { getPressColor } from "./foundations/token/getPressColor/index.js";
|
|
9
8
|
import { c as colorBorderFocus } from "./BorderColor-BummoQ1-.js";
|
|
10
|
-
import { a as borderWidthFocus,
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import IconLoader from "./components/IconLoader/index.js";
|
|
14
|
-
import { v as viewport } from "./index-Ck2bCrhT.js";
|
|
15
|
-
import { getBodySize } from "./foundations/token/getBodySize/index.js";
|
|
16
|
-
import { getBorderRadius } from "./foundations/token/getBorderRadius/index.js";
|
|
17
|
-
import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
|
|
18
|
-
import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
|
|
19
|
-
import { getOpacity } from "./foundations/token/getOpacity/index.js";
|
|
20
|
-
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
21
|
-
import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
|
|
22
|
-
import { a as fontWeightRegular } from "./FontWeight-DEBGHbtO.js";
|
|
23
|
-
import { a as opacityDisabled } from "./Opacity-smkGiwsf.js";
|
|
24
|
-
import { a as spacingXs, d as spacingXl, b as spacingNone, s as spacingMd } from "./Spacing-D0HQH9YJ.js";
|
|
25
|
-
import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|
|
26
|
-
import { a as filterProps } from "./filterProps-xigToTuS.js";
|
|
27
|
-
const leftPosition = "left";
|
|
9
|
+
import { a as borderWidthFocus, c as borderWidthSelected } from "./BorderWidth-eg_mz82k.js";
|
|
10
|
+
import { c as colorObjectNeutral, a as colorObjectBrand, b as colorObjectInverse } from "./ObjectColor-BYFmdKyF.js";
|
|
11
|
+
import { g as getForegroundColor } from "./colorUtils-lb0oJttx.js";
|
|
28
12
|
const ButtonAppearanceColor = {
|
|
29
13
|
primary: colorObjectBrand,
|
|
30
14
|
secondary: colorObjectNeutral,
|
|
@@ -102,64 +86,7 @@ const getButtonAppearance = (appearance) => {
|
|
|
102
86
|
}
|
|
103
87
|
return style;
|
|
104
88
|
};
|
|
105
|
-
const primaryAppearance = "primary";
|
|
106
|
-
const tertiaryAppearance = "tertiary";
|
|
107
|
-
const buttonHeight = "44px";
|
|
108
|
-
const ButtonIconStyled = styled(IconLoader).withConfig({
|
|
109
|
-
displayName: "ButtonIconStyled",
|
|
110
|
-
componentId: "sc-6d4at9-0"
|
|
111
|
-
})(({
|
|
112
|
-
iconPosition
|
|
113
|
-
}) => ({
|
|
114
|
-
order: iconPosition === leftPosition ? -1 : 0
|
|
115
|
-
}));
|
|
116
|
-
const ButtonStyled = styled.button.withConfig({
|
|
117
|
-
shouldForwardProp: filterProps(),
|
|
118
|
-
displayName: "ButtonStyled",
|
|
119
|
-
componentId: "sc-6d4at9-1"
|
|
120
|
-
})({
|
|
121
|
-
appearance: "none",
|
|
122
|
-
display: "flex",
|
|
123
|
-
flexWrap: "nowrap",
|
|
124
|
-
alignItems: "center",
|
|
125
|
-
justifyContent: "center",
|
|
126
|
-
cursor: "pointer",
|
|
127
|
-
gap: `${getSpacing(spacingNone)} ${getSpacing(spacingXs)}`,
|
|
128
|
-
padding: `${getSpacing(spacingXs)} ${getSpacing(spacingXl)}`,
|
|
129
|
-
borderRadius: getBorderRadius(borderRadiusMd),
|
|
130
|
-
fontWeight: getFontWeight(fontWeightRegular),
|
|
131
|
-
height: buttonHeight
|
|
132
|
-
}, getBodySize(textBodyMd), ({
|
|
133
|
-
width = "auto"
|
|
134
|
-
}) => ({
|
|
135
|
-
width: "100%",
|
|
136
|
-
...viewport.md({
|
|
137
|
-
width: "full" === width ? "100%" : "fit-content"
|
|
138
|
-
})
|
|
139
|
-
}), ({
|
|
140
|
-
appearance = primaryAppearance
|
|
141
|
-
}) => getButtonAppearance(appearance), ({
|
|
142
|
-
disabled
|
|
143
|
-
}) => {
|
|
144
|
-
if (disabled) {
|
|
145
|
-
return {
|
|
146
|
-
pointerEvents: "none",
|
|
147
|
-
opacity: getOpacity(opacityDisabled)
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
return {};
|
|
151
|
-
}, ({
|
|
152
|
-
bottomSpacing = spacingMd
|
|
153
|
-
}) => getBottomSpacing({
|
|
154
|
-
bottomSpacing
|
|
155
|
-
}));
|
|
156
89
|
export {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
buttonHeight as b,
|
|
160
|
-
ButtonIconStyled as c,
|
|
161
|
-
getButtonAppearance as g,
|
|
162
|
-
leftPosition as l,
|
|
163
|
-
primaryAppearance as p,
|
|
164
|
-
tertiaryAppearance as t
|
|
90
|
+
ButtonAppearanceColor as B,
|
|
91
|
+
getButtonAppearance as g
|
|
165
92
|
};
|
|
@@ -9,12 +9,12 @@ const colorObjectInformation = "colorObjectInformation";
|
|
|
9
9
|
const colorObjectSelected = "colorObjectSelected";
|
|
10
10
|
const colorObjectUnselected = "colorObjectUnselected";
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
colorObjectBrand as a,
|
|
13
|
+
colorObjectInverse as b,
|
|
14
|
+
colorObjectNeutral as c,
|
|
15
|
+
colorObjectSelected as d,
|
|
16
|
+
colorObjectUnselected as e,
|
|
17
|
+
colorObjectSuccess as f,
|
|
18
18
|
colorObjectAccent as g,
|
|
19
19
|
colorObjectCritical as h,
|
|
20
20
|
colorObjectWarning as i,
|
|
@@ -58,9 +58,16 @@ const parseRgbColorToRgbObject = (color) => {
|
|
|
58
58
|
const getComputedBackgroundColor = (element) => {
|
|
59
59
|
const computedStyle = window.getComputedStyle(element);
|
|
60
60
|
const backgroundColor = computedStyle.backgroundColor;
|
|
61
|
+
const backgroundImage = computedStyle.backgroundImage;
|
|
61
62
|
if (backgroundColor !== "rgba(0, 0, 0, 0)") {
|
|
62
63
|
return parseRgbColorToRgbObject(backgroundColor);
|
|
63
64
|
}
|
|
65
|
+
if (backgroundImage && backgroundImage !== "none") {
|
|
66
|
+
const gradientMatch = backgroundImage.match(/(rgba?\([^)]+\))/g);
|
|
67
|
+
if (gradientMatch && gradientMatch.length > 0) {
|
|
68
|
+
return parseRgbColorToRgbObject(gradientMatch[1]);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
64
71
|
if (element.parentElement) return getComputedBackgroundColor(element.parentElement);
|
|
65
72
|
return {
|
|
66
73
|
r: 255,
|
|
@@ -87,8 +94,8 @@ const getContrastRatio = (color1, color2) => {
|
|
|
87
94
|
return (lighter + 0.05) / (darker + 0.05);
|
|
88
95
|
};
|
|
89
96
|
export {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
97
|
+
getComputedBackgroundColor as a,
|
|
98
|
+
getContrastRatio as b,
|
|
99
|
+
getForegroundColor as g,
|
|
93
100
|
parseColorToRgbObject as p
|
|
94
101
|
};
|
|
@@ -18,7 +18,7 @@ import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
|
18
18
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
19
19
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
20
20
|
import { j as colorBorderSubtle, c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
|
|
21
|
-
import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-
|
|
21
|
+
import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
22
22
|
import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
23
23
|
import { s as spacingMd, b as spacingNone, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
|
|
24
24
|
import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
|
|
@@ -5,7 +5,7 @@ import "../../styled-OqbLiEnJ.js";
|
|
|
5
5
|
import "../../Spacing-D0HQH9YJ.js";
|
|
6
6
|
import "../../SizeTypes-Ck_RdzIf.js";
|
|
7
7
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
8
|
-
import { a, B } from "../../index-
|
|
8
|
+
import { a, B } from "../../index-CoI0XH4F.js";
|
|
9
9
|
export {
|
|
10
10
|
a as BadgeAppearanceColor,
|
|
11
11
|
B as default
|
|
@@ -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-lIwEMVkJ.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-BB6bR4YZ.js";
|
|
6
6
|
const buttonFullWidth = "full";
|
|
7
7
|
const buttonAutoWidth = "auto";
|
|
8
8
|
const isButtonAsLinkProp = (props) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { B } from "../../index-
|
|
3
|
+
import { B } from "../../index-lIwEMVkJ.js";
|
|
4
4
|
import "../../hooks/useLinkComponent/index.js";
|
|
5
5
|
import "../../filterProps-xigToTuS.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
@@ -5,7 +5,7 @@ import Flex from "../Flex/index.js";
|
|
|
5
5
|
import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-DLlpknmo.js";
|
|
6
6
|
import FlexItem from "../FlexItem/index.js";
|
|
7
7
|
import { c as spacingSm, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
8
|
-
import { u as useViewport } from "../../index-
|
|
8
|
+
import { u as useViewport } from "../../index-DEBP0uAj.js";
|
|
9
9
|
const renderButtons = (buttons, isMobile, isReversed = false) => {
|
|
10
10
|
if (!isMobile && isReversed) {
|
|
11
11
|
buttons = buttons.slice().reverse();
|
|
@@ -15,7 +15,7 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
15
15
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
16
16
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
17
17
|
import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
18
|
-
import {
|
|
18
|
+
import { a as colorObjectBrand, e as colorObjectUnselected } from "../../ObjectColor-BYFmdKyF.js";
|
|
19
19
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
20
20
|
import IconButton from "../IconButton/index.js";
|
|
21
21
|
import { S as ScreenreaderOnly } from "../../index-C1XkgaO-.js";
|
|
@@ -19,7 +19,7 @@ import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
|
19
19
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
20
20
|
import { c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
|
|
21
21
|
import { d as borderRadiusSm } from "../../BorderRadius-ClUShVLu.js";
|
|
22
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
22
|
+
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
23
23
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
24
24
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
25
25
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
@@ -6,7 +6,7 @@ import { noReducedMotion } from "../../foundations/media-query/reducedMotion/ind
|
|
|
6
6
|
import { a as ease_in_out_sine } from "../../easing-Dm-pO8SY.js";
|
|
7
7
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
8
8
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
9
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
9
|
+
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
10
10
|
import { b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
11
11
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
12
12
|
const CollapsibleStyled = styled.div.withConfig({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef, useEffect } from "react";
|
|
4
|
-
import {
|
|
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 "../../styled-OqbLiEnJ.js";
|
|
7
7
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -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-BB6bR4YZ.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";
|
|
@@ -7,7 +7,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
7
7
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
8
8
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
9
9
|
import { j as colorBorderSubtle } from "../../BorderColor-BummoQ1-.js";
|
|
10
|
-
import { e as borderWidthDivider } from "../../BorderWidth-
|
|
10
|
+
import { e as borderWidthDivider } from "../../BorderWidth-eg_mz82k.js";
|
|
11
11
|
import { d as spacingXl, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
12
12
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
13
13
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
@@ -7,7 +7,7 @@ import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
|
7
7
|
import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
|
|
8
8
|
import { b as iconSizeSm } from "../../styled-OqbLiEnJ.js";
|
|
9
9
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
10
|
-
import { a as InputStyled, I as InputWrapperStyled } from "../../styled
|
|
10
|
+
import { a as InputStyled, I as InputWrapperStyled } from "../../styled--FF6flp-.js";
|
|
11
11
|
import { s as spacingMd, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
|
|
12
12
|
import "../../NotificationErrorIcon-DMnAJgPN.js";
|
|
13
13
|
import { aW as CalendarMonthIcon } from "../../_5gPlusIcon-B_69VW4X.js";
|
|
@@ -15,7 +15,7 @@ import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/i
|
|
|
15
15
|
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-e0N9tdDR.js";
|
|
18
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
18
|
+
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
19
19
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
20
20
|
const DialogOverlayStyled = styled.div.withConfig({
|
|
21
21
|
shouldForwardProp: filterProps(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Fragment } from "react";
|
|
4
|
-
import { b as BadgeStyled, B as Badge } from "../../index-
|
|
4
|
+
import { b as BadgeStyled, B as Badge } from "../../index-CoI0XH4F.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";
|
|
@@ -16,8 +16,8 @@ import "../../styled-OqbLiEnJ.js";
|
|
|
16
16
|
import "html-react-parser";
|
|
17
17
|
import "../../index-C1XkgaO-.js";
|
|
18
18
|
import "../FootnoteLink/index.js";
|
|
19
|
-
import "../../styled-
|
|
20
|
-
import { a as LinkStyled } from "../../index-
|
|
19
|
+
import "../../styled-BB6bR4YZ.js";
|
|
20
|
+
import { a as LinkStyled } from "../../index-BWSFmccc.js";
|
|
21
21
|
import "../../hooks/useLinkComponent/index.js";
|
|
22
22
|
import "../InlineLink/index.js";
|
|
23
23
|
import "uuid";
|
|
@@ -4,7 +4,7 @@ import styled from "styled-components";
|
|
|
4
4
|
import DiscoveryCard, { discoveryCardOrientationVertical } from "../DiscoveryCard/index.js";
|
|
5
5
|
import Grid from "../Grid/index.js";
|
|
6
6
|
import GridItem from "../GridItem/index.js";
|
|
7
|
-
import { a as LinkStyled } from "../../index-
|
|
7
|
+
import { a as LinkStyled } from "../../index-BWSFmccc.js";
|
|
8
8
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
9
9
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
10
10
|
const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
|
|
@@ -19,8 +19,8 @@ import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
|
19
19
|
import { c as colorBackgroundNeutral } from "../../BackgroundColor-e0N9tdDR.js";
|
|
20
20
|
import { b as colorBorderUnselected, i as colorBorderSelected, c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
|
|
21
21
|
import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
22
|
-
import { b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-
|
|
23
|
-
import {
|
|
22
|
+
import { b as borderWidthUnselected, a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
23
|
+
import { d as colorObjectSelected } from "../../ObjectColor-BYFmdKyF.js";
|
|
24
24
|
import { a as spacingXs, b as spacingNone, e as spacing2Xs, c as spacingSm } from "../../Spacing-D0HQH9YJ.js";
|
|
25
25
|
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
26
26
|
import { a as colorTextNeutral, b as colorTextInverseStatic } from "../../TextColor-DsntmDNw.js";
|
|
@@ -6,7 +6,7 @@ import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
|
6
6
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
7
7
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
8
8
|
import { c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
|
|
9
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
9
|
+
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
10
10
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
11
11
|
const rotate = keyframes(["0%{box-shadow:transparent 0px 0px 0px 0px;}50%{box-shadow:", " 0px 0px 2px ", ";}100%{box-shadow:transparent 0px 0px 0px 0px;}}"], getBorderColor(colorBorderFocus), getBorderWidth(borderWidthFocus));
|
|
12
12
|
const FootnoteContentStyled = styled.div.withConfig({
|
|
@@ -13,7 +13,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
13
13
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
14
14
|
import { j as colorBorderSubtle } from "../../BorderColor-BummoQ1-.js";
|
|
15
15
|
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
16
|
-
import {
|
|
16
|
+
import { d as borderWidthSm } from "../../BorderWidth-eg_mz82k.js";
|
|
17
17
|
import { c as cornerStraight } from "../../CornerStyle-JEbGNArR.js";
|
|
18
18
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
19
19
|
const MapInner = ({
|
|
@@ -11,7 +11,7 @@ const GridItem = ({
|
|
|
11
11
|
const gridTag = useContext(GridContext).tag;
|
|
12
12
|
const gridSpacing = useContext(GridContext).spacing;
|
|
13
13
|
const gridAutoLayout = useContext(GridContext).autoLayout;
|
|
14
|
-
return /* @__PURE__ */ jsx(GridItemStyled, { ...props, as: gridTag
|
|
14
|
+
return /* @__PURE__ */ jsx(GridItemStyled, { ...props, as: gridTag === ulTagName ? liTagName : divTagName, spacing: gridSpacing, sm, ...gridAutoLayout, children: props.children });
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
17
|
GridItem as default
|
|
@@ -11,12 +11,13 @@ import { getObjectColor } from "../../foundations/token/getObjectColor/index.js"
|
|
|
11
11
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
12
12
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
13
13
|
import { b as borderRadiusMd, c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
14
|
-
import {
|
|
14
|
+
import { c as borderWidthSelected } from "../../BorderWidth-eg_mz82k.js";
|
|
15
15
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
16
16
|
import { a as spacingXs, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
17
|
-
import { b as buttonHeight,
|
|
17
|
+
import { b as buttonHeight, p as primaryAppearance } from "../../styled-BB6bR4YZ.js";
|
|
18
18
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
19
19
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
20
|
+
import { g as getButtonAppearance, B as ButtonAppearanceColor } from "../../ButtonAppearanceHelper-D7-_vPGW.js";
|
|
20
21
|
const iconButtonShapeSquare = "square";
|
|
21
22
|
const iconButtonShapeCircle = "circle";
|
|
22
23
|
const IconButtonStyled = styled.button.withConfig({
|
|
@@ -10,7 +10,7 @@ import { b as fontWeightLight } from "../../FontWeight-DEBGHbtO.js";
|
|
|
10
10
|
import { s as spacingMd, c as spacingSm, d as spacingXl, a as spacingXs, e as spacing2Xs, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
11
11
|
import { m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
12
12
|
import styled from "styled-components";
|
|
13
|
-
import { B as Badge } from "../../index-
|
|
13
|
+
import { B as Badge } from "../../index-CoI0XH4F.js";
|
|
14
14
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
15
15
|
import Grid from "../Grid/index.js";
|
|
16
16
|
import GridItem from "../GridItem/index.js";
|
|
@@ -9,7 +9,7 @@ import { getBorderColor } from "../../foundations/token/getBorderColor/index.js"
|
|
|
9
9
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
10
10
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
11
11
|
import { c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
|
|
12
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
12
|
+
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
13
13
|
import { f as colorTextBrand, a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
14
14
|
const hover = {
|
|
15
15
|
textDecoration: "none",
|
|
@@ -9,7 +9,7 @@ import { s as spacingMd, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
|
|
|
9
9
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
10
10
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
11
11
|
import { i } from "../../props-DDpgcryb.js";
|
|
12
|
-
import { I as InputWrapperStyled, a as InputStyled } from "../../styled
|
|
12
|
+
import { I as InputWrapperStyled, a as InputStyled } from "../../styled--FF6flp-.js";
|
|
13
13
|
const Input = forwardRef(({
|
|
14
14
|
uid,
|
|
15
15
|
status,
|
|
@@ -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-BWSFmccc.js";
|
|
4
4
|
import { useLinkComponent } from "../../hooks/useLinkComponent/index.js";
|
|
5
5
|
import { f as filterPropsForUnstyledComponent } from "../../filterProps-xigToTuS.js";
|
|
6
6
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
|
-
import { B as Badge } from "../../index-
|
|
3
|
+
import { B as Badge } from "../../index-CoI0XH4F.js";
|
|
4
4
|
import IconLoader from "../IconLoader/index.js";
|
|
5
5
|
import { c as iconSizeMd } from "../../styled-OqbLiEnJ.js";
|
|
6
6
|
import { s as spanTagName } from "../../tags-D0ExIPLD.js";
|
|
@@ -25,7 +25,7 @@ import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
|
25
25
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
26
26
|
import { c as colorBorderFocus, j as colorBorderSubtle } from "../../BorderColor-BummoQ1-.js";
|
|
27
27
|
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
28
|
-
import { a as borderWidthFocus,
|
|
28
|
+
import { a as borderWidthFocus, d as borderWidthSm } from "../../BorderWidth-eg_mz82k.js";
|
|
29
29
|
import { t as textHeadingXs } from "../../HeadingSize-CfCRn3Lh.js";
|
|
30
30
|
import { b as colorIconBrand } from "../../IconColor-CtC9WUgr.js";
|
|
31
31
|
import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
|
|
@@ -12,7 +12,7 @@ import { p as pTagName, u as ulTagName, d as divTagName, l as liTagName } from "
|
|
|
12
12
|
import { a as fontWeightRegular } from "../../FontWeight-DEBGHbtO.js";
|
|
13
13
|
import { b as textHeadingSm, t as textHeadingXs } from "../../HeadingSize-CfCRn3Lh.js";
|
|
14
14
|
import { s as spacingMd, e as spacing2Xs, c as spacingSm, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
15
|
-
import { u as useViewport } from "../../index-
|
|
15
|
+
import { u as useViewport } from "../../index-DEBP0uAj.js";
|
|
16
16
|
import styled from "styled-components";
|
|
17
17
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
18
18
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
@@ -12,7 +12,7 @@ import { R as RichText } from "../../index-B854Z6wJ.js";
|
|
|
12
12
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
13
13
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
14
14
|
import { e as colorBorderCritical, f as colorBorderWarning, d as colorBorderSuccess, k as colorBorderInformation } from "../../BorderColor-BummoQ1-.js";
|
|
15
|
-
import { h as colorObjectCritical, i as colorObjectWarning,
|
|
15
|
+
import { h as colorObjectCritical, i as colorObjectWarning, f as colorObjectSuccess, j as colorObjectInformation } from "../../ObjectColor-BYFmdKyF.js";
|
|
16
16
|
import styled from "styled-components";
|
|
17
17
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
18
18
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
@@ -23,7 +23,7 @@ import { getIconColor } from "../../foundations/token/getIconColor/index.js";
|
|
|
23
23
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
24
24
|
import { c as colorBackgroundNeutral } from "../../BackgroundColor-e0N9tdDR.js";
|
|
25
25
|
import { b as borderRadiusMd } from "../../BorderRadius-ClUShVLu.js";
|
|
26
|
-
import { g as borderWidthMd } from "../../BorderWidth-
|
|
26
|
+
import { g as borderWidthMd } from "../../BorderWidth-eg_mz82k.js";
|
|
27
27
|
import { d as colorIconInverse } from "../../IconColor-CtC9WUgr.js";
|
|
28
28
|
import { s as spacingMd, c as spacingSm } from "../../Spacing-D0HQH9YJ.js";
|
|
29
29
|
import { a as filterProps } from "../../filterProps-xigToTuS.js";
|
|
@@ -5,7 +5,7 @@ import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
|
5
5
|
import { e as spacing2Xs, s as spacingMd, c as spacingSm, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
6
6
|
import { useState, useEffect } from "react";
|
|
7
7
|
import Grid from "../Grid/index.js";
|
|
8
|
-
import { B as Badge } from "../../index-
|
|
8
|
+
import { B as Badge } from "../../index-CoI0XH4F.js";
|
|
9
9
|
import ColorSwatch from "../ColorSwatch/index.js";
|
|
10
10
|
import { c as iconSizeMd } from "../../styled-OqbLiEnJ.js";
|
|
11
11
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
@@ -27,7 +27,7 @@ import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
|
27
27
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
28
28
|
import { c as colorBackgroundNeutral } from "../../BackgroundColor-e0N9tdDR.js";
|
|
29
29
|
import { b as borderRadiusMd } from "../../BorderRadius-ClUShVLu.js";
|
|
30
|
-
import { a as borderWidthFocus,
|
|
30
|
+
import { a as borderWidthFocus, c as borderWidthSelected } from "../../BorderWidth-eg_mz82k.js";
|
|
31
31
|
import { a as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
32
32
|
import { o as opacityOverlay } from "../../Opacity-smkGiwsf.js";
|
|
33
33
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { createElement } from "react";
|
|
4
|
-
import { B as Badge } from "../../index-
|
|
4
|
+
import { B as Badge } from "../../index-CoI0XH4F.js";
|
|
5
5
|
import Body from "../Body/index.js";
|
|
6
6
|
import ColorSwatchGroup from "../ColorSwatchGroup/index.js";
|
|
7
7
|
import Heading from "../Heading/index.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IconName } from '@vfde-react/inline-icon-library/IconName';
|
|
2
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
3
|
+
import { PatternProps } from '../../../../foundations/PatternProps';
|
|
4
|
+
export interface QuickLinkProps extends PatternProps, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'children'> {
|
|
5
|
+
/**
|
|
6
|
+
* Pin component's name from string to the concrete name
|
|
7
|
+
*/
|
|
8
|
+
component?: 'QuickLink';
|
|
9
|
+
/**
|
|
10
|
+
* Icon name to display in the circle
|
|
11
|
+
*/
|
|
12
|
+
icon: IconName;
|
|
13
|
+
/**
|
|
14
|
+
* Label to display under the icon
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Href for the link
|
|
19
|
+
*/
|
|
20
|
+
href: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const QuickLinkAnchorStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
2
|
+
export declare const QuickLinkIconWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const QuickLinkLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|