@adsgency_npm/adsgency-ads-ui 0.1.0-alpha.21 → 0.1.0-alpha.22
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 +484 -232
- package/dist/index.d.cts +69 -8
- package/dist/index.d.ts +69 -8
- package/dist/index.js +455 -207
- package/package.json +3 -1
- package/dist/chunk-YJFQM6IB.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/tokens/designTokens.cjs.map +0 -1
- package/dist/tokens/designTokens.js.map +0 -1
- package/dist/tokens/tailwindPreset.cjs.map +0 -1
- package/dist/tokens/tailwindPreset.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -333,7 +333,6 @@ interface AdsInputProps extends Omit<InputProps$1, "aria-invalid" | "size" | "pr
|
|
|
333
333
|
clearable?: boolean;
|
|
334
334
|
clearButtonLabel?: string;
|
|
335
335
|
emptyFileLabel?: string;
|
|
336
|
-
fileTriggerIcon?: React$1.ReactNode;
|
|
337
336
|
fileTriggerLabel?: string;
|
|
338
337
|
onClear?: () => void;
|
|
339
338
|
prefix?: React$1.ReactNode;
|
|
@@ -494,8 +493,6 @@ type AdsDataTableSize = "small" | "middle" | "large";
|
|
|
494
493
|
type DataKey = string | number;
|
|
495
494
|
type AdsDataTablePaginationMode = "client" | "server";
|
|
496
495
|
type AdsDataTableFilterMode = "client" | "server";
|
|
497
|
-
type AdsDataTableLoadingVariant = "skeleton" | "spinner";
|
|
498
|
-
type AdsDataTableExpandedRowSurface = "inset" | "plain" | "subtle";
|
|
499
496
|
type AdsDataTableEllipsisConfig = {
|
|
500
497
|
maxWidth?: number | string;
|
|
501
498
|
showTitle?: boolean;
|
|
@@ -580,8 +577,6 @@ interface AdsDataTableProps<RecordType extends object> {
|
|
|
580
577
|
dataSource?: RecordType[];
|
|
581
578
|
rowKey?: DataKey | ((record: RecordType, index: number) => AdsDataTableKey);
|
|
582
579
|
loading?: boolean;
|
|
583
|
-
loadingVariant?: AdsDataTableLoadingVariant;
|
|
584
|
-
expandedRowSurface?: AdsDataTableExpandedRowSurface;
|
|
585
580
|
emptyText?: React$1.ReactNode;
|
|
586
581
|
emptyState?: React$1.ReactNode;
|
|
587
582
|
rowClassName?: string | ((record: RecordType, index: number) => string | undefined);
|
|
@@ -607,7 +602,7 @@ interface AdsDataTableProps<RecordType extends object> {
|
|
|
607
602
|
onRowClick?: (record: RecordType, index: number, event: React$1.MouseEvent<HTMLTableRowElement>) => void;
|
|
608
603
|
suppressRowClickSelection?: boolean;
|
|
609
604
|
}
|
|
610
|
-
declare function AdsDataTable<RecordType extends object>({ className, columns, dataSource, rowKey, loading,
|
|
605
|
+
declare function AdsDataTable<RecordType extends object>({ className, columns, dataSource, rowKey, loading, emptyText, emptyState, rowClassName, size, pagination, rowSelection, expandable, scroll, sticky, fill, footer, tableClassName, classNames, onSortChange, onRowClick, suppressRowClickSelection, }: AdsDataTableProps<RecordType>): React$1.JSX.Element;
|
|
611
606
|
|
|
612
607
|
interface AdsDataTableToolbarProps {
|
|
613
608
|
action?: React$1.ReactNode;
|
|
@@ -721,6 +716,73 @@ interface AdsProgressProps extends ProgressProps {
|
|
|
721
716
|
}
|
|
722
717
|
declare const AdsProgress: React$1.ForwardRefExoticComponent<AdsProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
723
718
|
|
|
719
|
+
interface AdsRadialProgressChartProps {
|
|
720
|
+
ariaLabel?: string;
|
|
721
|
+
className?: string;
|
|
722
|
+
color?: string;
|
|
723
|
+
label?: React$1.ReactNode;
|
|
724
|
+
max?: number;
|
|
725
|
+
size?: number;
|
|
726
|
+
strokeWidth?: number;
|
|
727
|
+
trackColor?: string;
|
|
728
|
+
value: number;
|
|
729
|
+
}
|
|
730
|
+
declare function AdsRadialProgressChart({ ariaLabel, className, color, label, max, size, strokeWidth, trackColor, value, }: AdsRadialProgressChartProps): React$1.JSX.Element;
|
|
731
|
+
|
|
732
|
+
type AdsChartDatum = Record<string, string | number | null | undefined>;
|
|
733
|
+
interface AdsChartSegment {
|
|
734
|
+
color?: string;
|
|
735
|
+
label?: string;
|
|
736
|
+
value: number;
|
|
737
|
+
}
|
|
738
|
+
interface AdsChartConfigItem {
|
|
739
|
+
color?: string;
|
|
740
|
+
label?: React$1.ReactNode;
|
|
741
|
+
}
|
|
742
|
+
type AdsChartConfig = Record<string, AdsChartConfigItem>;
|
|
743
|
+
interface AdsChartSeries {
|
|
744
|
+
color?: string;
|
|
745
|
+
dataKey: string;
|
|
746
|
+
label?: React$1.ReactNode;
|
|
747
|
+
}
|
|
748
|
+
interface AdsChartAxis {
|
|
749
|
+
dataKey: string;
|
|
750
|
+
label?: React$1.ReactNode;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
interface AdsSparklineChartProps {
|
|
754
|
+
ariaLabel?: string;
|
|
755
|
+
className?: string;
|
|
756
|
+
color?: string;
|
|
757
|
+
data: AdsChartDatum[];
|
|
758
|
+
dataKey: string;
|
|
759
|
+
height?: number;
|
|
760
|
+
xKey: string;
|
|
761
|
+
}
|
|
762
|
+
declare function AdsSparklineChart({ ariaLabel, className, color, data, dataKey, height, xKey, }: AdsSparklineChartProps): React$1.JSX.Element;
|
|
763
|
+
|
|
764
|
+
interface AdsStackedBarChartProps {
|
|
765
|
+
ariaLabel?: string;
|
|
766
|
+
className?: string;
|
|
767
|
+
height?: number;
|
|
768
|
+
segments: AdsChartSegment[];
|
|
769
|
+
}
|
|
770
|
+
declare function AdsStackedBarChart({ ariaLabel, className, height, segments, }: AdsStackedBarChartProps): React$1.JSX.Element;
|
|
771
|
+
|
|
772
|
+
interface AdsBarChartProps {
|
|
773
|
+
ariaLabel?: string;
|
|
774
|
+
barRadius?: number;
|
|
775
|
+
className?: string;
|
|
776
|
+
color?: string;
|
|
777
|
+
data: AdsChartDatum[];
|
|
778
|
+
dataKey: string;
|
|
779
|
+
height?: number;
|
|
780
|
+
highlightColor?: string;
|
|
781
|
+
highlightIndex?: number;
|
|
782
|
+
xKey: string;
|
|
783
|
+
}
|
|
784
|
+
declare function AdsBarChart({ ariaLabel, barRadius, className, color, data, dataKey, height, highlightColor, highlightIndex, xKey, }: AdsBarChartProps): React$1.JSX.Element;
|
|
785
|
+
|
|
724
786
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_radio_group.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
725
787
|
|
|
726
788
|
interface AdsRadioGroupProps extends React$1.ComponentPropsWithoutRef<typeof RadioGroup> {
|
|
@@ -1057,7 +1119,6 @@ type AdsMessages = {
|
|
|
1057
1119
|
collapseRow: string;
|
|
1058
1120
|
expandRow: string;
|
|
1059
1121
|
filterColumn: string;
|
|
1060
|
-
loadingRows: string;
|
|
1061
1122
|
noDataAvailable: string;
|
|
1062
1123
|
selectAllRows: string;
|
|
1063
1124
|
selectRow: string;
|
|
@@ -1103,4 +1164,4 @@ declare function useAdsI18n(): AdsI18nContextValue;
|
|
|
1103
1164
|
|
|
1104
1165
|
declare const adsDefaultMessages: Record<"en" | "zh", AdsMessages>;
|
|
1105
1166
|
|
|
1106
|
-
export { AdsAccordion, type AdsAccordionItem, type AdsAccordionMode, type AdsAccordionProps, Alert as AdsAlert, AlertDescription as AdsAlertDescription, AdsAlertDialog, AdsAlertDialogAction, type AdsAlertDialogActionProps, AdsAlertDialogCancel, type AdsAlertDialogCancelProps, AdsAlertDialogContent, type AdsAlertDialogContentProps, AdsAlertDialogDescription, type AdsAlertDialogDescriptionProps, AdsAlertDialogFooter, type AdsAlertDialogFooterProps, AdsAlertDialogHeader, type AdsAlertDialogHeaderProps, AdsAlertDialogOverlay, type AdsAlertDialogOverlayProps, AdsAlertDialogPortal, type AdsAlertDialogPortalProps, type AdsAlertDialogProps, AdsAlertDialogTitle, type AdsAlertDialogTitleProps, AdsAlertDialogTrigger, type AdsAlertDialogTriggerProps, AlertTitle as AdsAlertTitle, AdsBadge, type AdsBadgeProps, AdsBreadcrumb, AdsBreadcrumbEllipsis, type AdsBreadcrumbEllipsisProps, AdsBreadcrumbItem, type AdsBreadcrumbItemProps, AdsBreadcrumbLink, type AdsBreadcrumbLinkProps, AdsBreadcrumbList, type AdsBreadcrumbListProps, AdsBreadcrumbPage, type AdsBreadcrumbPageProps, type AdsBreadcrumbProps, AdsBreadcrumbSeparator, type AdsBreadcrumbSeparatorIcon, type AdsBreadcrumbSeparatorProps, AdsButton, AdsButtonGroup, AdsButtonGroupInput, type AdsButtonGroupInputProps, type AdsButtonGroupProps, AdsButtonGroupSeparator, type AdsButtonGroupSeparatorProps, AdsButtonGroupText, type AdsButtonGroupTextProps, type AdsButtonProps, AdsCalendar, type AdsCalendarCellSize, type AdsCalendarProps, type AdsCalendarSystem,
|
|
1167
|
+
export { AdsAccordion, type AdsAccordionItem, type AdsAccordionMode, type AdsAccordionProps, Alert as AdsAlert, AlertDescription as AdsAlertDescription, AdsAlertDialog, AdsAlertDialogAction, type AdsAlertDialogActionProps, AdsAlertDialogCancel, type AdsAlertDialogCancelProps, AdsAlertDialogContent, type AdsAlertDialogContentProps, AdsAlertDialogDescription, type AdsAlertDialogDescriptionProps, AdsAlertDialogFooter, type AdsAlertDialogFooterProps, AdsAlertDialogHeader, type AdsAlertDialogHeaderProps, AdsAlertDialogOverlay, type AdsAlertDialogOverlayProps, AdsAlertDialogPortal, type AdsAlertDialogPortalProps, type AdsAlertDialogProps, AdsAlertDialogTitle, type AdsAlertDialogTitleProps, AdsAlertDialogTrigger, type AdsAlertDialogTriggerProps, AlertTitle as AdsAlertTitle, AdsBadge, type AdsBadgeProps, AdsBarChart, type AdsBarChartProps, AdsBreadcrumb, AdsBreadcrumbEllipsis, type AdsBreadcrumbEllipsisProps, AdsBreadcrumbItem, type AdsBreadcrumbItemProps, AdsBreadcrumbLink, type AdsBreadcrumbLinkProps, AdsBreadcrumbList, type AdsBreadcrumbListProps, AdsBreadcrumbPage, type AdsBreadcrumbPageProps, type AdsBreadcrumbProps, AdsBreadcrumbSeparator, type AdsBreadcrumbSeparatorIcon, type AdsBreadcrumbSeparatorProps, AdsButton, AdsButtonGroup, AdsButtonGroupInput, type AdsButtonGroupInputProps, type AdsButtonGroupProps, AdsButtonGroupSeparator, type AdsButtonGroupSeparatorProps, AdsButtonGroupText, type AdsButtonGroupTextProps, type AdsButtonProps, AdsCalendar, type AdsCalendarCellSize, type AdsCalendarProps, type AdsCalendarSystem, type AdsChartAxis, type AdsChartConfig, type AdsChartConfigItem, type AdsChartDatum, type AdsChartSegment, type AdsChartSeries, AdsCheckbox, AdsDataPagination, type AdsDataPaginationClassNames, type AdsDataPaginationProps, AdsDataTable, type AdsDataTableColumn, type AdsDataTableExpandable, type AdsDataTablePaginationConfig, type AdsDataTableProps, type AdsDataTableRowSelection, type AdsDataTableSortOrder, type AdsDataTableSortState, AdsDataTableToolbar, type AdsDataTableToolbarProps, AdsDatePicker, type AdsDatePickerProps, AdsDateTimePicker, type AdsDateTimePickerProps, AdsDialog, AdsDialogBody, type AdsDialogBodyProps, AdsDialogClose, type AdsDialogCloseProps, AdsDialogContent, type AdsDialogContentProps, AdsDialogDescription, type AdsDialogDescriptionProps, AdsDialogFooter, type AdsDialogFooterProps, AdsDialogHeader, type AdsDialogHeaderProps, AdsDialogOverlay, type AdsDialogOverlayProps, AdsDialogPortal, type AdsDialogPortalProps, type AdsDialogProps, AdsDialogTitle, type AdsDialogTitleProps, AdsDialogTrigger, type AdsDialogTriggerProps, AdsEmpty, AdsEmptyActions, AdsEmptyContent, AdsEmptyDescription, AdsEmptyFooter, AdsEmptyHeader, AdsEmptyMedia, type AdsEmptyProps, AdsEmptyTitle, AdsField, AdsFieldActions, AdsFieldCheckboxRow, AdsFieldChoiceCard, AdsFieldDescription, AdsFieldError, AdsFieldGroup, AdsFieldHeader, AdsFieldItem, AdsFieldLabel, AdsFieldLegend, AdsFieldSeparator, AdsFieldSet, AdsI18nProvider, AdsInput, AdsInputGroup, AdsInputGroupInput, type AdsInputGroupInputProps, type AdsInputGroupProps, AdsInputGroupTextarea, type AdsInputGroupTextareaProps, AdsInputOTP, AdsInputOTPGroup, type AdsInputOTPProps, AdsInputOTPSeparator, AdsInputOTPSlot, type AdsInputProps, type AdsIntent, type AdsLocale, AdsMasonry, type AdsMasonryProps, type AdsMessages, type AdsMessagesOverride, AdsPagination, AdsPaginationContent, type AdsPaginationContentProps, AdsPaginationEllipsis, type AdsPaginationEllipsisProps, AdsPaginationItem, type AdsPaginationItemProps, AdsPaginationLink, type AdsPaginationLinkProps, AdsPaginationNext, type AdsPaginationNextProps, AdsPaginationPrevious, type AdsPaginationPreviousProps, type AdsPaginationProps, AdsPopover, AdsPopoverBody, type AdsPopoverBodyProps, AdsPopoverContent, type AdsPopoverContentProps, AdsPopoverDescription, type AdsPopoverDescriptionProps, AdsPopoverHeader, type AdsPopoverHeaderProps, type AdsPopoverProps, AdsPopoverTitle, type AdsPopoverTitleProps, AdsPopoverTrigger, type AdsPopoverTriggerProps, AdsProgress, type AdsProgressProps, type AdsProgressVariant, AdsRadialProgressChart, type AdsRadialProgressChartProps, AdsRadioGroup, AdsRadioGroupCardOption, AdsRadioGroupOption, AdsSelect, SelectContent as AdsSelectContent, SelectGroup as AdsSelectGroup, SelectItem as AdsSelectItem, SelectLabel as AdsSelectLabel, Select as AdsSelectRoot, SelectScrollDownButton as AdsSelectScrollDownButton, SelectScrollUpButton as AdsSelectScrollUpButton, SelectSeparator as AdsSelectSeparator, SelectTrigger as AdsSelectTrigger, SelectValue as AdsSelectValue, AdsSeparator, type AdsSeparatorProps, type AdsSize, AdsSkeleton, type AdsSkeletonProps, AdsSlider, type AdsSliderProps, AdsSparklineChart, type AdsSparklineChartProps, AdsSpinner, type AdsSpinnerProps, type AdsSpinnerSize, type AdsSpinnerTone, AdsStackedBarChart, type AdsStackedBarChartProps, AdsSwitch, AdsTable, AdsTableBody, AdsTableCaption, AdsTableCell, AdsTableCol, AdsTableColGroup, AdsTableExpandCell, type AdsTableExpandCellProps, AdsTableFooter, AdsTableHead, AdsTableHeader, AdsTableRoot, AdsTableRow, AdsTableScrollArea, type AdsTableScrollAreaProps, AdsTableSelectionCell, type AdsTableSelectionCellProps, AdsTableSortHeader, type AdsTableSortHeaderProps, AdsTableSurface, AdsTabs, AdsTabsContent, type AdsTabsContentProps, AdsTabsList, type AdsTabsListProps, type AdsTabsProps, AdsTabsTrigger, type AdsTabsTriggerProps, AdsTextarea, AdsToast, type AdsToastAction, type AdsToastIntent, AdsToastManager, type AdsToastOptions, type AdsToastProps, AdsToaster, type AdsToasterProps, AdsToggle, AdsToggleGroup, AdsToggleGroupItem, type AdsToggleGroupItemProps, type AdsToggleGroupProps, type AdsToggleProps, AdsTooltip, AdsTooltipArrow, AdsTooltipContent, AdsTooltipProvider, AdsTooltipTrigger, AdsViewCustomersDataTable, type AdsViewCustomersDataTableProps, adsDefaultMessages, useAdsI18n };
|
package/dist/index.d.ts
CHANGED
|
@@ -333,7 +333,6 @@ interface AdsInputProps extends Omit<InputProps$1, "aria-invalid" | "size" | "pr
|
|
|
333
333
|
clearable?: boolean;
|
|
334
334
|
clearButtonLabel?: string;
|
|
335
335
|
emptyFileLabel?: string;
|
|
336
|
-
fileTriggerIcon?: React$1.ReactNode;
|
|
337
336
|
fileTriggerLabel?: string;
|
|
338
337
|
onClear?: () => void;
|
|
339
338
|
prefix?: React$1.ReactNode;
|
|
@@ -494,8 +493,6 @@ type AdsDataTableSize = "small" | "middle" | "large";
|
|
|
494
493
|
type DataKey = string | number;
|
|
495
494
|
type AdsDataTablePaginationMode = "client" | "server";
|
|
496
495
|
type AdsDataTableFilterMode = "client" | "server";
|
|
497
|
-
type AdsDataTableLoadingVariant = "skeleton" | "spinner";
|
|
498
|
-
type AdsDataTableExpandedRowSurface = "inset" | "plain" | "subtle";
|
|
499
496
|
type AdsDataTableEllipsisConfig = {
|
|
500
497
|
maxWidth?: number | string;
|
|
501
498
|
showTitle?: boolean;
|
|
@@ -580,8 +577,6 @@ interface AdsDataTableProps<RecordType extends object> {
|
|
|
580
577
|
dataSource?: RecordType[];
|
|
581
578
|
rowKey?: DataKey | ((record: RecordType, index: number) => AdsDataTableKey);
|
|
582
579
|
loading?: boolean;
|
|
583
|
-
loadingVariant?: AdsDataTableLoadingVariant;
|
|
584
|
-
expandedRowSurface?: AdsDataTableExpandedRowSurface;
|
|
585
580
|
emptyText?: React$1.ReactNode;
|
|
586
581
|
emptyState?: React$1.ReactNode;
|
|
587
582
|
rowClassName?: string | ((record: RecordType, index: number) => string | undefined);
|
|
@@ -607,7 +602,7 @@ interface AdsDataTableProps<RecordType extends object> {
|
|
|
607
602
|
onRowClick?: (record: RecordType, index: number, event: React$1.MouseEvent<HTMLTableRowElement>) => void;
|
|
608
603
|
suppressRowClickSelection?: boolean;
|
|
609
604
|
}
|
|
610
|
-
declare function AdsDataTable<RecordType extends object>({ className, columns, dataSource, rowKey, loading,
|
|
605
|
+
declare function AdsDataTable<RecordType extends object>({ className, columns, dataSource, rowKey, loading, emptyText, emptyState, rowClassName, size, pagination, rowSelection, expandable, scroll, sticky, fill, footer, tableClassName, classNames, onSortChange, onRowClick, suppressRowClickSelection, }: AdsDataTableProps<RecordType>): React$1.JSX.Element;
|
|
611
606
|
|
|
612
607
|
interface AdsDataTableToolbarProps {
|
|
613
608
|
action?: React$1.ReactNode;
|
|
@@ -721,6 +716,73 @@ interface AdsProgressProps extends ProgressProps {
|
|
|
721
716
|
}
|
|
722
717
|
declare const AdsProgress: React$1.ForwardRefExoticComponent<AdsProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
723
718
|
|
|
719
|
+
interface AdsRadialProgressChartProps {
|
|
720
|
+
ariaLabel?: string;
|
|
721
|
+
className?: string;
|
|
722
|
+
color?: string;
|
|
723
|
+
label?: React$1.ReactNode;
|
|
724
|
+
max?: number;
|
|
725
|
+
size?: number;
|
|
726
|
+
strokeWidth?: number;
|
|
727
|
+
trackColor?: string;
|
|
728
|
+
value: number;
|
|
729
|
+
}
|
|
730
|
+
declare function AdsRadialProgressChart({ ariaLabel, className, color, label, max, size, strokeWidth, trackColor, value, }: AdsRadialProgressChartProps): React$1.JSX.Element;
|
|
731
|
+
|
|
732
|
+
type AdsChartDatum = Record<string, string | number | null | undefined>;
|
|
733
|
+
interface AdsChartSegment {
|
|
734
|
+
color?: string;
|
|
735
|
+
label?: string;
|
|
736
|
+
value: number;
|
|
737
|
+
}
|
|
738
|
+
interface AdsChartConfigItem {
|
|
739
|
+
color?: string;
|
|
740
|
+
label?: React$1.ReactNode;
|
|
741
|
+
}
|
|
742
|
+
type AdsChartConfig = Record<string, AdsChartConfigItem>;
|
|
743
|
+
interface AdsChartSeries {
|
|
744
|
+
color?: string;
|
|
745
|
+
dataKey: string;
|
|
746
|
+
label?: React$1.ReactNode;
|
|
747
|
+
}
|
|
748
|
+
interface AdsChartAxis {
|
|
749
|
+
dataKey: string;
|
|
750
|
+
label?: React$1.ReactNode;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
interface AdsSparklineChartProps {
|
|
754
|
+
ariaLabel?: string;
|
|
755
|
+
className?: string;
|
|
756
|
+
color?: string;
|
|
757
|
+
data: AdsChartDatum[];
|
|
758
|
+
dataKey: string;
|
|
759
|
+
height?: number;
|
|
760
|
+
xKey: string;
|
|
761
|
+
}
|
|
762
|
+
declare function AdsSparklineChart({ ariaLabel, className, color, data, dataKey, height, xKey, }: AdsSparklineChartProps): React$1.JSX.Element;
|
|
763
|
+
|
|
764
|
+
interface AdsStackedBarChartProps {
|
|
765
|
+
ariaLabel?: string;
|
|
766
|
+
className?: string;
|
|
767
|
+
height?: number;
|
|
768
|
+
segments: AdsChartSegment[];
|
|
769
|
+
}
|
|
770
|
+
declare function AdsStackedBarChart({ ariaLabel, className, height, segments, }: AdsStackedBarChartProps): React$1.JSX.Element;
|
|
771
|
+
|
|
772
|
+
interface AdsBarChartProps {
|
|
773
|
+
ariaLabel?: string;
|
|
774
|
+
barRadius?: number;
|
|
775
|
+
className?: string;
|
|
776
|
+
color?: string;
|
|
777
|
+
data: AdsChartDatum[];
|
|
778
|
+
dataKey: string;
|
|
779
|
+
height?: number;
|
|
780
|
+
highlightColor?: string;
|
|
781
|
+
highlightIndex?: number;
|
|
782
|
+
xKey: string;
|
|
783
|
+
}
|
|
784
|
+
declare function AdsBarChart({ ariaLabel, barRadius, className, color, data, dataKey, height, highlightColor, highlightIndex, xKey, }: AdsBarChartProps): React$1.JSX.Element;
|
|
785
|
+
|
|
724
786
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_radio_group.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
725
787
|
|
|
726
788
|
interface AdsRadioGroupProps extends React$1.ComponentPropsWithoutRef<typeof RadioGroup> {
|
|
@@ -1057,7 +1119,6 @@ type AdsMessages = {
|
|
|
1057
1119
|
collapseRow: string;
|
|
1058
1120
|
expandRow: string;
|
|
1059
1121
|
filterColumn: string;
|
|
1060
|
-
loadingRows: string;
|
|
1061
1122
|
noDataAvailable: string;
|
|
1062
1123
|
selectAllRows: string;
|
|
1063
1124
|
selectRow: string;
|
|
@@ -1103,4 +1164,4 @@ declare function useAdsI18n(): AdsI18nContextValue;
|
|
|
1103
1164
|
|
|
1104
1165
|
declare const adsDefaultMessages: Record<"en" | "zh", AdsMessages>;
|
|
1105
1166
|
|
|
1106
|
-
export { AdsAccordion, type AdsAccordionItem, type AdsAccordionMode, type AdsAccordionProps, Alert as AdsAlert, AlertDescription as AdsAlertDescription, AdsAlertDialog, AdsAlertDialogAction, type AdsAlertDialogActionProps, AdsAlertDialogCancel, type AdsAlertDialogCancelProps, AdsAlertDialogContent, type AdsAlertDialogContentProps, AdsAlertDialogDescription, type AdsAlertDialogDescriptionProps, AdsAlertDialogFooter, type AdsAlertDialogFooterProps, AdsAlertDialogHeader, type AdsAlertDialogHeaderProps, AdsAlertDialogOverlay, type AdsAlertDialogOverlayProps, AdsAlertDialogPortal, type AdsAlertDialogPortalProps, type AdsAlertDialogProps, AdsAlertDialogTitle, type AdsAlertDialogTitleProps, AdsAlertDialogTrigger, type AdsAlertDialogTriggerProps, AlertTitle as AdsAlertTitle, AdsBadge, type AdsBadgeProps, AdsBreadcrumb, AdsBreadcrumbEllipsis, type AdsBreadcrumbEllipsisProps, AdsBreadcrumbItem, type AdsBreadcrumbItemProps, AdsBreadcrumbLink, type AdsBreadcrumbLinkProps, AdsBreadcrumbList, type AdsBreadcrumbListProps, AdsBreadcrumbPage, type AdsBreadcrumbPageProps, type AdsBreadcrumbProps, AdsBreadcrumbSeparator, type AdsBreadcrumbSeparatorIcon, type AdsBreadcrumbSeparatorProps, AdsButton, AdsButtonGroup, AdsButtonGroupInput, type AdsButtonGroupInputProps, type AdsButtonGroupProps, AdsButtonGroupSeparator, type AdsButtonGroupSeparatorProps, AdsButtonGroupText, type AdsButtonGroupTextProps, type AdsButtonProps, AdsCalendar, type AdsCalendarCellSize, type AdsCalendarProps, type AdsCalendarSystem,
|
|
1167
|
+
export { AdsAccordion, type AdsAccordionItem, type AdsAccordionMode, type AdsAccordionProps, Alert as AdsAlert, AlertDescription as AdsAlertDescription, AdsAlertDialog, AdsAlertDialogAction, type AdsAlertDialogActionProps, AdsAlertDialogCancel, type AdsAlertDialogCancelProps, AdsAlertDialogContent, type AdsAlertDialogContentProps, AdsAlertDialogDescription, type AdsAlertDialogDescriptionProps, AdsAlertDialogFooter, type AdsAlertDialogFooterProps, AdsAlertDialogHeader, type AdsAlertDialogHeaderProps, AdsAlertDialogOverlay, type AdsAlertDialogOverlayProps, AdsAlertDialogPortal, type AdsAlertDialogPortalProps, type AdsAlertDialogProps, AdsAlertDialogTitle, type AdsAlertDialogTitleProps, AdsAlertDialogTrigger, type AdsAlertDialogTriggerProps, AlertTitle as AdsAlertTitle, AdsBadge, type AdsBadgeProps, AdsBarChart, type AdsBarChartProps, AdsBreadcrumb, AdsBreadcrumbEllipsis, type AdsBreadcrumbEllipsisProps, AdsBreadcrumbItem, type AdsBreadcrumbItemProps, AdsBreadcrumbLink, type AdsBreadcrumbLinkProps, AdsBreadcrumbList, type AdsBreadcrumbListProps, AdsBreadcrumbPage, type AdsBreadcrumbPageProps, type AdsBreadcrumbProps, AdsBreadcrumbSeparator, type AdsBreadcrumbSeparatorIcon, type AdsBreadcrumbSeparatorProps, AdsButton, AdsButtonGroup, AdsButtonGroupInput, type AdsButtonGroupInputProps, type AdsButtonGroupProps, AdsButtonGroupSeparator, type AdsButtonGroupSeparatorProps, AdsButtonGroupText, type AdsButtonGroupTextProps, type AdsButtonProps, AdsCalendar, type AdsCalendarCellSize, type AdsCalendarProps, type AdsCalendarSystem, type AdsChartAxis, type AdsChartConfig, type AdsChartConfigItem, type AdsChartDatum, type AdsChartSegment, type AdsChartSeries, AdsCheckbox, AdsDataPagination, type AdsDataPaginationClassNames, type AdsDataPaginationProps, AdsDataTable, type AdsDataTableColumn, type AdsDataTableExpandable, type AdsDataTablePaginationConfig, type AdsDataTableProps, type AdsDataTableRowSelection, type AdsDataTableSortOrder, type AdsDataTableSortState, AdsDataTableToolbar, type AdsDataTableToolbarProps, AdsDatePicker, type AdsDatePickerProps, AdsDateTimePicker, type AdsDateTimePickerProps, AdsDialog, AdsDialogBody, type AdsDialogBodyProps, AdsDialogClose, type AdsDialogCloseProps, AdsDialogContent, type AdsDialogContentProps, AdsDialogDescription, type AdsDialogDescriptionProps, AdsDialogFooter, type AdsDialogFooterProps, AdsDialogHeader, type AdsDialogHeaderProps, AdsDialogOverlay, type AdsDialogOverlayProps, AdsDialogPortal, type AdsDialogPortalProps, type AdsDialogProps, AdsDialogTitle, type AdsDialogTitleProps, AdsDialogTrigger, type AdsDialogTriggerProps, AdsEmpty, AdsEmptyActions, AdsEmptyContent, AdsEmptyDescription, AdsEmptyFooter, AdsEmptyHeader, AdsEmptyMedia, type AdsEmptyProps, AdsEmptyTitle, AdsField, AdsFieldActions, AdsFieldCheckboxRow, AdsFieldChoiceCard, AdsFieldDescription, AdsFieldError, AdsFieldGroup, AdsFieldHeader, AdsFieldItem, AdsFieldLabel, AdsFieldLegend, AdsFieldSeparator, AdsFieldSet, AdsI18nProvider, AdsInput, AdsInputGroup, AdsInputGroupInput, type AdsInputGroupInputProps, type AdsInputGroupProps, AdsInputGroupTextarea, type AdsInputGroupTextareaProps, AdsInputOTP, AdsInputOTPGroup, type AdsInputOTPProps, AdsInputOTPSeparator, AdsInputOTPSlot, type AdsInputProps, type AdsIntent, type AdsLocale, AdsMasonry, type AdsMasonryProps, type AdsMessages, type AdsMessagesOverride, AdsPagination, AdsPaginationContent, type AdsPaginationContentProps, AdsPaginationEllipsis, type AdsPaginationEllipsisProps, AdsPaginationItem, type AdsPaginationItemProps, AdsPaginationLink, type AdsPaginationLinkProps, AdsPaginationNext, type AdsPaginationNextProps, AdsPaginationPrevious, type AdsPaginationPreviousProps, type AdsPaginationProps, AdsPopover, AdsPopoverBody, type AdsPopoverBodyProps, AdsPopoverContent, type AdsPopoverContentProps, AdsPopoverDescription, type AdsPopoverDescriptionProps, AdsPopoverHeader, type AdsPopoverHeaderProps, type AdsPopoverProps, AdsPopoverTitle, type AdsPopoverTitleProps, AdsPopoverTrigger, type AdsPopoverTriggerProps, AdsProgress, type AdsProgressProps, type AdsProgressVariant, AdsRadialProgressChart, type AdsRadialProgressChartProps, AdsRadioGroup, AdsRadioGroupCardOption, AdsRadioGroupOption, AdsSelect, SelectContent as AdsSelectContent, SelectGroup as AdsSelectGroup, SelectItem as AdsSelectItem, SelectLabel as AdsSelectLabel, Select as AdsSelectRoot, SelectScrollDownButton as AdsSelectScrollDownButton, SelectScrollUpButton as AdsSelectScrollUpButton, SelectSeparator as AdsSelectSeparator, SelectTrigger as AdsSelectTrigger, SelectValue as AdsSelectValue, AdsSeparator, type AdsSeparatorProps, type AdsSize, AdsSkeleton, type AdsSkeletonProps, AdsSlider, type AdsSliderProps, AdsSparklineChart, type AdsSparklineChartProps, AdsSpinner, type AdsSpinnerProps, type AdsSpinnerSize, type AdsSpinnerTone, AdsStackedBarChart, type AdsStackedBarChartProps, AdsSwitch, AdsTable, AdsTableBody, AdsTableCaption, AdsTableCell, AdsTableCol, AdsTableColGroup, AdsTableExpandCell, type AdsTableExpandCellProps, AdsTableFooter, AdsTableHead, AdsTableHeader, AdsTableRoot, AdsTableRow, AdsTableScrollArea, type AdsTableScrollAreaProps, AdsTableSelectionCell, type AdsTableSelectionCellProps, AdsTableSortHeader, type AdsTableSortHeaderProps, AdsTableSurface, AdsTabs, AdsTabsContent, type AdsTabsContentProps, AdsTabsList, type AdsTabsListProps, type AdsTabsProps, AdsTabsTrigger, type AdsTabsTriggerProps, AdsTextarea, AdsToast, type AdsToastAction, type AdsToastIntent, AdsToastManager, type AdsToastOptions, type AdsToastProps, AdsToaster, type AdsToasterProps, AdsToggle, AdsToggleGroup, AdsToggleGroupItem, type AdsToggleGroupItemProps, type AdsToggleGroupProps, type AdsToggleProps, AdsTooltip, AdsTooltipArrow, AdsTooltipContent, AdsTooltipProvider, AdsTooltipTrigger, AdsViewCustomersDataTable, type AdsViewCustomersDataTableProps, adsDefaultMessages, useAdsI18n };
|