@wso2/oxygen-ui 0.23.1 → 0.24.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/dist/index.js CHANGED
@@ -38,6 +38,59 @@ var __export = (target, all) => {
38
38
  __defProp(target, name, { get: all[name], enumerable: true });
39
39
  };
40
40
 
41
+ // src/utils/omitDerivedThemeValues.ts
42
+ function omitDerivedThemeValues(theme) {
43
+ var _a;
44
+ const values = __spreadValues({}, theme);
45
+ const explicit = (_a = explicitThemeValues.get(theme)) != null ? _a : {};
46
+ DERIVED_THEME_KEYS.forEach((key) => {
47
+ if (key in explicit) {
48
+ values[key] = explicit[key];
49
+ } else {
50
+ delete values[key];
51
+ }
52
+ });
53
+ return values;
54
+ }
55
+ function rememberExplicitThemeValues(theme, options) {
56
+ const explicit = {};
57
+ DERIVED_THEME_KEYS.forEach((key) => {
58
+ if (options[key] !== void 0) {
59
+ explicit[key] = options[key];
60
+ }
61
+ });
62
+ explicitThemeValues.set(theme, explicit);
63
+ }
64
+ var DERIVED_THEME_KEYS, explicitThemeValues;
65
+ var init_omitDerivedThemeValues = __esm({
66
+ "src/utils/omitDerivedThemeValues.ts"() {
67
+ "use strict";
68
+ DERIVED_THEME_KEYS = ["font"];
69
+ explicitThemeValues = /* @__PURE__ */ new WeakMap();
70
+ }
71
+ });
72
+
73
+ // src/utils/createOxygenTheme.ts
74
+ var createOxygenTheme_exports = {};
75
+ __export(createOxygenTheme_exports, {
76
+ createOxygenTheme: () => createOxygenTheme
77
+ });
78
+ import { deepmerge } from "@mui/utils";
79
+ import { extendTheme } from "@mui/material/styles";
80
+ function createOxygenTheme(config, baseTheme = OxygenThemeBase_default) {
81
+ const merged = deepmerge(omitDerivedThemeValues(baseTheme), config != null ? config : {});
82
+ const theme = extendTheme(merged);
83
+ rememberExplicitThemeValues(theme, merged);
84
+ return theme;
85
+ }
86
+ var init_createOxygenTheme = __esm({
87
+ "src/utils/createOxygenTheme.ts"() {
88
+ "use strict";
89
+ init_OxygenThemeBase();
90
+ init_omitDerivedThemeValues();
91
+ }
92
+ });
93
+
41
94
  // src/utils/formatRelativeTime.ts
42
95
  function formatRelativeTime(date) {
43
96
  const now = /* @__PURE__ */ new Date();
@@ -84,7 +137,7 @@ var init_utils = __esm({
84
137
  });
85
138
 
86
139
  // src/styles/OxygenThemeBase.ts
87
- import { extendTheme } from "@mui/material/styles";
140
+ import { extendTheme as extendTheme2 } from "@mui/material/styles";
88
141
  import { ChevronDown, X } from "@wso2/oxygen-ui-icons-react";
89
142
  import React from "react";
90
143
  var OxygenUIPrimitives, OxygenThemeBase, customProperties, OxygenThemeBase_default;
@@ -97,7 +150,7 @@ var init_OxygenThemeBase = __esm({
97
150
  primaryColor: "#ff7300",
98
151
  secondaryColor: "#757575"
99
152
  };
100
- OxygenThemeBase = extendTheme({
153
+ OxygenThemeBase = extendTheme2({
101
154
  cssVarPrefix: "oxygen",
102
155
  colorSchemeSelector: "data-color-scheme",
103
156
  typography: {
@@ -393,59 +446,6 @@ var init_OxygenThemeBase = __esm({
393
446
  }
394
447
  });
395
448
 
396
- // src/utils/omitDerivedThemeValues.ts
397
- function omitDerivedThemeValues(theme) {
398
- var _a;
399
- const values = __spreadValues({}, theme);
400
- const explicit = (_a = explicitThemeValues.get(theme)) != null ? _a : {};
401
- DERIVED_THEME_KEYS.forEach((key) => {
402
- if (key in explicit) {
403
- values[key] = explicit[key];
404
- } else {
405
- delete values[key];
406
- }
407
- });
408
- return values;
409
- }
410
- function rememberExplicitThemeValues(theme, options) {
411
- const explicit = {};
412
- DERIVED_THEME_KEYS.forEach((key) => {
413
- if (options[key] !== void 0) {
414
- explicit[key] = options[key];
415
- }
416
- });
417
- explicitThemeValues.set(theme, explicit);
418
- }
419
- var DERIVED_THEME_KEYS, explicitThemeValues;
420
- var init_omitDerivedThemeValues = __esm({
421
- "src/utils/omitDerivedThemeValues.ts"() {
422
- "use strict";
423
- DERIVED_THEME_KEYS = ["font"];
424
- explicitThemeValues = /* @__PURE__ */ new WeakMap();
425
- }
426
- });
427
-
428
- // src/utils/createOxygenTheme.ts
429
- var createOxygenTheme_exports = {};
430
- __export(createOxygenTheme_exports, {
431
- createOxygenTheme: () => createOxygenTheme
432
- });
433
- import { deepmerge } from "@mui/utils";
434
- import { extendTheme as extendTheme2 } from "@mui/material/styles";
435
- function createOxygenTheme(config, baseTheme = OxygenThemeBase_default) {
436
- const merged = deepmerge(omitDerivedThemeValues(baseTheme), config != null ? config : {});
437
- const theme = extendTheme2(merged);
438
- rememberExplicitThemeValues(theme, merged);
439
- return theme;
440
- }
441
- var init_createOxygenTheme = __esm({
442
- "src/utils/createOxygenTheme.ts"() {
443
- "use strict";
444
- init_OxygenThemeBase();
445
- init_omitDerivedThemeValues();
446
- }
447
- });
448
-
449
449
  // inline-css-fonts:/home/runner/work/oxygen-ui/oxygen-ui/packages/oxygen-ui/src/fonts.css
450
450
  (function() {
451
451
  if (typeof document !== "undefined") {
@@ -609,7 +609,7 @@ var init_createOxygenTheme = __esm({
609
609
  */
610
610
 
611
611
  /*
612
- * Sora, the Choreo Labs brand typeface used by ChoreoLabsTheme. Kept out of fonts.css because the
612
+ * Sora, the brand typeface used by the default theme. Kept out of fonts.css because the
613
613
  * inline-css-fonts plugin resolves font files against the last @import's folder, so a second @import
614
614
  * in one file breaks the first one's fonts.
615
615
  */
@@ -640,7 +640,7 @@ var init_createOxygenTheme = __esm({
640
640
  // package.json
641
641
  var package_default = {
642
642
  name: "@wso2/oxygen-ui",
643
- version: "0.23.1",
643
+ version: "0.24.0",
644
644
  description: "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
645
645
  type: "module",
646
646
  main: "./dist/index.js",
@@ -760,1338 +760,1209 @@ var package_default = {
760
760
  }
761
761
  };
762
762
 
763
- // src/styles/Themes/AcrylicBaseTheme.ts
763
+ // src/styles/Themes/DefaultTheme.ts
764
+ init_OxygenThemeBase();
764
765
  init_createOxygenTheme();
765
- var AcrylicBaseTheme = {
766
- colorSchemes: {
767
- light: {
768
- palette: {
769
- primary: {
770
- main: "#fa7b3f",
771
- contrastText: "#ffffff"
772
- },
773
- // Every token is set: this merges into a built theme, whose derived light, dark and
774
- // channel values for the base grey would otherwise stay. Dark text on the light grey,
775
- // as the secondary button uses (the base theme's white is 1.2:1). `dark` is the hover
776
- // and focus background, kept light enough for that text (6.5:1).
777
- secondary: {
778
- main: "#e8e8e8",
779
- light: "#ededed",
780
- dark: "#d0d0d0",
781
- contrastText: "#40404B",
782
- mainChannel: "232 232 232",
783
- lightChannel: "237 237 237",
784
- darkChannel: "208 208 208",
785
- contrastTextChannel: "64 64 75"
786
- },
787
- background: {
788
- default: "#f5f5f5",
789
- paper: "#ffffffc5",
790
- acrylic: "#ffffff40"
791
- // More transparent version for Paper and Card components
792
- },
793
- text: {
794
- primary: "#40404B",
795
- secondary: "#40404B"
796
- },
797
- divider: "#00000012"
798
- }
799
- },
800
- dark: {
801
- palette: {
802
- primary: {
803
- main: "#F87643",
804
- contrastText: "#ffffff"
805
- },
806
- secondary: {
807
- main: "#3c3c3c"
808
- },
809
- background: {
810
- default: "#000000",
811
- paper: "#000000c5",
812
- acrylic: "#00000040"
813
- // More transparent version for Paper and Card components
814
- },
815
- text: {
816
- primary: "#efefef",
817
- secondary: "#D0D3E2"
818
- },
819
- divider: "#ffffff16"
820
- }
821
- }
766
+ import { extendTheme as extendTheme3 } from "@mui/material/styles";
767
+ var linkColors = ["primary", "secondary", "success", "error", "warning", "info"];
768
+ var tagColors = ["primary", "secondary", "success", "error", "warning", "info"];
769
+ var tagStyle = (backgroundColor, color) => ({
770
+ backgroundColor,
771
+ color,
772
+ "&.MuiChip-clickable:hover, &.MuiChip-clickable.Mui-focusVisible, &.MuiChip-deletable.Mui-focusVisible": {
773
+ backgroundColor,
774
+ opacity: 0.85
822
775
  },
823
- shape: {
824
- borderRadius: 12
776
+ "& .MuiChip-deleteIcon, & .MuiChip-deleteIcon:hover": {
777
+ color
778
+ }
779
+ });
780
+ var BrandColors = {
781
+ signal: "#FF4600",
782
+ flare: "#FF6E33",
783
+ ember: "#8F2400",
784
+ // Signal is below 4.5:1 as text on light surfaces, so orange text there uses Burn.
785
+ burn: "#C43300",
786
+ // The orange for white labels (4.6:1)
787
+ action: "#D83B00",
788
+ midnightInk: "#0B1633",
789
+ deepNavy: "#17223A",
790
+ blackout: "#050A1C",
791
+ midnight900: "#070D22",
792
+ midnightText2: "#AEB6C6",
793
+ midnightText3: "#8A93A6",
794
+ midnightText4: "#5F6B85",
795
+ void: "#07080C",
796
+ cobalt: "#1F4FFF",
797
+ // Focus colour on dark surfaces, where Cobalt is too dark
798
+ azure: "#3D8BFF",
799
+ mist: "#EAF6FF",
800
+ slate: "#5A6072",
801
+ fog: "#D7DBE4",
802
+ paper: "#F4F6FA",
803
+ graphite: "#1E222C",
804
+ white: "#FFFFFF"
805
+ };
806
+ var StatusColors = {
807
+ light: {
808
+ info: { main: BrandColors.midnightInk, contrastText: BrandColors.white },
809
+ success: { main: "#16A34A", dark: "#15803D", contrastText: BrandColors.white },
810
+ warning: { main: "#F5B300", dark: "#8A5A00", contrastText: BrandColors.midnightInk },
811
+ error: { main: "#E5484D", dark: "#B42318", contrastText: BrandColors.white }
825
812
  },
826
- components: {
827
- MuiAvatar: {
828
- styleOverrides: {
829
- root: ({ theme }) => ({
830
- backgroundColor: theme.vars.palette.secondary.main,
831
- color: theme.vars.palette.text.primary
832
- })
833
- }
834
- },
835
- MuiButton: {
836
- styleOverrides: {
837
- root: {
838
- borderRadius: 20,
839
- textTransform: "none",
840
- fontWeight: 400
841
- },
842
- containedPrimary: ({ theme }) => ({
843
- "&:not(:disabled)": {
844
- background: `${theme.gradient.primary} !important`,
845
- color: "#fff !important",
846
- "&:hover": {
847
- background: `${theme.gradient.primary} !important`,
848
- opacity: 0.9,
849
- color: "#fff !important"
850
- }
851
- }
852
- }),
853
- outlinedPrimary: ({ theme }) => ({
854
- borderColor: theme.palette.primary.main,
855
- color: theme.palette.primary.main,
856
- "&:hover": {
857
- borderColor: theme.palette.primary.dark,
858
- backgroundColor: theme.palette.action.hover
859
- }
860
- }),
861
- containedSecondary: ({ theme }) => ({
862
- backgroundColor: theme.vars.palette.secondary.main,
863
- color: theme.vars.palette.text.primary,
864
- "&:hover": {
865
- backgroundColor: theme.vars.palette.secondary.main,
866
- opacity: 0.8
867
- }
868
- }),
869
- outlinedSecondary: ({ theme }) => ({
870
- borderColor: theme.vars.palette.divider,
871
- color: theme.vars.palette.text.primary,
872
- "&:hover": {
873
- borderColor: theme.vars.palette.text.secondary,
874
- backgroundColor: theme.palette.action.hover
875
- }
876
- })
877
- }
878
- },
879
- MuiFab: {
880
- styleOverrides: {
881
- primary: ({ theme }) => ({
882
- background: theme.gradient.primary,
883
- color: "#fff",
884
- "&:hover": {
885
- background: theme.gradient.primary,
886
- opacity: 0.9
887
- }
888
- })
889
- }
890
- },
891
- MuiDialog: {
892
- styleOverrides: {
893
- paper: ({ theme }) => ({
894
- WebkitBackdropFilter: theme.blur.medium,
895
- backdropFilter: theme.blur.medium,
896
- background: theme.vars.palette.background.paper
897
- })
898
- }
899
- },
900
- MuiDrawer: {
901
- styleOverrides: {
902
- paper: ({ theme }) => ({
903
- background: theme.vars.palette.background.paper,
904
- borderRadius: 0
905
- })
906
- }
907
- },
908
- MuiSidebar: {
909
- styleOverrides: {
910
- root: ({ theme }) => ({
911
- backgroundColor: theme.vars.palette.background.acrylic,
912
- WebkitBackdropFilter: theme.blur.light,
913
- backdropFilter: theme.blur.light
914
- })
915
- }
916
- },
917
- MuiAppBar: {
918
- styleOverrides: {
919
- root: ({ theme }) => ({
920
- backgroundColor: `${theme.vars.palette.background.acrylic} !important`,
921
- WebkitBackdropFilter: theme.blur.medium,
922
- backdropFilter: theme.blur.medium,
923
- borderRadius: 0
924
- })
813
+ dark: {
814
+ info: { main: BrandColors.white, contrastText: BrandColors.midnightInk },
815
+ success: { main: "#4ADE80", contrastText: BrandColors.midnightInk },
816
+ warning: { main: "#FCD34D", contrastText: BrandColors.midnightInk },
817
+ error: { main: "#FF7A7F", contrastText: BrandColors.midnightInk }
818
+ }
819
+ };
820
+ var fixedLabelField = ".MuiFormLabel-root + .MuiTextField-root:not(:has(> .MuiInputLabel-root))";
821
+ var fixedLabelInputs = [`${fixedLabelField} > &`, ".MuiFormLabel-root:not(.MuiInputLabel-root) + &"];
822
+ var onFixedLabelInput = (selector) => fixedLabelInputs.map((prefix) => `${prefix}${selector}`).join(", ");
823
+ var notSelect = ":not(.MuiSelect-root):not(.MuiNativeSelect-root)";
824
+ var selectFormControl = ".MuiFormControl-root:has(> .MuiSelect-root, > :not(.MuiInputBase-root) .MuiSelect-root, > .MuiNativeSelect-root, > :not(.MuiInputBase-root) .MuiNativeSelect-root)";
825
+ var fontFamily = "'Sora Variable', sans-serif";
826
+ var breadcrumbText = {
827
+ fontSize: 14,
828
+ fontWeight: 400,
829
+ lineHeight: 1.5,
830
+ letterSpacing: "0.02em",
831
+ wordSpacing: "0.18em"
832
+ };
833
+ var liftingButton = ":not(.MuiButton-text):not(.MuiButtonGroup-grouped):not([aria-pressed])";
834
+ var fieldHeight = { small: 40, medium: 48 };
835
+ var fieldPadding = (height, inner = "0px") => `calc((${height}px - 1.4375em - ${inner}) / 2)`;
836
+ var lightAvatar = ({ theme }) => ({
837
+ backgroundColor: `color-mix(in srgb, ${theme.vars.palette.primary.main} 12%, transparent)`,
838
+ color: theme.vars.palette.primary.main
839
+ });
840
+ var typographyVariants = [
841
+ "h1",
842
+ "h2",
843
+ "h3",
844
+ "h4",
845
+ "h5",
846
+ "h6",
847
+ "subtitle1",
848
+ "subtitle2",
849
+ "body1",
850
+ "body2",
851
+ "button",
852
+ "caption",
853
+ "overline"
854
+ ];
855
+ var DefaultThemeColorSchemes = {
856
+ light: {
857
+ palette: __spreadProps(__spreadValues({
858
+ primary: {
859
+ main: BrandColors.signal,
860
+ dark: BrandColors.burn,
861
+ contrastText: BrandColors.midnightInk
925
862
  },
926
- defaultProps: {
927
- color: "transparent"
863
+ secondary: {
864
+ main: BrandColors.midnightInk,
865
+ contrastText: BrandColors.white
866
+ },
867
+ accent: {
868
+ main: BrandColors.burn,
869
+ light: BrandColors.signal,
870
+ dark: BrandColors.ember,
871
+ contrastText: BrandColors.white
872
+ },
873
+ background: {
874
+ default: BrandColors.paper,
875
+ paper: "#ffffffc5",
876
+ acrylic: BrandColors.white
877
+ },
878
+ text: {
879
+ primary: BrandColors.midnightInk,
880
+ secondary: BrandColors.slate
881
+ },
882
+ divider: BrandColors.fog
883
+ }, StatusColors.light), {
884
+ Avatar: {
885
+ defaultBg: BrandColors.fog
886
+ },
887
+ Button: {
888
+ outlinedColor: BrandColors.burn,
889
+ textHoverColor: BrandColors.ember,
890
+ // Midnight Ink fill: darkens to Void
891
+ containedSecondaryHoverBg: BrandColors.void,
892
+ containedSecondaryHoverColor: BrandColors.white,
893
+ containedSecondaryActiveColor: BrandColors.white,
894
+ disabledBg: BrandColors.fog,
895
+ disabledColor: BrandColors.slate,
896
+ focusRing: BrandColors.cobalt
897
+ },
898
+ Breadcrumbs: {
899
+ linkColor: BrandColors.slate,
900
+ linkHoverColor: BrandColors.burn,
901
+ separatorColor: BrandColors.slate
902
+ },
903
+ // Signal and the status colours are below 4.5:1 as text on light surfaces, so light-mode
904
+ // link text uses their dark shades, the same as the Alert text colours
905
+ Link: {
906
+ hoverColor: BrandColors.burn,
907
+ primaryColor: BrandColors.burn,
908
+ secondaryColor: BrandColors.midnightInk,
909
+ successColor: "#15803D",
910
+ errorColor: "#B42318",
911
+ warningColor: "#8A5A00",
912
+ infoColor: BrandColors.midnightInk
913
+ },
914
+ Alert: {
915
+ infoColor: BrandColors.midnightInk,
916
+ infoIconColor: BrandColors.midnightInk,
917
+ infoStandardBg: BrandColors.mist,
918
+ successColor: "#15803D",
919
+ successStandardBg: "#DCFCE7",
920
+ warningColor: "#8A5A00",
921
+ warningStandardBg: "#FEF6D8",
922
+ warningFilledColor: BrandColors.midnightInk,
923
+ errorColor: "#B42318",
924
+ errorStandardBg: "#FDE7E7"
928
925
  }
929
- },
930
- MuiFormLabel: {
931
- styleOverrides: {
932
- root: ({ theme }) => ({
933
- fontSize: theme.typography.body2.fontSize,
934
- marginBottom: "2px"
935
- })
926
+ })
927
+ },
928
+ dark: {
929
+ palette: __spreadProps(__spreadValues({
930
+ primary: {
931
+ main: BrandColors.signal,
932
+ dark: BrandColors.burn,
933
+ contrastText: BrandColors.midnightInk
934
+ },
935
+ // Midnight Ink disappears on the dark ground, so dark mode inverts the secondary colour
936
+ secondary: {
937
+ main: BrandColors.white,
938
+ contrastText: BrandColors.midnightInk
939
+ },
940
+ accent: {
941
+ main: BrandColors.burn,
942
+ light: BrandColors.signal,
943
+ dark: BrandColors.ember,
944
+ contrastText: BrandColors.white
945
+ },
946
+ background: {
947
+ default: BrandColors.blackout,
948
+ paper: `${BrandColors.deepNavy}c5`,
949
+ acrylic: `${BrandColors.midnightInk}40`
950
+ },
951
+ text: {
952
+ primary: BrandColors.white,
953
+ secondary: "#D0D3E2"
954
+ },
955
+ divider: "#ffffff16"
956
+ }, StatusColors.dark), {
957
+ Avatar: {
958
+ defaultBg: BrandColors.graphite
959
+ },
960
+ Button: {
961
+ outlinedColor: BrandColors.signal,
962
+ textHoverColor: BrandColors.flare,
963
+ // White fill (the guideline's inverse button): the fill stays and the label turns orange
964
+ containedSecondaryHoverBg: BrandColors.white,
965
+ containedSecondaryHoverColor: BrandColors.action,
966
+ containedSecondaryActiveColor: BrandColors.burn,
967
+ disabledBg: BrandColors.midnight900,
968
+ disabledColor: BrandColors.midnightText3,
969
+ focusRing: BrandColors.azure
970
+ },
971
+ Breadcrumbs: {
972
+ linkColor: BrandColors.midnightText2,
973
+ linkHoverColor: BrandColors.signal,
974
+ separatorColor: BrandColors.midnightText4
975
+ },
976
+ Link: {
977
+ hoverColor: BrandColors.signal,
978
+ primaryColor: BrandColors.signal,
979
+ secondaryColor: BrandColors.white,
980
+ successColor: "#4ADE80",
981
+ errorColor: "#FF7A7F",
982
+ warningColor: "#FCD34D",
983
+ infoColor: BrandColors.white
984
+ },
985
+ Alert: {
986
+ infoColor: BrandColors.white,
987
+ infoIconColor: BrandColors.white,
988
+ infoStandardBg: BrandColors.midnightInk,
989
+ // The derived filled colour would be grey
990
+ infoFilledBg: BrandColors.deepNavy,
991
+ infoFilledColor: BrandColors.white,
992
+ // Status text in dark mode is the light shade on Ink; filled alerts keep the base colours
993
+ successColor: "#4ADE80",
994
+ successStandardBg: BrandColors.midnightInk,
995
+ successFilledBg: "#16A34A",
996
+ successFilledColor: BrandColors.white,
997
+ warningColor: "#FCD34D",
998
+ warningStandardBg: BrandColors.midnightInk,
999
+ warningFilledBg: "#F5B300",
1000
+ warningFilledColor: BrandColors.midnightInk,
1001
+ errorColor: "#FF7A7F",
1002
+ errorStandardBg: BrandColors.midnightInk,
1003
+ errorFilledBg: "#E5484D",
1004
+ errorFilledColor: BrandColors.white
936
1005
  }
937
- },
938
- MuiPaper: {
1006
+ })
1007
+ }
1008
+ };
1009
+ var { colorSchemes } = extendTheme3({
1010
+ cssVarPrefix: "oxygen",
1011
+ // Same as OxygenThemeBase, so derived values reference --oxygen-* variables
1012
+ colorSchemes: DefaultThemeColorSchemes
1013
+ });
1014
+ var DefaultThemeConfig = {
1015
+ colorSchemes,
1016
+ typography: typographyVariants.reduce(
1017
+ (typography, variant) => __spreadProps(__spreadValues({}, typography), { [variant]: { fontFamily } }),
1018
+ { fontFamily }
1019
+ ),
1020
+ shape: {
1021
+ borderRadius: 12
1022
+ },
1023
+ gradient: {
1024
+ // Unused by the theme; kept flat for apps that read theme.gradient.primary
1025
+ primary: `linear-gradient(${BrandColors.signal}, ${BrandColors.signal})`
1026
+ },
1027
+ components: {
1028
+ MuiAvatar: {
939
1029
  styleOverrides: {
940
1030
  root: ({ theme }) => ({
941
- borderRadius: theme.shape.borderRadius,
942
- WebkitBackdropFilter: theme.blur.light,
943
- backdropFilter: theme.blur.light,
944
- border: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
945
- // More transparent for direct Paper component usage
946
- backgroundColor: theme.vars.palette.background.acrylic,
947
- boxShadow: theme.shadows[1]
948
- })
949
- }
950
- },
951
- MuiPopover: {
952
- styleOverrides: {
953
- paper: ({ theme }) => ({
954
- backgroundColor: theme.vars.palette.background.paper,
955
- WebkitBackdropFilter: theme.blur.medium,
956
- backdropFilter: theme.blur.medium,
957
- backgroundImage: "none"
1031
+ backgroundColor: theme.vars.palette.Avatar.defaultBg,
1032
+ color: theme.vars.palette.text.primary
958
1033
  })
959
1034
  }
960
1035
  },
961
- MuiAutocomplete: {
1036
+ // Icon and letter avatars in page titles use the light tint; image avatars cover it
1037
+ MuiPageTitle: {
962
1038
  styleOverrides: {
963
- paper: ({ theme }) => ({
964
- backgroundColor: theme.vars.palette.background.paper,
965
- WebkitBackdropFilter: theme.blur.medium,
966
- backdropFilter: theme.blur.medium,
967
- backgroundImage: "none"
968
- })
1039
+ avatar: lightAvatar
969
1040
  }
970
1041
  },
971
- MuiCard: {
1042
+ MuiUserMenu: {
972
1043
  styleOverrides: {
973
- root: ({ theme }) => ({
974
- // More transparent for Card component
975
- backgroundColor: theme.vars.palette.background.acrylic
976
- })
1044
+ avatar: lightAvatar,
1045
+ headerAvatar: lightAvatar
977
1046
  }
978
1047
  },
979
- MuiTextField: {
980
- defaultProps: { size: "small" }
981
- },
982
- MuiOutlinedInput: {
1048
+ MuiButtonBase: {
983
1049
  styleOverrides: {
984
- root: ({ theme }) => ({
985
- fontSize: theme.typography.body2.fontSize,
986
- borderRadius: 8,
987
- backgroundColor: theme.vars.palette.background.acrylic
988
- }),
989
- notchedOutline: ({ theme }) => ({
990
- borderWidth: 1,
991
- borderColor: theme.vars.palette.divider
992
- })
1050
+ root: {
1051
+ "&.Mui-focusVisible": {
1052
+ outline: `2px solid ${BrandColors.cobalt}`,
1053
+ outlineOffset: 2
1054
+ }
1055
+ }
993
1056
  }
994
1057
  },
995
- MuiMenuItem: {
1058
+ MuiButton: {
1059
+ // The guidelines' buttons are flat: no shadow at rest, on hover, when pressed or on focus
1060
+ defaultProps: {
1061
+ disableElevation: true
1062
+ },
996
1063
  styleOverrides: {
997
- root: ({ theme }) => ({
998
- fontSize: theme.typography.body2.fontSize
999
- })
1000
- }
1001
- },
1002
- MuiLink: {
1064
+ // States follow the brand button guidelines. Keyboard focus takes the hover colours (without
1065
+ // the lift), as in the guidelines. Hover rules come before active ones so a pressed button shows
1066
+ // its active colours.
1067
+ root: ({ theme }) => {
1068
+ var _a, _b, _c;
1069
+ return {
1070
+ // Every button is a pill at any height, as in the guidelines (--cl-radius-pill)
1071
+ borderRadius: 999,
1072
+ textTransform: "none",
1073
+ fontWeight: 500,
1074
+ // Colours ease over 250ms; the lift uses the guidelines' ease-out curve
1075
+ transition: [
1076
+ theme.transitions.create(["background-color", "border-color", "color"], {
1077
+ duration: theme.transitions.duration.short
1078
+ }),
1079
+ theme.transitions.create("transform", {
1080
+ duration: theme.transitions.duration.short,
1081
+ easing: "cubic-bezier(0.2, 0.7, 0.2, 1)"
1082
+ })
1083
+ ].join(", "),
1084
+ // A 3px ring set 3px out: Cobalt on light surfaces, Azure on dark. Overrides the thinner
1085
+ // ButtonBase ring that other button-like components keep.
1086
+ "&.Mui-focusVisible": {
1087
+ outline: `3px solid ${(_a = theme.vars.palette.Button) == null ? void 0 : _a.focusRing}`,
1088
+ outlineOffset: 3
1089
+ },
1090
+ // Filled and outlined buttons lift 2px on hover and press in slightly. Text buttons stay put,
1091
+ // and so do buttons used as toggles (in a ButtonGroup or with aria-pressed): the lift would
1092
+ // pull one segment out of line with its neighbours.
1093
+ "@media (hover: hover) and (prefers-reduced-motion: no-preference)": {
1094
+ [`&${liftingButton}:hover`]: {
1095
+ transform: "translateY(-2px)"
1096
+ }
1097
+ },
1098
+ "@media (prefers-reduced-motion: no-preference)": {
1099
+ [`&${liftingButton}:active`]: {
1100
+ transform: "scale(0.98)"
1101
+ }
1102
+ },
1103
+ // Every variant shares one disabled style; text buttons only grey their label
1104
+ "&.Mui-disabled": {
1105
+ color: (_b = theme.vars.palette.Button) == null ? void 0 : _b.disabledColor
1106
+ },
1107
+ "&.Mui-disabled:not(.MuiButton-text)": {
1108
+ backgroundColor: (_c = theme.vars.palette.Button) == null ? void 0 : _c.disabledBg,
1109
+ borderColor: "transparent"
1110
+ }
1111
+ };
1112
+ },
1113
+ sizeSmall: { minHeight: 32 },
1114
+ sizeMedium: { minHeight: 40 },
1115
+ sizeLarge: { minHeight: 48 },
1116
+ // Signal fill with a Midnight Ink label; on hover and press the fill stays and the label turns white
1117
+ containedPrimary: ({ theme }) => ({
1118
+ backgroundColor: theme.vars.palette.primary.main,
1119
+ color: theme.vars.palette.primary.contrastText,
1120
+ "&:hover, &.Mui-focusVisible, &:active": {
1121
+ backgroundColor: theme.vars.palette.primary.main,
1122
+ color: BrandColors.white
1123
+ }
1124
+ }),
1125
+ // Burn outline (Signal in dark mode); fills with Signal on hover and Action with an Ink label when pressed
1126
+ outlinedPrimary: ({ theme }) => {
1127
+ var _a, _b;
1128
+ return {
1129
+ borderColor: (_a = theme.vars.palette.Button) == null ? void 0 : _a.outlinedColor,
1130
+ color: (_b = theme.vars.palette.Button) == null ? void 0 : _b.outlinedColor,
1131
+ "&:hover, &.Mui-focusVisible": {
1132
+ borderColor: theme.vars.palette.primary.main,
1133
+ backgroundColor: theme.vars.palette.primary.main,
1134
+ color: BrandColors.white
1135
+ },
1136
+ "&:active": {
1137
+ borderColor: BrandColors.action,
1138
+ backgroundColor: BrandColors.action,
1139
+ color: BrandColors.midnightInk
1140
+ }
1141
+ };
1142
+ },
1143
+ // The guidelines have no text button, so it follows the link colours: Burn, then Ember on hover
1144
+ // (Signal and Flare in dark mode)
1145
+ textPrimary: ({ theme }) => {
1146
+ var _a, _b;
1147
+ return {
1148
+ color: (_a = theme.vars.palette.Button) == null ? void 0 : _a.outlinedColor,
1149
+ "&:hover, &.Mui-focusVisible": {
1150
+ color: (_b = theme.vars.palette.Button) == null ? void 0 : _b.textHoverColor
1151
+ }
1152
+ };
1153
+ },
1154
+ // Midnight Ink fill that darkens to Void on hover. Dark mode inverts it to a white fill whose
1155
+ // label turns Action on hover and Burn when pressed.
1156
+ containedSecondary: ({ theme }) => {
1157
+ var _a, _b, _c, _d;
1158
+ return {
1159
+ backgroundColor: theme.vars.palette.secondary.main,
1160
+ color: theme.vars.palette.secondary.contrastText,
1161
+ "&:hover, &.Mui-focusVisible": {
1162
+ backgroundColor: (_a = theme.vars.palette.Button) == null ? void 0 : _a.containedSecondaryHoverBg,
1163
+ color: (_b = theme.vars.palette.Button) == null ? void 0 : _b.containedSecondaryHoverColor
1164
+ },
1165
+ "&:active": {
1166
+ backgroundColor: (_c = theme.vars.palette.Button) == null ? void 0 : _c.containedSecondaryHoverBg,
1167
+ color: (_d = theme.vars.palette.Button) == null ? void 0 : _d.containedSecondaryActiveColor
1168
+ }
1169
+ };
1170
+ },
1171
+ // Ink outline (white in dark mode) that fills on hover and press
1172
+ outlinedSecondary: ({ theme }) => ({
1173
+ borderColor: theme.vars.palette.secondary.main,
1174
+ color: theme.vars.palette.secondary.main,
1175
+ "&:hover, &.Mui-focusVisible, &:active": {
1176
+ borderColor: theme.vars.palette.secondary.main,
1177
+ backgroundColor: theme.vars.palette.secondary.main,
1178
+ color: theme.vars.palette.secondary.contrastText
1179
+ }
1180
+ })
1181
+ },
1182
+ variants: [
1183
+ // Outlined accent works like the other outlined buttons: a solid Burn outline that fills with
1184
+ // Burn and a white label on hover and keyboard focus, and darkens to Ember when pressed
1185
+ {
1186
+ props: { variant: "outlined", color: "accent" },
1187
+ style: ({ theme }) => ({
1188
+ borderColor: theme.vars.palette.accent.main,
1189
+ color: theme.vars.palette.accent.main,
1190
+ "&:hover, &.Mui-focusVisible": {
1191
+ borderColor: theme.vars.palette.accent.main,
1192
+ backgroundColor: theme.vars.palette.accent.main,
1193
+ color: theme.vars.palette.accent.contrastText
1194
+ },
1195
+ "&:active": {
1196
+ borderColor: theme.vars.palette.accent.dark,
1197
+ backgroundColor: theme.vars.palette.accent.dark,
1198
+ color: theme.vars.palette.accent.contrastText
1199
+ }
1200
+ })
1201
+ },
1202
+ // The guidelines' action button: white label on Action, darkening to Burn on hover and Ember when pressed
1203
+ {
1204
+ props: { variant: "subtle" },
1205
+ style: {
1206
+ backgroundColor: BrandColors.action,
1207
+ color: BrandColors.white,
1208
+ "&:hover, &.Mui-focusVisible": {
1209
+ backgroundColor: BrandColors.burn
1210
+ },
1211
+ "&:active": {
1212
+ backgroundColor: BrandColors.ember
1213
+ }
1214
+ }
1215
+ }
1216
+ ]
1217
+ },
1218
+ MuiFab: {
1003
1219
  styleOverrides: {
1004
- root: ({ theme }) => ({
1005
- color: theme.palette.primary.main,
1006
- textDecoration: "none",
1220
+ primary: ({ theme }) => ({
1221
+ backgroundColor: theme.vars.palette.primary.main,
1222
+ color: theme.vars.palette.primary.contrastText,
1007
1223
  "&:hover": {
1008
- color: theme.palette.primary.dark,
1009
- textDecoration: "underline"
1224
+ backgroundColor: BrandColors.flare
1225
+ },
1226
+ "&:active": {
1227
+ backgroundColor: BrandColors.ember,
1228
+ color: BrandColors.white
1010
1229
  }
1011
1230
  })
1012
1231
  }
1013
1232
  },
1014
- MuiListItemButton: {
1233
+ MuiDialog: {
1234
+ styleOverrides: {
1235
+ paper: ({ theme }) => ({
1236
+ WebkitBackdropFilter: theme.blur.medium,
1237
+ backdropFilter: theme.blur.medium,
1238
+ background: theme.vars.palette.background.paper
1239
+ })
1240
+ }
1241
+ },
1242
+ MuiDrawer: {
1243
+ styleOverrides: {
1244
+ paper: ({ theme }) => ({
1245
+ background: theme.vars.palette.background.paper
1246
+ })
1247
+ }
1248
+ },
1249
+ MuiSidebar: {
1250
+ styleOverrides: {
1251
+ userAvatar: lightAvatar,
1252
+ root: ({ theme }) => __spreadValues({
1253
+ backgroundColor: theme.vars.palette.background.acrylic,
1254
+ WebkitBackdropFilter: theme.blur.light,
1255
+ backdropFilter: theme.blur.light
1256
+ }, theme.applyStyles("light", {
1257
+ backgroundColor: BrandColors.white
1258
+ }))
1259
+ }
1260
+ },
1261
+ MuiAppBar: {
1262
+ styleOverrides: {
1263
+ root: ({ theme }) => __spreadValues({
1264
+ backgroundColor: `${theme.vars.palette.background.acrylic} !important`,
1265
+ WebkitBackdropFilter: theme.blur.medium,
1266
+ backdropFilter: theme.blur.medium,
1267
+ borderRadius: 0
1268
+ }, theme.applyStyles("light", {
1269
+ backgroundColor: `${BrandColors.white} !important`
1270
+ }))
1271
+ },
1272
+ defaultProps: {
1273
+ color: "transparent"
1274
+ }
1275
+ },
1276
+ MuiFormLabel: {
1015
1277
  styleOverrides: {
1016
1278
  root: ({ theme }) => ({
1017
- borderRadius: 8,
1018
- "&.Mui-selected": {
1019
- // Use CSS variable - automatically adapts to color scheme
1020
- backgroundColor: theme.palette.action.selected,
1021
- "&:hover": {
1022
- backgroundColor: theme.palette.action.hover
1023
- }
1279
+ fontSize: theme.typography.body2.fontSize,
1280
+ marginBottom: "4px",
1281
+ // A select's error shows on its border and helper text, so its floating label keeps its colour.
1282
+ // Set here because InputLabel has no `error` style slot; InputLabel renders a FormLabel.
1283
+ [`${selectFormControl} > &.MuiInputLabel-root.Mui-error`]: {
1284
+ color: theme.vars.palette.text.secondary
1024
1285
  }
1025
1286
  })
1026
1287
  }
1027
1288
  },
1028
- MuiDataGrid: {
1289
+ MuiPaper: {
1029
1290
  styleOverrides: {
1030
1291
  root: ({ theme }) => ({
1031
- border: "none",
1032
- backgroundColor: "transparent",
1033
- overflow: "hidden",
1034
- "& .MuiDataGrid-columnHeaders": {
1035
- backgroundColor: theme.vars.palette.action.hover,
1036
- WebkitBackdropFilter: theme.blur.medium,
1037
- backdropFilter: theme.blur.medium,
1038
- borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1039
- position: "sticky",
1040
- top: 0,
1041
- zIndex: 10
1292
+ borderRadius: theme.shape.borderRadius,
1293
+ WebkitBackdropFilter: theme.blur.light,
1294
+ backdropFilter: theme.blur.light,
1295
+ border: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1296
+ backgroundColor: theme.vars.palette.background.acrylic,
1297
+ // Drop MUI's dark-mode elevation overlay gradient
1298
+ backgroundImage: "none",
1299
+ boxShadow: theme.shadows[1]
1300
+ })
1301
+ }
1302
+ },
1303
+ MuiPopover: {
1304
+ styleOverrides: {
1305
+ paper: ({ theme }) => ({
1306
+ backgroundColor: theme.vars.palette.background.paper,
1307
+ WebkitBackdropFilter: theme.blur.medium,
1308
+ backdropFilter: theme.blur.medium,
1309
+ backgroundImage: "none"
1310
+ })
1311
+ }
1312
+ },
1313
+ MuiAutocomplete: {
1314
+ styleOverrides: {
1315
+ // The Autocomplete input keeps MUI's own vertical padding (7.5px, or 2.5px when small)
1316
+ root: {
1317
+ "& .MuiOutlinedInput-root:not(.MuiInputBase-sizeSmall)": {
1318
+ paddingTop: fieldPadding(fieldHeight.medium, "15px"),
1319
+ paddingBottom: fieldPadding(fieldHeight.medium, "15px")
1042
1320
  },
1043
- "& .MuiDataGrid-virtualScroller": {
1044
- marginTop: "0 !important",
1045
- overflow: "auto"
1321
+ "& .MuiOutlinedInput-root.MuiInputBase-sizeSmall": {
1322
+ paddingTop: fieldPadding(fieldHeight.small, "5px"),
1323
+ paddingBottom: fieldPadding(fieldHeight.small, "5px")
1046
1324
  }
1047
- }),
1048
- columnHeaders: ({ theme }) => ({
1049
- backgroundColor: theme.vars.palette.action.hover,
1325
+ },
1326
+ paper: ({ theme }) => ({
1327
+ backgroundColor: theme.vars.palette.background.paper,
1050
1328
  WebkitBackdropFilter: theme.blur.medium,
1051
1329
  backdropFilter: theme.blur.medium,
1052
- borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`
1053
- }),
1054
- columnHeader: {
1055
- backgroundColor: "transparent"
1330
+ backgroundImage: "none"
1331
+ })
1332
+ }
1333
+ },
1334
+ MuiChip: {
1335
+ variants: [
1336
+ // `tag`: a filled, square-cornered uppercase label. Dark blue unless a colour is set.
1337
+ {
1338
+ props: { variant: "tag" },
1339
+ style: ({ theme }) => __spreadValues({
1340
+ borderRadius: 4,
1341
+ fontWeight: 700,
1342
+ textTransform: "uppercase",
1343
+ letterSpacing: "0.04em"
1344
+ }, tagStyle(theme.vars.palette.secondary.main, theme.vars.palette.secondary.contrastText))
1056
1345
  },
1057
- cell: ({ theme }) => ({
1058
- borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1059
- backgroundColor: "transparent"
1346
+ ...tagColors.map((color) => ({
1347
+ props: { variant: "tag", color },
1348
+ style: ({ theme }) => tagStyle(theme.vars.palette[color].main, theme.vars.palette[color].contrastText)
1349
+ }))
1350
+ ]
1351
+ },
1352
+ MuiCard: {
1353
+ styleOverrides: {
1354
+ root: ({ theme }) => ({
1355
+ backgroundColor: theme.vars.palette.background.acrylic
1060
1356
  })
1061
1357
  }
1062
- }
1063
- }
1064
- };
1065
- var AcrylicBaseTheme_default = createOxygenTheme(AcrylicBaseTheme);
1066
-
1067
- // src/styles/Themes/AcrylicOrangeTheme.ts
1068
- init_createOxygenTheme();
1069
- var AcrylicOrangeTheme = {
1070
- components: {
1071
- MuiCssBaseline: {
1358
+ },
1359
+ MuiTab: {
1072
1360
  styleOverrides: {
1073
- "html[data-color-scheme='dark'] body": {
1074
- backgroundAttachment: "fixed",
1075
- backgroundImage: `
1076
- radial-gradient(circle at 65% 30%, rgb(255 116 0 / 13%) 10%, rgba(0, 0, 0, 0) 60% 40%),
1077
- radial-gradient(circle at 15% 50%, rgb(132 40 0 / 18%) 1%, rgba(0, 0, 0, 0) 40% 70%),
1078
- radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
1079
- `,
1080
- backgroundBlendMode: "screen"
1081
- },
1082
- "html[data-color-scheme='light'] body": {
1083
- backgroundAttachment: "fixed",
1084
- backgroundImage: `
1085
- radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),
1086
- radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),
1087
- radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
1088
- `,
1089
- backgroundBlendMode: "normal"
1090
- }
1361
+ textColorPrimary: ({ theme }) => theme.applyStyles("light", {
1362
+ "&.Mui-selected": {
1363
+ color: theme.vars.palette.primary.dark
1364
+ }
1365
+ })
1091
1366
  }
1092
- }
1093
- }
1094
- };
1095
- var AcrylicOrangeTheme_default = createOxygenTheme(AcrylicOrangeTheme, AcrylicBaseTheme_default);
1096
-
1097
- // src/styles/Themes/AcrylicPurpleTheme.ts
1098
- init_createOxygenTheme();
1099
- var AcrylicPurpleThemeConfig = {
1100
- colorSchemes: {
1101
- light: {
1102
- palette: {
1103
- primary: {
1104
- main: "#646cff",
1105
- mainChannel: "100 108 255",
1106
- light: "#8187ff",
1107
- dark: "#4651cc",
1108
- contrastText: "#ffffff"
1109
- },
1110
- action: {
1111
- selected: "rgba(100, 108, 255, 0.16)",
1112
- selectedOpacity: 0.16
1367
+ },
1368
+ MuiTextField: {
1369
+ defaultProps: { size: "small" }
1370
+ },
1371
+ MuiSelect: {
1372
+ styleOverrides: {
1373
+ select: {
1374
+ "&.MuiOutlinedInput-input": {
1375
+ paddingTop: fieldPadding(fieldHeight.medium),
1376
+ paddingBottom: fieldPadding(fieldHeight.medium)
1377
+ },
1378
+ "&.MuiOutlinedInput-input.MuiInputBase-inputSizeSmall": {
1379
+ paddingTop: fieldPadding(fieldHeight.small),
1380
+ paddingBottom: fieldPadding(fieldHeight.small)
1381
+ }
1113
1382
  }
1114
1383
  }
1115
1384
  },
1116
- dark: {
1117
- palette: {
1118
- primary: {
1119
- main: "#646cff",
1120
- mainChannel: "100 108 255",
1121
- light: "#8187ff",
1122
- dark: "#4651cc",
1123
- contrastText: "#ffffff"
1385
+ MuiInputLabel: {
1386
+ styleOverrides: {
1387
+ root: {
1388
+ // Replaces the base theme's offset for select labels, which was tuned to the old field heights
1389
+ ".MuiFormControl-root:has(.MuiSelect-select) &:not(.MuiInputLabel-shrink)": {
1390
+ top: 0
1391
+ }
1124
1392
  },
1125
- action: {
1126
- selected: "rgba(100, 108, 255, 0.24)",
1127
- selectedOpacity: 0.24
1128
- }
1393
+ outlined: {
1394
+ "&:not(.MuiInputLabel-shrink)": {
1395
+ transform: `translate(14px, ${fieldPadding(fieldHeight.medium)}) scale(1)`
1396
+ },
1397
+ // A label outside a sized FormControl stays medium, so follow the field's size instead
1398
+ "&.MuiInputLabel-sizeSmall:not(.MuiInputLabel-shrink), .MuiFormControl-root:has(.MuiInputBase-sizeSmall) &:not(.MuiInputLabel-shrink)": {
1399
+ transform: `translate(14px, ${fieldPadding(fieldHeight.small)}) scale(1)`
1400
+ }
1401
+ },
1402
+ // The field's border already shows focus, so floating labels on text inputs and selects stay
1403
+ // neutral like fixed labels do.
1404
+ // `focused` rather than `root`: createOxygenTheme deep-merges objects but replaces functions,
1405
+ // so a function `root` would drop the base theme's select label offset.
1406
+ focused: ({ theme }) => ({
1407
+ "&.Mui-focused:not(.Mui-error)": {
1408
+ color: theme.vars.palette.text.secondary
1409
+ }
1410
+ })
1129
1411
  }
1130
- }
1131
- },
1132
- components: {
1133
- MuiButton: {
1412
+ },
1413
+ MuiOutlinedInput: {
1134
1414
  styleOverrides: {
1135
- containedPrimary: () => ({
1136
- "&:not(:disabled)": {
1137
- background: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%) !important",
1138
- color: "#fff !important",
1139
- "&:hover": {
1140
- background: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%) !important",
1141
- opacity: 0.9,
1142
- color: "#fff !important"
1143
- }
1415
+ // Multiline fields pad the root instead
1416
+ input: ({ ownerState }) => {
1417
+ if (ownerState.multiline) {
1418
+ return {};
1419
+ }
1420
+ const padding = fieldPadding(ownerState.size === "small" ? fieldHeight.small : fieldHeight.medium);
1421
+ return { paddingTop: padding, paddingBottom: padding };
1422
+ },
1423
+ multiline: ({ ownerState }) => {
1424
+ const padding = fieldPadding(ownerState.size === "small" ? fieldHeight.small : fieldHeight.medium);
1425
+ return { paddingTop: padding, paddingBottom: padding };
1426
+ },
1427
+ root: ({ theme }) => ({
1428
+ fontSize: theme.typography.pxToRem(14),
1429
+ borderRadius: 8,
1430
+ backgroundColor: theme.vars.palette.background.acrylic,
1431
+ "&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
1432
+ borderColor: BrandColors.cobalt
1433
+ },
1434
+ // Text inputs and fixed-label selects follow the brand's focus style (thin text-colour border,
1435
+ // ring on fixed-label fields), while floating-label selects keep the Cobalt border above.
1436
+ [`&.Mui-focused${notSelect} .MuiOutlinedInput-notchedOutline, ${onFixedLabelInput(".Mui-focused .MuiOutlinedInput-notchedOutline")}`]: {
1437
+ borderWidth: 1.5
1438
+ },
1439
+ [`&.Mui-focused:not(.Mui-error)${notSelect} .MuiOutlinedInput-notchedOutline, ${onFixedLabelInput(".Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline")}`]: {
1440
+ borderColor: theme.vars.palette.text.primary
1441
+ },
1442
+ // A box-shadow ignores the outline's notch and would cut through a floating label.
1443
+ [onFixedLabelInput(".Mui-focused")]: {
1444
+ boxShadow: `0 0 0 3px ${BrandColors.cobalt}40`
1445
+ },
1446
+ [onFixedLabelInput(".Mui-focused.Mui-error")]: {
1447
+ boxShadow: `0 0 0 3px rgba(${theme.vars.palette.error.mainChannel} / 0.25)`
1144
1448
  }
1449
+ }),
1450
+ notchedOutline: ({ theme }) => ({
1451
+ borderWidth: 1,
1452
+ borderColor: theme.vars.palette.divider
1145
1453
  })
1146
1454
  }
1147
1455
  },
1148
- MuiTableRow: {
1456
+ MuiInput: {
1149
1457
  styleOverrides: {
1150
1458
  root: {
1151
- "&.Mui-selected": {
1152
- backgroundColor: "rgba(100, 108, 255, 0.16)",
1153
- "&:hover": {
1154
- backgroundColor: "rgba(100, 108, 255, 0.24)"
1155
- }
1459
+ "&:not(.Mui-error)::after": {
1460
+ borderBottomColor: BrandColors.cobalt
1156
1461
  }
1157
1462
  }
1158
1463
  }
1159
1464
  },
1160
- MuiCssBaseline: {
1465
+ MuiFilledInput: {
1161
1466
  styleOverrides: {
1162
- "html[data-color-scheme='dark'] body": {
1163
- backgroundAttachment: "fixed",
1164
- backgroundImage: `
1165
- radial-gradient(circle at 65% 30%, rgb(85 103 213 / 20%) 10%, rgba(0, 0, 0, 0) 60% 40%),
1166
- radial-gradient(circle at 15% 50%, rgb(113 85 213 / 25%) 1%, rgba(0, 0, 0, 0) 40% 70%),
1167
- radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
1168
- `,
1169
- backgroundBlendMode: "screen"
1170
- },
1171
- "html[data-color-scheme='light'] body": {
1172
- backgroundAttachment: "fixed",
1173
- backgroundImage: `
1174
- radial-gradient(circle at 65% 30%, rgba(100, 108, 255, 0.12) 10%, rgba(255, 255, 255, 0) 40% 40%),
1175
- radial-gradient(circle at 15% 50%, rgba(113, 85, 213, 0.15) 1%, rgba(255, 255, 255, 0) 40% 70%),
1176
- radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
1177
- `,
1178
- backgroundBlendMode: "normal"
1467
+ root: {
1468
+ "&:not(.Mui-error)::after": {
1469
+ borderBottomColor: BrandColors.cobalt
1470
+ }
1179
1471
  }
1180
1472
  }
1181
- }
1182
- }
1183
- };
1184
- var acrylicPurpleGradient = {
1185
- gradient: {
1186
- primary: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%)"
1187
- }
1188
- };
1189
- var AcrylicPurpleTheme = createOxygenTheme(AcrylicPurpleThemeConfig, AcrylicBaseTheme_default);
1190
- Object.assign(AcrylicPurpleTheme, acrylicPurpleGradient);
1191
- if (AcrylicPurpleTheme.vars) {
1192
- Object.assign(AcrylicPurpleTheme.vars, acrylicPurpleGradient);
1193
- }
1194
- var AcrylicPurpleTheme_default = AcrylicPurpleTheme;
1195
-
1196
- // src/styles/Themes/ChoreoLabsTheme.ts
1197
- init_OxygenThemeBase();
1198
- init_createOxygenTheme();
1199
- import { extendTheme as extendTheme3 } from "@mui/material/styles";
1200
- var linkColors = ["primary", "secondary", "success", "error", "warning", "info"];
1201
- var tagColors = ["primary", "secondary", "success", "error", "warning", "info"];
1202
- var tagStyle = (backgroundColor, color) => ({
1203
- backgroundColor,
1204
- color,
1205
- "&.MuiChip-clickable:hover, &.MuiChip-clickable.Mui-focusVisible, &.MuiChip-deletable.Mui-focusVisible": {
1206
- backgroundColor,
1207
- opacity: 0.85
1208
- },
1209
- "& .MuiChip-deleteIcon, & .MuiChip-deleteIcon:hover": {
1210
- color
1211
- }
1212
- });
1213
- var ChoreoLabsColors = {
1214
- signal: "#FF4600",
1215
- flare: "#FF6E33",
1216
- ember: "#8F2400",
1217
- // Signal is below 4.5:1 as text on light surfaces, so orange text there uses Burn.
1218
- burn: "#C43300",
1219
- // The orange for white labels (4.6:1)
1220
- action: "#D83B00",
1221
- midnightInk: "#0B1633",
1222
- deepNavy: "#17223A",
1223
- blackout: "#050A1C",
1224
- midnight900: "#070D22",
1225
- midnightText2: "#AEB6C6",
1226
- midnightText3: "#8A93A6",
1227
- midnightText4: "#5F6B85",
1228
- void: "#07080C",
1229
- cobalt: "#1F4FFF",
1230
- // Focus colour on dark surfaces, where Cobalt is too dark
1231
- azure: "#3D8BFF",
1232
- mist: "#EAF6FF",
1233
- slate: "#5A6072",
1234
- fog: "#D7DBE4",
1235
- paper: "#F4F6FA",
1236
- graphite: "#1E222C",
1237
- white: "#FFFFFF"
1238
- };
1239
- var ChoreoLabsStatusColors = {
1240
- light: {
1241
- info: { main: ChoreoLabsColors.midnightInk, contrastText: ChoreoLabsColors.white },
1242
- success: { main: "#16A34A", dark: "#15803D", contrastText: ChoreoLabsColors.white },
1243
- warning: { main: "#F5B300", dark: "#8A5A00", contrastText: ChoreoLabsColors.midnightInk },
1244
- error: { main: "#E5484D", dark: "#B42318", contrastText: ChoreoLabsColors.white }
1245
- },
1246
- dark: {
1247
- info: { main: ChoreoLabsColors.white, contrastText: ChoreoLabsColors.midnightInk },
1248
- success: { main: "#4ADE80", contrastText: ChoreoLabsColors.midnightInk },
1249
- warning: { main: "#FCD34D", contrastText: ChoreoLabsColors.midnightInk },
1250
- error: { main: "#FF7A7F", contrastText: ChoreoLabsColors.midnightInk }
1251
- }
1252
- };
1253
- var fixedLabelField = ".MuiFormLabel-root + .MuiTextField-root:not(:has(> .MuiInputLabel-root))";
1254
- var fixedLabelInputs = [`${fixedLabelField} > &`, ".MuiFormLabel-root:not(.MuiInputLabel-root) + &"];
1255
- var onFixedLabelInput = (selector) => fixedLabelInputs.map((prefix) => `${prefix}${selector}`).join(", ");
1256
- var notSelect = ":not(.MuiSelect-root):not(.MuiNativeSelect-root)";
1257
- var selectFormControl = ".MuiFormControl-root:has(> .MuiSelect-root, > :not(.MuiInputBase-root) .MuiSelect-root, > .MuiNativeSelect-root, > :not(.MuiInputBase-root) .MuiNativeSelect-root)";
1258
- var fontFamily = "'Sora Variable', sans-serif";
1259
- var breadcrumbText = {
1260
- fontSize: 14,
1261
- fontWeight: 400,
1262
- lineHeight: 1.5,
1263
- letterSpacing: "0.02em",
1264
- wordSpacing: "0.18em"
1265
- };
1266
- var liftingButton = ":not(.MuiButton-text):not(.MuiButtonGroup-grouped):not([aria-pressed])";
1267
- var fieldHeight = { small: 40, medium: 48 };
1268
- var fieldPadding = (height, inner = "0px") => `calc((${height}px - 1.4375em - ${inner}) / 2)`;
1269
- var lightAvatar = ({ theme }) => ({
1270
- backgroundColor: `color-mix(in srgb, ${theme.vars.palette.primary.main} 12%, transparent)`,
1271
- color: theme.vars.palette.primary.main
1272
- });
1273
- var typographyVariants = [
1274
- "h1",
1275
- "h2",
1276
- "h3",
1277
- "h4",
1278
- "h5",
1279
- "h6",
1280
- "subtitle1",
1281
- "subtitle2",
1282
- "body1",
1283
- "body2",
1284
- "button",
1285
- "caption",
1286
- "overline"
1287
- ];
1288
- var ChoreoLabsColorSchemes = {
1289
- light: {
1290
- palette: __spreadProps(__spreadValues({
1291
- primary: {
1292
- main: ChoreoLabsColors.signal,
1293
- dark: ChoreoLabsColors.burn,
1294
- contrastText: ChoreoLabsColors.midnightInk
1295
- },
1296
- secondary: {
1297
- main: ChoreoLabsColors.midnightInk,
1298
- contrastText: ChoreoLabsColors.white
1299
- },
1300
- accent: {
1301
- main: ChoreoLabsColors.burn,
1302
- light: ChoreoLabsColors.signal,
1303
- dark: ChoreoLabsColors.ember,
1304
- contrastText: ChoreoLabsColors.white
1305
- },
1306
- background: {
1307
- default: ChoreoLabsColors.paper,
1308
- paper: "#ffffffc5",
1309
- acrylic: ChoreoLabsColors.white
1310
- },
1311
- text: {
1312
- primary: ChoreoLabsColors.midnightInk,
1313
- secondary: ChoreoLabsColors.slate
1314
- },
1315
- divider: ChoreoLabsColors.fog
1316
- }, ChoreoLabsStatusColors.light), {
1317
- Avatar: {
1318
- defaultBg: ChoreoLabsColors.fog
1319
- },
1320
- Button: {
1321
- outlinedColor: ChoreoLabsColors.burn,
1322
- textHoverColor: ChoreoLabsColors.ember,
1323
- // Midnight Ink fill: darkens to Void
1324
- containedSecondaryHoverBg: ChoreoLabsColors.void,
1325
- containedSecondaryHoverColor: ChoreoLabsColors.white,
1326
- containedSecondaryActiveColor: ChoreoLabsColors.white,
1327
- disabledBg: ChoreoLabsColors.fog,
1328
- disabledColor: ChoreoLabsColors.slate,
1329
- focusRing: ChoreoLabsColors.cobalt
1330
- },
1331
- Breadcrumbs: {
1332
- linkColor: ChoreoLabsColors.slate,
1333
- linkHoverColor: ChoreoLabsColors.burn,
1334
- separatorColor: ChoreoLabsColors.slate
1335
- },
1336
- // Signal and the status colours are below 4.5:1 as text on light surfaces, so light-mode
1337
- // link text uses their dark shades, the same as the Alert text colours
1338
- Link: {
1339
- hoverColor: ChoreoLabsColors.burn,
1340
- primaryColor: ChoreoLabsColors.burn,
1341
- secondaryColor: ChoreoLabsColors.midnightInk,
1342
- successColor: "#15803D",
1343
- errorColor: "#B42318",
1344
- warningColor: "#8A5A00",
1345
- infoColor: ChoreoLabsColors.midnightInk
1346
- },
1347
- Alert: {
1348
- infoColor: ChoreoLabsColors.midnightInk,
1349
- infoIconColor: ChoreoLabsColors.midnightInk,
1350
- infoStandardBg: ChoreoLabsColors.mist,
1351
- successColor: "#15803D",
1352
- successStandardBg: "#DCFCE7",
1353
- warningColor: "#8A5A00",
1354
- warningStandardBg: "#FEF6D8",
1355
- warningFilledColor: ChoreoLabsColors.midnightInk,
1356
- errorColor: "#B42318",
1357
- errorStandardBg: "#FDE7E7"
1358
- }
1359
- })
1360
- },
1361
- dark: {
1362
- palette: __spreadProps(__spreadValues({
1363
- primary: {
1364
- main: ChoreoLabsColors.signal,
1365
- dark: ChoreoLabsColors.burn,
1366
- contrastText: ChoreoLabsColors.midnightInk
1367
- },
1368
- // Midnight Ink disappears on the dark ground, so dark mode inverts the secondary colour
1369
- secondary: {
1370
- main: ChoreoLabsColors.white,
1371
- contrastText: ChoreoLabsColors.midnightInk
1372
- },
1373
- accent: {
1374
- main: ChoreoLabsColors.burn,
1375
- light: ChoreoLabsColors.signal,
1376
- dark: ChoreoLabsColors.ember,
1377
- contrastText: ChoreoLabsColors.white
1378
- },
1379
- background: {
1380
- default: ChoreoLabsColors.blackout,
1381
- paper: `${ChoreoLabsColors.deepNavy}c5`,
1382
- acrylic: `${ChoreoLabsColors.midnightInk}40`
1383
- },
1384
- text: {
1385
- primary: ChoreoLabsColors.white,
1386
- secondary: "#D0D3E2"
1387
- },
1388
- divider: "#ffffff16"
1389
- }, ChoreoLabsStatusColors.dark), {
1390
- Avatar: {
1391
- defaultBg: ChoreoLabsColors.graphite
1392
- },
1393
- Button: {
1394
- outlinedColor: ChoreoLabsColors.signal,
1395
- textHoverColor: ChoreoLabsColors.flare,
1396
- // White fill (the guideline's inverse button): the fill stays and the label turns orange
1397
- containedSecondaryHoverBg: ChoreoLabsColors.white,
1398
- containedSecondaryHoverColor: ChoreoLabsColors.action,
1399
- containedSecondaryActiveColor: ChoreoLabsColors.burn,
1400
- disabledBg: ChoreoLabsColors.midnight900,
1401
- disabledColor: ChoreoLabsColors.midnightText3,
1402
- focusRing: ChoreoLabsColors.azure
1403
- },
1404
- Breadcrumbs: {
1405
- linkColor: ChoreoLabsColors.midnightText2,
1406
- linkHoverColor: ChoreoLabsColors.signal,
1407
- separatorColor: ChoreoLabsColors.midnightText4
1408
- },
1409
- Link: {
1410
- hoverColor: ChoreoLabsColors.signal,
1411
- primaryColor: ChoreoLabsColors.signal,
1412
- secondaryColor: ChoreoLabsColors.white,
1413
- successColor: "#4ADE80",
1414
- errorColor: "#FF7A7F",
1415
- warningColor: "#FCD34D",
1416
- infoColor: ChoreoLabsColors.white
1417
- },
1418
- Alert: {
1419
- infoColor: ChoreoLabsColors.white,
1420
- infoIconColor: ChoreoLabsColors.white,
1421
- infoStandardBg: ChoreoLabsColors.midnightInk,
1422
- // The derived filled colour would be grey
1423
- infoFilledBg: ChoreoLabsColors.deepNavy,
1424
- infoFilledColor: ChoreoLabsColors.white,
1425
- // Status text in dark mode is the light shade on Ink; filled alerts keep the base colours
1426
- successColor: "#4ADE80",
1427
- successStandardBg: ChoreoLabsColors.midnightInk,
1428
- successFilledBg: "#16A34A",
1429
- successFilledColor: ChoreoLabsColors.white,
1430
- warningColor: "#FCD34D",
1431
- warningStandardBg: ChoreoLabsColors.midnightInk,
1432
- warningFilledBg: "#F5B300",
1433
- warningFilledColor: ChoreoLabsColors.midnightInk,
1434
- errorColor: "#FF7A7F",
1435
- errorStandardBg: ChoreoLabsColors.midnightInk,
1436
- errorFilledBg: "#E5484D",
1437
- errorFilledColor: ChoreoLabsColors.white
1473
+ },
1474
+ MuiMenuItem: {
1475
+ styleOverrides: {
1476
+ root: ({ theme }) => ({
1477
+ fontSize: theme.typography.body2.fontSize,
1478
+ // Drop the ButtonBase focus ring: the menu clips its sides, leaving stray lines above and
1479
+ // below the item. The focus background still marks the keyboard-focused item.
1480
+ "&.Mui-focusVisible": {
1481
+ outline: "none"
1482
+ },
1483
+ // A neutral fill for the selected option, matching selected list items, instead of a primary tint.
1484
+ "&.Mui-selected, &.Mui-selected:hover, &.Mui-selected.Mui-focusVisible": {
1485
+ backgroundColor: theme.vars.palette.action.selected
1486
+ }
1487
+ })
1438
1488
  }
1439
- })
1440
- }
1441
- };
1442
- var { colorSchemes } = extendTheme3({
1443
- cssVarPrefix: "oxygen",
1444
- // Same as OxygenThemeBase, so derived values reference --oxygen-* variables
1445
- colorSchemes: ChoreoLabsColorSchemes
1446
- });
1447
- var ChoreoLabsThemeConfig = {
1448
- colorSchemes,
1449
- typography: typographyVariants.reduce(
1450
- (typography, variant) => __spreadProps(__spreadValues({}, typography), { [variant]: { fontFamily } }),
1451
- { fontFamily }
1452
- ),
1453
- shape: {
1454
- borderRadius: 12
1455
- },
1456
- gradient: {
1457
- // Unused by the theme; kept flat for apps that read theme.gradient.primary
1458
- primary: `linear-gradient(${ChoreoLabsColors.signal}, ${ChoreoLabsColors.signal})`
1459
- },
1460
- components: {
1461
- MuiAvatar: {
1489
+ },
1490
+ // ComplexSelect options match the Select's options: neutral hover and selected fills instead of
1491
+ // the component's primary tint
1492
+ MuiComplexSelectMenuItem: {
1462
1493
  styleOverrides: {
1463
1494
  root: ({ theme }) => ({
1464
- backgroundColor: theme.vars.palette.Avatar.defaultBg,
1465
- color: theme.vars.palette.text.primary
1495
+ "&:hover": {
1496
+ backgroundColor: theme.vars.palette.action.hover
1497
+ },
1498
+ "&.Mui-selected, &.Mui-selected:hover, &.Mui-selected.Mui-focusVisible": {
1499
+ backgroundColor: theme.vars.palette.action.selected
1500
+ }
1466
1501
  })
1467
1502
  }
1468
1503
  },
1469
- // Icon and letter avatars in page titles use the light tint; image avatars cover it
1470
- MuiPageTitle: {
1471
- styleOverrides: {
1472
- avatar: lightAvatar
1473
- }
1474
- },
1475
- MuiUserMenu: {
1504
+ // The outside label matches the Select's fixed label: secondary text at regular weight, 4px
1505
+ // above the field, and no colour change on focus
1506
+ MuiComplexSelect: {
1476
1507
  styleOverrides: {
1477
- avatar: lightAvatar,
1478
- headerAvatar: lightAvatar
1508
+ // Focus is a 1.5px text-colour border in every label mode, not Cobalt. With the label outside
1509
+ // or inside, the field also gets the Select's fixed-label ring. A ring would cut through a
1510
+ // border label, and a field without a label gets none, like a Select without one.
1511
+ root: ({ theme, labelAnchor }) => __spreadValues({
1512
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
1513
+ borderWidth: 1.5
1514
+ },
1515
+ "&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
1516
+ borderColor: theme.vars.palette.text.primary
1517
+ }
1518
+ }, (labelAnchor === "outside" || labelAnchor === "inside") && {
1519
+ "&.Mui-focused": {
1520
+ boxShadow: `0 0 0 3px ${BrandColors.cobalt}40`
1521
+ },
1522
+ "&.Mui-focused.Mui-error": {
1523
+ boxShadow: `0 0 0 3px rgba(${theme.vars.palette.error.mainChannel} / 0.25)`
1524
+ }
1525
+ }),
1526
+ inputLabel: ({ theme, labelAnchor }) => labelAnchor === "outside" ? {
1527
+ color: theme.vars.palette.text.secondary,
1528
+ fontWeight: theme.typography.fontWeightRegular,
1529
+ marginBottom: 4,
1530
+ "&.Mui-focused": {
1531
+ color: theme.vars.palette.text.secondary
1532
+ }
1533
+ } : {}
1479
1534
  }
1480
1535
  },
1481
- MuiButtonBase: {
1536
+ // A search bar without a floating label takes the fixed-label text input ring on focus. With a
1537
+ // floating label it doesn't: a box-shadow would cut through the label's notch.
1538
+ MuiSearchBar: {
1482
1539
  styleOverrides: {
1483
- root: {
1484
- "&.Mui-focusVisible": {
1485
- outline: `2px solid ${ChoreoLabsColors.cobalt}`,
1486
- outlineOffset: 2
1540
+ root: ({ theme }) => ({
1541
+ "&:not(:has(> .MuiInputLabel-root)) > .MuiOutlinedInput-root.Mui-focused": {
1542
+ boxShadow: `0 0 0 3px ${BrandColors.cobalt}40`
1543
+ },
1544
+ "&:not(:has(> .MuiInputLabel-root)) > .MuiOutlinedInput-root.Mui-focused.Mui-error": {
1545
+ boxShadow: `0 0 0 3px rgba(${theme.vars.palette.error.mainChannel} / 0.25)`
1487
1546
  }
1488
- }
1547
+ })
1489
1548
  }
1490
1549
  },
1491
- MuiButton: {
1492
- // The guidelines' buttons are flat: no shadow at rest, on hover, when pressed or on focus
1550
+ // Links without a `color` take the default text colour and turn orange on hover; links with a
1551
+ // palette `color` use the brand colour for it. The underline follows the `underline` prop, so
1552
+ // `none` never underlines; links default to underlining on hover.
1553
+ MuiLink: {
1493
1554
  defaultProps: {
1494
- disableElevation: true
1555
+ color: "textPrimary",
1556
+ underline: "hover"
1495
1557
  },
1496
1558
  styleOverrides: {
1497
- // States follow the Choreo Labs button guidelines. Keyboard focus takes the hover colours (without
1498
- // the lift), as in the guidelines. Hover rules come before active ones so a pressed button shows
1499
- // its active colours.
1500
1559
  root: ({ theme }) => {
1501
- var _a, _b, _c;
1560
+ var _a;
1502
1561
  return {
1503
- // Every button is a pill at any height, as in the guidelines (--cl-radius-pill)
1504
- borderRadius: 999,
1505
- textTransform: "none",
1506
- fontWeight: 500,
1507
- // Colours ease over 250ms; the lift uses the guidelines' ease-out curve
1508
- transition: [
1509
- theme.transitions.create(["background-color", "border-color", "color"], {
1510
- duration: theme.transitions.duration.short
1511
- }),
1512
- theme.transitions.create("transform", {
1513
- duration: theme.transitions.duration.short,
1514
- easing: "cubic-bezier(0.2, 0.7, 0.2, 1)"
1562
+ variants: [
1563
+ {
1564
+ props: { color: "textPrimary" },
1565
+ style: {
1566
+ "&:hover": {
1567
+ color: (_a = theme.vars.palette.Link) == null ? void 0 : _a.hoverColor
1568
+ }
1569
+ }
1570
+ },
1571
+ ...linkColors.map((color) => {
1572
+ var _a2;
1573
+ return {
1574
+ props: { color },
1575
+ style: {
1576
+ color: (_a2 = theme.vars.palette.Link) == null ? void 0 : _a2[`${color}Color`]
1577
+ }
1578
+ };
1515
1579
  })
1516
- ].join(", "),
1517
- // A 3px ring set 3px out: Cobalt on light surfaces, Azure on dark. Overrides the thinner
1518
- // ButtonBase ring that other button-like components keep.
1519
- "&.Mui-focusVisible": {
1520
- outline: `3px solid ${(_a = theme.vars.palette.Button) == null ? void 0 : _a.focusRing}`,
1521
- outlineOffset: 3
1522
- },
1523
- // Filled and outlined buttons lift 2px on hover and press in slightly. Text buttons stay put,
1524
- // and so do buttons used as toggles (in a ButtonGroup or with aria-pressed): the lift would
1525
- // pull one segment out of line with its neighbours.
1526
- "@media (hover: hover) and (prefers-reduced-motion: no-preference)": {
1527
- [`&${liftingButton}:hover`]: {
1528
- transform: "translateY(-2px)"
1529
- }
1530
- },
1531
- "@media (prefers-reduced-motion: no-preference)": {
1532
- [`&${liftingButton}:active`]: {
1533
- transform: "scale(0.98)"
1534
- }
1535
- },
1536
- // Every variant shares one disabled style; text buttons only grey their label
1537
- "&.Mui-disabled": {
1538
- color: (_b = theme.vars.palette.Button) == null ? void 0 : _b.disabledColor
1539
- },
1540
- "&.Mui-disabled:not(.MuiButton-text)": {
1541
- backgroundColor: (_c = theme.vars.palette.Button) == null ? void 0 : _c.disabledBg,
1542
- borderColor: "transparent"
1580
+ ],
1581
+ "&.Mui-focusVisible, &:focus-visible": {
1582
+ outline: `2px solid ${BrandColors.cobalt}`,
1583
+ outlineOffset: 2
1543
1584
  }
1544
1585
  };
1545
- },
1546
- sizeSmall: { minHeight: 32 },
1547
- sizeMedium: { minHeight: 40 },
1548
- sizeLarge: { minHeight: 48 },
1549
- // Signal fill with a Midnight Ink label; on hover and press the fill stays and the label turns white
1550
- containedPrimary: ({ theme }) => ({
1551
- backgroundColor: theme.vars.palette.primary.main,
1552
- color: theme.vars.palette.primary.contrastText,
1553
- "&:hover, &.Mui-focusVisible, &:active": {
1554
- backgroundColor: theme.vars.palette.primary.main,
1555
- color: ChoreoLabsColors.white
1556
- }
1557
- }),
1558
- // Burn outline (Signal in dark mode); fills with Signal on hover and Action with an Ink label when pressed
1559
- outlinedPrimary: ({ theme }) => {
1560
- var _a, _b;
1586
+ }
1587
+ }
1588
+ },
1589
+ // The footer styles its links itself, so they need the same colours here
1590
+ MuiFooter: {
1591
+ styleOverrides: {
1592
+ link: ({ theme }) => {
1593
+ var _a;
1561
1594
  return {
1562
- borderColor: (_a = theme.vars.palette.Button) == null ? void 0 : _a.outlinedColor,
1563
- color: (_b = theme.vars.palette.Button) == null ? void 0 : _b.outlinedColor,
1564
- "&:hover, &.Mui-focusVisible": {
1565
- borderColor: theme.vars.palette.primary.main,
1566
- backgroundColor: theme.vars.palette.primary.main,
1567
- color: ChoreoLabsColors.white
1568
- },
1569
- "&:active": {
1570
- borderColor: ChoreoLabsColors.action,
1571
- backgroundColor: ChoreoLabsColors.action,
1572
- color: ChoreoLabsColors.midnightInk
1595
+ color: theme.vars.palette.text.primary,
1596
+ "&:hover": {
1597
+ color: (_a = theme.vars.palette.Link) == null ? void 0 : _a.hoverColor
1573
1598
  }
1574
1599
  };
1575
- },
1576
- // The guidelines have no text button, so it follows the link colours: Burn, then Ember on hover
1577
- // (Signal and Flare in dark mode)
1578
- textPrimary: ({ theme }) => {
1579
- var _a, _b;
1600
+ }
1601
+ }
1602
+ },
1603
+ // Slash separated, with 10px either side of the slash. Replaces the base theme's li and
1604
+ // separator styles, so the current level isn't bold and dark-mode parents aren't dimmed.
1605
+ MuiBreadcrumbs: {
1606
+ styleOverrides: {
1607
+ root: breadcrumbText,
1608
+ // Breadcrumb children are the app's own Link and Typography elements, so they're styled here
1609
+ // to match AppBreadcrumbs: caption text, and parent links that turn orange with no underline.
1610
+ li: ({ theme }) => {
1611
+ var _a, _b, _c;
1580
1612
  return {
1581
- color: (_a = theme.vars.palette.Button) == null ? void 0 : _a.outlinedColor,
1582
- "&:hover, &.Mui-focusVisible": {
1583
- color: (_b = theme.vars.palette.Button) == null ? void 0 : _b.textHoverColor
1613
+ color: (_a = theme.vars.palette.Breadcrumbs) == null ? void 0 : _a.linkColor,
1614
+ "&:last-child": {
1615
+ color: theme.vars.palette.text.primary
1616
+ },
1617
+ "& > .MuiTypography-root": {
1618
+ fontSize: "inherit",
1619
+ fontWeight: "inherit",
1620
+ lineHeight: "inherit",
1621
+ letterSpacing: "inherit"
1622
+ },
1623
+ "&:not(:last-child) > .MuiLink-root": {
1624
+ color: (_b = theme.vars.palette.Breadcrumbs) == null ? void 0 : _b.linkColor,
1625
+ textDecoration: "none",
1626
+ "&:hover": {
1627
+ color: (_c = theme.vars.palette.Breadcrumbs) == null ? void 0 : _c.linkHoverColor,
1628
+ textDecoration: "none"
1629
+ }
1584
1630
  }
1585
1631
  };
1586
1632
  },
1587
- // Midnight Ink fill that darkens to Void on hover. Dark mode inverts it to a white fill whose
1588
- // label turns Action on hover and Burn when pressed.
1589
- containedSecondary: ({ theme }) => {
1590
- var _a, _b, _c, _d;
1633
+ separator: ({ theme }) => {
1634
+ var _a;
1591
1635
  return {
1592
- backgroundColor: theme.vars.palette.secondary.main,
1593
- color: theme.vars.palette.secondary.contrastText,
1594
- "&:hover, &.Mui-focusVisible": {
1595
- backgroundColor: (_a = theme.vars.palette.Button) == null ? void 0 : _a.containedSecondaryHoverBg,
1596
- color: (_b = theme.vars.palette.Button) == null ? void 0 : _b.containedSecondaryHoverColor
1597
- },
1598
- "&:active": {
1599
- backgroundColor: (_c = theme.vars.palette.Button) == null ? void 0 : _c.containedSecondaryHoverBg,
1600
- color: (_d = theme.vars.palette.Button) == null ? void 0 : _d.containedSecondaryActiveColor
1601
- }
1636
+ marginLeft: 10,
1637
+ marginRight: 10,
1638
+ color: (_a = theme.vars.palette.Breadcrumbs) == null ? void 0 : _a.separatorColor
1602
1639
  };
1603
- },
1604
- // Ink outline (white in dark mode) that fills on hover and press
1605
- outlinedSecondary: ({ theme }) => ({
1606
- borderColor: theme.vars.palette.secondary.main,
1607
- color: theme.vars.palette.secondary.main,
1608
- "&:hover, &.Mui-focusVisible, &:active": {
1609
- borderColor: theme.vars.palette.secondary.main,
1610
- backgroundColor: theme.vars.palette.secondary.main,
1611
- color: theme.vars.palette.secondary.contrastText
1612
- }
1613
- })
1640
+ }
1641
+ }
1642
+ },
1643
+ MuiAppBreadcrumbs: {
1644
+ defaultProps: {
1645
+ separator: "/"
1614
1646
  },
1615
- variants: [
1616
- // Outlined accent works like the other outlined buttons: a solid Burn outline that fills with
1617
- // Burn and a white label on hover and keyboard focus, and darkens to Ember when pressed
1618
- {
1619
- props: { variant: "outlined", color: "accent" },
1620
- style: ({ theme }) => ({
1621
- borderColor: theme.vars.palette.accent.main,
1622
- color: theme.vars.palette.accent.main,
1623
- "&:hover, &.Mui-focusVisible": {
1624
- borderColor: theme.vars.palette.accent.main,
1625
- backgroundColor: theme.vars.palette.accent.main,
1626
- color: theme.vars.palette.accent.contrastText
1627
- },
1628
- "&:active": {
1629
- borderColor: theme.vars.palette.accent.dark,
1630
- backgroundColor: theme.vars.palette.accent.dark,
1631
- color: theme.vars.palette.accent.contrastText
1647
+ styleOverrides: {
1648
+ // MUI also resolves this with the root's props, where there is no item ownerState
1649
+ item: ({ theme, ownerState }) => {
1650
+ var _a, _b;
1651
+ return __spreadValues(__spreadValues(__spreadValues({}, breadcrumbText), (ownerState == null ? void 0 : ownerState.isLast) && {
1652
+ color: theme.vars.palette.text.primary
1653
+ }), (ownerState == null ? void 0 : ownerState.isClickable) && {
1654
+ color: (_a = theme.vars.palette.Breadcrumbs) == null ? void 0 : _a.linkColor,
1655
+ "&:hover": {
1656
+ textDecoration: "none",
1657
+ color: (_b = theme.vars.palette.Breadcrumbs) == null ? void 0 : _b.linkHoverColor
1632
1658
  }
1633
- })
1659
+ });
1634
1660
  },
1635
- // The guidelines' action button: white label on Action, darkening to Burn on hover and Ember when pressed
1636
- {
1637
- props: { variant: "subtle" },
1638
- style: {
1639
- backgroundColor: ChoreoLabsColors.action,
1640
- color: ChoreoLabsColors.white,
1641
- "&:hover, &.Mui-focusVisible": {
1642
- backgroundColor: ChoreoLabsColors.burn
1643
- },
1644
- "&:active": {
1645
- backgroundColor: ChoreoLabsColors.ember
1646
- }
1647
- }
1648
- }
1649
- ]
1661
+ ellipsis: __spreadValues({}, breadcrumbText)
1662
+ }
1650
1663
  },
1651
- MuiFab: {
1664
+ MuiListItemButton: {
1652
1665
  styleOverrides: {
1653
- primary: ({ theme }) => ({
1654
- backgroundColor: theme.vars.palette.primary.main,
1655
- color: theme.vars.palette.primary.contrastText,
1656
- "&:hover": {
1657
- backgroundColor: ChoreoLabsColors.flare
1658
- },
1659
- "&:active": {
1660
- backgroundColor: ChoreoLabsColors.ember,
1661
- color: ChoreoLabsColors.white
1666
+ root: ({ theme }) => ({
1667
+ borderRadius: 8,
1668
+ "&.Mui-selected": {
1669
+ backgroundColor: theme.vars.palette.action.selected,
1670
+ "&:hover": {
1671
+ backgroundColor: theme.vars.palette.action.selected
1672
+ }
1662
1673
  }
1663
1674
  })
1664
1675
  }
1665
1676
  },
1666
- MuiDialog: {
1677
+ MuiDataGrid: {
1667
1678
  styleOverrides: {
1668
- paper: ({ theme }) => ({
1679
+ root: ({ theme }) => ({
1680
+ border: "none",
1681
+ backgroundColor: "transparent",
1682
+ overflow: "hidden",
1683
+ "& .MuiDataGrid-columnHeaders": {
1684
+ backgroundColor: theme.vars.palette.action.hover,
1685
+ WebkitBackdropFilter: theme.blur.medium,
1686
+ backdropFilter: theme.blur.medium,
1687
+ borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1688
+ position: "sticky",
1689
+ top: 0,
1690
+ zIndex: 10
1691
+ },
1692
+ "& .MuiDataGrid-virtualScroller": {
1693
+ marginTop: "0 !important",
1694
+ overflow: "auto"
1695
+ }
1696
+ }),
1697
+ columnHeaders: ({ theme }) => ({
1698
+ backgroundColor: theme.vars.palette.action.hover,
1669
1699
  WebkitBackdropFilter: theme.blur.medium,
1670
1700
  backdropFilter: theme.blur.medium,
1671
- background: theme.vars.palette.background.paper
1672
- })
1673
- }
1674
- },
1675
- MuiDrawer: {
1676
- styleOverrides: {
1677
- paper: ({ theme }) => ({
1678
- background: theme.vars.palette.background.paper
1701
+ borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`
1702
+ }),
1703
+ columnHeader: {
1704
+ backgroundColor: "transparent"
1705
+ },
1706
+ cell: ({ theme }) => ({
1707
+ borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1708
+ backgroundColor: "transparent"
1679
1709
  })
1680
1710
  }
1681
- },
1682
- MuiSidebar: {
1683
- styleOverrides: {
1684
- userAvatar: lightAvatar,
1685
- root: ({ theme }) => __spreadValues({
1686
- backgroundColor: theme.vars.palette.background.acrylic,
1687
- WebkitBackdropFilter: theme.blur.light,
1688
- backdropFilter: theme.blur.light
1689
- }, theme.applyStyles("light", {
1690
- backgroundColor: ChoreoLabsColors.white
1691
- }))
1692
- }
1693
- },
1694
- MuiAppBar: {
1695
- styleOverrides: {
1696
- root: ({ theme }) => __spreadValues({
1697
- backgroundColor: `${theme.vars.palette.background.acrylic} !important`,
1698
- WebkitBackdropFilter: theme.blur.medium,
1699
- backdropFilter: theme.blur.medium,
1700
- borderRadius: 0
1701
- }, theme.applyStyles("light", {
1702
- backgroundColor: `${ChoreoLabsColors.white} !important`
1703
- }))
1704
- },
1705
- defaultProps: {
1706
- color: "transparent"
1711
+ }
1712
+ }
1713
+ };
1714
+ var DefaultTheme = createOxygenTheme(DefaultThemeConfig, OxygenThemeBase_default);
1715
+ var DefaultTheme_default = DefaultTheme;
1716
+
1717
+ // src/styles/Themes/AcrylicBaseTheme.ts
1718
+ init_createOxygenTheme();
1719
+ var AcrylicBaseTheme = {
1720
+ colorSchemes: {
1721
+ light: {
1722
+ palette: {
1723
+ primary: {
1724
+ main: "#fa7b3f",
1725
+ contrastText: "#ffffff"
1726
+ },
1727
+ // Every token is set: this merges into a built theme, whose derived light, dark and
1728
+ // channel values for the base grey would otherwise stay. Dark text on the light grey,
1729
+ // as the secondary button uses (the base theme's white is 1.2:1). `dark` is the hover
1730
+ // and focus background, kept light enough for that text (6.5:1).
1731
+ secondary: {
1732
+ main: "#e8e8e8",
1733
+ light: "#ededed",
1734
+ dark: "#d0d0d0",
1735
+ contrastText: "#40404B",
1736
+ mainChannel: "232 232 232",
1737
+ lightChannel: "237 237 237",
1738
+ darkChannel: "208 208 208",
1739
+ contrastTextChannel: "64 64 75"
1740
+ },
1741
+ background: {
1742
+ default: "#f5f5f5",
1743
+ paper: "#ffffffc5",
1744
+ acrylic: "#ffffff40"
1745
+ // More transparent version for Paper and Card components
1746
+ },
1747
+ text: {
1748
+ primary: "#40404B",
1749
+ secondary: "#40404B"
1750
+ },
1751
+ divider: "#00000012"
1707
1752
  }
1708
1753
  },
1709
- MuiFormLabel: {
1710
- styleOverrides: {
1711
- root: ({ theme }) => ({
1712
- fontSize: theme.typography.body2.fontSize,
1713
- marginBottom: "4px",
1714
- // A select's error shows on its border and helper text, so its floating label keeps its colour.
1715
- // Set here because InputLabel has no `error` style slot; InputLabel renders a FormLabel.
1716
- [`${selectFormControl} > &.MuiInputLabel-root.Mui-error`]: {
1717
- color: theme.vars.palette.text.secondary
1718
- }
1719
- })
1754
+ dark: {
1755
+ palette: {
1756
+ primary: {
1757
+ main: "#F87643",
1758
+ contrastText: "#ffffff"
1759
+ },
1760
+ secondary: {
1761
+ main: "#3c3c3c"
1762
+ },
1763
+ background: {
1764
+ default: "#000000",
1765
+ paper: "#000000c5",
1766
+ acrylic: "#00000040"
1767
+ // More transparent version for Paper and Card components
1768
+ },
1769
+ text: {
1770
+ primary: "#efefef",
1771
+ secondary: "#D0D3E2"
1772
+ },
1773
+ divider: "#ffffff16"
1720
1774
  }
1721
- },
1722
- MuiPaper: {
1775
+ }
1776
+ },
1777
+ shape: {
1778
+ borderRadius: 12
1779
+ },
1780
+ components: {
1781
+ MuiAvatar: {
1723
1782
  styleOverrides: {
1724
1783
  root: ({ theme }) => ({
1725
- borderRadius: theme.shape.borderRadius,
1726
- WebkitBackdropFilter: theme.blur.light,
1727
- backdropFilter: theme.blur.light,
1728
- border: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1729
- backgroundColor: theme.vars.palette.background.acrylic,
1730
- // Drop MUI's dark-mode elevation overlay gradient
1731
- backgroundImage: "none",
1732
- boxShadow: theme.shadows[1]
1733
- })
1734
- }
1735
- },
1736
- MuiPopover: {
1737
- styleOverrides: {
1738
- paper: ({ theme }) => ({
1739
- backgroundColor: theme.vars.palette.background.paper,
1740
- WebkitBackdropFilter: theme.blur.medium,
1741
- backdropFilter: theme.blur.medium,
1742
- backgroundImage: "none"
1784
+ backgroundColor: theme.vars.palette.secondary.main,
1785
+ color: theme.vars.palette.text.primary
1743
1786
  })
1744
1787
  }
1745
1788
  },
1746
- MuiAutocomplete: {
1789
+ MuiButton: {
1747
1790
  styleOverrides: {
1748
- // The Autocomplete input keeps MUI's own vertical padding (7.5px, or 2.5px when small)
1749
1791
  root: {
1750
- "& .MuiOutlinedInput-root:not(.MuiInputBase-sizeSmall)": {
1751
- paddingTop: fieldPadding(fieldHeight.medium, "15px"),
1752
- paddingBottom: fieldPadding(fieldHeight.medium, "15px")
1753
- },
1754
- "& .MuiOutlinedInput-root.MuiInputBase-sizeSmall": {
1755
- paddingTop: fieldPadding(fieldHeight.small, "5px"),
1756
- paddingBottom: fieldPadding(fieldHeight.small, "5px")
1757
- }
1758
- },
1759
- paper: ({ theme }) => ({
1760
- backgroundColor: theme.vars.palette.background.paper,
1761
- WebkitBackdropFilter: theme.blur.medium,
1762
- backdropFilter: theme.blur.medium,
1763
- backgroundImage: "none"
1764
- })
1765
- }
1766
- },
1767
- MuiChip: {
1768
- variants: [
1769
- // `tag`: a filled, square-cornered uppercase label. Dark blue unless a colour is set.
1770
- {
1771
- props: { variant: "tag" },
1772
- style: ({ theme }) => __spreadValues({
1773
- borderRadius: 4,
1774
- fontWeight: 700,
1775
- textTransform: "uppercase",
1776
- letterSpacing: "0.04em"
1777
- }, tagStyle(theme.vars.palette.secondary.main, theme.vars.palette.secondary.contrastText))
1792
+ borderRadius: 20,
1793
+ textTransform: "none",
1794
+ fontWeight: 400
1778
1795
  },
1779
- ...tagColors.map((color) => ({
1780
- props: { variant: "tag", color },
1781
- style: ({ theme }) => tagStyle(theme.vars.palette[color].main, theme.vars.palette[color].contrastText)
1782
- }))
1783
- ]
1784
- },
1785
- MuiCard: {
1786
- styleOverrides: {
1787
- root: ({ theme }) => ({
1788
- backgroundColor: theme.vars.palette.background.acrylic
1796
+ containedPrimary: ({ theme }) => ({
1797
+ "&:not(:disabled)": {
1798
+ background: `${theme.gradient.primary} !important`,
1799
+ color: "#fff !important",
1800
+ "&:hover": {
1801
+ background: `${theme.gradient.primary} !important`,
1802
+ opacity: 0.9,
1803
+ color: "#fff !important"
1804
+ }
1805
+ }
1806
+ }),
1807
+ outlinedPrimary: ({ theme }) => ({
1808
+ borderColor: theme.palette.primary.main,
1809
+ color: theme.palette.primary.main,
1810
+ "&:hover": {
1811
+ borderColor: theme.palette.primary.dark,
1812
+ backgroundColor: theme.palette.action.hover
1813
+ }
1814
+ }),
1815
+ containedSecondary: ({ theme }) => ({
1816
+ backgroundColor: theme.vars.palette.secondary.main,
1817
+ color: theme.vars.palette.text.primary,
1818
+ "&:hover": {
1819
+ backgroundColor: theme.vars.palette.secondary.main,
1820
+ opacity: 0.8
1821
+ }
1822
+ }),
1823
+ outlinedSecondary: ({ theme }) => ({
1824
+ borderColor: theme.vars.palette.divider,
1825
+ color: theme.vars.palette.text.primary,
1826
+ "&:hover": {
1827
+ borderColor: theme.vars.palette.text.secondary,
1828
+ backgroundColor: theme.palette.action.hover
1829
+ }
1789
1830
  })
1790
1831
  }
1791
1832
  },
1792
- MuiTab: {
1833
+ MuiFab: {
1793
1834
  styleOverrides: {
1794
- textColorPrimary: ({ theme }) => theme.applyStyles("light", {
1795
- "&.Mui-selected": {
1796
- color: theme.vars.palette.primary.dark
1835
+ primary: ({ theme }) => ({
1836
+ background: theme.gradient.primary,
1837
+ color: "#fff",
1838
+ "&:hover": {
1839
+ background: theme.gradient.primary,
1840
+ opacity: 0.9
1797
1841
  }
1798
1842
  })
1799
1843
  }
1800
1844
  },
1801
- MuiTextField: {
1802
- defaultProps: { size: "small" }
1803
- },
1804
- MuiSelect: {
1845
+ MuiDialog: {
1805
1846
  styleOverrides: {
1806
- select: {
1807
- "&.MuiOutlinedInput-input": {
1808
- paddingTop: fieldPadding(fieldHeight.medium),
1809
- paddingBottom: fieldPadding(fieldHeight.medium)
1810
- },
1811
- "&.MuiOutlinedInput-input.MuiInputBase-inputSizeSmall": {
1812
- paddingTop: fieldPadding(fieldHeight.small),
1813
- paddingBottom: fieldPadding(fieldHeight.small)
1814
- }
1815
- }
1847
+ paper: ({ theme }) => ({
1848
+ WebkitBackdropFilter: theme.blur.medium,
1849
+ backdropFilter: theme.blur.medium,
1850
+ background: theme.vars.palette.background.paper
1851
+ })
1816
1852
  }
1817
1853
  },
1818
- MuiInputLabel: {
1854
+ MuiDrawer: {
1819
1855
  styleOverrides: {
1820
- root: {
1821
- // Replaces the base theme's offset for select labels, which was tuned to the old field heights
1822
- ".MuiFormControl-root:has(.MuiSelect-select) &:not(.MuiInputLabel-shrink)": {
1823
- top: 0
1824
- }
1825
- },
1826
- outlined: {
1827
- "&:not(.MuiInputLabel-shrink)": {
1828
- transform: `translate(14px, ${fieldPadding(fieldHeight.medium)}) scale(1)`
1829
- },
1830
- // A label outside a sized FormControl stays medium, so follow the field's size instead
1831
- "&.MuiInputLabel-sizeSmall:not(.MuiInputLabel-shrink), .MuiFormControl-root:has(.MuiInputBase-sizeSmall) &:not(.MuiInputLabel-shrink)": {
1832
- transform: `translate(14px, ${fieldPadding(fieldHeight.small)}) scale(1)`
1833
- }
1834
- },
1835
- // The field's border already shows focus, so floating labels on text inputs and selects stay
1836
- // neutral like fixed labels do.
1837
- // `focused` rather than `root`: createOxygenTheme deep-merges objects but replaces functions,
1838
- // so a function `root` would drop the base theme's select label offset.
1839
- focused: ({ theme }) => ({
1840
- "&.Mui-focused:not(.Mui-error)": {
1841
- color: theme.vars.palette.text.secondary
1842
- }
1856
+ paper: ({ theme }) => ({
1857
+ background: theme.vars.palette.background.paper,
1858
+ borderRadius: 0
1843
1859
  })
1844
1860
  }
1845
1861
  },
1846
- MuiOutlinedInput: {
1862
+ MuiSidebar: {
1847
1863
  styleOverrides: {
1848
- // Multiline fields pad the root instead
1849
- input: ({ ownerState }) => {
1850
- if (ownerState.multiline) {
1851
- return {};
1852
- }
1853
- const padding = fieldPadding(ownerState.size === "small" ? fieldHeight.small : fieldHeight.medium);
1854
- return { paddingTop: padding, paddingBottom: padding };
1855
- },
1856
- multiline: ({ ownerState }) => {
1857
- const padding = fieldPadding(ownerState.size === "small" ? fieldHeight.small : fieldHeight.medium);
1858
- return { paddingTop: padding, paddingBottom: padding };
1859
- },
1860
1864
  root: ({ theme }) => ({
1861
- fontSize: theme.typography.pxToRem(14),
1862
- borderRadius: 8,
1863
1865
  backgroundColor: theme.vars.palette.background.acrylic,
1864
- "&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
1865
- borderColor: ChoreoLabsColors.cobalt
1866
- },
1867
- // Text inputs and fixed-label selects follow the brand's focus style (thin text-colour border,
1868
- // ring on fixed-label fields), while floating-label selects keep the Cobalt border above.
1869
- [`&.Mui-focused${notSelect} .MuiOutlinedInput-notchedOutline, ${onFixedLabelInput(".Mui-focused .MuiOutlinedInput-notchedOutline")}`]: {
1870
- borderWidth: 1.5
1871
- },
1872
- [`&.Mui-focused:not(.Mui-error)${notSelect} .MuiOutlinedInput-notchedOutline, ${onFixedLabelInput(".Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline")}`]: {
1873
- borderColor: theme.vars.palette.text.primary
1874
- },
1875
- // A box-shadow ignores the outline's notch and would cut through a floating label.
1876
- [onFixedLabelInput(".Mui-focused")]: {
1877
- boxShadow: `0 0 0 3px ${ChoreoLabsColors.cobalt}40`
1878
- },
1879
- [onFixedLabelInput(".Mui-focused.Mui-error")]: {
1880
- boxShadow: `0 0 0 3px rgba(${theme.vars.palette.error.mainChannel} / 0.25)`
1881
- }
1882
- }),
1883
- notchedOutline: ({ theme }) => ({
1884
- borderWidth: 1,
1885
- borderColor: theme.vars.palette.divider
1866
+ WebkitBackdropFilter: theme.blur.light,
1867
+ backdropFilter: theme.blur.light
1886
1868
  })
1887
1869
  }
1888
1870
  },
1889
- MuiInput: {
1890
- styleOverrides: {
1891
- root: {
1892
- "&:not(.Mui-error)::after": {
1893
- borderBottomColor: ChoreoLabsColors.cobalt
1894
- }
1895
- }
1896
- }
1897
- },
1898
- MuiFilledInput: {
1871
+ MuiAppBar: {
1899
1872
  styleOverrides: {
1900
- root: {
1901
- "&:not(.Mui-error)::after": {
1902
- borderBottomColor: ChoreoLabsColors.cobalt
1903
- }
1904
- }
1873
+ root: ({ theme }) => ({
1874
+ backgroundColor: `${theme.vars.palette.background.acrylic} !important`,
1875
+ WebkitBackdropFilter: theme.blur.medium,
1876
+ backdropFilter: theme.blur.medium,
1877
+ borderRadius: 0
1878
+ })
1879
+ },
1880
+ defaultProps: {
1881
+ color: "transparent"
1905
1882
  }
1906
1883
  },
1907
- MuiMenuItem: {
1884
+ MuiFormLabel: {
1908
1885
  styleOverrides: {
1909
1886
  root: ({ theme }) => ({
1910
1887
  fontSize: theme.typography.body2.fontSize,
1911
- // Drop the ButtonBase focus ring: the menu clips its sides, leaving stray lines above and
1912
- // below the item. The focus background still marks the keyboard-focused item.
1913
- "&.Mui-focusVisible": {
1914
- outline: "none"
1915
- },
1916
- // A neutral fill for the selected option, matching selected list items, instead of a primary tint.
1917
- "&.Mui-selected, &.Mui-selected:hover, &.Mui-selected.Mui-focusVisible": {
1918
- backgroundColor: theme.vars.palette.action.selected
1919
- }
1888
+ marginBottom: "2px"
1920
1889
  })
1921
1890
  }
1922
1891
  },
1923
- // ComplexSelect options match the Select's options: neutral hover and selected fills instead of
1924
- // the component's primary tint
1925
- MuiComplexSelectMenuItem: {
1892
+ MuiPaper: {
1926
1893
  styleOverrides: {
1927
1894
  root: ({ theme }) => ({
1928
- "&:hover": {
1929
- backgroundColor: theme.vars.palette.action.hover
1930
- },
1931
- "&.Mui-selected, &.Mui-selected:hover, &.Mui-selected.Mui-focusVisible": {
1932
- backgroundColor: theme.vars.palette.action.selected
1933
- }
1895
+ borderRadius: theme.shape.borderRadius,
1896
+ WebkitBackdropFilter: theme.blur.light,
1897
+ backdropFilter: theme.blur.light,
1898
+ border: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1899
+ // More transparent for direct Paper component usage
1900
+ backgroundColor: theme.vars.palette.background.acrylic,
1901
+ boxShadow: theme.shadows[1]
1934
1902
  })
1935
1903
  }
1936
1904
  },
1937
- // The outside label matches the Select's fixed label: secondary text at regular weight, 4px
1938
- // above the field, and no colour change on focus
1939
- MuiComplexSelect: {
1905
+ MuiPopover: {
1940
1906
  styleOverrides: {
1941
- // Focus is a 1.5px text-colour border in every label mode, not Cobalt. With the label outside
1942
- // or inside, the field also gets the Select's fixed-label ring. A ring would cut through a
1943
- // border label, and a field without a label gets none, like a Select without one.
1944
- root: ({ theme, labelAnchor }) => __spreadValues({
1945
- "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
1946
- borderWidth: 1.5
1947
- },
1948
- "&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
1949
- borderColor: theme.vars.palette.text.primary
1950
- }
1951
- }, (labelAnchor === "outside" || labelAnchor === "inside") && {
1952
- "&.Mui-focused": {
1953
- boxShadow: `0 0 0 3px ${ChoreoLabsColors.cobalt}40`
1954
- },
1955
- "&.Mui-focused.Mui-error": {
1956
- boxShadow: `0 0 0 3px rgba(${theme.vars.palette.error.mainChannel} / 0.25)`
1957
- }
1958
- }),
1959
- inputLabel: ({ theme, labelAnchor }) => labelAnchor === "outside" ? {
1960
- color: theme.vars.palette.text.secondary,
1961
- fontWeight: theme.typography.fontWeightRegular,
1962
- marginBottom: 4,
1963
- "&.Mui-focused": {
1964
- color: theme.vars.palette.text.secondary
1965
- }
1966
- } : {}
1907
+ paper: ({ theme }) => ({
1908
+ backgroundColor: theme.vars.palette.background.paper,
1909
+ WebkitBackdropFilter: theme.blur.medium,
1910
+ backdropFilter: theme.blur.medium,
1911
+ backgroundImage: "none"
1912
+ })
1967
1913
  }
1968
1914
  },
1969
- // A search bar without a floating label takes the fixed-label text input ring on focus. With a
1970
- // floating label it doesn't: a box-shadow would cut through the label's notch.
1971
- MuiSearchBar: {
1915
+ MuiAutocomplete: {
1972
1916
  styleOverrides: {
1973
- root: ({ theme }) => ({
1974
- "&:not(:has(> .MuiInputLabel-root)) > .MuiOutlinedInput-root.Mui-focused": {
1975
- boxShadow: `0 0 0 3px ${ChoreoLabsColors.cobalt}40`
1976
- },
1977
- "&:not(:has(> .MuiInputLabel-root)) > .MuiOutlinedInput-root.Mui-focused.Mui-error": {
1978
- boxShadow: `0 0 0 3px rgba(${theme.vars.palette.error.mainChannel} / 0.25)`
1979
- }
1917
+ paper: ({ theme }) => ({
1918
+ backgroundColor: theme.vars.palette.background.paper,
1919
+ WebkitBackdropFilter: theme.blur.medium,
1920
+ backdropFilter: theme.blur.medium,
1921
+ backgroundImage: "none"
1980
1922
  })
1981
1923
  }
1982
1924
  },
1983
- // Links without a `color` take the default text colour and turn orange on hover; links with a
1984
- // palette `color` use the brand colour for it. The underline follows the `underline` prop, so
1985
- // `none` never underlines; links default to underlining on hover.
1986
- MuiLink: {
1987
- defaultProps: {
1988
- color: "textPrimary",
1989
- underline: "hover"
1990
- },
1925
+ MuiCard: {
1991
1926
  styleOverrides: {
1992
- root: ({ theme }) => {
1993
- var _a;
1994
- return {
1995
- variants: [
1996
- {
1997
- props: { color: "textPrimary" },
1998
- style: {
1999
- "&:hover": {
2000
- color: (_a = theme.vars.palette.Link) == null ? void 0 : _a.hoverColor
2001
- }
2002
- }
2003
- },
2004
- ...linkColors.map((color) => {
2005
- var _a2;
2006
- return {
2007
- props: { color },
2008
- style: {
2009
- color: (_a2 = theme.vars.palette.Link) == null ? void 0 : _a2[`${color}Color`]
2010
- }
2011
- };
2012
- })
2013
- ],
2014
- "&.Mui-focusVisible, &:focus-visible": {
2015
- outline: `2px solid ${ChoreoLabsColors.cobalt}`,
2016
- outlineOffset: 2
2017
- }
2018
- };
2019
- }
1927
+ root: ({ theme }) => ({
1928
+ // More transparent for Card component
1929
+ backgroundColor: theme.vars.palette.background.acrylic
1930
+ })
2020
1931
  }
2021
1932
  },
2022
- // The footer styles its links itself, so they need the same colours here
2023
- MuiFooter: {
1933
+ MuiTextField: {
1934
+ defaultProps: { size: "small" }
1935
+ },
1936
+ MuiOutlinedInput: {
2024
1937
  styleOverrides: {
2025
- link: ({ theme }) => {
2026
- var _a;
2027
- return {
2028
- color: theme.vars.palette.text.primary,
2029
- "&:hover": {
2030
- color: (_a = theme.vars.palette.Link) == null ? void 0 : _a.hoverColor
2031
- }
2032
- };
2033
- }
1938
+ root: ({ theme }) => ({
1939
+ fontSize: theme.typography.body2.fontSize,
1940
+ borderRadius: 8,
1941
+ backgroundColor: theme.vars.palette.background.acrylic
1942
+ }),
1943
+ notchedOutline: ({ theme }) => ({
1944
+ borderWidth: 1,
1945
+ borderColor: theme.vars.palette.divider
1946
+ })
2034
1947
  }
2035
1948
  },
2036
- // Slash separated, with 10px either side of the slash. Replaces the base theme's li and
2037
- // separator styles, so the current level isn't bold and dark-mode parents aren't dimmed.
2038
- MuiBreadcrumbs: {
1949
+ MuiMenuItem: {
2039
1950
  styleOverrides: {
2040
- root: breadcrumbText,
2041
- // Breadcrumb children are the app's own Link and Typography elements, so they're styled here
2042
- // to match AppBreadcrumbs: caption text, and parent links that turn orange with no underline.
2043
- li: ({ theme }) => {
2044
- var _a, _b, _c;
2045
- return {
2046
- color: (_a = theme.vars.palette.Breadcrumbs) == null ? void 0 : _a.linkColor,
2047
- "&:last-child": {
2048
- color: theme.vars.palette.text.primary
2049
- },
2050
- "& > .MuiTypography-root": {
2051
- fontSize: "inherit",
2052
- fontWeight: "inherit",
2053
- lineHeight: "inherit",
2054
- letterSpacing: "inherit"
2055
- },
2056
- "&:not(:last-child) > .MuiLink-root": {
2057
- color: (_b = theme.vars.palette.Breadcrumbs) == null ? void 0 : _b.linkColor,
2058
- textDecoration: "none",
2059
- "&:hover": {
2060
- color: (_c = theme.vars.palette.Breadcrumbs) == null ? void 0 : _c.linkHoverColor,
2061
- textDecoration: "none"
2062
- }
2063
- }
2064
- };
2065
- },
2066
- separator: ({ theme }) => {
2067
- var _a;
2068
- return {
2069
- marginLeft: 10,
2070
- marginRight: 10,
2071
- color: (_a = theme.vars.palette.Breadcrumbs) == null ? void 0 : _a.separatorColor
2072
- };
2073
- }
1951
+ root: ({ theme }) => ({
1952
+ fontSize: theme.typography.body2.fontSize
1953
+ })
2074
1954
  }
2075
1955
  },
2076
- MuiAppBreadcrumbs: {
2077
- defaultProps: {
2078
- separator: "/"
2079
- },
1956
+ MuiLink: {
2080
1957
  styleOverrides: {
2081
- // MUI also resolves this with the root's props, where there is no item ownerState
2082
- item: ({ theme, ownerState }) => {
2083
- var _a, _b;
2084
- return __spreadValues(__spreadValues(__spreadValues({}, breadcrumbText), (ownerState == null ? void 0 : ownerState.isLast) && {
2085
- color: theme.vars.palette.text.primary
2086
- }), (ownerState == null ? void 0 : ownerState.isClickable) && {
2087
- color: (_a = theme.vars.palette.Breadcrumbs) == null ? void 0 : _a.linkColor,
2088
- "&:hover": {
2089
- textDecoration: "none",
2090
- color: (_b = theme.vars.palette.Breadcrumbs) == null ? void 0 : _b.linkHoverColor
2091
- }
2092
- });
2093
- },
2094
- ellipsis: __spreadValues({}, breadcrumbText)
1958
+ root: ({ theme }) => ({
1959
+ color: theme.palette.primary.main,
1960
+ textDecoration: "none",
1961
+ "&:hover": {
1962
+ color: theme.palette.primary.dark,
1963
+ textDecoration: "underline"
1964
+ }
1965
+ })
2095
1966
  }
2096
1967
  },
2097
1968
  MuiListItemButton: {
@@ -2099,9 +1970,10 @@ var ChoreoLabsThemeConfig = {
2099
1970
  root: ({ theme }) => ({
2100
1971
  borderRadius: 8,
2101
1972
  "&.Mui-selected": {
2102
- backgroundColor: theme.vars.palette.action.selected,
1973
+ // Use CSS variable - automatically adapts to color scheme
1974
+ backgroundColor: theme.palette.action.selected,
2103
1975
  "&:hover": {
2104
- backgroundColor: theme.vars.palette.action.selected
1976
+ backgroundColor: theme.palette.action.hover
2105
1977
  }
2106
1978
  }
2107
1979
  })
@@ -2144,8 +2016,136 @@ var ChoreoLabsThemeConfig = {
2144
2016
  }
2145
2017
  }
2146
2018
  };
2147
- var ChoreoLabsTheme = createOxygenTheme(ChoreoLabsThemeConfig, OxygenThemeBase_default);
2148
- var ChoreoLabsTheme_default = ChoreoLabsTheme;
2019
+ var AcrylicBaseTheme_default = createOxygenTheme(AcrylicBaseTheme);
2020
+
2021
+ // src/styles/Themes/AcrylicOrangeTheme.ts
2022
+ init_createOxygenTheme();
2023
+ var AcrylicOrangeTheme = {
2024
+ components: {
2025
+ MuiCssBaseline: {
2026
+ styleOverrides: {
2027
+ "html[data-color-scheme='dark'] body": {
2028
+ backgroundAttachment: "fixed",
2029
+ backgroundImage: `
2030
+ radial-gradient(circle at 65% 30%, rgb(255 116 0 / 13%) 10%, rgba(0, 0, 0, 0) 60% 40%),
2031
+ radial-gradient(circle at 15% 50%, rgb(132 40 0 / 18%) 1%, rgba(0, 0, 0, 0) 40% 70%),
2032
+ radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
2033
+ `,
2034
+ backgroundBlendMode: "screen"
2035
+ },
2036
+ "html[data-color-scheme='light'] body": {
2037
+ backgroundAttachment: "fixed",
2038
+ backgroundImage: `
2039
+ radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),
2040
+ radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),
2041
+ radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
2042
+ `,
2043
+ backgroundBlendMode: "normal"
2044
+ }
2045
+ }
2046
+ }
2047
+ }
2048
+ };
2049
+ var AcrylicOrangeTheme_default = createOxygenTheme(AcrylicOrangeTheme, AcrylicBaseTheme_default);
2050
+
2051
+ // src/styles/Themes/AcrylicPurpleTheme.ts
2052
+ init_createOxygenTheme();
2053
+ var AcrylicPurpleThemeConfig = {
2054
+ colorSchemes: {
2055
+ light: {
2056
+ palette: {
2057
+ primary: {
2058
+ main: "#646cff",
2059
+ mainChannel: "100 108 255",
2060
+ light: "#8187ff",
2061
+ dark: "#4651cc",
2062
+ contrastText: "#ffffff"
2063
+ },
2064
+ action: {
2065
+ selected: "rgba(100, 108, 255, 0.16)",
2066
+ selectedOpacity: 0.16
2067
+ }
2068
+ }
2069
+ },
2070
+ dark: {
2071
+ palette: {
2072
+ primary: {
2073
+ main: "#646cff",
2074
+ mainChannel: "100 108 255",
2075
+ light: "#8187ff",
2076
+ dark: "#4651cc",
2077
+ contrastText: "#ffffff"
2078
+ },
2079
+ action: {
2080
+ selected: "rgba(100, 108, 255, 0.24)",
2081
+ selectedOpacity: 0.24
2082
+ }
2083
+ }
2084
+ }
2085
+ },
2086
+ components: {
2087
+ MuiButton: {
2088
+ styleOverrides: {
2089
+ containedPrimary: () => ({
2090
+ "&:not(:disabled)": {
2091
+ background: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%) !important",
2092
+ color: "#fff !important",
2093
+ "&:hover": {
2094
+ background: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%) !important",
2095
+ opacity: 0.9,
2096
+ color: "#fff !important"
2097
+ }
2098
+ }
2099
+ })
2100
+ }
2101
+ },
2102
+ MuiTableRow: {
2103
+ styleOverrides: {
2104
+ root: {
2105
+ "&.Mui-selected": {
2106
+ backgroundColor: "rgba(100, 108, 255, 0.16)",
2107
+ "&:hover": {
2108
+ backgroundColor: "rgba(100, 108, 255, 0.24)"
2109
+ }
2110
+ }
2111
+ }
2112
+ }
2113
+ },
2114
+ MuiCssBaseline: {
2115
+ styleOverrides: {
2116
+ "html[data-color-scheme='dark'] body": {
2117
+ backgroundAttachment: "fixed",
2118
+ backgroundImage: `
2119
+ radial-gradient(circle at 65% 30%, rgb(85 103 213 / 20%) 10%, rgba(0, 0, 0, 0) 60% 40%),
2120
+ radial-gradient(circle at 15% 50%, rgb(113 85 213 / 25%) 1%, rgba(0, 0, 0, 0) 40% 70%),
2121
+ radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
2122
+ `,
2123
+ backgroundBlendMode: "screen"
2124
+ },
2125
+ "html[data-color-scheme='light'] body": {
2126
+ backgroundAttachment: "fixed",
2127
+ backgroundImage: `
2128
+ radial-gradient(circle at 65% 30%, rgba(100, 108, 255, 0.12) 10%, rgba(255, 255, 255, 0) 40% 40%),
2129
+ radial-gradient(circle at 15% 50%, rgba(113, 85, 213, 0.15) 1%, rgba(255, 255, 255, 0) 40% 70%),
2130
+ radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
2131
+ `,
2132
+ backgroundBlendMode: "normal"
2133
+ }
2134
+ }
2135
+ }
2136
+ }
2137
+ };
2138
+ var acrylicPurpleGradient = {
2139
+ gradient: {
2140
+ primary: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%)"
2141
+ }
2142
+ };
2143
+ var AcrylicPurpleTheme = createOxygenTheme(AcrylicPurpleThemeConfig, AcrylicBaseTheme_default);
2144
+ Object.assign(AcrylicPurpleTheme, acrylicPurpleGradient);
2145
+ if (AcrylicPurpleTheme.vars) {
2146
+ Object.assign(AcrylicPurpleTheme.vars, acrylicPurpleGradient);
2147
+ }
2148
+ var AcrylicPurpleTheme_default = AcrylicPurpleTheme;
2149
2149
 
2150
2150
  // src/styles/Themes/ClassicTheme.ts
2151
2151
  init_OxygenThemeBase();
@@ -3226,7 +3226,7 @@ var defaultThemes = [
3226
3226
  {
3227
3227
  key: "default",
3228
3228
  label: "Default",
3229
- theme: AcrylicBaseTheme_default
3229
+ theme: DefaultTheme_default
3230
3230
  }
3231
3231
  ];
3232
3232
  var ThemeSwitcherContext = createContext(null);
@@ -3388,9 +3388,9 @@ function OxygenUIThemeProvider({
3388
3388
  let resolvedTheme;
3389
3389
  if (useThemeSwitching) {
3390
3390
  const selectedTheme = ((_a = themeOptions.find((t) => t.key === currentThemeKey)) == null ? void 0 : _a.theme) || ((_b = themeOptions[0]) == null ? void 0 : _b.theme);
3391
- resolvedTheme = typeof selectedTheme === "string" ? AcrylicBaseTheme_default : selectedTheme;
3391
+ resolvedTheme = typeof selectedTheme === "string" ? DefaultTheme_default : selectedTheme;
3392
3392
  } else {
3393
- resolvedTheme = theme || AcrylicBaseTheme_default;
3393
+ resolvedTheme = theme || DefaultTheme_default;
3394
3394
  }
3395
3395
  const setTheme = (themeKey) => {
3396
3396
  if (themeOptions.some((t) => t.key === themeKey)) {
@@ -6299,6 +6299,7 @@ var LogViewerStream = React13.forwardRef(function LogViewerStream2(_a, ref) {
6299
6299
  highlightedEntryId,
6300
6300
  columns,
6301
6301
  hideHeading,
6302
+ alwaysShowFilterIcons,
6302
6303
  filters,
6303
6304
  awaitingRange,
6304
6305
  filterValues,
@@ -6439,6 +6440,7 @@ var LogViewerStream = React13.forwardRef(function LogViewerStream2(_a, ref) {
6439
6440
  allLabel: (_a2 = filter.allLabel) != null ? _a2 : `Any ${filter.label.toLowerCase()}`,
6440
6441
  searchPlaceholder: filter.searchPlaceholder,
6441
6442
  noMatchLabel: filter.noMatchLabel,
6443
+ alwaysShowIcon: alwaysShowFilterIcons,
6442
6444
  disabled: loading
6443
6445
  }
6444
6446
  ),
@@ -6971,6 +6973,7 @@ var LogViewerRoot = React15.forwardRef(function LogViewerRoot2(_a, ref) {
6971
6973
  entries,
6972
6974
  columns,
6973
6975
  hideHeading = false,
6976
+ alwaysShowFilterIcons = false,
6974
6977
  children,
6975
6978
  order: orderProp,
6976
6979
  defaultOrder = "newest-first",
@@ -7000,6 +7003,7 @@ var LogViewerRoot = React15.forwardRef(function LogViewerRoot2(_a, ref) {
7000
7003
  "entries",
7001
7004
  "columns",
7002
7005
  "hideHeading",
7006
+ "alwaysShowFilterIcons",
7003
7007
  "children",
7004
7008
  "order",
7005
7009
  "defaultOrder",
@@ -7070,6 +7074,7 @@ var LogViewerRoot = React15.forwardRef(function LogViewerRoot2(_a, ref) {
7070
7074
  setTimeZone,
7071
7075
  columns,
7072
7076
  hideHeading,
7077
+ alwaysShowFilterIcons,
7073
7078
  filters,
7074
7079
  awaitingRange,
7075
7080
  filterValues,
@@ -7112,7 +7117,7 @@ var LogViewer_default = LogViewer;
7112
7117
  // src/components/PageContent/PageContent.tsx
7113
7118
  import { styled as styled13 } from "@mui/material/styles";
7114
7119
  import { Box as Box14 } from "@mui/material";
7115
- import { jsx as jsx36 } from "react/jsx-runtime";
7120
+ import { jsx as jsx36, jsxs as jsxs15 } from "react/jsx-runtime";
7116
7121
  var PageContentRoot = styled13(Box14, {
7117
7122
  name: "MuiPageContent",
7118
7123
  slot: "Root"
@@ -7126,35 +7131,48 @@ var PageContentRoot = styled13(Box14, {
7126
7131
  var PageContentInner = styled13(Box14, {
7127
7132
  name: "MuiPageContent",
7128
7133
  slot: "Inner",
7129
- shouldForwardProp: (prop) => prop !== "maxWidth" && prop !== "centered" && prop !== "fullWidth" && prop !== "noPadding"
7130
- })(({ theme, maxWidth = "1400px", centered = true, fullWidth = false, noPadding = false }) => __spreadValues(__spreadValues(__spreadValues({
7134
+ shouldForwardProp: (prop) => prop !== "maxWidth" && prop !== "centered" && prop !== "fullWidth" && prop !== "noPadding" && prop !== "withFooter"
7135
+ })(
7136
+ ({ theme, maxWidth = "1400px", centered = true, fullWidth = false, noPadding = false, withFooter = false }) => __spreadValues(__spreadValues(__spreadValues(__spreadValues({
7137
+ width: "100%"
7138
+ }, withFooter && { flex: "1 0 auto" }), !fullWidth && { maxWidth }), centered && { marginLeft: "auto", marginRight: "auto" }), !noPadding && { padding: theme.spacing(8) })
7139
+ );
7140
+ var PageContentFooter = styled13(Box14)({
7141
+ flexShrink: 0,
7142
+ marginTop: "auto",
7131
7143
  width: "100%"
7132
- }, !fullWidth && { maxWidth }), centered && { marginLeft: "auto", marginRight: "auto" }), !noPadding && { padding: theme.spacing(8) }));
7144
+ });
7133
7145
  var PageContent = (_a) => {
7134
7146
  var _b = _a, {
7135
7147
  children,
7136
7148
  maxWidth,
7137
7149
  centered,
7138
7150
  fullWidth,
7139
- noPadding
7151
+ noPadding,
7152
+ footer
7140
7153
  } = _b, props = __objRest(_b, [
7141
7154
  "children",
7142
7155
  "maxWidth",
7143
7156
  "centered",
7144
7157
  "fullWidth",
7145
- "noPadding"
7158
+ "noPadding",
7159
+ "footer"
7146
7160
  ]);
7147
- return /* @__PURE__ */ jsx36(PageContentRoot, { children: /* @__PURE__ */ jsx36(
7148
- PageContentInner,
7149
- __spreadProps(__spreadValues({
7150
- maxWidth,
7151
- centered,
7152
- fullWidth,
7153
- noPadding
7154
- }, props), {
7155
- children
7156
- })
7157
- ) });
7161
+ return /* @__PURE__ */ jsxs15(PageContentRoot, { children: [
7162
+ /* @__PURE__ */ jsx36(
7163
+ PageContentInner,
7164
+ __spreadProps(__spreadValues({
7165
+ maxWidth,
7166
+ centered,
7167
+ fullWidth,
7168
+ noPadding,
7169
+ withFooter: Boolean(footer)
7170
+ }, props), {
7171
+ children
7172
+ })
7173
+ ),
7174
+ footer && /* @__PURE__ */ jsx36(PageContentFooter, { children: footer })
7175
+ ] });
7158
7176
  };
7159
7177
  PageContent.displayName = "PageContent";
7160
7178
  var PageContent_default = PageContent;
@@ -7229,7 +7247,7 @@ var PageTitleAvatar_default = PageTitleAvatar;
7229
7247
  import { styled as styled17 } from "@mui/material/styles";
7230
7248
  import Link from "@mui/material/Link";
7231
7249
  import Box15 from "@mui/material/Box";
7232
- import { jsx as jsx40, jsxs as jsxs15 } from "react/jsx-runtime";
7250
+ import { jsx as jsx40, jsxs as jsxs16 } from "react/jsx-runtime";
7233
7251
  var PageTitleLinkStyled = styled17(Link, {
7234
7252
  name: "MuiPageTitle",
7235
7253
  slot: "Link"
@@ -7247,7 +7265,7 @@ var PageTitleLinkStyled = styled17(Link, {
7247
7265
  }));
7248
7266
  var PageTitleLink = (_a) => {
7249
7267
  var _b = _a, { children, icon } = _b, props = __objRest(_b, ["children", "icon"]);
7250
- return /* @__PURE__ */ jsxs15(PageTitleLinkStyled, __spreadProps(__spreadValues({}, props), { children: [
7268
+ return /* @__PURE__ */ jsxs16(PageTitleLinkStyled, __spreadProps(__spreadValues({}, props), { children: [
7251
7269
  icon && /* @__PURE__ */ jsx40(Box15, { component: "span", sx: { display: "inline-flex", alignItems: "center", fontSize: "1rem" }, children: icon }),
7252
7270
  children
7253
7271
  ] }));
@@ -7280,7 +7298,7 @@ import { styled as styled19 } from "@mui/material/styles";
7280
7298
  import Button4 from "@mui/material/Button";
7281
7299
  import Typography10 from "@mui/material/Typography";
7282
7300
  import { ArrowLeft } from "@wso2/oxygen-ui-icons-react";
7283
- import { jsx as jsx42, jsxs as jsxs16 } from "react/jsx-runtime";
7301
+ import { jsx as jsx42, jsxs as jsxs17 } from "react/jsx-runtime";
7284
7302
  var PageTitleBackButtonRoot = styled19("div", {
7285
7303
  name: "MuiPageTitle",
7286
7304
  slot: "BackButton"
@@ -7293,7 +7311,7 @@ var PageTitleBackButton = (_a) => {
7293
7311
  "children",
7294
7312
  "component"
7295
7313
  ]);
7296
- const button = /* @__PURE__ */ jsxs16(
7314
+ const button = /* @__PURE__ */ jsxs17(
7297
7315
  Button4,
7298
7316
  __spreadProps(__spreadValues({
7299
7317
  variant: "text",
@@ -7327,7 +7345,7 @@ PageTitleBackButton.displayName = "PageTitle.BackButton";
7327
7345
  var PageTitleBackButton_default = PageTitleBackButton;
7328
7346
 
7329
7347
  // src/components/PageTitle/PageTitle.tsx
7330
- import { jsx as jsx43, jsxs as jsxs17 } from "react/jsx-runtime";
7348
+ import { jsx as jsx43, jsxs as jsxs18 } from "react/jsx-runtime";
7331
7349
  var PageTitleRoot = styled20("div", {
7332
7350
  name: "MuiPageTitle",
7333
7351
  slot: "Root"
@@ -7418,10 +7436,10 @@ var PageTitle = (_a) => {
7418
7436
  return true;
7419
7437
  }
7420
7438
  );
7421
- return /* @__PURE__ */ jsxs17(PageTitleRoot, __spreadProps(__spreadValues({ sx }, props), { children: [
7439
+ return /* @__PURE__ */ jsxs18(PageTitleRoot, __spreadProps(__spreadValues({ sx }, props), { children: [
7422
7440
  backButtonElement && /* @__PURE__ */ jsx43(PageTitleRow1, { children: backButtonElement }),
7423
- /* @__PURE__ */ jsxs17(PageTitleRow2, { children: [
7424
- /* @__PURE__ */ jsxs17(PageTitleColumnLeft, { children: [
7441
+ /* @__PURE__ */ jsxs18(PageTitleRow2, { children: [
7442
+ /* @__PURE__ */ jsxs18(PageTitleColumnLeft, { children: [
7425
7443
  /* @__PURE__ */ jsx43(PageTitleColumn1, { children: avatar }),
7426
7444
  /* @__PURE__ */ jsx43(PageTitleColumn2, { children: otherChildren })
7427
7445
  ] }),
@@ -7449,7 +7467,7 @@ import Box16 from "@mui/material/Box";
7449
7467
  import Tooltip6 from "@mui/material/Tooltip";
7450
7468
  import Typography11 from "@mui/material/Typography";
7451
7469
  import { Clock } from "@wso2/oxygen-ui-icons-react";
7452
- import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs18 } from "react/jsx-runtime";
7470
+ import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs19 } from "react/jsx-runtime";
7453
7471
  var SIZES = {
7454
7472
  small: { variant: "caption", iconSize: 14, gap: 0.5 },
7455
7473
  medium: { variant: "body2", iconSize: 16, gap: 0.75 }
@@ -7465,7 +7483,7 @@ var RelativeTime = ({
7465
7483
  sx
7466
7484
  }) => {
7467
7485
  const { variant, iconSize, gap } = SIZES[size];
7468
- const content = /* @__PURE__ */ jsxs18(
7486
+ const content = /* @__PURE__ */ jsxs19(
7469
7487
  Box16,
7470
7488
  {
7471
7489
  sx: [
@@ -7479,8 +7497,8 @@ var RelativeTime = ({
7479
7497
  ],
7480
7498
  children: [
7481
7499
  !hideIcon && /* @__PURE__ */ jsx44(Box16, { "aria-hidden": "true", sx: { display: "inline-flex", flexShrink: 0 }, children: icon != null ? icon : /* @__PURE__ */ jsx44(Clock, { size: iconSize }) }),
7482
- /* @__PURE__ */ jsxs18(Typography11, { variant, component: "span", color: "inherit", children: [
7483
- action && /* @__PURE__ */ jsxs18(Fragment8, { children: [
7500
+ /* @__PURE__ */ jsxs19(Typography11, { variant, component: "span", color: "inherit", children: [
7501
+ action && /* @__PURE__ */ jsxs19(Fragment8, { children: [
7484
7502
  action,
7485
7503
  " "
7486
7504
  ] }),
@@ -7498,7 +7516,7 @@ RelativeTime.displayName = "RelativeTime";
7498
7516
  var RelativeTime_default = RelativeTime;
7499
7517
 
7500
7518
  // src/components/ListingCard/ListingCard.tsx
7501
- import { Fragment as Fragment9, jsx as jsx45, jsxs as jsxs19 } from "react/jsx-runtime";
7519
+ import { Fragment as Fragment9, jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
7502
7520
  var FOOTER_HEIGHT = 48;
7503
7521
  var DESCRIPTION_LINES = 2;
7504
7522
  var ACTIONS_OFFSET = 12;
@@ -7639,9 +7657,9 @@ var ListingCard = (_a) => {
7639
7657
  observer.observe(element);
7640
7658
  return () => observer.disconnect();
7641
7659
  }, [hasActions]);
7642
- const content = /* @__PURE__ */ jsxs19(Fragment9, { children: [
7643
- /* @__PURE__ */ jsxs19(CardContent, { sx: { px: 2.5, pt: 1.75, pb: 1.5 }, children: [
7644
- /* @__PURE__ */ jsxs19(Box17, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
7660
+ const content = /* @__PURE__ */ jsxs20(Fragment9, { children: [
7661
+ /* @__PURE__ */ jsxs20(CardContent, { sx: { px: 2.5, pt: 1.75, pb: 1.5 }, children: [
7662
+ /* @__PURE__ */ jsxs20(Box17, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
7645
7663
  /* @__PURE__ */ jsx45(
7646
7664
  Avatar2,
7647
7665
  {
@@ -7712,7 +7730,7 @@ var ListingCard = (_a) => {
7712
7730
  ) })
7713
7731
  ] });
7714
7732
  const highlight = { outline: "1px solid", outlineColor: "primary.main", outlineOffset: "-1px" };
7715
- return /* @__PURE__ */ jsxs19(
7733
+ return /* @__PURE__ */ jsxs20(
7716
7734
  Card,
7717
7735
  __spreadProps(__spreadValues({
7718
7736
  "data-selected": selected || void 0,
@@ -7805,7 +7823,7 @@ import FormControl from "@mui/material/FormControl";
7805
7823
  import FormLabel from "@mui/material/FormLabel";
7806
7824
  import MuiSelect2 from "@mui/material/Select";
7807
7825
  import { styled as styled21 } from "@mui/material/styles";
7808
- import { jsx as jsx46, jsxs as jsxs20 } from "react/jsx-runtime";
7826
+ import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
7809
7827
  var Placeholder = styled21("span", { name: "MuiSelect", slot: "Placeholder" })(({ theme }) => ({
7810
7828
  color: (theme.vars || theme).palette.text.secondary,
7811
7829
  ".Mui-disabled > &": {
@@ -7821,7 +7839,7 @@ function renderSelectedOptions(selected, children) {
7821
7839
  return (_a = options.find((option) => areEqualValues(value, option.props.value))) == null ? void 0 : _a.props.children;
7822
7840
  };
7823
7841
  if (!Array.isArray(selected)) return labelOf(selected);
7824
- return selected.map((value, index) => /* @__PURE__ */ jsxs20(React19.Fragment, { children: [
7842
+ return selected.map((value, index) => /* @__PURE__ */ jsxs21(React19.Fragment, { children: [
7825
7843
  index > 0 && ", ",
7826
7844
  labelOf(value)
7827
7845
  ] }, index));
@@ -7844,7 +7862,7 @@ function SelectInner(_a, ref) {
7844
7862
  if (labelPlacement !== "top" || label == null || label === "") return /* @__PURE__ */ jsx46(MuiSelect2, __spreadProps(__spreadValues({ ref }, selectProps), { label }));
7845
7863
  const id = idProp != null ? idProp : generatedId;
7846
7864
  const labelId = labelIdProp != null ? labelIdProp : `${id}-label`;
7847
- return /* @__PURE__ */ jsxs20(
7865
+ return /* @__PURE__ */ jsxs21(
7848
7866
  FormControl,
7849
7867
  {
7850
7868
  ref,
@@ -7883,11 +7901,11 @@ var Select = Object.assign(React19.forwardRef(SelectInner), { muiName: "Select"
7883
7901
  var Select_default = Select;
7884
7902
 
7885
7903
  // src/components/TextField/TextField.tsx
7886
- import { Fragment as Fragment11, jsx as jsx47, jsxs as jsxs21 } from "react/jsx-runtime";
7904
+ import { Fragment as Fragment11, jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
7887
7905
  var TextField3 = React20.forwardRef(function TextField4(_a, ref) {
7888
7906
  var _b = _a, { labelPlacement, optional = false, label: labelProp } = _b, fieldProps = __objRest(_b, ["labelPlacement", "optional", "label"]);
7889
7907
  const hasLabel = labelProp != null && labelProp !== "";
7890
- const label = optional && hasLabel && !fieldProps.required ? /* @__PURE__ */ jsxs21(Fragment11, { children: [
7908
+ const label = optional && hasLabel && !fieldProps.required ? /* @__PURE__ */ jsxs22(Fragment11, { children: [
7891
7909
  labelProp,
7892
7910
  " (Optional)"
7893
7911
  ] }) : labelProp;
@@ -7907,7 +7925,7 @@ var TextField3 = React20.forwardRef(function TextField4(_a, ref) {
7907
7925
  const id = idProp != null ? idProp : generatedId;
7908
7926
  const labelId = `${id}-label`;
7909
7927
  const fieldSlotProps = rest.select ? withSelectSlot(labelId) : slotProps;
7910
- return /* @__PURE__ */ jsxs21(FormControl2, { ref, sx, className, style, fullWidth, margin, required, error, disabled, color, children: [
7928
+ return /* @__PURE__ */ jsxs22(FormControl2, { ref, sx, className, style, fullWidth, margin, required, error, disabled, color, children: [
7911
7929
  /* @__PURE__ */ jsx47(FormLabel2, { id: labelId, htmlFor: id, error: rest.select ? false : void 0, children: label }),
7912
7930
  /* @__PURE__ */ jsx47(
7913
7931
  MuiTextField,
@@ -7931,7 +7949,7 @@ var TextField_default = TextField3;
7931
7949
 
7932
7950
  // src/components/StatCard/StatCard.tsx
7933
7951
  import { Card as Card2, CardContent as CardContent2, Box as Box18, Typography as Typography13 } from "@mui/material";
7934
- import { jsx as jsx48, jsxs as jsxs22 } from "react/jsx-runtime";
7952
+ import { jsx as jsx48, jsxs as jsxs23 } from "react/jsx-runtime";
7935
7953
  var StatCard = (_a) => {
7936
7954
  var _b = _a, {
7937
7955
  value,
@@ -7944,7 +7962,7 @@ var StatCard = (_a) => {
7944
7962
  "icon",
7945
7963
  "iconColor"
7946
7964
  ]);
7947
- return /* @__PURE__ */ jsx48(Card2, __spreadProps(__spreadValues({ variant: "outlined" }, props), { children: /* @__PURE__ */ jsx48(CardContent2, { children: /* @__PURE__ */ jsxs22(Box18, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
7965
+ return /* @__PURE__ */ jsx48(Card2, __spreadProps(__spreadValues({ variant: "outlined" }, props), { children: /* @__PURE__ */ jsx48(CardContent2, { children: /* @__PURE__ */ jsxs23(Box18, { sx: { display: "flex", alignItems: "center", gap: 2 }, children: [
7948
7966
  icon && /* @__PURE__ */ jsx48(
7949
7967
  Box18,
7950
7968
  {
@@ -7953,7 +7971,7 @@ var StatCard = (_a) => {
7953
7971
  children: icon
7954
7972
  }
7955
7973
  ),
7956
- /* @__PURE__ */ jsxs22(Box18, { children: [
7974
+ /* @__PURE__ */ jsxs23(Box18, { children: [
7957
7975
  /* @__PURE__ */ jsx48(Typography13, { variant: "h5", children: value }),
7958
7976
  /* @__PURE__ */ jsx48(Typography13, { variant: "body2", color: "text.secondary", children: label })
7959
7977
  ] })
@@ -7965,7 +7983,7 @@ var StatCard_default = StatCard;
7965
7983
  // src/components/TrialBadge/TrialBadge.tsx
7966
7984
  import React21 from "react";
7967
7985
  import { Box as Box19, Button as Button5, Card as Card3, CardContent as CardContent3, CircularProgress as CircularProgress2, LinearProgress, Popper, Typography as Typography14 } from "@mui/material";
7968
- import { Fragment as Fragment12, jsx as jsx49, jsxs as jsxs23 } from "react/jsx-runtime";
7986
+ import { Fragment as Fragment12, jsx as jsx49, jsxs as jsxs24 } from "react/jsx-runtime";
7969
7987
  function getTrialBadgeStatus(daysLeft, endingSoonThreshold = 7, criticalThreshold = 3) {
7970
7988
  if (daysLeft <= 0) return "expired";
7971
7989
  if (daysLeft <= criticalThreshold) return "critical";
@@ -8002,7 +8020,7 @@ var TrialBadgeUsageRow = ({ item, warningThreshold, criticalThreshold }) => {
8002
8020
  const tone = getUsageTone(count, item.limit, warningThreshold, criticalThreshold);
8003
8021
  const value = item.limit > 0 ? Math.min(100, count / item.limit * 100) : 0;
8004
8022
  const label = typeof item.label === "string" ? item.label : void 0;
8005
- return /* @__PURE__ */ jsxs23(
8023
+ return /* @__PURE__ */ jsxs24(
8006
8024
  Box19,
8007
8025
  {
8008
8026
  "data-tone": tone,
@@ -8024,7 +8042,7 @@ var TrialBadgeUsageRow = ({ item, warningThreshold, criticalThreshold }) => {
8024
8042
  sx: { height: 4, borderRadius: 999, bgcolor: "action.hover" }
8025
8043
  }
8026
8044
  ),
8027
- /* @__PURE__ */ jsxs23(Typography14, { variant: "caption", color: "text.secondary", sx: { textAlign: "right", fontSize: "0.75rem" }, children: [
8045
+ /* @__PURE__ */ jsxs24(Typography14, { variant: "caption", color: "text.secondary", sx: { textAlign: "right", fontSize: "0.75rem" }, children: [
8028
8046
  /* @__PURE__ */ jsx49(Box19, { component: "span", sx: { fontWeight: 700, color: "text.primary" }, children: count }),
8029
8047
  "/",
8030
8048
  item.limit
@@ -8055,7 +8073,7 @@ var TrialBadgeUsagePanel = ({ usage }) => {
8055
8073
  );
8056
8074
  const buttonLinkProps = upgradeHref ? { component: "a", href: upgradeHref } : {};
8057
8075
  const textOf = (node) => typeof node === "string" ? node : void 0;
8058
- return /* @__PURE__ */ jsxs23(
8076
+ return /* @__PURE__ */ jsxs24(
8059
8077
  Card3,
8060
8078
  {
8061
8079
  role: "group",
@@ -8106,7 +8124,7 @@ var TrialBadgeUsagePanel = ({ usage }) => {
8106
8124
  const sectionItems = itemsOf(section);
8107
8125
  const sectionCount = sumOf(sectionItems, (item) => item.count);
8108
8126
  const sectionLimit = sumOf(sectionItems, (item) => item.limit);
8109
- return /* @__PURE__ */ jsxs23(
8127
+ return /* @__PURE__ */ jsxs24(
8110
8128
  CardContent3,
8111
8129
  {
8112
8130
  role: "group",
@@ -8119,9 +8137,9 @@ var TrialBadgeUsagePanel = ({ usage }) => {
8119
8137
  borderColor: "divider"
8120
8138
  },
8121
8139
  children: [
8122
- /* @__PURE__ */ jsxs23(Box19, { sx: { display: "flex", alignItems: "baseline", justifyContent: "space-between", mb: 1 }, children: [
8140
+ /* @__PURE__ */ jsxs24(Box19, { sx: { display: "flex", alignItems: "baseline", justifyContent: "space-between", mb: 1 }, children: [
8123
8141
  /* @__PURE__ */ jsx49(Typography14, { variant: "body2", sx: { fontWeight: 700 }, children: section.title }),
8124
- section.totalSuffix ? /* @__PURE__ */ jsxs23(Typography14, { variant: "body2", color: "text.secondary", children: [
8142
+ section.totalSuffix ? /* @__PURE__ */ jsxs24(Typography14, { variant: "body2", color: "text.secondary", children: [
8125
8143
  /* @__PURE__ */ jsx49(Box19, { component: "span", sx: { fontWeight: 700, color: "text.primary" }, children: sectionCount }),
8126
8144
  " ",
8127
8145
  "of ",
@@ -8130,7 +8148,7 @@ var TrialBadgeUsagePanel = ({ usage }) => {
8130
8148
  section.totalSuffix
8131
8149
  ] }) : null
8132
8150
  ] }),
8133
- /* @__PURE__ */ jsxs23(Box19, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
8151
+ /* @__PURE__ */ jsxs24(Box19, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
8134
8152
  ((_c2 = section.items) != null ? _c2 : []).map((item, itemIndex) => {
8135
8153
  var _a3, _b3;
8136
8154
  return /* @__PURE__ */ jsx49(
@@ -8160,7 +8178,7 @@ var TrialBadgeUsagePanel = ({ usage }) => {
8160
8178
  if (group.title == null) {
8161
8179
  return /* @__PURE__ */ jsx49(React21.Fragment, { children: rows }, (_a3 = group.key) != null ? _a3 : groupIndex);
8162
8180
  }
8163
- return /* @__PURE__ */ jsxs23(
8181
+ return /* @__PURE__ */ jsxs24(
8164
8182
  Box19,
8165
8183
  {
8166
8184
  role: "group",
@@ -8187,7 +8205,7 @@ var TrialBadgeUsagePanel = ({ usage }) => {
8187
8205
  (_b2 = (_a2 = section.key) != null ? _a2 : textOf(section.title)) != null ? _b2 : index
8188
8206
  );
8189
8207
  }),
8190
- /* @__PURE__ */ jsxs23(
8208
+ /* @__PURE__ */ jsxs24(
8191
8209
  CardContent3,
8192
8210
  {
8193
8211
  sx: {
@@ -8203,7 +8221,7 @@ var TrialBadgeUsagePanel = ({ usage }) => {
8203
8221
  },
8204
8222
  children: [
8205
8223
  /* @__PURE__ */ jsx49(Typography14, { variant: "caption", color: "text.secondary", sx: { fontSize: "0.75rem" }, children: footerText }),
8206
- /* @__PURE__ */ jsxs23(
8224
+ /* @__PURE__ */ jsxs24(
8207
8225
  Button5,
8208
8226
  __spreadProps(__spreadValues({
8209
8227
  variant: "contained",
@@ -8292,7 +8310,7 @@ var TrialBadge = (_a) => {
8292
8310
  onUpgrade == null ? void 0 : onUpgrade(event);
8293
8311
  };
8294
8312
  const interactiveProps = interactive ? upgradeHref ? { component: "a", href: upgradeHref, onClick: handleClick } : { component: "button", type: "button", onClick: handleClick } : { role: "group", tabIndex: usage ? 0 : void 0 };
8295
- const badge = /* @__PURE__ */ jsxs23(
8313
+ const badge = /* @__PURE__ */ jsxs24(
8296
8314
  Box19,
8297
8315
  __spreadProps(__spreadValues(__spreadProps(__spreadValues({}, interactiveProps), {
8298
8316
  "data-status": status,
@@ -8328,7 +8346,7 @@ var TrialBadge = (_a) => {
8328
8346
  ]
8329
8347
  }), props), {
8330
8348
  children: [
8331
- /* @__PURE__ */ jsxs23(Box19, { "aria-hidden": "true", sx: { position: "relative", display: "inline-flex", flexShrink: 0 }, children: [
8349
+ /* @__PURE__ */ jsxs24(Box19, { "aria-hidden": "true", sx: { position: "relative", display: "inline-flex", flexShrink: 0 }, children: [
8332
8350
  /* @__PURE__ */ jsx49(
8333
8351
  CircularProgress2,
8334
8352
  {
@@ -8363,7 +8381,7 @@ var TrialBadge = (_a) => {
8363
8381
  }
8364
8382
  )
8365
8383
  ] }),
8366
- /* @__PURE__ */ jsxs23(Box19, { sx: { display: "flex", flexDirection: "column", lineHeight: 1.2 }, children: [
8384
+ /* @__PURE__ */ jsxs24(Box19, { sx: { display: "flex", flexDirection: "column", lineHeight: 1.2 }, children: [
8367
8385
  /* @__PURE__ */ jsx49(Typography14, { variant: "body2", sx: { fontWeight: 700, fontSize: "0.8125rem", lineHeight: 1.2 }, children: isExpired ? expiredLabel : getTitle(days) }),
8368
8386
  /* @__PURE__ */ jsx49(
8369
8387
  Typography14,
@@ -8375,7 +8393,7 @@ var TrialBadge = (_a) => {
8375
8393
  fontWeight: upgradeVisible ? 600 : 400,
8376
8394
  color: status === "active" ? "text.secondary" : `${color}.main`
8377
8395
  },
8378
- children: upgradeVisible ? /* @__PURE__ */ jsxs23(Fragment12, { children: [
8396
+ children: upgradeVisible ? /* @__PURE__ */ jsxs24(Fragment12, { children: [
8379
8397
  upgradeLabel,
8380
8398
  " \u2192"
8381
8399
  ] }) : subtitle
@@ -8386,7 +8404,7 @@ var TrialBadge = (_a) => {
8386
8404
  })
8387
8405
  );
8388
8406
  if (!usage) return badge;
8389
- return /* @__PURE__ */ jsxs23(
8407
+ return /* @__PURE__ */ jsxs24(
8390
8408
  Box19,
8391
8409
  {
8392
8410
  ref: setAnchorEl,
@@ -8425,7 +8443,7 @@ var TrialBadge_default = TrialBadge;
8425
8443
  import { useId as useId8 } from "react";
8426
8444
  import { Select as Select2, MenuItem as MenuItem4, FormControl as FormControl3, InputLabel } from "@mui/material";
8427
8445
  import { visuallyHidden as visuallyHidden2 } from "@mui/utils";
8428
- import { jsx as jsx50, jsxs as jsxs24 } from "react/jsx-runtime";
8446
+ import { jsx as jsx50, jsxs as jsxs25 } from "react/jsx-runtime";
8429
8447
  function ThemeSelect({
8430
8448
  size = "small",
8431
8449
  showLabel = false,
@@ -8438,7 +8456,7 @@ function ThemeSelect({
8438
8456
  const handleChange = (event) => {
8439
8457
  setTheme(event.target.value);
8440
8458
  };
8441
- return /* @__PURE__ */ jsxs24(FormControl3, { size, variant, sx: __spreadValues({ minWidth: 120 }, sx), children: [
8459
+ return /* @__PURE__ */ jsxs25(FormControl3, { size, variant, sx: __spreadValues({ minWidth: 120 }, sx), children: [
8442
8460
  /* @__PURE__ */ jsx50(InputLabel, { id: labelId, sx: showLabel ? void 0 : visuallyHidden2, children: label }),
8443
8461
  /* @__PURE__ */ jsx50(
8444
8462
  Select2,
@@ -8495,7 +8513,7 @@ import InputLabel2 from "@mui/material/InputLabel";
8495
8513
  import Select3 from "@mui/material/Select";
8496
8514
  import MenuItem5 from "@mui/material/MenuItem";
8497
8515
  import { ListFilter as ListFilter3 } from "@wso2/oxygen-ui-icons-react";
8498
- import { Fragment as Fragment14, jsx as jsx52, jsxs as jsxs25 } from "react/jsx-runtime";
8516
+ import { Fragment as Fragment14, jsx as jsx52, jsxs as jsxs26 } from "react/jsx-runtime";
8499
8517
  function SearchBarWithAdvancedFilter(_a) {
8500
8518
  var _b = _a, {
8501
8519
  value,
@@ -8548,7 +8566,7 @@ function SearchBarWithAdvancedFilter(_a) {
8548
8566
  handleClose();
8549
8567
  };
8550
8568
  const popoverId = open ? "advanced-search-popover" : void 0;
8551
- return /* @__PURE__ */ jsxs25(Fragment14, { children: [
8569
+ return /* @__PURE__ */ jsxs26(Fragment14, { children: [
8552
8570
  /* @__PURE__ */ jsx52(
8553
8571
  SearchBarBase,
8554
8572
  __spreadProps(__spreadValues({}, props), {
@@ -8556,7 +8574,7 @@ function SearchBarWithAdvancedFilter(_a) {
8556
8574
  onChange: handleInputChange,
8557
8575
  placeholder,
8558
8576
  sx,
8559
- endAdornment: /* @__PURE__ */ jsx52(InputAdornment3, { position: "end", sx: { m: 0 }, children: /* @__PURE__ */ jsxs25(Box20, { sx: { display: "flex", alignItems: "center", height: "100%" }, children: [
8577
+ endAdornment: /* @__PURE__ */ jsx52(InputAdornment3, { position: "end", sx: { m: 0 }, children: /* @__PURE__ */ jsxs26(Box20, { sx: { display: "flex", alignItems: "center", height: "100%" }, children: [
8560
8578
  /* @__PURE__ */ jsx52(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
8561
8579
  /* @__PURE__ */ jsx52(
8562
8580
  IconButton9,
@@ -8572,7 +8590,7 @@ function SearchBarWithAdvancedFilter(_a) {
8572
8590
  ] }) })
8573
8591
  })
8574
8592
  ),
8575
- /* @__PURE__ */ jsxs25(
8593
+ /* @__PURE__ */ jsxs26(
8576
8594
  Popover3,
8577
8595
  {
8578
8596
  id: popoverId,
@@ -8591,9 +8609,9 @@ function SearchBarWithAdvancedFilter(_a) {
8591
8609
  children: [
8592
8610
  /* @__PURE__ */ jsx52(Typography15, { variant: "subtitle2", sx: { fontWeight: 600 }, children: "Advanced search" }),
8593
8611
  /* @__PURE__ */ jsx52(Divider, { sx: { my: 1 } }),
8594
- /* @__PURE__ */ jsxs25(Stack2, { spacing: 2, marginTop: 2, children: [
8595
- /* @__PURE__ */ jsxs25(FormControl4, { fullWidth: true, size: "small", children: [
8596
- /* @__PURE__ */ jsxs25(InputLabel2, { id: "adv-filter-attribute-label", children: [
8612
+ /* @__PURE__ */ jsxs26(Stack2, { spacing: 2, marginTop: 2, children: [
8613
+ /* @__PURE__ */ jsxs26(FormControl4, { fullWidth: true, size: "small", children: [
8614
+ /* @__PURE__ */ jsxs26(InputLabel2, { id: "adv-filter-attribute-label", children: [
8597
8615
  "Filter attribute",
8598
8616
  " ",
8599
8617
  /* @__PURE__ */ jsx52(Box20, { component: "span", sx: { color: "error.main" }, children: "*" })
@@ -8609,9 +8627,9 @@ function SearchBarWithAdvancedFilter(_a) {
8609
8627
  }
8610
8628
  )
8611
8629
  ] }),
8612
- /* @__PURE__ */ jsxs25(Box20, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 2 }, children: [
8613
- /* @__PURE__ */ jsxs25(FormControl4, { fullWidth: true, size: "small", children: [
8614
- /* @__PURE__ */ jsxs25(InputLabel2, { id: "adv-filter-condition-label", children: [
8630
+ /* @__PURE__ */ jsxs26(Box20, { sx: { display: "grid", gridTemplateColumns: "1fr 1fr", gap: 2 }, children: [
8631
+ /* @__PURE__ */ jsxs26(FormControl4, { fullWidth: true, size: "small", children: [
8632
+ /* @__PURE__ */ jsxs26(InputLabel2, { id: "adv-filter-condition-label", children: [
8615
8633
  "Filter condition",
8616
8634
  " ",
8617
8635
  /* @__PURE__ */ jsx52(Box20, { component: "span", sx: { color: "error.main" }, children: "*" })
@@ -8834,7 +8852,7 @@ HeaderBrand.displayName = "HeaderBrand";
8834
8852
  import Box23 from "@mui/material/Box";
8835
8853
  import Divider2 from "@mui/material/Divider";
8836
8854
  import { styled as styled26 } from "@mui/material/styles";
8837
- import { jsx as jsx59, jsxs as jsxs26 } from "react/jsx-runtime";
8855
+ import { jsx as jsx59, jsxs as jsxs27 } from "react/jsx-runtime";
8838
8856
  var HeaderSwitchersRoot = styled26(Box23, {
8839
8857
  name: "MuiHeader",
8840
8858
  slot: "Switchers"
@@ -8863,7 +8881,7 @@ var HeaderSwitchers = ({
8863
8881
  if (minimal) {
8864
8882
  return null;
8865
8883
  }
8866
- return /* @__PURE__ */ jsxs26(HeaderSwitchersRoot, { sx, children: [
8884
+ return /* @__PURE__ */ jsxs27(HeaderSwitchersRoot, { sx, children: [
8867
8885
  showDivider && /* @__PURE__ */ jsx59(HeaderSwitchersDivider, { orientation: "vertical", flexItem: true }),
8868
8886
  children
8869
8887
  ] });
@@ -9283,7 +9301,7 @@ var ContextSwitcherLevel = React32.forwardRef(
9283
9301
  ContextSwitcherLevel.displayName = "ContextSwitcher.Level";
9284
9302
 
9285
9303
  // src/components/ContextSwitcher/ContextSwitcher.tsx
9286
- import { jsx as jsx64, jsxs as jsxs27 } from "react/jsx-runtime";
9304
+ import { jsx as jsx64, jsxs as jsxs28 } from "react/jsx-runtime";
9287
9305
  var ChainRoot = styled30(Box27, {
9288
9306
  name: "MuiContextSwitcher",
9289
9307
  slot: "Root"
@@ -9458,7 +9476,7 @@ var ContextSwitcher = React33.forwardRef(
9458
9476
  const backLabel = parentLevel ? (_a2 = parentLevel.props.backLabel) != null ? _a2 : `Go to the ${parentLevel.props.label} level` : "";
9459
9477
  const levelField = (level) => {
9460
9478
  if (parentLevel && level.props.id === joinedId) {
9461
- return /* @__PURE__ */ jsxs27(
9479
+ return /* @__PURE__ */ jsxs28(
9462
9480
  LevelGroup,
9463
9481
  {
9464
9482
  "data-context-switcher-current": "",
@@ -9633,7 +9651,7 @@ var isSafeAppUrl = (url) => {
9633
9651
 
9634
9652
  // src/components/AppSwitcher/AppSwitcherApp.tsx
9635
9653
  import { WSO2 } from "@wso2/oxygen-ui-icons-react";
9636
- import { jsx as jsx66, jsxs as jsxs28 } from "react/jsx-runtime";
9654
+ import { jsx as jsx66, jsxs as jsxs29 } from "react/jsx-runtime";
9637
9655
  var DEFAULT_UNAVAILABLE_LABEL = "Coming soon";
9638
9656
  var APP_CARD_HEIGHT = {
9639
9657
  platform: 13,
@@ -9822,7 +9840,7 @@ var AppSwitcherApp = React36.forwardRef(
9822
9840
  event.preventDefault();
9823
9841
  }
9824
9842
  };
9825
- const card = /* @__PURE__ */ jsxs28(
9843
+ const card = /* @__PURE__ */ jsxs29(
9826
9844
  AppSwitcherAppRoot,
9827
9845
  __spreadProps(__spreadValues({}, anchorProps), {
9828
9846
  ref,
@@ -9849,7 +9867,7 @@ var AppSwitcherApp = React36.forwardRef(
9849
9867
  AppSwitcherApp.displayName = "AppSwitcher.App";
9850
9868
 
9851
9869
  // src/components/AppSwitcher/AppSwitcherSection.tsx
9852
- import { jsx as jsx67, jsxs as jsxs29 } from "react/jsx-runtime";
9870
+ import { jsx as jsx67, jsxs as jsxs30 } from "react/jsx-runtime";
9853
9871
  var AppSwitcherSectionRoot = styled33(Box29, {
9854
9872
  name: "MuiAppSwitcher",
9855
9873
  slot: "Section"
@@ -9982,7 +10000,7 @@ var AppSwitcherSection = ({
9982
10000
  },
9983
10001
  index
9984
10002
  )) : children != null ? children : apps && renderAppItems(apps, { missingUrlIsUnavailable: true });
9985
- return /* @__PURE__ */ jsxs29(AppSwitcherSectionRoot, { children: [
10003
+ return /* @__PURE__ */ jsxs30(AppSwitcherSectionRoot, { children: [
9986
10004
  label && /* @__PURE__ */ jsx67(AppSwitcherSectionLabel, { id: labelId, children: label }),
9987
10005
  /* @__PURE__ */ jsx67(
9988
10006
  AppSwitcherSectionGrid,
@@ -10047,7 +10065,7 @@ var AppSwitcherFooter = ({
10047
10065
  AppSwitcherFooter.displayName = "AppSwitcher.Footer";
10048
10066
 
10049
10067
  // src/components/AppSwitcher/AppSwitcher.tsx
10050
- import { jsx as jsx69, jsxs as jsxs30 } from "react/jsx-runtime";
10068
+ import { jsx as jsx69, jsxs as jsxs31 } from "react/jsx-runtime";
10051
10069
  var AppSwitcherRoot = styled35(Popover4, {
10052
10070
  name: "MuiAppSwitcher",
10053
10071
  slot: "Root",
@@ -10099,7 +10117,7 @@ var AppSwitcher = ({
10099
10117
  (child) => React39.isValidElement(child) && child.type === AppSwitcherTrigger
10100
10118
  );
10101
10119
  const popoverChildren = childrenArray.filter((child) => child !== triggerChild);
10102
- return /* @__PURE__ */ jsxs30(AppSwitcherContext.Provider, { value: contextValue, children: [
10120
+ return /* @__PURE__ */ jsxs31(AppSwitcherContext.Provider, { value: contextValue, children: [
10103
10121
  triggerChild,
10104
10122
  /* @__PURE__ */ jsx69(
10105
10123
  AppSwitcherRoot,
@@ -10145,7 +10163,7 @@ import * as React41 from "react";
10145
10163
  import Box31 from "@mui/material/Box";
10146
10164
  import Divider3 from "@mui/material/Divider";
10147
10165
  import { styled as styled36 } from "@mui/material/styles";
10148
- import { jsx as jsx70, jsxs as jsxs31 } from "react/jsx-runtime";
10166
+ import { jsx as jsx70, jsxs as jsxs32 } from "react/jsx-runtime";
10149
10167
  var SidebarNavRoot = styled36(Box31, {
10150
10168
  name: "MuiSidebar",
10151
10169
  slot: "Nav"
@@ -10182,7 +10200,7 @@ var SidebarNav = ({
10182
10200
  }) => {
10183
10201
  const { collapsed } = useSidebar();
10184
10202
  const childArray = React41.Children.toArray(children);
10185
- return /* @__PURE__ */ jsx70(SidebarNavRoot, { component: "nav", sx, children: childArray.map((child, index) => /* @__PURE__ */ jsxs31(React41.Fragment, { children: [
10203
+ return /* @__PURE__ */ jsx70(SidebarNavRoot, { component: "nav", sx, children: childArray.map((child, index) => /* @__PURE__ */ jsxs32(React41.Fragment, { children: [
10186
10204
  index > 0 && showDividers && !collapsed && /* @__PURE__ */ jsx70(SidebarNavDivider, {}),
10187
10205
  child
10188
10206
  ] }, index)) });
@@ -10228,7 +10246,7 @@ var SidebarCategoryLabel = ({ children, sx }) => {
10228
10246
  SidebarCategoryLabel.displayName = "SidebarCategoryLabel";
10229
10247
 
10230
10248
  // src/components/Sidebar/SidebarCategory.tsx
10231
- import { jsx as jsx72, jsxs as jsxs32 } from "react/jsx-runtime";
10249
+ import { jsx as jsx72, jsxs as jsxs33 } from "react/jsx-runtime";
10232
10250
  var SidebarCategoryRoot = styled38(Box32, {
10233
10251
  name: "MuiSidebar",
10234
10252
  slot: "Category"
@@ -10258,7 +10276,7 @@ var SidebarCategory = ({
10258
10276
  sx
10259
10277
  }) => {
10260
10278
  const { labelChild, otherChildren } = separateChildren(children);
10261
- return /* @__PURE__ */ jsxs32(SidebarCategoryRoot, { sx, children: [
10279
+ return /* @__PURE__ */ jsxs33(SidebarCategoryRoot, { sx, children: [
10262
10280
  labelChild,
10263
10281
  /* @__PURE__ */ jsx72(List2, { disablePadding: true, children: otherChildren })
10264
10282
  ] });
@@ -10393,7 +10411,7 @@ var SidebarItemBadge = ({
10393
10411
  SidebarItemBadge.displayName = "SidebarItemBadge";
10394
10412
 
10395
10413
  // src/components/Sidebar/SidebarItem.tsx
10396
- import { Fragment as Fragment18, jsx as jsx77, jsxs as jsxs33 } from "react/jsx-runtime";
10414
+ import { Fragment as Fragment18, jsx as jsx77, jsxs as jsxs34 } from "react/jsx-runtime";
10397
10415
  var SidebarItemRoot = styled42(ListItem, {
10398
10416
  name: "MuiSidebar",
10399
10417
  slot: "Item"
@@ -10616,7 +10634,7 @@ var SidebarItem = ({
10616
10634
  "aria-expanded": hasNestedItems ? collapsed ? popoverOpen : isExpanded : void 0,
10617
10635
  "aria-haspopup": collapsed && hasNestedItems ? "menu" : void 0,
10618
10636
  "aria-controls": popoverOpen ? popoverId : void 0,
10619
- children: /* @__PURE__ */ jsxs33(SidebarItemProvider, { value: contextValue, children: [
10637
+ children: /* @__PURE__ */ jsxs34(SidebarItemProvider, { value: contextValue, children: [
10620
10638
  composableChildren,
10621
10639
  !collapsed && hasNestedItems && /* @__PURE__ */ jsx77(SidebarItemChevron, { "aria-hidden": "true", children: isExpanded ? /* @__PURE__ */ jsx77(ChevronUp2, { size: 16 }) : /* @__PURE__ */ jsx77(ChevronDown6, { size: 16 }) }),
10622
10640
  !collapsed && !hasNestedItems && /* @__PURE__ */ jsx77(Box33, { sx: { ml: "auto", width: 16, pl: 1 } })
@@ -10629,7 +10647,7 @@ var SidebarItem = ({
10629
10647
  onSelect == null ? void 0 : onSelect(itemId);
10630
10648
  closePopover();
10631
10649
  };
10632
- return /* @__PURE__ */ jsxs33(Fragment18, { children: [
10650
+ return /* @__PURE__ */ jsxs34(Fragment18, { children: [
10633
10651
  /* @__PURE__ */ jsx77(
10634
10652
  SidebarItemRoot,
10635
10653
  {
@@ -10670,7 +10688,7 @@ var SidebarItem = ({
10670
10688
  const childProps = child.props;
10671
10689
  const { icon, label } = extractItemContent(childProps.children);
10672
10690
  const isItemActive = activeItem === childProps.id;
10673
- return /* @__PURE__ */ jsxs33(
10691
+ return /* @__PURE__ */ jsxs34(
10674
10692
  SidebarItemPopoverButton,
10675
10693
  {
10676
10694
  selected: isItemActive,
@@ -10706,7 +10724,7 @@ SidebarItem.displayName = "SidebarItem";
10706
10724
  import Box34 from "@mui/material/Box";
10707
10725
  import Divider4 from "@mui/material/Divider";
10708
10726
  import { styled as styled43 } from "@mui/material/styles";
10709
- import { Fragment as Fragment19, jsx as jsx78, jsxs as jsxs34 } from "react/jsx-runtime";
10727
+ import { Fragment as Fragment19, jsx as jsx78, jsxs as jsxs35 } from "react/jsx-runtime";
10710
10728
  var SidebarFooterRoot = styled43(Box34, {
10711
10729
  name: "MuiSidebar",
10712
10730
  slot: "Footer"
@@ -10719,7 +10737,7 @@ var SidebarFooter = ({
10719
10737
  showDivider = true,
10720
10738
  sx
10721
10739
  }) => {
10722
- return /* @__PURE__ */ jsxs34(Fragment19, { children: [
10740
+ return /* @__PURE__ */ jsxs35(Fragment19, { children: [
10723
10741
  showDivider && /* @__PURE__ */ jsx78(Divider4, {}),
10724
10742
  /* @__PURE__ */ jsx78(SidebarFooterRoot, { sx, children })
10725
10743
  ] });
@@ -10733,7 +10751,7 @@ import ListItemButton2 from "@mui/material/ListItemButton";
10733
10751
  import Tooltip14 from "@mui/material/Tooltip";
10734
10752
  import { styled as styled44 } from "@mui/material/styles";
10735
10753
  import { PanelLeftClose, PanelLeftOpen } from "@wso2/oxygen-ui-icons-react";
10736
- import { jsx as jsx79, jsxs as jsxs35 } from "react/jsx-runtime";
10754
+ import { jsx as jsx79, jsxs as jsxs36 } from "react/jsx-runtime";
10737
10755
  var SidebarCollapseToggleButton = styled44(ListItemButton2, {
10738
10756
  name: "MuiSidebar",
10739
10757
  slot: "CollapseToggle",
@@ -10769,7 +10787,7 @@ var SidebarCollapseToggle = ({
10769
10787
  sx,
10770
10788
  "aria-label": collapsed ? label : void 0,
10771
10789
  "aria-expanded": !collapsed,
10772
- children: /* @__PURE__ */ jsxs35(
10790
+ children: /* @__PURE__ */ jsxs36(
10773
10791
  SidebarItemProvider,
10774
10792
  {
10775
10793
  value: { id: "sidebar-collapse-toggle", isActive: false, isExpanded: false, hasChildren: false, depth: 0 },
@@ -10869,7 +10887,7 @@ var SidebarUserEmail = ({
10869
10887
  SidebarUserEmail.displayName = "SidebarUserEmail";
10870
10888
 
10871
10889
  // src/components/Sidebar/SidebarUser.tsx
10872
- import { Fragment as Fragment20, jsx as jsx83, jsxs as jsxs36 } from "react/jsx-runtime";
10890
+ import { Fragment as Fragment20, jsx as jsx83, jsxs as jsxs37 } from "react/jsx-runtime";
10873
10891
  var SidebarUserRoot = styled48(Box35, {
10874
10892
  name: "MuiSidebar",
10875
10893
  slot: "User"
@@ -10948,11 +10966,11 @@ var SidebarUser = ({
10948
10966
  const { avatarChild, textChildren } = separateChildren3(children);
10949
10967
  const tooltipText = getTooltipText(children);
10950
10968
  const ownerState = { collapsed };
10951
- const content = /* @__PURE__ */ jsxs36(SidebarUserButton, { onClick, ownerState, children: [
10969
+ const content = /* @__PURE__ */ jsxs37(SidebarUserButton, { onClick, ownerState, children: [
10952
10970
  avatarChild,
10953
10971
  /* @__PURE__ */ jsx83(SidebarUserTextContainer, { collapsed, children: textChildren })
10954
10972
  ] });
10955
- return /* @__PURE__ */ jsxs36(Fragment20, { children: [
10973
+ return /* @__PURE__ */ jsxs37(Fragment20, { children: [
10956
10974
  showDivider && /* @__PURE__ */ jsx83(Divider5, {}),
10957
10975
  /* @__PURE__ */ jsx83(SidebarUserRoot, { sx, children: collapsed ? /* @__PURE__ */ jsx83(Tooltip15, { title: tooltipText, placement: "right", arrow: true, children: content }) : content })
10958
10976
  ] });
@@ -11064,7 +11082,7 @@ var useNotificationPanel = () => {
11064
11082
  import * as React50 from "react";
11065
11083
  import Box37 from "@mui/material/Box";
11066
11084
  import { styled as styled50 } from "@mui/material/styles";
11067
- import { jsx as jsx85, jsxs as jsxs37 } from "react/jsx-runtime";
11085
+ import { jsx as jsx85, jsxs as jsxs38 } from "react/jsx-runtime";
11068
11086
  var NotificationHeaderRoot = styled50(Box37, {
11069
11087
  name: "MuiNotificationPanel",
11070
11088
  slot: "Header"
@@ -11106,7 +11124,7 @@ var NotificationHeader = ({
11106
11124
  sx
11107
11125
  }) => {
11108
11126
  const { leftChildren, closeChild } = separateChildren4(children);
11109
- return /* @__PURE__ */ jsxs37(NotificationHeaderRoot, { sx, children: [
11127
+ return /* @__PURE__ */ jsxs38(NotificationHeaderRoot, { sx, children: [
11110
11128
  /* @__PURE__ */ jsx85(NotificationHeaderContent, { children: leftChildren }),
11111
11129
  closeChild
11112
11130
  ] });
@@ -11214,7 +11232,7 @@ import Tabs from "@mui/material/Tabs";
11214
11232
  import Tab from "@mui/material/Tab";
11215
11233
  import Chip5 from "@mui/material/Chip";
11216
11234
  import { styled as styled55 } from "@mui/material/styles";
11217
- import { jsx as jsx90, jsxs as jsxs38 } from "react/jsx-runtime";
11235
+ import { jsx as jsx90, jsxs as jsxs39 } from "react/jsx-runtime";
11218
11236
  var NotificationTabsRoot = styled55(Box39, {
11219
11237
  name: "MuiNotificationPanel",
11220
11238
  slot: "Tabs"
@@ -11262,7 +11280,7 @@ var NotificationTabs = ({
11262
11280
  children: tabs.map((tab, index) => /* @__PURE__ */ jsx90(
11263
11281
  Tab,
11264
11282
  {
11265
- label: /* @__PURE__ */ jsxs38(NotificationTabLabel, { children: [
11283
+ label: /* @__PURE__ */ jsxs39(NotificationTabLabel, { children: [
11266
11284
  tab.label,
11267
11285
  tab.count !== void 0 && tab.count > 0 && /* @__PURE__ */ jsx90(
11268
11286
  NotificationTabCount,
@@ -11286,7 +11304,7 @@ import Box40 from "@mui/material/Box";
11286
11304
  import Button7 from "@mui/material/Button";
11287
11305
  import { styled as styled56 } from "@mui/material/styles";
11288
11306
  import { CheckCheck, Trash2 as Trash22 } from "@wso2/oxygen-ui-icons-react";
11289
- import { jsx as jsx91, jsxs as jsxs39 } from "react/jsx-runtime";
11307
+ import { jsx as jsx91, jsxs as jsxs40 } from "react/jsx-runtime";
11290
11308
  var NotificationActionsRoot = styled56(Box40, {
11291
11309
  name: "MuiNotificationPanel",
11292
11310
  slot: "Actions"
@@ -11312,7 +11330,7 @@ var NotificationActions = ({
11312
11330
  onClearAll,
11313
11331
  sx
11314
11332
  }) => {
11315
- return /* @__PURE__ */ jsxs39(NotificationActionsRoot, { sx, children: [
11333
+ return /* @__PURE__ */ jsxs40(NotificationActionsRoot, { sx, children: [
11316
11334
  hasUnread && onMarkAllRead && /* @__PURE__ */ jsx91(
11317
11335
  NotificationActionButton,
11318
11336
  {
@@ -11341,7 +11359,7 @@ import Box41 from "@mui/material/Box";
11341
11359
  import List5 from "@mui/material/List";
11342
11360
  import Divider6 from "@mui/material/Divider";
11343
11361
  import { styled as styled57 } from "@mui/material/styles";
11344
- import { jsx as jsx92, jsxs as jsxs40 } from "react/jsx-runtime";
11362
+ import { jsx as jsx92, jsxs as jsxs41 } from "react/jsx-runtime";
11345
11363
  var NotificationListRoot = styled57(Box41, {
11346
11364
  name: "MuiNotificationPanel",
11347
11365
  slot: "List"
@@ -11355,7 +11373,7 @@ var NotificationList = ({
11355
11373
  sx
11356
11374
  }) => {
11357
11375
  const childArray = React51.Children.toArray(children);
11358
- return /* @__PURE__ */ jsx92(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx92(List5, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs40(React51.Fragment, { children: [
11376
+ return /* @__PURE__ */ jsx92(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx92(List5, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs41(React51.Fragment, { children: [
11359
11377
  child,
11360
11378
  showDividers && index < childArray.length - 1 && /* @__PURE__ */ jsx92(Divider6, {})
11361
11379
  ] }, index)) }) });
@@ -11425,7 +11443,7 @@ var NotificationItemProvider = ({ value, children }) => {
11425
11443
  };
11426
11444
 
11427
11445
  // src/components/NotificationPanel/NotificationItem.tsx
11428
- import { jsx as jsx94, jsxs as jsxs41 } from "react/jsx-runtime";
11446
+ import { jsx as jsx94, jsxs as jsxs42 } from "react/jsx-runtime";
11429
11447
  var NotificationItemRoot = styled58(ListItem3, {
11430
11448
  name: "MuiNotificationPanel",
11431
11449
  slot: "Item",
@@ -11536,15 +11554,15 @@ var NotificationItem = ({
11536
11554
  }
11537
11555
  ),
11538
11556
  sx,
11539
- children: /* @__PURE__ */ jsxs41(NotificationItemButton, { onClick: handleClick, children: [
11557
+ children: /* @__PURE__ */ jsxs42(NotificationItemButton, { onClick: handleClick, children: [
11540
11558
  avatarChild,
11541
11559
  /* @__PURE__ */ jsx94(
11542
11560
  ListItemText3,
11543
11561
  {
11544
11562
  primary: titleChild,
11545
- secondary: /* @__PURE__ */ jsxs41(Box42, { component: "span", children: [
11563
+ secondary: /* @__PURE__ */ jsxs42(Box42, { component: "span", children: [
11546
11564
  messageChild,
11547
- /* @__PURE__ */ jsxs41(NotificationItemFooter, { children: [
11565
+ /* @__PURE__ */ jsxs42(NotificationItemFooter, { children: [
11548
11566
  timestampChild,
11549
11567
  actionChild
11550
11568
  ] })
@@ -11593,7 +11611,7 @@ NotificationItemAvatar.displayName = "NotificationItemAvatar";
11593
11611
  import Box43 from "@mui/material/Box";
11594
11612
  import Typography23 from "@mui/material/Typography";
11595
11613
  import { styled as styled60 } from "@mui/material/styles";
11596
- import { jsx as jsx96, jsxs as jsxs42 } from "react/jsx-runtime";
11614
+ import { jsx as jsx96, jsxs as jsxs43 } from "react/jsx-runtime";
11597
11615
  var NotificationItemTitleRoot = styled60(Box43, {
11598
11616
  name: "MuiNotificationPanel",
11599
11617
  slot: "ItemTitle"
@@ -11626,7 +11644,7 @@ var NotificationItemTitle = ({
11626
11644
  sx
11627
11645
  }) => {
11628
11646
  const { read } = useNotificationItemContext();
11629
- return /* @__PURE__ */ jsxs42(NotificationItemTitleRoot, { sx, children: [
11647
+ return /* @__PURE__ */ jsxs43(NotificationItemTitleRoot, { sx, children: [
11630
11648
  /* @__PURE__ */ jsx96(NotificationItemTitleText, { variant: "body2", ownerState: { read }, children }),
11631
11649
  showUnreadIndicator && !read && /* @__PURE__ */ jsx96(NotificationItemUnreadDot, {})
11632
11650
  ] });
@@ -11716,7 +11734,7 @@ import Box44 from "@mui/material/Box";
11716
11734
  import Typography26 from "@mui/material/Typography";
11717
11735
  import { styled as styled64 } from "@mui/material/styles";
11718
11736
  import { BellOff } from "@wso2/oxygen-ui-icons-react";
11719
- import { jsx as jsx100, jsxs as jsxs43 } from "react/jsx-runtime";
11737
+ import { jsx as jsx100, jsxs as jsxs44 } from "react/jsx-runtime";
11720
11738
  var NotificationEmptyStateRoot = styled64(Box44, {
11721
11739
  name: "MuiNotificationPanel",
11722
11740
  slot: "EmptyState"
@@ -11742,14 +11760,14 @@ var NotificationEmptyState = ({
11742
11760
  icon,
11743
11761
  sx
11744
11762
  }) => {
11745
- return /* @__PURE__ */ jsxs43(NotificationEmptyStateRoot, { sx, children: [
11763
+ return /* @__PURE__ */ jsxs44(NotificationEmptyStateRoot, { sx, children: [
11746
11764
  icon || /* @__PURE__ */ jsx100(BellOff, { size: 48, style: { opacity: 0.3, marginBottom: 16 } }),
11747
11765
  /* @__PURE__ */ jsx100(NotificationEmptyStateMessage, { variant: "body2", children: message })
11748
11766
  ] });
11749
11767
  };
11750
11768
 
11751
11769
  // src/components/NotificationPanel/NotificationPanel.tsx
11752
- import { jsx as jsx101, jsxs as jsxs44 } from "react/jsx-runtime";
11770
+ import { jsx as jsx101, jsxs as jsxs45 } from "react/jsx-runtime";
11753
11771
  var NotificationPanelRoot = styled65(Drawer, {
11754
11772
  name: "MuiNotificationPanel",
11755
11773
  slot: "Root",
@@ -11822,7 +11840,7 @@ var NotificationPanel = ({
11822
11840
  [onClose, open, publishLiveAnnouncement]
11823
11841
  );
11824
11842
  const ownerState = { width };
11825
- return /* @__PURE__ */ jsx101(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs44(
11843
+ return /* @__PURE__ */ jsx101(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs45(
11826
11844
  NotificationPanelRoot,
11827
11845
  {
11828
11846
  anchor,
@@ -11912,7 +11930,7 @@ DrawerPanelHeader.displayName = "DrawerPanelHeader";
11912
11930
  import Box47 from "@mui/material/Box";
11913
11931
  import Typography27 from "@mui/material/Typography";
11914
11932
  import { styled as styled67 } from "@mui/material/styles";
11915
- import { jsx as jsx103, jsxs as jsxs45 } from "react/jsx-runtime";
11933
+ import { jsx as jsx103, jsxs as jsxs46 } from "react/jsx-runtime";
11916
11934
  var DrawerPanelTitleRoot = styled67(Box47, {
11917
11935
  name: "MuiDrawerPanel",
11918
11936
  slot: "Title"
@@ -11938,7 +11956,7 @@ var DrawerPanelTitle = ({
11938
11956
  sx
11939
11957
  }) => {
11940
11958
  const { titleId } = useDrawerPanel();
11941
- return /* @__PURE__ */ jsxs45(DrawerPanelTitleRoot, { sx, children: [
11959
+ return /* @__PURE__ */ jsxs46(DrawerPanelTitleRoot, { sx, children: [
11942
11960
  icon && /* @__PURE__ */ jsx103(DrawerPanelTitleIcon, { "aria-hidden": "true", children: icon }),
11943
11961
  /* @__PURE__ */ jsx103(Typography27, { id: titleId, variant: "h6", component, noWrap: true, sx: { fontWeight: 600 }, children })
11944
11962
  ] });
@@ -12208,24 +12226,28 @@ var FooterDivider = () => {
12208
12226
  FooterDivider.displayName = "Footer.Divider";
12209
12227
 
12210
12228
  // src/components/Footer/Footer.tsx
12211
- import { jsx as jsx114, jsxs as jsxs46 } from "react/jsx-runtime";
12229
+ import { jsx as jsx114, jsxs as jsxs47 } from "react/jsx-runtime";
12230
+ var SIDEBAR_FOOTER_ROW_HEIGHT = 60;
12212
12231
  var FooterRoot = styled77(Box51, {
12213
12232
  name: "MuiFooter",
12214
- slot: "Root"
12215
- })(({ theme }) => ({
12233
+ slot: "Root",
12234
+ shouldForwardProp: (prop) => prop !== "variant"
12235
+ })(({ theme, variant }) => __spreadValues({
12216
12236
  width: "100%",
12217
- paddingTop: theme.spacing(2),
12218
- paddingBottom: theme.spacing(2),
12219
12237
  paddingLeft: theme.spacing(3),
12220
12238
  paddingRight: theme.spacing(3),
12221
- marginTop: "auto",
12239
+ marginTop: "auto"
12240
+ }, variant === "plain" ? { paddingTop: 0, paddingBottom: 0, backgroundColor: "transparent" } : {
12241
+ paddingTop: theme.spacing(2),
12242
+ paddingBottom: theme.spacing(2),
12222
12243
  borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
12223
12244
  backgroundColor: (theme.vars || theme).palette.background.paper
12224
12245
  }));
12225
12246
  var FooterContent = styled77(Box51, {
12226
12247
  name: "MuiFooter",
12227
- slot: "Content"
12228
- })(({ theme }) => ({
12248
+ slot: "Content",
12249
+ shouldForwardProp: (prop) => prop !== "variant"
12250
+ })(({ theme, variant }) => __spreadValues({
12229
12251
  display: "flex",
12230
12252
  flexDirection: "column",
12231
12253
  alignItems: "flex-start",
@@ -12235,6 +12257,10 @@ var FooterContent = styled77(Box51, {
12235
12257
  flexDirection: "row",
12236
12258
  alignItems: "center"
12237
12259
  }
12260
+ }, variant === "plain" && {
12261
+ // Plus the 1px divider the sidebar draws above its row, so both dividers sit at the same height.
12262
+ minHeight: SIDEBAR_FOOTER_ROW_HEIGHT + 1,
12263
+ borderTop: `1px solid ${(theme.vars || theme).palette.divider}`
12238
12264
  }));
12239
12265
  var FooterLeft = styled77(Box51, {
12240
12266
  name: "MuiFooter",
@@ -12254,7 +12280,7 @@ var FooterRight = styled77(Box51, {
12254
12280
  gap: theme.spacing(2),
12255
12281
  flexWrap: "wrap"
12256
12282
  }));
12257
- var Footer = ({ children, sx }) => {
12283
+ var Footer = ({ children, variant = "bar", sx }) => {
12258
12284
  const childrenArray = React57.Children.toArray(children);
12259
12285
  const leftChildren = [];
12260
12286
  const rightChildren = [];
@@ -12267,7 +12293,7 @@ var Footer = ({ children, sx }) => {
12267
12293
  }
12268
12294
  }
12269
12295
  });
12270
- return /* @__PURE__ */ jsx114(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs46(FooterContent, { children: [
12296
+ return /* @__PURE__ */ jsx114(FooterRoot, { component: "footer", variant, sx, children: /* @__PURE__ */ jsxs47(FooterContent, { variant, children: [
12271
12297
  leftChildren.length > 0 && /* @__PURE__ */ jsx114(FooterLeft, { children: leftChildren }),
12272
12298
  rightChildren.length > 0 && /* @__PURE__ */ jsx114(FooterRight, { children: rightChildren })
12273
12299
  ] }) });
@@ -12321,7 +12347,7 @@ function getUserMenuAvatarProps(name, avatar) {
12321
12347
  }
12322
12348
 
12323
12349
  // src/components/UserMenu/UserMenuTrigger.tsx
12324
- import { jsx as jsx115, jsxs as jsxs47 } from "react/jsx-runtime";
12350
+ import { jsx as jsx115, jsxs as jsxs48 } from "react/jsx-runtime";
12325
12351
  var StyledTrigger = styled78(IconButton16, {
12326
12352
  name: "MuiUserMenu",
12327
12353
  slot: "Trigger",
@@ -12363,7 +12389,7 @@ var UserMenuTrigger = React59.forwardRef(
12363
12389
  const avatarProps = getUserMenuAvatarProps(name, avatar);
12364
12390
  const defaultAriaLabel = showName ? name : "Account";
12365
12391
  const resolvedAriaLabel = typeof ariaLabel === "string" && ariaLabel.trim().length > 0 ? ariaLabel : defaultAriaLabel;
12366
- return /* @__PURE__ */ jsx115(Tooltip18, { title: "Account", children: /* @__PURE__ */ jsxs47(
12392
+ return /* @__PURE__ */ jsx115(Tooltip18, { title: "Account", children: /* @__PURE__ */ jsxs48(
12367
12393
  StyledTrigger,
12368
12394
  __spreadProps(__spreadValues({}, props), {
12369
12395
  ref,
@@ -12394,7 +12420,7 @@ import Avatar6 from "@mui/material/Avatar";
12394
12420
  import Typography30 from "@mui/material/Typography";
12395
12421
  import Chip7 from "@mui/material/Chip";
12396
12422
  import { styled as styled79 } from "@mui/material/styles";
12397
- import { Fragment as Fragment22, jsx as jsx116, jsxs as jsxs48 } from "react/jsx-runtime";
12423
+ import { Fragment as Fragment22, jsx as jsx116, jsxs as jsxs49 } from "react/jsx-runtime";
12398
12424
  var StyledHeaderBox = styled79(Box52, {
12399
12425
  name: "MuiUserMenu",
12400
12426
  slot: "HeaderBox"
@@ -12468,11 +12494,11 @@ var StyledEmail = styled79(Typography30, {
12468
12494
  }));
12469
12495
  var UserMenuHeader = ({ name, email, avatar, role }) => {
12470
12496
  const avatarProps = getUserMenuAvatarProps(name, avatar);
12471
- return /* @__PURE__ */ jsxs48(Fragment22, { children: [
12472
- /* @__PURE__ */ jsx116(StyledHeaderBox, { children: /* @__PURE__ */ jsxs48(StyledHeaderContent, { children: [
12497
+ return /* @__PURE__ */ jsxs49(Fragment22, { children: [
12498
+ /* @__PURE__ */ jsx116(StyledHeaderBox, { children: /* @__PURE__ */ jsxs49(StyledHeaderContent, { children: [
12473
12499
  /* @__PURE__ */ jsx116(StyledHeaderAvatar, { src: avatarProps.src, alt: name, children: avatarProps.children }),
12474
- /* @__PURE__ */ jsxs48(StyledUserInfo, { children: [
12475
- /* @__PURE__ */ jsxs48(StyledNameRow, { children: [
12500
+ /* @__PURE__ */ jsxs49(StyledUserInfo, { children: [
12501
+ /* @__PURE__ */ jsxs49(StyledNameRow, { children: [
12476
12502
  /* @__PURE__ */ jsx116(StyledName, { variant: "subtitle2", children: name }),
12477
12503
  role && /* @__PURE__ */ jsx116(
12478
12504
  StyledRoleChip,
@@ -12500,7 +12526,7 @@ import Box53 from "@mui/material/Box";
12500
12526
  import Chip8 from "@mui/material/Chip";
12501
12527
  import { styled as styled80 } from "@mui/material/styles";
12502
12528
  import { ChevronRight as ChevronRight4 } from "@wso2/oxygen-ui-icons-react";
12503
- import { jsx as jsx117, jsxs as jsxs49 } from "react/jsx-runtime";
12529
+ import { jsx as jsx117, jsxs as jsxs50 } from "react/jsx-runtime";
12504
12530
  var StyledMenuItem2 = styled80(MenuItem7, {
12505
12531
  name: "MuiUserMenu",
12506
12532
  slot: "MenuItem"
@@ -12528,12 +12554,12 @@ var UserMenuItem = ({
12528
12554
  handleClose();
12529
12555
  onClick == null ? void 0 : onClick();
12530
12556
  };
12531
- return /* @__PURE__ */ jsxs49(StyledMenuItem2, { onClick: handleClick, children: [
12557
+ return /* @__PURE__ */ jsxs50(StyledMenuItem2, { onClick: handleClick, children: [
12532
12558
  icon && /* @__PURE__ */ jsx117(ListItemIcon3, { children: React60.isValidElement(icon) ? React60.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
12533
12559
  size: (_a = icon.props.size) != null ? _a : 18
12534
12560
  })) : icon }),
12535
12561
  /* @__PURE__ */ jsx117(ListItemText4, { primary: label }),
12536
- /* @__PURE__ */ jsxs49(Box53, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
12562
+ /* @__PURE__ */ jsxs50(Box53, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
12537
12563
  badge && /* @__PURE__ */ jsx117(
12538
12564
  StyledBillingChip,
12539
12565
  {
@@ -12554,7 +12580,7 @@ import MenuItem8 from "@mui/material/MenuItem";
12554
12580
  import ListItemIcon4 from "@mui/material/ListItemIcon";
12555
12581
  import ListItemText5 from "@mui/material/ListItemText";
12556
12582
  import { styled as styled81 } from "@mui/material/styles";
12557
- import { jsx as jsx118, jsxs as jsxs50 } from "react/jsx-runtime";
12583
+ import { jsx as jsx118, jsxs as jsxs51 } from "react/jsx-runtime";
12558
12584
  var StyledLogoutItem = styled81(MenuItem8, {
12559
12585
  name: "MuiUserMenu",
12560
12586
  slot: "LogoutItem"
@@ -12573,7 +12599,7 @@ var UserMenuLogout = ({
12573
12599
  handleClose();
12574
12600
  onClick == null ? void 0 : onClick();
12575
12601
  };
12576
- return /* @__PURE__ */ jsxs50(StyledLogoutItem, { onClick: handleClick, children: [
12602
+ return /* @__PURE__ */ jsxs51(StyledLogoutItem, { onClick: handleClick, children: [
12577
12603
  icon && /* @__PURE__ */ jsx118(ListItemIcon4, { children: React61.isValidElement(icon) ? React61.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
12578
12604
  size: (_a = icon.props.size) != null ? _a : 18
12579
12605
  })) : icon }),
@@ -12589,7 +12615,7 @@ var UserMenuDivider = () => /* @__PURE__ */ jsx119(Divider9, {});
12589
12615
  UserMenuDivider.displayName = "UserMenu.Divider";
12590
12616
 
12591
12617
  // src/components/UserMenu/UserMenu.tsx
12592
- import { jsx as jsx120, jsxs as jsxs51 } from "react/jsx-runtime";
12618
+ import { jsx as jsx120, jsxs as jsxs52 } from "react/jsx-runtime";
12593
12619
  var UserMenu = ({ children }) => {
12594
12620
  const [anchorEl, setAnchorEl] = React62.useState(null);
12595
12621
  const open = Boolean(anchorEl);
@@ -12606,7 +12632,7 @@ var UserMenu = ({ children }) => {
12606
12632
  const menuChildren = childrenArray.filter(
12607
12633
  (child) => React62.isValidElement(child) && child.type !== UserMenuTrigger
12608
12634
  );
12609
- return /* @__PURE__ */ jsxs51(UserMenuContext.Provider, { value: { open, anchorEl, handleOpen, handleClose }, children: [
12635
+ return /* @__PURE__ */ jsxs52(UserMenuContext.Provider, { value: { open, anchorEl, handleOpen, handleClose }, children: [
12610
12636
  triggerChild,
12611
12637
  /* @__PURE__ */ jsx120(
12612
12638
  Menu4,
@@ -12645,7 +12671,7 @@ import Collapse3 from "@mui/material/Collapse";
12645
12671
  import Button8 from "@mui/material/Button";
12646
12672
  import Box54 from "@mui/material/Box";
12647
12673
  import { styled as styled82 } from "@mui/material/styles";
12648
- import { jsx as jsx121, jsxs as jsxs52 } from "react/jsx-runtime";
12674
+ import { jsx as jsx121, jsxs as jsxs53 } from "react/jsx-runtime";
12649
12675
  var NotificationBannerAlert = styled82(Alert3, {
12650
12676
  name: "MuiNotificationBanner",
12651
12677
  slot: "Root"
@@ -12728,7 +12754,7 @@ var NotificationBanner = ({
12728
12754
  children: actionLabel
12729
12755
  }
12730
12756
  ) : void 0,
12731
- children: /* @__PURE__ */ jsxs52(NotificationBannerContent, { children: [
12757
+ children: /* @__PURE__ */ jsxs53(NotificationBannerContent, { children: [
12732
12758
  title && /* @__PURE__ */ jsx121(AlertTitle, { sx: { mb: 0 }, children: title }),
12733
12759
  /* @__PURE__ */ jsx121(Box54, { component: "span", children: message })
12734
12760
  ] })
@@ -12821,14 +12847,14 @@ import {
12821
12847
  } from "@mui/material";
12822
12848
  import { styled as styled84 } from "@mui/material/styles";
12823
12849
  import { useMemo as useMemo11 } from "react";
12824
- import { jsx as jsx126, jsxs as jsxs53 } from "react/jsx-runtime";
12850
+ import { jsx as jsx126, jsxs as jsxs54 } from "react/jsx-runtime";
12825
12851
  var StyledWizardActionsStack = styled84(Stack3)(() => ({
12826
12852
  justifyContent: "space-between",
12827
12853
  flexGrow: 1
12828
12854
  }));
12829
12855
  function Wizard({ steps, activeStep, actions }) {
12830
12856
  const step = useMemo11(() => activeStep < steps.length ? steps[activeStep] : null, [steps, activeStep]);
12831
- return /* @__PURE__ */ jsx126(Card7, { children: /* @__PURE__ */ jsx126(CardContent6, { children: /* @__PURE__ */ jsxs53(Stack3, { children: [
12857
+ return /* @__PURE__ */ jsx126(Card7, { children: /* @__PURE__ */ jsx126(CardContent6, { children: /* @__PURE__ */ jsxs54(Stack3, { children: [
12832
12858
  /* @__PURE__ */ jsx126(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx126(Step, { children: /* @__PURE__ */ jsx126(StepLabel, { children: step2.label }) }, step2.label)) }),
12833
12859
  /* @__PURE__ */ jsx126(Divider10, {}),
12834
12860
  /* @__PURE__ */ jsx126(Stack3, { direction: "row", children: step == null ? void 0 : step.component }),
@@ -12839,7 +12865,7 @@ function Wizard({ steps, activeStep, actions }) {
12839
12865
  // src/components/Form/ElementWrapper.tsx
12840
12866
  import { FormControl as FormControl5, FormLabel as FormLabel3 } from "@mui/material";
12841
12867
  import React64 from "react";
12842
- import { jsx as jsx127, jsxs as jsxs54 } from "react/jsx-runtime";
12868
+ import { jsx as jsx127, jsxs as jsxs55 } from "react/jsx-runtime";
12843
12869
  var ElementWrapper = (props) => {
12844
12870
  const { label, name, children } = props;
12845
12871
  const labelId = `${name}-label`;
@@ -12850,7 +12876,7 @@ var ElementWrapper = (props) => {
12850
12876
  }
12851
12877
  return child;
12852
12878
  });
12853
- return /* @__PURE__ */ jsxs54(FormControl5, { fullWidth: true, children: [
12879
+ return /* @__PURE__ */ jsxs55(FormControl5, { fullWidth: true, children: [
12854
12880
  /* @__PURE__ */ jsx127(FormLabel3, { id: labelId, htmlFor: name, focused: false, children: label }),
12855
12881
  enhancedChildren
12856
12882
  ] });
@@ -13011,7 +13037,7 @@ import IconButton17 from "@mui/material/IconButton";
13011
13037
  import { useForkRef } from "@mui/material/utils";
13012
13038
  import { styled as styled86 } from "@mui/material/styles";
13013
13039
  import { X as X7 } from "@wso2/oxygen-ui-icons-react";
13014
- import { jsx as jsx129, jsxs as jsxs55 } from "react/jsx-runtime";
13040
+ import { jsx as jsx129, jsxs as jsxs56 } from "react/jsx-runtime";
13015
13041
  var FullScreenWizardHeaderRoot = styled86("header", {
13016
13042
  name: "MuiFullScreenWizard",
13017
13043
  slot: "Header"
@@ -13059,7 +13085,7 @@ var FullScreenWizardHeader = React67.forwardRef(
13059
13085
  };
13060
13086
  }, [setHeaderHeight]);
13061
13087
  const closeButton = onClose && /* @__PURE__ */ jsx129(IconButton17, __spreadProps(__spreadValues({ edge: closePosition }, closeButtonProps), { onClick: onClose, "aria-label": closeLabel, children: closeIcon != null ? closeIcon : /* @__PURE__ */ jsx129(X7, { size: 20, "aria-hidden": "true" }) }));
13062
- return /* @__PURE__ */ jsxs55(FullScreenWizardHeaderRoot, __spreadProps(__spreadValues({ ref: handleRef }, props), { children: [
13088
+ return /* @__PURE__ */ jsxs56(FullScreenWizardHeaderRoot, __spreadProps(__spreadValues({ ref: handleRef }, props), { children: [
13063
13089
  closePosition === "start" && closeButton,
13064
13090
  /* @__PURE__ */ jsx129(FullScreenWizardHeaderContent, { children }),
13065
13091
  closePosition === "end" && closeButton
@@ -13072,7 +13098,7 @@ FullScreenWizardHeader.displayName = "FullScreenWizard.Header";
13072
13098
  import * as React68 from "react";
13073
13099
  import { styled as styled87 } from "@mui/material/styles";
13074
13100
  import { useForkRef as useForkRef2 } from "@mui/material/utils";
13075
- import { jsx as jsx130, jsxs as jsxs56 } from "react/jsx-runtime";
13101
+ import { jsx as jsx130, jsxs as jsxs57 } from "react/jsx-runtime";
13076
13102
  var FullScreenWizardContentRoot = styled87("div", {
13077
13103
  name: "MuiFullScreenWizard",
13078
13104
  slot: "Content"
@@ -13154,7 +13180,7 @@ var FullScreenWizardContent = React68.forwardRef(
13154
13180
  }, [focusKey]);
13155
13181
  const element = component != null ? component : modal ? "div" : "main";
13156
13182
  const landmarkProps = element === "main" ? { "aria-label": ariaLabelledby ? void 0 : ariaLabel, "aria-labelledby": ariaLabelledby } : {};
13157
- return /* @__PURE__ */ jsxs56(
13183
+ return /* @__PURE__ */ jsxs57(
13158
13184
  FullScreenWizardContentRoot,
13159
13185
  __spreadProps(__spreadValues(__spreadValues({
13160
13186
  as: element,
@@ -13162,7 +13188,7 @@ var FullScreenWizardContent = React68.forwardRef(
13162
13188
  tabIndex: -1
13163
13189
  }, landmarkProps), props), {
13164
13190
  children: [
13165
- /* @__PURE__ */ jsxs56(FullScreenWizardContentColumn, { ownerState: { maxWidth, align }, children: [
13191
+ /* @__PURE__ */ jsxs57(FullScreenWizardContentColumn, { ownerState: { maxWidth, align }, children: [
13166
13192
  children,
13167
13193
  footer
13168
13194
  ] }),
@@ -13285,7 +13311,7 @@ var FullScreenWizardPreview = React70.forwardRef(
13285
13311
  FullScreenWizardPreview.displayName = "FullScreenWizard.Preview";
13286
13312
 
13287
13313
  // src/components/FullScreenWizard/FullScreenWizard.tsx
13288
- import { jsx as jsx133, jsxs as jsxs57 } from "react/jsx-runtime";
13314
+ import { jsx as jsx133, jsxs as jsxs58 } from "react/jsx-runtime";
13289
13315
  var SLOT_DISPLAY_NAMES = {
13290
13316
  Progress: "FullScreenWizard.Progress",
13291
13317
  Content: "FullScreenWizard.Content",
@@ -13396,11 +13422,11 @@ var FullScreenWizardBase = React71.forwardRef(
13396
13422
  }),
13397
13423
  [onClose, resolvedCloseLabel, modal, ariaLabel, ariaLabelledby, liftFooter, footer, headerHeight]
13398
13424
  );
13399
- const layout = /* @__PURE__ */ jsx133(FullScreenWizardContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs57(FullScreenWizardRoot, __spreadProps(__spreadValues({ ref, ownerState: { modal }, sx }, rootProps), { children: [
13425
+ const layout = /* @__PURE__ */ jsx133(FullScreenWizardContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs58(FullScreenWizardRoot, __spreadProps(__spreadValues({ ref, ownerState: { modal }, sx }, rootProps), { children: [
13400
13426
  progress,
13401
- /* @__PURE__ */ jsxs57(FullScreenWizardColumns, { children: [
13427
+ /* @__PURE__ */ jsxs58(FullScreenWizardColumns, { children: [
13402
13428
  previewAtStart && preview,
13403
- /* @__PURE__ */ jsxs57(FullScreenWizardBody, { children: [
13429
+ /* @__PURE__ */ jsxs58(FullScreenWizardBody, { children: [
13404
13430
  body,
13405
13431
  isBarFooter && footer
13406
13432
  ] }),
@@ -13750,7 +13776,7 @@ var useAppShell = (options) => {
13750
13776
  };
13751
13777
 
13752
13778
  // src/components/AppShell/AppShell.tsx
13753
- import { jsx as jsx143, jsxs as jsxs58 } from "react/jsx-runtime";
13779
+ import { jsx as jsx143, jsxs as jsxs59 } from "react/jsx-runtime";
13754
13780
  var SLOT_DISPLAY_NAMES2 = {
13755
13781
  Navbar: "AppShellNavbar",
13756
13782
  Sidebar: "AppShellSidebar",
@@ -13800,11 +13826,11 @@ var AppShell = (_a) => {
13800
13826
  var _b = _a, { children, sx } = _b, shellOptions = __objRest(_b, ["children", "sx"]);
13801
13827
  const shell = useAppShell(shellOptions);
13802
13828
  const slots = extractSlots(children);
13803
- return /* @__PURE__ */ jsx143(AppShellContext.Provider, { value: shell, children: /* @__PURE__ */ jsxs58(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
13829
+ return /* @__PURE__ */ jsx143(AppShellContext.Provider, { value: shell, children: /* @__PURE__ */ jsxs59(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
13804
13830
  slots.navbar && /* @__PURE__ */ jsx143(layouts_default.Navbar, { children: slots.navbar }),
13805
- /* @__PURE__ */ jsxs58(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
13831
+ /* @__PURE__ */ jsxs59(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
13806
13832
  slots.sidebar && /* @__PURE__ */ jsx143(layouts_default.Sidebar, { children: slots.sidebar }),
13807
- /* @__PURE__ */ jsxs58(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column", overflow: "auto" }, children: [
13833
+ /* @__PURE__ */ jsxs59(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column", overflow: "auto" }, children: [
13808
13834
  /* @__PURE__ */ jsx143(Box60, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
13809
13835
  slots.footer
13810
13836
  ] })
@@ -14480,7 +14506,6 @@ export {
14480
14506
  AppBreadcrumbs,
14481
14507
  AppShell,
14482
14508
  AppSwitcher,
14483
- ChoreoLabsTheme_default as ChoreoLabsTheme,
14484
14509
  ClassicTheme_default as ClassicTheme,
14485
14510
  CodeBlock_default as CodeBlock,
14486
14511
  ColorSchemeImage,
@@ -14505,7 +14530,7 @@ export {
14505
14530
  LogViewer_default as LogViewer,
14506
14531
  NotificationBanner,
14507
14532
  NotificationPanel,
14508
- AcrylicBaseTheme_default as OxygenTheme,
14533
+ DefaultTheme_default as OxygenTheme,
14509
14534
  OxygenUIThemeProvider,
14510
14535
  PageContent_default as PageContent,
14511
14536
  PageTitle_default as PageTitle,