@veltdev/react 4.7.6 → 4.7.8

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.
@@ -8,6 +8,7 @@ import { IVeltCommentDialogThreadCardNameProps } from "./VeltCommentDialogThread
8
8
  import { IVeltCommentDialogThreadCardOptions } from "./VeltCommentDialogThreadCardOptions/VeltCommentDialogThreadCardOptions";
9
9
  import { IVeltCommentDialogThreadCardReactionToolProps } from "./VeltCommentDialogThreadCardReactionTool/VeltCommentDialogThreadCardReactionTool";
10
10
  import { IVeltCommentDialogThreadCardReactionPinProps } from "./VeltCommentDialogThreadCardReactionPin/VeltCommentDialogThreadCardReactionPin";
11
+ import { IVeltCommentDialogThreadCardAssignButtonProps } from "./VeltCommentDialogThreadCardAssignButton/VeltCommentDialogThreadCardAssignButton";
11
12
  import { IVeltCommentDialogThreadCardReactionsProps } from "./VeltCommentDialogThreadCardReactions/VeltCommentDialogThreadCardReactions";
12
13
  import { IVeltCommentDialogThreadCardRecordingsProps } from "./VeltCommentDialogThreadCardRecordings/VeltCommentDialogThreadCardRecordings";
13
14
  import { IVeltCommentDialogThreadCardTimeProps } from "./VeltCommentDialogThreadCardTime/VeltCommentDialogThreadCardTime";
@@ -28,6 +29,7 @@ export interface IVeltCommentDialogThreadCard extends React.FC<IVeltCommentDialo
28
29
  Reactions: React.FC<IVeltCommentDialogThreadCardReactionsProps>;
29
30
  ReactionTool: React.FC<IVeltCommentDialogThreadCardReactionToolProps>;
30
31
  ReactionPin: React.FC<IVeltCommentDialogThreadCardReactionPinProps>;
32
+ AssignButton: React.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
31
33
  Recordings: React.FC<IVeltCommentDialogThreadCardRecordingsProps>;
32
34
  Time: React.FC<IVeltCommentDialogThreadCardTimeProps>;
33
35
  Unread: React.FC<IVeltCommentDialogThreadCardUnreadProps>;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { IVeltWireframeCommonProps } from '../../../../constants';
3
+ export interface IVeltCommentDialogThreadCardAssignButtonProps extends IVeltWireframeCommonProps {
4
+ }
5
+ declare const VeltCommentDialogThreadCardAssignButton: React.FC<IVeltCommentDialogThreadCardAssignButtonProps>;
6
+ export default VeltCommentDialogThreadCardAssignButton;
@@ -0,0 +1 @@
1
+ export { default } from './VeltCommentDialogThreadCardAssignButton';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.7.6";
2
+ export declare const VELT_SDK_VERSION = "4.7.8";
3
3
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
4
4
  export declare const VELT_TAB_ID = "veltTabId";
5
5
  export declare const INTEGRITY_MAP: Record<string, string>;
package/esm/index.js CHANGED
@@ -204,13 +204,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
204
204
  };
205
205
  };
206
206
 
207
- var VELT_SDK_VERSION = '4.7.6';
207
+ var VELT_SDK_VERSION = '4.7.8';
208
208
  var VELT_SDK_INIT_EVENT = 'onVeltInit';
209
209
  var VELT_TAB_ID = 'veltTabId';
210
210
  // integrity map for the Velt SDK
211
211
  // Note: generate integrity hashes with: https://www.srihash.org/
212
212
  var INTEGRITY_MAP = {
213
- '4.7.6': 'sha384-Kq29MJDSVcHpIhndeSlK95NJGKmMfoKnhy1oZvILa8gnfXhi1lJbw+uSsaERzbvN',
213
+ '4.7.8': 'sha384-FEqQMemqzDZDXnFX7Agv2pVMRTIkRPfPSBgSMckfI/TxwIOqlgLGCbvD655jSs5T',
214
214
  };
215
215
 
216
216
  var validProps = ['veltIf', 'veltClass', 'className', 'variant'];
@@ -2449,9 +2449,15 @@ var VeltCommentDialogThreadCardReactionTool = function (props) {
2449
2449
  };
2450
2450
 
2451
2451
  var VeltCommentDialogThreadCardReactionPin = function (props) {
2452
+ var children = props.children, reactionId = props.reactionId, remainingProps = __rest(props, ["children", "reactionId"]);
2453
+ var transformedProps = transformWireframeProps(remainingProps);
2454
+ return (React.createElement("velt-comment-dialog-thread-card-reaction-pin-wireframe", __assign({}, transformedProps, { "reaction-id": reactionId }), children));
2455
+ };
2456
+
2457
+ var VeltCommentDialogThreadCardAssignButton = function (props) {
2452
2458
  var children = props.children, remainingProps = __rest(props, ["children"]);
2453
2459
  var transformedProps = transformWireframeProps(remainingProps);
2454
- return (React.createElement("velt-comment-dialog-thread-card-reaction-pin-wireframe", __assign({}, transformedProps), children));
2460
+ return (React.createElement("velt-comment-dialog-thread-card-assign-button-wireframe", __assign({}, transformedProps), children));
2455
2461
  };
2456
2462
 
2457
2463
  var VeltCommentDialogThreadCardReactions = function (props) {
@@ -2568,6 +2574,7 @@ VeltCommentDialogThreadCard.Options = VeltCommentDialogThreadCardOptions;
2568
2574
  VeltCommentDialogThreadCard.Reactions = VeltCommentDialogThreadCardReactions;
2569
2575
  VeltCommentDialogThreadCard.ReactionTool = VeltCommentDialogThreadCardReactionTool;
2570
2576
  VeltCommentDialogThreadCard.ReactionPin = VeltCommentDialogThreadCardReactionPin;
2577
+ VeltCommentDialogThreadCard.AssignButton = VeltCommentDialogThreadCardAssignButton;
2571
2578
  VeltCommentDialogThreadCard.Recordings = VeltCommentDialogThreadCardRecordings;
2572
2579
  VeltCommentDialogThreadCard.Time = VeltCommentDialogThreadCardTime;
2573
2580
  VeltCommentDialogThreadCard.Unread = VeltCommentDialogThreadCardUnread;