@vodafone_de/brix-components 7.0.8 → 7.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/{FontWeight-CR22KTex.js → FontWeight-DEBGHbtO.js} +2 -2
- package/dist/NotificationErrorIcon-DMnAJgPN.js +83 -0
- package/dist/_5gPlusIcon-B_69VW4X.js +19443 -0
- package/dist/components/Accordion/index.js +6 -3
- package/dist/components/Accordion/props.d.ts +1 -1
- package/dist/components/Accordion/styled.d.ts +1 -1
- package/dist/components/AccordionGroup/index.js +1 -1
- package/dist/components/Badge/index.js +3 -2
- package/dist/components/Badge/props.d.ts +1 -1
- package/dist/components/Body/index.js +2 -2
- package/dist/components/Body/props.d.ts +1 -1
- package/dist/components/BottomBar/index.js +3 -3
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Button/styled.d.ts +1 -1
- package/dist/components/ButtonAsLink/index.js +3 -1
- package/dist/components/ButtonAsLink/styled.d.ts +1 -1
- package/dist/components/ButtonGroup/index.js +4 -4
- package/dist/components/ButtonGroup/props.d.ts +1 -1
- package/dist/components/Card/index.js +3 -3
- package/dist/components/Card/props.d.ts +2 -2
- package/dist/components/Carousel/components/CarouselContext.d.ts +2 -3
- package/dist/components/Carousel/components/CarouselNavigation.d.ts +0 -2
- package/dist/components/Carousel/index.js +58 -47
- package/dist/components/Checkbox/index.js +3 -2
- package/dist/components/CheckboxGroup/index.js +2 -2
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/ColorSwatch/index.js +2 -2
- package/dist/components/ColorSwatchGroup/index.js +4 -4
- package/dist/components/ColorSwatchGroup/props.d.ts +1 -1
- package/dist/components/ConsentMessage/index.js +1 -1
- package/dist/components/ConsentMessage/styled.d.ts +1 -1
- package/dist/components/Container/index.js +3 -2
- package/dist/components/Container/props.d.ts +12 -1
- package/dist/components/DateInput/index.js +4 -2
- package/dist/components/DateInput/styled.d.ts +1 -2
- package/dist/components/DemoBox/index.js +5 -3
- package/dist/components/Dialog/index.js +4 -4
- package/dist/components/Dialog/styled.d.ts +1 -1
- package/dist/components/DiscoveryCard/components/DiscoveryCardLinkedImage.d.ts +1 -1
- package/dist/components/DiscoveryCard/index.js +21 -12
- package/dist/components/DiscoveryCard/props.d.ts +3 -3
- package/dist/components/DiscoveryCard/styled.d.ts +2 -2
- package/dist/components/DiscoveryCardGroup/index.js +1 -1
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Fieldset/index.js +2 -2
- package/dist/components/FilterGroup/index.js +4 -3
- package/dist/components/FilterGroup/props.d.ts +1 -1
- package/dist/components/FilterGroup/styled.d.ts +1 -1
- package/dist/components/Flex/index.js +2 -2
- package/dist/components/FlexItem/index.js +1 -1
- package/dist/components/FootnoteContent/index.js +1 -1
- package/dist/components/FootnoteLink/index.js +10 -2
- package/dist/components/Form/index.js +1 -1
- package/dist/components/FormElement/index.js +1 -1
- package/dist/components/FormHelperStatusIcon/index.d.ts +1 -1
- package/dist/components/FormHelperStatusIcon/index.js +2 -1
- package/dist/components/FormHelperStatusIcon/styled.d.ts +1 -1
- package/dist/components/GoogleMap/components/Map/props.d.ts +1 -1
- package/dist/components/GoogleMap/index.js +2 -2
- package/dist/components/GoogleMap/styled.d.ts +1 -1
- package/dist/components/Grid/index.js +2 -2
- package/dist/components/Grid/props.d.ts +3 -3
- package/dist/components/GridItem/index.js +2 -2
- package/dist/components/GridItem/props.d.ts +2 -2
- package/dist/components/Heading/index.js +3 -10
- package/dist/components/HifiIcon/index.js +1 -1
- package/dist/components/HifiIcon/props.d.ts +2 -1
- package/dist/components/Icon/index.d.ts +2 -2
- package/dist/components/Icon/index.js +1 -3
- package/dist/components/Icon/props.d.ts +1 -2
- package/dist/components/IconButton/index.js +4 -3
- package/dist/components/IconButton/props.d.ts +1 -1
- package/dist/components/IconLoader/index.d.ts +9 -0
- package/dist/components/IconLoader/index.js +655 -0
- package/dist/components/IconLoader/props.d.ts +23 -0
- package/dist/components/IconSnippet/index.js +10 -11
- package/dist/components/IconSnippet/props.d.ts +2 -2
- package/dist/components/IconSnippet/styled.d.ts +2 -2
- package/dist/components/IconSnippetList/index.js +1 -1
- package/dist/components/Image/index.js +1 -1
- package/dist/components/ImageHeader/index.js +7 -7
- package/dist/components/ImageHeader/props.d.ts +3 -3
- package/dist/components/ImageHeader/styled.d.ts +4 -4
- package/dist/components/InlineIcon/index.d.ts +6 -0
- package/dist/components/InlineIcon/index.js +35 -0
- package/dist/components/InlineIcon/props.d.ts +42 -0
- package/dist/components/InlineIcon/styled.d.ts +4 -0
- package/dist/components/InlineLink/index.js +19 -7
- package/dist/components/InlineLink/styled.d.ts +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/Link/index.js +8 -3
- package/dist/components/Link/styled.d.ts +1 -1
- package/dist/components/LinkAsButton/index.js +1 -1
- package/dist/components/LinkList/index.js +4 -4
- package/dist/components/LinkListItem/index.js +40 -28
- package/dist/components/LinkListItem/props.d.ts +2 -2
- package/dist/components/LinkListItem/styled.d.ts +974 -3
- package/dist/components/LoadingSpinner/index.js +12 -5
- package/dist/components/MediaText/index.d.ts +5 -0
- package/dist/components/MediaText/index.js +121 -0
- package/dist/components/MediaText/props.d.ts +42 -0
- package/dist/components/MediaText/styled.d.ts +4 -0
- package/dist/components/Notification/index.js +4 -3
- package/dist/components/Notification/notificationStatusVariants.d.ts +1 -1
- package/dist/components/Overlay/index.js +1 -1
- package/dist/components/PickerGroup/components/Picker/props.d.ts +6 -4
- package/dist/components/PickerGroup/components/PickerElementIcon/index.d.ts +1 -1
- package/dist/components/PickerGroup/components/PickerElementIcon/styled.d.ts +1 -1
- package/dist/components/PickerGroup/index.js +6 -5
- package/dist/components/Price/index.js +2 -4
- package/dist/components/Price/props.d.ts +1 -9
- package/dist/components/Price/styled.d.ts +1 -1
- package/dist/components/ProductCard/index.js +8 -8
- package/dist/components/ProductCard/styled.d.ts +1 -1
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Rating/assets/StarSVG.d.ts +3 -0
- package/dist/components/Rating/index.d.ts +6 -0
- package/dist/components/Rating/index.js +153 -0
- package/dist/components/Rating/props.d.ts +22 -0
- package/dist/components/Rating/styled.d.ts +6 -0
- package/dist/components/ResponsiveImage/index.js +1 -1
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/ScreenreaderOnly/index.js +1 -1
- package/dist/components/SearchInput/index.d.ts +2 -1
- package/dist/components/SearchInput/index.js +27 -26
- package/dist/components/SearchInput/props.d.ts +2 -1
- package/dist/components/SearchInput/styled.d.ts +3 -6
- package/dist/components/SelectInput/index.js +4 -2
- package/dist/components/Stepper/index.js +3 -3
- package/dist/components/SuggestInput/index.js +5 -4
- package/dist/components/SuggestInput/props.d.ts +1 -1
- package/dist/components/SuggestInput/styled.d.ts +2 -2
- package/dist/components/Switch/index.js +4 -3
- package/dist/components/TabularPrice/index.js +2 -2
- package/dist/components/TextList/index.js +2 -2
- package/dist/components/Textarea/index.js +1 -1
- package/dist/components/Textarea/styled.d.ts +1 -1
- package/dist/components/TimeInput/index.js +5 -3
- package/dist/components/TimeInput/styled.d.ts +1 -4
- package/dist/components/Tray/index.js +2 -2
- package/dist/components/Tray/props.d.ts +1 -1
- package/dist/components/YoutubeVideo/index.js +1 -2
- package/dist/components/YoutubeVideo/props.d.ts +1 -1
- package/dist/filterProps-CBnuV0LI.js +17 -0
- package/dist/foundations/GlobalStyle/index.js +2 -2
- package/dist/foundations/tags.d.ts +2 -0
- package/dist/foundations/types/PositionedIconInterface.d.ts +1 -1
- package/dist/foundations/types/SystemIconWithPosition.d.ts +1 -1
- package/dist/hooks/useLinkComponent/index.d.ts +11 -0
- package/dist/hooks/useLinkComponent/index.js +11 -0
- package/dist/hooks/useViewport/index.js +5 -22
- package/dist/icons/index.js +323 -340
- package/dist/{index-BeSd-V81.js → index-9io8adeQ.js} +3 -3
- package/dist/{index-ZHkR70j3.js → index-BdPmdY9v.js} +4 -3
- package/dist/{index-C5GzK6_0.js → index-Cqh8IRpl.js} +18 -8
- package/dist/index-Cs0Hw0dj.js +25 -0
- package/dist/{index-DQhtQZ85.js → index-GwyCjtti.js} +1 -1
- package/dist/{index-aUJfXBUI.js → index-TImInHXt.js} +5 -26
- package/dist/{index-C7meHOM4.js → index-hMlQuoyx.js} +36 -14
- package/dist/index.d.ts +9 -0
- package/dist/index.js +162 -133
- package/dist/{styled-ZpQohvyx.js → styled-BIc9Gu0G.js} +1 -1
- package/dist/{styled-BSqC5P9h.js → styled-C4eI47I1.js} +4 -4
- package/dist/{styled-DMUiOi24.js → styled-CFTspqJH.js} +2 -2
- package/dist/{styled-B0YKfXTz.js → styled-CPUu8mvT.js} +1 -1
- package/dist/{styled-03irSJOQ.js → styled-Cep52hpR.js} +1 -1
- package/dist/{styled-ODPFCF1a.js → styled-Cq-UMAjp.js} +1 -1
- package/dist/{styled-CYugcGtx.js → styled-DINwm57V.js} +1 -1
- package/dist/styled-DPHfwWsx.js +78 -0
- package/dist/{styled-Cqp2oSjW.js → styled-a-XazLSM.js} +3 -3
- package/dist/{tags-DI6H1biK.js → tags-D0ExIPLD.js} +4 -2
- package/package.json +1 -1
- package/dist/components/Carousel/utils/useScrollSpy.d.ts +0 -2
- package/dist/filterProps-Cewck8OH.js +0 -13
- package/dist/index-Cbojl4_Q.js +0 -7134
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
3
|
+
import { articleTagName, asideTagName, divTagName, mainTagName, navTagName, sectionTagName } from '../../foundations/tags';
|
|
2
4
|
import { BackgroundColor } from '../../foundations/token/types/BackgroundColor';
|
|
3
5
|
import { spacing5Xl, spacingNone, spacingXl } from '../../foundations/token/types/Spacing';
|
|
4
6
|
import { Theme } from '../../foundations/types/Theme';
|
|
5
7
|
export type Padding = typeof spacingNone | typeof spacingXl | typeof spacing5Xl;
|
|
6
8
|
export type ContainerAppearance = 'primary' | 'secondary' | 'tertiary' | 'alternative';
|
|
7
9
|
export declare const ContainerAppearanceColor: Record<ContainerAppearance, BackgroundColor>;
|
|
8
|
-
export
|
|
10
|
+
export type ContainerTag = typeof divTagName | typeof sectionTagName | typeof articleTagName | typeof asideTagName | typeof mainTagName | typeof navTagName;
|
|
11
|
+
export interface ContainerProps extends Omit<PatternProps, 'bottomSpacing'>, HTMLAttributes<HTMLDivElement> {
|
|
12
|
+
/**
|
|
13
|
+
* children is mandatory
|
|
14
|
+
*/
|
|
9
15
|
children: ReactNode;
|
|
10
16
|
/**
|
|
11
17
|
* Pin component's name from string to the concrete name
|
|
@@ -24,4 +30,9 @@ export interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
24
30
|
*/
|
|
25
31
|
padding?: Padding;
|
|
26
32
|
theme?: Theme;
|
|
33
|
+
/**
|
|
34
|
+
* use a different html tag to render Container
|
|
35
|
+
* ```div``` is default
|
|
36
|
+
*/
|
|
37
|
+
tag?: ContainerTag;
|
|
27
38
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { aW as CalendarMonthIcon, iv as iconSizeSm } from "../../index-Cbojl4_Q.js";
|
|
4
3
|
import { forwardRef, useRef, useImperativeHandle } from "react";
|
|
5
4
|
import FormElement from "../FormElement/index.js";
|
|
6
5
|
import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
7
6
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
8
7
|
import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
|
|
8
|
+
import { b as iconSizeSm } from "../../styled-DPHfwWsx.js";
|
|
9
9
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
10
|
-
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-
|
|
10
|
+
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-Cep52hpR.js";
|
|
11
11
|
import { s as spacingMd, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
|
|
12
|
+
import "../../NotificationErrorIcon-DMnAJgPN.js";
|
|
13
|
+
import { aW as CalendarMonthIcon } from "../../_5gPlusIcon-B_69VW4X.js";
|
|
12
14
|
import styled from "styled-components";
|
|
13
15
|
const CalendarMonthIconStyled = styled(CalendarMonthIcon).withConfig({
|
|
14
16
|
displayName: "CalendarMonthIconStyled",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InlineIconProps } from '@vfde-react/inline-icon-library';
|
|
2
1
|
import { InputHTMLAttributes } from 'react';
|
|
3
|
-
export declare const CalendarMonthIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web",
|
|
2
|
+
export declare const CalendarMonthIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", any> & string & Omit<import('react').FC<InlineIconProps>, keyof import('react').Component<any, {}, any>>;
|
|
4
3
|
export declare const DateInputStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof InputHTMLAttributes<HTMLInputElement>> & InputHTMLAttributes<HTMLInputElement>, InputHTMLAttributes<HTMLInputElement>>> & string;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import IconSnippet from "../IconSnippet/index.js";
|
|
4
4
|
import { t as textHeadingXs } from "../../HeadingSize-CfCRn3Lh.js";
|
|
5
|
-
import { g as getUid } from "../../index-
|
|
6
|
-
import { D as DemoBoxStyled } from "../../styled-
|
|
5
|
+
import { g as getUid } from "../../index-9io8adeQ.js";
|
|
6
|
+
import { D as DemoBoxStyled } from "../../styled-Cq-UMAjp.js";
|
|
7
7
|
const heading = {
|
|
8
8
|
component: "Heading",
|
|
9
9
|
children: "Child component",
|
|
@@ -15,7 +15,9 @@ const richText = {
|
|
|
15
15
|
html: "<p>This is a placeholder.</p>",
|
|
16
16
|
uid: getUid()
|
|
17
17
|
};
|
|
18
|
-
const DemoBox = (props) => /* @__PURE__ */ jsx(DemoBoxStyled, { ...props, children: /* @__PURE__ */ jsx(IconSnippet, { size: "
|
|
18
|
+
const DemoBox = (props) => /* @__PURE__ */ jsx(DemoBoxStyled, { ...props, children: /* @__PURE__ */ jsx(IconSnippet, { size: "sm", icon: {
|
|
19
|
+
name: "Sync"
|
|
20
|
+
}, bottomSpacing: "None", contents: [heading, richText] }) });
|
|
19
21
|
export {
|
|
20
22
|
DemoBox as default
|
|
21
23
|
};
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useRef, useEffect } from "react";
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
|
-
import
|
|
5
|
+
import Heading from "../Heading/index.js";
|
|
6
|
+
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
6
7
|
import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
|
|
7
8
|
import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
8
|
-
import Heading from "../Heading/index.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
11
11
|
import Card from "../Card/index.js";
|
|
12
|
+
import Flex from "../Flex/index.js";
|
|
12
13
|
import IconButton from "../IconButton/index.js";
|
|
13
14
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
14
15
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
15
16
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
16
17
|
import { d as colorBackgroundOverlayStatic } from "../../BackgroundColor-e0N9tdDR.js";
|
|
17
18
|
import { a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
|
|
18
|
-
import {
|
|
19
|
-
import Flex from "../Flex/index.js";
|
|
19
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
20
20
|
const DialogOverlayStyled = styled.div.withConfig({
|
|
21
21
|
shouldForwardProp: filterProps(),
|
|
22
22
|
displayName: "DialogOverlayStyled",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DialogProps } from './props';
|
|
2
|
-
export declare const DialogOverlayStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<DialogProps, "
|
|
2
|
+
export declare const DialogOverlayStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<DialogProps, "buttons" | "heading"> & {
|
|
3
3
|
open: boolean;
|
|
4
4
|
}>> & string;
|
|
5
5
|
export declare const DialogCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Card').CardProps, never>> & string & Omit<import('react').FC<import('../Card').CardProps>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { DiscoveryCardProps } from '
|
|
2
|
+
import { DiscoveryCardProps } from '..';
|
|
3
3
|
declare const DiscoveryCardLinkedImage: FC<Pick<DiscoveryCardProps, 'uid' | 'image' | 'link' | 'orientation' | 'bottomSpacing'>>;
|
|
4
4
|
export default DiscoveryCardLinkedImage;
|
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Fragment } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { f as fontWeightBold } from "../../FontWeight-CR22KTex.js";
|
|
6
|
-
import { b as textHeadingSm } from "../../HeadingSize-CfCRn3Lh.js";
|
|
7
|
-
import { s as spacingMd, b as spacingNone, a as spacingXs, c as spacingSm } from "../../Spacing-D0HQH9YJ.js";
|
|
8
|
-
import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
9
|
-
import { b as BadgeStyled, B as Badge } from "../../index-ZHkR70j3.js";
|
|
4
|
+
import { b as BadgeStyled, B as Badge } from "../../index-BdPmdY9v.js";
|
|
10
5
|
import Body, { bodyAlignLeft, bodyAlignCenter } from "../Body/index.js";
|
|
11
6
|
import Heading from "../Heading/index.js";
|
|
12
7
|
import Link from "../Link/index.js";
|
|
13
|
-
import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
8
|
+
import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-TImInHXt.js";
|
|
9
|
+
import { R as RichText } from "../../index-9io8adeQ.js";
|
|
10
|
+
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
11
|
+
import { b as textHeadingSm } from "../../HeadingSize-CfCRn3Lh.js";
|
|
12
|
+
import { s as spacingMd, b as spacingNone, a as spacingXs, c as spacingSm } from "../../Spacing-D0HQH9YJ.js";
|
|
13
|
+
import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
14
|
+
import "../../NotificationErrorIcon-DMnAJgPN.js";
|
|
15
|
+
import "../../styled-DPHfwWsx.js";
|
|
16
|
+
import "html-react-parser";
|
|
17
|
+
import "../../index-GwyCjtti.js";
|
|
18
|
+
import "../FootnoteLink/index.js";
|
|
19
|
+
import "../../styled-C4eI47I1.js";
|
|
20
|
+
import { a as LinkStyled } from "../../index-Cqh8IRpl.js";
|
|
21
|
+
import "../../hooks/useLinkComponent/index.js";
|
|
22
|
+
import "../InlineLink/index.js";
|
|
23
|
+
import "uuid";
|
|
16
24
|
import styled from "styled-components";
|
|
25
|
+
import Card from "../Card/index.js";
|
|
26
|
+
import Image, { aspectRatio16_9, aspectRatio1_1 } from "../Image/index.js";
|
|
17
27
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
18
28
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import { a as LinkStyled } from "../../index-C5GzK6_0.js";
|
|
29
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
30
|
+
import { a as cornerRounded } from "../../CornerStyle-JEbGNArR.js";
|
|
22
31
|
const discoveryCardOrientationVertical = "vertical";
|
|
23
32
|
const discoveryCardOrientationHorizontal = "horizontal";
|
|
24
33
|
const DiscoveryCardStyled = styled(Card).withConfig({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { BadgeProps } from '../Badge/props';
|
|
3
|
+
import { BodyProps } from '../Body';
|
|
4
|
+
import { HeadingProps } from '../Heading';
|
|
3
5
|
import { ImageProps } from '../Image/props';
|
|
4
6
|
import { LinkProps } from '../Link/props';
|
|
5
7
|
import { PriceProps } from '../Price/props';
|
|
6
|
-
import { PatternProps } from '../../foundations/PatternProps';
|
|
7
|
-
import { BodyProps } from '../Body';
|
|
8
|
-
import { HeadingProps } from '../Heading';
|
|
9
8
|
import { RichTextProps } from '../RichText';
|
|
9
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
10
10
|
export declare const discoveryCardOrientationVertical = "vertical";
|
|
11
11
|
export declare const discoveryCardOrientationHorizontal = "horizontal";
|
|
12
12
|
export type DiscoveryCardOrientation = typeof discoveryCardOrientationVertical | typeof discoveryCardOrientationHorizontal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes } from 'react';
|
|
2
2
|
import { DiscoveryCardProps } from './props';
|
|
3
|
-
export declare const DiscoveryCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Card').CardProps, Omit<DiscoveryCardProps, "
|
|
3
|
+
export declare const DiscoveryCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../Card').CardProps, Omit<DiscoveryCardProps, "badge" | "heading" | "price" | "uid" | "body" | "link" | "image">>> & string & Omit<import('react').FC<import('../Card').CardProps>, keyof import('react').Component<any, {}, any>>;
|
|
4
4
|
export declare const DiscoveryCardContentyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
-
export declare const DiscoveryCardImageLinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, Pick<DiscoveryCardProps, "
|
|
5
|
+
export declare const DiscoveryCardImageLinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, Pick<DiscoveryCardProps, "bottomSpacing" | "orientation"> & AnchorHTMLAttributes<HTMLAnchorElement>>> & string;
|
|
6
6
|
export declare const DiscoveryCardImageStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../Image').ImageProps, never>> & string & Omit<import('react').FC<import('../Image').ImageProps>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -4,9 +4,9 @@ import styled from "styled-components";
|
|
|
4
4
|
import DiscoveryCard, { discoveryCardOrientationVertical } from "../DiscoveryCard/index.js";
|
|
5
5
|
import Grid from "../Grid/index.js";
|
|
6
6
|
import GridItem from "../GridItem/index.js";
|
|
7
|
+
import { a as LinkStyled } from "../../index-Cqh8IRpl.js";
|
|
7
8
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
8
9
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
9
|
-
import { a as LinkStyled } from "../../index-C5GzK6_0.js";
|
|
10
10
|
const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
|
|
11
11
|
displayName: "DiscoveryCardGroupGridStyled",
|
|
12
12
|
componentId: "sc-6axszn-0"
|
|
@@ -7,7 +7,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
7
7
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
8
8
|
import { j as colorBorderSubtle } from "../../BorderColor-BummoQ1-.js";
|
|
9
9
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
10
|
-
import {
|
|
10
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
11
11
|
const DividerLineStyled = styled.hr.withConfig({
|
|
12
12
|
shouldForwardProp: filterProps(),
|
|
13
13
|
displayName: "DividerLineStyled",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { N as NotificationErrorIcon } from "../../NotificationErrorIcon-DMnAJgPN.js";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
6
6
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
@@ -8,7 +8,7 @@ import Legend from "../Legend/index.js";
|
|
|
8
8
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
11
|
-
import {
|
|
11
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
12
12
|
const FieldsetStyled = styled.fieldset.withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
14
14
|
displayName: "FieldsetStyled",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { df as IconLoader, iv as iconSizeSm } from "../../index-Cbojl4_Q.js";
|
|
4
3
|
import { useState } from "react";
|
|
5
4
|
import Fieldset from "../Fieldset/index.js";
|
|
5
|
+
import { b as iconSizeSm } from "../../styled-DPHfwWsx.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import
|
|
7
|
+
import IconLoader from "../IconLoader/index.js";
|
|
8
|
+
import { s as screenreaderOnly } from "../../index-GwyCjtti.js";
|
|
8
9
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
9
10
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
10
11
|
import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
@@ -23,7 +24,7 @@ import { b as colorObjectSelected } from "../../ObjectColor-BZDBuV8H.js";
|
|
|
23
24
|
import { a as spacingXs, b as spacingNone, e as spacing2Xs, c as spacingSm } from "../../Spacing-D0HQH9YJ.js";
|
|
24
25
|
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
25
26
|
import { a as colorTextNeutral, b as colorTextInverseStatic } from "../../TextColor-DsntmDNw.js";
|
|
26
|
-
import {
|
|
27
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
27
28
|
const FilterGroupStyled = styled.div.withConfig({
|
|
28
29
|
shouldForwardProp: filterProps(),
|
|
29
30
|
displayName: "FilterGroupStyled",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconName } from '@vfde-react/inline-icon-library';
|
|
1
|
+
import { IconName } from '@vfde-react/inline-icon-library/IconName';
|
|
2
2
|
import { HTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
import { FieldsetSharedProps } from '../Fieldset/props';
|
|
4
4
|
export interface FilterProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -3,5 +3,5 @@ export declare const FilterGroupStyled: import('styled-components/dist/types').I
|
|
|
3
3
|
export declare const FilterStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, HTMLAttributes<HTMLLabelElement> & {
|
|
4
4
|
checked?: boolean;
|
|
5
5
|
}>> & string;
|
|
6
|
-
export declare const FilterIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('
|
|
6
|
+
export declare const FilterIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('../IconLoader').IconLoaderProps, never>> & string & Omit<import('react').FC<import('../IconLoader').IconLoaderProps>, keyof import('react').Component<any, {}, any>>;
|
|
7
7
|
export declare const FilterInputStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { F as FlexStyled } from "../../styled-
|
|
4
|
-
import { e, d, c, b, f, a } from "../../styled-
|
|
3
|
+
import { F as FlexStyled } from "../../styled-CPUu8mvT.js";
|
|
4
|
+
import { e, d, c, b, f, a } from "../../styled-CPUu8mvT.js";
|
|
5
5
|
const Flex = ({
|
|
6
6
|
children,
|
|
7
7
|
...props
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { cloneElement } from "react";
|
|
4
4
|
import { b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
|
-
import {
|
|
6
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
7
7
|
const flexItemFullGrow = "full";
|
|
8
8
|
const flexItemAutoGrow = "auto";
|
|
9
9
|
const FlexItemStyled = styled.div.withConfig({
|
|
@@ -7,7 +7,7 @@ import { getBorderColor } from "../../foundations/token/getBorderColor/index.js"
|
|
|
7
7
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
8
8
|
import { c as colorBorderFocus } from "../../BorderColor-BummoQ1-.js";
|
|
9
9
|
import { a as borderWidthFocus } from "../../BorderWidth-DfOlyKK7.js";
|
|
10
|
-
import {
|
|
10
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
11
11
|
const rotate = keyframes(["0%{box-shadow:transparent 0px 0px 0px 0px;}50%{box-shadow:", " 0px 0px 2px ", ";}100%{box-shadow:transparent 0px 0px 0px 0px;}}"], getBorderColor(colorBorderFocus), getBorderWidth(borderWidthFocus));
|
|
12
12
|
const FootnoteContentStyled = styled.div.withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { S as ScreenreaderOnly } from "../../index-
|
|
3
|
+
import { S as ScreenreaderOnly } from "../../index-GwyCjtti.js";
|
|
4
4
|
import styled from "styled-components";
|
|
5
5
|
import InlineLink from "../InlineLink/index.js";
|
|
6
6
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
@@ -12,7 +12,15 @@ const FootnoteLinkStyled = styled(InlineLink).withConfig({
|
|
|
12
12
|
verticalAlign: "super",
|
|
13
13
|
fontSize: "smaller",
|
|
14
14
|
paddingLeft: getSpacing(spacing2Xs),
|
|
15
|
-
paddingRight: getSpacing(spacing2Xs)
|
|
15
|
+
paddingRight: getSpacing(spacing2Xs),
|
|
16
|
+
textDecoration: "none",
|
|
17
|
+
display: "inline-block",
|
|
18
|
+
"& a": {
|
|
19
|
+
textDecoration: "underline",
|
|
20
|
+
padding: 0,
|
|
21
|
+
verticalAlign: "baseline",
|
|
22
|
+
fontSize: "inherit"
|
|
23
|
+
}
|
|
16
24
|
});
|
|
17
25
|
const FootnoteLink = ({
|
|
18
26
|
uid,
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
4
4
|
import styled from "styled-components";
|
|
5
5
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
7
7
|
const FormStyled = styled.form.withConfig({
|
|
8
8
|
shouldForwardProp: filterProps(),
|
|
9
9
|
displayName: "FormStyled",
|
|
@@ -5,7 +5,7 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
|
5
5
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
6
6
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
7
7
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
8
|
-
import {
|
|
8
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
9
9
|
const FormElementStyled = styled.div.withConfig({
|
|
10
10
|
shouldForwardProp: filterProps(),
|
|
11
11
|
displayName: "FormElementStyled",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { b as iconSizeSm } from "../../styled-DPHfwWsx.js";
|
|
4
4
|
import styled from "styled-components";
|
|
5
|
+
import IconLoader from "../IconLoader/index.js";
|
|
5
6
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
6
7
|
import { getIconColor } from "../../foundations/token/getIconColor/index.js";
|
|
7
8
|
import { c as colorIconSuccess, a as colorIconCritical } from "../../IconColor-CtC9WUgr.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IconLoaderProps } from '
|
|
1
|
+
import { IconLoaderProps } from '../IconLoader';
|
|
2
2
|
import { FormHelperStatusIconProps } from './props';
|
|
3
3
|
export declare const FormHelperStatusIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<IconLoaderProps, IconLoaderProps & FormHelperStatusIconProps>> & string & Omit<import('react').FC<IconLoaderProps>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useMap, APIProvider, Map } from "@vis.gl/react-google-maps";
|
|
4
4
|
import { useEffect, useState } from "react";
|
|
5
|
+
import ConsentMessage from "../ConsentMessage/index.js";
|
|
5
6
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
6
7
|
import { useThirdPartyConsent } from "../../hooks/useThirdPartyConsent/index.js";
|
|
7
|
-
import ConsentMessage from "../ConsentMessage/index.js";
|
|
8
8
|
import styled from "styled-components";
|
|
9
9
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
10
10
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
@@ -15,7 +15,7 @@ import { j as colorBorderSubtle } from "../../BorderColor-BummoQ1-.js";
|
|
|
15
15
|
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
16
16
|
import { c as borderWidthSm } from "../../BorderWidth-DfOlyKK7.js";
|
|
17
17
|
import { c as cornerStraight } from "../../CornerStyle-JEbGNArR.js";
|
|
18
|
-
import {
|
|
18
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
19
19
|
const MapInner = ({
|
|
20
20
|
setMap,
|
|
21
21
|
children
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { GoogleMapProps } from './props';
|
|
2
|
-
export declare const GoogleMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<GoogleMapProps, "
|
|
2
|
+
export declare const GoogleMapStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<GoogleMapProps, "apiKey" | "consentMessage">>> & string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { l as liTagName, d as divTagName } from "../../tags-
|
|
3
|
+
import { l as liTagName, d as divTagName } from "../../tags-D0ExIPLD.js";
|
|
4
4
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
5
5
|
import { Children, cloneElement } from "react";
|
|
6
|
-
import { G as GridStyled } from "../../styled-
|
|
6
|
+
import { G as GridStyled } from "../../styled-BIc9Gu0G.js";
|
|
7
7
|
const autoLayout = (props) => {
|
|
8
8
|
if (!props.autoLayout) {
|
|
9
9
|
return props.children;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactElement } from 'react';
|
|
2
|
+
import { GridItemProps } from '../GridItem/props';
|
|
2
3
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
3
|
-
import { divTagName, olTagName, ulTagName } from '../../foundations/tags';
|
|
4
|
+
import { articleTagName, asideTagName, divTagName, mainTagName, navTagName, olTagName, sectionTagName, ulTagName } from '../../foundations/tags';
|
|
4
5
|
import { Spacing } from '../../foundations/token/types/Spacing';
|
|
5
6
|
import { ViewportName } from '../../foundations/token/types/Viewport';
|
|
6
|
-
import { GridItemProps } from '../GridItem/props';
|
|
7
7
|
export type GridColSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
8
|
-
export type GridTag = typeof divTagName | typeof ulTagName | typeof olTagName;
|
|
8
|
+
export type GridTag = typeof divTagName | typeof ulTagName | typeof olTagName | typeof navTagName | typeof mainTagName | typeof sectionTagName | typeof asideTagName | typeof articleTagName;
|
|
9
9
|
export type GridSpacing = Extract<Spacing, 'None' | 'Md'>;
|
|
10
10
|
/**
|
|
11
11
|
* type GridConfig defines an object that can contain colspans
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { d as divTagName } from "../../tags-
|
|
4
|
-
import { G as GridItemStyled } from "../../styled-
|
|
3
|
+
import { d as divTagName } from "../../tags-D0ExIPLD.js";
|
|
4
|
+
import { G as GridItemStyled } from "../../styled-a-XazLSM.js";
|
|
5
5
|
const GridItem = ({
|
|
6
6
|
sm = 12,
|
|
7
7
|
tag = divTagName,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { GridConfig, GridProps } from '../Grid/props';
|
|
3
3
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
-
import { divTagName, liTagName } from '../../foundations/tags';
|
|
5
|
-
export type GridItemTag = typeof divTagName | typeof liTagName;
|
|
4
|
+
import { articleTagName, asideTagName, divTagName, liTagName, mainTagName, navTagName, sectionTagName } from '../../foundations/tags';
|
|
5
|
+
export type GridItemTag = typeof divTagName | typeof liTagName | typeof navTagName | typeof mainTagName | typeof sectionTagName | typeof asideTagName | typeof articleTagName;
|
|
6
6
|
export type GridItemAlign = 'left' | 'center' | 'right';
|
|
7
7
|
export interface GridItemProps extends GridConfig, Omit<PatternProps, 'bottomSpacing'>, Pick<GridProps, 'spacing'>, HTMLAttributes<HTMLDivElement> {
|
|
8
8
|
children: ReactNode;
|
|
@@ -4,14 +4,14 @@ import FootnoteLink from "../FootnoteLink/index.js";
|
|
|
4
4
|
import { a as spacingXs, c as spacingSm, s as spacingMd, f as spacingLg, d as spacingXl } from "../../Spacing-D0HQH9YJ.js";
|
|
5
5
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { h as h5TagName, a as h4TagName, b as h3TagName, c as h2TagName, e as h1TagName
|
|
7
|
+
import { h as h5TagName, a as h4TagName, b as h3TagName, c as h2TagName, e as h1TagName } from "../../tags-D0ExIPLD.js";
|
|
8
8
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
9
9
|
import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
10
10
|
import { getHeadingSize } from "../../foundations/token/getHeadingSize/index.js";
|
|
11
11
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
12
|
-
import { f as fontWeightBold,
|
|
12
|
+
import { f as fontWeightBold, b as fontWeightLight } from "../../FontWeight-DEBGHbtO.js";
|
|
13
13
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
14
|
-
import {
|
|
14
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
15
15
|
const headingAlignLeft = "left";
|
|
16
16
|
const headingAlignCenter = "center";
|
|
17
17
|
const mapHeadingSizeToFontWeight = {
|
|
@@ -38,13 +38,6 @@ const mapSizeToBottomSpacing = {
|
|
|
38
38
|
const attributes = (props) => {
|
|
39
39
|
const attrs = {};
|
|
40
40
|
attrs.as = props.tag ? props.tag : mapSizeToTag[props.size];
|
|
41
|
-
if (attrs.as && false === headingHtmlTags.includes(attrs.as)) {
|
|
42
|
-
attrs.role = "heading";
|
|
43
|
-
if (!props["aria-level"]) {
|
|
44
|
-
const level = parseInt(mapSizeToTag[props.size].replace("h", ""));
|
|
45
|
-
attrs["aria-level"] = level;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
41
|
return attrs;
|
|
49
42
|
};
|
|
50
43
|
const HeadingStyled = styled.h1.withConfig({
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import styled from "styled-components";
|
|
4
4
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
5
5
|
import { s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
6
|
-
import {
|
|
6
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
7
7
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
8
8
|
const IconStyled = styled.img.withConfig({
|
|
9
9
|
shouldForwardProp: filterProps(),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ImgHTMLAttributes } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { iconSize6xl, iconSize7xl, iconSize8xl, iconSize9xl } from '../Icon';
|
|
3
|
+
import { iconSize5xl } from '../InlineIcon';
|
|
3
4
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
5
|
export type HifiIconSize = typeof iconSize5xl | typeof iconSize6xl | typeof iconSize7xl | typeof iconSize8xl | typeof iconSize9xl;
|
|
5
6
|
export interface HifiIconProps extends PatternProps, ImgHTMLAttributes<HTMLImageElement> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IconLoaderProps } from '@vfde-react/inline-icon-library';
|
|
2
1
|
import { FC } from 'react';
|
|
2
|
+
import { HifiIconProps } from '../HifiIcon';
|
|
3
|
+
import { IconLoaderProps } from '../IconLoader';
|
|
3
4
|
import { IconProps } from './props';
|
|
4
|
-
import { HifiIconProps } from '../HifiIcon/props';
|
|
5
5
|
/**
|
|
6
6
|
* The Icon component exposes the three options to render an icon:
|
|
7
7
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { df as IconLoader } from "../../index-Cbojl4_Q.js";
|
|
4
3
|
import HifiIcon from "../HifiIcon/index.js";
|
|
5
|
-
|
|
4
|
+
import IconLoader from "../IconLoader/index.js";
|
|
6
5
|
const iconSize6xl = "iconSize6xl";
|
|
7
6
|
const iconSize7xl = "iconSize7xl";
|
|
8
7
|
const iconSize8xl = "iconSize8xl";
|
|
@@ -30,7 +29,6 @@ const Icon = (props) => {
|
|
|
30
29
|
};
|
|
31
30
|
export {
|
|
32
31
|
Icon as default,
|
|
33
|
-
iconSize5xl,
|
|
34
32
|
iconSize6xl,
|
|
35
33
|
iconSize7xl,
|
|
36
34
|
iconSize8xl,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { IconSize, InlineIconProps } from '@vfde-react/inline-icon-library';
|
|
2
1
|
import { ReactElement, SVGAttributes } from 'react';
|
|
3
2
|
import { HifiIconSize } from '../HifiIcon/props';
|
|
3
|
+
import { IconSize, InlineIconProps } from '../InlineIcon';
|
|
4
4
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
5
|
-
export declare const iconSize5xl = "iconSize5xl";
|
|
6
5
|
export declare const iconSize6xl = "iconSize6xl";
|
|
7
6
|
export declare const iconSize7xl = "iconSize7xl";
|
|
8
7
|
export declare const iconSize8xl = "iconSize8xl";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
3
|
+
import IconLoader from "../IconLoader/index.js";
|
|
4
|
+
import { b as iconSizeSm } from "../../styled-DPHfwWsx.js";
|
|
4
5
|
import styled from "styled-components";
|
|
5
6
|
import { s as shadow28 } from "../../shadow-u158mzuN.js";
|
|
6
7
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
@@ -13,8 +14,8 @@ import { b as borderRadiusMd, c as borderRadiusFull } from "../../BorderRadius-C
|
|
|
13
14
|
import { d as borderWidthSelected } from "../../BorderWidth-DfOlyKK7.js";
|
|
14
15
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
15
16
|
import { a as spacingXs, s as spacingMd } from "../../Spacing-D0HQH9YJ.js";
|
|
16
|
-
import { b as buttonHeight, g as getButtonAppearance, p as primaryAppearance, a as ButtonAppearanceColor } from "../../styled-
|
|
17
|
-
import {
|
|
17
|
+
import { b as buttonHeight, g as getButtonAppearance, p as primaryAppearance, a as ButtonAppearanceColor } from "../../styled-C4eI47I1.js";
|
|
18
|
+
import { a as filterProps } from "../../filterProps-CBnuV0LI.js";
|
|
18
19
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
19
20
|
const iconButtonShapeSquare = "square";
|
|
20
21
|
const iconButtonShapeCircle = "circle";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconName } from '@vfde-react/inline-icon-library';
|
|
1
|
+
import { IconName } from '@vfde-react/inline-icon-library/IconName';
|
|
2
2
|
import { ButtonHTMLAttributes } from 'react';
|
|
3
3
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
4
|
import { ButtonAppearances } from '../../foundations/types/ButtonAppearances';
|