@optifye/dashboard-core 6.11.26 → 6.11.28

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.css CHANGED
@@ -6900,6 +6900,9 @@ input[type=range]:active::-moz-range-thumb {
6900
6900
  .md\:h-8 {
6901
6901
  height: 2rem;
6902
6902
  }
6903
+ .md\:h-\[450px\] {
6904
+ height: 450px;
6905
+ }
6903
6906
  .md\:h-auto {
6904
6907
  height: auto;
6905
6908
  }
package/dist/index.js CHANGED
@@ -60430,7 +60430,7 @@ function HomeView({
60430
60430
  ]
60431
60431
  }
60432
60432
  ),
60433
- isLineSelectorOpen ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute right-0 top-full z-50 mt-2 w-[280px] rounded-lg border border-slate-200 bg-white p-3 shadow-xl flex flex-col gap-2", children: [
60433
+ isLineSelectorOpen ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute left-0 sm:right-0 sm:left-auto top-full z-50 mt-2 w-[280px] max-w-[calc(100vw-32px)] rounded-lg border border-slate-200 bg-white p-3 shadow-xl flex flex-col gap-2", children: [
60434
60434
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between pb-2 border-b border-slate-100", children: [
60435
60435
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-semibold text-slate-800", children: "Select Lines" }),
60436
60436
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -62021,9 +62021,9 @@ var BottomSection = React142.memo(({
62021
62021
  variants: containerVariants,
62022
62022
  initial: "initial",
62023
62023
  animate: "animate",
62024
- className: "grid grid-cols-1 lg:grid-cols-5 gap-3 sm:gap-4 h-auto mt-4 lg:mt-0 lg:flex-[3] lg:min-h-[300px]",
62024
+ className: "grid grid-cols-1 lg:grid-cols-5 gap-3 sm:gap-4 h-auto mt-4 lg:mt-0 lg:flex-[3]",
62025
62025
  children: [
62026
- /* @__PURE__ */ jsxRuntime.jsxs(motion.div, { variants: itemVariants, className: "lg:col-span-2 bg-white rounded-xl shadow-sm p-3 sm:p-4 flex flex-col overflow-hidden h-[350px] sm:h-[400px] md:h-auto", children: [
62026
+ /* @__PURE__ */ jsxRuntime.jsxs(motion.div, { variants: itemVariants, className: "lg:col-span-2 bg-white rounded-xl shadow-sm p-3 sm:p-4 flex flex-col overflow-hidden h-[350px] sm:h-[400px] md:h-[450px]", children: [
62027
62027
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between items-center mb-2", children: [
62028
62028
  /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base sm:text-lg font-bold text-gray-700 text-center flex-1", children: "Poorest Performing Workspaces" }),
62029
62029
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -62119,9 +62119,9 @@ var BottomSection = React142.memo(({
62119
62119
  )
62120
62120
  ] })
62121
62121
  ] }),
62122
- /* @__PURE__ */ jsxRuntime.jsxs(motion.div, { variants: itemVariants, className: "lg:col-span-3 bg-white rounded-xl shadow-sm p-3 sm:p-4 flex flex-col overflow-hidden h-[350px] sm:h-[400px] md:h-auto", children: [
62122
+ /* @__PURE__ */ jsxRuntime.jsxs(motion.div, { variants: itemVariants, className: "lg:col-span-3 bg-white rounded-xl shadow-sm p-3 sm:p-4 flex flex-col overflow-hidden h-[350px] sm:h-[400px] md:h-[450px]", children: [
62123
62123
  /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base sm:text-lg font-bold text-gray-700 mb-2 text-center", children: "Hourly Line Output" }),
62124
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-h-[280px] sm:min-h-[300px] md:min-h-[400px]", children: lineInfo && /* @__PURE__ */ jsxRuntime.jsx(
62124
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-h-0 min-w-0", children: lineInfo && /* @__PURE__ */ jsxRuntime.jsx(
62125
62125
  HourlyOutputChart2,
62126
62126
  {
62127
62127
  data: hourlyOutputData,
package/dist/index.mjs CHANGED
@@ -60401,7 +60401,7 @@ function HomeView({
60401
60401
  ]
60402
60402
  }
60403
60403
  ),
60404
- isLineSelectorOpen ? /* @__PURE__ */ jsxs("div", { className: "absolute right-0 top-full z-50 mt-2 w-[280px] rounded-lg border border-slate-200 bg-white p-3 shadow-xl flex flex-col gap-2", children: [
60404
+ isLineSelectorOpen ? /* @__PURE__ */ jsxs("div", { className: "absolute left-0 sm:right-0 sm:left-auto top-full z-50 mt-2 w-[280px] max-w-[calc(100vw-32px)] rounded-lg border border-slate-200 bg-white p-3 shadow-xl flex flex-col gap-2", children: [
60405
60405
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between pb-2 border-b border-slate-100", children: [
60406
60406
  /* @__PURE__ */ jsx("span", { className: "text-sm font-semibold text-slate-800", children: "Select Lines" }),
60407
60407
  /* @__PURE__ */ jsx(
@@ -61992,9 +61992,9 @@ var BottomSection = memo$1(({
61992
61992
  variants: containerVariants,
61993
61993
  initial: "initial",
61994
61994
  animate: "animate",
61995
- className: "grid grid-cols-1 lg:grid-cols-5 gap-3 sm:gap-4 h-auto mt-4 lg:mt-0 lg:flex-[3] lg:min-h-[300px]",
61995
+ className: "grid grid-cols-1 lg:grid-cols-5 gap-3 sm:gap-4 h-auto mt-4 lg:mt-0 lg:flex-[3]",
61996
61996
  children: [
61997
- /* @__PURE__ */ jsxs(motion.div, { variants: itemVariants, className: "lg:col-span-2 bg-white rounded-xl shadow-sm p-3 sm:p-4 flex flex-col overflow-hidden h-[350px] sm:h-[400px] md:h-auto", children: [
61997
+ /* @__PURE__ */ jsxs(motion.div, { variants: itemVariants, className: "lg:col-span-2 bg-white rounded-xl shadow-sm p-3 sm:p-4 flex flex-col overflow-hidden h-[350px] sm:h-[400px] md:h-[450px]", children: [
61998
61998
  /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-2", children: [
61999
61999
  /* @__PURE__ */ jsx("h2", { className: "text-base sm:text-lg font-bold text-gray-700 text-center flex-1", children: "Poorest Performing Workspaces" }),
62000
62000
  /* @__PURE__ */ jsx(
@@ -62090,9 +62090,9 @@ var BottomSection = memo$1(({
62090
62090
  )
62091
62091
  ] })
62092
62092
  ] }),
62093
- /* @__PURE__ */ jsxs(motion.div, { variants: itemVariants, className: "lg:col-span-3 bg-white rounded-xl shadow-sm p-3 sm:p-4 flex flex-col overflow-hidden h-[350px] sm:h-[400px] md:h-auto", children: [
62093
+ /* @__PURE__ */ jsxs(motion.div, { variants: itemVariants, className: "lg:col-span-3 bg-white rounded-xl shadow-sm p-3 sm:p-4 flex flex-col overflow-hidden h-[350px] sm:h-[400px] md:h-[450px]", children: [
62094
62094
  /* @__PURE__ */ jsx("h2", { className: "text-base sm:text-lg font-bold text-gray-700 mb-2 text-center", children: "Hourly Line Output" }),
62095
- /* @__PURE__ */ jsx("div", { className: "flex-1 min-h-[280px] sm:min-h-[300px] md:min-h-[400px]", children: lineInfo && /* @__PURE__ */ jsx(
62095
+ /* @__PURE__ */ jsx("div", { className: "flex-1 min-h-0 min-w-0", children: lineInfo && /* @__PURE__ */ jsx(
62096
62096
  HourlyOutputChart2,
62097
62097
  {
62098
62098
  data: hourlyOutputData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optifye/dashboard-core",
3
- "version": "6.11.26",
3
+ "version": "6.11.28",
4
4
  "description": "Reusable UI & logic for Optifye dashboard",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",