@grapadigital/shared-app-modules 0.0.181 → 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.
- package/dist/assets/switch.css +1 -1
- package/dist/chuncks/badge.Cur4Mrd7.js +416 -0
- package/dist/chuncks/{format.util.DDDOd55d.js → format.util.B1F-QlvS.js} +1 -1
- package/dist/chuncks/{popover.4p4HlZwe.js → popover.C3VFqVxV.js} +1 -1
- package/dist/chuncks/{switch.BF6I8Lqo.js → switch.D4GUsewk.js} +127 -127
- package/dist/chuncks/youtube-icon.component.Dasmq5T5.js +4435 -0
- package/dist/components.d.ts +40 -2
- package/dist/components.js +341 -198
- package/dist/constants.js +1 -1
- package/dist/events.js +1 -1
- package/dist/hooks.d.ts +1 -0
- package/dist/pages.js +1 -1
- package/dist/providers.d.ts +1 -0
- package/dist/shadcn.js +151 -187
- package/dist/utils.d.ts +16 -1
- package/dist/utils.js +11 -10
- package/package.json +12 -9
- package/dist/chuncks/tooltip.BR6kaw4f.js +0 -378
- package/dist/chuncks/youtube-icon.component.DBqPyuqe.js +0 -2023
package/dist/components.d.ts
CHANGED
|
@@ -93,6 +93,16 @@ declare interface Approval {
|
|
|
93
93
|
approvedAt: string;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
export declare function AsyncBoundary({ suspenseFallback: SuspenseFallback, errorFallback: ErrorFallback, children, }: AsyncBoundaryProps): JSX.Element;
|
|
97
|
+
|
|
98
|
+
declare interface AsyncBoundaryProps extends React.PropsWithChildren {
|
|
99
|
+
suspenseFallback?: React.ComponentType;
|
|
100
|
+
errorFallback?: React.ComponentType<{
|
|
101
|
+
error?: Error | unknown;
|
|
102
|
+
onRetry?: () => void;
|
|
103
|
+
}>;
|
|
104
|
+
}
|
|
105
|
+
|
|
96
106
|
declare interface Attachments {
|
|
97
107
|
url: string;
|
|
98
108
|
name: string;
|
|
@@ -255,10 +265,11 @@ export declare function ErrorCard({ icon: Icon, title, description, onRetry, tip
|
|
|
255
265
|
|
|
256
266
|
declare interface ErrorCardProps extends React.ComponentProps<typeof Card> {
|
|
257
267
|
icon?: LucideIcon;
|
|
258
|
-
title
|
|
259
|
-
description
|
|
268
|
+
title?: string;
|
|
269
|
+
description?: string;
|
|
260
270
|
onRetry?: () => void;
|
|
261
271
|
tip?: string;
|
|
272
|
+
error?: Error | unknown;
|
|
262
273
|
}
|
|
263
274
|
|
|
264
275
|
declare interface Exchange {
|
|
@@ -531,6 +542,26 @@ declare interface LostInterface {
|
|
|
531
542
|
details?: string;
|
|
532
543
|
}
|
|
533
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
|
+
|
|
534
565
|
declare interface NegotiationInterface {
|
|
535
566
|
calculatorType: CalculatorType;
|
|
536
567
|
childPermit?: boolean;
|
|
@@ -607,6 +638,13 @@ declare interface Paid {
|
|
|
607
638
|
date: string;
|
|
608
639
|
}
|
|
609
640
|
|
|
641
|
+
declare interface ParsedMention {
|
|
642
|
+
id: string;
|
|
643
|
+
display: string;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export declare function parseMentions(text: string): ParsedMention[];
|
|
647
|
+
|
|
610
648
|
declare interface Participant {
|
|
611
649
|
role: ParticipantRole;
|
|
612
650
|
email: string;
|