@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260623061321 → 0.8.1-dev.20260623062004

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
@@ -6141,7 +6141,7 @@ var DocumentNode = (props) => {
6141
6141
  }
6142
6142
  }
6143
6143
  }
6144
- documentUrl = "fhdbcdsdkd";
6144
+ if (!documentUrl) return null;
6145
6145
  const { Icon: Icon2, extLabel } = getFileDetails(documentUrl);
6146
6146
  if (!documentTitle) {
6147
6147
  try {
@@ -6152,12 +6152,12 @@ var DocumentNode = (props) => {
6152
6152
  }
6153
6153
  documentTitle = documentTitle.replace(/\.[^/.]+$/, "");
6154
6154
  }
6155
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-center justify-between py-4 border-b border-gray-100 bg-white", children: [
6155
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-center justify-between py-4 border-b bg-default", children: [
6156
6156
  /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-center space-x-4", children: [
6157
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "flex items-center justify-center p-2 rounded bg-gray-50 border border-gray-100", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Icon2, {}) }),
6157
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "flex items-center justify-center p-2 rounded bg-secondary-soft border", children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Icon2, {}) }),
6158
6158
  /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-baseline space-x-2", children: [
6159
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("h4", { className: "text-base font-semibold text-gray-800", children: documentTitle }),
6160
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("span", { className: "text-sm font-medium text-gray-400", children: [
6159
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("h4", { className: "text-base font-semibold", children: documentTitle }),
6160
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("span", { className: "text-sm font-medium", children: [
6161
6161
  "(",
6162
6162
  extLabel,
6163
6163
  ")"
@@ -6171,7 +6171,7 @@ var DocumentNode = (props) => {
6171
6171
  download: true,
6172
6172
  target: "_blank",
6173
6173
  rel: "noreferrer",
6174
- className: "inline-flex items-center px-4 py-2 text-sm font-medium text-blue-600 bg-white border border-blue-600 rounded hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors",
6174
+ className: "inline-flex items-center px-4 py-2 text-sm font-medium bg-default border rounded focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors",
6175
6175
  children: [
6176
6176
  /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("svg", { className: "w-4 h-4 mr-2", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
6177
6177
  /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" }),
package/dist/index.mjs CHANGED
@@ -4535,7 +4535,7 @@ var DocumentNode = (props) => {
4535
4535
  }
4536
4536
  }
4537
4537
  }
4538
- documentUrl = "fhdbcdsdkd";
4538
+ if (!documentUrl) return null;
4539
4539
  const { Icon: Icon2, extLabel } = getFileDetails(documentUrl);
4540
4540
  if (!documentTitle) {
4541
4541
  try {
@@ -4546,12 +4546,12 @@ var DocumentNode = (props) => {
4546
4546
  }
4547
4547
  documentTitle = documentTitle.replace(/\.[^/.]+$/, "");
4548
4548
  }
4549
- return /* @__PURE__ */ jsxs33("div", { className: "flex items-center justify-between py-4 border-b border-gray-100 bg-white", children: [
4549
+ return /* @__PURE__ */ jsxs33("div", { className: "flex items-center justify-between py-4 border-b bg-default", children: [
4550
4550
  /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-4", children: [
4551
- /* @__PURE__ */ jsx60("div", { className: "flex items-center justify-center p-2 rounded bg-gray-50 border border-gray-100", children: /* @__PURE__ */ jsx60(Icon2, {}) }),
4551
+ /* @__PURE__ */ jsx60("div", { className: "flex items-center justify-center p-2 rounded bg-secondary-soft border", children: /* @__PURE__ */ jsx60(Icon2, {}) }),
4552
4552
  /* @__PURE__ */ jsxs33("div", { className: "flex items-baseline space-x-2", children: [
4553
- /* @__PURE__ */ jsx60("h4", { className: "text-base font-semibold text-gray-800", children: documentTitle }),
4554
- /* @__PURE__ */ jsxs33("span", { className: "text-sm font-medium text-gray-400", children: [
4553
+ /* @__PURE__ */ jsx60("h4", { className: "text-base font-semibold", children: documentTitle }),
4554
+ /* @__PURE__ */ jsxs33("span", { className: "text-sm font-medium", children: [
4555
4555
  "(",
4556
4556
  extLabel,
4557
4557
  ")"
@@ -4565,7 +4565,7 @@ var DocumentNode = (props) => {
4565
4565
  download: true,
4566
4566
  target: "_blank",
4567
4567
  rel: "noreferrer",
4568
- className: "inline-flex items-center px-4 py-2 text-sm font-medium text-blue-600 bg-white border border-blue-600 rounded hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors",
4568
+ className: "inline-flex items-center px-4 py-2 text-sm font-medium bg-default border rounded focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors",
4569
4569
  children: [
4570
4570
  /* @__PURE__ */ jsxs33("svg", { className: "w-4 h-4 mr-2", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: [
4571
4571
  /* @__PURE__ */ jsx60("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" }),
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.20260623061321",
3
+ "version": "0.8.1-dev.20260623062004",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",