@wso2/oxygen-ui 0.0.1-alpha.2 → 0.0.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.d.ts +5 -2
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js +62 -8
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js.map +3 -3
- package/dist/index.js +62 -8
- package/dist/index.js.map +3 -3
- package/dist/styles/OxygenTheme/OxygenTheme.d.ts +18 -0
- package/dist/styles/OxygenTheme/OxygenTheme.js +50 -5
- package/dist/styles/OxygenTheme/OxygenTheme.js.map +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Theme } from '@mui/material/styles';
|
|
2
|
-
|
|
2
|
+
interface OxygenUIThemeProviderProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
theme?: Theme;
|
|
5
|
-
|
|
5
|
+
radialBackground?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export default function OxygenUIThemeProvider({ children, theme, radialBackground }: OxygenUIThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -19,12 +19,39 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
|
|
21
21
|
// src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx
|
|
22
|
-
import {
|
|
22
|
+
import { useMemo } from "react";
|
|
23
|
+
import { ThemeProvider as MUIThemeProvider, StyledEngineProvider, createTheme as createTheme2 } from "@mui/material/styles";
|
|
23
24
|
import { CssBaseline } from "@mui/material";
|
|
24
25
|
|
|
25
26
|
// src/styles/OxygenTheme/OxygenTheme.ts
|
|
26
27
|
import { createTheme } from "@mui/material/styles";
|
|
27
28
|
var noShadows = Array(25).fill("none");
|
|
29
|
+
var RadialBodyBackgroundDesign = {
|
|
30
|
+
components: {
|
|
31
|
+
MuiCssBaseline: {
|
|
32
|
+
styleOverrides: {
|
|
33
|
+
"html[data-color-scheme='dark'] body": {
|
|
34
|
+
backgroundAttachment: "fixed",
|
|
35
|
+
backgroundImage: `
|
|
36
|
+
radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.12) 10%, rgba(0, 0, 0, 0) 60% 40%),
|
|
37
|
+
radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.2) 1%, rgba(0, 0, 0, 0) 40% 70%),
|
|
38
|
+
radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)
|
|
39
|
+
`,
|
|
40
|
+
backgroundBlendMode: "screen"
|
|
41
|
+
},
|
|
42
|
+
"html[data-color-scheme='light'] body": {
|
|
43
|
+
backgroundAttachment: "fixed",
|
|
44
|
+
backgroundImage: `
|
|
45
|
+
radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),
|
|
46
|
+
radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),
|
|
47
|
+
radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)
|
|
48
|
+
`,
|
|
49
|
+
backgroundBlendMode: "normal"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
28
55
|
var OxygenTheme = createTheme({
|
|
29
56
|
typography: {
|
|
30
57
|
fontFamily: "'Inter Variable', sans-serif",
|
|
@@ -39,7 +66,7 @@ var OxygenTheme = createTheme({
|
|
|
39
66
|
},
|
|
40
67
|
shadows: noShadows,
|
|
41
68
|
shape: {
|
|
42
|
-
borderRadius:
|
|
69
|
+
borderRadius: 15
|
|
43
70
|
},
|
|
44
71
|
cssVariables: {
|
|
45
72
|
colorSchemeSelector: "data-color-scheme"
|
|
@@ -87,6 +114,17 @@ var OxygenTheme = createTheme({
|
|
|
87
114
|
}
|
|
88
115
|
},
|
|
89
116
|
components: {
|
|
117
|
+
MuiAvatar: {
|
|
118
|
+
styleOverrides: {
|
|
119
|
+
root: ({ theme }) => __spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
120
|
+
backgroundColor: "#ebebeb",
|
|
121
|
+
color: "#40404B"
|
|
122
|
+
})), theme.applyStyles("dark", {
|
|
123
|
+
backgroundColor: "#3c3c3c",
|
|
124
|
+
color: "#D0D3E2"
|
|
125
|
+
}))
|
|
126
|
+
}
|
|
127
|
+
},
|
|
90
128
|
MuiButton: {
|
|
91
129
|
styleOverrides: {
|
|
92
130
|
root: {
|
|
@@ -104,17 +142,25 @@ var OxygenTheme = createTheme({
|
|
|
104
142
|
}
|
|
105
143
|
}
|
|
106
144
|
},
|
|
145
|
+
MuiDrawer: {
|
|
146
|
+
styleOverrides: {
|
|
147
|
+
paper: ({ theme }) => __spreadValues({}, theme.applyStyles("dark", {
|
|
148
|
+
background: "transparent"
|
|
149
|
+
}))
|
|
150
|
+
}
|
|
151
|
+
},
|
|
107
152
|
MuiFormLabel: {
|
|
108
153
|
styleOverrides: {
|
|
109
154
|
root: ({ theme }) => ({
|
|
110
155
|
fontSize: theme.typography.body2.fontSize,
|
|
111
|
-
marginBottom: "
|
|
156
|
+
marginBottom: "6px"
|
|
112
157
|
})
|
|
113
158
|
}
|
|
114
159
|
},
|
|
115
160
|
MuiPaper: {
|
|
116
161
|
styleOverrides: {
|
|
117
162
|
root: ({ theme }) => __spreadValues(__spreadValues({
|
|
163
|
+
borderRadius: theme.shape.borderRadius,
|
|
118
164
|
WebkitBackdropFilter: "blur(3px)",
|
|
119
165
|
backdropFilter: "blur(3px)"
|
|
120
166
|
}, theme.applyStyles("light", {
|
|
@@ -123,7 +169,7 @@ var OxygenTheme = createTheme({
|
|
|
123
169
|
boxShadow: "0 10px 22px 0 rgba(6, 6, 14, 0.1),0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,0 1px 1px 0 rgba(199, 211, 234, 0.12) inset"
|
|
124
170
|
})), theme.applyStyles("dark", {
|
|
125
171
|
border: "1px solid #d2d2d20f",
|
|
126
|
-
background: "rgb(230 230 230 /
|
|
172
|
+
background: "rgb(230 230 230 / 1%)",
|
|
127
173
|
boxShadow: "0 24px 32px 0 rgba(6, 6, 14, 0.70),0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,0 1px 1px 0 rgba(199, 211, 234, 0.12) inset"
|
|
128
174
|
}))
|
|
129
175
|
}
|
|
@@ -184,7 +230,7 @@ var OxygenTheme = createTheme({
|
|
|
184
230
|
MuiListItemButton: {
|
|
185
231
|
styleOverrides: {
|
|
186
232
|
root: ({ theme }) => ({
|
|
187
|
-
borderRadius:
|
|
233
|
+
borderRadius: 8,
|
|
188
234
|
"&.Mui-selected": __spreadProps(__spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
189
235
|
backgroundColor: theme.palette.action.selected
|
|
190
236
|
})), theme.applyStyles("dark", {
|
|
@@ -204,7 +250,6 @@ var OxygenTheme = createTheme({
|
|
|
204
250
|
root: ({ theme }) => ({
|
|
205
251
|
border: "none",
|
|
206
252
|
backgroundColor: "transparent",
|
|
207
|
-
borderRadius: "8px",
|
|
208
253
|
overflow: "hidden",
|
|
209
254
|
"& .MuiDataGrid-columnHeaders": {
|
|
210
255
|
backgroundColor: "#ffffff0a",
|
|
@@ -233,8 +278,17 @@ var OxygenTheme_default = OxygenTheme;
|
|
|
233
278
|
|
|
234
279
|
// src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx
|
|
235
280
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
236
|
-
function OxygenUIThemeProvider({
|
|
237
|
-
|
|
281
|
+
function OxygenUIThemeProvider({
|
|
282
|
+
children,
|
|
283
|
+
theme,
|
|
284
|
+
radialBackground = false
|
|
285
|
+
}) {
|
|
286
|
+
const resolvedTheme = useMemo(() => {
|
|
287
|
+
if (theme) return theme;
|
|
288
|
+
if (!radialBackground) return OxygenTheme_default;
|
|
289
|
+
return createTheme2(OxygenTheme_default, RadialBodyBackgroundDesign);
|
|
290
|
+
}, [theme, radialBackground]);
|
|
291
|
+
return /* @__PURE__ */ jsx(StyledEngineProvider, { injectFirst: true, children: /* @__PURE__ */ jsxs(MUIThemeProvider, { theme: resolvedTheme, children: [
|
|
238
292
|
/* @__PURE__ */ jsx(CssBaseline, {}),
|
|
239
293
|
children
|
|
240
294
|
] }) });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx", "../../../src/styles/OxygenTheme/OxygenTheme.ts"],
|
|
4
|
-
"sourcesContent": ["/*\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { ThemeProvider as MUIThemeProvider, StyledEngineProvider, Theme } from '@mui/material/styles';\nimport { CssBaseline } from '@mui/material';\nimport OxygenTheme from '../../styles/OxygenTheme/OxygenTheme';\n\nexport default function OxygenUIThemeProvider({ children, theme }: { children: React.ReactNode, theme?: Theme }) {\n return (\n <StyledEngineProvider injectFirst>\n <MUIThemeProvider theme={theme ?? OxygenTheme}>\n <CssBaseline />\n {children}\n </MUIThemeProvider>\n </StyledEngineProvider>\n );\n}\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { createTheme } from '@mui/material/styles';\nimport type { Shadows } from '@mui/material/styles';\nimport type {} from '@mui/x-data-grid/themeAugmentation';\n\nconst noShadows = Array(25).fill('none') as Shadows;\n\nconst OxygenTheme = createTheme({\n typography: {\n fontFamily: \"'Inter Variable', sans-serif\",\n fontWeightRegular: 300,\n fontSize: 14,\n body1: {\n fontSize: 14,\n },\n body2: {\n fontSize: 14,\n },\n },\n shadows: noShadows,\n shape: {\n borderRadius: 20,\n },\n cssVariables: {\n colorSchemeSelector: 'data-color-scheme',\n },\n colorSchemes: {\n light: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#e8e8e8',\n },\n background: {\n default: '#f5f5f5',\n paper: '#ffffff',\n },\n text: {\n primary: '#40404B',\n secondary: '#40404B',\n },\n divider: '#00000012',\n },\n },\n dark: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#3c3c3c',\n },\n background: {\n default: '#000000',\n paper: '#00000088',\n },\n text: {\n primary: '#efefef',\n secondary: '#D0D3E2',\n },\n divider: '#ffffff16',\n },\n },\n },\n components: {\n MuiButton: {\n styleOverrides: {\n root: {\n borderRadius: 20,\n textTransform: 'none',\n fontWeight: 400,\n },\n containedPrimary: {\n background: 'linear-gradient(77.74deg, #eb4f63 11.16%, #fa7b3f 99.55%)',\n color: '#fff',\n '&:hover': {\n background: 'linear-gradient(77.74deg, #d0364b 11.16%, #f2621f 99.55%)',\n color: '#fff',\n },\n },\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n marginBottom: '4px'\n }),\n },\n },\n MuiPaper: {\n styleOverrides: {\n root: ({ theme }) => ({\n WebkitBackdropFilter: 'blur(3px)',\n backdropFilter: 'blur(3px)',\n ...theme.applyStyles('light', {\n border: '1px solid #ffffff7a',\n background: 'rgb(230 230 230 / 5%)',\n boxShadow: \n '0 10px 22px 0 rgba(6, 6, 14, 0.1),' +\n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' +\n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n ...theme.applyStyles('dark', {\n border: '1px solid #d2d2d20f',\n background: 'rgb(230 230 230 / 5%)',\n boxShadow: \n '0 24px 32px 0 rgba(6, 6, 14, 0.70),' + \n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' + \n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n })\n }\n },\n MuiPopover: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('light', {\n background: '#ffffff9c',\n }),\n ...theme.applyStyles('dark', {\n background: '#040404c2',\n }),\n })\n }\n },\n MuiTextField: {\n defaultProps: { size: 'small' },\n },\n MuiSelect: {\n defaultProps: { size: 'small' },\n },\n MuiOutlinedInput: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n borderRadius: 8,\n ...theme.applyStyles('light', {\n background: '#ffffffc4'\n }),\n ...theme.applyStyles('dark', {\n background: '#ffffff05'\n })\n }),\n notchedOutline: ({ theme }) => ({\n borderWidth: 1,\n ...theme.applyStyles('light', {\n borderColor: '#d9d9d987'\n }),\n ...theme.applyStyles('dark', {\n borderColor: '#ffffff0d'\n })\n }),\n },\n },\n MuiMenuItem: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n textDecoration: 'none',\n '&:hover': {\n color: theme.palette.primary.dark,\n textDecoration: 'underline',\n },\n }),\n },\n },\n MuiListItemButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: '8px',\n '&.Mui-selected': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.selected,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n '&:hover': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.hover,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n },\n },\n }),\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n backgroundColor: 'transparent',\n borderRadius: '8px',\n overflow: 'hidden',\n '& .MuiDataGrid-columnHeaders': {\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }\n }),\n columnHeaders: ({ theme }) => ({\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }),\n columnHeader: {\n backgroundColor: 'transparent',\n },\n cell: ({ theme }) => ({\n borderBottom: '1px solid',\n backgroundColor: 'transparent',\n borderColor: theme.palette.divider,\n }),\n },\n },\n },\n});\n\nexport default OxygenTheme;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAkBA,SAAS,iBAAiB,kBAAkB,
|
|
6
|
-
"names": []
|
|
4
|
+
"sourcesContent": ["/*\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { useMemo } from 'react';\nimport { ThemeProvider as MUIThemeProvider, StyledEngineProvider, Theme, createTheme } from '@mui/material/styles';\nimport { CssBaseline } from '@mui/material';\nimport OxygenTheme, { RadialBodyBackgroundDesign } from '../../styles/OxygenTheme/OxygenTheme';\n\ninterface OxygenUIThemeProviderProps {\n children: React.ReactNode;\n theme?: Theme;\n radialBackground?: boolean;\n}\n\nexport default function OxygenUIThemeProvider({\n children,\n theme,\n radialBackground = false\n}: OxygenUIThemeProviderProps) {\n\n const resolvedTheme = useMemo(() => {\n if (theme) return theme;\n\n if (!radialBackground) return OxygenTheme;\n\n // Create a new Oxygen UI theme with CssBaseline overrides with radial background\n return createTheme(OxygenTheme, RadialBodyBackgroundDesign);\n }, [theme, radialBackground]);\n\n return (\n <StyledEngineProvider injectFirst>\n <MUIThemeProvider theme={resolvedTheme}>\n <CssBaseline />\n {children}\n </MUIThemeProvider>\n </StyledEngineProvider>\n );\n}\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { createTheme } from '@mui/material/styles';\nimport type { Shadows } from '@mui/material/styles';\nimport type {} from '@mui/x-data-grid/themeAugmentation';\n\nconst noShadows = Array(25).fill('none') as Shadows;\n\nexport const RadialBodyBackgroundDesign = {\n components: {\n MuiCssBaseline: {\n styleOverrides: {\n \"html[data-color-scheme='dark'] body\": {\n backgroundAttachment: 'fixed',\n backgroundImage: `\n radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.12) 10%, rgba(0, 0, 0, 0) 60% 40%),\n radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.2) 1%, rgba(0, 0, 0, 0) 40% 70%),\n radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)\n `,\n backgroundBlendMode: 'screen',\n },\n \"html[data-color-scheme='light'] body\": {\n backgroundAttachment: 'fixed',\n backgroundImage: `\n radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),\n radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),\n radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)\n `,\n backgroundBlendMode: 'normal',\n },\n },\n },\n },\n};\n\nconst OxygenTheme = createTheme({\n typography: {\n fontFamily: \"'Inter Variable', sans-serif\",\n fontWeightRegular: 300,\n fontSize: 14,\n body1: {\n fontSize: 14,\n },\n body2: {\n fontSize: 14,\n },\n },\n shadows: noShadows,\n shape: {\n borderRadius: 15,\n },\n cssVariables: {\n colorSchemeSelector: 'data-color-scheme',\n },\n colorSchemes: {\n light: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#e8e8e8',\n },\n background: {\n default: '#f5f5f5',\n paper: '#ffffff',\n },\n text: {\n primary: '#40404B',\n secondary: '#40404B',\n },\n divider: '#00000012',\n },\n },\n dark: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#3c3c3c',\n },\n background: {\n default: '#000000',\n paper: '#00000088',\n },\n text: {\n primary: '#efefef',\n secondary: '#D0D3E2',\n },\n divider: '#ffffff16',\n },\n },\n },\n components: {\n MuiAvatar: {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.applyStyles('light', {\n backgroundColor: '#ebebeb',\n color: '#40404B',\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#3c3c3c',\n color: '#D0D3E2',\n }),\n }),\n },\n },\n MuiButton: {\n styleOverrides: {\n root: {\n borderRadius: 20,\n textTransform: 'none',\n fontWeight: 400,\n },\n containedPrimary: {\n background: 'linear-gradient(77.74deg, #eb4f63 11.16%, #fa7b3f 99.55%)',\n color: '#fff',\n '&:hover': {\n background: 'linear-gradient(77.74deg, #d0364b 11.16%, #f2621f 99.55%)',\n color: '#fff',\n },\n },\n },\n },\n MuiDrawer: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('dark', {\n background: 'transparent',\n }),\n }),\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n marginBottom: '6px'\n }),\n },\n },\n MuiPaper: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: theme.shape.borderRadius,\n WebkitBackdropFilter: 'blur(3px)',\n backdropFilter: 'blur(3px)',\n ...theme.applyStyles('light', {\n border: '1px solid #ffffff7a',\n background: 'rgb(230 230 230 / 5%)',\n boxShadow: \n '0 10px 22px 0 rgba(6, 6, 14, 0.1),' +\n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' +\n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n ...theme.applyStyles('dark', {\n border: '1px solid #d2d2d20f',\n background: 'rgb(230 230 230 / 1%)',\n boxShadow: \n '0 24px 32px 0 rgba(6, 6, 14, 0.70),' + \n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' + \n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n })\n }\n },\n MuiPopover: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('light', {\n background: '#ffffff9c',\n }),\n ...theme.applyStyles('dark', {\n background: '#040404c2',\n }),\n })\n }\n },\n MuiTextField: {\n defaultProps: { size: 'small' },\n },\n MuiSelect: {\n defaultProps: { size: 'small' },\n },\n MuiOutlinedInput: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n borderRadius: 8,\n ...theme.applyStyles('light', {\n background: '#ffffffc4'\n }),\n ...theme.applyStyles('dark', {\n background: '#ffffff05'\n })\n }),\n notchedOutline: ({ theme }) => ({\n borderWidth: 1,\n ...theme.applyStyles('light', {\n borderColor: '#d9d9d987'\n }),\n ...theme.applyStyles('dark', {\n borderColor: '#ffffff0d'\n })\n }),\n },\n },\n MuiMenuItem: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n textDecoration: 'none',\n '&:hover': {\n color: theme.palette.primary.dark,\n textDecoration: 'underline',\n },\n }),\n },\n },\n MuiListItemButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: 8,\n '&.Mui-selected': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.selected,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n '&:hover': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.hover,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n },\n },\n }),\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n backgroundColor: 'transparent',\n overflow: 'hidden',\n '& .MuiDataGrid-columnHeaders': {\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }\n }),\n columnHeaders: ({ theme }) => ({\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }),\n columnHeader: {\n backgroundColor: 'transparent',\n },\n cell: ({ theme }) => ({\n borderBottom: '1px solid',\n backgroundColor: 'transparent',\n borderColor: theme.palette.divider,\n }),\n },\n },\n },\n});\n\nexport default OxygenTheme;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAkBA,SAAS,eAAe;AACxB,SAAS,iBAAiB,kBAAkB,sBAA6B,eAAAA,oBAAmB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ACF,CAAC;AAED,IAAO,sBAAQ;;;AD7PT,SACE,KADF;AAjBS,SAAR,sBAAuC;AAAA,EAC5C;AAAA,EACA;AAAA,EACA,mBAAmB;AACrB,GAA+B;AAE7B,QAAM,gBAAgB,QAAQ,MAAM;AAClC,QAAI,MAAO,QAAO;AAElB,QAAI,CAAC,iBAAkB,QAAO;AAG9B,WAAOC,aAAY,qBAAa,0BAA0B;AAAA,EAC5D,GAAG,CAAC,OAAO,gBAAgB,CAAC;AAE5B,SACE,oBAAC,wBAAqB,aAAW,MAC/B,+BAAC,oBAAiB,OAAO,eACvB;AAAA,wBAAC,eAAY;AAAA,IACZ;AAAA,KACH,GACF;AAEJ;",
|
|
6
|
+
"names": ["createTheme", "createTheme"]
|
|
7
7
|
}
|
package/dist/index.js
CHANGED
|
@@ -62,6 +62,32 @@ var __objRest = (source, exclude) => {
|
|
|
62
62
|
// src/styles/OxygenTheme/OxygenTheme.ts
|
|
63
63
|
import { createTheme } from "@mui/material/styles";
|
|
64
64
|
var noShadows = Array(25).fill("none");
|
|
65
|
+
var RadialBodyBackgroundDesign = {
|
|
66
|
+
components: {
|
|
67
|
+
MuiCssBaseline: {
|
|
68
|
+
styleOverrides: {
|
|
69
|
+
"html[data-color-scheme='dark'] body": {
|
|
70
|
+
backgroundAttachment: "fixed",
|
|
71
|
+
backgroundImage: `
|
|
72
|
+
radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.12) 10%, rgba(0, 0, 0, 0) 60% 40%),
|
|
73
|
+
radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.2) 1%, rgba(0, 0, 0, 0) 40% 70%),
|
|
74
|
+
radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)
|
|
75
|
+
`,
|
|
76
|
+
backgroundBlendMode: "screen"
|
|
77
|
+
},
|
|
78
|
+
"html[data-color-scheme='light'] body": {
|
|
79
|
+
backgroundAttachment: "fixed",
|
|
80
|
+
backgroundImage: `
|
|
81
|
+
radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),
|
|
82
|
+
radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),
|
|
83
|
+
radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)
|
|
84
|
+
`,
|
|
85
|
+
backgroundBlendMode: "normal"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
65
91
|
var OxygenTheme = createTheme({
|
|
66
92
|
typography: {
|
|
67
93
|
fontFamily: "'Inter Variable', sans-serif",
|
|
@@ -76,7 +102,7 @@ var OxygenTheme = createTheme({
|
|
|
76
102
|
},
|
|
77
103
|
shadows: noShadows,
|
|
78
104
|
shape: {
|
|
79
|
-
borderRadius:
|
|
105
|
+
borderRadius: 15
|
|
80
106
|
},
|
|
81
107
|
cssVariables: {
|
|
82
108
|
colorSchemeSelector: "data-color-scheme"
|
|
@@ -124,6 +150,17 @@ var OxygenTheme = createTheme({
|
|
|
124
150
|
}
|
|
125
151
|
},
|
|
126
152
|
components: {
|
|
153
|
+
MuiAvatar: {
|
|
154
|
+
styleOverrides: {
|
|
155
|
+
root: ({ theme }) => __spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
156
|
+
backgroundColor: "#ebebeb",
|
|
157
|
+
color: "#40404B"
|
|
158
|
+
})), theme.applyStyles("dark", {
|
|
159
|
+
backgroundColor: "#3c3c3c",
|
|
160
|
+
color: "#D0D3E2"
|
|
161
|
+
}))
|
|
162
|
+
}
|
|
163
|
+
},
|
|
127
164
|
MuiButton: {
|
|
128
165
|
styleOverrides: {
|
|
129
166
|
root: {
|
|
@@ -141,17 +178,25 @@ var OxygenTheme = createTheme({
|
|
|
141
178
|
}
|
|
142
179
|
}
|
|
143
180
|
},
|
|
181
|
+
MuiDrawer: {
|
|
182
|
+
styleOverrides: {
|
|
183
|
+
paper: ({ theme }) => __spreadValues({}, theme.applyStyles("dark", {
|
|
184
|
+
background: "transparent"
|
|
185
|
+
}))
|
|
186
|
+
}
|
|
187
|
+
},
|
|
144
188
|
MuiFormLabel: {
|
|
145
189
|
styleOverrides: {
|
|
146
190
|
root: ({ theme }) => ({
|
|
147
191
|
fontSize: theme.typography.body2.fontSize,
|
|
148
|
-
marginBottom: "
|
|
192
|
+
marginBottom: "6px"
|
|
149
193
|
})
|
|
150
194
|
}
|
|
151
195
|
},
|
|
152
196
|
MuiPaper: {
|
|
153
197
|
styleOverrides: {
|
|
154
198
|
root: ({ theme }) => __spreadValues(__spreadValues({
|
|
199
|
+
borderRadius: theme.shape.borderRadius,
|
|
155
200
|
WebkitBackdropFilter: "blur(3px)",
|
|
156
201
|
backdropFilter: "blur(3px)"
|
|
157
202
|
}, theme.applyStyles("light", {
|
|
@@ -160,7 +205,7 @@ var OxygenTheme = createTheme({
|
|
|
160
205
|
boxShadow: "0 10px 22px 0 rgba(6, 6, 14, 0.1),0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,0 1px 1px 0 rgba(199, 211, 234, 0.12) inset"
|
|
161
206
|
})), theme.applyStyles("dark", {
|
|
162
207
|
border: "1px solid #d2d2d20f",
|
|
163
|
-
background: "rgb(230 230 230 /
|
|
208
|
+
background: "rgb(230 230 230 / 1%)",
|
|
164
209
|
boxShadow: "0 24px 32px 0 rgba(6, 6, 14, 0.70),0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,0 1px 1px 0 rgba(199, 211, 234, 0.12) inset"
|
|
165
210
|
}))
|
|
166
211
|
}
|
|
@@ -221,7 +266,7 @@ var OxygenTheme = createTheme({
|
|
|
221
266
|
MuiListItemButton: {
|
|
222
267
|
styleOverrides: {
|
|
223
268
|
root: ({ theme }) => ({
|
|
224
|
-
borderRadius:
|
|
269
|
+
borderRadius: 8,
|
|
225
270
|
"&.Mui-selected": __spreadProps(__spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
226
271
|
backgroundColor: theme.palette.action.selected
|
|
227
272
|
})), theme.applyStyles("dark", {
|
|
@@ -241,7 +286,6 @@ var OxygenTheme = createTheme({
|
|
|
241
286
|
root: ({ theme }) => ({
|
|
242
287
|
border: "none",
|
|
243
288
|
backgroundColor: "transparent",
|
|
244
|
-
borderRadius: "8px",
|
|
245
289
|
overflow: "hidden",
|
|
246
290
|
"& .MuiDataGrid-columnHeaders": {
|
|
247
291
|
backgroundColor: "#ffffff0a",
|
|
@@ -269,11 +313,21 @@ var OxygenTheme = createTheme({
|
|
|
269
313
|
var OxygenTheme_default = OxygenTheme;
|
|
270
314
|
|
|
271
315
|
// src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx
|
|
272
|
-
import {
|
|
316
|
+
import { useMemo } from "react";
|
|
317
|
+
import { ThemeProvider as MUIThemeProvider, StyledEngineProvider, createTheme as createTheme2 } from "@mui/material/styles";
|
|
273
318
|
import { CssBaseline } from "@mui/material";
|
|
274
319
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
275
|
-
function OxygenUIThemeProvider({
|
|
276
|
-
|
|
320
|
+
function OxygenUIThemeProvider({
|
|
321
|
+
children,
|
|
322
|
+
theme,
|
|
323
|
+
radialBackground = false
|
|
324
|
+
}) {
|
|
325
|
+
const resolvedTheme = useMemo(() => {
|
|
326
|
+
if (theme) return theme;
|
|
327
|
+
if (!radialBackground) return OxygenTheme_default;
|
|
328
|
+
return createTheme2(OxygenTheme_default, RadialBodyBackgroundDesign);
|
|
329
|
+
}, [theme, radialBackground]);
|
|
330
|
+
return /* @__PURE__ */ jsx(StyledEngineProvider, { injectFirst: true, children: /* @__PURE__ */ jsxs(MUIThemeProvider, { theme: resolvedTheme, children: [
|
|
277
331
|
/* @__PURE__ */ jsx(CssBaseline, {}),
|
|
278
332
|
children
|
|
279
333
|
] }) });
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["inline-css-fonts:/home/runner/work/oxygen-ui/oxygen-ui/packages/oxygen-ui/src/fonts.css", "../src/styles/OxygenTheme/OxygenTheme.ts", "../src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx", "../src/components/ColorSchemeImage/ColorSchemeImage.tsx", "../src/components/ColorSchemeToggle/ColorSchemeToggle.tsx", "../src/layouts/Layout.tsx", "../src/layouts/LayoutSidebar.tsx", "../src/layouts/LayoutNavbar.tsx", "../src/layouts/LayoutContent.tsx", "../src/layouts/LayoutHeader.tsx", "../src/layouts/index.ts", "../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["\n(function() {\n if (typeof document !== 'undefined') {\n const style = document.createElement('style');\n style.setAttribute('data-oxygen-fonts', 'true');\n style.textContent = \"/**\\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\\n *\\n * WSO2 LLC. licenses this file to you under the Apache License,\\n * Version 2.0 (the \\\"License\\\"); you may not use this file except\\n * in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing,\\n * software distributed under the License is distributed on an\\n * \\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\n * KIND, either express or implied. See the License for the\\n * specific language governing permissions and limitations\\n * under the License.\\n */\\n\\n@import '@fontsource-variable/inter';\\n\";\n document.head.appendChild(style);\n }\n})();\n ", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { createTheme } from '@mui/material/styles';\nimport type { Shadows } from '@mui/material/styles';\nimport type {} from '@mui/x-data-grid/themeAugmentation';\n\nconst noShadows = Array(25).fill('none') as Shadows;\n\nconst OxygenTheme = createTheme({\n typography: {\n fontFamily: \"'Inter Variable', sans-serif\",\n fontWeightRegular: 300,\n fontSize: 14,\n body1: {\n fontSize: 14,\n },\n body2: {\n fontSize: 14,\n },\n },\n shadows: noShadows,\n shape: {\n borderRadius: 20,\n },\n cssVariables: {\n colorSchemeSelector: 'data-color-scheme',\n },\n colorSchemes: {\n light: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#e8e8e8',\n },\n background: {\n default: '#f5f5f5',\n paper: '#ffffff',\n },\n text: {\n primary: '#40404B',\n secondary: '#40404B',\n },\n divider: '#00000012',\n },\n },\n dark: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#3c3c3c',\n },\n background: {\n default: '#000000',\n paper: '#00000088',\n },\n text: {\n primary: '#efefef',\n secondary: '#D0D3E2',\n },\n divider: '#ffffff16',\n },\n },\n },\n components: {\n MuiButton: {\n styleOverrides: {\n root: {\n borderRadius: 20,\n textTransform: 'none',\n fontWeight: 400,\n },\n containedPrimary: {\n background: 'linear-gradient(77.74deg, #eb4f63 11.16%, #fa7b3f 99.55%)',\n color: '#fff',\n '&:hover': {\n background: 'linear-gradient(77.74deg, #d0364b 11.16%, #f2621f 99.55%)',\n color: '#fff',\n },\n },\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n marginBottom: '4px'\n }),\n },\n },\n MuiPaper: {\n styleOverrides: {\n root: ({ theme }) => ({\n WebkitBackdropFilter: 'blur(3px)',\n backdropFilter: 'blur(3px)',\n ...theme.applyStyles('light', {\n border: '1px solid #ffffff7a',\n background: 'rgb(230 230 230 / 5%)',\n boxShadow: \n '0 10px 22px 0 rgba(6, 6, 14, 0.1),' +\n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' +\n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n ...theme.applyStyles('dark', {\n border: '1px solid #d2d2d20f',\n background: 'rgb(230 230 230 / 5%)',\n boxShadow: \n '0 24px 32px 0 rgba(6, 6, 14, 0.70),' + \n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' + \n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n })\n }\n },\n MuiPopover: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('light', {\n background: '#ffffff9c',\n }),\n ...theme.applyStyles('dark', {\n background: '#040404c2',\n }),\n })\n }\n },\n MuiTextField: {\n defaultProps: { size: 'small' },\n },\n MuiSelect: {\n defaultProps: { size: 'small' },\n },\n MuiOutlinedInput: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n borderRadius: 8,\n ...theme.applyStyles('light', {\n background: '#ffffffc4'\n }),\n ...theme.applyStyles('dark', {\n background: '#ffffff05'\n })\n }),\n notchedOutline: ({ theme }) => ({\n borderWidth: 1,\n ...theme.applyStyles('light', {\n borderColor: '#d9d9d987'\n }),\n ...theme.applyStyles('dark', {\n borderColor: '#ffffff0d'\n })\n }),\n },\n },\n MuiMenuItem: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n textDecoration: 'none',\n '&:hover': {\n color: theme.palette.primary.dark,\n textDecoration: 'underline',\n },\n }),\n },\n },\n MuiListItemButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: '8px',\n '&.Mui-selected': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.selected,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n '&:hover': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.hover,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n },\n },\n }),\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n backgroundColor: 'transparent',\n borderRadius: '8px',\n overflow: 'hidden',\n '& .MuiDataGrid-columnHeaders': {\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }\n }),\n columnHeaders: ({ theme }) => ({\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }),\n columnHeader: {\n backgroundColor: 'transparent',\n },\n cell: ({ theme }) => ({\n borderBottom: '1px solid',\n backgroundColor: 'transparent',\n borderColor: theme.palette.divider,\n }),\n },\n },\n },\n});\n\nexport default OxygenTheme;\n", "/*\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { ThemeProvider as MUIThemeProvider, StyledEngineProvider, Theme } from '@mui/material/styles';\nimport { CssBaseline } from '@mui/material';\nimport OxygenTheme from '../../styles/OxygenTheme/OxygenTheme';\n\nexport default function OxygenUIThemeProvider({ children, theme }: { children: React.ReactNode, theme?: Theme }) {\n return (\n <StyledEngineProvider injectFirst>\n <MUIThemeProvider theme={theme ?? OxygenTheme}>\n <CssBaseline />\n {children}\n </MUIThemeProvider>\n </StyledEngineProvider>\n );\n}\n", "/*\n * Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport Box, { BoxProps } from '@mui/material/Box';\nimport { useColorScheme } from '@mui/material/styles';\nimport useMediaQuery from '@mui/material/useMediaQuery';\nimport { JSX } from 'react';\n\n/**\n * Represents attributes for different color schemes (light and dark modes).\n */\nexport interface ColorSchemeImageAttribute {\n /** The value for light mode */\n light: string;\n\n /** The value for dark mode */\n dark: string;\n}\n\n/**\n * Props for the ColorSchemeImage component.\n * Extends BoxProps to inherit all Box component properties.\n */\nexport interface ColorSchemeImageProps extends BoxProps {\n /** Source URLs for the icon in different color schemes */\n src: ColorSchemeImageAttribute;\n\n /** Alt text for the icon, can be a string or different text for each color scheme */\n alt: ColorSchemeImageAttribute | string;\n\n /** Width of the icon in pixels or CSS units */\n width?: number | string;\n\n /** Height of the icon in pixels or CSS units */\n height?: number | string;\n}\n\n/**\n * A color scheme image component that automatically switches between light and dark mode variants\n * based on the current color scheme. Supports both automatic system preference detection\n * and manual color scheme selection.\n *\n * @param props - The component props\n * @param props.src - Object containing light and dark mode image sources\n * @param props.alt - Alt text for accessibility, can be a string or object with light/dark variants\n * @param props.width - Icon width, defaults to 16px\n * @param props.height - Icon height, defaults to 16px\n * @param props.rest - Additional props passed to the underlying Box component\n * @returns A color scheme image component that adapts to the current color scheme\n *\n * @example\n * ```tsx\n * <ColorSchemeImage\n * src={{\n * light: '/icons/logo-light.svg',\n * dark: '/icons/logo-dark.svg'\n * }}\n * alt=\"Company Logo\"\n * width={24}\n * height={24}\n * />\n * ```\n *\n * @example\n * ```tsx\n * <ColorSchemeImage\n * src={{\n * light: '/icons/home-light.png',\n * dark: '/icons/home-dark.png'\n * }}\n * alt={{\n * light: 'Home icon (light mode)',\n * dark: 'Home icon (dark mode)'\n * }}\n * />\n * ```\n */\nexport default function ColorSchemeImage({src, alt, width = 16, height = 16, ...rest}: ColorSchemeImageProps): \n JSX.Element {\n\n const {mode} = useColorScheme();\n\n const prefersDark = useMediaQuery('(prefers-color-scheme: dark)');\n\n let actualMode: string | undefined;\n\n if (mode === 'system') {\n actualMode = prefersDark ? 'dark' : 'light';\n } else {\n actualMode = mode;\n }\n\n const imageSrc: string = actualMode === 'dark' ? src.dark : src.light;\n let imageAlt: string;\n\n if (typeof alt === 'string') {\n imageAlt = alt;\n } else {\n imageAlt = actualMode === 'dark' ? alt.dark : alt.light;\n }\n\n return <Box component=\"img\" src={imageSrc} alt={imageAlt} width={width} height={height} {...rest} />;\n}\n", "/*\n * Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { useColorScheme } from '@mui/material/styles';\nimport IconButton, { IconButtonProps } from '@mui/material/IconButton';\nimport { Moon, Monitor, Sun } from '@wso2/oxygen-ui-icons-react';\nimport { Tooltip } from '@mui/material';\n\n/**\n * Props for the ColorSchemeToggle component.\n * @remarks Extends MUI IconButtonProps.\n * @see {@link https://mui.com/material-ui/api/icon-button/#props IconButtonProps}\n */\ninterface ColorSchemeToggleProps extends IconButtonProps {\n darkModeIcon?: React.ReactNode;\n lightModeIcon?: React.ReactNode;\n systemModeIcon?: React.ReactNode;\n}\n\ntype Mode = 'light' | 'dark' | 'system';\n\nexport const ColorSchemeToggle: React.FC<ColorSchemeToggleProps> = ({\n darkModeIcon,\n lightModeIcon,\n systemModeIcon,\n ...buttonProps\n}) => {\n const { mode, setMode } = useColorScheme();\n\n if (!mode) {\n return null;\n }\n\n const nextMode = (currentMode: Mode): Mode => {\n if (currentMode === 'light') return 'dark';\n if (currentMode === 'dark') return 'system';\n return 'light';\n };\n\n const currentMode: Mode = mode ?? 'system';\n\n const ColorSchemeIcon = () => {\n switch (currentMode) {\n case 'light':\n return lightModeIcon ?? <Sun />;\n case 'dark':\n return darkModeIcon ?? <Moon />;\n default:\n return systemModeIcon ?? <Monitor />;\n }\n };\n\n return (\n <Tooltip title={`${currentMode.charAt(0).toUpperCase()}${currentMode.slice(1)} Mode`}>\n <IconButton {...buttonProps} onClick={() => setMode(nextMode(currentMode))}>\n <ColorSchemeIcon />\n </IconButton>\n </Tooltip>\n );\n};\n\nexport default ColorSchemeToggle;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport * as React from 'react';\nimport Box, {BoxProps} from '@mui/material/Box';\nimport type {PropsWithChildren} from 'react';\n\nfunction Layout({children = null, sx, ...rest}: PropsWithChildren<BoxProps>) {\n return (\n <Box\n sx={{\n display: 'flex',\n flexDirection: 'row',\n ...sx,\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n}\n\nexport default Layout;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport * as React from 'react';\nimport Box, {BoxProps} from '@mui/material/Box';\nimport type {PropsWithChildren, ReactNode} from 'react';\n\nfunction LayoutSidebar({children = null, sx, ...rest}: PropsWithChildren<BoxProps>): ReactNode {\n return (\n <Box\n sx={{\n display: 'flex',\n flexDirection: 'column',\n ...sx,\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n}\n\nexport default LayoutSidebar;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport type {PropsWithChildren, ReactNode} from 'react';\n\nfunction LayoutNavbar({children = null}: PropsWithChildren): ReactNode {\n return children;\n}\n\nexport default LayoutNavbar;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport * as React from 'react';\nimport Box, {BoxProps} from '@mui/material/Box';\nimport type {PropsWithChildren, ReactNode} from 'react';\n\nfunction LayoutContent({children = null, ...rest}: PropsWithChildren<BoxProps>): ReactNode {\n return (\n <Box\n component=\"main\"\n sx={{\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n overflow: 'auto',\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n}\n\nexport default LayoutContent;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport * as React from 'react';\nimport Box, {BoxProps} from '@mui/material/Box';\nimport type {PropsWithChildren, ReactNode} from 'react';\n\nfunction LayoutHeader({children = null, sx, ...rest}: PropsWithChildren<BoxProps>): ReactNode {\n return (\n <Box\n sx={{\n display: 'flex',\n ...sx,\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n}\n\nexport default LayoutHeader;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport LayoutRoot from './Layout';\nimport LayoutSidebar from './LayoutSidebar';\nimport LayoutNavbar from './LayoutNavbar';\nimport LayoutContent from './LayoutContent';\nimport LayoutHeader from './LayoutHeader';\n\nconst Layout = Object.assign(LayoutRoot, {\n Sidebar: LayoutSidebar,\n Navbar: LayoutNavbar,\n Content: LayoutContent,\n Header: LayoutHeader,\n});\n\nexport default Layout;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\n// Auto-import bundled fonts\nimport './fonts.css';\n\n// Export custom Oxygen UI components and utilities\nexport { default as OxygenTheme } from \"./styles/OxygenTheme/OxygenTheme\";\nexport { default as OxygenUIThemeProvider } from \"./contexts/OxygenUIThemeProvider/OxygenUIThemeProvider\";\nexport { default as ColorSchemeImage } from \"./components/ColorSchemeImage/ColorSchemeImage\";\nexport { default as ColorSchemeToggle } from \"./components/ColorSchemeToggle/ColorSchemeToggle\";\nexport { default as Layout } from \"./layouts\";\n\n// Re-export the entire @mui/material API\n// This allows consumers to import from @wso2/oxygen-ui instead of @mui/material\n// and automatically get the Oxygen theme applied\nexport * from '@mui/material';\n\n// Re-export @mui/x-charts as namespace to avoid conflicts\n// Usage: import { Charts } from '@wso2/oxygen-ui';\nexport * as Charts from '@mui/x-charts';\n\n// Re-export @mui/x-data-grid as namespace to avoid conflicts\n// Usage: import { DataGrid } from '@wso2/oxygen-ui';\nexport * as DataGrid from '@mui/x-data-grid';\n\n// Re-export @mui/x-date-pickers as namespace to avoid conflicts\n// Usage: import { DatePickers } from '@wso2/oxygen-ui';\nexport * as DatePickers from '@mui/x-date-pickers';\n\n// Re-export @mui/x-charts as namespace to avoid conflicts\n// Usage: import { TreeView } from '@wso2/oxygen-ui';\nexport * as TreeView from '@mui/x-tree-view';\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACC,WAAW;AACV,MAAI,OAAO,aAAa,aAAa;AACnC,UAAM,QAAQ,SAAS,cAAc,OAAO;AAC5C,UAAM,aAAa,qBAAqB,MAAM;AAC9C,UAAM,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACpB,aAAS,KAAK,YAAY,KAAK;AAAA,EACjC;AACF,GAAG;;;ACUH,SAAS,mBAAmB;AAI5B,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;
|
|
6
|
-
"names": ["jsx", "useColorScheme", "jsx", "useColorScheme", "currentMode", "Box", "jsx", "Box", "Box", "jsx", "Box", "Box", "jsx", "Box", "Box", "jsx", "Box", "Layout"]
|
|
4
|
+
"sourcesContent": ["\n(function() {\n if (typeof document !== 'undefined') {\n const style = document.createElement('style');\n style.setAttribute('data-oxygen-fonts', 'true');\n style.textContent = \"/**\\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\\n *\\n * WSO2 LLC. licenses this file to you under the Apache License,\\n * Version 2.0 (the \\\"License\\\"); you may not use this file except\\n * in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing,\\n * software distributed under the License is distributed on an\\n * \\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\\n * KIND, either express or implied. See the License for the\\n * specific language governing permissions and limitations\\n * under the License.\\n */\\n\\n@import '@fontsource-variable/inter';\\n\";\n document.head.appendChild(style);\n }\n})();\n ", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { createTheme } from '@mui/material/styles';\nimport type { Shadows } from '@mui/material/styles';\nimport type {} from '@mui/x-data-grid/themeAugmentation';\n\nconst noShadows = Array(25).fill('none') as Shadows;\n\nexport const RadialBodyBackgroundDesign = {\n components: {\n MuiCssBaseline: {\n styleOverrides: {\n \"html[data-color-scheme='dark'] body\": {\n backgroundAttachment: 'fixed',\n backgroundImage: `\n radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.12) 10%, rgba(0, 0, 0, 0) 60% 40%),\n radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.2) 1%, rgba(0, 0, 0, 0) 40% 70%),\n radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)\n `,\n backgroundBlendMode: 'screen',\n },\n \"html[data-color-scheme='light'] body\": {\n backgroundAttachment: 'fixed',\n backgroundImage: `\n radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),\n radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),\n radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)\n `,\n backgroundBlendMode: 'normal',\n },\n },\n },\n },\n};\n\nconst OxygenTheme = createTheme({\n typography: {\n fontFamily: \"'Inter Variable', sans-serif\",\n fontWeightRegular: 300,\n fontSize: 14,\n body1: {\n fontSize: 14,\n },\n body2: {\n fontSize: 14,\n },\n },\n shadows: noShadows,\n shape: {\n borderRadius: 15,\n },\n cssVariables: {\n colorSchemeSelector: 'data-color-scheme',\n },\n colorSchemes: {\n light: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#e8e8e8',\n },\n background: {\n default: '#f5f5f5',\n paper: '#ffffff',\n },\n text: {\n primary: '#40404B',\n secondary: '#40404B',\n },\n divider: '#00000012',\n },\n },\n dark: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#3c3c3c',\n },\n background: {\n default: '#000000',\n paper: '#00000088',\n },\n text: {\n primary: '#efefef',\n secondary: '#D0D3E2',\n },\n divider: '#ffffff16',\n },\n },\n },\n components: {\n MuiAvatar: {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.applyStyles('light', {\n backgroundColor: '#ebebeb',\n color: '#40404B',\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#3c3c3c',\n color: '#D0D3E2',\n }),\n }),\n },\n },\n MuiButton: {\n styleOverrides: {\n root: {\n borderRadius: 20,\n textTransform: 'none',\n fontWeight: 400,\n },\n containedPrimary: {\n background: 'linear-gradient(77.74deg, #eb4f63 11.16%, #fa7b3f 99.55%)',\n color: '#fff',\n '&:hover': {\n background: 'linear-gradient(77.74deg, #d0364b 11.16%, #f2621f 99.55%)',\n color: '#fff',\n },\n },\n },\n },\n MuiDrawer: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('dark', {\n background: 'transparent',\n }),\n }),\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n marginBottom: '6px'\n }),\n },\n },\n MuiPaper: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: theme.shape.borderRadius,\n WebkitBackdropFilter: 'blur(3px)',\n backdropFilter: 'blur(3px)',\n ...theme.applyStyles('light', {\n border: '1px solid #ffffff7a',\n background: 'rgb(230 230 230 / 5%)',\n boxShadow: \n '0 10px 22px 0 rgba(6, 6, 14, 0.1),' +\n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' +\n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n ...theme.applyStyles('dark', {\n border: '1px solid #d2d2d20f',\n background: 'rgb(230 230 230 / 1%)',\n boxShadow: \n '0 24px 32px 0 rgba(6, 6, 14, 0.70),' + \n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' + \n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n })\n }\n },\n MuiPopover: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('light', {\n background: '#ffffff9c',\n }),\n ...theme.applyStyles('dark', {\n background: '#040404c2',\n }),\n })\n }\n },\n MuiTextField: {\n defaultProps: { size: 'small' },\n },\n MuiSelect: {\n defaultProps: { size: 'small' },\n },\n MuiOutlinedInput: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n borderRadius: 8,\n ...theme.applyStyles('light', {\n background: '#ffffffc4'\n }),\n ...theme.applyStyles('dark', {\n background: '#ffffff05'\n })\n }),\n notchedOutline: ({ theme }) => ({\n borderWidth: 1,\n ...theme.applyStyles('light', {\n borderColor: '#d9d9d987'\n }),\n ...theme.applyStyles('dark', {\n borderColor: '#ffffff0d'\n })\n }),\n },\n },\n MuiMenuItem: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n textDecoration: 'none',\n '&:hover': {\n color: theme.palette.primary.dark,\n textDecoration: 'underline',\n },\n }),\n },\n },\n MuiListItemButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: 8,\n '&.Mui-selected': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.selected,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n '&:hover': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.hover,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n },\n },\n }),\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n backgroundColor: 'transparent',\n overflow: 'hidden',\n '& .MuiDataGrid-columnHeaders': {\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }\n }),\n columnHeaders: ({ theme }) => ({\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }),\n columnHeader: {\n backgroundColor: 'transparent',\n },\n cell: ({ theme }) => ({\n borderBottom: '1px solid',\n backgroundColor: 'transparent',\n borderColor: theme.palette.divider,\n }),\n },\n },\n },\n});\n\nexport default OxygenTheme;\n", "/*\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { useMemo } from 'react';\nimport { ThemeProvider as MUIThemeProvider, StyledEngineProvider, Theme, createTheme } from '@mui/material/styles';\nimport { CssBaseline } from '@mui/material';\nimport OxygenTheme, { RadialBodyBackgroundDesign } from '../../styles/OxygenTheme/OxygenTheme';\n\ninterface OxygenUIThemeProviderProps {\n children: React.ReactNode;\n theme?: Theme;\n radialBackground?: boolean;\n}\n\nexport default function OxygenUIThemeProvider({\n children,\n theme,\n radialBackground = false\n}: OxygenUIThemeProviderProps) {\n\n const resolvedTheme = useMemo(() => {\n if (theme) return theme;\n\n if (!radialBackground) return OxygenTheme;\n\n // Create a new Oxygen UI theme with CssBaseline overrides with radial background\n return createTheme(OxygenTheme, RadialBodyBackgroundDesign);\n }, [theme, radialBackground]);\n\n return (\n <StyledEngineProvider injectFirst>\n <MUIThemeProvider theme={resolvedTheme}>\n <CssBaseline />\n {children}\n </MUIThemeProvider>\n </StyledEngineProvider>\n );\n}\n", "/*\n * Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport Box, { BoxProps } from '@mui/material/Box';\nimport { useColorScheme } from '@mui/material/styles';\nimport useMediaQuery from '@mui/material/useMediaQuery';\nimport { JSX } from 'react';\n\n/**\n * Represents attributes for different color schemes (light and dark modes).\n */\nexport interface ColorSchemeImageAttribute {\n /** The value for light mode */\n light: string;\n\n /** The value for dark mode */\n dark: string;\n}\n\n/**\n * Props for the ColorSchemeImage component.\n * Extends BoxProps to inherit all Box component properties.\n */\nexport interface ColorSchemeImageProps extends BoxProps {\n /** Source URLs for the icon in different color schemes */\n src: ColorSchemeImageAttribute;\n\n /** Alt text for the icon, can be a string or different text for each color scheme */\n alt: ColorSchemeImageAttribute | string;\n\n /** Width of the icon in pixels or CSS units */\n width?: number | string;\n\n /** Height of the icon in pixels or CSS units */\n height?: number | string;\n}\n\n/**\n * A color scheme image component that automatically switches between light and dark mode variants\n * based on the current color scheme. Supports both automatic system preference detection\n * and manual color scheme selection.\n *\n * @param props - The component props\n * @param props.src - Object containing light and dark mode image sources\n * @param props.alt - Alt text for accessibility, can be a string or object with light/dark variants\n * @param props.width - Icon width, defaults to 16px\n * @param props.height - Icon height, defaults to 16px\n * @param props.rest - Additional props passed to the underlying Box component\n * @returns A color scheme image component that adapts to the current color scheme\n *\n * @example\n * ```tsx\n * <ColorSchemeImage\n * src={{\n * light: '/icons/logo-light.svg',\n * dark: '/icons/logo-dark.svg'\n * }}\n * alt=\"Company Logo\"\n * width={24}\n * height={24}\n * />\n * ```\n *\n * @example\n * ```tsx\n * <ColorSchemeImage\n * src={{\n * light: '/icons/home-light.png',\n * dark: '/icons/home-dark.png'\n * }}\n * alt={{\n * light: 'Home icon (light mode)',\n * dark: 'Home icon (dark mode)'\n * }}\n * />\n * ```\n */\nexport default function ColorSchemeImage({src, alt, width = 16, height = 16, ...rest}: ColorSchemeImageProps): \n JSX.Element {\n\n const {mode} = useColorScheme();\n\n const prefersDark = useMediaQuery('(prefers-color-scheme: dark)');\n\n let actualMode: string | undefined;\n\n if (mode === 'system') {\n actualMode = prefersDark ? 'dark' : 'light';\n } else {\n actualMode = mode;\n }\n\n const imageSrc: string = actualMode === 'dark' ? src.dark : src.light;\n let imageAlt: string;\n\n if (typeof alt === 'string') {\n imageAlt = alt;\n } else {\n imageAlt = actualMode === 'dark' ? alt.dark : alt.light;\n }\n\n return <Box component=\"img\" src={imageSrc} alt={imageAlt} width={width} height={height} {...rest} />;\n}\n", "/*\n * Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { useColorScheme } from '@mui/material/styles';\nimport IconButton, { IconButtonProps } from '@mui/material/IconButton';\nimport { Moon, Monitor, Sun } from '@wso2/oxygen-ui-icons-react';\nimport { Tooltip } from '@mui/material';\n\n/**\n * Props for the ColorSchemeToggle component.\n * @remarks Extends MUI IconButtonProps.\n * @see {@link https://mui.com/material-ui/api/icon-button/#props IconButtonProps}\n */\ninterface ColorSchemeToggleProps extends IconButtonProps {\n darkModeIcon?: React.ReactNode;\n lightModeIcon?: React.ReactNode;\n systemModeIcon?: React.ReactNode;\n}\n\ntype Mode = 'light' | 'dark' | 'system';\n\nexport const ColorSchemeToggle: React.FC<ColorSchemeToggleProps> = ({\n darkModeIcon,\n lightModeIcon,\n systemModeIcon,\n ...buttonProps\n}) => {\n const { mode, setMode } = useColorScheme();\n\n if (!mode) {\n return null;\n }\n\n const nextMode = (currentMode: Mode): Mode => {\n if (currentMode === 'light') return 'dark';\n if (currentMode === 'dark') return 'system';\n return 'light';\n };\n\n const currentMode: Mode = mode ?? 'system';\n\n const ColorSchemeIcon = () => {\n switch (currentMode) {\n case 'light':\n return lightModeIcon ?? <Sun />;\n case 'dark':\n return darkModeIcon ?? <Moon />;\n default:\n return systemModeIcon ?? <Monitor />;\n }\n };\n\n return (\n <Tooltip title={`${currentMode.charAt(0).toUpperCase()}${currentMode.slice(1)} Mode`}>\n <IconButton {...buttonProps} onClick={() => setMode(nextMode(currentMode))}>\n <ColorSchemeIcon />\n </IconButton>\n </Tooltip>\n );\n};\n\nexport default ColorSchemeToggle;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport * as React from 'react';\nimport Box, {BoxProps} from '@mui/material/Box';\nimport type {PropsWithChildren} from 'react';\n\nfunction Layout({children = null, sx, ...rest}: PropsWithChildren<BoxProps>) {\n return (\n <Box\n sx={{\n display: 'flex',\n flexDirection: 'row',\n ...sx,\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n}\n\nexport default Layout;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport * as React from 'react';\nimport Box, {BoxProps} from '@mui/material/Box';\nimport type {PropsWithChildren, ReactNode} from 'react';\n\nfunction LayoutSidebar({children = null, sx, ...rest}: PropsWithChildren<BoxProps>): ReactNode {\n return (\n <Box\n sx={{\n display: 'flex',\n flexDirection: 'column',\n ...sx,\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n}\n\nexport default LayoutSidebar;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport type {PropsWithChildren, ReactNode} from 'react';\n\nfunction LayoutNavbar({children = null}: PropsWithChildren): ReactNode {\n return children;\n}\n\nexport default LayoutNavbar;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport * as React from 'react';\nimport Box, {BoxProps} from '@mui/material/Box';\nimport type {PropsWithChildren, ReactNode} from 'react';\n\nfunction LayoutContent({children = null, ...rest}: PropsWithChildren<BoxProps>): ReactNode {\n return (\n <Box\n component=\"main\"\n sx={{\n display: 'flex',\n flexDirection: 'column',\n flexGrow: 1,\n overflow: 'auto',\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n}\n\nexport default LayoutContent;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport * as React from 'react';\nimport Box, {BoxProps} from '@mui/material/Box';\nimport type {PropsWithChildren, ReactNode} from 'react';\n\nfunction LayoutHeader({children = null, sx, ...rest}: PropsWithChildren<BoxProps>): ReactNode {\n return (\n <Box\n sx={{\n display: 'flex',\n ...sx,\n }}\n {...rest}\n >\n {children}\n </Box>\n );\n}\n\nexport default LayoutHeader;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport LayoutRoot from './Layout';\nimport LayoutSidebar from './LayoutSidebar';\nimport LayoutNavbar from './LayoutNavbar';\nimport LayoutContent from './LayoutContent';\nimport LayoutHeader from './LayoutHeader';\n\nconst Layout = Object.assign(LayoutRoot, {\n Sidebar: LayoutSidebar,\n Navbar: LayoutNavbar,\n Content: LayoutContent,\n Header: LayoutHeader,\n});\n\nexport default Layout;\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\n// Auto-import bundled fonts\nimport './fonts.css';\n\n// Export custom Oxygen UI components and utilities\nexport { default as OxygenTheme } from \"./styles/OxygenTheme/OxygenTheme\";\nexport { default as OxygenUIThemeProvider } from \"./contexts/OxygenUIThemeProvider/OxygenUIThemeProvider\";\nexport { default as ColorSchemeImage } from \"./components/ColorSchemeImage/ColorSchemeImage\";\nexport { default as ColorSchemeToggle } from \"./components/ColorSchemeToggle/ColorSchemeToggle\";\nexport { default as Layout } from \"./layouts\";\n\n// Re-export the entire @mui/material API\n// This allows consumers to import from @wso2/oxygen-ui instead of @mui/material\n// and automatically get the Oxygen theme applied\nexport * from '@mui/material';\n\n// Re-export @mui/x-charts as namespace to avoid conflicts\n// Usage: import { Charts } from '@wso2/oxygen-ui';\nexport * as Charts from '@mui/x-charts';\n\n// Re-export @mui/x-data-grid as namespace to avoid conflicts\n// Usage: import { DataGrid } from '@wso2/oxygen-ui';\nexport * as DataGrid from '@mui/x-data-grid';\n\n// Re-export @mui/x-date-pickers as namespace to avoid conflicts\n// Usage: import { DatePickers } from '@wso2/oxygen-ui';\nexport * as DatePickers from '@mui/x-date-pickers';\n\n// Re-export @mui/x-charts as namespace to avoid conflicts\n// Usage: import { TreeView } from '@wso2/oxygen-ui';\nexport * as TreeView from '@mui/x-tree-view';\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACC,WAAW;AACV,MAAI,OAAO,aAAa,aAAa;AACnC,UAAM,QAAQ,SAAS,cAAc,OAAO;AAC5C,UAAM,aAAa,qBAAqB,MAAM;AAC9C,UAAM,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACpB,aAAS,KAAK,YAAY,KAAK;AAAA,EACjC;AACF,GAAG;;;ACUH,SAAS,mBAAmB;AAI5B,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AAEhC,IAAM,6BAA6B;AAAA,EACxC,YAAY;AAAA,IACV,gBAAgB;AAAA,MACd,gBAAgB;AAAA,QACd,uCAAuC;AAAA,UACrC,sBAAsB;AAAA,UACtB,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,UAKjB,qBAAqB;AAAA,QACvB;AAAA,QACA,wCAAwC;AAAA,UACtC,sBAAsB;AAAA,UACtB,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,UAKjB,qBAAqB;AAAA,QACvB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAM,cAAc,YAAY;AAAA,EAC9B,YAAY;AAAA,IACV,YAAY;AAAA,IACZ,mBAAmB;AAAA,IACnB,UAAU;AAAA,IACV,OAAO;AAAA,MACL,UAAU;AAAA,IACZ;AAAA,IACA,OAAO;AAAA,MACL,UAAU;AAAA,IAC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;AACtB,SACE,gBAAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,WAAU;AAAA,MACV,IAAI;AAAA,QACF,SAAS;AAAA,QACT,eAAe;AAAA,QACf,UAAU;AAAA,QACV,UAAU;AAAA,MACZ;AAAA,OACI,OARL;AAAA,MAUE;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,wBAAQ;;;ACpBf,OAAOC,UAAqB;AAKxB,gBAAAC,YAAA;AAFJ,SAAS,aAAa,IAAwE;AAAxE,eAAC,aAAW,MAAM,GAtBxC,IAsBsB,IAAyB,iBAAzB,IAAyB,CAAxB,YAAiB;AACtC,SACE,gBAAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,SAAS;AAAA,SACN;AAAA,OAED,OALL;AAAA,MAOE;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,uBAAQ;;;ACZf,IAAMC,UAAS,OAAO,OAAO,gBAAY;AAAA,EACvC,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AACV,CAAC;AAED,IAAO,kBAAQA;;;ACAf,cAAc;AAId,YAAY,YAAY;AAIxB,YAAY,cAAc;AAI1B,YAAY,iBAAiB;AAI7B,YAAY,cAAc;",
|
|
6
|
+
"names": ["createTheme", "createTheme", "jsx", "useColorScheme", "jsx", "useColorScheme", "currentMode", "Box", "jsx", "Box", "Box", "jsx", "Box", "Box", "jsx", "Box", "Box", "jsx", "Box", "Layout"]
|
|
7
7
|
}
|
|
@@ -15,5 +15,23 @@
|
|
|
15
15
|
* specific language governing permissions and limitations
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
|
+
export declare const RadialBodyBackgroundDesign: {
|
|
19
|
+
components: {
|
|
20
|
+
MuiCssBaseline: {
|
|
21
|
+
styleOverrides: {
|
|
22
|
+
"html[data-color-scheme='dark'] body": {
|
|
23
|
+
backgroundAttachment: string;
|
|
24
|
+
backgroundImage: string;
|
|
25
|
+
backgroundBlendMode: string;
|
|
26
|
+
};
|
|
27
|
+
"html[data-color-scheme='light'] body": {
|
|
28
|
+
backgroundAttachment: string;
|
|
29
|
+
backgroundImage: string;
|
|
30
|
+
backgroundBlendMode: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
18
36
|
declare const OxygenTheme: import("@mui/material/styles").Theme;
|
|
19
37
|
export default OxygenTheme;
|
|
@@ -21,6 +21,32 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
21
21
|
// src/styles/OxygenTheme/OxygenTheme.ts
|
|
22
22
|
import { createTheme } from "@mui/material/styles";
|
|
23
23
|
var noShadows = Array(25).fill("none");
|
|
24
|
+
var RadialBodyBackgroundDesign = {
|
|
25
|
+
components: {
|
|
26
|
+
MuiCssBaseline: {
|
|
27
|
+
styleOverrides: {
|
|
28
|
+
"html[data-color-scheme='dark'] body": {
|
|
29
|
+
backgroundAttachment: "fixed",
|
|
30
|
+
backgroundImage: `
|
|
31
|
+
radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.12) 10%, rgba(0, 0, 0, 0) 60% 40%),
|
|
32
|
+
radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.2) 1%, rgba(0, 0, 0, 0) 40% 70%),
|
|
33
|
+
radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)
|
|
34
|
+
`,
|
|
35
|
+
backgroundBlendMode: "screen"
|
|
36
|
+
},
|
|
37
|
+
"html[data-color-scheme='light'] body": {
|
|
38
|
+
backgroundAttachment: "fixed",
|
|
39
|
+
backgroundImage: `
|
|
40
|
+
radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),
|
|
41
|
+
radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),
|
|
42
|
+
radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)
|
|
43
|
+
`,
|
|
44
|
+
backgroundBlendMode: "normal"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
24
50
|
var OxygenTheme = createTheme({
|
|
25
51
|
typography: {
|
|
26
52
|
fontFamily: "'Inter Variable', sans-serif",
|
|
@@ -35,7 +61,7 @@ var OxygenTheme = createTheme({
|
|
|
35
61
|
},
|
|
36
62
|
shadows: noShadows,
|
|
37
63
|
shape: {
|
|
38
|
-
borderRadius:
|
|
64
|
+
borderRadius: 15
|
|
39
65
|
},
|
|
40
66
|
cssVariables: {
|
|
41
67
|
colorSchemeSelector: "data-color-scheme"
|
|
@@ -83,6 +109,17 @@ var OxygenTheme = createTheme({
|
|
|
83
109
|
}
|
|
84
110
|
},
|
|
85
111
|
components: {
|
|
112
|
+
MuiAvatar: {
|
|
113
|
+
styleOverrides: {
|
|
114
|
+
root: ({ theme }) => __spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
115
|
+
backgroundColor: "#ebebeb",
|
|
116
|
+
color: "#40404B"
|
|
117
|
+
})), theme.applyStyles("dark", {
|
|
118
|
+
backgroundColor: "#3c3c3c",
|
|
119
|
+
color: "#D0D3E2"
|
|
120
|
+
}))
|
|
121
|
+
}
|
|
122
|
+
},
|
|
86
123
|
MuiButton: {
|
|
87
124
|
styleOverrides: {
|
|
88
125
|
root: {
|
|
@@ -100,17 +137,25 @@ var OxygenTheme = createTheme({
|
|
|
100
137
|
}
|
|
101
138
|
}
|
|
102
139
|
},
|
|
140
|
+
MuiDrawer: {
|
|
141
|
+
styleOverrides: {
|
|
142
|
+
paper: ({ theme }) => __spreadValues({}, theme.applyStyles("dark", {
|
|
143
|
+
background: "transparent"
|
|
144
|
+
}))
|
|
145
|
+
}
|
|
146
|
+
},
|
|
103
147
|
MuiFormLabel: {
|
|
104
148
|
styleOverrides: {
|
|
105
149
|
root: ({ theme }) => ({
|
|
106
150
|
fontSize: theme.typography.body2.fontSize,
|
|
107
|
-
marginBottom: "
|
|
151
|
+
marginBottom: "6px"
|
|
108
152
|
})
|
|
109
153
|
}
|
|
110
154
|
},
|
|
111
155
|
MuiPaper: {
|
|
112
156
|
styleOverrides: {
|
|
113
157
|
root: ({ theme }) => __spreadValues(__spreadValues({
|
|
158
|
+
borderRadius: theme.shape.borderRadius,
|
|
114
159
|
WebkitBackdropFilter: "blur(3px)",
|
|
115
160
|
backdropFilter: "blur(3px)"
|
|
116
161
|
}, theme.applyStyles("light", {
|
|
@@ -119,7 +164,7 @@ var OxygenTheme = createTheme({
|
|
|
119
164
|
boxShadow: "0 10px 22px 0 rgba(6, 6, 14, 0.1),0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,0 1px 1px 0 rgba(199, 211, 234, 0.12) inset"
|
|
120
165
|
})), theme.applyStyles("dark", {
|
|
121
166
|
border: "1px solid #d2d2d20f",
|
|
122
|
-
background: "rgb(230 230 230 /
|
|
167
|
+
background: "rgb(230 230 230 / 1%)",
|
|
123
168
|
boxShadow: "0 24px 32px 0 rgba(6, 6, 14, 0.70),0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,0 1px 1px 0 rgba(199, 211, 234, 0.12) inset"
|
|
124
169
|
}))
|
|
125
170
|
}
|
|
@@ -180,7 +225,7 @@ var OxygenTheme = createTheme({
|
|
|
180
225
|
MuiListItemButton: {
|
|
181
226
|
styleOverrides: {
|
|
182
227
|
root: ({ theme }) => ({
|
|
183
|
-
borderRadius:
|
|
228
|
+
borderRadius: 8,
|
|
184
229
|
"&.Mui-selected": __spreadProps(__spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
185
230
|
backgroundColor: theme.palette.action.selected
|
|
186
231
|
})), theme.applyStyles("dark", {
|
|
@@ -200,7 +245,6 @@ var OxygenTheme = createTheme({
|
|
|
200
245
|
root: ({ theme }) => ({
|
|
201
246
|
border: "none",
|
|
202
247
|
backgroundColor: "transparent",
|
|
203
|
-
borderRadius: "8px",
|
|
204
248
|
overflow: "hidden",
|
|
205
249
|
"& .MuiDataGrid-columnHeaders": {
|
|
206
250
|
backgroundColor: "#ffffff0a",
|
|
@@ -227,6 +271,7 @@ var OxygenTheme = createTheme({
|
|
|
227
271
|
});
|
|
228
272
|
var OxygenTheme_default = OxygenTheme;
|
|
229
273
|
export {
|
|
274
|
+
RadialBodyBackgroundDesign,
|
|
230
275
|
OxygenTheme_default as default
|
|
231
276
|
};
|
|
232
277
|
//# sourceMappingURL=OxygenTheme.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/styles/OxygenTheme/OxygenTheme.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { createTheme } from '@mui/material/styles';\nimport type { Shadows } from '@mui/material/styles';\nimport type {} from '@mui/x-data-grid/themeAugmentation';\n\nconst noShadows = Array(25).fill('none') as Shadows;\n\nconst OxygenTheme = createTheme({\n typography: {\n fontFamily: \"'Inter Variable', sans-serif\",\n fontWeightRegular: 300,\n fontSize: 14,\n body1: {\n fontSize: 14,\n },\n body2: {\n fontSize: 14,\n },\n },\n shadows: noShadows,\n shape: {\n borderRadius:
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAkBA,SAAS,mBAAmB;AAI5B,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;
|
|
4
|
+
"sourcesContent": ["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { createTheme } from '@mui/material/styles';\nimport type { Shadows } from '@mui/material/styles';\nimport type {} from '@mui/x-data-grid/themeAugmentation';\n\nconst noShadows = Array(25).fill('none') as Shadows;\n\nexport const RadialBodyBackgroundDesign = {\n components: {\n MuiCssBaseline: {\n styleOverrides: {\n \"html[data-color-scheme='dark'] body\": {\n backgroundAttachment: 'fixed',\n backgroundImage: `\n radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.12) 10%, rgba(0, 0, 0, 0) 60% 40%),\n radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.2) 1%, rgba(0, 0, 0, 0) 40% 70%),\n radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)\n `,\n backgroundBlendMode: 'screen',\n },\n \"html[data-color-scheme='light'] body\": {\n backgroundAttachment: 'fixed',\n backgroundImage: `\n radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),\n radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),\n radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)\n `,\n backgroundBlendMode: 'normal',\n },\n },\n },\n },\n};\n\nconst OxygenTheme = createTheme({\n typography: {\n fontFamily: \"'Inter Variable', sans-serif\",\n fontWeightRegular: 300,\n fontSize: 14,\n body1: {\n fontSize: 14,\n },\n body2: {\n fontSize: 14,\n },\n },\n shadows: noShadows,\n shape: {\n borderRadius: 15,\n },\n cssVariables: {\n colorSchemeSelector: 'data-color-scheme',\n },\n colorSchemes: {\n light: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#e8e8e8',\n },\n background: {\n default: '#f5f5f5',\n paper: '#ffffff',\n },\n text: {\n primary: '#40404B',\n secondary: '#40404B',\n },\n divider: '#00000012',\n },\n },\n dark: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#3c3c3c',\n },\n background: {\n default: '#000000',\n paper: '#00000088',\n },\n text: {\n primary: '#efefef',\n secondary: '#D0D3E2',\n },\n divider: '#ffffff16',\n },\n },\n },\n components: {\n MuiAvatar: {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.applyStyles('light', {\n backgroundColor: '#ebebeb',\n color: '#40404B',\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#3c3c3c',\n color: '#D0D3E2',\n }),\n }),\n },\n },\n MuiButton: {\n styleOverrides: {\n root: {\n borderRadius: 20,\n textTransform: 'none',\n fontWeight: 400,\n },\n containedPrimary: {\n background: 'linear-gradient(77.74deg, #eb4f63 11.16%, #fa7b3f 99.55%)',\n color: '#fff',\n '&:hover': {\n background: 'linear-gradient(77.74deg, #d0364b 11.16%, #f2621f 99.55%)',\n color: '#fff',\n },\n },\n },\n },\n MuiDrawer: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('dark', {\n background: 'transparent',\n }),\n }),\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n marginBottom: '6px'\n }),\n },\n },\n MuiPaper: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: theme.shape.borderRadius,\n WebkitBackdropFilter: 'blur(3px)',\n backdropFilter: 'blur(3px)',\n ...theme.applyStyles('light', {\n border: '1px solid #ffffff7a',\n background: 'rgb(230 230 230 / 5%)',\n boxShadow: \n '0 10px 22px 0 rgba(6, 6, 14, 0.1),' +\n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' +\n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n ...theme.applyStyles('dark', {\n border: '1px solid #d2d2d20f',\n background: 'rgb(230 230 230 / 1%)',\n boxShadow: \n '0 24px 32px 0 rgba(6, 6, 14, 0.70),' + \n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' + \n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n })\n }\n },\n MuiPopover: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('light', {\n background: '#ffffff9c',\n }),\n ...theme.applyStyles('dark', {\n background: '#040404c2',\n }),\n })\n }\n },\n MuiTextField: {\n defaultProps: { size: 'small' },\n },\n MuiSelect: {\n defaultProps: { size: 'small' },\n },\n MuiOutlinedInput: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n borderRadius: 8,\n ...theme.applyStyles('light', {\n background: '#ffffffc4'\n }),\n ...theme.applyStyles('dark', {\n background: '#ffffff05'\n })\n }),\n notchedOutline: ({ theme }) => ({\n borderWidth: 1,\n ...theme.applyStyles('light', {\n borderColor: '#d9d9d987'\n }),\n ...theme.applyStyles('dark', {\n borderColor: '#ffffff0d'\n })\n }),\n },\n },\n MuiMenuItem: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n textDecoration: 'none',\n '&:hover': {\n color: theme.palette.primary.dark,\n textDecoration: 'underline',\n },\n }),\n },\n },\n MuiListItemButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: 8,\n '&.Mui-selected': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.selected,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n '&:hover': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.hover,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n },\n },\n }),\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n backgroundColor: 'transparent',\n overflow: 'hidden',\n '& .MuiDataGrid-columnHeaders': {\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }\n }),\n columnHeaders: ({ theme }) => ({\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }),\n columnHeader: {\n backgroundColor: 'transparent',\n },\n cell: ({ theme }) => ({\n borderBottom: '1px solid',\n backgroundColor: 'transparent',\n borderColor: theme.palette.divider,\n }),\n },\n },\n },\n});\n\nexport default OxygenTheme;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAkBA,SAAS,mBAAmB;AAI5B,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AAEhC,IAAM,6BAA6B;AAAA,EACxC,YAAY;AAAA,IACV,gBAAgB;AAAA,MACd,gBAAgB;AAAA,QACd,uCAAuC;AAAA,UACrC,sBAAsB;AAAA,UACtB,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,UAKjB,qBAAqB;AAAA,QACvB;AAAA,QACA,wCAAwC;AAAA,UACtC,sBAAsB;AAAA,UACtB,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,UAKjB,qBAAqB;AAAA,QACvB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAM,cAAc,YAAY;AAAA,EAC9B,YAAY;AAAA,IACV,YAAY;AAAA,IACZ,mBAAmB;AAAA,IACnB,UAAU;AAAA,IACV,OAAO;AAAA,MACL,UAAU;AAAA,IACZ;AAAA,IACA,OAAO;AAAA,MACL,UAAU;AAAA,IACZ;AAAA,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