@designfever/web-review-kit 0.7.3 → 0.8.0

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.
@@ -1,4 +1,4 @@
1
- import { f as ReviewItemScope, s as ReviewSource, o as ReviewMode, W as WebReviewKitAdapter, x as ReviewFieldsConfig, a as ReviewItemStatus, k as ReviewAssigneeOption, e as ReviewItem, q as ReviewRulerConfig } from './types-DT9Z66mV.cjs';
1
+ import { f as ReviewItemScope, z as ReviewSource, v as ReviewMode, W as WebReviewKitAdapter, F as ReviewFieldsConfig, a as ReviewItemStatus, k as ReviewAssigneeOption, e as ReviewItem, x as ReviewRulerConfig } from './types-BM8E7BFV.cjs';
2
2
  import { R as ReviewFigmaImageStore, a as ReviewFigmaImageFormat } from './image.types-BmzkFSPX.cjs';
3
3
  import * as react from 'react';
4
4
 
@@ -44,7 +44,7 @@ type ReviewShellStatusOption = {
44
44
  label: string;
45
45
  };
46
46
  type ReviewShellAssigneeOption = ReviewAssigneeOption;
47
- type ReviewShellWriteMode = 'dom' | 'note' | 'area';
47
+ type ReviewShellWriteMode = 'dom' | 'area';
48
48
  type ReviewShellUpdateStatusInput = {
49
49
  id: string;
50
50
  item: ReviewItem;
@@ -60,7 +60,7 @@ type ReviewShellUpdateAssigneeInput = {
60
60
  assigneeOption?: ReviewShellAssigneeOption;
61
61
  assigneeIndex: number;
62
62
  };
63
- type ReviewShellSubmissionPatch = Partial<Pick<ReviewItem, 'externalIssueId' | 'externalIssueUrl' | 'submittedAt' | 'submitStatus' | 'submitError'>>;
63
+ type ReviewShellSubmissionPatch = Partial<Pick<ReviewItem, 'attachments' | 'externalLinks' | 'externalIssueId' | 'externalIssueUrl' | 'submittedAt' | 'submitStatus' | 'submitError'>>;
64
64
  type ReviewShellSyncSubmissionInput = {
65
65
  id: string;
66
66
  item: ReviewItem;
@@ -74,6 +74,7 @@ type ReviewShellAdapter = {
74
74
  list: WebReviewKitAdapter['list'];
75
75
  create?: WebReviewKitAdapter['create'];
76
76
  update?: WebReviewKitAdapter['update'];
77
+ uploadAttachment?: WebReviewKitAdapter['uploadAttachment'];
77
78
  fields?: ReviewFieldsConfig;
78
79
  statusOptions?: readonly ReviewShellStatusOption[];
79
80
  assigneeTitle?: string;
@@ -159,7 +160,7 @@ interface ReviewShellMountOptions extends ReviewShellProps {
159
160
  rootId?: string;
160
161
  }
161
162
 
162
- declare const ReviewShell: ({ projectId, pages, adapters, presets, ruler, initialPrompt, adjustmentLabel, reviewPathPrefix, sourceRoot, sourceInspector, presence, figmaImages, }: ReviewShellProps) => react.JSX.Element;
163
+ declare const ReviewShell: (props: ReviewShellProps) => react.JSX.Element;
163
164
 
164
165
  interface FigmaDevOverlayMountOptions {
165
166
  rootId?: string;
@@ -1,4 +1,4 @@
1
- import { f as ReviewItemScope, s as ReviewSource, o as ReviewMode, W as WebReviewKitAdapter, x as ReviewFieldsConfig, a as ReviewItemStatus, k as ReviewAssigneeOption, e as ReviewItem, q as ReviewRulerConfig } from './types-DT9Z66mV.js';
1
+ import { f as ReviewItemScope, z as ReviewSource, v as ReviewMode, W as WebReviewKitAdapter, F as ReviewFieldsConfig, a as ReviewItemStatus, k as ReviewAssigneeOption, e as ReviewItem, x as ReviewRulerConfig } from './types-BM8E7BFV.js';
2
2
  import { R as ReviewFigmaImageStore, a as ReviewFigmaImageFormat } from './image.types-BmzkFSPX.js';
3
3
  import * as react from 'react';
4
4
 
@@ -44,7 +44,7 @@ type ReviewShellStatusOption = {
44
44
  label: string;
45
45
  };
46
46
  type ReviewShellAssigneeOption = ReviewAssigneeOption;
47
- type ReviewShellWriteMode = 'dom' | 'note' | 'area';
47
+ type ReviewShellWriteMode = 'dom' | 'area';
48
48
  type ReviewShellUpdateStatusInput = {
49
49
  id: string;
50
50
  item: ReviewItem;
@@ -60,7 +60,7 @@ type ReviewShellUpdateAssigneeInput = {
60
60
  assigneeOption?: ReviewShellAssigneeOption;
61
61
  assigneeIndex: number;
62
62
  };
63
- type ReviewShellSubmissionPatch = Partial<Pick<ReviewItem, 'externalIssueId' | 'externalIssueUrl' | 'submittedAt' | 'submitStatus' | 'submitError'>>;
63
+ type ReviewShellSubmissionPatch = Partial<Pick<ReviewItem, 'attachments' | 'externalLinks' | 'externalIssueId' | 'externalIssueUrl' | 'submittedAt' | 'submitStatus' | 'submitError'>>;
64
64
  type ReviewShellSyncSubmissionInput = {
65
65
  id: string;
66
66
  item: ReviewItem;
@@ -74,6 +74,7 @@ type ReviewShellAdapter = {
74
74
  list: WebReviewKitAdapter['list'];
75
75
  create?: WebReviewKitAdapter['create'];
76
76
  update?: WebReviewKitAdapter['update'];
77
+ uploadAttachment?: WebReviewKitAdapter['uploadAttachment'];
77
78
  fields?: ReviewFieldsConfig;
78
79
  statusOptions?: readonly ReviewShellStatusOption[];
79
80
  assigneeTitle?: string;
@@ -159,7 +160,7 @@ interface ReviewShellMountOptions extends ReviewShellProps {
159
160
  rootId?: string;
160
161
  }
161
162
 
162
- declare const ReviewShell: ({ projectId, pages, adapters, presets, ruler, initialPrompt, adjustmentLabel, reviewPathPrefix, sourceRoot, sourceInspector, presence, figmaImages, }: ReviewShellProps) => react.JSX.Element;
163
+ declare const ReviewShell: (props: ReviewShellProps) => react.JSX.Element;
163
164
 
164
165
  interface FigmaDevOverlayMountOptions {
165
166
  rootId?: string;