@factorialco/f0-react 4.52.0 → 4.53.0
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/{ChatDocxThumbnail-ZpA0oGfg.js → ChatDocxThumbnail-DzNPNFya.js} +1 -1
- package/dist/{ChatPdfThumbnail-Inmuy7U7.js → ChatPdfThumbnail-Ee5Wx96X.js} +1 -1
- package/dist/{DocumentToolbar-BYKMRth5.js → DocumentToolbar-BwJIFXDT.js} +2 -2
- package/dist/{DocxViewer-DTyN6WkM.js → DocxViewer-C8UBtCTB.js} +3 -3
- package/dist/{F0AiProcessingOverlay-DEjwsdqP.js → F0AiProcessingOverlay-BR8LMWyo.js} +1 -1
- package/dist/{F0CanvasPanel-DkQ4xhBx.js → F0CanvasPanel-DGLx1cqO.js} +545 -575
- package/dist/{LocationMap-BiiecVq_.js → LocationMap-BeSyUnec.js} +1 -1
- package/dist/{SheetViewer-BettRk5l.js → SheetViewer-DUvAHeaC.js} +2 -2
- package/dist/{TextViewer-DkXDyzcR.js → TextViewer-60i44dbD.js} +2 -2
- package/dist/_commonjsHelpers-ByX85dGu.js +33 -0
- package/dist/ai.d.ts +10 -10
- package/dist/ai.js +2 -2
- package/dist/axe-mZXA-kzX.js +23823 -0
- package/dist/component-status.d.ts +24 -10
- package/dist/component-status.js +305 -100
- package/dist/{docx-preview-bIzfytWN.js → docx-preview-BaRDMyPN.js} +1 -1
- package/dist/experimental.d.ts +10 -10
- package/dist/experimental.js +7 -7
- package/dist/f0.d.ts +10 -10
- package/dist/f0.js +571 -570
- package/dist/i18n-provider-defaults.d.ts +10 -10
- package/dist/{index-C4zDor6d.js → index-DsuHJt_y.js} +135 -134
- package/dist/{index-Ck1QOo1R.js → index-EDXekGcx.js} +29 -29
- package/dist/{pdfWorker-BecOMPtI.js → pdfWorker-D0j0TkJF.js} +3 -2
- package/dist/styles.css +1 -1
- package/package.json +2 -1
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
2
|
|
|
3
|
+
export declare const A11Y_TIER_ORDER: A11yTier[];
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A component's accessibility posture, ordered like doc quality. "skipped" =
|
|
7
|
+
* at least one story opts out of axe; "todo" = axe runs but non-blocking;
|
|
8
|
+
* "enforced" = every story runs axe at test:"error" (⇒ axe-clean on a green
|
|
9
|
+
* main). Stable requires "enforced".
|
|
10
|
+
*/
|
|
11
|
+
export declare type A11yTier = "skipped" | "todo" | "enforced";
|
|
12
|
+
|
|
13
|
+
export declare function a11yTierAtLeast(actual: A11yTier, min: A11yTier): boolean;
|
|
14
|
+
|
|
3
15
|
/**
|
|
4
16
|
* Component Status API
|
|
5
17
|
* ====================
|
|
@@ -42,6 +54,8 @@ export declare interface ComponentEntry {
|
|
|
42
54
|
hasMdxDocs: boolean;
|
|
43
55
|
docQuality: DocQuality;
|
|
44
56
|
docSignals: DocSignals;
|
|
57
|
+
/** Accessibility posture: "skipped" | "todo" | "enforced" (see A11yTier). */
|
|
58
|
+
a11yTier: A11yTier;
|
|
45
59
|
storyFile: string;
|
|
46
60
|
}
|
|
47
61
|
|
|
@@ -259,11 +273,9 @@ declare namespace Calendar {
|
|
|
259
273
|
|
|
260
274
|
declare module "@tiptap/core" {
|
|
261
275
|
interface Commands<ReturnType> {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}) => ReturnType;
|
|
266
|
-
clearEnhanceHighlight: () => ReturnType;
|
|
276
|
+
aiBlock: {
|
|
277
|
+
insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
|
|
278
|
+
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
267
279
|
};
|
|
268
280
|
}
|
|
269
281
|
}
|
|
@@ -271,8 +283,11 @@ declare module "@tiptap/core" {
|
|
|
271
283
|
|
|
272
284
|
declare module "@tiptap/core" {
|
|
273
285
|
interface Commands<ReturnType> {
|
|
274
|
-
|
|
275
|
-
|
|
286
|
+
enhanceHighlight: {
|
|
287
|
+
setEnhanceHighlight: (from: number, to: number, options?: {
|
|
288
|
+
placeholder?: string;
|
|
289
|
+
}) => ReturnType;
|
|
290
|
+
clearEnhanceHighlight: () => ReturnType;
|
|
276
291
|
};
|
|
277
292
|
}
|
|
278
293
|
}
|
|
@@ -280,9 +295,8 @@ declare module "@tiptap/core" {
|
|
|
280
295
|
|
|
281
296
|
declare module "@tiptap/core" {
|
|
282
297
|
interface Commands<ReturnType> {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
|
|
298
|
+
moodTracker: {
|
|
299
|
+
insertMoodTracker: (data: MoodTrackerData) => ReturnType;
|
|
286
300
|
};
|
|
287
301
|
}
|
|
288
302
|
}
|