@xenide-io/the-old-ui-theme 0.3.0 → 0.3.2
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/chunk-5HSOBJ4F.mjs +5968 -0
- package/dist/{index-D1RTT2Ap.d.mts → index-BgG8Homu.d.mts} +419 -2
- package/dist/{index-D1RTT2Ap.d.ts → index-BgG8Homu.d.ts} +419 -2
- package/dist/index.d.mts +198 -95
- package/dist/index.d.ts +198 -95
- package/dist/index.js +2995 -1136
- package/dist/index.mjs +629 -735
- package/dist/ui.d.mts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +1986 -156
- package/dist/ui.mjs +76 -3
- package/package.json +4 -14
- package/src/app/globals.css +976 -2
- package/src/components/charts/index.ts +9 -8
- package/src/components/charts/quill/BarChart.tsx +85 -0
- package/src/components/charts/quill/FunnelChart.tsx +49 -0
- package/src/components/charts/quill/InsightShell.tsx +27 -0
- package/src/components/charts/quill/MetricCard.tsx +44 -0
- package/src/components/charts/quill/PieChart.tsx +81 -0
- package/src/components/charts/quill/Sparkline.tsx +57 -0
- package/src/components/charts/quill/TimeSeriesLineChart.tsx +62 -0
- package/src/components/charts/quill/index.ts +9 -0
- package/src/components/icons/icons.tsx +2 -0
- package/src/components/icons/index.ts +3 -0
- package/src/components/icons/lemon-brand-icons.tsx +16 -0
- package/src/components/icons/lemon-category-icons.tsx +72 -0
- package/src/components/icons/lemon-icons.tsx +57 -0
- package/src/components/sections/IconShowcase.tsx +110 -7
- package/src/components/sections/NewComponentsShowcase.tsx +1052 -0
- package/src/components/sections/ProductLayoutsShowcase.tsx +57 -117
- package/src/components/sections/QuillChartShowcase.tsx +92 -0
- package/src/components/sections/QuillDashboardShowcase.tsx +149 -0
- package/src/components/sections/SidebarShowcase.tsx +152 -0
- package/src/components/sections/TableShowcase.tsx +2 -0
- package/src/components/sections/TooltipShowcase.tsx +19 -25
- package/src/components/ui/AlertDialog.tsx +62 -0
- package/src/components/ui/AppLayout.tsx +27 -0
- package/src/components/ui/Autocomplete.tsx +106 -0
- package/src/components/ui/Banner.tsx +63 -0
- package/src/components/ui/ButtonGroup.tsx +16 -0
- package/src/components/ui/Chip.tsx +46 -0
- package/src/components/ui/Collapsible.tsx +46 -0
- package/src/components/ui/Combobox.tsx +119 -0
- package/src/components/ui/ContextMenu.tsx +81 -0
- package/src/components/ui/DataTable.tsx +133 -0
- package/src/components/ui/DatePicker.tsx +96 -0
- package/src/components/ui/Dialog.tsx +75 -0
- package/src/components/ui/Divider.tsx +39 -0
- package/src/components/ui/Dot.tsx +32 -0
- package/src/components/ui/InputGroup.tsx +16 -0
- package/src/components/ui/Lettermark.tsx +47 -0
- package/src/components/ui/Link.tsx +32 -0
- package/src/components/ui/LoadingBar.tsx +25 -0
- package/src/components/ui/Menubar.tsx +66 -0
- package/src/components/ui/Metric.tsx +34 -0
- package/src/components/ui/NumberField.tsx +76 -0
- package/src/components/ui/Popover.tsx +73 -0
- package/src/components/ui/ProgressCircle.tsx +63 -0
- package/src/components/ui/Resizable.tsx +71 -0
- package/src/components/ui/Row.tsx +51 -0
- package/src/components/ui/ScrollArea.tsx +54 -0
- package/src/components/ui/Sidebar.tsx +77 -0
- package/src/components/ui/Snack.tsx +48 -0
- package/src/components/ui/Spinner.tsx +30 -0
- package/src/components/ui/Splotch.tsx +33 -0
- package/src/components/ui/Table.tsx +2 -0
- package/src/components/ui/Tag.tsx +65 -0
- package/src/components/ui/Toggle.tsx +62 -0
- package/src/components/ui/Tooltip.test.tsx +58 -0
- package/src/components/ui/Tooltip.tsx +211 -0
- package/src/components/ui/Widget.tsx +31 -0
- package/src/components/ui/index.ts +275 -21
- package/dist/chunk-FDMD3IIN.mjs +0 -3831
- package/src/components/charts/ph-insight-charts.tsx +0 -162
- package/src/components/dashboard/DashboardFiltersBar.tsx +0 -19
- package/src/components/dashboard/DashboardGrid.tsx +0 -23
- package/src/components/dashboard/DashboardInsightPlaceholder.tsx +0 -37
- package/src/components/dashboard/DashboardKpiCard.tsx +0 -25
- package/src/components/dashboard/DashboardToolbar.tsx +0 -23
- package/src/components/dashboard/DashboardWell.tsx +0 -10
- package/src/components/dashboard/InsightMiniCard.tsx +0 -26
- package/src/components/dashboard/InsightShell.tsx +0 -37
- package/src/components/dashboard/InsightShellHeader.tsx +0 -22
- package/src/components/dashboard/MiniTrendBars.tsx +0 -51
- package/src/components/dashboard/index.ts +0 -31
- package/src/components/dashboard/types.ts +0 -9
- package/src/components/sections/ChartShowcase.tsx +0 -190
- package/src/components/sections/DashboardShowcase.tsx +0 -191
- package/src/components/sections/StatShowcase.tsx +0 -129
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, AriaAttributes, ComponentPropsWithoutRef, CSSProperties, SVGAttributes } from 'react';
|
|
2
|
+
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, AriaAttributes, ComponentPropsWithoutRef, CSSProperties, SVGAttributes, ReactElement, AnchorHTMLAttributes, InputHTMLAttributes } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as DropdownPrimitive from '@radix-ui/react-dropdown-menu';
|
|
5
5
|
|
|
@@ -797,6 +797,29 @@ interface HoverCardProps {
|
|
|
797
797
|
}
|
|
798
798
|
declare function HoverCard({ trigger, children, className }: HoverCardProps): react_jsx_runtime.JSX.Element;
|
|
799
799
|
|
|
800
|
+
type TooltipSide = "top" | "right" | "bottom" | "left";
|
|
801
|
+
type TooltipAlign = "start" | "center" | "end";
|
|
802
|
+
interface TooltipProviderProps {
|
|
803
|
+
children: ReactNode;
|
|
804
|
+
delayDuration?: number;
|
|
805
|
+
}
|
|
806
|
+
interface TooltipProps {
|
|
807
|
+
content: ReactNode;
|
|
808
|
+
children: ReactElement<HTMLAttributes<HTMLElement>>;
|
|
809
|
+
side?: TooltipSide;
|
|
810
|
+
align?: TooltipAlign;
|
|
811
|
+
sideOffset?: number;
|
|
812
|
+
collisionPadding?: number;
|
|
813
|
+
className?: string;
|
|
814
|
+
open?: boolean;
|
|
815
|
+
defaultOpen?: boolean;
|
|
816
|
+
onOpenChange?: (open: boolean) => void;
|
|
817
|
+
delayDuration?: number;
|
|
818
|
+
disableHoverableContent?: boolean;
|
|
819
|
+
}
|
|
820
|
+
declare function TooltipProvider({ children, delayDuration, }: TooltipProviderProps): react_jsx_runtime.JSX.Element;
|
|
821
|
+
declare function Tooltip({ content, children, side, align, sideOffset, className, open, defaultOpen, onOpenChange, delayDuration, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
822
|
+
|
|
800
823
|
interface EmptyStateProps {
|
|
801
824
|
icon?: React.ReactNode;
|
|
802
825
|
title: string;
|
|
@@ -1041,4 +1064,398 @@ interface TimelineProps extends ComponentPropsWithoutRef<"ol"> {
|
|
|
1041
1064
|
}
|
|
1042
1065
|
declare function Timeline({ events, alternate, className, ...props }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
1043
1066
|
|
|
1044
|
-
|
|
1067
|
+
type BannerType = "info" | "success" | "warning" | "danger" | "ai";
|
|
1068
|
+
interface BannerProps extends HTMLAttributes<HTMLDivElement> {
|
|
1069
|
+
type?: BannerType;
|
|
1070
|
+
onClose?: () => void;
|
|
1071
|
+
action?: ReactNode;
|
|
1072
|
+
hideIcon?: boolean;
|
|
1073
|
+
square?: boolean;
|
|
1074
|
+
icon?: ReactNode;
|
|
1075
|
+
children: ReactNode;
|
|
1076
|
+
}
|
|
1077
|
+
declare const Banner: react.ForwardRefExoticComponent<BannerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1078
|
+
|
|
1079
|
+
interface DialogProps extends Omit<ModalProps, "onClose"> {
|
|
1080
|
+
isOpen?: boolean;
|
|
1081
|
+
onClose?: () => void;
|
|
1082
|
+
onConfirm?: () => void | Promise<void>;
|
|
1083
|
+
confirmText?: string;
|
|
1084
|
+
cancelText?: string;
|
|
1085
|
+
confirmProps?: Partial<ButtonProps>;
|
|
1086
|
+
cancelProps?: Partial<ButtonProps>;
|
|
1087
|
+
children?: ReactNode;
|
|
1088
|
+
}
|
|
1089
|
+
declare function Dialog({ isOpen: openProp, onClose, onConfirm, confirmText, cancelText, confirmProps, cancelProps, children, title, ...modalProps }: DialogProps): react_jsx_runtime.JSX.Element;
|
|
1090
|
+
declare namespace Dialog {
|
|
1091
|
+
var displayName: string;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
interface DividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
1095
|
+
vertical?: boolean;
|
|
1096
|
+
dashed?: boolean;
|
|
1097
|
+
thick?: boolean;
|
|
1098
|
+
label?: string;
|
|
1099
|
+
}
|
|
1100
|
+
declare function Divider({ vertical, dashed, thick, label, className, ...props }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
1101
|
+
declare namespace Divider {
|
|
1102
|
+
var displayName: string;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
type TagType = "default" | "primary" | "success" | "warning" | "danger" | "info" | "muted" | "highlight";
|
|
1106
|
+
interface TagProps extends HTMLAttributes<HTMLDivElement> {
|
|
1107
|
+
type?: TagType;
|
|
1108
|
+
size?: "sm" | "md";
|
|
1109
|
+
icon?: ReactNode;
|
|
1110
|
+
closable?: boolean;
|
|
1111
|
+
onClose?: () => void;
|
|
1112
|
+
children: ReactNode;
|
|
1113
|
+
}
|
|
1114
|
+
declare const Tag: react.ForwardRefExoticComponent<TagProps & react.RefAttributes<HTMLDivElement>>;
|
|
1115
|
+
|
|
1116
|
+
interface ProgressCircleProps extends HTMLAttributes<HTMLSpanElement> {
|
|
1117
|
+
progress: number;
|
|
1118
|
+
size?: number;
|
|
1119
|
+
strokeWidth?: number;
|
|
1120
|
+
children?: ReactNode;
|
|
1121
|
+
}
|
|
1122
|
+
declare function ProgressCircle({ progress, size, strokeWidth: sw, children, className, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
1123
|
+
declare namespace ProgressCircle {
|
|
1124
|
+
var displayName: string;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
interface RowProps extends HTMLAttributes<HTMLDivElement> {
|
|
1128
|
+
icon?: ReactElement | null;
|
|
1129
|
+
sideIcon?: ReactElement | null;
|
|
1130
|
+
status?: "default" | "success" | "warning" | "danger" | "muted";
|
|
1131
|
+
fullWidth?: boolean;
|
|
1132
|
+
center?: boolean;
|
|
1133
|
+
size?: "sm" | "md" | "lg";
|
|
1134
|
+
children?: ReactNode;
|
|
1135
|
+
}
|
|
1136
|
+
declare const Row: react.ForwardRefExoticComponent<RowProps & react.RefAttributes<HTMLDivElement>>;
|
|
1137
|
+
|
|
1138
|
+
interface WidgetProps {
|
|
1139
|
+
title: ReactNode;
|
|
1140
|
+
onClose?: () => void;
|
|
1141
|
+
actions?: ReactNode;
|
|
1142
|
+
children?: ReactNode;
|
|
1143
|
+
className?: string;
|
|
1144
|
+
}
|
|
1145
|
+
declare function Widget({ title, onClose, actions, children, className }: WidgetProps): react_jsx_runtime.JSX.Element;
|
|
1146
|
+
declare namespace Widget {
|
|
1147
|
+
var displayName: string;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
interface LettermarkProps extends HTMLAttributes<HTMLDivElement> {
|
|
1151
|
+
name?: string | number | null;
|
|
1152
|
+
index?: number;
|
|
1153
|
+
rounded?: boolean;
|
|
1154
|
+
outlined?: boolean;
|
|
1155
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
1156
|
+
}
|
|
1157
|
+
declare const Lettermark: react.ForwardRefExoticComponent<LettermarkProps & react.RefAttributes<HTMLDivElement>>;
|
|
1158
|
+
|
|
1159
|
+
type SplotchColor = "purple" | "blue" | "green" | "black" | "white" | "orange" | "red" | "yellow";
|
|
1160
|
+
interface SplotchProps extends HTMLAttributes<HTMLDivElement> {
|
|
1161
|
+
color: SplotchColor;
|
|
1162
|
+
}
|
|
1163
|
+
declare function Splotch({ color, className, ...props }: SplotchProps): react_jsx_runtime.JSX.Element;
|
|
1164
|
+
declare namespace Splotch {
|
|
1165
|
+
var displayName: string;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
interface PopoverProps extends HTMLAttributes<HTMLDivElement> {
|
|
1169
|
+
trigger: ReactNode;
|
|
1170
|
+
children: ReactNode;
|
|
1171
|
+
open?: boolean;
|
|
1172
|
+
onOpenChange?: (open: boolean) => void;
|
|
1173
|
+
placement?: "top" | "bottom" | "left" | "right";
|
|
1174
|
+
matchTriggerWidth?: boolean;
|
|
1175
|
+
padded?: boolean;
|
|
1176
|
+
}
|
|
1177
|
+
declare function Popover({ trigger, children, open: controlledOpen, onOpenChange, placement, matchTriggerWidth, padded, className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
1178
|
+
declare namespace Popover {
|
|
1179
|
+
var displayName: string;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
interface LoadingBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
1183
|
+
active?: boolean;
|
|
1184
|
+
}
|
|
1185
|
+
declare function LoadingBar({ active, className, ...props }: LoadingBarProps): react_jsx_runtime.JSX.Element;
|
|
1186
|
+
declare namespace LoadingBar {
|
|
1187
|
+
var displayName: string;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1191
|
+
children: ReactNode;
|
|
1192
|
+
disabled?: boolean;
|
|
1193
|
+
}
|
|
1194
|
+
declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
1195
|
+
|
|
1196
|
+
interface SpinnerProps extends HTMLAttributes<HTMLSpanElement> {
|
|
1197
|
+
size?: "sm" | "md" | "lg";
|
|
1198
|
+
textColored?: boolean;
|
|
1199
|
+
}
|
|
1200
|
+
declare function Spinner({ size, textColored, className, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1201
|
+
declare namespace Spinner {
|
|
1202
|
+
var displayName: string;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
interface SnackProps extends HTMLAttributes<HTMLSpanElement> {
|
|
1206
|
+
type?: "regular" | "pill";
|
|
1207
|
+
onClose?: () => void;
|
|
1208
|
+
wrap?: boolean;
|
|
1209
|
+
children: ReactNode;
|
|
1210
|
+
}
|
|
1211
|
+
declare const Snack: react.ForwardRefExoticComponent<SnackProps & react.RefAttributes<HTMLSpanElement>>;
|
|
1212
|
+
|
|
1213
|
+
interface ComboboxOption {
|
|
1214
|
+
value: string;
|
|
1215
|
+
label: string;
|
|
1216
|
+
}
|
|
1217
|
+
interface ComboboxProps {
|
|
1218
|
+
options: ComboboxOption[];
|
|
1219
|
+
value?: string[];
|
|
1220
|
+
onChange?: (value: string[]) => void;
|
|
1221
|
+
placeholder?: string;
|
|
1222
|
+
className?: string;
|
|
1223
|
+
disabled?: boolean;
|
|
1224
|
+
}
|
|
1225
|
+
declare function Combobox({ options, value, onChange, placeholder, className, disabled, }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
1226
|
+
declare namespace Combobox {
|
|
1227
|
+
var displayName: string;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
interface AutocompleteOption {
|
|
1231
|
+
value: string;
|
|
1232
|
+
label: string;
|
|
1233
|
+
}
|
|
1234
|
+
interface AutocompleteProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onSelect"> {
|
|
1235
|
+
options: AutocompleteOption[];
|
|
1236
|
+
onSelect?: (option: AutocompleteOption) => void;
|
|
1237
|
+
}
|
|
1238
|
+
declare function Autocomplete({ options, onSelect, className, value: controlledValue, onChange, placeholder, ...inputProps }: AutocompleteProps): react_jsx_runtime.JSX.Element;
|
|
1239
|
+
declare namespace Autocomplete {
|
|
1240
|
+
var displayName: string;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
interface ContextMenuItem {
|
|
1244
|
+
label: string;
|
|
1245
|
+
onClick?: () => void;
|
|
1246
|
+
disabled?: boolean;
|
|
1247
|
+
separator?: boolean;
|
|
1248
|
+
icon?: ReactNode;
|
|
1249
|
+
}
|
|
1250
|
+
interface ContextMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
1251
|
+
items: ContextMenuItem[];
|
|
1252
|
+
children: ReactNode;
|
|
1253
|
+
}
|
|
1254
|
+
declare function ContextMenu({ items, children, className, ...props }: ContextMenuProps): react_jsx_runtime.JSX.Element;
|
|
1255
|
+
declare namespace ContextMenu {
|
|
1256
|
+
var displayName: string;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
interface ResizableProps extends HTMLAttributes<HTMLDivElement> {
|
|
1260
|
+
left: ReactNode;
|
|
1261
|
+
right: ReactNode;
|
|
1262
|
+
defaultLeftWidth?: number;
|
|
1263
|
+
minLeftWidth?: number;
|
|
1264
|
+
minRightWidth?: number;
|
|
1265
|
+
}
|
|
1266
|
+
declare function Resizable({ left, right, defaultLeftWidth, minLeftWidth, minRightWidth, className, ...props }: ResizableProps): react_jsx_runtime.JSX.Element;
|
|
1267
|
+
declare namespace Resizable {
|
|
1268
|
+
var displayName: string;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
interface ScrollAreaProps extends HTMLAttributes<HTMLDivElement> {
|
|
1272
|
+
children: ReactNode;
|
|
1273
|
+
orientation?: "vertical" | "horizontal" | "both";
|
|
1274
|
+
}
|
|
1275
|
+
declare function ScrollArea({ children, orientation, className, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
|
|
1276
|
+
declare namespace ScrollArea {
|
|
1277
|
+
var displayName: string;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
interface NumberFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "onChange"> {
|
|
1281
|
+
value?: number;
|
|
1282
|
+
onChange?: (value: number) => void;
|
|
1283
|
+
min?: number;
|
|
1284
|
+
max?: number;
|
|
1285
|
+
step?: number;
|
|
1286
|
+
label?: string;
|
|
1287
|
+
}
|
|
1288
|
+
declare function NumberField({ value: controlledValue, onChange, min, max, step, label, className, disabled, defaultValue, ...inputProps }: NumberFieldProps): react_jsx_runtime.JSX.Element;
|
|
1289
|
+
declare namespace NumberField {
|
|
1290
|
+
var displayName: string;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
interface InputGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
1294
|
+
children: ReactNode;
|
|
1295
|
+
}
|
|
1296
|
+
declare function InputGroup({ children, className, ...props }: InputGroupProps): react_jsx_runtime.JSX.Element;
|
|
1297
|
+
declare namespace InputGroup {
|
|
1298
|
+
var displayName: string;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
interface ButtonGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
1302
|
+
children: ReactNode;
|
|
1303
|
+
}
|
|
1304
|
+
declare function ButtonGroup({ children, className, ...props }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
1305
|
+
declare namespace ButtonGroup {
|
|
1306
|
+
var displayName: string;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
interface ToggleButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1310
|
+
pressed?: boolean;
|
|
1311
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
1312
|
+
icon?: ReactNode;
|
|
1313
|
+
children?: ReactNode;
|
|
1314
|
+
}
|
|
1315
|
+
declare const ToggleButton: react.ForwardRefExoticComponent<ToggleButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1316
|
+
interface ToggleGroupProps {
|
|
1317
|
+
type?: "single" | "multiple";
|
|
1318
|
+
value?: string | string[];
|
|
1319
|
+
onValueChange?: (value: string | string[]) => void;
|
|
1320
|
+
children: ReactNode;
|
|
1321
|
+
className?: string;
|
|
1322
|
+
}
|
|
1323
|
+
declare function ToggleGroup({ type, value, onValueChange, children, className, }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
|
|
1324
|
+
declare namespace ToggleGroup {
|
|
1325
|
+
var displayName: string;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
interface MenubarItem {
|
|
1329
|
+
label: string;
|
|
1330
|
+
items?: {
|
|
1331
|
+
label: string;
|
|
1332
|
+
onClick?: () => void;
|
|
1333
|
+
disabled?: boolean;
|
|
1334
|
+
separator?: boolean;
|
|
1335
|
+
}[];
|
|
1336
|
+
}
|
|
1337
|
+
interface MenubarProps extends HTMLAttributes<HTMLDivElement> {
|
|
1338
|
+
items: MenubarItem[];
|
|
1339
|
+
}
|
|
1340
|
+
declare function Menubar({ items, className, ...props }: MenubarProps): react_jsx_runtime.JSX.Element;
|
|
1341
|
+
declare namespace Menubar {
|
|
1342
|
+
var displayName: string;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
interface AlertDialogProps extends Omit<ModalProps, "onClose"> {
|
|
1346
|
+
isOpen?: boolean;
|
|
1347
|
+
onClose?: () => void;
|
|
1348
|
+
onConfirm?: () => void | Promise<void>;
|
|
1349
|
+
confirmText?: string;
|
|
1350
|
+
cancelText?: string;
|
|
1351
|
+
confirmProps?: Partial<ButtonProps>;
|
|
1352
|
+
cancelProps?: Partial<ButtonProps>;
|
|
1353
|
+
children?: ReactNode;
|
|
1354
|
+
}
|
|
1355
|
+
declare function AlertDialog({ isOpen: openProp, onClose, onConfirm, confirmText, cancelText, confirmProps, cancelProps, children, title, ...modalProps }: AlertDialogProps): react_jsx_runtime.JSX.Element;
|
|
1356
|
+
declare namespace AlertDialog {
|
|
1357
|
+
var displayName: string;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
interface DotProps extends HTMLAttributes<HTMLSpanElement> {
|
|
1361
|
+
color?: "green" | "yellow" | "red" | "blue" | "gray";
|
|
1362
|
+
size?: "sm" | "md";
|
|
1363
|
+
}
|
|
1364
|
+
declare function Dot({ color, size, className, ...props }: DotProps): react_jsx_runtime.JSX.Element;
|
|
1365
|
+
declare namespace Dot {
|
|
1366
|
+
var displayName: string;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
interface CollapsibleProps extends HTMLAttributes<HTMLDivElement> {
|
|
1370
|
+
trigger: ReactNode;
|
|
1371
|
+
open?: boolean;
|
|
1372
|
+
onOpenChange?: (open: boolean) => void;
|
|
1373
|
+
children: ReactNode;
|
|
1374
|
+
}
|
|
1375
|
+
declare function Collapsible({ trigger, open: controlledOpen, onOpenChange, children, className, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
|
|
1376
|
+
declare namespace Collapsible {
|
|
1377
|
+
var displayName: string;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
interface MetricProps extends HTMLAttributes<HTMLDivElement> {
|
|
1381
|
+
value: string | number;
|
|
1382
|
+
label: string;
|
|
1383
|
+
badge?: ReactNode;
|
|
1384
|
+
trend?: ReactNode;
|
|
1385
|
+
icon?: ReactNode;
|
|
1386
|
+
}
|
|
1387
|
+
declare function Metric({ value, label, badge, trend, icon, className, ...props }: MetricProps): react_jsx_runtime.JSX.Element;
|
|
1388
|
+
declare namespace Metric {
|
|
1389
|
+
var displayName: string;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
interface ChipProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1393
|
+
selected?: boolean;
|
|
1394
|
+
onRemove?: () => void;
|
|
1395
|
+
children: ReactNode;
|
|
1396
|
+
}
|
|
1397
|
+
declare const Chip: react.ForwardRefExoticComponent<ChipProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1398
|
+
|
|
1399
|
+
interface DataTableColumn<T> {
|
|
1400
|
+
key: string;
|
|
1401
|
+
label: string;
|
|
1402
|
+
render?: (item: T) => ReactNode;
|
|
1403
|
+
sortable?: boolean;
|
|
1404
|
+
className?: string;
|
|
1405
|
+
}
|
|
1406
|
+
interface DataTableProps<T> {
|
|
1407
|
+
columns: DataTableColumn<T>[];
|
|
1408
|
+
data: T[];
|
|
1409
|
+
pageSize?: number;
|
|
1410
|
+
searchable?: boolean;
|
|
1411
|
+
searchPlaceholder?: string;
|
|
1412
|
+
className?: string;
|
|
1413
|
+
}
|
|
1414
|
+
declare function DataTable<T extends Record<string, any>>({ columns, data, pageSize, searchable, searchPlaceholder, className, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1415
|
+
declare namespace DataTable {
|
|
1416
|
+
var displayName: string;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
interface DatePickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "type"> {
|
|
1420
|
+
value?: Date;
|
|
1421
|
+
onChange?: (date: Date) => void;
|
|
1422
|
+
}
|
|
1423
|
+
declare function DatePicker({ value, onChange, className, ...props }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
1424
|
+
declare namespace DatePicker {
|
|
1425
|
+
var displayName: string;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
interface AppLayoutProps {
|
|
1429
|
+
sidebar: ReactNode;
|
|
1430
|
+
children: ReactNode;
|
|
1431
|
+
sidebarWidth?: number;
|
|
1432
|
+
className?: string;
|
|
1433
|
+
}
|
|
1434
|
+
declare function AppLayout({ sidebar, children, sidebarWidth, className }: AppLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1435
|
+
|
|
1436
|
+
interface SidebarGroup {
|
|
1437
|
+
label: string;
|
|
1438
|
+
items: SidebarItemDef[];
|
|
1439
|
+
}
|
|
1440
|
+
interface SidebarItemDef {
|
|
1441
|
+
label: string;
|
|
1442
|
+
icon?: ReactNode;
|
|
1443
|
+
href?: string;
|
|
1444
|
+
badge?: ReactNode;
|
|
1445
|
+
active?: boolean;
|
|
1446
|
+
onClick?: () => void;
|
|
1447
|
+
}
|
|
1448
|
+
interface SidebarProps {
|
|
1449
|
+
groups: SidebarGroup[];
|
|
1450
|
+
className?: string;
|
|
1451
|
+
header?: ReactNode;
|
|
1452
|
+
footer?: ReactNode;
|
|
1453
|
+
collapsed?: boolean;
|
|
1454
|
+
onCollapse?: (collapsed: boolean) => void;
|
|
1455
|
+
}
|
|
1456
|
+
declare function Sidebar({ groups, className, header, footer, collapsed, onCollapse }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
1457
|
+
declare namespace Sidebar {
|
|
1458
|
+
var displayName: string;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
export { type CheckboxProps as $, Accordion as A, Badge as B, type BannerProps as C, type BannerType as D, type BreadcrumbItem as E, Breadcrumbs as F, type BreadcrumbsProps as G, Button as H, ButtonChrome as I, type ButtonChromeProps as J, ButtonGroup as K, type ButtonGroupProps as L, type ButtonProps as M, type ButtonShape as N, type ButtonSize as O, type ButtonVariant as P, CANONICAL_ICONS as Q, Calendar as R, type CanonicalIconName as S, Caption as T, Card as U, type CardProps as V, type CardVariant as W, ChatBubble as X, type ChatBubbleProps as Y, type ChatBubbleVariant as Z, Checkbox as _, Alert as a, H4 as a$, Chip as a0, type ChipProps as a1, CodeBlock as a2, Collapsible as a3, type CollapsibleProps as a4, CollapsibleSection as a5, Combobox as a6, type ComboboxOption as a7, type ComboboxProps as a8, CommandPalette as a9, type DropdownItemProps as aA, DropdownMenu as aB, type DropdownMenuProps as aC, DropdownRadioGroup as aD, type DropdownRadioGroupProps as aE, DropdownRadioItem as aF, type DropdownRadioItemProps as aG, type DropdownSide as aH, EmptyState as aI, FileUpload as aJ, type FileUploadProps as aK, FilterBar as aL, type FilterBarProps as aM, type FilterChip as aN, FilterChips as aO, type FilterChipsProps as aP, FilterControls as aQ, type FilterControlsProps as aR, FilterMenu as aS, type FilterMenuOption as aT, type FilterMenuProps as aU, FormField as aV, type FormFieldControlProps as aW, type FormFieldProps as aX, H1 as aY, H2 as aZ, H3 as a_, ComponentDocs as aa, type ComponentDocsProps as ab, type ComponentPropRow as ac, ContextMenu as ad, type ContextMenuItem as ae, type ContextMenuProps as af, DataTable as ag, type DataTableColumn as ah, type DataTableProps as ai, DatePicker as aj, type DatePickerProps as ak, Dialog as al, type DialogProps as am, Display as an, Divider as ao, type DividerProps as ap, Dot as aq, type DotProps as ar, Drawer as as, type DrawerProps as at, type DrawerSide as au, type DrawerSize as av, type DropdownAlign as aw, DropdownButton as ax, type DropdownButtonProps as ay, DropdownItem as az, AlertDialog as b, IconRocket as b$, H5 as b0, HoverCard as b1, IconActivity as b2, type IconAliasName as b3, IconAreaChart as b4, IconArrowDown as b5, IconArrowUp as b6, IconBase as b7, IconBell as b8, IconBellOff as b9, IconFlare as bA, IconFlask as bB, IconGift as bC, IconGridView as bD, IconHandClick as bE, IconHome as bF, IconInfo as bG, IconInsightBoard as bH, IconLayers as bI, IconListView as bJ, IconLogout as bK, IconMail as bL, IconMoon as bM, type IconName as bN, IconOldWindow as bO, IconPanelRight as bP, IconPerson as bQ, IconPlayCircle as bR, IconPlus as bS, IconPremium as bT, type IconProps as bU, IconQueryEditor as bV, IconQueryStack as bW, IconRadar as bX, IconRecording as bY, IconReplayFrame as bZ, IconRobot as b_, IconBolt as ba, IconBox as bb, IconByName as bc, IconCancel as bd, IconCheck as be, IconCheckCircle as bf, IconChevronDown as bg, IconChevronLeft as bh, IconChevronRight as bi, IconClipboardEdit as bj, IconClose as bk, IconCodePreview as bl, IconCohort as bm, IconCommandCursor as bn, IconCopy as bo, IconCumulativeChart as bp, IconDataReel as bq, IconDatabase as br, IconDownload as bs, IconEdit as bt, IconErrorOutline as bu, IconEventStream as bv, IconExclamation as bw, IconExperimentSplit as bx, IconFeatureGate as by, IconFlag as bz, type AlertDialogProps as c, type PaginationProps as c$, IconSave as c0, IconSearch as c1, IconSelectEvents as c2, IconShoppingCart as c3, IconSpinner as c4, IconStar as c5, IconSubArrowRight as c6, IconSun as c7, IconSurveyCard as c8, IconSurveys as c9, Link as cA, type LinkProps as cB, Loader as cC, type LoaderProps as cD, type LoaderSize as cE, type LoaderVariant as cF, LoadingBar as cG, type LoadingBarProps as cH, LoadingState as cI, type LoadingStateProps as cJ, Menubar as cK, type MenubarItem as cL, type MenubarProps as cM, Metric as cN, type MetricProps as cO, Modal as cP, type ModalProps as cQ, type ModalSize as cR, Mono as cS, NumberField as cT, type NumberFieldProps as cU, OLD_UI_ICONS as cV, Overline as cW, P as cX, PH_ICONS as cY, PH_ICON_ALIASES as cZ, Pagination as c_, IconSync as ca, IconTableChart as cb, IconTerminal as cc, IconToggle as cd, IconTrash as ce, IconTuning as cf, IconUpload as cg, IconVolume as ch, IconVolumeOff as ci, Indicator as cj, type IndicatorPosition as ck, type IndicatorProps as cl, Input as cm, InputGroup as cn, type InputGroupProps as co, type InputProps as cp, type InputSize as cq, type InputVariant as cr, Kbd as cs, type KbdPlatform as ct, type KbdProps as cu, type KbdVariant as cv, Label as cw, Lead as cx, Lettermark as cy, type LettermarkProps as cz, type AlertProps as d, Tag as d$, Panel as d0, type PanelProps as d1, Popover as d2, type PopoverProps as d3, Progress as d4, ProgressCircle as d5, type ProgressCircleProps as d6, type ProgressProps as d7, Radio as d8, type RadioProps as d9, type SidebarGroup as dA, type SidebarItemDef as dB, type SidebarProps as dC, Skeleton as dD, type SkeletonProps as dE, type SkeletonShape as dF, Small as dG, Snack as dH, type SnackProps as dI, SortMenu as dJ, type SortMenuProps as dK, Spinner as dL, type SpinnerProps as dM, Splotch as dN, type SplotchColor as dO, type SplotchProps as dP, Stat as dQ, type StatProps as dR, type StatTone as dS, Stepper as dT, type TabItem as dU, Table as dV, type TableColumn as dW, type TableProps as dX, Tabs as dY, type TabsProps as dZ, type TabsVariant as d_, Range as da, type RangeProps as db, Rating as dc, type RatingProps as dd, Resizable as de, type ResizableProps as df, Row as dg, type RowProps as dh, ScrollArea as di, type ScrollAreaProps as dj, SearchGroup as dk, type SearchGroupProps as dl, SearchInput as dm, type SearchInputProps as dn, SegmentedControl as dp, Select as dq, type SelectProps as dr, SettingsLayout as ds, type SettingsLayoutProps as dt, SettingsNav as du, type SettingsNavGroup as dv, type SettingsNavItem as dw, type SettingsNavProps as dx, ShowcaseWrapper as dy, Sidebar as dz, type AlertStatus as e, type TagProps as e0, type TagType as e1, Terminal as e2, type TerminalProps as e3, Textarea as e4, type TextareaProps as e5, ThemeDomSync as e6, ThemeManager as e7, type ThemeManagerProps as e8, ThemeSwitcher as e9, type ThemeSwitcherProps as ea, Timeline as eb, type TimelineEvent as ec, type TimelineProps as ed, Toast as ee, type ToastProps as ef, ToastStack as eg, type ToastStackProps as eh, type ToastStatus as ei, Toggle as ej, ToggleButton as ek, type ToggleButtonProps as el, ToggleGroup as em, type ToggleGroupProps as en, type ToggleProps as eo, Tooltip as ep, type TooltipAlign as eq, type TooltipProps as er, TooltipProvider as es, type TooltipProviderProps as et, type TooltipSide as eu, Widget as ev, type WidgetProps as ew, AppLayout as f, type AppLayoutProps as g, AuthCard as h, type AuthCardProps as i, AuthDivider as j, type AuthDividerProps as k, AuthLayout as l, type AuthLayoutProps as m, Autocomplete as n, type AutocompleteOption as o, type AutocompleteProps as p, Avatar as q, AvatarGroup as r, type AvatarGroupProps as s, type AvatarProps as t, type AvatarSize as u, type AvatarStatus as v, type BadgeProps as w, type BadgeSize as x, type BadgeVariant as y, Banner as z };
|