@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
|
@@ -627,6 +627,7 @@ export declare const legendContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
627
627
|
Filter: "Filter";
|
|
628
628
|
Grid: "Grid";
|
|
629
629
|
Notification: "Notification";
|
|
630
|
+
Video: "Video";
|
|
630
631
|
Focus: "Focus";
|
|
631
632
|
AbTest: "AbTest";
|
|
632
633
|
Above28: "Above28";
|
|
@@ -1181,7 +1182,6 @@ export declare const legendContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1181
1182
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1182
1183
|
VfHappy: "VfHappy";
|
|
1183
1184
|
VideoFrame: "VideoFrame";
|
|
1184
|
-
Video: "Video";
|
|
1185
1185
|
Virtuoso: "Virtuoso";
|
|
1186
1186
|
VirusProtection: "VirusProtection";
|
|
1187
1187
|
VocSensor: "VocSensor";
|
|
@@ -1235,6 +1235,7 @@ export declare const legendContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1235
1235
|
Filter: "Filter";
|
|
1236
1236
|
Grid: "Grid";
|
|
1237
1237
|
Notification: "Notification";
|
|
1238
|
+
Video: "Video";
|
|
1238
1239
|
Focus: "Focus";
|
|
1239
1240
|
AbTest: "AbTest";
|
|
1240
1241
|
Above28: "Above28";
|
|
@@ -1789,7 +1790,6 @@ export declare const legendContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1789
1790
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1790
1791
|
VfHappy: "VfHappy";
|
|
1791
1792
|
VideoFrame: "VideoFrame";
|
|
1792
|
-
Video: "Video";
|
|
1793
1793
|
Virtuoso: "Virtuoso";
|
|
1794
1794
|
VirusProtection: "VirusProtection";
|
|
1795
1795
|
VocSensor: "VocSensor";
|
|
@@ -1896,6 +1896,7 @@ export declare const legendContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1896
1896
|
Filter: "Filter";
|
|
1897
1897
|
Grid: "Grid";
|
|
1898
1898
|
Notification: "Notification";
|
|
1899
|
+
Video: "Video";
|
|
1899
1900
|
Focus: "Focus";
|
|
1900
1901
|
AbTest: "AbTest";
|
|
1901
1902
|
Above28: "Above28";
|
|
@@ -2450,7 +2451,6 @@ export declare const legendContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2450
2451
|
VfHappyHelpful: "VfHappyHelpful";
|
|
2451
2452
|
VfHappy: "VfHappy";
|
|
2452
2453
|
VideoFrame: "VideoFrame";
|
|
2453
|
-
Video: "Video";
|
|
2454
2454
|
Virtuoso: "Virtuoso";
|
|
2455
2455
|
VirusProtection: "VirusProtection";
|
|
2456
2456
|
VocSensor: "VocSensor";
|
|
@@ -3292,6 +3292,7 @@ export declare const legendSchema: z.ZodObject<{
|
|
|
3292
3292
|
Filter: "Filter";
|
|
3293
3293
|
Grid: "Grid";
|
|
3294
3294
|
Notification: "Notification";
|
|
3295
|
+
Video: "Video";
|
|
3295
3296
|
Focus: "Focus";
|
|
3296
3297
|
AbTest: "AbTest";
|
|
3297
3298
|
Above28: "Above28";
|
|
@@ -3846,7 +3847,6 @@ export declare const legendSchema: z.ZodObject<{
|
|
|
3846
3847
|
VfHappyHelpful: "VfHappyHelpful";
|
|
3847
3848
|
VfHappy: "VfHappy";
|
|
3848
3849
|
VideoFrame: "VideoFrame";
|
|
3849
|
-
Video: "Video";
|
|
3850
3850
|
Virtuoso: "Virtuoso";
|
|
3851
3851
|
VirusProtection: "VirusProtection";
|
|
3852
3852
|
VocSensor: "VocSensor";
|
|
@@ -3900,6 +3900,7 @@ export declare const legendSchema: z.ZodObject<{
|
|
|
3900
3900
|
Filter: "Filter";
|
|
3901
3901
|
Grid: "Grid";
|
|
3902
3902
|
Notification: "Notification";
|
|
3903
|
+
Video: "Video";
|
|
3903
3904
|
Focus: "Focus";
|
|
3904
3905
|
AbTest: "AbTest";
|
|
3905
3906
|
Above28: "Above28";
|
|
@@ -4454,7 +4455,6 @@ export declare const legendSchema: z.ZodObject<{
|
|
|
4454
4455
|
VfHappyHelpful: "VfHappyHelpful";
|
|
4455
4456
|
VfHappy: "VfHappy";
|
|
4456
4457
|
VideoFrame: "VideoFrame";
|
|
4457
|
-
Video: "Video";
|
|
4458
4458
|
Virtuoso: "Virtuoso";
|
|
4459
4459
|
VirusProtection: "VirusProtection";
|
|
4460
4460
|
VocSensor: "VocSensor";
|
|
@@ -4561,6 +4561,7 @@ export declare const legendSchema: z.ZodObject<{
|
|
|
4561
4561
|
Filter: "Filter";
|
|
4562
4562
|
Grid: "Grid";
|
|
4563
4563
|
Notification: "Notification";
|
|
4564
|
+
Video: "Video";
|
|
4564
4565
|
Focus: "Focus";
|
|
4565
4566
|
AbTest: "AbTest";
|
|
4566
4567
|
Above28: "Above28";
|
|
@@ -5115,7 +5116,6 @@ export declare const legendSchema: z.ZodObject<{
|
|
|
5115
5116
|
VfHappyHelpful: "VfHappyHelpful";
|
|
5116
5117
|
VfHappy: "VfHappy";
|
|
5117
5118
|
VideoFrame: "VideoFrame";
|
|
5118
|
-
Video: "Video";
|
|
5119
5119
|
Virtuoso: "Virtuoso";
|
|
5120
5120
|
VirusProtection: "VirusProtection";
|
|
5121
5121
|
VocSensor: "VocSensor";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { L as LinkAsButton, a as LinkStyled, g as getLinkIcon } from "../../index-
|
|
3
|
+
import { L as LinkAsButton, a as LinkStyled, g as getLinkIcon } from "../../index-CW-UuGll.js";
|
|
4
4
|
import { p as primaryAppearance } from "../../Appearance-CIB-YW3f.js";
|
|
5
5
|
import { useLinkComponent } from "../../hooks/useLinkComponent/index.js";
|
|
6
6
|
import { s as sanitizeLinkProps } from "../../sanitizeLinkProps-D2Kkovy1.js";
|
|
@@ -72,6 +72,7 @@ export declare const linkSchema: z.ZodObject<{
|
|
|
72
72
|
Filter: "Filter";
|
|
73
73
|
Grid: "Grid";
|
|
74
74
|
Notification: "Notification";
|
|
75
|
+
Video: "Video";
|
|
75
76
|
Focus: "Focus";
|
|
76
77
|
AbTest: "AbTest";
|
|
77
78
|
Above28: "Above28";
|
|
@@ -626,7 +627,6 @@ export declare const linkSchema: z.ZodObject<{
|
|
|
626
627
|
VfHappyHelpful: "VfHappyHelpful";
|
|
627
628
|
VfHappy: "VfHappy";
|
|
628
629
|
VideoFrame: "VideoFrame";
|
|
629
|
-
Video: "Video";
|
|
630
630
|
Virtuoso: "Virtuoso";
|
|
631
631
|
VirusProtection: "VirusProtection";
|
|
632
632
|
VocSensor: "VocSensor";
|
|
@@ -17,6 +17,7 @@ export declare const linkAsButtonSchema: z.ZodObject<{
|
|
|
17
17
|
Filter: "Filter";
|
|
18
18
|
Grid: "Grid";
|
|
19
19
|
Notification: "Notification";
|
|
20
|
+
Video: "Video";
|
|
20
21
|
Focus: "Focus";
|
|
21
22
|
AbTest: "AbTest";
|
|
22
23
|
Above28: "Above28";
|
|
@@ -571,7 +572,6 @@ export declare const linkAsButtonSchema: z.ZodObject<{
|
|
|
571
572
|
VfHappyHelpful: "VfHappyHelpful";
|
|
572
573
|
VfHappy: "VfHappy";
|
|
573
574
|
VideoFrame: "VideoFrame";
|
|
574
|
-
Video: "Video";
|
|
575
575
|
Virtuoso: "Virtuoso";
|
|
576
576
|
VirusProtection: "VirusProtection";
|
|
577
577
|
VocSensor: "VocSensor";
|
|
@@ -1,23 +1,43 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import LinkListItem from "
|
|
3
|
+
import { a as LinkListItemStyled, L as LinkListItem } from "../../index-xzvddlgp.js";
|
|
4
4
|
import { u as ulTagName, l as liTagName } from "../../tags-BeNegJAK.js";
|
|
5
5
|
import { s as spacingMd, b as spacingNone } from "../../Spacing-Dj-qX3Z5.js";
|
|
6
6
|
import { l as linkListVariantColumn, a as linkListVariantRow } from "../../props-DSy1T2sH.js";
|
|
7
7
|
import { b } from "../../props-DSy1T2sH.js";
|
|
8
8
|
import styled from "styled-components";
|
|
9
|
-
import {
|
|
9
|
+
import { b as GridItem, G as Grid } from "../../index-E0RMtc9X.js";
|
|
10
10
|
import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
|
|
11
11
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
12
12
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
13
13
|
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
14
14
|
import { b as linkListItemVariantVertical, a as linkListItemVariantHorizontal } from "../../props-KyOo_gFu.js";
|
|
15
|
+
const LinkListLiStyled = styled(GridItem).withConfig({
|
|
16
|
+
displayName: "LinkListLiStyled",
|
|
17
|
+
componentId: "sc-15vheq9-0"
|
|
18
|
+
})(({
|
|
19
|
+
variant
|
|
20
|
+
}) => {
|
|
21
|
+
return {
|
|
22
|
+
width: variant === linkListVariantColumn ? "100%" : "auto"
|
|
23
|
+
};
|
|
24
|
+
});
|
|
15
25
|
const LinkListStyled = styled(Grid).withConfig({
|
|
16
26
|
displayName: "LinkListStyled",
|
|
17
|
-
componentId: "sc-15vheq9-
|
|
27
|
+
componentId: "sc-15vheq9-1"
|
|
18
28
|
})({
|
|
19
29
|
display: "flex",
|
|
20
30
|
flexWrap: "wrap"
|
|
31
|
+
}, ({
|
|
32
|
+
variant,
|
|
33
|
+
elevation
|
|
34
|
+
}) => variant === linkListVariantColumn && !elevation && {
|
|
35
|
+
[`${LinkListLiStyled.toString()} ${LinkListItemStyled.toString()}`]: {
|
|
36
|
+
borderTop: "none"
|
|
37
|
+
},
|
|
38
|
+
[`${LinkListLiStyled.toString()}:last-child ${LinkListItemStyled.toString()}`]: {
|
|
39
|
+
borderBottom: "none"
|
|
40
|
+
}
|
|
21
41
|
}, ({
|
|
22
42
|
bottomSpacing = spacingMd
|
|
23
43
|
}) => getBottomSpacing({
|
|
@@ -36,16 +56,6 @@ const LinkListStyled = styled(Grid).withConfig({
|
|
|
36
56
|
}, ({
|
|
37
57
|
layout
|
|
38
58
|
}) => layout && translateLayoutPropsToCss(layout));
|
|
39
|
-
const LinkListLiStyled = styled(GridItem).withConfig({
|
|
40
|
-
displayName: "LinkListLiStyled",
|
|
41
|
-
componentId: "sc-15vheq9-1"
|
|
42
|
-
})(({
|
|
43
|
-
variant
|
|
44
|
-
}) => {
|
|
45
|
-
return {
|
|
46
|
-
width: variant === linkListVariantColumn ? "100%" : "auto"
|
|
47
|
-
};
|
|
48
|
-
});
|
|
49
59
|
const LinkList = ({
|
|
50
60
|
items,
|
|
51
61
|
variant = linkListVariantRow,
|
|
@@ -57,8 +67,8 @@ const LinkList = ({
|
|
|
57
67
|
},
|
|
58
68
|
...props
|
|
59
69
|
}) => {
|
|
60
|
-
return /* @__PURE__ */ jsx("nav", { "aria-label": props["aria-label"], "aria-labelledby": props["aria-labelledby"], children: /* @__PURE__ */ jsx(LinkListStyled, { bottomSpacing: props.bottomSpacing, variant, tag: ulTagName, autoLayout: gridConfig, elevation, stretch: true, layout: props.layout, children: items.map((item
|
|
61
|
-
return /* @__PURE__ */ jsx(LinkListLiStyled, { tag: liTagName, variant, children: /* @__PURE__ */ jsx(LinkListItem, { ...item, orientation: variant === linkListVariantRow ? linkListItemVariantVertical : linkListItemVariantHorizontal, elevation, bottomSpacing: spacingNone
|
|
70
|
+
return /* @__PURE__ */ jsx("nav", { "aria-label": props["aria-label"], "aria-labelledby": props["aria-labelledby"], children: /* @__PURE__ */ jsx(LinkListStyled, { bottomSpacing: props.bottomSpacing, variant, tag: ulTagName, autoLayout: gridConfig, elevation, stretch: true, layout: props.layout, children: items.map((item) => {
|
|
71
|
+
return /* @__PURE__ */ jsx(LinkListLiStyled, { tag: liTagName, variant, children: /* @__PURE__ */ jsx(LinkListItem, { ...item, orientation: variant === linkListVariantRow ? linkListItemVariantVertical : linkListItemVariantHorizontal, elevation, bottomSpacing: spacingNone }) }, item.uid);
|
|
62
72
|
}) }) });
|
|
63
73
|
};
|
|
64
74
|
export {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LinkListProps } from './props';
|
|
2
|
-
export declare const LinkListStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('../Grid').GridProps, "bottomSpacing" | "elevation" | "variant"> & Pick<LinkListProps, "bottomSpacing" | "elevation" | "variant">, never> & Partial<Pick<import('styled-components').FastOmit<import('../Grid').GridProps, "bottomSpacing" | "elevation" | "variant"> & Pick<LinkListProps, "bottomSpacing" | "elevation" | "variant">, never>>> & string & Omit<({ tag, gap, autoLayout, ...props }: import('../Grid').GridProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
3
2
|
export declare const LinkListLiStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('../GridItem').GridItemProps, "variant"> & Pick<LinkListProps, "variant">, never> & Partial<Pick<import('styled-components').FastOmit<import('../GridItem').GridItemProps, "variant"> & Pick<LinkListProps, "variant">, never>>> & string & Omit<({ sm, tag, ...props }: import('../GridItem').GridItemProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
3
|
+
export declare const LinkListStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('../Grid').GridProps, "bottomSpacing" | "elevation" | "variant"> & Pick<LinkListProps, "bottomSpacing" | "elevation" | "variant">, never> & Partial<Pick<import('styled-components').FastOmit<import('../Grid').GridProps, "bottomSpacing" | "elevation" | "variant"> & Pick<LinkListProps, "bottomSpacing" | "elevation" | "variant">, never>>> & string & Omit<({ tag, gap, autoLayout, ...props }: import('../Grid').GridProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
@@ -1,346 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { a
|
|
13
|
-
import {
|
|
14
|
-
import styled from "styled-components";
|
|
15
|
-
import Body from "../Body/index.js";
|
|
16
|
-
import Card from "../Card/index.js";
|
|
17
|
-
import Icon from "../Icon/index.js";
|
|
18
|
-
import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
|
|
19
|
-
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
20
|
-
import { e as ease_in_sine } from "../../easing-Dm-pO8SY.js";
|
|
21
|
-
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
22
|
-
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
23
|
-
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
24
|
-
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
25
|
-
import { getHeadingSize } from "../../foundations/token/getHeadingSize/index.js";
|
|
26
|
-
import { getHoverColor } from "../../foundations/token/getHoverColor/index.js";
|
|
27
|
-
import { getIconColor } from "../../foundations/token/getIconColor/index.js";
|
|
28
|
-
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
29
|
-
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
30
|
-
import { c as colorBorderFocus, f as colorBorderSubtle } from "../../BorderColor-BACbvI20.js";
|
|
31
|
-
import { b as borderRadiusMd, c as borderRadiusNone } from "../../BorderRadius-Co-IV3fn.js";
|
|
32
|
-
import { a as borderWidthFocus, d as borderWidthSm } from "../../BorderWidth-OZWeXaq_.js";
|
|
33
|
-
import { t as textHeadingXs } from "../../HeadingSize-O__w72MO.js";
|
|
34
|
-
import { b as colorIconBrand } from "../../IconColor-CtC9WUgr.js";
|
|
35
|
-
import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
|
|
36
|
-
import { C as CardAppearanceColor } from "../../props-DDJfToj8.js";
|
|
37
|
-
const focusStyles = {
|
|
38
|
-
...forcedColors({
|
|
39
|
-
outline: `${getBorderWidth(borderWidthFocus)} solid CanvasText`
|
|
40
|
-
}),
|
|
41
|
-
boxShadow: `${getBorderColor(colorBorderFocus)} 0px 0px 0px ${getBorderWidth(borderWidthFocus)}`,
|
|
42
|
-
outline: "none"
|
|
43
|
-
};
|
|
44
|
-
const hoverBackgroundColor = getHoverColor(CardAppearanceColor["primary"]);
|
|
45
|
-
const hoverStylesChangingBackground = {
|
|
46
|
-
transitionProperty: "background, color, box-shadow",
|
|
47
|
-
transitionDuration: "0.2s",
|
|
48
|
-
transitionTimingFunction: ease_in_sine,
|
|
49
|
-
"&:hover, &:focus-visible": {
|
|
50
|
-
background: hoverBackgroundColor
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
const LinkListItemButtonStyled = styled.button.withConfig({
|
|
54
|
-
shouldForwardProp,
|
|
55
|
-
displayName: "LinkListItemButtonStyled",
|
|
56
|
-
componentId: "sc-1dmfu9f-0"
|
|
57
|
-
})({
|
|
58
|
-
width: "100%",
|
|
59
|
-
height: "100%",
|
|
60
|
-
background: "none",
|
|
61
|
-
border: "none",
|
|
62
|
-
cursor: "pointer",
|
|
63
|
-
color: getTextColor(colorTextNeutral),
|
|
64
|
-
borderRadius: getBorderRadius(borderRadiusMd),
|
|
65
|
-
"&:focus-visible": focusStyles,
|
|
66
|
-
...forcedColors({
|
|
67
|
-
border: `${getBorderWidth(borderWidthSm)} solid ButtonBorder`,
|
|
68
|
-
background: "ButtonFace",
|
|
69
|
-
color: "ButtonText"
|
|
70
|
-
})
|
|
71
|
-
}, ({
|
|
72
|
-
elevation = true,
|
|
73
|
-
orientation
|
|
74
|
-
}) => {
|
|
75
|
-
if (!elevation && orientation === linkListItemVariantHorizontal) {
|
|
76
|
-
return {
|
|
77
|
-
borderRadius: getBorderRadius(borderRadiusNone),
|
|
78
|
-
transitionProperty: "color",
|
|
79
|
-
transitionDuration: "0.2s",
|
|
80
|
-
transitionTimingFunction: ease_in_sine,
|
|
81
|
-
"&:hover, &:focus-visible": {
|
|
82
|
-
color: getTextColor(colorTextBrand)
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
const buttonParent = `${LinkListItemButtonStyled.toString()} &`;
|
|
88
|
-
const LinkListItemAnchorStyled = styled.span.withConfig({
|
|
89
|
-
shouldForwardProp: shouldForwardPropExcluding(["href"]),
|
|
90
|
-
displayName: "LinkListItemAnchorStyled",
|
|
91
|
-
componentId: "sc-1dmfu9f-1"
|
|
92
|
-
})({
|
|
93
|
-
height: "100%",
|
|
94
|
-
"& > a": {
|
|
95
|
-
textDecoration: "none",
|
|
96
|
-
display: "block",
|
|
97
|
-
height: "100%",
|
|
98
|
-
color: getTextColor(colorTextNeutral),
|
|
99
|
-
"&:focus-visible": focusStyles,
|
|
100
|
-
"&:hover, &:focus": {
|
|
101
|
-
textDecoration: "none"
|
|
102
|
-
},
|
|
103
|
-
"&:visited": {
|
|
104
|
-
color: getTextColor(colorTextNeutral)
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}, ({
|
|
108
|
-
layout
|
|
109
|
-
}) => layout && translateLayoutPropsToCss(layout), ({
|
|
110
|
-
elevation = true,
|
|
111
|
-
orientation
|
|
112
|
-
}) => {
|
|
113
|
-
if (!elevation && orientation === linkListItemVariantHorizontal) {
|
|
114
|
-
return {
|
|
115
|
-
"& > a": {
|
|
116
|
-
borderRadius: getBorderRadius(borderRadiusNone),
|
|
117
|
-
transitionProperty: "color",
|
|
118
|
-
transitionDuration: "0.2s",
|
|
119
|
-
transitionTimingFunction: ease_in_sine,
|
|
120
|
-
"&:hover, &:focus-visible": {
|
|
121
|
-
color: getTextColor(colorTextBrand)
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
return {
|
|
127
|
-
"& > a": {
|
|
128
|
-
borderRadius: getBorderRadius(borderRadiusMd)
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
});
|
|
132
|
-
const parentHasFocusSelector = `${LinkListItemAnchorStyled.toString()}:focus-within &, ${LinkListItemButtonStyled.toString()}:focus-within &`;
|
|
133
|
-
const LinkListItemStyled = styled.span.withConfig({
|
|
134
|
-
shouldForwardProp,
|
|
135
|
-
displayName: "LinkListItemStyled",
|
|
136
|
-
componentId: "sc-1dmfu9f-2"
|
|
137
|
-
})({
|
|
138
|
-
display: "block",
|
|
139
|
-
height: "100%",
|
|
140
|
-
padding: `${getSpacing(spacingMd)} 0`
|
|
141
|
-
}, ({
|
|
142
|
-
orientation,
|
|
143
|
-
isLastItemInList = false
|
|
144
|
-
}) => {
|
|
145
|
-
if (orientation === linkListItemVariantVertical) {
|
|
146
|
-
return {
|
|
147
|
-
...hoverStylesChangingBackground,
|
|
148
|
-
borderRadius: getBorderRadius(borderRadiusMd),
|
|
149
|
-
border: `${getBorderWidth(borderWidthSm)} solid ${getBorderColor(colorBorderSubtle)}`,
|
|
150
|
-
padding: getSpacing(spacingMd),
|
|
151
|
-
[parentHasFocusSelector]: {
|
|
152
|
-
background: hoverBackgroundColor
|
|
153
|
-
},
|
|
154
|
-
...forcedColors({
|
|
155
|
-
border: `${getBorderWidth(borderWidthSm)} solid CanvasText`,
|
|
156
|
-
[buttonParent]: {
|
|
157
|
-
border: `${getBorderWidth(borderWidthSm)} solid ButtonBorder`
|
|
158
|
-
},
|
|
159
|
-
"&:hover, &:focus-visible": {
|
|
160
|
-
background: "inherit"
|
|
161
|
-
},
|
|
162
|
-
[parentHasFocusSelector]: {
|
|
163
|
-
background: "inherit"
|
|
164
|
-
}
|
|
165
|
-
})
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
if (!isLastItemInList) {
|
|
169
|
-
return {
|
|
170
|
-
borderBottom: `${getBorderWidth(borderWidthSm)} solid ${getBorderColor(colorBorderSubtle)}`,
|
|
171
|
-
...forcedColors({
|
|
172
|
-
borderBottom: `${getBorderWidth(borderWidthSm)} solid CanvasText}`
|
|
173
|
-
}),
|
|
174
|
-
...forcedColors({
|
|
175
|
-
[buttonParent]: {
|
|
176
|
-
borderBottom: "none"
|
|
177
|
-
}
|
|
178
|
-
})
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
}, ({
|
|
182
|
-
bottomSpacing = spacingMd
|
|
183
|
-
}) => getBottomSpacing({
|
|
184
|
-
bottomSpacing
|
|
185
|
-
}));
|
|
186
|
-
const LinkListItemElevatedStyled = styled(Card).withConfig({
|
|
187
|
-
displayName: "LinkListItemElevatedStyled",
|
|
188
|
-
componentId: "sc-1dmfu9f-3"
|
|
189
|
-
})({
|
|
190
|
-
...hoverStylesChangingBackground,
|
|
191
|
-
...forcedColors({
|
|
192
|
-
[buttonParent]: {
|
|
193
|
-
border: `${getBorderWidth(borderWidthSm)} solid ButtonBorder`,
|
|
194
|
-
background: "ButtonFace",
|
|
195
|
-
color: "ButtonText"
|
|
196
|
-
}
|
|
197
|
-
}),
|
|
198
|
-
height: "100%"
|
|
199
|
-
}, () => {
|
|
200
|
-
return {
|
|
201
|
-
[parentHasFocusSelector]: {
|
|
202
|
-
background: hoverBackgroundColor
|
|
203
|
-
},
|
|
204
|
-
...forcedColors({
|
|
205
|
-
[parentHasFocusSelector]: {
|
|
206
|
-
background: "inherit"
|
|
207
|
-
}
|
|
208
|
-
})
|
|
209
|
-
};
|
|
210
|
-
});
|
|
211
|
-
const LinkListItemContentWrapperStyled = styled.span.withConfig({
|
|
212
|
-
shouldForwardProp,
|
|
213
|
-
displayName: "LinkListItemContentWrapperStyled",
|
|
214
|
-
componentId: "sc-1dmfu9f-4"
|
|
215
|
-
})({
|
|
216
|
-
display: "flex"
|
|
217
|
-
}, ({
|
|
218
|
-
orientation = linkListItemVariantHorizontal
|
|
219
|
-
}) => {
|
|
220
|
-
return {
|
|
221
|
-
alignItems: orientation === linkListItemVariantVertical ? "flex-start" : "center",
|
|
222
|
-
flexDirection: orientation === linkListItemVariantVertical ? "column" : "row",
|
|
223
|
-
gap: orientation === linkListItemVariantVertical ? getSpacing(spacingXs) : getSpacing(spacingNone)
|
|
224
|
-
};
|
|
225
|
-
});
|
|
226
|
-
const LinkListItemContentStyled = styled.span.withConfig({
|
|
227
|
-
shouldForwardProp,
|
|
228
|
-
displayName: "LinkListItemContentStyled",
|
|
229
|
-
componentId: "sc-1dmfu9f-5"
|
|
230
|
-
})({
|
|
231
|
-
flexGrow: 1,
|
|
232
|
-
display: "flex",
|
|
233
|
-
gap: getSpacing(spacingXs),
|
|
234
|
-
flexDirection: "row",
|
|
235
|
-
width: "100%",
|
|
236
|
-
"& > *": {
|
|
237
|
-
flexShrink: 0
|
|
238
|
-
}
|
|
239
|
-
}, ({
|
|
240
|
-
orientation = linkListItemVariantHorizontal
|
|
241
|
-
}) => {
|
|
242
|
-
return {
|
|
243
|
-
alignItems: orientation === linkListItemVariantVertical ? "flex-start" : "center",
|
|
244
|
-
paddingRight: orientation === linkListItemVariantVertical ? getSpacing(spacingNone) : getSpacing(spacingXs)
|
|
245
|
-
};
|
|
246
|
-
});
|
|
247
|
-
const LinkListItemVerticalContentStyled = styled.span.withConfig({
|
|
248
|
-
displayName: "LinkListItemVerticalContentStyled",
|
|
249
|
-
componentId: "sc-1dmfu9f-6"
|
|
250
|
-
})({
|
|
251
|
-
flexGrow: 1,
|
|
252
|
-
gap: getSpacing(spacingXs),
|
|
253
|
-
display: "flex",
|
|
254
|
-
flexDirection: "column",
|
|
255
|
-
flexShrink: 1,
|
|
256
|
-
minWidth: 0
|
|
257
|
-
});
|
|
258
|
-
const LinkListItemLabelWrapperStyled = styled.span.withConfig({
|
|
259
|
-
shouldForwardProp,
|
|
260
|
-
displayName: "LinkListItemLabelWrapperStyled",
|
|
261
|
-
componentId: "sc-1dmfu9f-7"
|
|
262
|
-
})({
|
|
263
|
-
display: "flex",
|
|
264
|
-
flexDirection: "column",
|
|
265
|
-
flexGrow: 1,
|
|
266
|
-
alignItems: "flex-start",
|
|
267
|
-
flexShrink: 1
|
|
268
|
-
});
|
|
269
|
-
const LinkListLabelStyled = styled.span.withConfig({
|
|
270
|
-
shouldForwardProp,
|
|
271
|
-
displayName: "LinkListLabelStyled",
|
|
272
|
-
componentId: "sc-1dmfu9f-8"
|
|
273
|
-
})(getHeadingSize(textHeadingXs), {
|
|
274
|
-
textAlign: "left",
|
|
275
|
-
overflowWrap: "break-word",
|
|
276
|
-
hyphens: "auto",
|
|
277
|
-
maxWidth: "100%"
|
|
278
|
-
});
|
|
279
|
-
const LinkListSuffixStyled = styled(Body).withConfig({
|
|
280
|
-
displayName: "LinkListSuffixStyled",
|
|
281
|
-
componentId: "sc-1dmfu9f-9"
|
|
282
|
-
})({
|
|
283
|
-
color: "inherit"
|
|
284
|
-
});
|
|
285
|
-
const LinkListItemChevronStyled = styled(Icon).withConfig({
|
|
286
|
-
displayName: "LinkListItemChevronStyled",
|
|
287
|
-
componentId: "sc-1dmfu9f-10"
|
|
288
|
-
})({
|
|
289
|
-
flexGrow: 0,
|
|
290
|
-
flexShrink: 0,
|
|
291
|
-
color: getIconColor(colorIconBrand)
|
|
292
|
-
});
|
|
293
|
-
const isLinkListItemAsButtonProp = (props) => {
|
|
294
|
-
return props.href === void 0;
|
|
295
|
-
};
|
|
296
|
-
const LinkListItem = (props) => {
|
|
297
|
-
const {
|
|
298
|
-
icon,
|
|
299
|
-
label,
|
|
300
|
-
suffix,
|
|
301
|
-
badge,
|
|
302
|
-
orientation,
|
|
303
|
-
elevation,
|
|
304
|
-
isLastItemInList
|
|
305
|
-
} = props;
|
|
306
|
-
const LinkListIcon = icon ? /* @__PURE__ */ jsx(IconLoader, { name: icon, size: iconSizeMd }) : void 0;
|
|
307
|
-
const LinkListLabel = /* @__PURE__ */ jsx(LinkListLabelStyled, { children: label });
|
|
308
|
-
const LinkListSuffix = suffix ? /* @__PURE__ */ jsx(LinkListSuffixStyled, { tag: spanTagName, bottomSpacing: spacingNone, children: suffix }) : void 0;
|
|
309
|
-
const LinkListBadge = badge ? /* @__PURE__ */ jsx(Badge, { ...badge, size: smallSize, bottomSpacing: spacingNone }) : void 0;
|
|
310
|
-
const LinkListChevron = /* @__PURE__ */ jsx(LinkListItemChevronStyled, { name: "ChevronRight", size: iconSizeMd });
|
|
311
|
-
const Content = /* @__PURE__ */ jsx(LinkListItemContentWrapperStyled, { orientation, children: orientation === linkListItemVariantHorizontal ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
312
|
-
/* @__PURE__ */ jsxs(LinkListItemContentStyled, { orientation, children: [
|
|
313
|
-
LinkListIcon,
|
|
314
|
-
/* @__PURE__ */ jsxs(LinkListItemLabelWrapperStyled, { children: [
|
|
315
|
-
LinkListLabel,
|
|
316
|
-
LinkListSuffix
|
|
317
|
-
] }),
|
|
318
|
-
LinkListBadge
|
|
319
|
-
] }),
|
|
320
|
-
LinkListChevron
|
|
321
|
-
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
322
|
-
/* @__PURE__ */ jsxs(LinkListItemContentStyled, { orientation, children: [
|
|
323
|
-
/* @__PURE__ */ jsxs(LinkListItemVerticalContentStyled, { children: [
|
|
324
|
-
LinkListIcon,
|
|
325
|
-
/* @__PURE__ */ jsxs(LinkListItemLabelWrapperStyled, { children: [
|
|
326
|
-
LinkListLabel,
|
|
327
|
-
LinkListSuffix
|
|
328
|
-
] })
|
|
329
|
-
] }),
|
|
330
|
-
LinkListChevron
|
|
331
|
-
] }),
|
|
332
|
-
LinkListBadge
|
|
333
|
-
] }) });
|
|
334
|
-
const Item = elevation ? /* @__PURE__ */ jsx(LinkListItemElevatedStyled, { tag: "span", children: Content }) : /* @__PURE__ */ jsx(LinkListItemStyled, { orientation, bottomSpacing: props.bottomSpacing, isLastItemInList, children: Content });
|
|
335
|
-
if (isLinkListItemAsButtonProp(props)) {
|
|
336
|
-
return /* @__PURE__ */ jsx(LinkListItemButtonStyled, { ...props, children: Item });
|
|
337
|
-
}
|
|
338
|
-
const LinkComponent = useLinkComponent();
|
|
339
|
-
return /* @__PURE__ */ jsx(LinkListItemAnchorStyled, { elevation, orientation, layout: props.layout, children: /* @__PURE__ */ jsx(LinkComponent, { ...sanitizeLinkProps(pickDomProps(props)), children: Item }) });
|
|
340
|
-
};
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "../../index-h88pZ6zH.js";
|
|
4
|
+
import "../IconLoader/index.js";
|
|
5
|
+
import "../../tags-BeNegJAK.js";
|
|
6
|
+
import "../../IconSize-Da9zhR76.js";
|
|
7
|
+
import "../../SizeTypes-Ck_RdzIf.js";
|
|
8
|
+
import "../../Spacing-Dj-qX3Z5.js";
|
|
9
|
+
import "../../hooks/useLinkComponent/index.js";
|
|
10
|
+
import "../../sanitizeLinkProps-D2Kkovy1.js";
|
|
11
|
+
import "../../shouldForwardProp-CONMmlMa.js";
|
|
12
|
+
import { l, a, b } from "../../props-KyOo_gFu.js";
|
|
13
|
+
import { L } from "../../index-xzvddlgp.js";
|
|
341
14
|
export {
|
|
342
|
-
|
|
15
|
+
L as default,
|
|
343
16
|
l as linkListItemOrientations,
|
|
344
|
-
linkListItemVariantHorizontal,
|
|
345
|
-
linkListItemVariantVertical
|
|
17
|
+
a as linkListItemVariantHorizontal,
|
|
18
|
+
b as linkListItemVariantVertical
|
|
346
19
|
};
|
|
@@ -34,10 +34,6 @@ export interface LinkListItemSharedProps extends BrixComponentProps {
|
|
|
34
34
|
* Optional badge for status or metadata.
|
|
35
35
|
*/
|
|
36
36
|
badge?: Omit<BadgeProps, 'size' | 'bottomSpacing'>;
|
|
37
|
-
/**
|
|
38
|
-
* Internal flag: marks the last item in a list for different border styling.
|
|
39
|
-
*/
|
|
40
|
-
isLastItemInList?: boolean;
|
|
41
37
|
/**
|
|
42
38
|
* When `true`, adds a shadow for visual depth.
|
|
43
39
|
*/
|
|
@@ -1027,7 +1027,7 @@ export declare const linkComponentStyles: {
|
|
|
1027
1027
|
};
|
|
1028
1028
|
export declare const LinkListItemButtonStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof LinkListItemAsButtonProps> & LinkListItemAsButtonProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof LinkListItemAsButtonProps> & LinkListItemAsButtonProps, never>>> & string;
|
|
1029
1029
|
export declare const LinkListItemAnchorStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "layout" | "elevation" | "orientation"> & Pick<LinkListItemProps, "layout" | "elevation" | "orientation">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "layout" | "elevation" | "orientation"> & Pick<LinkListItemProps, "layout" | "elevation" | "orientation">, never>>> & string;
|
|
1030
|
-
export declare const LinkListItemStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "bottomSpacing" | "elevation" | "orientation"
|
|
1030
|
+
export declare const LinkListItemStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "bottomSpacing" | "elevation" | "orientation"> & Pick<LinkListItemProps, "bottomSpacing" | "elevation" | "orientation">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "bottomSpacing" | "elevation" | "orientation"> & Pick<LinkListItemProps, "bottomSpacing" | "elevation" | "orientation">, never>>> & string;
|
|
1031
1031
|
export declare const LinkListItemElevatedStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Card').CardProps, never> & Partial<Pick<import('../Card').CardProps, never>>> & string & Omit<({ children, className, theme, tag, mobileDark, appearance, ...props }: import('../Card').CardProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
1032
1032
|
export declare const LinkListItemContentWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "orientation"> & Pick<LinkListItemProps, "orientation">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "orientation"> & Pick<LinkListItemProps, "orientation">, never>>> & string;
|
|
1033
1033
|
export declare const LinkListItemContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "orientation"> & Pick<LinkListItemProps, "orientation">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "orientation"> & Pick<LinkListItemProps, "orientation">, never>>> & string;
|
|
@@ -79,6 +79,7 @@ export declare const linkListItemSchema: z.ZodObject<{
|
|
|
79
79
|
Filter: "Filter";
|
|
80
80
|
Grid: "Grid";
|
|
81
81
|
Notification: "Notification";
|
|
82
|
+
Video: "Video";
|
|
82
83
|
Focus: "Focus";
|
|
83
84
|
AbTest: "AbTest";
|
|
84
85
|
Above28: "Above28";
|
|
@@ -633,7 +634,6 @@ export declare const linkListItemSchema: z.ZodObject<{
|
|
|
633
634
|
VfHappyHelpful: "VfHappyHelpful";
|
|
634
635
|
VfHappy: "VfHappy";
|
|
635
636
|
VideoFrame: "VideoFrame";
|
|
636
|
-
Video: "Video";
|
|
637
637
|
Virtuoso: "Virtuoso";
|
|
638
638
|
VirusProtection: "VirusProtection";
|
|
639
639
|
VocSensor: "VocSensor";
|
|
@@ -681,6 +681,7 @@ export declare const linkListItemSchema: z.ZodObject<{
|
|
|
681
681
|
Filter: "Filter";
|
|
682
682
|
Grid: "Grid";
|
|
683
683
|
Notification: "Notification";
|
|
684
|
+
Video: "Video";
|
|
684
685
|
Focus: "Focus";
|
|
685
686
|
AbTest: "AbTest";
|
|
686
687
|
Above28: "Above28";
|
|
@@ -1235,7 +1236,6 @@ export declare const linkListItemSchema: z.ZodObject<{
|
|
|
1235
1236
|
VfHappyHelpful: "VfHappyHelpful";
|
|
1236
1237
|
VfHappy: "VfHappy";
|
|
1237
1238
|
VideoFrame: "VideoFrame";
|
|
1238
|
-
Video: "Video";
|
|
1239
1239
|
Virtuoso: "Virtuoso";
|
|
1240
1240
|
VirusProtection: "VirusProtection";
|
|
1241
1241
|
VocSensor: "VocSensor";
|
|
@@ -1335,7 +1335,6 @@ export declare const linkListItemSchema: z.ZodObject<{
|
|
|
1335
1335
|
error_location: z.ZodOptional<z.ZodString>;
|
|
1336
1336
|
}, z.core.$loose>>;
|
|
1337
1337
|
}, z.core.$loose>>;
|
|
1338
|
-
isLastItemInList: z.ZodOptional<z.ZodBoolean>;
|
|
1339
1338
|
elevation: z.ZodOptional<z.ZodBoolean>;
|
|
1340
1339
|
href: z.ZodOptional<z.ZodString>;
|
|
1341
1340
|
}, z.core.$loose>;
|