@factorialco/f0-react 12.0.0 → 12.0.2

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 (41) hide show
  1. package/dist/{ChatPostComposerDialog-C-H1iLLT.js → ChatPostComposerDialog-BjrsNFUH.js} +3 -3
  2. package/dist/{CoachmarkProvider-C6dC7NhF.js → CoachmarkProvider-BJFpsBQz.js} +70 -62
  3. package/dist/{DocumentToolbar-Ba6dJoNL.js → DocumentToolbar-CS2Z7HiZ.js} +5 -5
  4. package/dist/{DocxViewer-K5JrCU49.js → DocxViewer-B_NnBwF0.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-qDj_cfc-.js → F0AiProcessingOverlay-_6Q5DfJg.js} +16 -16
  6. package/dist/{F0CanvasPanel-Dmca9R87.js → F0CanvasPanel-BMURqtcr.js} +11 -11
  7. package/dist/F0DocumentViewer-7PUNVXNk.js +3 -0
  8. package/dist/{F0DocumentViewer-CJb6hwxe.js → F0DocumentViewer-DRm6fqh4.js} +6 -6
  9. package/dist/{F0Map-DKiYXObK.js → F0Map-f0PCE1Mz.js} +6 -6
  10. package/dist/{F0Select-B__H21uy.js → F0Select-BcKwX9W8.js} +2 -2
  11. package/dist/{F0Text-BIvVGJ14.js → F0Text-Bu80O85X.js} +2 -2
  12. package/dist/{F0VideoPlayer-FFx6Y3Xe.js → F0VideoPlayer-CRXj4sNZ.js} +2 -2
  13. package/dist/F0VideoPlayer-cuFJGYLM.js +1 -0
  14. package/dist/{Map-BGZKaHX-.js → Map-Cq4G6JVt.js} +6 -6
  15. package/dist/{PdfThumbnail-DWqbNI_u.js → PdfThumbnail-BEH1NBCB.js} +1 -1
  16. package/dist/{SheetViewer-JoJ35IBr.js → SheetViewer-CcXri71G.js} +4 -4
  17. package/dist/{TextViewer-UU8YaF4Y.js → TextViewer-BMHUpHg-.js} +2 -2
  18. package/dist/ai.d.ts +3 -3
  19. package/dist/ai.js +4 -4
  20. package/dist/component-status.js +1 -1
  21. package/dist/{dist-DOKwY_g1.js → dist-UTTWm0CV.js} +1 -1
  22. package/dist/experimental.d.ts +2 -2
  23. package/dist/experimental.js +14 -14
  24. package/dist/{exports-CUp2l1jY.d.ts → exports-CMhLojYN.d.ts} +1 -1
  25. package/dist/f0.d.ts +4 -4
  26. package/dist/f0.js +11 -11
  27. package/dist/{i18n-provider-defaults-iAsTLZ8q.d.ts → i18n-provider-defaults-DQxuUMpU.d.ts} +4 -0
  28. package/dist/{i18n-provider-defaults-DD76Cjbd.js → i18n-provider-defaults-p0UGTA_k.js} +1 -0
  29. package/dist/i18n-provider-defaults.d.ts +1 -1
  30. package/dist/i18n-provider-defaults.js +1 -1
  31. package/dist/{index-CByL5pgr.d.ts → index-aXC2gQbs.d.ts} +1 -1
  32. package/dist/{maplibre-CoOsaZ-8.js → maplibre-B2bLeY4t.js} +1 -1
  33. package/dist/{pdfWorker-cpopaRO3.js → pdfWorker-C7GrpmLJ.js} +1 -1
  34. package/dist/{popover-CPRUiLhE.js → popover-B-ET_Kay.js} +2 -2
  35. package/dist/styles.css +1 -1
  36. package/dist/{types-D68_Bwu3.d.ts → types-CEo4cZBQ.d.ts} +11 -4
  37. package/dist/{useData-C-dRyLoY.js → useData-DpxY5-yo.js} +1 -1
  38. package/package.json +1 -1
  39. package/tailwind.config.ts +3 -0
  40. package/dist/F0DocumentViewer-C2IoVgKs.js +0 -3
  41. package/dist/F0VideoPlayer-pSS8bzPo.js +0 -1
@@ -1,5 +1,5 @@
1
- import { Ai as IconAvatarVariant, Ci as AvatarVariant, Di as CompanyAvatarVariant, Dn as ChartColorToken, Fn as CardAvatarVariant, Hn as DropdownContentVariant, In as AlertAvatarProps, Jn as DropdownItemSeparator, Jt as ValueDisplayRendererDefinition, Kn as DropdownItemObject, Kt as CardMetadata, Lt as CardImageAspectRatio, Mi as TeamAvatarVariant, Qt as TagVariant, Rt as CardImageFit, Si as AvatarAction, Un as DropdownInternalProps, Wn as DropdownItem, _r as StatusVariant, ca as F0IconProps, da as WithDataTestIdProps, dr as DataAttributes, er as F0ButtonProps, ji as PersonAvatarVariant, la as IconType, oa as DistributiveOmit$1, pa as WithDataTestIdReturnType, ra as NewColor, ta as ModuleId, vr as Variant, yt as TranscribeFn, zi as CountryCode, zt as CardImageSize } from "./index-CByL5pgr.js";
2
- import { n as TranslationsType } from "./i18n-provider-defaults-iAsTLZ8q.js";
1
+ import { Ai as IconAvatarVariant, Ci as AvatarVariant, Di as CompanyAvatarVariant, Dn as ChartColorToken, Fn as CardAvatarVariant, Hn as DropdownContentVariant, In as AlertAvatarProps, Jn as DropdownItemSeparator, Jt as ValueDisplayRendererDefinition, Kn as DropdownItemObject, Kt as CardMetadata, Lt as CardImageAspectRatio, Mi as TeamAvatarVariant, Qt as TagVariant, Rt as CardImageFit, Si as AvatarAction, Un as DropdownInternalProps, Wn as DropdownItem, _r as StatusVariant, ca as F0IconProps, da as WithDataTestIdProps, dr as DataAttributes, er as F0ButtonProps, ji as PersonAvatarVariant, la as IconType, oa as DistributiveOmit$1, pa as WithDataTestIdReturnType, ra as NewColor, ta as ModuleId, vr as Variant, yt as TranscribeFn, zi as CountryCode, zt as CardImageSize } from "./index-aXC2gQbs.js";
2
+ import { n as TranslationsType } from "./i18n-provider-defaults-DQxuUMpU.js";
3
3
  import * as React$2 from "react";
4
4
  import React$1, { AriaAttributes, AutoFill, CSSProperties, ComponentProps, ComponentType, Dispatch, FC, ForwardedRef, HTMLAttributes, HTMLInputTypeAttribute, ReactElement, ReactNode, Ref, RefAttributes, RefObject, TextareaHTMLAttributes } from "react";
5
5
  import { VariantProps } from "cva";
@@ -2508,7 +2508,8 @@ interface F0ActionBarProps {
2508
2508
  */
2509
2509
  secondaryActions?: ActionBarItem[];
2510
2510
  /**
2511
- * The label of the action bar
2511
+ * The label of the action bar. The status icon is hidden from assistive
2512
+ * technology, so this is the only part a screen reader announces.
2512
2513
  */
2513
2514
  label?: string;
2514
2515
  /**
@@ -2524,13 +2525,19 @@ interface F0ActionBarProps {
2524
2525
  leftContent?: React.ReactNode;
2525
2526
  /**
2526
2527
  * The current status of the action bar.
2527
- * - "idle": Default state, shows an alert icon (pending changes)
2528
+ * - "idle": Default state, shows no icon
2528
2529
  * - "loading": Shows a spinner and disables all actions
2529
2530
  * - "success": Shows a checkmark icon and disables all actions
2530
2531
  * - "error": Shows an error icon with persistent error styling
2531
2532
  * @default "idle"
2532
2533
  */
2533
2534
  status?: ActionBarStatus;
2535
+ /**
2536
+ * Accessible name of the bar. Blank falls back to the default: an unnamed
2537
+ * `region` is not exposed as a landmark.
2538
+ * @default the `actionBar.label` translation
2539
+ */
2540
+ "aria-label"?: string;
2534
2541
  }
2535
2542
  declare const F0ActionBar: WithDataTestIdReturnType<import("react").ForwardRefExoticComponent<F0ActionBarProps & import("react").RefAttributes<F0ActionBarRef>>>;
2536
2543
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { $t as t, A as n, Ct as r, D as i, E as a, Ht as o, Mt as s, N as c, St as l, T as u, U as d, a as f, b as p, cr as m, fn as h, i as g, j as _, k as v, on as y, or as b, p as x, sn as S, sr as C, t as w, vn as T, x as E, y as D, yn as O } from "./popover-CPRUiLhE.js";
2
+ import { $t as t, A as n, Ct as r, D as i, E as a, Ht as o, Mt as s, N as c, St as l, T as u, U as d, a as f, b as p, cr as m, fn as h, i as g, j as _, k as v, on as y, or as b, p as x, sn as S, sr as C, t as w, vn as T, x as E, y as D, yn as O } from "./popover-B-ET_Kay.js";
3
3
  import { L as k, R as ee } from "./tooltip-BX4dSfeL.js";
4
4
  import { t as te } from "./dist-Cuwaibqg.js";
5
5
  import * as A from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "12.0.0",
3
+ "version": "12.0.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -21,6 +21,9 @@ export default {
21
21
  },
22
22
  keyframes: {
23
23
  ...baseConfig.theme?.extend?.keyframes,
24
+ // Emitted only while some `animate-rotate-gradient` class is in use
25
+ // (today `hover:animate-rotate-gradient` in `Action/variants.ts`). The
26
+ // `[animation:rotate-gradient_…]` users depend on it being emitted.
24
27
  "rotate-gradient": {
25
28
  from: { "--gradient-angle": "0deg" },
26
29
  to: { "--gradient-angle": "360deg" },
@@ -1,3 +0,0 @@
1
- import "./pdfWorker-cpopaRO3.js";
2
- export { t as F0DocumentViewer } from "./F0DocumentViewer-CJb6hwxe.js";
3
- import "./f0.js";
@@ -1 +0,0 @@
1
- export { t as F0VideoPlayer } from "./F0VideoPlayer-FFx6Y3Xe.js";