@vodafone_de/brix-components 7.0.6 → 7.0.8-renderer-7f7c8f4cc4dca34d63016c96d7cffbd763fed2dd
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/{BackgroundColor-e0N9tdDR.js → BackgroundColor-DSOSZvNi.js} +2 -2
- package/dist/{BorderColor-BummoQ1-.js → BorderColor-CYdSW9dg.js} +5 -5
- package/dist/{BorderWidth-DfOlyKK7.js → BorderWidth-CTOda7Cp.js} +5 -5
- package/dist/{FontWeight-DEBGHbtO.js → FontWeight-C2pGs7aR.js} +2 -2
- package/dist/{HeadingSize-CfCRn3Lh.js → HeadingSize-BoyxJlpz.js} +2 -2
- package/dist/NotificationErrorIcon-DMnAJgPN.js +83 -0
- package/dist/{ObjectColor-BZDBuV8H.js → ObjectColor-DSUXMO7l.js} +6 -6
- package/dist/Spacing-BzNNxYMI.js +25 -0
- package/dist/{TextColor-DsntmDNw.js → TextColor-BXVMXUVE.js} +2 -2
- package/dist/{colorUtils-BSfFfgbi.js → colorUtils-t7G6Q5ev.js} +1 -1
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/index.js +52 -9
- package/dist/components/Accordion/props.d.ts +1 -1
- package/dist/components/Accordion/styled.d.ts +1 -1
- package/dist/components/Accordion/validate.d.ts +3 -0
- package/dist/components/Accordion/validate.test.d.ts +1 -0
- package/dist/components/AccordionGroup/index.d.ts +1 -0
- package/dist/components/AccordionGroup/index.js +41 -4
- package/dist/components/AccordionGroup/validate.d.ts +3 -0
- package/dist/components/AccordionGroup/validate.test.d.ts +1 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Badge/index.js +15 -5
- package/dist/components/Badge/props.d.ts +13 -9
- package/dist/components/Badge/validate.d.ts +5 -0
- package/dist/components/Badge/validate.test.d.ts +1 -0
- package/dist/components/Body/index.d.ts +1 -0
- package/dist/components/Body/index.js +44 -5
- package/dist/components/Body/props.d.ts +3 -3
- package/dist/components/Body/validate.d.ts +8 -0
- package/dist/components/Body/validate.test.d.ts +1 -0
- package/dist/components/BottomBar/index.js +3 -3
- package/dist/components/Button/ButtonAppearanceHelper.d.ts +1 -1
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +10 -7
- package/dist/components/Button/props.d.ts +0 -5
- package/dist/components/Button/styled.d.ts +1 -1
- package/dist/components/Button/validate.d.ts +6 -0
- package/dist/components/Button/validate.test.d.ts +1 -0
- package/dist/components/ButtonAsLink/index.d.ts +1 -0
- package/dist/components/ButtonAsLink/index.js +6 -2
- package/dist/components/ButtonAsLink/validate.d.ts +4 -0
- package/dist/components/ButtonAsLink/validate.test.d.ts +1 -0
- package/dist/components/ButtonGroup/index.d.ts +1 -0
- package/dist/components/ButtonGroup/index.js +49 -5
- package/dist/components/ButtonGroup/validate.d.ts +6 -0
- package/dist/components/ButtonGroup/validate.test.d.ts +1 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Card/index.js +35 -4
- package/dist/components/Card/props.d.ts +3 -3
- package/dist/components/Card/validate.d.ts +5 -0
- package/dist/components/Card/validate.test.d.ts +1 -0
- package/dist/components/Carousel/components/CarouselNavigation.d.ts +0 -2
- package/dist/components/Carousel/index.js +8 -8
- package/dist/components/Checkbox/index.js +7 -5
- package/dist/components/CheckboxGroup/index.js +3 -3
- package/dist/components/Collapsible/index.js +4 -4
- package/dist/components/ColorSwatch/index.d.ts +1 -0
- package/dist/components/ColorSwatch/index.js +31 -6
- package/dist/components/ColorSwatch/validate.d.ts +4 -0
- package/dist/components/ColorSwatch/validate.test.d.ts +1 -0
- package/dist/components/ColorSwatchGroup/index.d.ts +1 -0
- package/dist/components/ColorSwatchGroup/index.js +35 -6
- package/dist/components/ColorSwatchGroup/props.d.ts +1 -1
- package/dist/components/ColorSwatchGroup/validate.d.ts +4 -0
- package/dist/components/ColorSwatchGroup/validate.test.d.ts +1 -0
- package/dist/components/ConsentMessage/index.d.ts +1 -0
- package/dist/components/ConsentMessage/index.js +6 -5
- package/dist/components/Container/index.d.ts +1 -0
- package/dist/components/Container/index.js +36 -65
- package/dist/components/Container/props.d.ts +14 -3
- package/dist/components/Container/validate.d.ts +5 -0
- package/dist/components/Container/validate.test.d.ts +1 -0
- package/dist/components/DateInput/index.js +5 -3
- package/dist/components/DateInput/styled.d.ts +1 -2
- package/dist/components/DemoBox/index.js +6 -4
- package/dist/components/Dialog/index.js +7 -7
- package/dist/components/DiscoveryCard/components/DiscoveryCardLinkedImage.d.ts +1 -1
- package/dist/components/DiscoveryCard/index.d.ts +1 -0
- package/dist/components/DiscoveryCard/index.js +72 -15
- package/dist/components/DiscoveryCard/props.d.ts +3 -3
- package/dist/components/DiscoveryCard/styled.d.ts +1 -1
- package/dist/components/DiscoveryCard/validate.d.ts +3 -0
- package/dist/components/DiscoveryCard/validate.test.d.ts +1 -0
- package/dist/components/DiscoveryCardGroup/index.d.ts +1 -0
- package/dist/components/DiscoveryCardGroup/index.js +52 -37
- package/dist/components/DiscoveryCardGroup/validate.d.ts +3 -0
- package/dist/components/DiscoveryCardGroup/validate.test.d.ts +1 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Divider/index.js +17 -25
- package/dist/components/Divider/validate.d.ts +3 -0
- package/dist/components/Divider/validate.test.d.ts +1 -0
- package/dist/components/Fieldset/index.js +3 -3
- package/dist/components/FilterGroup/index.js +11 -9
- 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/Flex/props.d.ts +1 -1
- package/dist/components/FlexItem/index.js +2 -2
- package/dist/components/FootnoteContent/index.js +3 -3
- package/dist/components/FootnoteLink/index.js +2 -2
- package/dist/components/Form/index.js +2 -2
- package/dist/components/FormElement/index.js +1 -1
- package/dist/components/FormHelperLabel/index.js +1 -1
- package/dist/components/FormHelperMessage/index.js +2 -2
- package/dist/components/FormHelperStatusIcon/index.d.ts +1 -1
- package/dist/components/FormHelperStatusIcon/index.js +3 -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 +5 -5
- package/dist/components/Grid/index.d.ts +1 -0
- package/dist/components/Grid/index.js +39 -4
- package/dist/components/Grid/props.d.ts +5 -5
- package/dist/components/Grid/validate.d.ts +6 -0
- package/dist/components/Grid/validate.test.d.ts +1 -0
- package/dist/components/GridItem/index.d.ts +1 -0
- package/dist/components/GridItem/index.js +32 -3
- package/dist/components/GridItem/props.d.ts +2 -2
- package/dist/components/GridItem/validate.d.ts +5 -0
- package/dist/components/GridItem/validate.test.d.ts +1 -0
- package/dist/components/Heading/index.d.ts +1 -0
- package/dist/components/Heading/index.js +50 -13
- package/dist/components/Heading/props.d.ts +5 -11
- package/dist/components/Heading/styled.d.ts +2 -2
- package/dist/components/Heading/validate.d.ts +9 -0
- package/dist/components/Heading/validate.test.d.ts +1 -0
- package/dist/components/HifiIcon/index.js +2 -2
- 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 -4
- package/dist/components/IconButton/index.js +7 -5
- package/dist/components/IconButton/props.d.ts +1 -1
- package/dist/components/IconLoader/index.d.ts +10 -0
- package/dist/components/IconLoader/index.js +9 -0
- package/dist/components/IconLoader/props.d.ts +23 -0
- package/dist/components/IconLoader/validate.d.ts +4 -0
- package/dist/components/IconLoader/validate.test.d.ts +1 -0
- package/dist/components/IconSnippet/index.js +7 -5
- package/dist/components/IconSnippet/props.d.ts +1 -1
- package/dist/components/IconSnippet/styled.d.ts +1 -1
- package/dist/components/IconSnippetList/index.js +2 -2
- package/dist/components/Image/index.d.ts +1 -0
- package/dist/components/Image/index.js +47 -3
- package/dist/components/Image/validate.d.ts +8 -0
- package/dist/components/Image/validate.test.d.ts +1 -0
- package/dist/components/ImageHeader/index.js +8 -8
- package/dist/components/ImageHeader/props.d.ts +3 -3
- package/dist/components/InlineIcon/index.d.ts +6 -0
- package/dist/components/InlineIcon/index.js +36 -0
- package/dist/components/InlineIcon/props.d.ts +42 -0
- package/dist/components/InlineIcon/styled.d.ts +4 -0
- package/dist/components/InlineIcon/validate.d.ts +4 -0
- package/dist/components/InlineLink/index.d.ts +1 -0
- package/dist/components/InlineLink/index.js +28 -6
- package/dist/components/InlineLink/validate.d.ts +3 -0
- package/dist/components/InlineLink/validate.test.d.ts +1 -0
- package/dist/components/Input/index.js +2 -2
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/Link/index.js +35 -2
- package/dist/components/Link/validate.d.ts +3 -0
- package/dist/components/Link/validate.test.d.ts +1 -0
- package/dist/components/LinkAsButton/index.d.ts +1 -0
- package/dist/components/LinkAsButton/index.js +4 -2
- package/dist/components/LinkAsButton/validate.d.ts +3 -0
- package/dist/components/LinkAsButton/validate.test.d.ts +1 -0
- package/dist/components/LinkList/index.js +4 -4
- package/dist/components/LinkListItem/index.js +16 -14
- package/dist/components/LinkListItem/props.d.ts +2 -2
- package/dist/components/LinkListItem/styled.d.ts +2 -2
- package/dist/components/LoadingSpinner/index.js +12 -5
- package/dist/components/LoadingSpinner/styled.d.ts +1 -1
- package/dist/components/MediaText/index.js +26 -26
- package/dist/components/MediaText/props.d.ts +9 -9
- package/dist/components/MediaText/styled.d.ts +3 -3
- package/dist/components/Notification/index.js +10 -8
- package/dist/components/Notification/notificationStatusVariants.d.ts +1 -1
- package/dist/components/Overlay/index.js +2 -2
- 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 +12 -10
- package/dist/components/Price/index.d.ts +1 -0
- package/dist/components/Price/index.js +8 -5
- package/dist/components/Price/props.d.ts +2 -9
- package/dist/components/Price/styled.d.ts +1 -1
- package/dist/components/Price/validate.d.ts +6 -0
- package/dist/components/Price/validate.test.d.ts +1 -0
- package/dist/components/ProductCard/index.js +9 -8
- package/dist/components/ProductCard/styled.d.ts +1 -1
- package/dist/components/RadioGroup/index.js +5 -5
- package/dist/components/Rating/index.js +5 -5
- package/dist/components/ResponsiveImage/index.js +2 -2
- package/dist/components/ResponsiveImage/props.d.ts +1 -1
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichText/parseHtml.d.ts +1 -1
- package/dist/components/RichText/props.d.ts +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 +2 -5
- package/dist/components/SelectInput/index.js +8 -6
- package/dist/components/Stepper/index.js +5 -5
- package/dist/components/SuggestInput/index.js +10 -8
- package/dist/components/SuggestInput/props.d.ts +1 -1
- package/dist/components/SuggestInput/styled.d.ts +2 -2
- package/dist/components/Switch/index.js +10 -8
- package/dist/components/TabularPrice/index.js +2 -2
- package/dist/components/TabularPrice/props.d.ts +1 -1
- package/dist/components/TextList/index.js +3 -3
- package/dist/components/TextList/props.d.ts +3 -3
- package/dist/components/Textarea/index.js +6 -6
- package/dist/components/TimeInput/index.js +7 -5
- package/dist/components/TimeInput/styled.d.ts +1 -4
- package/dist/components/Tray/index.js +6 -6
- package/dist/components/Tray/props.d.ts +1 -1
- package/dist/components/YoutubeVideo/index.js +2 -2
- package/dist/components/YoutubeVideo/props.d.ts +1 -1
- package/dist/contentful/LegibleContent.d.ts +20 -0
- package/dist/contentful/componentInspectorField.d.ts +5 -0
- package/dist/contentful/componentNameToComponent.d.ts +6 -0
- package/dist/contentful/index.d.ts +1 -0
- package/dist/contentful/index.js +25 -0
- package/dist/contentful/live-preview-inspector/index.d.ts +2 -0
- package/dist/contentful/live-preview-inspector/index.js +65 -0
- package/dist/contentful/live-preview-inspector/props.d.ts +1 -0
- package/dist/contentful/live-preview-renderer/index.d.ts +5 -0
- package/dist/contentful/live-preview-renderer/index.js +7 -0
- package/dist/contentful/live-preview-renderer/props.d.ts +3 -0
- package/dist/contentful/map/MapFunction.d.ts +4 -0
- package/dist/contentful/map/badge.d.ts +4 -0
- package/dist/contentful/map/body.d.ts +4 -0
- package/dist/contentful/map/button.d.ts +5 -0
- package/dist/contentful/map/card.d.ts +5 -0
- package/dist/contentful/map/container.d.ts +7 -0
- package/dist/contentful/map/discovery-card-group.d.ts +5 -0
- package/dist/contentful/map/discovery-card.d.ts +5 -0
- package/dist/contentful/map/divider.d.ts +4 -0
- package/dist/contentful/map/heading.d.ts +5 -0
- package/dist/contentful/map/icon-loader.d.ts +5 -0
- package/dist/contentful/map/image.d.ts +4 -0
- package/dist/contentful/map/link.d.ts +5 -0
- package/dist/contentful/map/mapContentToComponents.d.ts +20 -0
- package/dist/contentful/map/price.d.ts +4 -0
- package/dist/contentful/map/richtext.d.ts +8 -0
- package/dist/contentful/renderer/index.d.ts +5 -0
- package/dist/contentful/renderer/index.js +17 -0
- package/dist/contentful/renderer/props.d.ts +7 -0
- package/dist/contentful/transform/transformBottomSpacing.d.ts +2 -0
- package/dist/contentful/transform/transformIconSize.d.ts +2 -0
- package/dist/{easing-Dm-pO8SY.js → easing-CDd2rVn6.js} +2 -2
- package/dist/filterProps-C73Li8Na.js +13 -0
- package/dist/foundations/GlobalStyle/index.js +1 -1
- package/dist/foundations/PatternProps/index.d.ts +1 -1
- package/dist/foundations/cssVars.d.ts +2 -2
- package/dist/foundations/tags.d.ts +2 -0
- package/dist/foundations/token/getBackgroundColor/index.d.ts +1 -1
- package/dist/foundations/token/getBodySize/index.d.ts +1 -1
- package/dist/foundations/token/getBorderColor/index.d.ts +1 -1
- package/dist/foundations/token/getBorderRadius/index.d.ts +1 -1
- package/dist/foundations/token/getBorderWidth/index.d.ts +1 -1
- package/dist/foundations/token/getFontWeight/index.d.ts +1 -1
- package/dist/foundations/token/getHeadingSize/index.d.ts +1 -1
- package/dist/foundations/token/getHoverColor/index.d.ts +2 -2
- package/dist/foundations/token/getIconColor/index.d.ts +1 -1
- package/dist/foundations/token/getObjectColor/index.d.ts +1 -1
- package/dist/foundations/token/getOpacity/index.d.ts +1 -1
- package/dist/foundations/token/getPressColor/index.d.ts +2 -2
- package/dist/foundations/token/getSpacing/index.d.ts +1 -1
- package/dist/foundations/token/getTextColor/index.d.ts +1 -1
- package/dist/foundations/token/getTextDecoration/index.d.ts +1 -1
- package/dist/foundations/types/PositionedIconInterface.d.ts +1 -1
- package/dist/foundations/{token/types → types}/Spacing.d.ts +1 -0
- package/dist/foundations/types/SystemIconWithPosition.d.ts +1 -1
- package/dist/hooks/useViewport/index.d.ts +1 -1
- package/dist/icons/index.d.ts +0 -1
- package/dist/icons/index.js +1 -603
- package/dist/{index-DQhtQZ85.js → index-BI5Xlys3.js} +1 -1
- package/dist/{index-CKvLGUdD.js → index-BUCDNHMw.js} +49 -8
- package/dist/index-CN-gxxgB.js +99 -0
- package/dist/{index-WLBo71sp.js → index-CiBLxGmR.js} +55 -29
- package/dist/index-DEYEyjbU.js +20136 -0
- package/dist/index-Dv7RoWED.js +600 -0
- package/dist/{index-DrySIh-D.js → index-E8AZ8kiW.js} +38 -8
- package/dist/{index-BRs8j3Vq.js → index-nyF1sqYr.js} +5 -5
- package/dist/index.d.ts +8 -0
- package/dist/index.js +221 -118
- package/dist/isBottomSpacing-DSLyqm7h.js +10 -0
- package/dist/isObject-BYBrvoVW.js +19 -0
- package/dist/props-7dcsjRUx.js +28 -0
- package/dist/{styled-CYugcGtx.js → styled-8Td4Oj0t.js} +4 -4
- package/dist/{styled-03irSJOQ.js → styled-9UD_-g7q.js} +6 -6
- package/dist/{styled-ODPFCF1a.js → styled-AUfIpwZf.js} +4 -4
- package/dist/styled-COXTMhJ1.js +27 -0
- package/dist/styled-DSAEfZJQ.js +69 -0
- package/dist/{styled-B0YKfXTz.js → styled-DTFUPagl.js} +2 -2
- package/dist/{styled-DLS1p_AJ.js → styled-D_wUvoV0.js} +13 -9
- package/dist/{styled-ZpQohvyx.js → styled-DrQft35m.js} +2 -2
- package/dist/{styled-DMUiOi24.js → styled-DtJ7ZhhG.js} +4 -4
- package/dist/{index-57IF0yrd.js → styled-DwtGn2if.js} +5 -20
- package/dist/styled-HZzB_zPP.js +53 -0
- package/dist/styled-Lkb8cDS-.js +42 -0
- package/dist/{styled-Cqp2oSjW.js → styled-oOq50bDL.js} +4 -4
- package/dist/{tags-DI6H1biK.js → tags-CixnzWW0.js} +17 -8
- package/package.json +5 -1
- package/dist/Spacing-D0HQH9YJ.js +0 -16
- package/dist/filterProps-Cewck8OH.js +0 -13
- package/dist/index-Cbojl4_Q.js +0 -7134
- /package/dist/foundations/{token/types → types}/BackgroundColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/BorderColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/BorderRadius.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/BorderWidth.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/FontWeight.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/HeadingSize.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/IconColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/ObjectColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/Opacity.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/TextBodySize.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/TextColor.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/TextDecoration.d.ts +0 -0
- /package/dist/foundations/{token/types → types}/Viewport.d.ts +0 -0
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
import Image, { aspectRatio1_1 } from "../Image/index.js";
|
|
5
|
-
import { f as fontWeightBold } from "../../FontWeight-DEBGHbtO.js";
|
|
6
|
-
import { a as textHeadingMd } from "../../HeadingSize-CfCRn3Lh.js";
|
|
7
|
-
import { s as spacingMd, b as spacingNone } from "../../Spacing-D0HQH9YJ.js";
|
|
8
|
-
import { B as Badge } from "../../index-CKvLGUdD.js";
|
|
3
|
+
import { B as Badge } from "../../index-BUCDNHMw.js";
|
|
9
4
|
import Body from "../Body/index.js";
|
|
10
5
|
import ColorSwatchGroup from "../ColorSwatchGroup/index.js";
|
|
11
6
|
import Heading from "../Heading/index.js";
|
|
7
|
+
import Image, { aspectRatio1_1 } from "../Image/index.js";
|
|
8
|
+
import { d as iconSizeLg } from "../../props-7dcsjRUx.js";
|
|
9
|
+
import "../../styled-HZzB_zPP.js";
|
|
12
10
|
import Link from "../Link/index.js";
|
|
13
|
-
import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-
|
|
11
|
+
import { P as Price, d as priceSizeMd, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-CiBLxGmR.js";
|
|
12
|
+
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
13
|
+
import { a as textHeadingMd } from "../../HeadingSize-BoyxJlpz.js";
|
|
14
|
+
import { s as spacingMd, b as spacingNone } from "../../Spacing-BzNNxYMI.js";
|
|
14
15
|
import styled from "styled-components";
|
|
15
|
-
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
16
16
|
import Card from "../Card/index.js";
|
|
17
17
|
import Icon from "../Icon/index.js";
|
|
18
|
+
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
18
19
|
const ProductCardStyled = styled(Card).withConfig({
|
|
19
20
|
displayName: "ProductCardStyled",
|
|
20
21
|
componentId: "sc-1ps8gys-0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CardProps } from '../Card/props';
|
|
2
2
|
import { IconProps } from '../Icon/props';
|
|
3
3
|
export declare const ProductCardStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<CardProps, CardProps>> & string & Omit<import('react').FC<CardProps>, keyof import('react').Component<any, {}, any>>;
|
|
4
|
-
export declare const ProductCardIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('
|
|
4
|
+
export declare const ProductCardIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../IconLoader').IconLoaderProps | IconProps | import('../HifiIcon').HifiIconProps, IconProps>> & string & Omit<import('react').FC<import('../IconLoader').IconLoaderProps | IconProps | import('../HifiIcon').HifiIconProps>, keyof import('react').Component<any, {}, any>>;
|
|
5
5
|
export declare const ProductCardUpperContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement>, never>> & string;
|
|
6
6
|
export declare const ProductCardImageStyled: 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,7 +4,7 @@ import { useState, useRef, useEffect, createElement } from "react";
|
|
|
4
4
|
import Fieldset from "../Fieldset/index.js";
|
|
5
5
|
import Flex from "../Flex/index.js";
|
|
6
6
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
7
|
-
import { a as spacingXs, b as spacingNone, c as spacingSm } from "../../Spacing-
|
|
7
|
+
import { a as spacingXs, b as spacingNone, c as spacingSm } from "../../Spacing-BzNNxYMI.js";
|
|
8
8
|
import styled from "styled-components";
|
|
9
9
|
import Label from "../Label/index.js";
|
|
10
10
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -14,12 +14,12 @@ import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.j
|
|
|
14
14
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
15
15
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
16
16
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
17
|
-
import { c as colorBorderFocus, e as colorBorderCritical,
|
|
17
|
+
import { c as colorBorderFocus, e as colorBorderCritical, j as colorBorderSelected, b as colorBorderUnselected } from "../../BorderColor-CYdSW9dg.js";
|
|
18
18
|
import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
19
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
20
|
-
import { b as colorObjectSelected, a as colorObjectInverse } from "../../ObjectColor-
|
|
19
|
+
import { a as borderWidthFocus } from "../../BorderWidth-CTOda7Cp.js";
|
|
20
|
+
import { b as colorObjectSelected, a as colorObjectInverse } from "../../ObjectColor-DSUXMO7l.js";
|
|
21
21
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
22
|
-
import { f as filterProps } from "../../filterProps-
|
|
22
|
+
import { f as filterProps } from "../../filterProps-C73Li8Na.js";
|
|
23
23
|
const RadioContainer = styled(Flex).withConfig({
|
|
24
24
|
shouldForwardProp: filterProps(["disabled"]),
|
|
25
25
|
displayName: "RadioContainer",
|
|
@@ -9,11 +9,11 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
9
9
|
import { getHoverColor } from "../../foundations/token/getHoverColor/index.js";
|
|
10
10
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
11
11
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
12
|
-
import { c as colorBackgroundNeutral } from "../../BackgroundColor-
|
|
13
|
-
import { c as colorBorderFocus,
|
|
14
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
15
|
-
import { b as colorObjectSelected } from "../../ObjectColor-
|
|
16
|
-
import { a as spacingXs } from "../../Spacing-
|
|
12
|
+
import { c as colorBackgroundNeutral } from "../../BackgroundColor-DSOSZvNi.js";
|
|
13
|
+
import { c as colorBorderFocus, j as colorBorderSelected, a as colorBorderNeutral, b as colorBorderUnselected } from "../../BorderColor-CYdSW9dg.js";
|
|
14
|
+
import { a as borderWidthFocus } from "../../BorderWidth-CTOda7Cp.js";
|
|
15
|
+
import { b as colorObjectSelected } from "../../ObjectColor-DSUXMO7l.js";
|
|
16
|
+
import { a as spacingXs } from "../../Spacing-BzNNxYMI.js";
|
|
17
17
|
const StarSVGBase = (props) => {
|
|
18
18
|
const viewport = useViewport();
|
|
19
19
|
let width = 32;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { v as viewport, a as breakpoint_large, c as breakpoint_medium } from "../../index-Ck2bCrhT.js";
|
|
4
|
-
import { s as spacingMd } from "../../Spacing-
|
|
4
|
+
import { s as spacingMd } from "../../Spacing-BzNNxYMI.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
7
7
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
8
8
|
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
9
|
-
import { f as filterProps } from "../../filterProps-
|
|
9
|
+
import { f as filterProps } from "../../filterProps-C73Li8Na.js";
|
|
10
10
|
const ResponsiveImagePictureStyled = styled.picture.withConfig({
|
|
11
11
|
shouldForwardProp: filterProps(),
|
|
12
12
|
displayName: "ResponsiveImagePictureStyled",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { ImageProps } from '../Image/props';
|
|
3
3
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
-
import { ViewportName } from '../../foundations/
|
|
4
|
+
import { ViewportName } from '../../foundations/types/Viewport.ts';
|
|
5
5
|
export type ResponsiveImageType = {
|
|
6
6
|
sm: ImageProps;
|
|
7
7
|
} & {
|
|
@@ -2,7 +2,7 @@ import { BodyProps } from '../Body/props';
|
|
|
2
2
|
import { HeadingProps } from '../Heading/props';
|
|
3
3
|
import { InlineLinkProps } from '../InlineLink/props';
|
|
4
4
|
import { TextListItemProps, TextListProps } from '../TextList/props';
|
|
5
|
-
import { Spacing } from '../../foundations/
|
|
5
|
+
import { Spacing } from '../../foundations/types/Spacing.ts';
|
|
6
6
|
export type RichTextTagProps = {
|
|
7
7
|
heading?: Omit<HeadingProps, 'children'>;
|
|
8
8
|
li?: Omit<TextListItemProps, 'children'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { RichTextTagProps } from './parseHtml';
|
|
3
3
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
-
import { Spacing } from '../../foundations/
|
|
4
|
+
import { Spacing } from '../../foundations/types/Spacing.ts';
|
|
5
5
|
export interface RichTextProps extends PatternProps, HTMLAttributes<HTMLDivElement> {
|
|
6
6
|
/**
|
|
7
7
|
* Pin component's name from string to the concrete name
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
1
2
|
import { SearchInputProps } from './props';
|
|
2
|
-
declare const SearchInput:
|
|
3
|
+
declare const SearchInput: FC<SearchInputProps>;
|
|
3
4
|
export default SearchInput;
|
|
4
5
|
export * from './props';
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
import { forwardRef, useState, useRef, useImperativeHandle } from "react";
|
|
2
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useRef } from "react";
|
|
5
4
|
import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
6
5
|
import IconButton, { iconButtonShapeSquare } from "../IconButton/index.js";
|
|
7
|
-
import { b as
|
|
8
|
-
import
|
|
6
|
+
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
7
|
+
import "../../styled-HZzB_zPP.js";
|
|
8
|
+
import { p as primaryAppearance } from "../../styled-D_wUvoV0.js";
|
|
9
|
+
import { s as spacingMd, b as spacingNone } from "../../Spacing-BzNNxYMI.js";
|
|
9
10
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
10
|
-
import
|
|
11
|
+
import { c as CloseIcon } from "../../index-DEYEyjbU.js";
|
|
11
12
|
import styled from "styled-components";
|
|
12
|
-
import { I as InputWrapperStyled, a as InputStyled } from "../../styled-
|
|
13
|
+
import { I as InputWrapperStyled, a as InputStyled } from "../../styled-9UD_-g7q.js";
|
|
14
|
+
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
13
15
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
14
|
-
import { f as filterProps } from "../../filterProps-
|
|
16
|
+
import { f as filterProps } from "../../filterProps-C73Li8Na.js";
|
|
15
17
|
const SearchInputButtonWrapperStyled = styled.div.withConfig({
|
|
16
18
|
shouldForwardProp: filterProps(),
|
|
17
19
|
displayName: "SearchInputButtonWrapperStyled",
|
|
@@ -21,7 +23,11 @@ const SearchInputButtonWrapperStyled = styled.div.withConfig({
|
|
|
21
23
|
":where(:focus,:focus-visible,:focus-within)": {
|
|
22
24
|
zIndex: 1
|
|
23
25
|
}
|
|
24
|
-
}
|
|
26
|
+
}, ({
|
|
27
|
+
bottomSpacing = spacingMd
|
|
28
|
+
}) => getBottomSpacing({
|
|
29
|
+
bottomSpacing
|
|
30
|
+
}));
|
|
25
31
|
const SearchInputWrapperStyled = styled(InputWrapperStyled).withConfig({
|
|
26
32
|
shouldForwardProp: filterProps(),
|
|
27
33
|
displayName: "SearchInputWrapperStyled",
|
|
@@ -79,7 +85,7 @@ const SearchInputStyled = styled(InputStyled).withConfig({
|
|
|
79
85
|
WebkitAppearance: "none"
|
|
80
86
|
}
|
|
81
87
|
});
|
|
82
|
-
const SearchInput =
|
|
88
|
+
const SearchInput = ({
|
|
83
89
|
uid,
|
|
84
90
|
label,
|
|
85
91
|
bottomSpacing = spacingMd,
|
|
@@ -91,11 +97,10 @@ const SearchInput = forwardRef(({
|
|
|
91
97
|
onReset,
|
|
92
98
|
disabled,
|
|
93
99
|
...props
|
|
94
|
-
}
|
|
100
|
+
}) => {
|
|
95
101
|
const initialValueState = !props.value ? "" : props.value;
|
|
96
102
|
const [value, setValue] = useState(initialValueState);
|
|
97
|
-
const
|
|
98
|
-
useImperativeHandle(ref, () => inputRef.current, []);
|
|
103
|
+
const ref = useRef(null);
|
|
99
104
|
const inputProps = {
|
|
100
105
|
...props,
|
|
101
106
|
id: uid
|
|
@@ -106,35 +111,31 @@ const SearchInput = forwardRef(({
|
|
|
106
111
|
props.onChange(event);
|
|
107
112
|
}
|
|
108
113
|
};
|
|
109
|
-
const onSubmit = (e) => {
|
|
110
|
-
e.preventDefault();
|
|
111
|
-
const formElement = e.target;
|
|
112
|
-
if (onSearch) {
|
|
113
|
-
onSearch(formElement.getElementsByTagName("input")[0].value);
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
114
|
const resetButtonHandler = () => {
|
|
117
115
|
var _a;
|
|
118
116
|
if (disabled) return;
|
|
119
117
|
setValue("");
|
|
120
|
-
|
|
118
|
+
ref && ((_a = ref.current) == null ? void 0 : _a.focus());
|
|
121
119
|
onReset && onReset();
|
|
122
120
|
};
|
|
123
121
|
const resetHandler = (e) => {
|
|
124
122
|
if (e.key === "Escape" && onReset && value !== "") onReset();
|
|
125
123
|
props.onKeyDown && props.onKeyDown(e);
|
|
126
124
|
};
|
|
127
|
-
|
|
125
|
+
const onSubmit = () => {
|
|
126
|
+
onSearch && onSearch(value);
|
|
127
|
+
};
|
|
128
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
128
129
|
!hideLabel && /* @__PURE__ */ jsx(FormHelperLabel, { label, uid }),
|
|
129
|
-
/* @__PURE__ */ jsxs(SearchInputButtonWrapperStyled, { children: [
|
|
130
|
+
/* @__PURE__ */ jsxs(SearchInputButtonWrapperStyled, { bottomSpacing, children: [
|
|
130
131
|
/* @__PURE__ */ jsxs(SearchInputWrapperStyled, { value, children: [
|
|
131
|
-
/* @__PURE__ */ jsx(SearchInputStyled, { ...inputProps, ref
|
|
132
|
+
/* @__PURE__ */ jsx(SearchInputStyled, { ...inputProps, ref, onChange, onKeyDown: resetHandler, type: "search", value, "aria-label": hideLabel && typeof label === "string" ? label : void 0, placeholder: renderInlineRichTextFromOpenText(placeholder) }),
|
|
132
133
|
value && /* @__PURE__ */ jsx(SearchInputCloseButtonStyled, { type: "button", "aria-hidden": true, onClick: resetButtonHandler, tabIndex: -1, disabled, children: /* @__PURE__ */ jsx(CloseIconStyled, { size: iconSizeSm, value }) })
|
|
133
134
|
] }),
|
|
134
|
-
/* @__PURE__ */ jsx(SearchInputIconButtonStyled, { iconName: "Search", label: searchButtonLabel, bottomSpacing: spacingNone, shape: iconButtonShapeSquare, appearance: buttonAppearance, type: "submit" })
|
|
135
|
+
/* @__PURE__ */ jsx(SearchInputIconButtonStyled, { iconName: "Search", label: searchButtonLabel, bottomSpacing: spacingNone, shape: iconButtonShapeSquare, appearance: buttonAppearance, type: "submit", onClick: onSubmit })
|
|
135
136
|
] })
|
|
136
137
|
] });
|
|
137
|
-
}
|
|
138
|
+
};
|
|
138
139
|
export {
|
|
139
140
|
SearchInput as default
|
|
140
141
|
};
|
|
@@ -23,7 +23,8 @@ export interface SearchInputProps extends Omit<InputSharedProps, 'status' | 'err
|
|
|
23
23
|
*/
|
|
24
24
|
searchButtonLabel: string;
|
|
25
25
|
/**
|
|
26
|
-
* Function to be used when the user searches e.g. clicks enter inside the input or clicks the search button.
|
|
26
|
+
* Function to be used when the user searches e.g. clicks enter inside the input or clicks the search button. Basically works like a forms onSubmit in case you don't provide
|
|
27
|
+
* a form which is recommended.
|
|
27
28
|
* @param query
|
|
28
29
|
*/
|
|
29
30
|
onSearch?: (query: string) => void;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { InlineIconProps } from '@vfde-react/inline-icon-library';
|
|
2
1
|
import { IconButtonProps } from '../IconButton/props';
|
|
3
2
|
import { SearchInputProps } from './props';
|
|
4
|
-
export declare const SearchInputButtonWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').
|
|
3
|
+
export declare const SearchInputButtonWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<SearchInputProps, "bottomSpacing">>> & string;
|
|
5
4
|
export declare const SearchInputWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "status" | keyof import('../..').PatternProps | "readOnly"> & import('../..').PatternProps & Pick<import('../Input').InputProps, "readOnly"> & {
|
|
6
5
|
status?: import('../Input').InputStatus;
|
|
7
6
|
}, Pick<SearchInputProps, "bottomSpacing" | "value">>> & string;
|
|
8
7
|
export declare const SearchInputIconButtonStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<IconButtonProps, IconButtonProps>> & string & Omit<import('react').FC<IconButtonProps>, keyof import('react').Component<any, {}, any>>;
|
|
9
|
-
export declare const CloseIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('
|
|
10
|
-
value: string;
|
|
11
|
-
}>> & string & Omit<import('react').FC<InlineIconProps>, keyof import('react').Component<any, {}, any>>;
|
|
8
|
+
export declare const CloseIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", any> & string & Omit<import('react').FC<InlineIconProps>, keyof import('react').Component<any, {}, any>>;
|
|
12
9
|
export declare const SearchInputCloseButtonStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Pick<SearchInputProps, "disabled">>> & string;
|
|
13
10
|
export declare const SearchInputStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import('react').InputHTMLAttributes<HTMLInputElement>> & import('react').InputHTMLAttributes<HTMLInputElement>, Omit<SearchInputProps, "uid" | "label" | "onReset" | "searchButtonLabel" | "onSearch">>> & string;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { b as ChevronDownIcon } from "../../index-DEYEyjbU.js";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import FormElement from "../FormElement/index.js";
|
|
6
6
|
import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
7
7
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
8
8
|
import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
|
|
9
|
+
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
10
|
+
import "../../styled-HZzB_zPP.js";
|
|
9
11
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
10
|
-
import { a as spacingXs, c as spacingSm, s as spacingMd } from "../../Spacing-
|
|
12
|
+
import { a as spacingXs, c as spacingSm, s as spacingMd } from "../../Spacing-BzNNxYMI.js";
|
|
11
13
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
12
14
|
import styled from "styled-components";
|
|
13
15
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -17,11 +19,11 @@ import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.j
|
|
|
17
19
|
import { getHeadingSize } from "../../foundations/token/getHeadingSize/index.js";
|
|
18
20
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
19
21
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
20
|
-
import { c as colorBackgroundNeutral } from "../../BackgroundColor-
|
|
21
|
-
import { c as colorBorderFocus, a as colorBorderNeutral, b as colorBorderUnselected, d as colorBorderSuccess, e as colorBorderCritical } from "../../BorderColor-
|
|
22
|
+
import { c as colorBackgroundNeutral } from "../../BackgroundColor-DSOSZvNi.js";
|
|
23
|
+
import { c as colorBorderFocus, a as colorBorderNeutral, b as colorBorderUnselected, d as colorBorderSuccess, e as colorBorderCritical } from "../../BorderColor-CYdSW9dg.js";
|
|
22
24
|
import { b as borderRadiusMd } from "../../BorderRadius-ClUShVLu.js";
|
|
23
|
-
import { a as colorTextNeutral } from "../../TextColor-
|
|
24
|
-
import { f as filterProps } from "../../filterProps-
|
|
25
|
+
import { a as colorTextNeutral } from "../../TextColor-BXVMXUVE.js";
|
|
26
|
+
import { f as filterProps } from "../../filterProps-C73Li8Na.js";
|
|
25
27
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
26
28
|
const SelectInputWrapperStyled = styled.div.withConfig({
|
|
27
29
|
displayName: "SelectInputWrapperStyled",
|
|
@@ -11,12 +11,12 @@ import { getBorderColor } from "../../foundations/token/getBorderColor/index.js"
|
|
|
11
11
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
12
12
|
import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
13
13
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { c as colorObjectBrand, a as colorObjectInverse } from "../../ObjectColor-
|
|
17
|
-
import { s as spacingMd } from "../../Spacing-
|
|
14
|
+
import { h as colorBorderBrand, a as colorBorderNeutral, i as colorBorderInverse } from "../../BorderColor-CYdSW9dg.js";
|
|
15
|
+
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
16
|
+
import { c as colorObjectBrand, a as colorObjectInverse } from "../../ObjectColor-DSUXMO7l.js";
|
|
17
|
+
import { s as spacingMd } from "../../Spacing-BzNNxYMI.js";
|
|
18
18
|
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
19
|
-
import { f as filterProps } from "../../filterProps-
|
|
19
|
+
import { f as filterProps } from "../../filterProps-C73Li8Na.js";
|
|
20
20
|
const StepperItemStyled = styled.li.withConfig({
|
|
21
21
|
shouldForwardProp: filterProps(),
|
|
22
22
|
displayName: "StepperItemStyled",
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { df as IconLoader, iv as iconSizeSm } from "../../index-Cbojl4_Q.js";
|
|
4
3
|
import { useState, useEffect, forwardRef, useRef, useImperativeHandle } from "react";
|
|
5
4
|
import FlexItem from "../FlexItem/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 { I as IconLoader } from "../../index-DEYEyjbU.js";
|
|
9
|
+
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
10
|
+
import "../../styled-HZzB_zPP.js";
|
|
9
11
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
10
|
-
import { I as InputWrapperStyled, a as InputStyled } from "../../styled-
|
|
11
|
-
import { c as spacingSm, a as spacingXs, s as spacingMd } from "../../Spacing-
|
|
12
|
+
import { I as InputWrapperStyled, a as InputStyled } from "../../styled-9UD_-g7q.js";
|
|
13
|
+
import { c as spacingSm, a as spacingXs, s as spacingMd } from "../../Spacing-BzNNxYMI.js";
|
|
12
14
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
13
15
|
import Body from "../Body/index.js";
|
|
14
|
-
import {
|
|
16
|
+
import { k as strongTagName } from "../../tags-CixnzWW0.js";
|
|
15
17
|
import styled from "styled-components";
|
|
16
18
|
import Card from "../Card/index.js";
|
|
17
19
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -19,8 +21,8 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
|
19
21
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
20
22
|
import { getHoverColor } from "../../foundations/token/getHoverColor/index.js";
|
|
21
23
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
22
|
-
import { c as colorBackgroundNeutral } from "../../BackgroundColor-
|
|
23
|
-
import { c as colorBorderFocus } from "../../BorderColor-
|
|
24
|
+
import { c as colorBackgroundNeutral } from "../../BackgroundColor-DSOSZvNi.js";
|
|
25
|
+
import { c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
|
|
24
26
|
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
25
27
|
import Flex from "../Flex/index.js";
|
|
26
28
|
import LoadingSpinner from "../LoadingSpinner/index.js";
|
|
@@ -28,8 +30,8 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
28
30
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
29
31
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
30
32
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
31
|
-
import { a as colorTextNeutral } from "../../TextColor-
|
|
32
|
-
import { f as filterProps } from "../../filterProps-
|
|
33
|
+
import { a as colorTextNeutral } from "../../TextColor-BXVMXUVE.js";
|
|
34
|
+
import { f as filterProps } from "../../filterProps-C73Li8Na.js";
|
|
33
35
|
const calculateListMaxHeight = (numberOfVisibleItems) => {
|
|
34
36
|
return `calc((${getSpacing(spacingSm)} * 2 + ${getBodySize(textBodyMd).fontSize} * ${getBodySize(textBodyMd).lineHeight}) * ${numberOfVisibleItems})`;
|
|
35
37
|
};
|
|
@@ -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 { InputHTMLAttributes } from 'react';
|
|
3
3
|
import { InputSharedProps } from '../Input/props';
|
|
4
4
|
export interface SuggestInputItemProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PatternProps } from '../../foundations/PatternProps';
|
|
2
|
-
import { SuggestInputProps } from './props';
|
|
3
1
|
import { FormElementProps } from '../FormElement/props.ts';
|
|
4
2
|
import { InputStatus } from '../Input/props';
|
|
3
|
+
import { PatternProps } from '../../foundations/PatternProps';
|
|
4
|
+
import { SuggestInputProps } from './props';
|
|
5
5
|
export declare const SuggestInputFormElementStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, FormElementProps>> & string;
|
|
6
6
|
export declare const SuggestInputWrapperStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "status" | keyof PatternProps | "readOnly"> & PatternProps & Pick<import('../Input/props').InputProps, "readOnly"> & {
|
|
7
7
|
status?: InputStatus;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { I as IconLoader } from "../../index-DEYEyjbU.js";
|
|
5
|
+
import { i as iconSize2xs } from "../../props-7dcsjRUx.js";
|
|
6
|
+
import "../../styled-HZzB_zPP.js";
|
|
5
7
|
import styled from "styled-components";
|
|
8
|
+
import Label from "../Label/index.js";
|
|
6
9
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
7
|
-
import {
|
|
10
|
+
import { a as ease_in_sine } from "../../easing-CDd2rVn6.js";
|
|
8
11
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
9
12
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
10
13
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
@@ -12,14 +15,13 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
12
15
|
import { getObjectColor } from "../../foundations/token/getObjectColor/index.js";
|
|
13
16
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
14
17
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
15
|
-
import { c as colorBorderFocus } from "../../BorderColor-
|
|
18
|
+
import { c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
|
|
16
19
|
import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
17
|
-
import { a as borderWidthFocus,
|
|
18
|
-
import { a as colorObjectInverse, b as colorObjectSelected, d as colorObjectUnselected } from "../../ObjectColor-
|
|
20
|
+
import { a as borderWidthFocus, d as borderWidthSm } from "../../BorderWidth-CTOda7Cp.js";
|
|
21
|
+
import { a as colorObjectInverse, b as colorObjectSelected, d as colorObjectUnselected } from "../../ObjectColor-DSUXMO7l.js";
|
|
19
22
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
20
|
-
import { a as spacingXs, s as spacingMd } from "../../Spacing-
|
|
21
|
-
import { f as filterProps } from "../../filterProps-
|
|
22
|
-
import Label from "../Label/index.js";
|
|
23
|
+
import { a as spacingXs, s as spacingMd } from "../../Spacing-BzNNxYMI.js";
|
|
24
|
+
import { f as filterProps } from "../../filterProps-C73Li8Na.js";
|
|
23
25
|
const getHandleIcon = (checked) => {
|
|
24
26
|
const iconName = checked ? "Tick" : "Close";
|
|
25
27
|
return /* @__PURE__ */ jsx(IconLoader, { size: iconSize2xs, name: iconName });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { T } from "../../index-
|
|
4
|
-
import "../../index-
|
|
3
|
+
import { T } from "../../index-CiBLxGmR.js";
|
|
4
|
+
import "../../index-BI5Xlys3.js";
|
|
5
5
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
6
6
|
export {
|
|
7
7
|
T as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PriceSharedProps } from '../Price/props';
|
|
2
|
-
import { fontWeightBold, fontWeightRegular } from '../../foundations/
|
|
2
|
+
import { fontWeightBold, fontWeightRegular } from '../../foundations/types/FontWeight.ts';
|
|
3
3
|
export type PrefixWeightBold = typeof fontWeightBold | typeof fontWeightRegular;
|
|
4
4
|
export interface TabularPriceProps extends PriceSharedProps {
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { a, T } from "../../index-
|
|
4
|
-
import "../../tags-
|
|
5
|
-
import "../../Spacing-
|
|
3
|
+
import { a, T } from "../../index-nyF1sqYr.js";
|
|
4
|
+
import "../../tags-CixnzWW0.js";
|
|
5
|
+
import "../../Spacing-BzNNxYMI.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
7
7
|
export {
|
|
8
8
|
a as TextListItem,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { PatternProps } from '../../foundations/PatternProps';
|
|
3
3
|
import { olTagName, ulTagName } from '../../foundations/tags';
|
|
4
|
-
import { FontWeight } from '../../foundations/
|
|
5
|
-
import { Spacing } from '../../foundations/
|
|
6
|
-
import { TextBodySize } from '../../foundations/
|
|
4
|
+
import { FontWeight } from '../../foundations/types/FontWeight.ts';
|
|
5
|
+
import { Spacing } from '../../foundations/types/Spacing.ts';
|
|
6
|
+
import { TextBodySize } from '../../foundations/types/TextBodySize.ts';
|
|
7
7
|
export interface TextListItemProps extends PatternProps, HTMLAttributes<HTMLLIElement> {
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
/** Pin component's name from string to the concrete name */
|
|
@@ -5,7 +5,7 @@ import FormElement from "../FormElement/index.js";
|
|
|
5
5
|
import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
6
6
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
7
7
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
8
|
-
import { c as spacingSm, d as spacingXl, s as spacingMd, a as spacingXs } from "../../Spacing-
|
|
8
|
+
import { c as spacingSm, d as spacingXl, s as spacingMd, a as spacingXs } from "../../Spacing-BzNNxYMI.js";
|
|
9
9
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
10
10
|
import styled from "styled-components";
|
|
11
11
|
import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
|
|
@@ -17,12 +17,12 @@ import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index
|
|
|
17
17
|
import { getHeadingSize } from "../../foundations/token/getHeadingSize/index.js";
|
|
18
18
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
19
19
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
20
|
-
import { a as colorBackgroundSubtle } from "../../BackgroundColor-
|
|
21
|
-
import { a as colorBorderNeutral, c as colorBorderFocus, b as colorBorderUnselected, d as colorBorderSuccess, e as colorBorderCritical } from "../../BorderColor-
|
|
20
|
+
import { a as colorBackgroundSubtle } from "../../BackgroundColor-DSOSZvNi.js";
|
|
21
|
+
import { a as colorBorderNeutral, c as colorBorderFocus, b as colorBorderUnselected, d as colorBorderSuccess, e as colorBorderCritical } from "../../BorderColor-CYdSW9dg.js";
|
|
22
22
|
import { b as borderRadiusMd } from "../../BorderRadius-ClUShVLu.js";
|
|
23
|
-
import { t as textHeadingXs } from "../../HeadingSize-
|
|
24
|
-
import { c as colorTextPlaceholder, a as colorTextNeutral } from "../../TextColor-
|
|
25
|
-
import { f as filterProps } from "../../filterProps-
|
|
23
|
+
import { t as textHeadingXs } from "../../HeadingSize-BoyxJlpz.js";
|
|
24
|
+
import { c as colorTextPlaceholder, a as colorTextNeutral } from "../../TextColor-BXVMXUVE.js";
|
|
25
|
+
import { f as filterProps } from "../../filterProps-C73Li8Na.js";
|
|
26
26
|
const TextareaWrapperStyled = styled.div.withConfig({
|
|
27
27
|
shouldForwardProp: filterProps(),
|
|
28
28
|
displayName: "TextareaWrapperStyled",
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { bm as ClockIcon, iv as iconSizeSm } from "../../index-Cbojl4_Q.js";
|
|
4
3
|
import { forwardRef, useState, useRef, useImperativeHandle, useEffect } from "react";
|
|
5
|
-
import { s as spacingMd, a as spacingXs } from "../../Spacing-D0HQH9YJ.js";
|
|
6
4
|
import FormElement from "../FormElement/index.js";
|
|
7
5
|
import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
8
6
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
9
7
|
import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
|
|
8
|
+
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
9
|
+
import "../../styled-HZzB_zPP.js";
|
|
10
10
|
import "../Input/index.js";
|
|
11
|
+
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-9UD_-g7q.js";
|
|
12
|
+
import { s as spacingMd, a as spacingXs } from "../../Spacing-BzNNxYMI.js";
|
|
13
|
+
import { C as ClockIcon } from "../../index-DEYEyjbU.js";
|
|
11
14
|
import styled from "styled-components";
|
|
12
15
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
13
16
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
14
|
-
import { c as colorBorderFocus } from "../../BorderColor-
|
|
15
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
16
|
-
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-03irSJOQ.js";
|
|
17
|
+
import { c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
|
|
18
|
+
import { a as borderWidthFocus } from "../../BorderWidth-CTOda7Cp.js";
|
|
17
19
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
18
20
|
const ClockIconStyled = styled(ClockIcon).withConfig({
|
|
19
21
|
displayName: "ClockIconStyled",
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { InlineIconProps } from '@vfde-react/inline-icon-library';
|
|
2
1
|
import { InputHTMLAttributes } from 'react';
|
|
3
|
-
export declare const ClockIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('
|
|
4
|
-
browserSupportsPicker: boolean;
|
|
5
|
-
}>> & string & Omit<import('react').FC<InlineIconProps>, keyof import('react').Component<any, {}, any>>;
|
|
2
|
+
export declare const ClockIconStyled: import('styled-components/dist/types').IStyledComponentBase<"web", any> & string & Omit<import('react').FC<InlineIconProps>, keyof import('react').Component<any, {}, any>>;
|
|
6
3
|
export declare const TimeInputStyled: 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;
|
|
@@ -4,9 +4,9 @@ import { useState, useRef, useEffect } from "react";
|
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
5
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
6
6
|
import Heading from "../Heading/index.js";
|
|
7
|
-
import {
|
|
8
|
-
import { a as textHeadingMd } from "../../HeadingSize-
|
|
9
|
-
import { s as spacingMd, b as spacingNone } from "../../Spacing-
|
|
7
|
+
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
8
|
+
import { a as textHeadingMd } from "../../HeadingSize-BoyxJlpz.js";
|
|
9
|
+
import { s as spacingMd, b as spacingNone } from "../../Spacing-BzNNxYMI.js";
|
|
10
10
|
import styled from "styled-components";
|
|
11
11
|
import Card from "../Card/index.js";
|
|
12
12
|
import Flex from "../Flex/index.js";
|
|
@@ -16,10 +16,10 @@ import { s as shadow28 } from "../../shadow-u158mzuN.js";
|
|
|
16
16
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
17
17
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
18
18
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
19
|
-
import { d as colorBackgroundOverlayStatic } from "../../BackgroundColor-
|
|
20
|
-
import { a as borderWidthFocus } from "../../BorderWidth-
|
|
19
|
+
import { d as colorBackgroundOverlayStatic } from "../../BackgroundColor-DSOSZvNi.js";
|
|
20
|
+
import { a as borderWidthFocus } from "../../BorderWidth-CTOda7Cp.js";
|
|
21
21
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
22
|
-
import { a as flexOrientationVertical } from "../../styled-
|
|
22
|
+
import { a as flexOrientationVertical } from "../../styled-DTFUPagl.js";
|
|
23
23
|
const TrayOverlayStyled = styled("div").withConfig({
|
|
24
24
|
displayName: "TrayOverlayStyled",
|
|
25
25
|
componentId: "sc-os3mq3-0"
|