@feedlog-ai/vue 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.
Files changed (2) hide show
  1. package/README.md +14 -7
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -32,11 +32,18 @@ The main component for displaying issues with built-in SDK integration.
32
32
  **Props:**
33
33
 
34
34
  - `apiKey`: API key for Feedlog authentication (required)
35
- - `type?`: Filter by issue type - `'bug'` or `'enhancement'`
36
- - `limit?`: Maximum issues to fetch (1-100, default: 10)
35
+ - `type?`: Filter by issue type `'bug'` or `'enhancement'`
36
+ - `limit?`: Maximum issues per page (1100)
37
+ - `sortBy?`: `'createdAt'` or `'updatedAt'`
37
38
  - `endpoint?`: Custom API endpoint
38
39
  - `maxWidth?`: Container max width (default: `'42rem'`)
39
- - `theme?`: Theme variant - `'light'` or `'dark'` (default: `'light'`)
40
+ - `paginationType?`: `'load-more'` or `'prev-next'` (default: `'load-more'`)
41
+ - `loadMoreLabel?`: Load-more button label (default: `'Load More'`)
42
+ - `minSkeletonTime?`: Minimum ms for skeleton display (default: `250`)
43
+ - `theme?`: `'light'` or `'dark'` (default: `'light'`)
44
+ - `heading?` / `subtitle?`: Section heading and subtitle
45
+ - `emptyStateTitle?` / `emptyStateMessage?`: Empty-state copy
46
+ - `getIssueUrl?`: Callback when `githubIssueLink` is missing (see `@feedlog-ai/core` `GetIssueUrlFn`)
40
47
 
41
48
  **Events:**
42
49
 
@@ -207,11 +214,11 @@ The package also includes Vue bindings for additional UI components:
207
214
  ```vue
208
215
  <template>
209
216
  <div>
210
- <!-- Badge component -->
211
- <FeedlogBadge variant="primary">New</FeedlogBadge>
217
+ <!-- Badge component (variants: default | destructive | enhancement | secondary) -->
218
+ <FeedlogBadge variant="enhancement">New</FeedlogBadge>
212
219
 
213
- <!-- Button component -->
214
- <FeedlogButton variant="primary" size="lg" @feedlog-click="handleClick">
220
+ <!-- Button component (variants: default | outline | ghost | destructive) -->
221
+ <FeedlogButton variant="default" size="lg" @feedlog-click="handleClick">
215
222
  Click me
216
223
  </FeedlogButton>
217
224
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedlog-ai/vue",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "description": "Vue bindings for Feedlog Toolkit Web Components",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "sideEffects": false,
21
21
  "scripts": {
22
- "build": "tsc",
22
+ "build": "npm run clean && tsc",
23
23
  "dev": "tsc --watch",
24
24
  "clean": "rm -rf dist",
25
25
  "test": "jest",
@@ -30,7 +30,7 @@
30
30
  "vue": ">=3.0.0 || >=2.6.0"
31
31
  },
32
32
  "dependencies": {
33
- "@feedlog-ai/webcomponents": "^0.0.50"
33
+ "@feedlog-ai/webcomponents": "^0.0.51"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@jest/test-sequencer": "^29.7.0",