@feedlog-ai/react 0.0.50 → 0.0.51
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/README.md +15 -7
- package/package.json +3 -3
- package/dist/components/stencil-generated/components.d.ts +0 -59
- package/dist/components/stencil-generated/components.d.ts.map +0 -1
- package/dist/components/stencil-generated/components.js +0 -73
- package/dist/components/stencil-generated/components.js.map +0 -1
- package/dist/ssr-safe-components.d.ts +0 -21
- package/dist/ssr-safe-components.d.ts.map +0 -1
- package/dist/ssr-safe-components.js +0 -31
- package/dist/ssr-safe-components.js.map +0 -1
package/README.md
CHANGED
|
@@ -26,11 +26,18 @@ The main component for displaying GitHub issues with built-in SDK integration.
|
|
|
26
26
|
**Props:**
|
|
27
27
|
|
|
28
28
|
- `apiKey`: API key for Feedlog authentication (required)
|
|
29
|
-
- `type?`: Filter by issue type
|
|
30
|
-
- `limit?`: Maximum issues
|
|
29
|
+
- `type?`: Filter by issue type — `'bug'` or `'enhancement'`
|
|
30
|
+
- `limit?`: Maximum issues per page (1–100)
|
|
31
|
+
- `sortBy?`: `'createdAt'` or `'updatedAt'`
|
|
31
32
|
- `endpoint?`: Custom API endpoint
|
|
32
33
|
- `maxWidth?`: Container max width (default: `'42rem'`)
|
|
33
|
-
- `
|
|
34
|
+
- `paginationType?`: `'load-more'` or `'prev-next'` (default: `'load-more'`)
|
|
35
|
+
- `loadMoreLabel?`: Load-more button label (default: `'Load More'`)
|
|
36
|
+
- `minSkeletonTime?`: Minimum ms for skeleton display (default: `250`)
|
|
37
|
+
- `theme?`: `'light'` or `'dark'` (default: `'light'`)
|
|
38
|
+
- `heading?` / `subtitle?`: Section heading and subtitle
|
|
39
|
+
- `emptyStateTitle?` / `emptyStateMessage?`: Empty-state copy
|
|
40
|
+
- `getIssueUrl?`: `(issue: FeedlogIssue) => string | null | undefined` when `githubIssueLink` is missing
|
|
34
41
|
|
|
35
42
|
**Events:**
|
|
36
43
|
|
|
@@ -228,15 +235,16 @@ import {
|
|
|
228
235
|
FeedlogBadge,
|
|
229
236
|
FeedlogButton,
|
|
230
237
|
FeedlogCard,
|
|
238
|
+
FeedlogIssueComponent,
|
|
231
239
|
FeedlogIssues,
|
|
232
|
-
FeedlogIssuesList
|
|
240
|
+
FeedlogIssuesList,
|
|
233
241
|
} from '@feedlog-ai/react';
|
|
234
242
|
|
|
235
|
-
// Badge component
|
|
243
|
+
// Badge component (variants: default | destructive | enhancement | secondary)
|
|
236
244
|
<FeedlogBadge variant="enhancement">New</FeedlogBadge>
|
|
237
245
|
|
|
238
|
-
// Button component
|
|
239
|
-
<FeedlogButton variant="
|
|
246
|
+
// Button component (variants: default | outline | ghost | destructive)
|
|
247
|
+
<FeedlogButton variant="default" size="lg" onFeedlogClick={handleClick}>
|
|
240
248
|
Click me
|
|
241
249
|
</FeedlogButton>
|
|
242
250
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedlog-ai/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"description": "React bindings for Feedlog Toolkit Web Components",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"scripts": {
|
|
42
|
-
"build": "tsc",
|
|
42
|
+
"build": "npm run clean && tsc",
|
|
43
43
|
"dev": "tsc --watch",
|
|
44
44
|
"clean": "rm -rf dist",
|
|
45
45
|
"test": "jest",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@feedlog-ai/webcomponents": "^0.0.
|
|
60
|
+
"@feedlog-ai/webcomponents": "^0.0.51"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@jest/test-sequencer": "^29.7.0",
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
-
*/
|
|
5
|
-
import { type FeedlogButtonCustomEvent, type FeedlogIssueCustomEvent, type FeedlogIssuesClientCustomEvent, type FeedlogIssuesCustomEvent, type FeedlogIssuesListCustomEvent } from "@feedlog-ai/webcomponents";
|
|
6
|
-
import { FeedlogBadge as FeedlogBadgeElement } from "@feedlog-ai/webcomponents/dist/components/feedlog-badge.js";
|
|
7
|
-
import { FeedlogButton as FeedlogButtonElement } from "@feedlog-ai/webcomponents/dist/components/feedlog-button.js";
|
|
8
|
-
import { FeedlogCard as FeedlogCardElement } from "@feedlog-ai/webcomponents/dist/components/feedlog-card.js";
|
|
9
|
-
import { FeedlogIssue as FeedlogIssueElement } from "@feedlog-ai/webcomponents/dist/components/feedlog-issue.js";
|
|
10
|
-
import { FeedlogIssuesClient as FeedlogIssuesClientElement } from "@feedlog-ai/webcomponents/dist/components/feedlog-issues-client.js";
|
|
11
|
-
import { FeedlogIssuesList as FeedlogIssuesListElement } from "@feedlog-ai/webcomponents/dist/components/feedlog-issues-list.js";
|
|
12
|
-
import { FeedlogIssues as FeedlogIssuesElement } from "@feedlog-ai/webcomponents/dist/components/feedlog-issues.js";
|
|
13
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
14
|
-
export type FeedlogBadgeEvents = NonNullable<unknown>;
|
|
15
|
-
export declare const FeedlogBadge: StencilReactComponent<FeedlogBadgeElement, FeedlogBadgeEvents>;
|
|
16
|
-
export type FeedlogButtonEvents = {
|
|
17
|
-
onFeedlogClick: EventName<FeedlogButtonCustomEvent<MouseEvent>>;
|
|
18
|
-
};
|
|
19
|
-
export declare const FeedlogButton: StencilReactComponent<FeedlogButtonElement, FeedlogButtonEvents>;
|
|
20
|
-
export type FeedlogCardEvents = NonNullable<unknown>;
|
|
21
|
-
export declare const FeedlogCard: StencilReactComponent<FeedlogCardElement, FeedlogCardEvents>;
|
|
22
|
-
export type FeedlogIssueEvents = {
|
|
23
|
-
onFeedlogUpvote: EventName<FeedlogIssueCustomEvent<{
|
|
24
|
-
issueId: string;
|
|
25
|
-
currentUpvoted: boolean;
|
|
26
|
-
currentCount: number;
|
|
27
|
-
}>>;
|
|
28
|
-
};
|
|
29
|
-
export declare const FeedlogIssue: StencilReactComponent<FeedlogIssueElement, FeedlogIssueEvents>;
|
|
30
|
-
export type FeedlogIssuesEvents = {
|
|
31
|
-
onFeedlogUpvote: EventName<FeedlogIssuesCustomEvent<{
|
|
32
|
-
issueId: string;
|
|
33
|
-
currentUpvoted: boolean;
|
|
34
|
-
currentCount: number;
|
|
35
|
-
}>>;
|
|
36
|
-
onFeedlogLoadMore: EventName<FeedlogIssuesCustomEvent<void>>;
|
|
37
|
-
};
|
|
38
|
-
export declare const FeedlogIssues: StencilReactComponent<FeedlogIssuesElement, FeedlogIssuesEvents>;
|
|
39
|
-
export type FeedlogIssuesClientEvents = {
|
|
40
|
-
onFeedlogUpvote: EventName<FeedlogIssuesClientCustomEvent<{
|
|
41
|
-
issueId: string;
|
|
42
|
-
upvoted: boolean;
|
|
43
|
-
upvoteCount: number;
|
|
44
|
-
}>>;
|
|
45
|
-
onFeedlogError: EventName<FeedlogIssuesClientCustomEvent<{
|
|
46
|
-
error: string;
|
|
47
|
-
code?: number;
|
|
48
|
-
}>>;
|
|
49
|
-
};
|
|
50
|
-
export declare const FeedlogIssuesClient: StencilReactComponent<FeedlogIssuesClientElement, FeedlogIssuesClientEvents>;
|
|
51
|
-
export type FeedlogIssuesListEvents = {
|
|
52
|
-
onFeedlogUpvote: EventName<FeedlogIssuesListCustomEvent<{
|
|
53
|
-
issueId: string;
|
|
54
|
-
currentUpvoted: boolean;
|
|
55
|
-
currentCount: number;
|
|
56
|
-
}>>;
|
|
57
|
-
};
|
|
58
|
-
export declare const FeedlogIssuesList: StencilReactComponent<FeedlogIssuesListElement, FeedlogIssuesListEvents>;
|
|
59
|
-
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAIH,OAAO,EAAE,KAAK,wBAAwB,EAAE,KAAK,uBAAuB,EAAE,KAAK,8BAA8B,EAAE,KAAK,wBAAwB,EAAE,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAC/M,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAA6C,MAAM,4DAA4D,CAAC;AAC5J,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAA8C,MAAM,6DAA6D,CAAC;AAChK,OAAO,EAAE,WAAW,IAAI,kBAAkB,EAA4C,MAAM,2DAA2D,CAAC;AACxJ,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAA6C,MAAM,4DAA4D,CAAC;AAC5J,OAAO,EAAE,mBAAmB,IAAI,0BAA0B,EAAoD,MAAM,oEAAoE,CAAC;AACzL,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAkD,MAAM,kEAAkE,CAAC;AACjL,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAA8C,MAAM,6DAA6D,CAAC;AAChK,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAI7F,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,EAAE,qBAAqB,CAAC,mBAAmB,EAAE,kBAAkB,CAOtF,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG;IAAE,cAAc,EAAE,SAAS,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAA;CAAE,CAAC;AAEtG,eAAO,MAAM,aAAa,EAAE,qBAAqB,CAAC,oBAAoB,EAAE,mBAAmB,CAOzF,CAAC;AAEH,MAAM,MAAM,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Ae,EAAE,SAAS,CAAC,4BAA4B,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,OAAO,CAAC;QAAC,YAAY,EAAE,MAAM,CAAC;KAAE,CAAC,CAAC,CAAA;CAAE,CAAC;AAExK,eAAO,MAAM,iBAAiB,EAAE,qBAAqB,CAAC,wBAAwB,EAAE,uBAAuB,CAOrG,CAAC"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { FeedlogBadge as FeedlogBadgeElement, defineCustomElement as defineFeedlogBadge } from "@feedlog-ai/webcomponents/dist/components/feedlog-badge.js";
|
|
3
|
-
import { FeedlogButton as FeedlogButtonElement, defineCustomElement as defineFeedlogButton } from "@feedlog-ai/webcomponents/dist/components/feedlog-button.js";
|
|
4
|
-
import { FeedlogCard as FeedlogCardElement, defineCustomElement as defineFeedlogCard } from "@feedlog-ai/webcomponents/dist/components/feedlog-card.js";
|
|
5
|
-
import { FeedlogIssue as FeedlogIssueElement, defineCustomElement as defineFeedlogIssue } from "@feedlog-ai/webcomponents/dist/components/feedlog-issue.js";
|
|
6
|
-
import { FeedlogIssuesClient as FeedlogIssuesClientElement, defineCustomElement as defineFeedlogIssuesClient } from "@feedlog-ai/webcomponents/dist/components/feedlog-issues-client.js";
|
|
7
|
-
import { FeedlogIssuesList as FeedlogIssuesListElement, defineCustomElement as defineFeedlogIssuesList } from "@feedlog-ai/webcomponents/dist/components/feedlog-issues-list.js";
|
|
8
|
-
import { FeedlogIssues as FeedlogIssuesElement, defineCustomElement as defineFeedlogIssues } from "@feedlog-ai/webcomponents/dist/components/feedlog-issues.js";
|
|
9
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
export const FeedlogBadge = /*@__PURE__*/ createComponent({
|
|
12
|
-
tagName: 'feedlog-badge',
|
|
13
|
-
elementClass: FeedlogBadgeElement,
|
|
14
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
15
|
-
react: React,
|
|
16
|
-
events: {},
|
|
17
|
-
defineCustomElement: defineFeedlogBadge
|
|
18
|
-
});
|
|
19
|
-
export const FeedlogButton = /*@__PURE__*/ createComponent({
|
|
20
|
-
tagName: 'feedlog-button',
|
|
21
|
-
elementClass: FeedlogButtonElement,
|
|
22
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
23
|
-
react: React,
|
|
24
|
-
events: { onFeedlogClick: 'feedlogClick' },
|
|
25
|
-
defineCustomElement: defineFeedlogButton
|
|
26
|
-
});
|
|
27
|
-
export const FeedlogCard = /*@__PURE__*/ createComponent({
|
|
28
|
-
tagName: 'feedlog-card',
|
|
29
|
-
elementClass: FeedlogCardElement,
|
|
30
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
31
|
-
react: React,
|
|
32
|
-
events: {},
|
|
33
|
-
defineCustomElement: defineFeedlogCard
|
|
34
|
-
});
|
|
35
|
-
export const FeedlogIssue = /*@__PURE__*/ createComponent({
|
|
36
|
-
tagName: 'feedlog-issue',
|
|
37
|
-
elementClass: FeedlogIssueElement,
|
|
38
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
39
|
-
react: React,
|
|
40
|
-
events: { onFeedlogUpvote: 'feedlogUpvote' },
|
|
41
|
-
defineCustomElement: defineFeedlogIssue
|
|
42
|
-
});
|
|
43
|
-
export const FeedlogIssues = /*@__PURE__*/ createComponent({
|
|
44
|
-
tagName: 'feedlog-issues',
|
|
45
|
-
elementClass: FeedlogIssuesElement,
|
|
46
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
47
|
-
react: React,
|
|
48
|
-
events: {
|
|
49
|
-
onFeedlogUpvote: 'feedlogUpvote',
|
|
50
|
-
onFeedlogLoadMore: 'feedlogLoadMore'
|
|
51
|
-
},
|
|
52
|
-
defineCustomElement: defineFeedlogIssues
|
|
53
|
-
});
|
|
54
|
-
export const FeedlogIssuesClient = /*@__PURE__*/ createComponent({
|
|
55
|
-
tagName: 'feedlog-issues-client',
|
|
56
|
-
elementClass: FeedlogIssuesClientElement,
|
|
57
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
58
|
-
react: React,
|
|
59
|
-
events: {
|
|
60
|
-
onFeedlogUpvote: 'feedlogUpvote',
|
|
61
|
-
onFeedlogError: 'feedlogError'
|
|
62
|
-
},
|
|
63
|
-
defineCustomElement: defineFeedlogIssuesClient
|
|
64
|
-
});
|
|
65
|
-
export const FeedlogIssuesList = /*@__PURE__*/ createComponent({
|
|
66
|
-
tagName: 'feedlog-issues-list',
|
|
67
|
-
elementClass: FeedlogIssuesListElement,
|
|
68
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
69
|
-
react: React,
|
|
70
|
-
events: { onFeedlogUpvote: 'feedlogUpvote' },
|
|
71
|
-
defineCustomElement: defineFeedlogIssuesList
|
|
72
|
-
});
|
|
73
|
-
//# sourceMappingURL=components.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAUb,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAAE,mBAAmB,IAAI,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAC5J,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,mBAAmB,IAAI,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAChK,OAAO,EAAE,WAAW,IAAI,kBAAkB,EAAE,mBAAmB,IAAI,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AACxJ,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAAE,mBAAmB,IAAI,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAC5J,OAAO,EAAE,mBAAmB,IAAI,0BAA0B,EAAE,mBAAmB,IAAI,yBAAyB,EAA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,kBAAkB;CAC1C,CAAC,CAAC;AAOH,MAAM,CAAC,MAAM,aAAa,GAAqE,aAAa,CAAC,eAAe,CAA4C;IACpK,OAAO,EAAE,gBAAgB;IACzB,YAAY,EAAE,oBAAoB;IAClC,0GAA0G;IAC1G,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACJ,eAAe,EAAE,eAAe;QAChC,iBAAiB,EAAE,iBAAiB;KAChB;IACxB,mBAAmB,EAAE,mBAAmB;CAC3C,CAAC,CAAC;AAOH,MAAM,CAAC,MAAM,mBAAmB,GAAiF,aAAa,CAAC,eAAe,CAAwD;IAClM,OAAO,EAAE,uBAAuB;IAChC,YAAY,EAAE,0BAA0B;IACxC,0GAA0G;IAC1G,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACJ,eAAe,EAAE,eAAe;QAChC,cAAc,EAAE,cAAc;KACJ;IAC9B,mBAAmB,EAAE,yBAAyB;CACjD,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,iBAAiB,GAA6E,aAAa,CAAC,eAAe,CAAoD;IACxL,OAAO,EAAE,qBAAqB;IAC9B,YAAY,EAAE,wBAAwB;IACtC,0GAA0G;IAC1G,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAE,eAAe,EAAE,eAAe,EAA6B;IACvE,mBAAmB,EAAE,uBAAuB;CAC/C,CAAC,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSR-only subset of Stencil-generated wrappers: Badge, Button, Card.
|
|
3
|
-
* Kept separate from `components/stencil-generated/components.ts` so importing
|
|
4
|
-
* `@feedlog-ai/react/ssr-components` does not evaluate browser-heavy modules
|
|
5
|
-
* (e.g. feedlog-issues-client). When `components.ts` is regenerated, align the
|
|
6
|
-
* three exports below with the corresponding blocks there.
|
|
7
|
-
*/
|
|
8
|
-
import { type FeedlogButtonCustomEvent } from '@feedlog-ai/webcomponents';
|
|
9
|
-
import { FeedlogBadge as FeedlogBadgeElement } from '@feedlog-ai/webcomponents/dist/components/feedlog-badge.js';
|
|
10
|
-
import { FeedlogButton as FeedlogButtonElement } from '@feedlog-ai/webcomponents/dist/components/feedlog-button.js';
|
|
11
|
-
import { FeedlogCard as FeedlogCardElement } from '@feedlog-ai/webcomponents/dist/components/feedlog-card.js';
|
|
12
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
13
|
-
export type FeedlogBadgeEvents = NonNullable<unknown>;
|
|
14
|
-
export declare const FeedlogBadge: StencilReactComponent<FeedlogBadgeElement, FeedlogBadgeEvents>;
|
|
15
|
-
export type FeedlogButtonEvents = {
|
|
16
|
-
onFeedlogClick: EventName<FeedlogButtonCustomEvent<MouseEvent>>;
|
|
17
|
-
};
|
|
18
|
-
export declare const FeedlogButton: StencilReactComponent<FeedlogButtonElement, FeedlogButtonEvents>;
|
|
19
|
-
export type FeedlogCardEvents = NonNullable<unknown>;
|
|
20
|
-
export declare const FeedlogCard: StencilReactComponent<FeedlogCardElement, FeedlogCardEvents>;
|
|
21
|
-
//# sourceMappingURL=ssr-safe-components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ssr-safe-components.d.ts","sourceRoot":"","sources":["../src/ssr-safe-components.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAIH,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAA6C,MAAM,4DAA4D,CAAC;AAC5J,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAA8C,MAAM,6DAA6D,CAAC;AAChK,OAAO,EAAE,WAAW,IAAI,kBAAkB,EAA4C,MAAM,2DAA2D,CAAC;AACxJ,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAI7F,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,EAAE,qBAAqB,CAAC,mBAAmB,EAAE,kBAAkB,CAUtF,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG;IAAE,cAAc,EAAE,SAAS,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAA;CAAE,CAAC;AAEtG,eAAO,MAAM,aAAa,EAAE,qBAAqB,CAAC,oBAAoB,EAAE,mBAAmB,CAUzF,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAErD,eAAO,MAAM,WAAW,EAAE,qBAAqB,CAAC,kBAAkB,EAAE,iBAAiB,CAUnF,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { FeedlogBadge as FeedlogBadgeElement, defineCustomElement as defineFeedlogBadge } from '@feedlog-ai/webcomponents/dist/components/feedlog-badge.js';
|
|
3
|
-
import { FeedlogButton as FeedlogButtonElement, defineCustomElement as defineFeedlogButton } from '@feedlog-ai/webcomponents/dist/components/feedlog-button.js';
|
|
4
|
-
import { FeedlogCard as FeedlogCardElement, defineCustomElement as defineFeedlogCard } from '@feedlog-ai/webcomponents/dist/components/feedlog-card.js';
|
|
5
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
export const FeedlogBadge = /*@__PURE__*/ createComponent({
|
|
8
|
-
tagName: 'feedlog-badge',
|
|
9
|
-
elementClass: FeedlogBadgeElement,
|
|
10
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
11
|
-
react: React,
|
|
12
|
-
events: {},
|
|
13
|
-
defineCustomElement: defineFeedlogBadge,
|
|
14
|
-
});
|
|
15
|
-
export const FeedlogButton = /*@__PURE__*/ createComponent({
|
|
16
|
-
tagName: 'feedlog-button',
|
|
17
|
-
elementClass: FeedlogButtonElement,
|
|
18
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
19
|
-
react: React,
|
|
20
|
-
events: { onFeedlogClick: 'feedlogClick' },
|
|
21
|
-
defineCustomElement: defineFeedlogButton,
|
|
22
|
-
});
|
|
23
|
-
export const FeedlogCard = /*@__PURE__*/ createComponent({
|
|
24
|
-
tagName: 'feedlog-card',
|
|
25
|
-
elementClass: FeedlogCardElement,
|
|
26
|
-
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
27
|
-
react: React,
|
|
28
|
-
events: {},
|
|
29
|
-
defineCustomElement: defineFeedlogCard,
|
|
30
|
-
});
|
|
31
|
-
//# sourceMappingURL=ssr-safe-components.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ssr-safe-components.js","sourceRoot":"","sources":["../src/ssr-safe-components.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAab,OAAO,EAAE,YAAY,IAAI,mBAAmB,EAAE,mBAAmB,IAAI,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAC5J,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,mBAAmB,IAAI,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAChK,OAAO,EAAE,WAAW,IAAI,kBAAkB,EAAE,mBAAmB,IAAI,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAExJ,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,MAAM,YAAY,GAAmE,aAAa,CAAC,eAAe,CAGvH;IACA,OAAO,EAAE,eAAe;IACxB,YAAY,EAAE,mBAAmB;IACjC,0GAA0G;IAC1G,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAwB;IAChC,mBAAmB,EAAE,kBAAkB;CACxC,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,aAAa,GAAqE,aAAa,CAAC,eAAe,CAG1H;IACA,OAAO,EAAE,gBAAgB;IACzB,YAAY,EAAE,oBAAoB;IAClC,0GAA0G;IAC1G,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAE,cAAc,EAAE,cAAc,EAAyB;IACjE,mBAAmB,EAAE,mBAAmB;CACzC,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,WAAW,GAAiE,aAAa,CAAC,eAAe,CAGpH;IACA,OAAO,EAAE,cAAc;IACvB,YAAY,EAAE,kBAAkB;IAChC,0GAA0G;IAC1G,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAuB;IAC/B,mBAAmB,EAAE,iBAAiB;CACvC,CAAC,CAAC"}
|