@goodhood-web/ui 1.12.0-development.10 → 1.12.0-development.12

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
@@ -16589,7 +16589,7 @@ const Xw = "_inputContainer_byy0l_107", Jw = "_input_byy0l_107", Qw = "_error_by
16589
16589
  maxDigits: o = "three",
16590
16590
  name: u,
16591
16591
  onChange: d,
16592
- placeholder: m = "– –",
16592
+ placeholder: m = "– –",
16593
16593
  style: h = "outline",
16594
16594
  value: b = 0
16595
16595
  }) => {
@@ -19973,16 +19973,16 @@ const m6 = "_backdrop_1dehl_106", g6 = {
19973
19973
  backdrop: m6
19974
19974
  }, K1 = H((r, t) => /* @__PURE__ */ T.jsx("div", { ref: t, ...r, className: g6.backdrop }));
19975
19975
  K1.displayName = "Backdrop";
19976
- const v6 = "_sheet_1ycdc_106", b6 = "_sheetWrapper_1ycdc_114", y6 = "_sheetHeader_1ycdc_126", w6 = "_sheetFooter_1ycdc_148", Os = {
19976
+ const v6 = "_sheet_1iz9h_106", b6 = "_sheetWrapper_1iz9h_118", y6 = "_sheetHeader_1iz9h_130", w6 = "_sheetFooter_1iz9h_152", Os = {
19977
19977
  sheet: v6,
19978
19978
  sheetWrapper: b6,
19979
19979
  sheetHeader: y6,
19980
19980
  sheetFooter: w6,
19981
- "sheetFooter--alwaysVisible": "_sheetFooter--alwaysVisible_1ycdc_156"
19981
+ "sheetFooter--alwaysVisible": "_sheetFooter--alwaysVisible_1iz9h_160"
19982
19982
  }, sk = ({
19983
19983
  ariaLabel: r,
19984
19984
  ariaLabelledBy: t,
19985
- closeButtonText: a = "Abbrechen",
19985
+ closeButtonText: a,
19986
19986
  onClose: i,
19987
19987
  open: o,
19988
19988
  sheetBody: u,
@@ -19998,16 +19998,16 @@ const v6 = "_sheet_1ycdc_106", b6 = "_sheetWrapper_1ycdc_114", y6 = "_sheetHeade
19998
19998
  slots: { backdrop: K1 },
19999
19999
  className: Os.sheet,
20000
20000
  children: /* @__PURE__ */ T.jsxs("div", { className: Os.sheetWrapper, children: [
20001
- /* @__PURE__ */ T.jsx("div", { className: Os.sheetHeader, children: m }),
20001
+ m && /* @__PURE__ */ T.jsx("div", { className: Os.sheetHeader, children: m }),
20002
20002
  u,
20003
- /* @__PURE__ */ T.jsxs(
20003
+ d && /* @__PURE__ */ T.jsxs(
20004
20004
  "div",
20005
20005
  {
20006
20006
  className: xe(Os.sheetFooter, {
20007
20007
  [Os["sheetFooter--alwaysVisible"]]: !!d
20008
20008
  }),
20009
20009
  children: [
20010
- /* @__PURE__ */ T.jsx(
20010
+ a && /* @__PURE__ */ T.jsx(
20011
20011
  Yn,
20012
20012
  {
20013
20013
  onClick: i,
@@ -6,7 +6,7 @@ export interface SheetProps {
6
6
  ariaLabel?: string;
7
7
  ariaLabelledBy?: string;
8
8
  closeButtonText?: string;
9
- onClose: () => void;
9
+ onClose?: () => void;
10
10
  open: boolean;
11
11
  sheetBody?: ReactElement<CardBodyProps>;
12
12
  sheetFooter?: ReactElement<CardHeaderProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.12.0-development.10",
3
+ "version": "1.12.0-development.12",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",