design-system-silkhaus 3.3.0 → 3.4.0-beta.rtl-issues.2

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.
@@ -95,8 +95,8 @@ function to() {
95
95
  {
96
96
  var O = x.ReactDebugCurrentFrame, $ = O.getStackAddendum();
97
97
  $ !== "" && (b += "%s", R = R.concat([$]));
98
- var K = R.map(function(F) {
99
- return String(F);
98
+ var K = R.map(function(B) {
99
+ return String(B);
100
100
  });
101
101
  K.unshift("Warning: " + b), Function.prototype.apply.call(console[s], console, K);
102
102
  }
@@ -155,9 +155,9 @@ function to() {
155
155
  var O = s.displayName || null;
156
156
  return O !== null ? O : q(s.type) || "Memo";
157
157
  case v: {
158
- var $ = s, K = $._payload, F = $._init;
158
+ var $ = s, K = $._payload, B = $._init;
159
159
  try {
160
- return q(F(K));
160
+ return q(B(K));
161
161
  } catch (D) {
162
162
  return null;
163
163
  }
@@ -262,27 +262,27 @@ function to() {
262
262
  K = le.current, le.current = null, Qe();
263
263
  try {
264
264
  if (b) {
265
- var F = function() {
265
+ var B = function() {
266
266
  throw Error();
267
267
  };
268
- if (Object.defineProperty(F.prototype, "props", {
268
+ if (Object.defineProperty(B.prototype, "props", {
269
269
  set: function() {
270
270
  throw Error();
271
271
  }
272
272
  }), typeof Reflect == "object" && Reflect.construct) {
273
273
  try {
274
- Reflect.construct(F, []);
274
+ Reflect.construct(B, []);
275
275
  } catch (re) {
276
276
  O = re;
277
277
  }
278
- Reflect.construct(s, [], F);
278
+ Reflect.construct(s, [], B);
279
279
  } else {
280
280
  try {
281
- F.call();
281
+ B.call();
282
282
  } catch (re) {
283
283
  O = re;
284
284
  }
285
- s.call(F.prototype);
285
+ s.call(B.prototype);
286
286
  }
287
287
  } else {
288
288
  try {
@@ -347,7 +347,7 @@ function to() {
347
347
  var O = s, $ = O._payload, K = O._init;
348
348
  try {
349
349
  return tt(K($), b, R);
350
- } catch (F) {
350
+ } catch (B) {
351
351
  }
352
352
  }
353
353
  }
@@ -364,19 +364,19 @@ function to() {
364
364
  function kr(s, b, R, O, $) {
365
365
  {
366
366
  var K = Function.call.bind(Ie);
367
- for (var F in s)
368
- if (K(s, F)) {
367
+ for (var B in s)
368
+ if (K(s, B)) {
369
369
  var D = void 0;
370
370
  try {
371
- if (typeof s[F] != "function") {
372
- var te = Error((O || "React class") + ": " + R + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
371
+ if (typeof s[B] != "function") {
372
+ var te = Error((O || "React class") + ": " + R + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
373
373
  throw te.name = "Invariant Violation", te;
374
374
  }
375
- D = s[F](b, F, O, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
375
+ D = s[B](b, B, O, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
376
376
  } catch (Q) {
377
377
  D = Q;
378
378
  }
379
- D && !(D instanceof Error) && (nt($), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", O || "React class", R, F, typeof D), nt(null)), D instanceof Error && !(D.message in tn) && (tn[D.message] = !0, nt($), y("Failed %s type: %s", R, D.message), nt(null));
379
+ D && !(D instanceof Error) && (nt($), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", O || "React class", R, B, typeof D), nt(null)), D instanceof Error && !(D.message in tn) && (tn[D.message] = !0, nt($), y("Failed %s type: %s", R, D.message), nt(null));
380
380
  }
381
381
  }
382
382
  }
@@ -451,7 +451,7 @@ function to() {
451
451
  });
452
452
  }
453
453
  }
454
- var Dr = function(s, b, R, O, $, K, F) {
454
+ var Dr = function(s, b, R, O, $, K, B) {
455
455
  var D = {
456
456
  // This tag allows us to uniquely identify this as a React Element
457
457
  $$typeof: t,
@@ -459,7 +459,7 @@ function to() {
459
459
  type: s,
460
460
  key: b,
461
461
  ref: R,
462
- props: F,
462
+ props: B,
463
463
  // Record the component responsible for creating this element.
464
464
  _owner: K
465
465
  };
@@ -482,20 +482,20 @@ function to() {
482
482
  };
483
483
  function Fr(s, b, R, O, $) {
484
484
  {
485
- var K, F = {}, D = null, te = null;
485
+ var K, B = {}, D = null, te = null;
486
486
  R !== void 0 && (on(R), D = "" + R), Ar(b) && (on(b.key), D = "" + b.key), Hr(b) && (te = b.ref, Or(b, $));
487
487
  for (K in b)
488
- Ie.call(b, K) && !Pr.hasOwnProperty(K) && (F[K] = b[K]);
488
+ Ie.call(b, K) && !Pr.hasOwnProperty(K) && (B[K] = b[K]);
489
489
  if (s && s.defaultProps) {
490
490
  var Q = s.defaultProps;
491
491
  for (K in Q)
492
- F[K] === void 0 && (F[K] = Q[K]);
492
+ B[K] === void 0 && (B[K] = Q[K]);
493
493
  }
494
494
  if (D || te) {
495
495
  var ee = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
496
- D && Wr(F, ee), te && _r(F, ee);
496
+ D && Wr(B, ee), te && _r(B, ee);
497
497
  }
498
- return Dr(s, D, te, $, O, an.current, F);
498
+ return Dr(s, D, te, $, O, an.current, B);
499
499
  }
500
500
  }
501
501
  var vt = x.ReactCurrentOwner, cn = x.ReactDebugCurrentFrame;
@@ -566,8 +566,8 @@ Check the top-level render call using <` + R + ">.");
566
566
  else if (s) {
567
567
  var $ = w(s);
568
568
  if (typeof $ == "function" && $ !== s.entries)
569
- for (var K = $.call(s), F; !(F = K.next()).done; )
570
- xt(F.value) && fn(F.value, b);
569
+ for (var K = $.call(s), B; !(B = K.next()).done; )
570
+ xt(B.value) && fn(B.value, b);
571
571
  }
572
572
  }
573
573
  }
@@ -611,8 +611,8 @@ Check the top-level render call using <` + R + ">.");
611
611
  var hn = {};
612
612
  function mn(s, b, R, O, $, K) {
613
613
  {
614
- var F = V(s);
615
- if (!F) {
614
+ var B = V(s);
615
+ if (!B) {
616
616
  var D = "";
617
617
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (D += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
618
618
  var te = Br();
@@ -623,7 +623,7 @@ Check the top-level render call using <` + R + ">.");
623
623
  var ee = Fr(s, b, R, $, K);
624
624
  if (ee == null)
625
625
  return ee;
626
- if (F) {
626
+ if (B) {
627
627
  var se = b.children;
628
628
  if (se !== void 0)
629
629
  if (O)
@@ -664,7 +664,7 @@ React keys must be passed directly to JSX without using spread:
664
664
  }()), Ne;
665
665
  }
666
666
  process.env.NODE_ENV === "production" ? At.exports = eo() : At.exports = to();
667
- var B = At.exports;
667
+ var F = At.exports;
668
668
  const Gt = "-", no = (e) => {
669
669
  const t = oo(e), {
670
670
  conflictingClassGroups: n,
@@ -2947,7 +2947,7 @@ const J = (e) => {
2947
2947
  const r = t[n];
2948
2948
  r !== void 0 && (e[n] = (e[n] || []).concat(r));
2949
2949
  }
2950
- }, Wo = (e, ...t) => typeof e == "function" ? Wt(_t, e, ...t) : Wt(() => Ho(_t(), e), ...t), Dt = /* @__PURE__ */ Wt(_t), En = ({ children: e, size: t = "small" }) => /* @__PURE__ */ B.jsx(
2950
+ }, Wo = (e, ...t) => typeof e == "function" ? Wt(_t, e, ...t) : Wt(() => Ho(_t(), e), ...t), Dt = /* @__PURE__ */ Wt(_t), En = ({ children: e, size: t = "small" }) => /* @__PURE__ */ F.jsx(
2951
2951
  "div",
2952
2952
  {
2953
2953
  className: `ds-flex ds-items-center ds-justify-center ${t === "small" ? "ds-h-5 ds-w-5" : "ds-h-6 ds-w-6"}`,
@@ -2977,7 +2977,7 @@ const Ut = {
2977
2977
  "ds-mobile": { min: "375px" },
2978
2978
  "ds-tablet": { min: "768px" },
2979
2979
  "ds-desktop": { min: "1024px" },
2980
- "ds-wide_desktop": { min: "1440px" }
2980
+ "ds-wide_desktop": { min: "1280px" }
2981
2981
  },
2982
2982
  extend: {
2983
2983
  colors: {
@@ -3859,8 +3859,8 @@ const wa = (e, t = "AED") => {
3859
3859
  "helpterTextClassName",
3860
3860
  "buttonClassName"
3861
3861
  ]);
3862
- return /* @__PURE__ */ B.jsxs("div", { className: Ue("ds-flex ds-flex-col ds-gap-1", r), children: [
3863
- /* @__PURE__ */ B.jsxs(
3862
+ return /* @__PURE__ */ F.jsxs("div", { className: Ue("ds-flex ds-flex-col ds-gap-1", r), children: [
3863
+ /* @__PURE__ */ F.jsx(
3864
3864
  "button",
3865
3865
  G(L({
3866
3866
  "data-tracking-id": c,
@@ -3875,14 +3875,14 @@ const wa = (e, t = "AED") => {
3875
3875
  )
3876
3876
  )
3877
3877
  }, v), {
3878
- children: [
3879
- a && /* @__PURE__ */ B.jsx(En, { size: t, children: a }),
3880
- o && /* @__PURE__ */ B.jsx("div", { className: `${a ? "ds-ml-2" : ""} ${l ? "ds-mr-2" : ""}`, children: o }),
3881
- l && /* @__PURE__ */ B.jsx(En, { size: t, children: l })
3882
- ]
3878
+ children: /* @__PURE__ */ F.jsxs("div", { className: "ds-flex ds-items-center ds-gap-2", children: [
3879
+ a && /* @__PURE__ */ F.jsx(En, { size: t, children: a }),
3880
+ o && /* @__PURE__ */ F.jsx("div", { children: o }),
3881
+ l && /* @__PURE__ */ F.jsx(En, { size: t, children: l })
3882
+ ] })
3883
3883
  })
3884
3884
  ),
3885
- u && /* @__PURE__ */ B.jsx(
3885
+ u && /* @__PURE__ */ F.jsx(
3886
3886
  "div",
3887
3887
  {
3888
3888
  className: Ue(
@@ -3896,7 +3896,7 @@ const wa = (e, t = "AED") => {
3896
3896
  }
3897
3897
  );
3898
3898
  Bo.displayName = "Button";
3899
- const Ra = ({ className: e }) => /* @__PURE__ */ B.jsxs(
3899
+ const Ra = ({ className: e }) => /* @__PURE__ */ F.jsxs(
3900
3900
  "svg",
3901
3901
  {
3902
3902
  width: "100%",
@@ -3906,14 +3906,14 @@ const Ra = ({ className: e }) => /* @__PURE__ */ B.jsxs(
3906
3906
  xmlns: "http://www.w3.org/2000/svg",
3907
3907
  className: e,
3908
3908
  children: [
3909
- /* @__PURE__ */ B.jsx("g", { clipPath: "url(#hei1mmknga)", children: /* @__PURE__ */ B.jsx(
3909
+ /* @__PURE__ */ F.jsx("g", { clipPath: "url(#hei1mmknga)", children: /* @__PURE__ */ F.jsx(
3910
3910
  "path",
3911
3911
  {
3912
3912
  d: "M3.261 14.356a.664.664 0 0 0 .92 0l4.629-4.63 4.63 4.63a.657.657 0 0 0 .918 0 .655.655 0 0 0 0-.911l-4.63-4.637 4.63-4.63a.648.648 0 0 0 0-.911.65.65 0 0 0-.919 0l-4.63 4.63-4.629-4.63a.644.644 0 0 0-.919 0 .655.655 0 0 0 0 .911l4.63 4.63-4.63 4.637a.648.648 0 0 0 0 .911z",
3913
3913
  fill: "currentColor"
3914
3914
  }
3915
3915
  ) }),
3916
- /* @__PURE__ */ B.jsx("defs", { children: /* @__PURE__ */ B.jsx("clipPath", { id: "hei1mmknga", children: /* @__PURE__ */ B.jsx(
3916
+ /* @__PURE__ */ F.jsx("defs", { children: /* @__PURE__ */ F.jsx("clipPath", { id: "hei1mmknga", children: /* @__PURE__ */ F.jsx(
3917
3917
  "path",
3918
3918
  {
3919
3919
  fill: "currentColor",
@@ -3923,7 +3923,7 @@ const Ra = ({ className: e }) => /* @__PURE__ */ B.jsxs(
3923
3923
  ) }) })
3924
3924
  ]
3925
3925
  }
3926
- ), Ea = ({ className: e }) => /* @__PURE__ */ B.jsx(B.Fragment, { children: /* @__PURE__ */ B.jsxs(
3926
+ ), Ea = ({ className: e }) => /* @__PURE__ */ F.jsx(F.Fragment, { children: /* @__PURE__ */ F.jsxs(
3927
3927
  "svg",
3928
3928
  {
3929
3929
  width: "100%",
@@ -3933,14 +3933,14 @@ const Ra = ({ className: e }) => /* @__PURE__ */ B.jsxs(
3933
3933
  xmlns: "http://www.w3.org/2000/svg",
3934
3934
  className: e,
3935
3935
  children: [
3936
- /* @__PURE__ */ B.jsx("g", { clipPath: "url(#clip0_4866_5637)", children: /* @__PURE__ */ B.jsx(
3936
+ /* @__PURE__ */ F.jsx("g", { clipPath: "url(#clip0_4866_5637)", children: /* @__PURE__ */ F.jsx(
3937
3937
  "path",
3938
3938
  {
3939
3939
  d: "M6.52428 13.4203C6.90774 13.4203 7.20983 13.2655 7.41784 12.9501L13.5122 3.52347C13.6646 3.28912 13.7267 3.08171 13.7267 2.88436C13.7267 2.36687 13.3495 2 12.8237 2C12.4557 2 12.2359 2.12604 12.0113 2.47695L6.49823 11.2137L3.67348 7.63567C3.4631 7.36641 3.23617 7.25042 2.91898 7.25042C2.38226 7.25042 2 7.63061 2 8.15017C2 8.3765 2.07753 8.59131 2.26954 8.82004L5.6381 12.9764C5.88517 13.278 6.15945 13.4203 6.52428 13.4203Z",
3940
3940
  fill: "currentColor"
3941
3941
  }
3942
3942
  ) }),
3943
- /* @__PURE__ */ B.jsx("defs", { children: /* @__PURE__ */ B.jsx("clipPath", { id: "clip0_4866_5637", children: /* @__PURE__ */ B.jsx(
3943
+ /* @__PURE__ */ F.jsx("defs", { children: /* @__PURE__ */ F.jsx("clipPath", { id: "clip0_4866_5637", children: /* @__PURE__ */ F.jsx(
3944
3944
  "rect",
3945
3945
  {
3946
3946
  width: "16",
@@ -3950,7 +3950,7 @@ const Ra = ({ className: e }) => /* @__PURE__ */ B.jsxs(
3950
3950
  ) }) })
3951
3951
  ]
3952
3952
  }
3953
- ) }), Ta = ({ className: e }) => /* @__PURE__ */ B.jsxs(
3953
+ ) }), Ta = ({ className: e }) => /* @__PURE__ */ F.jsxs(
3954
3954
  "svg",
3955
3955
  {
3956
3956
  width: "100%",
@@ -3960,14 +3960,14 @@ const Ra = ({ className: e }) => /* @__PURE__ */ B.jsxs(
3960
3960
  xmlns: "http://www.w3.org/2000/svg",
3961
3961
  className: e,
3962
3962
  children: [
3963
- /* @__PURE__ */ B.jsx("g", { clipPath: "url(#clip0_4866_6306)", children: /* @__PURE__ */ B.jsx(
3963
+ /* @__PURE__ */ F.jsx("g", { clipPath: "url(#clip0_4866_6306)", children: /* @__PURE__ */ F.jsx(
3964
3964
  "path",
3965
3965
  {
3966
3966
  d: "M8.00315 10.6667C8.15667 10.6667 8.31019 10.6053 8.41458 10.4888L13.1676 5.62374C13.272 5.51945 13.3334 5.38448 13.3334 5.23111C13.3334 4.91208 13.0939 4.66669 12.7746 4.66669C12.6211 4.66669 12.4798 4.72804 12.3755 4.8262L7.67154 9.62987H8.32862L3.62472 4.8262C3.52647 4.72804 3.38523 4.66669 3.22557 4.66669C2.90624 4.66669 2.66675 4.91208 2.66675 5.23111C2.66675 5.38448 2.72816 5.51945 2.83255 5.62988L7.58557 10.4888C7.70225 10.6053 7.84349 10.6667 8.00315 10.6667Z",
3967
3967
  fill: "currentColor"
3968
3968
  }
3969
3969
  ) }),
3970
- /* @__PURE__ */ B.jsx("defs", { children: /* @__PURE__ */ B.jsx("clipPath", { id: "clip0_4866_6306", children: /* @__PURE__ */ B.jsx(
3970
+ /* @__PURE__ */ F.jsx("defs", { children: /* @__PURE__ */ F.jsx("clipPath", { id: "clip0_4866_6306", children: /* @__PURE__ */ F.jsx(
3971
3971
  "rect",
3972
3972
  {
3973
3973
  width: "16",
@@ -6266,21 +6266,21 @@ const ga = {
6266
6266
  const d = {
6267
6267
  marginTop: a ? `${a}` : void 0,
6268
6268
  maxWidth: i ? `${i}` : void 0
6269
- }, h = /* @__PURE__ */ B.jsxs(
6269
+ }, h = /* @__PURE__ */ F.jsxs(
6270
6270
  "div",
6271
6271
  G(L({
6272
6272
  ref: t,
6273
6273
  className: Dt("modal-animated", n ? "show" : "hide", c)
6274
6274
  }, f), {
6275
6275
  children: [
6276
- /* @__PURE__ */ B.jsx(
6276
+ /* @__PURE__ */ F.jsx(
6277
6277
  "div",
6278
6278
  {
6279
6279
  className: "modal-animated-backdrop",
6280
6280
  onClick: r
6281
6281
  }
6282
6282
  ),
6283
- /* @__PURE__ */ B.jsx(
6283
+ /* @__PURE__ */ F.jsx(
6284
6284
  "div",
6285
6285
  {
6286
6286
  className: Dt(
@@ -6316,7 +6316,7 @@ const ma = Number(
6316
6316
  };
6317
6317
  }, []), { documentWidth: e, documentHeight: n, screenSize: o };
6318
6318
  }, va = Gn(
6319
- ({ label: e, isChecked: t, onSelectionChange: n, disabled: r, className: o, labelPosition: a = "right" }, i) => /* @__PURE__ */ B.jsxs(
6319
+ ({ label: e, isChecked: t, onSelectionChange: n, disabled: r, className: o, labelPosition: a = "right" }, i) => /* @__PURE__ */ F.jsxs(
6320
6320
  "label",
6321
6321
  {
6322
6322
  className: Ue(
@@ -6326,7 +6326,7 @@ const ma = Number(
6326
6326
  o
6327
6327
  ),
6328
6328
  children: [
6329
- /* @__PURE__ */ B.jsx(
6329
+ /* @__PURE__ */ F.jsx(
6330
6330
  "input",
6331
6331
  {
6332
6332
  className: "ds-hidden",
@@ -6340,7 +6340,7 @@ const ma = Number(
6340
6340
  onClick: (l) => l.stopPropagation()
6341
6341
  }
6342
6342
  ),
6343
- /* @__PURE__ */ B.jsx(
6343
+ /* @__PURE__ */ F.jsx(
6344
6344
  "div",
6345
6345
  {
6346
6346
  className: Ue(
@@ -6349,7 +6349,7 @@ const ma = Number(
6349
6349
  )
6350
6350
  }
6351
6351
  ),
6352
- e && /* @__PURE__ */ B.jsx("div", { className: "ds-flex-grow", children: e })
6352
+ e && /* @__PURE__ */ F.jsx("div", { className: "ds-flex-grow", children: e })
6353
6353
  ]
6354
6354
  }
6355
6355
  )
@@ -6369,7 +6369,7 @@ export {
6369
6369
  _a as g,
6370
6370
  La as h,
6371
6371
  Sa as i,
6372
- B as j,
6372
+ F as j,
6373
6373
  Ea as k,
6374
6374
  Bo as l,
6375
6375
  Fa as m,
package/dist/app/index.js CHANGED
@@ -19,7 +19,7 @@ var I = (s, d) => {
19
19
  d.indexOf(t) < 0 && V.call(s, t) && (a[t] = s[t]);
20
20
  return a;
21
21
  };
22
- import { j as e, a as y, t as ss, c as es, p as ds, u as as, o as ts, h as ls, s as rs, r as ns, i as cs, v as is, d as os, e as us, f as xs, g as ms, F as ps, A as fs, C as hs, l as bs, w as gs, k as vs, n as ys } from "../Checkbox-DwGmxWYP.js";
22
+ import { j as e, a as y, t as ss, c as es, p as ds, u as as, o as ts, h as ls, s as rs, r as ns, i as cs, v as is, d as os, e as us, f as xs, g as ms, F as ps, A as fs, C as hs, l as bs, w as gs, k as vs, n as ys } from "../Checkbox-C6k7oFhV.js";
23
23
  import A, { forwardRef as js, useState as w, useEffect as ws } from "react";
24
24
  const T = ({ children: s, size: d = "small" }) => /* @__PURE__ */ e.jsx(
25
25
  "div",
package/dist/index.d.ts CHANGED
@@ -383,7 +383,7 @@ declare interface DateRangePickerProps {
383
383
  lTBannerDesc?: string | default_2.ReactNode;
384
384
  lTBannerBgColor?: string;
385
385
  thirdColumn?: string | default_2.ReactNode;
386
- onMobileCloseClick: () => void;
386
+ onMobileCloseClick?: () => void;
387
387
  onOutsideClick?: (e: unknown) => void;
388
388
  onPrevMonthClick?: (e: unknown) => void;
389
389
  onNextMonthClick?: (e: unknown) => void;
@@ -798,6 +798,7 @@ export declare interface MobileFilterMenuProps extends HTMLAttributes<HTMLDivEle
798
798
  backgroundImage?: string;
799
799
  marginTop?: string;
800
800
  maxWidth?: string;
801
+ rtl?: boolean;
801
802
  }
802
803
 
803
804
  export declare const MobileMultiSelectFilterDropDown: ForwardRefExoticComponent<MobileMultiSelectFilterDropDownProps & RefAttributes<HTMLDivElement>>;
package/dist/index.js CHANGED
@@ -19,8 +19,8 @@ var Ot = (t, e) => {
19
19
  e.indexOf(n) < 0 && jh.call(t, n) && (r[n] = t[n]);
20
20
  return r;
21
21
  };
22
- import { j as u, t as He, c as Ee, B as P9, a as xe, u as og, b as x9, d as sg, e as lg, f as ug, g as dg, F as cg, A as Xn, C as Br, o as fg, h as hg, i as pg, k as vg, l as Bt, m as D9, n as S9, p as v1, q as yg, s as O9, r as T9, v as M9 } from "./Checkbox-DwGmxWYP.js";
23
- import { w as TL, x as ML, y as kL } from "./Checkbox-DwGmxWYP.js";
22
+ import { j as u, t as He, c as Ee, B as P9, a as xe, u as og, b as x9, d as sg, e as lg, f as ug, g as dg, F as cg, A as Xn, C as Br, o as fg, h as hg, i as pg, k as vg, l as Bt, m as D9, n as S9, p as v1, q as yg, s as O9, r as T9, v as M9 } from "./Checkbox-C6k7oFhV.js";
23
+ import { w as TL, x as ML, y as kL } from "./Checkbox-C6k7oFhV.js";
24
24
  import * as ct from "react";
25
25
  import oe, { useState as qe, useMemo as yr, useEffect as ft, useCallback as ze, forwardRef as er, createContext as gg, useRef as Tt, useContext as Ta, useDebugValue as Ah, useLayoutEffect as y1, isValidElement as on, useSyncExternalStore as k9, cloneElement as Lf } from "react";
26
26
  import Fe from "moment";
@@ -3139,7 +3139,7 @@ const Fh = "data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%20
3139
3139
  h && /* @__PURE__ */ u.jsx(
3140
3140
  "span",
3141
3141
  {
3142
- className: `py-2 ds_MediumBodyEmphasized ds-text-Text-primary ltr:ds-pl-3 rtl:ds-pr-3 ${e ? "ds-opacity-50" : ""}`,
3142
+ className: `py-2 ds_MediumBodyEmphasized ds-pl-3 ds-text-Text-primary rtl:ds-pl-0 rtl:ds-pr-3 ${e ? "ds-opacity-50" : ""}`,
3143
3143
  children: h
3144
3144
  }
3145
3145
  ),
@@ -3159,7 +3159,7 @@ const Fh = "data:image/svg+xml,%3csvg%20width='11'%20height='11'%20viewBox='0%20
3159
3159
  p && /* @__PURE__ */ u.jsx(
3160
3160
  "span",
3161
3161
  {
3162
- className: `py-2 ds_MediumBodyEmphasized ds-pr-3 ds-text-Text-primary ${e ? "ds-opacity-50" : ""}`,
3162
+ className: `py-2 ds_MediumBodyEmphasized ds-pr-3 ds-text-Text-primary rtl:ds-pl-3 rtl:ds-pr-0 ${e ? "ds-opacity-50" : ""}`,
3163
3163
  children: p
3164
3164
  }
3165
3165
  )
@@ -21424,7 +21424,13 @@ const GD = oe.forwardRef(
21424
21424
  renderCalendarDay: m,
21425
21425
  renderDayContents: g,
21426
21426
  renderCalendarInfo: y,
21427
- isDayBlocked: E
21427
+ isDayBlocked: E,
21428
+ renderWeekHeaderElement: (se) => ({
21429
+ ح: "أ",
21430
+ // sunday
21431
+ ن: "إ"
21432
+ // monday
21433
+ })[se] || se
21428
21434
  }
21429
21435
  ),
21430
21436
  /* @__PURE__ */ u.jsxs(
@@ -21628,7 +21634,6 @@ const f7 = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%20
21628
21634
  /* @__PURE__ */ u.jsx(
21629
21635
  S9,
21630
21636
  {
21631
- label: I.label,
21632
21637
  isChecked: g.findIndex((P) => P.label === I.label) !== -1,
21633
21638
  onSelectionChange: () => S(I.label, I.id),
21634
21639
  onClick: (P) => P.stopPropagation()
@@ -21667,8 +21672,9 @@ const XD = er((t, e) => {
21667
21672
  animation: d = "slideUp",
21668
21673
  marginTop: c,
21669
21674
  maxWidth: f,
21670
- children: h
21671
- } = t, p = !l && i ? { backgroundImage: `url(${i})` } : { backgroundColor: "white" };
21675
+ children: h,
21676
+ rtl: p = !1
21677
+ } = t, m = !l && i ? { backgroundImage: `url(${i})` } : { backgroundColor: "white" };
21672
21678
  return /* @__PURE__ */ u.jsx(
21673
21679
  Xn,
21674
21680
  {
@@ -21680,8 +21686,9 @@ const XD = er((t, e) => {
21680
21686
  children: /* @__PURE__ */ u.jsxs(
21681
21687
  "div",
21682
21688
  {
21683
- style: p,
21689
+ style: m,
21684
21690
  className: "ds-h-dvh",
21691
+ dir: p ? "rtl" : "ltr",
21685
21692
  children: [
21686
21693
  /* @__PURE__ */ u.jsx("div", { children: /* @__PURE__ */ u.jsxs(
21687
21694
  "div",
@@ -21783,7 +21790,7 @@ const QD = er(
21783
21790
  className: Ee(
21784
21791
  s && "ds-text-black",
21785
21792
  !s && "ds-text-Fills-secondary",
21786
- "ds-absolute ds-left-0 ds-top-1/2 ds-max-w-6 -ds-translate-y-1/2"
21793
+ "ds-absolute ds-start-0 ds-top-1/2 ds-max-w-6 -ds-translate-y-1/2"
21787
21794
  ),
21788
21795
  children: [
21789
21796
  f && !l ? f : "",
@@ -21823,7 +21830,7 @@ const QD = er(
21823
21830
  /* @__PURE__ */ u.jsx("div", { className: "ds-z-0 ds-flex-1 ds-overflow-auto ds-p-6", children: (a == null ? void 0 : a.length) > 0 ? a.map((C, b) => /* @__PURE__ */ u.jsxs(
21824
21831
  "div",
21825
21832
  {
21826
- className: "design-dropdown-select-item",
21833
+ className: "design-dropdown-select-item ds-flex ds-items-center ds-gap-6",
21827
21834
  onClick: () => {
21828
21835
  i(C), g(!1);
21829
21836
  },
@@ -21836,7 +21843,7 @@ const QD = er(
21836
21843
  alt: C == null ? void 0 : C.label
21837
21844
  }
21838
21845
  ),
21839
- /* @__PURE__ */ u.jsx("span", { className: "ds_MediumBodyEmphasized ds-pl-6", children: (C == null ? void 0 : C.label) || "" })
21846
+ /* @__PURE__ */ u.jsx("span", { className: "ds_MediumBodyEmphasized", children: (C == null ? void 0 : C.label) || "" })
21840
21847
  ]
21841
21848
  },
21842
21849
  b