@nubitio/ui 1.1.2 → 1.2.1

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