@open-ui-kit/core 1.1.2 → 1.2.0

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
@@ -145,6 +145,7 @@ interface VarsType {
145
145
  successBorderActive: string;
146
146
  successBorderHover: string;
147
147
  successBorderDefault: string;
148
+ successBorderWeak: string;
148
149
  successIconInDisabled: string;
149
150
  successIconInActive: string;
150
151
  successIconInHover: string;
@@ -161,6 +162,7 @@ interface VarsType {
161
162
  negativeBorderHover: string;
162
163
  negativeBorderDisabled: string;
163
164
  negativeBorderDefault: string;
165
+ negativeBorderWeak: string;
164
166
  negativeIconDisabled: string;
165
167
  negativeIconActive: string;
166
168
  negativeIconHover: string;
@@ -185,6 +187,7 @@ interface VarsType {
185
187
  excellentBorderHover: string;
186
188
  excellentBorderActive: string;
187
189
  excellentBorderDisabled: string;
190
+ excellentBorderWeak: string;
188
191
  excellentIconDefault: string;
189
192
  excellentIconHover: string;
190
193
  excellentIconActive: string;
@@ -207,6 +210,7 @@ interface VarsType {
207
210
  neutralBorderHover: string;
208
211
  neutralBorderActive: string;
209
212
  neutralBorderDisabled: string;
213
+ neutralBorderWeak: string;
210
214
  neutralIconDefault: string;
211
215
  neutralIconHover: string;
212
216
  neutralIconActive: string;
@@ -229,6 +233,7 @@ interface VarsType {
229
233
  infoBorderHover: string;
230
234
  infoBorderActive: string;
231
235
  infoBorderDisabled: string;
236
+ infoBorderWeak: string;
232
237
  infoIconDefault: string;
233
238
  infoIconHover: string;
234
239
  infoIconActive: string;
@@ -251,6 +256,7 @@ interface VarsType {
251
256
  inactiveBorderHover: string;
252
257
  inactiveBorderActive: string;
253
258
  inactiveBorderDisabled: string;
259
+ inactiveBorderWeak: string;
254
260
  inactiveIconDefault: string;
255
261
  inactiveIconHover: string;
256
262
  inactiveIconActive: string;
@@ -273,6 +279,7 @@ interface VarsType {
273
279
  warningBorderHover: string;
274
280
  warningBorderActive: string;
275
281
  warningBorderDisabled: string;
282
+ warningBorderWeak: string;
276
283
  warningIconDefault: string;
277
284
  warningIconHover: string;
278
285
  warningIconActive: string;
@@ -295,6 +302,7 @@ interface VarsType {
295
302
  severeWarningBorderHover: string;
296
303
  severeWarningBorderActive: string;
297
304
  severeWarningBorderDisabled: string;
305
+ severeWarningBorderWeak: string;
298
306
  severeWarningIconDefault: string;
299
307
  severeWarningIconHover: string;
300
308
  severeWarningIconActive: string;
@@ -317,6 +325,7 @@ interface VarsType {
317
325
  moderateBorderHover: string;
318
326
  moderateBorderActive: string;
319
327
  moderateBorderDisabled: string;
328
+ moderateBorderWeak: string;
320
329
  moderateIconDefault: string;
321
330
  moderateIconHover: string;
322
331
  moderateIconActive: string;
@@ -1060,6 +1069,7 @@ declare const Tab: ({ loading, ...props }: TabProps) => react_jsx_runtime.JSX.El
1060
1069
 
1061
1070
  interface TagStatusStyle {
1062
1071
  backgroundColor: string;
1072
+ border: string;
1063
1073
  iconColor: string;
1064
1074
  icon: React.ElementType;
1065
1075
  }
@@ -1113,6 +1123,7 @@ declare const Tag: ({ avatar, children, color, status, icon, onClick, size, ...p
1113
1123
  declare const selectTagStyle: (theme: Theme) => {
1114
1124
  Excellent: {
1115
1125
  backgroundColor: string;
1126
+ border: string;
1116
1127
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1117
1128
  muiName: string;
1118
1129
  };
@@ -1120,6 +1131,7 @@ declare const selectTagStyle: (theme: Theme) => {
1120
1131
  };
1121
1132
  Positive: {
1122
1133
  backgroundColor: string;
1134
+ border: string;
1123
1135
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1124
1136
  muiName: string;
1125
1137
  };
@@ -1127,6 +1139,7 @@ declare const selectTagStyle: (theme: Theme) => {
1127
1139
  };
1128
1140
  Warning: {
1129
1141
  backgroundColor: string;
1142
+ border: string;
1130
1143
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1131
1144
  muiName: string;
1132
1145
  };
@@ -1134,6 +1147,7 @@ declare const selectTagStyle: (theme: Theme) => {
1134
1147
  };
1135
1148
  "Severe warning": {
1136
1149
  backgroundColor: string;
1150
+ border: string;
1137
1151
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1138
1152
  muiName: string;
1139
1153
  };
@@ -1141,6 +1155,7 @@ declare const selectTagStyle: (theme: Theme) => {
1141
1155
  };
1142
1156
  Negative: {
1143
1157
  backgroundColor: string;
1158
+ border: string;
1144
1159
  iconColor: string;
1145
1160
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1146
1161
  muiName: string;
@@ -1148,6 +1163,7 @@ declare const selectTagStyle: (theme: Theme) => {
1148
1163
  };
1149
1164
  Inactive: {
1150
1165
  backgroundColor: string;
1166
+ border: string;
1151
1167
  iconColor: string;
1152
1168
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1153
1169
  muiName: string;
@@ -1155,6 +1171,7 @@ declare const selectTagStyle: (theme: Theme) => {
1155
1171
  };
1156
1172
  Disabled: {
1157
1173
  backgroundColor: string;
1174
+ border: string;
1158
1175
  iconColor: string;
1159
1176
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1160
1177
  muiName: string;
@@ -1162,6 +1179,7 @@ declare const selectTagStyle: (theme: Theme) => {
1162
1179
  };
1163
1180
  "In progress": {
1164
1181
  backgroundColor: string;
1182
+ border: string;
1165
1183
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1166
1184
  muiName: string;
1167
1185
  };
@@ -1169,6 +1187,7 @@ declare const selectTagStyle: (theme: Theme) => {
1169
1187
  };
1170
1188
  Info: {
1171
1189
  backgroundColor: string;
1190
+ border: string;
1172
1191
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1173
1192
  muiName: string;
1174
1193
  };
@@ -1176,6 +1195,7 @@ declare const selectTagStyle: (theme: Theme) => {
1176
1195
  };
1177
1196
  Allow: {
1178
1197
  backgroundColor: string;
1198
+ border: string;
1179
1199
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1180
1200
  muiName: string;
1181
1201
  };
@@ -1183,6 +1203,7 @@ declare const selectTagStyle: (theme: Theme) => {
1183
1203
  };
1184
1204
  Deny: {
1185
1205
  backgroundColor: string;
1206
+ border: string;
1186
1207
  iconColor: string;
1187
1208
  icon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
1188
1209
  muiName: string;
@@ -1398,6 +1419,45 @@ interface LineChartProps extends ChartProps$1, Pick<LineChartTooltipProps, "valu
1398
1419
  }
1399
1420
  declare const LineChart: ({ data, categories, showTooltip, subject, xAxisProps, yAxisProps, customTooltip, valueFormatter, lineProps, gridProps, }: LineChartProps) => react_jsx_runtime.JSX.Element;
1400
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
+ band?: number;
1445
+ onTooltipClick?: (subject: string) => void;
1446
+ tooltipContent?: (dataPoint: ExtendedDataPoint) => React.ReactNode;
1447
+ showTooltip?: boolean;
1448
+ customTooltip?: ContentType<number, string>;
1449
+ labelOffsets?: Offset[];
1450
+ tickBand?: number;
1451
+ scale?: number;
1452
+ };
1453
+
1454
+ /**
1455
+ * Spider charts, also known as radar charts or star plots, are used to display multivariate data in a two-dimensional chart.
1456
+ * 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.
1457
+ * The range of values in a spider chart depends on the specific variables being represented.
1458
+ */
1459
+ declare const SpiderChart: ({ data, radars, band, tickBand, scale, outerRadius, labelOffsets, showTooltip, onTooltipClick, tooltipContent, customTooltip, }: SpiderChartProps) => react_jsx_runtime.JSX.Element;
1460
+
1401
1461
  interface ChartDataItem {
1402
1462
  name: string;
1403
1463
  value: number;
@@ -4654,5 +4714,5 @@ interface AugmentedSelectNodeType<T = unknown> extends SelectNodeType<T> {
4654
4714
  leavesCount?: number;
4655
4715
  }
4656
4716
 
4657
- 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 };
4658
- 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 };
4717
+ 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 };
4718
+ 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, 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 };