@fayz-ai/plugin-linkinbio 0.10.0 → 0.10.1

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 (58) hide show
  1. package/dist/public/{data.d.ts → data/index.d.ts} +2 -2
  2. package/dist/public/data/index.d.ts.map +1 -0
  3. package/dist/public/{data.supabase.d.ts → data/supabase.d.ts} +2 -2
  4. package/dist/public/data/supabase.d.ts.map +1 -0
  5. package/dist/public/index.d.ts +8 -8
  6. package/dist/public/index.d.ts.map +1 -1
  7. package/dist/public/index.js +2 -2
  8. package/dist/public/index.js.map +1 -1
  9. package/dist/public/{registry.d.ts → lib/registry.d.ts} +1 -1
  10. package/dist/public/lib/registry.d.ts.map +1 -0
  11. package/dist/public/{utils.d.ts → lib/utils.d.ts} +1 -1
  12. package/dist/public/lib/utils.d.ts.map +1 -0
  13. package/dist/public/views/BioPage.d.ts.map +1 -0
  14. package/dist/public/{BioPageRenderer.d.ts → views/BioPageRenderer.d.ts} +1 -1
  15. package/dist/public/views/BioPageRenderer.d.ts.map +1 -0
  16. package/package.json +9 -12
  17. package/dist/public/BioPage.d.ts.map +0 -1
  18. package/dist/public/BioPageRenderer.d.ts.map +0 -1
  19. package/dist/public/__tests__/manifest.test.d.ts +0 -2
  20. package/dist/public/__tests__/manifest.test.d.ts.map +0 -1
  21. package/dist/public/data.d.ts.map +0 -1
  22. package/dist/public/data.supabase.d.ts.map +0 -1
  23. package/dist/public/registry.d.ts.map +0 -1
  24. package/dist/public/utils.d.ts.map +0 -1
  25. package/src/index.ts +0 -56
  26. package/src/public/BioPage.tsx +0 -123
  27. package/src/public/BioPageRenderer.tsx +0 -251
  28. package/src/public/__tests__/manifest.test.ts +0 -39
  29. package/src/public/blocks/BioSection.tsx +0 -66
  30. package/src/public/blocks/CTASection.tsx +0 -56
  31. package/src/public/blocks/EmbedSection.tsx +0 -53
  32. package/src/public/blocks/FeaturedBlock.tsx +0 -70
  33. package/src/public/blocks/GallerySection.tsx +0 -148
  34. package/src/public/blocks/HeroSection.tsx +0 -107
  35. package/src/public/blocks/LinksBlock.tsx +0 -80
  36. package/src/public/blocks/MusicReleasesBlock.tsx +0 -83
  37. package/src/public/blocks/ProfileHeader.tsx +0 -174
  38. package/src/public/blocks/ProjectSection.tsx +0 -158
  39. package/src/public/blocks/SocialLinksSection.tsx +0 -125
  40. package/src/public/blocks/StatsSection.tsx +0 -46
  41. package/src/public/blocks/TextSection.tsx +0 -29
  42. package/src/public/blocks/TourDatesBlock.tsx +0 -83
  43. package/src/public/blocks/VenueListSection.tsx +0 -91
  44. package/src/public/blocks/VideoGridSection.tsx +0 -105
  45. package/src/public/blocks/index.ts +0 -16
  46. package/src/public/components/Carousel.tsx +0 -90
  47. package/src/public/components/MediaKit.tsx +0 -249
  48. package/src/public/components/PlatformIcon.tsx +0 -56
  49. package/src/public/components/Reveal.tsx +0 -58
  50. package/src/public/context.tsx +0 -30
  51. package/src/public/createPublicLinkInBioPlugin.ts +0 -81
  52. package/src/public/data.supabase.ts +0 -31
  53. package/src/public/data.ts +0 -29
  54. package/src/public/index.ts +0 -75
  55. package/src/public/registry.ts +0 -40
  56. package/src/public/utils.ts +0 -102
  57. package/src/types.ts +0 -337
  58. /package/dist/public/{BioPage.d.ts → views/BioPage.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import type { BioPage } from '../types';
1
+ import type { BioPage } from '../../types';
2
2
  export interface BioPageDataProvider {
3
3
  /** Resolve a published bio page by its public slug, or null when missing/unpublished. */
4
4
  getBySlug(slug: string): Promise<BioPage | null>;
@@ -8,4 +8,4 @@ export interface MockBioPageOptions {
8
8
  seed?: Record<string, BioPage>;
9
9
  }
10
10
  export declare function createMockBioPageProvider(options?: MockBioPageOptions): BioPageDataProvider;
11
- //# sourceMappingURL=data.d.ts.map
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/public/data/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAW3C,MAAM,WAAW,mBAAmB;IAClC,yFAAyF;IACzF,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,kBAAkB;IACjC,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED,wBAAgB,yBAAyB,CAAC,OAAO,GAAE,kBAAuB,GAAG,mBAAmB,CAO/F"}
@@ -1,4 +1,4 @@
1
- import type { BioPageDataProvider } from './data';
1
+ import type { BioPageDataProvider } from './index';
2
2
  export interface SupabaseBioPageOptions {
3
3
  /**
4
4
  * Table holding bio pages. Defaults to `press_kits` — a jsonb `data` column
@@ -8,4 +8,4 @@ export interface SupabaseBioPageOptions {
8
8
  table?: string;
9
9
  }
10
10
  export declare function createSupabaseBioPageProvider(options?: SupabaseBioPageOptions): BioPageDataProvider;
11
- //# sourceMappingURL=data.supabase.d.ts.map
11
+ //# sourceMappingURL=supabase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supabase.d.ts","sourceRoot":"","sources":["../../../src/public/data/supabase.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,6BAA6B,CAAC,OAAO,GAAE,sBAA2B,GAAG,mBAAmB,CAgBvG"}
@@ -1,17 +1,17 @@
1
1
  export { createPublicLinkInBioPlugin } from './createPublicLinkInBioPlugin';
2
2
  export type { PublicLinkInBioOptions, PublicLinkInBioPlugin } from './createPublicLinkInBioPlugin';
3
- export { default as BioPageRenderer } from './BioPageRenderer';
4
- export type { BioPageRendererProps } from './BioPageRenderer';
5
- export { default as BioPage } from './BioPage';
3
+ export { default as BioPageRenderer } from './views/BioPageRenderer';
4
+ export type { BioPageRendererProps } from './views/BioPageRenderer';
5
+ export { default as BioPage } from './views/BioPage';
6
6
  export { LinkInBioProvider, useLinkInBio } from './context';
7
7
  export type { LinkInBioContextValue } from './context';
8
- export { registerBlock, getBlock, hasBlock } from './registry';
9
- export type { BlockRenderProps, BlockComponent } from './registry';
8
+ export { registerBlock, getBlock, hasBlock } from './lib/registry';
9
+ export type { BlockRenderProps, BlockComponent } from './lib/registry';
10
10
  export { createMockBioPageProvider } from './data';
11
11
  export type { BioPageDataProvider, MockBioPageOptions } from './data';
12
- export { createSupabaseBioPageProvider } from './data.supabase';
13
- export type { SupabaseBioPageOptions } from './data.supabase';
14
- export { renderMarkdown, platformColors, platformLabels, platformIconMap, borderRadiusMap, getBrandingVars, } from './utils';
12
+ export { createSupabaseBioPageProvider } from './data/supabase';
13
+ export type { SupabaseBioPageOptions } from './data/supabase';
14
+ export { renderMarkdown, platformColors, platformLabels, platformIconMap, borderRadiusMap, getBrandingVars, } from './lib/utils';
15
15
  export type { BioPage as BioPageData, BioBlock, BioBranding, BioIdentity, BioSEO, BioSocialLink, BioMediaItem, BioFloatingCTA, HeroSection, BioSection, GallerySection, VideoGridSection, SocialLinksSection, EmbedSection, ProjectSection, StatsSection, VenueListSection, CTASection, TextSection, ProfileHeaderSection, LinksSection, LinkCardItem, MusicReleasesSection, MusicReleaseItem, TourDatesSection, TourDateItem, FeaturedSection, } from '../types';
16
16
  export { Reveal } from './components/Reveal';
17
17
  export { Carousel } from './components/Carousel';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/public/index.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,YAAY,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEnG,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAA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B,EAChB,gBAAgB,EAChB,YAAY,EACZ,eAAe,GAChB,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC"}
@@ -8,7 +8,7 @@ import { SiGoogledrive, SiMixcloud, SiBeatport, SiTelegram, SiX, SiFacebook, SiB
8
8
 
9
9
  // src/public/createPublicLinkInBioPlugin.ts
10
10
 
11
- // src/public/data.ts
11
+ // src/public/data/index.ts
12
12
  function createMockBioPageProvider(options = {}) {
13
13
  const seed = options.seed ?? {};
14
14
  return {
@@ -130,7 +130,7 @@ function getBrandingVars(branding) {
130
130
  };
131
131
  }
132
132
 
133
- // src/public/registry.ts
133
+ // src/public/lib/registry.ts
134
134
  var registry = /* @__PURE__ */ new Map();
135
135
  function registerBlock(type, component) {
136
136
  registry.set(type, component);