@grapadigital/shared-app-modules 0.0.182 → 0.0.183

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.
@@ -542,6 +542,26 @@ declare interface LostInterface {
542
542
  details?: string;
543
543
  }
544
544
 
545
+ export declare function MentionInput({ value, onChange, onBlur, organizationId, placeholder, disabled, singleLine, }: MentionInputProps): JSX.Element;
546
+
547
+ declare interface MentionInputProps {
548
+ value: string;
549
+ onChange: (value: string) => void;
550
+ onBlur?: () => void;
551
+ organizationId: string;
552
+ placeholder?: string;
553
+ disabled?: boolean;
554
+ /** @default true */
555
+ singleLine?: boolean;
556
+ }
557
+
558
+ export declare function MentionText({ text, className }: MentionTextProps): JSX.Element;
559
+
560
+ declare interface MentionTextProps {
561
+ text: string;
562
+ className?: string;
563
+ }
564
+
545
565
  declare interface NegotiationInterface {
546
566
  calculatorType: CalculatorType;
547
567
  childPermit?: boolean;
@@ -618,6 +638,13 @@ declare interface Paid {
618
638
  date: string;
619
639
  }
620
640
 
641
+ declare interface ParsedMention {
642
+ id: string;
643
+ display: string;
644
+ }
645
+
646
+ export declare function parseMentions(text: string): ParsedMention[];
647
+
621
648
  declare interface Participant {
622
649
  role: ParticipantRole;
623
650
  email: string;