@incodetech/web 0.0.0-dev-20260908-4af6785e → 0.0.0-dev-20260908-9c122b5c

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.
Files changed (2) hide show
  1. package/dist/id/id.es.js +17 -21
  2. package/package.json +2 -2
package/dist/id/id.es.js CHANGED
@@ -1156,27 +1156,23 @@ var UploadTab = ({ mode, manager, state, errorMessageId }) => {
1156
1156
  const isUploadingBack = state.uploadingSide === "back";
1157
1157
  return /* @__PURE__ */ u("div", {
1158
1158
  class: "IncodeManualUploadTab",
1159
- children: [
1160
- /* @__PURE__ */ u(UploadButton, {
1161
- icon: /* @__PURE__ */ u(IdFrontIcon, {}),
1162
- label: slotLabel("front", isUploadingFront, state.frontUploaded),
1163
- uploaded: state.frontUploaded,
1164
- uploading: isUploadingFront,
1165
- testId: "manual-upload-front",
1166
- onFile: (file) => manager.manualUploadSelectFile("front", file),
1167
- ...slotErrorProps("front")
1168
- }),
1169
- slotError("front"),
1170
- state.showBackSlot && /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(UploadButton, {
1171
- icon: /* @__PURE__ */ u(IdBackIcon, {}),
1172
- label: slotLabel("back", isUploadingBack, state.backUploaded),
1173
- uploaded: state.backUploaded,
1174
- uploading: isUploadingBack,
1175
- testId: "manual-upload-back",
1176
- onFile: (file) => manager.manualUploadSelectFile("back", file),
1177
- ...slotErrorProps("back")
1178
- }), slotError("back")] })
1179
- ]
1159
+ children: [state.showFrontSlot !== false && /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(UploadButton, {
1160
+ icon: /* @__PURE__ */ u(IdFrontIcon, {}),
1161
+ label: slotLabel("front", isUploadingFront, state.frontUploaded),
1162
+ uploaded: state.frontUploaded,
1163
+ uploading: isUploadingFront,
1164
+ testId: "manual-upload-front",
1165
+ onFile: (file) => manager.manualUploadSelectFile("front", file),
1166
+ ...slotErrorProps("front")
1167
+ }), slotError("front")] }), state.showBackSlot && /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(UploadButton, {
1168
+ icon: /* @__PURE__ */ u(IdBackIcon, {}),
1169
+ label: slotLabel("back", isUploadingBack, state.backUploaded),
1170
+ uploaded: state.backUploaded,
1171
+ uploading: isUploadingBack,
1172
+ testId: "manual-upload-back",
1173
+ onFile: (file) => manager.manualUploadSelectFile("back", file),
1174
+ ...slotErrorProps("back")
1175
+ }), slotError("back")] })]
1180
1176
  });
1181
1177
  };
1182
1178
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260908-4af6785e",
3
+ "version": "0.0.0-dev-20260908-9c122b5c",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -292,7 +292,7 @@
292
292
  "qrcode": "^1.5.4",
293
293
  "signature_pad": "^5.1.3",
294
294
  "tailwindcss": "^4.1.17",
295
- "@incodetech/core": "0.0.0-dev-20260908-4af6785e"
295
+ "@incodetech/core": "0.0.0-dev-20260908-9c122b5c"
296
296
  },
297
297
  "devDependencies": {
298
298
  "@microsoft/api-extractor": "^7.53.3",