@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.
- package/dist/public/{data.d.ts → data/index.d.ts} +2 -2
- package/dist/public/data/index.d.ts.map +1 -0
- package/dist/public/{data.supabase.d.ts → data/supabase.d.ts} +2 -2
- package/dist/public/data/supabase.d.ts.map +1 -0
- package/dist/public/index.d.ts +8 -8
- package/dist/public/index.d.ts.map +1 -1
- package/dist/public/index.js +2 -2
- package/dist/public/index.js.map +1 -1
- package/dist/public/{registry.d.ts → lib/registry.d.ts} +1 -1
- package/dist/public/lib/registry.d.ts.map +1 -0
- package/dist/public/{utils.d.ts → lib/utils.d.ts} +1 -1
- package/dist/public/lib/utils.d.ts.map +1 -0
- package/dist/public/views/BioPage.d.ts.map +1 -0
- package/dist/public/{BioPageRenderer.d.ts → views/BioPageRenderer.d.ts} +1 -1
- package/dist/public/views/BioPageRenderer.d.ts.map +1 -0
- package/package.json +9 -12
- package/dist/public/BioPage.d.ts.map +0 -1
- package/dist/public/BioPageRenderer.d.ts.map +0 -1
- package/dist/public/__tests__/manifest.test.d.ts +0 -2
- package/dist/public/__tests__/manifest.test.d.ts.map +0 -1
- package/dist/public/data.d.ts.map +0 -1
- package/dist/public/data.supabase.d.ts.map +0 -1
- package/dist/public/registry.d.ts.map +0 -1
- package/dist/public/utils.d.ts.map +0 -1
- package/src/index.ts +0 -56
- package/src/public/BioPage.tsx +0 -123
- package/src/public/BioPageRenderer.tsx +0 -251
- package/src/public/__tests__/manifest.test.ts +0 -39
- package/src/public/blocks/BioSection.tsx +0 -66
- package/src/public/blocks/CTASection.tsx +0 -56
- package/src/public/blocks/EmbedSection.tsx +0 -53
- package/src/public/blocks/FeaturedBlock.tsx +0 -70
- package/src/public/blocks/GallerySection.tsx +0 -148
- package/src/public/blocks/HeroSection.tsx +0 -107
- package/src/public/blocks/LinksBlock.tsx +0 -80
- package/src/public/blocks/MusicReleasesBlock.tsx +0 -83
- package/src/public/blocks/ProfileHeader.tsx +0 -174
- package/src/public/blocks/ProjectSection.tsx +0 -158
- package/src/public/blocks/SocialLinksSection.tsx +0 -125
- package/src/public/blocks/StatsSection.tsx +0 -46
- package/src/public/blocks/TextSection.tsx +0 -29
- package/src/public/blocks/TourDatesBlock.tsx +0 -83
- package/src/public/blocks/VenueListSection.tsx +0 -91
- package/src/public/blocks/VideoGridSection.tsx +0 -105
- package/src/public/blocks/index.ts +0 -16
- package/src/public/components/Carousel.tsx +0 -90
- package/src/public/components/MediaKit.tsx +0 -249
- package/src/public/components/PlatformIcon.tsx +0 -56
- package/src/public/components/Reveal.tsx +0 -58
- package/src/public/context.tsx +0 -30
- package/src/public/createPublicLinkInBioPlugin.ts +0 -81
- package/src/public/data.supabase.ts +0 -31
- package/src/public/data.ts +0 -29
- package/src/public/index.ts +0 -75
- package/src/public/registry.ts +0 -40
- package/src/public/utils.ts +0 -102
- package/src/types.ts +0 -337
- /package/dist/public/{BioPage.d.ts → views/BioPage.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BioPage } from '
|
|
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=
|
|
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 './
|
|
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=
|
|
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"}
|
package/dist/public/index.d.ts
CHANGED
|
@@ -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
|
|
13
|
-
export type { SupabaseBioPageOptions } from './data
|
|
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,MAAM,
|
|
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,MAAM,yBAAyB,CAAC;AACrE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC5D,YAAY,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAGvD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACnE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,QAAQ,CAAC;AACnD,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AACtE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AAChE,YAAY,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAG9D,OAAO,EACL,cAAc,EACd,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,eAAe,GAChB,MAAM,aAAa,CAAC;AAGrB,YAAY,EACV,OAAO,IAAI,WAAW,EACtB,QAAQ,EACR,WAAW,EACX,WAAW,EACX,MAAM,EACN,aAAa,EACb,YAAY,EACZ,cAAc,EACd,WAAW,EACX,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,oBAAoB,EACpB,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,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"}
|
package/dist/public/index.js
CHANGED
|
@@ -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);
|