@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260507110620 → 0.8.1-dev.20260513062810

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
@@ -3649,7 +3649,7 @@ var SVGIconNode = ({ node }) => {
3649
3649
  "span",
3650
3650
  {
3651
3651
  style: {
3652
- display: "inline-flex",
3652
+ display: "flex",
3653
3653
  width: node.width,
3654
3654
  height: node.height,
3655
3655
  color: node.color
@@ -6104,11 +6104,18 @@ var DataList = (props) => {
6104
6104
  return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6105
6105
  "th",
6106
6106
  {
6107
- className: "px-6 py-3 text-left font-medium cursor-pointer bg-neutral-soft " + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
6108
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Hyperlink, { href: url, className: "!text-neutral-contrast ", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "flex items-center space-x-1", children: [
6109
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-black", children: column.label }),
6110
- column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
6111
- ] }) })
6107
+ 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" : ""),
6108
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6109
+ Hyperlink,
6110
+ {
6111
+ href: column.enableSorting ? url : void 0,
6112
+ className: "!text-neutral-contrast ",
6113
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "flex items-center space-x-1", children: [
6114
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "text-black", children: column.label }),
6115
+ column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
6116
+ ] })
6117
+ }
6118
+ )
6112
6119
  },
6113
6120
  column.name
6114
6121
  );
@@ -6249,11 +6256,18 @@ var DataList = (props) => {
6249
6256
  return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6250
6257
  "th",
6251
6258
  {
6252
- className: "px-6 py-3 text-left font-medium cursor-pointer bg-neutral-soft " + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
6253
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Hyperlink, { href: url, className: "text-body-950", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "flex items-center space-x-1", children: [
6254
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: column.label }),
6255
- column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
6256
- ] }) })
6259
+ 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" : ""),
6260
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6261
+ Hyperlink,
6262
+ {
6263
+ href: column.enableSorting ? url : void 0,
6264
+ className: "text-body-950",
6265
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("span", { className: "flex items-center space-x-1", children: [
6266
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: column.label }),
6267
+ column.enableSorting && /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon_default, { className: "w-4 h-4", name: icon })
6268
+ ] })
6269
+ }
6270
+ )
6257
6271
  },
6258
6272
  column.name
6259
6273
  );
package/dist/index.mjs CHANGED
@@ -2207,7 +2207,7 @@ var SVGIconNode = ({ node }) => {
2207
2207
  "span",
2208
2208
  {
2209
2209
  style: {
2210
- display: "inline-flex",
2210
+ display: "flex",
2211
2211
  width: node.width,
2212
2212
  height: node.height,
2213
2213
  color: node.color
@@ -4652,11 +4652,18 @@ var DataList = (props) => {
4652
4652
  return /* @__PURE__ */ jsx63(
4653
4653
  "th",
4654
4654
  {
4655
- className: "px-6 py-3 text-left font-medium cursor-pointer bg-neutral-soft " + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
4656
- children: /* @__PURE__ */ jsx63(Hyperlink, { href: url, className: "!text-neutral-contrast ", children: /* @__PURE__ */ jsxs35("span", { className: "flex items-center space-x-1", children: [
4657
- /* @__PURE__ */ jsx63("span", { className: "text-black", children: column.label }),
4658
- column.enableSorting && /* @__PURE__ */ jsx63(Icon_default, { className: "w-4 h-4", name: icon })
4659
- ] }) })
4655
+ 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" : ""),
4656
+ children: /* @__PURE__ */ jsx63(
4657
+ Hyperlink,
4658
+ {
4659
+ href: column.enableSorting ? url : void 0,
4660
+ className: "!text-neutral-contrast ",
4661
+ children: /* @__PURE__ */ jsxs35("span", { className: "flex items-center space-x-1", children: [
4662
+ /* @__PURE__ */ jsx63("span", { className: "text-black", children: column.label }),
4663
+ column.enableSorting && /* @__PURE__ */ jsx63(Icon_default, { className: "w-4 h-4", name: icon })
4664
+ ] })
4665
+ }
4666
+ )
4660
4667
  },
4661
4668
  column.name
4662
4669
  );
@@ -4797,11 +4804,18 @@ var DataList = (props) => {
4797
4804
  return /* @__PURE__ */ jsx63(
4798
4805
  "th",
4799
4806
  {
4800
- className: "px-6 py-3 text-left font-medium cursor-pointer bg-neutral-soft " + column.width + (column.controlType == ViewControlTypes_default.money ? " text-right" : ""),
4801
- children: /* @__PURE__ */ jsx63(Hyperlink, { href: url, className: "text-body-950", children: /* @__PURE__ */ jsxs35("span", { className: "flex items-center space-x-1", children: [
4802
- /* @__PURE__ */ jsx63("span", { children: column.label }),
4803
- column.enableSorting && /* @__PURE__ */ jsx63(Icon_default, { className: "w-4 h-4", name: icon })
4804
- ] }) })
4807
+ 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" : ""),
4808
+ children: /* @__PURE__ */ jsx63(
4809
+ Hyperlink,
4810
+ {
4811
+ href: column.enableSorting ? url : void 0,
4812
+ className: "text-body-950",
4813
+ children: /* @__PURE__ */ jsxs35("span", { className: "flex items-center space-x-1", children: [
4814
+ /* @__PURE__ */ jsx63("span", { children: column.label }),
4815
+ column.enableSorting && /* @__PURE__ */ jsx63(Icon_default, { className: "w-4 h-4", name: icon })
4816
+ ] })
4817
+ }
4818
+ )
4805
4819
  },
4806
4820
  column.name
4807
4821
  );
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.20260507110620",
3
+ "version": "0.8.1-dev.20260513062810",
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.6.0",
25
+ "@types/node": "^25.7.0",
26
26
  "@types/react": "^19",
27
27
  "@types/react-dom": "^19",
28
28
  "tsup": "^8.5.1",
@@ -52,7 +52,7 @@
52
52
  "moment-timezone": "^0.6.2",
53
53
  "ms": "^2.1.3",
54
54
  "mz": "^2.7.0",
55
- "next": "^15.5.16",
55
+ "next": "^15.5.18",
56
56
  "object-assign": "^4.1.1",
57
57
  "pathe": "^2.0.3",
58
58
  "picocolors": "^1.1.1",