@vodafone_de/brix-components 7.0.7 → 7.0.8
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/README.md +1 -0
- package/dist/{FontWeight-DEBGHbtO.js → FontWeight-CR22KTex.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/ButtonGroup/index.js +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Carousel/components/CarouselContext.d.ts +3 -2
- package/dist/components/Carousel/index.js +42 -53
- package/dist/components/Carousel/utils/useScrollSpy.d.ts +2 -0
- package/dist/components/ConsentMessage/index.js +1 -1
- package/dist/components/ConsentMessage/styled.d.ts +1 -1
- package/dist/components/DemoBox/index.js +2 -4
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Dialog/styled.d.ts +1 -1
- package/dist/components/DiscoveryCard/index.js +5 -5
- package/dist/components/DiscoveryCard/styled.d.ts +1 -1
- package/dist/components/DiscoveryCardGroup/index.js +1 -1
- package/dist/components/GoogleMap/styled.d.ts +1 -1
- package/dist/components/Grid/index.js +1 -1
- package/dist/components/GridItem/index.js +1 -1
- package/dist/components/Heading/index.js +2 -2
- package/dist/components/IconButton/index.js +1 -1
- package/dist/components/IconSnippet/index.js +4 -5
- package/dist/components/IconSnippet/props.d.ts +2 -2
- package/dist/components/IconSnippet/styled.d.ts +1 -1
- package/dist/components/IconSnippetList/index.js +1 -1
- package/dist/components/ImageHeader/index.js +4 -4
- package/dist/components/ImageHeader/styled.d.ts +4 -4
- package/dist/components/InlineLink/index.js +1 -1
- 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/LinkList/index.js +1 -1
- package/dist/components/LinkListItem/index.js +2 -2
- 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/SearchInput/styled.d.ts +1 -1
- package/dist/components/Stepper/index.js +2 -2
- package/dist/components/SuggestInput/index.js +1 -1
- package/dist/components/TabularPrice/index.js +1 -1
- package/dist/components/TextList/index.js +2 -2
- package/dist/components/Tray/index.js +1 -1
- package/dist/components/YoutubeVideo/index.js +2 -1
- package/dist/hooks/useViewport/index.js +22 -5
- package/dist/{index-D2J2U7wz.js → index-BeSd-V81.js} +2 -2
- package/dist/{index-DrySIh-D.js → index-C5GzK6_0.js} +1 -1
- package/dist/{index-57IF0yrd.js → index-C7meHOM4.js} +2 -2
- package/dist/{index-CKvLGUdD.js → index-ZHkR70j3.js} +1 -1
- package/dist/{index-WLBo71sp.js → index-aUJfXBUI.js} +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.js +119 -129
- package/dist/{styled-DLS1p_AJ.js → styled-BSqC5P9h.js} +1 -1
- package/dist/{tags-Bz98Tkqt.js → tags-DI6H1biK.js} +0 -2
- package/package.json +1 -1
- package/dist/components/MediaText/index.d.ts +0 -5
- package/dist/components/MediaText/index.js +0 -121
- package/dist/components/MediaText/props.d.ts +0 -42
- package/dist/components/MediaText/styled.d.ts +0 -4
- package/dist/components/Rating/assets/StarSVG.d.ts +0 -3
- package/dist/components/Rating/index.d.ts +0 -6
- package/dist/components/Rating/index.js +0 -153
- package/dist/components/Rating/props.d.ts +0 -22
- package/dist/components/Rating/styled.d.ts +0 -6
- package/dist/index-Cs0Hw0dj.js +0 -25
package/README.md
CHANGED
|
@@ -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 { b as fontWeightRegular, f as fontWeightBold } from "../../FontWeight-CR22KTex.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-ZHkR70j3.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-CR22KTex.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-C7meHOM4.js";
|
|
5
|
+
import { B as ButtonStyled } from "../../styled-BSqC5P9h.js";
|
|
6
6
|
const buttonFullWidth = "full";
|
|
7
7
|
const buttonAutoWidth = "auto";
|
|
8
8
|
const isButtonAsLinkProp = (props) => {
|
|
@@ -5,7 +5,7 @@ import Flex from "../Flex/index.js";
|
|
|
5
5
|
import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-B0YKfXTz.js";
|
|
6
6
|
import FlexItem from "../FlexItem/index.js";
|
|
7
7
|
import { c as spacingSm, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
8
|
-
import {
|
|
8
|
+
import { useViewport } from "../../hooks/useViewport/index.js";
|
|
9
9
|
const renderButtons = (buttons, isMobile, isReversed = false) => {
|
|
10
10
|
if (!isMobile && isReversed) {
|
|
11
11
|
buttons = buttons.slice().reverse();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { d as divTagName } from "../../tags-
|
|
3
|
+
import { d as divTagName } from "../../tags-DI6H1biK.js";
|
|
4
4
|
import { a as CardStyled } from "../../styled-CYugcGtx.js";
|
|
5
5
|
import { C } from "../../styled-CYugcGtx.js";
|
|
6
6
|
const Card = ({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC,
|
|
1
|
+
import { FC, MutableRefObject } from 'react';
|
|
2
2
|
import { CarouselRuntimeProps } from '../props';
|
|
3
3
|
/**
|
|
4
4
|
* Can either be false to indicate that no button should be rendered
|
|
@@ -6,7 +6,8 @@ import { CarouselRuntimeProps } from '../props';
|
|
|
6
6
|
*/
|
|
7
7
|
export type CarouselButton = (() => void) | false;
|
|
8
8
|
export type CarouselState = {
|
|
9
|
-
ref:
|
|
9
|
+
ref: MutableRefObject<HTMLDivElement> | undefined;
|
|
10
|
+
visibleItems: number;
|
|
10
11
|
interactive: number[];
|
|
11
12
|
goPrev: CarouselButton;
|
|
12
13
|
goNext: CarouselButton;
|
|
@@ -3,7 +3,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import "@af-utils/scrollend-polyfill";
|
|
4
4
|
import { createContext, useRef, useState, useEffect, useContext, createElement } from "react";
|
|
5
5
|
import { useFocusWithin } from "../../hooks/useFocusWithin/index.js";
|
|
6
|
-
import { l as liTagName, u as ulTagName } from "../../tags-
|
|
6
|
+
import { l as liTagName, u as ulTagName } from "../../tags-DI6H1biK.js";
|
|
7
7
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
8
8
|
import styled from "styled-components";
|
|
9
9
|
import { a as CardStyled } from "../../styled-CYugcGtx.js";
|
|
@@ -78,6 +78,7 @@ const scrollTo = (element, left, behavior = "smooth") => {
|
|
|
78
78
|
};
|
|
79
79
|
const initialState = {
|
|
80
80
|
ref: void 0,
|
|
81
|
+
visibleItems: 1,
|
|
81
82
|
interactive: [0],
|
|
82
83
|
goPrev: false,
|
|
83
84
|
goNext: false,
|
|
@@ -98,57 +99,56 @@ const CarouselProvider = ({
|
|
|
98
99
|
const [scrollSpyIndex, setScrollSpyIndex] = useState(void 0);
|
|
99
100
|
const [interactive, setInteractive] = useState([]);
|
|
100
101
|
const [needsFirstPosition, setNeedsFirstPosition] = useState(activeIndex !== 0);
|
|
101
|
-
const [
|
|
102
|
+
const [itemWidth, setItemWidth] = useState(0);
|
|
103
|
+
const [visibleItems, setVisibleItems] = useState(1);
|
|
102
104
|
const [goPrev, setGoPrev] = useState(false);
|
|
103
105
|
const [goNext, setGoNext] = useState(false);
|
|
104
106
|
const [numberOfIndicators, setNumberOfIndicators] = useState(0);
|
|
105
107
|
const [activeIndicator, setActiveIndicator] = useState(props.items[props.activeIndex].index);
|
|
106
|
-
const getCarouselLayoutedAttributes = () => {
|
|
107
|
-
const carouselElement = ref.current;
|
|
108
|
-
if (!carouselElement) {
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
const itemWidth = carouselElement.querySelector("[data-carousel-item]").offsetWidth;
|
|
112
|
-
const track = carouselElement.offsetWidth;
|
|
113
|
-
const numberOfItemsThatFitOnTrack = Math.floor(track / itemWidth);
|
|
114
|
-
const visibleItems = Math.min(numberOfItemsThatFitOnTrack, props.items.length);
|
|
115
|
-
if ((carouselLayoutedAttributes == null ? void 0 : carouselLayoutedAttributes.itemWidth) !== itemWidth || (carouselLayoutedAttributes == null ? void 0 : carouselLayoutedAttributes.visibleItems) !== visibleItems) {
|
|
116
|
-
setCarouselLayoutedAttributes({
|
|
117
|
-
itemWidth,
|
|
118
|
-
visibleItems
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
108
|
useEffect(() => {
|
|
123
|
-
if (!carouselLayoutedAttributes) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
109
|
if (loop) {
|
|
127
110
|
const update = props.items.filter((item) => !item.ghost).length;
|
|
128
111
|
setNumberOfIndicators(update);
|
|
129
112
|
} else {
|
|
130
|
-
const update = props.items.filter((item) => !item.ghost).length -
|
|
113
|
+
const update = props.items.filter((item) => !item.ghost).length - visibleItems + 1;
|
|
131
114
|
setNumberOfIndicators(update);
|
|
132
115
|
}
|
|
133
|
-
}, [loop,
|
|
116
|
+
}, [loop, visibleItems, props.items]);
|
|
134
117
|
useEffect(() => {
|
|
135
|
-
if (!
|
|
118
|
+
if (!(ref == null ? void 0 : ref.current)) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (!itemWidth) {
|
|
136
122
|
return;
|
|
137
123
|
}
|
|
138
|
-
|
|
124
|
+
const track = ref == null ? void 0 : ref.current.offsetWidth;
|
|
125
|
+
setVisibleItems(Math.floor(track / itemWidth));
|
|
126
|
+
}, [itemWidth]);
|
|
127
|
+
useEffect(() => {
|
|
128
|
+
let updateInteractive = [...Array(visibleItems).keys()].map((i) => activeIndex + i);
|
|
139
129
|
if (focus) {
|
|
140
130
|
updateInteractive = [...Array(props.items.length).keys()];
|
|
141
131
|
}
|
|
142
132
|
setInteractive(updateInteractive);
|
|
143
|
-
}, [focus, activeIndex,
|
|
133
|
+
}, [focus, activeIndex, visibleItems, props.items]);
|
|
144
134
|
useEffect(() => {
|
|
145
135
|
if (!(ref == null ? void 0 : ref.current)) {
|
|
146
136
|
return;
|
|
147
137
|
}
|
|
148
|
-
|
|
149
|
-
|
|
138
|
+
const handleResize = () => {
|
|
139
|
+
if (!window) {
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (!(ref == null ? void 0 : ref.current)) {
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
const itemWidth2 = ref.current.querySelector("[data-carousel-item]").offsetWidth;
|
|
146
|
+
setItemWidth(itemWidth2);
|
|
147
|
+
};
|
|
148
|
+
window.addEventListener("resize", handleResize);
|
|
149
|
+
handleResize();
|
|
150
150
|
return () => {
|
|
151
|
-
window.removeEventListener("resize",
|
|
151
|
+
window.removeEventListener("resize", handleResize);
|
|
152
152
|
};
|
|
153
153
|
}, [ref.current]);
|
|
154
154
|
useEffect(() => {
|
|
@@ -156,31 +156,25 @@ const CarouselProvider = ({
|
|
|
156
156
|
if (!(ref == null ? void 0 : ref.current)) {
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
|
-
if (!
|
|
159
|
+
if (!itemWidth) {
|
|
160
160
|
return;
|
|
161
161
|
}
|
|
162
162
|
const handleScroll = (event) => {
|
|
163
|
-
if (!carouselLayoutedAttributes) {
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
163
|
const left = event.target.scrollLeft;
|
|
167
|
-
const ucurrent = getItemByScroll(left -
|
|
164
|
+
const ucurrent = getItemByScroll(left - itemWidth / 2, itemWidth, props.items);
|
|
168
165
|
setScrollSpyIndex(ucurrent);
|
|
169
166
|
};
|
|
170
167
|
const handleScrollend = (event) => {
|
|
171
|
-
if (!carouselLayoutedAttributes) {
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
168
|
const left = event.target.scrollLeft;
|
|
175
|
-
let updateActiveIndex = getItemByScroll(left -
|
|
169
|
+
let updateActiveIndex = getItemByScroll(left - itemWidth / 2, itemWidth, props.items);
|
|
176
170
|
if (loop) {
|
|
177
171
|
const ghosts = [];
|
|
178
|
-
for (let i = 0, x =
|
|
172
|
+
for (let i = 0, x = visibleItems; i < x; i += 1) {
|
|
179
173
|
ghosts.push(props.items[i + updateActiveIndex].ghost);
|
|
180
174
|
}
|
|
181
175
|
if (!ghosts.includes(false)) {
|
|
182
176
|
updateActiveIndex = props.items.findIndex((item) => item.index === props.items[updateActiveIndex].index && !item.ghost);
|
|
183
|
-
const left2 = updateActiveIndex *
|
|
177
|
+
const left2 = updateActiveIndex * itemWidth;
|
|
184
178
|
const behavior = "instant";
|
|
185
179
|
scrollTo(ref.current, left2, behavior);
|
|
186
180
|
}
|
|
@@ -198,34 +192,31 @@ const CarouselProvider = ({
|
|
|
198
192
|
(_a2 = ref.current) == null ? void 0 : _a2.removeEventListener("scroll", handleScroll);
|
|
199
193
|
(_b2 = ref.current) == null ? void 0 : _b2.removeEventListener("scrollend", handleScrollend);
|
|
200
194
|
};
|
|
201
|
-
}, [ref.current,
|
|
195
|
+
}, [ref.current, itemWidth, visibleItems, props.items]);
|
|
202
196
|
useEffect(() => {
|
|
203
197
|
if (!ref.current) {
|
|
204
198
|
return;
|
|
205
199
|
}
|
|
206
|
-
if (!carouselLayoutedAttributes) {
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
200
|
if (scrollSpyIndex) {
|
|
210
201
|
return;
|
|
211
202
|
}
|
|
212
203
|
if (activeIndex === scrollSpyIndex) {
|
|
213
204
|
return;
|
|
214
205
|
}
|
|
215
|
-
const left = activeIndex *
|
|
206
|
+
const left = activeIndex * itemWidth;
|
|
216
207
|
const behavior = needsFirstPosition ? "instant" : "smooth";
|
|
217
208
|
scrollTo(ref.current, left, behavior);
|
|
218
|
-
}, [activeIndex, scrollSpyIndex, ref.current,
|
|
209
|
+
}, [activeIndex, scrollSpyIndex, ref.current, itemWidth]);
|
|
219
210
|
useEffect(() => {
|
|
220
|
-
if (!props.onUpdate
|
|
211
|
+
if (!props.onUpdate) {
|
|
221
212
|
return;
|
|
222
213
|
}
|
|
223
214
|
const visibleIndexes = [];
|
|
224
|
-
for (let i = 0, x =
|
|
215
|
+
for (let i = 0, x = visibleItems; i < x; i += 1) {
|
|
225
216
|
visibleIndexes.push(props.items[i + activeIndex].index);
|
|
226
217
|
}
|
|
227
218
|
props.onUpdate(visibleIndexes);
|
|
228
|
-
}, [activeIndex
|
|
219
|
+
}, [activeIndex]);
|
|
229
220
|
const movePrev = () => {
|
|
230
221
|
const prev = activeIndex > 0 ? activeIndex - 1 : props.items.length - 1;
|
|
231
222
|
setActiveIndex(prev);
|
|
@@ -250,6 +241,7 @@ const CarouselProvider = ({
|
|
|
250
241
|
return /* @__PURE__ */ jsx(CarouselContext.Provider, { value: {
|
|
251
242
|
state: {
|
|
252
243
|
ref,
|
|
244
|
+
visibleItems,
|
|
253
245
|
interactive,
|
|
254
246
|
goPrev,
|
|
255
247
|
goNext,
|
|
@@ -411,7 +403,7 @@ const CarouselIndicator = () => {
|
|
|
411
403
|
activeIndicator
|
|
412
404
|
}
|
|
413
405
|
} = useContext(CarouselContext);
|
|
414
|
-
if (!numberOfIndicators
|
|
406
|
+
if (!numberOfIndicators) {
|
|
415
407
|
return null;
|
|
416
408
|
}
|
|
417
409
|
const indicators = [...Array(numberOfIndicators).keys()];
|
|
@@ -495,9 +487,6 @@ const Carousel = ({
|
|
|
495
487
|
gridConfig = carouselDefaultGridConfig,
|
|
496
488
|
...props
|
|
497
489
|
}) => {
|
|
498
|
-
if (0 === items.length) {
|
|
499
|
-
return null;
|
|
500
|
-
}
|
|
501
490
|
activeIndex = activeIndex ? activeIndex : 0;
|
|
502
491
|
activeIndex = loop ? activeIndex + items.length : activeIndex;
|
|
503
492
|
const loopableItems = getItems(items, loop);
|
|
@@ -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-BSqC5P9h.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";
|
|
@@ -4,5 +4,5 @@ export declare const ConsentMessageBackgroundStyled: import('styled-components/d
|
|
|
4
4
|
* Blurring the image create artifacts on the edges,
|
|
5
5
|
* so I position these edges outside the visible area with 16px from each side to hide them
|
|
6
6
|
*/
|
|
7
|
-
export declare const ConsentMessageBackgroundMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ConsentMessageProps, "
|
|
7
|
+
export declare const ConsentMessageBackgroundMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<ConsentMessageProps, "backgroundImage" | "theme">>> & string;
|
|
8
8
|
export declare const ConsentMessageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -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-BeSd-V81.js";
|
|
6
6
|
import { D as DemoBoxStyled } from "../../styled-ODPFCF1a.js";
|
|
7
7
|
const heading = {
|
|
8
8
|
component: "Heading",
|
|
@@ -15,9 +15,7 @@ const richText = {
|
|
|
15
15
|
html: "<p>This is a placeholder.</p>",
|
|
16
16
|
uid: getUid()
|
|
17
17
|
};
|
|
18
|
-
const DemoBox = (props) => /* @__PURE__ */ jsx(DemoBoxStyled, { ...props, children: /* @__PURE__ */ jsx(IconSnippet, { size: "
|
|
19
|
-
name: "Sync"
|
|
20
|
-
}, bottomSpacing: "None", contents: [heading, richText] }) });
|
|
18
|
+
const DemoBox = (props) => /* @__PURE__ */ jsx(DemoBoxStyled, { ...props, children: /* @__PURE__ */ jsx(IconSnippet, { size: "small", icon: "Sync", bottomSpacing: "None", contents: [heading, richText] }) });
|
|
21
19
|
export {
|
|
22
20
|
DemoBox as default
|
|
23
21
|
};
|
|
@@ -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-CR22KTex.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,5 +1,5 @@
|
|
|
1
1
|
import { DialogProps } from './props';
|
|
2
|
-
export declare const DialogOverlayStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<DialogProps, "
|
|
2
|
+
export declare const DialogOverlayStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<DialogProps, "heading" | "buttons"> & {
|
|
3
3
|
open: boolean;
|
|
4
4
|
}>> & string;
|
|
5
5
|
export declare const DialogCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Card').CardProps, never>> & string & Omit<import('react').FC<import('../Card').CardProps>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -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-BeSd-V81.js";
|
|
5
|
+
import { f as fontWeightBold } from "../../FontWeight-CR22KTex.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-ZHkR70j3.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-aUJfXBUI.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-C5GzK6_0.js";
|
|
22
22
|
const discoveryCardOrientationVertical = "vertical";
|
|
23
23
|
const discoveryCardOrientationHorizontal = "horizontal";
|
|
24
24
|
const DiscoveryCardStyled = styled(Card).withConfig({
|
|
@@ -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, "
|
|
3
|
+
export declare const DiscoveryCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Card').CardProps, Omit<DiscoveryCardProps, "heading" | "body" | "uid" | "badge" | "price" | "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, "orientation" | "bottomSpacing"> & 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>>;
|
|
@@ -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-C5GzK6_0.js";
|
|
10
10
|
const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
|
|
11
11
|
displayName: "DiscoveryCardGroupGridStyled",
|
|
12
12
|
componentId: "sc-6axszn-0"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { GoogleMapProps } from './props';
|
|
2
|
-
export declare const GoogleMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<GoogleMapProps, "
|
|
2
|
+
export declare const GoogleMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<GoogleMapProps, "consentMessage" | "apiKey">>> & string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { l as liTagName, d as divTagName } from "../../tags-
|
|
3
|
+
import { l as liTagName, d as divTagName } from "../../tags-DI6H1biK.js";
|
|
4
4
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
5
5
|
import { Children, cloneElement } from "react";
|
|
6
6
|
import { G as GridStyled } from "../../styled-ZpQohvyx.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { d as divTagName } from "../../tags-
|
|
3
|
+
import { d as divTagName } from "../../tags-DI6H1biK.js";
|
|
4
4
|
import { G as GridItemStyled } from "../../styled-Cqp2oSjW.js";
|
|
5
5
|
const GridItem = ({
|
|
6
6
|
sm = 12,
|
|
@@ -4,12 +4,12 @@ import FootnoteLink from "../FootnoteLink/index.js";
|
|
|
4
4
|
import { a as spacingXs, c as spacingSm, s as spacingMd, f as spacingLg, d as spacingXl } from "../../Spacing-D0HQH9YJ.js";
|
|
5
5
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { h as h5TagName, a as h4TagName, b as h3TagName, c as h2TagName, e as h1TagName, f as headingHtmlTags } from "../../tags-
|
|
7
|
+
import { h as h5TagName, a as h4TagName, b as h3TagName, c as h2TagName, e as h1TagName, f as headingHtmlTags } from "../../tags-DI6H1biK.js";
|
|
8
8
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
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, a as fontWeightLight } from "../../FontWeight-CR22KTex.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-BSqC5P9h.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,9 +4,9 @@ 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-
|
|
8
|
-
import { d as divTagName } from "../../tags-
|
|
9
|
-
import { a as spacingXs, s as spacingMd
|
|
7
|
+
import { R as RichText } from "../../index-BeSd-V81.js";
|
|
8
|
+
import { d as divTagName } from "../../tags-DI6H1biK.js";
|
|
9
|
+
import { a as spacingXs, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
10
10
|
import Link from "../Link/index.js";
|
|
11
11
|
import styled from "styled-components";
|
|
12
12
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
@@ -95,11 +95,10 @@ const IconSnippet = ({
|
|
|
95
95
|
iconPosition = iconSnippetPositionLeft,
|
|
96
96
|
iconAlign = iconSnippetAlignTop,
|
|
97
97
|
tag = divTagName,
|
|
98
|
-
icon,
|
|
99
98
|
...props
|
|
100
99
|
}) => {
|
|
101
100
|
return /* @__PURE__ */ jsxs(IconSnippetStyled, { ...props, iconPosition, iconAlign, as: tag, children: [
|
|
102
|
-
/* @__PURE__ */ jsx(IconLoaderStyled, {
|
|
101
|
+
/* @__PURE__ */ jsx(IconLoaderStyled, { size: size === iconSnippetSizeLarge ? iconSizeLg : size === iconSnippetSize3Xl ? iconSize3xl : iconSizeSm, name: props.icon }),
|
|
103
102
|
/* @__PURE__ */ jsx(IconSnippetContentStyled, { as: tag, iconPosition, children: getContents(contents) })
|
|
104
103
|
] });
|
|
105
104
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IconName } from '@vfde-react/inline-icon-library';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
import { BodyProps } from '../Body';
|
|
4
4
|
import { HeadingProps } from '../Heading';
|
|
@@ -28,7 +28,7 @@ export interface IconSnippetProps extends PatternProps, HTMLAttributes<HTMLDivEl
|
|
|
28
28
|
/**
|
|
29
29
|
* Icon
|
|
30
30
|
*/
|
|
31
|
-
icon:
|
|
31
|
+
icon: IconName;
|
|
32
32
|
/**
|
|
33
33
|
* contents must be an array containing any combination of HeadingProps, BodyProps, RichTextProps and/or InlineLinkProps;
|
|
34
34
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconSnippetPosition, IconSnippetProps } from './props';
|
|
2
|
-
export declare const IconSnippetStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<IconSnippetProps, "size" | "
|
|
2
|
+
export declare const IconSnippetStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<IconSnippetProps, "size" | "contents" | "icon">>> & string;
|
|
3
3
|
export declare const IconLoaderStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('@vfde-react/inline-icon-library').IconLoaderProps, never>> & string & Omit<import('react').FC<import('@vfde-react/inline-icon-library').IconLoaderProps>, keyof import('react').Component<any, {}, any>>;
|
|
4
4
|
export declare const IconSnippetContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
5
|
iconPosition: IconSnippetPosition;
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import Grid from "../Grid/index.js";
|
|
4
4
|
import GridItem from "../GridItem/index.js";
|
|
5
5
|
import IconSnippet from "../IconSnippet/index.js";
|
|
6
|
-
import { u as ulTagName, l as liTagName } from "../../tags-
|
|
6
|
+
import { u as ulTagName, l as liTagName } from "../../tags-DI6H1biK.js";
|
|
7
7
|
import { b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
8
8
|
const IconSnippetList = ({
|
|
9
9
|
component: _component,
|
|
@@ -1,16 +1,16 @@
|
|
|
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 { a as fontWeightLight } from "../../FontWeight-CR22KTex.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, R as RichText } from "../../index-
|
|
7
|
+
import { g as getUid, R as RichText } from "../../index-BeSd-V81.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-aUJfXBUI.js";
|
|
12
12
|
import styled from "styled-components";
|
|
13
|
-
import { B as Badge } from "../../index-
|
|
13
|
+
import { B as Badge } from "../../index-ZHkR70j3.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";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ImageHeaderProps } from './props';
|
|
2
2
|
export declare const getBadgeTopPosition: () => string;
|
|
3
|
-
export declare const ImageHeaderStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Grid').GridProps, Pick<ImageHeaderProps, "
|
|
4
|
-
export declare const ImageHeaderImagesContainerStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../GridItem').GridItemProps, Pick<ImageHeaderProps, "
|
|
5
|
-
export declare const ImageHeaderResponsiveImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../ResponsiveImage').ResponsiveImageProps, Pick<ImageHeaderProps, "
|
|
6
|
-
export declare const ImageHeaderContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../GridItem').GridItemProps, Pick<ImageHeaderProps, "
|
|
3
|
+
export declare const ImageHeaderStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Grid').GridProps, Pick<ImageHeaderProps, "position" | "variant">>> & string & Omit<import('react').FC<import('../Grid').GridProps>, keyof import('react').Component<any, {}, any>>;
|
|
4
|
+
export declare const ImageHeaderImagesContainerStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../GridItem').GridItemProps, Pick<ImageHeaderProps, "position" | "variant">>> & string & Omit<import('react').FC<import('../GridItem').GridItemProps>, keyof import('react').Component<any, {}, any>>;
|
|
5
|
+
export declare const ImageHeaderResponsiveImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../ResponsiveImage').ResponsiveImageProps, Pick<ImageHeaderProps, "position" | "variant">>> & string & Omit<import('react').FC<import('../ResponsiveImage').ResponsiveImageProps>, keyof import('react').Component<any, {}, any>>;
|
|
6
|
+
export declare const ImageHeaderContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../GridItem').GridItemProps, Pick<ImageHeaderProps, "position" | "variant" | "contentGridDesktopColumns">>> & string & Omit<import('react').FC<import('../GridItem').GridItemProps>, keyof import('react').Component<any, {}, any>>;
|
|
7
7
|
export declare const ImageHeaderBadgeStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Badge').BadgeProps, never>> & string & Omit<import('react').FC<import('../Badge').BadgeProps>, keyof import('react').Component<any, {}, any>>;
|
|
8
8
|
export declare const ImageHeaderHeadingStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Heading').HeadingProps, never>> & string & Omit<import('react').FC<import('../Heading').HeadingProps>, keyof import('react').Component<any, {}, any>>;
|
|
9
9
|
export declare const ImageHeaderButtonGroupStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../ButtonGroup').ButtonGroupProps, never>> & string & Omit<import('react').FC<import('../ButtonGroup').ButtonGroupProps>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -8,7 +8,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
8
8
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
9
9
|
import { c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
|
|
10
10
|
import { a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
|
|
11
|
-
import {
|
|
11
|
+
import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
|
|
12
12
|
import { f as filterProps } from "../../filterProps-Cewck8OH.js";
|
|
13
13
|
const hover = {
|
|
14
14
|
textDecoration: "none",
|
|
@@ -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-BeSd-V81.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
8
|
const LegendStyled = styled.legend.withConfig({
|
|
9
9
|
displayName: "LegendStyled",
|