@vodafone_de/brix-components 3.0.3 → 3.0.7

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.
Files changed (69) hide show
  1. package/README.md +0 -1
  2. package/dist/{TextColor-BXiR5Uq9.js → TextColor-DsntmDNw.js} +4 -4
  3. package/dist/{colorUtils-uLZF5UIN.js → colorUtils-BSfFfgbi.js} +4 -4
  4. package/dist/components/Accordion/index.js +1 -1
  5. package/dist/components/Badge/index.js +3 -3
  6. package/dist/components/Body/index.js +1 -1
  7. package/dist/components/BottomBar/index.js +1 -1
  8. package/dist/components/Button/index.js +3 -3
  9. package/dist/components/ButtonAsLink/index.js +2 -2
  10. package/dist/components/ButtonGroup/index.js +1 -1
  11. package/dist/components/Card/index.js +3 -3
  12. package/dist/components/Carousel/index.js +2 -2
  13. package/dist/components/Checkbox/index.js +1 -1
  14. package/dist/components/CheckboxGroup/index.js +1 -1
  15. package/dist/components/ColorSwatch/index.js +1 -1
  16. package/dist/components/ColorSwatchGroup/index.js +1 -1
  17. package/dist/components/Container/index.js +1 -1
  18. package/dist/components/DateInput/index.js +2 -2
  19. package/dist/components/DemoBox/index.js +2 -2
  20. package/dist/components/DiscoveryCard/index.js +4 -4
  21. package/dist/components/DiscoveryCardGroup/index.js +1 -1
  22. package/dist/components/Fieldset/index.js +1 -1
  23. package/dist/components/FilterGroup/index.js +1 -1
  24. package/dist/components/Flex/index.js +4 -4
  25. package/dist/components/FormHelperMessage/index.js +1 -1
  26. package/dist/components/GoogleMap/index.js +1 -1
  27. package/dist/components/GridItem/index.js +1 -1
  28. package/dist/components/Heading/index.js +2 -2
  29. package/dist/components/IconButton/index.js +1 -1
  30. package/dist/components/IconSnippet/index.js +1 -1
  31. package/dist/components/ImageHeader/index.js +4 -4
  32. package/dist/components/InlineLink/index.js +1 -1
  33. package/dist/components/Input/index.js +5 -5
  34. package/dist/components/Label/index.js +1 -1
  35. package/dist/components/Legend/index.js +1 -1
  36. package/dist/components/Link/index.js +2 -2
  37. package/dist/components/LinkAsButton/index.js +2 -2
  38. package/dist/components/LinkListItem/index.js +3 -3
  39. package/dist/components/Notification/index.js +1 -1
  40. package/dist/components/PickerGroup/index.js +4 -4
  41. package/dist/components/Price/index.js +10 -10
  42. package/dist/components/ProductCard/index.js +2 -2
  43. package/dist/components/RadioGroup/index.js +1 -1
  44. package/dist/components/RichText/index.js +1 -1
  45. package/dist/components/SearchInput/index.js +3 -3
  46. package/dist/components/SearchInput/styled.d.ts +1 -1
  47. package/dist/components/SelectInput/index.js +3 -3
  48. package/dist/components/Stepper/index.js +1 -1
  49. package/dist/components/SuggestInput/index.js +4 -4
  50. package/dist/components/TabularPrice/index.js +2 -2
  51. package/dist/components/TextList/index.js +4 -4
  52. package/dist/components/Textarea/index.js +3 -3
  53. package/dist/components/Tray/index.js +1 -1
  54. package/dist/{index-D6hvbziL.js → index-BeSd-V81.js} +15 -14
  55. package/dist/{index-B5AxA0A-.js → index-DhnCGoB_.js} +3 -3
  56. package/dist/{index-DUnDnTyk.js → index-VyKg-44v.js} +2 -2
  57. package/dist/{index-C0N671c1.js → index-ZHkR70j3.js} +4 -4
  58. package/dist/{index-CeJsIf3Z.js → index-aUJfXBUI.js} +10 -10
  59. package/dist/index.js +288 -0
  60. package/dist/{props-Czq9XX2J.js → props-DDpgcryb.js} +2 -2
  61. package/dist/renderInlineRichTextFromOpenText-RvOG3QbI.js +13 -0
  62. package/dist/{styled-CpoX5USb.js → styled-B0YKfXTz.js} +2 -2
  63. package/dist/{styled-Wlt68LfQ.js → styled-ChvU5bUu.js} +2 -2
  64. package/dist/{styled-BPTa90Cm.js → styled-CuLmB_mg.js} +1 -1
  65. package/dist/{styled-CXSdomF5.js → styled-ODPFCF1a.js} +1 -1
  66. package/dist/{styled-BpvuD699.js → styled-WguHd6ON.js} +3 -3
  67. package/dist/{styled-CDWclYAa.js → styled-zTRfFBiH.js} +1 -1
  68. package/package.json +7 -11
  69. package/dist/renderInlineRichTextFromOpenText-CA52y1-B.js +0 -2383
@@ -1,6 +1,6 @@
1
1
  const inputStateSuccess = "success";
2
2
  const inputStateError = "error";
3
3
  export {
4
- inputStateSuccess as a,
5
- inputStateError as i
4
+ inputStateError as a,
5
+ inputStateSuccess as i
6
6
  };
@@ -0,0 +1,13 @@
1
+ import parse from "html-react-parser";
2
+ const renderInlineRichTextFromOpenText = (fromCms) => {
3
+ if (typeof fromCms === "string") {
4
+ return parse(fromCms);
5
+ }
6
+ if (Array.isArray(fromCms)) {
7
+ return fromCms.map(renderInlineRichTextFromOpenText);
8
+ }
9
+ return fromCms;
10
+ };
11
+ export {
12
+ renderInlineRichTextFromOpenText as r
13
+ };
@@ -62,8 +62,8 @@ const FlexStyled = styled.div.withConfig({
62
62
  }));
63
63
  export {
64
64
  FlexStyled as F,
65
- flexJustifyStart as a,
66
- flexOrientationVertical as b,
65
+ flexOrientationVertical as a,
66
+ flexJustifyStart as b,
67
67
  flexJustifyEnd as c,
68
68
  flexJustifyCenter as d,
69
69
  flexJustifyBetween as e,
@@ -1,6 +1,6 @@
1
1
  import styled from "styled-components";
2
- import { C as CardStyled } from "./styled-BpvuD699.js";
3
- import { D as DemoBoxStyled } from "./styled-CXSdomF5.js";
2
+ import { a as CardStyled } from "./styled-WguHd6ON.js";
3
+ import { D as DemoBoxStyled } from "./styled-ODPFCF1a.js";
4
4
  import { v as viewport } from "./index-Ck2bCrhT.js";
5
5
  import { getSpacing } from "./foundations/token/getSpacing/index.js";
6
6
  import { s as spacingMd } from "./Spacing-D0HQH9YJ.js";
@@ -10,7 +10,7 @@ import { getPressColor } from "./foundations/token/getPressColor/index.js";
10
10
  import { c as colorBorderFocus } from "./BorderColor-BummoQ1-.js";
11
11
  import { a as borderWidthFocus, d as borderWidthSelected } from "./BorderWidth-DfOlyKK7.js";
12
12
  import { f as colorObjectNeutral, c as colorObjectBrand, a as colorObjectInverse } from "./ObjectColor-BZDBuV8H.js";
13
- import { g as getForegroundColor } from "./colorUtils-uLZF5UIN.js";
13
+ import { b as getForegroundColor } from "./colorUtils-BSfFfgbi.js";
14
14
  import { v as viewport } from "./index-Ck2bCrhT.js";
15
15
  import { getBodySize } from "./foundations/token/getBodySize/index.js";
16
16
  import { getBorderRadius } from "./foundations/token/getBorderRadius/index.js";
@@ -5,7 +5,7 @@ import { getSpacing } from "./foundations/token/getSpacing/index.js";
5
5
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
6
6
  import { f as colorBorderWarning } from "./BorderColor-BummoQ1-.js";
7
7
  import { c as spacingSm, s as spacingMd } from "./Spacing-D0HQH9YJ.js";
8
- import { c as colorTextInverseStatic } from "./TextColor-BXiR5Uq9.js";
8
+ import { b as colorTextInverseStatic } from "./TextColor-DsntmDNw.js";
9
9
  import { f as filterProps } from "./filterProps-Cewck8OH.js";
10
10
  const DemoBoxStyled = styled.div.withConfig({
11
11
  shouldForwardProp: filterProps(),
@@ -8,7 +8,7 @@ import { getSpacing } from "./foundations/token/getSpacing/index.js";
8
8
  import { getTextColor } from "./foundations/token/getTextColor/index.js";
9
9
  import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
10
10
  import { s as spacingMd } from "./Spacing-D0HQH9YJ.js";
11
- import { a as colorTextNeutral } from "./TextColor-BXiR5Uq9.js";
11
+ import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
12
12
  import { f as filterProps } from "./filterProps-Cewck8OH.js";
13
13
  import { g as getCssVar } from "./getCssVar-BP6T9pFM.js";
14
14
  import { d as colorBackgroundBrandGradient, c as colorBackgroundNeutral } from "./BackgroundColor-JObp_2xA.js";
@@ -40,6 +40,6 @@ const CardStyled = styled.div.withConfig({
40
40
  };
41
41
  }, getBottomSpacing);
42
42
  export {
43
- CardStyled as C,
44
- CardAppearanceColor as a
43
+ CardAppearanceColor as C,
44
+ CardStyled as a
45
45
  };
@@ -13,7 +13,7 @@ import { c as colorBorderFocus, a as colorBorderNeutral, b as colorBorderUnselec
13
13
  import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
14
14
  import { b as borderWidthUnselected } from "./BorderWidth-DfOlyKK7.js";
15
15
  import { c as spacingSm, a as spacingXs } from "./Spacing-D0HQH9YJ.js";
16
- import { e as colorTextPlaceholder, a as colorTextNeutral } from "./TextColor-BXiR5Uq9.js";
16
+ import { c as colorTextPlaceholder, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
17
17
  import { f as filterProps } from "./filterProps-Cewck8OH.js";
18
18
  const InputWrapperStyled = styled.div.withConfig({
19
19
  shouldForwardProp: filterProps(),
package/package.json CHANGED
@@ -1,19 +1,15 @@
1
1
  {
2
2
  "name": "@vodafone_de/brix-components",
3
3
  "description": "Brix is the digital design system for vodafone.de",
4
- "version": "3.0.3",
4
+ "version": "3.0.7",
5
5
  "exports": {
6
- "./components/*": {
7
- "import": "./dist/components/*/index.js",
8
- "types": "./dist/components/*/index.d.ts"
6
+ "./package.json": "./package.json",
7
+ ".": {
8
+ "import": "./dist/index.js"
9
9
  },
10
- "./foundations/*": {
11
- "import": "./dist/foundations/*/index.js",
12
- "types": "./dist/foundations/*/index.d.ts"
13
- },
14
- "./hooks/*": {
15
- "import": "./dist/hooks/*/index.js",
16
- "types": "./dist/hooks/*/index.d.ts"
10
+ "./*": {
11
+ "import": "./dist/*/index.js",
12
+ "types": "./dist/*/index.d.ts"
17
13
  }
18
14
  },
19
15
  "peerDependencies": {