@wso2/oxygen-ui 0.0.1-alpha.0 → 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,7 @@ yarn add @wso2/oxygen-ui @emotion/react @emotion/styled @mui/material
12
12
  pnpm add @wso2/oxygen-ui @emotion/react @emotion/styled @mui/material
13
13
  ```
14
14
 
15
- The Inter font (`@fontsource-variable/inter`) is included as a dependency and will be installed automatically.
15
+ **Note:** The Inter Variable font is automatically bundled and loaded when you import from `@wso2/oxygen-ui`. No additional setup required!
16
16
 
17
17
  ### Peer Dependencies
18
18
 
@@ -21,7 +21,6 @@ import { CssBaseline } from "@mui/material";
21
21
 
22
22
  // src/styles/OxygenTheme/OxygenTheme.ts
23
23
  import { createTheme } from "@mui/material/styles";
24
- import "@fontsource-variable/inter";
25
24
  var noShadows = Array(25).fill("none");
26
25
  var OxygenTheme = createTheme({
27
26
  typography: {
@@ -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';\nimport '@fontsource-variable/inter';\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: '#fefefe12',\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 5px 10px 0 rgba(6, 6, 14, 0.1), ' +\n '0 0 0 0 rgba(199, 211, 234, 0.01) inset, ' +\n '0 0 0 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: 'hsla(220, 30%, 5%, 0.5) 0px 5px 15px 0px, hsla(220, 25%, 10%, 0.08) 0px 15px 35px -5px',\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 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: { borderRadius: '8px' },\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: '1px solid',\n borderColor: theme.palette.divider,\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,4BAAmC;AAC/E,SAAS,mBAAmB;;;ACD5B,SAAS,mBAAmB;AAG5B,OAAO;AAEP,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AAEvC,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,EACF;AAAA,EACA,SAAS;AAAA,EACT,OAAO;AAAA,IACL,cAAc;AAAA,EAChB;AAAA,EACA,cAAc;AAAA,IACZ,qBAAqB;AAAA,EACv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AAgB;AAAA,UAChB,WAAW;AAAA,YACT,OAAO,MAAM,QAAQ,QAAQ;AAAA,YAC7B,gBAAgB;AAAA,UAClB;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB,gBAAgB;AAAA,QACd,MAAM,EAAE,cAAc,MAAM;AAAA,MAC9B;AAAA,IACF;AAAA,IACA,aAAa;AAAA,MACX,gBAAgB;AAAA,QACd,MAAM,CAAC,EAAE,MAAM,OAAO;AAAA,UACpB,QAAQ;AAAA,UACR,aAAa,MAAM,QAAQ;AAAA,UAC3B,iBAAiB;AAAA,UACjB,cAAc;AAAA,UACd,UAAU;AAAA,UACV,gCAAgC;AAAA,YAC9B,iBAAiB;AAAA,YACjB,cAAc;AAAA,YACd,aAAa,MAAM,QAAQ;AAAA,UAC7B;AAAA,QACF;AAAA,QACA,eAAe,CAAC,EAAE,MAAM,OAAO;AAAA,UAC7B,iBAAiB;AAAA,UACjB,cAAc;AAAA,UACd,aAAa,MAAM,QAAQ;AAAA,QAC7B;AAAA,QACA,cAAc;AAAA,UACZ,iBAAiB;AAAA,QACnB;AAAA,QACA,MAAM,CAAC,EAAE,MAAM,OAAO;AAAA,UACpB,cAAc;AAAA,UACd,iBAAiB;AAAA,UACjB,aAAa,MAAM,QAAQ;AAAA,QAC7B;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAED,IAAO,sBAAQ;;;AD1MT,SACE,KADF;AAHS,SAAR,sBAAuC,EAAE,UAAU,MAAM,GAAiD;AAC/G,SACE,oBAAC,wBAAqB,aAAW,MAC/B,+BAAC,oBAAiB,OAAO,wBAAS,qBAChC;AAAA,wBAAC,eAAY;AAAA,IACZ;AAAA,KACH,GACF;AAEJ;",
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: '#fefefe12',\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 5px 10px 0 rgba(6, 6, 14, 0.1), ' +\n '0 0 0 0 rgba(199, 211, 234, 0.01) inset, ' +\n '0 0 0 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: 'hsla(220, 30%, 5%, 0.5) 0px 5px 15px 0px, hsla(220, 25%, 10%, 0.08) 0px 15px 35px -5px',\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 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: { borderRadius: '8px' },\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: '1px solid',\n borderColor: theme.palette.divider,\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,4BAAmC;AAC/E,SAAS,mBAAmB;;;ACD5B,SAAS,mBAAmB;AAI5B,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AAEvC,IAAM,cAA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,GAAiD;AAC/G,SACE,oBAAC,wBAAqB,aAAW,MAC/B,+BAAC,oBAAiB,OAAO,wBAAS,qBAChC;AAAA,wBAAC,eAAY;AAAA,IACZ;AAAA,KACH,GACF;AAEJ;",
6
6
  "names": []
7
7
  }
package/dist/index.d.ts CHANGED
@@ -15,6 +15,7 @@
15
15
  * specific language governing permissions and limitations
16
16
  * under the License.
17
17
  */
18
+ import './fonts.css';
18
19
  export { default as OxygenTheme } from "./styles/OxygenTheme/OxygenTheme";
19
20
  export { default as OxygenUIThemeProvider } from "./contexts/OxygenUIThemeProvider/OxygenUIThemeProvider";
20
21
  export { default as ColorSchemeImage } from "./components/ColorSchemeImage/ColorSchemeImage";
package/dist/index.js CHANGED
@@ -30,9 +30,37 @@ var __objRest = (source, exclude) => {
30
30
  return target;
31
31
  };
32
32
 
33
+ // inline-css-fonts:/home/runner/work/oxygen-ui/oxygen-ui/packages/oxygen-ui/src/fonts.css
34
+ (function() {
35
+ if (typeof document !== "undefined") {
36
+ const style = document.createElement("style");
37
+ style.setAttribute("data-oxygen-fonts", "true");
38
+ style.textContent = `/**
39
+ * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
40
+ *
41
+ * WSO2 LLC. licenses this file to you under the Apache License,
42
+ * Version 2.0 (the "License"); you may not use this file except
43
+ * in compliance with the License.
44
+ * You may obtain a copy of the License at
45
+ *
46
+ * http://www.apache.org/licenses/LICENSE-2.0
47
+ *
48
+ * Unless required by applicable law or agreed to in writing,
49
+ * software distributed under the License is distributed on an
50
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
51
+ * KIND, either express or implied. See the License for the
52
+ * specific language governing permissions and limitations
53
+ * under the License.
54
+ */
55
+
56
+ @import '@fontsource-variable/inter';
57
+ `;
58
+ document.head.appendChild(style);
59
+ }
60
+ })();
61
+
33
62
  // src/styles/OxygenTheme/OxygenTheme.ts
34
63
  import { createTheme } from "@mui/material/styles";
35
- import "@fontsource-variable/inter";
36
64
  var noShadows = Array(25).fill("none");
37
65
  var OxygenTheme = createTheme({
38
66
  typography: {
package/dist/index.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../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 * 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';\nimport '@fontsource-variable/inter';\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: '#fefefe12',\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 5px 10px 0 rgba(6, 6, 14, 0.1), ' +\n '0 0 0 0 rgba(199, 211, 234, 0.01) inset, ' +\n '0 0 0 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: 'hsla(220, 30%, 5%, 0.5) 0px 5px 15px 0px, hsla(220, 25%, 10%, 0.08) 0px 15px 35px -5px',\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 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: { borderRadius: '8px' },\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: '1px solid',\n borderColor: theme.palette.divider,\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// 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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,SAAS,mBAAmB;AAG5B,OAAO;AAEP,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AAEvC,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,EACF;AAAA,EACA,SAAS;AAAA,EACT,OAAO;AAAA,IACL,cAAc;AAAA,EAChB;AAAA,EACA,cAAc;AAAA,IACZ,qBAAqB;AAAA,EACvB;AAAA,EACA,cAAc;AAAA,IACZ,OAAO;AAAA,MACL,SAAS;AAAA,QACP,SAAS;AAAA,UACP,MAAM;AAAA,UACN,cAAc;AAAA,QAChB;AAAA,QACA,WAAW;AAAA,UACT,MAAM;AAAA,QACR;AAAA,QACA,YAAY;AAAA,UACV,SAAS;AAAA,UACT,OAAO;AAAA,QACT;AAAA,QACA,MAAM;AAAA,UACJ,SAAS;AAAA,UACT,WAAW;AAAA,QACb;AA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AC,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;;;ACHf,cAAc;AAId,YAAY,YAAY;AAIxB,YAAY,cAAc;AAI1B,YAAY,iBAAiB;AAI7B,YAAY,cAAc;",
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: '#fefefe12',\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 5px 10px 0 rgba(6, 6, 14, 0.1), ' +\n '0 0 0 0 rgba(199, 211, 234, 0.01) inset, ' +\n '0 0 0 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: 'hsla(220, 30%, 5%, 0.5) 0px 5px 15px 0px, hsla(220, 25%, 10%, 0.08) 0px 15px 35px -5px',\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 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: { borderRadius: '8px' },\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: '1px solid',\n borderColor: theme.palette.divider,\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;AAEvC,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,EACF;AAAA,EACA,SAAS;AAAA,EACT,OAAO;AAAA,IACL,cAAc;AAAA,EAChB;AAAA,EACA,cAAc;AAAA,IACZ,qBAAqB;AAAA,EACvB;AAAA,EACA,cAAc;AAAA,IACZ,OAAO;AAAA,MACL,SAAS;AAAA,QACP,SAAS;AAAA,UACP,MAAM;AAAA,UACN,cAAc;AAAA,QAChB;AAAA,QACA,WAAW;AAAA,UACT,MAAM;AAAA,QACR;AAAA,QACA,YAAY;AAAA,UACV,SAAS;AAAA,UACT,OAAO;AAAA,QACT;AAAA,QACA,MAAM;AAAA,UACJ,SAAS;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f,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
6
  "names": ["jsx", "useColorScheme", "jsx", "useColorScheme", "currentMode", "Box", "jsx", "Box", "Box", "jsx", "Box", "Box", "jsx", "Box", "Box", "jsx", "Box", "Layout"]
7
7
  }
@@ -15,6 +15,5 @@
15
15
  * specific language governing permissions and limitations
16
16
  * under the License.
17
17
  */
18
- import '@fontsource-variable/inter';
19
18
  declare const OxygenTheme: import("@mui/material/styles").Theme;
20
19
  export default OxygenTheme;
@@ -17,7 +17,6 @@ var __spreadValues = (a, b) => {
17
17
 
18
18
  // src/styles/OxygenTheme/OxygenTheme.ts
19
19
  import { createTheme } from "@mui/material/styles";
20
- import "@fontsource-variable/inter";
21
20
  var noShadows = Array(25).fill("none");
22
21
  var OxygenTheme = createTheme({
23
22
  typography: {
@@ -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';\nimport '@fontsource-variable/inter';\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: '#fefefe12',\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 5px 10px 0 rgba(6, 6, 14, 0.1), ' +\n '0 0 0 0 rgba(199, 211, 234, 0.01) inset, ' +\n '0 0 0 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: 'hsla(220, 30%, 5%, 0.5) 0px 5px 15px 0px, hsla(220, 25%, 10%, 0.08) 0px 15px 35px -5px',\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 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: { borderRadius: '8px' },\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: '1px solid',\n borderColor: theme.palette.divider,\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,mBAAmB;AAG5B,OAAO;AAEP,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AAEvC,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,EACF;AAAA,EACA,SAAS;AAAA,EACT,OAAO;AAAA,IACL,cAAc;AAAA,EAChB;AAAA,EACA,cAAc;AAAA,IACZ,qBAAqB;AAAA,EACvB;AAAA,EACA,cAAc;AAAA,IACZ,OAAO;AAAA,MACL,SAAS;AAAA,QACP,SAAS;AAAA,UACP,MAAM;AAAA,UACN,cAAc;AAAA,QAChB;AAAA,QACA,WAAW;AAAA,UACT,MAAM;AAAA,QACR;AAAA,QACA,YAAY;AAAA,UACV,SAAS;AAAA,UACT,OAAO;AAAA,QACT;AAAA,QACA,MAAM;AAAA,UACJ,SAAS;AAAA,UACT,WAAW;AAAA,QACb;AAAA,QACA,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,MAAM;AAAA,MACJ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;AAAA,UAC3B,iBAAiB;AAAA,UACjB,cAAc;AAAA,UACd,UAAU;AAAA,UACV,gCAAgC;AAAA,YAC9B,iBAAiB;AAAA,YACjB,cAAc;AAAA,YACd,aAAa,MAAM,QAAQ;AAAA,UAC7B;AAAA,QACF;AAAA,QACA,eAAe,CAAC,EAAE,MAAM,OAAO;AAAA,UAC7B,iBAAiB;AAAA,UACjB,cAAc;AAAA,UACd,aAAa,MAAM,QAAQ;AAAA,QAC7B;AAAA,QACA,cAAc;AAAA,UACZ,iBAAiB;AAAA,QACnB;AAAA,QACA,MAAM,CAAC,EAAE,MAAM,OAAO;AAAA,UACpB,cAAc;AAAA,UACd,iBAAiB;AAAA,UACjB,aAAa,MAAM,QAAQ;AAAA,QAC7B;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAED,IAAO,sBAAQ;",
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: 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: '#fefefe12',\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 5px 10px 0 rgba(6, 6, 14, 0.1), ' +\n '0 0 0 0 rgba(199, 211, 234, 0.01) inset, ' +\n '0 0 0 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: 'hsla(220, 30%, 5%, 0.5) 0px 5px 15px 0px, hsla(220, 25%, 10%, 0.08) 0px 15px 35px -5px',\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 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: { borderRadius: '8px' },\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: '1px solid',\n borderColor: theme.palette.divider,\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,mBAAmB;AAI5B,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AAEvC,IAAM,cAAc,YAAY;A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2
  "name": "@wso2/oxygen-ui",
3
- "version": "0.0.1-alpha.0",
3
+ "version": "0.0.1-alpha.1",
4
4
  "description": "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "homepage": "https://github.com/wso2/oxygen-ui#readme",
51
51
  "dependencies": {
52
- "@fontsource-variable/inter": "^5.2.8"
52
+ "@fontsource/inter": "^5.2.8"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@emotion/react": "^11.14.0",
@@ -61,9 +61,10 @@
61
61
  "@mui/x-tree-view": "^8.14.0",
62
62
  "react": "^19.2.0",
63
63
  "react-dom": "^19.2.0",
64
- "@wso2/oxygen-ui-icons-react": "0.0.1-alpha.0"
64
+ "@wso2/oxygen-ui-icons-react": "0.0.1-alpha.1"
65
65
  },
66
66
  "devDependencies": {
67
+ "@eslint/js": "9.38.0",
67
68
  "@types/react": "^19.2.2",
68
69
  "@types/react-dom": "^19.2.2",
69
70
  "@typescript-eslint/eslint-plugin": "^7.0.1",
@@ -76,7 +77,8 @@
76
77
  "rimraf": "^6.1.0",
77
78
  "typescript": "^5.9.3",
78
79
  "vite": "^7.2.1",
79
- "vitest": "^4.0.7"
80
+ "vitest": "^4.0.7",
81
+ "@wso2/esbuild-plugin-inline-css-fonts": "0.0.1-alpha.1"
80
82
  },
81
83
  "publishConfig": {
82
84
  "access": "public"
@@ -84,18 +86,21 @@
84
86
  "nx": {
85
87
  "targets": {
86
88
  "build": {
87
- "dependsOn": []
89
+ "dependsOn": [
90
+ "^build"
91
+ ]
88
92
  }
89
93
  }
90
94
  },
91
95
  "scripts": {
92
- "build": "pnpm clean && tsc -p tsconfig.json && node esbuild.config.cjs",
93
- "build:watch": "node esbuild.config.cjs --watch",
94
- "dev": "node esbuild.config.cjs --watch",
96
+ "build": "pnpm clean && tsc -p tsconfig.json && node esbuild.config.js",
97
+ "build:watch": "node esbuild.config.js --watch",
98
+ "dev": "node esbuild.config.js --watch",
95
99
  "typecheck": "tsc --noEmit",
96
100
  "lint": "eslint src --ext .ts,.tsx",
97
101
  "lint:fix": "eslint src --ext .ts,.tsx --fix",
98
102
  "clean": "rimraf dist",
99
- "test": "vitest"
103
+ "test": "vitest run --passWithNoTests",
104
+ "test:watch": "vitest"
100
105
  }
101
106
  }