@open-ui-kit/core 1.1.3 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1419,6 +1419,44 @@ interface LineChartProps extends ChartProps$1, Pick<LineChartTooltipProps, "valu
1419
1419
  }
1420
1420
  declare const LineChart: ({ data, categories, showTooltip, subject, xAxisProps, yAxisProps, customTooltip, valueFormatter, lineProps, gridProps, }: LineChartProps) => react_jsx_runtime.JSX.Element;
1421
1421
 
1422
+ type DataPoint = {
1423
+ subject: string;
1424
+ };
1425
+ type ExtendedDataPoint = {
1426
+ variableA?: number;
1427
+ } & DataPoint;
1428
+ type RadarType = {
1429
+ name: string;
1430
+ dataKey: string;
1431
+ fill?: string;
1432
+ background?: string;
1433
+ shape?: React.ReactElement;
1434
+ };
1435
+ type Offset = {
1436
+ cx: number;
1437
+ cy: number;
1438
+ };
1439
+ type SpiderChartProps = {
1440
+ data: ExtendedDataPoint[];
1441
+ radars: RadarType[];
1442
+ outerRadius?: number;
1443
+ padData?: number;
1444
+ onTooltipClick?: (subject: string) => void;
1445
+ tooltipContent?: (dataPoint: ExtendedDataPoint) => React.ReactNode;
1446
+ showTooltip?: boolean;
1447
+ customTooltip?: ContentType<number, string>;
1448
+ labelOffsets?: Offset[];
1449
+ tickBand?: number;
1450
+ scale?: number;
1451
+ };
1452
+
1453
+ /**
1454
+ * Spider charts, also known as radar charts or star plots, are used to display multivariate data in a two-dimensional chart.
1455
+ * Each variable is represented by an axis radiating from a common center point, and the values of the variables are plotted as data points along the corresponding axis.
1456
+ * The range of values in a spider chart depends on the specific variables being represented.
1457
+ */
1458
+ declare const SpiderChart: ({ data, radars, tickBand, scale, outerRadius, labelOffsets, showTooltip, onTooltipClick, tooltipContent, customTooltip, }: SpiderChartProps) => react_jsx_runtime.JSX.Element;
1459
+
1422
1460
  interface ChartDataItem {
1423
1461
  name: string;
1424
1462
  value: number;
@@ -4675,5 +4713,5 @@ interface AugmentedSelectNodeType<T = unknown> extends SelectNodeType<T> {
4675
4713
  leavesCount?: number;
4676
4714
  }
4677
4715
 
4678
- export { Accordion, StyledAccordionSummary as AccordionSummary, ActionsModal, ActivityTimeline, ActivityTimelineStepStatus, AddDomain, AddRepos, AttackPathAnalysis, AttackPathAnalysisWalkThrough, Badge, Banner, BarChart, BarGraph, BasePage, Breadcrumbs, CardDescription, CardSubheader, Celebration, ChartType, ChartTypeComponents, ChartWidget, CiCd, Cloud, CloudSimple, CodeBlock, CopyButton, CreateTableInstance, Dashboard, Data, DatePicker, DateRangePicker, DateTimePicker, DonutChart, DrawerShell, Dropdown, DropdownAutocompleteTree, DropdownAutocompleteTreeListbox, EMPTY_FUNCTION, EmptyData, EmptyState, FavoriteButton, Footer, GaugeChart, GeneralSize, Git, GitSimple, Header, HorizontalBarChart, IconPosition, index_d as Icons, Info, Kubernetes, LabelAndChildrenTooltipContent, Layout, Legend$1 as Legend, LineChart, Link$1 as Link, LinkColorEnum, LinkType, LoadingErrorState, MenuItem, ModalSubtitle, ModalTitle, Negative, NoData, OS_LIGHT_COLORS, OverflowTooltip, Pagination, PathDisplay, Positive, Recon, RemainingTags, SEVERITY_VALUE, ScrollArea, SearchField, SelectNode, SelectNodeListItem, Sent, Severity, SeverityBar$1 as SeverityBar, Shield, Spinner, StaticDatePicker, StaticDateTimePicker, Success, Tab, Table$1 as Table, Tabs, Tag, TagAvatarSize, TagBackgroundColorVariants, TagStatus, Tags, ThemeProvider, TimePicker, Toast, Toaster, Toggle, Tooltip, TooltipSize, ViewSwitcher, Warning, Widget, augmentTreeData, barShadow, baseSelectTree, boxStyle, capitalize, checkboxStyle, deepCopyTree, ellipsisStyle, flattenSelectTree, flattenSelectTreeWithSearch, flattenSelectTreeWithoutSearch, formatNodeValue, gaugeLabel, gaugeWrapper, getAllSelectedLeaves, getAllSelectedParents, getChildrenOfTopLevelNode, getColorBySeverity, getLeafCounts, getTagStyle, gradientsPalette, isLeaf, mergeNodeChildrenValueToText, normalizeSeverity, selectTagStyle, selectTreeExample, setSelectedMainSkillCategories, singleSelectTree, sortBySeverity, toast, upwardsPush, useDebouncedValue, useDropdownAutocompleteTree };
4679
- export type { AccordionProps, ActionsModalProps, ActivityTimelineProps, ActivityTimelineStep, AtomicTypes, AugmentedSelectNodeType, BadgeProps, BadgeType, BannerProps, BarChartProps, BarGraphItem, BarGraphProps, BarProps, BasePageProps, BreadcrumbsProps, ChartCategory, ChartCategoryItem, ChartDataItem, ChartProps, CodeBlockProps, ConditionalPropsByType, CopyButtonPosition, CopyButtonProps, DatePickerProps, DateTimePickerProps, DonutProps, DrawerShellProps, DropdownAutocompleteTreeProps, DropdownOption, DropdownProps, EmptyStateProps, ExportProps, ExtendedChartProps, FavoriteButtonProps, FlattenSelectTreeArgs, FlattenedSelectTreeData, FooterProps, GaugeChartProps, Gradient, GradientsPalette, HeaderAction, HeaderProps, IChartWidgetProps, ILegendProps, IWidgetProps, LayoutProps, LineChartProps, LinkColorStatus, LinkProps, LinkVariants, MenuItemProps, OverflowTooltipProps, PaginationProps, PathDisplayProps, SearchFieldProps, SelectNodeType, SeverityBarProps, SpinnerProps, StatusBanner, TableChartDataItem, TableProps, TableRow, TableTitle, TabsProps, TabsType, TagProps, TagStatusStyle, ThemeProviderProps, TimePickerProps, ToastProps, ToastType, ToasterProps, ToggleProps, TooltipProps, TopToolbarProps, TrendDirection, TrendStatus, ViewSwitcherOption, ViewSwitcherOptionObject, ViewSwitcherOptionProperties, ViewSwitcherSize };
4716
+ export { Accordion, StyledAccordionSummary as AccordionSummary, ActionsModal, ActivityTimeline, ActivityTimelineStepStatus, AddDomain, AddRepos, AttackPathAnalysis, AttackPathAnalysisWalkThrough, Badge, Banner, BarChart, BarGraph, BasePage, Breadcrumbs, CardDescription, CardSubheader, Celebration, ChartType, ChartTypeComponents, ChartWidget, CiCd, Cloud, CloudSimple, CodeBlock, CopyButton, CreateTableInstance, Dashboard, Data, DatePicker, DateRangePicker, DateTimePicker, DonutChart, DrawerShell, Dropdown, DropdownAutocompleteTree, DropdownAutocompleteTreeListbox, EMPTY_FUNCTION, EmptyData, EmptyState, FavoriteButton, Footer, GaugeChart, GeneralSize, Git, GitSimple, Header, HorizontalBarChart, IconPosition, index_d as Icons, Info, Kubernetes, LabelAndChildrenTooltipContent, Layout, Legend$1 as Legend, LineChart, Link$1 as Link, LinkColorEnum, LinkType, LoadingErrorState, MenuItem, ModalSubtitle, ModalTitle, Negative, NoData, OS_LIGHT_COLORS, OverflowTooltip, Pagination, PathDisplay, Positive, Recon, RemainingTags, SEVERITY_VALUE, ScrollArea, SearchField, SelectNode, SelectNodeListItem, Sent, Severity, SeverityBar$1 as SeverityBar, Shield, SpiderChart, Spinner, StaticDatePicker, StaticDateTimePicker, Success, Tab, Table$1 as Table, Tabs, Tag, TagAvatarSize, TagBackgroundColorVariants, TagStatus, Tags, ThemeProvider, TimePicker, Toast, Toaster, Toggle, Tooltip, TooltipSize, ViewSwitcher, Warning, Widget, augmentTreeData, barShadow, baseSelectTree, boxStyle, capitalize, checkboxStyle, deepCopyTree, ellipsisStyle, flattenSelectTree, flattenSelectTreeWithSearch, flattenSelectTreeWithoutSearch, formatNodeValue, gaugeLabel, gaugeWrapper, getAllSelectedLeaves, getAllSelectedParents, getChildrenOfTopLevelNode, getColorBySeverity, getLeafCounts, getTagStyle, gradientsPalette, isLeaf, mergeNodeChildrenValueToText, normalizeSeverity, selectTagStyle, selectTreeExample, setSelectedMainSkillCategories, singleSelectTree, sortBySeverity, toast, upwardsPush, useDebouncedValue, useDropdownAutocompleteTree };
4717
+ export type { AccordionProps, ActionsModalProps, ActivityTimelineProps, ActivityTimelineStep, AtomicTypes, AugmentedSelectNodeType, BadgeProps, BadgeType, BannerProps, BarChartProps, BarGraphItem, BarGraphProps, BarProps, BasePageProps, BreadcrumbsProps, ChartCategory, ChartCategoryItem, ChartDataItem, ChartProps, CodeBlockProps, ConditionalPropsByType, CopyButtonPosition, CopyButtonProps, DatePickerProps, DateTimePickerProps, DonutProps, DrawerShellProps, DropdownAutocompleteTreeProps, DropdownOption, DropdownProps, EmptyStateProps, ExportProps, ExtendedChartProps, ExtendedDataPoint, FavoriteButtonProps, FlattenSelectTreeArgs, FlattenedSelectTreeData, FooterProps, GaugeChartProps, Gradient, GradientsPalette, HeaderAction, HeaderProps, IChartWidgetProps, ILegendProps, IWidgetProps, LayoutProps, LineChartProps, LinkColorStatus, LinkProps, LinkVariants, MenuItemProps, OverflowTooltipProps, PaginationProps, PathDisplayProps, SearchFieldProps, SelectNodeType, SeverityBarProps, SpiderChartProps, SpinnerProps, StatusBanner, TableChartDataItem, TableProps, TableRow, TableTitle, TabsProps, TabsType, TagProps, TagStatusStyle, ThemeProviderProps, TimePickerProps, ToastProps, ToastType, ToasterProps, ToggleProps, TooltipProps, TopToolbarProps, TrendDirection, TrendStatus, ViewSwitcherOption, ViewSwitcherOptionObject, ViewSwitcherOptionProperties, ViewSwitcherSize };