@factorialco/f0-react 16.34.0 → 16.35.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 (52) hide show
  1. package/dist/{ArchiveThumbnail-VRBMnfOQ.js → ArchiveThumbnail-BOkvHgd_.js} +3 -3
  2. package/dist/{ArchiveViewer-FmO3W9El.js → ArchiveViewer-CmoM8uO2.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-UWNCaU6S.js → ChatPostComposerDialog-BlfRnich.js} +2 -2
  4. package/dist/{CoachmarkProvider-NJDyjcbB.js → CoachmarkProvider-CE07lM-i.js} +13881 -13878
  5. package/dist/{CodeThumbnail-BLWM5FmO.js → CodeThumbnail-4Juwr4va.js} +1 -1
  6. package/dist/{CodeViewer-BjVmQeMm.js → CodeViewer-DxoMNOPf.js} +4 -4
  7. package/dist/{DocumentToolbar-Dq3Lwikl.js → DocumentToolbar-Ce7J0eV7.js} +6 -6
  8. package/dist/{DocxViewer-70VqeeOa.js → DocxViewer-D2CnuS5p.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-DFJNq358.js → F0AiProcessingOverlay-CqKJmZXs.js} +395 -395
  10. package/dist/{F0Alert-nVgfw7WI.js → F0Alert-DEa3QgeO.js} +15 -14
  11. package/dist/F0AudioPlayer-BnSS3X1L.js +2 -0
  12. package/dist/{F0Button-B9tE57M3.js → F0Button-BJsJt_ZL.js} +7 -7
  13. package/dist/{F0CanvasPanel-Dg-yCd06.js → F0CanvasPanel-BrBCO_gi.js} +7437 -7510
  14. package/dist/{F0DocumentViewer-QvayGtJt.js → F0DocumentViewer-CFQCY5i6.js} +2 -2
  15. package/dist/{F0DocumentViewer-s2CNCz31.js → F0DocumentViewer-DirgMVCZ.js} +1 -1
  16. package/dist/{F0Map-BPWgG3Br.js → F0Map-BPrVyqim.js} +64 -64
  17. package/dist/{F0Select-DV2A6yo2.js → F0Select-CLzwJBvd.js} +8541 -8449
  18. package/dist/{F0Text-BDmNaecR.js → F0Text-DO-opB9S.js} +1 -1
  19. package/dist/F0VideoPlayer-BCA2f2Pf.js +1 -0
  20. package/dist/{F0VideoPlayer-D7wWuao2.js → F0VideoPlayer-Cyb1Vidm.js} +15 -15
  21. package/dist/{HtmlThumbnail-BakLalKI.js → HtmlThumbnail-Hi747Tmk.js} +1 -1
  22. package/dist/{HtmlViewer-B79wACEv.js → HtmlViewer-mwi7RfDB.js} +6 -6
  23. package/dist/{LayoutGroup-CuWgJO_W.js → LayoutGroup-B9BnZypT.js} +1 -1
  24. package/dist/{Map-BwNqQnRV.js → Map-BNiGhT41.js} +7 -7
  25. package/dist/{PdfThumbnail-BiI4wG8G.js → PdfThumbnail-Dy7HLwhC.js} +1 -1
  26. package/dist/{PdfViewer-DxW7iBqZ.js → PdfViewer-BMC6IGXj.js} +9 -9
  27. package/dist/{SandboxedHtmlFrame-SKujax-U.js → SandboxedHtmlFrame-Ck62HtyP.js} +1 -1
  28. package/dist/{SheetViewer-CDGVktjK.js → SheetViewer-BhLETKTA.js} +4 -3
  29. package/dist/{TextViewer-DSWQD1PY.js → TextViewer-CGxs4kaE.js} +2 -2
  30. package/dist/ai.d.ts +2 -2
  31. package/dist/ai.js +2 -2
  32. package/dist/component-status.js +2 -2
  33. package/dist/{dist-BjlY6-o5.js → dist-BVf4ny05.js} +4 -4
  34. package/dist/{dist-CiU6Cp6n.js → dist-C04XuJk3.js} +1 -1
  35. package/dist/{dist-D0tUIJ0v.js → dist-TC4hmHdB.js} +1 -1
  36. package/dist/{dist-C1RZo6kP.js → dist-mt9P132m.js} +1 -1
  37. package/dist/{dist-MPgX6tx_.js → dist-vWDXrm7a.js} +1 -1
  38. package/dist/experimental.d.ts +2 -2
  39. package/dist/experimental.js +702 -702
  40. package/dist/{exports-DjzAyxYh.d.ts → exports-OhW2O8GE.d.ts} +1 -1
  41. package/dist/f0.d.ts +13 -7
  42. package/dist/f0.js +292 -292
  43. package/dist/{highlight-Ca0-nk5V.js → highlight-CEZ90xPK.js} +1 -1
  44. package/dist/{index-D-HizTYE.d.ts → index-BJ6j_yIt.d.ts} +35 -4
  45. package/dist/{index-R6m9VGPq.d.ts → index-sUM6VG1q.d.ts} +1 -1
  46. package/dist/{maplibre-CQlQTgFD.js → maplibre-IpicW_Aq.js} +1 -1
  47. package/dist/{pdfWorker-VXyiKOiL.js → pdfWorker-DwlPZetS.js} +1 -1
  48. package/dist/{toolbarStyles-DKWFaPuE.js → toolbarStyles-Al2tzXoH.js} +1 -1
  49. package/dist/{useData-BUahpDRq.js → useData-CZW0gG0I.js} +2 -2
  50. package/package.json +1 -1
  51. package/dist/F0AudioPlayer-CG3RpwqJ.js +0 -2
  52. package/dist/F0VideoPlayer-Dn8MFW-n.js +0 -1
@@ -1,4 +1,4 @@
1
- import { On as e, bn as t, kn as n } from "./F0CanvasPanel-Dg-yCd06.js";
1
+ import { On as e, bn as t, kn as n } from "./F0CanvasPanel-BrBCO_gi.js";
2
2
  import { t as r } from "./purify.es-CJ7gZxxn.js";
3
3
  import { t as i } from "./ownValue-D4uSXt0d.js";
4
4
  //#region src/addons/documents/lib/codeLanguages.ts
@@ -4452,6 +4452,28 @@ interface IconValue {
4452
4452
  type IconCellValue = IconValue;
4453
4453
  declare const IconCell: (args: IconCellValue, meta: ValueDisplayRendererContext) => import("react").JSX.Element;
4454
4454
  //#endregion
4455
+ //#region src/elements/value-display/types/link/LinkCell.d.ts
4456
+ interface LinkCellValue {
4457
+ /** Visible text of the link */
4458
+ label: string;
4459
+ /**
4460
+ * A page inside the app, handed to the app's LinkProvider so its router
4461
+ * navigates. It opens in the same tab with no external-link icon, so don't
4462
+ * pass an external URL. Without it, or without a label, the cell renders as
4463
+ * plain text, so a row with nowhere to go keeps its own click.
4464
+ */
4465
+ href?: string;
4466
+ /**
4467
+ * Replaces the link's whole accessible name, for screen readers and voice
4468
+ * control alike. Use it when every row shows the same label, and pass the
4469
+ * full name, such as "View evaluation for Ada Lovelace", not only the extra
4470
+ * part. Start it with the visible label, so voice control still finds the
4471
+ * link by what it shows.
4472
+ */
4473
+ ariaLabel?: string;
4474
+ }
4475
+ declare const LinkCell: (args: LinkCellValue, meta: ValueDisplayRendererContext) => import("react").JSX.Element;
4476
+ //#endregion
4455
4477
  //#region src/elements/value-display/types/longText/longText.d.ts
4456
4478
  type LongTextValue = WithPlaceholder & {
4457
4479
  text: string | number | undefined;
@@ -4961,6 +4983,7 @@ declare const valueDisplayRenderers: {
4961
4983
  readonly delta: typeof DeltaCell;
4962
4984
  readonly summary: typeof SummaryCell;
4963
4985
  readonly count: typeof CountCell;
4986
+ readonly link: typeof LinkCell;
4964
4987
  };
4965
4988
  /**
4966
4989
  * The definition of a renderer.
@@ -5062,7 +5085,12 @@ type CardAlertProps = CardAlertDismissible | CardAlertWithAction | CardAlertNonD
5062
5085
  */
5063
5086
  type CardMetadataProperty = { [K in CardPropertyType]: {
5064
5087
  type: K;
5065
- label: string;
5088
+ /**
5089
+ * The property's name ("Country", "Category"), not its value. Screen
5090
+ * readers read it before the value, and it shows as a tooltip. Leave it
5091
+ * off when the value says what it is on its own.
5092
+ */
5093
+ label?: string;
5066
5094
  value: Parameters<(typeof valueDisplayRenderers)[K]>[0];
5067
5095
  }; }[CardPropertyType];
5068
5096
  /**
@@ -5083,8 +5111,8 @@ interface CardMetadataWithIcon {
5083
5111
  }
5084
5112
  interface CardMetadataItem extends CardMetadataWithIcon {
5085
5113
  /**
5086
- * Leave it off: the label is read by screen readers before the value, and
5087
- * shown as a tooltip.
5114
+ * Leave it off: the label, when there is one, is read by screen readers
5115
+ * before the value, and shown as a tooltip.
5088
5116
  */
5089
5117
  showLabel?: false;
5090
5118
  property: Exclude<CardMetadataProperty, {
@@ -5100,9 +5128,12 @@ interface CardMetadataLabelledItem extends CardMetadataWithIcon {
5100
5128
  * @default false
5101
5129
  */
5102
5130
  showLabel: true;
5131
+ /** Its `label` is required: it is what the tag writes. */
5103
5132
  property: Extract<CardMetadataProperty, {
5104
5133
  type: CardTextTagType;
5105
- }>;
5134
+ }> & {
5135
+ label: string;
5136
+ };
5106
5137
  }
5107
5138
  interface CardMetadataFile {
5108
5139
  property: Extract<CardMetadataProperty, {
@@ -1,4 +1,4 @@
1
- import { Eo as DataAttributes, Go as CountryCode, Gt as CardImageSize, Hn as AlertAvatarProps, Io as IconAvatarVariant, Lo as PersonAvatarVariant, No as CompanyAvatarVariant, Oo as AvatarAction, Qn as Variant, Ro as TeamAvatarVariant, Tt as TranscribeFn, Ut as CardImageAspectRatio, Vn as CardAvatarVariant, Wt as CardImageFit, Zn as StatusVariant, _s as WithDataTestIdProps, ao as DropdownItemSeparator, do as F0ButtonProps, en as CardMetadata, eo as DropdownInternalProps, f as ButtonDropdownItem, fs as DistributiveOmit$1, hs as IconType, ko as AvatarVariant, ls as NewColor, ms as F0IconProps, nn as ValueDisplayRendererDefinition, on as TagVariant, ro as DropdownItemObject, ss as ModuleId, to as DropdownItem, ys as WithDataTestIdReturnType } from "./index-D-HizTYE.js";
1
+ import { Eo as DataAttributes, Go as CountryCode, Gt as CardImageSize, Hn as AlertAvatarProps, Io as IconAvatarVariant, Lo as PersonAvatarVariant, No as CompanyAvatarVariant, Oo as AvatarAction, Qn as Variant, Ro as TeamAvatarVariant, Tt as TranscribeFn, Ut as CardImageAspectRatio, Vn as CardAvatarVariant, Wt as CardImageFit, Zn as StatusVariant, _s as WithDataTestIdProps, ao as DropdownItemSeparator, do as F0ButtonProps, en as CardMetadata, eo as DropdownInternalProps, f as ButtonDropdownItem, fs as DistributiveOmit$1, hs as IconType, ko as AvatarVariant, ls as NewColor, ms as F0IconProps, nn as ValueDisplayRendererDefinition, on as TagVariant, ro as DropdownItemObject, ss as ModuleId, to as DropdownItem, ys as WithDataTestIdReturnType } from "./index-BJ6j_yIt.js";
2
2
  import { n as TranslationsType } from "./i18n-provider-defaults-SQ7US7M7.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, RefObject, TextareaHTMLAttributes } from "react";
@@ -1,6 +1,6 @@
1
1
  import { o as e } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { t } from "./dist-DMTFO2gF.js";
3
- import { s as n } from "./F0Map-BPWgG3Br.js";
3
+ import { s as n } from "./F0Map-BPrVyqim.js";
4
4
  import './maplibre-gl.css';import './maplibre.css';/* empty css */
5
5
  import { t as r } from "./maplibre-gl-C9VxucUv.js";
6
6
  //#region ../../node_modules/.bun/@mapbox+mapbox-gl-rtl-text@0.2.3+aaf0d59d7a26626d/node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js?url
@@ -1,6 +1,6 @@
1
1
  import { o as e, r as t, t as n } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { z as r } from "./tooltip-NXXT56H4.js";
3
- import { no as i } from "./F0CanvasPanel-Dg-yCd06.js";
3
+ import { to as i } from "./F0CanvasPanel-BrBCO_gi.js";
4
4
  import { t as a } from "./dist-ZjZbrLOW.js";
5
5
  import { n as o, r as s } from "./pdfWorkerConfig-BwllKt1K.js";
6
6
  import { createContext as c, forwardRef as l, useCallback as u, useContext as d, useEffect as f, useImperativeHandle as p, useLayoutEffect as m, useMemo as h, useReducer as g, useRef as _ } from "react";
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-NXXT56H4.js";
2
- import { t } from "./F0Button-B9tE57M3.js";
2
+ import { t } from "./F0Button-BJsJt_ZL.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region src/addons/documents/F0DocumentViewer/pdfActions.ts
5
5
  var r = async (e) => {
@@ -2,10 +2,10 @@ import { r as e } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { a as t, i as n, r } from "./i18n-provider-DEmElb7u.js";
3
3
  import { n as i, t as a } from "./skeleton-cJaQYsv6.js";
4
4
  import { L as o, R as s } from "./tooltip-NXXT56H4.js";
5
- import { C as c, L as l, f as u, q as d, t as f, v as p } from "./F0Button-B9tE57M3.js";
5
+ import { C as c, L as l, f as u, q as d, t as f, v as p } from "./F0Button-BJsJt_ZL.js";
6
6
  import { a as m, s as h, t as g, u as _ } from "./createIcon-l_kbsdJi.js";
7
7
  import { a as v, d as y, f as b, i as x, m as S, t as C, w } from "./popover-B7-MjlA_.js";
8
- import { _ as T, d as E, g as D, i as ee, r as O, v as te } from "./dist-D0tUIJ0v.js";
8
+ import { _ as T, d as E, g as D, i as ee, r as O, v as te } from "./dist-TC4hmHdB.js";
9
9
  import { t as ne } from "./dist-DMTFO2gF.js";
10
10
  import { t as k } from "./ownValue-D4uSXt0d.js";
11
11
  import * as A from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "16.34.0",
3
+ "version": "16.35.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -1,2 +0,0 @@
1
- export { ua as F0AudioPlayer } from "./F0CanvasPanel-Dg-yCd06.js";
2
- import "./f0.js";
@@ -1 +0,0 @@
1
- export { t as F0VideoPlayer } from "./F0VideoPlayer-D7wWuao2.js";