design-system-silkhaus 2.16.2-beta.buttonfix.1 → 2.16.3

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
@@ -331,7 +331,13 @@ declare interface DateRangePickerProps {
331
331
  _mobileDaySize?: number;
332
332
  mobileBreakPoint?: number;
333
333
  isAdjustHeightForViewport?: boolean;
334
+ /**
335
+ * @default 'button'
336
+ */
334
337
  primaryBtnType?: 'button' | 'submit' | 'reset';
338
+ /**
339
+ * @default 'button'
340
+ */
335
341
  secondaryBtnType?: 'button' | 'submit' | 'reset';
336
342
  }
337
343
 
package/dist/index.js CHANGED
@@ -28721,8 +28721,8 @@ const Yj = se.forwardRef(
28721
28721
  mobileBreakPoint: C = 768,
28722
28722
  isDayBlocked: k,
28723
28723
  isAdjustHeightForViewport: E,
28724
- primaryBtnType: A,
28725
- secondaryBtnType: j
28724
+ primaryBtnType: A = "button",
28725
+ secondaryBtnType: j = "button"
28726
28726
  }, R) => {
28727
28727
  const x = se.useRef(null), [S, D] = se.useState({}), [P, I] = Qe(r), [M, W] = Qe(n), [H, N] = Qe(a), [F, O] = Qe("horizontal"), { documentWidth: p, documentHeight: q } = Wj(), [z, V] = Qe(2), [G, U] = Qe(!1), [Q, te] = Qe(w), [Y, T] = Qe(
28728
28728
  p < C ? "small" : "large"
@@ -32113,7 +32113,7 @@ const eF = se.forwardRef(
32113
32113
  /* @__PURE__ */ f.jsxs(
32114
32114
  "div",
32115
32115
  {
32116
- className: "ds-mb-4 ds-grid ds-grid-flow-row ds-grid-cols-3 ds-gap-[56px]",
32116
+ className: "ds-mb-4 ds-grid ds-grid-flow-row ds-grid-cols-3",
32117
32117
  role: "button",
32118
32118
  onClick: v,
32119
32119
  children: [
@@ -38346,6 +38346,7 @@ const BY = (r) => {
38346
38346
  i && "ds-bg-Background-accentEggplant-5"
38347
38347
  ),
38348
38348
  role: "button",
38349
+ onClick: c,
38349
38350
  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: [
38350
38351
  /* @__PURE__ */ f.jsxs("div", { children: [
38351
38352
  /* @__PURE__ */ f.jsxs(
@@ -38364,8 +38365,7 @@ const BY = (r) => {
38364
38365
  name: t,
38365
38366
  type: "radio",
38366
38367
  checked: i,
38367
- value: e,
38368
- onChange: c
38368
+ value: e
38369
38369
  }
38370
38370
  ),
38371
38371
  /* @__PURE__ */ f.jsx("span", { className: "checkmark" })