@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260623060812 → 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,6 +6141,7 @@ var DocumentNode = (props) => {
6141
6141
  }
6142
6142
  }
6143
6143
  }
6144
+ if (!documentUrl) return null;
6144
6145
  const { Icon: Icon2, extLabel } = getFileDetails(documentUrl);
6145
6146
  if (!documentTitle) {
6146
6147
  try {
@@ -6151,12 +6152,12 @@ var DocumentNode = (props) => {
6151
6152
  }
6152
6153
  documentTitle = documentTitle.replace(/\.[^/.]+$/, "");
6153
6154
  }
6154
- 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: [
6155
6156
  /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-center space-x-4", children: [
6156
- /* @__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, {}) }),
6157
6158
  /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: "flex items-baseline space-x-2", children: [
6158
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("h4", { className: "text-base font-semibold text-gray-800", children: documentTitle }),
6159
- /* @__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: [
6160
6161
  "(",
6161
6162
  extLabel,
6162
6163
  ")"
@@ -6170,7 +6171,7 @@ var DocumentNode = (props) => {
6170
6171
  download: true,
6171
6172
  target: "_blank",
6172
6173
  rel: "noreferrer",
6173
- 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",
6174
6175
  children: [
6175
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: [
6176
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,6 +4535,7 @@ var DocumentNode = (props) => {
4535
4535
  }
4536
4536
  }
4537
4537
  }
4538
+ if (!documentUrl) return null;
4538
4539
  const { Icon: Icon2, extLabel } = getFileDetails(documentUrl);
4539
4540
  if (!documentTitle) {
4540
4541
  try {
@@ -4545,12 +4546,12 @@ var DocumentNode = (props) => {
4545
4546
  }
4546
4547
  documentTitle = documentTitle.replace(/\.[^/.]+$/, "");
4547
4548
  }
4548
- 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: [
4549
4550
  /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-4", children: [
4550
- /* @__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, {}) }),
4551
4552
  /* @__PURE__ */ jsxs33("div", { className: "flex items-baseline space-x-2", children: [
4552
- /* @__PURE__ */ jsx60("h4", { className: "text-base font-semibold text-gray-800", children: documentTitle }),
4553
- /* @__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: [
4554
4555
  "(",
4555
4556
  extLabel,
4556
4557
  ")"
@@ -4564,7 +4565,7 @@ var DocumentNode = (props) => {
4564
4565
  download: true,
4565
4566
  target: "_blank",
4566
4567
  rel: "noreferrer",
4567
- 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",
4568
4569
  children: [
4569
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: [
4570
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.20260623060812",
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",