design-system-silkhaus 2.16.1-beta.fixes → 2.16.2-beta.buttonfix

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/dist/index.d.ts CHANGED
@@ -53,6 +53,8 @@ export declare interface ActionFooterProps {
53
53
  secondaryBtnDisabled?: boolean;
54
54
  primaryBtnTxt: string | default_2.ReactNode;
55
55
  secondaryBtnTxt?: string | default_2.ReactNode;
56
+ primaryBtnType?: 'button' | 'submit' | 'reset';
57
+ secondaryBtnType?: 'button' | 'submit' | 'reset';
56
58
  thirdColumn?: default_2.ReactNode;
57
59
  }
58
60
 
package/dist/index.js CHANGED
@@ -28507,29 +28507,31 @@ const m0 = se.forwardRef(
28507
28507
  secondaryBtnTxt: a,
28508
28508
  primaryBtnDisabled: i = !1,
28509
28509
  secondaryBtnDisabled: o = !1,
28510
- thirdColumn: s
28511
- }, l) => /* @__PURE__ */ f.jsxs(
28510
+ primaryBtnType: s,
28511
+ secondaryBtnType: l,
28512
+ thirdColumn: u
28513
+ }, d) => /* @__PURE__ */ f.jsxs(
28512
28514
  "div",
28513
28515
  {
28514
- ref: l,
28516
+ ref: d,
28515
28517
  className: Je(
28516
28518
  Ne(
28517
- !s && t && a && "ds-flex ds-flex-row ds-items-center ds-justify-between",
28518
- !s && !t && !a && "ds-flex ds-flex-col ds-items-stretch ds-justify-stretch",
28519
+ !u && t && a && "ds-flex ds-flex-row ds-items-center ds-justify-between",
28520
+ !u && !t && !a && "ds-flex ds-flex-col ds-items-stretch ds-justify-stretch",
28519
28521
  "ds-flex ds-flex-row ds-items-center ds-justify-between",
28520
28522
  e
28521
28523
  )
28522
28524
  ),
28523
28525
  children: [
28524
- s && /* @__PURE__ */ f.jsx("div", { children: s }),
28526
+ u && /* @__PURE__ */ f.jsx("div", { children: u }),
28525
28527
  /* @__PURE__ */ f.jsxs(
28526
28528
  "div",
28527
28529
  {
28528
28530
  className: Je(
28529
28531
  Ne(
28530
- !s && t && a && "ds-flex ds-flex-grow ds-flex-row ds-justify-between",
28531
- !s && !t && !a && "ds-flex ds-flex-grow ds-flex-col ds-items-stretch ds-justify-stretch",
28532
- s && "ds-flex ds-flex-row ds-items-stretch ds-justify-end ds-self-stretch"
28532
+ !u && t && a && "ds-flex ds-flex-grow ds-flex-row ds-justify-between",
28533
+ !u && !t && !a && "ds-flex ds-flex-grow ds-flex-col ds-items-stretch ds-justify-stretch",
28534
+ u && "ds-flex ds-flex-row ds-items-stretch ds-justify-end ds-self-stretch"
28533
28535
  )
28534
28536
  ),
28535
28537
  children: [
@@ -28540,6 +28542,7 @@ const m0 = se.forwardRef(
28540
28542
  size: "large",
28541
28543
  onClick: t,
28542
28544
  disabled: o,
28545
+ type: l,
28543
28546
  children: a
28544
28547
  }
28545
28548
  ),
@@ -28551,6 +28554,7 @@ const m0 = se.forwardRef(
28551
28554
  size: "large",
28552
28555
  onClick: r,
28553
28556
  disabled: i,
28557
+ type: s,
28554
28558
  children: n
28555
28559
  }
28556
28560
  )
@@ -32105,7 +32109,7 @@ const eF = se.forwardRef(
32105
32109
  /* @__PURE__ */ f.jsxs(
32106
32110
  "div",
32107
32111
  {
32108
- className: "ds-mb-4 ds-grid ds-grid-flow-row ds-grid-cols-3",
32112
+ className: "ds-mb-4 ds-grid ds-grid-flow-row ds-grid-cols-3 ds-gap-[56px]",
32109
32113
  role: "button",
32110
32114
  onClick: v,
32111
32115
  children: [
@@ -38338,7 +38342,6 @@ const BY = (r) => {
38338
38342
  i && "ds-bg-Background-accentEggplant-5"
38339
38343
  ),
38340
38344
  role: "button",
38341
- onClick: c,
38342
38345
  children: /* @__PURE__ */ f.jsxs("div", { className: "payment-item ds-flex ds-flex-row ds-items-start ds-justify-between ds-gap-2 ds-tablet:ds-gap-4", children: [
38343
38346
  /* @__PURE__ */ f.jsxs("div", { children: [
38344
38347
  /* @__PURE__ */ f.jsxs(
@@ -38357,7 +38360,8 @@ const BY = (r) => {
38357
38360
  name: t,
38358
38361
  type: "radio",
38359
38362
  checked: i,
38360
- value: e
38363
+ value: e,
38364
+ onChange: c
38361
38365
  }
38362
38366
  ),
38363
38367
  /* @__PURE__ */ f.jsx("span", { className: "checkmark" })