@danxbot/ui 4.0.0 → 4.1.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.
|
@@ -18,6 +18,20 @@ export interface ProvenanceDetailProps {
|
|
|
18
18
|
emptyLabel?: string;
|
|
19
19
|
/** Shown in place of the value when the viewer may not see it. */
|
|
20
20
|
redactedLabel?: string;
|
|
21
|
+
/**
|
|
22
|
+
* YOUR word for what a discrete rating is a rating OF — "Self-rated
|
|
23
|
+
* certainty", "Reviewer score" — at the head of its accessible name and
|
|
24
|
+
* tooltip.
|
|
25
|
+
*
|
|
26
|
+
* A rating is drawn as pips and pips carry no words on their face, so this is
|
|
27
|
+
* the only place its meaning is stated to a reader who stops on it. The
|
|
28
|
+
* library's own default is the blandest true word, because a default naming
|
|
29
|
+
* anybody's domain would be a lie in everybody else's. Ignored for a
|
|
30
|
+
* continuous score, which says its own band aloud.
|
|
31
|
+
*
|
|
32
|
+
* @default "Confidence"
|
|
33
|
+
*/
|
|
34
|
+
ratingLabel?: string;
|
|
21
35
|
/**
|
|
22
36
|
* Draw the VALUE yourself — an editor, most usefully.
|
|
23
37
|
*
|
|
@@ -59,4 +73,4 @@ export interface ProvenanceDetailProps {
|
|
|
59
73
|
titleAs?: ProvenanceDetailTitleAs;
|
|
60
74
|
className?: string;
|
|
61
75
|
}
|
|
62
|
-
export declare function ProvenanceDetail({ record, actions, emptyLabel, redactedLabel, valueContent, titleId, titleAs: Title, className, }: ProvenanceDetailProps): import("react").JSX.Element;
|
|
76
|
+
export declare function ProvenanceDetail({ record, actions, emptyLabel, redactedLabel, ratingLabel, valueContent, titleId, titleAs: Title, className, }: ProvenanceDetailProps): import("react").JSX.Element;
|
|
@@ -10,6 +10,8 @@ export interface ProvenanceDisclosureProps {
|
|
|
10
10
|
emptyLabel?: string;
|
|
11
11
|
/** Shown in place of the value when the viewer may not see it. */
|
|
12
12
|
redactedLabel?: string;
|
|
13
|
+
/** Your word for what a discrete rating is OF. {@link ProvenanceDetailProps.ratingLabel} */
|
|
14
|
+
ratingLabel?: string;
|
|
13
15
|
/**
|
|
14
16
|
* How the state reads ON THE TRIGGER. The panel always shows icon + word.
|
|
15
17
|
*
|
|
@@ -83,4 +85,4 @@ export interface ProvenanceDisclosureProps {
|
|
|
83
85
|
onOpenChange?: (open: boolean) => void;
|
|
84
86
|
className?: string;
|
|
85
87
|
}
|
|
86
|
-
export declare function ProvenanceDisclosure({ record, actions, emptyLabel, redactedLabel, triggerBadge, valueWrap, triggerContent, valueContent, onOpenChange, className, }: ProvenanceDisclosureProps): import("react").JSX.Element;
|
|
88
|
+
export declare function ProvenanceDisclosure({ record, actions, emptyLabel, redactedLabel, ratingLabel, triggerBadge, valueWrap, triggerContent, valueContent, onOpenChange, className, }: ProvenanceDisclosureProps): import("react").JSX.Element;
|