@vodafone_de/brix-components 17.1.2 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BorderRadius-Co-IV3fn.js → BorderRadius-0jhn76gB.js} +2 -2
- package/dist/{BorderWidth-OZWeXaq_.js → BorderWidth-CwrNKc0Q.js} +2 -2
- package/dist/ButtonAppearanceHelper-3qIbHGWJ.js +102 -0
- package/dist/CornerStyle-n77nckhh.js +7 -0
- package/dist/{colorUtils-CfSj2Iqa.js → colorUtils-c9PiZEci.js} +1 -1
- package/dist/components/Accordion/index.js +8 -4
- package/dist/components/Accordion/validate.d.ts +2 -2
- package/dist/components/AccordionGroup/validate.d.ts +2 -2
- package/dist/components/ArtDirectedImage/index.js +3 -3
- package/dist/components/ArtDirectedImage/validate.d.ts +0 -9
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Badge/validate.d.ts +1 -1
- package/dist/components/BottomBar/index.js +5 -5
- package/dist/components/Button/ButtonAppearanceHelper.test.d.ts +1 -0
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Button/validate.d.ts +1 -1
- package/dist/components/ButtonAsLink/index.js +1 -1
- package/dist/components/ButtonGroup/validate.d.ts +1 -1
- package/dist/components/Calendar/components/Footer/helpers/getFooterText.test.d.ts +1 -0
- package/dist/components/Calendar/index.js +66 -62
- package/dist/components/Callout/index.js +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Carousel/index.js +1 -1
- package/dist/components/Checkbox/index.js +2 -2
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/ColorSwatch/index.js +2 -2
- package/dist/components/ConsentMessage/index.js +1 -1
- package/dist/components/Container/index.js +1 -1
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/Dialog/index.js +8 -3
- package/dist/components/Dialog/validate.d.ts +1 -1
- package/dist/components/DiscoveryCard/index.js +5 -5
- package/dist/components/DiscoveryCard/validate.d.ts +3 -12
- package/dist/components/DiscoveryCardGroup/index.js +2 -2
- package/dist/components/DiscoveryCardGroup/validate.d.ts +9 -36
- package/dist/components/EnergySnippet/validate.d.ts +1 -1
- package/dist/components/FeatureCardGroup/components/FeatureCard/index.js +9 -8
- package/dist/components/FeatureCardGroup/components/FeatureCard/validate.d.ts +2 -11
- package/dist/components/FeatureCardGroup/index.js +1 -1
- package/dist/components/FeatureCardGroup/validate.d.ts +6 -15
- package/dist/components/Fieldset/index.js +8 -3
- package/dist/components/Fieldset/validate.d.ts +3 -3
- package/dist/components/FilterGroup/index.js +2 -2
- package/dist/components/FilterGroup/validate.d.ts +5 -5
- package/dist/components/Footnote/index.js +1 -1
- package/dist/components/FootnoteContent/index.js +1 -1
- package/dist/components/FootnoteSection/index.js +1 -1
- package/dist/components/FootnoteSection/validate.d.ts +2 -2
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/validate.d.ts +4 -4
- package/dist/components/GoogleMap/index.js +31 -19
- package/dist/components/GoogleMap/props.d.ts +13 -1
- package/dist/components/GoogleMap/styled.d.ts +1 -1
- package/dist/components/GoogleMap/validate.d.ts +12 -3
- package/dist/components/Grid/index.js +2 -2
- package/dist/components/GridItem/index.js +2 -2
- package/dist/components/IconButton/index.js +4 -4
- package/dist/components/IconButton/validate.d.ts +1 -1
- package/dist/components/IconLoader/validate.d.ts +1 -1
- package/dist/components/IconSnippet/index.js +14 -24
- package/dist/components/IconSnippet/validate.d.ts +3 -3
- package/dist/components/IconSnippetList/index.js +1 -1
- package/dist/components/IconSnippetList/validate.d.ts +3 -3
- package/dist/components/Image/index.js +4 -52
- package/dist/components/Image/validate.d.ts +0 -9
- package/dist/components/ImageHeader/index.js +25 -19
- package/dist/components/ImageHeader/styled.d.ts +17 -0
- package/dist/components/ImageHeader/validate.d.ts +3 -12
- package/dist/components/InfoBanner/index.js +1 -1
- package/dist/components/InfoBanner/validate.d.ts +2 -2
- package/dist/components/InlineLink/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Input/validate.d.ts +1 -0
- package/dist/components/Legend/index.d.ts +1 -1
- package/dist/components/Legend/index.js +54 -68
- package/dist/components/Legend/validate.d.ts +6 -6
- package/dist/components/Link/index.js +1 -1
- package/dist/components/Link/validate.d.ts +1 -1
- package/dist/components/LinkAsButton/index.js +1 -1
- package/dist/components/LinkAsButton/validate.d.ts +1 -1
- package/dist/components/LinkList/index.js +25 -15
- package/dist/components/LinkList/styled.d.ts +1 -1
- package/dist/components/LinkListItem/index.js +15 -342
- package/dist/components/LinkListItem/props.d.ts +0 -4
- package/dist/components/LinkListItem/styled.d.ts +1 -1
- package/dist/components/LinkListItem/validate.d.ts +2 -3
- package/dist/components/LoadingSpinner/index.js +11 -10
- package/dist/components/LocalStyle/index.js +1 -1
- package/dist/components/MediaText/index.js +2 -2
- package/dist/components/MediaText/validate.d.ts +1 -10
- package/dist/components/Notification/index.js +20 -34
- package/dist/components/Notification/validate.d.ts +3 -3
- package/dist/components/OpenTextFootnoteAdapter/index.js +3 -3
- package/dist/components/PasswordInput/index.js +2 -2
- package/dist/components/PickerGroup/components/Picker/index.js +2 -2
- package/dist/components/PickerGroup/components/Picker/validate.d.ts +1 -1
- package/dist/components/PickerGroup/index.js +1 -1
- package/dist/components/PickerGroup/validate.d.ts +1 -1
- package/dist/components/Price/index.d.ts +0 -1
- package/dist/components/Price/index.js +61 -8
- package/dist/components/Price/props.d.ts +6 -6
- package/dist/components/ProductCard/index.js +4 -4
- package/dist/components/ProductCard/validate.d.ts +3 -12
- package/dist/components/QuickLinkList/components/QuickLink/index.js +2 -2
- package/dist/components/QuickLinkList/index.js +1 -1
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/Rating/index.js +1 -1
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichText/parseHtml.d.ts +2 -1
- package/dist/components/RichTextContentful/getOptions.d.ts +6 -2
- package/dist/components/RichTextContentful/helpers/listHelpers.d.ts +1 -0
- package/dist/components/RichTextContentful/index.js +1 -1
- package/dist/components/RichTextContentful/props.d.ts +2 -1
- package/dist/components/RichTextContentful/styled.d.ts +5 -1
- package/dist/components/SearchInput/index.js +2 -2
- package/dist/components/SelectInput/index.js +1 -1
- package/dist/components/SuggestInput/components/SuggestInputList/index.d.ts +1 -1
- package/dist/components/SuggestInput/components/SuggestInputList/props.d.ts +0 -2
- package/dist/components/SuggestInput/index.js +20 -22
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/TabGroup/index.js +11 -4
- package/dist/components/TabGroup/validate.d.ts +2 -2
- package/dist/components/Table/index.js +2 -2
- package/dist/components/TabularPrice/index.js +3 -2
- package/dist/components/TextList/components/TextListItem/index.js +1 -1
- package/dist/components/TextList/index.js +1 -1
- package/dist/components/Textarea/index.js +1 -1
- package/dist/components/TimeInput/index.js +2 -2
- package/dist/components/ToggleButtonProvider/validate.d.ts +8 -8
- package/dist/components/Tray/index.d.ts +1 -1
- package/dist/components/Tray/index.js +20 -14
- package/dist/components/Tray/validate.d.ts +1 -1
- package/dist/components/UtilityLink/index.js +1 -18
- package/dist/components/Video/componentName.d.ts +1 -0
- package/dist/components/Video/i18n.d.ts +42 -0
- package/dist/components/Video/index.d.ts +5 -0
- package/dist/components/Video/index.js +902 -0
- package/dist/components/Video/props.d.ts +52 -0
- package/dist/components/Video/styled.d.ts +2 -0
- package/dist/components/Video/validate.d.ts +84 -0
- package/dist/components/Video/validate.test.d.ts +1 -0
- package/dist/components/YouTubeVideo/index.js +1 -1
- package/dist/contentful/props/index.d.ts +2 -0
- package/dist/contentful/registry/ContentFulComponentName.d.ts +1 -1
- package/dist/contentful/registry/SupportedBrixProps.d.ts +2 -2
- package/dist/contentful/registry/index.js +1 -1
- package/dist/contentful/validation/index.d.ts +1 -0
- package/dist/contentful/validation/index.js +38 -9
- package/dist/{cssVars-DIZd9rHN.js → cssVars-DKs5LlTN.js} +112 -108
- package/dist/foundations/BrixComponentProps/componentNames.d.ts +1 -1
- package/dist/foundations/BrixComponentProps/validate.d.ts +3 -0
- package/dist/foundations/GlobalStyle/index.js +1 -1
- package/dist/foundations/colorMaps.d.ts +18 -0
- package/dist/foundations/cssVars.d.ts +1 -7
- package/dist/foundations/cssVars.test.d.ts +1 -0
- package/dist/foundations/layout/index.js +23 -6
- package/dist/foundations/typographyAndIconSizeCssVars.d.ts +7 -0
- package/dist/getSizesFromGridConfig-C-GBct4J.js +28 -0
- package/dist/{index-XoIBkRyI.js → index-BLp5wi_X.js} +199 -171
- package/dist/{index-B7QEcUdq.js → index-BXTweg2t.js} +26 -52
- package/dist/{index-BR6u6rvI.js → index-CW-UuGll.js} +2 -2
- package/dist/{index-iCvdBgcJ.js → index-C_6tWuWh.js} +1 -1
- package/dist/{index-C9M-9a7m.js → index-Cms5ie2I.js} +4 -4
- package/dist/{index-DQ_p1dIc.js → index-CpuHeI4h.js} +2 -2
- package/dist/{index-BIa9NKUU.js → index-DqdKVD9N.js} +3 -3
- package/dist/{index-B0jIyAgf.js → index-E0RMtc9X.js} +1 -1
- package/dist/{index-CWByESA7.js → index-h88pZ6zH.js} +2 -2
- package/dist/{index-Dn3We7oE.js → index-p9ZTAIzJ.js} +3 -3
- package/dist/index-xzvddlgp.js +345 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +227 -222
- package/dist/opentext/index.js +1 -1
- package/dist/opentext/map/googleMap.d.ts +2 -1
- package/dist/{props-BPxy0GPb.js → props-Bod9bL2v.js} +4 -4
- package/dist/{props-P3bM0HEk.js → props-E4PNCuS6.js} +1 -4
- package/dist/props-n71pckjd.js +5 -0
- package/dist/{styled-DRNdxc1V.js → styled-BJ9cE7xy.js} +2 -2
- package/dist/styled-BrSdmb0C.js +52 -0
- package/dist/{styled-bzTYGIm_.js → styled-DDY0xAl_.js} +1 -1
- package/dist/{styled-DhKlciPC.js → styled-Dfbxuq_p.js} +1 -1
- package/dist/styled-R9Zq1ahD.js +21 -0
- package/dist/{styled-DYgC4qQm.js → styled-ldBsCamo.js} +2 -2
- package/dist/{youTubeVideo-BOudL3DM.js → youTubeVideo-CsdIB_iu.js} +30 -56
- package/package.json +2 -1
- package/dist/ButtonAppearanceHelper-BQUk7S3X.js +0 -92
- package/dist/components/AccordionGroup/stories/scrollToViewFixedHeaderStoryObj.d.ts +0 -2
- package/dist/components/Carousel/stories/productCards.d.ts +0 -8
- package/dist/components/Flex/stories/alignCenterArgs.d.ts +0 -2
- package/dist/components/Flex/stories/alignEndArgs.d.ts +0 -2
- package/dist/components/Flex/stories/alignStartArgs.d.ts +0 -2
- package/dist/components/Flex/stories/autoAndFullItemArgs.d.ts +0 -2
- package/dist/components/Flex/stories/autoAndFullItemVerticalArgs.d.ts +0 -2
- package/dist/components/Flex/stories/fullAndAutoItemArgs.d.ts +0 -2
- package/dist/components/Flex/stories/fullAndAutoItemVerticalArgs.d.ts +0 -2
- package/dist/components/Flex/stories/justifyBetweenArgs.d.ts +0 -2
- package/dist/components/Flex/stories/justifyBetweenVerticalArgs.d.ts +0 -2
- package/dist/components/Flex/stories/justifyCenterArgs.d.ts +0 -2
- package/dist/components/Flex/stories/justifyCenterVerticalArgs.d.ts +0 -2
- package/dist/components/Flex/stories/justifyEndArgs.d.ts +0 -2
- package/dist/components/Flex/stories/justifyEndVerticalArgs.d.ts +0 -2
- package/dist/components/Flex/stories/justifyStartArgs.d.ts +0 -2
- package/dist/components/Flex/stories/justifyStartVerticalArgs.d.ts +0 -2
- package/dist/components/Flex/stories/twoFullItemsArgs.d.ts +0 -2
- package/dist/components/Flex/stories/twoFullItemsVerticalArgs.d.ts +0 -2
- package/dist/components/Flex/stories/xlGapSpacingArgs.d.ts +0 -2
- package/dist/components/Grid/stories/alignGridCenterArgs.d.ts +0 -2
- package/dist/components/Grid/stories/alignGridItemArgs.d.ts +0 -2
- package/dist/components/Grid/stories/alignGridRightArgs.d.ts +0 -2
- package/dist/components/Grid/stories/grid12Args.d.ts +0 -2
- package/dist/components/Grid/stories/grid222222Args.d.ts +0 -2
- package/dist/components/Grid/stories/grid3333Args.d.ts +0 -2
- package/dist/components/Grid/stories/grid363Args.d.ts +0 -2
- package/dist/components/Grid/stories/grid444Args.d.ts +0 -2
- package/dist/components/Grid/stories/grid64Args.d.ts +0 -2
- package/dist/components/Grid/stories/grid66Args.d.ts +0 -2
- package/dist/components/Grid/stories/grid75Args.d.ts +0 -2
- package/dist/components/Grid/stories/nestingArgs.d.ts +0 -2
- package/dist/components/Grid/stories/noSpacingArgs.d.ts +0 -2
- package/dist/components/Grid/stories/offsetArgs.d.ts +0 -2
- package/dist/components/Grid/stories/responsiveArgs.d.ts +0 -2
- package/dist/components/Grid/stories/stretchArgs.d.ts +0 -2
- package/dist/components/Grid/stories/tagOrderedListArgs.d.ts +0 -2
- package/dist/components/Grid/stories/tagUnorderedListArgs.d.ts +0 -2
- package/dist/getSizesFromGridConfig-BqDW79mt.js +0 -48
|
@@ -5,7 +5,7 @@ import FormElement from "../FormElement/index.js";
|
|
|
5
5
|
import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
6
6
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
7
7
|
import { i as inputStateError } from "../../props-Czq9XX2J.js";
|
|
8
|
-
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-
|
|
8
|
+
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-ldBsCamo.js";
|
|
9
9
|
import { i as iconSizeSm } from "../../IconSize-Da9zhR76.js";
|
|
10
10
|
import { s as spacingMd, a as spacingXs } from "../../Spacing-Dj-qX3Z5.js";
|
|
11
11
|
import { aW as CalendarMonthIcon } from "../../_5gPlusIcon-Bv-RNXxR.js";
|
|
@@ -14,7 +14,7 @@ import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
|
14
14
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
15
15
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
16
16
|
import { c as colorBorderFocus } from "../../BorderColor-BACbvI20.js";
|
|
17
|
-
import {
|
|
17
|
+
import { b as borderWidthFocus } from "../../BorderWidth-CwrNKc0Q.js";
|
|
18
18
|
const CalendarMonthIconStyled = styled(CalendarMonthIcon).withConfig({
|
|
19
19
|
displayName: "CalendarMonthIconStyled",
|
|
20
20
|
componentId: "sc-12ai2q6-0"
|
|
@@ -15,7 +15,7 @@ import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/i
|
|
|
15
15
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
16
16
|
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
17
17
|
import { f as colorBackgroundOverlayStatic } from "../../BackgroundColor-Ba4D10TC.js";
|
|
18
|
-
import {
|
|
18
|
+
import { b as borderWidthFocus } from "../../BorderWidth-CwrNKc0Q.js";
|
|
19
19
|
import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
|
|
20
20
|
const DialogOverlayStyled = styled.div.withConfig({
|
|
21
21
|
shouldForwardProp,
|
|
@@ -89,6 +89,7 @@ const Dialog = ({
|
|
|
89
89
|
...props
|
|
90
90
|
}) => {
|
|
91
91
|
const [open, setOpen] = useState(props.open === true);
|
|
92
|
+
const [mounted, setMounted] = useState(false);
|
|
92
93
|
const invokingElement = useRef(null);
|
|
93
94
|
const headingId = `${uid}-dialog-heading`;
|
|
94
95
|
const headingProps = {
|
|
@@ -131,6 +132,9 @@ const Dialog = ({
|
|
|
131
132
|
useEffect(() => {
|
|
132
133
|
setOpen(true === props.open);
|
|
133
134
|
}, [props.open]);
|
|
135
|
+
useEffect(() => {
|
|
136
|
+
setMounted(true);
|
|
137
|
+
}, []);
|
|
134
138
|
useEffect(() => {
|
|
135
139
|
const openingElements = document.querySelectorAll(`[data-action='dialog-${uid}']`);
|
|
136
140
|
for (const openingElement of openingElements) {
|
|
@@ -144,6 +148,7 @@ const Dialog = ({
|
|
|
144
148
|
}, []);
|
|
145
149
|
useEffect(() => {
|
|
146
150
|
var _a, _b;
|
|
151
|
+
if (!mounted) return;
|
|
147
152
|
if (open) {
|
|
148
153
|
updateElements(true);
|
|
149
154
|
focusElementOnOpen ? (_a = document.getElementById(focusElementOnOpen)) == null ? void 0 : _a.focus() : (_b = document.getElementById(headingId)) == null ? void 0 : _b.focus();
|
|
@@ -155,7 +160,7 @@ const Dialog = ({
|
|
|
155
160
|
focusElementOnClose ? (_a2 = document.getElementById(focusElementOnClose)) == null ? void 0 : _a2.focus() : (_b2 = invokingElement.current) == null ? void 0 : _b2.focus();
|
|
156
161
|
dismissable && document.removeEventListener("keydown", closeWithEscape);
|
|
157
162
|
};
|
|
158
|
-
}, [open]);
|
|
163
|
+
}, [open, mounted]);
|
|
159
164
|
const onCloseIconButtonClick = (event) => {
|
|
160
165
|
event.preventDefault();
|
|
161
166
|
closeDialog();
|
|
@@ -168,7 +173,7 @@ const Dialog = ({
|
|
|
168
173
|
/* @__PURE__ */ jsx(DialogChildrenContainerStyled, { children }),
|
|
169
174
|
/* @__PURE__ */ jsx(DialogButtonGroupStyled, { ...buttons, orientation: "horizontal", justify: "end", reversed: true, bottomSpacing: spacingNone })
|
|
170
175
|
] }) });
|
|
171
|
-
return open ? createPortal(dialog, document.body) : null;
|
|
176
|
+
return mounted && open ? createPortal(dialog, document.body) : null;
|
|
172
177
|
};
|
|
173
178
|
export {
|
|
174
179
|
Dialog as default
|
|
@@ -303,6 +303,7 @@ export declare const dialogSchema: z.ZodObject<{
|
|
|
303
303
|
Filter: "Filter";
|
|
304
304
|
Grid: "Grid";
|
|
305
305
|
Notification: "Notification";
|
|
306
|
+
Video: "Video";
|
|
306
307
|
Focus: "Focus";
|
|
307
308
|
AbTest: "AbTest";
|
|
308
309
|
Above28: "Above28";
|
|
@@ -857,7 +858,6 @@ export declare const dialogSchema: z.ZodObject<{
|
|
|
857
858
|
VfHappyHelpful: "VfHappyHelpful";
|
|
858
859
|
VfHappy: "VfHappy";
|
|
859
860
|
VideoFrame: "VideoFrame";
|
|
860
|
-
Video: "Video";
|
|
861
861
|
Virtuoso: "Virtuoso";
|
|
862
862
|
VirusProtection: "VirusProtection";
|
|
863
863
|
VocSensor: "VocSensor";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Fragment } from "react";
|
|
4
|
-
import { a as BadgeStyled, B as Badge } from "../../index-
|
|
4
|
+
import { a as BadgeStyled, B as Badge } from "../../index-h88pZ6zH.js";
|
|
5
5
|
import Body from "../Body/index.js";
|
|
6
6
|
import { b as bodyComponentName } from "../../componentName-BoJP6JLf.js";
|
|
7
7
|
import Heading from "../Heading/index.js";
|
|
8
8
|
import Link from "../Link/index.js";
|
|
9
|
-
import
|
|
10
|
-
import { R as RichText, a as RichTextContentful } from "../../index-
|
|
9
|
+
import Price from "../Price/index.js";
|
|
10
|
+
import { R as RichText, a as RichTextContentful } from "../../index-BLp5wi_X.js";
|
|
11
11
|
import { a as richTextComponentName, r as richTextContentfulComponentName } from "../../props-B5OwQmNC.js";
|
|
12
12
|
import { a as fontWeightBold } from "../../FontWeight-C8c-UnWu.js";
|
|
13
13
|
import { a as textHeadingSm } from "../../HeadingSize-O__w72MO.js";
|
|
@@ -21,13 +21,13 @@ import "../../index-DcEZ9vor.js";
|
|
|
21
21
|
import { a as bodyAlignLeft, b as bodyAlignCenter } from "../../props-DxcKxrWg.js";
|
|
22
22
|
import Card from "../Card/index.js";
|
|
23
23
|
import Image from "../Image/index.js";
|
|
24
|
-
import { a as LinkStyled } from "../../index-
|
|
24
|
+
import { a as LinkStyled } from "../../index-CW-UuGll.js";
|
|
25
25
|
import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
|
|
26
26
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
27
27
|
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
28
28
|
import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
|
|
29
29
|
import { a as aspectRatio16_9, b as aspectRatio1_1 } from "../../props-CLadRD1u.js";
|
|
30
|
-
import { h as priceSizeSm, a as priceAlignLeft, p as priceAlignCenter, d as priceOrientationVertical } from "../../props-
|
|
30
|
+
import { h as priceSizeSm, a as priceAlignLeft, p as priceAlignCenter, d as priceOrientationVertical } from "../../props-E4PNCuS6.js";
|
|
31
31
|
const DiscoveryCardStyled = styled(Card).withConfig({
|
|
32
32
|
shouldForwardProp,
|
|
33
33
|
displayName: "DiscoveryCardStyled",
|
|
@@ -79,15 +79,6 @@ export declare const discoveryCardSchema: z.ZodObject<{
|
|
|
79
79
|
contain: "contain";
|
|
80
80
|
cover: "cover";
|
|
81
81
|
}>>;
|
|
82
|
-
objectPosition: z.ZodOptional<z.ZodEnum<{
|
|
83
|
-
center: "center";
|
|
84
|
-
"top left": "top left";
|
|
85
|
-
"center left": "center left";
|
|
86
|
-
"bottom left": "bottom left";
|
|
87
|
-
"top right": "top right";
|
|
88
|
-
"center right": "center right";
|
|
89
|
-
"bottom right": "bottom right";
|
|
90
|
-
}>>;
|
|
91
82
|
width: z.ZodOptional<z.ZodNumber>;
|
|
92
83
|
component: z.ZodLiteral<"Image">;
|
|
93
84
|
uid: z.ZodString;
|
|
@@ -167,6 +158,7 @@ export declare const discoveryCardSchema: z.ZodObject<{
|
|
|
167
158
|
Filter: "Filter";
|
|
168
159
|
Grid: "Grid";
|
|
169
160
|
Notification: "Notification";
|
|
161
|
+
Video: "Video";
|
|
170
162
|
Focus: "Focus";
|
|
171
163
|
AbTest: "AbTest";
|
|
172
164
|
Above28: "Above28";
|
|
@@ -721,7 +713,6 @@ export declare const discoveryCardSchema: z.ZodObject<{
|
|
|
721
713
|
VfHappyHelpful: "VfHappyHelpful";
|
|
722
714
|
VfHappy: "VfHappy";
|
|
723
715
|
VideoFrame: "VideoFrame";
|
|
724
|
-
Video: "Video";
|
|
725
716
|
Virtuoso: "Virtuoso";
|
|
726
717
|
VirusProtection: "VirusProtection";
|
|
727
718
|
VocSensor: "VocSensor";
|
|
@@ -1125,6 +1116,7 @@ export declare const discoveryCardSchema: z.ZodObject<{
|
|
|
1125
1116
|
Filter: "Filter";
|
|
1126
1117
|
Grid: "Grid";
|
|
1127
1118
|
Notification: "Notification";
|
|
1119
|
+
Video: "Video";
|
|
1128
1120
|
Focus: "Focus";
|
|
1129
1121
|
AbTest: "AbTest";
|
|
1130
1122
|
Above28: "Above28";
|
|
@@ -1679,7 +1671,6 @@ export declare const discoveryCardSchema: z.ZodObject<{
|
|
|
1679
1671
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1680
1672
|
VfHappy: "VfHappy";
|
|
1681
1673
|
VideoFrame: "VideoFrame";
|
|
1682
|
-
Video: "Video";
|
|
1683
1674
|
Virtuoso: "Virtuoso";
|
|
1684
1675
|
VirusProtection: "VirusProtection";
|
|
1685
1676
|
VocSensor: "VocSensor";
|
|
@@ -1760,6 +1751,7 @@ export declare const discoveryCardSchema: z.ZodObject<{
|
|
|
1760
1751
|
Filter: "Filter";
|
|
1761
1752
|
Grid: "Grid";
|
|
1762
1753
|
Notification: "Notification";
|
|
1754
|
+
Video: "Video";
|
|
1763
1755
|
Focus: "Focus";
|
|
1764
1756
|
AbTest: "AbTest";
|
|
1765
1757
|
Above28: "Above28";
|
|
@@ -2314,7 +2306,6 @@ export declare const discoveryCardSchema: z.ZodObject<{
|
|
|
2314
2306
|
VfHappyHelpful: "VfHappyHelpful";
|
|
2315
2307
|
VfHappy: "VfHappy";
|
|
2316
2308
|
VideoFrame: "VideoFrame";
|
|
2317
|
-
Video: "Video";
|
|
2318
2309
|
Virtuoso: "Virtuoso";
|
|
2319
2310
|
VirusProtection: "VirusProtection";
|
|
2320
2311
|
VocSensor: "VocSensor";
|
|
@@ -3,8 +3,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import styled from "styled-components";
|
|
4
4
|
import DiscoveryCard from "../DiscoveryCard/index.js";
|
|
5
5
|
import { a as discoveryCardOrientationVertical } from "../../props-DjRkcEE8.js";
|
|
6
|
-
import { G as Grid, b as GridItem } from "../../index-
|
|
7
|
-
import { a as LinkStyled } from "../../index-
|
|
6
|
+
import { G as Grid, b as GridItem } from "../../index-E0RMtc9X.js";
|
|
7
|
+
import { a as LinkStyled } from "../../index-CW-UuGll.js";
|
|
8
8
|
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
9
9
|
import { s as spacingMd } from "../../Spacing-Dj-qX3Z5.js";
|
|
10
10
|
const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
|
|
@@ -138,15 +138,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
138
138
|
contain: "contain";
|
|
139
139
|
cover: "cover";
|
|
140
140
|
}>>;
|
|
141
|
-
objectPosition: z.ZodOptional<z.ZodEnum<{
|
|
142
|
-
center: "center";
|
|
143
|
-
"top left": "top left";
|
|
144
|
-
"center left": "center left";
|
|
145
|
-
"bottom left": "bottom left";
|
|
146
|
-
"top right": "top right";
|
|
147
|
-
"center right": "center right";
|
|
148
|
-
"bottom right": "bottom right";
|
|
149
|
-
}>>;
|
|
150
141
|
width: z.ZodOptional<z.ZodNumber>;
|
|
151
142
|
component: z.ZodLiteral<"Image">;
|
|
152
143
|
uid: z.ZodString;
|
|
@@ -226,6 +217,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
226
217
|
Filter: "Filter";
|
|
227
218
|
Grid: "Grid";
|
|
228
219
|
Notification: "Notification";
|
|
220
|
+
Video: "Video";
|
|
229
221
|
Focus: "Focus";
|
|
230
222
|
AbTest: "AbTest";
|
|
231
223
|
Above28: "Above28";
|
|
@@ -780,7 +772,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
780
772
|
VfHappyHelpful: "VfHappyHelpful";
|
|
781
773
|
VfHappy: "VfHappy";
|
|
782
774
|
VideoFrame: "VideoFrame";
|
|
783
|
-
Video: "Video";
|
|
784
775
|
Virtuoso: "Virtuoso";
|
|
785
776
|
VirusProtection: "VirusProtection";
|
|
786
777
|
VocSensor: "VocSensor";
|
|
@@ -1184,6 +1175,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
1184
1175
|
Filter: "Filter";
|
|
1185
1176
|
Grid: "Grid";
|
|
1186
1177
|
Notification: "Notification";
|
|
1178
|
+
Video: "Video";
|
|
1187
1179
|
Focus: "Focus";
|
|
1188
1180
|
AbTest: "AbTest";
|
|
1189
1181
|
Above28: "Above28";
|
|
@@ -1738,7 +1730,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
1738
1730
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1739
1731
|
VfHappy: "VfHappy";
|
|
1740
1732
|
VideoFrame: "VideoFrame";
|
|
1741
|
-
Video: "Video";
|
|
1742
1733
|
Virtuoso: "Virtuoso";
|
|
1743
1734
|
VirusProtection: "VirusProtection";
|
|
1744
1735
|
VocSensor: "VocSensor";
|
|
@@ -1819,6 +1810,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
1819
1810
|
Filter: "Filter";
|
|
1820
1811
|
Grid: "Grid";
|
|
1821
1812
|
Notification: "Notification";
|
|
1813
|
+
Video: "Video";
|
|
1822
1814
|
Focus: "Focus";
|
|
1823
1815
|
AbTest: "AbTest";
|
|
1824
1816
|
Above28: "Above28";
|
|
@@ -2373,7 +2365,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
2373
2365
|
VfHappyHelpful: "VfHappyHelpful";
|
|
2374
2366
|
VfHappy: "VfHappy";
|
|
2375
2367
|
VideoFrame: "VideoFrame";
|
|
2376
|
-
Video: "Video";
|
|
2377
2368
|
Virtuoso: "Virtuoso";
|
|
2378
2369
|
VirusProtection: "VirusProtection";
|
|
2379
2370
|
VocSensor: "VocSensor";
|
|
@@ -2513,15 +2504,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
2513
2504
|
contain: "contain";
|
|
2514
2505
|
cover: "cover";
|
|
2515
2506
|
}>>;
|
|
2516
|
-
objectPosition: z.ZodOptional<z.ZodEnum<{
|
|
2517
|
-
center: "center";
|
|
2518
|
-
"top left": "top left";
|
|
2519
|
-
"center left": "center left";
|
|
2520
|
-
"bottom left": "bottom left";
|
|
2521
|
-
"top right": "top right";
|
|
2522
|
-
"center right": "center right";
|
|
2523
|
-
"bottom right": "bottom right";
|
|
2524
|
-
}>>;
|
|
2525
2507
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2526
2508
|
component: z.ZodLiteral<"Image">;
|
|
2527
2509
|
uid: z.ZodString;
|
|
@@ -2601,6 +2583,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
2601
2583
|
Filter: "Filter";
|
|
2602
2584
|
Grid: "Grid";
|
|
2603
2585
|
Notification: "Notification";
|
|
2586
|
+
Video: "Video";
|
|
2604
2587
|
Focus: "Focus";
|
|
2605
2588
|
AbTest: "AbTest";
|
|
2606
2589
|
Above28: "Above28";
|
|
@@ -3155,7 +3138,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
3155
3138
|
VfHappyHelpful: "VfHappyHelpful";
|
|
3156
3139
|
VfHappy: "VfHappy";
|
|
3157
3140
|
VideoFrame: "VideoFrame";
|
|
3158
|
-
Video: "Video";
|
|
3159
3141
|
Virtuoso: "Virtuoso";
|
|
3160
3142
|
VirusProtection: "VirusProtection";
|
|
3161
3143
|
VocSensor: "VocSensor";
|
|
@@ -3559,6 +3541,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
3559
3541
|
Filter: "Filter";
|
|
3560
3542
|
Grid: "Grid";
|
|
3561
3543
|
Notification: "Notification";
|
|
3544
|
+
Video: "Video";
|
|
3562
3545
|
Focus: "Focus";
|
|
3563
3546
|
AbTest: "AbTest";
|
|
3564
3547
|
Above28: "Above28";
|
|
@@ -4113,7 +4096,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
4113
4096
|
VfHappyHelpful: "VfHappyHelpful";
|
|
4114
4097
|
VfHappy: "VfHappy";
|
|
4115
4098
|
VideoFrame: "VideoFrame";
|
|
4116
|
-
Video: "Video";
|
|
4117
4099
|
Virtuoso: "Virtuoso";
|
|
4118
4100
|
VirusProtection: "VirusProtection";
|
|
4119
4101
|
VocSensor: "VocSensor";
|
|
@@ -4194,6 +4176,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
4194
4176
|
Filter: "Filter";
|
|
4195
4177
|
Grid: "Grid";
|
|
4196
4178
|
Notification: "Notification";
|
|
4179
|
+
Video: "Video";
|
|
4197
4180
|
Focus: "Focus";
|
|
4198
4181
|
AbTest: "AbTest";
|
|
4199
4182
|
Above28: "Above28";
|
|
@@ -4748,7 +4731,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
4748
4731
|
VfHappyHelpful: "VfHappyHelpful";
|
|
4749
4732
|
VfHappy: "VfHappy";
|
|
4750
4733
|
VideoFrame: "VideoFrame";
|
|
4751
|
-
Video: "Video";
|
|
4752
4734
|
Virtuoso: "Virtuoso";
|
|
4753
4735
|
VirusProtection: "VirusProtection";
|
|
4754
4736
|
VocSensor: "VocSensor";
|
|
@@ -4888,15 +4870,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
4888
4870
|
contain: "contain";
|
|
4889
4871
|
cover: "cover";
|
|
4890
4872
|
}>>;
|
|
4891
|
-
objectPosition: z.ZodOptional<z.ZodEnum<{
|
|
4892
|
-
center: "center";
|
|
4893
|
-
"top left": "top left";
|
|
4894
|
-
"center left": "center left";
|
|
4895
|
-
"bottom left": "bottom left";
|
|
4896
|
-
"top right": "top right";
|
|
4897
|
-
"center right": "center right";
|
|
4898
|
-
"bottom right": "bottom right";
|
|
4899
|
-
}>>;
|
|
4900
4873
|
width: z.ZodOptional<z.ZodNumber>;
|
|
4901
4874
|
component: z.ZodLiteral<"Image">;
|
|
4902
4875
|
uid: z.ZodString;
|
|
@@ -4976,6 +4949,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
4976
4949
|
Filter: "Filter";
|
|
4977
4950
|
Grid: "Grid";
|
|
4978
4951
|
Notification: "Notification";
|
|
4952
|
+
Video: "Video";
|
|
4979
4953
|
Focus: "Focus";
|
|
4980
4954
|
AbTest: "AbTest";
|
|
4981
4955
|
Above28: "Above28";
|
|
@@ -5530,7 +5504,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
5530
5504
|
VfHappyHelpful: "VfHappyHelpful";
|
|
5531
5505
|
VfHappy: "VfHappy";
|
|
5532
5506
|
VideoFrame: "VideoFrame";
|
|
5533
|
-
Video: "Video";
|
|
5534
5507
|
Virtuoso: "Virtuoso";
|
|
5535
5508
|
VirusProtection: "VirusProtection";
|
|
5536
5509
|
VocSensor: "VocSensor";
|
|
@@ -5934,6 +5907,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
5934
5907
|
Filter: "Filter";
|
|
5935
5908
|
Grid: "Grid";
|
|
5936
5909
|
Notification: "Notification";
|
|
5910
|
+
Video: "Video";
|
|
5937
5911
|
Focus: "Focus";
|
|
5938
5912
|
AbTest: "AbTest";
|
|
5939
5913
|
Above28: "Above28";
|
|
@@ -6488,7 +6462,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
6488
6462
|
VfHappyHelpful: "VfHappyHelpful";
|
|
6489
6463
|
VfHappy: "VfHappy";
|
|
6490
6464
|
VideoFrame: "VideoFrame";
|
|
6491
|
-
Video: "Video";
|
|
6492
6465
|
Virtuoso: "Virtuoso";
|
|
6493
6466
|
VirusProtection: "VirusProtection";
|
|
6494
6467
|
VocSensor: "VocSensor";
|
|
@@ -6569,6 +6542,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
6569
6542
|
Filter: "Filter";
|
|
6570
6543
|
Grid: "Grid";
|
|
6571
6544
|
Notification: "Notification";
|
|
6545
|
+
Video: "Video";
|
|
6572
6546
|
Focus: "Focus";
|
|
6573
6547
|
AbTest: "AbTest";
|
|
6574
6548
|
Above28: "Above28";
|
|
@@ -7123,7 +7097,6 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
7123
7097
|
VfHappyHelpful: "VfHappyHelpful";
|
|
7124
7098
|
VfHappy: "VfHappy";
|
|
7125
7099
|
VideoFrame: "VideoFrame";
|
|
7126
|
-
Video: "Video";
|
|
7127
7100
|
Virtuoso: "Virtuoso";
|
|
7128
7101
|
VirusProtection: "VirusProtection";
|
|
7129
7102
|
VocSensor: "VocSensor";
|
|
@@ -76,6 +76,7 @@ export declare const energySnippetSchema: z.ZodObject<{
|
|
|
76
76
|
Filter: "Filter";
|
|
77
77
|
Grid: "Grid";
|
|
78
78
|
Notification: "Notification";
|
|
79
|
+
Video: "Video";
|
|
79
80
|
Focus: "Focus";
|
|
80
81
|
AbTest: "AbTest";
|
|
81
82
|
Above28: "Above28";
|
|
@@ -630,7 +631,6 @@ export declare const energySnippetSchema: z.ZodObject<{
|
|
|
630
631
|
VfHappyHelpful: "VfHappyHelpful";
|
|
631
632
|
VfHappy: "VfHappy";
|
|
632
633
|
VideoFrame: "VideoFrame";
|
|
633
|
-
Video: "Video";
|
|
634
634
|
Virtuoso: "Virtuoso";
|
|
635
635
|
VirusProtection: "VirusProtection";
|
|
636
636
|
VocSensor: "VocSensor";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { B as Badge } from "../../../../index-
|
|
3
|
+
import { B as Badge } from "../../../../index-h88pZ6zH.js";
|
|
4
4
|
import Heading from "../../../Heading/index.js";
|
|
5
5
|
import "react";
|
|
6
|
-
import "../../../../index-
|
|
7
|
-
import "../../../../index-
|
|
6
|
+
import "../../../../index-C_6tWuWh.js";
|
|
7
|
+
import "../../../../index-E0RMtc9X.js";
|
|
8
8
|
import "../../../../hooks/useLinkComponent/index.js";
|
|
9
|
-
import "
|
|
9
|
+
import "../../../../styled-R9Zq1ahD.js";
|
|
10
10
|
import "../../../../hooks/useImageComponent/index.js";
|
|
11
|
-
import
|
|
11
|
+
import "../../../../styled-BrSdmb0C.js";
|
|
12
12
|
import { b as aspectRatio1_1 } from "../../../../props-CLadRD1u.js";
|
|
13
13
|
import Link from "../../../Link/index.js";
|
|
14
|
-
import
|
|
15
|
-
import { R as RichText, a as RichTextContentful } from "../../../../index-
|
|
14
|
+
import Price from "../../../Price/index.js";
|
|
15
|
+
import { R as RichText, a as RichTextContentful } from "../../../../index-BLp5wi_X.js";
|
|
16
16
|
import { a as richTextComponentName, r as richTextContentfulComponentName } from "../../../../props-B5OwQmNC.js";
|
|
17
17
|
import ToggleButton from "../../../ToggleButton/index.js";
|
|
18
18
|
import { a as fontWeightBold } from "../../../../FontWeight-C8c-UnWu.js";
|
|
@@ -21,8 +21,9 @@ import { s as smallSize } from "../../../../SizeTypes-Ck_RdzIf.js";
|
|
|
21
21
|
import { s as spacingMd, b as spacingNone } from "../../../../Spacing-Dj-qX3Z5.js";
|
|
22
22
|
import styled from "styled-components";
|
|
23
23
|
import Card from "../../../Card/index.js";
|
|
24
|
+
import Image from "../../../Image/index.js";
|
|
24
25
|
import { g as getSpacing } from "../../../../index-l-i-mIeP.js";
|
|
25
|
-
import { h as priceSizeSm, p as priceAlignCenter, d as priceOrientationVertical } from "../../../../props-
|
|
26
|
+
import { h as priceSizeSm, p as priceAlignCenter, d as priceOrientationVertical } from "../../../../props-E4PNCuS6.js";
|
|
26
27
|
import { h as headingAlignCenter } from "../../../../props-GrMT6XLD.js";
|
|
27
28
|
const FeatureCardStyled = styled(Card).withConfig({
|
|
28
29
|
displayName: "FeatureCardStyled",
|
|
@@ -76,15 +76,6 @@ export declare const featureCardSchema: z.ZodObject<{
|
|
|
76
76
|
contain: "contain";
|
|
77
77
|
cover: "cover";
|
|
78
78
|
}>>;
|
|
79
|
-
objectPosition: z.ZodOptional<z.ZodEnum<{
|
|
80
|
-
center: "center";
|
|
81
|
-
"top left": "top left";
|
|
82
|
-
"center left": "center left";
|
|
83
|
-
"bottom left": "bottom left";
|
|
84
|
-
"top right": "top right";
|
|
85
|
-
"center right": "center right";
|
|
86
|
-
"bottom right": "bottom right";
|
|
87
|
-
}>>;
|
|
88
79
|
width: z.ZodOptional<z.ZodNumber>;
|
|
89
80
|
component: z.ZodLiteral<"Image">;
|
|
90
81
|
uid: z.ZodString;
|
|
@@ -326,6 +317,7 @@ export declare const featureCardSchema: z.ZodObject<{
|
|
|
326
317
|
Filter: "Filter";
|
|
327
318
|
Grid: "Grid";
|
|
328
319
|
Notification: "Notification";
|
|
320
|
+
Video: "Video";
|
|
329
321
|
Focus: "Focus";
|
|
330
322
|
AbTest: "AbTest";
|
|
331
323
|
Above28: "Above28";
|
|
@@ -880,7 +872,6 @@ export declare const featureCardSchema: z.ZodObject<{
|
|
|
880
872
|
VfHappyHelpful: "VfHappyHelpful";
|
|
881
873
|
VfHappy: "VfHappy";
|
|
882
874
|
VideoFrame: "VideoFrame";
|
|
883
|
-
Video: "Video";
|
|
884
875
|
Virtuoso: "Virtuoso";
|
|
885
876
|
VirusProtection: "VirusProtection";
|
|
886
877
|
VocSensor: "VocSensor";
|
|
@@ -1136,6 +1127,7 @@ export declare const featureCardSchema: z.ZodObject<{
|
|
|
1136
1127
|
Filter: "Filter";
|
|
1137
1128
|
Grid: "Grid";
|
|
1138
1129
|
Notification: "Notification";
|
|
1130
|
+
Video: "Video";
|
|
1139
1131
|
Focus: "Focus";
|
|
1140
1132
|
AbTest: "AbTest";
|
|
1141
1133
|
Above28: "Above28";
|
|
@@ -1690,7 +1682,6 @@ export declare const featureCardSchema: z.ZodObject<{
|
|
|
1690
1682
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1691
1683
|
VfHappy: "VfHappy";
|
|
1692
1684
|
VideoFrame: "VideoFrame";
|
|
1693
|
-
Video: "Video";
|
|
1694
1685
|
Virtuoso: "Virtuoso";
|
|
1695
1686
|
VirusProtection: "VirusProtection";
|
|
1696
1687
|
VocSensor: "VocSensor";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { G as Grid, b as GridItem } from "../../index-
|
|
3
|
+
import { G as Grid, b as GridItem } from "../../index-E0RMtc9X.js";
|
|
4
4
|
import ToggleButtonProvider from "../ToggleButtonProvider/index.js";
|
|
5
5
|
import FeatureCard from "./components/FeatureCard/index.js";
|
|
6
6
|
import styled from "styled-components";
|
|
@@ -172,15 +172,6 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
172
172
|
contain: "contain";
|
|
173
173
|
cover: "cover";
|
|
174
174
|
}>>;
|
|
175
|
-
objectPosition: z.ZodOptional<z.ZodEnum<{
|
|
176
|
-
center: "center";
|
|
177
|
-
"top left": "top left";
|
|
178
|
-
"center left": "center left";
|
|
179
|
-
"bottom left": "bottom left";
|
|
180
|
-
"top right": "top right";
|
|
181
|
-
"center right": "center right";
|
|
182
|
-
"bottom right": "bottom right";
|
|
183
|
-
}>>;
|
|
184
175
|
width: z.ZodOptional<z.ZodNumber>;
|
|
185
176
|
component: z.ZodLiteral<"Image">;
|
|
186
177
|
uid: z.ZodString;
|
|
@@ -422,6 +413,7 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
422
413
|
Filter: "Filter";
|
|
423
414
|
Grid: "Grid";
|
|
424
415
|
Notification: "Notification";
|
|
416
|
+
Video: "Video";
|
|
425
417
|
Focus: "Focus";
|
|
426
418
|
AbTest: "AbTest";
|
|
427
419
|
Above28: "Above28";
|
|
@@ -976,7 +968,6 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
976
968
|
VfHappyHelpful: "VfHappyHelpful";
|
|
977
969
|
VfHappy: "VfHappy";
|
|
978
970
|
VideoFrame: "VideoFrame";
|
|
979
|
-
Video: "Video";
|
|
980
971
|
Virtuoso: "Virtuoso";
|
|
981
972
|
VirusProtection: "VirusProtection";
|
|
982
973
|
VocSensor: "VocSensor";
|
|
@@ -1232,6 +1223,7 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
1232
1223
|
Filter: "Filter";
|
|
1233
1224
|
Grid: "Grid";
|
|
1234
1225
|
Notification: "Notification";
|
|
1226
|
+
Video: "Video";
|
|
1235
1227
|
Focus: "Focus";
|
|
1236
1228
|
AbTest: "AbTest";
|
|
1237
1229
|
Above28: "Above28";
|
|
@@ -1786,7 +1778,6 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
1786
1778
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1787
1779
|
VfHappy: "VfHappy";
|
|
1788
1780
|
VideoFrame: "VideoFrame";
|
|
1789
|
-
Video: "Video";
|
|
1790
1781
|
Virtuoso: "Virtuoso";
|
|
1791
1782
|
VirusProtection: "VirusProtection";
|
|
1792
1783
|
VocSensor: "VocSensor";
|
|
@@ -1963,6 +1954,7 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
1963
1954
|
Filter: "Filter";
|
|
1964
1955
|
Grid: "Grid";
|
|
1965
1956
|
Notification: "Notification";
|
|
1957
|
+
Video: "Video";
|
|
1966
1958
|
Focus: "Focus";
|
|
1967
1959
|
AbTest: "AbTest";
|
|
1968
1960
|
Above28: "Above28";
|
|
@@ -2517,7 +2509,6 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
2517
2509
|
VfHappyHelpful: "VfHappyHelpful";
|
|
2518
2510
|
VfHappy: "VfHappy";
|
|
2519
2511
|
VideoFrame: "VideoFrame";
|
|
2520
|
-
Video: "Video";
|
|
2521
2512
|
Virtuoso: "Virtuoso";
|
|
2522
2513
|
VirusProtection: "VirusProtection";
|
|
2523
2514
|
VocSensor: "VocSensor";
|
|
@@ -2553,6 +2544,7 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
2553
2544
|
Filter: "Filter";
|
|
2554
2545
|
Grid: "Grid";
|
|
2555
2546
|
Notification: "Notification";
|
|
2547
|
+
Video: "Video";
|
|
2556
2548
|
Focus: "Focus";
|
|
2557
2549
|
AbTest: "AbTest";
|
|
2558
2550
|
Above28: "Above28";
|
|
@@ -3107,7 +3099,6 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
3107
3099
|
VfHappyHelpful: "VfHappyHelpful";
|
|
3108
3100
|
VfHappy: "VfHappy";
|
|
3109
3101
|
VideoFrame: "VideoFrame";
|
|
3110
|
-
Video: "Video";
|
|
3111
3102
|
Virtuoso: "Virtuoso";
|
|
3112
3103
|
VirusProtection: "VirusProtection";
|
|
3113
3104
|
VocSensor: "VocSensor";
|
|
@@ -3215,6 +3206,7 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
3215
3206
|
Filter: "Filter";
|
|
3216
3207
|
Grid: "Grid";
|
|
3217
3208
|
Notification: "Notification";
|
|
3209
|
+
Video: "Video";
|
|
3218
3210
|
Focus: "Focus";
|
|
3219
3211
|
AbTest: "AbTest";
|
|
3220
3212
|
Above28: "Above28";
|
|
@@ -3769,7 +3761,6 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
3769
3761
|
VfHappyHelpful: "VfHappyHelpful";
|
|
3770
3762
|
VfHappy: "VfHappy";
|
|
3771
3763
|
VideoFrame: "VideoFrame";
|
|
3772
|
-
Video: "Video";
|
|
3773
3764
|
Virtuoso: "Virtuoso";
|
|
3774
3765
|
VirusProtection: "VirusProtection";
|
|
3775
3766
|
VocSensor: "VocSensor";
|
|
@@ -3805,6 +3796,7 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
3805
3796
|
Filter: "Filter";
|
|
3806
3797
|
Grid: "Grid";
|
|
3807
3798
|
Notification: "Notification";
|
|
3799
|
+
Video: "Video";
|
|
3808
3800
|
Focus: "Focus";
|
|
3809
3801
|
AbTest: "AbTest";
|
|
3810
3802
|
Above28: "Above28";
|
|
@@ -4359,7 +4351,6 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
4359
4351
|
VfHappyHelpful: "VfHappyHelpful";
|
|
4360
4352
|
VfHappy: "VfHappy";
|
|
4361
4353
|
VideoFrame: "VideoFrame";
|
|
4362
|
-
Video: "Video";
|
|
4363
4354
|
Virtuoso: "Virtuoso";
|
|
4364
4355
|
VirusProtection: "VirusProtection";
|
|
4365
4356
|
VocSensor: "VocSensor";
|
|
@@ -13,6 +13,8 @@ import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
|
|
|
13
13
|
const fieldsetCssObject = {
|
|
14
14
|
// Chrome gives a fieldset a min-width equal to its content, so we need to reset it here
|
|
15
15
|
minWidth: "0px",
|
|
16
|
+
// Fieldsets tend to behave weirdly in Safari in Flex contexts, so we constrain their maximum inline size
|
|
17
|
+
maxInlineSize: "100%",
|
|
16
18
|
"&:disabled": {
|
|
17
19
|
pointerEvents: "none",
|
|
18
20
|
opacity: getOpacity(opacityDisabled)
|
|
@@ -36,10 +38,13 @@ const Fieldset = ({
|
|
|
36
38
|
ref,
|
|
37
39
|
...props
|
|
38
40
|
}) => {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
const hasHelperOrErrorMessage = inputStateError !== status && helperText || inputStateError === status && errorMessage;
|
|
42
|
+
const legendId = `fieldset-legend-${uid}`;
|
|
43
|
+
const messageId = `fieldset-message-${uid}`;
|
|
44
|
+
return /* @__PURE__ */ jsxs(FieldsetStyled, { ...props, uid, id: `fieldset-${uid}`, "aria-labelledby": hasHelperOrErrorMessage ? `${legendId} ${messageId}` : props["aria-labelledby"], bottomSpacing, ref, children: [
|
|
45
|
+
legend && /* @__PURE__ */ jsx(Legend, { ...legend, id: legendId }),
|
|
41
46
|
children,
|
|
42
|
-
|
|
47
|
+
hasHelperOrErrorMessage ? /* @__PURE__ */ jsx(FormHelperMessage, { id: messageId, message: inputStateError === status ? errorMessage : helperText, status }) : null
|
|
43
48
|
] });
|
|
44
49
|
};
|
|
45
50
|
export {
|