@goodhood-web/ui 1.6.0-development.17 → 1.6.0-development.18

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
@@ -643,7 +643,7 @@ Check the top-level render call using <` + P + ">.");
643
643
  }
644
644
  process.env.NODE_ENV === "production" ? pn.exports = os() : pn.exports = ss();
645
645
  var R = pn.exports;
646
- const sd = ({ children: t, className: e, id: n }) => /* @__PURE__ */ R.jsx("section", { className: e, id: n, children: /* @__PURE__ */ R.jsx("div", { children: /* @__PURE__ */ R.jsx("div", { children: t }) }) });
646
+ const id = ({ children: t, className: e, id: n }) => /* @__PURE__ */ R.jsx("section", { className: e, id: n, children: /* @__PURE__ */ R.jsx("div", { children: /* @__PURE__ */ R.jsx("div", { children: t }) }) });
647
647
  function jr(t) {
648
648
  var e, n, r = "";
649
649
  if (typeof t == "string" || typeof t == "number")
@@ -670,7 +670,7 @@ const is = "_heading_7xpbd_106", as = "_title_7xpbd_120", ls = "_icon_7xpbd_133"
670
670
  icon: ls,
671
671
  iconExpanded: cs,
672
672
  panel: us
673
- }, id = ({
673
+ }, ad = ({
674
674
  accordionBtnClassName: t,
675
675
  accordionPanelClassName: e,
676
676
  children: n,
@@ -4066,7 +4066,7 @@ const fa = "_primaryButton_kuwiu_106", Je = {
4066
4066
  "primaryButton--primary": "_primaryButton--primary_kuwiu_131",
4067
4067
  "primaryButton--transparent": "_primaryButton--transparent_kuwiu_137",
4068
4068
  "primaryButton--loading": "_primaryButton--loading_kuwiu_145"
4069
- }, ad = ({
4069
+ }, ld = ({
4070
4070
  children: t,
4071
4071
  className: e,
4072
4072
  color: n = "primary",
@@ -4124,7 +4124,7 @@ const fa = "_primaryButton_kuwiu_106", Je = {
4124
4124
  /* @__PURE__ */ R.jsx(ye, { type: s, as: t, className: Er.title, children: n }),
4125
4125
  l
4126
4126
  ] });
4127
- }, ld = ({
4127
+ }, cd = ({
4128
4128
  ariaLabel: t,
4129
4129
  as: e = "section",
4130
4130
  borderRadius: n,
@@ -4151,7 +4151,7 @@ const fa = "_primaryButton_kuwiu_106", Je = {
4151
4151
  }, ka = "_dividerContainer_brq6h_106", ya = "_dividerLine_brq6h_111", _r = {
4152
4152
  dividerContainer: ka,
4153
4153
  dividerLine: ya
4154
- }, cd = ({ offsetLeft: t = 0, offsetRight: e = 0 }) => /* @__PURE__ */ R.jsx("div", { className: _r.dividerContainer, children: /* @__PURE__ */ R.jsx(
4154
+ }, ud = ({ offsetLeft: t = 0, offsetRight: e = 0 }) => /* @__PURE__ */ R.jsx("div", { className: _r.dividerContainer, children: /* @__PURE__ */ R.jsx(
4155
4155
  "div",
4156
4156
  {
4157
4157
  className: _r.dividerLine,
@@ -4178,7 +4178,7 @@ const fa = "_primaryButton_kuwiu_106", Je = {
4178
4178
  children: s
4179
4179
  }
4180
4180
  );
4181
- }, ud = ({ ariaLabel: t, ariaLabelledBy: e, children: n, className: r, id: o }) => /* @__PURE__ */ R.jsx(
4181
+ }, dd = ({ ariaLabel: t, ariaLabelledBy: e, children: n, className: r, id: o }) => /* @__PURE__ */ R.jsx(
4182
4182
  "form",
4183
4183
  {
4184
4184
  className: r,
@@ -4385,14 +4385,14 @@ const fa = "_primaryButton_kuwiu_106", Je = {
4385
4385
  }, F2 = "_legend_k7ff0_106", O2 = "_text_k7ff0_112", Sr = {
4386
4386
  legend: F2,
4387
4387
  text: O2
4388
- }, dd = ({ className: t, headline: e, text: n }) => /* @__PURE__ */ R.jsxs("legend", { className: ie(Sr.legend, t), children: [
4388
+ }, fd = ({ className: t, headline: e, text: n }) => /* @__PURE__ */ R.jsxs("legend", { className: ie(Sr.legend, t), children: [
4389
4389
  /* @__PURE__ */ R.jsx(ye, { type: "h5", children: e }),
4390
4390
  n && /* @__PURE__ */ R.jsx(ye, { className: Sr.text, type: "body-regular", as: "p", children: n })
4391
4391
  ] }), I2 = "_wrapper_1ua4o_106", N2 = "_loadingSpinner_1ua4o_113", Tr = {
4392
4392
  wrapper: I2,
4393
4393
  loadingSpinner: N2,
4394
4394
  "pulse-loader-size": "_pulse-loader-size_1ua4o_1"
4395
- }, fd = () => /* @__PURE__ */ R.jsx("div", { className: Tr.wrapper, children: /* @__PURE__ */ R.jsx("aside", { className: Tr.loadingSpinner, children: /* @__PURE__ */ R.jsx("i", {}) }) });
4395
+ }, hd = () => /* @__PURE__ */ R.jsx("div", { className: Tr.wrapper, children: /* @__PURE__ */ R.jsx("aside", { className: Tr.loadingSpinner, children: /* @__PURE__ */ R.jsx("i", {}) }) });
4396
4396
  function Pn() {
4397
4397
  return {
4398
4398
  async: !1,
@@ -5829,7 +5829,7 @@ ae.walkTokens;
5829
5829
  ae.parseInline;
5830
5830
  _e.parse;
5831
5831
  Ee.lex;
5832
- function hd({ className: t, text: e }) {
5832
+ function pd({ className: t, text: e }) {
5833
5833
  return /* @__PURE__ */ R.jsx(
5834
5834
  "span",
5835
5835
  {
@@ -5844,7 +5844,7 @@ const bu = "_menuItem_pfii3_106", ku = "_highlightFrame_pfii3_120", yu = "_right
5844
5844
  rightIcon: yu,
5845
5845
  "menuItem--selected": "_menuItem--selected_pfii3_133",
5846
5846
  leftIcon: Eu
5847
- }, pd = ({
5847
+ }, md = ({
5848
5848
  className: t,
5849
5849
  href: e,
5850
5850
  isSelected: n,
@@ -5942,7 +5942,7 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
5942
5942
  modalWrapper: Bu,
5943
5943
  modalHeader: Au,
5944
5944
  modalFooter: Fu
5945
- }, md = ({
5945
+ }, gd = ({
5946
5946
  ariaLabel: t,
5947
5947
  ariaLabelledBy: e,
5948
5948
  closeButtonText: n = "Abbrechen",
@@ -5975,7 +5975,7 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
5975
5975
  }
5976
5976
  ), Ou = "_navBar_1k3qn_106", Iu = {
5977
5977
  navBar: Ou
5978
- }, gd = ({ children: t, onChange: e, value: n }) => {
5978
+ }, wd = ({ children: t, onChange: e, value: n }) => {
5979
5979
  const [r, o] = Ir(n || ""), s = (i) => {
5980
5980
  e(i), o(i);
5981
5981
  };
@@ -5992,7 +5992,7 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
5992
5992
  selector: ju,
5993
5993
  "navItem--active": "_navItem--active_1qhy9_128",
5994
5994
  label: Wu
5995
- }, wd = ({ active: t, ariaLabel: e, icon: n, id: r, label: o, onChange: s }) => {
5995
+ }, vd = ({ active: t, ariaLabel: e, icon: n, id: r, label: o, onChange: s }) => {
5996
5996
  const i = () => {
5997
5997
  s && s(r);
5998
5998
  };
@@ -6016,7 +6016,7 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
6016
6016
  "wrapper--large": "_wrapper--large_bgoxo_117",
6017
6017
  "wrapper--small": "_wrapper--small_bgoxo_120",
6018
6018
  "wrapper--iconWrapper": "_wrapper--iconWrapper_bgoxo_124"
6019
- }, vd = ({ className: t, icon: e, size: n }) => {
6019
+ }, xd = ({ className: t, icon: e, size: n }) => {
6020
6020
  const r = Ke(e, [Ve]);
6021
6021
  return /* @__PURE__ */ R.jsx(
6022
6022
  "div",
@@ -6040,33 +6040,38 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
6040
6040
  base: Du
6041
6041
  };
6042
6042
  var Ct = /* @__PURE__ */ ((t) => (t[t.lg = 16] = "lg", t[t.md = 12] = "md", t[t.sm = 8] = "sm", t[t.xl = 24] = "xl", t))(Ct || {});
6043
- const xd = ({
6044
- anchor: t,
6045
- children: e,
6046
- container: n,
6047
- id: r,
6048
- offset: o = "sm",
6049
- open: s,
6050
- placement: i,
6051
- strategy: l = "fixed"
6052
- }) => {
6053
- let c = Ct.sm;
6054
- return typeof o == "object" ? c = o : Ct[o] && (c = Ct[o]), /* @__PURE__ */ R.jsx(
6055
- wo,
6056
- {
6057
- className: Zu.base,
6058
- id: r,
6059
- open: s,
6060
- anchor: t,
6061
- offset: c,
6062
- placement: i,
6063
- container: n,
6064
- strategy: l,
6065
- children: e
6066
- }
6067
- );
6068
- }, zu = "_radio_1f304_106", Fr = {
6069
- radio: zu,
6043
+ const zu = m(
6044
+ ({
6045
+ anchor: t,
6046
+ children: e,
6047
+ container: n,
6048
+ id: r,
6049
+ offset: o = "sm",
6050
+ open: s,
6051
+ placement: i,
6052
+ strategy: l = "fixed"
6053
+ }, c) => {
6054
+ let f = Ct.sm;
6055
+ return typeof o == "object" ? f = o : Ct[o] && (f = Ct[o]), /* @__PURE__ */ R.jsx(
6056
+ wo,
6057
+ {
6058
+ ref: c,
6059
+ className: Zu.base,
6060
+ id: r,
6061
+ open: s,
6062
+ anchor: t,
6063
+ offset: f,
6064
+ placement: i,
6065
+ container: n,
6066
+ strategy: l,
6067
+ children: e
6068
+ }
6069
+ );
6070
+ }
6071
+ );
6072
+ zu.displayName = "Popup";
6073
+ const qu = "_radio_1f304_106", Fr = {
6074
+ radio: qu,
6070
6075
  "radio--small": "_radio--small_1f304_124"
6071
6076
  };
6072
6077
  function bd({
@@ -6098,8 +6103,8 @@ function bd({
6098
6103
  /* @__PURE__ */ R.jsx("label", { htmlFor: n, className: l, children: r })
6099
6104
  ] });
6100
6105
  }
6101
- const qu = "_radiobuttoncluster_1wlw6_106", Uu = {
6102
- radiobuttoncluster: qu
6106
+ const Uu = "_radiobuttoncluster_1wlw6_106", Yu = {
6107
+ radiobuttoncluster: Uu
6103
6108
  };
6104
6109
  function kd(t) {
6105
6110
  const { children: e, disabled: n, onChange: r, value: o } = t;
@@ -6110,12 +6115,12 @@ function kd(t) {
6110
6115
  checked: o === l.props.value,
6111
6116
  onChange: s
6112
6117
  }));
6113
- return /* @__PURE__ */ R.jsx(Ra, { disabled: n, classname: Uu.radiobuttoncluster, children: i });
6118
+ return /* @__PURE__ */ R.jsx(Ra, { disabled: n, classname: Yu.radiobuttoncluster, children: i });
6114
6119
  }
6115
- const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_textInput_1scpr_109", Ae = {
6116
- wrapper: Yu,
6117
- textInputContainer: Ku,
6118
- textInput: Qu,
6120
+ const Ku = "_wrapper_1scpr_106", Qu = "_textInputContainer_1scpr_109", Xu = "_textInput_1scpr_109", Ae = {
6121
+ wrapper: Ku,
6122
+ textInputContainer: Qu,
6123
+ textInput: Xu,
6119
6124
  "textInput--medium": "_textInput--medium_1scpr_149",
6120
6125
  "textInput--small": "_textInput--small_1scpr_169",
6121
6126
  "textInput--dark": "_textInput--dark_1scpr_188",
@@ -6161,8 +6166,8 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6161
6166
  }
6162
6167
  )
6163
6168
  ] });
6164
- }, Xu = "_root_obmzr_113", _t = {
6165
- root: Xu,
6169
+ }, Gu = "_root_obmzr_113", _t = {
6170
+ root: Gu,
6166
6171
  "root--24": "_root--24_obmzr_120",
6167
6172
  "root--28": "_root--28_obmzr_124",
6168
6173
  "root--32": "_root--32_obmzr_128",
@@ -6193,11 +6198,11 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6193
6198
  children: o && /* @__PURE__ */ R.jsx(P2, { src: o, alt: t })
6194
6199
  }
6195
6200
  );
6196
- }, Gu = "_slider_1o85r_112", Ju = "_focusVisible_1o85r_134", hn = {
6201
+ }, Ju = "_slider_1o85r_112", ed = "_focusVisible_1o85r_134", hn = {
6197
6202
  switch: "_switch_1o85r_106",
6198
- slider: Gu,
6199
- focusVisible: Ju
6200
- }, ed = (t) => {
6203
+ slider: Ju,
6204
+ focusVisible: ed
6205
+ }, td = (t) => {
6201
6206
  const { checked: e, disabled: n, focusVisible: r, getInputProps: o } = ea(t), { className: s, id: i } = t;
6202
6207
  return /* @__PURE__ */ R.jsxs("span", { className: ie(hn.switch, s), children: [
6203
6208
  /* @__PURE__ */ R.jsx(
@@ -6221,9 +6226,9 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6221
6226
  }
6222
6227
  )
6223
6228
  ] });
6224
- }, td = "_toggleInput_189pw_106", nd = "_textLabel_189pw_119", qe = {
6225
- toggleInput: td,
6226
- textLabel: nd,
6229
+ }, nd = "_toggleInput_189pw_106", rd = "_textLabel_189pw_119", qe = {
6230
+ toggleInput: nd,
6231
+ textLabel: rd,
6227
6232
  switch: "_switch_189pw_122",
6228
6233
  "toggleInput--checked": "_toggleInput--checked_189pw_125",
6229
6234
  "toggleInput--disabled": "_toggleInput--disabled_189pw_128",
@@ -6248,7 +6253,7 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6248
6253
  r && /* @__PURE__ */ R.jsx(Ve, { name: r, size: "32" }),
6249
6254
  /* @__PURE__ */ R.jsx(ye, { type: "body-large", className: qe.textLabel, children: o }),
6250
6255
  /* @__PURE__ */ R.jsx(
6251
- ed,
6256
+ td,
6252
6257
  {
6253
6258
  onChange: s,
6254
6259
  disabled: n,
@@ -6261,36 +6266,36 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6261
6266
  }
6262
6267
  );
6263
6268
  export {
6264
- sd as Accordion,
6265
- id as AccordionItem,
6269
+ id as Accordion,
6270
+ ad as AccordionItem,
6266
6271
  dt as Button,
6267
- ad as ButtonPrimary,
6268
- ld as Card,
6272
+ ld as ButtonPrimary,
6273
+ cd as Card,
6269
6274
  wa as CardBody,
6270
6275
  ba as CardHeader,
6271
- cd as Divider,
6276
+ ud as Divider,
6272
6277
  Ra as Fieldset,
6273
- ud as Form,
6278
+ dd as Form,
6274
6279
  Ve as Icon,
6275
6280
  Rr as IconButton,
6276
6281
  P2 as Image,
6277
6282
  A2 as LabelPill,
6278
- dd as Legend,
6279
- fd as Loader,
6280
- hd as Markdown,
6281
- pd as MenuItem,
6282
- md as Modal,
6283
- gd as NavBar,
6284
- wd as NavItem,
6283
+ fd as Legend,
6284
+ hd as Loader,
6285
+ pd as Markdown,
6286
+ md as MenuItem,
6287
+ gd as Modal,
6288
+ wd as NavBar,
6289
+ vd as NavItem,
6285
6290
  Ar as NotificationBubble,
6286
- vd as PlaceholderThumbnail,
6287
- xd as Popup,
6291
+ xd as PlaceholderThumbnail,
6292
+ zu as Popup,
6288
6293
  bd as RadioButton,
6289
6294
  kd as RadioButtonCluster,
6290
6295
  Mu as TextButton,
6291
6296
  yd as TextInput,
6292
6297
  Ed as Thumbnail,
6293
- ed as Toggle,
6298
+ td as Toggle,
6294
6299
  _d as ToggleInput,
6295
6300
  ye as Typography
6296
6301
  };
@@ -1,4 +1,4 @@
1
1
  import { PopupProps } from './Popup.types';
2
2
 
3
- declare const Popup: ({ anchor, children, container, id, offset, open, placement, strategy, }: PopupProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Popup: import('react').ForwardRefExoticComponent<PopupProps & import('react').RefAttributes<HTMLDivElement>>;
4
4
  export default Popup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.6.0-development.17",
3
+ "version": "1.6.0-development.18",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {