@goodhood-web/ui 3.4.0-development.3 → 3.4.0-development.4

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/index.mjs CHANGED
@@ -6770,7 +6770,7 @@ const u7 = /* @__PURE__ */ q2(o7), d7 = "_markdown_1jzce_141", Ka = {
6770
6770
  allowedAttributes: {
6771
6771
  a: ["href", "target"]
6772
6772
  },
6773
- allowedTags: ["a"]
6773
+ allowedTags: ["a", "strong"]
6774
6774
  };
6775
6775
  function f7({
6776
6776
  className: t,
@@ -16706,27 +16706,36 @@ const iS = "_bodyText_10lrf_141", aS = "_bodyText__textButton_10lrf_169", sS = "
16706
16706
  text: "body-regular",
16707
16707
  title: "h5"
16708
16708
  }
16709
- }, dR = ({ className: t, items: e }) => /* @__PURE__ */ g("ul", { className: t, children: e.map((n, r) => /* @__PURE__ */ $(
16709
+ }, dR = ({ className: t, items: e, markdown: n }) => /* @__PURE__ */ g("ul", { className: t, children: e.map((r, a) => /* @__PURE__ */ $(
16710
16710
  "li",
16711
16711
  {
16712
- className: R(s1.item, s1[`item--${n.size}`]),
16712
+ className: R(s1.item, s1[`item--${r.size}`]),
16713
16713
  children: [
16714
- /* @__PURE__ */ g(on, { className: s1.sticker, ...n }),
16714
+ /* @__PURE__ */ g(on, { className: s1.sticker, ...r }),
16715
16715
  /* @__PURE__ */ $("div", { className: s1.textContainer, children: [
16716
- n.title && /* @__PURE__ */ g(
16716
+ r.title && /* @__PURE__ */ g(
16717
16717
  U,
16718
16718
  {
16719
16719
  className: s1.title,
16720
- as: n.titleAs,
16721
- type: Fs[n.size].title,
16722
- children: n.title
16720
+ as: r.titleAs,
16721
+ type: Fs[r.size].title,
16722
+ markdown: n,
16723
+ children: r.title
16723
16724
  }
16724
16725
  ),
16725
- n.text && /* @__PURE__ */ g(U, { className: s1.text, type: Fs[n.size].text, children: n.text })
16726
+ r.text && /* @__PURE__ */ g(
16727
+ U,
16728
+ {
16729
+ className: s1.text,
16730
+ type: Fs[r.size].text,
16731
+ markdown: n,
16732
+ children: r.text
16733
+ }
16734
+ )
16726
16735
  ] })
16727
16736
  ]
16728
16737
  },
16729
- `${n.title}:${r}`
16738
+ `${r.title}:${a}`
16730
16739
  )) }), gS = "_wrapper_qqmhl_141", vS = "_iconWrapper_qqmhl_164", Pt = {
16731
16740
  "react-datepicker__day-names": "_react-datepicker__day-names_qqmhl_120",
16732
16741
  "react-datepicker__week": "_react-datepicker__week_qqmhl_124",
@@ -1,3 +1,3 @@
1
1
  import { ListProps } from './List.types';
2
- declare const List: ({ className, items }: ListProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const List: ({ className, items, markdown }: ListProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default List;
@@ -2,6 +2,7 @@ import { StickerProps } from '../../Badges/Sticker/Sticker.types';
2
2
  export type ListProps = {
3
3
  className?: string;
4
4
  items: ListItemProps[];
5
+ markdown?: boolean;
5
6
  };
6
7
  type AllowedTitleAs = 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
7
8
  export type ListItemProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "3.4.0-development.3",
3
+ "version": "3.4.0-development.4",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",