@veltdev/react 4.0.0-beta.17 → 4.0.0-beta.18

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.
@@ -19,7 +19,13 @@ export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps
19
19
  composerVariant?: string;
20
20
  shadowDom?: boolean;
21
21
  multiThread?: boolean;
22
+ /**
23
+ * @deprecated Use `sortBy` and `sortOrder` instead.
24
+ */
22
25
  sortData?: 'asc' | 'desc' | 'none';
26
+ composerPosition?: 'top' | 'bottom';
27
+ sortBy?: 'createdAt' | 'updatedAt';
28
+ sortOrder?: 'asc' | 'desc';
23
29
  }
24
30
  declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
25
31
  export default VeltInlineCommentsSection;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "4.0.0-beta.17";
1
+ export declare const VELT_SDK_VERSION = "4.0.0-beta.18";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/index.d.ts CHANGED
@@ -633,7 +633,13 @@ interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps<React.
633
633
  composerVariant?: string;
634
634
  shadowDom?: boolean;
635
635
  multiThread?: boolean;
636
+ /**
637
+ * @deprecated Use `sortBy` and `sortOrder` instead.
638
+ */
636
639
  sortData?: 'asc' | 'desc' | 'none';
640
+ composerPosition?: 'top' | 'bottom';
641
+ sortBy?: 'createdAt' | 'updatedAt';
642
+ sortOrder?: 'asc' | 'desc';
637
643
  }
638
644
  declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
639
645
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.0.0-beta.17",
3
+ "version": "4.0.0-beta.18",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [