@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
|
@@ -725,6 +725,7 @@ export declare const fieldsetSchema: z.ZodObject<{
|
|
|
725
725
|
Filter: "Filter";
|
|
726
726
|
Grid: "Grid";
|
|
727
727
|
Notification: "Notification";
|
|
728
|
+
Video: "Video";
|
|
728
729
|
Focus: "Focus";
|
|
729
730
|
AbTest: "AbTest";
|
|
730
731
|
Above28: "Above28";
|
|
@@ -1279,7 +1280,6 @@ export declare const fieldsetSchema: z.ZodObject<{
|
|
|
1279
1280
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1280
1281
|
VfHappy: "VfHappy";
|
|
1281
1282
|
VideoFrame: "VideoFrame";
|
|
1282
|
-
Video: "Video";
|
|
1283
1283
|
Virtuoso: "Virtuoso";
|
|
1284
1284
|
VirusProtection: "VirusProtection";
|
|
1285
1285
|
VocSensor: "VocSensor";
|
|
@@ -1333,6 +1333,7 @@ export declare const fieldsetSchema: z.ZodObject<{
|
|
|
1333
1333
|
Filter: "Filter";
|
|
1334
1334
|
Grid: "Grid";
|
|
1335
1335
|
Notification: "Notification";
|
|
1336
|
+
Video: "Video";
|
|
1336
1337
|
Focus: "Focus";
|
|
1337
1338
|
AbTest: "AbTest";
|
|
1338
1339
|
Above28: "Above28";
|
|
@@ -1887,7 +1888,6 @@ export declare const fieldsetSchema: z.ZodObject<{
|
|
|
1887
1888
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1888
1889
|
VfHappy: "VfHappy";
|
|
1889
1890
|
VideoFrame: "VideoFrame";
|
|
1890
|
-
Video: "Video";
|
|
1891
1891
|
Virtuoso: "Virtuoso";
|
|
1892
1892
|
VirusProtection: "VirusProtection";
|
|
1893
1893
|
VocSensor: "VocSensor";
|
|
@@ -1994,6 +1994,7 @@ export declare const fieldsetSchema: z.ZodObject<{
|
|
|
1994
1994
|
Filter: "Filter";
|
|
1995
1995
|
Grid: "Grid";
|
|
1996
1996
|
Notification: "Notification";
|
|
1997
|
+
Video: "Video";
|
|
1997
1998
|
Focus: "Focus";
|
|
1998
1999
|
AbTest: "AbTest";
|
|
1999
2000
|
Above28: "Above28";
|
|
@@ -2548,7 +2549,6 @@ export declare const fieldsetSchema: z.ZodObject<{
|
|
|
2548
2549
|
VfHappyHelpful: "VfHappyHelpful";
|
|
2549
2550
|
VfHappy: "VfHappy";
|
|
2550
2551
|
VideoFrame: "VideoFrame";
|
|
2551
|
-
Video: "Video";
|
|
2552
2552
|
Virtuoso: "Virtuoso";
|
|
2553
2553
|
VirusProtection: "VirusProtection";
|
|
2554
2554
|
VocSensor: "VocSensor";
|
|
@@ -18,8 +18,8 @@ import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
|
18
18
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
19
19
|
import { a as colorBackgroundNeutral } from "../../BackgroundColor-Ba4D10TC.js";
|
|
20
20
|
import { b as colorBorderUnselected, i as colorBorderSelected, c as colorBorderFocus } from "../../BorderColor-BACbvI20.js";
|
|
21
|
-
import { d as borderRadiusFull } from "../../BorderRadius-
|
|
22
|
-
import {
|
|
21
|
+
import { d as borderRadiusFull } from "../../BorderRadius-0jhn76gB.js";
|
|
22
|
+
import { a as borderWidthUnselected, b as borderWidthFocus } from "../../BorderWidth-CwrNKc0Q.js";
|
|
23
23
|
import { f as colorObjectSelected } from "../../ObjectColor-CSHEae46.js";
|
|
24
24
|
import { a as spacingXs, b as spacingNone, f as spacing2Xs, c as spacingSm } from "../../Spacing-Dj-qX3Z5.js";
|
|
25
25
|
import { t as textBodyMd } from "../../TextBodySize-CP9q4gRv.js";
|
|
@@ -44,6 +44,7 @@ export declare const filterSchema: z.ZodObject<{
|
|
|
44
44
|
Filter: "Filter";
|
|
45
45
|
Grid: "Grid";
|
|
46
46
|
Notification: "Notification";
|
|
47
|
+
Video: "Video";
|
|
47
48
|
Focus: "Focus";
|
|
48
49
|
AbTest: "AbTest";
|
|
49
50
|
Above28: "Above28";
|
|
@@ -598,7 +599,6 @@ export declare const filterSchema: z.ZodObject<{
|
|
|
598
599
|
VfHappyHelpful: "VfHappyHelpful";
|
|
599
600
|
VfHappy: "VfHappy";
|
|
600
601
|
VideoFrame: "VideoFrame";
|
|
601
|
-
Video: "Video";
|
|
602
602
|
Virtuoso: "Virtuoso";
|
|
603
603
|
VirusProtection: "VirusProtection";
|
|
604
604
|
VocSensor: "VocSensor";
|
|
@@ -1355,6 +1355,7 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
1355
1355
|
Filter: "Filter";
|
|
1356
1356
|
Grid: "Grid";
|
|
1357
1357
|
Notification: "Notification";
|
|
1358
|
+
Video: "Video";
|
|
1358
1359
|
Focus: "Focus";
|
|
1359
1360
|
AbTest: "AbTest";
|
|
1360
1361
|
Above28: "Above28";
|
|
@@ -1909,7 +1910,6 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
1909
1910
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1910
1911
|
VfHappy: "VfHappy";
|
|
1911
1912
|
VideoFrame: "VideoFrame";
|
|
1912
|
-
Video: "Video";
|
|
1913
1913
|
Virtuoso: "Virtuoso";
|
|
1914
1914
|
VirusProtection: "VirusProtection";
|
|
1915
1915
|
VocSensor: "VocSensor";
|
|
@@ -1963,6 +1963,7 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
1963
1963
|
Filter: "Filter";
|
|
1964
1964
|
Grid: "Grid";
|
|
1965
1965
|
Notification: "Notification";
|
|
1966
|
+
Video: "Video";
|
|
1966
1967
|
Focus: "Focus";
|
|
1967
1968
|
AbTest: "AbTest";
|
|
1968
1969
|
Above28: "Above28";
|
|
@@ -2517,7 +2518,6 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
2517
2518
|
VfHappyHelpful: "VfHappyHelpful";
|
|
2518
2519
|
VfHappy: "VfHappy";
|
|
2519
2520
|
VideoFrame: "VideoFrame";
|
|
2520
|
-
Video: "Video";
|
|
2521
2521
|
Virtuoso: "Virtuoso";
|
|
2522
2522
|
VirusProtection: "VirusProtection";
|
|
2523
2523
|
VocSensor: "VocSensor";
|
|
@@ -2624,6 +2624,7 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
2624
2624
|
Filter: "Filter";
|
|
2625
2625
|
Grid: "Grid";
|
|
2626
2626
|
Notification: "Notification";
|
|
2627
|
+
Video: "Video";
|
|
2627
2628
|
Focus: "Focus";
|
|
2628
2629
|
AbTest: "AbTest";
|
|
2629
2630
|
Above28: "Above28";
|
|
@@ -3178,7 +3179,6 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
3178
3179
|
VfHappyHelpful: "VfHappyHelpful";
|
|
3179
3180
|
VfHappy: "VfHappy";
|
|
3180
3181
|
VideoFrame: "VideoFrame";
|
|
3181
|
-
Video: "Video";
|
|
3182
3182
|
Virtuoso: "Virtuoso";
|
|
3183
3183
|
VirusProtection: "VirusProtection";
|
|
3184
3184
|
VocSensor: "VocSensor";
|
|
@@ -3403,6 +3403,7 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
3403
3403
|
Filter: "Filter";
|
|
3404
3404
|
Grid: "Grid";
|
|
3405
3405
|
Notification: "Notification";
|
|
3406
|
+
Video: "Video";
|
|
3406
3407
|
Focus: "Focus";
|
|
3407
3408
|
AbTest: "AbTest";
|
|
3408
3409
|
Above28: "Above28";
|
|
@@ -3957,7 +3958,6 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
3957
3958
|
VfHappyHelpful: "VfHappyHelpful";
|
|
3958
3959
|
VfHappy: "VfHappy";
|
|
3959
3960
|
VideoFrame: "VideoFrame";
|
|
3960
|
-
Video: "Video";
|
|
3961
3961
|
Virtuoso: "Virtuoso";
|
|
3962
3962
|
VirusProtection: "VirusProtection";
|
|
3963
3963
|
VocSensor: "VocSensor";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import FootnoteContent from "../FootnoteContent/index.js";
|
|
4
|
-
import { j as RichTextContentfulStyled, a as RichTextContentful } from "../../index-
|
|
4
|
+
import { j as RichTextContentfulStyled, a as RichTextContentful } from "../../index-BLp5wi_X.js";
|
|
5
5
|
import Accordion from "../Accordion/index.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
import { getFontWeight } from "../../foundations/token/getFontWeight/index.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-BACbvI20.js";
|
|
9
|
-
import {
|
|
9
|
+
import { b as borderWidthFocus } from "../../BorderWidth-CwrNKc0Q.js";
|
|
10
10
|
import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.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({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import Accordion from "../Accordion/index.js";
|
|
4
|
-
import { C as Container } from "../../index-
|
|
4
|
+
import { C as Container } from "../../index-C_6tWuWh.js";
|
|
5
5
|
import Footnote from "../Footnote/index.js";
|
|
6
6
|
import Heading from "../Heading/index.js";
|
|
7
7
|
const FootnoteSection = ({
|
|
@@ -518,12 +518,13 @@ export declare const footnoteSectionSchema: z.ZodObject<{
|
|
|
518
518
|
error_location: z.ZodOptional<z.ZodString>;
|
|
519
519
|
}, z.core.$loose>>;
|
|
520
520
|
}, z.core.$loose>;
|
|
521
|
-
|
|
521
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
522
522
|
Menu: "Menu";
|
|
523
523
|
Calendar: "Calendar";
|
|
524
524
|
Filter: "Filter";
|
|
525
525
|
Grid: "Grid";
|
|
526
526
|
Notification: "Notification";
|
|
527
|
+
Video: "Video";
|
|
527
528
|
Focus: "Focus";
|
|
528
529
|
AbTest: "AbTest";
|
|
529
530
|
Above28: "Above28";
|
|
@@ -1078,7 +1079,6 @@ export declare const footnoteSectionSchema: z.ZodObject<{
|
|
|
1078
1079
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1079
1080
|
VfHappy: "VfHappy";
|
|
1080
1081
|
VideoFrame: "VideoFrame";
|
|
1081
|
-
Video: "Video";
|
|
1082
1082
|
Virtuoso: "Virtuoso";
|
|
1083
1083
|
VirusProtection: "VirusProtection";
|
|
1084
1084
|
VocSensor: "VocSensor";
|
|
@@ -4,7 +4,7 @@ import Body from "../Body/index.js";
|
|
|
4
4
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
5
5
|
import Heading from "../Heading/index.js";
|
|
6
6
|
import IconSnippet from "../IconSnippet/index.js";
|
|
7
|
-
import { R as RichText, a as RichTextContentful } from "../../index-
|
|
7
|
+
import { R as RichText, a as RichTextContentful } from "../../index-BLp5wi_X.js";
|
|
8
8
|
import { b as spacingNone } from "../../Spacing-Dj-qX3Z5.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
|
|
@@ -595,6 +595,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
595
595
|
Filter: "Filter";
|
|
596
596
|
Grid: "Grid";
|
|
597
597
|
Notification: "Notification";
|
|
598
|
+
Video: "Video";
|
|
598
599
|
Focus: "Focus";
|
|
599
600
|
AbTest: "AbTest";
|
|
600
601
|
Above28: "Above28";
|
|
@@ -1149,7 +1150,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
1149
1150
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1150
1151
|
VfHappy: "VfHappy";
|
|
1151
1152
|
VideoFrame: "VideoFrame";
|
|
1152
|
-
Video: "Video";
|
|
1153
1153
|
Virtuoso: "Virtuoso";
|
|
1154
1154
|
VirusProtection: "VirusProtection";
|
|
1155
1155
|
VocSensor: "VocSensor";
|
|
@@ -1636,6 +1636,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
1636
1636
|
Filter: "Filter";
|
|
1637
1637
|
Grid: "Grid";
|
|
1638
1638
|
Notification: "Notification";
|
|
1639
|
+
Video: "Video";
|
|
1639
1640
|
Focus: "Focus";
|
|
1640
1641
|
AbTest: "AbTest";
|
|
1641
1642
|
Above28: "Above28";
|
|
@@ -2190,7 +2191,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
2190
2191
|
VfHappyHelpful: "VfHappyHelpful";
|
|
2191
2192
|
VfHappy: "VfHappy";
|
|
2192
2193
|
VideoFrame: "VideoFrame";
|
|
2193
|
-
Video: "Video";
|
|
2194
2194
|
Virtuoso: "Virtuoso";
|
|
2195
2195
|
VirusProtection: "VirusProtection";
|
|
2196
2196
|
VocSensor: "VocSensor";
|
|
@@ -2244,6 +2244,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
2244
2244
|
Filter: "Filter";
|
|
2245
2245
|
Grid: "Grid";
|
|
2246
2246
|
Notification: "Notification";
|
|
2247
|
+
Video: "Video";
|
|
2247
2248
|
Focus: "Focus";
|
|
2248
2249
|
AbTest: "AbTest";
|
|
2249
2250
|
Above28: "Above28";
|
|
@@ -2798,7 +2799,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
2798
2799
|
VfHappyHelpful: "VfHappyHelpful";
|
|
2799
2800
|
VfHappy: "VfHappy";
|
|
2800
2801
|
VideoFrame: "VideoFrame";
|
|
2801
|
-
Video: "Video";
|
|
2802
2802
|
Virtuoso: "Virtuoso";
|
|
2803
2803
|
VirusProtection: "VirusProtection";
|
|
2804
2804
|
VocSensor: "VocSensor";
|
|
@@ -3019,6 +3019,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
3019
3019
|
Filter: "Filter";
|
|
3020
3020
|
Grid: "Grid";
|
|
3021
3021
|
Notification: "Notification";
|
|
3022
|
+
Video: "Video";
|
|
3022
3023
|
Focus: "Focus";
|
|
3023
3024
|
AbTest: "AbTest";
|
|
3024
3025
|
Above28: "Above28";
|
|
@@ -3573,7 +3574,6 @@ export declare const formSchema: z.ZodObject<{
|
|
|
3573
3574
|
VfHappyHelpful: "VfHappyHelpful";
|
|
3574
3575
|
VfHappy: "VfHappy";
|
|
3575
3576
|
VideoFrame: "VideoFrame";
|
|
3576
|
-
Video: "Video";
|
|
3577
3577
|
Virtuoso: "Virtuoso";
|
|
3578
3578
|
VirusProtection: "VirusProtection";
|
|
3579
3579
|
VocSensor: "VocSensor";
|
|
@@ -13,8 +13,9 @@ import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.j
|
|
|
13
13
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
14
14
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
15
15
|
import { f as colorBorderSubtle } from "../../BorderColor-BACbvI20.js";
|
|
16
|
-
import { b as borderRadiusMd,
|
|
17
|
-
import { d as borderWidthSm } from "../../BorderWidth-
|
|
16
|
+
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-0jhn76gB.js";
|
|
17
|
+
import { d as borderWidthSm } from "../../BorderWidth-CwrNKc0Q.js";
|
|
18
|
+
import { c as cornerRounded } from "../../CornerStyle-n77nckhh.js";
|
|
18
19
|
import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
|
|
19
20
|
import { c as consentVariantMap } from "../../ButtonWidthBehavior-DuO_4JKC.js";
|
|
20
21
|
const MapInner = ({
|
|
@@ -48,36 +49,47 @@ const GoogleMapStyled = styled.div.withConfig({
|
|
|
48
49
|
borderColor: getBorderColor(colorBorderSubtle),
|
|
49
50
|
borderStyle: "solid"
|
|
50
51
|
}, ({
|
|
52
|
+
height,
|
|
51
53
|
viewportHeight
|
|
52
54
|
}) => {
|
|
53
|
-
|
|
54
|
-
height
|
|
55
|
+
if (!height && viewportHeight) {
|
|
56
|
+
height = viewportHeight;
|
|
57
|
+
}
|
|
58
|
+
let heightByViewport = {
|
|
59
|
+
height: height ? `${height.sm}px` : void 0
|
|
55
60
|
};
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
...
|
|
61
|
+
if (height && height.md) {
|
|
62
|
+
heightByViewport = {
|
|
63
|
+
...heightByViewport,
|
|
59
64
|
...viewport.md({
|
|
60
|
-
height: `${
|
|
65
|
+
height: `${height.md}px`
|
|
61
66
|
})
|
|
62
67
|
};
|
|
63
68
|
}
|
|
64
|
-
if (
|
|
65
|
-
|
|
66
|
-
...
|
|
69
|
+
if (height && height.lg) {
|
|
70
|
+
heightByViewport = {
|
|
71
|
+
...heightByViewport,
|
|
67
72
|
...viewport.lg({
|
|
68
|
-
height: `${
|
|
73
|
+
height: `${height.lg}px`
|
|
69
74
|
})
|
|
70
75
|
};
|
|
71
76
|
}
|
|
72
|
-
return
|
|
77
|
+
return heightByViewport;
|
|
73
78
|
}, ({
|
|
74
|
-
roundedCorners
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
roundedCorners,
|
|
80
|
+
corners
|
|
81
|
+
}) => {
|
|
82
|
+
if (roundedCorners === void 0 && corners !== void 0) {
|
|
83
|
+
roundedCorners = corners === cornerRounded;
|
|
79
84
|
}
|
|
80
|
-
|
|
85
|
+
const isRounded = roundedCorners ?? false;
|
|
86
|
+
return {
|
|
87
|
+
borderRadius: isRounded ? getBorderRadius(borderRadiusMd) : getBorderRadius(borderRadiusNone),
|
|
88
|
+
"& > div > div": {
|
|
89
|
+
borderRadius: isRounded ? getBorderRadius(borderRadiusMd) : getBorderRadius(borderRadiusNone)
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
}, getBottomSpacing);
|
|
81
93
|
const defaultBasicMap = /* @__PURE__ */ jsx(Map, { defaultZoom: 18, defaultCenter: {
|
|
82
94
|
lat: 51.235587,
|
|
83
95
|
lng: 6.731483
|
|
@@ -2,6 +2,7 @@ import { Map } from '@vis.gl/react-google-maps';
|
|
|
2
2
|
import { HTMLAttributes, ReactElement } from 'react';
|
|
3
3
|
import { ConsentMessageProps } from '../ConsentMessage/props';
|
|
4
4
|
import { BrixComponentProps } from '../../foundations/BrixComponentProps';
|
|
5
|
+
import { CornerStyle } from '../../foundations/types/CornerStyle';
|
|
5
6
|
import { googleMapComponentName } from './componentName';
|
|
6
7
|
/**
|
|
7
8
|
* type ViewportSpecificHeight defines an object that can contain different height
|
|
@@ -32,11 +33,22 @@ export interface GoogleMapProps extends BrixComponentProps, Omit<HTMLAttributes<
|
|
|
32
33
|
* Responsive height configuration per viewport (values in pixels).
|
|
33
34
|
* Smaller viewport values cascade up unless overridden.
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
+
height?: ViewportHeight;
|
|
37
|
+
/**
|
|
38
|
+
* Responsive height configuration per viewport (values in pixels).
|
|
39
|
+
* Smaller viewport values cascade up unless overridden.
|
|
40
|
+
* @deprecated Use `height` instead.
|
|
41
|
+
*/
|
|
42
|
+
viewportHeight?: ViewportHeight;
|
|
36
43
|
/**
|
|
37
44
|
* When true, the map container has rounded corners. Defaults to false for sharp corners.
|
|
38
45
|
*/
|
|
39
46
|
roundedCorners?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Legacy corner style. Use `roundedCorners` instead.
|
|
49
|
+
* @deprecated Use `roundedCorners` instead.
|
|
50
|
+
*/
|
|
51
|
+
corners?: CornerStyle;
|
|
40
52
|
/**
|
|
41
53
|
* A `<Map>` component from `@vis.gl/react-google-maps`.
|
|
42
54
|
*/
|
|
@@ -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').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "color" | "content" | "layout" | "style" | "translate" | "key" | "component" | "uid" | "bottomSpacing" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "roundedCorners" | "consentSuccessText" | "viewportHeight" | "onMapReady"> & Omit<GoogleMapProps, "consentMessage" | "apiKey">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "color" | "content" | "layout" | "style" | "translate" | "key" | "component" | "uid" | "bottomSpacing" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "roundedCorners" | "consentSuccessText" | "viewportHeight" | "onMapReady"> & Omit<GoogleMapProps, "consentMessage" | "apiKey">, never>>> & string;
|
|
2
|
+
export declare const GoogleMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "color" | "content" | "layout" | "style" | "height" | "translate" | "key" | "component" | "uid" | "bottomSpacing" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "roundedCorners" | "consentSuccessText" | "viewportHeight" | "corners" | "onMapReady"> & Omit<GoogleMapProps, "consentMessage" | "apiKey">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "hidden" | "color" | "content" | "layout" | "style" | "height" | "translate" | "key" | "component" | "uid" | "bottomSpacing" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "roundedCorners" | "consentSuccessText" | "viewportHeight" | "corners" | "onMapReady"> & Omit<GoogleMapProps, "consentMessage" | "apiKey">, never>>> & string;
|
|
@@ -3,7 +3,7 @@ import { CmsProps } from '../../foundations/BrixComponentProps';
|
|
|
3
3
|
import { ValidationResult } from '../../utils/validation/Validation';
|
|
4
4
|
import { GoogleMapProps } from './props';
|
|
5
5
|
export type GoogleMapCmsProps = CmsProps<GoogleMapProps>;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const heightSchema: z.ZodObject<{
|
|
7
7
|
sm: z.ZodNumber;
|
|
8
8
|
md: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
lg: z.ZodOptional<z.ZodNumber>;
|
|
@@ -72,12 +72,21 @@ export declare const googleMapSchema: z.ZodObject<{
|
|
|
72
72
|
}, z.core.$strip>]>>>;
|
|
73
73
|
component: z.ZodLiteral<"GoogleMap">;
|
|
74
74
|
apiKey: z.ZodString;
|
|
75
|
-
|
|
75
|
+
height: z.ZodOptional<z.ZodObject<{
|
|
76
76
|
sm: z.ZodNumber;
|
|
77
77
|
md: z.ZodOptional<z.ZodNumber>;
|
|
78
78
|
lg: z.ZodOptional<z.ZodNumber>;
|
|
79
|
-
}, z.core.$strip
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
viewportHeight: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
sm: z.ZodNumber;
|
|
82
|
+
md: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
lg: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
}, z.core.$strip>>;
|
|
80
85
|
roundedCorners: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
corners: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
straight: "straight";
|
|
88
|
+
rounded: "rounded";
|
|
89
|
+
}>>;
|
|
81
90
|
consentMessage: z.ZodObject<{
|
|
82
91
|
button: z.ZodString;
|
|
83
92
|
layout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
|
-
import { a, G } from "../../index-
|
|
4
|
+
import { a, G } from "../../index-E0RMtc9X.js";
|
|
5
5
|
import "../../tags-BeNegJAK.js";
|
|
6
6
|
import "../../Spacing-Dj-qX3Z5.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-Dfbxuq_p.js";
|
|
8
8
|
import { g, a as a2, c } from "../../props-B4dAdfyc.js";
|
|
9
9
|
export {
|
|
10
10
|
a as GridContext,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "../../tags-BeNegJAK.js";
|
|
5
|
-
import { c, b } from "../../index-
|
|
6
|
-
import "../../styled-
|
|
5
|
+
import { c, b } from "../../index-E0RMtc9X.js";
|
|
6
|
+
import "../../styled-Dfbxuq_p.js";
|
|
7
7
|
import { b as b2 } from "../../props-B4dAdfyc.js";
|
|
8
8
|
export {
|
|
9
9
|
c as GridItemContext,
|
|
@@ -5,8 +5,8 @@ import { i as iconSizeSm } from "../../IconSize-Da9zhR76.js";
|
|
|
5
5
|
import { a as iconButtonShapeSquare, i as iconButtonShapeCircle } from "../../props-B_ZIEzzu.js";
|
|
6
6
|
import { b } from "../../props-B_ZIEzzu.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
|
-
import { g as getButtonAppearance, B as ButtonAppearanceColor } from "../../ButtonAppearanceHelper-
|
|
9
|
-
import { b as buttonHeight } from "../../styled-
|
|
8
|
+
import { g as getButtonAppearance, B as ButtonAppearanceColor } from "../../ButtonAppearanceHelper-3qIbHGWJ.js";
|
|
9
|
+
import { b as buttonHeight } from "../../styled-BJ9cE7xy.js";
|
|
10
10
|
import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
|
|
11
11
|
import { s as shadow28 } from "../../shadow-u158mzuN.js";
|
|
12
12
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
@@ -15,8 +15,8 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
15
15
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
16
16
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
17
17
|
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
18
|
-
import { b as borderRadiusMd, d as borderRadiusFull } from "../../BorderRadius-
|
|
19
|
-
import { c as borderWidthSelected } from "../../BorderWidth-
|
|
18
|
+
import { b as borderRadiusMd, d as borderRadiusFull } from "../../BorderRadius-0jhn76gB.js";
|
|
19
|
+
import { c as borderWidthSelected } from "../../BorderWidth-CwrNKc0Q.js";
|
|
20
20
|
import { p as primaryAppearance } from "../../ButtonAppearances-BEMZJMeh.js";
|
|
21
21
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
22
22
|
import { s as spacingMd, a as spacingXs } from "../../Spacing-Dj-qX3Z5.js";
|
|
@@ -71,6 +71,7 @@ export declare const iconButtonSchema: z.ZodObject<{
|
|
|
71
71
|
Filter: "Filter";
|
|
72
72
|
Grid: "Grid";
|
|
73
73
|
Notification: "Notification";
|
|
74
|
+
Video: "Video";
|
|
74
75
|
Focus: "Focus";
|
|
75
76
|
AbTest: "AbTest";
|
|
76
77
|
Above28: "Above28";
|
|
@@ -625,7 +626,6 @@ export declare const iconButtonSchema: z.ZodObject<{
|
|
|
625
626
|
VfHappyHelpful: "VfHappyHelpful";
|
|
626
627
|
VfHappy: "VfHappy";
|
|
627
628
|
VideoFrame: "VideoFrame";
|
|
628
|
-
Video: "Video";
|
|
629
629
|
Virtuoso: "Virtuoso";
|
|
630
630
|
VirusProtection: "VirusProtection";
|
|
631
631
|
VocSensor: "VocSensor";
|
|
@@ -70,6 +70,7 @@ export declare const iconLoaderSchema: z.ZodObject<{
|
|
|
70
70
|
Filter: "Filter";
|
|
71
71
|
Grid: "Grid";
|
|
72
72
|
Notification: "Notification";
|
|
73
|
+
Video: "Video";
|
|
73
74
|
Focus: "Focus";
|
|
74
75
|
AbTest: "AbTest";
|
|
75
76
|
Above28: "Above28";
|
|
@@ -624,7 +625,6 @@ export declare const iconLoaderSchema: z.ZodObject<{
|
|
|
624
625
|
VfHappyHelpful: "VfHappyHelpful";
|
|
625
626
|
VfHappy: "VfHappy";
|
|
626
627
|
VideoFrame: "VideoFrame";
|
|
627
|
-
Video: "Video";
|
|
628
628
|
Virtuoso: "Virtuoso";
|
|
629
629
|
VirusProtection: "VirusProtection";
|
|
630
630
|
VocSensor: "VocSensor";
|
|
@@ -9,8 +9,8 @@ import { a as iconSnippetAlignTop, d as iconSnippetOrientationHorizontal, h as i
|
|
|
9
9
|
import { i, b, c, e, f, g } from "../../props-BCMLpYc6.js";
|
|
10
10
|
import Link from "../Link/index.js";
|
|
11
11
|
import { l as linkComponentName } from "../../componentName-D74Io-Fs.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { a as RichTextContentful, R as RichText } from "../../index-BLp5wi_X.js";
|
|
13
|
+
import { r as richTextContentfulComponentName, a as richTextComponentName } from "../../props-B5OwQmNC.js";
|
|
14
14
|
import { d as divTagName } from "../../tags-BeNegJAK.js";
|
|
15
15
|
import { i as iconSizeSm } from "../../IconSize-Da9zhR76.js";
|
|
16
16
|
import { s as spacingMd, c as spacingSm, b as spacingNone, a as spacingXs } from "../../Spacing-Dj-qX3Z5.js";
|
|
@@ -71,29 +71,19 @@ const IconSnippetContentStyled = styled.div.withConfig({
|
|
|
71
71
|
alignItems: "vertical" === orientation ? "center" : "flex-start",
|
|
72
72
|
textAlign: "vertical" === orientation ? "center" : "left"
|
|
73
73
|
}));
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
if (richTextComponentName === content.component) {
|
|
83
|
-
return /* @__PURE__ */ jsx(RichText, { paragraphSpacing: spacingXs, ...content }, content.uid);
|
|
84
|
-
}
|
|
85
|
-
if (richTextContentfulComponentName === content.component) {
|
|
86
|
-
return /* @__PURE__ */ jsx(RichTextContentful, { paragraphSpacing: spacingXs, ...content }, content.uid);
|
|
87
|
-
}
|
|
88
|
-
if (inlineLinkComponentName === content.component) {
|
|
89
|
-
return /* @__PURE__ */ jsx(Body, { bottomSpacing: spacingXs, children: /* @__PURE__ */ jsx(InlineLink, { ...content, children: content.children }) }, content.uid);
|
|
90
|
-
}
|
|
91
|
-
if (linkComponentName === content.component || linkAsButtonComponentName === content.component) {
|
|
92
|
-
return /* @__PURE__ */ jsx(Link, { ...content, children: content.children }, content.uid);
|
|
93
|
-
}
|
|
94
|
-
return null;
|
|
95
|
-
});
|
|
74
|
+
const contentRenderers = {
|
|
75
|
+
[headingComponentName]: (content) => /* @__PURE__ */ jsx(Heading, { ...content, bottomSpacing: spacingXs, children: content.children }, content.uid),
|
|
76
|
+
[bodyComponentName]: (content) => /* @__PURE__ */ jsx(Body, { ...content, bottomSpacing: spacingXs, children: content.children }, content.uid),
|
|
77
|
+
[richTextComponentName]: (content) => /* @__PURE__ */ jsx(RichText, { paragraphSpacing: spacingXs, ...content }, content.uid),
|
|
78
|
+
[richTextContentfulComponentName]: (content) => /* @__PURE__ */ jsx(RichTextContentful, { paragraphSpacing: spacingXs, ...content }, content.uid),
|
|
79
|
+
[inlineLinkComponentName]: (content) => /* @__PURE__ */ jsx(Body, { bottomSpacing: spacingXs, children: /* @__PURE__ */ jsx(InlineLink, { ...content, children: content.children }) }, content.uid),
|
|
80
|
+
[linkComponentName]: (content) => /* @__PURE__ */ jsx(Link, { ...content, children: content.children }, content.uid)
|
|
96
81
|
};
|
|
82
|
+
contentRenderers[linkAsButtonComponentName] = (content) => /* @__PURE__ */ jsx(Link, { ...content, children: content.children }, content.uid);
|
|
83
|
+
const getContents = (contents) => contents.map((content) => {
|
|
84
|
+
const renderer = contentRenderers[content.component ?? ""];
|
|
85
|
+
return renderer ? renderer(content) : null;
|
|
86
|
+
});
|
|
97
87
|
const IconSnippet = ({
|
|
98
88
|
contents,
|
|
99
89
|
iconSize = iconSizeSm,
|