@scbt-ecom/ui 0.62.0 → 0.63.0

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.
@@ -18252,11 +18252,16 @@ function NB({
18252
18252
  scrollOffset: n,
18253
18253
  lanes: r
18254
18254
  }) {
18255
- const i = t.length - 1;
18255
+ const i = t.length - 1, o = (l) => t[l].start;
18256
+ if (t.length <= r)
18257
+ return {
18258
+ startIndex: 0,
18259
+ endIndex: i
18260
+ };
18256
18261
  let s = uS(
18257
18262
  0,
18258
18263
  i,
18259
- (l) => t[l].start,
18264
+ o,
18260
18265
  n
18261
18266
  ), a = s;
18262
18267
  if (r === 1)
@@ -42108,7 +42113,7 @@ const VT = $T(!1, !0), zT = $T(!0, !0), qq = Kt.create({
42108
42113
  /* @__PURE__ */ P.jsx(bG, { editor: p }),
42109
42114
  !e && /* @__PURE__ */ P.jsx("p", { className: te("absolute left-4 top-16 z-10 text-color-disabled", o == null ? void 0 : o.label), children: n }),
42110
42115
  /* @__PURE__ */ P.jsx(SK, { ref: d, editor: p }),
42111
- r && /* @__PURE__ */ P.jsxs("p", { className: "absolute bottom-4 left-4 text-color-disabled", children: [
42116
+ r && /* @__PURE__ */ P.jsxs("p", { className: "absolute bottom-4 right-4 text-color-disabled", children: [
42112
42117
  p.storage.characterCount.characters(),
42113
42118
  " / ",
42114
42119
  r,
@@ -42785,4 +42790,4 @@ export {
42785
42790
  u9 as y,
42786
42791
  IW as z
42787
42792
  };
42788
- //# sourceMappingURL=index-DzIu8nCP.js.map
42793
+ //# sourceMappingURL=index-9RerNC5J.js.map