@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260512035854 → 0.8.1-dev.20260519043006
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 +27 -10
- package/dist/index.mjs +27 -10
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3235,10 +3235,13 @@ var TextNode = (props) => {
|
|
|
3235
3235
|
if (format === 1) classes.push("font-medium");
|
|
3236
3236
|
if (format === 2) classes.push("italic");
|
|
3237
3237
|
if (format === 3) classes.push("font-medium italic");
|
|
3238
|
+
if (format === 4) classes.push("line-through");
|
|
3238
3239
|
if (format === 8) classes.push("underline");
|
|
3239
3240
|
if (format === 9) classes.push("font-medium underline");
|
|
3240
3241
|
if (format === 10) classes.push("italic underline");
|
|
3241
3242
|
if (format === 11) classes.push("font-medium italic underline");
|
|
3243
|
+
if (format === 32) classes.push("subscript");
|
|
3244
|
+
if (format === 64) classes.push("superscript");
|
|
3242
3245
|
if (format === 256) classes.push("lowercase");
|
|
3243
3246
|
if (format === 512) classes.push("uppercase");
|
|
3244
3247
|
if (format === 1024) classes.push("capitalize");
|
|
@@ -6104,11 +6107,18 @@ var DataList = (props) => {
|
|
|
6104
6107
|
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6105
6108
|
"th",
|
|
6106
6109
|
{
|
|
6107
|
-
className: "px-6 py-3 text-left font-medium
|
|
6108
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6110
|
+
className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
|
|
6111
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6112
|
+
Hyperlink,
|
|
6113
|
+
{
|
|
6114
|
+
href: column.enableSorting ? url : void 0,
|
|
6115
|
+
className: "!text-neutral-contrast ",
|
|
6116
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "flex items-center space-x-1", children: [
|
|
6117
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-black", children: column.label }),
|
|
6118
|
+
column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
|
|
6119
|
+
] })
|
|
6120
|
+
}
|
|
6121
|
+
)
|
|
6112
6122
|
},
|
|
6113
6123
|
column.name
|
|
6114
6124
|
);
|
|
@@ -6249,11 +6259,18 @@ var DataList = (props) => {
|
|
|
6249
6259
|
return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6250
6260
|
"th",
|
|
6251
6261
|
{
|
|
6252
|
-
className: "px-6 py-3 text-left font-medium
|
|
6253
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6262
|
+
className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
|
|
6263
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
6264
|
+
Hyperlink,
|
|
6265
|
+
{
|
|
6266
|
+
href: column.enableSorting ? url : void 0,
|
|
6267
|
+
className: "text-body-950",
|
|
6268
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "flex items-center space-x-1", children: [
|
|
6269
|
+
/* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: column.label }),
|
|
6270
|
+
column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
|
|
6271
|
+
] })
|
|
6272
|
+
}
|
|
6273
|
+
)
|
|
6257
6274
|
},
|
|
6258
6275
|
column.name
|
|
6259
6276
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -1795,10 +1795,13 @@ var TextNode = (props) => {
|
|
|
1795
1795
|
if (format === 1) classes.push("font-medium");
|
|
1796
1796
|
if (format === 2) classes.push("italic");
|
|
1797
1797
|
if (format === 3) classes.push("font-medium italic");
|
|
1798
|
+
if (format === 4) classes.push("line-through");
|
|
1798
1799
|
if (format === 8) classes.push("underline");
|
|
1799
1800
|
if (format === 9) classes.push("font-medium underline");
|
|
1800
1801
|
if (format === 10) classes.push("italic underline");
|
|
1801
1802
|
if (format === 11) classes.push("font-medium italic underline");
|
|
1803
|
+
if (format === 32) classes.push("subscript");
|
|
1804
|
+
if (format === 64) classes.push("superscript");
|
|
1802
1805
|
if (format === 256) classes.push("lowercase");
|
|
1803
1806
|
if (format === 512) classes.push("uppercase");
|
|
1804
1807
|
if (format === 1024) classes.push("capitalize");
|
|
@@ -4652,11 +4655,18 @@ var DataList = (props) => {
|
|
|
4652
4655
|
return /* @__PURE__ */ jsx63(
|
|
4653
4656
|
"th",
|
|
4654
4657
|
{
|
|
4655
|
-
className: "px-6 py-3 text-left font-medium
|
|
4656
|
-
children: /* @__PURE__ */ jsx63(
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4658
|
+
className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
|
|
4659
|
+
children: /* @__PURE__ */ jsx63(
|
|
4660
|
+
Hyperlink,
|
|
4661
|
+
{
|
|
4662
|
+
href: column.enableSorting ? url : void 0,
|
|
4663
|
+
className: "!text-neutral-contrast ",
|
|
4664
|
+
children: /* @__PURE__ */ jsxs35("span", { className: "flex items-center space-x-1", children: [
|
|
4665
|
+
/* @__PURE__ */ jsx63("span", { className: "text-black", children: column.label }),
|
|
4666
|
+
column.enableSorting && /* @__PURE__ */ jsx63(Icon_default, { className: "w-4 h-4", name: icon })
|
|
4667
|
+
] })
|
|
4668
|
+
}
|
|
4669
|
+
)
|
|
4660
4670
|
},
|
|
4661
4671
|
column.name
|
|
4662
4672
|
);
|
|
@@ -4797,11 +4807,18 @@ var DataList = (props) => {
|
|
|
4797
4807
|
return /* @__PURE__ */ jsx63(
|
|
4798
4808
|
"th",
|
|
4799
4809
|
{
|
|
4800
|
-
className: "px-6 py-3 text-left font-medium
|
|
4801
|
-
children: /* @__PURE__ */ jsx63(
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4810
|
+
className: "px-6 py-3 text-left font-medium bg-neutral-soft " + (column.enableSorting ? "cursor-pointer " : "") + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
|
|
4811
|
+
children: /* @__PURE__ */ jsx63(
|
|
4812
|
+
Hyperlink,
|
|
4813
|
+
{
|
|
4814
|
+
href: column.enableSorting ? url : void 0,
|
|
4815
|
+
className: "text-body-950",
|
|
4816
|
+
children: /* @__PURE__ */ jsxs35("span", { className: "flex items-center space-x-1", children: [
|
|
4817
|
+
/* @__PURE__ */ jsx63("span", { children: column.label }),
|
|
4818
|
+
column.enableSorting && /* @__PURE__ */ jsx63(Icon_default, { className: "w-4 h-4", name: icon })
|
|
4819
|
+
] })
|
|
4820
|
+
}
|
|
4821
|
+
)
|
|
4805
4822
|
},
|
|
4806
4823
|
column.name
|
|
4807
4824
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acoustte-digital-services/digitalstore-controls-dev",
|
|
3
|
-
"version": "0.8.1-dev.
|
|
3
|
+
"version": "0.8.1-dev.20260519043006",
|
|
4
4
|
"description": "Reusable React components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@types/node": "^25.
|
|
25
|
+
"@types/node": "^25.9.0",
|
|
26
26
|
"@types/react": "^19",
|
|
27
27
|
"@types/react-dom": "^19",
|
|
28
28
|
"tsup": "^8.5.1",
|