@fileflow/sdk 0.1.18 → 0.1.20

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.d.ts CHANGED
@@ -242,6 +242,7 @@ declare interface ImportActions {
242
242
  updateMapping: (sourceColumn: string, targetKey: string | null) => void;
243
243
  setUnmapped: (source: string[], target: string[]) => void;
244
244
  setValidationResults: (results: ValidationResults) => void;
245
+ revalidate: () => void;
245
246
  setStep: (step: ImportStep) => void;
246
247
  nextStep: () => void;
247
248
  previousStep: () => void;
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CLgI0mua.js"),t=require("./ImportWizard-Dakb05xc.js"),l=require("./KYCWizard-Bk9-GvOh.js");exports.CANADIAN_PROVINCES=e.CANADIAN_PROVINCES;exports.DOCUMENT_TYPES=e.DOCUMENT_TYPES;exports.FileFlowClient=e.FileFlowClient;exports.FileFlowError=e.FileFlowError;exports.IMPORT_TEMPLATES=e.IMPORT_TEMPLATES;exports.StyleProvider=e.StyleProvider;exports.VALID_TEMPLATE_IDS=e.VALID_TEMPLATE_IDS;exports.getAvailableTemplates=e.getAvailableTemplates;exports.getClient=e.getClient;exports.getTemplate=e.getTemplate;exports.getTemplateSchema=e.getTemplateSchema;exports.getTemplatesByCategory=e.getTemplatesByCategory;exports.initializeClient=e.initializeClient;exports.injectStyles=e.injectStyles;exports.listTemplates=e.listTemplates;exports.templateExists=e.templateExists;exports.useFileFlowStyles=e.useFileFlowStyles;exports.ColumnMapper=t.ColumnMapper;exports.DataTable=t.DataTable;exports.FileUploader=t.FileUploader;exports.ImportWizard=t.ImportWizard;exports.ValidationSummary=t.ValidationSummary;exports.useImportStore=t.useImportStore;exports.DocumentStatus=l.DocumentStatus;exports.DocumentUploader=l.DocumentUploader;exports.KYCWizard=l.KYCWizard;exports.useKYCStore=l.useKYCStore;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Bo1agWLS.js"),t=require("./ImportWizard-C41U0wGI.js"),l=require("./KYCWizard-k0NBBKiM.js");exports.CANADIAN_PROVINCES=e.CANADIAN_PROVINCES;exports.DOCUMENT_TYPES=e.DOCUMENT_TYPES;exports.FileFlowClient=e.FileFlowClient;exports.FileFlowError=e.FileFlowError;exports.IMPORT_TEMPLATES=e.IMPORT_TEMPLATES;exports.StyleProvider=e.StyleProvider;exports.VALID_TEMPLATE_IDS=e.VALID_TEMPLATE_IDS;exports.getAvailableTemplates=e.getAvailableTemplates;exports.getClient=e.getClient;exports.getTemplate=e.getTemplate;exports.getTemplateSchema=e.getTemplateSchema;exports.getTemplatesByCategory=e.getTemplatesByCategory;exports.initializeClient=e.initializeClient;exports.injectStyles=e.injectStyles;exports.listTemplates=e.listTemplates;exports.templateExists=e.templateExists;exports.useFileFlowStyles=e.useFileFlowStyles;exports.ColumnMapper=t.ColumnMapper;exports.DataTable=t.DataTable;exports.FileUploader=t.FileUploader;exports.ImportWizard=t.ImportWizard;exports.ValidationSummary=t.ValidationSummary;exports.useImportStore=t.useImportStore;exports.DocumentStatus=l.DocumentStatus;exports.DocumentUploader=l.DocumentUploader;exports.KYCWizard=l.KYCWizard;exports.useKYCStore=l.useKYCStore;
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { C as s, D as t, F as l, b as o, I as r, S as i, V as m, e as p, g as S, c as T, d as C, f as u, a as D, i as n, l as E, t as F, u as I } from "./index-DnkwOjwi.mjs";
2
- import { C as g, D as A, F as y, I as P, V as c, u as M } from "./ImportWizard-D4GlHhyY.mjs";
3
- import { a as _, D as f, K as x, u as N } from "./KYCWizard-BZW0dZ2x.mjs";
1
+ import { C as s, D as t, F as l, b as o, I as r, S as i, V as m, e as p, g as S, c as T, d as C, f as u, a as D, i as n, l as E, t as F, u as I } from "./index-EFXXxSbj.mjs";
2
+ import { C as g, D as A, F as y, I as P, V as c, u as M } from "./ImportWizard-CrUjPf36.mjs";
3
+ import { a as _, D as f, K as x, u as N } from "./KYCWizard-16nacG1o.mjs";
4
4
  export {
5
5
  s as CANADIAN_PROVINCES,
6
6
  g as ColumnMapper,
package/dist/kyc.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./KYCWizard-Bk9-GvOh.js");exports.DocumentStatus=e.DocumentStatus;exports.DocumentUploader=e.DocumentUploader;exports.KYCWizard=e.KYCWizard;exports.useKYCStore=e.useKYCStore;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./KYCWizard-k0NBBKiM.js");exports.DocumentStatus=e.DocumentStatus;exports.DocumentUploader=e.DocumentUploader;exports.KYCWizard=e.KYCWizard;exports.useKYCStore=e.useKYCStore;
2
2
  //# sourceMappingURL=kyc.js.map
package/dist/kyc.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as o, D as s, K as t, u as r } from "./KYCWizard-BZW0dZ2x.mjs";
1
+ import { a as o, D as s, K as t, u as r } from "./KYCWizard-16nacG1o.mjs";
2
2
  export {
3
3
  o as DocumentStatus,
4
4
  s as DocumentUploader,
package/dist/styles.css CHANGED
@@ -426,13 +426,20 @@
426
426
  background-color: var(--ff-bg-tertiary);
427
427
  }
428
428
 
429
- /* Delete button */
429
+ /* Delete button - always visible with muted color, red on hover */
430
430
  .fileflow-sdk-root .ff-delete-btn {
431
431
  @apply ff-p-1.5 ff-rounded-lg;
432
- color: var(--ff-text-muted);
432
+ color: var(--ff-gray-80);
433
+ background-color: transparent;
433
434
  @apply ff-transition-colors ff-duration-150;
434
435
  }
435
436
 
437
+ .fileflow-sdk-root .ff-delete-btn svg {
438
+ display: block;
439
+ width: 1rem;
440
+ height: 1rem;
441
+ }
442
+
436
443
  .fileflow-sdk-root .ff-delete-btn:hover {
437
444
  color: var(--ff-error);
438
445
  background-color: var(--ff-error-light);
@@ -443,7 +450,7 @@
443
450
  }
444
451
 
445
452
  .fileflow-sdk-root .ff-delete-btn:disabled:hover {
446
- color: var(--ff-text-muted);
453
+ color: var(--ff-gray-80);
447
454
  background-color: transparent;
448
455
  }
449
456
 
@@ -557,15 +564,17 @@
557
564
  box-shadow: 0 0 0 3px var(--ff-focus-ring);
558
565
  }
559
566
 
560
- /* Ghost */
567
+ /* Ghost - now with visible border for better contrast on light backgrounds */
561
568
  .fileflow-sdk-root .ff-btn-ghost {
562
- background-color: transparent;
569
+ background-color: var(--ff-bg-primary);
563
570
  color: var(--ff-text-secondary);
571
+ border-color: var(--ff-border-default);
564
572
  }
565
573
 
566
574
  .fileflow-sdk-root .ff-btn-ghost:hover:not(:disabled) {
567
- background-color: var(--ff-bg-secondary);
575
+ background-color: var(--ff-bg-tertiary);
568
576
  color: var(--ff-text-primary);
577
+ border-color: var(--ff-border-dark);
569
578
  }
570
579
 
571
580
  /* Accent - Purple (for alternate theme) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileflow/sdk",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "FileFlow SDK - Embeddable data import and KYC verification components with automatic style injection",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",