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