@nubitio/ui 1.1.2 → 1.2.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.d.mts CHANGED
@@ -1,4 +1,5 @@
1
- import React, { ButtonHTMLAttributes, CSSProperties, FormHTMLAttributes, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, ReactNode, RefObject, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
1
+ import React, { ButtonHTMLAttributes, CSSProperties, FieldsetHTMLAttributes, FormHTMLAttributes, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, ProgressHTMLAttributes, ReactElement, ReactNode, RefObject, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
2
+ import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
2
3
  //#region packages/ui/Avatar.d.ts
3
4
  type AvatarShape = 'circle' | 'square';
4
5
  type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -46,6 +47,8 @@ interface AppDialogProps {
46
47
  closeOnEscape?: boolean;
47
48
  restoreFocus?: boolean;
48
49
  keepMounted?: boolean;
50
+ /** Optional focus target when opening; defaults to the first focusable control. */
51
+ initialFocus?: React.RefObject<HTMLElement | null>;
49
52
  rootClassName?: string;
50
53
  className?: string;
51
54
  headerClassName?: string;
@@ -54,7 +57,7 @@ interface AppDialogProps {
54
57
  footerClassName?: string;
55
58
  role?: string;
56
59
  }
57
- declare const AppDialog: ({ visible, open, title, onClose, children, footer, width, maxWidth, height, fullScreen, showCloseButton, closeLabel, scrimLabel, closeOnOutsideClick, closeOnEscape, restoreFocus, keepMounted, rootClassName, className, headerClassName, titleClassName, bodyClassName, footerClassName, role }: AppDialogProps) => React.ReactPortal | null;
60
+ declare const AppDialog: ({ visible, open, title, onClose, children, footer, width, maxWidth, height, fullScreen, showCloseButton, closeLabel, scrimLabel, closeOnOutsideClick, closeOnEscape, restoreFocus, keepMounted, initialFocus, rootClassName, className, headerClassName, titleClassName, bodyClassName, footerClassName, role }: AppDialogProps) => React.JSX.Element;
58
61
  //#endregion
59
62
  //#region packages/ui/ConfirmDialog.d.ts
60
63
  interface ConfirmDialogProps {
@@ -91,13 +94,13 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
91
94
  loading?: boolean;
92
95
  children?: ReactNode;
93
96
  }
94
- declare const Button: ({ variant, size, fullWidth, icon, loading, className, children, disabled, ...props }: ButtonProps) => import("react").JSX.Element;
97
+ declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
95
98
  interface IconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
96
99
  icon: string;
97
100
  label: string;
98
101
  variant?: 'default' | 'danger';
99
102
  }
100
- declare const IconButton: ({ icon, label, variant, className, ...props }: IconButtonProps) => import("react").JSX.Element;
103
+ declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
101
104
  //#endregion
102
105
  //#region packages/ui/Card.d.ts
103
106
  type CardVariant = 'auth' | 'panel';
@@ -138,6 +141,7 @@ interface FileDropzoneValue {
138
141
  previewUrl?: string | null;
139
142
  }
140
143
  interface FileDropzoneLabels {
144
+ empty?: string;
141
145
  prompt?: string;
142
146
  imagePrompt?: string;
143
147
  dropPrompt?: string;
@@ -177,6 +181,7 @@ interface AppDropdownOption {
177
181
  type AppDropdownVariant = 'form' | 'toolbar' | 'compact';
178
182
  interface AppDropdownProps {
179
183
  id?: string;
184
+ ariaLabel?: string;
180
185
  label?: ReactNode;
181
186
  icon?: string;
182
187
  value: string;
@@ -195,7 +200,7 @@ interface AppDropdownProps {
195
200
  menuFooter?: ReactNode;
196
201
  onOpenChange?: (open: boolean) => void;
197
202
  }
198
- declare function AppDropdown({ id: idProp, label, icon, value, options, onChange, disabled, placeholder, variant, className, showFieldLabel, menuMinWidth, error, helpText, menuHeader, menuFooter, onOpenChange }: AppDropdownProps): import("react").JSX.Element;
203
+ declare function AppDropdown({ id: idProp, ariaLabel, label, icon, value, options, onChange, disabled, placeholder, variant, className, showFieldLabel, menuMinWidth, error, helpText, menuHeader, menuFooter, onOpenChange }: AppDropdownProps): import("react").JSX.Element;
199
204
  //#endregion
200
205
  //#region packages/ui/SearchableAppDropdown.d.ts
201
206
  interface SearchableAppDropdownProps extends Omit<AppDropdownProps, 'options'> {
@@ -210,7 +215,7 @@ interface SearchableAppDropdownProps extends Omit<AppDropdownProps, 'options'> {
210
215
  loadingLabel?: string;
211
216
  selectedOption?: AppDropdownOption | null;
212
217
  }
213
- declare function SearchableAppDropdown({ options, searchable, searchPlaceholder, onSearch, minSearchLength, emptySearchLabel, loadingLabel, selectedOption, value, onChange, placeholder, disabled, ...rest }: SearchableAppDropdownProps): import("react").JSX.Element;
218
+ declare function SearchableAppDropdown({ options, searchable, searchPlaceholder, onSearch, minSearchLength, emptySearchLabel, loadingLabel, selectedOption, value, onChange, placeholder, disabled, label, showFieldLabel, variant, icon: _icon, menuMinWidth: _menuMinWidth, menuHeader: _header, menuFooter: _footer, ...rest }: SearchableAppDropdownProps): import("react").JSX.Element;
214
219
  //#endregion
215
220
  //#region packages/ui/theme/ThemeProvider.d.ts
216
221
  type Theme = 'light' | 'dark';
@@ -227,9 +232,11 @@ interface ThemeProviderProps {
227
232
  storageKey?: string;
228
233
  themePrefix?: string;
229
234
  basePath?: string;
235
+ /** Opt-in Figma visual foundation; existing applications keep their current theme. */
236
+ visualStyle?: 'default' | 'nubit';
230
237
  children: React.ReactNode;
231
238
  }
232
- declare const ThemeProvider: ({ storageKey, themePrefix, basePath, children }: ThemeProviderProps) => React.JSX.Element;
239
+ declare const ThemeProvider: ({ storageKey, themePrefix, basePath, visualStyle, children }: ThemeProviderProps) => React.JSX.Element;
233
240
  //#endregion
234
241
  //#region packages/ui/theme/ThemeSwitcher.d.ts
235
242
  declare const labelByMode: {
@@ -324,6 +331,8 @@ type EmptyStateSize = 'sm' | 'md' | 'lg';
324
331
  interface EmptyStateProps {
325
332
  /** Phosphor icon name without the "ph-" prefix, e.g. "warning" or "folder-open". */
326
333
  icon?: string;
334
+ /** Optional local illustration; replaces the default decorative icon. */
335
+ illustration?: ReactNode;
327
336
  /** Semantic variant — controls the icon and accent color. */
328
337
  variant?: EmptyStateVariant;
329
338
  /** Title text — required. */
@@ -338,7 +347,7 @@ interface EmptyStateProps {
338
347
  fill?: boolean;
339
348
  className?: string;
340
349
  }
341
- declare const EmptyState: ({ icon, variant, title, description, action, size, fill, className }: EmptyStateProps) => import("react").JSX.Element;
350
+ declare const EmptyState: ({ icon, illustration, variant, title, description, action, size, fill, className }: EmptyStateProps) => import("react").JSX.Element;
342
351
  //#endregion
343
352
  //#region packages/ui/Chip.d.ts
344
353
  interface ChipProps {
@@ -409,19 +418,6 @@ interface ContextMenuProps {
409
418
  align?: 'right' | 'left';
410
419
  className?: string;
411
420
  }
412
- /**
413
- * Three-dot overflow context menu.
414
- * Replaces the legacy `shared/ui/library/card-menu/CardMenu` component.
415
- *
416
- * Features over CardMenu:
417
- * - `danger` variant items
418
- * - `separator` support
419
- * - `icon` per item
420
- * - Custom trigger slot
421
- * - Left/right alignment
422
- * - Click-outside + Escape to close
423
- * - Portalled dropdown (avoids clip inside scrollable tables)
424
- */
425
421
  declare const ContextMenu: ({ items, visible, trigger, triggerLabel, align, className }: ContextMenuProps) => React.JSX.Element | null;
426
422
  //#endregion
427
423
  //#region packages/ui/StatCard.d.ts
@@ -635,6 +631,7 @@ interface DateRangePickerProps {
635
631
  endValue?: string | null;
636
632
  placeholder?: string;
637
633
  disabled?: boolean;
634
+ clearable?: boolean;
638
635
  readOnly?: boolean;
639
636
  required?: boolean;
640
637
  invalid?: boolean;
@@ -646,7 +643,7 @@ interface DateRangePickerProps {
646
643
  onChange?: (startValue: string, endValue: string) => void;
647
644
  onBlur?: React.FocusEventHandler<HTMLElement>;
648
645
  }
649
- declare function DateRangePicker({ startValue, endValue, placeholder, disabled, readOnly, required, invalid, locale, min, max, className, ariaLabel, onChange, onBlur }: DateRangePickerProps): React.JSX.Element;
646
+ declare function DateRangePicker({ startValue, endValue, placeholder, disabled, clearable, readOnly, required, invalid, locale, min, max, className, ariaLabel, onChange, onBlur }: DateRangePickerProps): React.JSX.Element;
650
647
  //#endregion
651
648
  //#region packages/ui/Popover.d.ts
652
649
  type PopoverAlign = 'start' | 'end';
@@ -718,6 +715,8 @@ type DrawerSide = 'right' | 'left';
718
715
  interface DrawerProps {
719
716
  /** Controls visibility. The drawer mounts/unmounts with this flag. */
720
717
  isOpen: boolean;
718
+ /** Prevent dismissal while an operation is pending. */
719
+ busy?: boolean;
721
720
  /** Called on Escape, scrim click, or the built-in close button. */
722
721
  onClose: () => void;
723
722
  /** Optional title rendered in the header. */
@@ -810,6 +809,9 @@ interface UiStrings {
810
809
  selectDate: string;
811
810
  /** DateRangePicker: label for the range text inputs. */
812
811
  selectDateRange: string;
812
+ startDate: string;
813
+ endDate: string;
814
+ selectTime: string;
813
815
  previousMonth: string;
814
816
  nextMonth: string;
815
817
  previousYear: string;
@@ -820,6 +822,17 @@ interface UiStrings {
820
822
  selectYear: string;
821
823
  /** Date pickers: footer button that clears the value. */
822
824
  clear: string;
825
+ /** Combobox popup trigger and empty results. */
826
+ openOptions: string;
827
+ noOptions: string;
828
+ searching: string;
829
+ searchFailed: string;
830
+ enterSearch: string;
831
+ loadingMore: string;
832
+ loadMore: string;
833
+ retrySearch: string;
834
+ selectedOptions: string;
835
+ removeOption: string;
823
836
  /** Date pickers: footer button that jumps to today. */
824
837
  today: string;
825
838
  /** Generic cancel action. */
@@ -916,6 +929,8 @@ interface PageHeaderBadge {
916
929
  interface PageHeaderProps {
917
930
  title: string;
918
931
  subtitle?: string;
932
+ /** Status badges or other record metadata between title and subtitle. */
933
+ metadata?: ReactNode;
919
934
  breadcrumb?: PageHeaderBreadcrumb;
920
935
  /** Custom breadcrumb node (e.g. react-router Link). Takes precedence over breadcrumb. */
921
936
  breadcrumbSlot?: ReactNode;
@@ -923,7 +938,7 @@ interface PageHeaderProps {
923
938
  actions?: ReactNode;
924
939
  className?: string;
925
940
  }
926
- declare function PageHeader({ title, subtitle, breadcrumb, breadcrumbSlot, badge, actions, className }: PageHeaderProps): import("react").JSX.Element;
941
+ declare function PageHeader({ title, subtitle, metadata, breadcrumb, breadcrumbSlot, badge, actions, className }: PageHeaderProps): import("react").JSX.Element;
927
942
  //#endregion
928
943
  //#region packages/ui/Stack.d.ts
929
944
  interface StackProps extends HTMLAttributes<HTMLDivElement> {
@@ -985,8 +1000,10 @@ interface SectionProps {
985
1000
  title: string;
986
1001
  children: ReactNode;
987
1002
  className?: string;
1003
+ /** Panel titles use sentence case; label preserves the compact group heading. */
1004
+ variant?: 'label' | 'panel';
988
1005
  }
989
- declare function Section({ title, children, className }: SectionProps): import("react").JSX.Element;
1006
+ declare function Section({ title, children, className, variant }: SectionProps): import("react").JSX.Element;
990
1007
  //#endregion
991
1008
  //#region packages/ui/FormLayout.d.ts
992
1009
  type FormLayoutVariant = 'stack' | 'grid' | 'inline' | 'filter';
@@ -1107,4 +1124,169 @@ declare function useConfirm(): {
1107
1124
  ConfirmHost: () => import("react").JSX.Element;
1108
1125
  };
1109
1126
  //#endregion
1110
- export { ACCENT_PRESETS, type AccentPreset, Alert, type AlertProps, type AlertTone, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, AppToolbar, type AppToolbarProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardVariant, Chip, type ChipProps, Cluster, type ClusterProps, Code, type CodeProps, Col, type ColProps, type ColSpan, CollapsibleSection, type CollapsibleSectionProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmRequest, ContextMenu, type ContextMenuItem, type ContextMenuProps, DataTable, type DataTableColumn, type DataTableColumnAlign, type DataTableProps, type DataTableVariant, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type Density, DensityContext, type DensityContextValue, DensityProvider, DescriptionList, type DescriptionListItem, type DescriptionListProps, Drawer, type DrawerProps, type DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, FeatureGate, type FeatureGateProps, FileDropzone, type FileDropzoneLabels, type FileDropzoneProps, type FileDropzoneValue, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelDensity, type FilterPanelLayout, type FilterPanelProps, type FilterPanelStatusSection, type FlexAlign, type FlexJustify, FormActions, type FormActionsProps, FormField, type FormFieldProps, FormLayout, type FormLayoutProps, type FormLayoutVariant, Grid, type GridCols, type GridProps, HubPanel, type HubPanelProps, type HubPanelVariant, IconButton, type IconButtonProps, type KpiMetricDensity, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, Page, PageHeader, type PageHeaderBadge, type PageHeaderBreadcrumb, type PageHeaderProps, type PageProps, Pagination, type PaginationProps, Popover, type PopoverAlign, type PopoverProps, Row, RowActions, type RowActionsProps, type RowProps, type ScopeTabOption, ScopeTabs, type ScopeTabsDensity, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, Section, type SectionProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SpaceScale, Stack, type StackProps, StatCard, type StatCardProps, Text, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type TextProps, type TextTone, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, Toggle, type ToggleProps, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseFloatingPanelOptions, type UseFloatingPanelResult, getAvatarHue, getAvatarInitials, useAccentColor, useConfirm, useDensity, useFloatingPanel, useTheme, useUiStrings };
1127
+ //#region packages/ui/Checkbox.d.ts
1128
+ interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
1129
+ label?: ReactNode;
1130
+ indeterminate?: boolean;
1131
+ invalid?: boolean;
1132
+ }
1133
+ /** Native checkbox, including the mixed state used by bulk selection. */
1134
+ declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
1135
+ //#endregion
1136
+ //#region packages/ui/RadioGroup.d.ts
1137
+ interface RadioGroupOption<T extends string = string> {
1138
+ value: T;
1139
+ label: ReactNode;
1140
+ disabled?: boolean;
1141
+ }
1142
+ interface RadioGroupProps<T extends string = string> extends Omit<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'onChange'> {
1143
+ label?: ReactNode;
1144
+ name?: string;
1145
+ value: T;
1146
+ options: RadioGroupOption<T>[];
1147
+ onChange: (value: T) => void;
1148
+ orientation?: 'horizontal' | 'vertical';
1149
+ required?: boolean;
1150
+ invalid?: boolean;
1151
+ }
1152
+ /** Native radios share a name for browser keyboard navigation and form submission. */
1153
+ declare function RadioGroup<T extends string = string>({ label, name, value, options, onChange, orientation, required, invalid, disabled, className, ...props }: RadioGroupProps<T>): import("react").JSX.Element;
1154
+ //#endregion
1155
+ //#region packages/ui/Tabs.d.ts
1156
+ interface TabsItem<T extends string = string> {
1157
+ value: T;
1158
+ label: ReactNode;
1159
+ content: ReactNode;
1160
+ disabled?: boolean;
1161
+ }
1162
+ interface TabsProps<T extends string = string> {
1163
+ items: TabsItem<T>[];
1164
+ value: T;
1165
+ onChange: (value: T) => void;
1166
+ /** Accessible name of the tab list. */
1167
+ 'aria-label': string;
1168
+ orientation?: 'horizontal' | 'vertical';
1169
+ activationMode?: 'automatic' | 'manual';
1170
+ /** Keep inactive panels mounted to preserve local form state. */
1171
+ keepMounted?: boolean;
1172
+ className?: string;
1173
+ }
1174
+ declare function Tabs<T extends string = string>({ items, value, onChange, 'aria-label': ariaLabel, orientation, activationMode, keepMounted, className }: TabsProps<T>): import("react").JSX.Element;
1175
+ //#endregion
1176
+ //#region packages/ui/Spinner.d.ts
1177
+ interface SpinnerProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
1178
+ /** Localized accessible name. Omit for a decorative indicator. */
1179
+ label?: string;
1180
+ size?: 'sm' | 'md' | 'lg';
1181
+ }
1182
+ declare function Spinner({ label, size, className, ...props }: SpinnerProps): import("react").JSX.Element;
1183
+ //#endregion
1184
+ //#region packages/ui/Progress.d.ts
1185
+ interface ProgressProps extends ProgressHTMLAttributes<HTMLProgressElement> {
1186
+ label?: ReactNode;
1187
+ }
1188
+ /** Omit value for indeterminate progress; max defaults to 100. */
1189
+ declare function Progress({ label, id, max, className, ...props }: ProgressProps): import("react").JSX.Element;
1190
+ //#endregion
1191
+ //#region packages/ui/useComboboxOptions.d.ts
1192
+ interface ComboboxPage {
1193
+ options: ComboboxOption[];
1194
+ nextCursor?: string | number | null;
1195
+ }
1196
+ type ComboboxLoader = (query: string, context: {
1197
+ signal: AbortSignal;
1198
+ cursor?: string | number;
1199
+ }) => Promise<ComboboxPage>;
1200
+ //#endregion
1201
+ //#region packages/ui/Combobox.d.ts
1202
+ interface ComboboxOption {
1203
+ value: string;
1204
+ label: string;
1205
+ disabled?: boolean;
1206
+ /** Optional rich option content; label remains the plain-text accessible name. */
1207
+ content?: ReactNode;
1208
+ }
1209
+ interface ComboboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'children'> {
1210
+ options: ComboboxOption[];
1211
+ value: string | null;
1212
+ onChange: (value: string | null) => void;
1213
+ label?: ReactNode;
1214
+ error?: ReactNode;
1215
+ helpText?: ReactNode;
1216
+ invalid?: boolean;
1217
+ clearable?: boolean;
1218
+ emptyMessage?: ReactNode;
1219
+ openLabel?: string;
1220
+ clearLabel?: string;
1221
+ /** Styles the input independently from the field wrapper. */
1222
+ inputClassName?: string;
1223
+ /** Server filtering/paging. Seed options should include selected records. */
1224
+ loadOptions?: ComboboxLoader;
1225
+ debounceMs?: number;
1226
+ minSearchLength?: number;
1227
+ loadingMessage?: ReactNode;
1228
+ searchErrorMessage?: ReactNode;
1229
+ onOpenChange?: (open: boolean) => void;
1230
+ }
1231
+ interface MultiSelectProps extends Omit<ComboboxProps, 'value' | 'onChange'> {
1232
+ value: string[];
1233
+ onChange: (value: string[]) => void;
1234
+ selectedLabel?: string;
1235
+ removeLabel?: (option: ComboboxOption) => string;
1236
+ }
1237
+ declare const Combobox: import("react").ForwardRefExoticComponent<ComboboxProps & import("react").RefAttributes<HTMLInputElement>>;
1238
+ declare const MultiSelect: import("react").ForwardRefExoticComponent<MultiSelectProps & import("react").RefAttributes<HTMLInputElement>>;
1239
+ //#endregion
1240
+ //#region packages/ui/Tooltip.d.ts
1241
+ interface TooltipProps {
1242
+ /** A native focusable element or a component that forwards its DOM ref and props. */
1243
+ children: ReactElement;
1244
+ /** Non-interactive supplementary text. Essential information should remain visible. */
1245
+ content: ReactNode;
1246
+ side?: 'top' | 'bottom' | 'left' | 'right';
1247
+ delay?: number;
1248
+ disabled?: boolean;
1249
+ className?: string;
1250
+ }
1251
+ declare const TooltipProvider: import("react").FC<import("@base-ui/react").TooltipProviderProps>;
1252
+ type TooltipProviderProps = Tooltip$1.Provider.Props;
1253
+ /** Uses the existing child as the trigger without adding a nested button. */
1254
+ declare function Tooltip({ children, content, side, delay, disabled, className }: TooltipProps): import("react").JSX.Element;
1255
+ //#endregion
1256
+ //#region packages/ui/OverlayContainer.d.ts
1257
+ declare const useOverlayContainer: () => HTMLElement | null;
1258
+ //#endregion
1259
+ //#region packages/ui/TimePicker.d.ts
1260
+ interface TimePickerProps {
1261
+ id?: string;
1262
+ name?: string;
1263
+ /** Wall-clock time, HH:mm (or HH:mm:ss with second granularity). */
1264
+ value?: string | null;
1265
+ onChange?: (value: string) => void;
1266
+ onBlur?: React.FocusEventHandler<Element>;
1267
+ min?: string;
1268
+ max?: string;
1269
+ locale?: string;
1270
+ hourCycle?: 12 | 24;
1271
+ granularity?: 'minute' | 'second';
1272
+ disabled?: boolean;
1273
+ readOnly?: boolean;
1274
+ required?: boolean;
1275
+ invalid?: boolean;
1276
+ className?: string;
1277
+ ariaLabel?: string;
1278
+ }
1279
+ /** Accessible segmented time entry. Values never pass through Date or a timezone. */
1280
+ declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<HTMLDivElement>>;
1281
+ //#endregion
1282
+ //#region packages/ui/DetailLayout.d.ts
1283
+ interface DetailLayoutProps {
1284
+ children: ReactNode;
1285
+ aside: ReactNode;
1286
+ asideLabel?: string;
1287
+ className?: string;
1288
+ }
1289
+ /** Responsive main/aside composition for record detail pages. */
1290
+ declare function DetailLayout({ children, aside, asideLabel, className }: DetailLayoutProps): import("react").JSX.Element;
1291
+ //#endregion
1292
+ export { ACCENT_PRESETS, type AccentPreset, Alert, type AlertProps, type AlertTone, AppDialog, type AppDialogProps, AppDropdown, type AppDropdownOption, type AppDropdownProps, type AppDropdownVariant, AppToolbar, type AppToolbarProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipProps, Cluster, type ClusterProps, Code, type CodeProps, Col, type ColProps, type ColSpan, CollapsibleSection, type CollapsibleSectionProps, Combobox, type ComboboxLoader, type ComboboxOption, type ComboboxPage, type ComboboxProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmRequest, ContextMenu, type ContextMenuItem, type ContextMenuProps, DataTable, type DataTableColumn, type DataTableColumnAlign, type DataTableProps, type DataTableVariant, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type Density, DensityContext, type DensityContextValue, DensityProvider, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, Drawer, type DrawerProps, type DrawerSide, EN_UI_STRINGS, ES_UI_STRINGS, EmptyState, type EmptyStateProps, FeatureGate, type FeatureGateProps, FileDropzone, type FileDropzoneLabels, type FileDropzoneProps, type FileDropzoneValue, FilterPanel, type FilterPanelCategorySection, type FilterPanelChipOption, type FilterPanelDensity, type FilterPanelLayout, type FilterPanelProps, type FilterPanelStatusSection, type FlexAlign, type FlexJustify, FormActions, type FormActionsProps, FormField, type FormFieldProps, FormLayout, type FormLayoutProps, type FormLayoutVariant, Grid, type GridCols, type GridProps, HubPanel, type HubPanelProps, type HubPanelVariant, IconButton, type IconButtonProps, type KpiMetricDensity, type KpiMetricItem, type KpiMetricLayout, KpiMetricRow, type KpiMetricRowProps, type KpiMetricTone, MultiSelect, type MultiSelectProps, type OperationCardAccent, OperationCardGrid, type OperationCardGridProps, type OperationCardItem, Page, PageHeader, type PageHeaderBadge, type PageHeaderBreadcrumb, type PageHeaderProps, type PageProps, Pagination, type PaginationProps, Popover, type PopoverAlign, type PopoverProps, Progress, type ProgressProps, RadioGroup, type RadioGroupOption, type RadioGroupProps, Row, RowActions, type RowActionsProps, type RowProps, type ScopeTabOption, ScopeTabs, type ScopeTabsDensity, type ScopeTabsProps, SearchableAppDropdown, type SearchableAppDropdownProps, Section, type SectionProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectField, type SelectFieldProps, SettingsPanel, type SettingsPanelProps, Skeleton, type SkeletonProps, type SpaceScale, Spinner, type SpinnerProps, Stack, type StackProps, StatCard, type StatCardProps, Tabs, type TabsItem, type TabsProps, Text, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldProps, type TextProps, type TextTone, type Theme, ThemeContext, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeSwitcher, type ThemeSwitcherProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineItemTone, type TimelineOrientation, type TimelineProps, type TimelineVariant, Toggle, type ToggleProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, type UiStrings, UiStringsProvider, type UiStringsProviderProps, type UseFloatingPanelOptions, type UseFloatingPanelResult, getAvatarHue, getAvatarInitials, useAccentColor, useConfirm, useDensity, useFloatingPanel, useOverlayContainer, useTheme, useUiStrings };