@fctc/sme-widget-ui 2.7.9 → 2.7.10

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.js CHANGED
@@ -10981,7 +10981,7 @@ var Row = (props) => {
10981
10981
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
10982
10982
  "tr",
10983
10983
  {
10984
- "data-platform": env?.envFile?.PLATFORM ? "edu" : "default",
10984
+ "data-platform": env?.envFile?.PLATFORM === "edu" ? "edu" : "sme",
10985
10985
  "data-row-id": row?.id,
10986
10986
  className: `border-b border-[#e8e8e8] cursor-pointer`,
10987
10987
  style: {
@@ -13086,7 +13086,8 @@ var TableHead = (props) => {
13086
13086
  isDisplayCheckbox,
13087
13087
  checkedAll,
13088
13088
  onRemoveRow,
13089
- onToggleColumnOptional
13089
+ onToggleColumnOptional,
13090
+ env
13090
13091
  } = props;
13091
13092
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("thead", { className: "relative z-10", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
13092
13093
  "tr",
@@ -13096,9 +13097,10 @@ var TableHead = (props) => {
13096
13097
  WebkitUserSelect: "none",
13097
13098
  zIndex: 10,
13098
13099
  position: "sticky",
13099
- top: 0
13100
+ top: 0,
13101
+ backgroundColor: env?.envFile?.PLATFORM === "edu" ? "rgb(239,241,242)" : "white"
13100
13102
  },
13101
- className: "border-b border-[rgba(66,66,66,0.12)] bg-white",
13103
+ className: "border-b border-[rgba(66,66,66,0.12)] ",
13102
13104
  children: [
13103
13105
  isDisplayCheckbox && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
13104
13106
  "th",
package/dist/index.mjs CHANGED
@@ -10854,7 +10854,7 @@ var Row = (props) => {
10854
10854
  return /* @__PURE__ */ jsx47(
10855
10855
  "tr",
10856
10856
  {
10857
- "data-platform": env?.envFile?.PLATFORM ? "edu" : "default",
10857
+ "data-platform": env?.envFile?.PLATFORM === "edu" ? "edu" : "sme",
10858
10858
  "data-row-id": row?.id,
10859
10859
  className: `border-b border-[#e8e8e8] cursor-pointer`,
10860
10860
  style: {
@@ -12959,7 +12959,8 @@ var TableHead = (props) => {
12959
12959
  isDisplayCheckbox,
12960
12960
  checkedAll,
12961
12961
  onRemoveRow,
12962
- onToggleColumnOptional
12962
+ onToggleColumnOptional,
12963
+ env
12963
12964
  } = props;
12964
12965
  return /* @__PURE__ */ jsx51("thead", { className: "relative z-10", children: /* @__PURE__ */ jsxs29(
12965
12966
  "tr",
@@ -12969,9 +12970,10 @@ var TableHead = (props) => {
12969
12970
  WebkitUserSelect: "none",
12970
12971
  zIndex: 10,
12971
12972
  position: "sticky",
12972
- top: 0
12973
+ top: 0,
12974
+ backgroundColor: env?.envFile?.PLATFORM === "edu" ? "rgb(239,241,242)" : "white"
12973
12975
  },
12974
- className: "border-b border-[rgba(66,66,66,0.12)] bg-white",
12976
+ className: "border-b border-[rgba(66,66,66,0.12)] ",
12975
12977
  children: [
12976
12978
  isDisplayCheckbox && /* @__PURE__ */ jsx51(
12977
12979
  "th",
@@ -128,6 +128,7 @@ interface TableHeadProps {
128
128
  checkedAll?: any;
129
129
  onToggleColumnOptional?: any;
130
130
  onRemoveRow?: any;
131
+ env?: any;
131
132
  }
132
133
  declare const TableHead: (props: TableHeadProps) => JSX.Element;
133
134
 
package/dist/widgets.d.ts CHANGED
@@ -128,6 +128,7 @@ interface TableHeadProps {
128
128
  checkedAll?: any;
129
129
  onToggleColumnOptional?: any;
130
130
  onRemoveRow?: any;
131
+ env?: any;
131
132
  }
132
133
  declare const TableHead: (props: TableHeadProps) => JSX.Element;
133
134
 
package/dist/widgets.js CHANGED
@@ -9973,7 +9973,7 @@ var Row = (props) => {
9973
9973
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9974
9974
  "tr",
9975
9975
  {
9976
- "data-platform": env?.envFile?.PLATFORM ? "edu" : "default",
9976
+ "data-platform": env?.envFile?.PLATFORM === "edu" ? "edu" : "sme",
9977
9977
  "data-row-id": row?.id,
9978
9978
  className: `border-b border-[#e8e8e8] cursor-pointer`,
9979
9979
  style: {
@@ -12078,7 +12078,8 @@ var TableHead = (props) => {
12078
12078
  isDisplayCheckbox,
12079
12079
  checkedAll,
12080
12080
  onRemoveRow,
12081
- onToggleColumnOptional
12081
+ onToggleColumnOptional,
12082
+ env
12082
12083
  } = props;
12083
12084
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("thead", { className: "relative z-10", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
12084
12085
  "tr",
@@ -12088,9 +12089,10 @@ var TableHead = (props) => {
12088
12089
  WebkitUserSelect: "none",
12089
12090
  zIndex: 10,
12090
12091
  position: "sticky",
12091
- top: 0
12092
+ top: 0,
12093
+ backgroundColor: env?.envFile?.PLATFORM === "edu" ? "rgb(239,241,242)" : "white"
12092
12094
  },
12093
- className: "border-b border-[rgba(66,66,66,0.12)] bg-white",
12095
+ className: "border-b border-[rgba(66,66,66,0.12)] ",
12094
12096
  children: [
12095
12097
  isDisplayCheckbox && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
12096
12098
  "th",
package/dist/widgets.mjs CHANGED
@@ -9910,7 +9910,7 @@ var Row = (props) => {
9910
9910
  return /* @__PURE__ */ jsx47(
9911
9911
  "tr",
9912
9912
  {
9913
- "data-platform": env?.envFile?.PLATFORM ? "edu" : "default",
9913
+ "data-platform": env?.envFile?.PLATFORM === "edu" ? "edu" : "sme",
9914
9914
  "data-row-id": row?.id,
9915
9915
  className: `border-b border-[#e8e8e8] cursor-pointer`,
9916
9916
  style: {
@@ -12015,7 +12015,8 @@ var TableHead = (props) => {
12015
12015
  isDisplayCheckbox,
12016
12016
  checkedAll,
12017
12017
  onRemoveRow,
12018
- onToggleColumnOptional
12018
+ onToggleColumnOptional,
12019
+ env
12019
12020
  } = props;
12020
12021
  return /* @__PURE__ */ jsx51("thead", { className: "relative z-10", children: /* @__PURE__ */ jsxs29(
12021
12022
  "tr",
@@ -12025,9 +12026,10 @@ var TableHead = (props) => {
12025
12026
  WebkitUserSelect: "none",
12026
12027
  zIndex: 10,
12027
12028
  position: "sticky",
12028
- top: 0
12029
+ top: 0,
12030
+ backgroundColor: env?.envFile?.PLATFORM === "edu" ? "rgb(239,241,242)" : "white"
12029
12031
  },
12030
- className: "border-b border-[rgba(66,66,66,0.12)] bg-white",
12032
+ className: "border-b border-[rgba(66,66,66,0.12)] ",
12031
12033
  children: [
12032
12034
  isDisplayCheckbox && /* @__PURE__ */ jsx51(
12033
12035
  "th",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "2.7.9",
3
+ "version": "2.7.10",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",