@partrunner-ai/ui 2.3.3 → 2.4.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.cjs +160 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.js +160 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/styles/light.css +86 -0
- package/styles/theme.css +86 -0
- package/styles/ui.css +86 -0
package/dist/index.d.cts
CHANGED
|
@@ -1380,6 +1380,29 @@ interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1380
1380
|
*/
|
|
1381
1381
|
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLDivElement>>;
|
|
1382
1382
|
|
|
1383
|
+
type PageSkeletonVariant = 'table' | 'dashboard' | 'detail' | 'cards' | 'chat';
|
|
1384
|
+
interface PageSkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
1385
|
+
/** The page shape to imitate. Default `table`. */
|
|
1386
|
+
variant?: PageSkeletonVariant;
|
|
1387
|
+
/** Announced once to assistive technology. Default "Cargando…". */
|
|
1388
|
+
label?: string;
|
|
1389
|
+
/** `table` only: body rows. Default 8. */
|
|
1390
|
+
rows?: number;
|
|
1391
|
+
/** `table` only: columns. Default 5. */
|
|
1392
|
+
columns?: number;
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* A full-page loading placeholder that imitates the shape of the real page, so
|
|
1396
|
+
* the screen does not jump when data arrives.
|
|
1397
|
+
*
|
|
1398
|
+
* Built on {@link Skeleton}. It is one busy status region with a single
|
|
1399
|
+
* announcement; every bar inside stays hidden from assistive technology. It
|
|
1400
|
+
* carries no outer page padding: place it in the app content area (or inside
|
|
1401
|
+
* `Page`). It fades in after a short delay so a fast load never flashes it, and
|
|
1402
|
+
* all motion stops under `prefers-reduced-motion`.
|
|
1403
|
+
*/
|
|
1404
|
+
declare const PageSkeleton: react.ForwardRefExoticComponent<PageSkeletonProps & react.RefAttributes<HTMLDivElement>>;
|
|
1405
|
+
|
|
1383
1406
|
interface StepperStep {
|
|
1384
1407
|
/** Visible step name. Also the accessible name of the step control. */
|
|
1385
1408
|
label: ReactNode;
|
|
@@ -2203,4 +2226,4 @@ interface PreparedCommentFile {
|
|
|
2203
2226
|
}
|
|
2204
2227
|
declare function prepareCommentFile(file: File): Promise<PreparedCommentFile>;
|
|
2205
2228
|
|
|
2206
|
-
export { AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogMedia, type AlertDialogMediaProps, AlertDialogRoot, type AlertDialogRootProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AmbientBackground, type AmbientBackgroundProps, type AmbientBackgroundVariant, type AnchoredMenuOptions, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeSize, type BadgeTone, Button, type ButtonIcon, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarDate, type CalendarDisabledDates, type CalendarProps, type CalendarRange, type CalendarRangeProps, type CalendarSharedProps, type CalendarSingleProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, CardTitle, type CardTitleProps, type CardTone, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ChoiceGroupOrientation, type ChoiceOption, Combobox, type ComboboxOption, type ComboboxProps, type CommentAttachment, type CommentAuthor, type CommentAuthorKind, type CommentDraft, type CommentFollowState, type CommentMention, type CommentMentionCandidate, type CommentMentionKind, type CommentMessage, type CommentReaction, type CommentReplyRef, type CommentSegment, type CommentStatus, CommentThread, type CommentThreadProps, ConfirmDialog, type ConfirmDialogProps, CopyField, type CopyFieldProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSize, type DateRange, DateRangeFilter, type DateRangeFilterLabels, type DateRangeFilterProps, type DateRangeFilterSize, type DateRangePreset, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogLayer, type DialogLayerAutoFocusEvent, type DialogLayerProps, type DialogPrimitiveSize, type DialogProps, DialogRoot, type DialogRootProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DropdownMenu, type DropdownMenuAlign, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EMPTY_DATE_RANGE, EmptyState, type EmptyStateProps, FileDropzone, type FileDropzoneProps, type FileDropzoneSelectionSource, FilterChip, type FilterChipProps, FilterChipRow, type FilterChipRowProps, FormField, type FormFieldProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, IconTile, type IconTileProps, type IconTileSize, Input, type InputProps, type InputSize, Label, type LabelProps, type MenuPosition, MultiSelect, type MultiSelectOption, type MultiSelectProps, type MultiSelectVariant, type NavigationTabItem, NavigationTabs, type NavigationTabsLinkComponent, type NavigationTabsLinkProps, type NavigationTabsProps, OtpInput, type OtpInputProps, Page, PageHeader, type PageHeaderProps, type PageProps, type PageWidth, Pagination, type PaginationLabels, type PaginationProps, type PaginationSummary, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverPadding, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, type PreparedCommentFile, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressDots, type ProgressDotsProps, ProgressRing, type ProgressRingProps, RadioGroup, type RadioGroupProps, RichSelect, RichSelectContent, type RichSelectContentProps, RichSelectEmpty, type RichSelectEmptyProps, RichSelectGroup, type RichSelectGroupProps, RichSelectItem, type RichSelectItemProps, RichSelectLabel, type RichSelectLabelProps, type RichSelectProps, RichSelectSearch, type RichSelectSearchProps, RichSelectSeparator, type RichSelectSeparatorProps, type RichSelectSize, RichSelectTrigger, type RichSelectTriggerProps, RichSelectValue, type RichSelectValueProps, SearchField, type SearchFieldProps, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedOption, Select, type SelectOption, type SelectProps, type SelectSize, Separator, type SeparatorOrientation, type SeparatorProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, SheetRoot, type SheetRootProps, type SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, type SheetWidth, Skeleton, type SkeletonProps, type SkeletonShape, Slot, type SlotAllProps, type SlotProps, Spinner, type SpinnerProps, type SpinnerSize, StatTile, StatTileGrid, type StatTileGridColumns, type StatTileGridProps, type StatTileProps, type StatTone, StatusDot, type StatusDotProps, type StatusDotSize, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, TINT_TONES, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, type TableColumn, type TableDensity, TableFooter, type TableFooterProps, TableFrame, type TableFrameProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, type TableRootProps, TableRow, type TableRowProps, TableSkeleton, type TableSkeletonProps, Tabs, type TabsActivationMode, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsListVariant, type TabsOrientation, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, type TextareaSize, type TintTone, Toolbar, ToolbarGroup, type ToolbarGroupProps, type ToolbarProps, ToolbarSpacer, type ToolbarSpacerProps, Tooltip, type TooltipProps, ValidationSummary, type ValidationSummaryError, type ValidationSummaryProps, activeMentionQuery, avatarInitials, commentDraftFromBody, commentPlainText, formatCalendarDate, formatDateRange, isCalendarDate, isSameDateRange, isValidDateRange, menuStyle, mergeCommentMessages, parseCalendarDate, parseCommentBody, prepareCommentFile, registerDialogLayerPortal, resolveActiveNavigationHref, serializeCalendarDate, serializeCommentDraft, toneFromString, useAnchoredMenu };
|
|
2229
|
+
export { AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogMedia, type AlertDialogMediaProps, AlertDialogRoot, type AlertDialogRootProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AmbientBackground, type AmbientBackgroundProps, type AmbientBackgroundVariant, type AnchoredMenuOptions, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeSize, type BadgeTone, Button, type ButtonIcon, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarDate, type CalendarDisabledDates, type CalendarProps, type CalendarRange, type CalendarRangeProps, type CalendarSharedProps, type CalendarSingleProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, CardTitle, type CardTitleProps, type CardTone, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ChoiceGroupOrientation, type ChoiceOption, Combobox, type ComboboxOption, type ComboboxProps, type CommentAttachment, type CommentAuthor, type CommentAuthorKind, type CommentDraft, type CommentFollowState, type CommentMention, type CommentMentionCandidate, type CommentMentionKind, type CommentMessage, type CommentReaction, type CommentReplyRef, type CommentSegment, type CommentStatus, CommentThread, type CommentThreadProps, ConfirmDialog, type ConfirmDialogProps, CopyField, type CopyFieldProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSize, type DateRange, DateRangeFilter, type DateRangeFilterLabels, type DateRangeFilterProps, type DateRangeFilterSize, type DateRangePreset, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogLayer, type DialogLayerAutoFocusEvent, type DialogLayerProps, type DialogPrimitiveSize, type DialogProps, DialogRoot, type DialogRootProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DropdownMenu, type DropdownMenuAlign, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EMPTY_DATE_RANGE, EmptyState, type EmptyStateProps, FileDropzone, type FileDropzoneProps, type FileDropzoneSelectionSource, FilterChip, type FilterChipProps, FilterChipRow, type FilterChipRowProps, FormField, type FormFieldProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, IconTile, type IconTileProps, type IconTileSize, Input, type InputProps, type InputSize, Label, type LabelProps, type MenuPosition, MultiSelect, type MultiSelectOption, type MultiSelectProps, type MultiSelectVariant, type NavigationTabItem, NavigationTabs, type NavigationTabsLinkComponent, type NavigationTabsLinkProps, type NavigationTabsProps, OtpInput, type OtpInputProps, Page, PageHeader, type PageHeaderProps, type PageProps, PageSkeleton, type PageSkeletonProps, type PageSkeletonVariant, type PageWidth, Pagination, type PaginationLabels, type PaginationProps, type PaginationSummary, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverPadding, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, type PreparedCommentFile, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressDots, type ProgressDotsProps, ProgressRing, type ProgressRingProps, RadioGroup, type RadioGroupProps, RichSelect, RichSelectContent, type RichSelectContentProps, RichSelectEmpty, type RichSelectEmptyProps, RichSelectGroup, type RichSelectGroupProps, RichSelectItem, type RichSelectItemProps, RichSelectLabel, type RichSelectLabelProps, type RichSelectProps, RichSelectSearch, type RichSelectSearchProps, RichSelectSeparator, type RichSelectSeparatorProps, type RichSelectSize, RichSelectTrigger, type RichSelectTriggerProps, RichSelectValue, type RichSelectValueProps, SearchField, type SearchFieldProps, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedOption, Select, type SelectOption, type SelectProps, type SelectSize, Separator, type SeparatorOrientation, type SeparatorProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, SheetRoot, type SheetRootProps, type SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, type SheetWidth, Skeleton, type SkeletonProps, type SkeletonShape, Slot, type SlotAllProps, type SlotProps, Spinner, type SpinnerProps, type SpinnerSize, StatTile, StatTileGrid, type StatTileGridColumns, type StatTileGridProps, type StatTileProps, type StatTone, StatusDot, type StatusDotProps, type StatusDotSize, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, TINT_TONES, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, type TableColumn, type TableDensity, TableFooter, type TableFooterProps, TableFrame, type TableFrameProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, type TableRootProps, TableRow, type TableRowProps, TableSkeleton, type TableSkeletonProps, Tabs, type TabsActivationMode, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsListVariant, type TabsOrientation, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, type TextareaSize, type TintTone, Toolbar, ToolbarGroup, type ToolbarGroupProps, type ToolbarProps, ToolbarSpacer, type ToolbarSpacerProps, Tooltip, type TooltipProps, ValidationSummary, type ValidationSummaryError, type ValidationSummaryProps, activeMentionQuery, avatarInitials, commentDraftFromBody, commentPlainText, formatCalendarDate, formatDateRange, isCalendarDate, isSameDateRange, isValidDateRange, menuStyle, mergeCommentMessages, parseCalendarDate, parseCommentBody, prepareCommentFile, registerDialogLayerPortal, resolveActiveNavigationHref, serializeCalendarDate, serializeCommentDraft, toneFromString, useAnchoredMenu };
|
package/dist/index.d.ts
CHANGED
|
@@ -1380,6 +1380,29 @@ interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1380
1380
|
*/
|
|
1381
1381
|
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLDivElement>>;
|
|
1382
1382
|
|
|
1383
|
+
type PageSkeletonVariant = 'table' | 'dashboard' | 'detail' | 'cards' | 'chat';
|
|
1384
|
+
interface PageSkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
1385
|
+
/** The page shape to imitate. Default `table`. */
|
|
1386
|
+
variant?: PageSkeletonVariant;
|
|
1387
|
+
/** Announced once to assistive technology. Default "Cargando…". */
|
|
1388
|
+
label?: string;
|
|
1389
|
+
/** `table` only: body rows. Default 8. */
|
|
1390
|
+
rows?: number;
|
|
1391
|
+
/** `table` only: columns. Default 5. */
|
|
1392
|
+
columns?: number;
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* A full-page loading placeholder that imitates the shape of the real page, so
|
|
1396
|
+
* the screen does not jump when data arrives.
|
|
1397
|
+
*
|
|
1398
|
+
* Built on {@link Skeleton}. It is one busy status region with a single
|
|
1399
|
+
* announcement; every bar inside stays hidden from assistive technology. It
|
|
1400
|
+
* carries no outer page padding: place it in the app content area (or inside
|
|
1401
|
+
* `Page`). It fades in after a short delay so a fast load never flashes it, and
|
|
1402
|
+
* all motion stops under `prefers-reduced-motion`.
|
|
1403
|
+
*/
|
|
1404
|
+
declare const PageSkeleton: react.ForwardRefExoticComponent<PageSkeletonProps & react.RefAttributes<HTMLDivElement>>;
|
|
1405
|
+
|
|
1383
1406
|
interface StepperStep {
|
|
1384
1407
|
/** Visible step name. Also the accessible name of the step control. */
|
|
1385
1408
|
label: ReactNode;
|
|
@@ -2203,4 +2226,4 @@ interface PreparedCommentFile {
|
|
|
2203
2226
|
}
|
|
2204
2227
|
declare function prepareCommentFile(file: File): Promise<PreparedCommentFile>;
|
|
2205
2228
|
|
|
2206
|
-
export { AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogMedia, type AlertDialogMediaProps, AlertDialogRoot, type AlertDialogRootProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AmbientBackground, type AmbientBackgroundProps, type AmbientBackgroundVariant, type AnchoredMenuOptions, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeSize, type BadgeTone, Button, type ButtonIcon, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarDate, type CalendarDisabledDates, type CalendarProps, type CalendarRange, type CalendarRangeProps, type CalendarSharedProps, type CalendarSingleProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, CardTitle, type CardTitleProps, type CardTone, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ChoiceGroupOrientation, type ChoiceOption, Combobox, type ComboboxOption, type ComboboxProps, type CommentAttachment, type CommentAuthor, type CommentAuthorKind, type CommentDraft, type CommentFollowState, type CommentMention, type CommentMentionCandidate, type CommentMentionKind, type CommentMessage, type CommentReaction, type CommentReplyRef, type CommentSegment, type CommentStatus, CommentThread, type CommentThreadProps, ConfirmDialog, type ConfirmDialogProps, CopyField, type CopyFieldProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSize, type DateRange, DateRangeFilter, type DateRangeFilterLabels, type DateRangeFilterProps, type DateRangeFilterSize, type DateRangePreset, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogLayer, type DialogLayerAutoFocusEvent, type DialogLayerProps, type DialogPrimitiveSize, type DialogProps, DialogRoot, type DialogRootProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DropdownMenu, type DropdownMenuAlign, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EMPTY_DATE_RANGE, EmptyState, type EmptyStateProps, FileDropzone, type FileDropzoneProps, type FileDropzoneSelectionSource, FilterChip, type FilterChipProps, FilterChipRow, type FilterChipRowProps, FormField, type FormFieldProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, IconTile, type IconTileProps, type IconTileSize, Input, type InputProps, type InputSize, Label, type LabelProps, type MenuPosition, MultiSelect, type MultiSelectOption, type MultiSelectProps, type MultiSelectVariant, type NavigationTabItem, NavigationTabs, type NavigationTabsLinkComponent, type NavigationTabsLinkProps, type NavigationTabsProps, OtpInput, type OtpInputProps, Page, PageHeader, type PageHeaderProps, type PageProps, type PageWidth, Pagination, type PaginationLabels, type PaginationProps, type PaginationSummary, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverPadding, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, type PreparedCommentFile, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressDots, type ProgressDotsProps, ProgressRing, type ProgressRingProps, RadioGroup, type RadioGroupProps, RichSelect, RichSelectContent, type RichSelectContentProps, RichSelectEmpty, type RichSelectEmptyProps, RichSelectGroup, type RichSelectGroupProps, RichSelectItem, type RichSelectItemProps, RichSelectLabel, type RichSelectLabelProps, type RichSelectProps, RichSelectSearch, type RichSelectSearchProps, RichSelectSeparator, type RichSelectSeparatorProps, type RichSelectSize, RichSelectTrigger, type RichSelectTriggerProps, RichSelectValue, type RichSelectValueProps, SearchField, type SearchFieldProps, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedOption, Select, type SelectOption, type SelectProps, type SelectSize, Separator, type SeparatorOrientation, type SeparatorProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, SheetRoot, type SheetRootProps, type SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, type SheetWidth, Skeleton, type SkeletonProps, type SkeletonShape, Slot, type SlotAllProps, type SlotProps, Spinner, type SpinnerProps, type SpinnerSize, StatTile, StatTileGrid, type StatTileGridColumns, type StatTileGridProps, type StatTileProps, type StatTone, StatusDot, type StatusDotProps, type StatusDotSize, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, TINT_TONES, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, type TableColumn, type TableDensity, TableFooter, type TableFooterProps, TableFrame, type TableFrameProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, type TableRootProps, TableRow, type TableRowProps, TableSkeleton, type TableSkeletonProps, Tabs, type TabsActivationMode, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsListVariant, type TabsOrientation, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, type TextareaSize, type TintTone, Toolbar, ToolbarGroup, type ToolbarGroupProps, type ToolbarProps, ToolbarSpacer, type ToolbarSpacerProps, Tooltip, type TooltipProps, ValidationSummary, type ValidationSummaryError, type ValidationSummaryProps, activeMentionQuery, avatarInitials, commentDraftFromBody, commentPlainText, formatCalendarDate, formatDateRange, isCalendarDate, isSameDateRange, isValidDateRange, menuStyle, mergeCommentMessages, parseCalendarDate, parseCommentBody, prepareCommentFile, registerDialogLayerPortal, resolveActiveNavigationHref, serializeCalendarDate, serializeCommentDraft, toneFromString, useAnchoredMenu };
|
|
2229
|
+
export { AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogMedia, type AlertDialogMediaProps, AlertDialogRoot, type AlertDialogRootProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AmbientBackground, type AmbientBackgroundProps, type AmbientBackgroundVariant, type AnchoredMenuOptions, Avatar, type AvatarProps, type AvatarSize, Badge, type BadgeProps, type BadgeSize, type BadgeTone, Button, type ButtonIcon, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarDate, type CalendarDisabledDates, type CalendarProps, type CalendarRange, type CalendarRangeProps, type CalendarSharedProps, type CalendarSingleProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardHeader, type CardHeaderProps, type CardPadding, type CardProps, CardTitle, type CardTitleProps, type CardTone, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ChoiceGroupOrientation, type ChoiceOption, Combobox, type ComboboxOption, type ComboboxProps, type CommentAttachment, type CommentAuthor, type CommentAuthorKind, type CommentDraft, type CommentFollowState, type CommentMention, type CommentMentionCandidate, type CommentMentionKind, type CommentMessage, type CommentReaction, type CommentReplyRef, type CommentSegment, type CommentStatus, CommentThread, type CommentThreadProps, ConfirmDialog, type ConfirmDialogProps, CopyField, type CopyFieldProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSize, type DateRange, DateRangeFilter, type DateRangeFilterLabels, type DateRangeFilterProps, type DateRangeFilterSize, type DateRangePreset, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogLayer, type DialogLayerAutoFocusEvent, type DialogLayerProps, type DialogPrimitiveSize, type DialogProps, DialogRoot, type DialogRootProps, type DialogSize, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DropdownMenu, type DropdownMenuAlign, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EMPTY_DATE_RANGE, EmptyState, type EmptyStateProps, FileDropzone, type FileDropzoneProps, type FileDropzoneSelectionSource, FilterChip, type FilterChipProps, FilterChipRow, type FilterChipRowProps, FormField, type FormFieldProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, IconTile, type IconTileProps, type IconTileSize, Input, type InputProps, type InputSize, Label, type LabelProps, type MenuPosition, MultiSelect, type MultiSelectOption, type MultiSelectProps, type MultiSelectVariant, type NavigationTabItem, NavigationTabs, type NavigationTabsLinkComponent, type NavigationTabsLinkProps, type NavigationTabsProps, OtpInput, type OtpInputProps, Page, PageHeader, type PageHeaderProps, type PageProps, PageSkeleton, type PageSkeletonProps, type PageSkeletonVariant, type PageWidth, Pagination, type PaginationLabels, type PaginationProps, type PaginationSummary, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverHeader, type PopoverHeaderProps, type PopoverPadding, type PopoverProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps, type PreparedCommentFile, ProgressBar, type ProgressBarProps, type ProgressBarSize, ProgressDots, type ProgressDotsProps, ProgressRing, type ProgressRingProps, RadioGroup, type RadioGroupProps, RichSelect, RichSelectContent, type RichSelectContentProps, RichSelectEmpty, type RichSelectEmptyProps, RichSelectGroup, type RichSelectGroupProps, RichSelectItem, type RichSelectItemProps, RichSelectLabel, type RichSelectLabelProps, type RichSelectProps, RichSelectSearch, type RichSelectSearchProps, RichSelectSeparator, type RichSelectSeparatorProps, type RichSelectSize, RichSelectTrigger, type RichSelectTriggerProps, RichSelectValue, type RichSelectValueProps, SearchField, type SearchFieldProps, SectionHeading, type SectionHeadingLevel, type SectionHeadingProps, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedOption, Select, type SelectOption, type SelectProps, type SelectSize, Separator, type SeparatorOrientation, type SeparatorProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, SheetRoot, type SheetRootProps, type SheetSide, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, type SheetWidth, Skeleton, type SkeletonProps, type SkeletonShape, Slot, type SlotAllProps, type SlotProps, Spinner, type SpinnerProps, type SpinnerSize, StatTile, StatTileGrid, type StatTileGridColumns, type StatTileGridProps, type StatTileProps, type StatTone, StatusDot, type StatusDotProps, type StatusDotSize, Stepper, type StepperProps, type StepperStep, Switch, type SwitchProps, TINT_TONES, Table, type TableAlign, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, type TableColumn, type TableDensity, TableFooter, type TableFooterProps, TableFrame, type TableFrameProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, type TableRootProps, TableRow, type TableRowProps, TableSkeleton, type TableSkeletonProps, Tabs, type TabsActivationMode, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsListVariant, type TabsOrientation, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, type TextareaSize, type TintTone, Toolbar, ToolbarGroup, type ToolbarGroupProps, type ToolbarProps, ToolbarSpacer, type ToolbarSpacerProps, Tooltip, type TooltipProps, ValidationSummary, type ValidationSummaryError, type ValidationSummaryProps, activeMentionQuery, avatarInitials, commentDraftFromBody, commentPlainText, formatCalendarDate, formatDateRange, isCalendarDate, isSameDateRange, isValidDateRange, menuStyle, mergeCommentMessages, parseCalendarDate, parseCommentBody, prepareCommentFile, registerDialogLayerPortal, resolveActiveNavigationHref, serializeCalendarDate, serializeCommentDraft, toneFromString, useAnchoredMenu };
|
package/dist/index.js
CHANGED
|
@@ -5113,6 +5113,165 @@ var Skeleton = forwardRef(function Skeleton2({ shape = "block", width, height, l
|
|
|
5113
5113
|
}
|
|
5114
5114
|
);
|
|
5115
5115
|
});
|
|
5116
|
+
var CELL_WIDTHS = [72, 54, 86, 44, 64, 78, 50, 68];
|
|
5117
|
+
function Bar({ w, h = 14, shape = "text" }) {
|
|
5118
|
+
return /* @__PURE__ */ jsx(Skeleton, { shape, width: w, height: h });
|
|
5119
|
+
}
|
|
5120
|
+
function PageHead() {
|
|
5121
|
+
return /* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__head", children: [
|
|
5122
|
+
/* @__PURE__ */ jsx(Bar, { w: 220, h: 26, shape: "block" }),
|
|
5123
|
+
/* @__PURE__ */ jsx(Bar, { w: 340, h: 14 })
|
|
5124
|
+
] });
|
|
5125
|
+
}
|
|
5126
|
+
function TableLayout({ rows, columns }) {
|
|
5127
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5128
|
+
/* @__PURE__ */ jsx(PageHead, {}),
|
|
5129
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__toolbar", children: [
|
|
5130
|
+
/* @__PURE__ */ jsx(Skeleton, { width: 260, height: 36, className: "pr-page-skeleton__field" }),
|
|
5131
|
+
/* @__PURE__ */ jsx(Skeleton, { width: 96, height: 32, className: "pr-page-skeleton__pill" }),
|
|
5132
|
+
/* @__PURE__ */ jsx(Skeleton, { width: 112, height: 32, className: "pr-page-skeleton__pill" }),
|
|
5133
|
+
/* @__PURE__ */ jsx("span", { className: "pr-page-skeleton__spacer" }),
|
|
5134
|
+
/* @__PURE__ */ jsx(Skeleton, { width: 120, height: 36, className: "pr-page-skeleton__field" })
|
|
5135
|
+
] }),
|
|
5136
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__panel", children: [
|
|
5137
|
+
/* @__PURE__ */ jsx("div", { className: "pr-page-skeleton__row pr-page-skeleton__row--head", children: Array.from({ length: columns }, (_, c) => /* @__PURE__ */ jsx(Bar, { w: `${40 + c * 13 % 30}%`, h: 11 }, c)) }),
|
|
5138
|
+
Array.from({ length: rows }, (_, r) => /* @__PURE__ */ jsx("div", { className: "pr-page-skeleton__row", children: Array.from({ length: columns }, (_2, c) => /* @__PURE__ */ jsx(Bar, { w: `${CELL_WIDTHS[(r * 3 + c * 5) % CELL_WIDTHS.length]}%` }, c)) }, r))
|
|
5139
|
+
] })
|
|
5140
|
+
] });
|
|
5141
|
+
}
|
|
5142
|
+
function DashboardLayout() {
|
|
5143
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5144
|
+
/* @__PURE__ */ jsx(PageHead, {}),
|
|
5145
|
+
/* @__PURE__ */ jsx("div", { className: "pr-page-skeleton__kpis", children: [0, 1, 2, 3].map((i) => /* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__panel pr-page-skeleton__kpi", children: [
|
|
5146
|
+
/* @__PURE__ */ jsx(Bar, { w: "45%", h: 11 }),
|
|
5147
|
+
/* @__PURE__ */ jsx(Bar, { w: "60%", h: 28, shape: "block" }),
|
|
5148
|
+
/* @__PURE__ */ jsx(Bar, { w: "35%", h: 11 })
|
|
5149
|
+
] }, i)) }),
|
|
5150
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__split", children: [
|
|
5151
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__panel pr-page-skeleton__chart", children: [
|
|
5152
|
+
/* @__PURE__ */ jsx(Bar, { w: 160, h: 16 }),
|
|
5153
|
+
/* @__PURE__ */ jsx(Skeleton, { className: "pr-page-skeleton__chart-area" })
|
|
5154
|
+
] }),
|
|
5155
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__panel pr-page-skeleton__list", children: [
|
|
5156
|
+
/* @__PURE__ */ jsx(Bar, { w: 120, h: 16 }),
|
|
5157
|
+
[0, 1, 2, 3, 4].map((i) => /* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__item", children: [
|
|
5158
|
+
/* @__PURE__ */ jsx(Skeleton, { shape: "circle", width: 28, height: 28 }),
|
|
5159
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__item-text", children: [
|
|
5160
|
+
/* @__PURE__ */ jsx(Bar, { w: `${70 - i * 6}%` }),
|
|
5161
|
+
/* @__PURE__ */ jsx(Bar, { w: "40%", h: 11 })
|
|
5162
|
+
] })
|
|
5163
|
+
] }, i))
|
|
5164
|
+
] })
|
|
5165
|
+
] })
|
|
5166
|
+
] });
|
|
5167
|
+
}
|
|
5168
|
+
function DetailLayout() {
|
|
5169
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5170
|
+
/* @__PURE__ */ jsx(Bar, { w: 84, h: 14 }),
|
|
5171
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__head", children: [
|
|
5172
|
+
/* @__PURE__ */ jsx(Bar, { w: 280, h: 28, shape: "block" }),
|
|
5173
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__meta", children: [
|
|
5174
|
+
/* @__PURE__ */ jsx(Bar, { w: 72, h: 22, shape: "block" }),
|
|
5175
|
+
/* @__PURE__ */ jsx(Bar, { w: 120, h: 12 }),
|
|
5176
|
+
/* @__PURE__ */ jsx(Bar, { w: 96, h: 12 })
|
|
5177
|
+
] })
|
|
5178
|
+
] }),
|
|
5179
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__split pr-page-skeleton__split--detail", children: [
|
|
5180
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__panel pr-page-skeleton__card", children: [
|
|
5181
|
+
/* @__PURE__ */ jsx(Bar, { w: 140, h: 16 }),
|
|
5182
|
+
[96, 100, 88, 94, 60].map((w, i) => /* @__PURE__ */ jsx(Bar, { w: `${w}%` }, i)),
|
|
5183
|
+
/* @__PURE__ */ jsx("div", { className: "pr-page-skeleton__gap" }),
|
|
5184
|
+
/* @__PURE__ */ jsx(Bar, { w: 120, h: 16 }),
|
|
5185
|
+
[100, 82, 90, 48].map((w, i) => /* @__PURE__ */ jsx(Bar, { w: `${w}%` }, i))
|
|
5186
|
+
] }),
|
|
5187
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__panel pr-page-skeleton__card", children: [
|
|
5188
|
+
/* @__PURE__ */ jsx(Bar, { w: 100, h: 16 }),
|
|
5189
|
+
[0, 1, 2, 3].map((i) => /* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__kv", children: [
|
|
5190
|
+
/* @__PURE__ */ jsx(Bar, { w: 72, h: 11 }),
|
|
5191
|
+
/* @__PURE__ */ jsx(Bar, { w: `${60 - i * 5}%` })
|
|
5192
|
+
] }, i))
|
|
5193
|
+
] })
|
|
5194
|
+
] })
|
|
5195
|
+
] });
|
|
5196
|
+
}
|
|
5197
|
+
function CardsLayout() {
|
|
5198
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5199
|
+
/* @__PURE__ */ jsx(PageHead, {}),
|
|
5200
|
+
/* @__PURE__ */ jsx("div", { className: "pr-page-skeleton__grid", children: [0, 1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__panel pr-page-skeleton__card", children: [
|
|
5201
|
+
/* @__PURE__ */ jsx(Bar, { w: "55%", h: 18 }),
|
|
5202
|
+
/* @__PURE__ */ jsx(Bar, { w: "92%" }),
|
|
5203
|
+
/* @__PURE__ */ jsx(Bar, { w: "68%" }),
|
|
5204
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__footer", children: [
|
|
5205
|
+
/* @__PURE__ */ jsx(Bar, { w: 64, h: 22, shape: "block" }),
|
|
5206
|
+
/* @__PURE__ */ jsx(Bar, { w: 80, h: 12 })
|
|
5207
|
+
] })
|
|
5208
|
+
] }, i)) })
|
|
5209
|
+
] });
|
|
5210
|
+
}
|
|
5211
|
+
function ChatLayout() {
|
|
5212
|
+
const bubbles = [
|
|
5213
|
+
["in", 52],
|
|
5214
|
+
["out", 38],
|
|
5215
|
+
["in", 64],
|
|
5216
|
+
["out", 44]
|
|
5217
|
+
];
|
|
5218
|
+
return /* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__chat", children: [
|
|
5219
|
+
/* @__PURE__ */ jsx("div", { className: "pr-page-skeleton__panel pr-page-skeleton__convs", children: Array.from({ length: 8 }, (_, i) => /* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__item", children: [
|
|
5220
|
+
/* @__PURE__ */ jsx(Skeleton, { shape: "circle", width: 36, height: 36 }),
|
|
5221
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__item-text", children: [
|
|
5222
|
+
/* @__PURE__ */ jsx(Bar, { w: `${68 - i % 3 * 10}%` }),
|
|
5223
|
+
/* @__PURE__ */ jsx(Bar, { w: `${88 - i % 4 * 8}%`, h: 11 })
|
|
5224
|
+
] })
|
|
5225
|
+
] }, i)) }),
|
|
5226
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__panel pr-page-skeleton__pane", children: [
|
|
5227
|
+
/* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__item", children: [
|
|
5228
|
+
/* @__PURE__ */ jsx(Skeleton, { shape: "circle", width: 36, height: 36 }),
|
|
5229
|
+
/* @__PURE__ */ jsx(Bar, { w: 160, h: 16 })
|
|
5230
|
+
] }),
|
|
5231
|
+
/* @__PURE__ */ jsx("div", { className: "pr-page-skeleton__messages", children: bubbles.map(([side, w], i) => /* @__PURE__ */ jsxs("div", { className: "pr-page-skeleton__bubble", "data-side": side, style: { width: `${w}%` }, children: [
|
|
5232
|
+
/* @__PURE__ */ jsx(Bar, { w: "90%" }),
|
|
5233
|
+
/* @__PURE__ */ jsx(Bar, { w: "55%" })
|
|
5234
|
+
] }, i)) }),
|
|
5235
|
+
/* @__PURE__ */ jsx(Skeleton, { height: 44, className: "pr-page-skeleton__field" })
|
|
5236
|
+
] })
|
|
5237
|
+
] });
|
|
5238
|
+
}
|
|
5239
|
+
var PageSkeleton = forwardRef(function PageSkeleton2({ variant = "table", label = "Cargando\u2026", rows = 8, columns = 5, className, ...rest }, ref) {
|
|
5240
|
+
let layout;
|
|
5241
|
+
switch (variant) {
|
|
5242
|
+
case "dashboard":
|
|
5243
|
+
layout = /* @__PURE__ */ jsx(DashboardLayout, {});
|
|
5244
|
+
break;
|
|
5245
|
+
case "detail":
|
|
5246
|
+
layout = /* @__PURE__ */ jsx(DetailLayout, {});
|
|
5247
|
+
break;
|
|
5248
|
+
case "cards":
|
|
5249
|
+
layout = /* @__PURE__ */ jsx(CardsLayout, {});
|
|
5250
|
+
break;
|
|
5251
|
+
case "chat":
|
|
5252
|
+
layout = /* @__PURE__ */ jsx(ChatLayout, {});
|
|
5253
|
+
break;
|
|
5254
|
+
default:
|
|
5255
|
+
layout = /* @__PURE__ */ jsx(TableLayout, { rows, columns });
|
|
5256
|
+
}
|
|
5257
|
+
return /* @__PURE__ */ jsxs(
|
|
5258
|
+
"div",
|
|
5259
|
+
{
|
|
5260
|
+
ref,
|
|
5261
|
+
role: "status",
|
|
5262
|
+
"aria-busy": "true",
|
|
5263
|
+
"data-pr-loading": "",
|
|
5264
|
+
...rest,
|
|
5265
|
+
"data-slot": "page-skeleton",
|
|
5266
|
+
"data-variant": variant,
|
|
5267
|
+
className: ["pr-page-skeleton", className].filter(Boolean).join(" "),
|
|
5268
|
+
children: [
|
|
5269
|
+
/* @__PURE__ */ jsx("span", { className: "pr-visually-hidden", children: label }),
|
|
5270
|
+
/* @__PURE__ */ jsx("div", { className: "pr-page-skeleton__body", "aria-hidden": true, children: layout })
|
|
5271
|
+
]
|
|
5272
|
+
}
|
|
5273
|
+
);
|
|
5274
|
+
});
|
|
5116
5275
|
var Stepper = forwardRef(function Stepper2({
|
|
5117
5276
|
steps,
|
|
5118
5277
|
current,
|
|
@@ -7100,6 +7259,6 @@ async function prepareCommentFile(file) {
|
|
|
7100
7259
|
};
|
|
7101
7260
|
}
|
|
7102
7261
|
|
|
7103
|
-
export { AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, AmbientBackground, Avatar, Badge, Button, Calendar, Card, CardContent, CardDescription, CardHeader, CardTitle, Checkbox, CheckboxGroup, Combobox, CommentThread, ConfirmDialog, CopyField, DataTable, DatePicker, DateRangeFilter, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogLayer, DialogRoot, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EMPTY_DATE_RANGE, EmptyState, FileDropzone, FilterChip, FilterChipRow, FormField, IconButton, IconTile, Input, Label, MultiSelect, NavigationTabs, OtpInput, Page, PageHeader, Pagination, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, ProgressBar, ProgressDots, ProgressRing, RadioGroup, RichSelect, RichSelectContent, RichSelectEmpty, RichSelectGroup, RichSelectItem, RichSelectLabel, RichSelectSearch, RichSelectSeparator, RichSelectTrigger, RichSelectValue, SearchField, SectionHeading, SegmentedControl, Select, Separator, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetRoot, SheetTitle, SheetTrigger, Skeleton, Slot, Spinner, StatTile, StatTileGrid, StatusDot, Stepper, Switch, TINT_TONES, Table2 as Table, TableBody, TableCaption, TableCell, TableFooter, TableFrame, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toolbar, ToolbarGroup, ToolbarSpacer, Tooltip, ValidationSummary, activeMentionQuery, avatarInitials, commentDraftFromBody, commentPlainText, formatCalendarDate, formatDateRange, isCalendarDate, isSameDateRange, isValidDateRange, menuStyle, mergeCommentMessages, parseCalendarDate, parseCommentBody, prepareCommentFile, registerDialogLayerPortal, resolveActiveNavigationHref, serializeCalendarDate, serializeCommentDraft, toneFromString, useAnchoredMenu };
|
|
7262
|
+
export { AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, AmbientBackground, Avatar, Badge, Button, Calendar, Card, CardContent, CardDescription, CardHeader, CardTitle, Checkbox, CheckboxGroup, Combobox, CommentThread, ConfirmDialog, CopyField, DataTable, DatePicker, DateRangeFilter, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogLayer, DialogRoot, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EMPTY_DATE_RANGE, EmptyState, FileDropzone, FilterChip, FilterChipRow, FormField, IconButton, IconTile, Input, Label, MultiSelect, NavigationTabs, OtpInput, Page, PageHeader, PageSkeleton, Pagination, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, ProgressBar, ProgressDots, ProgressRing, RadioGroup, RichSelect, RichSelectContent, RichSelectEmpty, RichSelectGroup, RichSelectItem, RichSelectLabel, RichSelectSearch, RichSelectSeparator, RichSelectTrigger, RichSelectValue, SearchField, SectionHeading, SegmentedControl, Select, Separator, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetRoot, SheetTitle, SheetTrigger, Skeleton, Slot, Spinner, StatTile, StatTileGrid, StatusDot, Stepper, Switch, TINT_TONES, Table2 as Table, TableBody, TableCaption, TableCell, TableFooter, TableFrame, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toolbar, ToolbarGroup, ToolbarSpacer, Tooltip, ValidationSummary, activeMentionQuery, avatarInitials, commentDraftFromBody, commentPlainText, formatCalendarDate, formatDateRange, isCalendarDate, isSameDateRange, isValidDateRange, menuStyle, mergeCommentMessages, parseCalendarDate, parseCommentBody, prepareCommentFile, registerDialogLayerPortal, resolveActiveNavigationHref, serializeCalendarDate, serializeCommentDraft, toneFromString, useAnchoredMenu };
|
|
7104
7263
|
//# sourceMappingURL=index.js.map
|
|
7105
7264
|
//# sourceMappingURL=index.js.map
|