@popgrids/embed 0.0.1 → 0.0.2
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/AGENTS.md +141 -0
- package/LICENSE +21 -0
- package/README.md +60 -1
- package/dist/components/base-element.d.ts +33 -0
- package/dist/components/base-element.d.ts.map +1 -0
- package/dist/components/pop-auth-panel.d.ts +14 -0
- package/dist/components/pop-auth-panel.d.ts.map +1 -0
- package/dist/components/pop-comment-avatar.d.ts +16 -0
- package/dist/components/pop-comment-avatar.d.ts.map +1 -0
- package/dist/components/pop-comment-bar.d.ts +14 -0
- package/dist/components/pop-comment-bar.d.ts.map +1 -0
- package/dist/components/pop-comment-icon.d.ts +33 -0
- package/dist/components/pop-comment-icon.d.ts.map +1 -0
- package/dist/components/pop-comment-input.d.ts +19 -0
- package/dist/components/pop-comment-input.d.ts.map +1 -0
- package/dist/components/pop-comment-thread.d.ts +14 -0
- package/dist/components/pop-comment-thread.d.ts.map +1 -0
- package/dist/components/pop-comment.d.ts +32 -0
- package/dist/components/pop-comment.d.ts.map +1 -0
- package/dist/components/pop-feed.d.ts +17 -0
- package/dist/components/pop-feed.d.ts.map +1 -0
- package/dist/components/pop-grid.d.ts +12 -0
- package/dist/components/pop-grid.d.ts.map +1 -0
- package/dist/components/pop-widget.d.ts +13 -0
- package/dist/components/pop-widget.d.ts.map +1 -0
- package/dist/embed.js +2240 -0
- package/dist/embed.js.map +1 -0
- package/dist/helpers/author.d.ts +2 -0
- package/dist/helpers/author.d.ts.map +1 -0
- package/dist/helpers/color.d.ts +7 -0
- package/dist/helpers/color.d.ts.map +1 -0
- package/dist/helpers/theme.d.ts +3 -0
- package/dist/helpers/theme.d.ts.map +1 -0
- package/dist/helpers/time.d.ts +2 -0
- package/dist/helpers/time.d.ts.map +1 -0
- package/dist/index.cjs +1135 -741
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -989
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1246 -1045
- package/dist/index.js.map +1 -1
- package/dist/lib/popup-auth.d.ts +22 -0
- package/dist/lib/popup-auth.d.ts.map +1 -0
- package/dist/store/auth-store.d.ts +8 -0
- package/dist/store/auth-store.d.ts.map +1 -0
- package/dist/store/grid-store.d.ts +45 -0
- package/dist/store/grid-store.d.ts.map +1 -0
- package/dist/store/registry.d.ts +5 -0
- package/dist/store/registry.d.ts.map +1 -0
- package/dist/types/models.d.ts +47 -0
- package/dist/types/models.d.ts.map +1 -0
- package/package.json +55 -45
- package/dist/apple-IX52EWYN.png +0 -0
- package/dist/google-Q3MFTU5A.png +0 -0
- package/dist/index.d.cts +0 -989
- package/dist/swirling-ovals-ZDTHSA3L.gif +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"author.d.ts","sourceRoot":"","sources":["../../src/helpers/author.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAQnE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const colors: string[];
|
|
2
|
+
export declare const sampleColor: (index?: number) => string | undefined;
|
|
3
|
+
/** 32-bit FNV-1a over UTF-8 bytes — deterministic, no lookup table. */
|
|
4
|
+
export declare function fnv1a32(data: string): number;
|
|
5
|
+
/** Deterministic background color from a stable string (e.g. user id, org id, slug). */
|
|
6
|
+
export declare function backgroundColor(id: string): string;
|
|
7
|
+
//# sourceMappingURL=color.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/helpers/color.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,UAoClB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,uBAKzC,CAAC;AAEF,uEAAuE;AACvE,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAS5C;AAED,wFAAwF;AACxF,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAElD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/helpers/theme.ts"],"names":[],"mappings":"AAuCA,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,WAAW,QAyBpD;AAED,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,WAAW,QAYtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../src/helpers/time.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAU5D"}
|