@wso2/oxygen-ui 0.4.0 → 0.6.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.
Files changed (41) hide show
  1. package/.ai/AGENTS.md +18 -15
  2. package/.ai/components.md +706 -73
  3. package/.ai/migration.md +4 -2
  4. package/.ai/patterns.md +20 -8
  5. package/.ai/theming.md +18 -2
  6. package/.claude/components.md +706 -73
  7. package/.claude/migration.md +4 -2
  8. package/.claude/patterns.md +20 -8
  9. package/.claude/skills/oxygen-component/SKILL.md +12 -6
  10. package/.claude/skills/oxygen-migrate/SKILL.md +5 -2
  11. package/.claude/skills/oxygen-sync/SKILL.md +157 -0
  12. package/.claude/theming.md +18 -2
  13. package/bin/cli.js +143 -43
  14. package/dist/components/ComplexSelect/ComplexSelectDivider.d.ts +3 -0
  15. package/dist/components/ComplexSelect/ComplexSelectListHeader.d.ts +3 -0
  16. package/dist/components/ComplexSelect/ComplexSelectMenuItemAvatar.d.ts +3 -0
  17. package/dist/components/ComplexSelect/ComplexSelectMenuItemIcon.d.ts +3 -0
  18. package/dist/components/ComplexSelect/ComplexSelectMenuItemText.d.ts +3 -0
  19. package/dist/components/Footer/Footer.d.ts +29 -26
  20. package/dist/components/Footer/FooterCopyright.d.ts +37 -0
  21. package/dist/components/Footer/FooterDivider.d.ts +28 -0
  22. package/dist/components/Footer/FooterLink.d.ts +38 -0
  23. package/dist/components/Footer/FooterVersion.d.ts +35 -0
  24. package/dist/components/Footer/index.d.ts +7 -0
  25. package/dist/components/UserMenu/UserMenu.d.ts +27 -32
  26. package/dist/components/UserMenu/UserMenuContext.d.ts +33 -0
  27. package/dist/components/UserMenu/UserMenuDivider.d.ts +22 -0
  28. package/dist/components/UserMenu/UserMenuHeader.d.ts +35 -0
  29. package/dist/components/UserMenu/UserMenuItem.d.ts +35 -0
  30. package/dist/components/UserMenu/UserMenuLogout.d.ts +33 -0
  31. package/dist/components/UserMenu/UserMenuTrigger.d.ts +33 -0
  32. package/dist/components/UserMenu/index.d.ts +9 -0
  33. package/dist/index.js +1480 -593
  34. package/dist/index.js.map +4 -4
  35. package/dist/styles/Themes/ChoreoTheme.d.ts +20 -0
  36. package/dist/styles/Themes/PaleBaseTheme.d.ts +25 -0
  37. package/dist/styles/Themes/PaleGray.d.ts +20 -0
  38. package/dist/styles/Themes/PaleIndigo.d.ts +20 -0
  39. package/dist/styles/Themes/index.d.ts +4 -0
  40. package/dist/utils/pxToRem.d.ts +1 -1
  41. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -130,7 +130,7 @@ var __objRest = (source, exclude) => {
130
130
  // package.json
131
131
  var package_default = {
132
132
  name: "@wso2/oxygen-ui",
133
- version: "0.4.0",
133
+ version: "0.6.0",
134
134
  description: "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
135
135
  type: "module",
136
136
  main: "./dist/index.js",
@@ -274,56 +274,66 @@ function formatRelativeTime(date) {
274
274
  }
275
275
 
276
276
  // src/utils/pxToRem.ts
277
- var pxToRem = (size) => `${size / 14}rem`;
277
+ var pxToRem = (size) => `${size / 16}rem`;
278
278
 
279
279
  // src/styles/Themes/OxygenThemeBase.ts
280
+ var OxygenUIPrimitives = {
281
+ fontSize: 14,
282
+ primaryColor: "#ff7300",
283
+ secondaryColor: "#757575"
284
+ };
280
285
  var OxygenThemeBase = extendTheme({
281
286
  cssVarPrefix: "oxygen",
282
287
  colorSchemeSelector: "data-color-scheme",
283
288
  typography: {
284
289
  fontFamily: "'Inter Variable', sans-serif",
285
290
  fontWeightRegular: 400,
286
- fontSize: 14,
291
+ fontSize: OxygenUIPrimitives.fontSize,
287
292
  h1: {
288
- fontSize: pxToRem(36),
293
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 14),
289
294
  fontWeight: 400
290
295
  },
291
296
  h2: {
292
- fontSize: pxToRem(30),
297
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 10),
293
298
  fontWeight: 400
294
299
  },
295
300
  h3: {
296
- fontSize: pxToRem(24),
301
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 8),
297
302
  fontWeight: 400
298
303
  },
299
304
  h4: {
300
- fontSize: pxToRem(18),
305
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 6),
301
306
  fontWeight: 400
302
307
  },
303
308
  h5: {
304
- fontSize: pxToRem(16),
309
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 2),
305
310
  fontWeight: 400
306
311
  },
307
312
  h6: {
308
- fontSize: pxToRem(14),
313
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize),
309
314
  fontWeight: 500
310
315
  },
311
316
  subtitle1: {
312
- fontSize: pxToRem(18)
317
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize + 4)
313
318
  },
314
319
  subtitle2: {
315
- fontSize: pxToRem(14),
320
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize),
316
321
  fontWeight: 400
317
322
  },
318
323
  body1: {
319
- fontSize: pxToRem(14)
324
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize)
320
325
  },
321
326
  body2: {
322
- fontSize: pxToRem(12),
327
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize - 1),
328
+ // Will use by the labels in the components
323
329
  fontWeight: 400
324
330
  },
331
+ button: {
332
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize),
333
+ fontWeight: 500
334
+ },
325
335
  caption: {
326
- fontSize: pxToRem(11),
336
+ fontSize: pxToRem(OxygenUIPrimitives.fontSize - 3),
327
337
  fontWeight: 400
328
338
  }
329
339
  },
@@ -332,7 +342,11 @@ var OxygenThemeBase = extendTheme({
332
342
  light: {
333
343
  palette: {
334
344
  primary: {
335
- main: "#ff7300",
345
+ main: OxygenUIPrimitives.primaryColor,
346
+ contrastText: "#ffffff"
347
+ },
348
+ secondary: {
349
+ main: OxygenUIPrimitives.secondaryColor,
336
350
  contrastText: "#ffffff"
337
351
  },
338
352
  background: {
@@ -344,7 +358,11 @@ var OxygenThemeBase = extendTheme({
344
358
  dark: {
345
359
  palette: {
346
360
  primary: {
347
- main: "#ff7300",
361
+ main: OxygenUIPrimitives.primaryColor,
362
+ contrastText: "#ffffff"
363
+ },
364
+ secondary: {
365
+ main: OxygenUIPrimitives.secondaryColor,
348
366
  contrastText: "#ffffff"
349
367
  },
350
368
  background: {
@@ -830,221 +848,959 @@ var AcrylicPurpleThemeBase = extendTheme4(AcrylicBaseTheme_default, {
830
848
  `,
831
849
  backgroundBlendMode: "screen"
832
850
  },
833
- "html[data-color-scheme='light'] body": {
834
- backgroundAttachment: "fixed",
835
- backgroundImage: `
836
- radial-gradient(circle at 65% 30%, rgba(100, 108, 255, 0.12) 10%, rgba(255, 255, 255, 0) 40% 40%),
837
- radial-gradient(circle at 15% 50%, rgba(113, 85, 213, 0.15) 1%, rgba(255, 255, 255, 0) 40% 70%),
838
- radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
839
- `,
840
- backgroundBlendMode: "normal"
851
+ "html[data-color-scheme='light'] body": {
852
+ backgroundAttachment: "fixed",
853
+ backgroundImage: `
854
+ radial-gradient(circle at 65% 30%, rgba(100, 108, 255, 0.12) 10%, rgba(255, 255, 255, 0) 40% 40%),
855
+ radial-gradient(circle at 15% 50%, rgba(113, 85, 213, 0.15) 1%, rgba(255, 255, 255, 0) 40% 70%),
856
+ radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--oxygen-palette-background-default) 100%)
857
+ `,
858
+ backgroundBlendMode: "normal"
859
+ }
860
+ }
861
+ }
862
+ }
863
+ });
864
+ var acrylicPurpleGradient = {
865
+ gradient: {
866
+ primary: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%)"
867
+ }
868
+ };
869
+ Object.assign(AcrylicPurpleThemeBase, acrylicPurpleGradient);
870
+ if (AcrylicPurpleThemeBase.vars) {
871
+ Object.assign(AcrylicPurpleThemeBase.vars, acrylicPurpleGradient);
872
+ }
873
+ var AcrylicPurpleTheme = AcrylicPurpleThemeBase;
874
+ var AcrylicPurpleTheme_default = AcrylicPurpleTheme;
875
+
876
+ // src/styles/Themes/ChoreoTheme.ts
877
+ import { extendTheme as extendTheme5 } from "@mui/material/styles";
878
+ var ChoreoThemeBase = extendTheme5(OxygenThemeBase_default, {
879
+ shape: {
880
+ borderRadius: 8
881
+ },
882
+ colorSchemes: {
883
+ light: {
884
+ palette: {
885
+ primary: {
886
+ main: "#5567d5",
887
+ mainChannel: "85 103 213",
888
+ light: "#7a8aef",
889
+ dark: "#3d4db0",
890
+ contrastText: "#ffffff"
891
+ },
892
+ secondary: {
893
+ main: "#8d91a3",
894
+ light: "#f7f8fb",
895
+ dark: "#40404b"
896
+ },
897
+ error: {
898
+ main: "#ef4444",
899
+ light: "#f87171",
900
+ dark: "#dc2626"
901
+ },
902
+ warning: {
903
+ main: "#f59e0b",
904
+ light: "#fbbf24",
905
+ dark: "#d97706"
906
+ },
907
+ success: {
908
+ main: "#22c55e",
909
+ light: "#4ade80",
910
+ dark: "#16a34a"
911
+ },
912
+ info: {
913
+ main: "#5567d5",
914
+ light: "#7a8aef",
915
+ dark: "#3d4db0"
916
+ },
917
+ background: {
918
+ default: "#f7f8fb",
919
+ paper: "#ffffff"
920
+ },
921
+ text: {
922
+ primary: "#1d2028",
923
+ secondary: "#4a4a5a",
924
+ disabled: "#9ca3af"
925
+ },
926
+ divider: "#e6e7ec",
927
+ action: {
928
+ active: "rgba(85, 103, 213, 0.56)",
929
+ hover: "rgba(85, 103, 213, 0.08)",
930
+ selected: "rgba(85, 103, 213, 0.16)",
931
+ selectedOpacity: 0.16,
932
+ focus: "rgba(85, 103, 213, 0.24)"
933
+ }
934
+ }
935
+ },
936
+ dark: {
937
+ palette: {
938
+ primary: {
939
+ main: "#6b7de0",
940
+ mainChannel: "107 125 224",
941
+ light: "#8b9aef",
942
+ dark: "#5567d5",
943
+ contrastText: "#ffffff"
944
+ },
945
+ secondary: {
946
+ main: "#4a4e5e",
947
+ light: "#6b7280",
948
+ dark: "#2d2d35"
949
+ },
950
+ error: {
951
+ main: "#f87171",
952
+ light: "#fca5a5",
953
+ dark: "#ef4444"
954
+ },
955
+ warning: {
956
+ main: "#fbbf24",
957
+ light: "#fcd34d",
958
+ dark: "#f59e0b"
959
+ },
960
+ success: {
961
+ main: "#4ade80",
962
+ light: "#86efac",
963
+ dark: "#22c55e"
964
+ },
965
+ info: {
966
+ main: "#6b7de0",
967
+ light: "#8b9aef",
968
+ dark: "#5567d5"
969
+ },
970
+ background: {
971
+ default: "#0d0d14",
972
+ paper: "#1a1a24"
973
+ },
974
+ text: {
975
+ primary: "#efefef",
976
+ secondary: "#d0d3e2",
977
+ disabled: "#6b7280"
978
+ },
979
+ divider: "#ffffff16",
980
+ action: {
981
+ active: "rgba(107, 125, 224, 0.56)",
982
+ hover: "rgba(107, 125, 224, 0.12)",
983
+ selected: "rgba(107, 125, 224, 0.24)",
984
+ selectedOpacity: 0.24,
985
+ focus: "rgba(107, 125, 224, 0.32)"
986
+ }
987
+ }
988
+ }
989
+ },
990
+ components: {
991
+ MuiButton: {
992
+ styleOverrides: {
993
+ root: {
994
+ textTransform: "none",
995
+ fontWeight: 400
996
+ },
997
+ containedPrimary: () => ({
998
+ "&:not(:disabled)": {
999
+ background: "linear-gradient(77.74deg, #4a5bc8 11.16%, #745bcc 99.55%) !important",
1000
+ color: "#fff !important",
1001
+ "&:hover": {
1002
+ background: "linear-gradient(77.74deg, #4a5bc8 11.16%, #745bcc 99.55%) !important",
1003
+ opacity: 0.9,
1004
+ color: "#fff !important"
1005
+ }
1006
+ }
1007
+ })
1008
+ }
1009
+ },
1010
+ MuiButtonBase: {
1011
+ styleOverrides: {
1012
+ root: {
1013
+ "&.Mui-focusVisible": {
1014
+ outline: "2px solid currentColor",
1015
+ outlineOffset: "2px"
1016
+ }
1017
+ }
1018
+ }
1019
+ },
1020
+ MuiPaper: {
1021
+ styleOverrides: {
1022
+ root: ({ theme }) => ({
1023
+ borderRadius: theme.shape.borderRadius,
1024
+ border: `1px solid ${theme.vars.palette.divider}`,
1025
+ boxShadow: "0 0 1px rgba(141,145,163,0.4), 0 1px 2px rgba(203,206,219,0.3)"
1026
+ })
1027
+ }
1028
+ },
1029
+ MuiAppBar: {
1030
+ styleOverrides: {
1031
+ root: ({ theme }) => ({
1032
+ backgroundColor: theme.vars.palette.background.paper,
1033
+ borderBottom: `1px solid ${theme.vars.palette.divider}`,
1034
+ boxShadow: "none"
1035
+ })
1036
+ }
1037
+ },
1038
+ MuiTextField: {
1039
+ defaultProps: { size: "small" }
1040
+ },
1041
+ MuiOutlinedInput: {
1042
+ styleOverrides: {
1043
+ root: ({ theme }) => ({
1044
+ fontSize: theme.typography.body2.fontSize
1045
+ }),
1046
+ notchedOutline: ({ theme }) => ({
1047
+ borderColor: theme.vars.palette.divider
1048
+ })
1049
+ }
1050
+ },
1051
+ MuiTableRow: {
1052
+ styleOverrides: {
1053
+ root: {
1054
+ "&.Mui-selected": {
1055
+ backgroundColor: "rgba(85, 103, 213, 0.16)",
1056
+ "&:hover": {
1057
+ backgroundColor: "rgba(85, 103, 213, 0.24)"
1058
+ }
1059
+ },
1060
+ "[data-color-scheme='dark'] &.Mui-selected": {
1061
+ backgroundColor: "rgba(107, 125, 224, 0.24)",
1062
+ "&:hover": {
1063
+ backgroundColor: "rgba(107, 125, 224, 0.32)"
1064
+ }
1065
+ }
1066
+ }
1067
+ }
1068
+ },
1069
+ MuiTooltip: {
1070
+ styleOverrides: {
1071
+ tooltip: ({ theme }) => ({
1072
+ backgroundColor: theme.vars.palette.background.paper,
1073
+ color: theme.vars.palette.text.primary,
1074
+ border: `1px solid ${theme.vars.palette.divider}`,
1075
+ fontSize: theme.typography.caption.fontSize
1076
+ })
1077
+ }
1078
+ }
1079
+ }
1080
+ });
1081
+ var choreoGradient = {
1082
+ gradient: {
1083
+ primary: "linear-gradient(77.74deg, #4a5bc8 11.16%, #745bcc 99.55%)"
1084
+ }
1085
+ };
1086
+ var choreoSyntax = {
1087
+ syntax: {
1088
+ light: {
1089
+ background: "#f8f9fc",
1090
+ text: "#1d2028",
1091
+ comment: "#8d91a3",
1092
+ keyword: "#5567d5",
1093
+ string: "#16a34a",
1094
+ function: "#745bcc",
1095
+ number: "#ea580c",
1096
+ operator: "#40404b"
1097
+ },
1098
+ dark: {
1099
+ background: "#0d0d14",
1100
+ text: "#e4e4ef",
1101
+ comment: "#6b7280",
1102
+ keyword: "#6b7de0",
1103
+ string: "#4ade80",
1104
+ function: "#a78bfa",
1105
+ number: "#fb923c",
1106
+ operator: "#d0d3e2"
1107
+ }
1108
+ }
1109
+ };
1110
+ Object.assign(ChoreoThemeBase, choreoGradient, choreoSyntax);
1111
+ if (ChoreoThemeBase.vars) {
1112
+ Object.assign(ChoreoThemeBase.vars, choreoGradient, choreoSyntax);
1113
+ }
1114
+ var ChoreoTheme = ChoreoThemeBase;
1115
+ var ChoreoTheme_default = ChoreoTheme;
1116
+
1117
+ // src/styles/Themes/ClassicTheme.ts
1118
+ import { extendTheme as extendTheme6 } from "@mui/material/styles";
1119
+ var ClassicTheme = extendTheme6(OxygenThemeBase_default, {
1120
+ shadows: Array(25).fill("none")
1121
+ });
1122
+ var ClassicTheme_default = ClassicTheme;
1123
+
1124
+ // src/styles/Themes/HighContrastTheme.ts
1125
+ import { extendTheme as extendTheme7 } from "@mui/material/styles";
1126
+ var HighContrastThemeBase = extendTheme7(OxygenThemeBase_default, {
1127
+ colorSchemes: {
1128
+ light: {
1129
+ palette: {
1130
+ primary: {
1131
+ main: "#0000FF",
1132
+ light: "#4040FF",
1133
+ dark: "#0000CC",
1134
+ contrastText: "#FFFFFF"
1135
+ },
1136
+ secondary: {
1137
+ main: "#FFD700",
1138
+ light: "#FFED4E",
1139
+ dark: "#CCB000",
1140
+ contrastText: "#000000"
1141
+ },
1142
+ background: {
1143
+ default: "#FFFFFF",
1144
+ paper: "#FFFFFF"
1145
+ },
1146
+ text: {
1147
+ primary: "#000000",
1148
+ secondary: "#000000"
1149
+ },
1150
+ divider: "#000000",
1151
+ error: {
1152
+ main: "#CC0000",
1153
+ contrastText: "#FFFFFF"
1154
+ },
1155
+ warning: {
1156
+ main: "#FF6600",
1157
+ contrastText: "#000000"
1158
+ },
1159
+ info: {
1160
+ main: "#0066CC",
1161
+ contrastText: "#FFFFFF"
1162
+ },
1163
+ success: {
1164
+ main: "#008000",
1165
+ contrastText: "#FFFFFF"
1166
+ }
1167
+ }
1168
+ },
1169
+ dark: {
1170
+ palette: {
1171
+ primary: {
1172
+ main: "#00FFFF",
1173
+ light: "#66FFFF",
1174
+ dark: "#00CCCC",
1175
+ contrastText: "#000000"
1176
+ },
1177
+ secondary: {
1178
+ main: "#FFFF00",
1179
+ light: "#FFFF66",
1180
+ dark: "#CCCC00",
1181
+ contrastText: "#000000"
1182
+ },
1183
+ background: {
1184
+ default: "#000000",
1185
+ paper: "#000000"
1186
+ },
1187
+ text: {
1188
+ primary: "#FFFFFF",
1189
+ secondary: "#FFFFFF"
1190
+ },
1191
+ divider: "#FFFFFF",
1192
+ error: {
1193
+ main: "#FF0000",
1194
+ contrastText: "#FFFFFF"
1195
+ },
1196
+ warning: {
1197
+ main: "#FF9900",
1198
+ contrastText: "#000000"
1199
+ },
1200
+ info: {
1201
+ main: "#00BFFF",
1202
+ contrastText: "#000000"
1203
+ },
1204
+ success: {
1205
+ main: "#00FF00",
1206
+ contrastText: "#000000"
1207
+ }
1208
+ }
1209
+ }
1210
+ },
1211
+ components: {
1212
+ MuiButton: {
1213
+ styleOverrides: {
1214
+ root: {
1215
+ borderRadius: 0,
1216
+ textTransform: "none",
1217
+ fontWeight: 700,
1218
+ border: "3px solid",
1219
+ "&:hover": {
1220
+ borderWidth: "3px"
1221
+ }
1222
+ },
1223
+ containedPrimary: ({ theme }) => ({
1224
+ backgroundColor: theme.vars.palette.primary.main,
1225
+ color: theme.vars.palette.primary.contrastText,
1226
+ borderColor: theme.vars.palette.primary.main,
1227
+ "&:hover": {
1228
+ backgroundColor: theme.vars.palette.primary.dark,
1229
+ borderColor: theme.vars.palette.primary.dark
1230
+ }
1231
+ }),
1232
+ contained: ({ theme }) => ({
1233
+ borderColor: theme.vars.palette.primary.main
1234
+ }),
1235
+ outlined: ({ theme }) => ({
1236
+ borderWidth: "3px",
1237
+ borderColor: theme.vars.palette.primary.main,
1238
+ "&:hover": {
1239
+ borderWidth: "3px",
1240
+ backgroundColor: theme.vars.palette.action.hover
1241
+ }
1242
+ })
1243
+ }
1244
+ },
1245
+ MuiCard: {
1246
+ styleOverrides: {
1247
+ root: {
1248
+ border: "3px solid",
1249
+ borderRadius: 0
1250
+ }
1251
+ }
1252
+ },
1253
+ MuiPaper: {
1254
+ styleOverrides: {
1255
+ root: ({ theme }) => ({
1256
+ border: `3px solid ${theme.vars.palette.divider}`,
1257
+ borderRadius: 0
1258
+ }),
1259
+ outlined: {
1260
+ borderWidth: "3px"
1261
+ }
1262
+ }
1263
+ },
1264
+ MuiTextField: {
1265
+ styleOverrides: {
1266
+ root: {
1267
+ "& .MuiOutlinedInput-root": {
1268
+ "& fieldset": {
1269
+ borderWidth: "3px"
1270
+ },
1271
+ "&:hover fieldset": {
1272
+ borderWidth: "3px"
1273
+ },
1274
+ "&.Mui-focused fieldset": {
1275
+ borderWidth: "3px"
1276
+ }
1277
+ }
1278
+ }
1279
+ }
1280
+ },
1281
+ MuiLink: {
1282
+ styleOverrides: {
1283
+ root: {
1284
+ textDecoration: "underline",
1285
+ textDecorationThickness: "2px",
1286
+ textUnderlineOffset: "4px",
1287
+ fontWeight: 700
1288
+ }
1289
+ }
1290
+ }
1291
+ }
1292
+ });
1293
+ var HighContrastTheme = HighContrastThemeBase;
1294
+ Object.assign(HighContrastTheme, {
1295
+ gradient: {
1296
+ primary: "none"
1297
+ }
1298
+ });
1299
+ if (HighContrastTheme.vars) {
1300
+ Object.assign(HighContrastTheme.vars, {
1301
+ gradient: {
1302
+ primary: "none"
1303
+ }
1304
+ });
1305
+ }
1306
+ var HighContrastTheme_default = HighContrastTheme;
1307
+
1308
+ // src/styles/Themes/PaleBaseTheme.ts
1309
+ import { extendTheme as extendTheme8 } from "@mui/material/styles";
1310
+ var PaleBaseTheme = extendTheme8(OxygenThemeBase_default, {
1311
+ shape: {
1312
+ borderRadius: 8
1313
+ },
1314
+ components: {
1315
+ MuiAvatar: {
1316
+ styleOverrides: {
1317
+ root: ({ theme }) => ({
1318
+ backgroundColor: theme.vars.palette.secondary.main,
1319
+ color: theme.vars.palette.text.primary
1320
+ })
1321
+ }
1322
+ },
1323
+ MuiButton: {
1324
+ styleOverrides: {
1325
+ root: {
1326
+ borderRadius: 4,
1327
+ textTransform: "none",
1328
+ fontWeight: 400
1329
+ },
1330
+ containedPrimary: ({ theme }) => ({
1331
+ "&:not(:disabled)": {
1332
+ // Flat design with subtle gradient
1333
+ background: `${theme.gradient.primary} !important`,
1334
+ color: `${theme.vars.palette.primary.contrastText} !important`,
1335
+ "&:hover": {
1336
+ background: `${theme.gradient.primary} !important`,
1337
+ opacity: 0.9,
1338
+ color: `${theme.vars.palette.primary.contrastText} !important`
1339
+ }
1340
+ }
1341
+ }),
1342
+ outlinedPrimary: ({ theme }) => ({
1343
+ // Flat design - solid borders and colors
1344
+ borderColor: theme.vars.palette.primary.main,
1345
+ color: theme.vars.palette.primary.main,
1346
+ "&:hover": {
1347
+ borderColor: theme.vars.palette.primary.dark,
1348
+ backgroundColor: theme.vars.palette.action.hover,
1349
+ color: theme.vars.palette.primary.dark
1350
+ }
1351
+ }),
1352
+ containedSecondary: ({ theme }) => ({
1353
+ // Flat design - solid colors
1354
+ backgroundColor: theme.vars.palette.secondary.main,
1355
+ color: theme.vars.palette.secondary.contrastText,
1356
+ "&:hover": {
1357
+ backgroundColor: theme.vars.palette.secondary.dark,
1358
+ color: theme.vars.palette.secondary.contrastText
1359
+ }
1360
+ }),
1361
+ outlinedSecondary: ({ theme }) => ({
1362
+ borderColor: theme.vars.palette.divider,
1363
+ color: theme.vars.palette.text.primary,
1364
+ "&:hover": {
1365
+ borderColor: theme.vars.palette.text.secondary,
1366
+ backgroundColor: theme.palette.action.hover
1367
+ }
1368
+ })
1369
+ }
1370
+ },
1371
+ MuiFab: {
1372
+ styleOverrides: {
1373
+ primary: ({ theme }) => ({
1374
+ // Flat design with subtle gradient
1375
+ background: theme.gradient.primary,
1376
+ color: theme.vars.palette.primary.contrastText,
1377
+ "&:hover": {
1378
+ background: theme.gradient.primary,
1379
+ opacity: 0.9,
1380
+ color: theme.vars.palette.primary.contrastText
1381
+ }
1382
+ })
1383
+ }
1384
+ },
1385
+ MuiDialog: {
1386
+ styleOverrides: {
1387
+ paper: ({ theme }) => ({
1388
+ // Flat design - no blur, solid background
1389
+ background: theme.vars.palette.background.paper
1390
+ })
1391
+ }
1392
+ },
1393
+ MuiDrawer: {
1394
+ styleOverrides: {
1395
+ paper: ({ theme }) => ({
1396
+ // Paper background is already set by colorSchemes
1397
+ background: theme.vars.palette.background.paper
1398
+ })
1399
+ }
1400
+ },
1401
+ MuiAppBar: {
1402
+ styleOverrides: {
1403
+ root: ({ theme }) => ({
1404
+ // Flat design - solid background, no blur
1405
+ backgroundColor: `${theme.vars.palette.background.paper} !important`,
1406
+ borderRadius: 0
1407
+ })
1408
+ },
1409
+ defaultProps: {
1410
+ color: "transparent"
1411
+ }
1412
+ },
1413
+ MuiFormLabel: {
1414
+ styleOverrides: {
1415
+ root: ({ theme }) => ({
1416
+ fontSize: theme.typography.body2.fontSize,
1417
+ marginBottom: "2px"
1418
+ })
1419
+ }
1420
+ },
1421
+ MuiPaper: {
1422
+ styleOverrides: {
1423
+ root: ({ theme }) => ({
1424
+ borderRadius: theme.shape.borderRadius,
1425
+ // Flat design - solid background, no blur, minimal shadow
1426
+ border: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1427
+ backgroundColor: theme.vars.palette.background.paper,
1428
+ boxShadow: "none"
1429
+ })
1430
+ }
1431
+ },
1432
+ MuiPopover: {
1433
+ styleOverrides: {
1434
+ paper: ({ theme }) => ({
1435
+ // Flat design - solid background
1436
+ background: theme.vars.palette.background.paper
1437
+ })
1438
+ }
1439
+ },
1440
+ MuiCard: {
1441
+ styleOverrides: {
1442
+ root: ({ theme }) => ({
1443
+ // Flat design - solid background
1444
+ backgroundColor: theme.vars.palette.background.paper
1445
+ })
1446
+ }
1447
+ },
1448
+ MuiTextField: {
1449
+ defaultProps: { size: "small" }
1450
+ },
1451
+ MuiOutlinedInput: {
1452
+ styleOverrides: {
1453
+ root: ({ theme }) => ({
1454
+ fontSize: theme.typography.body2.fontSize,
1455
+ borderRadius: 8,
1456
+ // Flat design - solid background
1457
+ backgroundColor: theme.vars.palette.background.paper
1458
+ }),
1459
+ notchedOutline: ({ theme }) => ({
1460
+ borderWidth: 1,
1461
+ borderColor: theme.vars.palette.divider
1462
+ })
1463
+ }
1464
+ },
1465
+ MuiMenuItem: {
1466
+ styleOverrides: {
1467
+ root: ({ theme }) => ({
1468
+ fontSize: theme.typography.body2.fontSize
1469
+ })
1470
+ }
1471
+ },
1472
+ MuiLink: {
1473
+ styleOverrides: {
1474
+ root: ({ theme }) => ({
1475
+ // Flat design - solid link colors
1476
+ color: theme.vars.palette.primary.main,
1477
+ textDecoration: "none",
1478
+ "&:hover": {
1479
+ color: theme.vars.palette.primary.dark,
1480
+ textDecoration: "underline"
1481
+ }
1482
+ })
1483
+ }
1484
+ },
1485
+ MuiListItemButton: {
1486
+ styleOverrides: {
1487
+ root: ({ theme }) => ({
1488
+ borderRadius: 8,
1489
+ "&.Mui-selected": {
1490
+ // Flat design - solid selected background
1491
+ backgroundColor: theme.vars.palette.action.selected,
1492
+ "&:hover": {
1493
+ backgroundColor: theme.vars.palette.action.hover
1494
+ }
1495
+ }
1496
+ })
1497
+ }
1498
+ },
1499
+ MuiTableRow: {
1500
+ styleOverrides: {
1501
+ root: ({ theme }) => ({
1502
+ "&.Mui-selected": {
1503
+ backgroundColor: theme.vars.palette.action.selected,
1504
+ "&:hover": {
1505
+ backgroundColor: theme.vars.palette.action.hover
1506
+ }
1507
+ }
1508
+ })
1509
+ }
1510
+ },
1511
+ MuiDataGrid: {
1512
+ styleOverrides: {
1513
+ root: ({ theme }) => ({
1514
+ border: "none",
1515
+ backgroundColor: "transparent",
1516
+ overflow: "hidden",
1517
+ "& .MuiDataGrid-columnHeaders": {
1518
+ // Flat design - solid background, no blur
1519
+ backgroundColor: theme.vars.palette.action.hover,
1520
+ borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1521
+ position: "sticky",
1522
+ top: 0,
1523
+ zIndex: 10
1524
+ },
1525
+ "& .MuiDataGrid-virtualScroller": {
1526
+ marginTop: "0 !important",
1527
+ overflow: "auto"
1528
+ }
1529
+ }),
1530
+ columnHeaders: ({ theme }) => ({
1531
+ // Flat design - solid background, no blur
1532
+ backgroundColor: theme.vars.palette.action.hover,
1533
+ borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`
1534
+ }),
1535
+ columnHeader: {
1536
+ backgroundColor: "transparent"
1537
+ },
1538
+ cell: ({ theme }) => ({
1539
+ borderBottom: `${theme.border.width} ${theme.border.style} ${theme.vars.palette.divider}`,
1540
+ backgroundColor: "transparent"
1541
+ })
1542
+ }
1543
+ }
1544
+ }
1545
+ });
1546
+ var lowColorBaseGradient = {
1547
+ gradient: {
1548
+ primary: "linear-gradient(90deg, var(--oxygen-palette-primary-main) 0%, var(--oxygen-palette-primary-dark) 100%)"
1549
+ }
1550
+ };
1551
+ Object.assign(PaleBaseTheme, lowColorBaseGradient);
1552
+ if (PaleBaseTheme.vars) {
1553
+ Object.assign(PaleBaseTheme.vars, lowColorBaseGradient);
1554
+ }
1555
+ var PaleBaseTheme_default = PaleBaseTheme;
1556
+
1557
+ // src/styles/Themes/PaleGray.ts
1558
+ import { extendTheme as extendTheme9 } from "@mui/material/styles";
1559
+ var PaleGrayTheme = extendTheme9(PaleBaseTheme_default, {
1560
+ colorSchemes: {
1561
+ light: {
1562
+ palette: {
1563
+ primary: {
1564
+ main: "#212121",
1565
+ mainChannel: "33 33 33",
1566
+ light: "#424242",
1567
+ dark: "#000000",
1568
+ contrastText: "#ffffff"
1569
+ },
1570
+ secondary: {
1571
+ main: "#757575",
1572
+ mainChannel: "117 117 117",
1573
+ light: "#9E9E9E",
1574
+ dark: "#616161",
1575
+ contrastText: "#ffffff"
1576
+ },
1577
+ background: {
1578
+ default: "#F5F5F5",
1579
+ paper: "#FFFFFF",
1580
+ acrylic: "#FFFFFF"
1581
+ },
1582
+ text: {
1583
+ primary: "#212121",
1584
+ secondary: "#757575"
1585
+ },
1586
+ divider: "#E0E0E0",
1587
+ action: {
1588
+ selected: "rgba(33, 33, 33, 0.12)",
1589
+ selectedOpacity: 0.12,
1590
+ hover: "rgba(33, 33, 33, 0.08)",
1591
+ hoverOpacity: 0.08
1592
+ },
1593
+ error: {
1594
+ main: "#D32F2F",
1595
+ light: "#EF5350",
1596
+ dark: "#C62828",
1597
+ contrastText: "#ffffff"
1598
+ },
1599
+ warning: {
1600
+ main: "#ED6C02",
1601
+ light: "#FF9800",
1602
+ dark: "#E65100",
1603
+ contrastText: "#ffffff"
1604
+ },
1605
+ info: {
1606
+ main: "#616161",
1607
+ light: "#757575",
1608
+ dark: "#424242",
1609
+ contrastText: "#ffffff"
1610
+ },
1611
+ success: {
1612
+ main: "#2E7D32",
1613
+ light: "#4CAF50",
1614
+ dark: "#1B5E20",
1615
+ contrastText: "#ffffff"
1616
+ }
1617
+ }
1618
+ },
1619
+ dark: {
1620
+ palette: {
1621
+ primary: {
1622
+ main: "#E0E0E0",
1623
+ mainChannel: "224 224 224",
1624
+ light: "#F5F5F5",
1625
+ dark: "#BDBDBD",
1626
+ contrastText: "#000000"
1627
+ },
1628
+ secondary: {
1629
+ main: "#9E9E9E",
1630
+ mainChannel: "158 158 158",
1631
+ light: "#BDBDBD",
1632
+ dark: "#757575",
1633
+ contrastText: "#000000"
1634
+ },
1635
+ background: {
1636
+ default: "#121212",
1637
+ paper: "#1E1E1E",
1638
+ acrylic: "#1E1E1E"
1639
+ },
1640
+ text: {
1641
+ primary: "#FFFFFF",
1642
+ secondary: "#B0B0B0"
1643
+ },
1644
+ divider: "#424242",
1645
+ action: {
1646
+ selected: "rgba(224, 224, 224, 0.16)",
1647
+ selectedOpacity: 0.16,
1648
+ hover: "rgba(224, 224, 224, 0.12)",
1649
+ hoverOpacity: 0.12
1650
+ },
1651
+ error: {
1652
+ main: "#EF5350",
1653
+ light: "#E57373",
1654
+ dark: "#E53935",
1655
+ contrastText: "#ffffff"
1656
+ },
1657
+ warning: {
1658
+ main: "#FFA726",
1659
+ light: "#FFB74D",
1660
+ dark: "#FB8C00",
1661
+ contrastText: "#000000"
1662
+ },
1663
+ info: {
1664
+ main: "#9E9E9E",
1665
+ light: "#BDBDBD",
1666
+ dark: "#757575",
1667
+ contrastText: "#000000"
1668
+ },
1669
+ success: {
1670
+ main: "#66BB6A",
1671
+ light: "#81C784",
1672
+ dark: "#43A047",
1673
+ contrastText: "#000000"
841
1674
  }
842
1675
  }
843
1676
  }
844
1677
  }
845
1678
  });
846
- var acrylicPurpleGradient = {
847
- gradient: {
848
- primary: "linear-gradient(77.74deg, #5567d5 11.16%, #7155d5ff 99.55%)"
849
- }
850
- };
851
- Object.assign(AcrylicPurpleThemeBase, acrylicPurpleGradient);
852
- if (AcrylicPurpleThemeBase.vars) {
853
- Object.assign(AcrylicPurpleThemeBase.vars, acrylicPurpleGradient);
854
- }
855
- var AcrylicPurpleTheme = AcrylicPurpleThemeBase;
856
- var AcrylicPurpleTheme_default = AcrylicPurpleTheme;
857
-
858
- // src/styles/Themes/ClassicTheme.ts
859
- import { extendTheme as extendTheme5 } from "@mui/material/styles";
860
- var ClassicTheme = extendTheme5(OxygenThemeBase_default, {
861
- shadows: Array(25).fill("none")
862
- });
863
- var ClassicTheme_default = ClassicTheme;
1679
+ var PaleGray_default = PaleGrayTheme;
864
1680
 
865
- // src/styles/Themes/HighContrastTheme.ts
866
- import { extendTheme as extendTheme6 } from "@mui/material/styles";
867
- var HighContrastThemeBase = extendTheme6(OxygenThemeBase_default, {
1681
+ // src/styles/Themes/PaleIndigo.ts
1682
+ import { extendTheme as extendTheme10 } from "@mui/material/styles";
1683
+ var PaleIndigoTheme = extendTheme10(PaleBaseTheme_default, {
868
1684
  colorSchemes: {
869
1685
  light: {
870
1686
  palette: {
871
1687
  primary: {
872
- main: "#0000FF",
873
- light: "#4040FF",
874
- dark: "#0000CC",
875
- contrastText: "#FFFFFF"
1688
+ main: "#5567d5",
1689
+ mainChannel: "85 103 213",
1690
+ light: "#7785dd",
1691
+ dark: "#3f4db5",
1692
+ contrastText: "#ffffff"
876
1693
  },
877
1694
  secondary: {
878
- main: "#FFD700",
879
- light: "#FFED4E",
880
- dark: "#CCB000",
881
- contrastText: "#000000"
1695
+ main: "#757575",
1696
+ mainChannel: "117 117 117",
1697
+ light: "#9E9E9E",
1698
+ dark: "#616161",
1699
+ contrastText: "#ffffff"
882
1700
  },
883
1701
  background: {
884
- default: "#FFFFFF",
885
- paper: "#FFFFFF"
1702
+ default: "#F5F5F5",
1703
+ paper: "#FFFFFF",
1704
+ acrylic: "#FFFFFF"
886
1705
  },
887
1706
  text: {
888
- primary: "#000000",
889
- secondary: "#000000"
1707
+ primary: "#212121",
1708
+ secondary: "#757575"
1709
+ },
1710
+ divider: "#E0E0E0",
1711
+ action: {
1712
+ selected: "rgba(85, 103, 213, 0.12)",
1713
+ selectedOpacity: 0.12,
1714
+ hover: "rgba(85, 103, 213, 0.08)",
1715
+ hoverOpacity: 0.08
890
1716
  },
891
- divider: "#000000",
892
1717
  error: {
893
- main: "#CC0000",
894
- contrastText: "#FFFFFF"
1718
+ main: "#D32F2F",
1719
+ light: "#EF5350",
1720
+ dark: "#C62828",
1721
+ contrastText: "#ffffff"
895
1722
  },
896
1723
  warning: {
897
- main: "#FF6600",
898
- contrastText: "#000000"
1724
+ main: "#ED6C02",
1725
+ light: "#FF9800",
1726
+ dark: "#E65100",
1727
+ contrastText: "#ffffff"
899
1728
  },
900
1729
  info: {
901
- main: "#0066CC",
902
- contrastText: "#FFFFFF"
1730
+ main: "#5567d5",
1731
+ light: "#7785dd",
1732
+ dark: "#3f4db5",
1733
+ contrastText: "#ffffff"
903
1734
  },
904
1735
  success: {
905
- main: "#008000",
906
- contrastText: "#FFFFFF"
1736
+ main: "#2E7D32",
1737
+ light: "#4CAF50",
1738
+ dark: "#1B5E20",
1739
+ contrastText: "#ffffff"
907
1740
  }
908
1741
  }
909
1742
  },
910
1743
  dark: {
911
1744
  palette: {
912
1745
  primary: {
913
- main: "#00FFFF",
914
- light: "#66FFFF",
915
- dark: "#00CCCC",
1746
+ main: "#7785dd",
1747
+ mainChannel: "119 133 221",
1748
+ light: "#99a5e5",
1749
+ dark: "#5567d5",
916
1750
  contrastText: "#000000"
917
1751
  },
918
1752
  secondary: {
919
- main: "#FFFF00",
920
- light: "#FFFF66",
921
- dark: "#CCCC00",
1753
+ main: "#9E9E9E",
1754
+ mainChannel: "158 158 158",
1755
+ light: "#BDBDBD",
1756
+ dark: "#757575",
922
1757
  contrastText: "#000000"
923
1758
  },
924
1759
  background: {
925
- default: "#000000",
926
- paper: "#000000"
1760
+ default: "#121212",
1761
+ paper: "#1E1E1E",
1762
+ acrylic: "#1E1E1E"
927
1763
  },
928
1764
  text: {
929
1765
  primary: "#FFFFFF",
930
- secondary: "#FFFFFF"
1766
+ secondary: "#B0B0B0"
1767
+ },
1768
+ divider: "#424242",
1769
+ action: {
1770
+ selected: "rgba(119, 133, 221, 0.16)",
1771
+ selectedOpacity: 0.16,
1772
+ hover: "rgba(119, 133, 221, 0.12)",
1773
+ hoverOpacity: 0.12
931
1774
  },
932
- divider: "#FFFFFF",
933
1775
  error: {
934
- main: "#FF0000",
935
- contrastText: "#FFFFFF"
1776
+ main: "#EF5350",
1777
+ light: "#E57373",
1778
+ dark: "#E53935",
1779
+ contrastText: "#ffffff"
936
1780
  },
937
1781
  warning: {
938
- main: "#FF9900",
1782
+ main: "#FFA726",
1783
+ light: "#FFB74D",
1784
+ dark: "#FB8C00",
939
1785
  contrastText: "#000000"
940
1786
  },
941
1787
  info: {
942
- main: "#00BFFF",
1788
+ main: "#7785dd",
1789
+ light: "#99a5e5",
1790
+ dark: "#5567d5",
943
1791
  contrastText: "#000000"
944
1792
  },
945
1793
  success: {
946
- main: "#00FF00",
1794
+ main: "#66BB6A",
1795
+ light: "#81C784",
1796
+ dark: "#43A047",
947
1797
  contrastText: "#000000"
948
1798
  }
949
1799
  }
950
1800
  }
951
- },
952
- components: {
953
- MuiButton: {
954
- styleOverrides: {
955
- root: {
956
- borderRadius: 0,
957
- textTransform: "none",
958
- fontWeight: 700,
959
- border: "3px solid",
960
- "&:hover": {
961
- borderWidth: "3px"
962
- }
963
- },
964
- containedPrimary: ({ theme }) => ({
965
- backgroundColor: theme.vars.palette.primary.main,
966
- color: theme.vars.palette.primary.contrastText,
967
- borderColor: theme.vars.palette.primary.main,
968
- "&:hover": {
969
- backgroundColor: theme.vars.palette.primary.dark,
970
- borderColor: theme.vars.palette.primary.dark
971
- }
972
- }),
973
- contained: ({ theme }) => ({
974
- borderColor: theme.vars.palette.primary.main
975
- }),
976
- outlined: ({ theme }) => ({
977
- borderWidth: "3px",
978
- borderColor: theme.vars.palette.primary.main,
979
- "&:hover": {
980
- borderWidth: "3px",
981
- backgroundColor: theme.vars.palette.action.hover
982
- }
983
- })
984
- }
985
- },
986
- MuiCard: {
987
- styleOverrides: {
988
- root: {
989
- border: "3px solid",
990
- borderRadius: 0
991
- }
992
- }
993
- },
994
- MuiPaper: {
995
- styleOverrides: {
996
- root: ({ theme }) => ({
997
- border: `3px solid ${theme.vars.palette.divider}`,
998
- borderRadius: 0
999
- }),
1000
- outlined: {
1001
- borderWidth: "3px"
1002
- }
1003
- }
1004
- },
1005
- MuiTextField: {
1006
- styleOverrides: {
1007
- root: {
1008
- "& .MuiOutlinedInput-root": {
1009
- "& fieldset": {
1010
- borderWidth: "3px"
1011
- },
1012
- "&:hover fieldset": {
1013
- borderWidth: "3px"
1014
- },
1015
- "&.Mui-focused fieldset": {
1016
- borderWidth: "3px"
1017
- }
1018
- }
1019
- }
1020
- }
1021
- },
1022
- MuiLink: {
1023
- styleOverrides: {
1024
- root: {
1025
- textDecoration: "underline",
1026
- textDecorationThickness: "2px",
1027
- textUnderlineOffset: "4px",
1028
- fontWeight: 700
1029
- }
1030
- }
1031
- }
1032
- }
1033
- });
1034
- var HighContrastTheme = HighContrastThemeBase;
1035
- Object.assign(HighContrastTheme, {
1036
- gradient: {
1037
- primary: "none"
1038
1801
  }
1039
1802
  });
1040
- if (HighContrastTheme.vars) {
1041
- Object.assign(HighContrastTheme.vars, {
1042
- gradient: {
1043
- primary: "none"
1044
- }
1045
- });
1046
- }
1047
- var HighContrastTheme_default = HighContrastTheme;
1803
+ var PaleIndigo_default = PaleIndigoTheme;
1048
1804
 
1049
1805
  // src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx
1050
1806
  import { ThemeProvider, StyledEngineProvider } from "@mui/material/styles";
@@ -1345,6 +2101,7 @@ function ComplexSelectListHeader(_a) {
1345
2101
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1346
2102
  return /* @__PURE__ */ jsx5(StyledListSubheader, __spreadProps(__spreadValues({}, props), { children }));
1347
2103
  }
2104
+ ComplexSelectListHeader.displayName = "ComplexSelect.ListHeader";
1348
2105
  var ComplexSelectListHeader_default = ComplexSelectListHeader;
1349
2106
 
1350
2107
  // src/components/ComplexSelect/ComplexSelectMenuItem.tsx
@@ -1378,6 +2135,7 @@ function ComplexSelectMenuItemAvatar(_a) {
1378
2135
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1379
2136
  return /* @__PURE__ */ jsx6(StyledListItemAvatar, { children: /* @__PURE__ */ jsx6(StyledAvatar, __spreadProps(__spreadValues({}, props), { children })) });
1380
2137
  }
2138
+ ComplexSelectMenuItemAvatar.displayName = "ComplexSelect.MenuItemAvatar";
1381
2139
  var ComplexSelectMenuItemAvatar_default = ComplexSelectMenuItemAvatar;
1382
2140
 
1383
2141
  // src/components/ComplexSelect/ComplexSelectMenuItemText.tsx
@@ -1394,6 +2152,7 @@ function ComplexSelectMenuItemText(_a) {
1394
2152
  }, props)
1395
2153
  );
1396
2154
  }
2155
+ ComplexSelectMenuItemText.displayName = "ComplexSelect.MenuItemText";
1397
2156
  var ComplexSelectMenuItemText_default = ComplexSelectMenuItemText;
1398
2157
 
1399
2158
  // src/components/ComplexSelect/ComplexSelectMenuItemIcon.tsx
@@ -1410,6 +2169,7 @@ function ComplexSelectMenuItemIcon(_a) {
1410
2169
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
1411
2170
  return /* @__PURE__ */ jsx8(StyledListItemIcon, __spreadProps(__spreadValues({}, props), { children }));
1412
2171
  }
2172
+ ComplexSelectMenuItemIcon.displayName = "ComplexSelect.MenuItemIcon";
1413
2173
  var ComplexSelectMenuItemIcon_default = ComplexSelectMenuItemIcon;
1414
2174
 
1415
2175
  // src/components/ComplexSelect/ComplexSelectMenuItem.tsx
@@ -1439,6 +2199,7 @@ var ComplexSelectMenuItem = Object.assign(
1439
2199
  Icon: ComplexSelectMenuItemIcon_default
1440
2200
  }
1441
2201
  );
2202
+ StyledMenuItem.displayName = "ComplexSelect.MenuItem";
1442
2203
  var ComplexSelectMenuItem_default = ComplexSelectMenuItem;
1443
2204
 
1444
2205
  // src/components/ComplexSelect/ComplexSelectDivider.tsx
@@ -1456,6 +2217,7 @@ function ComplexSelectDivider(_a) {
1456
2217
  var props = __objRest(_a, []);
1457
2218
  return /* @__PURE__ */ jsx10(StyledDivider, __spreadValues({}, props));
1458
2219
  }
2220
+ ComplexSelectDivider.displayName = "ComplexSelect.Divider";
1459
2221
  var ComplexSelectDivider_default = ComplexSelectDivider;
1460
2222
 
1461
2223
  // src/components/ComplexSelect/ComplexSelect.tsx
@@ -1688,15 +2450,11 @@ var PageTitleHeaderStyled = styled8(Typography, {
1688
2450
  })(({ theme }) => {
1689
2451
  var _a;
1690
2452
  return {
1691
- fontWeight: 500,
1692
- fontSize: "1.5rem",
1693
- lineHeight: 1.334,
1694
- letterSpacing: "0em",
1695
2453
  color: ((_a = theme.vars) == null ? void 0 : _a.palette.text.primary) || theme.palette.text.primary
1696
2454
  };
1697
2455
  });
1698
2456
  var PageTitleHeader = (_a) => {
1699
- var _b = _a, { children, variant = "h4" } = _b, props = __objRest(_b, ["children", "variant"]);
2457
+ var _b = _a, { children, variant = "h1" } = _b, props = __objRest(_b, ["children", "variant"]);
1700
2458
  return /* @__PURE__ */ jsx13(PageTitleHeaderStyled, __spreadProps(__spreadValues({ variant }, props), { children }));
1701
2459
  };
1702
2460
  PageTitleHeader.displayName = "PageTitle.Header";
@@ -2471,7 +3229,7 @@ Header.Spacer = HeaderSpacer;
2471
3229
  Header.displayName = "Header";
2472
3230
 
2473
3231
  // src/components/Sidebar/Sidebar.tsx
2474
- import * as React14 from "react";
3232
+ import * as React15 from "react";
2475
3233
  import Box17 from "@mui/material/Box";
2476
3234
  import { styled as styled34 } from "@mui/material/styles";
2477
3235
 
@@ -2612,7 +3370,7 @@ var SidebarCategory = ({
2612
3370
  SidebarCategory.displayName = "SidebarCategory";
2613
3371
 
2614
3372
  // src/components/Sidebar/SidebarItem.tsx
2615
- import * as React12 from "react";
3373
+ import * as React13 from "react";
2616
3374
  import Box14 from "@mui/material/Box";
2617
3375
  import List2 from "@mui/material/List";
2618
3376
  import ListItem from "@mui/material/ListItem";
@@ -2643,6 +3401,7 @@ var SidebarItemProvider = ({ value, children }) => {
2643
3401
  };
2644
3402
 
2645
3403
  // src/components/Sidebar/SidebarItemIcon.tsx
3404
+ import * as React12 from "react";
2646
3405
  import ListItemIcon from "@mui/material/ListItemIcon";
2647
3406
  import { styled as styled25 } from "@mui/material/styles";
2648
3407
  import { jsx as jsx36 } from "react/jsx-runtime";
@@ -2660,14 +3419,18 @@ var SidebarItemIcon = ({
2660
3419
  children,
2661
3420
  sx
2662
3421
  }) => {
3422
+ var _a;
2663
3423
  const { collapsed } = useSidebar();
2664
3424
  const { isActive } = useSidebarItemContext();
3425
+ const iconWithSize = React12.isValidElement(children) ? React12.cloneElement(children, __spreadProps(__spreadValues({}, children.props), {
3426
+ size: (_a = children.props.size) != null ? _a : 20
3427
+ })) : children;
2665
3428
  return /* @__PURE__ */ jsx36(
2666
3429
  SidebarItemIconRoot,
2667
3430
  {
2668
3431
  ownerState: { collapsed, isActive },
2669
3432
  sx,
2670
- children
3433
+ children: iconWithSize
2671
3434
  }
2672
3435
  );
2673
3436
  };
@@ -2752,6 +3515,7 @@ var SidebarItemButton = styled28(ListItemButton, {
2752
3515
  borderRadius: theme.shape.borderRadius,
2753
3516
  marginLeft: theme.spacing(1),
2754
3517
  marginRight: theme.spacing(1),
3518
+ color: (theme.vars || theme).palette.text.primary,
2755
3519
  transition: theme.transitions.create(["padding-left", "padding-right"], {
2756
3520
  easing: theme.transitions.easing.sharp,
2757
3521
  duration: ownerState.collapsed ? theme.transitions.duration.leavingScreen : theme.transitions.duration.enteringScreen
@@ -2809,9 +3573,9 @@ var CHILD_DISPLAY_NAMES = [
2809
3573
  var separateChildren2 = (children) => {
2810
3574
  const composableChildren = [];
2811
3575
  const nestedItems = [];
2812
- React12.Children.toArray(children).forEach((child) => {
3576
+ React13.Children.toArray(children).forEach((child) => {
2813
3577
  var _a;
2814
- if (React12.isValidElement(child)) {
3578
+ if (React13.isValidElement(child)) {
2815
3579
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2816
3580
  if (displayName && CHILD_DISPLAY_NAMES.includes(displayName)) {
2817
3581
  composableChildren.push(child);
@@ -2826,9 +3590,9 @@ var separateChildren2 = (children) => {
2826
3590
  };
2827
3591
  var getTooltipLabel = (children) => {
2828
3592
  let tooltipLabel = "";
2829
- React12.Children.forEach(children, (child) => {
3593
+ React13.Children.forEach(children, (child) => {
2830
3594
  var _a;
2831
- if (React12.isValidElement(child)) {
3595
+ if (React13.isValidElement(child)) {
2832
3596
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2833
3597
  const props = child.props;
2834
3598
  if (displayName === "SidebarItemLabel" && props.children) {
@@ -2841,9 +3605,9 @@ var getTooltipLabel = (children) => {
2841
3605
  var extractItemContent = (itemChildren) => {
2842
3606
  let icon = null;
2843
3607
  let label = "";
2844
- React12.Children.forEach(itemChildren, (child) => {
3608
+ React13.Children.forEach(itemChildren, (child) => {
2845
3609
  var _a;
2846
- if (React12.isValidElement(child)) {
3610
+ if (React13.isValidElement(child)) {
2847
3611
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
2848
3612
  const props = child.props;
2849
3613
  if (displayName === "SidebarItemIcon") {
@@ -2866,16 +3630,16 @@ var SidebarItem = ({
2866
3630
  const hasNestedItems = nestedItems.length > 0;
2867
3631
  const isActive = activeItem === id;
2868
3632
  const isExpanded = expandedMenus[id] || false;
2869
- const hasActiveChild = React12.useMemo(() => {
3633
+ const hasActiveChild = React13.useMemo(() => {
2870
3634
  if (!hasNestedItems || !activeItem) return false;
2871
3635
  return nestedItems.some((child) => {
2872
- if (React12.isValidElement(child)) {
3636
+ if (React13.isValidElement(child)) {
2873
3637
  return child.props.id === activeItem;
2874
3638
  }
2875
3639
  return false;
2876
3640
  });
2877
3641
  }, [hasNestedItems, nestedItems, activeItem]);
2878
- const [popoverAnchor, setPopoverAnchor] = React12.useState(null);
3642
+ const [popoverAnchor, setPopoverAnchor] = React13.useState(null);
2879
3643
  const popoverOpen = Boolean(popoverAnchor);
2880
3644
  const contextValue = {
2881
3645
  id,
@@ -2950,7 +3714,7 @@ var SidebarItem = ({
2950
3714
  }
2951
3715
  },
2952
3716
  children: /* @__PURE__ */ jsx39(SidebarItemPopoverList, { disablePadding: true, children: nestedItems.map((child, index) => {
2953
- if (React12.isValidElement(child)) {
3717
+ if (React13.isValidElement(child)) {
2954
3718
  const childProps = child.props;
2955
3719
  const { icon, label } = extractItemContent(childProps.children);
2956
3720
  const isItemActive = activeItem === childProps.id;
@@ -2972,8 +3736,8 @@ var SidebarItem = ({
2972
3736
  }
2973
3737
  ),
2974
3738
  hasNestedItems && !collapsed && /* @__PURE__ */ jsx39(Collapse, { in: isExpanded, timeout: "auto", unmountOnExit: true, children: /* @__PURE__ */ jsx39(List2, { disablePadding: true, children: nestedItems.map((child, index) => {
2975
- if (React12.isValidElement(child)) {
2976
- return React12.cloneElement(child, {
3739
+ if (React13.isValidElement(child)) {
3740
+ return React13.cloneElement(child, {
2977
3741
  key: child.key || index,
2978
3742
  depth: depth + 1
2979
3743
  });
@@ -3008,7 +3772,7 @@ var SidebarFooter = ({
3008
3772
  };
3009
3773
 
3010
3774
  // src/components/Sidebar/SidebarUser.tsx
3011
- import * as React13 from "react";
3775
+ import * as React14 from "react";
3012
3776
  import Box16 from "@mui/material/Box";
3013
3777
  import ListItemButton2 from "@mui/material/ListItemButton";
3014
3778
  import Tooltip4 from "@mui/material/Tooltip";
@@ -3133,9 +3897,9 @@ var SidebarUserTextContainer = styled33(Box16, {
3133
3897
  var separateChildren3 = (children) => {
3134
3898
  let avatarChild = null;
3135
3899
  const textChildren = [];
3136
- React13.Children.forEach(children, (child) => {
3900
+ React14.Children.forEach(children, (child) => {
3137
3901
  var _a;
3138
- if (React13.isValidElement(child)) {
3902
+ if (React14.isValidElement(child)) {
3139
3903
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
3140
3904
  if (displayName === "SidebarUserAvatar") {
3141
3905
  avatarChild = child;
@@ -3148,9 +3912,9 @@ var separateChildren3 = (children) => {
3148
3912
  };
3149
3913
  var getTooltipText = (children) => {
3150
3914
  let tooltipText = "";
3151
- React13.Children.forEach(children, (child) => {
3915
+ React14.Children.forEach(children, (child) => {
3152
3916
  var _a;
3153
- if (React13.isValidElement(child)) {
3917
+ if (React14.isValidElement(child)) {
3154
3918
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
3155
3919
  const props = child.props;
3156
3920
  if (displayName === "SidebarUserName" && props.children) {
@@ -3219,7 +3983,7 @@ var Sidebar = ({
3219
3983
  collapsedWidth = COLLAPSED_SIDEBAR_WIDTH,
3220
3984
  sx
3221
3985
  }) => {
3222
- const contextValue = React14.useMemo(
3986
+ const contextValue = React15.useMemo(
3223
3987
  () => ({
3224
3988
  collapsed,
3225
3989
  activeItem,
@@ -3247,15 +4011,15 @@ Sidebar.UserEmail = SidebarUserEmail;
3247
4011
  Sidebar.displayName = "Sidebar";
3248
4012
 
3249
4013
  // src/components/NotificationPanel/NotificationPanel.tsx
3250
- import * as React20 from "react";
4014
+ import * as React21 from "react";
3251
4015
  import Drawer from "@mui/material/Drawer";
3252
4016
  import { styled as styled50 } from "@mui/material/styles";
3253
4017
 
3254
4018
  // src/components/NotificationPanel/context.ts
3255
- import * as React15 from "react";
3256
- var NotificationPanelContext = React15.createContext(null);
4019
+ import * as React16 from "react";
4020
+ var NotificationPanelContext = React16.createContext(null);
3257
4021
  var useNotificationPanel = () => {
3258
- const context = React15.useContext(NotificationPanelContext);
4022
+ const context = React16.useContext(NotificationPanelContext);
3259
4023
  if (!context) {
3260
4024
  throw new Error(
3261
4025
  "NotificationPanel compound components must be used within NotificationPanel"
@@ -3265,7 +4029,7 @@ var useNotificationPanel = () => {
3265
4029
  };
3266
4030
 
3267
4031
  // src/components/NotificationPanel/NotificationHeader.tsx
3268
- import * as React16 from "react";
4032
+ import * as React17 from "react";
3269
4033
  import Box18 from "@mui/material/Box";
3270
4034
  import { styled as styled35 } from "@mui/material/styles";
3271
4035
  import { jsx as jsx46, jsxs as jsxs15 } from "react/jsx-runtime";
@@ -3290,9 +4054,9 @@ var NotificationHeaderContent = styled35(Box18, {
3290
4054
  var separateChildren4 = (children) => {
3291
4055
  const leftChildren = [];
3292
4056
  let closeChild = null;
3293
- React16.Children.forEach(children, (child) => {
4057
+ React17.Children.forEach(children, (child) => {
3294
4058
  var _a;
3295
- if (React16.isValidElement(child)) {
4059
+ if (React17.isValidElement(child)) {
3296
4060
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
3297
4061
  if (displayName === "NotificationHeaderClose") {
3298
4062
  closeChild = child;
@@ -3531,7 +4295,7 @@ var NotificationActions = ({
3531
4295
  };
3532
4296
 
3533
4297
  // src/components/NotificationPanel/NotificationList.tsx
3534
- import * as React17 from "react";
4298
+ import * as React18 from "react";
3535
4299
  import Box22 from "@mui/material/Box";
3536
4300
  import List3 from "@mui/material/List";
3537
4301
  import Divider6 from "@mui/material/Divider";
@@ -3549,15 +4313,15 @@ var NotificationList = ({
3549
4313
  showDividers = true,
3550
4314
  sx
3551
4315
  }) => {
3552
- const childArray = React17.Children.toArray(children);
3553
- return /* @__PURE__ */ jsx53(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx53(List3, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs18(React17.Fragment, { children: [
4316
+ const childArray = React18.Children.toArray(children);
4317
+ return /* @__PURE__ */ jsx53(NotificationListRoot, { sx, children: /* @__PURE__ */ jsx53(List3, { disablePadding: true, children: childArray.map((child, index) => /* @__PURE__ */ jsxs18(React18.Fragment, { children: [
3554
4318
  child,
3555
4319
  showDividers && index < childArray.length - 1 && /* @__PURE__ */ jsx53(Divider6, {})
3556
4320
  ] }, index)) }) });
3557
4321
  };
3558
4322
 
3559
4323
  // src/components/NotificationPanel/NotificationItem.tsx
3560
- import * as React19 from "react";
4324
+ import * as React20 from "react";
3561
4325
  import Box23 from "@mui/material/Box";
3562
4326
  import ListItem2 from "@mui/material/ListItem";
3563
4327
  import ListItemButton3 from "@mui/material/ListItemButton";
@@ -3603,11 +4367,11 @@ var getNotificationTypeProps = (type) => {
3603
4367
  };
3604
4368
 
3605
4369
  // src/components/NotificationPanel/NotificationItemContext.tsx
3606
- import * as React18 from "react";
4370
+ import * as React19 from "react";
3607
4371
  import { jsx as jsx54 } from "react/jsx-runtime";
3608
- var NotificationItemContext = React18.createContext(null);
4372
+ var NotificationItemContext = React19.createContext(null);
3609
4373
  var useNotificationItemContext = () => {
3610
- const context = React18.useContext(NotificationItemContext);
4374
+ const context = React19.useContext(NotificationItemContext);
3611
4375
  if (!context) {
3612
4376
  throw new Error(
3613
4377
  "useNotificationItemContext must be used within a NotificationItem component"
@@ -3661,9 +4425,9 @@ var separateChildren5 = (children) => {
3661
4425
  let messageChild = null;
3662
4426
  let timestampChild = null;
3663
4427
  let actionChild = null;
3664
- React19.Children.forEach(children, (child) => {
4428
+ React20.Children.forEach(children, (child) => {
3665
4429
  var _a;
3666
- if (React19.isValidElement(child)) {
4430
+ if (React20.isValidElement(child)) {
3667
4431
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
3668
4432
  switch (displayName) {
3669
4433
  case "NotificationItemAvatar":
@@ -3968,7 +4732,7 @@ var NotificationPanel = ({
3968
4732
  variant = "temporary",
3969
4733
  sx
3970
4734
  }) => {
3971
- const contextValue = React20.useMemo(() => ({ onClose }), [onClose]);
4735
+ const contextValue = React21.useMemo(() => ({ onClose }), [onClose]);
3972
4736
  const ownerState = { width };
3973
4737
  return /* @__PURE__ */ jsx62(NotificationPanelContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx62(
3974
4738
  NotificationPanelRoot,
@@ -4001,13 +4765,80 @@ NotificationPanel.EmptyState = NotificationEmptyState;
4001
4765
  NotificationPanel.displayName = "NotificationPanel";
4002
4766
 
4003
4767
  // src/components/Footer/Footer.tsx
4004
- import Box26 from "@mui/material/Box";
4005
- import Typography15 from "@mui/material/Typography";
4006
- import Link2 from "@mui/material/Link";
4007
- import Divider7 from "@mui/material/Divider";
4008
- import { styled as styled51 } from "@mui/material/styles";
4009
- import { Fragment as Fragment9, jsx as jsx63, jsxs as jsxs22 } from "react/jsx-runtime";
4010
- var FooterRoot = styled51(Box26, {
4768
+ import * as React22 from "react";
4769
+ import Box26 from "@mui/material/Box";
4770
+ import { styled as styled54 } from "@mui/material/styles";
4771
+
4772
+ // src/components/Footer/FooterCopyright.tsx
4773
+ import Typography15 from "@mui/material/Typography";
4774
+ import { styled as styled51 } from "@mui/material/styles";
4775
+ import { jsx as jsx63 } from "react/jsx-runtime";
4776
+ var StyledCopyrightText = styled51(Typography15, {
4777
+ name: "MuiFooter",
4778
+ slot: "CopyrightText"
4779
+ })(({ theme }) => ({
4780
+ color: (theme.vars || theme).palette.text.secondary
4781
+ }));
4782
+ var FooterCopyright = ({ children }) => {
4783
+ return /* @__PURE__ */ jsx63(StyledCopyrightText, { variant: "caption", children });
4784
+ };
4785
+ FooterCopyright.displayName = "Footer.Copyright";
4786
+
4787
+ // src/components/Footer/FooterVersion.tsx
4788
+ import Typography16 from "@mui/material/Typography";
4789
+ import { styled as styled52 } from "@mui/material/styles";
4790
+ import { jsx as jsx64 } from "react/jsx-runtime";
4791
+ var StyledVersion = styled52(Typography16, {
4792
+ name: "MuiFooter",
4793
+ slot: "Version"
4794
+ })(({ theme }) => ({
4795
+ color: (theme.vars || theme).palette.text.disabled,
4796
+ fontFamily: "monospace",
4797
+ fontSize: 11
4798
+ }));
4799
+ var FooterVersion = ({ children }) => {
4800
+ return /* @__PURE__ */ jsx64(StyledVersion, { variant: "caption", children });
4801
+ };
4802
+ FooterVersion.displayName = "Footer.Version";
4803
+
4804
+ // src/components/Footer/FooterLink.tsx
4805
+ import Link2 from "@mui/material/Link";
4806
+ import { styled as styled53 } from "@mui/material/styles";
4807
+ import { jsx as jsx65 } from "react/jsx-runtime";
4808
+ var StyledLink = styled53(Link2, {
4809
+ name: "MuiFooter",
4810
+ slot: "Link"
4811
+ })(({ theme }) => ({
4812
+ color: (theme.vars || theme).palette.text.secondary,
4813
+ fontSize: 12,
4814
+ "&:hover": {
4815
+ color: (theme.vars || theme).palette.text.primary
4816
+ }
4817
+ }));
4818
+ var FooterLink = (_a) => {
4819
+ var _b = _a, { children, href } = _b, props = __objRest(_b, ["children", "href"]);
4820
+ return /* @__PURE__ */ jsx65(StyledLink, __spreadProps(__spreadValues({ href, underline: "hover" }, props), { children }));
4821
+ };
4822
+ FooterLink.displayName = "Footer.Link";
4823
+
4824
+ // src/components/Footer/FooterDivider.tsx
4825
+ import Divider7 from "@mui/material/Divider";
4826
+ import { jsx as jsx66 } from "react/jsx-runtime";
4827
+ var FooterDivider = () => {
4828
+ return /* @__PURE__ */ jsx66(
4829
+ Divider7,
4830
+ {
4831
+ orientation: "vertical",
4832
+ flexItem: true,
4833
+ sx: { display: { xs: "none", sm: "block" } }
4834
+ }
4835
+ );
4836
+ };
4837
+ FooterDivider.displayName = "Footer.Divider";
4838
+
4839
+ // src/components/Footer/Footer.tsx
4840
+ import { jsx as jsx67, jsxs as jsxs22 } from "react/jsx-runtime";
4841
+ var FooterRoot = styled54(Box26, {
4011
4842
  name: "MuiFooter",
4012
4843
  slot: "Root"
4013
4844
  })(({ theme }) => ({
@@ -4020,7 +4851,7 @@ var FooterRoot = styled51(Box26, {
4020
4851
  borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
4021
4852
  backgroundColor: (theme.vars || theme).palette.background.paper
4022
4853
  }));
4023
- var FooterContent = styled51(Box26, {
4854
+ var FooterContent = styled54(Box26, {
4024
4855
  name: "MuiFooter",
4025
4856
  slot: "Content"
4026
4857
  })(({ theme }) => ({
@@ -4034,111 +4865,81 @@ var FooterContent = styled51(Box26, {
4034
4865
  alignItems: "center"
4035
4866
  }
4036
4867
  }));
4037
- var FooterCopyright = styled51(Box26, {
4868
+ var FooterLeft = styled54(Box26, {
4038
4869
  name: "MuiFooter",
4039
- slot: "Copyright"
4870
+ slot: "Left"
4040
4871
  })(({ theme }) => ({
4041
4872
  display: "flex",
4042
4873
  alignItems: "center",
4043
4874
  gap: theme.spacing(2),
4044
4875
  flexWrap: "wrap"
4045
4876
  }));
4046
- var FooterCopyrightText = styled51(Typography15, {
4047
- name: "MuiFooter",
4048
- slot: "CopyrightText"
4049
- })(({ theme }) => ({
4050
- color: (theme.vars || theme).palette.text.secondary
4051
- }));
4052
- var FooterVersion = styled51(Typography15, {
4053
- name: "MuiFooter",
4054
- slot: "Version"
4055
- })(({ theme }) => ({
4056
- color: (theme.vars || theme).palette.text.disabled,
4057
- fontFamily: "monospace",
4058
- fontSize: 11
4059
- }));
4060
- var FooterLinks = styled51(Box26, {
4877
+ var FooterRight = styled54(Box26, {
4061
4878
  name: "MuiFooter",
4062
- slot: "Links"
4879
+ slot: "Right"
4063
4880
  })(({ theme }) => ({
4064
4881
  display: "flex",
4065
4882
  alignItems: "center",
4066
4883
  gap: theme.spacing(2),
4067
4884
  flexWrap: "wrap"
4068
4885
  }));
4069
- var FooterLink = styled51(Link2, {
4070
- name: "MuiFooter",
4071
- slot: "Link"
4072
- })(({ theme }) => ({
4073
- color: (theme.vars || theme).palette.text.secondary,
4074
- fontSize: 12,
4075
- "&:hover": {
4076
- color: (theme.vars || theme).palette.text.primary
4077
- }
4078
- }));
4079
- var Footer = ({
4080
- copyright,
4081
- companyName = "Your Company",
4082
- termsUrl = "#",
4083
- privacyUrl = "#",
4084
- version: version2,
4085
- links = [],
4086
- sx
4087
- }) => {
4088
- const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
4089
- const copyrightText = copyright || `\xA9 ${currentYear} ${companyName}. All rights reserved.`;
4090
- return /* @__PURE__ */ jsx63(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs22(FooterContent, { children: [
4091
- /* @__PURE__ */ jsxs22(FooterCopyright, { children: [
4092
- /* @__PURE__ */ jsx63(FooterCopyrightText, { variant: "caption", children: copyrightText }),
4093
- version2 && /* @__PURE__ */ jsxs22(Fragment9, { children: [
4094
- /* @__PURE__ */ jsx63(
4095
- Divider7,
4096
- {
4097
- orientation: "vertical",
4098
- flexItem: true,
4099
- sx: { display: { xs: "none", sm: "block" } }
4100
- }
4101
- ),
4102
- /* @__PURE__ */ jsx63(FooterVersion, { variant: "caption", children: version2 })
4103
- ] })
4104
- ] }),
4105
- /* @__PURE__ */ jsxs22(FooterLinks, { children: [
4106
- /* @__PURE__ */ jsx63(FooterLink, { href: termsUrl, underline: "hover", children: "Terms & Conditions" }),
4107
- /* @__PURE__ */ jsx63(FooterLink, { href: privacyUrl, underline: "hover", children: "Privacy Policy" }),
4108
- links.map((link, index) => /* @__PURE__ */ jsx63(FooterLink, { href: link.url, underline: "hover", children: link.label }, index))
4109
- ] })
4886
+ var Footer = ({ children, sx }) => {
4887
+ const childrenArray = React22.Children.toArray(children);
4888
+ const leftChildren = [];
4889
+ const rightChildren = [];
4890
+ childrenArray.forEach((child) => {
4891
+ if (React22.isValidElement(child)) {
4892
+ if (child.type === FooterCopyright || child.type === FooterVersion || child.type === FooterDivider) {
4893
+ leftChildren.push(child);
4894
+ } else if (child.type === FooterLink) {
4895
+ rightChildren.push(child);
4896
+ }
4897
+ }
4898
+ });
4899
+ return /* @__PURE__ */ jsx67(FooterRoot, { component: "footer", sx, children: /* @__PURE__ */ jsxs22(FooterContent, { children: [
4900
+ leftChildren.length > 0 && /* @__PURE__ */ jsx67(FooterLeft, { children: leftChildren }),
4901
+ rightChildren.length > 0 && /* @__PURE__ */ jsx67(FooterRight, { children: rightChildren })
4110
4902
  ] }) });
4111
4903
  };
4904
+ Footer.Copyright = FooterCopyright;
4905
+ Footer.Version = FooterVersion;
4906
+ Footer.Link = FooterLink;
4907
+ Footer.Divider = FooterDivider;
4908
+ Footer.displayName = "Footer";
4112
4909
 
4113
4910
  // src/components/UserMenu/UserMenu.tsx
4114
- import * as React21 from "react";
4115
- import IconButton6 from "@mui/material/IconButton";
4911
+ import * as React26 from "react";
4116
4912
  import Menu2 from "@mui/material/Menu";
4117
- import MenuItem3 from "@mui/material/MenuItem";
4118
- import ListItemIcon3 from "@mui/material/ListItemIcon";
4119
- import ListItemText4 from "@mui/material/ListItemText";
4120
- import Avatar4 from "@mui/material/Avatar";
4121
- import Box27 from "@mui/material/Box";
4122
- import Typography16 from "@mui/material/Typography";
4123
- import Divider8 from "@mui/material/Divider";
4124
- import Chip5 from "@mui/material/Chip";
4913
+
4914
+ // src/components/UserMenu/UserMenuContext.tsx
4915
+ import * as React23 from "react";
4916
+ var UserMenuContext = React23.createContext(void 0);
4917
+ var useUserMenu = () => {
4918
+ const context = React23.useContext(UserMenuContext);
4919
+ if (!context) {
4920
+ throw new Error("UserMenu sub-components must be used within a UserMenu component");
4921
+ }
4922
+ return context;
4923
+ };
4924
+ UserMenuContext.displayName = "UserMenu.Context";
4925
+
4926
+ // src/components/UserMenu/UserMenuTrigger.tsx
4125
4927
  import Tooltip5 from "@mui/material/Tooltip";
4126
- import { styled as styled52 } from "@mui/material/styles";
4127
- import {
4128
- User as UserIcon,
4129
- Settings,
4130
- CreditCard,
4131
- LogOut,
4132
- ChevronRight
4133
- } from "@wso2/oxygen-ui-icons-react";
4134
- import { Fragment as Fragment10, jsx as jsx64, jsxs as jsxs23 } from "react/jsx-runtime";
4135
- var UserMenuTrigger = styled52(IconButton6, {
4928
+ import IconButton6 from "@mui/material/IconButton";
4929
+ import Avatar4 from "@mui/material/Avatar";
4930
+ import { styled as styled55 } from "@mui/material/styles";
4931
+ import { jsx as jsx68, jsxs as jsxs23 } from "react/jsx-runtime";
4932
+ var StyledTrigger = styled55(IconButton6, {
4136
4933
  name: "MuiUserMenu",
4137
4934
  slot: "Trigger"
4138
- })(({ theme }) => ({
4139
- padding: theme.spacing(0.5)
4935
+ })(({ theme, showName }) => __spreadValues({
4936
+ padding: theme.spacing(0.5),
4937
+ gap: theme.spacing(1)
4938
+ }, showName && {
4939
+ paddingRight: theme.spacing(1.5),
4940
+ borderRadius: typeof theme.shape.borderRadius === "number" ? theme.shape.borderRadius * 2 : theme.spacing(2)
4140
4941
  }));
4141
- var UserMenuAvatar = styled52(Avatar4, {
4942
+ var StyledAvatar2 = styled55(Avatar4, {
4142
4943
  name: "MuiUserMenu",
4143
4944
  slot: "Avatar"
4144
4945
  })(({ theme }) => ({
@@ -4149,42 +4950,84 @@ var UserMenuAvatar = styled52(Avatar4, {
4149
4950
  fontSize: 14,
4150
4951
  fontWeight: 600
4151
4952
  }));
4152
- var UserMenuHeaderAvatar = styled52(Avatar4, {
4953
+ var StyledNameText = styled55("span", {
4153
4954
  name: "MuiUserMenu",
4154
- slot: "HeaderAvatar"
4955
+ slot: "NameText"
4155
4956
  })(({ theme }) => ({
4156
- width: 40,
4157
- height: 40,
4158
- backgroundColor: (theme.vars || theme).palette.primary.main,
4159
- color: (theme.vars || theme).palette.primary.contrastText,
4160
- fontSize: 16,
4161
- fontWeight: 600
4957
+ fontSize: 14,
4958
+ fontWeight: 500,
4959
+ color: (theme.vars || theme).palette.text.primary,
4960
+ display: "none",
4961
+ [theme.breakpoints.up("sm")]: {
4962
+ display: "block"
4963
+ }
4162
4964
  }));
4163
- var UserMenuHeader = styled52(Box27, {
4965
+ var UserMenuTrigger = ({ name, avatar, showName = false }) => {
4966
+ const { open, handleOpen } = useUserMenu();
4967
+ return /* @__PURE__ */ jsx68(Tooltip5, { title: "Account", children: /* @__PURE__ */ jsxs23(
4968
+ StyledTrigger,
4969
+ {
4970
+ onClick: handleOpen,
4971
+ size: "small",
4972
+ showName,
4973
+ "aria-label": showName ? name : "Account",
4974
+ "aria-controls": open ? "user-menu" : void 0,
4975
+ "aria-haspopup": "true",
4976
+ "aria-expanded": open ? "true" : void 0,
4977
+ children: [
4978
+ /* @__PURE__ */ jsx68(StyledAvatar2, { src: avatar || void 0, alt: name, children: !avatar && name.charAt(0) }),
4979
+ showName && /* @__PURE__ */ jsx68(StyledNameText, { children: name })
4980
+ ]
4981
+ }
4982
+ ) });
4983
+ };
4984
+ UserMenuTrigger.displayName = "UserMenu.Trigger";
4985
+
4986
+ // src/components/UserMenu/UserMenuHeader.tsx
4987
+ import Divider8 from "@mui/material/Divider";
4988
+ import Box27 from "@mui/material/Box";
4989
+ import Avatar5 from "@mui/material/Avatar";
4990
+ import Typography17 from "@mui/material/Typography";
4991
+ import Chip5 from "@mui/material/Chip";
4992
+ import { styled as styled56 } from "@mui/material/styles";
4993
+ import { Fragment as Fragment9, jsx as jsx69, jsxs as jsxs24 } from "react/jsx-runtime";
4994
+ var StyledHeaderBox = styled56(Box27, {
4164
4995
  name: "MuiUserMenu",
4165
- slot: "Header"
4996
+ slot: "HeaderBox"
4166
4997
  })(({ theme }) => ({
4167
- paddingLeft: theme.spacing(2),
4168
- paddingRight: theme.spacing(2),
4169
- paddingTop: theme.spacing(1.5),
4998
+ padding: theme.spacing(2),
4170
4999
  paddingBottom: theme.spacing(1.5)
4171
5000
  }));
4172
- var UserMenuHeaderContent = styled52(Box27, {
5001
+ var StyledHeaderContent = styled56(Box27, {
4173
5002
  name: "MuiUserMenu",
4174
5003
  slot: "HeaderContent"
4175
5004
  })(({ theme }) => ({
4176
5005
  display: "flex",
4177
5006
  alignItems: "center",
4178
- gap: theme.spacing(1.5)
5007
+ gap: theme.spacing(2)
5008
+ }));
5009
+ var StyledHeaderAvatar = styled56(Avatar5, {
5010
+ name: "MuiUserMenu",
5011
+ slot: "HeaderAvatar"
5012
+ })(({ theme }) => ({
5013
+ width: 40,
5014
+ height: 40,
5015
+ backgroundColor: (theme.vars || theme).palette.primary.main,
5016
+ color: (theme.vars || theme).palette.primary.contrastText,
5017
+ fontSize: 16,
5018
+ fontWeight: 600
4179
5019
  }));
4180
- var UserMenuUserInfo = styled52(Box27, {
5020
+ var StyledUserInfo = styled56(Box27, {
4181
5021
  name: "MuiUserMenu",
4182
5022
  slot: "UserInfo"
4183
- })({
5023
+ })(({ theme }) => ({
5024
+ display: "flex",
5025
+ flexDirection: "column",
5026
+ gap: theme.spacing(0.25),
4184
5027
  flex: 1,
4185
5028
  minWidth: 0
4186
- });
4187
- var UserMenuNameRow = styled52(Box27, {
5029
+ }));
5030
+ var StyledNameRow = styled56(Box27, {
4188
5031
  name: "MuiUserMenu",
4189
5032
  slot: "NameRow"
4190
5033
  })(({ theme }) => ({
@@ -4192,7 +5035,7 @@ var UserMenuNameRow = styled52(Box27, {
4192
5035
  alignItems: "center",
4193
5036
  gap: theme.spacing(1)
4194
5037
  }));
4195
- var UserMenuName = styled52(Typography16, {
5038
+ var StyledName = styled56(Typography17, {
4196
5039
  name: "MuiUserMenu",
4197
5040
  slot: "Name"
4198
5041
  })({
@@ -4201,7 +5044,7 @@ var UserMenuName = styled52(Typography16, {
4201
5044
  overflow: "hidden",
4202
5045
  textOverflow: "ellipsis"
4203
5046
  });
4204
- var UserMenuRoleChip = styled52(Chip5, {
5047
+ var StyledRoleChip = styled56(Chip5, {
4205
5048
  name: "MuiUserMenu",
4206
5049
  slot: "RoleChip"
4207
5050
  })({
@@ -4209,7 +5052,7 @@ var UserMenuRoleChip = styled52(Chip5, {
4209
5052
  fontSize: 11,
4210
5053
  fontWeight: 600
4211
5054
  });
4212
- var UserMenuEmail = styled52(Typography16, {
5055
+ var StyledEmail = styled56(Typography17, {
4213
5056
  name: "MuiUserMenu",
4214
5057
  slot: "Email"
4215
5058
  })(({ theme }) => ({
@@ -4219,14 +5062,95 @@ var UserMenuEmail = styled52(Typography16, {
4219
5062
  overflow: "hidden",
4220
5063
  textOverflow: "ellipsis"
4221
5064
  }));
4222
- var UserMenuMenuItem = styled52(MenuItem3, {
5065
+ var UserMenuHeader = ({ name, email, avatar, role }) => {
5066
+ return /* @__PURE__ */ jsxs24(Fragment9, { children: [
5067
+ /* @__PURE__ */ jsx69(StyledHeaderBox, { children: /* @__PURE__ */ jsxs24(StyledHeaderContent, { children: [
5068
+ /* @__PURE__ */ jsx69(StyledHeaderAvatar, { src: avatar || void 0, alt: name, children: !avatar && name.charAt(0) }),
5069
+ /* @__PURE__ */ jsxs24(StyledUserInfo, { children: [
5070
+ /* @__PURE__ */ jsxs24(StyledNameRow, { children: [
5071
+ /* @__PURE__ */ jsx69(StyledName, { variant: "subtitle2", children: name }),
5072
+ role && /* @__PURE__ */ jsx69(
5073
+ StyledRoleChip,
5074
+ {
5075
+ label: role,
5076
+ size: "small",
5077
+ color: "primary"
5078
+ }
5079
+ )
5080
+ ] }),
5081
+ /* @__PURE__ */ jsx69(StyledEmail, { variant: "caption", children: email })
5082
+ ] })
5083
+ ] }) }),
5084
+ /* @__PURE__ */ jsx69(Divider8, {})
5085
+ ] });
5086
+ };
5087
+ UserMenuHeader.displayName = "UserMenu.Header";
5088
+
5089
+ // src/components/UserMenu/UserMenuItem.tsx
5090
+ import * as React24 from "react";
5091
+ import MenuItem3 from "@mui/material/MenuItem";
5092
+ import ListItemIcon3 from "@mui/material/ListItemIcon";
5093
+ import ListItemText4 from "@mui/material/ListItemText";
5094
+ import Box28 from "@mui/material/Box";
5095
+ import Chip6 from "@mui/material/Chip";
5096
+ import { styled as styled57 } from "@mui/material/styles";
5097
+ import { ChevronRight } from "@wso2/oxygen-ui-icons-react";
5098
+ import { jsx as jsx70, jsxs as jsxs25 } from "react/jsx-runtime";
5099
+ var StyledMenuItem2 = styled57(MenuItem3, {
4223
5100
  name: "MuiUserMenu",
4224
5101
  slot: "MenuItem"
4225
5102
  })(({ theme }) => ({
4226
5103
  paddingTop: theme.spacing(1.5),
4227
5104
  paddingBottom: theme.spacing(1.5)
4228
5105
  }));
4229
- var UserMenuLogoutItem = styled52(MenuItem3, {
5106
+ var StyledBillingChip = styled57(Chip6, {
5107
+ name: "MuiUserMenu",
5108
+ slot: "BillingChip"
5109
+ })(() => ({
5110
+ height: 20,
5111
+ fontSize: 11,
5112
+ fontWeight: 600
5113
+ }));
5114
+ var UserMenuItem = ({
5115
+ icon,
5116
+ label,
5117
+ badge,
5118
+ onClick
5119
+ }) => {
5120
+ var _a;
5121
+ const { handleClose } = useUserMenu();
5122
+ const handleClick = () => {
5123
+ handleClose();
5124
+ onClick == null ? void 0 : onClick();
5125
+ };
5126
+ return /* @__PURE__ */ jsxs25(StyledMenuItem2, { onClick: handleClick, children: [
5127
+ icon && /* @__PURE__ */ jsx70(ListItemIcon3, { children: React24.isValidElement(icon) ? React24.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
5128
+ size: (_a = icon.props.size) != null ? _a : 18
5129
+ })) : icon }),
5130
+ /* @__PURE__ */ jsx70(ListItemText4, { primary: label }),
5131
+ /* @__PURE__ */ jsxs25(Box28, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
5132
+ badge && /* @__PURE__ */ jsx70(
5133
+ StyledBillingChip,
5134
+ {
5135
+ label: badge,
5136
+ size: "small",
5137
+ variant: "outlined"
5138
+ }
5139
+ ),
5140
+ /* @__PURE__ */ jsx70(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
5141
+ ] })
5142
+ ] });
5143
+ };
5144
+ UserMenuItem.displayName = "UserMenu.Item";
5145
+
5146
+ // src/components/UserMenu/UserMenuLogout.tsx
5147
+ import * as React25 from "react";
5148
+ import MenuItem4 from "@mui/material/MenuItem";
5149
+ import ListItemIcon4 from "@mui/material/ListItemIcon";
5150
+ import ListItemText5 from "@mui/material/ListItemText";
5151
+ import { styled as styled58 } from "@mui/material/styles";
5152
+ import { jsx as jsx71, jsxs as jsxs26 } from "react/jsx-runtime";
5153
+ var StyledLogoutItem = styled58(MenuItem4, {
4230
5154
  name: "MuiUserMenu",
4231
5155
  slot: "LogoutItem"
4232
5156
  })(({ theme }) => ({
@@ -4241,51 +5165,53 @@ var UserMenuLogoutItem = styled52(MenuItem3, {
4241
5165
  }
4242
5166
  }
4243
5167
  }));
4244
- var UserMenuLogoutIcon = styled52(ListItemIcon3, {
4245
- name: "MuiUserMenu",
4246
- slot: "LogoutIcon"
4247
- })(({ theme }) => ({
4248
- color: (theme.vars || theme).palette.error.main
4249
- }));
4250
- var UserMenuBillingChip = styled52(Chip5, {
4251
- name: "MuiUserMenu",
4252
- slot: "BillingChip"
4253
- })({
4254
- height: 18,
4255
- fontSize: 10
4256
- });
4257
- var UserMenu = ({
4258
- user,
4259
- onProfileClick,
4260
- onSettingsClick,
4261
- onBillingClick,
4262
- onLogout
5168
+ var UserMenuLogout = ({
5169
+ icon,
5170
+ label = "Log out",
5171
+ onClick
4263
5172
  }) => {
4264
- const [anchorEl, setAnchorEl] = React21.useState(null);
5173
+ var _a;
5174
+ const { handleClose } = useUserMenu();
5175
+ const handleClick = () => {
5176
+ handleClose();
5177
+ onClick == null ? void 0 : onClick();
5178
+ };
5179
+ return /* @__PURE__ */ jsxs26(StyledLogoutItem, { onClick: handleClick, children: [
5180
+ icon && /* @__PURE__ */ jsx71(ListItemIcon4, { children: React25.isValidElement(icon) ? React25.cloneElement(icon, __spreadProps(__spreadValues({}, icon.props), {
5181
+ size: (_a = icon.props.size) != null ? _a : 18
5182
+ })) : icon }),
5183
+ /* @__PURE__ */ jsx71(ListItemText5, { primary: label })
5184
+ ] });
5185
+ };
5186
+ UserMenuLogout.displayName = "UserMenu.Logout";
5187
+
5188
+ // src/components/UserMenu/UserMenuDivider.tsx
5189
+ import Divider9 from "@mui/material/Divider";
5190
+ import { jsx as jsx72 } from "react/jsx-runtime";
5191
+ var UserMenuDivider = () => /* @__PURE__ */ jsx72(Divider9, {});
5192
+ UserMenuDivider.displayName = "UserMenu.Divider";
5193
+
5194
+ // src/components/UserMenu/UserMenu.tsx
5195
+ import { jsx as jsx73, jsxs as jsxs27 } from "react/jsx-runtime";
5196
+ var UserMenu = ({ children }) => {
5197
+ const [anchorEl, setAnchorEl] = React26.useState(null);
4265
5198
  const open = Boolean(anchorEl);
4266
- const handleClick = (event) => {
5199
+ const handleOpen = (event) => {
4267
5200
  setAnchorEl(event.currentTarget);
4268
5201
  };
4269
5202
  const handleClose = () => {
4270
5203
  setAnchorEl(null);
4271
5204
  };
4272
- const handleMenuAction = (callback) => {
4273
- handleClose();
4274
- callback == null ? void 0 : callback();
4275
- };
4276
- return /* @__PURE__ */ jsxs23(Fragment10, { children: [
4277
- /* @__PURE__ */ jsx64(Tooltip5, { title: "Account", children: /* @__PURE__ */ jsx64(
4278
- UserMenuTrigger,
4279
- {
4280
- onClick: handleClick,
4281
- size: "small",
4282
- "aria-controls": open ? "user-menu" : void 0,
4283
- "aria-haspopup": "true",
4284
- "aria-expanded": open ? "true" : void 0,
4285
- children: /* @__PURE__ */ jsx64(UserMenuAvatar, { children: user.avatar || user.name.charAt(0) })
4286
- }
4287
- ) }),
4288
- /* @__PURE__ */ jsxs23(
5205
+ const childrenArray = React26.Children.toArray(children);
5206
+ const triggerChild = childrenArray.find(
5207
+ (child) => React26.isValidElement(child) && child.type === UserMenuTrigger
5208
+ );
5209
+ const menuChildren = childrenArray.filter(
5210
+ (child) => React26.isValidElement(child) && child.type !== UserMenuTrigger
5211
+ );
5212
+ return /* @__PURE__ */ jsxs27(UserMenuContext.Provider, { value: { open, anchorEl, handleOpen, handleClose }, children: [
5213
+ triggerChild,
5214
+ /* @__PURE__ */ jsx73(
4289
5215
  Menu2,
4290
5216
  {
4291
5217
  id: "user-menu",
@@ -4302,71 +5228,28 @@ var UserMenu = ({
4302
5228
  }
4303
5229
  }
4304
5230
  },
4305
- children: [
4306
- /* @__PURE__ */ jsx64(UserMenuHeader, { children: /* @__PURE__ */ jsxs23(UserMenuHeaderContent, { children: [
4307
- /* @__PURE__ */ jsx64(UserMenuHeaderAvatar, { children: user.avatar || user.name.charAt(0) }),
4308
- /* @__PURE__ */ jsxs23(UserMenuUserInfo, { children: [
4309
- /* @__PURE__ */ jsxs23(UserMenuNameRow, { children: [
4310
- /* @__PURE__ */ jsx64(UserMenuName, { variant: "subtitle2", children: user.name }),
4311
- user.role && /* @__PURE__ */ jsx64(
4312
- UserMenuRoleChip,
4313
- {
4314
- label: user.role,
4315
- size: "small",
4316
- color: "primary"
4317
- }
4318
- )
4319
- ] }),
4320
- /* @__PURE__ */ jsx64(UserMenuEmail, { variant: "caption", children: user.email })
4321
- ] })
4322
- ] }) }),
4323
- /* @__PURE__ */ jsx64(Divider8, {}),
4324
- /* @__PURE__ */ jsxs23(UserMenuMenuItem, { onClick: () => handleMenuAction(onProfileClick), children: [
4325
- /* @__PURE__ */ jsx64(ListItemIcon3, { children: /* @__PURE__ */ jsx64(UserIcon, { size: 18 }) }),
4326
- /* @__PURE__ */ jsx64(ListItemText4, { primary: "Profile" }),
4327
- /* @__PURE__ */ jsx64(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4328
- ] }),
4329
- /* @__PURE__ */ jsxs23(UserMenuMenuItem, { onClick: () => handleMenuAction(onSettingsClick), children: [
4330
- /* @__PURE__ */ jsx64(ListItemIcon3, { children: /* @__PURE__ */ jsx64(Settings, { size: 18 }) }),
4331
- /* @__PURE__ */ jsx64(ListItemText4, { primary: "Settings" }),
4332
- /* @__PURE__ */ jsx64(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4333
- ] }),
4334
- /* @__PURE__ */ jsxs23(UserMenuMenuItem, { onClick: () => handleMenuAction(onBillingClick), children: [
4335
- /* @__PURE__ */ jsx64(ListItemIcon3, { children: /* @__PURE__ */ jsx64(CreditCard, { size: 18 }) }),
4336
- /* @__PURE__ */ jsx64(ListItemText4, { primary: "Billing" }),
4337
- /* @__PURE__ */ jsxs23(Box27, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
4338
- user.role && /* @__PURE__ */ jsx64(
4339
- UserMenuBillingChip,
4340
- {
4341
- label: user.role,
4342
- size: "small",
4343
- variant: "outlined"
4344
- }
4345
- ),
4346
- /* @__PURE__ */ jsx64(ChevronRight, { size: 16, style: { color: "var(--mui-palette-text-secondary)" } })
4347
- ] })
4348
- ] }),
4349
- /* @__PURE__ */ jsx64(Divider8, {}),
4350
- /* @__PURE__ */ jsxs23(UserMenuLogoutItem, { onClick: () => handleMenuAction(onLogout), children: [
4351
- /* @__PURE__ */ jsx64(UserMenuLogoutIcon, { children: /* @__PURE__ */ jsx64(LogOut, { size: 18 }) }),
4352
- /* @__PURE__ */ jsx64(ListItemText4, { primary: "Log out" })
4353
- ] })
4354
- ]
5231
+ children: menuChildren
4355
5232
  }
4356
5233
  )
4357
5234
  ] });
4358
5235
  };
5236
+ UserMenu.Trigger = UserMenuTrigger;
5237
+ UserMenu.Header = UserMenuHeader;
5238
+ UserMenu.Item = UserMenuItem;
5239
+ UserMenu.Logout = UserMenuLogout;
5240
+ UserMenu.Divider = UserMenuDivider;
5241
+ UserMenu.displayName = "UserMenu";
4359
5242
 
4360
5243
  // src/components/NotificationBanner/NotificationBanner.tsx
4361
- import * as React22 from "react";
5244
+ import * as React27 from "react";
4362
5245
  import Alert from "@mui/material/Alert";
4363
5246
  import AlertTitle from "@mui/material/AlertTitle";
4364
5247
  import Collapse2 from "@mui/material/Collapse";
4365
5248
  import Button4 from "@mui/material/Button";
4366
- import Box28 from "@mui/material/Box";
4367
- import { styled as styled53 } from "@mui/material/styles";
4368
- import { jsx as jsx65, jsxs as jsxs24 } from "react/jsx-runtime";
4369
- var NotificationBannerAlert = styled53(Alert, {
5249
+ import Box29 from "@mui/material/Box";
5250
+ import { styled as styled59 } from "@mui/material/styles";
5251
+ import { jsx as jsx74, jsxs as jsxs28 } from "react/jsx-runtime";
5252
+ var NotificationBannerAlert = styled59(Alert, {
4370
5253
  name: "MuiNotificationBanner",
4371
5254
  slot: "Root"
4372
5255
  })({
@@ -4384,7 +5267,7 @@ var NotificationBannerAlert = styled53(Alert, {
4384
5267
  alignItems: "center"
4385
5268
  }
4386
5269
  });
4387
- var NotificationBannerContent = styled53(Box28, {
5270
+ var NotificationBannerContent = styled59(Box29, {
4388
5271
  name: "MuiNotificationBanner",
4389
5272
  slot: "Content"
4390
5273
  })({
@@ -4393,7 +5276,7 @@ var NotificationBannerContent = styled53(Box28, {
4393
5276
  gap: 2,
4394
5277
  flex: 1
4395
5278
  });
4396
- var NotificationBannerAction = styled53(Button4, {
5279
+ var NotificationBannerAction = styled59(Button4, {
4397
5280
  name: "MuiNotificationBanner",
4398
5281
  slot: "Action"
4399
5282
  })({
@@ -4414,22 +5297,22 @@ var NotificationBanner = ({
4414
5297
  onDismiss,
4415
5298
  sx
4416
5299
  }) => {
4417
- const [isVisible, setIsVisible] = React22.useState(visible);
4418
- React22.useEffect(() => {
5300
+ const [isVisible, setIsVisible] = React27.useState(visible);
5301
+ React27.useEffect(() => {
4419
5302
  setIsVisible(visible);
4420
5303
  }, [visible]);
4421
5304
  const handleDismiss = () => {
4422
5305
  setIsVisible(false);
4423
5306
  onDismiss == null ? void 0 : onDismiss();
4424
5307
  };
4425
- return /* @__PURE__ */ jsx65(Collapse2, { in: isVisible, children: /* @__PURE__ */ jsx65(
5308
+ return /* @__PURE__ */ jsx74(Collapse2, { in: isVisible, children: /* @__PURE__ */ jsx74(
4426
5309
  NotificationBannerAlert,
4427
5310
  {
4428
5311
  severity,
4429
5312
  variant: "filled",
4430
5313
  onClose: handleDismiss,
4431
5314
  sx,
4432
- action: actionLabel && onAction ? /* @__PURE__ */ jsx65(
5315
+ action: actionLabel && onAction ? /* @__PURE__ */ jsx74(
4433
5316
  NotificationBannerAction,
4434
5317
  {
4435
5318
  color: "inherit",
@@ -4438,19 +5321,19 @@ var NotificationBanner = ({
4438
5321
  children: actionLabel
4439
5322
  }
4440
5323
  ) : void 0,
4441
- children: /* @__PURE__ */ jsxs24(NotificationBannerContent, { children: [
4442
- title && /* @__PURE__ */ jsx65(AlertTitle, { sx: { mb: 0 }, children: title }),
4443
- /* @__PURE__ */ jsx65(Box28, { component: "span", children: message })
5324
+ children: /* @__PURE__ */ jsxs28(NotificationBannerContent, { children: [
5325
+ title && /* @__PURE__ */ jsx74(AlertTitle, { sx: { mb: 0 }, children: title }),
5326
+ /* @__PURE__ */ jsx74(Box29, { component: "span", children: message })
4444
5327
  ] })
4445
5328
  }
4446
5329
  ) });
4447
5330
  };
4448
5331
 
4449
5332
  // src/components/Form/CardButton.tsx
4450
- import { Card as Card2, ButtonBase, Box as Box29, styled as styled54 } from "@mui/material";
5333
+ import { Card as Card2, ButtonBase, Box as Box30, styled as styled60 } from "@mui/material";
4451
5334
  import { CardHeader, CardContent as CardContent2, CardActions, CardMedia } from "@mui/material";
4452
- import { jsx as jsx66 } from "react/jsx-runtime";
4453
- var StyledCardButton = styled54(Card2, {
5335
+ import { jsx as jsx75 } from "react/jsx-runtime";
5336
+ var StyledCardButton = styled60(Card2, {
4454
5337
  shouldForwardProp: (prop) => prop !== "selected" && prop !== "disabled"
4455
5338
  })(({ theme, selected, disabled, alignItems = "flex-start" }) => ({
4456
5339
  flexDirection: "column",
@@ -4478,7 +5361,7 @@ var StyledCardButton = styled54(Card2, {
4478
5361
  }));
4479
5362
  var CardButton = (props) => {
4480
5363
  const _a = props, { disabled, selected, alignItems = "flex-start" } = _a, rest = __objRest(_a, ["disabled", "selected", "alignItems"]);
4481
- return /* @__PURE__ */ jsx66(
5364
+ return /* @__PURE__ */ jsx75(
4482
5365
  StyledCardButton,
4483
5366
  __spreadValues({
4484
5367
  alignItems,
@@ -4488,36 +5371,36 @@ var CardButton = (props) => {
4488
5371
  }, rest)
4489
5372
  );
4490
5373
  };
4491
- var DisappearingCardButtonContent = (props) => /* @__PURE__ */ jsx66(Box29, __spreadValues({ className: "creation-flow-card-actions" }, props));
5374
+ var DisappearingCardButtonContent = (props) => /* @__PURE__ */ jsx75(Box30, __spreadValues({ className: "creation-flow-card-actions" }, props));
4492
5375
 
4493
5376
  // src/components/Form/Stack.tsx
4494
5377
  import { Stack as OxygenStack } from "@mui/material";
4495
- import { jsx as jsx67 } from "react/jsx-runtime";
5378
+ import { jsx as jsx76 } from "react/jsx-runtime";
4496
5379
  var Stack2 = (props) => {
4497
- return /* @__PURE__ */ jsx67(OxygenStack, __spreadValues({ spacing: 2 }, props));
5380
+ return /* @__PURE__ */ jsx76(OxygenStack, __spreadValues({ spacing: 2 }, props));
4498
5381
  };
4499
5382
 
4500
5383
  // src/components/Form/Typography.tsx
4501
- import { Typography as Typography17 } from "@mui/material";
4502
- import { jsx as jsx68 } from "react/jsx-runtime";
5384
+ import { Typography as Typography18 } from "@mui/material";
5385
+ import { jsx as jsx77 } from "react/jsx-runtime";
4503
5386
  var Header2 = (props) => {
4504
5387
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
4505
- return /* @__PURE__ */ jsx68(Typography17, __spreadProps(__spreadValues({}, rest), { variant: "h4", children }));
5388
+ return /* @__PURE__ */ jsx77(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "h4", children }));
4506
5389
  };
4507
5390
  var Subheader = (props) => {
4508
5391
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
4509
- return /* @__PURE__ */ jsx68(Typography17, __spreadProps(__spreadValues({}, rest), { variant: "h5", children }));
5392
+ return /* @__PURE__ */ jsx77(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "h5", children }));
4510
5393
  };
4511
5394
  var Body = (props) => {
4512
5395
  const _a = props, { children } = _a, rest = __objRest(_a, ["children"]);
4513
- return /* @__PURE__ */ jsx68(Typography17, __spreadProps(__spreadValues({}, rest), { variant: "body2", children }));
5396
+ return /* @__PURE__ */ jsx77(Typography18, __spreadProps(__spreadValues({}, rest), { variant: "body2", children }));
4514
5397
  };
4515
5398
 
4516
5399
  // src/components/Form/Section.tsx
4517
5400
  import { Card as Card3, CardContent as CardContent3, Stack as Stack3 } from "@mui/material";
4518
- import { jsx as jsx69 } from "react/jsx-runtime";
5401
+ import { jsx as jsx78 } from "react/jsx-runtime";
4519
5402
  var Section = ({ children }) => {
4520
- return /* @__PURE__ */ jsx69(Card3, { children: /* @__PURE__ */ jsx69(CardContent3, { children: /* @__PURE__ */ jsx69(Stack3, { direction: "column", spacing: 2, children }) }) });
5403
+ return /* @__PURE__ */ jsx78(Card3, { children: /* @__PURE__ */ jsx78(CardContent3, { children: /* @__PURE__ */ jsx78(Stack3, { direction: "column", spacing: 2, children }) }) });
4521
5404
  };
4522
5405
 
4523
5406
  // src/components/Form/Wizard.tsx
@@ -4527,32 +5410,32 @@ import {
4527
5410
  StepLabel,
4528
5411
  Step,
4529
5412
  Stepper,
4530
- Divider as Divider9
5413
+ Divider as Divider10
4531
5414
  } from "@mui/material";
4532
- import { styled as styled55 } from "@mui/material/styles";
5415
+ import { styled as styled61 } from "@mui/material/styles";
4533
5416
  import { useMemo as useMemo5 } from "react";
4534
- import { jsx as jsx70, jsxs as jsxs25 } from "react/jsx-runtime";
4535
- var StyledWizardActionsStack = styled55(Stack2)(() => ({
5417
+ import { jsx as jsx79, jsxs as jsxs29 } from "react/jsx-runtime";
5418
+ var StyledWizardActionsStack = styled61(Stack2)(() => ({
4536
5419
  justifyContent: "space-between",
4537
5420
  flexGrow: 1
4538
5421
  }));
4539
5422
  function Wizard({ steps, activeStep, actions }) {
4540
5423
  const step = useMemo5(() => activeStep < steps.length ? steps[activeStep] : null, [steps, activeStep]);
4541
- return /* @__PURE__ */ jsx70(Card4, { children: /* @__PURE__ */ jsx70(CardContent4, { children: /* @__PURE__ */ jsxs25(Stack2, { children: [
4542
- /* @__PURE__ */ jsx70(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx70(Step, { children: /* @__PURE__ */ jsx70(StepLabel, { children: step2.label }) }, step2.label)) }),
4543
- /* @__PURE__ */ jsx70(Divider9, {}),
4544
- /* @__PURE__ */ jsx70(Stack2, { direction: "row", children: step == null ? void 0 : step.component }),
4545
- /* @__PURE__ */ jsx70(StyledWizardActionsStack, { direction: "row", children: actions })
5424
+ return /* @__PURE__ */ jsx79(Card4, { children: /* @__PURE__ */ jsx79(CardContent4, { children: /* @__PURE__ */ jsxs29(Stack2, { children: [
5425
+ /* @__PURE__ */ jsx79(Stepper, { activeStep, children: steps.map((step2) => /* @__PURE__ */ jsx79(Step, { children: /* @__PURE__ */ jsx79(StepLabel, { children: step2.label }) }, step2.label)) }),
5426
+ /* @__PURE__ */ jsx79(Divider10, {}),
5427
+ /* @__PURE__ */ jsx79(Stack2, { direction: "row", children: step == null ? void 0 : step.component }),
5428
+ /* @__PURE__ */ jsx79(StyledWizardActionsStack, { direction: "row", children: actions })
4546
5429
  ] }) }) });
4547
5430
  }
4548
5431
 
4549
5432
  // src/components/Form/ElementWrapper.tsx
4550
5433
  import { FormControl as FormControl3, FormLabel } from "@mui/material";
4551
- import { jsx as jsx71, jsxs as jsxs26 } from "react/jsx-runtime";
5434
+ import { jsx as jsx80, jsxs as jsxs30 } from "react/jsx-runtime";
4552
5435
  var ElementWrapper = (props) => {
4553
5436
  const { label, name, children } = props;
4554
- return /* @__PURE__ */ jsxs26(FormControl3, { fullWidth: true, children: [
4555
- /* @__PURE__ */ jsx71(FormLabel, { htmlFor: name, children: label }),
5437
+ return /* @__PURE__ */ jsxs30(FormControl3, { fullWidth: true, children: [
5438
+ /* @__PURE__ */ jsx80(FormLabel, { htmlFor: name, children: label }),
4556
5439
  children
4557
5440
  ] });
4558
5441
  };
@@ -4576,16 +5459,16 @@ var Form = {
4576
5459
  };
4577
5460
 
4578
5461
  // src/components/AppShell/AppShell.tsx
4579
- import * as React23 from "react";
4580
- import Box34 from "@mui/material/Box";
5462
+ import * as React28 from "react";
5463
+ import Box35 from "@mui/material/Box";
4581
5464
 
4582
5465
  // src/layouts/Layout.tsx
4583
- import Box30 from "@mui/material/Box";
4584
- import { jsx as jsx72 } from "react/jsx-runtime";
5466
+ import Box31 from "@mui/material/Box";
5467
+ import { jsx as jsx81 } from "react/jsx-runtime";
4585
5468
  function Layout(_a) {
4586
5469
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
4587
- return /* @__PURE__ */ jsx72(
4588
- Box30,
5470
+ return /* @__PURE__ */ jsx81(
5471
+ Box31,
4589
5472
  __spreadProps(__spreadValues({
4590
5473
  sx: __spreadValues({
4591
5474
  display: "flex",
@@ -4600,12 +5483,12 @@ Layout.displayName = "Layout";
4600
5483
  var Layout_default = Layout;
4601
5484
 
4602
5485
  // src/layouts/LayoutSidebar.tsx
4603
- import Box31 from "@mui/material/Box";
4604
- import { jsx as jsx73 } from "react/jsx-runtime";
5486
+ import Box32 from "@mui/material/Box";
5487
+ import { jsx as jsx82 } from "react/jsx-runtime";
4605
5488
  function LayoutSidebar(_a) {
4606
5489
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
4607
- return /* @__PURE__ */ jsx73(
4608
- Box31,
5490
+ return /* @__PURE__ */ jsx82(
5491
+ Box32,
4609
5492
  __spreadProps(__spreadValues({
4610
5493
  sx: __spreadValues({
4611
5494
  display: "flex",
@@ -4627,12 +5510,12 @@ LayoutNavbar.displayName = "Layout.Navbar";
4627
5510
  var LayoutNavbar_default = LayoutNavbar;
4628
5511
 
4629
5512
  // src/layouts/LayoutContent.tsx
4630
- import Box32 from "@mui/material/Box";
4631
- import { jsx as jsx74 } from "react/jsx-runtime";
5513
+ import Box33 from "@mui/material/Box";
5514
+ import { jsx as jsx83 } from "react/jsx-runtime";
4632
5515
  function LayoutContent(_a) {
4633
5516
  var _b = _a, { children = null } = _b, rest = __objRest(_b, ["children"]);
4634
- return /* @__PURE__ */ jsx74(
4635
- Box32,
5517
+ return /* @__PURE__ */ jsx83(
5518
+ Box33,
4636
5519
  __spreadProps(__spreadValues({
4637
5520
  component: "main",
4638
5521
  sx: {
@@ -4650,12 +5533,12 @@ LayoutContent.displayName = "Layout.Content";
4650
5533
  var LayoutContent_default = LayoutContent;
4651
5534
 
4652
5535
  // src/layouts/LayoutHeader.tsx
4653
- import Box33 from "@mui/material/Box";
4654
- import { jsx as jsx75 } from "react/jsx-runtime";
5536
+ import Box34 from "@mui/material/Box";
5537
+ import { jsx as jsx84 } from "react/jsx-runtime";
4655
5538
  function LayoutHeader(_a) {
4656
5539
  var _b = _a, { children = null, sx } = _b, rest = __objRest(_b, ["children", "sx"]);
4657
- return /* @__PURE__ */ jsx75(
4658
- Box33,
5540
+ return /* @__PURE__ */ jsx84(
5541
+ Box34,
4659
5542
  __spreadProps(__spreadValues({
4660
5543
  sx: __spreadValues({
4661
5544
  display: "flex"
@@ -4678,42 +5561,42 @@ var Layout2 = Object.assign(Layout_default, {
4678
5561
  var layouts_default = Layout2;
4679
5562
 
4680
5563
  // src/components/AppShell/AppShellNavbar.tsx
4681
- import { Fragment as Fragment11, jsx as jsx76 } from "react/jsx-runtime";
5564
+ import { Fragment as Fragment10, jsx as jsx85 } from "react/jsx-runtime";
4682
5565
  var AppShellNavbar = ({ children }) => {
4683
- return /* @__PURE__ */ jsx76(Fragment11, { children });
5566
+ return /* @__PURE__ */ jsx85(Fragment10, { children });
4684
5567
  };
4685
5568
  AppShellNavbar.displayName = "AppShellNavbar";
4686
5569
 
4687
5570
  // src/components/AppShell/AppShellSidebar.tsx
4688
- import { Fragment as Fragment12, jsx as jsx77 } from "react/jsx-runtime";
5571
+ import { Fragment as Fragment11, jsx as jsx86 } from "react/jsx-runtime";
4689
5572
  var AppShellSidebar = ({ children }) => {
4690
- return /* @__PURE__ */ jsx77(Fragment12, { children });
5573
+ return /* @__PURE__ */ jsx86(Fragment11, { children });
4691
5574
  };
4692
5575
  AppShellSidebar.displayName = "AppShellSidebar";
4693
5576
 
4694
5577
  // src/components/AppShell/AppShellMain.tsx
4695
- import { Fragment as Fragment13, jsx as jsx78 } from "react/jsx-runtime";
5578
+ import { Fragment as Fragment12, jsx as jsx87 } from "react/jsx-runtime";
4696
5579
  var AppShellMain = ({ children }) => {
4697
- return /* @__PURE__ */ jsx78(Fragment13, { children });
5580
+ return /* @__PURE__ */ jsx87(Fragment12, { children });
4698
5581
  };
4699
5582
  AppShellMain.displayName = "AppShellMain";
4700
5583
 
4701
5584
  // src/components/AppShell/AppShellFooter.tsx
4702
- import { Fragment as Fragment14, jsx as jsx79 } from "react/jsx-runtime";
5585
+ import { Fragment as Fragment13, jsx as jsx88 } from "react/jsx-runtime";
4703
5586
  var AppShellFooter = ({ children }) => {
4704
- return /* @__PURE__ */ jsx79(Fragment14, { children });
5587
+ return /* @__PURE__ */ jsx88(Fragment13, { children });
4705
5588
  };
4706
5589
  AppShellFooter.displayName = "AppShellFooter";
4707
5590
 
4708
5591
  // src/components/AppShell/AppShellNotificationPanel.tsx
4709
- import { Fragment as Fragment15, jsx as jsx80 } from "react/jsx-runtime";
5592
+ import { Fragment as Fragment14, jsx as jsx89 } from "react/jsx-runtime";
4710
5593
  var AppShellNotificationPanel = ({ children }) => {
4711
- return /* @__PURE__ */ jsx80(Fragment15, { children });
5594
+ return /* @__PURE__ */ jsx89(Fragment14, { children });
4712
5595
  };
4713
5596
  AppShellNotificationPanel.displayName = "AppShellNotificationPanel";
4714
5597
 
4715
5598
  // src/components/AppShell/AppShell.tsx
4716
- import { jsx as jsx81, jsxs as jsxs27 } from "react/jsx-runtime";
5599
+ import { jsx as jsx90, jsxs as jsxs31 } from "react/jsx-runtime";
4717
5600
  var SLOT_DISPLAY_NAMES = {
4718
5601
  Navbar: "AppShellNavbar",
4719
5602
  Sidebar: "AppShellSidebar",
@@ -4729,9 +5612,9 @@ var extractSlots = (children) => {
4729
5612
  footer: null,
4730
5613
  notificationPanel: null
4731
5614
  };
4732
- React23.Children.forEach(children, (child) => {
5615
+ React28.Children.forEach(children, (child) => {
4733
5616
  var _a;
4734
- if (React23.isValidElement(child)) {
5617
+ if (React28.isValidElement(child)) {
4735
5618
  const displayName = (_a = child.type) == null ? void 0 : _a.displayName;
4736
5619
  const childProps = child.props;
4737
5620
  switch (displayName) {
@@ -4761,12 +5644,12 @@ var extractSlots = (children) => {
4761
5644
  };
4762
5645
  var AppShell = ({ children, sx }) => {
4763
5646
  const slots = extractSlots(children);
4764
- return /* @__PURE__ */ jsxs27(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
4765
- slots.navbar && /* @__PURE__ */ jsx81(layouts_default.Navbar, { children: slots.navbar }),
4766
- /* @__PURE__ */ jsxs27(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
4767
- slots.sidebar && /* @__PURE__ */ jsx81(layouts_default.Sidebar, { children: slots.sidebar }),
4768
- /* @__PURE__ */ jsxs27(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column" }, children: [
4769
- /* @__PURE__ */ jsx81(Box34, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
5647
+ return /* @__PURE__ */ jsxs31(layouts_default, { sx: __spreadValues({ height: "100vh", flexDirection: "column" }, sx), children: [
5648
+ slots.navbar && /* @__PURE__ */ jsx90(layouts_default.Navbar, { children: slots.navbar }),
5649
+ /* @__PURE__ */ jsxs31(layouts_default, { sx: { flex: 1, overflow: "hidden" }, children: [
5650
+ slots.sidebar && /* @__PURE__ */ jsx90(layouts_default.Sidebar, { children: slots.sidebar }),
5651
+ /* @__PURE__ */ jsxs31(layouts_default.Content, { sx: { flex: 1, display: "flex", flexDirection: "column" }, children: [
5652
+ /* @__PURE__ */ jsx90(Box35, { sx: { flex: 1, overflow: "auto", display: "flex" }, children: slots.main }),
4770
5653
  slots.footer
4771
5654
  ] })
4772
5655
  ] }),
@@ -4782,7 +5665,7 @@ AppShell.displayName = "AppShell";
4782
5665
 
4783
5666
  // src/components/ListingTable/ListingTable/ListingTable.tsx
4784
5667
  import MuiTable from "@mui/material/Table";
4785
- import { styled as styled60 } from "@mui/material/styles";
5668
+ import { styled as styled66 } from "@mui/material/styles";
4786
5669
 
4787
5670
  // src/components/ListingTable/shared/types.ts
4788
5671
  var densityStyles = {
@@ -4794,7 +5677,7 @@ var densityStyles = {
4794
5677
  // src/components/ListingTable/ListingTable/ListingTableContainer.tsx
4795
5678
  import MuiTableContainer from "@mui/material/TableContainer";
4796
5679
  import Paper from "@mui/material/Paper";
4797
- import { jsx as jsx82 } from "react/jsx-runtime";
5680
+ import { jsx as jsx91 } from "react/jsx-runtime";
4798
5681
  function ListingTableContainer(_a) {
4799
5682
  var _b = _a, {
4800
5683
  elevation = 1,
@@ -4806,17 +5689,17 @@ function ListingTableContainer(_a) {
4806
5689
  "children"
4807
5690
  ]);
4808
5691
  if (disablePaper) {
4809
- return /* @__PURE__ */ jsx82(MuiTableContainer, __spreadProps(__spreadValues({ sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
5692
+ return /* @__PURE__ */ jsx91(MuiTableContainer, __spreadProps(__spreadValues({ sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
4810
5693
  }
4811
- return /* @__PURE__ */ jsx82(MuiTableContainer, __spreadProps(__spreadValues({ component: Paper, elevation, sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
5694
+ return /* @__PURE__ */ jsx91(MuiTableContainer, __spreadProps(__spreadValues({ component: Paper, elevation, sx: __spreadValues({ width: "100%" }, props.sx) }, props), { children }));
4812
5695
  }
4813
5696
  var ListingTableContainer_default = ListingTableContainer;
4814
5697
 
4815
5698
  // src/components/ListingTable/ListingTable/ListingTableHead.tsx
4816
5699
  import MuiTableHead from "@mui/material/TableHead";
4817
- import { styled as styled56 } from "@mui/material/styles";
4818
- import { jsx as jsx83 } from "react/jsx-runtime";
4819
- var StyledTableHead = styled56(MuiTableHead)(({ theme }) => ({
5700
+ import { styled as styled62 } from "@mui/material/styles";
5701
+ import { jsx as jsx92 } from "react/jsx-runtime";
5702
+ var StyledTableHead = styled62(MuiTableHead)(({ theme }) => ({
4820
5703
  "& .MuiTableCell-head": __spreadValues(__spreadValues({
4821
5704
  fontWeight: 600
4822
5705
  }, theme.applyStyles("light", {
@@ -4827,33 +5710,33 @@ var StyledTableHead = styled56(MuiTableHead)(({ theme }) => ({
4827
5710
  }));
4828
5711
  function ListingTableHead(_a) {
4829
5712
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
4830
- return /* @__PURE__ */ jsx83(StyledTableHead, __spreadProps(__spreadValues({}, props), { children }));
5713
+ return /* @__PURE__ */ jsx92(StyledTableHead, __spreadProps(__spreadValues({}, props), { children }));
4831
5714
  }
4832
5715
  var ListingTableHead_default = ListingTableHead;
4833
5716
 
4834
5717
  // src/components/ListingTable/ListingTable/ListingTableBody.tsx
4835
5718
  import MuiTableBody from "@mui/material/TableBody";
4836
- import { jsx as jsx84 } from "react/jsx-runtime";
5719
+ import { jsx as jsx93 } from "react/jsx-runtime";
4837
5720
  function ListingTableBody(_a) {
4838
5721
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
4839
- return /* @__PURE__ */ jsx84(MuiTableBody, __spreadProps(__spreadValues({}, props), { children }));
5722
+ return /* @__PURE__ */ jsx93(MuiTableBody, __spreadProps(__spreadValues({}, props), { children }));
4840
5723
  }
4841
5724
  var ListingTableBody_default = ListingTableBody;
4842
5725
 
4843
5726
  // src/components/ListingTable/ListingTable/ListingTableFooter.tsx
4844
5727
  import MuiTableFooter from "@mui/material/TableFooter";
4845
- import { jsx as jsx85 } from "react/jsx-runtime";
5728
+ import { jsx as jsx94 } from "react/jsx-runtime";
4846
5729
  function ListingTableFooter(_a) {
4847
5730
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
4848
- return /* @__PURE__ */ jsx85(MuiTableFooter, __spreadProps(__spreadValues({}, props), { children }));
5731
+ return /* @__PURE__ */ jsx94(MuiTableFooter, __spreadProps(__spreadValues({}, props), { children }));
4849
5732
  }
4850
5733
  var ListingTableFooter_default = ListingTableFooter;
4851
5734
 
4852
5735
  // src/components/ListingTable/ListingTable/ListingTableRow.tsx
4853
5736
  import MuiTableRow from "@mui/material/TableRow";
4854
- import { styled as styled57, alpha } from "@mui/material/styles";
4855
- import { jsx as jsx86 } from "react/jsx-runtime";
4856
- var StyledTableRow = styled57(MuiTableRow, {
5737
+ import { styled as styled63, alpha } from "@mui/material/styles";
5738
+ import { jsx as jsx95 } from "react/jsx-runtime";
5739
+ var StyledTableRow = styled63(MuiTableRow, {
4857
5740
  shouldForwardProp: (prop) => !["clickable", "variant"].includes(prop)
4858
5741
  })(({ theme: muiTheme, clickable, variant = "table" }) => {
4859
5742
  const theme = muiTheme;
@@ -4911,15 +5794,15 @@ function ListingTableRow(_a) {
4911
5794
  "variant",
4912
5795
  "children"
4913
5796
  ]);
4914
- return /* @__PURE__ */ jsx86(StyledTableRow, __spreadProps(__spreadValues({ clickable, variant }, props), { children }));
5797
+ return /* @__PURE__ */ jsx95(StyledTableRow, __spreadProps(__spreadValues({ clickable, variant }, props), { children }));
4915
5798
  }
4916
5799
  var ListingTableRow_default = ListingTableRow;
4917
5800
 
4918
5801
  // src/components/ListingTable/ListingTable/ListingTableCell.tsx
4919
5802
  import MuiTableCell from "@mui/material/TableCell";
4920
- import { styled as styled58 } from "@mui/material/styles";
4921
- import { jsx as jsx87 } from "react/jsx-runtime";
4922
- var StyledTableCell = styled58(MuiTableCell, {
5803
+ import { styled as styled64 } from "@mui/material/styles";
5804
+ import { jsx as jsx96 } from "react/jsx-runtime";
5805
+ var StyledTableCell = styled64(MuiTableCell, {
4923
5806
  shouldForwardProp: (prop) => {
4924
5807
  const excludedProps = ["truncate", "maxWidth"];
4925
5808
  return !excludedProps.some((excluded) => excluded === prop);
@@ -4941,27 +5824,27 @@ function ListingTableCell(_a) {
4941
5824
  "maxWidth",
4942
5825
  "children"
4943
5826
  ]);
4944
- return /* @__PURE__ */ jsx87(StyledTableCell, __spreadProps(__spreadValues({ truncate, maxWidth }, props), { children }));
5827
+ return /* @__PURE__ */ jsx96(StyledTableCell, __spreadProps(__spreadValues({ truncate, maxWidth }, props), { children }));
4945
5828
  }
4946
5829
  var ListingTableCell_default = ListingTableCell;
4947
5830
 
4948
5831
  // src/components/ListingTable/shared/ListingTableToolbar.tsx
4949
5832
  import { useState as useState6, useCallback } from "react";
4950
- import Box35 from "@mui/material/Box";
5833
+ import Box36 from "@mui/material/Box";
4951
5834
  import TextField3 from "@mui/material/TextField";
4952
5835
  import InputAdornment3 from "@mui/material/InputAdornment";
4953
5836
  import IconButton7 from "@mui/material/IconButton";
4954
5837
  import { Search as Search3, X as X4 } from "@wso2/oxygen-ui-icons-react";
4955
5838
 
4956
5839
  // src/components/ListingTable/context.ts
4957
- import * as React24 from "react";
4958
- var ListingTableContext = React24.createContext(null);
5840
+ import * as React29 from "react";
5841
+ var ListingTableContext = React29.createContext(null);
4959
5842
  ListingTableContext.displayName = "ListingTableContext";
4960
5843
  var useListingTable = () => {
4961
- return React24.useContext(ListingTableContext);
5844
+ return React29.useContext(ListingTableContext);
4962
5845
  };
4963
5846
  var useListingTableRequired = () => {
4964
- const context = React24.useContext(ListingTableContext);
5847
+ const context = React29.useContext(ListingTableContext);
4965
5848
  if (!context) {
4966
5849
  throw new Error(
4967
5850
  "useListingTableRequired must be used within a ListingTable.Provider. Use useListingTable() for optional context access."
@@ -4971,7 +5854,7 @@ var useListingTableRequired = () => {
4971
5854
  };
4972
5855
 
4973
5856
  // src/components/ListingTable/shared/ListingTableToolbar.tsx
4974
- import { Fragment as Fragment16, jsx as jsx88, jsxs as jsxs28 } from "react/jsx-runtime";
5857
+ import { Fragment as Fragment15, jsx as jsx97, jsxs as jsxs32 } from "react/jsx-runtime";
4975
5858
  function ListingTableToolbar({
4976
5859
  showSearch = false,
4977
5860
  searchSlot,
@@ -5012,7 +5895,7 @@ function ListingTableToolbar({
5012
5895
  return searchSlot;
5013
5896
  }
5014
5897
  if (showSearch) {
5015
- return /* @__PURE__ */ jsx88(
5898
+ return /* @__PURE__ */ jsx97(
5016
5899
  TextField3,
5017
5900
  {
5018
5901
  size: "small",
@@ -5024,16 +5907,16 @@ function ListingTableToolbar({
5024
5907
  maxWidth: searchMaxWidth
5025
5908
  },
5026
5909
  InputProps: {
5027
- startAdornment: /* @__PURE__ */ jsx88(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx88(Search3, { size: 18 }) }),
5028
- endAdornment: searchValue ? /* @__PURE__ */ jsx88(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx88(IconButton7, { size: "small", onClick: handleClearSearch, edge: "end", children: /* @__PURE__ */ jsx88(X4, { size: 16 }) }) }) : null
5910
+ startAdornment: /* @__PURE__ */ jsx97(InputAdornment3, { position: "start", children: /* @__PURE__ */ jsx97(Search3, { size: 18 }) }),
5911
+ endAdornment: searchValue ? /* @__PURE__ */ jsx97(InputAdornment3, { position: "end", children: /* @__PURE__ */ jsx97(IconButton7, { size: "small", onClick: handleClearSearch, edge: "end", children: /* @__PURE__ */ jsx97(X4, { size: 16 }) }) }) : null
5029
5912
  }
5030
5913
  }
5031
5914
  );
5032
5915
  }
5033
5916
  return null;
5034
5917
  };
5035
- return /* @__PURE__ */ jsxs28(
5036
- Box35,
5918
+ return /* @__PURE__ */ jsxs32(
5919
+ Box36,
5037
5920
  {
5038
5921
  sx: __spreadValues({
5039
5922
  display: "flex",
@@ -5046,9 +5929,9 @@ function ListingTableToolbar({
5046
5929
  children: [
5047
5930
  renderSearch(),
5048
5931
  children,
5049
- actions && /* @__PURE__ */ jsxs28(Fragment16, { children: [
5050
- /* @__PURE__ */ jsx88(Box35, { sx: { flex: 1 } }),
5051
- /* @__PURE__ */ jsx88(Box35, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
5932
+ actions && /* @__PURE__ */ jsxs32(Fragment15, { children: [
5933
+ /* @__PURE__ */ jsx97(Box36, { sx: { flex: 1 } }),
5934
+ /* @__PURE__ */ jsx97(Box36, { sx: { display: "flex", alignItems: "center", gap: 1 }, children: actions })
5052
5935
  ] })
5053
5936
  ]
5054
5937
  }
@@ -5057,9 +5940,9 @@ function ListingTableToolbar({
5057
5940
  var ListingTableToolbar_default = ListingTableToolbar;
5058
5941
 
5059
5942
  // src/components/ListingTable/shared/ListingTableEmptyState.tsx
5060
- import Box36 from "@mui/material/Box";
5061
- import Typography18 from "@mui/material/Typography";
5062
- import { jsx as jsx89, jsxs as jsxs29 } from "react/jsx-runtime";
5943
+ import Box37 from "@mui/material/Box";
5944
+ import Typography19 from "@mui/material/Typography";
5945
+ import { jsx as jsx98, jsxs as jsxs33 } from "react/jsx-runtime";
5063
5946
  function ListingTableEmptyState({
5064
5947
  title = "No data available",
5065
5948
  description,
@@ -5068,8 +5951,8 @@ function ListingTableEmptyState({
5068
5951
  minHeight = 300,
5069
5952
  sx
5070
5953
  }) {
5071
- return /* @__PURE__ */ jsxs29(
5072
- Box36,
5954
+ return /* @__PURE__ */ jsxs33(
5955
+ Box37,
5073
5956
  {
5074
5957
  sx: __spreadValues({
5075
5958
  display: "flex",
@@ -5081,8 +5964,8 @@ function ListingTableEmptyState({
5081
5964
  textAlign: "center"
5082
5965
  }, sx),
5083
5966
  children: [
5084
- illustration && /* @__PURE__ */ jsx89(
5085
- Box36,
5967
+ illustration && /* @__PURE__ */ jsx98(
5968
+ Box37,
5086
5969
  {
5087
5970
  sx: {
5088
5971
  mb: 2,
@@ -5095,9 +5978,9 @@ function ListingTableEmptyState({
5095
5978
  children: illustration
5096
5979
  }
5097
5980
  ),
5098
- /* @__PURE__ */ jsx89(Typography18, { variant: "h6", component: "div", sx: { mb: description ? 1 : 0, fontWeight: 500 }, children: title }),
5099
- description && /* @__PURE__ */ jsx89(Typography18, { variant: "body2", color: "text.secondary", sx: { mb: action ? 2 : 0, maxWidth: 400 }, children: description }),
5100
- action && /* @__PURE__ */ jsx89(Box36, { children: action })
5981
+ /* @__PURE__ */ jsx98(Typography19, { variant: "h6", component: "div", sx: { mb: description ? 1 : 0, fontWeight: 500 }, children: title }),
5982
+ description && /* @__PURE__ */ jsx98(Typography19, { variant: "body2", color: "text.secondary", sx: { mb: action ? 2 : 0, maxWidth: 400 }, children: description }),
5983
+ action && /* @__PURE__ */ jsx98(Box37, { children: action })
5101
5984
  ]
5102
5985
  }
5103
5986
  );
@@ -5110,11 +5993,11 @@ import ToggleButton from "@mui/material/ToggleButton";
5110
5993
  import ToggleButtonGroup from "@mui/material/ToggleButtonGroup";
5111
5994
  import Tooltip6 from "@mui/material/Tooltip";
5112
5995
  import { AlignJustify, Menu as Menu3, List as List4 } from "@wso2/oxygen-ui-icons-react";
5113
- import { jsx as jsx90 } from "react/jsx-runtime";
5996
+ import { jsx as jsx99 } from "react/jsx-runtime";
5114
5997
  var densityOptions = [
5115
- { value: "compact", label: "Compact", icon: /* @__PURE__ */ jsx90(AlignJustify, { size: 18 }) },
5116
- { value: "standard", label: "Standard", icon: /* @__PURE__ */ jsx90(Menu3, { size: 18 }) },
5117
- { value: "comfortable", label: "Comfortable", icon: /* @__PURE__ */ jsx90(List4, { size: 18 }) }
5998
+ { value: "compact", label: "Compact", icon: /* @__PURE__ */ jsx99(AlignJustify, { size: 18 }) },
5999
+ { value: "standard", label: "Standard", icon: /* @__PURE__ */ jsx99(Menu3, { size: 18 }) },
6000
+ { value: "comfortable", label: "Comfortable", icon: /* @__PURE__ */ jsx99(List4, { size: 18 }) }
5118
6001
  ];
5119
6002
  function ListingTableDensityControl({
5120
6003
  value: valueProp,
@@ -5134,16 +6017,16 @@ function ListingTableDensityControl({
5134
6017
  },
5135
6018
  [effectiveOnChange]
5136
6019
  );
5137
- return /* @__PURE__ */ jsx90(ToggleButtonGroup, { value, exclusive: true, onChange: handleChange, size, sx, children: densityOptions.map((option) => /* @__PURE__ */ jsx90(ToggleButton, { value: option.value, children: /* @__PURE__ */ jsx90(Tooltip6, { title: option.label, children: /* @__PURE__ */ jsx90("span", { style: { display: "flex", alignItems: "center" }, children: option.icon }) }) }, option.value)) });
6020
+ return /* @__PURE__ */ jsx99(ToggleButtonGroup, { value, exclusive: true, onChange: handleChange, size, sx, children: densityOptions.map((option) => /* @__PURE__ */ jsx99(ToggleButton, { value: option.value, children: /* @__PURE__ */ jsx99(Tooltip6, { title: option.label, children: /* @__PURE__ */ jsx99("span", { style: { display: "flex", alignItems: "center" }, children: option.icon }) }) }, option.value)) });
5138
6021
  }
5139
6022
  var ListingTableDensityControl_default = ListingTableDensityControl;
5140
6023
 
5141
6024
  // src/components/ListingTable/shared/ListingTableSortLabel.tsx
5142
6025
  import { useCallback as useCallback3 } from "react";
5143
6026
  import MuiTableSortLabel from "@mui/material/TableSortLabel";
5144
- import { styled as styled59 } from "@mui/material/styles";
5145
- import { jsx as jsx91 } from "react/jsx-runtime";
5146
- var StyledTableSortLabel = styled59(MuiTableSortLabel)(({ theme }) => ({
6027
+ import { styled as styled65 } from "@mui/material/styles";
6028
+ import { jsx as jsx100 } from "react/jsx-runtime";
6029
+ var StyledTableSortLabel = styled65(MuiTableSortLabel)(({ theme }) => ({
5147
6030
  color: "inherit !important",
5148
6031
  "&.Mui-active": {
5149
6032
  color: "inherit !important",
@@ -5186,13 +6069,13 @@ function ListingTableSortLabel(_a) {
5186
6069
  },
5187
6070
  [onClickProp, field, tableContext, active, direction]
5188
6071
  );
5189
- return /* @__PURE__ */ jsx91(StyledTableSortLabel, __spreadProps(__spreadValues({ active, direction, onClick: handleClick, hideSortIcon }, props), { children }));
6072
+ return /* @__PURE__ */ jsx100(StyledTableSortLabel, __spreadProps(__spreadValues({ active, direction, onClick: handleClick, hideSortIcon }, props), { children }));
5190
6073
  }
5191
6074
  var ListingTableSortLabel_default = ListingTableSortLabel;
5192
6075
 
5193
6076
  // src/components/ListingTable/shared/ListingTableRowActions.tsx
5194
- import Box37 from "@mui/material/Box";
5195
- import { jsx as jsx92 } from "react/jsx-runtime";
6077
+ import Box38 from "@mui/material/Box";
6078
+ import { jsx as jsx101 } from "react/jsx-runtime";
5196
6079
  var alignmentMap = {
5197
6080
  left: "flex-start",
5198
6081
  center: "center",
@@ -5204,8 +6087,8 @@ function ListingTableRowActions({
5204
6087
  align = "right",
5205
6088
  sx
5206
6089
  }) {
5207
- return /* @__PURE__ */ jsx92(
5208
- Box37,
6090
+ return /* @__PURE__ */ jsx101(
6091
+ Box38,
5209
6092
  {
5210
6093
  className: "table-row-actions",
5211
6094
  sx: __spreadValues(__spreadValues({
@@ -5228,9 +6111,9 @@ function ListingTableRowActions({
5228
6111
  var ListingTableRowActions_default = ListingTableRowActions;
5229
6112
 
5230
6113
  // src/components/ListingTable/shared/ListingTableCellIcon.tsx
5231
- import Box38 from "@mui/material/Box";
5232
- import Typography19 from "@mui/material/Typography";
5233
- import { Fragment as Fragment17, jsx as jsx93, jsxs as jsxs30 } from "react/jsx-runtime";
6114
+ import Box39 from "@mui/material/Box";
6115
+ import Typography20 from "@mui/material/Typography";
6116
+ import { Fragment as Fragment16, jsx as jsx102, jsxs as jsxs34 } from "react/jsx-runtime";
5234
6117
  function ListingTableCellIcon({
5235
6118
  icon,
5236
6119
  primary,
@@ -5239,8 +6122,8 @@ function ListingTableCellIcon({
5239
6122
  iconSx,
5240
6123
  sx
5241
6124
  }) {
5242
- const iconElement = /* @__PURE__ */ jsx93(
5243
- Box38,
6125
+ const iconElement = /* @__PURE__ */ jsx102(
6126
+ Box39,
5244
6127
  {
5245
6128
  sx: __spreadValues({
5246
6129
  display: "flex",
@@ -5252,9 +6135,9 @@ function ListingTableCellIcon({
5252
6135
  children: icon
5253
6136
  }
5254
6137
  );
5255
- const textContent = /* @__PURE__ */ jsxs30(Box38, { sx: { minWidth: 0, flex: 1 }, children: [
5256
- /* @__PURE__ */ jsx93(
5257
- Typography19,
6138
+ const textContent = /* @__PURE__ */ jsxs34(Box39, { sx: { minWidth: 0, flex: 1 }, children: [
6139
+ /* @__PURE__ */ jsx102(
6140
+ Typography20,
5258
6141
  {
5259
6142
  variant: "body2",
5260
6143
  component: "div",
@@ -5267,8 +6150,8 @@ function ListingTableCellIcon({
5267
6150
  children: primary
5268
6151
  }
5269
6152
  ),
5270
- secondary && /* @__PURE__ */ jsx93(
5271
- Typography19,
6153
+ secondary && /* @__PURE__ */ jsx102(
6154
+ Typography20,
5272
6155
  {
5273
6156
  variant: "caption",
5274
6157
  component: "div",
@@ -5282,8 +6165,8 @@ function ListingTableCellIcon({
5282
6165
  }
5283
6166
  )
5284
6167
  ] });
5285
- return /* @__PURE__ */ jsx93(
5286
- Box38,
6168
+ return /* @__PURE__ */ jsx102(
6169
+ Box39,
5287
6170
  {
5288
6171
  sx: __spreadValues({
5289
6172
  display: "flex",
@@ -5291,10 +6174,10 @@ function ListingTableCellIcon({
5291
6174
  gap: 1.5,
5292
6175
  minWidth: 0
5293
6176
  }, sx),
5294
- children: iconPosition === "left" ? /* @__PURE__ */ jsxs30(Fragment17, { children: [
6177
+ children: iconPosition === "left" ? /* @__PURE__ */ jsxs34(Fragment16, { children: [
5295
6178
  iconElement,
5296
6179
  textContent
5297
- ] }) : /* @__PURE__ */ jsxs30(Fragment17, { children: [
6180
+ ] }) : /* @__PURE__ */ jsxs34(Fragment16, { children: [
5298
6181
  textContent,
5299
6182
  iconElement
5300
6183
  ] })
@@ -5305,7 +6188,7 @@ var ListingTableCellIcon_default = ListingTableCellIcon;
5305
6188
 
5306
6189
  // src/components/ListingTable/ListingTableProvider.tsx
5307
6190
  import { useMemo as useMemo6 } from "react";
5308
- import { jsx as jsx94 } from "react/jsx-runtime";
6191
+ import { jsx as jsx103 } from "react/jsx-runtime";
5309
6192
  function ListingTableProvider({
5310
6193
  children,
5311
6194
  // Search
@@ -5408,12 +6291,12 @@ function ListingTableProvider({
5408
6291
  loading
5409
6292
  ]
5410
6293
  );
5411
- return /* @__PURE__ */ jsx94(ListingTableContext.Provider, { value: contextValue, children });
6294
+ return /* @__PURE__ */ jsx103(ListingTableContext.Provider, { value: contextValue, children });
5412
6295
  }
5413
6296
 
5414
6297
  // src/components/ListingTable/ListingTable/ListingTable.tsx
5415
- import { jsx as jsx95 } from "react/jsx-runtime";
5416
- var StyledTable = styled60(MuiTable, {
6298
+ import { jsx as jsx104 } from "react/jsx-runtime";
6299
+ var StyledTable = styled66(MuiTable, {
5417
6300
  shouldForwardProp: (prop) => {
5418
6301
  const excludedProps = ["variant", "density", "striped", "bordered"];
5419
6302
  return !excludedProps.some((excluded) => excluded === prop);
@@ -5466,7 +6349,7 @@ function ListingTable(_a) {
5466
6349
  "children",
5467
6350
  "sx"
5468
6351
  ]);
5469
- return /* @__PURE__ */ jsx95(
6352
+ return /* @__PURE__ */ jsx104(
5470
6353
  StyledTable,
5471
6354
  __spreadProps(__spreadValues({
5472
6355
  variant,
@@ -5499,7 +6382,7 @@ var ListingTable_default = ListingTableCompound;
5499
6382
  // src/animations/ParticleBackground/ParticleBackground.tsx
5500
6383
  import { useEffect as useEffect4, useRef } from "react";
5501
6384
  import { useColorScheme as useColorScheme3 } from "@mui/material/styles";
5502
- import { jsx as jsx96 } from "react/jsx-runtime";
6385
+ import { jsx as jsx105 } from "react/jsx-runtime";
5503
6386
  var ParticleBackground = ({
5504
6387
  opacity = 0.5,
5505
6388
  baseDensity = 0.12,
@@ -5684,7 +6567,7 @@ var ParticleBackground = ({
5684
6567
  cancelAnimationFrame(animationFrameId);
5685
6568
  };
5686
6569
  }, [baseDensity, maxSpeed, radius, linkDist, linkAlpha, mouseInfluence, repelStrength, clickBurst, mode]);
5687
- return /* @__PURE__ */ jsx96(
6570
+ return /* @__PURE__ */ jsx105(
5688
6571
  "canvas",
5689
6572
  {
5690
6573
  ref: canvasRef,
@@ -5712,37 +6595,37 @@ function useThemeContent(contentMap, fallback) {
5712
6595
  var useThemeContent_default = useThemeContent;
5713
6596
 
5714
6597
  // src/hooks/useAppShell/useAppShell.ts
5715
- import * as React25 from "react";
6598
+ import * as React30 from "react";
5716
6599
  var useAppShell = (options = {}) => {
5717
6600
  const {
5718
6601
  initialCollapsed = false,
5719
6602
  initialActiveItem = "dashboard"
5720
6603
  } = options;
5721
- const [state, setState] = React25.useState({
6604
+ const [state, setState] = React30.useState({
5722
6605
  sidebarCollapsed: initialCollapsed,
5723
6606
  notificationPanelOpen: false,
5724
6607
  activeMenuItem: initialActiveItem,
5725
6608
  expandedMenus: {}
5726
6609
  });
5727
- const toggleSidebar = React25.useCallback(() => {
6610
+ const toggleSidebar = React30.useCallback(() => {
5728
6611
  setState((prev) => __spreadProps(__spreadValues({}, prev), { sidebarCollapsed: !prev.sidebarCollapsed }));
5729
6612
  }, []);
5730
- const toggleNotificationPanel = React25.useCallback(() => {
6613
+ const toggleNotificationPanel = React30.useCallback(() => {
5731
6614
  setState((prev) => __spreadProps(__spreadValues({}, prev), {
5732
6615
  notificationPanelOpen: !prev.notificationPanelOpen
5733
6616
  }));
5734
6617
  }, []);
5735
- const setActiveMenuItem = React25.useCallback((id) => {
6618
+ const setActiveMenuItem = React30.useCallback((id) => {
5736
6619
  setState((prev) => __spreadProps(__spreadValues({}, prev), { activeMenuItem: id }));
5737
6620
  }, []);
5738
- const toggleMenu = React25.useCallback((id) => {
6621
+ const toggleMenu = React30.useCallback((id) => {
5739
6622
  setState((prev) => __spreadProps(__spreadValues({}, prev), {
5740
6623
  expandedMenus: __spreadProps(__spreadValues({}, prev.expandedMenus), {
5741
6624
  [id]: !prev.expandedMenus[id]
5742
6625
  })
5743
6626
  }));
5744
6627
  }, []);
5745
- const actions = React25.useMemo(
6628
+ const actions = React30.useMemo(
5746
6629
  () => ({
5747
6630
  toggleSidebar,
5748
6631
  toggleNotificationPanel,
@@ -5763,44 +6646,44 @@ var useAppShell = (options = {}) => {
5763
6646
  };
5764
6647
 
5765
6648
  // src/hooks/useNotifications/useNotifications.ts
5766
- import * as React26 from "react";
6649
+ import * as React31 from "react";
5767
6650
  var generateId = () => {
5768
6651
  return `notif-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`;
5769
6652
  };
5770
6653
  var useNotifications = (options = {}) => {
5771
6654
  const { initialNotifications = [] } = options;
5772
- const [notifications, setNotifications] = React26.useState(
6655
+ const [notifications, setNotifications] = React31.useState(
5773
6656
  initialNotifications
5774
6657
  );
5775
- const markRead = React26.useCallback((id) => {
6658
+ const markRead = React31.useCallback((id) => {
5776
6659
  setNotifications(
5777
6660
  (prev) => prev.map((n) => n.id === id ? __spreadProps(__spreadValues({}, n), { read: true }) : n)
5778
6661
  );
5779
6662
  }, []);
5780
- const dismiss = React26.useCallback((id) => {
6663
+ const dismiss = React31.useCallback((id) => {
5781
6664
  setNotifications((prev) => prev.filter((n) => n.id !== id));
5782
6665
  }, []);
5783
- const markAllRead = React26.useCallback(() => {
6666
+ const markAllRead = React31.useCallback(() => {
5784
6667
  setNotifications((prev) => prev.map((n) => __spreadProps(__spreadValues({}, n), { read: true })));
5785
6668
  }, []);
5786
- const clearAll = React26.useCallback(() => {
6669
+ const clearAll = React31.useCallback(() => {
5787
6670
  setNotifications([]);
5788
6671
  }, []);
5789
- const add = React26.useCallback((notification) => {
6672
+ const add = React31.useCallback((notification) => {
5790
6673
  const newNotification = __spreadProps(__spreadValues({}, notification), {
5791
6674
  id: generateId()
5792
6675
  });
5793
6676
  setNotifications((prev) => [newNotification, ...prev]);
5794
6677
  }, []);
5795
- const unreadCount = React26.useMemo(
6678
+ const unreadCount = React31.useMemo(
5796
6679
  () => notifications.filter((n) => !n.read).length,
5797
6680
  [notifications]
5798
6681
  );
5799
- const unreadNotifications = React26.useMemo(
6682
+ const unreadNotifications = React31.useMemo(
5800
6683
  () => notifications.filter((n) => !n.read),
5801
6684
  [notifications]
5802
6685
  );
5803
- const actions = React26.useMemo(
6686
+ const actions = React31.useMemo(
5804
6687
  () => ({
5805
6688
  markRead,
5806
6689
  dismiss,
@@ -5831,6 +6714,7 @@ export {
5831
6714
  AcrylicPurpleTheme_default as AcrylicPurpleTheme,
5832
6715
  AdapterDateFns,
5833
6716
  AppShell,
6717
+ ChoreoTheme_default as ChoreoTheme,
5834
6718
  ClassicTheme_default as ClassicTheme,
5835
6719
  CodeBlock_default as CodeBlock,
5836
6720
  ColorSchemeImage,
@@ -5853,6 +6737,9 @@ export {
5853
6737
  OxygenUIThemeProvider,
5854
6738
  PageContent_default as PageContent,
5855
6739
  PageTitle_default as PageTitle,
6740
+ PaleBaseTheme_default as PaleBaseTheme,
6741
+ PaleGray_default as PaleGrayTheme,
6742
+ PaleIndigo_default as PaleIndigoTheme,
5856
6743
  ParticleBackground,
5857
6744
  SearchBar_default as SearchBar,
5858
6745
  SearchBarWithAdvancedFilter_default as SearchBarWithAdvancedFilter,