@epam/ai-dial-ui-kit 0.10.0-dev.32 → 0.10.0-dev.34

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.
@@ -48710,7 +48710,7 @@ function YN(e, t) {
48710
48710
  };
48711
48711
  }
48712
48712
  var Rs = /* @__PURE__ */ ((e) => (e.Undefined = "undefined", e.Mobile = "mobile", e.Tablet = "tablet", e.Desktop = "desktop", e))(Rs || {});
48713
- const Km = () => typeof window < "u" && window.innerWidth < 1024, Ym = () => typeof window < "u" && window.innerWidth < 640, nu = () => {
48713
+ const Km = () => typeof window < "u" && window.innerWidth < 1279, Ym = () => typeof window < "u" && window.innerWidth < 640, nu = () => {
48714
48714
  if (typeof window > "u") return Rs.Undefined;
48715
48715
  const e = window.innerWidth;
48716
48716
  return e >= 1024 ? Rs.Desktop : e < 640 ? Rs.Mobile : Rs.Tablet;
@@ -57113,7 +57113,7 @@ function hB({
57113
57113
  containerPadding: n = 8,
57114
57114
  dependencies: o = []
57115
57115
  }) {
57116
- const r = G(null), a = G(null), l = G(null), c = G(null), d = G([]), [u, h] = M(e.length), p = D(
57116
+ const r = G(null), a = G(null), l = G(null), c = G(null), d = G([]), [u, h] = M(0), p = D(
57117
57117
  (v, C) => {
57118
57118
  const w = l.current?.offsetWidth ?? 0, b = c.current?.offsetWidth ?? 0, x = w + b, R = C.getBoundingClientRect().width - x - i - s * 2 - n * 2;
57119
57119
  let S = 0, F = 0;
@@ -2,10 +2,10 @@ import { ScreenType } from '../types/screen';
2
2
  /**
3
3
  * Checks if the current viewport width is within the "medium" (tablet) screen range.
4
4
  *
5
- * Specifically, it returns `true` if the window width is less than 1024 pixels.
5
+ * Specifically, it returns `true` if the window width is less than 1280 pixels.
6
6
  * Safely handles server-side rendering by verifying that `window` is defined.
7
7
  *
8
- * @returns {boolean} `true` if the viewport width is less than 1024px, otherwise `false`.
8
+ * @returns {boolean} `true` if the viewport width is less than 1279px, otherwise `false`.
9
9
  *
10
10
  * @example
11
11
  * if (isMediumScreen()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.10.0-dev.32",
3
+ "version": "0.10.0-dev.34",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",