@goodhood-web/ui 4.9.0-development.1 → 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
@@ -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.9.0-development.1",
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",