@polyv/answer-card-ui-launch 2.1.0 → 2.2.0-rc-20260402.1

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 (5) hide show
  1. package/index.cjs.js +224 -128
  2. package/index.es.d.ts +5 -0
  3. package/index.es.js +17423 -14544
  4. package/index.umd.js +224 -128
  5. package/package.json +1 -1
package/index.es.d.ts CHANGED
@@ -1029,6 +1029,11 @@ export declare const useAnswerCardTemplateList: (options: {
1029
1029
  status: "error" | "unused" | "used";
1030
1030
  }[]>;
1031
1031
  formatStatus: (status: "error" | "unused" | "used") => string;
1032
+ getApplyButtonAttrs: (template: TemplateItemData) => {
1033
+ disabled: boolean;
1034
+ 'aria-disabled': string | undefined;
1035
+ tabindex: number | undefined;
1036
+ };
1032
1037
  refreshList: () => Promise<void>;
1033
1038
  applyTemplate: (template: TemplateItemData) => Promise<void>;
1034
1039
  };