@oxy.so/bloom 1.0.1 → 1.0.3

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 (61) hide show
  1. package/README.md +1 -1
  2. package/docs/fab.mdx +23 -19
  3. package/docs/fonts.mdx +1 -1
  4. package/docs/image-resolver.mdx +2 -2
  5. package/docs/link-preview.mdx +1 -1
  6. package/docs/migrating-to-1.0.mdx +6 -0
  7. package/docs/toast.mdx +1 -1
  8. package/docs/user-hover-card.mdx +2 -2
  9. package/lib/commonjs/fab/Fab.js +8 -3
  10. package/lib/commonjs/fab/Fab.js.map +1 -1
  11. package/lib/commonjs/fab/Fab.web.js +9 -4
  12. package/lib/commonjs/fab/Fab.web.js.map +1 -1
  13. package/lib/commonjs/fab/use-fab-minimized.js +20 -0
  14. package/lib/commonjs/fab/use-fab-minimized.js.map +1 -0
  15. package/lib/commonjs/link-preview/LinkPreviewCard.js +2 -2
  16. package/lib/commonjs/toast/use-single-outlet-guard.js +1 -1
  17. package/lib/commonjs/toast/use-single-outlet-guard.js.map +1 -1
  18. package/lib/module/fab/Fab.js +8 -3
  19. package/lib/module/fab/Fab.js.map +1 -1
  20. package/lib/module/fab/Fab.web.js +9 -4
  21. package/lib/module/fab/Fab.web.js.map +1 -1
  22. package/lib/module/fab/use-fab-minimized.js +16 -0
  23. package/lib/module/fab/use-fab-minimized.js.map +1 -0
  24. package/lib/module/fonts/font-urls.web.js +1 -1
  25. package/lib/module/link-preview/LinkPreviewCard.js +2 -2
  26. package/lib/module/toast/use-single-outlet-guard.js +1 -1
  27. package/lib/module/toast/use-single-outlet-guard.js.map +1 -1
  28. package/lib/typescript/commonjs/fab/Fab.d.ts +1 -1
  29. package/lib/typescript/commonjs/fab/Fab.d.ts.map +1 -1
  30. package/lib/typescript/commonjs/fab/Fab.web.d.ts +1 -1
  31. package/lib/typescript/commonjs/fab/Fab.web.d.ts.map +1 -1
  32. package/lib/typescript/commonjs/fab/index.d.ts +1 -1
  33. package/lib/typescript/commonjs/fab/index.d.ts.map +1 -1
  34. package/lib/typescript/commonjs/fab/types.d.ts +7 -0
  35. package/lib/typescript/commonjs/fab/types.d.ts.map +1 -1
  36. package/lib/typescript/commonjs/fab/use-fab-minimized.d.ts +2 -0
  37. package/lib/typescript/commonjs/fab/use-fab-minimized.d.ts.map +1 -0
  38. package/lib/typescript/commonjs/link-preview/LinkPreviewCard.d.ts +2 -2
  39. package/lib/typescript/commonjs/link-preview/types.d.ts +2 -2
  40. package/lib/typescript/module/fab/Fab.d.ts +1 -1
  41. package/lib/typescript/module/fab/Fab.d.ts.map +1 -1
  42. package/lib/typescript/module/fab/Fab.web.d.ts +1 -1
  43. package/lib/typescript/module/fab/Fab.web.d.ts.map +1 -1
  44. package/lib/typescript/module/fab/index.d.ts +1 -1
  45. package/lib/typescript/module/fab/index.d.ts.map +1 -1
  46. package/lib/typescript/module/fab/types.d.ts +7 -0
  47. package/lib/typescript/module/fab/types.d.ts.map +1 -1
  48. package/lib/typescript/module/fab/use-fab-minimized.d.ts +2 -0
  49. package/lib/typescript/module/fab/use-fab-minimized.d.ts.map +1 -0
  50. package/lib/typescript/module/link-preview/LinkPreviewCard.d.ts +2 -2
  51. package/lib/typescript/module/link-preview/types.d.ts +2 -2
  52. package/package.json +1 -1
  53. package/src/fab/Fab.tsx +11 -5
  54. package/src/fab/Fab.web.tsx +13 -6
  55. package/src/fab/index.ts +1 -1
  56. package/src/fab/types.ts +9 -0
  57. package/src/fab/use-fab-minimized.ts +19 -0
  58. package/src/fonts/font-urls.web.ts +1 -1
  59. package/src/link-preview/LinkPreviewCard.tsx +2 -2
  60. package/src/link-preview/types.ts +2 -2
  61. package/src/toast/use-single-outlet-guard.ts +1 -1
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * One component renders the OpenGraph-style "cover image + site name + title +
5
5
  * description" card across every Oxy app. It consumes the link-preview DATA
6
- * produced by the Oxy SDK (`@oxyhq/core` `getLinkPreview` / `getLinkPreviews`,
6
+ * produced by the Oxy SDK (`@oxy.so/core` `getLinkPreview` / `getLinkPreviews`,
7
7
  * DTO `LinkPreview`) but takes a structural prop shape so Bloom never depends on
8
- * `@oxyhq/contracts`.
8
+ * `@oxy.so/contracts`.
9
9
  *
10
10
  * The surface chrome is `Card`'s (`outlined` at the `radius-20` rung): one
11
11
  * platform branch for background, border and elevation, shared with every other
@@ -3,8 +3,8 @@ import type { StyleProp, ViewStyle } from 'react-native';
3
3
  /**
4
4
  * Props for {@link LinkPreviewCard}.
5
5
  *
6
- * Structural by design — Bloom does NOT depend on `@oxyhq/contracts`. The shape
7
- * mirrors the subset of the Oxy SDK's `LinkPreview` DTO (`@oxyhq/core`
6
+ * Structural by design — Bloom does NOT depend on `@oxy.so/contracts`. The shape
7
+ * mirrors the subset of the Oxy SDK's `LinkPreview` DTO (`@oxy.so/core`
8
8
  * `getLinkPreview` / `getLinkPreviews`) that is needed to render a preview, so a
9
9
  * consumer can spread an SDK `LinkPreview` straight onto this component.
10
10
  */
@@ -49,7 +49,7 @@ export function useSingleOutletGuard(): void {
49
49
  `[Bloom] Toaster: ${mountedOutlets} toast outlets are mounted, so every ` +
50
50
  'toast renders once per outlet. The copies overlap almost exactly, so ' +
51
51
  'this reads as a rendering glitch rather than as duplicate rows. Mount ' +
52
- "exactly one: @oxyhq/services' OxyProvider already renders a " +
52
+ "exactly one: @oxy.so/services' OxyProvider already renders a " +
53
53
  'ToastOutlet, so an app that uses it must not render its own.',
54
54
  );
55
55
  }