@feedlog-ai/react 0.0.4 → 0.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedlog-ai/react",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "React bindings for Feedlog Toolkit Web Components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "react-dom": ">=17.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "@feedlog-ai/webcomponents": "*"
31
+ "@feedlog-ai/webcomponents": "workspace:*"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@jest/test-sequencer": "^29.7.0",
package/dist/index.d.ts DELETED
@@ -1,39 +0,0 @@
1
- /**
2
- * React bindings for Feedlog Toolkit Web Components
3
- *
4
- * This package provides React components that wrap the Stencil web components.
5
- * Components are manually created to avoid Stencil generation issues.
6
- */
7
- import React from 'react';
8
- import { FeedlogIssue } from '@feedlog-ai/core';
9
- export declare const FeedlogBadge: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
10
- variant?: string;
11
- } & React.RefAttributes<HTMLElement>>;
12
- export declare const FeedlogButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
13
- size?: string;
14
- variant?: string;
15
- disabled?: boolean;
16
- type?: string;
17
- onFeedlogClick?: (event: CustomEvent<MouseEvent>) => void;
18
- } & React.RefAttributes<HTMLElement>>;
19
- export declare const FeedlogCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
20
- export declare const FeedlogGithubIssues: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
21
- issues?: FeedlogIssue[];
22
- theme?: string;
23
- loading?: boolean;
24
- onFeedlogUpvote?: (event: CustomEvent<{
25
- issueId: string;
26
- currentUpvoted: boolean;
27
- currentCount: number;
28
- }>) => void;
29
- } & React.RefAttributes<HTMLElement>>;
30
- export declare const FeedlogGithubIssuesClient: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
31
- export declare const FeedlogIssuesList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
32
- issues?: FeedlogIssue[];
33
- onFeedlogUpvote?: (event: CustomEvent<{
34
- issueId: string;
35
- currentUpvoted: boolean;
36
- currentCount: number;
37
- }>) => void;
38
- } & React.RefAttributes<HTMLElement>>;
39
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIhD,eAAO,MAAM,YAAY;cAEyB,MAAM;qCAGvD,CAAC;AAGF,eAAO,MAAM,aAAa;WAGf,MAAM;cACH,MAAM;eACL,OAAO;WACX,MAAM;qBACI,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,KAAK,IAAI;qCAI5D,CAAC;AAGF,eAAO,MAAM,WAAW,uGAEvB,CAAC;AAGF,eAAO,MAAM,mBAAmB;aAGnB,YAAY,EAAE;YACf,MAAM;cACJ,OAAO;sBACC,CAChB,KAAK,EAAE,WAAW,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,EAAE,OAAO,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC,KACC,IAAI;qCAIZ,CAAC;AAGF,eAAO,MAAM,yBAAyB,uGAKrC,CAAC;AAGF,eAAO,MAAM,iBAAiB;aAGjB,YAAY,EAAE;sBACL,CAChB,KAAK,EAAE,WAAW,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,cAAc,EAAE,OAAO,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC,KACC,IAAI;qCAIZ,CAAC"}
package/dist/index.js DELETED
@@ -1,26 +0,0 @@
1
- /**
2
- * React bindings for Feedlog Toolkit Web Components
3
- *
4
- * This package provides React components that wrap the Stencil web components.
5
- * Components are manually created to avoid Stencil generation issues.
6
- */
7
- import React from 'react';
8
- import { defineCustomElements } from '@feedlog-ai/webcomponents/loader';
9
- // Simple React wrappers for web components
10
- export const FeedlogBadge = React.forwardRef(({ children, ...props }, ref) => React.createElement('feedlog-badge', { ...props, ref }, children));
11
- FeedlogBadge.displayName = 'FeedlogBadge';
12
- export const FeedlogButton = React.forwardRef(({ children, ...props }, ref) => React.createElement('feedlog-button', { ...props, ref }, children));
13
- FeedlogButton.displayName = 'FeedlogButton';
14
- export const FeedlogCard = React.forwardRef(({ children, ...props }, ref) => React.createElement('feedlog-card', { ...props, ref }, children));
15
- FeedlogCard.displayName = 'FeedlogCard';
16
- export const FeedlogGithubIssues = React.forwardRef(({ children, ...props }, ref) => React.createElement('feedlog-github-issues', { ...props, ref }, children));
17
- FeedlogGithubIssues.displayName = 'FeedlogGithubIssues';
18
- export const FeedlogGithubIssuesClient = React.forwardRef(({ children, ...props }, ref) => React.createElement('feedlog-github-issues-client', { ...props, ref }, children));
19
- FeedlogGithubIssuesClient.displayName = 'FeedlogGithubIssuesClient';
20
- export const FeedlogIssuesList = React.forwardRef(({ children, ...props }, ref) => React.createElement('feedlog-issues-list', { ...props, ref }, children));
21
- FeedlogIssuesList.displayName = 'FeedlogIssuesList';
22
- // Auto-define custom elements when this module is imported
23
- if (typeof window !== 'undefined') {
24
- defineCustomElements();
25
- }
26
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,2CAA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