@open-ui-kit/core 2.0.4 → 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/README.md +30 -9
- package/index.cjs.js +528 -7
- package/index.cjs.js.map +1 -1
- package/index.d.ts +6 -3
- package/index.esm.js +528 -8
- package/index.esm.js.map +1 -1
- package/index.umd.js +528 -7
- package/index.umd.js.map +1 -1
- package/package.json +1 -1
package/index.umd.js
CHANGED
|
@@ -10430,7 +10430,7 @@
|
|
|
10430
10430
|
darkModeFooterBottom,
|
|
10431
10431
|
...Array(17).fill("none"),
|
|
10432
10432
|
];
|
|
10433
|
-
const palette$
|
|
10433
|
+
const palette$2 = {
|
|
10434
10434
|
mode: "dark",
|
|
10435
10435
|
primary: bluePalette,
|
|
10436
10436
|
secondary: Object.assign(Object.assign({}, surfaceDarkPalette), { main: surfaceDarkPalette[500] }),
|
|
@@ -10460,7 +10460,7 @@
|
|
|
10460
10460
|
};
|
|
10461
10461
|
const theme$1 = material.createTheme({
|
|
10462
10462
|
breakpoints,
|
|
10463
|
-
palette: palette$
|
|
10463
|
+
palette: palette$2,
|
|
10464
10464
|
typography,
|
|
10465
10465
|
mixins: commonMixins,
|
|
10466
10466
|
});
|
|
@@ -10497,6 +10497,519 @@
|
|
|
10497
10497
|
};
|
|
10498
10498
|
const darkTheme = material.createTheme(theme$1, darkThemeOptions);
|
|
10499
10499
|
|
|
10500
|
+
const iocSurface50 = "rgba(255, 255, 255, 0.02)";
|
|
10501
|
+
const iocSurface100 = "rgba(255, 255, 255, 0.035)";
|
|
10502
|
+
const iocSurface200 = "rgba(255, 255, 255, 0.06)";
|
|
10503
|
+
const iocSurface300 = "rgba(255, 255, 255, 0.09)";
|
|
10504
|
+
const iocSurface400 = "rgba(255, 255, 255, 0.12)";
|
|
10505
|
+
const iocSurface500 = "rgba(255, 255, 255, 0.16)";
|
|
10506
|
+
const iocSurfacePalette = {
|
|
10507
|
+
50: iocSurface50,
|
|
10508
|
+
100: iocSurface100,
|
|
10509
|
+
200: iocSurface200,
|
|
10510
|
+
300: iocSurface300,
|
|
10511
|
+
400: iocSurface400,
|
|
10512
|
+
500: iocSurface500,
|
|
10513
|
+
};
|
|
10514
|
+
const iocBackdrop900 = "#020508";
|
|
10515
|
+
const iocBackdrop800 = "#03080F";
|
|
10516
|
+
const iocBackdrop700 = "#050C18";
|
|
10517
|
+
const iocBackdrop600 = "#07111F";
|
|
10518
|
+
const iocBackdrop500 = "#091428";
|
|
10519
|
+
const iocBackdropPalette = {
|
|
10520
|
+
900: iocBackdrop900,
|
|
10521
|
+
800: iocBackdrop800,
|
|
10522
|
+
700: iocBackdrop700,
|
|
10523
|
+
600: iocBackdrop600,
|
|
10524
|
+
500: iocBackdrop500};
|
|
10525
|
+
const iocTeal50 = "#E6F9FE";
|
|
10526
|
+
const iocTeal100 = "#B3EEFB";
|
|
10527
|
+
const iocTeal200 = "#7DE0F8";
|
|
10528
|
+
const iocTeal300 = "#40D0F4";
|
|
10529
|
+
const iocTeal400 = "#1AC6F0";
|
|
10530
|
+
const iocTeal500 = "#00BCEB";
|
|
10531
|
+
const iocTeal600 = "#00A0D1";
|
|
10532
|
+
const iocTeal700 = "#0082AD";
|
|
10533
|
+
const iocTeal800 = "#006B8A";
|
|
10534
|
+
const iocTeal900 = "#003D54";
|
|
10535
|
+
const iocTealAlpha40 = "rgba(0, 188, 235, 0.40)";
|
|
10536
|
+
const iocTealAlpha20 = "rgba(0, 188, 235, 0.20)";
|
|
10537
|
+
const iocTealAlpha10 = "rgba(0, 188, 235, 0.10)";
|
|
10538
|
+
const iocTealAlpha05 = "rgba(0, 188, 235, 0.05)";
|
|
10539
|
+
const iocTealPalette = {
|
|
10540
|
+
50: iocTeal50,
|
|
10541
|
+
100: iocTeal100,
|
|
10542
|
+
200: iocTeal200,
|
|
10543
|
+
300: iocTeal300,
|
|
10544
|
+
400: iocTeal400,
|
|
10545
|
+
500: iocTeal500,
|
|
10546
|
+
600: iocTeal600,
|
|
10547
|
+
700: iocTeal700,
|
|
10548
|
+
800: iocTeal800,
|
|
10549
|
+
900: iocTeal900,
|
|
10550
|
+
alpha40: iocTealAlpha40,
|
|
10551
|
+
alpha20: iocTealAlpha20,
|
|
10552
|
+
alpha10: iocTealAlpha10,
|
|
10553
|
+
alpha05: iocTealAlpha05,
|
|
10554
|
+
};
|
|
10555
|
+
const iocBlue500 = "#2B82F6";
|
|
10556
|
+
const iocBlue400 = "#3B92FF";
|
|
10557
|
+
const iocBlue600 = "#1E6FD9";
|
|
10558
|
+
const iocBluePalette = {
|
|
10559
|
+
400: iocBlue400,
|
|
10560
|
+
500: iocBlue500,
|
|
10561
|
+
600: iocBlue600,
|
|
10562
|
+
};
|
|
10563
|
+
const iocBorder100 = "rgba(255, 255, 255, 0.05)";
|
|
10564
|
+
const iocBorder200 = "rgba(255, 255, 255, 0.07)";
|
|
10565
|
+
const iocBorder300 = "rgba(255, 255, 255, 0.09)";
|
|
10566
|
+
const iocBorder500 = "rgba(255, 255, 255, 0.18)";
|
|
10567
|
+
const iocBorderPalette = {
|
|
10568
|
+
100: iocBorder100,
|
|
10569
|
+
200: iocBorder200,
|
|
10570
|
+
300: iocBorder300,
|
|
10571
|
+
500: iocBorder500,
|
|
10572
|
+
};
|
|
10573
|
+
const iocTextPrimary = "rgba(255, 255, 255, 0.94)";
|
|
10574
|
+
const iocTextSecondary = "rgba(255, 255, 255, 0.55)";
|
|
10575
|
+
const iocTextTertiary = "rgba(255, 255, 255, 0.32)";
|
|
10576
|
+
const iocTextDisabled = "rgba(255, 255, 255, 0.22)";
|
|
10577
|
+
const iocPageBackground = `
|
|
10578
|
+
radial-gradient(ellipse 130% 90% at -15% -5%, rgba(0, 70, 160, 0.50) 0%, rgba(0, 40, 100, 0.15) 45%, transparent 65%),
|
|
10579
|
+
radial-gradient(ellipse 80% 60% at 60% 110%, rgba(0, 30, 80, 0.30) 0%, transparent 60%),
|
|
10580
|
+
linear-gradient(160deg, #07111F 0%, #050C18 40%, #030810 100%)
|
|
10581
|
+
`;
|
|
10582
|
+
const iocShadowSm = "0 2px 8px rgba(0, 0, 0, 0.30)";
|
|
10583
|
+
const iocShadowMd = "0 4px 16px rgba(0, 0, 0, 0.40)";
|
|
10584
|
+
const iocShadowLg = "0 8px 32px rgba(0, 0, 0, 0.50)";
|
|
10585
|
+
`linear-gradient(180deg, ${iocTealPalette[400]} 0%, ${iocTealPalette[600]} 100%)`;
|
|
10586
|
+
`linear-gradient(180deg, ${iocBluePalette[500]} 0%, ${iocBluePalette[600]} 100%)`;
|
|
10587
|
+
`linear-gradient(180deg, ${redPalette[400]} 0%, ${redPalette[500]} 100%)`;
|
|
10588
|
+
`linear-gradient(135deg, ${iocTealPalette[400]} 0%, ${iocBluePalette[500]} 100%)`;
|
|
10589
|
+
`0 0 6px ${iocTealPalette[500]}CC, 0 0 16px ${iocTealPalette[500]}77, 0 0 28px ${iocTealPalette[500]}33`;
|
|
10590
|
+
`0 0 6px ${iocBluePalette[500]}CC, 0 0 16px ${iocBluePalette[500]}77, 0 0 28px ${iocBluePalette[500]}33`;
|
|
10591
|
+
`0 0 6px ${greenPalette[500]}CC, 0 0 16px ${greenPalette[500]}77, 0 0 28px ${greenPalette[500]}33`;
|
|
10592
|
+
`0 0 6px ${lightOrangePalette[500]}CC, 0 0 16px ${lightOrangePalette[500]}77, 0 0 28px ${lightOrangePalette[500]}33`;
|
|
10593
|
+
`0 0 6px ${redPalette[500]}CC, 0 0 16px ${redPalette[500]}77, 0 0 28px ${redPalette[500]}33`;
|
|
10594
|
+
`0 0 6px ${orangePalette[500]}CC, 0 0 16px ${orangePalette[500]}77, 0 0 28px ${orangePalette[500]}33`;
|
|
10595
|
+
`0 0 6px ${lightBluePalette[500]}CC, 0 0 16px ${lightBluePalette[500]}77, 0 0 28px ${lightBluePalette[500]}33`;
|
|
10596
|
+
`0 0 6px ${iocTealPalette[600]}99, 0 0 14px ${iocTealPalette[600]}44`;
|
|
10597
|
+
|
|
10598
|
+
const iocVars = {
|
|
10599
|
+
brandOrange: lightOrangePalette[500],
|
|
10600
|
+
brandOrangeDark: lightOrangePalette[900],
|
|
10601
|
+
brandBlue: iocTealPalette[500],
|
|
10602
|
+
brandMidnightBlue: iocBackdropPalette[500],
|
|
10603
|
+
agentcyYellow: lightOrangePalette[500],
|
|
10604
|
+
agentcyBlue: iocTealPalette[500],
|
|
10605
|
+
agentcyDarkBlue: iocBackdropPalette[900],
|
|
10606
|
+
baseTextDark: iocBackdropPalette[900],
|
|
10607
|
+
baseTextStrong: iocTextPrimary,
|
|
10608
|
+
baseTextDefault: iocTextSecondary,
|
|
10609
|
+
baseTextMedium: iocTextTertiary,
|
|
10610
|
+
baseTextWeak: iocTextDisabled,
|
|
10611
|
+
baseTextInverse: iocBackdropPalette[900],
|
|
10612
|
+
baseTextDisabled: iocTextDisabled,
|
|
10613
|
+
baseBackgroundStrong: iocBackdropPalette[600],
|
|
10614
|
+
baseBackgroundMedium: iocSurfacePalette[200],
|
|
10615
|
+
baseBackgroundWeak: iocSurfacePalette[100],
|
|
10616
|
+
baseBackgroundHover: iocSurfacePalette[300],
|
|
10617
|
+
baseBorderDefault: iocBorderPalette[300],
|
|
10618
|
+
baseBorderStrong: iocBorderPalette[500],
|
|
10619
|
+
baseBorderMedium: iocBorderPalette[200],
|
|
10620
|
+
baseBorderWeak: iocBorderPalette[100],
|
|
10621
|
+
brandIconPrimaryDefault: iocTealPalette[500],
|
|
10622
|
+
brandIconPrimaryWeak: iocTealPalette[200],
|
|
10623
|
+
brandIconPrimaryMedium: iocTealPalette[400],
|
|
10624
|
+
brandIconPrimaryStrong: iocTealPalette[700],
|
|
10625
|
+
brandIconSecondaryDefault: iocBluePalette[500],
|
|
10626
|
+
brandIconSecondaryWeak: iocBluePalette[400],
|
|
10627
|
+
brandIconSecondaryMedium: iocBluePalette[500],
|
|
10628
|
+
brandIconTertiaryDefault: lightOrangePalette[500],
|
|
10629
|
+
brandIconTertiaryWeak: lightOrangePalette[200],
|
|
10630
|
+
brandIconTertiaryMedium: lightOrangePalette[400],
|
|
10631
|
+
brandBackgroundPrimaryDefault: iocTealPalette[500],
|
|
10632
|
+
brandBackgroundPrimaryWeak: iocTealPalette.alpha10,
|
|
10633
|
+
brandBackgroundPrimaryMedium: iocTealPalette.alpha20,
|
|
10634
|
+
brandBackgroundSecondaryDefault: iocBluePalette[500],
|
|
10635
|
+
brandLogoPrimary: iocTealPalette[400],
|
|
10636
|
+
brandLogoSecondary: iocTextPrimary,
|
|
10637
|
+
brandTextPrimary: iocTealPalette[400],
|
|
10638
|
+
brandTextSecondary: iocTextPrimary,
|
|
10639
|
+
brandTextTertiary: lightOrangePalette[500],
|
|
10640
|
+
controlBackgroundDefault: iocSurfacePalette[200],
|
|
10641
|
+
controlBackgroundDisabled: iocSurfacePalette[50],
|
|
10642
|
+
controlBackgroundWeak: iocSurfacePalette[300],
|
|
10643
|
+
controlBackgroundMedium: iocSurfacePalette[500],
|
|
10644
|
+
controlBorderDefault: iocBorderPalette[300],
|
|
10645
|
+
controlBorderStrong: iocBorderPalette[500],
|
|
10646
|
+
controlBorderMedium: iocBorderPalette[200],
|
|
10647
|
+
controlBorderWeak: iocBorderPalette[100],
|
|
10648
|
+
controlBorderHover: iocTealPalette[500],
|
|
10649
|
+
controlBorderActive: iocTealPalette[600],
|
|
10650
|
+
controlBorderNegative: redPalette[500],
|
|
10651
|
+
controlBorderDisabled: iocBorderPalette[100],
|
|
10652
|
+
controlIconDefault: iocTextSecondary,
|
|
10653
|
+
controlIconStrong: iocTextPrimary,
|
|
10654
|
+
controlIconMedium: iocTextTertiary,
|
|
10655
|
+
controlIconWeak: iocTextDisabled,
|
|
10656
|
+
controlIconHover: iocTealPalette[400],
|
|
10657
|
+
controlIconActive: iocTealPalette[500],
|
|
10658
|
+
controlIconDisabled: iocTextDisabled,
|
|
10659
|
+
controlFocusRingWeak: iocTealPalette.alpha10,
|
|
10660
|
+
controlFocusRingStrong: iocTealPalette.alpha20,
|
|
10661
|
+
interactivePrimaryDefaultDefault: iocTealPalette[500],
|
|
10662
|
+
interactivePrimaryDefaultHover: iocTealPalette[400],
|
|
10663
|
+
interactivePrimaryDefaultActive: iocTealPalette[600],
|
|
10664
|
+
interactivePrimaryDefaultDisabled: iocTealPalette.alpha40,
|
|
10665
|
+
interactivePrimaryWeakDefault: iocTealPalette.alpha10,
|
|
10666
|
+
interactivePrimaryWeakHover: iocTealPalette.alpha20,
|
|
10667
|
+
interactivePrimaryWeakActive: iocTealPalette.alpha40,
|
|
10668
|
+
interactivePrimaryWeakDisabled: iocTealPalette.alpha05,
|
|
10669
|
+
interactiveSecondaryDefaultDefault: iocBluePalette[500],
|
|
10670
|
+
interactiveSecondaryDefaultHover: iocBluePalette[400],
|
|
10671
|
+
interactiveSecondaryDefaultActive: iocBluePalette[600],
|
|
10672
|
+
interactiveSecondaryDefaultDisabled: "rgba(43,130,246,0.40)",
|
|
10673
|
+
interactiveSecondaryWeakDefault: iocSurfacePalette[200],
|
|
10674
|
+
interactiveSecondaryWeakHover: iocSurfacePalette[300],
|
|
10675
|
+
interactiveSecondaryWeakActive: iocSurfacePalette[400],
|
|
10676
|
+
interactiveSecondaryWeakDisabled: iocSurfacePalette[100],
|
|
10677
|
+
interactiveInverseBackgroundDefault: "rgba(255,255,255,0.90)",
|
|
10678
|
+
interactiveInverseBackgroundHover: "rgba(255,255,255,0.95)",
|
|
10679
|
+
interactiveInverseBackgroundActive: "rgba(255,255,255,0.85)",
|
|
10680
|
+
interactiveInverseBackgroundDisabled: "rgba(255,255,255,0.40)",
|
|
10681
|
+
interactiveInverseTextDefault: iocBackdropPalette[900],
|
|
10682
|
+
interactiveInverseTextHover: iocBackdropPalette[700],
|
|
10683
|
+
interactiveInverseTextActive: iocBackdropPalette[800],
|
|
10684
|
+
interactiveInverseTextDisabled: "rgba(0,0,0,0.30)",
|
|
10685
|
+
interactiveTextInDefault: iocTextPrimary,
|
|
10686
|
+
interactiveTextInHover: iocTextPrimary,
|
|
10687
|
+
interactiveTextInActive: iocTextPrimary,
|
|
10688
|
+
interactiveTextInDisabled: iocTextDisabled,
|
|
10689
|
+
interactiveTertiaryDefault: lightOrangePalette[500],
|
|
10690
|
+
interactiveTertiaryHover: lightOrangePalette[400],
|
|
10691
|
+
interactiveTertiaryActive: lightOrangePalette[600],
|
|
10692
|
+
interactiveTertiaryDisabled: lightOrangePalette["alpha40"],
|
|
10693
|
+
successBackgroundDefault: greenPalette[500],
|
|
10694
|
+
successBackgroundDisabled: greenPalette[40],
|
|
10695
|
+
successBackgroundHover: greenPalette[400],
|
|
10696
|
+
successBackgroundActive: greenPalette[600],
|
|
10697
|
+
successBackgroundWeak: "rgba(0, 185, 141, 0.10)",
|
|
10698
|
+
successIconActive: greenPalette[600],
|
|
10699
|
+
successIconDisabled: greenPalette[40],
|
|
10700
|
+
successIconHover: greenPalette[400],
|
|
10701
|
+
successIconDefault: greenPalette[500],
|
|
10702
|
+
successTextActive: greenPalette[300],
|
|
10703
|
+
successTextHover: greenPalette[200],
|
|
10704
|
+
successTextDefault: greenPalette[300],
|
|
10705
|
+
successTextInDisabled: greenPalette[10],
|
|
10706
|
+
successTextInDefault: greyPalette[900],
|
|
10707
|
+
successBorderDisabled: greenPalette[40],
|
|
10708
|
+
successBorderActive: greenPalette[600],
|
|
10709
|
+
successBorderHover: greenPalette[400],
|
|
10710
|
+
successBorderDefault: greenPalette[500],
|
|
10711
|
+
successBorderWeak: "rgba(0, 185, 141, 0.30)",
|
|
10712
|
+
successIconInDisabled: greenPalette[10],
|
|
10713
|
+
successIconInActive: greenPalette[200],
|
|
10714
|
+
successIconInHover: greenPalette[100],
|
|
10715
|
+
successIconInDefault: greenPalette[50],
|
|
10716
|
+
negativeBackgroundHover: redPalette[400],
|
|
10717
|
+
negativeBackgroundActive: redPalette[600],
|
|
10718
|
+
negativeBackgroundDisabled: redPalette["alpha40"],
|
|
10719
|
+
negativeBackgroundDefault: redPalette[500],
|
|
10720
|
+
negativeBackgroundWeak: "rgba(198, 41, 83, 0.10)",
|
|
10721
|
+
negativeTextDefault: redPalette[300],
|
|
10722
|
+
negativeTextHover: redPalette[200],
|
|
10723
|
+
negativeTextActive: redPalette[400],
|
|
10724
|
+
negativeBorderActive: redPalette[600],
|
|
10725
|
+
negativeBorderHover: redPalette[400],
|
|
10726
|
+
negativeBorderDisabled: redPalette["alpha40"],
|
|
10727
|
+
negativeBorderDefault: redPalette[500],
|
|
10728
|
+
negativeBorderWeak: "rgba(198, 41, 83, 0.30)",
|
|
10729
|
+
negativeIconDisabled: redPalette["alpha40"],
|
|
10730
|
+
negativeIconActive: redPalette[600],
|
|
10731
|
+
negativeIconHover: redPalette[400],
|
|
10732
|
+
negativeIconDefault: redPalette[500],
|
|
10733
|
+
negativeTextInDefault: redPalette[50],
|
|
10734
|
+
negativeTextInDisabled: redPalette["alpha10"],
|
|
10735
|
+
negativeIconInDefault: redPalette[50],
|
|
10736
|
+
negativeIconInHover: redPalette[100],
|
|
10737
|
+
negativeIconInActive: redPalette[200],
|
|
10738
|
+
negativeIconInDisabled: redPalette["alpha10"],
|
|
10739
|
+
excellentBackgroundDefault: lightBluePalette[600],
|
|
10740
|
+
excellentBackgroundWeak: "rgba(31, 210, 255, 0.10)",
|
|
10741
|
+
excellentBackgroundDisabled: lightBluePalette["alpha40"],
|
|
10742
|
+
excellentBackgroundHover: lightBluePalette[500],
|
|
10743
|
+
excellentBackgroundActive: lightBluePalette[700],
|
|
10744
|
+
excellentTextDefault: lightBluePalette[200],
|
|
10745
|
+
excellentTextHover: lightBluePalette[100],
|
|
10746
|
+
excellentTextActive: lightBluePalette[300],
|
|
10747
|
+
excellentTextInDefault: greyPalette[900],
|
|
10748
|
+
excellentTextInDisabled: lightBluePalette["alpha10"],
|
|
10749
|
+
excellentBorderDefault: lightBluePalette[600],
|
|
10750
|
+
excellentBorderHover: lightBluePalette[500],
|
|
10751
|
+
excellentBorderActive: lightBluePalette[700],
|
|
10752
|
+
excellentBorderDisabled: lightBluePalette["alpha40"],
|
|
10753
|
+
excellentBorderWeak: "rgba(31, 210, 255, 0.30)",
|
|
10754
|
+
excellentIconDefault: lightBluePalette[500],
|
|
10755
|
+
excellentIconHover: lightBluePalette[400],
|
|
10756
|
+
excellentIconActive: lightBluePalette[600],
|
|
10757
|
+
excellentIconDisabled: lightBluePalette["alpha40"],
|
|
10758
|
+
excellentIconInDefault: lightBluePalette[50],
|
|
10759
|
+
excellentIconInHover: lightBluePalette[100],
|
|
10760
|
+
excellentIconInActive: lightBluePalette[200],
|
|
10761
|
+
excellentIconInDisabled: lightBluePalette["alpha10"],
|
|
10762
|
+
neutralBackgroundDefault: iocTealPalette[600],
|
|
10763
|
+
neutralBackgroundWeak: iocTealPalette.alpha10,
|
|
10764
|
+
neutralBackgroundDisabled: iocTealPalette.alpha40,
|
|
10765
|
+
neutralBackgroundHover: iocTealPalette[500],
|
|
10766
|
+
neutralBackgroundActive: iocTealPalette[700],
|
|
10767
|
+
neutralTextDefault: iocTealPalette[200],
|
|
10768
|
+
neutralTextHover: iocTealPalette[100],
|
|
10769
|
+
neutralTextActive: iocTealPalette[300],
|
|
10770
|
+
neutralTextInDefault: greyPalette[900],
|
|
10771
|
+
neutralTextInDisabled: iocTealPalette.alpha10,
|
|
10772
|
+
neutralBorderDefault: iocTealPalette[600],
|
|
10773
|
+
neutralBorderHover: iocTealPalette[500],
|
|
10774
|
+
neutralBorderActive: iocTealPalette[700],
|
|
10775
|
+
neutralBorderDisabled: iocTealPalette.alpha40,
|
|
10776
|
+
neutralBorderWeak: iocTealPalette.alpha20,
|
|
10777
|
+
neutralIconDefault: iocTealPalette[500],
|
|
10778
|
+
neutralIconHover: iocTealPalette[400],
|
|
10779
|
+
neutralIconActive: iocTealPalette[600],
|
|
10780
|
+
neutralIconDisabled: iocTealPalette.alpha40,
|
|
10781
|
+
neutralIconInDefault: iocTealPalette[50],
|
|
10782
|
+
neutralIconInHover: iocTealPalette[100],
|
|
10783
|
+
neutralIconInActive: iocTealPalette[200],
|
|
10784
|
+
neutralIconInDisabled: iocTealPalette.alpha10,
|
|
10785
|
+
infoBackgroundDefault: iocBluePalette[600],
|
|
10786
|
+
infoBackgroundWeak: "rgba(43,130,246,0.10)",
|
|
10787
|
+
infoBackgroundDisabled: "rgba(43,130,246,0.40)",
|
|
10788
|
+
infoBackgroundHover: iocBluePalette[500],
|
|
10789
|
+
infoBackgroundActive: iocBluePalette[600],
|
|
10790
|
+
infoTextDefault: "#93C5FD",
|
|
10791
|
+
infoTextHover: "#BFDBFE",
|
|
10792
|
+
infoTextActive: "#60A5FA",
|
|
10793
|
+
infoTextInDefault: greyPalette[900],
|
|
10794
|
+
infoTextInDisabled: "rgba(43,130,246,0.10)",
|
|
10795
|
+
infoBorderDefault: iocBluePalette[600],
|
|
10796
|
+
infoBorderHover: iocBluePalette[500],
|
|
10797
|
+
infoBorderActive: iocBluePalette[600],
|
|
10798
|
+
infoBorderDisabled: "rgba(43,130,246,0.40)",
|
|
10799
|
+
infoBorderWeak: "rgba(43,130,246,0.20)",
|
|
10800
|
+
infoIconDefault: iocBluePalette[500],
|
|
10801
|
+
infoIconHover: iocBluePalette[400],
|
|
10802
|
+
infoIconActive: iocBluePalette[600],
|
|
10803
|
+
infoIconDisabled: "rgba(43,130,246,0.40)",
|
|
10804
|
+
infoIconInDefault: "#EFF6FF",
|
|
10805
|
+
infoIconInHover: "#BFDBFE",
|
|
10806
|
+
infoIconInActive: "#93C5FD",
|
|
10807
|
+
infoIconInDisabled: "rgba(43,130,246,0.10)",
|
|
10808
|
+
inactiveBackgroundDefault: greyPalette[600],
|
|
10809
|
+
inactiveBackgroundWeak: "rgba(60, 69, 81, 0.10)",
|
|
10810
|
+
inactiveBackgroundDisabled: greyPalette["alpha40"],
|
|
10811
|
+
inactiveBackgroundHover: greyPalette[500],
|
|
10812
|
+
inactiveBackgroundActive: greyPalette[700],
|
|
10813
|
+
inactiveTextDefault: greyPalette[200],
|
|
10814
|
+
inactiveTextHover: greyPalette[100],
|
|
10815
|
+
inactiveTextActive: greyPalette[300],
|
|
10816
|
+
inactiveTextInDefault: greyPalette[50],
|
|
10817
|
+
inactiveTextInDisabled: greyPalette["alpha40"],
|
|
10818
|
+
inactiveBorderDefault: greyPalette[600],
|
|
10819
|
+
inactiveBorderHover: greyPalette[500],
|
|
10820
|
+
inactiveBorderActive: greyPalette[700],
|
|
10821
|
+
inactiveBorderDisabled: greyPalette["alpha40"],
|
|
10822
|
+
inactiveBorderWeak: "rgba(60, 69, 81, 0.30)",
|
|
10823
|
+
inactiveIconDefault: greyPalette[400],
|
|
10824
|
+
inactiveIconHover: greyPalette[300],
|
|
10825
|
+
inactiveIconActive: greyPalette[500],
|
|
10826
|
+
inactiveIconDisabled: greyPalette["alpha40"],
|
|
10827
|
+
inactiveIconInDefault: greyPalette[0],
|
|
10828
|
+
inactiveIconInHover: greyPalette[50],
|
|
10829
|
+
inactiveIconInActive: greyPalette[100],
|
|
10830
|
+
inactiveIconInDisabled: greyPalette["alpha10"],
|
|
10831
|
+
warningBackgroundDefault: lightOrangePalette[500],
|
|
10832
|
+
warningBackgroundWeak: "rgba(251, 175, 69, 0.10)",
|
|
10833
|
+
warningBackgroundHover: lightOrangePalette[400],
|
|
10834
|
+
warningBackgroundActive: lightOrangePalette[600],
|
|
10835
|
+
warningBackgroundDisabled: lightOrangePalette["alpha40"],
|
|
10836
|
+
warningTextDefault: lightOrangePalette[200],
|
|
10837
|
+
warningTextHover: lightOrangePalette[100],
|
|
10838
|
+
warningTextActive: lightOrangePalette[300],
|
|
10839
|
+
warningTextInDefault: greyPalette[900],
|
|
10840
|
+
warningTextInDisabled: lightOrangePalette["alpha10"],
|
|
10841
|
+
warningBorderDefault: lightOrangePalette[500],
|
|
10842
|
+
warningBorderHover: lightOrangePalette[400],
|
|
10843
|
+
warningBorderActive: lightOrangePalette[600],
|
|
10844
|
+
warningBorderDisabled: lightOrangePalette["alpha40"],
|
|
10845
|
+
warningBorderWeak: "rgba(251, 175, 69, 0.30)",
|
|
10846
|
+
warningIconDefault: lightOrangePalette[500],
|
|
10847
|
+
warningIconHover: lightOrangePalette[400],
|
|
10848
|
+
warningIconActive: lightOrangePalette[600],
|
|
10849
|
+
warningIconDisabled: lightOrangePalette["alpha40"],
|
|
10850
|
+
warningIconInDefault: lightOrangePalette[50],
|
|
10851
|
+
warningIconInHover: lightOrangePalette[100],
|
|
10852
|
+
warningIconInActive: lightOrangePalette[200],
|
|
10853
|
+
warningIconInDisabled: lightOrangePalette["alpha10"],
|
|
10854
|
+
severeWarningBackgroundDefault: orangePalette[500],
|
|
10855
|
+
severeWarningBackgroundWeak: "rgba(242, 100, 61, 0.10)",
|
|
10856
|
+
severeWarningBackgroundHover: orangePalette[400],
|
|
10857
|
+
severeWarningBackgroundActive: orangePalette[600],
|
|
10858
|
+
severeWarningBackgroundDisabled: orangePalette["alpha40"],
|
|
10859
|
+
severeWarningTextDefault: orangePalette[200],
|
|
10860
|
+
severeWarningTextHover: orangePalette[100],
|
|
10861
|
+
severeWarningTextActive: orangePalette[300],
|
|
10862
|
+
severeWarningTextInDefault: greyPalette[900],
|
|
10863
|
+
severeWarningTextInDisabled: orangePalette["alpha10"],
|
|
10864
|
+
severeWarningBorderDefault: orangePalette[500],
|
|
10865
|
+
severeWarningBorderHover: orangePalette[400],
|
|
10866
|
+
severeWarningBorderActive: orangePalette[600],
|
|
10867
|
+
severeWarningBorderDisabled: orangePalette["alpha40"],
|
|
10868
|
+
severeWarningBorderWeak: "rgba(242, 100, 61, 0.30)",
|
|
10869
|
+
severeWarningIconDefault: orangePalette[500],
|
|
10870
|
+
severeWarningIconHover: orangePalette[400],
|
|
10871
|
+
severeWarningIconActive: orangePalette[600],
|
|
10872
|
+
severeWarningIconDisabled: orangePalette["alpha40"],
|
|
10873
|
+
severeWarningIconInDefault: orangePalette[50],
|
|
10874
|
+
severeWarningIconInHover: orangePalette[100],
|
|
10875
|
+
severeWarningIconInActive: orangePalette[200],
|
|
10876
|
+
severeWarningIconInDisabled: orangePalette["alpha10"],
|
|
10877
|
+
moderateBackgroundDefault: yellowPalette[500],
|
|
10878
|
+
moderateBackgroundWeak: "rgba(255, 230, 89, 0.10)",
|
|
10879
|
+
moderateBackgroundHover: yellowPalette[400],
|
|
10880
|
+
moderateBackgroundActive: yellowPalette[600],
|
|
10881
|
+
moderateBackgroundDisabled: yellowPalette["alpha40"],
|
|
10882
|
+
moderateTextDefault: yellowPalette[900],
|
|
10883
|
+
moderateTextHover: yellowPalette[800],
|
|
10884
|
+
moderateTextActive: yellowPalette[700],
|
|
10885
|
+
moderateTextInDefault: greyPalette[900],
|
|
10886
|
+
moderateTextInDisabled: yellowPalette["alpha10"],
|
|
10887
|
+
moderateBorderDefault: yellowPalette[500],
|
|
10888
|
+
moderateBorderHover: yellowPalette[400],
|
|
10889
|
+
moderateBorderActive: yellowPalette[600],
|
|
10890
|
+
moderateBorderDisabled: yellowPalette["alpha40"],
|
|
10891
|
+
moderateBorderWeak: "rgba(255, 230, 89, 0.30)",
|
|
10892
|
+
moderateIconDefault: yellowPalette[700],
|
|
10893
|
+
moderateIconHover: yellowPalette[600],
|
|
10894
|
+
moderateIconActive: yellowPalette[800],
|
|
10895
|
+
moderateIconDisabled: yellowPalette["alpha40"],
|
|
10896
|
+
moderateIconInDefault: yellowPalette[900],
|
|
10897
|
+
moderateIconInHover: yellowPalette[800],
|
|
10898
|
+
moderateIconInActive: yellowPalette[700],
|
|
10899
|
+
moderateIconInDisabled: yellowPalette["alpha10"],
|
|
10900
|
+
accentADefault: lavenderPalette[400],
|
|
10901
|
+
accentAWeak: "rgba(140, 149, 255, 0.15)",
|
|
10902
|
+
accentBDefault: sunsetPalette[300],
|
|
10903
|
+
accentBWeak: "rgba(233, 106, 141, 0.15)",
|
|
10904
|
+
accentCDefault: sunsetPalette[100],
|
|
10905
|
+
accentCWeak: "rgba(243, 172, 162, 0.15)",
|
|
10906
|
+
accentDDefault: purplePalette[400],
|
|
10907
|
+
accentDWeak: "rgba(192, 128, 255, 0.15)",
|
|
10908
|
+
accentEDefault: limePalette[400],
|
|
10909
|
+
accentEWeak: "rgba(164, 197, 71, 0.15)",
|
|
10910
|
+
accentFDefault: orangePalette[400],
|
|
10911
|
+
accentFWeak: "rgba(244, 123, 90, 0.15)",
|
|
10912
|
+
accentGDefault: nightPalette[200],
|
|
10913
|
+
accentGWeak: "rgba(70, 170, 206, 0.15)",
|
|
10914
|
+
accentHDefault: iocTealPalette[400],
|
|
10915
|
+
accentHWeak: iocTealPalette.alpha10,
|
|
10916
|
+
accentIDefault: pinkPalette[400],
|
|
10917
|
+
accentIWeak: "rgba(242, 99, 140, 0.15)",
|
|
10918
|
+
accentJDefault: tealPalette[400],
|
|
10919
|
+
accentJWeak: "rgba(62, 203, 209, 0.15)",
|
|
10920
|
+
};
|
|
10921
|
+
|
|
10922
|
+
const iocShadows = [
|
|
10923
|
+
"none",
|
|
10924
|
+
iocShadowSm,
|
|
10925
|
+
iocShadowMd,
|
|
10926
|
+
iocShadowLg,
|
|
10927
|
+
iocShadowLg,
|
|
10928
|
+
iocShadowLg,
|
|
10929
|
+
...Array(19).fill("none"),
|
|
10930
|
+
];
|
|
10931
|
+
const palette$1 = {
|
|
10932
|
+
mode: "dark",
|
|
10933
|
+
primary: Object.assign(Object.assign({}, iocTealPalette), { main: iocTealPalette[500], light: iocTealPalette[300], dark: iocTealPalette[700], contrastText: iocBackdropPalette[900] }),
|
|
10934
|
+
secondary: {
|
|
10935
|
+
main: iocBluePalette[500],
|
|
10936
|
+
light: iocBluePalette[400],
|
|
10937
|
+
dark: iocBluePalette[600],
|
|
10938
|
+
contrastText: "#ffffff",
|
|
10939
|
+
},
|
|
10940
|
+
tertiary: lightOrangePalette,
|
|
10941
|
+
error: redPalette,
|
|
10942
|
+
warning: lightOrangePalette,
|
|
10943
|
+
info: iocBluePalette,
|
|
10944
|
+
success: greenPalette,
|
|
10945
|
+
negative: redPalette,
|
|
10946
|
+
orange: orangePalette,
|
|
10947
|
+
grey: greyPalette,
|
|
10948
|
+
vars: iocVars,
|
|
10949
|
+
text: {
|
|
10950
|
+
primary: iocTextPrimary,
|
|
10951
|
+
secondary: iocTextSecondary,
|
|
10952
|
+
disabled: iocTextDisabled,
|
|
10953
|
+
},
|
|
10954
|
+
background: {
|
|
10955
|
+
paper: iocSurfacePalette[100],
|
|
10956
|
+
default: iocBackdropPalette[600],
|
|
10957
|
+
},
|
|
10958
|
+
action: {
|
|
10959
|
+
hoverOpacity: 0.08,
|
|
10960
|
+
selectedOpacity: 0.14,
|
|
10961
|
+
focusOpacity: 0.1,
|
|
10962
|
+
},
|
|
10963
|
+
};
|
|
10964
|
+
const baseTheme = material.createTheme({
|
|
10965
|
+
breakpoints,
|
|
10966
|
+
palette: palette$1,
|
|
10967
|
+
typography,
|
|
10968
|
+
mixins: commonMixins,
|
|
10969
|
+
});
|
|
10970
|
+
const iocCssBaselineComponent = {
|
|
10971
|
+
MuiCssBaseline: {
|
|
10972
|
+
styleOverrides: {
|
|
10973
|
+
html: {
|
|
10974
|
+
scrollbarWidth: "thin",
|
|
10975
|
+
scrollbarColor: `${baseTheme.palette.vars.baseTextMedium} ${baseTheme.palette.background.default}`,
|
|
10976
|
+
},
|
|
10977
|
+
body: {
|
|
10978
|
+
background: iocPageBackground,
|
|
10979
|
+
backgroundAttachment: "fixed",
|
|
10980
|
+
minHeight: "100vh",
|
|
10981
|
+
},
|
|
10982
|
+
"*::-webkit-scrollbar": { width: "12px", height: "12px" },
|
|
10983
|
+
"*::-webkit-scrollbar-track": {
|
|
10984
|
+
backgroundColor: baseTheme.palette.background.default,
|
|
10985
|
+
borderRadius: 8,
|
|
10986
|
+
},
|
|
10987
|
+
"*::-webkit-scrollbar-thumb": {
|
|
10988
|
+
backgroundColor: baseTheme.palette.vars.controlIconMedium,
|
|
10989
|
+
borderRadius: 8,
|
|
10990
|
+
border: "2px solid transparent",
|
|
10991
|
+
backgroundClip: "content-box",
|
|
10992
|
+
},
|
|
10993
|
+
"*::-webkit-scrollbar-thumb:hover": {
|
|
10994
|
+
backgroundColor: baseTheme.palette.vars.baseTextMedium,
|
|
10995
|
+
},
|
|
10996
|
+
"*::-webkit-scrollbar-corner": {
|
|
10997
|
+
backgroundColor: baseTheme.palette.background.default,
|
|
10998
|
+
},
|
|
10999
|
+
"::selection": {
|
|
11000
|
+
backgroundColor: baseTheme.palette.vars.controlFocusRingStrong,
|
|
11001
|
+
color: baseTheme.palette.vars.baseTextStrong,
|
|
11002
|
+
},
|
|
11003
|
+
},
|
|
11004
|
+
},
|
|
11005
|
+
};
|
|
11006
|
+
const iocThemeOptions = {
|
|
11007
|
+
shadows: iocShadows,
|
|
11008
|
+
components: Object.assign(Object.assign(Object.assign(Object.assign({}, buttonComponent(baseTheme)), inputComponents(baseTheme)), snackbarComponent(baseTheme)), iocCssBaselineComponent),
|
|
11009
|
+
};
|
|
11010
|
+
const iocTheme = material.createTheme(baseTheme, iocThemeOptions);
|
|
11011
|
+
iocTheme.palette.vars = iocVars;
|
|
11012
|
+
|
|
10500
11013
|
const lightVars = {
|
|
10501
11014
|
brandOrange: lightOrangePalette[500],
|
|
10502
11015
|
brandOrangeDark: lightOrangePalette[900],
|
|
@@ -10876,6 +11389,7 @@
|
|
|
10876
11389
|
(function (ThemeMode) {
|
|
10877
11390
|
ThemeMode["Light"] = "light";
|
|
10878
11391
|
ThemeMode["Dark"] = "dark";
|
|
11392
|
+
ThemeMode["IoC"] = "ioc";
|
|
10879
11393
|
})(exports.ThemeMode || (exports.ThemeMode = {}));
|
|
10880
11394
|
const ThemeModeContext = React.createContext(null);
|
|
10881
11395
|
function useThemeMode() {
|
|
@@ -10885,17 +11399,23 @@
|
|
|
10885
11399
|
}
|
|
10886
11400
|
return ctx;
|
|
10887
11401
|
}
|
|
11402
|
+
function resolveBuiltInTheme(mode) {
|
|
11403
|
+
if (mode === exports.ThemeMode.IoC) {
|
|
11404
|
+
return iocTheme;
|
|
11405
|
+
}
|
|
11406
|
+
return mode === exports.ThemeMode.Dark ? darkTheme : lightTheme;
|
|
11407
|
+
}
|
|
10888
11408
|
const ThemeProvider = ({ children, defaultMode, customTheme, }) => {
|
|
10889
11409
|
const [mode, setMode] = React.useState(defaultMode !== null && defaultMode !== void 0 ? defaultMode : exports.ThemeMode.Light);
|
|
10890
|
-
const
|
|
10891
|
-
setMode(
|
|
11410
|
+
const setTheme = React.useCallback((theme) => {
|
|
11411
|
+
setMode(theme);
|
|
10892
11412
|
}, []);
|
|
10893
|
-
const resolvedTheme = customTheme !== null && customTheme !== void 0 ? customTheme : (mode
|
|
11413
|
+
const resolvedTheme = customTheme !== null && customTheme !== void 0 ? customTheme : resolveBuiltInTheme(mode);
|
|
10894
11414
|
const themeModeValue = React.useMemo(() => ({
|
|
10895
11415
|
mode,
|
|
10896
11416
|
setMode,
|
|
10897
|
-
|
|
10898
|
-
}), [mode,
|
|
11417
|
+
setTheme,
|
|
11418
|
+
}), [mode, setTheme]);
|
|
10899
11419
|
return (jsxRuntime.jsx(ThemeModeContext.Provider, { value: themeModeValue, children: jsxRuntime.jsxs(material.ThemeProvider, { theme: resolvedTheme, children: [jsxRuntime.jsx(material.CssBaseline, {}), children] }) }));
|
|
10900
11420
|
};
|
|
10901
11421
|
|
|
@@ -16169,6 +16689,7 @@
|
|
|
16169
16689
|
exports.illustrationSurfaceSubtle = illustrationSurfaceSubtle;
|
|
16170
16690
|
exports.illustrationWarningGradientEnd = illustrationWarningGradientEnd;
|
|
16171
16691
|
exports.illustrationWarningGradientStart = illustrationWarningGradientStart;
|
|
16692
|
+
exports.iocVars = iocVars;
|
|
16172
16693
|
exports.isLeaf = isLeaf;
|
|
16173
16694
|
exports.lavender10 = lavender10;
|
|
16174
16695
|
exports.lavender100 = lavender100;
|