@proteos/ui 0.79.0 → 0.80.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.
- package/dist/index.cjs +316 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +197 -23
- package/dist/index.d.ts +197 -23
- package/dist/index.js +303 -61
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/ava-action-review/ava-action-review.stories.tsx +313 -0
- package/src/components/{record-update/record-update.test.tsx → ava-action-review/ava-action-review.test.tsx} +52 -23
- package/src/components/ava-action-review/ava-action-review.tsx +612 -0
- package/src/components/ava-action-review/index.ts +30 -0
- package/src/components/checkbox/checkbox.tsx +12 -6
- package/src/components/radio-group/radio-group.tsx +11 -6
- package/src/components/switch/switch.tsx +15 -8
- package/src/index.ts +1 -1
- package/src/components/record-update/index.ts +0 -17
- package/src/components/record-update/record-update.stories.tsx +0 -141
- package/src/components/record-update/record-update.tsx +0 -259
package/dist/index.d.cts
CHANGED
|
@@ -699,8 +699,10 @@ declare function ChannelIcon({ channel, className, label }: ChannelIconProps): r
|
|
|
699
699
|
|
|
700
700
|
type CheckboxProps = Omit<CheckboxProps$1, 'children'> & {
|
|
701
701
|
children?: ReactNode;
|
|
702
|
+
/** `sm` for dense rows. Defaults to `md`. */
|
|
703
|
+
size?: FieldSize;
|
|
702
704
|
};
|
|
703
|
-
declare function Checkbox({ children, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
705
|
+
declare function Checkbox({ children, className, size, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
704
706
|
|
|
705
707
|
type CheckboxGroupProps = Omit<CheckboxGroupProps$1, 'children'> & {
|
|
706
708
|
label?: ReactNode;
|
|
@@ -3141,8 +3143,10 @@ type RadioGroupProps = Omit<RadioGroupProps$1, 'children'> & {
|
|
|
3141
3143
|
declare function RadioGroup({ label, description, errorMessage, orientation, children, className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
3142
3144
|
type RadioProps = Omit<RadioProps$1, 'children'> & {
|
|
3143
3145
|
children?: ReactNode;
|
|
3146
|
+
/** `sm` for dense rows. Defaults to `md`. */
|
|
3147
|
+
size?: FieldSize;
|
|
3144
3148
|
};
|
|
3145
|
-
declare function Radio({ children, className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
3149
|
+
declare function Radio({ children, className, size, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
3146
3150
|
|
|
3147
3151
|
interface RecipientSelectProps {
|
|
3148
3152
|
connectionId: string;
|
|
@@ -3515,58 +3519,133 @@ declare function RecordFilterChips({ fields, filter, onChange, showFieldIcons, s
|
|
|
3515
3519
|
|
|
3516
3520
|
declare function useShowDetails(storageKey?: string): readonly [boolean, () => void, (next: boolean) => void];
|
|
3517
3521
|
|
|
3518
|
-
declare const
|
|
3522
|
+
declare const avaActionReviewStyles: tailwind_variants.TVReturnType<{
|
|
3519
3523
|
[key: string]: {
|
|
3520
3524
|
[key: string]: tailwind_merge.ClassNameValue | {
|
|
3525
|
+
body?: tailwind_merge.ClassNameValue;
|
|
3521
3526
|
footer?: tailwind_merge.ClassNameValue;
|
|
3527
|
+
head?: tailwind_merge.ClassNameValue;
|
|
3522
3528
|
summary?: tailwind_merge.ClassNameValue;
|
|
3529
|
+
title?: tailwind_merge.ClassNameValue;
|
|
3530
|
+
hint?: tailwind_merge.ClassNameValue;
|
|
3523
3531
|
root?: tailwind_merge.ClassNameValue;
|
|
3532
|
+
actions?: tailwind_merge.ClassNameValue;
|
|
3533
|
+
reason?: tailwind_merge.ClassNameValue;
|
|
3534
|
+
eyebrow?: tailwind_merge.ClassNameValue;
|
|
3524
3535
|
rows?: tailwind_merge.ClassNameValue;
|
|
3536
|
+
titleText?: tailwind_merge.ClassNameValue;
|
|
3537
|
+
titleAction?: tailwind_merge.ClassNameValue;
|
|
3538
|
+
summaryMore?: tailwind_merge.ClassNameValue;
|
|
3539
|
+
summaryMeta?: tailwind_merge.ClassNameValue;
|
|
3540
|
+
problem?: tailwind_merge.ClassNameValue;
|
|
3525
3541
|
errors?: tailwind_merge.ClassNameValue;
|
|
3526
3542
|
};
|
|
3527
3543
|
};
|
|
3528
3544
|
} | {
|
|
3529
3545
|
[x: string]: {
|
|
3530
3546
|
[x: string]: tailwind_merge.ClassNameValue | {
|
|
3547
|
+
body?: tailwind_merge.ClassNameValue;
|
|
3531
3548
|
footer?: tailwind_merge.ClassNameValue;
|
|
3549
|
+
head?: tailwind_merge.ClassNameValue;
|
|
3532
3550
|
summary?: tailwind_merge.ClassNameValue;
|
|
3551
|
+
title?: tailwind_merge.ClassNameValue;
|
|
3552
|
+
hint?: tailwind_merge.ClassNameValue;
|
|
3533
3553
|
root?: tailwind_merge.ClassNameValue;
|
|
3554
|
+
actions?: tailwind_merge.ClassNameValue;
|
|
3555
|
+
reason?: tailwind_merge.ClassNameValue;
|
|
3556
|
+
eyebrow?: tailwind_merge.ClassNameValue;
|
|
3534
3557
|
rows?: tailwind_merge.ClassNameValue;
|
|
3558
|
+
titleText?: tailwind_merge.ClassNameValue;
|
|
3559
|
+
titleAction?: tailwind_merge.ClassNameValue;
|
|
3560
|
+
summaryMore?: tailwind_merge.ClassNameValue;
|
|
3561
|
+
summaryMeta?: tailwind_merge.ClassNameValue;
|
|
3562
|
+
problem?: tailwind_merge.ClassNameValue;
|
|
3535
3563
|
errors?: tailwind_merge.ClassNameValue;
|
|
3536
3564
|
};
|
|
3537
3565
|
};
|
|
3538
3566
|
} | {}, {
|
|
3539
3567
|
root: string;
|
|
3568
|
+
head: string[];
|
|
3569
|
+
title: string;
|
|
3570
|
+
eyebrow: string;
|
|
3571
|
+
titleText: string;
|
|
3572
|
+
titleAction: string;
|
|
3573
|
+
reason: string;
|
|
3540
3574
|
summary: string;
|
|
3575
|
+
summaryMore: string;
|
|
3576
|
+
summaryMeta: string;
|
|
3577
|
+
problem: string[];
|
|
3578
|
+
body: string;
|
|
3541
3579
|
rows: string;
|
|
3542
3580
|
errors: string[];
|
|
3543
3581
|
footer: string;
|
|
3582
|
+
actions: string;
|
|
3583
|
+
hint: string;
|
|
3544
3584
|
}, undefined, {
|
|
3545
3585
|
[key: string]: {
|
|
3546
3586
|
[key: string]: tailwind_merge.ClassNameValue | {
|
|
3587
|
+
body?: tailwind_merge.ClassNameValue;
|
|
3547
3588
|
footer?: tailwind_merge.ClassNameValue;
|
|
3589
|
+
head?: tailwind_merge.ClassNameValue;
|
|
3548
3590
|
summary?: tailwind_merge.ClassNameValue;
|
|
3591
|
+
title?: tailwind_merge.ClassNameValue;
|
|
3592
|
+
hint?: tailwind_merge.ClassNameValue;
|
|
3549
3593
|
root?: tailwind_merge.ClassNameValue;
|
|
3594
|
+
actions?: tailwind_merge.ClassNameValue;
|
|
3595
|
+
reason?: tailwind_merge.ClassNameValue;
|
|
3596
|
+
eyebrow?: tailwind_merge.ClassNameValue;
|
|
3550
3597
|
rows?: tailwind_merge.ClassNameValue;
|
|
3598
|
+
titleText?: tailwind_merge.ClassNameValue;
|
|
3599
|
+
titleAction?: tailwind_merge.ClassNameValue;
|
|
3600
|
+
summaryMore?: tailwind_merge.ClassNameValue;
|
|
3601
|
+
summaryMeta?: tailwind_merge.ClassNameValue;
|
|
3602
|
+
problem?: tailwind_merge.ClassNameValue;
|
|
3551
3603
|
errors?: tailwind_merge.ClassNameValue;
|
|
3552
3604
|
};
|
|
3553
3605
|
};
|
|
3554
3606
|
} | {}, {
|
|
3555
3607
|
root: string;
|
|
3608
|
+
head: string[];
|
|
3609
|
+
title: string;
|
|
3610
|
+
eyebrow: string;
|
|
3611
|
+
titleText: string;
|
|
3612
|
+
titleAction: string;
|
|
3613
|
+
reason: string;
|
|
3556
3614
|
summary: string;
|
|
3615
|
+
summaryMore: string;
|
|
3616
|
+
summaryMeta: string;
|
|
3617
|
+
problem: string[];
|
|
3618
|
+
body: string;
|
|
3557
3619
|
rows: string;
|
|
3558
3620
|
errors: string[];
|
|
3559
3621
|
footer: string;
|
|
3622
|
+
actions: string;
|
|
3623
|
+
hint: string;
|
|
3560
3624
|
}, tailwind_variants.TVReturnType<unknown, {
|
|
3561
3625
|
root: string;
|
|
3626
|
+
head: string[];
|
|
3627
|
+
title: string;
|
|
3628
|
+
eyebrow: string;
|
|
3629
|
+
titleText: string;
|
|
3630
|
+
titleAction: string;
|
|
3631
|
+
reason: string;
|
|
3562
3632
|
summary: string;
|
|
3633
|
+
summaryMore: string;
|
|
3634
|
+
summaryMeta: string;
|
|
3635
|
+
problem: string[];
|
|
3636
|
+
body: string;
|
|
3563
3637
|
rows: string;
|
|
3564
3638
|
errors: string[];
|
|
3565
3639
|
footer: string;
|
|
3640
|
+
actions: string;
|
|
3641
|
+
hint: string;
|
|
3566
3642
|
}, undefined, unknown, unknown, undefined>>;
|
|
3567
|
-
declare const
|
|
3643
|
+
declare const avaActionReviewRowStyles: tailwind_variants.TVReturnType<{
|
|
3568
3644
|
state: {
|
|
3569
3645
|
changed: {};
|
|
3646
|
+
added: {
|
|
3647
|
+
tag: string;
|
|
3648
|
+
};
|
|
3570
3649
|
unresolved: {
|
|
3571
3650
|
tag: string;
|
|
3572
3651
|
};
|
|
@@ -3574,9 +3653,19 @@ declare const recordUpdateRowStyles: tailwind_variants.TVReturnType<{
|
|
|
3574
3653
|
tag: string;
|
|
3575
3654
|
};
|
|
3576
3655
|
removed: {
|
|
3577
|
-
|
|
3656
|
+
root: string;
|
|
3578
3657
|
};
|
|
3579
3658
|
};
|
|
3659
|
+
/** Long values read better one above the other at any width. */
|
|
3660
|
+
isLong: {
|
|
3661
|
+
false: {
|
|
3662
|
+
cells: string;
|
|
3663
|
+
from: string;
|
|
3664
|
+
arrowStacked: string;
|
|
3665
|
+
arrowBeside: string;
|
|
3666
|
+
};
|
|
3667
|
+
true: {};
|
|
3668
|
+
};
|
|
3580
3669
|
}, {
|
|
3581
3670
|
root: string;
|
|
3582
3671
|
labelRow: string[];
|
|
@@ -3584,6 +3673,8 @@ declare const recordUpdateRowStyles: tailwind_variants.TVReturnType<{
|
|
|
3584
3673
|
cells: string;
|
|
3585
3674
|
from: string;
|
|
3586
3675
|
arrow: string;
|
|
3676
|
+
arrowStacked: string;
|
|
3677
|
+
arrowBeside: string;
|
|
3587
3678
|
to: string;
|
|
3588
3679
|
hint: string;
|
|
3589
3680
|
error: string;
|
|
@@ -3591,6 +3682,9 @@ declare const recordUpdateRowStyles: tailwind_variants.TVReturnType<{
|
|
|
3591
3682
|
}, undefined, {
|
|
3592
3683
|
state: {
|
|
3593
3684
|
changed: {};
|
|
3685
|
+
added: {
|
|
3686
|
+
tag: string;
|
|
3687
|
+
};
|
|
3594
3688
|
unresolved: {
|
|
3595
3689
|
tag: string;
|
|
3596
3690
|
};
|
|
@@ -3598,8 +3692,18 @@ declare const recordUpdateRowStyles: tailwind_variants.TVReturnType<{
|
|
|
3598
3692
|
tag: string;
|
|
3599
3693
|
};
|
|
3600
3694
|
removed: {
|
|
3601
|
-
|
|
3695
|
+
root: string;
|
|
3696
|
+
};
|
|
3697
|
+
};
|
|
3698
|
+
/** Long values read better one above the other at any width. */
|
|
3699
|
+
isLong: {
|
|
3700
|
+
false: {
|
|
3701
|
+
cells: string;
|
|
3702
|
+
from: string;
|
|
3703
|
+
arrowStacked: string;
|
|
3704
|
+
arrowBeside: string;
|
|
3602
3705
|
};
|
|
3706
|
+
true: {};
|
|
3603
3707
|
};
|
|
3604
3708
|
}, {
|
|
3605
3709
|
root: string;
|
|
@@ -3608,6 +3712,8 @@ declare const recordUpdateRowStyles: tailwind_variants.TVReturnType<{
|
|
|
3608
3712
|
cells: string;
|
|
3609
3713
|
from: string;
|
|
3610
3714
|
arrow: string;
|
|
3715
|
+
arrowStacked: string;
|
|
3716
|
+
arrowBeside: string;
|
|
3611
3717
|
to: string;
|
|
3612
3718
|
hint: string;
|
|
3613
3719
|
error: string;
|
|
@@ -3615,6 +3721,9 @@ declare const recordUpdateRowStyles: tailwind_variants.TVReturnType<{
|
|
|
3615
3721
|
}, tailwind_variants.TVReturnType<{
|
|
3616
3722
|
state: {
|
|
3617
3723
|
changed: {};
|
|
3724
|
+
added: {
|
|
3725
|
+
tag: string;
|
|
3726
|
+
};
|
|
3618
3727
|
unresolved: {
|
|
3619
3728
|
tag: string;
|
|
3620
3729
|
};
|
|
@@ -3622,8 +3731,18 @@ declare const recordUpdateRowStyles: tailwind_variants.TVReturnType<{
|
|
|
3622
3731
|
tag: string;
|
|
3623
3732
|
};
|
|
3624
3733
|
removed: {
|
|
3625
|
-
|
|
3734
|
+
root: string;
|
|
3735
|
+
};
|
|
3736
|
+
};
|
|
3737
|
+
/** Long values read better one above the other at any width. */
|
|
3738
|
+
isLong: {
|
|
3739
|
+
false: {
|
|
3740
|
+
cells: string;
|
|
3741
|
+
from: string;
|
|
3742
|
+
arrowStacked: string;
|
|
3743
|
+
arrowBeside: string;
|
|
3626
3744
|
};
|
|
3745
|
+
true: {};
|
|
3627
3746
|
};
|
|
3628
3747
|
}, {
|
|
3629
3748
|
root: string;
|
|
@@ -3632,24 +3751,71 @@ declare const recordUpdateRowStyles: tailwind_variants.TVReturnType<{
|
|
|
3632
3751
|
cells: string;
|
|
3633
3752
|
from: string;
|
|
3634
3753
|
arrow: string;
|
|
3754
|
+
arrowStacked: string;
|
|
3755
|
+
arrowBeside: string;
|
|
3635
3756
|
to: string;
|
|
3636
3757
|
hint: string;
|
|
3637
3758
|
error: string;
|
|
3638
3759
|
removed: string;
|
|
3639
3760
|
}, undefined, unknown, unknown, undefined>>;
|
|
3640
|
-
type
|
|
3641
|
-
type
|
|
3642
|
-
type
|
|
3643
|
-
declare function
|
|
3644
|
-
declare function
|
|
3645
|
-
|
|
3646
|
-
|
|
3761
|
+
type AvaActionReviewRowVariants = VariantProps<typeof avaActionReviewRowStyles>;
|
|
3762
|
+
type AvaActionReviewRowState = NonNullable<AvaActionReviewRowVariants['state']>;
|
|
3763
|
+
type AvaActionReviewProps = HTMLAttributes<HTMLDivElement>;
|
|
3764
|
+
declare function AvaActionReview({ className, children, ...props }: AvaActionReviewProps): react_jsx_runtime.JSX.Element;
|
|
3765
|
+
declare function AvaActionReviewHead({ className, children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3766
|
+
interface AvaActionReviewTitleProps extends HTMLAttributes<HTMLDivElement> {
|
|
3767
|
+
/** What Ava is about to do, in one word ("Update", "Create"). */
|
|
3768
|
+
eyebrow?: ReactNode;
|
|
3769
|
+
/** Sits at the line's end (the upsert's Change). */
|
|
3770
|
+
action?: ReactNode;
|
|
3771
|
+
}
|
|
3772
|
+
declare function AvaActionReviewTitle({ eyebrow, action, className, children, ...props }: AvaActionReviewTitleProps): react_jsx_runtime.JSX.Element;
|
|
3773
|
+
declare function AvaActionReviewReason({ className, children, ...props }: HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
3774
|
+
interface AvaActionReviewSummaryProps extends HTMLAttributes<HTMLDivElement> {
|
|
3775
|
+
/** A short machine fact beside More ("5 suggested"). */
|
|
3776
|
+
meta?: ReactNode;
|
|
3777
|
+
moreLabel?: string;
|
|
3778
|
+
lessLabel?: string;
|
|
3779
|
+
}
|
|
3780
|
+
/** Ava's own words, clamped to two lines; More appears only when they run longer. */
|
|
3781
|
+
declare function AvaActionReviewSummary({ meta, moreLabel, lessLabel, className, children, ...props }: AvaActionReviewSummaryProps): react_jsx_runtime.JSX.Element;
|
|
3782
|
+
/** Something Ava could not do, kept in sight rather than folded away. */
|
|
3783
|
+
declare function AvaActionReviewProblem({ className, children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3784
|
+
declare function AvaActionReviewBody({ className, children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3785
|
+
declare function AvaActionReviewRows({ className, children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3786
|
+
interface AvaActionReviewErrorsProps extends HTMLAttributes<HTMLDivElement> {
|
|
3647
3787
|
/** Problems that are not tied to one field. Renders nothing when empty. */
|
|
3648
3788
|
errors: ReadonlyArray<string>;
|
|
3649
3789
|
}
|
|
3650
|
-
declare function
|
|
3651
|
-
declare function
|
|
3652
|
-
|
|
3790
|
+
declare function AvaActionReviewErrors({ errors, className, ...props }: AvaActionReviewErrorsProps): react_jsx_runtime.JSX.Element | null;
|
|
3791
|
+
declare function AvaActionReviewFooter({ className, children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3792
|
+
/** The decision buttons, kept together at the right when the foot wraps. */
|
|
3793
|
+
declare function AvaActionReviewActions({ className, children, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
3794
|
+
/** A full-width line above the foot's buttons (why Apply is blocked). */
|
|
3795
|
+
declare function AvaActionReviewHint({ className, children, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
3796
|
+
interface AvaActionReviewAddFieldOption {
|
|
3797
|
+
id: string;
|
|
3798
|
+
label: string;
|
|
3799
|
+
icon?: ReactNode;
|
|
3800
|
+
}
|
|
3801
|
+
interface AvaActionReviewAddFieldGroup {
|
|
3802
|
+
/** Shown above the group; omit for a single, unlabelled list. */
|
|
3803
|
+
label?: string;
|
|
3804
|
+
options: ReadonlyArray<AvaActionReviewAddFieldOption>;
|
|
3805
|
+
}
|
|
3806
|
+
interface AvaActionReviewAddFieldProps {
|
|
3807
|
+
groups: ReadonlyArray<AvaActionReviewAddFieldGroup>;
|
|
3808
|
+
onPick: (id: string) => void;
|
|
3809
|
+
/** Identifies the trigger, so a host can hand focus back to it. */
|
|
3810
|
+
id?: string;
|
|
3811
|
+
isDisabled?: boolean;
|
|
3812
|
+
label?: string;
|
|
3813
|
+
searchLabel?: string;
|
|
3814
|
+
emptyText?: string;
|
|
3815
|
+
}
|
|
3816
|
+
/** The foot's "Add field": a filterable list of what the proposer left out. */
|
|
3817
|
+
declare function AvaActionReviewAddField({ groups, onPick, id, isDisabled, label, searchLabel, emptyText, }: AvaActionReviewAddFieldProps): react_jsx_runtime.JSX.Element;
|
|
3818
|
+
interface AvaActionReviewRowProps extends Omit<HTMLAttributes<HTMLFieldSetElement>, 'children' | 'className'> {
|
|
3653
3819
|
/** The field's label — rendered in the page-layout field-label style. */
|
|
3654
3820
|
label: ReactNode;
|
|
3655
3821
|
/** Current value cell (typically a read-only display). Omit for a value
|
|
@@ -3658,7 +3824,9 @@ interface RecordUpdateRowProps extends Omit<HTMLAttributes<HTMLFieldSetElement>,
|
|
|
3658
3824
|
from?: ReactNode;
|
|
3659
3825
|
/** Proposed value cell (an editor bound to the change, or the rejection text). */
|
|
3660
3826
|
to: ReactNode;
|
|
3661
|
-
state?:
|
|
3827
|
+
state?: AvaActionReviewRowState;
|
|
3828
|
+
/** Keep the two cells one above the other at every width. */
|
|
3829
|
+
isLong?: boolean;
|
|
3662
3830
|
/** Why the value is unresolved, or any other one-line note under the cells. */
|
|
3663
3831
|
hint?: ReactNode;
|
|
3664
3832
|
/** Validation error for the proposed value. */
|
|
@@ -3670,14 +3838,18 @@ interface RecordUpdateRowProps extends Omit<HTMLAttributes<HTMLFieldSetElement>,
|
|
|
3670
3838
|
/** Accessible names for the two buttons. */
|
|
3671
3839
|
removeLabel?: string;
|
|
3672
3840
|
restoreLabel?: string;
|
|
3673
|
-
/**
|
|
3841
|
+
/** Accessible names for the two cells. */
|
|
3842
|
+
fromLabel?: string;
|
|
3843
|
+
toLabel?: string;
|
|
3844
|
+
/** Text of the `added` / `unresolved` / `rejected` tags next to the label. */
|
|
3845
|
+
addedLabel?: string;
|
|
3674
3846
|
unresolvedLabel?: string;
|
|
3675
3847
|
rejectedLabel?: string;
|
|
3676
|
-
/** Text shown
|
|
3848
|
+
/** Text shown beside the label while `removed`. */
|
|
3677
3849
|
removedText?: string;
|
|
3678
3850
|
className?: string;
|
|
3679
3851
|
}
|
|
3680
|
-
declare function
|
|
3852
|
+
declare function AvaActionReviewRow({ label, from, to, state, isLong, hint, errorMessage, onRemove, onRestore, removeLabel, restoreLabel, fromLabel, toLabel, addedLabel, unresolvedLabel, rejectedLabel, removedText, className, ...props }: AvaActionReviewRowProps): react_jsx_runtime.JSX.Element;
|
|
3681
3853
|
|
|
3682
3854
|
declare const segmentedControlStyles: tailwind_variants.TVReturnType<{
|
|
3683
3855
|
size: {
|
|
@@ -4059,8 +4231,10 @@ type SwitchProps = Omit<SwitchProps$1, 'children'> & {
|
|
|
4059
4231
|
* wrapping the label; without one the label stays the root, as before.
|
|
4060
4232
|
*/
|
|
4061
4233
|
description?: ReactNode;
|
|
4234
|
+
/** `sm` for dense rows. Defaults to `md`. */
|
|
4235
|
+
size?: FieldSize;
|
|
4062
4236
|
};
|
|
4063
|
-
declare function Switch({ children, labelPlacement, description, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
4237
|
+
declare function Switch({ children, labelPlacement, description, size, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
4064
4238
|
|
|
4065
4239
|
declare const tabsStyles: tailwind_variants.TVReturnType<{
|
|
4066
4240
|
size: {
|
|
@@ -4369,4 +4543,4 @@ declare function Tooltip({ className, offset, ...props }: TooltipProps): react_j
|
|
|
4369
4543
|
|
|
4370
4544
|
declare function cn(...inputs: ClassValue[]): string;
|
|
4371
4545
|
|
|
4372
|
-
export { ATTRIBUTE_TYPES, ATTRIBUTE_TYPE_ICONS, type ActionsColumnOptions, type ActiveCommand, AttachmentChip, type AttachmentChipProps, type AttachmentChipVariants, AttributePicker, type AttributePickerProps, AttributeType, AttributeTypeIcon, type AttributeTypeIconProps, AvailabilityCalendar, type AvailabilityCalendarProps, type AvailabilityCalendarVariants, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarGroupVariants, type AvatarProps, type AvatarVariants, Badge, BadgeAction, type BadgeActionProps, BadgeGroup, type BadgeGroupMetrics, type BadgeGroupProps, type BadgeGroupVariants, BadgeMultiSelect, type BadgeMultiSelectOption, type BadgeMultiSelectProps, type BadgeProps, type BadgeVariants, BooleanCell, type BooleanCellProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, type ButtonVariants, COLUMN_DRAG_KIND, CONVERSATION_BRIEF_OUTCOME_LABEL, Card, CardBody, CardContent, CardEyebrow, CardFeatureTitle, CardFooter, CardHeader, type CardProps, CardTitle, type CardVariants, ChannelIcon, type ChannelIconProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ChipValue, type ChipValueItemRenderer, type ChipValueProps, ColorInput, type ColorInputProps, type ColumnDragData, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandHint, type CommandHintProps, type CommandHintTone, type CommandLabel, type CommandProps, type ComparisonOperator, type ComposerAttachment, type ComposerConnectionPicker, type ComposerSendInput, type ComposerValue, ConversationBriefCard, type ConversationBriefCardProps, type ConversationBriefClient, type ConversationBriefOutcome, ConversationBriefPreview, type ConversationBriefPreviewProps, ConversationBriefReview, type ConversationBriefReviewProps, CurrencyInput, type CurrencyInputOption, type CurrencyInputProps, type CurrencyInputValue, DRAFT_OUTCOME_LABEL, DataTable, DataTableEmpty, type DataTableEmptyProps, DataTableError, type DataTableErrorProps, type DataTableProps, DataTableSkeleton, type DataTableSkeletonProps, DateCell, type DateCellProps, DatePicker, type DatePickerProps, DateTimeCell, type DateTimeCellProps, DateTimePicker, type DateTimePickerProps, type DecodedPeaks, type DraftMessageActions, DraftMessageCard, type DraftMessageCardProps, type DraftMessageClient, DraftMessageComposer, type DraftMessageComposerProps, type DraftMessageOutcome, DraftMessageReview, type DraftMessageReviewProps, type DraftReviewOutcome, EmptyState, type EmptyStateProps, type EmptyStateVariants, ErrorAnimation, type ErrorAnimationProps, FIELD_LABEL_SEPARATOR, type FieldAppearance, FieldCaret, type FieldControlVariants, type FieldSize, FileField, type FileFieldProps, type FileFieldValue, FileViewer, FileViewerFallbackCard, type FileViewerFallbackCardProps, type FileViewerFallbackCardVariants, type FileViewerKind, type FileViewerProps, type FileViewerVariants, type FilterElement, type FilterField, type FilterFieldOption, type FilterFieldRelation, type FilterFieldType, type FilterGroup, FilterRow, type FilterRowProps, type FilterValue, FilterValueInput, type FilterValueInputProps, type FilterValueInputRenderer, FrameStrip, type FrameStripItem, type FrameStripProps, type FrameStripVariants, GlowFrame, type GlowFrameProps, type GlowFrameStatus, type GlowFrameVariants, IconPicker, type IconPickerProps, ImageAttachment, type ImageAttachmentProps, type ImageAttachmentVariants, ImageLightbox, type ImageLightboxProps, type ImageLightboxVariants, type InfiniteQueryLike, Input, type InputProps, Kbd, type KbdProps, type KeyCombo, LinkCell, type LinkCellProps, type LogicalOperator, type LucideIconName, MAX_COMPOSER_ATTACHMENT_BYTES, MAX_DECODE_BYTES, MediaControls, type MediaControlsProps, type MediaControlsVariants, type MediaLane, type MediaMarker, MediaMarkerTrack, type MediaMarkerTrackProps, type MediaMarkersVariants, MediaPlayer, type MediaPlayerContextValue, type MediaPlayerKind, type MediaPlayerProps, type MediaPlayerSource, type MediaPlayerVariants, type MediaSegment, MediaStage, MediaTimeline, type MediaTimelineProps, type MediaTimelineVariants, MediaVideoStage, type MediaVideoStageProps, type MediaVideoStageVariants, MediaWaveform, type MediaWaveformProps, type MediaWaveformStatus, type MediaWaveformVariants, Menu, MenuItem, type MenuItemProps, MenuPopover, type MenuPopoverProps, type MenuProps, MenuTrigger, MessageComposer, type MessageComposerProps, Modal, ModalBody, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, MultiSelect, type MultiSelectOption, type MultiSelectProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, type NavItemVariants, NavSection, type NavSectionProps, OPERATORS, type OperatorArity, type OperatorDescriptor, OperatorPicker, type OperatorPickerProps, Orb, type OrbProps, type OrbSizeToken, PROTECTED_COMBOS, type Platform, Popover, PopoverContent, type PopoverContentProps, PopoverPanelBody, PopoverPanelFooter, PopoverPanelHeader, PressableCard, type PressableCardProps, ProgressBar, type ProgressBarProps, type ProgressBarVariants, ProgressRing, type ProgressRingProps, type ProgressRingVariants, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RecipientSelect, type RecipientSelectProps, RecordFilterBuilderPanel, type RecordFilterBuilderPanelProps, RecordFilterButton, type RecordFilterButtonProps, RecordFilterChips, type RecordFilterChipsProps, RecordFilterEditor, type RecordFilterEditorProps,
|
|
4546
|
+
export { ATTRIBUTE_TYPES, ATTRIBUTE_TYPE_ICONS, type ActionsColumnOptions, type ActiveCommand, AttachmentChip, type AttachmentChipProps, type AttachmentChipVariants, AttributePicker, type AttributePickerProps, AttributeType, AttributeTypeIcon, type AttributeTypeIconProps, AvaActionReview, AvaActionReviewActions, AvaActionReviewAddField, type AvaActionReviewAddFieldGroup, type AvaActionReviewAddFieldOption, type AvaActionReviewAddFieldProps, AvaActionReviewBody, AvaActionReviewErrors, type AvaActionReviewErrorsProps, AvaActionReviewFooter, AvaActionReviewHead, AvaActionReviewHint, AvaActionReviewProblem, type AvaActionReviewProps, AvaActionReviewReason, AvaActionReviewRow, type AvaActionReviewRowProps, type AvaActionReviewRowState, type AvaActionReviewRowVariants, AvaActionReviewRows, AvaActionReviewSummary, type AvaActionReviewSummaryProps, AvaActionReviewTitle, type AvaActionReviewTitleProps, AvailabilityCalendar, type AvailabilityCalendarProps, type AvailabilityCalendarVariants, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarGroupVariants, type AvatarProps, type AvatarVariants, Badge, BadgeAction, type BadgeActionProps, BadgeGroup, type BadgeGroupMetrics, type BadgeGroupProps, type BadgeGroupVariants, BadgeMultiSelect, type BadgeMultiSelectOption, type BadgeMultiSelectProps, type BadgeProps, type BadgeVariants, BooleanCell, type BooleanCellProps, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, type ButtonVariants, COLUMN_DRAG_KIND, CONVERSATION_BRIEF_OUTCOME_LABEL, Card, CardBody, CardContent, CardEyebrow, CardFeatureTitle, CardFooter, CardHeader, type CardProps, CardTitle, type CardVariants, ChannelIcon, type ChannelIconProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, ChipValue, type ChipValueItemRenderer, type ChipValueProps, ColorInput, type ColorInputProps, type ColumnDragData, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandHint, type CommandHintProps, type CommandHintTone, type CommandLabel, type CommandProps, type ComparisonOperator, type ComposerAttachment, type ComposerConnectionPicker, type ComposerSendInput, type ComposerValue, ConversationBriefCard, type ConversationBriefCardProps, type ConversationBriefClient, type ConversationBriefOutcome, ConversationBriefPreview, type ConversationBriefPreviewProps, ConversationBriefReview, type ConversationBriefReviewProps, CurrencyInput, type CurrencyInputOption, type CurrencyInputProps, type CurrencyInputValue, DRAFT_OUTCOME_LABEL, DataTable, DataTableEmpty, type DataTableEmptyProps, DataTableError, type DataTableErrorProps, type DataTableProps, DataTableSkeleton, type DataTableSkeletonProps, DateCell, type DateCellProps, DatePicker, type DatePickerProps, DateTimeCell, type DateTimeCellProps, DateTimePicker, type DateTimePickerProps, type DecodedPeaks, type DraftMessageActions, DraftMessageCard, type DraftMessageCardProps, type DraftMessageClient, DraftMessageComposer, type DraftMessageComposerProps, type DraftMessageOutcome, DraftMessageReview, type DraftMessageReviewProps, type DraftReviewOutcome, EmptyState, type EmptyStateProps, type EmptyStateVariants, ErrorAnimation, type ErrorAnimationProps, FIELD_LABEL_SEPARATOR, type FieldAppearance, FieldCaret, type FieldControlVariants, type FieldSize, FileField, type FileFieldProps, type FileFieldValue, FileViewer, FileViewerFallbackCard, type FileViewerFallbackCardProps, type FileViewerFallbackCardVariants, type FileViewerKind, type FileViewerProps, type FileViewerVariants, type FilterElement, type FilterField, type FilterFieldOption, type FilterFieldRelation, type FilterFieldType, type FilterGroup, FilterRow, type FilterRowProps, type FilterValue, FilterValueInput, type FilterValueInputProps, type FilterValueInputRenderer, FrameStrip, type FrameStripItem, type FrameStripProps, type FrameStripVariants, GlowFrame, type GlowFrameProps, type GlowFrameStatus, type GlowFrameVariants, IconPicker, type IconPickerProps, ImageAttachment, type ImageAttachmentProps, type ImageAttachmentVariants, ImageLightbox, type ImageLightboxProps, type ImageLightboxVariants, type InfiniteQueryLike, Input, type InputProps, Kbd, type KbdProps, type KeyCombo, LinkCell, type LinkCellProps, type LogicalOperator, type LucideIconName, MAX_COMPOSER_ATTACHMENT_BYTES, MAX_DECODE_BYTES, MediaControls, type MediaControlsProps, type MediaControlsVariants, type MediaLane, type MediaMarker, MediaMarkerTrack, type MediaMarkerTrackProps, type MediaMarkersVariants, MediaPlayer, type MediaPlayerContextValue, type MediaPlayerKind, type MediaPlayerProps, type MediaPlayerSource, type MediaPlayerVariants, type MediaSegment, MediaStage, MediaTimeline, type MediaTimelineProps, type MediaTimelineVariants, MediaVideoStage, type MediaVideoStageProps, type MediaVideoStageVariants, MediaWaveform, type MediaWaveformProps, type MediaWaveformStatus, type MediaWaveformVariants, Menu, MenuItem, type MenuItemProps, MenuPopover, type MenuPopoverProps, type MenuProps, MenuTrigger, MessageComposer, type MessageComposerProps, Modal, ModalBody, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, MultiSelect, type MultiSelectOption, type MultiSelectProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, type NavItemVariants, NavSection, type NavSectionProps, OPERATORS, type OperatorArity, type OperatorDescriptor, OperatorPicker, type OperatorPickerProps, Orb, type OrbProps, type OrbSizeToken, PROTECTED_COMBOS, type Platform, Popover, PopoverContent, type PopoverContentProps, PopoverPanelBody, PopoverPanelFooter, PopoverPanelHeader, PressableCard, type PressableCardProps, ProgressBar, type ProgressBarProps, type ProgressBarVariants, ProgressRing, type ProgressRingProps, type ProgressRingVariants, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RecipientSelect, type RecipientSelectProps, RecordFilterBuilderPanel, type RecordFilterBuilderPanelProps, RecordFilterButton, type RecordFilterButtonProps, RecordFilterChips, type RecordFilterChipsProps, RecordFilterEditor, type RecordFilterEditorProps, RenderChipItemProvider, RenderValueInputProvider, SELECTION_COLUMN_ID, type SearchRecipients, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlVariants, Select, type SelectOption, type SelectProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, type SkeletonVariants, Slider, type SliderProps, type SliderVariants, type SortDirection, type StepState, Stepper, type StepperOrientation, type StepperProps, StepperStep, type StepperStepProps, type StepperVariants, SubmenuTrigger, SuccessAnimation, type SuccessAnimationProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, TableHeaderSpacer, type TableProps, TableRow, type TableRowProps, TableScroller, type TableVariants, Tabs, type TabsListProps, type TabsPanelProps, type TabsRootProps, type TabsTriggerProps, type TabsVariants, TagInput, type TagInputProps, type TerminalKind, TextShimmer, type TextShimmerProps, type TextShimmerVariants, Textarea, type TextareaProps, TimeField, type TimeFieldProps, TimeSlotList, type TimeSlotListItem, type TimeSlotListProps, type TimeSlotListVariants, type ToastContent, type ToastOptions, type ToastQueue, ToastRegion, type ToastRegionProps, type ToastVariant, type ToastVariants, Tooltip, type TooltipProps, TooltipTrigger, TruncateCell, type TruncateCellProps, type UseCommandOptions, type UseEscapeKeyOptions, type UseInfiniteScrollSentinelOptions, __resetDraftMessageActions, __resetDraftMessageOutcomes, addLeaf as addFilterLeaf, addPendingLeaf, addSubgroup, arityOf, attachmentChipStyles, avaActionReviewRowStyles, avaActionReviewStyles, availabilityCalendarStyles, avatarGroupStyles, avatarStyles, badgeGroupOverflowStyles, badgeGroupStyles, badgeStyles, buttonStyles, cardStyles, channelIcon, cn, contactPhoneNumbers, conversationBriefCardStyles, conversationBriefOutcomeFor, countLeaves, createConversationBriefClient, createDraftMessageClient, createToastQueue, currentMediaMarkers, decodePeaks, defaultValueFor, draftMessageCardStyles, draftMessageComposerStyles, draftOutcomeFor, emptyStateStyles, fieldControlStyles, fieldErrorStyles, fieldHintStyles, fieldLabelStyles, fileViewerFallbackCardStyles, fileViewerStyles, fitBadgeCount, fitMediaBox, formatFileSize, formatMediaTime, formatValue, frameStripStyles, getPlatform, glowFrameStyles, iconForContentType, imageAttachmentStyles, imageLightboxStyles, isColumnDragData, isDialableConversationBrief, isDraftReviewOutcome, isEditableTarget, isPreviewableImageName, joinFieldLabel, makeActionsColumn, maskPeaks, mediaControlsStyles, mediaMarkersStyles, mediaPlayerStyles, mediaTimelineStyles, mediaVideoStageStyles, mediaWaveformStyles, messageComposerStyles, namesOf, navItemStyles, normalizeHexColor, operatorById, operatorsForType, parseCombo, peaksFromChannels, progressBarStyles, progressRingStyles, publishDraftMessageOutcome, rebaseRowOnFieldChange, rebaseRowOnOperatorChange, registerDraftMessageActions, removeLeaf, removeSubgroup, replaceLeaf, resolveLucideIcon, resolveLucideIconName, segmentedControlStyles, setJoiner, skeletonStyles, sliderStyles, spokenMediaTime, stepperStyles, subscribeDraftMessageOutcome, summaryFor, tableCellStyles, tableHeaderCellStyles, tabsStyles, terminalKindFor, textShimmerStyles, timeSlotListStyles, toastStyles, updateLeaf, updateSubgroup, useActiveCommands, useAttributeTypeIcon, useCommand, useDiscoveryActive, useDraftMessageActions, useDraftMessageOutcome, useEscapeKey, useInfiniteScrollSentinel, useMediaPlayer, useRenderChipItem, useRenderValueInput, useShowDetails, viewerKindForContentType, wrapLeafInGroup };
|