@factorialco/f0-react 16.21.0 → 16.23.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 (44) hide show
  1. package/dist/{ArchiveThumbnail-BePfOv3F.js → ArchiveThumbnail-DVDLD1KO.js} +1 -1
  2. package/dist/{ArchiveViewer-DvKspMsv.js → ArchiveViewer-DE9_XePM.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-BhlQzTXz.js → ChatPostComposerDialog-CwwUOsKv.js} +2 -2
  4. package/dist/{CoachmarkProvider-B0Fs1pf7.js → CoachmarkProvider-DKzIMyWY.js} +20671 -20665
  5. package/dist/{CodeThumbnail-CZKjZwpZ.js → CodeThumbnail-xdea98O9.js} +1 -1
  6. package/dist/{CodeViewer-DNLPQ2xO.js → CodeViewer-Btnvqa-X.js} +6 -6
  7. package/dist/{DocumentToolbar-Dua6PID0.js → DocumentToolbar-B_sygiWe.js} +5 -5
  8. package/dist/{DocxViewer-D2S3lGOn.js → DocxViewer-BKEv7ORw.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-bNWPwuH3.js → F0AiProcessingOverlay-BBvhg8LC.js} +286 -286
  10. package/dist/{F0Alert-DHPOzhGo.js → F0Alert-DtSyPCxn.js} +4 -4
  11. package/dist/F0AudioPlayer-CbwGn5bL.js +2 -0
  12. package/dist/{F0CanvasPanel-DV9kMkUy.js → F0CanvasPanel-CQ7gX7-P.js} +7855 -7746
  13. package/dist/{F0DocumentViewer-C-e-yjPh.js → F0DocumentViewer-BZsMdNcY.js} +1 -1
  14. package/dist/{F0DocumentViewer-BSMvv4hU.js → F0DocumentViewer-DWXuPrOG.js} +2 -2
  15. package/dist/{F0Map-C5GBzJKx.js → F0Map-BuLyNjHC.js} +16 -16
  16. package/dist/{F0Select-Ef_MkLqL.js → F0Select-DGvIH_Gp.js} +1607 -1601
  17. package/dist/{F0VideoPlayer-BXD4JMkM.js → F0VideoPlayer-B4JYaa4U.js} +22 -22
  18. package/dist/F0VideoPlayer-BYTQqwd2.js +1 -0
  19. package/dist/{HtmlViewer-CX1vkYRx.js → HtmlViewer-OY8T2uX6.js} +4 -4
  20. package/dist/{Map-BnhKWUJE.js → Map-CuunG2oS.js} +6 -6
  21. package/dist/{PdfThumbnail-BJi6FkbE.js → PdfThumbnail-DfwDJHEr.js} +1 -1
  22. package/dist/{PdfViewer-CFn2h9nq.js → PdfViewer-DzbV7lZw.js} +8 -8
  23. package/dist/{SheetViewer-onMadxsi.js → SheetViewer-DGX6KHnL.js} +11 -11
  24. package/dist/{TextViewer-BIcgDoH5.js → TextViewer-CLqt6uiQ.js} +1 -1
  25. package/dist/ai.d.ts +2 -2
  26. package/dist/ai.js +2 -2
  27. package/dist/component-status.js +4 -4
  28. package/dist/{dist-BCNVh6y5.js → dist-DMTFO2gF.js} +46 -0
  29. package/dist/experimental.d.ts +14 -3
  30. package/dist/experimental.js +974 -958
  31. package/dist/{exports-B8qwxvwL.d.ts → exports-BSFis6g6.d.ts} +1 -1
  32. package/dist/f0.d.ts +3 -3
  33. package/dist/f0.js +604 -609
  34. package/dist/{google-CG30Y63J.js → google-DDQ7XfPD.js} +1 -1
  35. package/dist/{highlight-BeMwpXOl.js → highlight-DpVfX1K9.js} +1 -1
  36. package/dist/{index-DC_v_uUG.d.ts → index-DR7cCKE6.d.ts} +62 -16
  37. package/dist/{maplibre-iFKMikCO.js → maplibre-BOwxOCps.js} +2 -2
  38. package/dist/{pdfWorker-rlBg8XHy.js → pdfWorker-DtUZLMfu.js} +1 -1
  39. package/dist/styles.css +1 -1
  40. package/dist/{types-Ia5pcWL6.d.ts → types-ChFboQlr.d.ts} +15 -4
  41. package/dist/{useData-CVTa0m1L.js → useData-QJRr_47g.js} +1 -1
  42. package/package.json +2 -2
  43. package/dist/F0AudioPlayer-BrjgdlIL.js +0 -2
  44. package/dist/F0VideoPlayer-Bwq_1c7j.js +0 -1
@@ -1,4 +1,4 @@
1
- import { $a as IconAvatarVariant, $n as StatusVariant, Eo as NewColor, Fn as ChartColorToken, Ga as AvatarAction, Gt as CardImageSize, Io as WithDataTestIdReturnType, Ka as AvatarVariant, Mo as IconType, Oa as F0ButtonProps, Po as WithDataTestIdProps, Sa as DropdownItemSeparator, Tt as TranscribeFn, Ua as DataAttributes, Un as CardAvatarVariant, Ut as CardImageAspectRatio, Wn as AlertAvatarProps, Wt as CardImageFit, Xa as CompanyAvatarVariant, _a as DropdownInternalProps, ba as DropdownItemObject, co as CountryCode, en as CardMetadata, eo as PersonAvatarVariant, er as Variant, f as ButtonDropdownItem, jo as F0IconProps, ko as DistributiveOmit$1, nn as ValueDisplayRendererDefinition, on as TagVariant, to as TeamAvatarVariant, va as DropdownItem, wo as ModuleId } from "./index-DC_v_uUG.js";
1
+ import { $a as IconAvatarVariant, $n as StatusVariant, Eo as NewColor, Fn as ChartColorToken, Ga as AvatarAction, Gt as CardImageSize, Io as WithDataTestIdReturnType, Ka as AvatarVariant, Mo as IconType, Oa as F0ButtonProps, Po as WithDataTestIdProps, Sa as DropdownItemSeparator, Tt as TranscribeFn, Ua as DataAttributes, Un as CardAvatarVariant, Ut as CardImageAspectRatio, Wn as AlertAvatarProps, Wt as CardImageFit, Xa as CompanyAvatarVariant, _a as DropdownInternalProps, ba as DropdownItemObject, co as CountryCode, en as CardMetadata, eo as PersonAvatarVariant, er as Variant, f as ButtonDropdownItem, jo as F0IconProps, ko as DistributiveOmit$1, nn as ValueDisplayRendererDefinition, on as TagVariant, to as TeamAvatarVariant, va as DropdownItem, wo as ModuleId } from "./index-DR7cCKE6.js";
2
2
  import { n as TranslationsType } from "./i18n-provider-defaults-FGAsdJJR.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";
@@ -5538,6 +5538,16 @@ interface PropertyDefinition<T> {
5538
5538
  //#region src/addons/data-collection/OneDataCollection/visualizations/collection/Card/Card.d.ts
5539
5539
  type CardPropertyDefinition<T> = PropertyDefinition<T> & {
5540
5540
  icon?: IconType;
5541
+ /**
5542
+ * Writes the label in the card's tag, before the value, for a value that
5543
+ * doesn't say what it is on its own: a `label` of "By" on a company reads
5544
+ * "By Factorial". Only on values that render as a tag of their own text
5545
+ * (text, number, date, amount, person, company, team and tag): a status,
5546
+ * dotTag or alertTag keeps its label for screen readers and the tooltip.
5547
+ * See `showLabel` on F0Card's metadata.
5548
+ * @default false
5549
+ */
5550
+ showLabel?: boolean;
5541
5551
  };
5542
5552
  interface CardVisualizationOptions<T, _Filters extends FiltersDefinition, _Sortings extends SortingsDefinition> {
5543
5553
  cardProperties: readonly CardPropertyDefinition<T>[];
@@ -5926,9 +5936,10 @@ type ListIconPaletteColor = (typeof listIconColors)[number];
5926
5936
  *
5927
5937
  * The hex is for the case the palette genuinely cannot serve: a colour that is
5928
5938
  * already data — a calendar's own colour, a module's brand, a category a user
5929
- * picked themselves. It is treated exactly like a palette hue (a tenth of it as
5930
- * the tile, the hue itself as the icon), so a bespoke colour and a named one
5931
- * still draw the same glyph. `#RGB` and `#RRGGBB` both parse; anything else
5939
+ * picked themselves. A hex has no theme tokens, so it draws a tenth of itself
5940
+ * as the tile and itself as the icon: a lighter tile than a palette hue's,
5941
+ * which is one more reason to prefer the palette. `#RGB` and `#RRGGBB` both
5942
+ * parse; anything else
5932
5943
  * falls back to the plain, untinted glyph rather than drawing nothing.
5933
5944
  */
5934
5945
  type ListIconColor = ListIconPaletteColor | `#${string}`;
@@ -6,7 +6,7 @@ import { C as c, I as l, K as u, f as d, t as f, v as p } from "./F0Button-B217B
6
6
  import { o as m, r as h, t as g } from "./F0Icon-CRETnjaC.js";
7
7
  import { a as _, d as v, f as y, i as b, m as x, t as S, w as C } from "./popover-CKVOp9XF.js";
8
8
  import { _ as w, d as T, g as E, i as D, r as ee, v as O } from "./dist-CLXu6f__.js";
9
- import { t as te } from "./dist-BCNVh6y5.js";
9
+ import { t as te } from "./dist-DMTFO2gF.js";
10
10
  import { t as k } from "./ownValue-D4uSXt0d.js";
11
11
  import * as A from "react";
12
12
  import { createContext as j, forwardRef as M, useCallback as N, useContext as P, useDeferredValue as ne, useEffect as F, useId as I, useMemo as L, useRef as R, useState as z } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "16.21.0",
3
+ "version": "16.23.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -72,7 +72,7 @@
72
72
  "@dnd-kit/core": "^6.3.1",
73
73
  "@dnd-kit/sortable": "^10.0.0",
74
74
  "@dnd-kit/utilities": "^3.2.2",
75
- "@factorialco/f0-core": "5.1.0",
75
+ "@factorialco/f0-core": "5.2.0",
76
76
  "@radix-ui/number": "^1.1.1",
77
77
  "@radix-ui/primitive": "^1.1.2",
78
78
  "@radix-ui/react-collection": "^1.1.7",
@@ -1,2 +0,0 @@
1
- export { sa as F0AudioPlayer } from "./F0CanvasPanel-DV9kMkUy.js";
2
- import "./f0.js";
@@ -1 +0,0 @@
1
- export { t as F0VideoPlayer } from "./F0VideoPlayer-BXD4JMkM.js";