@goodhood-web/ui 1.6.0-development.16 → 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,28 +5844,30 @@ 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
- isSelected: e,
5850
- labelPillText: n,
5851
- leftIcon: r,
5852
- onClick: o,
5853
- rightIcon: s,
5854
- role: i,
5855
- text: l
5849
+ href: e,
5850
+ isSelected: n,
5851
+ labelPillText: r,
5852
+ leftIcon: o,
5853
+ onClick: s,
5854
+ rightIcon: i,
5855
+ role: l,
5856
+ text: c
5856
5857
  }) => /* @__PURE__ */ R.jsx(
5857
5858
  dt,
5858
5859
  {
5859
- role: i,
5860
- onClick: o,
5860
+ role: l,
5861
+ onClick: s,
5861
5862
  className: ie(t, tt.menuItem, {
5862
- [tt["menuItem--selected"]]: e
5863
+ [tt["menuItem--selected"]]: n
5863
5864
  }),
5865
+ ...e ? { href: e } : {},
5864
5866
  children: /* @__PURE__ */ R.jsxs("span", { className: ie(tt.highlightFrame), children: [
5865
- /* @__PURE__ */ R.jsx("span", { className: tt.leftIcon, children: r }),
5866
- /* @__PURE__ */ R.jsx(ye, { type: e ? "h5" : "body-large", as: "span", children: l }),
5867
- n && /* @__PURE__ */ R.jsx(A2, { label: n, size: "medium" }),
5868
- s && /* @__PURE__ */ R.jsx("span", { className: tt.rightIcon, children: s })
5867
+ /* @__PURE__ */ R.jsx("span", { className: tt.leftIcon, children: o }),
5868
+ /* @__PURE__ */ R.jsx(ye, { type: n ? "h5" : "body-large", as: "span", children: c }),
5869
+ r && /* @__PURE__ */ R.jsx(A2, { label: r, size: "medium" }),
5870
+ i && /* @__PURE__ */ R.jsx("span", { className: tt.rightIcon, children: i })
5869
5871
  ] })
5870
5872
  }
5871
5873
  ), _u = "_bubbleContent_1bzh6_106", Ru = "_bubble_1bzh6_106", dn = {
@@ -5940,7 +5942,7 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
5940
5942
  modalWrapper: Bu,
5941
5943
  modalHeader: Au,
5942
5944
  modalFooter: Fu
5943
- }, md = ({
5945
+ }, gd = ({
5944
5946
  ariaLabel: t,
5945
5947
  ariaLabelledBy: e,
5946
5948
  closeButtonText: n = "Abbrechen",
@@ -5973,7 +5975,7 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
5973
5975
  }
5974
5976
  ), Ou = "_navBar_1k3qn_106", Iu = {
5975
5977
  navBar: Ou
5976
- }, gd = ({ children: t, onChange: e, value: n }) => {
5978
+ }, wd = ({ children: t, onChange: e, value: n }) => {
5977
5979
  const [r, o] = Ir(n || ""), s = (i) => {
5978
5980
  e(i), o(i);
5979
5981
  };
@@ -5990,7 +5992,7 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
5990
5992
  selector: ju,
5991
5993
  "navItem--active": "_navItem--active_1qhy9_128",
5992
5994
  label: Wu
5993
- }, 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 }) => {
5994
5996
  const i = () => {
5995
5997
  s && s(r);
5996
5998
  };
@@ -6014,7 +6016,7 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
6014
6016
  "wrapper--large": "_wrapper--large_bgoxo_117",
6015
6017
  "wrapper--small": "_wrapper--small_bgoxo_120",
6016
6018
  "wrapper--iconWrapper": "_wrapper--iconWrapper_bgoxo_124"
6017
- }, vd = ({ className: t, icon: e, size: n }) => {
6019
+ }, xd = ({ className: t, icon: e, size: n }) => {
6018
6020
  const r = Ke(e, [Ve]);
6019
6021
  return /* @__PURE__ */ R.jsx(
6020
6022
  "div",
@@ -6038,33 +6040,38 @@ const Lu = "_modal_1h6fu_106", Bu = "_modalWrapper_1h6fu_114", Au = "_modalHeade
6038
6040
  base: Du
6039
6041
  };
6040
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 || {});
6041
- const xd = ({
6042
- anchor: t,
6043
- children: e,
6044
- container: n,
6045
- id: r,
6046
- offset: o = "sm",
6047
- open: s,
6048
- placement: i,
6049
- strategy: l = "fixed"
6050
- }) => {
6051
- let c = Ct.sm;
6052
- return typeof o == "object" ? c = o : Ct[o] && (c = Ct[o]), /* @__PURE__ */ R.jsx(
6053
- wo,
6054
- {
6055
- className: Zu.base,
6056
- id: r,
6057
- open: s,
6058
- anchor: t,
6059
- offset: c,
6060
- placement: i,
6061
- container: n,
6062
- strategy: l,
6063
- children: e
6064
- }
6065
- );
6066
- }, zu = "_radio_1f304_106", Fr = {
6067
- 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,
6068
6075
  "radio--small": "_radio--small_1f304_124"
6069
6076
  };
6070
6077
  function bd({
@@ -6096,8 +6103,8 @@ function bd({
6096
6103
  /* @__PURE__ */ R.jsx("label", { htmlFor: n, className: l, children: r })
6097
6104
  ] });
6098
6105
  }
6099
- const qu = "_radiobuttoncluster_1wlw6_106", Uu = {
6100
- radiobuttoncluster: qu
6106
+ const Uu = "_radiobuttoncluster_1wlw6_106", Yu = {
6107
+ radiobuttoncluster: Uu
6101
6108
  };
6102
6109
  function kd(t) {
6103
6110
  const { children: e, disabled: n, onChange: r, value: o } = t;
@@ -6108,12 +6115,12 @@ function kd(t) {
6108
6115
  checked: o === l.props.value,
6109
6116
  onChange: s
6110
6117
  }));
6111
- 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 });
6112
6119
  }
6113
- const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_textInput_1scpr_109", Ae = {
6114
- wrapper: Yu,
6115
- textInputContainer: Ku,
6116
- 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,
6117
6124
  "textInput--medium": "_textInput--medium_1scpr_149",
6118
6125
  "textInput--small": "_textInput--small_1scpr_169",
6119
6126
  "textInput--dark": "_textInput--dark_1scpr_188",
@@ -6159,8 +6166,8 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6159
6166
  }
6160
6167
  )
6161
6168
  ] });
6162
- }, Xu = "_root_obmzr_113", _t = {
6163
- root: Xu,
6169
+ }, Gu = "_root_obmzr_113", _t = {
6170
+ root: Gu,
6164
6171
  "root--24": "_root--24_obmzr_120",
6165
6172
  "root--28": "_root--28_obmzr_124",
6166
6173
  "root--32": "_root--32_obmzr_128",
@@ -6191,11 +6198,11 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6191
6198
  children: o && /* @__PURE__ */ R.jsx(P2, { src: o, alt: t })
6192
6199
  }
6193
6200
  );
6194
- }, Gu = "_slider_1o85r_112", Ju = "_focusVisible_1o85r_134", hn = {
6201
+ }, Ju = "_slider_1o85r_112", ed = "_focusVisible_1o85r_134", hn = {
6195
6202
  switch: "_switch_1o85r_106",
6196
- slider: Gu,
6197
- focusVisible: Ju
6198
- }, ed = (t) => {
6203
+ slider: Ju,
6204
+ focusVisible: ed
6205
+ }, td = (t) => {
6199
6206
  const { checked: e, disabled: n, focusVisible: r, getInputProps: o } = ea(t), { className: s, id: i } = t;
6200
6207
  return /* @__PURE__ */ R.jsxs("span", { className: ie(hn.switch, s), children: [
6201
6208
  /* @__PURE__ */ R.jsx(
@@ -6219,9 +6226,9 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6219
6226
  }
6220
6227
  )
6221
6228
  ] });
6222
- }, td = "_toggleInput_189pw_106", nd = "_textLabel_189pw_119", qe = {
6223
- toggleInput: td,
6224
- textLabel: nd,
6229
+ }, nd = "_toggleInput_189pw_106", rd = "_textLabel_189pw_119", qe = {
6230
+ toggleInput: nd,
6231
+ textLabel: rd,
6225
6232
  switch: "_switch_189pw_122",
6226
6233
  "toggleInput--checked": "_toggleInput--checked_189pw_125",
6227
6234
  "toggleInput--disabled": "_toggleInput--disabled_189pw_128",
@@ -6246,7 +6253,7 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6246
6253
  r && /* @__PURE__ */ R.jsx(Ve, { name: r, size: "32" }),
6247
6254
  /* @__PURE__ */ R.jsx(ye, { type: "body-large", className: qe.textLabel, children: o }),
6248
6255
  /* @__PURE__ */ R.jsx(
6249
- ed,
6256
+ td,
6250
6257
  {
6251
6258
  onChange: s,
6252
6259
  disabled: n,
@@ -6259,36 +6266,36 @@ const Yu = "_wrapper_1scpr_106", Ku = "_textInputContainer_1scpr_109", Qu = "_te
6259
6266
  }
6260
6267
  );
6261
6268
  export {
6262
- sd as Accordion,
6263
- id as AccordionItem,
6269
+ id as Accordion,
6270
+ ad as AccordionItem,
6264
6271
  dt as Button,
6265
- ad as ButtonPrimary,
6266
- ld as Card,
6272
+ ld as ButtonPrimary,
6273
+ cd as Card,
6267
6274
  wa as CardBody,
6268
6275
  ba as CardHeader,
6269
- cd as Divider,
6276
+ ud as Divider,
6270
6277
  Ra as Fieldset,
6271
- ud as Form,
6278
+ dd as Form,
6272
6279
  Ve as Icon,
6273
6280
  Rr as IconButton,
6274
6281
  P2 as Image,
6275
6282
  A2 as LabelPill,
6276
- dd as Legend,
6277
- fd as Loader,
6278
- hd as Markdown,
6279
- pd as MenuItem,
6280
- md as Modal,
6281
- gd as NavBar,
6282
- 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,
6283
6290
  Ar as NotificationBubble,
6284
- vd as PlaceholderThumbnail,
6285
- xd as Popup,
6291
+ xd as PlaceholderThumbnail,
6292
+ zu as Popup,
6286
6293
  bd as RadioButton,
6287
6294
  kd as RadioButtonCluster,
6288
6295
  Mu as TextButton,
6289
6296
  yd as TextInput,
6290
6297
  Ed as Thumbnail,
6291
- ed as Toggle,
6298
+ td as Toggle,
6292
6299
  _d as ToggleInput,
6293
6300
  ye as Typography
6294
6301
  };
@@ -1,5 +1,5 @@
1
- import { AriaRole, ForwardedRef, MouseEvent, ReactNode } from 'react';
2
1
  import { ButtonOwnProps } from '@mui/base';
2
+ import { AriaRole, ForwardedRef, MouseEvent, ReactNode } from 'react';
3
3
 
4
4
  interface CommonProps {
5
5
  ariaLabel?: string;
@@ -1,5 +1,5 @@
1
- import { ButtonProps } from '../Button/Button.types';
2
1
  import { ReactNode } from 'react';
2
+ import { ButtonProps } from '../Button/Button.types';
3
3
 
4
4
  export interface ButtonPrimaryProps extends Omit<ButtonProps, 'children'> {
5
5
  children?: ReactNode;
@@ -1,6 +1,6 @@
1
- import { CardHeaderProps } from './CardHeader/CardHeader.type';
2
- import { CardBodyProps } from './CardBody/CardBody.types';
3
1
  import { ReactElement } from 'react';
2
+ import { CardBodyProps } from './CardBody/CardBody.types';
3
+ import { CardHeaderProps } from './CardHeader/CardHeader.type';
4
4
 
5
5
  export interface CardProps {
6
6
  ariaLabel?: string;
@@ -1,7 +1,7 @@
1
- import { TypographyProps } from '../../Typography/Typography.types';
2
- import { IconButtonProps } from '../../IconButton/IconButton.types';
3
- import { IconProps } from '../../Icon/Icon.types';
4
1
  import { ReactElement } from 'react';
2
+ import { IconProps } from '../../Icon/Icon.types';
3
+ import { IconButtonProps } from '../../IconButton/IconButton.types';
4
+ import { TypographyProps } from '../../Typography/Typography.types';
5
5
 
6
6
  export type CardHeaderProps = {
7
7
  as?: Exclude<TypographyProps['as'], 'h1' | 'p' | 'span'>;
@@ -1,5 +1,5 @@
1
- import { IconProps } from './Icon.types';
2
1
  import { ReactElement } from 'react';
2
+ import { IconProps } from './Icon.types';
3
3
 
4
4
  declare const Icon: ({ className, name, role, size, title, }: IconProps) => ReactElement | null;
5
5
  export default Icon;
@@ -1,6 +1,6 @@
1
- import { default as icons32 } from './icons/32x32';
2
- import { default as icons24 } from './icons/24x24';
3
1
  import { AriaRole } from 'react';
2
+ import { default as icons24 } from './icons/24x24';
3
+ import { default as icons32 } from './icons/32x32';
4
4
 
5
5
  export type Icon32 = keyof typeof icons32;
6
6
  export type Icon24 = keyof typeof icons24;
@@ -1,5 +1,5 @@
1
- import { Icon24, Icon32 } from '../Icon/Icon.types';
2
1
  import { ButtonProps } from '../Button/Button.types';
2
+ import { Icon24, Icon32 } from '../Icon/Icon.types';
3
3
 
4
4
  type BaseIconButtonProps = Omit<ButtonProps, 'children' | 'ref' | 'className'> & ({
5
5
  ariaLabel: string;
@@ -1,4 +1,4 @@
1
1
  import { MenuItemProps } from './MenuItem.types';
2
2
 
3
- declare const MenuItem: ({ className: passedClassName, isSelected, labelPillText, leftIcon, onClick, rightIcon, role, text, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const MenuItem: ({ className: passedClassName, href, isSelected, labelPillText, leftIcon, onClick, rightIcon, role, text, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default MenuItem;
@@ -1,12 +1,13 @@
1
- import { ButtonProps } from '../Button/Button.types';
2
1
  import { ReactNode } from 'react';
2
+ import { ButtonProps } from '../Button/Button.types';
3
3
 
4
4
  export interface MenuItemProps {
5
5
  className?: string;
6
+ href?: string;
6
7
  isSelected?: boolean;
7
8
  labelPillText?: string;
8
9
  leftIcon: ReactNode;
9
- onClick: ButtonProps['onClick'];
10
+ onClick?: ButtonProps['onClick'];
10
11
  rightIcon?: ReactNode;
11
12
  role?: ButtonProps['role'];
12
13
  text: string;
@@ -1,6 +1,6 @@
1
- import { CardHeaderProps } from '../Card/CardHeader/CardHeader.type';
2
- import { CardBodyProps } from '../Card/CardBody/CardBody.types';
3
1
  import { ReactElement } from 'react';
2
+ import { CardBodyProps } from '../Card/CardBody/CardBody.types';
3
+ import { CardHeaderProps } from '../Card/CardHeader/CardHeader.type';
4
4
 
5
5
  export interface ModalProps {
6
6
  ariaLabel?: string;
@@ -1,5 +1,5 @@
1
- import { Icon24, Icon32 } from '../../Icon/Icon.types';
2
1
  import { ReactElement } from 'react';
2
+ import { Icon24, Icon32 } from '../../Icon/Icon.types';
3
3
 
4
4
  export type NavItemProps = {
5
5
  active?: boolean;
@@ -1,5 +1,5 @@
1
- import { IconProps } from '../Icon/Icon.types';
2
1
  import { ReactElement } from 'react';
2
+ import { IconProps } from '../Icon/Icon.types';
3
3
 
4
4
  export type PlaceholderThumbnailProps = {
5
5
  className?: string;
@@ -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;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
1
  import { PopupPlacement } from '@mui/base';
2
+ import { ReactNode } from 'react';
3
3
 
4
4
  export interface PopupProps {
5
5
  anchor?: HTMLElement | null;
@@ -1,7 +1,7 @@
1
- import { NotificationBubbleProps } from '../NotificationBubble/NotificationBubble.types';
2
- import { IconProps } from '../Icon/Icon.types';
3
- import { ButtonProps } from '../Button/Button.types';
4
1
  import { ReactElement } from 'react';
2
+ import { ButtonProps } from '../Button/Button.types';
3
+ import { IconProps } from '../Icon/Icon.types';
4
+ import { NotificationBubbleProps } from '../NotificationBubble/NotificationBubble.types';
5
5
 
6
6
  export interface TextButtonProps extends Omit<ButtonProps, 'role' | 'className'> {
7
7
  color: 'green' | 'blue' | 'text';
@@ -1,5 +1,5 @@
1
- import { ForwardedRef } from 'react';
2
1
  import { UseInputParameters } from '@mui/base/useInput';
2
+ import { ForwardedRef } from 'react';
3
3
 
4
4
  export interface TextInputProps extends UseInputParameters {
5
5
  colorScheme: 'light' | 'dark';
@@ -1,5 +1,5 @@
1
- import { Icon32 } from '../Icon/Icon.types';
2
1
  import { UseSwitchParameters } from '@mui/base';
2
+ import { Icon32 } from '../Icon/Icon.types';
3
3
 
4
4
  export interface ToggleInputProps extends UseSwitchParameters {
5
5
  icon?: Icon32;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.6.0-development.16",
3
+ "version": "1.6.0-development.18",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {