@open-ui-kit/core 2.0.3 → 2.1.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
@@ -7667,14 +7667,17 @@ declare const lightVars: VarsType;
7667
7667
 
7668
7668
  declare const darkVars: VarsType;
7669
7669
 
7670
+ declare const iocVars: VarsType;
7671
+
7670
7672
  declare enum ThemeMode {
7671
7673
  Light = "light",
7672
- Dark = "dark"
7674
+ Dark = "dark",
7675
+ IoC = "ioc"
7673
7676
  }
7674
7677
  interface ThemeModeContextValue {
7675
7678
  mode: ThemeMode;
7676
7679
  setMode: React__default.Dispatch<React__default.SetStateAction<ThemeMode>>;
7677
- toggleTheme: () => void;
7680
+ setTheme: (theme: ThemeMode) => void;
7678
7681
  }
7679
7682
  declare function useThemeMode(): ThemeModeContextValue;
7680
7683
  interface ThemeProviderProps {
@@ -7690,5 +7693,5 @@ interface ThemeProviderProps {
7690
7693
  }
7691
7694
  declare const ThemeProvider: ({ children, defaultMode, customTheme, }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
7692
7695
 
7693
- export { Accordion, StyledAccordionSummary as AccordionSummary, ActionsDialog, ActivityTimeline, ActivityTimelineStepStatus, AddDomain, AddRepos, AnchorLinkMenu, AttackPathAnalysis, AttackPathAnalysisWalkThrough, Avatar, AvatarGroup, Backdrop, Badge, Banner, BarChart$1 as BarChart, BarGraph, BasePage, Breadcrumbs, Button, Card, CardActionArea, CardActions, CardContent, CardDescription, CardHeader, CardSubheader, Celebration, ChartType, ChartTypeComponents, ChartWidget, Checkbox$1 as Checkbox, CiCd, Cloud, CloudSimple, CodeBlock, CopyButton, CreateTableInstance, Dashboard, Data, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogActions, DialogContent, DialogContentText, DialogSubtitle, DialogTitle, Divider, DonutChart, EMPTY_FUNCTION, EmptyData, EmptyState, FiltersBar, FiltersDrawer, FloatingButton, Footer, GaugeChart, GeneralSize, Git, GitSimple, GlobalSearchInput, Header, HorizontalBarChart, Icon, IconPosition, index_d as Icons, IndicatorBadge, Info, InputField, KeyValuePairs, Kubernetes, LabelAndChildrenTooltipContent, Layout$1 as Layout, LineChart, Link$1 as Link, LinkColorEnum, LinkType, List$1 as List, ListItem, ListItemButton, ListItemIcon, ListItemText, ListSubheader, LoadingErrorState, LoadingStates, Menu$1 as Menu, MenuItem, StyledMenuSubheader as MenuSubheader, Message, Navigation, NavigationDrawer, NavigationSubNavigation, Negative, NestedMenu, NestedMenuListbox, NoData, OS_LIGHT_COLORS, OverflowTooltip, PageTitle, Pagination, PathDisplay, PickerItem, Popover, Positive, RadioButton, RadioGroup, Recon, RemainingTags, SEVERITY_VALUE, ScrollArea, SearchInput, Select, SelectNode, SelectNodeListItem, Sent, Severity, SeverityBadge, SeverityBadgeLabel, SeverityBar$1 as SeverityBar, Shield, SideDrawer, Skeleton, Slider, SpiderChart, Spinner, StaticDatePicker, StaticDateTimePicker, StepperModal, StepperPanel, Success, Tab, Table$1 as Table, Tabs, Tag, TagAvatarSize, TagBackgroundColorVariants, TagStatus, Tags, ThemeMode, ThemeProvider, TimePicker, Toast, Toaster, Toggle, Tooltip, TooltipSize, Upload$1 as Upload, ViewSwitcher, Warning, Widget, agentcyBlue, agentcyDarkBlue, agentcyYellow, augmentTreeData, blue100, blue200, blue300, blue400, blue50, blue500, blue600, blue700, blue800, blue900, blueAlpha10, blueAlpha40, blueFocusRingStrong, blueFocusRingWeak, bluePalette, brandColors, capitalize, darkModeCardFloating, darkModeCardLifted, darkModeCardRaised, darkModeCardSubtle, darkModeFooterBottom, darkModeSideDrawerLeft, darkModeSideDrawerRight, darkVars, deepCopyTree, flattenSelectTree, flattenSelectTreeWithSearch, flattenSelectTreeWithoutSearch, formatNodeValue, getAllSelectedLeaves, getAllSelectedParents, getChildrenOfTopLevelNode, getColorBySeverity, getLeafCounts, getTagStyle, gradientStopColors, gradientsPalette, green10, green100, green200, green300, green40, green400, green50, green500, green600, green700, green800, green900, greenPalette, grey0, grey100, grey200, grey300, grey400, grey50, grey500, grey600, grey700, grey800, grey900, greyAlpha10, greyAlpha40, greyPalette, illustrationGradientEnd, illustrationGradientStart, illustrationInfoGradientEnd, illustrationInfoGradientMiddle, illustrationInfoGradientStart, illustrationNegativeGradientStart, illustrationPositiveGradientEnd, illustrationPositiveGradientMiddle, illustrationPositiveGradientStart, illustrationRing, illustrationShell, illustrationStroke, illustrationSurface, illustrationSurfaceSubtle, illustrationWarningGradientEnd, illustrationWarningGradientStart, isLeaf, lavender10, lavender100, lavender200, lavender300, lavender400, lavender50, lavender500, lavender600, lavender700, lavender800, lavender900, lavenderPalette, lightAlphaOrange10, lightAlphaOrange40, lightBlue100, lightBlue200, lightBlue300, lightBlue400, lightBlue50, lightBlue500, lightBlue600, lightBlue700, lightBlue800, lightBlue900, lightBlueAlpha10, lightBlueAlpha40, lightBluePalette, lightModeCardFloating, lightModeCardLifted, lightModeCardRaised, lightModeCardSubtle, lightModeFooterBottom, lightModeSideDrawer, lightModeSideDrawerLeft, lightModeSideDrawerRight, lightOrange100, lightOrange200, lightOrange300, lightOrange400, lightOrange50, lightOrange500, lightOrange600, lightOrange700, lightOrange800, lightOrange900, lightOrangePalette, lightVars, lime10, lime100, lime200, lime300, lime400, lime50, lime500, lime600, lime700, lime800, lime900, limePalette, mergeNodeChildrenValueToText, night10, night100, night200, night300, night400, night50, night500, night600, night700, night800, night900, nightPalette, normalizeSeverity, orange100, orange200, orange300, orange400, orange50, orange500, orange600, orange700, orange800, orange900, orangeAlpha10, orangeAlpha40, orangePalette, outshiftBlue, outshiftLogoDark, outshiftLogoGreen, outshiftLogoLightBlue, outshiftLogoLightOrange, outshiftLogoOrange, outshiftLogoWhite, outshiftMidnightBlue, outshiftOrange, pink10, pink100, pink200, pink300, pink400, pink50, pink500, pink600, pink700, pink800, pink900, pinkPalette, purple100, purple200, purple300, purple400, purple50, purple500, purple600, purple700, purple800, purple900, purpleAlpha10, purpleAlpha40, purplePalette, red100, red200, red300, red400, red50, red500, red600, red700, red800, red900, redAlpha10, redAlpha40, redPalette, selectTagStyle, setSelectedMainSkillCategories, sortBySeverity, sunset10, sunset100, sunset200, sunset300, sunset400, sunset50, sunset500, sunset600, sunset700, sunset800, sunset900, sunsetPalette, surfaceDark100, surfaceDark200, surfaceDark300, surfaceDark400, surfaceDark50, surfaceDark500, surfaceDark600, surfaceDark700, surfaceDark800, surfaceDark800Alpha40, surfaceDark900, surfaceDark900Alpha10, surfaceDark900Alpha40, surfaceDarkPalette, surfaceLight100, surfaceLight200, surfaceLight300, surfaceLight400, surfaceLight50, surfaceLight500, surfaceLight50Alpha40, surfaceLight600, surfaceLight700, surfaceLight800, surfaceLight800Alpha40, surfaceLight900, surfaceLight900Alpha10, surfaceLight900Alpha40, surfaceLightPalette, teal10, teal100, teal200, teal300, teal400, teal50, teal500, teal600, teal700, teal800, teal900, tealPalette, toast, upwardsPush, useNestedMenu, useThemeMode, yellow100, yellow200, yellow300, yellow400, yellow50, yellow500, yellow600, yellow700, yellow800, yellow900, yellowAlpha10, yellowAlpha40, yellowPalette };
7696
+ export { Accordion, StyledAccordionSummary as AccordionSummary, ActionsDialog, ActivityTimeline, ActivityTimelineStepStatus, AddDomain, AddRepos, AnchorLinkMenu, AttackPathAnalysis, AttackPathAnalysisWalkThrough, Avatar, AvatarGroup, Backdrop, Badge, Banner, BarChart$1 as BarChart, BarGraph, BasePage, Breadcrumbs, Button, Card, CardActionArea, CardActions, CardContent, CardDescription, CardHeader, CardSubheader, Celebration, ChartType, ChartTypeComponents, ChartWidget, Checkbox$1 as Checkbox, CiCd, Cloud, CloudSimple, CodeBlock, CopyButton, CreateTableInstance, Dashboard, Data, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogActions, DialogContent, DialogContentText, DialogSubtitle, DialogTitle, Divider, DonutChart, EMPTY_FUNCTION, EmptyData, EmptyState, FiltersBar, FiltersDrawer, FloatingButton, Footer, GaugeChart, GeneralSize, Git, GitSimple, GlobalSearchInput, Header, HorizontalBarChart, Icon, IconPosition, index_d as Icons, IndicatorBadge, Info, InputField, KeyValuePairs, Kubernetes, LabelAndChildrenTooltipContent, Layout$1 as Layout, LineChart, Link$1 as Link, LinkColorEnum, LinkType, List$1 as List, ListItem, ListItemButton, ListItemIcon, ListItemText, ListSubheader, LoadingErrorState, LoadingStates, Menu$1 as Menu, MenuItem, StyledMenuSubheader as MenuSubheader, Message, Navigation, NavigationDrawer, NavigationSubNavigation, Negative, NestedMenu, NestedMenuListbox, NoData, OS_LIGHT_COLORS, OverflowTooltip, PageTitle, Pagination, PathDisplay, PickerItem, Popover, Positive, RadioButton, RadioGroup, Recon, RemainingTags, SEVERITY_VALUE, ScrollArea, SearchInput, Select, SelectNode, SelectNodeListItem, Sent, Severity, SeverityBadge, SeverityBadgeLabel, SeverityBar$1 as SeverityBar, Shield, SideDrawer, Skeleton, Slider, SpiderChart, Spinner, StaticDatePicker, StaticDateTimePicker, StepperModal, StepperPanel, Success, Tab, Table$1 as Table, Tabs, Tag, TagAvatarSize, TagBackgroundColorVariants, TagStatus, Tags, ThemeMode, ThemeProvider, TimePicker, Toast, Toaster, Toggle, Tooltip, TooltipSize, Upload$1 as Upload, ViewSwitcher, Warning, Widget, agentcyBlue, agentcyDarkBlue, agentcyYellow, augmentTreeData, blue100, blue200, blue300, blue400, blue50, blue500, blue600, blue700, blue800, blue900, blueAlpha10, blueAlpha40, blueFocusRingStrong, blueFocusRingWeak, bluePalette, brandColors, capitalize, darkModeCardFloating, darkModeCardLifted, darkModeCardRaised, darkModeCardSubtle, darkModeFooterBottom, darkModeSideDrawerLeft, darkModeSideDrawerRight, darkVars, deepCopyTree, flattenSelectTree, flattenSelectTreeWithSearch, flattenSelectTreeWithoutSearch, formatNodeValue, getAllSelectedLeaves, getAllSelectedParents, getChildrenOfTopLevelNode, getColorBySeverity, getLeafCounts, getTagStyle, gradientStopColors, gradientsPalette, green10, green100, green200, green300, green40, green400, green50, green500, green600, green700, green800, green900, greenPalette, grey0, grey100, grey200, grey300, grey400, grey50, grey500, grey600, grey700, grey800, grey900, greyAlpha10, greyAlpha40, greyPalette, illustrationGradientEnd, illustrationGradientStart, illustrationInfoGradientEnd, illustrationInfoGradientMiddle, illustrationInfoGradientStart, illustrationNegativeGradientStart, illustrationPositiveGradientEnd, illustrationPositiveGradientMiddle, illustrationPositiveGradientStart, illustrationRing, illustrationShell, illustrationStroke, illustrationSurface, illustrationSurfaceSubtle, illustrationWarningGradientEnd, illustrationWarningGradientStart, iocVars, isLeaf, lavender10, lavender100, lavender200, lavender300, lavender400, lavender50, lavender500, lavender600, lavender700, lavender800, lavender900, lavenderPalette, lightAlphaOrange10, lightAlphaOrange40, lightBlue100, lightBlue200, lightBlue300, lightBlue400, lightBlue50, lightBlue500, lightBlue600, lightBlue700, lightBlue800, lightBlue900, lightBlueAlpha10, lightBlueAlpha40, lightBluePalette, lightModeCardFloating, lightModeCardLifted, lightModeCardRaised, lightModeCardSubtle, lightModeFooterBottom, lightModeSideDrawer, lightModeSideDrawerLeft, lightModeSideDrawerRight, lightOrange100, lightOrange200, lightOrange300, lightOrange400, lightOrange50, lightOrange500, lightOrange600, lightOrange700, lightOrange800, lightOrange900, lightOrangePalette, lightVars, lime10, lime100, lime200, lime300, lime400, lime50, lime500, lime600, lime700, lime800, lime900, limePalette, mergeNodeChildrenValueToText, night10, night100, night200, night300, night400, night50, night500, night600, night700, night800, night900, nightPalette, normalizeSeverity, orange100, orange200, orange300, orange400, orange50, orange500, orange600, orange700, orange800, orange900, orangeAlpha10, orangeAlpha40, orangePalette, outshiftBlue, outshiftLogoDark, outshiftLogoGreen, outshiftLogoLightBlue, outshiftLogoLightOrange, outshiftLogoOrange, outshiftLogoWhite, outshiftMidnightBlue, outshiftOrange, pink10, pink100, pink200, pink300, pink400, pink50, pink500, pink600, pink700, pink800, pink900, pinkPalette, purple100, purple200, purple300, purple400, purple50, purple500, purple600, purple700, purple800, purple900, purpleAlpha10, purpleAlpha40, purplePalette, red100, red200, red300, red400, red50, red500, red600, red700, red800, red900, redAlpha10, redAlpha40, redPalette, selectTagStyle, setSelectedMainSkillCategories, sortBySeverity, sunset10, sunset100, sunset200, sunset300, sunset400, sunset50, sunset500, sunset600, sunset700, sunset800, sunset900, sunsetPalette, surfaceDark100, surfaceDark200, surfaceDark300, surfaceDark400, surfaceDark50, surfaceDark500, surfaceDark600, surfaceDark700, surfaceDark800, surfaceDark800Alpha40, surfaceDark900, surfaceDark900Alpha10, surfaceDark900Alpha40, surfaceDarkPalette, surfaceLight100, surfaceLight200, surfaceLight300, surfaceLight400, surfaceLight50, surfaceLight500, surfaceLight50Alpha40, surfaceLight600, surfaceLight700, surfaceLight800, surfaceLight800Alpha40, surfaceLight900, surfaceLight900Alpha10, surfaceLight900Alpha40, surfaceLightPalette, teal10, teal100, teal200, teal300, teal400, teal50, teal500, teal600, teal700, teal800, teal900, tealPalette, toast, upwardsPush, useNestedMenu, useThemeMode, yellow100, yellow200, yellow300, yellow400, yellow50, yellow500, yellow600, yellow700, yellow800, yellow900, yellowAlpha10, yellowAlpha40, yellowPalette };
7694
7697
  export type { AccordionProps, ActionsDialogProps, ActivityTimelineProps, ActivityTimelineStep, AnchorLinkMenuItem, AnchorLinkMenuProps, AssetsData, AtomicTypes, AugmentedSelectNodeType, AvatarGroupProps, AvatarProps, BackdropProps, BadgeProps, BadgeType, BannerProps, BarChartProps, BarGraphItem, BarGraphProps, BarProps, BasePageProps, BreadcrumbItem, BreadcrumbsProps, ButtonProps, CardActionAreaProps, CardActionsProps, CardContentProps, CardDescriptionProps, CardHeaderProps, CardProps, CardSubheaderProps, ChartCategory, ChartCategoryItem, ChartDataItem, ChartProps, CheckboxProps, CodeBlockHeaderButton, CodeBlockProps, CodeBlockSize, ConditionalPropsByType, CopyButtonPosition, CopyButtonProps, CopyButtonSize, CopyButtonStylesProps, DatePickerProps, DateRangePickerProps, DateTimePickerProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogProps, DialogSubtitleProps, DialogTitleProps, DividerProps, DividerVariant, DonutProps, EmptyStateDirection, EmptyStateProps, EmptyStateVariant, ExportProps, ExtendedChartProps, ExtendedDataPoint, FilterData, FilterOptionData, FiltersBarActionsProps, FiltersBarProps, FiltersDrawerProps, FlattenSelectTreeArgs, FlattenedSelectTreeData, FloatingButtonProps, FloatingButtonSize, FloatingButtonVariant, FooterProps, GaugeChartProps, GlobalSearchGroup, GlobalSearchItem, GlobalSearchProps, Gradient, GradientsPalette, HeaderAction, HeaderProps, HeaderTooltipMeta, HorizontalBarChartProps, IChartWidgetProps, IWidgetProps, IconProps, IndicatorBadgeProps, IndicatorBadgeValue, InputFieldProps, KeyValuePairItem, KeyValuePairsLayout, KeyValuePairsProps, LayoutProps, LineChartProps, LinkColorStatus, LinkProps, LinkState, ListItemButtonProps, ListItemIconProps, ListItemProps, ListItemTextProps, ListProps, ListSubheaderProps, LoadingErrorStateProps, LoadingStatesProps, LoadingStatesSkeletonState, MenuItemProps, MenuItemSize, MenuProps, MessageProps, MessageType, NavigationDrawerProps, NavigationItemData, NavigationItemState, NavigationProps, NavigationSectionData, NavigationSubNavigationProps, NestedMenuProps, OverflowTooltipProps, PageTitleProps, PaginationProps, PathDisplayProps, PickerDisplay, PickerItemProps, PickerSize, PopoverArrowPosition, PopoverProps, PopoverSize, RadioButtonProps, RadioGroupProps, ScrollAreaProps, SearchInputProps, SelectNodeType, SelectProps, SeverityBadgeLabelProps, SeverityBadgeProps, SeverityBadgeScoreSystemItem, SeverityBarProps, SideDrawerFooterProps, SideDrawerHeaderProps, SideDrawerProps, SkeletonProps, SliderProps, SpiderChartProps, SpinnerProps, StaticDatePickerProps, StaticDateTimePickerProps, StaticTimePickerProps, StatusBanner, StepperModalProps, StepperModalStep, StepperPanelProps, StepperStep, SubNavItem, TabProps, TableChartDataItem, TableProps, TableRow, TableTitle, TabsProps, TabsType, TagProps, TagStatusStyle, TagsProps, ThemeModeContextValue, ThemeProviderProps, TimePickerProps, ToastAction, ToastProps, ToastType, ToasterProps, ToggleProps, TooltipProps, TopToolbarProps, UploadFile, UploadFileStatus, UploadProps, VarsType, ViewSwitcherOption, ViewSwitcherOptionObject, ViewSwitcherOptionProperties, ViewSwitcherProps, ViewSwitcherSize };
package/index.esm.js CHANGED
@@ -10456,7 +10456,7 @@ const shadows$1 = [
10456
10456
  darkModeFooterBottom,
10457
10457
  ...Array(17).fill("none"),
10458
10458
  ];
10459
- const palette$1 = {
10459
+ const palette$2 = {
10460
10460
  mode: "dark",
10461
10461
  primary: bluePalette,
10462
10462
  secondary: Object.assign(Object.assign({}, surfaceDarkPalette), { main: surfaceDarkPalette[500] }),
@@ -10486,7 +10486,7 @@ const palette$1 = {
10486
10486
  };
10487
10487
  const theme$1 = createTheme({
10488
10488
  breakpoints,
10489
- palette: palette$1,
10489
+ palette: palette$2,
10490
10490
  typography,
10491
10491
  mixins: commonMixins,
10492
10492
  });
@@ -10523,6 +10523,519 @@ const darkThemeOptions = {
10523
10523
  };
10524
10524
  const darkTheme = createTheme(theme$1, darkThemeOptions);
10525
10525
 
10526
+ const iocSurface50 = "rgba(255, 255, 255, 0.02)";
10527
+ const iocSurface100 = "rgba(255, 255, 255, 0.035)";
10528
+ const iocSurface200 = "rgba(255, 255, 255, 0.06)";
10529
+ const iocSurface300 = "rgba(255, 255, 255, 0.09)";
10530
+ const iocSurface400 = "rgba(255, 255, 255, 0.12)";
10531
+ const iocSurface500 = "rgba(255, 255, 255, 0.16)";
10532
+ const iocSurfacePalette = {
10533
+ 50: iocSurface50,
10534
+ 100: iocSurface100,
10535
+ 200: iocSurface200,
10536
+ 300: iocSurface300,
10537
+ 400: iocSurface400,
10538
+ 500: iocSurface500,
10539
+ };
10540
+ const iocBackdrop900 = "#020508";
10541
+ const iocBackdrop800 = "#03080F";
10542
+ const iocBackdrop700 = "#050C18";
10543
+ const iocBackdrop600 = "#07111F";
10544
+ const iocBackdrop500 = "#091428";
10545
+ const iocBackdropPalette = {
10546
+ 900: iocBackdrop900,
10547
+ 800: iocBackdrop800,
10548
+ 700: iocBackdrop700,
10549
+ 600: iocBackdrop600,
10550
+ 500: iocBackdrop500};
10551
+ const iocTeal50 = "#E6F9FE";
10552
+ const iocTeal100 = "#B3EEFB";
10553
+ const iocTeal200 = "#7DE0F8";
10554
+ const iocTeal300 = "#40D0F4";
10555
+ const iocTeal400 = "#1AC6F0";
10556
+ const iocTeal500 = "#00BCEB";
10557
+ const iocTeal600 = "#00A0D1";
10558
+ const iocTeal700 = "#0082AD";
10559
+ const iocTeal800 = "#006B8A";
10560
+ const iocTeal900 = "#003D54";
10561
+ const iocTealAlpha40 = "rgba(0, 188, 235, 0.40)";
10562
+ const iocTealAlpha20 = "rgba(0, 188, 235, 0.20)";
10563
+ const iocTealAlpha10 = "rgba(0, 188, 235, 0.10)";
10564
+ const iocTealAlpha05 = "rgba(0, 188, 235, 0.05)";
10565
+ const iocTealPalette = {
10566
+ 50: iocTeal50,
10567
+ 100: iocTeal100,
10568
+ 200: iocTeal200,
10569
+ 300: iocTeal300,
10570
+ 400: iocTeal400,
10571
+ 500: iocTeal500,
10572
+ 600: iocTeal600,
10573
+ 700: iocTeal700,
10574
+ 800: iocTeal800,
10575
+ 900: iocTeal900,
10576
+ alpha40: iocTealAlpha40,
10577
+ alpha20: iocTealAlpha20,
10578
+ alpha10: iocTealAlpha10,
10579
+ alpha05: iocTealAlpha05,
10580
+ };
10581
+ const iocBlue500 = "#2B82F6";
10582
+ const iocBlue400 = "#3B92FF";
10583
+ const iocBlue600 = "#1E6FD9";
10584
+ const iocBluePalette = {
10585
+ 400: iocBlue400,
10586
+ 500: iocBlue500,
10587
+ 600: iocBlue600,
10588
+ };
10589
+ const iocBorder100 = "rgba(255, 255, 255, 0.05)";
10590
+ const iocBorder200 = "rgba(255, 255, 255, 0.07)";
10591
+ const iocBorder300 = "rgba(255, 255, 255, 0.09)";
10592
+ const iocBorder500 = "rgba(255, 255, 255, 0.18)";
10593
+ const iocBorderPalette = {
10594
+ 100: iocBorder100,
10595
+ 200: iocBorder200,
10596
+ 300: iocBorder300,
10597
+ 500: iocBorder500,
10598
+ };
10599
+ const iocTextPrimary = "rgba(255, 255, 255, 0.94)";
10600
+ const iocTextSecondary = "rgba(255, 255, 255, 0.55)";
10601
+ const iocTextTertiary = "rgba(255, 255, 255, 0.32)";
10602
+ const iocTextDisabled = "rgba(255, 255, 255, 0.22)";
10603
+ const iocPageBackground = `
10604
+ radial-gradient(ellipse 130% 90% at -15% -5%, rgba(0, 70, 160, 0.50) 0%, rgba(0, 40, 100, 0.15) 45%, transparent 65%),
10605
+ radial-gradient(ellipse 80% 60% at 60% 110%, rgba(0, 30, 80, 0.30) 0%, transparent 60%),
10606
+ linear-gradient(160deg, #07111F 0%, #050C18 40%, #030810 100%)
10607
+ `;
10608
+ const iocShadowSm = "0 2px 8px rgba(0, 0, 0, 0.30)";
10609
+ const iocShadowMd = "0 4px 16px rgba(0, 0, 0, 0.40)";
10610
+ const iocShadowLg = "0 8px 32px rgba(0, 0, 0, 0.50)";
10611
+ `linear-gradient(180deg, ${iocTealPalette[400]} 0%, ${iocTealPalette[600]} 100%)`;
10612
+ `linear-gradient(180deg, ${iocBluePalette[500]} 0%, ${iocBluePalette[600]} 100%)`;
10613
+ `linear-gradient(180deg, ${redPalette[400]} 0%, ${redPalette[500]} 100%)`;
10614
+ `linear-gradient(135deg, ${iocTealPalette[400]} 0%, ${iocBluePalette[500]} 100%)`;
10615
+ `0 0 6px ${iocTealPalette[500]}CC, 0 0 16px ${iocTealPalette[500]}77, 0 0 28px ${iocTealPalette[500]}33`;
10616
+ `0 0 6px ${iocBluePalette[500]}CC, 0 0 16px ${iocBluePalette[500]}77, 0 0 28px ${iocBluePalette[500]}33`;
10617
+ `0 0 6px ${greenPalette[500]}CC, 0 0 16px ${greenPalette[500]}77, 0 0 28px ${greenPalette[500]}33`;
10618
+ `0 0 6px ${lightOrangePalette[500]}CC, 0 0 16px ${lightOrangePalette[500]}77, 0 0 28px ${lightOrangePalette[500]}33`;
10619
+ `0 0 6px ${redPalette[500]}CC, 0 0 16px ${redPalette[500]}77, 0 0 28px ${redPalette[500]}33`;
10620
+ `0 0 6px ${orangePalette[500]}CC, 0 0 16px ${orangePalette[500]}77, 0 0 28px ${orangePalette[500]}33`;
10621
+ `0 0 6px ${lightBluePalette[500]}CC, 0 0 16px ${lightBluePalette[500]}77, 0 0 28px ${lightBluePalette[500]}33`;
10622
+ `0 0 6px ${iocTealPalette[600]}99, 0 0 14px ${iocTealPalette[600]}44`;
10623
+
10624
+ const iocVars = {
10625
+ brandOrange: lightOrangePalette[500],
10626
+ brandOrangeDark: lightOrangePalette[900],
10627
+ brandBlue: iocTealPalette[500],
10628
+ brandMidnightBlue: iocBackdropPalette[500],
10629
+ agentcyYellow: lightOrangePalette[500],
10630
+ agentcyBlue: iocTealPalette[500],
10631
+ agentcyDarkBlue: iocBackdropPalette[900],
10632
+ baseTextDark: iocBackdropPalette[900],
10633
+ baseTextStrong: iocTextPrimary,
10634
+ baseTextDefault: iocTextSecondary,
10635
+ baseTextMedium: iocTextTertiary,
10636
+ baseTextWeak: iocTextDisabled,
10637
+ baseTextInverse: iocBackdropPalette[900],
10638
+ baseTextDisabled: iocTextDisabled,
10639
+ baseBackgroundStrong: iocBackdropPalette[600],
10640
+ baseBackgroundMedium: iocSurfacePalette[200],
10641
+ baseBackgroundWeak: iocSurfacePalette[100],
10642
+ baseBackgroundHover: iocSurfacePalette[300],
10643
+ baseBorderDefault: iocBorderPalette[300],
10644
+ baseBorderStrong: iocBorderPalette[500],
10645
+ baseBorderMedium: iocBorderPalette[200],
10646
+ baseBorderWeak: iocBorderPalette[100],
10647
+ brandIconPrimaryDefault: iocTealPalette[500],
10648
+ brandIconPrimaryWeak: iocTealPalette[200],
10649
+ brandIconPrimaryMedium: iocTealPalette[400],
10650
+ brandIconPrimaryStrong: iocTealPalette[700],
10651
+ brandIconSecondaryDefault: iocBluePalette[500],
10652
+ brandIconSecondaryWeak: iocBluePalette[400],
10653
+ brandIconSecondaryMedium: iocBluePalette[500],
10654
+ brandIconTertiaryDefault: lightOrangePalette[500],
10655
+ brandIconTertiaryWeak: lightOrangePalette[200],
10656
+ brandIconTertiaryMedium: lightOrangePalette[400],
10657
+ brandBackgroundPrimaryDefault: iocTealPalette[500],
10658
+ brandBackgroundPrimaryWeak: iocTealPalette.alpha10,
10659
+ brandBackgroundPrimaryMedium: iocTealPalette.alpha20,
10660
+ brandBackgroundSecondaryDefault: iocBluePalette[500],
10661
+ brandLogoPrimary: iocTealPalette[400],
10662
+ brandLogoSecondary: iocTextPrimary,
10663
+ brandTextPrimary: iocTealPalette[400],
10664
+ brandTextSecondary: iocTextPrimary,
10665
+ brandTextTertiary: lightOrangePalette[500],
10666
+ controlBackgroundDefault: iocSurfacePalette[200],
10667
+ controlBackgroundDisabled: iocSurfacePalette[50],
10668
+ controlBackgroundWeak: iocSurfacePalette[300],
10669
+ controlBackgroundMedium: iocSurfacePalette[500],
10670
+ controlBorderDefault: iocBorderPalette[300],
10671
+ controlBorderStrong: iocBorderPalette[500],
10672
+ controlBorderMedium: iocBorderPalette[200],
10673
+ controlBorderWeak: iocBorderPalette[100],
10674
+ controlBorderHover: iocTealPalette[500],
10675
+ controlBorderActive: iocTealPalette[600],
10676
+ controlBorderNegative: redPalette[500],
10677
+ controlBorderDisabled: iocBorderPalette[100],
10678
+ controlIconDefault: iocTextSecondary,
10679
+ controlIconStrong: iocTextPrimary,
10680
+ controlIconMedium: iocTextTertiary,
10681
+ controlIconWeak: iocTextDisabled,
10682
+ controlIconHover: iocTealPalette[400],
10683
+ controlIconActive: iocTealPalette[500],
10684
+ controlIconDisabled: iocTextDisabled,
10685
+ controlFocusRingWeak: iocTealPalette.alpha10,
10686
+ controlFocusRingStrong: iocTealPalette.alpha20,
10687
+ interactivePrimaryDefaultDefault: iocTealPalette[500],
10688
+ interactivePrimaryDefaultHover: iocTealPalette[400],
10689
+ interactivePrimaryDefaultActive: iocTealPalette[600],
10690
+ interactivePrimaryDefaultDisabled: iocTealPalette.alpha40,
10691
+ interactivePrimaryWeakDefault: iocTealPalette.alpha10,
10692
+ interactivePrimaryWeakHover: iocTealPalette.alpha20,
10693
+ interactivePrimaryWeakActive: iocTealPalette.alpha40,
10694
+ interactivePrimaryWeakDisabled: iocTealPalette.alpha05,
10695
+ interactiveSecondaryDefaultDefault: iocBluePalette[500],
10696
+ interactiveSecondaryDefaultHover: iocBluePalette[400],
10697
+ interactiveSecondaryDefaultActive: iocBluePalette[600],
10698
+ interactiveSecondaryDefaultDisabled: "rgba(43,130,246,0.40)",
10699
+ interactiveSecondaryWeakDefault: iocSurfacePalette[200],
10700
+ interactiveSecondaryWeakHover: iocSurfacePalette[300],
10701
+ interactiveSecondaryWeakActive: iocSurfacePalette[400],
10702
+ interactiveSecondaryWeakDisabled: iocSurfacePalette[100],
10703
+ interactiveInverseBackgroundDefault: "rgba(255,255,255,0.90)",
10704
+ interactiveInverseBackgroundHover: "rgba(255,255,255,0.95)",
10705
+ interactiveInverseBackgroundActive: "rgba(255,255,255,0.85)",
10706
+ interactiveInverseBackgroundDisabled: "rgba(255,255,255,0.40)",
10707
+ interactiveInverseTextDefault: iocBackdropPalette[900],
10708
+ interactiveInverseTextHover: iocBackdropPalette[700],
10709
+ interactiveInverseTextActive: iocBackdropPalette[800],
10710
+ interactiveInverseTextDisabled: "rgba(0,0,0,0.30)",
10711
+ interactiveTextInDefault: iocTextPrimary,
10712
+ interactiveTextInHover: iocTextPrimary,
10713
+ interactiveTextInActive: iocTextPrimary,
10714
+ interactiveTextInDisabled: iocTextDisabled,
10715
+ interactiveTertiaryDefault: lightOrangePalette[500],
10716
+ interactiveTertiaryHover: lightOrangePalette[400],
10717
+ interactiveTertiaryActive: lightOrangePalette[600],
10718
+ interactiveTertiaryDisabled: lightOrangePalette["alpha40"],
10719
+ successBackgroundDefault: greenPalette[500],
10720
+ successBackgroundDisabled: greenPalette[40],
10721
+ successBackgroundHover: greenPalette[400],
10722
+ successBackgroundActive: greenPalette[600],
10723
+ successBackgroundWeak: "rgba(0, 185, 141, 0.10)",
10724
+ successIconActive: greenPalette[600],
10725
+ successIconDisabled: greenPalette[40],
10726
+ successIconHover: greenPalette[400],
10727
+ successIconDefault: greenPalette[500],
10728
+ successTextActive: greenPalette[300],
10729
+ successTextHover: greenPalette[200],
10730
+ successTextDefault: greenPalette[300],
10731
+ successTextInDisabled: greenPalette[10],
10732
+ successTextInDefault: greyPalette[900],
10733
+ successBorderDisabled: greenPalette[40],
10734
+ successBorderActive: greenPalette[600],
10735
+ successBorderHover: greenPalette[400],
10736
+ successBorderDefault: greenPalette[500],
10737
+ successBorderWeak: "rgba(0, 185, 141, 0.30)",
10738
+ successIconInDisabled: greenPalette[10],
10739
+ successIconInActive: greenPalette[200],
10740
+ successIconInHover: greenPalette[100],
10741
+ successIconInDefault: greenPalette[50],
10742
+ negativeBackgroundHover: redPalette[400],
10743
+ negativeBackgroundActive: redPalette[600],
10744
+ negativeBackgroundDisabled: redPalette["alpha40"],
10745
+ negativeBackgroundDefault: redPalette[500],
10746
+ negativeBackgroundWeak: "rgba(198, 41, 83, 0.10)",
10747
+ negativeTextDefault: redPalette[300],
10748
+ negativeTextHover: redPalette[200],
10749
+ negativeTextActive: redPalette[400],
10750
+ negativeBorderActive: redPalette[600],
10751
+ negativeBorderHover: redPalette[400],
10752
+ negativeBorderDisabled: redPalette["alpha40"],
10753
+ negativeBorderDefault: redPalette[500],
10754
+ negativeBorderWeak: "rgba(198, 41, 83, 0.30)",
10755
+ negativeIconDisabled: redPalette["alpha40"],
10756
+ negativeIconActive: redPalette[600],
10757
+ negativeIconHover: redPalette[400],
10758
+ negativeIconDefault: redPalette[500],
10759
+ negativeTextInDefault: redPalette[50],
10760
+ negativeTextInDisabled: redPalette["alpha10"],
10761
+ negativeIconInDefault: redPalette[50],
10762
+ negativeIconInHover: redPalette[100],
10763
+ negativeIconInActive: redPalette[200],
10764
+ negativeIconInDisabled: redPalette["alpha10"],
10765
+ excellentBackgroundDefault: lightBluePalette[600],
10766
+ excellentBackgroundWeak: "rgba(31, 210, 255, 0.10)",
10767
+ excellentBackgroundDisabled: lightBluePalette["alpha40"],
10768
+ excellentBackgroundHover: lightBluePalette[500],
10769
+ excellentBackgroundActive: lightBluePalette[700],
10770
+ excellentTextDefault: lightBluePalette[200],
10771
+ excellentTextHover: lightBluePalette[100],
10772
+ excellentTextActive: lightBluePalette[300],
10773
+ excellentTextInDefault: greyPalette[900],
10774
+ excellentTextInDisabled: lightBluePalette["alpha10"],
10775
+ excellentBorderDefault: lightBluePalette[600],
10776
+ excellentBorderHover: lightBluePalette[500],
10777
+ excellentBorderActive: lightBluePalette[700],
10778
+ excellentBorderDisabled: lightBluePalette["alpha40"],
10779
+ excellentBorderWeak: "rgba(31, 210, 255, 0.30)",
10780
+ excellentIconDefault: lightBluePalette[500],
10781
+ excellentIconHover: lightBluePalette[400],
10782
+ excellentIconActive: lightBluePalette[600],
10783
+ excellentIconDisabled: lightBluePalette["alpha40"],
10784
+ excellentIconInDefault: lightBluePalette[50],
10785
+ excellentIconInHover: lightBluePalette[100],
10786
+ excellentIconInActive: lightBluePalette[200],
10787
+ excellentIconInDisabled: lightBluePalette["alpha10"],
10788
+ neutralBackgroundDefault: iocTealPalette[600],
10789
+ neutralBackgroundWeak: iocTealPalette.alpha10,
10790
+ neutralBackgroundDisabled: iocTealPalette.alpha40,
10791
+ neutralBackgroundHover: iocTealPalette[500],
10792
+ neutralBackgroundActive: iocTealPalette[700],
10793
+ neutralTextDefault: iocTealPalette[200],
10794
+ neutralTextHover: iocTealPalette[100],
10795
+ neutralTextActive: iocTealPalette[300],
10796
+ neutralTextInDefault: greyPalette[900],
10797
+ neutralTextInDisabled: iocTealPalette.alpha10,
10798
+ neutralBorderDefault: iocTealPalette[600],
10799
+ neutralBorderHover: iocTealPalette[500],
10800
+ neutralBorderActive: iocTealPalette[700],
10801
+ neutralBorderDisabled: iocTealPalette.alpha40,
10802
+ neutralBorderWeak: iocTealPalette.alpha20,
10803
+ neutralIconDefault: iocTealPalette[500],
10804
+ neutralIconHover: iocTealPalette[400],
10805
+ neutralIconActive: iocTealPalette[600],
10806
+ neutralIconDisabled: iocTealPalette.alpha40,
10807
+ neutralIconInDefault: iocTealPalette[50],
10808
+ neutralIconInHover: iocTealPalette[100],
10809
+ neutralIconInActive: iocTealPalette[200],
10810
+ neutralIconInDisabled: iocTealPalette.alpha10,
10811
+ infoBackgroundDefault: iocBluePalette[600],
10812
+ infoBackgroundWeak: "rgba(43,130,246,0.10)",
10813
+ infoBackgroundDisabled: "rgba(43,130,246,0.40)",
10814
+ infoBackgroundHover: iocBluePalette[500],
10815
+ infoBackgroundActive: iocBluePalette[600],
10816
+ infoTextDefault: "#93C5FD",
10817
+ infoTextHover: "#BFDBFE",
10818
+ infoTextActive: "#60A5FA",
10819
+ infoTextInDefault: greyPalette[900],
10820
+ infoTextInDisabled: "rgba(43,130,246,0.10)",
10821
+ infoBorderDefault: iocBluePalette[600],
10822
+ infoBorderHover: iocBluePalette[500],
10823
+ infoBorderActive: iocBluePalette[600],
10824
+ infoBorderDisabled: "rgba(43,130,246,0.40)",
10825
+ infoBorderWeak: "rgba(43,130,246,0.20)",
10826
+ infoIconDefault: iocBluePalette[500],
10827
+ infoIconHover: iocBluePalette[400],
10828
+ infoIconActive: iocBluePalette[600],
10829
+ infoIconDisabled: "rgba(43,130,246,0.40)",
10830
+ infoIconInDefault: "#EFF6FF",
10831
+ infoIconInHover: "#BFDBFE",
10832
+ infoIconInActive: "#93C5FD",
10833
+ infoIconInDisabled: "rgba(43,130,246,0.10)",
10834
+ inactiveBackgroundDefault: greyPalette[600],
10835
+ inactiveBackgroundWeak: "rgba(60, 69, 81, 0.10)",
10836
+ inactiveBackgroundDisabled: greyPalette["alpha40"],
10837
+ inactiveBackgroundHover: greyPalette[500],
10838
+ inactiveBackgroundActive: greyPalette[700],
10839
+ inactiveTextDefault: greyPalette[200],
10840
+ inactiveTextHover: greyPalette[100],
10841
+ inactiveTextActive: greyPalette[300],
10842
+ inactiveTextInDefault: greyPalette[50],
10843
+ inactiveTextInDisabled: greyPalette["alpha40"],
10844
+ inactiveBorderDefault: greyPalette[600],
10845
+ inactiveBorderHover: greyPalette[500],
10846
+ inactiveBorderActive: greyPalette[700],
10847
+ inactiveBorderDisabled: greyPalette["alpha40"],
10848
+ inactiveBorderWeak: "rgba(60, 69, 81, 0.30)",
10849
+ inactiveIconDefault: greyPalette[400],
10850
+ inactiveIconHover: greyPalette[300],
10851
+ inactiveIconActive: greyPalette[500],
10852
+ inactiveIconDisabled: greyPalette["alpha40"],
10853
+ inactiveIconInDefault: greyPalette[0],
10854
+ inactiveIconInHover: greyPalette[50],
10855
+ inactiveIconInActive: greyPalette[100],
10856
+ inactiveIconInDisabled: greyPalette["alpha10"],
10857
+ warningBackgroundDefault: lightOrangePalette[500],
10858
+ warningBackgroundWeak: "rgba(251, 175, 69, 0.10)",
10859
+ warningBackgroundHover: lightOrangePalette[400],
10860
+ warningBackgroundActive: lightOrangePalette[600],
10861
+ warningBackgroundDisabled: lightOrangePalette["alpha40"],
10862
+ warningTextDefault: lightOrangePalette[200],
10863
+ warningTextHover: lightOrangePalette[100],
10864
+ warningTextActive: lightOrangePalette[300],
10865
+ warningTextInDefault: greyPalette[900],
10866
+ warningTextInDisabled: lightOrangePalette["alpha10"],
10867
+ warningBorderDefault: lightOrangePalette[500],
10868
+ warningBorderHover: lightOrangePalette[400],
10869
+ warningBorderActive: lightOrangePalette[600],
10870
+ warningBorderDisabled: lightOrangePalette["alpha40"],
10871
+ warningBorderWeak: "rgba(251, 175, 69, 0.30)",
10872
+ warningIconDefault: lightOrangePalette[500],
10873
+ warningIconHover: lightOrangePalette[400],
10874
+ warningIconActive: lightOrangePalette[600],
10875
+ warningIconDisabled: lightOrangePalette["alpha40"],
10876
+ warningIconInDefault: lightOrangePalette[50],
10877
+ warningIconInHover: lightOrangePalette[100],
10878
+ warningIconInActive: lightOrangePalette[200],
10879
+ warningIconInDisabled: lightOrangePalette["alpha10"],
10880
+ severeWarningBackgroundDefault: orangePalette[500],
10881
+ severeWarningBackgroundWeak: "rgba(242, 100, 61, 0.10)",
10882
+ severeWarningBackgroundHover: orangePalette[400],
10883
+ severeWarningBackgroundActive: orangePalette[600],
10884
+ severeWarningBackgroundDisabled: orangePalette["alpha40"],
10885
+ severeWarningTextDefault: orangePalette[200],
10886
+ severeWarningTextHover: orangePalette[100],
10887
+ severeWarningTextActive: orangePalette[300],
10888
+ severeWarningTextInDefault: greyPalette[900],
10889
+ severeWarningTextInDisabled: orangePalette["alpha10"],
10890
+ severeWarningBorderDefault: orangePalette[500],
10891
+ severeWarningBorderHover: orangePalette[400],
10892
+ severeWarningBorderActive: orangePalette[600],
10893
+ severeWarningBorderDisabled: orangePalette["alpha40"],
10894
+ severeWarningBorderWeak: "rgba(242, 100, 61, 0.30)",
10895
+ severeWarningIconDefault: orangePalette[500],
10896
+ severeWarningIconHover: orangePalette[400],
10897
+ severeWarningIconActive: orangePalette[600],
10898
+ severeWarningIconDisabled: orangePalette["alpha40"],
10899
+ severeWarningIconInDefault: orangePalette[50],
10900
+ severeWarningIconInHover: orangePalette[100],
10901
+ severeWarningIconInActive: orangePalette[200],
10902
+ severeWarningIconInDisabled: orangePalette["alpha10"],
10903
+ moderateBackgroundDefault: yellowPalette[500],
10904
+ moderateBackgroundWeak: "rgba(255, 230, 89, 0.10)",
10905
+ moderateBackgroundHover: yellowPalette[400],
10906
+ moderateBackgroundActive: yellowPalette[600],
10907
+ moderateBackgroundDisabled: yellowPalette["alpha40"],
10908
+ moderateTextDefault: yellowPalette[900],
10909
+ moderateTextHover: yellowPalette[800],
10910
+ moderateTextActive: yellowPalette[700],
10911
+ moderateTextInDefault: greyPalette[900],
10912
+ moderateTextInDisabled: yellowPalette["alpha10"],
10913
+ moderateBorderDefault: yellowPalette[500],
10914
+ moderateBorderHover: yellowPalette[400],
10915
+ moderateBorderActive: yellowPalette[600],
10916
+ moderateBorderDisabled: yellowPalette["alpha40"],
10917
+ moderateBorderWeak: "rgba(255, 230, 89, 0.30)",
10918
+ moderateIconDefault: yellowPalette[700],
10919
+ moderateIconHover: yellowPalette[600],
10920
+ moderateIconActive: yellowPalette[800],
10921
+ moderateIconDisabled: yellowPalette["alpha40"],
10922
+ moderateIconInDefault: yellowPalette[900],
10923
+ moderateIconInHover: yellowPalette[800],
10924
+ moderateIconInActive: yellowPalette[700],
10925
+ moderateIconInDisabled: yellowPalette["alpha10"],
10926
+ accentADefault: lavenderPalette[400],
10927
+ accentAWeak: "rgba(140, 149, 255, 0.15)",
10928
+ accentBDefault: sunsetPalette[300],
10929
+ accentBWeak: "rgba(233, 106, 141, 0.15)",
10930
+ accentCDefault: sunsetPalette[100],
10931
+ accentCWeak: "rgba(243, 172, 162, 0.15)",
10932
+ accentDDefault: purplePalette[400],
10933
+ accentDWeak: "rgba(192, 128, 255, 0.15)",
10934
+ accentEDefault: limePalette[400],
10935
+ accentEWeak: "rgba(164, 197, 71, 0.15)",
10936
+ accentFDefault: orangePalette[400],
10937
+ accentFWeak: "rgba(244, 123, 90, 0.15)",
10938
+ accentGDefault: nightPalette[200],
10939
+ accentGWeak: "rgba(70, 170, 206, 0.15)",
10940
+ accentHDefault: iocTealPalette[400],
10941
+ accentHWeak: iocTealPalette.alpha10,
10942
+ accentIDefault: pinkPalette[400],
10943
+ accentIWeak: "rgba(242, 99, 140, 0.15)",
10944
+ accentJDefault: tealPalette[400],
10945
+ accentJWeak: "rgba(62, 203, 209, 0.15)",
10946
+ };
10947
+
10948
+ const iocShadows = [
10949
+ "none",
10950
+ iocShadowSm,
10951
+ iocShadowMd,
10952
+ iocShadowLg,
10953
+ iocShadowLg,
10954
+ iocShadowLg,
10955
+ ...Array(19).fill("none"),
10956
+ ];
10957
+ const palette$1 = {
10958
+ mode: "dark",
10959
+ primary: Object.assign(Object.assign({}, iocTealPalette), { main: iocTealPalette[500], light: iocTealPalette[300], dark: iocTealPalette[700], contrastText: iocBackdropPalette[900] }),
10960
+ secondary: {
10961
+ main: iocBluePalette[500],
10962
+ light: iocBluePalette[400],
10963
+ dark: iocBluePalette[600],
10964
+ contrastText: "#ffffff",
10965
+ },
10966
+ tertiary: lightOrangePalette,
10967
+ error: redPalette,
10968
+ warning: lightOrangePalette,
10969
+ info: iocBluePalette,
10970
+ success: greenPalette,
10971
+ negative: redPalette,
10972
+ orange: orangePalette,
10973
+ grey: greyPalette,
10974
+ vars: iocVars,
10975
+ text: {
10976
+ primary: iocTextPrimary,
10977
+ secondary: iocTextSecondary,
10978
+ disabled: iocTextDisabled,
10979
+ },
10980
+ background: {
10981
+ paper: iocSurfacePalette[100],
10982
+ default: iocBackdropPalette[600],
10983
+ },
10984
+ action: {
10985
+ hoverOpacity: 0.08,
10986
+ selectedOpacity: 0.14,
10987
+ focusOpacity: 0.1,
10988
+ },
10989
+ };
10990
+ const baseTheme = createTheme({
10991
+ breakpoints,
10992
+ palette: palette$1,
10993
+ typography,
10994
+ mixins: commonMixins,
10995
+ });
10996
+ const iocCssBaselineComponent = {
10997
+ MuiCssBaseline: {
10998
+ styleOverrides: {
10999
+ html: {
11000
+ scrollbarWidth: "thin",
11001
+ scrollbarColor: `${baseTheme.palette.vars.baseTextMedium} ${baseTheme.palette.background.default}`,
11002
+ },
11003
+ body: {
11004
+ background: iocPageBackground,
11005
+ backgroundAttachment: "fixed",
11006
+ minHeight: "100vh",
11007
+ },
11008
+ "*::-webkit-scrollbar": { width: "12px", height: "12px" },
11009
+ "*::-webkit-scrollbar-track": {
11010
+ backgroundColor: baseTheme.palette.background.default,
11011
+ borderRadius: 8,
11012
+ },
11013
+ "*::-webkit-scrollbar-thumb": {
11014
+ backgroundColor: baseTheme.palette.vars.controlIconMedium,
11015
+ borderRadius: 8,
11016
+ border: "2px solid transparent",
11017
+ backgroundClip: "content-box",
11018
+ },
11019
+ "*::-webkit-scrollbar-thumb:hover": {
11020
+ backgroundColor: baseTheme.palette.vars.baseTextMedium,
11021
+ },
11022
+ "*::-webkit-scrollbar-corner": {
11023
+ backgroundColor: baseTheme.palette.background.default,
11024
+ },
11025
+ "::selection": {
11026
+ backgroundColor: baseTheme.palette.vars.controlFocusRingStrong,
11027
+ color: baseTheme.palette.vars.baseTextStrong,
11028
+ },
11029
+ },
11030
+ },
11031
+ };
11032
+ const iocThemeOptions = {
11033
+ shadows: iocShadows,
11034
+ components: Object.assign(Object.assign(Object.assign(Object.assign({}, buttonComponent(baseTheme)), inputComponents(baseTheme)), snackbarComponent(baseTheme)), iocCssBaselineComponent),
11035
+ };
11036
+ const iocTheme = createTheme(baseTheme, iocThemeOptions);
11037
+ iocTheme.palette.vars = iocVars;
11038
+
10526
11039
  const lightVars = {
10527
11040
  brandOrange: lightOrangePalette[500],
10528
11041
  brandOrangeDark: lightOrangePalette[900],
@@ -10902,6 +11415,7 @@ var ThemeMode;
10902
11415
  (function (ThemeMode) {
10903
11416
  ThemeMode["Light"] = "light";
10904
11417
  ThemeMode["Dark"] = "dark";
11418
+ ThemeMode["IoC"] = "ioc";
10905
11419
  })(ThemeMode || (ThemeMode = {}));
10906
11420
  const ThemeModeContext = React__default.createContext(null);
10907
11421
  function useThemeMode() {
@@ -10911,17 +11425,23 @@ function useThemeMode() {
10911
11425
  }
10912
11426
  return ctx;
10913
11427
  }
11428
+ function resolveBuiltInTheme(mode) {
11429
+ if (mode === ThemeMode.IoC) {
11430
+ return iocTheme;
11431
+ }
11432
+ return mode === ThemeMode.Dark ? darkTheme : lightTheme;
11433
+ }
10914
11434
  const ThemeProvider = ({ children, defaultMode, customTheme, }) => {
10915
11435
  const [mode, setMode] = React__default.useState(defaultMode !== null && defaultMode !== void 0 ? defaultMode : ThemeMode.Light);
10916
- const toggleTheme = React__default.useCallback(() => {
10917
- setMode((prev) => prev === ThemeMode.Dark ? ThemeMode.Light : ThemeMode.Dark);
11436
+ const setTheme = React__default.useCallback((theme) => {
11437
+ setMode(theme);
10918
11438
  }, []);
10919
- const resolvedTheme = customTheme !== null && customTheme !== void 0 ? customTheme : (mode === ThemeMode.Dark ? darkTheme : lightTheme);
11439
+ const resolvedTheme = customTheme !== null && customTheme !== void 0 ? customTheme : resolveBuiltInTheme(mode);
10920
11440
  const themeModeValue = React__default.useMemo(() => ({
10921
11441
  mode,
10922
11442
  setMode,
10923
- toggleTheme,
10924
- }), [mode, toggleTheme]);
11443
+ setTheme,
11444
+ }), [mode, setTheme]);
10925
11445
  return (jsx(ThemeModeContext.Provider, { value: themeModeValue, children: jsxs(ThemeProvider$1, { theme: resolvedTheme, children: [jsx(CssBaseline, {}), children] }) }));
10926
11446
  };
10927
11447
 
@@ -15930,5 +16450,5 @@ const gradientsPalette = {
15930
16450
  },
15931
16451
  };
15932
16452
 
15933
- export { Accordion, StyledAccordionSummary as AccordionSummary, ActionsDialog, ActivityTimeline, ActivityTimelineStepStatus, AddDomain, AddRepos, AnchorLinkMenu, AttackPathAnalysis, AttackPathAnalysisWalkThrough, Avatar, AvatarGroup, Backdrop, Badge, Banner, BarChart, BarGraph, BasePage, Breadcrumbs, Button, Card, CardActionArea, CardActions, CardContent, CardDescription, CardHeader, CardSubheader, Celebration, ChartType, ChartTypeComponents, ChartWidget, Checkbox, CiCd, Cloud, CloudSimple, CodeBlock, CopyButton, CreateTableInstance, Dashboard, Data, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogActions, DialogContent, DialogContentText, DialogSubtitle, DialogTitle, Divider, DonutChart, EMPTY_FUNCTION, EmptyData, EmptyState, FiltersBar, FiltersDrawer, FloatingButton, Footer, GaugeChart, GeneralSize, Git, GitSimple, GlobalSearchInput, Header, HorizontalBarChart, Icon, IconPosition, index as Icons, IndicatorBadge, Info, InputField, KeyValuePairs, Kubernetes, LabelAndChildrenTooltipContent, Layout, LineChart, Link, LinkColorEnum, LinkType, List, ListItem, ListItemButton, ListItemIcon, ListItemText, ListSubheader, LoadingErrorState, LoadingStates, Menu, MenuItem, StyledMenuSubheader as MenuSubheader, Message, Navigation, NavigationDrawer, NavigationSubNavigation, Negative, NestedMenu, NestedMenuListbox, NoData, OS_LIGHT_COLORS, OverflowTooltip, PageTitle, Pagination, PathDisplay, PickerItem, Popover, Positive, RadioButton, RadioGroup, Recon, RemainingTags, SEVERITY_VALUE, ScrollArea, SearchInput, Select, SelectNode, SelectNodeListItem, Sent, Severity, SeverityBadge, SeverityBadgeLabel, SeverityBar, Shield, SideDrawer, Skeleton, Slider, SpiderChart, Spinner, StaticDatePicker, StaticDateTimePicker, StepperModal, StepperPanel, Success, Tab, Table, Tabs, Tag, TagAvatarSize, TagBackgroundColorVariants, TagStatus, Tags, ThemeMode, ThemeProvider, TimePicker, Toast, Toaster, Toggle, Tooltip, TooltipSize, Upload, ViewSwitcher, Warning, Widget, agentcyBlue, agentcyDarkBlue, agentcyYellow, augmentTreeData, blue100, blue200, blue300, blue400, blue50, blue500, blue600, blue700, blue800, blue900, blueAlpha10, blueAlpha40, blueFocusRingStrong, blueFocusRingWeak, bluePalette, brandColors, capitalize, darkModeCardFloating, darkModeCardLifted, darkModeCardRaised, darkModeCardSubtle, darkModeFooterBottom, darkModeSideDrawerLeft, darkModeSideDrawerRight, darkVars, deepCopyTree, flattenSelectTree, flattenSelectTreeWithSearch, flattenSelectTreeWithoutSearch, formatNodeValue, getAllSelectedLeaves, getAllSelectedParents, getChildrenOfTopLevelNode, getColorBySeverity, getLeafCounts, getTagStyle, gradientStopColors, gradientsPalette, green10, green100, green200, green300, green40, green400, green50, green500, green600, green700, green800, green900, greenPalette, grey0, grey100, grey200, grey300, grey400, grey50, grey500, grey600, grey700, grey800, grey900, greyAlpha10, greyAlpha40, greyPalette, illustrationGradientEnd, illustrationGradientStart, illustrationInfoGradientEnd, illustrationInfoGradientMiddle, illustrationInfoGradientStart, illustrationNegativeGradientStart, illustrationPositiveGradientEnd, illustrationPositiveGradientMiddle, illustrationPositiveGradientStart, illustrationRing, illustrationShell, illustrationStroke, illustrationSurface, illustrationSurfaceSubtle, illustrationWarningGradientEnd, illustrationWarningGradientStart, isLeaf, lavender10, lavender100, lavender200, lavender300, lavender400, lavender50, lavender500, lavender600, lavender700, lavender800, lavender900, lavenderPalette, lightAlphaOrange10, lightAlphaOrange40, lightBlue100, lightBlue200, lightBlue300, lightBlue400, lightBlue50, lightBlue500, lightBlue600, lightBlue700, lightBlue800, lightBlue900, lightBlueAlpha10, lightBlueAlpha40, lightBluePalette, lightModeCardFloating, lightModeCardLifted, lightModeCardRaised, lightModeCardSubtle, lightModeFooterBottom, lightModeSideDrawer, lightModeSideDrawerLeft, lightModeSideDrawerRight, lightOrange100, lightOrange200, lightOrange300, lightOrange400, lightOrange50, lightOrange500, lightOrange600, lightOrange700, lightOrange800, lightOrange900, lightOrangePalette, lightVars, lime10, lime100, lime200, lime300, lime400, lime50, lime500, lime600, lime700, lime800, lime900, limePalette, mergeNodeChildrenValueToText, night10, night100, night200, night300, night400, night50, night500, night600, night700, night800, night900, nightPalette, normalizeSeverity, orange100, orange200, orange300, orange400, orange50, orange500, orange600, orange700, orange800, orange900, orangeAlpha10, orangeAlpha40, orangePalette, outshiftBlue, outshiftLogoDark, outshiftLogoGreen, outshiftLogoLightBlue, outshiftLogoLightOrange, outshiftLogoOrange, outshiftLogoWhite, outshiftMidnightBlue, outshiftOrange, pink10, pink100, pink200, pink300, pink400, pink50, pink500, pink600, pink700, pink800, pink900, pinkPalette, purple100, purple200, purple300, purple400, purple50, purple500, purple600, purple700, purple800, purple900, purpleAlpha10, purpleAlpha40, purplePalette, red100, red200, red300, red400, red50, red500, red600, red700, red800, red900, redAlpha10, redAlpha40, redPalette, selectTagStyle, setSelectedMainSkillCategories, sortBySeverity, sunset10, sunset100, sunset200, sunset300, sunset400, sunset50, sunset500, sunset600, sunset700, sunset800, sunset900, sunsetPalette, surfaceDark100, surfaceDark200, surfaceDark300, surfaceDark400, surfaceDark50, surfaceDark500, surfaceDark600, surfaceDark700, surfaceDark800, surfaceDark800Alpha40, surfaceDark900, surfaceDark900Alpha10, surfaceDark900Alpha40, surfaceDarkPalette, surfaceLight100, surfaceLight200, surfaceLight300, surfaceLight400, surfaceLight50, surfaceLight500, surfaceLight50Alpha40, surfaceLight600, surfaceLight700, surfaceLight800, surfaceLight800Alpha40, surfaceLight900, surfaceLight900Alpha10, surfaceLight900Alpha40, surfaceLightPalette, teal10, teal100, teal200, teal300, teal400, teal50, teal500, teal600, teal700, teal800, teal900, tealPalette, toast, upwardsPush, useNestedMenu, useThemeMode, yellow100, yellow200, yellow300, yellow400, yellow50, yellow500, yellow600, yellow700, yellow800, yellow900, yellowAlpha10, yellowAlpha40, yellowPalette };
16453
+ export { Accordion, StyledAccordionSummary as AccordionSummary, ActionsDialog, ActivityTimeline, ActivityTimelineStepStatus, AddDomain, AddRepos, AnchorLinkMenu, AttackPathAnalysis, AttackPathAnalysisWalkThrough, Avatar, AvatarGroup, Backdrop, Badge, Banner, BarChart, BarGraph, BasePage, Breadcrumbs, Button, Card, CardActionArea, CardActions, CardContent, CardDescription, CardHeader, CardSubheader, Celebration, ChartType, ChartTypeComponents, ChartWidget, Checkbox, CiCd, Cloud, CloudSimple, CodeBlock, CopyButton, CreateTableInstance, Dashboard, Data, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogActions, DialogContent, DialogContentText, DialogSubtitle, DialogTitle, Divider, DonutChart, EMPTY_FUNCTION, EmptyData, EmptyState, FiltersBar, FiltersDrawer, FloatingButton, Footer, GaugeChart, GeneralSize, Git, GitSimple, GlobalSearchInput, Header, HorizontalBarChart, Icon, IconPosition, index as Icons, IndicatorBadge, Info, InputField, KeyValuePairs, Kubernetes, LabelAndChildrenTooltipContent, Layout, LineChart, Link, LinkColorEnum, LinkType, List, ListItem, ListItemButton, ListItemIcon, ListItemText, ListSubheader, LoadingErrorState, LoadingStates, Menu, MenuItem, StyledMenuSubheader as MenuSubheader, Message, Navigation, NavigationDrawer, NavigationSubNavigation, Negative, NestedMenu, NestedMenuListbox, NoData, OS_LIGHT_COLORS, OverflowTooltip, PageTitle, Pagination, PathDisplay, PickerItem, Popover, Positive, RadioButton, RadioGroup, Recon, RemainingTags, SEVERITY_VALUE, ScrollArea, SearchInput, Select, SelectNode, SelectNodeListItem, Sent, Severity, SeverityBadge, SeverityBadgeLabel, SeverityBar, Shield, SideDrawer, Skeleton, Slider, SpiderChart, Spinner, StaticDatePicker, StaticDateTimePicker, StepperModal, StepperPanel, Success, Tab, Table, Tabs, Tag, TagAvatarSize, TagBackgroundColorVariants, TagStatus, Tags, ThemeMode, ThemeProvider, TimePicker, Toast, Toaster, Toggle, Tooltip, TooltipSize, Upload, ViewSwitcher, Warning, Widget, agentcyBlue, agentcyDarkBlue, agentcyYellow, augmentTreeData, blue100, blue200, blue300, blue400, blue50, blue500, blue600, blue700, blue800, blue900, blueAlpha10, blueAlpha40, blueFocusRingStrong, blueFocusRingWeak, bluePalette, brandColors, capitalize, darkModeCardFloating, darkModeCardLifted, darkModeCardRaised, darkModeCardSubtle, darkModeFooterBottom, darkModeSideDrawerLeft, darkModeSideDrawerRight, darkVars, deepCopyTree, flattenSelectTree, flattenSelectTreeWithSearch, flattenSelectTreeWithoutSearch, formatNodeValue, getAllSelectedLeaves, getAllSelectedParents, getChildrenOfTopLevelNode, getColorBySeverity, getLeafCounts, getTagStyle, gradientStopColors, gradientsPalette, green10, green100, green200, green300, green40, green400, green50, green500, green600, green700, green800, green900, greenPalette, grey0, grey100, grey200, grey300, grey400, grey50, grey500, grey600, grey700, grey800, grey900, greyAlpha10, greyAlpha40, greyPalette, illustrationGradientEnd, illustrationGradientStart, illustrationInfoGradientEnd, illustrationInfoGradientMiddle, illustrationInfoGradientStart, illustrationNegativeGradientStart, illustrationPositiveGradientEnd, illustrationPositiveGradientMiddle, illustrationPositiveGradientStart, illustrationRing, illustrationShell, illustrationStroke, illustrationSurface, illustrationSurfaceSubtle, illustrationWarningGradientEnd, illustrationWarningGradientStart, iocVars, isLeaf, lavender10, lavender100, lavender200, lavender300, lavender400, lavender50, lavender500, lavender600, lavender700, lavender800, lavender900, lavenderPalette, lightAlphaOrange10, lightAlphaOrange40, lightBlue100, lightBlue200, lightBlue300, lightBlue400, lightBlue50, lightBlue500, lightBlue600, lightBlue700, lightBlue800, lightBlue900, lightBlueAlpha10, lightBlueAlpha40, lightBluePalette, lightModeCardFloating, lightModeCardLifted, lightModeCardRaised, lightModeCardSubtle, lightModeFooterBottom, lightModeSideDrawer, lightModeSideDrawerLeft, lightModeSideDrawerRight, lightOrange100, lightOrange200, lightOrange300, lightOrange400, lightOrange50, lightOrange500, lightOrange600, lightOrange700, lightOrange800, lightOrange900, lightOrangePalette, lightVars, lime10, lime100, lime200, lime300, lime400, lime50, lime500, lime600, lime700, lime800, lime900, limePalette, mergeNodeChildrenValueToText, night10, night100, night200, night300, night400, night50, night500, night600, night700, night800, night900, nightPalette, normalizeSeverity, orange100, orange200, orange300, orange400, orange50, orange500, orange600, orange700, orange800, orange900, orangeAlpha10, orangeAlpha40, orangePalette, outshiftBlue, outshiftLogoDark, outshiftLogoGreen, outshiftLogoLightBlue, outshiftLogoLightOrange, outshiftLogoOrange, outshiftLogoWhite, outshiftMidnightBlue, outshiftOrange, pink10, pink100, pink200, pink300, pink400, pink50, pink500, pink600, pink700, pink800, pink900, pinkPalette, purple100, purple200, purple300, purple400, purple50, purple500, purple600, purple700, purple800, purple900, purpleAlpha10, purpleAlpha40, purplePalette, red100, red200, red300, red400, red50, red500, red600, red700, red800, red900, redAlpha10, redAlpha40, redPalette, selectTagStyle, setSelectedMainSkillCategories, sortBySeverity, sunset10, sunset100, sunset200, sunset300, sunset400, sunset50, sunset500, sunset600, sunset700, sunset800, sunset900, sunsetPalette, surfaceDark100, surfaceDark200, surfaceDark300, surfaceDark400, surfaceDark50, surfaceDark500, surfaceDark600, surfaceDark700, surfaceDark800, surfaceDark800Alpha40, surfaceDark900, surfaceDark900Alpha10, surfaceDark900Alpha40, surfaceDarkPalette, surfaceLight100, surfaceLight200, surfaceLight300, surfaceLight400, surfaceLight50, surfaceLight500, surfaceLight50Alpha40, surfaceLight600, surfaceLight700, surfaceLight800, surfaceLight800Alpha40, surfaceLight900, surfaceLight900Alpha10, surfaceLight900Alpha40, surfaceLightPalette, teal10, teal100, teal200, teal300, teal400, teal50, teal500, teal600, teal700, teal800, teal900, tealPalette, toast, upwardsPush, useNestedMenu, useThemeMode, yellow100, yellow200, yellow300, yellow400, yellow50, yellow500, yellow600, yellow700, yellow800, yellow900, yellowAlpha10, yellowAlpha40, yellowPalette };
15934
16454
  //# sourceMappingURL=index.esm.js.map