@goodhood-web/ui 3.0.0-development.14 → 3.0.0-development.16

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
@@ -22800,21 +22800,22 @@ const lS = (t, e) => {
22800
22800
  )
22801
22801
  ] });
22802
22802
  }
22803
- }, uS = ({ alt: t, className: e, src: n }) => /* @__PURE__ */ M.jsx("img", { className: e, src: n, alt: t }), dS = "_root_1baw4_120", sc = {
22803
+ }, uS = ({ alt: t, className: e, src: n }) => /* @__PURE__ */ M.jsx("img", { className: e, src: n, alt: t }), dS = "_root_16joe_120", sc = {
22804
22804
  root: dS,
22805
- "root--24": "_root--24_1baw4_127",
22806
- "root--28": "_root--28_1baw4_131",
22807
- "root--32": "_root--32_1baw4_135",
22808
- "root--40": "_root--40_1baw4_139",
22809
- "root--48": "_root--48_1baw4_143",
22810
- "root--56": "_root--56_1baw4_147",
22811
- "root--64": "_root--64_1baw4_151",
22812
- "root--80": "_root--80_1baw4_155",
22813
- "root--120": "_root--120_1baw4_159",
22814
- "root--280": "_root--280_1baw4_163",
22815
- "root--square": "_root--square_1baw4_167",
22816
- "root--circular": "_root--circular_1baw4_179",
22817
- "root--isPlaceholder": "_root--isPlaceholder_1baw4_182"
22805
+ "root--24": "_root--24_16joe_127",
22806
+ "root--28": "_root--28_16joe_131",
22807
+ "root--32": "_root--32_16joe_135",
22808
+ "root--40": "_root--40_16joe_139",
22809
+ "root--48": "_root--48_16joe_143",
22810
+ "root--56": "_root--56_16joe_147",
22811
+ "root--64": "_root--64_16joe_151",
22812
+ "root--80": "_root--80_16joe_155",
22813
+ "root--96": "_root--96_16joe_159",
22814
+ "root--120": "_root--120_16joe_163",
22815
+ "root--280": "_root--280_16joe_167",
22816
+ "root--square": "_root--square_16joe_171",
22817
+ "root--circular": "_root--circular_16joe_183",
22818
+ "root--isPlaceholder": "_root--isPlaceholder_16joe_186"
22818
22819
  }, Ma = ({
22819
22820
  alt: t,
22820
22821
  className: e,
@@ -25248,7 +25249,7 @@ const HP = "_modal_t4vpr_120", WP = "_modalWrapper_t4vpr_128", UP = "_modalHeade
25248
25249
  a && /* @__PURE__ */ M.jsx("div", { className: Al.modalFooter, children: a })
25249
25250
  ] })
25250
25251
  }
25251
- ), qP = "_base_1em0h_120", GP = {
25252
+ ), qP = "_base_jlidx_120", GP = {
25252
25253
  base: qP
25253
25254
  };
25254
25255
  var vc = /* @__PURE__ */ ((t) => (t[t.lg = 16] = "lg", t[t.md = 12] = "md", t[t.sm = 8] = "sm", t[t.xl = 24] = "xl", t))(vc || {});
@@ -25256,30 +25257,31 @@ const YP = D(
25256
25257
  ({
25257
25258
  anchor: t,
25258
25259
  children: e,
25259
- container: n,
25260
- handleClickAway: r,
25261
- id: i,
25262
- offset: a = "sm",
25263
- open: l,
25264
- placement: h,
25265
- strategy: f = "fixed"
25266
- }, p) => {
25267
- let v = vc.sm;
25268
- typeof a == "object" ? v = a : vc[a] && (v = vc[a]);
25269
- let y;
25270
- return r ? y = /* @__PURE__ */ M.jsx(yc, { onClickAway: r, touchEvent: !1, children: /* @__PURE__ */ M.jsx("div", { children: e }) }) : y = e, /* @__PURE__ */ M.jsx(
25260
+ className: n,
25261
+ container: r,
25262
+ handleClickAway: i,
25263
+ id: a,
25264
+ offset: l = "sm",
25265
+ open: h,
25266
+ placement: f,
25267
+ strategy: p = "fixed"
25268
+ }, v) => {
25269
+ let y = vc.sm;
25270
+ typeof l == "object" ? y = l : vc[l] && (y = vc[l]);
25271
+ let b;
25272
+ return i ? b = /* @__PURE__ */ M.jsx(yc, { onClickAway: i, touchEvent: !1, children: /* @__PURE__ */ M.jsx("div", { children: e }) }) : b = e, /* @__PURE__ */ M.jsx(
25271
25273
  Ef,
25272
25274
  {
25273
- ref: p,
25274
- className: GP.base,
25275
- id: i,
25276
- open: l,
25275
+ ref: v,
25276
+ className: pe(GP.root, n),
25277
+ id: a,
25278
+ open: h,
25277
25279
  anchor: t,
25278
- offset: v,
25279
- placement: h,
25280
- container: n,
25281
- strategy: f,
25282
- children: y
25280
+ offset: y,
25281
+ placement: f,
25282
+ container: r,
25283
+ strategy: p,
25284
+ children: b
25283
25285
  }
25284
25286
  );
25285
25287
  }
@@ -4,7 +4,7 @@ export interface ThumbnailProps extends ImageProps {
4
4
  isPlaceholder?: boolean;
5
5
  }
6
6
  export declare const circularSizes: readonly ["28", "32", "40", "48", "56", "64", "80", "120", "280"];
7
- export declare const squareSizes: readonly ["24", "32", "40", "48", "56", "64", "80", "120"];
7
+ export declare const squareSizes: readonly ["24", "32", "40", "48", "56", "64", "80", "96", "120"];
8
8
  export type TCircularSize = (typeof circularSizes)[number];
9
9
  export type TSquareSize = (typeof squareSizes)[number];
10
10
  export interface ThumbnailCircularProps extends ThumbnailProps {
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
3
3
  export interface PopupProps {
4
4
  anchor?: HTMLElement | null;
5
5
  children: ReactNode;
6
+ className?: string;
6
7
  container?: HTMLElement | null;
7
8
  handleClickAway?: () => void;
8
9
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "3.0.0-development.14",
3
+ "version": "3.0.0-development.16",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",