@factorialco/f0-react 12.0.1 → 12.1.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.
Files changed (40) hide show
  1. package/dist/{ChatPostComposerDialog-CNH3PEKK.js → ChatPostComposerDialog-NEIFDJib.js} +3 -3
  2. package/dist/{CoachmarkProvider-C_JXGs72.js → CoachmarkProvider-BR6fdrrh.js} +134 -126
  3. package/dist/{DocumentToolbar-BFnMz7bn.js → DocumentToolbar-Cb3E9RnA.js} +5 -5
  4. package/dist/{DocxViewer-DxB_Z3Aj.js → DocxViewer-pfu-5v_l.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-Dyeu-llX.js → F0AiProcessingOverlay-O9SpiZk4.js} +217 -217
  6. package/dist/{F0CanvasPanel-BmHKCa2z.js → F0CanvasPanel-Dn-Gkmsz.js} +59 -59
  7. package/dist/{F0DocumentViewer-BezOjMcU.js → F0DocumentViewer-CRPMDWGj.js} +8 -8
  8. package/dist/F0DocumentViewer-DzZu9sCO.js +3 -0
  9. package/dist/{F0Map-BGULgHcs.js → F0Map-toEYLWLQ.js} +34 -34
  10. package/dist/{F0Select-BuvNLc6L.js → F0Select-BMzj1oyt.js} +4702 -4630
  11. package/dist/F0Text-CjR98zwA.js +81 -0
  12. package/dist/{F0VideoPlayer-kC_SY7gU.js → F0VideoPlayer-BmbFZEII.js} +2 -2
  13. package/dist/F0VideoPlayer-DsHl-sBd.js +1 -0
  14. package/dist/{Map-B-ZV3tfI.js → Map-Cakv1wM4.js} +6 -6
  15. package/dist/{PdfThumbnail-CFtbNxIt.js → PdfThumbnail-Bxzk7G0u.js} +1 -1
  16. package/dist/{SheetViewer-HAv_fqvI.js → SheetViewer-zNoFISP0.js} +4 -4
  17. package/dist/{TextViewer-DHBvbldv.js → TextViewer-BTRJxwwJ.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-BkJmWPoT.js → dist-UTTWm0CV.js} +1 -1
  22. package/dist/experimental.d.ts +2 -2
  23. package/dist/experimental.js +448 -448
  24. package/dist/{exports-CUp2l1jY.d.ts → exports-CnbBeOMM.d.ts} +1 -1
  25. package/dist/f0.d.ts +4 -4
  26. package/dist/f0.js +205 -205
  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-DE9tIS8D.d.ts} +2 -2
  32. package/dist/{maplibre-BiwbNV1t.js → maplibre-C5htrHET.js} +1 -1
  33. package/dist/{pdfWorker-DjBnzXSj.js → pdfWorker-B4yvX0G-.js} +1 -1
  34. package/dist/{popover-B3B34Ceg.js → popover-B-ET_Kay.js} +1 -1
  35. package/dist/{types-D68_Bwu3.d.ts → types-CUKMWWRC.d.ts} +11 -4
  36. package/dist/{useData-ooUz_KnJ.js → useData-DWwEymV5.js} +5636 -4625
  37. package/package.json +1 -1
  38. package/dist/F0DocumentViewer-BkCL6H_9.js +0 -3
  39. package/dist/F0Text-BzTI5Tfw.js +0 -1093
  40. package/dist/F0VideoPlayer-BQRhmD18.js +0 -1
@@ -312,6 +312,10 @@ declare const defaultTranslations: {
312
312
  readonly link: {
313
313
  readonly opensInNewTab: "opens in new tab";
314
314
  };
315
+ readonly actionBar: {
316
+ /** Accessible name of the bar. Overridable per instance with `aria-label`. */
317
+ readonly label: "Actions";
318
+ };
315
319
  readonly audioPlayer: {
316
320
  readonly label: "Audio player";
317
321
  readonly play: "Play";
@@ -301,6 +301,7 @@ var e = {
301
301
  }
302
302
  },
303
303
  link: { opensInNewTab: "opens in new tab" },
304
+ actionBar: { label: "Actions" },
304
305
  audioPlayer: {
305
306
  label: "Audio player",
306
307
  play: "Play",
@@ -1,2 +1,2 @@
1
- import { n as TranslationsType, r as defaultTranslations, t as TranslationKey } from "./i18n-provider-defaults-iAsTLZ8q.js";
1
+ import { n as TranslationsType, r as defaultTranslations, t as TranslationKey } from "./i18n-provider-defaults-DQxuUMpU.js";
2
2
  export { TranslationKey, TranslationsType, defaultTranslations };
@@ -1 +1 @@
1
- export { t as defaultTranslations } from "./i18n-provider-defaults-DD76Cjbd.js";
1
+ export { t as defaultTranslations } from "./i18n-provider-defaults-p0UGTA_k.js";
@@ -1,4 +1,4 @@
1
- import { n as TranslationsType, t as TranslationKey } from "./i18n-provider-defaults-iAsTLZ8q.js";
1
+ import { n as TranslationsType, t as TranslationKey } from "./i18n-provider-defaults-DQxuUMpU.js";
2
2
  import * as React$2 from "react";
3
3
  import React$1, { AnchorHTMLAttributes, ComponentProps, ComponentType, FC, ForwardRefExoticComponent, ForwardedRef, HTMLAttributeAnchorTarget, HTMLAttributes, PropsWithChildren, ReactElement, ReactNode, RefAttributes, RefObject, SVGProps } from "react";
4
4
  import { VariantProps } from "cva";
@@ -2235,7 +2235,7 @@ interface HourDistributionDataPoint {
2235
2235
  neutralLabel?: string;
2236
2236
  /** Draws the day at full height, in place of the worked time: `striped` or `solid`. */
2237
2237
  style?: BarSeriesStyle;
2238
- /** A second tooltip line. On a day with a `style` it leads the tooltip, with the date under it. */
2238
+ /** The tooltip's title. The date and hours go under it (on a styled day, the date alone). */
2239
2239
  note?: string;
2240
2240
  }
2241
2241
  interface HourDistributionCellValue {
@@ -1,6 +1,6 @@
1
1
  import { o as e } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { t } from "./dist-Cuwaibqg.js";
3
- import { s as n } from "./F0Map-BGULgHcs.js";
3
+ import { s as n } from "./F0Map-toEYLWLQ.js";
4
4
  import './maplibre-gl.css';import './maplibre.css';/* empty css */
5
5
  import { t as r } from "./maplibre-gl-DVldSYfz.js";
6
6
  //#region ../../node_modules/.pnpm/@mapbox+mapbox-gl-rtl-text@0.2.3_mapbox-gl@1.13.3/node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js?url
@@ -1,6 +1,6 @@
1
1
  import { i as __require, o as __toESM, t as __commonJSMin } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { z as clsx } from "./tooltip-BX4dSfeL.js";
3
- import { Oi as invariant } from "./F0CanvasPanel-BmHKCa2z.js";
3
+ import { Oi as invariant } from "./F0CanvasPanel-Dn-Gkmsz.js";
4
4
  import { t as dequal } from "./dist-Dt-cTb6D.js";
5
5
  import { createContext, forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { L as a, R as o, i as s, n as c, r as l, s as u, t as d, z as f } from "./tooltip-BX4dSfeL.js";
3
- import { t as p } from "./i18n-provider-defaults-DD76Cjbd.js";
3
+ import { t as p } from "./i18n-provider-defaults-p0UGTA_k.js";
4
4
  import * as m from "react";
5
5
  import h, { Children as g, Component as _, Fragment as v, cloneElement as y, createContext as b, createElement as x, forwardRef as S, isValidElement as C, memo as w, useCallback as T, useContext as E, useEffect as D, useId as O, useImperativeHandle as k, useInsertionEffect as A, useLayoutEffect as j, useMemo as M, useRef as N, useState as P } from "react";
6
6
  import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
@@ -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-DE9tIS8D.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