@goodhood-web/ui 4.8.0 → 4.9.0-development.2

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
@@ -6800,7 +6800,7 @@ const v7 = /* @__PURE__ */ z1(m7), C7 = "_markdown_1ek7s_146", i3 = {
6800
6800
  allowedAttributes: {
6801
6801
  a: ["href", "target"]
6802
6802
  },
6803
- allowedTags: ["a", "strong"]
6803
+ allowedTags: ["a", "strong", "br", "p"]
6804
6804
  };
6805
6805
  function w7({
6806
6806
  className: t,
@@ -16994,13 +16994,13 @@ const IE = "_bodyText_1t3kz_146", NE = "_bodyText__textButton_1t3kz_175", BE = "
16994
16994
  }, AM = "_dividerContainer_c03zd_146", zM = "_dividerLine_c03zd_152", Yo = {
16995
16995
  dividerContainer: AM,
16996
16996
  dividerLine: zM
16997
- }, H5 = ({ offsetLeft: t = 0, offsetRight: e = 0 }) => /* @__PURE__ */ m("div", { className: Yo.dividerContainer, children: /* @__PURE__ */ m(
16997
+ }, H5 = ({ className: t, offsetLeft: e = 0, offsetRight: n = 0 }) => /* @__PURE__ */ m("div", { className: Yo.dividerContainer, children: /* @__PURE__ */ m(
16998
16998
  "div",
16999
16999
  {
17000
- className: Yo.dividerLine,
17000
+ className: R(Yo.dividerLine, t),
17001
17001
  style: {
17002
- marginLeft: `${t}px`,
17003
- marginRight: `${e}px`
17002
+ marginLeft: `${e}px`,
17003
+ marginRight: `${n}px`
17004
17004
  },
17005
17005
  role: "separator"
17006
17006
  }
@@ -1,3 +1,3 @@
1
1
  import { DividerProps } from './Divider.types';
2
- declare const Divider: ({ offsetLeft, offsetRight }: DividerProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Divider: ({ className, offsetLeft, offsetRight }: DividerProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Divider;
@@ -1,5 +1,6 @@
1
1
  type OffsetType = 0 | 8 | 12 | 16;
2
2
  export interface DividerProps {
3
+ className?: string;
3
4
  offsetLeft?: OffsetType;
4
5
  offsetRight?: OffsetType;
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "4.8.0",
3
+ "version": "4.9.0-development.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",