@wso2/oxygen-ui 0.0.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +219 -0
- package/dist/components/ColorSchemeImage/ColorSchemeImage.d.ts +66 -0
- package/dist/components/ColorSchemeImage/ColorSchemeImage.js +57 -0
- package/dist/components/ColorSchemeImage/ColorSchemeImage.js.map +7 -0
- package/dist/components/ColorSchemeToggle/ColorSchemeToggle.d.ts +13 -0
- package/dist/components/ColorSchemeToggle/ColorSchemeToggle.js +76 -0
- package/dist/components/ColorSchemeToggle/ColorSchemeToggle.js.map +7 -0
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.d.ts +5 -0
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js +228 -0
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js.map +7 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +414 -0
- package/dist/index.js.map +7 -0
- package/dist/layouts/Layout.d.ts +21 -0
- package/dist/layouts/LayoutContent.d.ts +21 -0
- package/dist/layouts/LayoutHeader.d.ts +21 -0
- package/dist/layouts/LayoutNavbar.d.ts +20 -0
- package/dist/layouts/LayoutSidebar.d.ts +21 -0
- package/dist/layouts/index.d.ts +29 -0
- package/dist/styles/OxygenTheme/OxygenTheme.d.ts +20 -0
- package/dist/styles/OxygenTheme/OxygenTheme.js +215 -0
- package/dist/styles/OxygenTheme/OxygenTheme.js.map +7 -0
- package/package.json +101 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
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;AAAA,QACA,SAAS;AAAA,MACX;AAAA,IACF;AAAA,IACA,MAAM;AAAA,MACJ,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,Q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AAO,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;",
|
|
6
|
+
"names": ["jsx", "useColorScheme", "jsx", "useColorScheme", "currentMode", "Box", "jsx", "Box", "Box", "jsx", "Box", "Box", "jsx", "Box", "Box", "jsx", "Box", "Layout"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { BoxProps } from '@mui/material/Box';
|
|
19
|
+
import type { PropsWithChildren } from 'react';
|
|
20
|
+
declare function Layout({ children, sx, ...rest }: PropsWithChildren<BoxProps>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default Layout;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { BoxProps } from '@mui/material/Box';
|
|
19
|
+
import type { PropsWithChildren, ReactNode } from 'react';
|
|
20
|
+
declare function LayoutContent({ children, ...rest }: PropsWithChildren<BoxProps>): ReactNode;
|
|
21
|
+
export default LayoutContent;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { BoxProps } from '@mui/material/Box';
|
|
19
|
+
import type { PropsWithChildren, ReactNode } from 'react';
|
|
20
|
+
declare function LayoutHeader({ children, sx, ...rest }: PropsWithChildren<BoxProps>): ReactNode;
|
|
21
|
+
export default LayoutHeader;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import type { PropsWithChildren, ReactNode } from 'react';
|
|
19
|
+
declare function LayoutNavbar({ children }: PropsWithChildren): ReactNode;
|
|
20
|
+
export default LayoutNavbar;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import { BoxProps } from '@mui/material/Box';
|
|
19
|
+
import type { PropsWithChildren, ReactNode } from 'react';
|
|
20
|
+
declare function LayoutSidebar({ children, sx, ...rest }: PropsWithChildren<BoxProps>): ReactNode;
|
|
21
|
+
export default LayoutSidebar;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import LayoutRoot from './Layout';
|
|
19
|
+
import LayoutSidebar from './LayoutSidebar';
|
|
20
|
+
import LayoutNavbar from './LayoutNavbar';
|
|
21
|
+
import LayoutContent from './LayoutContent';
|
|
22
|
+
import LayoutHeader from './LayoutHeader';
|
|
23
|
+
declare const Layout: typeof LayoutRoot & {
|
|
24
|
+
Sidebar: typeof LayoutSidebar;
|
|
25
|
+
Navbar: typeof LayoutNavbar;
|
|
26
|
+
Content: typeof LayoutContent;
|
|
27
|
+
Header: typeof LayoutHeader;
|
|
28
|
+
};
|
|
29
|
+
export default Layout;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
import '@fontsource-variable/inter';
|
|
19
|
+
declare const OxygenTheme: import("@mui/material/styles").Theme;
|
|
20
|
+
export default OxygenTheme;
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// src/styles/OxygenTheme/OxygenTheme.ts
|
|
19
|
+
import { createTheme } from "@mui/material/styles";
|
|
20
|
+
import "@fontsource-variable/inter";
|
|
21
|
+
var noShadows = Array(25).fill("none");
|
|
22
|
+
var OxygenTheme = createTheme({
|
|
23
|
+
typography: {
|
|
24
|
+
fontFamily: "'Inter Variable', sans-serif",
|
|
25
|
+
fontWeightRegular: 300,
|
|
26
|
+
fontSize: 14,
|
|
27
|
+
body1: {
|
|
28
|
+
fontSize: 14
|
|
29
|
+
},
|
|
30
|
+
body2: {
|
|
31
|
+
fontSize: 14
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
shadows: noShadows,
|
|
35
|
+
shape: {
|
|
36
|
+
borderRadius: 20
|
|
37
|
+
},
|
|
38
|
+
cssVariables: {
|
|
39
|
+
colorSchemeSelector: "data-color-scheme"
|
|
40
|
+
},
|
|
41
|
+
colorSchemes: {
|
|
42
|
+
light: {
|
|
43
|
+
palette: {
|
|
44
|
+
primary: {
|
|
45
|
+
main: "#F87643",
|
|
46
|
+
contrastText: "#ffffff"
|
|
47
|
+
},
|
|
48
|
+
secondary: {
|
|
49
|
+
main: "#e8e8e8"
|
|
50
|
+
},
|
|
51
|
+
background: {
|
|
52
|
+
default: "#f5f5f5",
|
|
53
|
+
paper: "#ffffff"
|
|
54
|
+
},
|
|
55
|
+
text: {
|
|
56
|
+
primary: "#40404B",
|
|
57
|
+
secondary: "#40404B"
|
|
58
|
+
},
|
|
59
|
+
divider: "#00000012"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
dark: {
|
|
63
|
+
palette: {
|
|
64
|
+
primary: {
|
|
65
|
+
main: "#F87643",
|
|
66
|
+
contrastText: "#ffffff"
|
|
67
|
+
},
|
|
68
|
+
secondary: {
|
|
69
|
+
main: "#3c3c3c"
|
|
70
|
+
},
|
|
71
|
+
background: {
|
|
72
|
+
default: "#000000",
|
|
73
|
+
paper: "#00000088"
|
|
74
|
+
},
|
|
75
|
+
text: {
|
|
76
|
+
primary: "#efefef",
|
|
77
|
+
secondary: "#D0D3E2"
|
|
78
|
+
},
|
|
79
|
+
divider: "#fefefe12"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
components: {
|
|
84
|
+
MuiButton: {
|
|
85
|
+
styleOverrides: {
|
|
86
|
+
root: {
|
|
87
|
+
borderRadius: 20,
|
|
88
|
+
textTransform: "none",
|
|
89
|
+
fontWeight: 400
|
|
90
|
+
},
|
|
91
|
+
containedPrimary: {
|
|
92
|
+
background: "linear-gradient(77.74deg, #eb4f63 11.16%, #fa7b3f 99.55%)",
|
|
93
|
+
color: "#fff",
|
|
94
|
+
"&:hover": {
|
|
95
|
+
background: "linear-gradient(77.74deg, #d0364b 11.16%, #f2621f 99.55%)",
|
|
96
|
+
color: "#fff"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
MuiFormLabel: {
|
|
102
|
+
styleOverrides: {
|
|
103
|
+
root: ({ theme }) => ({
|
|
104
|
+
fontSize: theme.typography.body2.fontSize,
|
|
105
|
+
marginBottom: "4px"
|
|
106
|
+
})
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
MuiPaper: {
|
|
110
|
+
styleOverrides: {
|
|
111
|
+
root: ({ theme }) => __spreadValues(__spreadValues({
|
|
112
|
+
WebkitBackdropFilter: "blur(3px)",
|
|
113
|
+
backdropFilter: "blur(3px)"
|
|
114
|
+
}, theme.applyStyles("light", {
|
|
115
|
+
border: "1px solid #ffffff7a",
|
|
116
|
+
background: "rgb(230 230 230 / 5%)",
|
|
117
|
+
boxShadow: "0 5px 10px 0 rgba(6, 6, 14, 0.1), 0 0 0 0 rgba(199, 211, 234, 0.01) inset, 0 0 0 0 rgba(199, 211, 234, 0.12) inset"
|
|
118
|
+
})), theme.applyStyles("dark", {
|
|
119
|
+
border: "1px solid #d2d2d20f",
|
|
120
|
+
background: "rgb(230 230 230 / 5%)",
|
|
121
|
+
boxShadow: "hsla(220, 30%, 5%, 0.5) 0px 5px 15px 0px, hsla(220, 25%, 10%, 0.08) 0px 15px 35px -5px"
|
|
122
|
+
}))
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
MuiPopover: {
|
|
126
|
+
styleOverrides: {
|
|
127
|
+
paper: ({ theme }) => __spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
128
|
+
background: "#ffffff9c"
|
|
129
|
+
})), theme.applyStyles("dark", {
|
|
130
|
+
background: "#040404c2"
|
|
131
|
+
}))
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
MuiTextField: {
|
|
135
|
+
defaultProps: { size: "small" }
|
|
136
|
+
},
|
|
137
|
+
MuiOutlinedInput: {
|
|
138
|
+
styleOverrides: {
|
|
139
|
+
root: ({ theme }) => __spreadValues(__spreadValues({
|
|
140
|
+
fontSize: theme.typography.body2.fontSize,
|
|
141
|
+
borderRadius: 8
|
|
142
|
+
}, theme.applyStyles("light", {
|
|
143
|
+
background: "#ffffffc4"
|
|
144
|
+
})), theme.applyStyles("dark", {
|
|
145
|
+
background: "#ffffff05"
|
|
146
|
+
})),
|
|
147
|
+
notchedOutline: ({ theme }) => __spreadValues(__spreadValues({
|
|
148
|
+
borderWidth: 1
|
|
149
|
+
}, theme.applyStyles("light", {
|
|
150
|
+
borderColor: "#d9d9d987"
|
|
151
|
+
})), theme.applyStyles("dark", {
|
|
152
|
+
borderColor: "#ffffff0d"
|
|
153
|
+
}))
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
MuiMenuItem: {
|
|
157
|
+
styleOverrides: {
|
|
158
|
+
root: ({ theme }) => ({
|
|
159
|
+
fontSize: theme.typography.body2.fontSize
|
|
160
|
+
})
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
MuiLink: {
|
|
164
|
+
styleOverrides: {
|
|
165
|
+
root: ({ theme }) => ({
|
|
166
|
+
color: theme.palette.primary.main,
|
|
167
|
+
textDecoration: "none",
|
|
168
|
+
"&:hover": {
|
|
169
|
+
color: theme.palette.primary.dark,
|
|
170
|
+
textDecoration: "underline"
|
|
171
|
+
}
|
|
172
|
+
})
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
MuiListItemButton: {
|
|
176
|
+
styleOverrides: {
|
|
177
|
+
root: { borderRadius: "8px" }
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
MuiDataGrid: {
|
|
181
|
+
styleOverrides: {
|
|
182
|
+
root: ({ theme }) => ({
|
|
183
|
+
border: "1px solid",
|
|
184
|
+
borderColor: theme.palette.divider,
|
|
185
|
+
backgroundColor: "transparent",
|
|
186
|
+
borderRadius: "8px",
|
|
187
|
+
overflow: "hidden",
|
|
188
|
+
"& .MuiDataGrid-columnHeaders": {
|
|
189
|
+
backgroundColor: "#ffffff0a",
|
|
190
|
+
borderBottom: "1px solid",
|
|
191
|
+
borderColor: theme.palette.divider
|
|
192
|
+
}
|
|
193
|
+
}),
|
|
194
|
+
columnHeaders: ({ theme }) => ({
|
|
195
|
+
backgroundColor: "#ffffff0a",
|
|
196
|
+
borderBottom: "1px solid",
|
|
197
|
+
borderColor: theme.palette.divider
|
|
198
|
+
}),
|
|
199
|
+
columnHeader: {
|
|
200
|
+
backgroundColor: "transparent"
|
|
201
|
+
},
|
|
202
|
+
cell: ({ theme }) => ({
|
|
203
|
+
borderBottom: "1px solid",
|
|
204
|
+
backgroundColor: "transparent",
|
|
205
|
+
borderColor: theme.palette.divider
|
|
206
|
+
})
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
var OxygenTheme_default = OxygenTheme;
|
|
212
|
+
export {
|
|
213
|
+
OxygenTheme_default as default
|
|
214
|
+
};
|
|
215
|
+
//# sourceMappingURL=OxygenTheme.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 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,SAAS;AAAA,QACP,S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iB;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;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wso2/oxygen-ui",
|
|
3
|
+
"version": "0.0.1-alpha.0",
|
|
4
|
+
"description": "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./*": {
|
|
16
|
+
"types": "./dist/*.d.ts",
|
|
17
|
+
"import": "./dist/*.js",
|
|
18
|
+
"require": "./dist/*.cjs"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"package.json",
|
|
24
|
+
"README.md"
|
|
25
|
+
],
|
|
26
|
+
"sideEffects": [
|
|
27
|
+
"src/styles/OxygenTheme/theme.css",
|
|
28
|
+
"dist/styles/OxygenTheme/theme.css"
|
|
29
|
+
],
|
|
30
|
+
"keywords": [
|
|
31
|
+
"wso2",
|
|
32
|
+
"oxygen-ui",
|
|
33
|
+
"design-system",
|
|
34
|
+
"material-ui",
|
|
35
|
+
"mui",
|
|
36
|
+
"react",
|
|
37
|
+
"typescript",
|
|
38
|
+
"components",
|
|
39
|
+
"ui-library"
|
|
40
|
+
],
|
|
41
|
+
"author": "WSO2 LLC",
|
|
42
|
+
"license": "Apache-2.0",
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "https://github.com/wso2/oxygen-ui.git"
|
|
46
|
+
},
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/wso2/oxygen-ui/issues"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://github.com/wso2/oxygen-ui#readme",
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@fontsource-variable/inter": "^5.2.8"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@emotion/react": "^11.14.0",
|
|
56
|
+
"@emotion/styled": "^11.14.1",
|
|
57
|
+
"@mui/material": "^7.3.4",
|
|
58
|
+
"@mui/x-charts": "^8.14.0",
|
|
59
|
+
"@mui/x-data-grid": "^8.16.0",
|
|
60
|
+
"@mui/x-date-pickers": "^8.17.0",
|
|
61
|
+
"@mui/x-tree-view": "^8.14.0",
|
|
62
|
+
"react": "^19.2.0",
|
|
63
|
+
"react-dom": "^19.2.0",
|
|
64
|
+
"@wso2/oxygen-ui-icons-react": "0.0.1-alpha.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@types/react": "^19.2.2",
|
|
68
|
+
"@types/react-dom": "^19.2.2",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
70
|
+
"@typescript-eslint/parser": "^7.0.1",
|
|
71
|
+
"@vitest/ui": "^4.0.7",
|
|
72
|
+
"esbuild": "^0.25.12",
|
|
73
|
+
"eslint": "^9.12.0",
|
|
74
|
+
"eslint-plugin-react": "^7.33.2",
|
|
75
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
76
|
+
"rimraf": "^6.1.0",
|
|
77
|
+
"typescript": "^5.9.3",
|
|
78
|
+
"vite": "^7.2.1",
|
|
79
|
+
"vitest": "^4.0.7"
|
|
80
|
+
},
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public"
|
|
83
|
+
},
|
|
84
|
+
"nx": {
|
|
85
|
+
"targets": {
|
|
86
|
+
"build": {
|
|
87
|
+
"dependsOn": []
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"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",
|
|
95
|
+
"typecheck": "tsc --noEmit",
|
|
96
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
97
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
98
|
+
"clean": "rimraf dist",
|
|
99
|
+
"test": "vitest"
|
|
100
|
+
}
|
|
101
|
+
}
|