@underverse-ui/underverse 0.1.12 → 0.1.14

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.cts CHANGED
@@ -158,6 +158,11 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>
158
158
  maxLength?: number;
159
159
  }
160
160
  declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
161
+ interface SearchInputProps extends Omit<InputProps, 'leftIcon' | 'type'> {
162
+ onSearch?: (value: string) => void;
163
+ searchDelay?: number;
164
+ }
165
+ declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLInputElement>>;
161
166
  interface PasswordInputProps extends Omit<InputProps, 'type'> {
162
167
  showStrength?: boolean;
163
168
  strengthLabels?: string[];
@@ -216,6 +221,44 @@ interface SkeletonProps {
216
221
  lines?: number;
217
222
  }
218
223
  declare const Skeleton: React__default.FC<SkeletonProps>;
224
+ declare const SkeletonAvatar: React__default.FC<{
225
+ size?: "sm" | "md" | "lg";
226
+ className?: string;
227
+ }>;
228
+ declare const SkeletonButton: React__default.FC<{
229
+ size?: "sm" | "md" | "lg";
230
+ className?: string;
231
+ }>;
232
+ declare const SkeletonText: React__default.FC<{
233
+ lines?: number;
234
+ className?: string;
235
+ width?: string;
236
+ }>;
237
+ declare const SkeletonCard: React__default.FC<{
238
+ showAvatar?: boolean;
239
+ showImage?: boolean;
240
+ textLines?: number;
241
+ className?: string;
242
+ }>;
243
+ declare const SkeletonPost: React__default.FC<{
244
+ className?: string;
245
+ }>;
246
+ declare const SkeletonMessage: React__default.FC<{
247
+ own?: boolean;
248
+ showAvatar?: boolean;
249
+ className?: string;
250
+ }>;
251
+ declare const SkeletonList: React__default.FC<{
252
+ items?: number;
253
+ itemHeight?: number;
254
+ showAvatar?: boolean;
255
+ className?: string;
256
+ }>;
257
+ declare const SkeletonTable: React__default.FC<{
258
+ rows?: number;
259
+ columns?: number;
260
+ className?: string;
261
+ }>;
219
262
 
220
263
  interface ProgressProps {
221
264
  value: number;
@@ -232,6 +275,63 @@ interface ProgressProps {
232
275
  status?: "normal" | "error" | "complete";
233
276
  }
234
277
  declare const Progress: React__default.FC<ProgressProps>;
278
+ interface CircularProgressProps {
279
+ value: number;
280
+ max?: number;
281
+ size?: number;
282
+ strokeWidth?: number;
283
+ className?: string;
284
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
285
+ showValue?: boolean;
286
+ children?: React__default.ReactNode;
287
+ indeterminate?: boolean;
288
+ status?: "normal" | "error" | "complete";
289
+ trackColor?: string;
290
+ }
291
+ declare const CircularProgress: React__default.FC<CircularProgressProps>;
292
+ interface StepProgressProps {
293
+ steps: string[];
294
+ currentStep: number;
295
+ className?: string;
296
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
297
+ size?: "sm" | "md" | "lg";
298
+ }
299
+ declare const StepProgress: React__default.FC<StepProgressProps>;
300
+ interface MiniProgressProps {
301
+ value: number;
302
+ max?: number;
303
+ className?: string;
304
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
305
+ showValue?: boolean;
306
+ }
307
+ declare const MiniProgress: React__default.FC<MiniProgressProps>;
308
+ interface BatteryProgressProps {
309
+ value: number;
310
+ max?: number;
311
+ className?: string;
312
+ charging?: boolean;
313
+ showValue?: boolean;
314
+ }
315
+ declare const BatteryProgress: React__default.FC<BatteryProgressProps>;
316
+ interface SegmentedProgressProps {
317
+ segments: number;
318
+ activeSegments: number;
319
+ className?: string;
320
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
321
+ size?: "sm" | "md" | "lg";
322
+ }
323
+ declare const SegmentedProgress: React__default.FC<SegmentedProgressProps>;
324
+ interface LoadingProgressProps {
325
+ value: number;
326
+ max?: number;
327
+ className?: string;
328
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
329
+ label?: string;
330
+ status?: "loading" | "complete" | "error" | "paused";
331
+ speed?: string;
332
+ timeRemaining?: string;
333
+ }
334
+ declare const LoadingProgress: React__default.FC<LoadingProgressProps>;
235
335
 
236
336
  interface ModalProps {
237
337
  isOpen: boolean;
@@ -465,6 +565,23 @@ interface DropdownMenuProps {
465
565
  }>;
466
566
  }
467
567
  declare const DropdownMenu: React__default.FC<DropdownMenuProps>;
568
+ declare const DropdownMenuItem: React__default.FC<{
569
+ children: React__default.ReactNode;
570
+ onClick?: () => void;
571
+ disabled?: boolean;
572
+ destructive?: boolean;
573
+ className?: string;
574
+ }>;
575
+ declare const DropdownMenuSeparator: React__default.FC<{
576
+ className?: string;
577
+ }>;
578
+ declare const SelectDropdown: React__default.FC<{
579
+ options: string[];
580
+ value?: string;
581
+ onChange: (value: string) => void;
582
+ placeholder?: string;
583
+ className?: string;
584
+ }>;
468
585
 
469
586
  interface PaginationProps {
470
587
  page: number;
@@ -620,6 +737,19 @@ interface RadioGroupProps {
620
737
  errorMessage?: string;
621
738
  }
622
739
  declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
740
+ interface RadioGroupItemProps {
741
+ value: string;
742
+ id?: string;
743
+ disabled?: boolean;
744
+ className?: string;
745
+ children?: React$1.ReactNode;
746
+ label?: string;
747
+ description?: string;
748
+ icon?: React$1.ComponentType<{
749
+ className?: string;
750
+ }>;
751
+ }
752
+ declare const RadioGroupItem: React$1.ForwardRefExoticComponent<RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
623
753
 
624
754
  interface SliderProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'size'> {
625
755
  value?: number;
@@ -1271,4 +1401,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
1271
1401
  };
1272
1402
  };
1273
1403
 
1274
- export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, ClientOnly, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, date as DateUtils, Drawer, DropdownMenu, FloatingContacts, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LoadingBar, LoadingDots, LoadingSpinner, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, PageLoading, Pagination, type PaginationProps, PasswordInput, PillTabs, Popover, Progress, PulseBadge, RadioGroup, SIZE_STYLES_BTN, ScrollArea, Section, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SlideOver, Slider, SmartImage, type Sorter, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, ToastProvider, Tooltip, type UnderverseLocale, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, getUnderverseMessages, underverseMessages, useFormField, useToast };
1404
+ export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FloatingContacts, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, PageLoading, Pagination, type PaginationProps, PasswordInput, PillTabs, Popover, Progress, PulseBadge, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Sorter, StatusBadge, StepProgress, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, ToastProvider, Tooltip, type UnderverseLocale, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, getUnderverseMessages, underverseMessages, useFormField, useToast };
package/dist/index.d.ts CHANGED
@@ -158,6 +158,11 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>
158
158
  maxLength?: number;
159
159
  }
160
160
  declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
161
+ interface SearchInputProps extends Omit<InputProps, 'leftIcon' | 'type'> {
162
+ onSearch?: (value: string) => void;
163
+ searchDelay?: number;
164
+ }
165
+ declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLInputElement>>;
161
166
  interface PasswordInputProps extends Omit<InputProps, 'type'> {
162
167
  showStrength?: boolean;
163
168
  strengthLabels?: string[];
@@ -216,6 +221,44 @@ interface SkeletonProps {
216
221
  lines?: number;
217
222
  }
218
223
  declare const Skeleton: React__default.FC<SkeletonProps>;
224
+ declare const SkeletonAvatar: React__default.FC<{
225
+ size?: "sm" | "md" | "lg";
226
+ className?: string;
227
+ }>;
228
+ declare const SkeletonButton: React__default.FC<{
229
+ size?: "sm" | "md" | "lg";
230
+ className?: string;
231
+ }>;
232
+ declare const SkeletonText: React__default.FC<{
233
+ lines?: number;
234
+ className?: string;
235
+ width?: string;
236
+ }>;
237
+ declare const SkeletonCard: React__default.FC<{
238
+ showAvatar?: boolean;
239
+ showImage?: boolean;
240
+ textLines?: number;
241
+ className?: string;
242
+ }>;
243
+ declare const SkeletonPost: React__default.FC<{
244
+ className?: string;
245
+ }>;
246
+ declare const SkeletonMessage: React__default.FC<{
247
+ own?: boolean;
248
+ showAvatar?: boolean;
249
+ className?: string;
250
+ }>;
251
+ declare const SkeletonList: React__default.FC<{
252
+ items?: number;
253
+ itemHeight?: number;
254
+ showAvatar?: boolean;
255
+ className?: string;
256
+ }>;
257
+ declare const SkeletonTable: React__default.FC<{
258
+ rows?: number;
259
+ columns?: number;
260
+ className?: string;
261
+ }>;
219
262
 
220
263
  interface ProgressProps {
221
264
  value: number;
@@ -232,6 +275,63 @@ interface ProgressProps {
232
275
  status?: "normal" | "error" | "complete";
233
276
  }
234
277
  declare const Progress: React__default.FC<ProgressProps>;
278
+ interface CircularProgressProps {
279
+ value: number;
280
+ max?: number;
281
+ size?: number;
282
+ strokeWidth?: number;
283
+ className?: string;
284
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
285
+ showValue?: boolean;
286
+ children?: React__default.ReactNode;
287
+ indeterminate?: boolean;
288
+ status?: "normal" | "error" | "complete";
289
+ trackColor?: string;
290
+ }
291
+ declare const CircularProgress: React__default.FC<CircularProgressProps>;
292
+ interface StepProgressProps {
293
+ steps: string[];
294
+ currentStep: number;
295
+ className?: string;
296
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
297
+ size?: "sm" | "md" | "lg";
298
+ }
299
+ declare const StepProgress: React__default.FC<StepProgressProps>;
300
+ interface MiniProgressProps {
301
+ value: number;
302
+ max?: number;
303
+ className?: string;
304
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
305
+ showValue?: boolean;
306
+ }
307
+ declare const MiniProgress: React__default.FC<MiniProgressProps>;
308
+ interface BatteryProgressProps {
309
+ value: number;
310
+ max?: number;
311
+ className?: string;
312
+ charging?: boolean;
313
+ showValue?: boolean;
314
+ }
315
+ declare const BatteryProgress: React__default.FC<BatteryProgressProps>;
316
+ interface SegmentedProgressProps {
317
+ segments: number;
318
+ activeSegments: number;
319
+ className?: string;
320
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
321
+ size?: "sm" | "md" | "lg";
322
+ }
323
+ declare const SegmentedProgress: React__default.FC<SegmentedProgressProps>;
324
+ interface LoadingProgressProps {
325
+ value: number;
326
+ max?: number;
327
+ className?: string;
328
+ variant?: "default" | "primary" | "success" | "warning" | "danger" | "info";
329
+ label?: string;
330
+ status?: "loading" | "complete" | "error" | "paused";
331
+ speed?: string;
332
+ timeRemaining?: string;
333
+ }
334
+ declare const LoadingProgress: React__default.FC<LoadingProgressProps>;
235
335
 
236
336
  interface ModalProps {
237
337
  isOpen: boolean;
@@ -465,6 +565,23 @@ interface DropdownMenuProps {
465
565
  }>;
466
566
  }
467
567
  declare const DropdownMenu: React__default.FC<DropdownMenuProps>;
568
+ declare const DropdownMenuItem: React__default.FC<{
569
+ children: React__default.ReactNode;
570
+ onClick?: () => void;
571
+ disabled?: boolean;
572
+ destructive?: boolean;
573
+ className?: string;
574
+ }>;
575
+ declare const DropdownMenuSeparator: React__default.FC<{
576
+ className?: string;
577
+ }>;
578
+ declare const SelectDropdown: React__default.FC<{
579
+ options: string[];
580
+ value?: string;
581
+ onChange: (value: string) => void;
582
+ placeholder?: string;
583
+ className?: string;
584
+ }>;
468
585
 
469
586
  interface PaginationProps {
470
587
  page: number;
@@ -620,6 +737,19 @@ interface RadioGroupProps {
620
737
  errorMessage?: string;
621
738
  }
622
739
  declare const RadioGroup: React$1.ForwardRefExoticComponent<RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
740
+ interface RadioGroupItemProps {
741
+ value: string;
742
+ id?: string;
743
+ disabled?: boolean;
744
+ className?: string;
745
+ children?: React$1.ReactNode;
746
+ label?: string;
747
+ description?: string;
748
+ icon?: React$1.ComponentType<{
749
+ className?: string;
750
+ }>;
751
+ }
752
+ declare const RadioGroupItem: React$1.ForwardRefExoticComponent<RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
623
753
 
624
754
  interface SliderProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'size'> {
625
755
  value?: number;
@@ -1271,4 +1401,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
1271
1401
  };
1272
1402
  };
1273
1403
 
1274
- export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, ClientOnly, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, date as DateUtils, Drawer, DropdownMenu, FloatingContacts, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LoadingBar, LoadingDots, LoadingSpinner, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, PageLoading, Pagination, type PaginationProps, PasswordInput, PillTabs, Popover, Progress, PulseBadge, RadioGroup, SIZE_STYLES_BTN, ScrollArea, Section, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SlideOver, Slider, SmartImage, type Sorter, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, ToastProvider, Tooltip, type UnderverseLocale, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, getUnderverseMessages, underverseMessages, useFormField, useToast };
1404
+ export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FloatingContacts, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, PageLoading, Pagination, type PaginationProps, PasswordInput, PillTabs, Popover, Progress, PulseBadge, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Sorter, StatusBadge, StepProgress, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, ToastProvider, Tooltip, type UnderverseLocale, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, getUnderverseMessages, underverseMessages, useFormField, useToast };