@vodafone_de/brix-components 17.0.1 → 17.0.2-html-errors-8787ec1d1ab4dafdf897207623187a4ccaf63409
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/components/Accordion/index.js +1 -1
- package/dist/components/DiscoveryCard/index.js +3 -3
- package/dist/components/DiscoveryCard/validate.d.ts +1 -0
- package/dist/components/DiscoveryCardGroup/index.js +1 -1
- package/dist/components/DiscoveryCardGroup/validate.d.ts +3 -0
- package/dist/components/FeatureCardGroup/components/FeatureCard/index.js +2 -2
- package/dist/components/FeatureCardGroup/components/FeatureCard/validate.d.ts +1 -0
- package/dist/components/FeatureCardGroup/validate.d.ts +1 -0
- package/dist/components/Fieldset/validate.d.ts +2 -0
- package/dist/components/FilterGroup/validate.d.ts +2 -0
- package/dist/components/Footnote/index.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/validate.d.ts +2 -0
- package/dist/components/IconSnippet/index.js +1 -1
- package/dist/components/IconSnippet/validate.d.ts +1 -0
- package/dist/components/IconSnippetList/validate.d.ts +1 -0
- package/dist/components/ImageHeader/index.js +4 -2
- package/dist/components/ImageHeader/validate.d.ts +1 -0
- package/dist/components/Legend/index.js +16 -1
- package/dist/components/Legend/validate.d.ts +4 -0
- package/dist/components/Link/index.js +1 -1
- package/dist/components/LinkAsButton/index.js +1 -1
- package/dist/components/MediaText/index.js +1 -1
- package/dist/components/MediaText/validate.d.ts +1 -0
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/Notification/validate.d.ts +1 -0
- package/dist/components/OpenTextFootnoteAdapter/index.js +2 -2
- package/dist/components/Price/index.js +1 -1
- package/dist/components/Price/props.d.ts +9 -1
- package/dist/components/Price/styled.d.ts +1 -1
- package/dist/components/ProductCard/index.js +2 -2
- package/dist/components/ProductCard/validate.d.ts +1 -0
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichTextContentful/getOptions.d.ts +2 -1
- package/dist/components/RichTextContentful/index.d.ts +1 -1
- package/dist/components/RichTextContentful/index.js +3 -2
- package/dist/components/RichTextContentful/props.d.ts +21 -0
- package/dist/components/RichTextContentful/styled.d.ts +1 -1
- package/dist/components/RichTextContentful/validate.d.ts +1 -0
- package/dist/components/SmoothScrollArea/index.js +2 -0
- package/dist/components/Table/index.js +2 -2
- package/dist/components/TabularPrice/index.js +1 -1
- package/dist/components/TextList/components/TextListItem/index.js +1 -1
- package/dist/components/TextList/components/TextListItem/validate.d.ts +1 -0
- package/dist/components/TextList/index.js +1 -1
- package/dist/components/TextList/validate.d.ts +1 -0
- package/dist/contentful/validation/index.js +2 -1
- package/dist/{index-xtZR0oUe.js → index-B7QEcUdq.js} +3 -1
- package/dist/{index-DQCGu8A6.js → index-BR6u6rvI.js} +5 -2
- package/dist/{index-BzxXf9rj.js → index-DQ_p1dIc.js} +1 -1
- package/dist/{index-s3uOcPPk.js → index-XoIBkRyI.js} +9 -5
- package/dist/index.js +9 -8
- package/dist/opentext/index.js +1 -1
- package/dist/opentext/map/discoveryCard.d.ts +1 -1
- package/dist/{youTubeVideo-DBAN-w-C.js → youTubeVideo-BOudL3DM.js} +4 -4
- package/package.json +1 -1
|
@@ -197,7 +197,7 @@ const Accordion = ({
|
|
|
197
197
|
return /* @__PURE__ */ jsxs(AccordionStyled, { ref, className, open: accordionToggleCollapsed !== toggle, children: [
|
|
198
198
|
/* @__PURE__ */ jsxs(AccordionSummaryStyled, { onClick: handleToggle, children: [
|
|
199
199
|
icon && /* @__PURE__ */ jsx(IconLoader, { name: icon, size: iconSizeMd }),
|
|
200
|
-
/* @__PURE__ */ jsx(AccordionHeadingStyled, { ...heading, size: "xs" }),
|
|
200
|
+
/* @__PURE__ */ jsx(AccordionHeadingStyled, { ...heading, size: "xs", tag: "span" }),
|
|
201
201
|
/* @__PURE__ */ jsx(AccordionOpenIndicatorStyled, { size: iconSizeMd })
|
|
202
202
|
] }),
|
|
203
203
|
/* @__PURE__ */ jsx(Collapsible, { expanded: accordionToggleExpanded === toggle, animated, onTransition, hideContent: false, children })
|
|
@@ -6,8 +6,8 @@ import Body from "../Body/index.js";
|
|
|
6
6
|
import { b as bodyComponentName } from "../../componentName-BoJP6JLf.js";
|
|
7
7
|
import Heading from "../Heading/index.js";
|
|
8
8
|
import Link from "../Link/index.js";
|
|
9
|
-
import { P as Price } from "../../index-
|
|
10
|
-
import { R as RichText, a as RichTextContentful } from "../../index-
|
|
9
|
+
import { P as Price } from "../../index-B7QEcUdq.js";
|
|
10
|
+
import { R as RichText, a as RichTextContentful } from "../../index-XoIBkRyI.js";
|
|
11
11
|
import { a as richTextComponentName, r as richTextContentfulComponentName } from "../../props-B5OwQmNC.js";
|
|
12
12
|
import { a as fontWeightBold } from "../../FontWeight-C8c-UnWu.js";
|
|
13
13
|
import { a as textHeadingSm } from "../../HeadingSize-O__w72MO.js";
|
|
@@ -21,7 +21,7 @@ import "../../index-DcEZ9vor.js";
|
|
|
21
21
|
import { a as bodyAlignLeft, b as bodyAlignCenter } from "../../props-DxcKxrWg.js";
|
|
22
22
|
import Card from "../Card/index.js";
|
|
23
23
|
import Image from "../Image/index.js";
|
|
24
|
-
import { a as LinkStyled } from "../../index-
|
|
24
|
+
import { a as LinkStyled } from "../../index-BR6u6rvI.js";
|
|
25
25
|
import { translateLayoutPropsToCss } from "../../foundations/layout/index.js";
|
|
26
26
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
27
27
|
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
@@ -1040,6 +1040,7 @@ export declare const discoveryCardSchema: z.ZodObject<{
|
|
|
1040
1040
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1041
1041
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1042
1042
|
}, z.core.$loose>;
|
|
1043
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1043
1044
|
sysId: z.ZodString;
|
|
1044
1045
|
customId: z.ZodOptional<z.ZodString>;
|
|
1045
1046
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4,7 +4,7 @@ import styled from "styled-components";
|
|
|
4
4
|
import DiscoveryCard from "../DiscoveryCard/index.js";
|
|
5
5
|
import { a as discoveryCardOrientationVertical } from "../../props-DjRkcEE8.js";
|
|
6
6
|
import { G as Grid, b as GridItem } from "../../index-B0jIyAgf.js";
|
|
7
|
-
import { a as LinkStyled } from "../../index-
|
|
7
|
+
import { a as LinkStyled } from "../../index-BR6u6rvI.js";
|
|
8
8
|
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
9
9
|
import { s as spacingMd } from "../../Spacing-Dj-qX3Z5.js";
|
|
10
10
|
const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
|
|
@@ -1099,6 +1099,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
1099
1099
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1100
1100
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1101
1101
|
}, z.core.$loose>;
|
|
1102
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1102
1103
|
sysId: z.ZodString;
|
|
1103
1104
|
customId: z.ZodOptional<z.ZodString>;
|
|
1104
1105
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3473,6 +3474,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
3473
3474
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
3474
3475
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3475
3476
|
}, z.core.$loose>;
|
|
3477
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3476
3478
|
sysId: z.ZodString;
|
|
3477
3479
|
customId: z.ZodOptional<z.ZodString>;
|
|
3478
3480
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5847,6 +5849,7 @@ export declare const discoveryCardGroupSchema: z.ZodObject<{
|
|
|
5847
5849
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
5848
5850
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5849
5851
|
}, z.core.$loose>;
|
|
5852
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5850
5853
|
sysId: z.ZodString;
|
|
5851
5854
|
customId: z.ZodOptional<z.ZodString>;
|
|
5852
5855
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11,8 +11,8 @@ import "../../../../hooks/useImageComponent/index.js";
|
|
|
11
11
|
import Image from "../../../Image/index.js";
|
|
12
12
|
import { b as aspectRatio1_1 } from "../../../../props-CLadRD1u.js";
|
|
13
13
|
import Link from "../../../Link/index.js";
|
|
14
|
-
import { P as Price } from "../../../../index-
|
|
15
|
-
import { R as RichText, a as RichTextContentful } from "../../../../index-
|
|
14
|
+
import { P as Price } from "../../../../index-B7QEcUdq.js";
|
|
15
|
+
import { R as RichText, a as RichTextContentful } from "../../../../index-XoIBkRyI.js";
|
|
16
16
|
import { a as richTextComponentName, r as richTextContentfulComponentName } from "../../../../props-B5OwQmNC.js";
|
|
17
17
|
import ToggleButton from "../../../ToggleButton/index.js";
|
|
18
18
|
import { a as fontWeightBold } from "../../../../FontWeight-C8c-UnWu.js";
|
|
@@ -1036,6 +1036,7 @@ export declare const featureCardSchema: z.ZodObject<{
|
|
|
1036
1036
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1037
1037
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1038
1038
|
}, z.core.$loose>;
|
|
1039
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1039
1040
|
sysId: z.ZodString;
|
|
1040
1041
|
customId: z.ZodOptional<z.ZodString>;
|
|
1041
1042
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1132,6 +1132,7 @@ export declare const featureCardGroupSchema: z.ZodObject<{
|
|
|
1132
1132
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1133
1133
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1134
1134
|
}, z.core.$loose>;
|
|
1135
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1135
1136
|
sysId: z.ZodString;
|
|
1136
1137
|
customId: z.ZodOptional<z.ZodString>;
|
|
1137
1138
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -653,6 +653,7 @@ export declare const fieldsetSchema: z.ZodObject<{
|
|
|
653
653
|
"6Xl": "6Xl";
|
|
654
654
|
"7Xl": "7Xl";
|
|
655
655
|
}>>;
|
|
656
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
656
657
|
}, z.core.$loose>, z.ZodObject<{
|
|
657
658
|
uid: z.ZodString;
|
|
658
659
|
sysId: z.ZodString;
|
|
@@ -2699,6 +2700,7 @@ export declare const fieldsetSchema: z.ZodObject<{
|
|
|
2699
2700
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
2700
2701
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2701
2702
|
}, z.core.$loose>;
|
|
2703
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2702
2704
|
sysId: z.ZodString;
|
|
2703
2705
|
customId: z.ZodOptional<z.ZodString>;
|
|
2704
2706
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1283,6 +1283,7 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
1283
1283
|
"6Xl": "6Xl";
|
|
1284
1284
|
"7Xl": "7Xl";
|
|
1285
1285
|
}>>;
|
|
1286
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1286
1287
|
}, z.core.$loose>, z.ZodObject<{
|
|
1287
1288
|
uid: z.ZodString;
|
|
1288
1289
|
sysId: z.ZodString;
|
|
@@ -3329,6 +3330,7 @@ export declare const filterGroupSchema: z.ZodObject<{
|
|
|
3329
3330
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
3330
3331
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3331
3332
|
}, z.core.$loose>;
|
|
3333
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3332
3334
|
sysId: z.ZodString;
|
|
3333
3335
|
customId: z.ZodOptional<z.ZodString>;
|
|
3334
3336
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -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-XoIBkRyI.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";
|
|
@@ -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-XoIBkRyI.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";
|
|
@@ -512,6 +512,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
512
512
|
"6Xl": "6Xl";
|
|
513
513
|
"7Xl": "7Xl";
|
|
514
514
|
}>>;
|
|
515
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
515
516
|
}, z.core.$loose>, z.ZodObject<{
|
|
516
517
|
uid: z.ZodString;
|
|
517
518
|
sysId: z.ZodString;
|
|
@@ -1563,6 +1564,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
1563
1564
|
"6Xl": "6Xl";
|
|
1564
1565
|
"7Xl": "7Xl";
|
|
1565
1566
|
}>>;
|
|
1567
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1566
1568
|
}, z.core.$loose>, z.ZodObject<{
|
|
1567
1569
|
uid: z.ZodString;
|
|
1568
1570
|
sysId: z.ZodString;
|
|
@@ -9,7 +9,7 @@ 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 { R as RichText, a as RichTextContentful } from "../../index-
|
|
12
|
+
import { R as RichText, a as RichTextContentful } from "../../index-XoIBkRyI.js";
|
|
13
13
|
import { a as richTextComponentName, r as richTextContentfulComponentName } from "../../props-B5OwQmNC.js";
|
|
14
14
|
import { d as divTagName } from "../../tags-BeNegJAK.js";
|
|
15
15
|
import { i as iconSizeSm } from "../../IconSize-Da9zhR76.js";
|
|
@@ -1052,6 +1052,7 @@ export declare const iconSnippetSchema: z.ZodObject<{
|
|
|
1052
1052
|
"6Xl": "6Xl";
|
|
1053
1053
|
"7Xl": "7Xl";
|
|
1054
1054
|
}>>;
|
|
1055
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1055
1056
|
}, z.core.$loose>, z.ZodObject<{
|
|
1056
1057
|
uid: z.ZodString;
|
|
1057
1058
|
sysId: z.ZodString;
|
|
@@ -1120,6 +1120,7 @@ export declare const iconSnippetListSchema: z.ZodObject<{
|
|
|
1120
1120
|
"6Xl": "6Xl";
|
|
1121
1121
|
"7Xl": "7Xl";
|
|
1122
1122
|
}>>;
|
|
1123
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1123
1124
|
}, z.core.$loose>, z.ZodObject<{
|
|
1124
1125
|
uid: z.ZodString;
|
|
1125
1126
|
sysId: z.ZodString;
|
|
@@ -10,8 +10,8 @@ import { f as spacing2Xs, b as spacingNone, s as spacingMd, c as spacingSm, d as
|
|
|
10
10
|
import Heading from "../Heading/index.js";
|
|
11
11
|
import { h as headingAlignCenter } from "../../props-GrMT6XLD.js";
|
|
12
12
|
import { h as headingComponentName } from "../../componentName-C1oXAOj7.js";
|
|
13
|
-
import { P as Price } from "../../index-
|
|
14
|
-
import { a as RichTextContentful, R as RichText } from "../../index-
|
|
13
|
+
import { P as Price } from "../../index-B7QEcUdq.js";
|
|
14
|
+
import { a as RichTextContentful, R as RichText } from "../../index-XoIBkRyI.js";
|
|
15
15
|
import { r as richTextContentfulComponentName, a as richTextComponentName } from "../../props-B5OwQmNC.js";
|
|
16
16
|
import { v as viewport, a as breakpoint_large } from "../../index-CG4uiVbZ.js";
|
|
17
17
|
import { b as fontWeightLight } from "../../FontWeight-C8c-UnWu.js";
|
|
@@ -30,6 +30,7 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
|
30
30
|
import { g as getSpacing } from "../../index-l-i-mIeP.js";
|
|
31
31
|
import { e as colorBackgroundOverlay } from "../../BackgroundColor-Ba4D10TC.js";
|
|
32
32
|
import { t as textBodyMd } from "../../TextBodySize-CP9q4gRv.js";
|
|
33
|
+
import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
|
|
33
34
|
import { h as priceSizeSm } from "../../props-P3bM0HEk.js";
|
|
34
35
|
const imageHeaderHeight = 450;
|
|
35
36
|
const getBadgeTopPosition = () => {
|
|
@@ -187,6 +188,7 @@ const ImageHeaderHeadingStyled = styled(Heading).withConfig({
|
|
|
187
188
|
})
|
|
188
189
|
});
|
|
189
190
|
const ImageHeaderSublineWrapperStyled = styled.div.withConfig({
|
|
191
|
+
shouldForwardProp,
|
|
190
192
|
displayName: "ImageHeaderSublineWrapperStyled",
|
|
191
193
|
componentId: "sc-7ig3h-6"
|
|
192
194
|
})({
|
|
@@ -1321,6 +1321,7 @@ export declare const imageHeaderSchema: z.ZodObject<{
|
|
|
1321
1321
|
"6Xl": "6Xl";
|
|
1322
1322
|
"7Xl": "7Xl";
|
|
1323
1323
|
}>>;
|
|
1324
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1324
1325
|
}, z.core.$loose>], "component">>;
|
|
1325
1326
|
price: z.ZodOptional<z.ZodObject<{
|
|
1326
1327
|
layout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
@@ -4,10 +4,12 @@ import Body from "../Body/index.js";
|
|
|
4
4
|
import Heading from "../Heading/index.js";
|
|
5
5
|
import IconSnippet from "../IconSnippet/index.js";
|
|
6
6
|
import { i as iconSnippetAlignCenter } from "../../props-BCMLpYc6.js";
|
|
7
|
-
import { R as RichText, a as RichTextContentful } from "../../index-
|
|
7
|
+
import { R as RichText, a as RichTextContentful } from "../../index-XoIBkRyI.js";
|
|
8
8
|
import { a as richTextComponentName, r as richTextContentfulComponentName } from "../../props-B5OwQmNC.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
|
+
import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
|
|
10
11
|
const LegendStyled = styled.legend.withConfig({
|
|
12
|
+
shouldForwardProp,
|
|
11
13
|
displayName: "LegendStyled",
|
|
12
14
|
componentId: "sc-1vyrzt5-0"
|
|
13
15
|
})({
|
|
@@ -59,6 +61,19 @@ const Legend = ({
|
|
|
59
61
|
}
|
|
60
62
|
};
|
|
61
63
|
}
|
|
64
|
+
if (richTextContentfulComponentName === content.component) {
|
|
65
|
+
return {
|
|
66
|
+
...content,
|
|
67
|
+
tagProps: {
|
|
68
|
+
root: {
|
|
69
|
+
tag: "span"
|
|
70
|
+
},
|
|
71
|
+
p: {
|
|
72
|
+
tag: "span"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
62
77
|
return content;
|
|
63
78
|
})
|
|
64
79
|
};
|
|
@@ -555,6 +555,7 @@ export declare const legendContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
555
555
|
"6Xl": "6Xl";
|
|
556
556
|
"7Xl": "7Xl";
|
|
557
557
|
}>>;
|
|
558
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
558
559
|
}, z.core.$loose>, z.ZodObject<{
|
|
559
560
|
uid: z.ZodString;
|
|
560
561
|
sysId: z.ZodString;
|
|
@@ -2601,6 +2602,7 @@ export declare const legendContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2601
2602
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
2602
2603
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2603
2604
|
}, z.core.$loose>;
|
|
2605
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2604
2606
|
sysId: z.ZodString;
|
|
2605
2607
|
customId: z.ZodOptional<z.ZodString>;
|
|
2606
2608
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3218,6 +3220,7 @@ export declare const legendSchema: z.ZodObject<{
|
|
|
3218
3220
|
"6Xl": "6Xl";
|
|
3219
3221
|
"7Xl": "7Xl";
|
|
3220
3222
|
}>>;
|
|
3223
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3221
3224
|
}, z.core.$loose>, z.ZodObject<{
|
|
3222
3225
|
uid: z.ZodString;
|
|
3223
3226
|
sysId: z.ZodString;
|
|
@@ -5264,6 +5267,7 @@ export declare const legendSchema: z.ZodObject<{
|
|
|
5264
5267
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
5265
5268
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5266
5269
|
}, z.core.$loose>;
|
|
5270
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5267
5271
|
sysId: z.ZodString;
|
|
5268
5272
|
customId: z.ZodOptional<z.ZodString>;
|
|
5269
5273
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -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-BR6u6rvI.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";
|
|
@@ -8,7 +8,7 @@ import Image from "../Image/index.js";
|
|
|
8
8
|
import { m as mediaTextPositionLeft, b as mediaTextPositionTop, y as youTubeVideoComponentName, i as imageComponentName } from "../../props-B9bM_KV-.js";
|
|
9
9
|
import { a, c } from "../../props-B9bM_KV-.js";
|
|
10
10
|
import Link from "../Link/index.js";
|
|
11
|
-
import { a as RichTextContentful, R as RichText } from "../../index-
|
|
11
|
+
import { a as RichTextContentful, R as RichText } from "../../index-XoIBkRyI.js";
|
|
12
12
|
import { r as richTextContentfulComponentName, a as richTextComponentName } from "../../props-B5OwQmNC.js";
|
|
13
13
|
import YouTubeVideo from "../YouTubeVideo/index.js";
|
|
14
14
|
import { p as pTagName, u as ulTagName, d as divTagName, l as liTagName } from "../../tags-BeNegJAK.js";
|
|
@@ -451,6 +451,7 @@ export declare const mediaTextSchema: z.ZodObject<{
|
|
|
451
451
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
452
452
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
453
453
|
}, z.core.$loose>;
|
|
454
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
454
455
|
sysId: z.ZodString;
|
|
455
456
|
customId: z.ZodOptional<z.ZodString>;
|
|
456
457
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12,7 +12,7 @@ import { h as headingComponentName } from "../../componentName-C1oXAOj7.js";
|
|
|
12
12
|
import IconLoader from "../IconLoader/index.js";
|
|
13
13
|
import Link from "../Link/index.js";
|
|
14
14
|
import { l as linkComponentName } from "../../componentName-D74Io-Fs.js";
|
|
15
|
-
import { R as RichText, a as RichTextContentful } from "../../index-
|
|
15
|
+
import { R as RichText, a as RichTextContentful } from "../../index-XoIBkRyI.js";
|
|
16
16
|
import { a as richTextComponentName, r as richTextContentfulComponentName } from "../../props-B5OwQmNC.js";
|
|
17
17
|
import { i as iconSizeSm } from "../../IconSize-Da9zhR76.js";
|
|
18
18
|
import { s as spacingMd, c as spacingSm, a as spacingXs } from "../../Spacing-Dj-qX3Z5.js";
|
|
@@ -309,6 +309,7 @@ export declare const notificationSchema: z.ZodObject<{
|
|
|
309
309
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
310
310
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
311
311
|
}, z.core.$loose>;
|
|
312
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
312
313
|
sysId: z.ZodString;
|
|
313
314
|
customId: z.ZodOptional<z.ZodString>;
|
|
314
315
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5,8 +5,8 @@ import "../AccordionGroup/index.js";
|
|
|
5
5
|
import "../../index-iCvdBgcJ.js";
|
|
6
6
|
import "../FootnoteContent/index.js";
|
|
7
7
|
import "../Heading/index.js";
|
|
8
|
-
import { O } from "../../index-
|
|
9
|
-
import "../../index-
|
|
8
|
+
import { O } from "../../index-DQ_p1dIc.js";
|
|
9
|
+
import "../../index-XoIBkRyI.js";
|
|
10
10
|
import "../../HeadingSize-O__w72MO.js";
|
|
11
11
|
export {
|
|
12
12
|
O as default
|
|
@@ -17,8 +17,16 @@ export declare const priceAligns: readonly ["left", "center"];
|
|
|
17
17
|
export type PriceAlign = (typeof priceAligns)[number];
|
|
18
18
|
/**
|
|
19
19
|
* Shared props between Price and TabularPrice.
|
|
20
|
+
*
|
|
21
|
+
* `role` is deliberately omitted: `PriceOuterWrapperStyled` (styled.tsx) always
|
|
22
|
+
* renders with `role="group"` so its `aria-label` stays valid per ARIA-in-HTML
|
|
23
|
+
* (FIX-SQDE-1475 #3) without excluding the price from the accessibility tree
|
|
24
|
+
* (SQDE-1270). Neither `Price` nor `TabularPrice` forwards a caller-supplied
|
|
25
|
+
* `role` anywhere, so leaving it in this type would let a consumer pass
|
|
26
|
+
* `role="generic"` (or anything else) that's silently ignored — confusing to
|
|
27
|
+
* debug, since nothing indicates why it had no effect.
|
|
20
28
|
*/
|
|
21
|
-
export interface PriceSharedProps extends BrixComponentProps, Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
29
|
+
export interface PriceSharedProps extends BrixComponentProps, Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'role'> {
|
|
22
30
|
/**
|
|
23
31
|
* Internal component name used for CMS and dynamic rendering.
|
|
24
32
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PriceProps, PriceSharedProps } from './props';
|
|
2
|
-
export declare const PriceOuterWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>,
|
|
2
|
+
export declare const PriceOuterWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>> & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement>, "role"> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>> & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement>, "role">>> & string;
|
|
3
3
|
export declare const PriceInnerWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof PriceProps> & PriceProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof PriceProps> & PriceProps, never>>> & string;
|
|
4
4
|
export declare const StrikePriceStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
5
5
|
export declare const PriceOrientationStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "orientation" | "align"> & Pick<PriceProps, "orientation" | "align">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "orientation" | "align"> & Pick<PriceProps, "orientation" | "align">, never>>> & string;
|
|
@@ -10,11 +10,11 @@ import Heading from "../Heading/index.js";
|
|
|
10
10
|
import { h as headingAlignCenter } from "../../props-GrMT6XLD.js";
|
|
11
11
|
import { o as objectFitContain, b as aspectRatio1_1 } from "../../props-CLadRD1u.js";
|
|
12
12
|
import Link from "../Link/index.js";
|
|
13
|
-
import { P as Price } from "../../index-
|
|
13
|
+
import { P as Price } from "../../index-B7QEcUdq.js";
|
|
14
14
|
import { a as fontWeightBold } from "../../FontWeight-C8c-UnWu.js";
|
|
15
15
|
import { j as iconSizeLg } from "../../IconSize-Da9zhR76.js";
|
|
16
16
|
import EnergySnippet from "../EnergySnippet/index.js";
|
|
17
|
-
import { a as RichTextContentful, R as RichText } from "../../index-
|
|
17
|
+
import { a as RichTextContentful, R as RichText } from "../../index-XoIBkRyI.js";
|
|
18
18
|
import styled from "styled-components";
|
|
19
19
|
import Card from "../Card/index.js";
|
|
20
20
|
import Flex from "../Flex/index.js";
|
|
@@ -1704,6 +1704,7 @@ export declare const productCardSchema: z.ZodObject<{
|
|
|
1704
1704
|
content: z.ZodArray<z.ZodType<any, unknown, z.core.$ZodTypeInternals<any, unknown>>>;
|
|
1705
1705
|
data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1706
1706
|
}, z.core.$loose>;
|
|
1707
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1707
1708
|
sysId: z.ZodString;
|
|
1708
1709
|
customId: z.ZodOptional<z.ZodString>;
|
|
1709
1710
|
enableStructuredData: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Options } from '@contentful/rich-text-react-renderer';
|
|
2
2
|
import { Spacing } from '../../foundations/types/Spacing';
|
|
3
|
-
|
|
3
|
+
import { RichTextContentfulTagProps } from './props';
|
|
4
|
+
export declare const getOptions: (paragraphSpacing?: Spacing | undefined, tagProps?: RichTextContentfulTagProps) => Options;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { RichTextContentfulProps } from './props';
|
|
2
|
-
declare const RichTextContentful: ({ html, paragraphSpacing, bottomSpacing, layout, ...props }: RichTextContentfulProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const RichTextContentful: ({ html, paragraphSpacing, bottomSpacing, layout, tagProps, ...props }: RichTextContentfulProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default RichTextContentful;
|
|
4
4
|
export * from './props';
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
import { Document } from '@contentful/rich-text-types';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
import { BodyProps } from '../Body/props';
|
|
3
4
|
import { richTextContentfulComponentName } from './componentName';
|
|
4
5
|
import { BrixComponentProps } from '../../foundations/BrixComponentProps';
|
|
5
6
|
import { Spacing } from '../../foundations/types/Spacing';
|
|
7
|
+
export declare const richTextContentfulTags: readonly ["div", "span"];
|
|
8
|
+
export type RichTextContentfulTag = (typeof richTextContentfulTags)[number];
|
|
9
|
+
/**
|
|
10
|
+
* Override props for specific parts of RichTextContentful during rendering.
|
|
11
|
+
* Allows customizing how the parsed document is rendered (e.g. forcing the
|
|
12
|
+
* root wrapper and/or paragraphs to render as `span` instead of `div`/`p`
|
|
13
|
+
* when embedded in a phrasing-content context, e.g. inside `Legend`/`IconSnippet`).
|
|
14
|
+
*/
|
|
15
|
+
export type RichTextContentfulTagProps = {
|
|
16
|
+
root?: {
|
|
17
|
+
tag?: RichTextContentfulTag;
|
|
18
|
+
};
|
|
19
|
+
p?: Omit<BodyProps, 'children'>;
|
|
20
|
+
};
|
|
6
21
|
/**
|
|
7
22
|
* Props for the RichTextContentful component.
|
|
8
23
|
* Parses a Contentful Rich Text document and renders it using brix components.
|
|
@@ -22,4 +37,10 @@ export interface RichTextContentfulProps extends BrixComponentProps, Omit<HTMLAt
|
|
|
22
37
|
* Overrides the bottom spacing for all parsed block-level elements.
|
|
23
38
|
*/
|
|
24
39
|
paragraphSpacing?: Spacing;
|
|
40
|
+
/**
|
|
41
|
+
* Override props for specific parts of the rendered document.
|
|
42
|
+
* Allows forcing the root wrapper (and its parsed paragraphs) to render
|
|
43
|
+
* as `span` instead of `div`/`p` when used in a phrasing-content context.
|
|
44
|
+
*/
|
|
45
|
+
tagProps?: RichTextContentfulTagProps;
|
|
25
46
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RichTextContentfulProps } from './props';
|
|
2
|
-
export declare const RichTextContentfulStyled: 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"> & Omit<RichTextContentfulProps, "html" | "paragraphSpacing">, 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"> & Omit<RichTextContentfulProps, "html" | "paragraphSpacing">, never>>> & string;
|
|
2
|
+
export declare const RichTextContentfulStyled: 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"> & Omit<RichTextContentfulProps, "html" | "paragraphSpacing" | "tagProps">, 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"> & Omit<RichTextContentfulProps, "html" | "paragraphSpacing" | "tagProps">, never>>> & string;
|
|
@@ -97,6 +97,7 @@ export declare const richTextContentfulSchema: z.ZodObject<{
|
|
|
97
97
|
"6Xl": "6Xl";
|
|
98
98
|
"7Xl": "7Xl";
|
|
99
99
|
}>>;
|
|
100
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
100
101
|
}, z.core.$loose>;
|
|
101
102
|
export declare const validateRichTextContentfulProps: (props: unknown) => ValidationResult<RichTextContentfulCmsProps>;
|
|
102
103
|
export declare const isRichTextContentfulProps: (props: unknown) => props is RichTextContentfulCmsProps;
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect } from "react";
|
|
4
4
|
import styled from "styled-components";
|
|
5
|
+
import { s as shouldForwardProp } from "../../shouldForwardProp-CONMmlMa.js";
|
|
5
6
|
const SmoothScrollAreaStyled = styled.div.withConfig({
|
|
7
|
+
shouldForwardProp,
|
|
6
8
|
displayName: "SmoothScrollAreaStyled",
|
|
7
9
|
componentId: "sc-14ipo2u-0"
|
|
8
10
|
})({});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { T as TableWrapper } from "../../index-
|
|
3
|
-
import { b, c, d, e, t, h, i } from "../../index-
|
|
2
|
+
import { T as TableWrapper } from "../../index-XoIBkRyI.js";
|
|
3
|
+
import { b, c, d, e, t, h, i } from "../../index-XoIBkRyI.js";
|
|
4
4
|
export {
|
|
5
5
|
b as TableBody,
|
|
6
6
|
c as TableCell,
|
|
@@ -160,6 +160,7 @@ export declare const textListItemSchema: z.ZodObject<{
|
|
|
160
160
|
"6Xl": "6Xl";
|
|
161
161
|
"7Xl": "7Xl";
|
|
162
162
|
}>>;
|
|
163
|
+
tagProps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
163
164
|
}, z.core.$loose>;
|
|
164
165
|
}, z.core.$loose>;
|
|
165
166
|
export declare const validateTextListItemProps: (props: unknown) => ValidationResult<TextListItemCmsProps>;
|
|
@@ -3,7 +3,7 @@ import "react/jsx-runtime";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "../../tags-BeNegJAK.js";
|
|
5
5
|
import "../../Spacing-Dj-qX3Z5.js";
|
|
6
|
-
import { f } from "../../index-
|
|
6
|
+
import { f } from "../../index-XoIBkRyI.js";
|
|
7
7
|
import { t } from "../../props-B5OwQmNC.js";
|
|
8
8
|
export {
|
|
9
9
|
f as default,
|
|
@@ -15999,7 +15999,8 @@ const RichTextDocumentSchema = object({
|
|
|
15999
15999
|
const richTextContentfulSchema = cmsBrixComponentPropsSchema.extend({
|
|
16000
16000
|
component: z.literal(richTextContentfulComponentName),
|
|
16001
16001
|
html: RichTextDocumentSchema,
|
|
16002
|
-
spacing: z.enum(spacings).optional()
|
|
16002
|
+
spacing: z.enum(spacings).optional(),
|
|
16003
|
+
tagProps: z.record(z.string(), z.unknown()).optional()
|
|
16003
16004
|
});
|
|
16004
16005
|
const validateRichTextContentfulProps = (props) => {
|
|
16005
16006
|
const result = richTextContentfulSchema.safeParse(props);
|
|
@@ -14,7 +14,9 @@ import { g as colorTextCritical, a as colorTextNeutral } from "./TextColor-Dsntm
|
|
|
14
14
|
import { a as shouldForwardPropExcluding, s as shouldForwardProp } from "./shouldForwardProp-CONMmlMa.js";
|
|
15
15
|
import { d as priceOrientationVertical, a as priceAlignLeft } from "./props-P3bM0HEk.js";
|
|
16
16
|
const textDecorationStrikethrough = "Strikethrough";
|
|
17
|
-
const PriceOuterWrapperStyled = styled.div.
|
|
17
|
+
const PriceOuterWrapperStyled = styled.div.attrs({
|
|
18
|
+
role: "group"
|
|
19
|
+
}).withConfig({
|
|
18
20
|
displayName: "PriceOuterWrapperStyled",
|
|
19
21
|
componentId: "sc-f6y6iv-0"
|
|
20
22
|
})([""]);
|
|
@@ -16,7 +16,7 @@ import { a as borderWidthFocus } from "./BorderWidth-OZWeXaq_.js";
|
|
|
16
16
|
import { s as spacingMd, b as spacingNone, a as spacingXs } from "./Spacing-Dj-qX3Z5.js";
|
|
17
17
|
import { t as textBodyMd } from "./TextBodySize-CP9q4gRv.js";
|
|
18
18
|
import { f as colorTextBrand, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
|
|
19
|
-
import { a as shouldForwardPropExcluding
|
|
19
|
+
import { a as shouldForwardPropExcluding } from "./shouldForwardProp-CONMmlMa.js";
|
|
20
20
|
const getLinkIcon = (icon, iconPosition) => /* @__PURE__ */ jsx(ButtonIconStyled, { name: icon, iconPosition, size: iconSizeSm });
|
|
21
21
|
const getLinkStyles = (appearance) => {
|
|
22
22
|
return {
|
|
@@ -77,7 +77,10 @@ const LinkStyled = styled.span.withConfig({
|
|
|
77
77
|
layout
|
|
78
78
|
}) => layout && translateLayoutPropsToCss(layout));
|
|
79
79
|
const LinkAsButtonStyled = styled.button.withConfig({
|
|
80
|
-
|
|
80
|
+
// LinkAsButtonProps extends LinkSharedProps, which is also used by the anchor-rendering
|
|
81
|
+
// Link component. `target`/`rel`/`download` are anchor-only HTML attributes that are
|
|
82
|
+
// invalid on a `<button>` and must never reach the DOM here.
|
|
83
|
+
shouldForwardProp: shouldForwardPropExcluding(["target", "rel", "download"]),
|
|
81
84
|
displayName: "LinkAsButtonStyled",
|
|
82
85
|
componentId: "sc-d0hr7z-0"
|
|
83
86
|
})({
|
|
@@ -4,7 +4,7 @@ import AccordionGroup from "./components/AccordionGroup/index.js";
|
|
|
4
4
|
import { C as Container } from "./index-iCvdBgcJ.js";
|
|
5
5
|
import FootnoteContent from "./components/FootnoteContent/index.js";
|
|
6
6
|
import Heading from "./components/Heading/index.js";
|
|
7
|
-
import { R as RichText } from "./index-
|
|
7
|
+
import { R as RichText } from "./index-XoIBkRyI.js";
|
|
8
8
|
import { a as textHeadingSm, c as textHeadingLg } from "./HeadingSize-O__w72MO.js";
|
|
9
9
|
import parse from "html-react-parser";
|
|
10
10
|
const getFootnoteContent = (content, footnoteContentBacklinkText) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React, { isValidElement, cloneElement, createElement, useEffect } from "react";
|
|
3
|
-
import { g as headingHtmlTags, r as olTagName, e as strongTagName, f as supTagName, u as ulTagName } from "./tags-BeNegJAK.js";
|
|
3
|
+
import { d as divTagName, c as spanTagName, g as headingHtmlTags, r as olTagName, e as strongTagName, f as supTagName, u as ulTagName } from "./tags-BeNegJAK.js";
|
|
4
4
|
import { c as spacingSm, b as spacingNone, s as spacingMd } from "./Spacing-Dj-qX3Z5.js";
|
|
5
5
|
import parse, { Element, domToReact } from "html-react-parser";
|
|
6
6
|
import Body from "./components/Body/index.js";
|
|
@@ -546,7 +546,7 @@ const contentfulHeaderlessTableToTableProps = (tableRows) => {
|
|
|
546
546
|
footCells: footerRow ? mapTableCells(footerRow, false, true) : void 0
|
|
547
547
|
};
|
|
548
548
|
};
|
|
549
|
-
const getOptions$1 = (paragraphSpacing = void 0) => {
|
|
549
|
+
const getOptions$1 = (paragraphSpacing = void 0, tagProps = {}) => {
|
|
550
550
|
const options = {
|
|
551
551
|
renderMark: {
|
|
552
552
|
[MARKS.BOLD]: (text) => {
|
|
@@ -576,7 +576,7 @@ const getOptions$1 = (paragraphSpacing = void 0) => {
|
|
|
576
576
|
if (node.data.nestedPatch) {
|
|
577
577
|
return children;
|
|
578
578
|
}
|
|
579
|
-
return /* @__PURE__ */ jsx(Body, { bottomSpacing: paragraphSpacing, children });
|
|
579
|
+
return /* @__PURE__ */ jsx(Body, { ...tagProps.p, bottomSpacing: paragraphSpacing, children });
|
|
580
580
|
},
|
|
581
581
|
[BLOCKS.HEADING_1]: (_block, children) => {
|
|
582
582
|
return /* @__PURE__ */ jsx(Heading, { size: "xl", children });
|
|
@@ -657,15 +657,18 @@ const RichTextContentfulStyled = styled.div.withConfig({
|
|
|
657
657
|
}), ({
|
|
658
658
|
layout
|
|
659
659
|
}) => layout && translateLayoutPropsToCss(layout));
|
|
660
|
+
const richTextContentfulTags = [divTagName, spanTagName];
|
|
660
661
|
const RichTextContentful = ({
|
|
661
662
|
html,
|
|
662
663
|
paragraphSpacing,
|
|
663
664
|
bottomSpacing,
|
|
664
665
|
layout,
|
|
666
|
+
tagProps = {},
|
|
665
667
|
...props
|
|
666
668
|
}) => {
|
|
667
|
-
|
|
668
|
-
|
|
669
|
+
var _a;
|
|
670
|
+
const rendered = documentToReactComponents(html, getOptions$1(paragraphSpacing, tagProps));
|
|
671
|
+
return /* @__PURE__ */ jsx(RichTextContentfulStyled, { ...props, as: (_a = tagProps.root) == null ? void 0 : _a.tag, bottomSpacing, layout, children: rendered });
|
|
669
672
|
};
|
|
670
673
|
const TableCell = ({
|
|
671
674
|
richText,
|
|
@@ -997,5 +1000,6 @@ export {
|
|
|
997
1000
|
tableAlignRight as h,
|
|
998
1001
|
tableAligns as i,
|
|
999
1002
|
RichTextContentfulStyled as j,
|
|
1003
|
+
richTextContentfulTags as r,
|
|
1000
1004
|
tableAlignLeft as t
|
|
1001
1005
|
};
|
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import { default as default5 } from "./components/ToggleButtonProvider/index.js"
|
|
|
5
5
|
import { default as default6 } from "./components/ToggleButton/index.js";
|
|
6
6
|
import { default as default7 } from "./components/TimeInput/index.js";
|
|
7
7
|
import { default as default8 } from "./components/Textarea/index.js";
|
|
8
|
-
import { R, a, T, b, c, d, e, T as T2, f, g, t, h, i } from "./index-
|
|
9
|
-
import { P, T as T3, c as c2 } from "./index-
|
|
8
|
+
import { R, a, T, b, c, d, e, T as T2, f, g, r, t, h, i } from "./index-XoIBkRyI.js";
|
|
9
|
+
import { P, T as T3, c as c2 } from "./index-B7QEcUdq.js";
|
|
10
10
|
import { PanelStyled, default as default9, TabGroupContainerStyled, TabGroupIndicatorStyled, TabGroupTabsScrollableContainerStyled, TabGroupTabsStyled, TabLabelStyled, TabStyled } from "./components/TabGroup/index.js";
|
|
11
11
|
import { default as default10 } from "./components/Switch/index.js";
|
|
12
12
|
import { default as default11 } from "./components/SuggestInput/index.js";
|
|
@@ -24,7 +24,7 @@ import { default as default21 } from "./components/PickerGroup/index.js";
|
|
|
24
24
|
import { P as P2 } from "./index-Dn3We7oE.js";
|
|
25
25
|
import { default as default22 } from "./components/PasswordInput/index.js";
|
|
26
26
|
import { default as default23 } from "./components/Overlay/index.js";
|
|
27
|
-
import { O } from "./index-
|
|
27
|
+
import { O } from "./index-DQ_p1dIc.js";
|
|
28
28
|
import { default as default24 } from "./components/Notification/index.js";
|
|
29
29
|
import { default as default25 } from "./components/MediaText/index.js";
|
|
30
30
|
import { default as default26 } from "./components/MarTechPlaceholder/index.js";
|
|
@@ -32,7 +32,7 @@ import { default as default27 } from "./components/LocalStyle/index.js";
|
|
|
32
32
|
import { default as default28 } from "./components/LoadingSpinner/index.js";
|
|
33
33
|
import { default as default29 } from "./components/LinkListItem/index.js";
|
|
34
34
|
import { default as default30 } from "./components/LinkList/index.js";
|
|
35
|
-
import { L } from "./index-
|
|
35
|
+
import { L } from "./index-BR6u6rvI.js";
|
|
36
36
|
import { default as default31 } from "./components/Link/index.js";
|
|
37
37
|
import { default as default32 } from "./components/Legend/index.js";
|
|
38
38
|
import { default as default33 } from "./components/Label/index.js";
|
|
@@ -127,12 +127,12 @@ import { useForcedColors } from "./hooks/useForcedColors/index.js";
|
|
|
127
127
|
import { useFocusWithin } from "./hooks/useFocusWithin/index.js";
|
|
128
128
|
import { validateAccordionGroupProps, validateAccordionProps, validateArtDirectedImageProps, validateBadgeProps, validateBodyProps, validateBottomBarProps, validateBrixComponentProps, validateButtonAsLinkProps, validateButtonGroupProps, validateButtonProps, validateCalendarProps, validateCalloutProps, validateCardProps, validateCarouselItemProps, validateCarouselProps, validateCheckboxGroupProps, validateCheckboxProps, validateCollapsibleProps, validateColorSwatchGroupProps, validateColorSwatchProps, validateConsentMessageProps, validateContainerProps, validateDateInputProps, validateDemoBoxProps, validateDialogProps, validateDiscoveryCardGroupProps, validateDiscoveryCardProps, validateDividerProps, validateEnergySnippetProps, validateFeatureCardGroupProps, validateFeatureCardProps, validateFieldsetProps, validateFilterGroupProps, validateFilterProps, validateFlexProps, validateFootnoteLinkProps, validateFootnoteProps, validateFootnoteSectionProps, validateFormElementProps, validateFormHelperLabelProps, validateFormHelperMessageProps, validateFormHelperStatusIconProps, validateFormProps, validateGoogleMapProps, validateGridConfig, validateGridItemProps, validateGridProps, validateHeadingProps, validateHifiIconProps, validateIconButtonProps, validateIconLoaderProps, validateIconProps, validateIconSnippetListProps, validateIconSnippetProps, validateImageHeaderProps, validateImageProps, validateInfoBannerProps, validateInputGroupProps, validateInputProps, validateLabelProps, validateLegendProps, validateLinkAsButtonProps, validateLinkListItemProps, validateLinkListProps, validateLinkProps, validateLoadingSpinnerProps, validateLocalStyleProps, validateMarTechPlaceholderProps, validateMediaTextProps, validateMinimalCmsProps, validateNotificationProps, validateOpenTextFootnoteAdapterProps, validateOverlayProps, validatePasswordInputProps, validatePickerGroupProps, validatePickerProps, validatePriceProps, validateProductCardProps, validateQuickLinkListProps, validateQuickLinkProps, validateRadioGroupProps, validateRatingProps, validateRichTextContentfulProps, validateRichTextProps, validateScreenreaderOnlyProps, validateSearchInputProps, validateSelectInputProps, validateSmoothScrollAreaProps, validateStepperProps, validateSuggestInputProps, validateSwitchProps, validateTabGroupProps, validateTableProps, validateTabularPriceProps, validateTextListItemProps, validateTextListProps, validateTextareaProps, validateTimeInputProps, validateToggleButtonProps, validateToggleButtonProviderProps, validateTrayProps, validateUtilityLinkProps, validateYouTubeVideoProps } from "./contentful/validation/index.js";
|
|
129
129
|
import { contentFulComponentNames } from "./contentful/registry/index.js";
|
|
130
|
-
import { M, a as a4, b as b3, c as c4, d as d2, e as e2, f as f2, g as g3, h as h2, i as i2, j, k, l as l2, m as m2, n, o, p, q, r, s, t as t2, u as u2, v, w, x, y, z, A, B as B3, C as C3, D, E, F as F2, G as G2, H, I, J, K, L as L2, N, O as O2, P as P3, Q, R as R2, S as S2, T as T4, U, V, W, X, Y, Z, _, $, a0, a1, a2 as a22, a3 as a32, a4 as a42, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak } from "./youTubeVideo-
|
|
130
|
+
import { M, a as a4, b as b3, c as c4, d as d2, e as e2, f as f2, g as g3, h as h2, i as i2, j, k, l as l2, m as m2, n, o, p, q, r as r2, s, t as t2, u as u2, v, w, x, y, z, A, B as B3, C as C3, D, E, F as F2, G as G2, H, I, J, K, L as L2, N, O as O2, P as P3, Q, R as R2, S as S2, T as T4, U, V, W, X, Y, Z, _, $, a0, a1, a2 as a22, a3 as a32, a4 as a42, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak } from "./youTubeVideo-BOudL3DM.js";
|
|
131
131
|
import { B as B4, b as b4, a as a10, p as p2, s as s2, c as c5, t as t3 } from "./props-Dt5kqR3j.js";
|
|
132
132
|
import { C as C4, c as c6, a as a11, b as b5, d as d3 } from "./props-DDJfToj8.js";
|
|
133
133
|
import { C as C5, c as c7, a as a12, b as b6, d as d4, e as e3, f as f3, g as g4 } from "./props-A95cwKat.js";
|
|
134
134
|
import { I as I2, i as i3, a as a13, b as b7, c as c8 } from "./props-BBT_7iiy.js";
|
|
135
|
-
import { a as a14, b as b8, c as c9, d as d5, e as e4, f as f4, g as g5, h as h3, i as i4, j as j2, k as k2, l as l3, m as m3, o as o2, n as n2, p as p3, q as q2, r as
|
|
135
|
+
import { a as a14, b as b8, c as c9, d as d5, e as e4, f as f4, g as g5, h as h3, i as i4, j as j2, k as k2, l as l3, m as m3, o as o2, n as n2, p as p3, q as q2, r as r3, s as s3, t as t4, u as u3, v as v2 } from "./props-CLadRD1u.js";
|
|
136
136
|
import { b as b9, a as a15, c as c10, d as d6, e as e5 } from "./props-DxcKxrWg.js";
|
|
137
137
|
import { c as c11, a as a16 } from "./props-D2ykLHP1.js";
|
|
138
138
|
import { c as c12, a as a17, b as b10 } from "./ButtonWidthBehavior-DuO_4JKC.js";
|
|
@@ -261,7 +261,7 @@ export {
|
|
|
261
261
|
o as MapColorSwatchGroup,
|
|
262
262
|
p as MapConsentMessage,
|
|
263
263
|
q as MapContainer,
|
|
264
|
-
|
|
264
|
+
r2 as MapDateInput,
|
|
265
265
|
s as MapDialog,
|
|
266
266
|
t2 as MapDiscoveryCard,
|
|
267
267
|
u2 as MapDiscoveryCardGroup,
|
|
@@ -520,7 +520,7 @@ export {
|
|
|
520
520
|
n2 as objectFitCover,
|
|
521
521
|
p3 as objectPositionCenter,
|
|
522
522
|
q2 as objectPositionLeftBottom,
|
|
523
|
-
|
|
523
|
+
r3 as objectPositionLeftCenter,
|
|
524
524
|
s3 as objectPositionLeftTop,
|
|
525
525
|
t4 as objectPositionRightBottom,
|
|
526
526
|
u3 as objectPositionRightCenter,
|
|
@@ -539,6 +539,7 @@ export {
|
|
|
539
539
|
i12 as priceSizes,
|
|
540
540
|
p2 as primaryBadgeAppearance,
|
|
541
541
|
reducedMotionQuery,
|
|
542
|
+
r as richTextContentfulTags,
|
|
542
543
|
s2 as secondaryBadgeAppearance,
|
|
543
544
|
c5 as successBadgeAppearance,
|
|
544
545
|
t6 as tabGroupWidth,
|
package/dist/opentext/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak } from "../youTubeVideo-
|
|
1
|
+
import { M, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak } from "../youTubeVideo-BOudL3DM.js";
|
|
2
2
|
export {
|
|
3
3
|
M as MapAccordion,
|
|
4
4
|
a as MapAccordionGroup,
|
|
@@ -1152,6 +1152,7 @@ export declare const transformDiscoveryCardProps: (props: DiscoveryCardProps) =>
|
|
|
1152
1152
|
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1153
1153
|
html: import('@contentful/rich-text-types').Document;
|
|
1154
1154
|
paragraphSpacing?: import('../../foundations/types/Spacing').Spacing | undefined;
|
|
1155
|
+
tagProps?: import('../..').RichTextContentfulTagProps | undefined;
|
|
1155
1156
|
} | {
|
|
1156
1157
|
children: import('react').ReactNode;
|
|
1157
1158
|
hidden?: boolean | undefined | undefined;
|
|
@@ -1773,7 +1774,6 @@ export declare const transformDiscoveryCardProps: (props: DiscoveryCardProps) =>
|
|
|
1773
1774
|
tabIndex?: number | undefined;
|
|
1774
1775
|
title?: string | undefined;
|
|
1775
1776
|
radioGroup?: string | undefined;
|
|
1776
|
-
role?: import('react').AriaRole | undefined;
|
|
1777
1777
|
about?: string | undefined;
|
|
1778
1778
|
datatype?: string | undefined;
|
|
1779
1779
|
inlist?: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createElement } from "react";
|
|
2
2
|
import AccordionGroup from "./components/AccordionGroup/index.js";
|
|
3
3
|
import Accordion from "./components/Accordion/index.js";
|
|
4
|
-
import { r as renderInlineRichTextFromOpenText, O as OpenTextFootnoteAdapter } from "./index-
|
|
4
|
+
import { r as renderInlineRichTextFromOpenText, O as OpenTextFootnoteAdapter } from "./index-DQ_p1dIc.js";
|
|
5
5
|
import { B as Badge } from "./index-CWByESA7.js";
|
|
6
6
|
import Body from "./components/Body/index.js";
|
|
7
7
|
import BottomBar from "./components/BottomBar/index.js";
|
|
@@ -44,7 +44,7 @@ import InfoBanner from "./components/InfoBanner/index.js";
|
|
|
44
44
|
import Input from "./components/Input/index.js";
|
|
45
45
|
import Label from "./components/Label/index.js";
|
|
46
46
|
import Link from "./components/Link/index.js";
|
|
47
|
-
import { L as LinkAsButton } from "./index-
|
|
47
|
+
import { L as LinkAsButton } from "./index-BR6u6rvI.js";
|
|
48
48
|
import LinkList from "./components/LinkList/index.js";
|
|
49
49
|
import LinkListItem from "./components/LinkListItem/index.js";
|
|
50
50
|
import LoadingSpinner from "./components/LoadingSpinner/index.js";
|
|
@@ -52,13 +52,13 @@ import MediaText from "./components/MediaText/index.js";
|
|
|
52
52
|
import Notification from "./components/Notification/index.js";
|
|
53
53
|
import { P as Picker } from "./index-Dn3We7oE.js";
|
|
54
54
|
import PickerGroup from "./components/PickerGroup/index.js";
|
|
55
|
-
import { P as Price, T as TabularPrice } from "./index-
|
|
55
|
+
import { P as Price, T as TabularPrice } from "./index-B7QEcUdq.js";
|
|
56
56
|
import ProductCard from "./components/ProductCard/index.js";
|
|
57
57
|
import QuickLinkList from "./components/QuickLinkList/index.js";
|
|
58
58
|
import RadioGroup from "./components/RadioGroup/index.js";
|
|
59
59
|
import Rating from "./components/Rating/index.js";
|
|
60
60
|
import ArtDirectedImage from "./components/ArtDirectedImage/index.js";
|
|
61
|
-
import { R as RichText, T as TableWrapper, f as TextList, g as TextListItem } from "./index-
|
|
61
|
+
import { R as RichText, T as TableWrapper, f as TextList, g as TextListItem } from "./index-XoIBkRyI.js";
|
|
62
62
|
import SearchInput from "./components/SearchInput/index.js";
|
|
63
63
|
import SelectInput from "./components/SelectInput/index.js";
|
|
64
64
|
import Stepper from "./components/Stepper/index.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vodafone_de/brix-components",
|
|
3
3
|
"description": "Brix is the digital design system for vodafone.de",
|
|
4
|
-
"version": "17.0.
|
|
4
|
+
"version": "17.0.2-html-errors-8787ec1d1ab4dafdf897207623187a4ccaf63409",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package.json": "./package.json",
|
|
7
7
|
".": {
|