@sofya-ds/react 1.13.0 → 1.14.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 +1898 -301
- package/dist/index.css +1 -1
- package/dist/index.d.cts +250 -9
- package/dist/index.d.ts +250 -9
- package/dist/index.js +1893 -301
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ declare const badgeVariantOptions: readonly ["default", "secondary", "outline",
|
|
|
80
80
|
declare const badgeAlertOptions: readonly ["default", "medium", "high"];
|
|
81
81
|
declare const badgePillToneOptions: readonly ["neutral", "danger"];
|
|
82
82
|
declare const badgeVariants: (props?: ({
|
|
83
|
-
variant?: "default" | "destructive" | "success" | "warning" | "secondary" | "outline" |
|
|
83
|
+
variant?: "default" | "pill" | "destructive" | "success" | "warning" | "secondary" | "outline" | null | undefined;
|
|
84
84
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
85
85
|
declare const badgeAlertVariants: (props?: ({
|
|
86
86
|
alert?: "default" | "medium" | "high" | null | undefined;
|
|
@@ -100,12 +100,12 @@ declare function Badge({ className, variant, alert, pillTone, ...props }: BadgeP
|
|
|
100
100
|
declare const buttonLanguageLocaleOptions: readonly ["pt-BR", "en-US", "es-ES"];
|
|
101
101
|
type ButtonLanguageLocale = (typeof buttonLanguageLocaleOptions)[number];
|
|
102
102
|
|
|
103
|
-
declare const buttonVariantOptions: readonly ["default", "gradient", "dropdown", "icon", "language", "secondary", "outline", "ghost", "destructive"];
|
|
104
|
-
declare const buttonSizeOptions: readonly ["default", "sm", "lg", "icon"];
|
|
103
|
+
declare const buttonVariantOptions: readonly ["default", "gradient", "dropdown", "icon", "language", "secondary", "auth-outline", "outline", "ghost", "destructive"];
|
|
104
|
+
declare const buttonSizeOptions: readonly ["default", "sm", "lg", "toolbar", "auth", "icon"];
|
|
105
105
|
|
|
106
106
|
declare const buttonVariants: (props?: ({
|
|
107
|
-
variant?: "default" | "destructive" | "icon" | "secondary" | "gradient" | "dropdown" | "language" | "outline" | "ghost" | null | undefined;
|
|
108
|
-
size?: "sm" | "default" | "lg" | "icon" | null | undefined;
|
|
107
|
+
variant?: "default" | "destructive" | "icon" | "secondary" | "gradient" | "dropdown" | "language" | "auth-outline" | "outline" | "ghost" | null | undefined;
|
|
108
|
+
size?: "sm" | "default" | "lg" | "toolbar" | "icon" | "auth" | null | undefined;
|
|
109
109
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
110
110
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
111
111
|
active?: boolean;
|
|
@@ -323,6 +323,7 @@ declare const legacyIconToTablerNameMap: {
|
|
|
323
323
|
readonly lightbulb: "IconBulb";
|
|
324
324
|
readonly chats: "IconMessages";
|
|
325
325
|
readonly file: "IconFile";
|
|
326
|
+
readonly "file-text": "IconFileText";
|
|
326
327
|
readonly folders: "IconFolders";
|
|
327
328
|
readonly sparkle: "IconSparkles";
|
|
328
329
|
readonly x: "IconX";
|
|
@@ -330,6 +331,21 @@ declare const legacyIconToTablerNameMap: {
|
|
|
330
331
|
readonly search: "IconSearch";
|
|
331
332
|
readonly "arrow-up": "IconArrowUp";
|
|
332
333
|
readonly question: "IconHelpCircle";
|
|
334
|
+
readonly activity: "IconActivity";
|
|
335
|
+
readonly "activity-heartbeat": "IconActivityHeartbeat";
|
|
336
|
+
readonly "alert-circle": "IconAlertCircle";
|
|
337
|
+
readonly brain: "IconBrain";
|
|
338
|
+
readonly "clipboard-list": "IconClipboardList";
|
|
339
|
+
readonly "clipboard-text": "IconClipboardText";
|
|
340
|
+
readonly flask: "IconFlask";
|
|
341
|
+
readonly heartbeat: "IconHeartbeat";
|
|
342
|
+
readonly "list-check": "IconListCheck";
|
|
343
|
+
readonly notes: "IconNotes";
|
|
344
|
+
readonly pill: "IconPill";
|
|
345
|
+
readonly "report-medical": "IconReportMedical";
|
|
346
|
+
readonly stethoscope: "IconStethoscope";
|
|
347
|
+
readonly table: "IconTable";
|
|
348
|
+
readonly temperature: "IconTemperature";
|
|
333
349
|
readonly "user-filled": "IconUserFilled";
|
|
334
350
|
readonly "caret-up": "IconChevronUp";
|
|
335
351
|
readonly "caret-left": "IconChevronLeft";
|
|
@@ -444,7 +460,7 @@ type UploadInputProps = InputBaseProps$1 & Omit<React.InputHTMLAttributes<HTMLIn
|
|
|
444
460
|
variant: "upload";
|
|
445
461
|
};
|
|
446
462
|
|
|
447
|
-
declare const inputVariantOptions: readonly ["default", "search", "otp", "upload"];
|
|
463
|
+
declare const inputVariantOptions: readonly ["default", "auth-login", "search", "otp", "upload"];
|
|
448
464
|
type InputVariant = (typeof inputVariantOptions)[number];
|
|
449
465
|
|
|
450
466
|
type InputBaseProps = {
|
|
@@ -454,7 +470,7 @@ type InputBaseProps = {
|
|
|
454
470
|
type DefaultInputProps = InputBaseProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "className"> & {
|
|
455
471
|
label?: React.ReactNode;
|
|
456
472
|
labelClassName?: string;
|
|
457
|
-
variant?: "default";
|
|
473
|
+
variant?: "default" | "auth-login";
|
|
458
474
|
};
|
|
459
475
|
type SearchInputProps = InputBaseProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "className"> & {
|
|
460
476
|
label?: never;
|
|
@@ -702,6 +718,214 @@ interface RichTextToolbarButtonProps extends Omit<IconButtonProps, "selected" |
|
|
|
702
718
|
*/
|
|
703
719
|
declare const RichTextToolbarButton: React.ForwardRefExoticComponent<RichTextToolbarButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
704
720
|
|
|
721
|
+
declare const reasoningWidgetToneOptions: readonly ["default", "info", "success", "warning", "critical", "muted"];
|
|
722
|
+
declare const reasoningWidgetDensityOptions: readonly ["default", "compact"];
|
|
723
|
+
declare const reasoningWidgetVariantOptions: readonly ["flat", "outline", "muted", "suggestion"];
|
|
724
|
+
declare const reasoningWidgetActionScopeOptions: readonly ["item", "widget"];
|
|
725
|
+
declare const reasoningWidgetActionToneOptions: readonly ["primary", "neutral", "danger"];
|
|
726
|
+
declare const reasoningWidgetTableAlignOptions: readonly ["left", "center", "right"];
|
|
727
|
+
declare const reasoningWidgetTableColumnVariantOptions: readonly ["default", "value"];
|
|
728
|
+
declare const reasoningWidgetFrameOptions: readonly ["bordered", "minimal"];
|
|
729
|
+
type ReasoningWidgetTone = (typeof reasoningWidgetToneOptions)[number];
|
|
730
|
+
type ReasoningWidgetDensity = (typeof reasoningWidgetDensityOptions)[number];
|
|
731
|
+
type ReasoningWidgetVariant = (typeof reasoningWidgetVariantOptions)[number];
|
|
732
|
+
type ReasoningWidgetActionScope = (typeof reasoningWidgetActionScopeOptions)[number];
|
|
733
|
+
type ReasoningWidgetActionTone = (typeof reasoningWidgetActionToneOptions)[number];
|
|
734
|
+
type ReasoningWidgetTableAlign = (typeof reasoningWidgetTableAlignOptions)[number];
|
|
735
|
+
type ReasoningWidgetTableColumnVariant = (typeof reasoningWidgetTableColumnVariantOptions)[number];
|
|
736
|
+
type ReasoningWidgetFrame = (typeof reasoningWidgetFrameOptions)[number];
|
|
737
|
+
interface ReasoningWidgetActionDescriptor {
|
|
738
|
+
id: string;
|
|
739
|
+
label: string;
|
|
740
|
+
ariaLabel?: string;
|
|
741
|
+
disabled?: boolean;
|
|
742
|
+
event?: string;
|
|
743
|
+
icon?: IconName;
|
|
744
|
+
kind?: string;
|
|
745
|
+
metadata?: Record<string, unknown>;
|
|
746
|
+
scope?: ReasoningWidgetActionScope | string;
|
|
747
|
+
tone?: ReasoningWidgetActionTone;
|
|
748
|
+
}
|
|
749
|
+
interface ReasoningWidgetItemDescriptor {
|
|
750
|
+
id?: string;
|
|
751
|
+
evidence?: React.ReactNode;
|
|
752
|
+
label: React.ReactNode;
|
|
753
|
+
metadata?: Record<string, unknown>;
|
|
754
|
+
status?: React.ReactNode;
|
|
755
|
+
tone?: ReasoningWidgetTone;
|
|
756
|
+
value?: React.ReactNode;
|
|
757
|
+
}
|
|
758
|
+
interface ReasoningVitalsItemDescriptor extends ReasoningWidgetItemDescriptor {
|
|
759
|
+
observedAt?: React.ReactNode;
|
|
760
|
+
referenceRange?: React.ReactNode;
|
|
761
|
+
unit?: React.ReactNode;
|
|
762
|
+
}
|
|
763
|
+
interface ReasoningLabItemDescriptor extends ReasoningVitalsItemDescriptor {
|
|
764
|
+
interpretation?: React.ReactNode;
|
|
765
|
+
}
|
|
766
|
+
interface ReasoningLabsColumnLabels {
|
|
767
|
+
flag?: React.ReactNode;
|
|
768
|
+
reference?: React.ReactNode;
|
|
769
|
+
result?: React.ReactNode;
|
|
770
|
+
test?: React.ReactNode;
|
|
771
|
+
tone?: React.ReactNode;
|
|
772
|
+
}
|
|
773
|
+
interface ReasoningWidgetTableColumn {
|
|
774
|
+
key: string;
|
|
775
|
+
align?: ReasoningWidgetTableAlign;
|
|
776
|
+
header: React.ReactNode;
|
|
777
|
+
variant?: ReasoningWidgetTableColumnVariant;
|
|
778
|
+
width?: string;
|
|
779
|
+
}
|
|
780
|
+
interface ReasoningWidgetTableRow {
|
|
781
|
+
id?: string;
|
|
782
|
+
cells: Record<string, React.ReactNode>;
|
|
783
|
+
evidence?: React.ReactNode;
|
|
784
|
+
metadata?: Record<string, unknown>;
|
|
785
|
+
tone?: ReasoningWidgetTone;
|
|
786
|
+
}
|
|
787
|
+
interface ReasoningWidgetDescriptor {
|
|
788
|
+
id: string;
|
|
789
|
+
actions?: ReasoningWidgetActionDescriptor[];
|
|
790
|
+
component?: string;
|
|
791
|
+
data?: {
|
|
792
|
+
description?: React.ReactNode;
|
|
793
|
+
emptyLabel?: React.ReactNode;
|
|
794
|
+
frame?: ReasoningWidgetFrame;
|
|
795
|
+
impression?: React.ReactNode;
|
|
796
|
+
items?: ReasoningWidgetItemDescriptor[];
|
|
797
|
+
labColumnLabels?: ReasoningLabsColumnLabels;
|
|
798
|
+
rows?: ReasoningWidgetTableRow[];
|
|
799
|
+
tableColumns?: ReasoningWidgetTableColumn[];
|
|
800
|
+
title?: React.ReactNode;
|
|
801
|
+
};
|
|
802
|
+
description?: React.ReactNode;
|
|
803
|
+
emptyLabel?: React.ReactNode;
|
|
804
|
+
frame?: ReasoningWidgetFrame;
|
|
805
|
+
icon?: IconName;
|
|
806
|
+
items?: ReasoningWidgetItemDescriptor[];
|
|
807
|
+
region?: string;
|
|
808
|
+
sectionDivider?: boolean;
|
|
809
|
+
title: React.ReactNode;
|
|
810
|
+
type?: string;
|
|
811
|
+
}
|
|
812
|
+
type ReasoningWidgetItemEditableField = "evidence" | "label" | "observedAt" | "referenceRange" | "status" | "unit" | "value";
|
|
813
|
+
interface ReasoningWidgetActionEvent {
|
|
814
|
+
action: ReasoningWidgetActionDescriptor;
|
|
815
|
+
target?: ReasoningWidgetItemDescriptor | ReasoningWidgetTableRow;
|
|
816
|
+
widgetId?: string;
|
|
817
|
+
}
|
|
818
|
+
type ReasoningWidgetActionHandler = (event: ReasoningWidgetActionEvent) => void;
|
|
819
|
+
interface ReasoningWidgetItemEditEvent {
|
|
820
|
+
field: ReasoningWidgetItemEditableField;
|
|
821
|
+
item: ReasoningWidgetItemDescriptor;
|
|
822
|
+
value: string;
|
|
823
|
+
widgetId?: string;
|
|
824
|
+
}
|
|
825
|
+
type ReasoningWidgetItemEditHandler = (event: ReasoningWidgetItemEditEvent) => void;
|
|
826
|
+
interface ReasoningWidgetTableCellEditEvent {
|
|
827
|
+
columnKey: string;
|
|
828
|
+
row: ReasoningWidgetTableRow;
|
|
829
|
+
value: string;
|
|
830
|
+
widgetId?: string;
|
|
831
|
+
}
|
|
832
|
+
type ReasoningWidgetTableCellEditHandler = (event: ReasoningWidgetTableCellEditEvent) => void;
|
|
833
|
+
interface ReasoningSummaryEditEvent {
|
|
834
|
+
field: "clinicalImpression";
|
|
835
|
+
value: string;
|
|
836
|
+
widgetId?: string;
|
|
837
|
+
}
|
|
838
|
+
type ReasoningSummaryEditHandler = (event: ReasoningSummaryEditEvent) => void;
|
|
839
|
+
interface ReasoningWidgetActionButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onClick"> {
|
|
840
|
+
action: ReasoningWidgetActionDescriptor;
|
|
841
|
+
onAction?: ReasoningWidgetActionHandler;
|
|
842
|
+
target?: ReasoningWidgetItemDescriptor | ReasoningWidgetTableRow;
|
|
843
|
+
widgetId?: string;
|
|
844
|
+
}
|
|
845
|
+
declare const ReasoningWidgetActionButton: React.ForwardRefExoticComponent<ReasoningWidgetActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
846
|
+
interface ReasoningWidgetActionsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
847
|
+
actions?: ReasoningWidgetActionDescriptor[];
|
|
848
|
+
onAction?: ReasoningWidgetActionHandler;
|
|
849
|
+
reveal?: "always" | "item-hover" | "widget-hover";
|
|
850
|
+
target?: ReasoningWidgetItemDescriptor | ReasoningWidgetTableRow;
|
|
851
|
+
widgetId?: string;
|
|
852
|
+
}
|
|
853
|
+
declare const ReasoningWidgetActions: React.ForwardRefExoticComponent<ReasoningWidgetActionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
854
|
+
interface ReasoningWidgetProps extends Omit<React.HTMLAttributes<HTMLElement>, "title"> {
|
|
855
|
+
actions?: ReasoningWidgetActionDescriptor[];
|
|
856
|
+
description?: React.ReactNode;
|
|
857
|
+
density?: ReasoningWidgetDensity;
|
|
858
|
+
empty?: boolean;
|
|
859
|
+
emptyLabel?: React.ReactNode;
|
|
860
|
+
eyebrow?: React.ReactNode;
|
|
861
|
+
icon?: IconName;
|
|
862
|
+
onAction?: ReasoningWidgetActionHandler;
|
|
863
|
+
sectionDivider?: boolean;
|
|
864
|
+
title: React.ReactNode;
|
|
865
|
+
variant?: ReasoningWidgetVariant;
|
|
866
|
+
widgetId?: string;
|
|
867
|
+
}
|
|
868
|
+
declare const ReasoningWidget: React.ForwardRefExoticComponent<ReasoningWidgetProps & React.RefAttributes<HTMLElement>>;
|
|
869
|
+
interface ReasoningWidgetListProps extends Omit<React.HTMLAttributes<HTMLUListElement>, "children"> {
|
|
870
|
+
actions?: ReasoningWidgetActionDescriptor[];
|
|
871
|
+
editable?: boolean;
|
|
872
|
+
emptyLabel?: React.ReactNode;
|
|
873
|
+
items: ReasoningWidgetItemDescriptor[];
|
|
874
|
+
onAction?: ReasoningWidgetActionHandler;
|
|
875
|
+
onItemEdit?: ReasoningWidgetItemEditHandler;
|
|
876
|
+
widgetId?: string;
|
|
877
|
+
}
|
|
878
|
+
declare const ReasoningWidgetList: React.ForwardRefExoticComponent<ReasoningWidgetListProps & React.RefAttributes<HTMLUListElement>>;
|
|
879
|
+
interface ReasoningWidgetTableProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
880
|
+
actions?: ReasoningWidgetActionDescriptor[];
|
|
881
|
+
columns: ReasoningWidgetTableColumn[];
|
|
882
|
+
editable?: boolean;
|
|
883
|
+
emptyLabel?: React.ReactNode;
|
|
884
|
+
onAction?: ReasoningWidgetActionHandler;
|
|
885
|
+
onCellEdit?: ReasoningWidgetTableCellEditHandler;
|
|
886
|
+
rows: ReasoningWidgetTableRow[];
|
|
887
|
+
showHeader?: boolean;
|
|
888
|
+
widgetId?: string;
|
|
889
|
+
}
|
|
890
|
+
declare const ReasoningWidgetTable: React.ForwardRefExoticComponent<ReasoningWidgetTableProps & React.RefAttributes<HTMLDivElement>>;
|
|
891
|
+
interface ReasoningVitalsWidgetProps extends Omit<ReasoningWidgetProps, "children" | "empty" | "emptyLabel" | "title"> {
|
|
892
|
+
editable?: boolean;
|
|
893
|
+
emptyLabel?: React.ReactNode;
|
|
894
|
+
frame?: ReasoningWidgetFrame;
|
|
895
|
+
items: ReasoningVitalsItemDescriptor[];
|
|
896
|
+
onItemEdit?: ReasoningWidgetItemEditHandler;
|
|
897
|
+
title?: React.ReactNode;
|
|
898
|
+
}
|
|
899
|
+
declare const ReasoningVitalsWidget: React.ForwardRefExoticComponent<ReasoningVitalsWidgetProps & React.RefAttributes<HTMLElement>>;
|
|
900
|
+
interface ReasoningLabsWidgetProps extends Omit<ReasoningWidgetProps, "children" | "empty" | "emptyLabel" | "title"> {
|
|
901
|
+
columnLabels?: ReasoningLabsColumnLabels;
|
|
902
|
+
editable?: boolean;
|
|
903
|
+
emptyLabel?: React.ReactNode;
|
|
904
|
+
frame?: ReasoningWidgetFrame;
|
|
905
|
+
items: ReasoningLabItemDescriptor[];
|
|
906
|
+
onItemEdit?: ReasoningWidgetItemEditHandler;
|
|
907
|
+
title?: React.ReactNode;
|
|
908
|
+
}
|
|
909
|
+
declare const ReasoningLabsWidget: React.ForwardRefExoticComponent<ReasoningLabsWidgetProps & React.RefAttributes<HTMLElement>>;
|
|
910
|
+
interface ReasoningSummaryWidgetProps extends Omit<ReasoningWidgetProps, "children" | "empty" | "title"> {
|
|
911
|
+
clinicalImpression?: React.ReactNode;
|
|
912
|
+
editable?: boolean;
|
|
913
|
+
findings?: ReasoningWidgetItemDescriptor[];
|
|
914
|
+
onItemEdit?: ReasoningWidgetItemEditHandler;
|
|
915
|
+
onSummaryEdit?: ReasoningSummaryEditHandler;
|
|
916
|
+
title: React.ReactNode;
|
|
917
|
+
}
|
|
918
|
+
declare const ReasoningSummaryWidget: React.ForwardRefExoticComponent<ReasoningSummaryWidgetProps & React.RefAttributes<HTMLElement>>;
|
|
919
|
+
interface ReasoningWidgetRendererProps extends Omit<React.HTMLAttributes<HTMLElement>, "title"> {
|
|
920
|
+
editable?: boolean;
|
|
921
|
+
onAction?: ReasoningWidgetActionHandler;
|
|
922
|
+
onCellEdit?: ReasoningWidgetTableCellEditHandler;
|
|
923
|
+
onItemEdit?: ReasoningWidgetItemEditHandler;
|
|
924
|
+
onSummaryEdit?: ReasoningSummaryEditHandler;
|
|
925
|
+
widget: ReasoningWidgetDescriptor;
|
|
926
|
+
}
|
|
927
|
+
declare function ReasoningWidgetRenderer({ editable, onAction, onCellEdit, onItemEdit, onSummaryEdit, widget, ...props }: ReasoningWidgetRendererProps): react_jsx_runtime.JSX.Element;
|
|
928
|
+
|
|
705
929
|
interface RightRailActionProps extends Omit<IconButtonProps, "aria-label" | "icon" | "selected" | "size" | "variant"> {
|
|
706
930
|
"aria-label": string;
|
|
707
931
|
active?: boolean;
|
|
@@ -742,9 +966,22 @@ declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimit
|
|
|
742
966
|
|
|
743
967
|
declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
744
968
|
|
|
969
|
+
type SidebarNavItemAppearance = "settings" | "workspace";
|
|
970
|
+
interface SidebarNavProps extends React.HTMLAttributes<HTMLElement> {
|
|
971
|
+
/** Render as a different element/component. Defaults to nav. */
|
|
972
|
+
as?: React.ElementType;
|
|
973
|
+
}
|
|
974
|
+
type SidebarNavSectionProps = React.HTMLAttributes<HTMLDivElement>;
|
|
975
|
+
interface SidebarNavSectionLabelProps extends React.HTMLAttributes<HTMLElement> {
|
|
976
|
+
/** Semantic heading element for the section label. Defaults to h5. */
|
|
977
|
+
as?: React.ElementType;
|
|
978
|
+
}
|
|
979
|
+
type SidebarNavSectionItemsProps = React.HTMLAttributes<HTMLDivElement>;
|
|
745
980
|
interface SidebarNavItemProps extends React.HTMLAttributes<HTMLElement> {
|
|
746
981
|
/** Render as a different element/component (e.g. a router Link). */
|
|
747
982
|
as?: React.ElementType;
|
|
983
|
+
/** Visual treatment. `settings` keeps the legacy selected surface. */
|
|
984
|
+
appearance?: SidebarNavItemAppearance;
|
|
748
985
|
/** Marks the item as the current/selected destination. */
|
|
749
986
|
active?: boolean;
|
|
750
987
|
disabled?: boolean;
|
|
@@ -752,6 +989,10 @@ interface SidebarNavItemProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
752
989
|
icon?: React.ReactNode;
|
|
753
990
|
href?: string;
|
|
754
991
|
}
|
|
992
|
+
declare const SidebarNav: React.ForwardRefExoticComponent<SidebarNavProps & React.RefAttributes<HTMLElement>>;
|
|
993
|
+
declare const SidebarNavSection: React.ForwardRefExoticComponent<SidebarNavSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
994
|
+
declare const SidebarNavSectionLabel: React.ForwardRefExoticComponent<SidebarNavSectionLabelProps & React.RefAttributes<HTMLElement>>;
|
|
995
|
+
declare const SidebarNavSectionItems: React.ForwardRefExoticComponent<SidebarNavSectionItemsProps & React.RefAttributes<HTMLDivElement>>;
|
|
755
996
|
/**
|
|
756
997
|
* Lateral navigation item (settings / left sidebar).
|
|
757
998
|
*
|
|
@@ -1100,7 +1341,7 @@ type TextWeight = React.CSSProperties["fontWeight"];
|
|
|
1100
1341
|
type TextVariant = "default" | "gradient" | "shiny" | "split";
|
|
1101
1342
|
type TextTone = "default" | "soft" | "subtle";
|
|
1102
1343
|
type TextSplitType = "chars" | "words" | "words, chars";
|
|
1103
|
-
declare const textSizeOptions: readonly ["display-xl", "display-lg", "heading-xl", "heading-lg", "heading-md", "h1", "h2", "h3", "h4", "h5", "encounter-title", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body", "label-md", "section-label", "eyebrow-md", "overline-md", "sidebar-title", "sidebar-title-regular", "sidebar-title-strong", "sidebar-label", "sidebar-label-strong", "sidebar-body", "sidebar-tag", "encounter-chip", "encounter-history", "caption", "eyebrow", "tiny", "extra-tiny", "code-sm"];
|
|
1344
|
+
declare const textSizeOptions: readonly ["display-xl", "display-lg", "heading-xl", "heading-lg", "heading-md", "settings-page-title", "home-inline-encounter-title", "home-inline-encounter-action", "h1", "h2", "h3", "h4", "h5", "encounter-title", "title-md", "title-sm", "body-lg", "body-md", "body-sm", "body", "clinical-body", "label-md", "settings-section-title", "clinical-section-title", "section-label", "eyebrow-md", "overline-md", "sidebar-title", "sidebar-title-regular", "sidebar-title-strong", "sidebar-label", "sidebar-label-strong", "sidebar-body", "sidebar-tag", "encounter-chip", "encounter-history", "caption", "eyebrow", "tiny", "extra-tiny", "code-sm"];
|
|
1104
1345
|
declare const textVariantOptions: readonly ["default", "gradient", "shiny", "split"];
|
|
1105
1346
|
declare const textToneOptions: readonly ["default", "soft", "subtle"];
|
|
1106
1347
|
declare const textSplitTypeOptions: readonly ["chars", "words", "words, chars"];
|
|
@@ -1136,4 +1377,4 @@ interface SofyaProviderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1136
1377
|
}
|
|
1137
1378
|
declare function SofyaProvider({ preset, overrides, className, style, children, ...props }: SofyaProviderProps): react_jsx_runtime.JSX.Element;
|
|
1138
1379
|
|
|
1139
|
-
export { Accordion, type AccordionAppearance, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertProps, type AlertSize, AlertTitle, type AlertTone, Avatar, type AvatarProps, Badge, type BadgeAlert, type BadgePillTone, type BadgeProps, type BadgeVariant, Button, type ButtonLanguageLocale, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CloseButton, type CloseButtonProps, Cluster, type ClusterProps, Container, type ContainerProps, Dialog, DialogBody, DialogCancel, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DocumentCard, type DocumentCardProps, Dropdown, type DropdownAppearance, type DropdownItem, type DropdownProps, DropdownSearch, type DropdownSearchOption, type DropdownSearchProps, type DropdownSubItem, type DropdownTriggerSize, type DropdownVariant, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconColor, type IconName, type IconProps, type IconSize, Inline, type InlineProps, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, Link, type LinkProps, Logo, type LogoProps, type LogoSize, type LogoVariant, type NotificationVariant, type NotifyOptions, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverClose, PopoverCloseButton, PopoverContent, PopoverDescription, PopoverPortal, PopoverTitle, PopoverTrigger, PrivacyLabel, type PrivacyLabelProps, type PrivacyLevel, Progress, type ProgressProps, type ProgressSize, ProseDialogBody, ProseDialogContent, type ProseDialogContentProps, ProseDialogDescription, ProseDialogHeader, ProseDialogTitle, RadioGroup, RadioGroupItem, type RadioGroupItemProps, RadioGroupOption, RadioGroupOptionAvatar, type RadioGroupOptionAvatarProps, RadioGroupOptionDescription, type RadioGroupOptionDescriptionProps, RadioGroupOptionIndicator, type RadioGroupOptionIndicatorProps, RadioGroupOptionLabel, type RadioGroupOptionLabelProps, type RadioGroupOptionProps, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupVariant, RichTextToolbar, RichTextToolbarButton, type RichTextToolbarButtonProps, RichTextToolbarGroup, type RichTextToolbarProps, RichTextToolbarSeparator, RightRailAction, type RightRailActionProps, ScrollArea, ScrollAreaCorner, type ScrollAreaOrientation, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaViewport, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, type SelectSize, SelectTrigger, SelectValue, Separator, SettingsNavItem, SidebarNavItem, type SidebarNavItemProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SofyaProvider, type SofyaProviderProps, Spinner, type SpinnerProps, type SpinnerSize, Stack, type StackProps, StatusIndicator, type StatusIndicatorProps, StatusTooltip, type StatusTooltipProps, Surface, type SurfaceVariant, Switch, type SwitchProps, type SwitchSize, Table, TableActionButton, type TableActionButtonProps, TableActions, TableBody, TableCaption, TableCell, TableCellDescription, type TableCellDescriptionProps, type TableCellProps, TableCellTitle, type TableCellTitleProps, type TableDensity, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, TableStatusBadge, type TableStatusBadgeProps, type TableTextSize, Tabs, type TabsItem, type TabsProps, Tag, type TagProps, type TagStatusTone, type TagVariant, TemplateCard, type TemplateCardFavoriteDisplay, type TemplateCardLayout, type TemplateCardMetaPlacement, type TemplateCardProps, TemplateListItem, Text, type TextProps, type TextSize, type TextSplitType, type TextTone, type TextVariant, type TextWeight, Textarea, type TextareaProps, Toaster, type ToasterProps, Toggle, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, type TooltipTone, TooltipTrigger, type UploadKind, type WorkflowStatus, type WorkflowStatusDescriptor, accordionAppearanceOptions, alertSizeOptions, alertToneOptions, avatarSizeOptions, avatarVariants, badgeAlertOptions, badgeAlertVariants, badgePillToneOptions, badgePillVariants, badgeVariantOptions, badgeVariants, buttonLanguageLocaleOptions, buttonSizeOptions, buttonVariantOptions, buttonVariants, cardVariants, dropdownAppearanceOptions, dropdownLanguageItems, dropdownTriggerSizeOptions, dropdownVariantOptions, emptyMediaVariantOptions, iconButtonSizeOptions, iconButtonVariantOptions, iconColorOptions, iconNames, iconSizeMap, iconSizeOptions, inputVariantOptions, isTextContent, logoSizeOptions, logoVariants, notificationVariantOptions, notify, paginationLinkVariants, privacyLevelOptions, progressSizeOptions, radioGroupOrientationOptions, radioGroupVariantOptions, renderTextContent, resolveWorkflowStatus, scrollAreaOrientationOptions, selectSizeOptions, spinnerSizeOptions, surfaceVariantOptions, switchSizeOptions, tableActionToneOptions, tableCellVariantOptions, tableDensityOptions, tableStatusToneOptions, tagStatusToneOptions, tagVariantOptions, templateCardFavoriteDisplayOptions, templateCardLayoutOptions, templateCardMetaPlacementOptions, textSizeOptions, textSplitTypeOptions, textToneOptions, textVariantOptions, tooltipToneOptions, uploadKindOptions, workflowStatusOptions };
|
|
1380
|
+
export { Accordion, type AccordionAppearance, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertProps, type AlertSize, AlertTitle, type AlertTone, Avatar, type AvatarProps, Badge, type BadgeAlert, type BadgePillTone, type BadgeProps, type BadgeVariant, Button, type ButtonLanguageLocale, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, CloseButton, type CloseButtonProps, Cluster, type ClusterProps, Container, type ContainerProps, Dialog, DialogBody, DialogCancel, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DocumentCard, type DocumentCardProps, Dropdown, type DropdownAppearance, type DropdownItem, type DropdownProps, DropdownSearch, type DropdownSearchOption, type DropdownSearchProps, type DropdownSubItem, type DropdownTriggerSize, type DropdownVariant, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconColor, type IconName, type IconProps, type IconSize, Inline, type InlineProps, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, Link, type LinkProps, Logo, type LogoProps, type LogoSize, type LogoVariant, type NotificationVariant, type NotifyOptions, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverClose, PopoverCloseButton, PopoverContent, PopoverDescription, PopoverPortal, PopoverTitle, PopoverTrigger, PrivacyLabel, type PrivacyLabelProps, type PrivacyLevel, Progress, type ProgressProps, type ProgressSize, ProseDialogBody, ProseDialogContent, type ProseDialogContentProps, ProseDialogDescription, ProseDialogHeader, ProseDialogTitle, RadioGroup, RadioGroupItem, type RadioGroupItemProps, RadioGroupOption, RadioGroupOptionAvatar, type RadioGroupOptionAvatarProps, RadioGroupOptionDescription, type RadioGroupOptionDescriptionProps, RadioGroupOptionIndicator, type RadioGroupOptionIndicatorProps, RadioGroupOptionLabel, type RadioGroupOptionLabelProps, type RadioGroupOptionProps, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupVariant, type ReasoningLabItemDescriptor, type ReasoningLabsColumnLabels, ReasoningLabsWidget, type ReasoningLabsWidgetProps, type ReasoningSummaryEditEvent, type ReasoningSummaryEditHandler, ReasoningSummaryWidget, type ReasoningSummaryWidgetProps, type ReasoningVitalsItemDescriptor, ReasoningVitalsWidget, type ReasoningVitalsWidgetProps, ReasoningWidget, ReasoningWidgetActionButton, type ReasoningWidgetActionButtonProps, type ReasoningWidgetActionDescriptor, type ReasoningWidgetActionEvent, type ReasoningWidgetActionHandler, type ReasoningWidgetActionScope, type ReasoningWidgetActionTone, ReasoningWidgetActions, type ReasoningWidgetActionsProps, type ReasoningWidgetDensity, type ReasoningWidgetDescriptor, type ReasoningWidgetFrame, type ReasoningWidgetItemDescriptor, type ReasoningWidgetItemEditEvent, type ReasoningWidgetItemEditHandler, type ReasoningWidgetItemEditableField, ReasoningWidgetList, type ReasoningWidgetListProps, type ReasoningWidgetProps, ReasoningWidgetRenderer, type ReasoningWidgetRendererProps, ReasoningWidgetTable, type ReasoningWidgetTableAlign, type ReasoningWidgetTableCellEditEvent, type ReasoningWidgetTableCellEditHandler, type ReasoningWidgetTableColumn, type ReasoningWidgetTableColumnVariant, type ReasoningWidgetTableProps, type ReasoningWidgetTableRow, type ReasoningWidgetTone, type ReasoningWidgetVariant, RichTextToolbar, RichTextToolbarButton, type RichTextToolbarButtonProps, RichTextToolbarGroup, type RichTextToolbarProps, RichTextToolbarSeparator, RightRailAction, type RightRailActionProps, ScrollArea, ScrollAreaCorner, type ScrollAreaOrientation, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaViewport, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, type SelectSize, SelectTrigger, SelectValue, Separator, SettingsNavItem, SidebarNav, SidebarNavItem, type SidebarNavItemAppearance, type SidebarNavItemProps, type SidebarNavProps, SidebarNavSection, SidebarNavSectionItems, SidebarNavSectionLabel, type SidebarNavSectionLabelProps, Skeleton, type SkeletonProps, Slider, type SliderProps, SofyaProvider, type SofyaProviderProps, Spinner, type SpinnerProps, type SpinnerSize, Stack, type StackProps, StatusIndicator, type StatusIndicatorProps, StatusTooltip, type StatusTooltipProps, Surface, type SurfaceVariant, Switch, type SwitchProps, type SwitchSize, Table, TableActionButton, type TableActionButtonProps, TableActions, TableBody, TableCaption, TableCell, TableCellDescription, type TableCellDescriptionProps, type TableCellProps, TableCellTitle, type TableCellTitleProps, type TableDensity, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, TableStatusBadge, type TableStatusBadgeProps, type TableTextSize, Tabs, type TabsItem, type TabsProps, Tag, type TagProps, type TagStatusTone, type TagVariant, TemplateCard, type TemplateCardFavoriteDisplay, type TemplateCardLayout, type TemplateCardMetaPlacement, type TemplateCardProps, TemplateListItem, Text, type TextProps, type TextSize, type TextSplitType, type TextTone, type TextVariant, type TextWeight, Textarea, type TextareaProps, Toaster, type ToasterProps, Toggle, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, type TooltipTone, TooltipTrigger, type UploadKind, type WorkflowStatus, type WorkflowStatusDescriptor, accordionAppearanceOptions, alertSizeOptions, alertToneOptions, avatarSizeOptions, avatarVariants, badgeAlertOptions, badgeAlertVariants, badgePillToneOptions, badgePillVariants, badgeVariantOptions, badgeVariants, buttonLanguageLocaleOptions, buttonSizeOptions, buttonVariantOptions, buttonVariants, cardVariants, dropdownAppearanceOptions, dropdownLanguageItems, dropdownTriggerSizeOptions, dropdownVariantOptions, emptyMediaVariantOptions, iconButtonSizeOptions, iconButtonVariantOptions, iconColorOptions, iconNames, iconSizeMap, iconSizeOptions, inputVariantOptions, isTextContent, logoSizeOptions, logoVariants, notificationVariantOptions, notify, paginationLinkVariants, privacyLevelOptions, progressSizeOptions, radioGroupOrientationOptions, radioGroupVariantOptions, reasoningWidgetActionScopeOptions, reasoningWidgetActionToneOptions, reasoningWidgetDensityOptions, reasoningWidgetFrameOptions, reasoningWidgetTableAlignOptions, reasoningWidgetTableColumnVariantOptions, reasoningWidgetToneOptions, reasoningWidgetVariantOptions, renderTextContent, resolveWorkflowStatus, scrollAreaOrientationOptions, selectSizeOptions, spinnerSizeOptions, surfaceVariantOptions, switchSizeOptions, tableActionToneOptions, tableCellVariantOptions, tableDensityOptions, tableStatusToneOptions, tagStatusToneOptions, tagVariantOptions, templateCardFavoriteDisplayOptions, templateCardLayoutOptions, templateCardMetaPlacementOptions, textSizeOptions, textSplitTypeOptions, textToneOptions, textVariantOptions, tooltipToneOptions, uploadKindOptions, workflowStatusOptions };
|