@wso2/oxygen-ui 0.0.1-alpha.0 → 0.0.1-alpha.10
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 +1 -1
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.d.ts +5 -2
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js +173 -23
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js.map +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +267 -23
- package/dist/index.js.map +4 -4
- package/dist/styles/OxygenTheme/OxygenTheme.d.ts +20 -2
- package/dist/styles/OxygenTheme/OxygenTheme.js +161 -20
- package/dist/styles/OxygenTheme/OxygenTheme.js.map +2 -2
- package/package.json +38 -32
|
@@ -15,6 +15,24 @@
|
|
|
15
15
|
* specific language governing permissions and limitations
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
|
-
import '@
|
|
19
|
-
declare const
|
|
18
|
+
import { Theme } from '@mui/material/styles';
|
|
19
|
+
export declare const RadialBodyBackgroundDesign: {
|
|
20
|
+
components: {
|
|
21
|
+
MuiCssBaseline: {
|
|
22
|
+
styleOverrides: {
|
|
23
|
+
"html[data-color-scheme='dark'] body": {
|
|
24
|
+
backgroundAttachment: string;
|
|
25
|
+
backgroundImage: string;
|
|
26
|
+
backgroundBlendMode: string;
|
|
27
|
+
};
|
|
28
|
+
"html[data-color-scheme='light'] body": {
|
|
29
|
+
backgroundAttachment: string;
|
|
30
|
+
backgroundImage: string;
|
|
31
|
+
backgroundBlendMode: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
declare const OxygenTheme: Theme;
|
|
20
38
|
export default OxygenTheme;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
2
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
@@ -14,26 +16,97 @@ var __spreadValues = (a, b) => {
|
|
|
14
16
|
}
|
|
15
17
|
return a;
|
|
16
18
|
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
17
20
|
|
|
18
21
|
// src/styles/OxygenTheme/OxygenTheme.ts
|
|
19
22
|
import { createTheme } from "@mui/material/styles";
|
|
20
|
-
import "@
|
|
23
|
+
import { ChevronDown, X } from "@wso2/oxygen-ui-icons-react";
|
|
24
|
+
import React from "react";
|
|
21
25
|
var noShadows = Array(25).fill("none");
|
|
26
|
+
var OxygenThemePrimitives = {
|
|
27
|
+
primary: {
|
|
28
|
+
color: "linear-gradient(77.74deg, #e74420ff 11.16%, #fa7b3f 99.55%)",
|
|
29
|
+
colorHover: "linear-gradient(77.74deg, #d04036ff 11.16%, #f2621f 99.55%)"
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
var RadialBodyBackgroundDesign = {
|
|
33
|
+
components: {
|
|
34
|
+
MuiCssBaseline: {
|
|
35
|
+
styleOverrides: {
|
|
36
|
+
"html[data-color-scheme='dark'] body": {
|
|
37
|
+
backgroundAttachment: "fixed",
|
|
38
|
+
backgroundImage: `
|
|
39
|
+
radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.15) 10%, rgba(0, 0, 0, 0) 60% 40%),
|
|
40
|
+
radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.32) 1%, rgba(0, 0, 0, 0) 40% 70%),
|
|
41
|
+
radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)
|
|
42
|
+
`,
|
|
43
|
+
backgroundBlendMode: "screen"
|
|
44
|
+
},
|
|
45
|
+
"html[data-color-scheme='light'] body": {
|
|
46
|
+
backgroundAttachment: "fixed",
|
|
47
|
+
backgroundImage: `
|
|
48
|
+
radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),
|
|
49
|
+
radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),
|
|
50
|
+
radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)
|
|
51
|
+
`,
|
|
52
|
+
backgroundBlendMode: "normal"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
var baseTheme = createTheme();
|
|
22
59
|
var OxygenTheme = createTheme({
|
|
23
60
|
typography: {
|
|
24
61
|
fontFamily: "'Inter Variable', sans-serif",
|
|
25
|
-
fontWeightRegular:
|
|
62
|
+
fontWeightRegular: 400,
|
|
26
63
|
fontSize: 14,
|
|
64
|
+
h1: {
|
|
65
|
+
fontSize: baseTheme.typography.pxToRem(36),
|
|
66
|
+
fontWeight: 400
|
|
67
|
+
},
|
|
68
|
+
h2: {
|
|
69
|
+
fontSize: baseTheme.typography.pxToRem(30),
|
|
70
|
+
fontWeight: 400
|
|
71
|
+
},
|
|
72
|
+
h3: {
|
|
73
|
+
fontSize: baseTheme.typography.pxToRem(24),
|
|
74
|
+
fontWeight: 400
|
|
75
|
+
},
|
|
76
|
+
h4: {
|
|
77
|
+
fontSize: baseTheme.typography.pxToRem(18),
|
|
78
|
+
fontWeight: 400
|
|
79
|
+
},
|
|
80
|
+
h5: {
|
|
81
|
+
fontSize: baseTheme.typography.pxToRem(16),
|
|
82
|
+
fontWeight: 400
|
|
83
|
+
},
|
|
84
|
+
h6: {
|
|
85
|
+
fontSize: baseTheme.typography.pxToRem(14),
|
|
86
|
+
fontWeight: 500
|
|
87
|
+
},
|
|
88
|
+
subtitle1: {
|
|
89
|
+
fontSize: baseTheme.typography.pxToRem(18)
|
|
90
|
+
},
|
|
91
|
+
subtitle2: {
|
|
92
|
+
fontSize: baseTheme.typography.pxToRem(14),
|
|
93
|
+
fontWeight: 400
|
|
94
|
+
},
|
|
27
95
|
body1: {
|
|
28
|
-
fontSize: 14
|
|
96
|
+
fontSize: baseTheme.typography.pxToRem(14)
|
|
29
97
|
},
|
|
30
98
|
body2: {
|
|
31
|
-
fontSize: 14
|
|
99
|
+
fontSize: baseTheme.typography.pxToRem(14),
|
|
100
|
+
fontWeight: 400
|
|
101
|
+
},
|
|
102
|
+
caption: {
|
|
103
|
+
fontSize: baseTheme.typography.pxToRem(12),
|
|
104
|
+
fontWeight: 400
|
|
32
105
|
}
|
|
33
106
|
},
|
|
34
107
|
shadows: noShadows,
|
|
35
108
|
shape: {
|
|
36
|
-
borderRadius:
|
|
109
|
+
borderRadius: 15
|
|
37
110
|
},
|
|
38
111
|
cssVariables: {
|
|
39
112
|
colorSchemeSelector: "data-color-scheme"
|
|
@@ -42,7 +115,7 @@ var OxygenTheme = createTheme({
|
|
|
42
115
|
light: {
|
|
43
116
|
palette: {
|
|
44
117
|
primary: {
|
|
45
|
-
main: "#
|
|
118
|
+
main: "#fa7b3f",
|
|
46
119
|
contrastText: "#ffffff"
|
|
47
120
|
},
|
|
48
121
|
secondary: {
|
|
@@ -76,11 +149,28 @@ var OxygenTheme = createTheme({
|
|
|
76
149
|
primary: "#efefef",
|
|
77
150
|
secondary: "#D0D3E2"
|
|
78
151
|
},
|
|
79
|
-
divider: "#
|
|
152
|
+
divider: "#ffffff16"
|
|
80
153
|
}
|
|
81
154
|
}
|
|
82
155
|
},
|
|
83
156
|
components: {
|
|
157
|
+
MuiAvatar: {
|
|
158
|
+
styleOverrides: {
|
|
159
|
+
root: ({ theme }) => __spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
160
|
+
backgroundColor: "#ebebeb",
|
|
161
|
+
color: "#40404B"
|
|
162
|
+
})), theme.applyStyles("dark", {
|
|
163
|
+
backgroundColor: "#3c3c3c",
|
|
164
|
+
color: "#D0D3E2"
|
|
165
|
+
}))
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
MuiAutocomplete: {
|
|
169
|
+
defaultProps: {
|
|
170
|
+
popupIcon: React.createElement(ChevronDown),
|
|
171
|
+
clearIcon: React.createElement(X)
|
|
172
|
+
}
|
|
173
|
+
},
|
|
84
174
|
MuiButton: {
|
|
85
175
|
styleOverrides: {
|
|
86
176
|
root: {
|
|
@@ -89,36 +179,58 @@ var OxygenTheme = createTheme({
|
|
|
89
179
|
fontWeight: 400
|
|
90
180
|
},
|
|
91
181
|
containedPrimary: {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
182
|
+
"&:not(:disabled)": {
|
|
183
|
+
background: OxygenThemePrimitives.primary.color,
|
|
184
|
+
color: "#fff",
|
|
185
|
+
"&:hover": {
|
|
186
|
+
background: OxygenThemePrimitives.primary.colorHover,
|
|
187
|
+
color: "#fff"
|
|
188
|
+
}
|
|
97
189
|
}
|
|
98
190
|
}
|
|
99
191
|
}
|
|
100
192
|
},
|
|
193
|
+
MuiDialog: {
|
|
194
|
+
styleOverrides: {
|
|
195
|
+
paper: ({ theme }) => __spreadValues(__spreadValues({
|
|
196
|
+
WebkitBackdropFilter: "blur(10px)",
|
|
197
|
+
backdropFilter: "blur(10px)"
|
|
198
|
+
}, theme.applyStyles("light", {
|
|
199
|
+
background: "rgba(255, 255, 255, 0.7)"
|
|
200
|
+
})), theme.applyStyles("dark", {
|
|
201
|
+
background: "rgba(10, 10, 10, 0.7)"
|
|
202
|
+
}))
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
MuiDrawer: {
|
|
206
|
+
styleOverrides: {
|
|
207
|
+
paper: ({ theme }) => __spreadValues({}, theme.applyStyles("dark", {
|
|
208
|
+
background: "transparent"
|
|
209
|
+
}))
|
|
210
|
+
}
|
|
211
|
+
},
|
|
101
212
|
MuiFormLabel: {
|
|
102
213
|
styleOverrides: {
|
|
103
214
|
root: ({ theme }) => ({
|
|
104
215
|
fontSize: theme.typography.body2.fontSize,
|
|
105
|
-
marginBottom: "
|
|
216
|
+
marginBottom: "6px"
|
|
106
217
|
})
|
|
107
218
|
}
|
|
108
219
|
},
|
|
109
220
|
MuiPaper: {
|
|
110
221
|
styleOverrides: {
|
|
111
222
|
root: ({ theme }) => __spreadValues(__spreadValues({
|
|
223
|
+
borderRadius: theme.shape.borderRadius,
|
|
112
224
|
WebkitBackdropFilter: "blur(3px)",
|
|
113
225
|
backdropFilter: "blur(3px)"
|
|
114
226
|
}, theme.applyStyles("light", {
|
|
115
227
|
border: "1px solid #ffffff7a",
|
|
116
228
|
background: "rgb(230 230 230 / 5%)",
|
|
117
|
-
boxShadow: "0
|
|
229
|
+
boxShadow: "0 10px 22px 0 rgba(6, 6, 14, 0.1),0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,0 1px 1px 0 rgba(199, 211, 234, 0.12) inset"
|
|
118
230
|
})), theme.applyStyles("dark", {
|
|
119
231
|
border: "1px solid #d2d2d20f",
|
|
120
|
-
background: "rgb(230 230 230 /
|
|
121
|
-
boxShadow: "
|
|
232
|
+
background: "rgb(230 230 230 / 1%)",
|
|
233
|
+
boxShadow: "0 24px 32px 0 rgba(6, 6, 14, 0.70),0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,0 1px 1px 0 rgba(199, 211, 234, 0.12) inset"
|
|
122
234
|
}))
|
|
123
235
|
}
|
|
124
236
|
},
|
|
@@ -134,6 +246,23 @@ var OxygenTheme = createTheme({
|
|
|
134
246
|
MuiTextField: {
|
|
135
247
|
defaultProps: { size: "small" }
|
|
136
248
|
},
|
|
249
|
+
MuiSelect: {
|
|
250
|
+
defaultProps: {
|
|
251
|
+
size: "small",
|
|
252
|
+
IconComponent: ChevronDown
|
|
253
|
+
},
|
|
254
|
+
styleOverrides: {
|
|
255
|
+
icon: {
|
|
256
|
+
top: "50%",
|
|
257
|
+
transform: "translateY(-50%)",
|
|
258
|
+
marginTop: 0
|
|
259
|
+
},
|
|
260
|
+
select: {
|
|
261
|
+
paddingTop: "10px",
|
|
262
|
+
paddingBottom: "10px"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
137
266
|
MuiOutlinedInput: {
|
|
138
267
|
styleOverrides: {
|
|
139
268
|
root: ({ theme }) => __spreadValues(__spreadValues({
|
|
@@ -174,16 +303,27 @@ var OxygenTheme = createTheme({
|
|
|
174
303
|
},
|
|
175
304
|
MuiListItemButton: {
|
|
176
305
|
styleOverrides: {
|
|
177
|
-
root: {
|
|
306
|
+
root: ({ theme }) => ({
|
|
307
|
+
borderRadius: 8,
|
|
308
|
+
"&.Mui-selected": __spreadProps(__spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
309
|
+
backgroundColor: theme.palette.action.selected
|
|
310
|
+
})), theme.applyStyles("dark", {
|
|
311
|
+
backgroundColor: "#ffffff1a"
|
|
312
|
+
})), {
|
|
313
|
+
"&:hover": __spreadValues(__spreadValues({}, theme.applyStyles("light", {
|
|
314
|
+
backgroundColor: theme.palette.action.hover
|
|
315
|
+
})), theme.applyStyles("dark", {
|
|
316
|
+
backgroundColor: "#ffffff1a"
|
|
317
|
+
}))
|
|
318
|
+
})
|
|
319
|
+
})
|
|
178
320
|
}
|
|
179
321
|
},
|
|
180
322
|
MuiDataGrid: {
|
|
181
323
|
styleOverrides: {
|
|
182
324
|
root: ({ theme }) => ({
|
|
183
|
-
border: "
|
|
184
|
-
borderColor: theme.palette.divider,
|
|
325
|
+
border: "none",
|
|
185
326
|
backgroundColor: "transparent",
|
|
186
|
-
borderRadius: "8px",
|
|
187
327
|
overflow: "hidden",
|
|
188
328
|
"& .MuiDataGrid-columnHeaders": {
|
|
189
329
|
backgroundColor: "#ffffff0a",
|
|
@@ -210,6 +350,7 @@ var OxygenTheme = createTheme({
|
|
|
210
350
|
});
|
|
211
351
|
var OxygenTheme_default = OxygenTheme;
|
|
212
352
|
export {
|
|
353
|
+
RadialBodyBackgroundDesign,
|
|
213
354
|
OxygenTheme_default as default
|
|
214
355
|
};
|
|
215
356
|
//# sourceMappingURL=OxygenTheme.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/styles/OxygenTheme/OxygenTheme.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { createTheme } from '@mui/material/styles';\nimport type { Shadows } from '@mui/material/styles';\nimport type {} from '@mui/x-data-grid/themeAugmentation';\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": "
|
|
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, Theme } from '@mui/material/styles';\nimport type { Shadows } from '@mui/material/styles';\nimport type {} from '@mui/x-data-grid/themeAugmentation';\nimport { ChevronDown, X } from '@wso2/oxygen-ui-icons-react';\nimport React from 'react';\n\nconst noShadows = Array(25).fill('none') as Shadows;\n\nconst OxygenThemePrimitives = {\n primary: {\n color: 'linear-gradient(77.74deg, #e74420ff 11.16%, #fa7b3f 99.55%)',\n colorHover: 'linear-gradient(77.74deg, #d04036ff 11.16%, #f2621f 99.55%)',\n },\n}\n\nexport const RadialBodyBackgroundDesign = {\n components: {\n MuiCssBaseline: {\n styleOverrides: {\n \"html[data-color-scheme='dark'] body\": {\n backgroundAttachment: 'fixed',\n backgroundImage: `\n radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.15) 10%, rgba(0, 0, 0, 0) 60% 40%),\n radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.32) 1%, rgba(0, 0, 0, 0) 40% 70%),\n radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)\n `,\n backgroundBlendMode: 'screen',\n },\n \"html[data-color-scheme='light'] body\": {\n backgroundAttachment: 'fixed',\n backgroundImage: `\n radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),\n radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),\n radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)\n `,\n backgroundBlendMode: 'normal',\n },\n },\n },\n },\n};\n\n// Create a base theme to access pxToRem function\nconst baseTheme = createTheme();\n\nconst OxygenTheme: Theme = createTheme({\n typography: {\n fontFamily: \"'Inter Variable', sans-serif\",\n fontWeightRegular: 400,\n fontSize: 14,\n h1: {\n fontSize: baseTheme.typography.pxToRem(36),\n fontWeight: 400,\n },\n h2: {\n fontSize: baseTheme.typography.pxToRem(30),\n fontWeight: 400,\n },\n h3: {\n fontSize: baseTheme.typography.pxToRem(24),\n fontWeight: 400,\n },\n h4: {\n fontSize: baseTheme.typography.pxToRem(18),\n fontWeight: 400,\n },\n h5: {\n fontSize: baseTheme.typography.pxToRem(16),\n fontWeight: 400,\n },\n h6: {\n fontSize: baseTheme.typography.pxToRem(14),\n fontWeight: 500,\n },\n subtitle1: {\n fontSize: baseTheme.typography.pxToRem(18),\n },\n subtitle2: {\n fontSize: baseTheme.typography.pxToRem(14),\n fontWeight: 400,\n },\n body1: {\n fontSize: baseTheme.typography.pxToRem(14),\n },\n body2: {\n fontSize: baseTheme.typography.pxToRem(14),\n fontWeight: 400,\n },\n caption: {\n fontSize: baseTheme.typography.pxToRem(12),\n fontWeight: 400,\n },\n },\n shadows: noShadows,\n shape: {\n borderRadius: 15,\n },\n cssVariables: {\n colorSchemeSelector: 'data-color-scheme',\n },\n colorSchemes: {\n light: {\n palette: {\n primary: {\n main: '#fa7b3f',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#e8e8e8',\n },\n background: {\n default: '#f5f5f5',\n paper: '#ffffff',\n },\n text: {\n primary: '#40404B',\n secondary: '#40404B',\n },\n divider: '#00000012',\n },\n },\n dark: {\n palette: {\n primary: {\n main: '#F87643',\n contrastText: '#ffffff',\n },\n secondary: {\n main: '#3c3c3c',\n },\n background: {\n default: '#000000',\n paper: '#00000088',\n },\n text: {\n primary: '#efefef',\n secondary: '#D0D3E2',\n },\n divider: '#ffffff16',\n },\n },\n },\n components: {\n MuiAvatar: {\n styleOverrides: {\n root: ({ theme }) => ({\n ...theme.applyStyles('light', {\n backgroundColor: '#ebebeb',\n color: '#40404B',\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#3c3c3c',\n color: '#D0D3E2',\n }),\n }),\n },\n },\n MuiAutocomplete: {\n defaultProps: {\n popupIcon: React.createElement(ChevronDown),\n clearIcon: React.createElement(X),\n },\n },\n MuiButton: {\n styleOverrides: {\n root: {\n borderRadius: 20,\n textTransform: 'none',\n fontWeight: 400,\n },\n containedPrimary: {\n '&:not(:disabled)': {\n background: OxygenThemePrimitives.primary.color,\n color: '#fff',\n '&:hover': {\n background: OxygenThemePrimitives.primary.colorHover,\n color: '#fff',\n },\n }\n },\n },\n },\n MuiDialog: {\n styleOverrides: {\n paper: ({ theme }) => ({\n WebkitBackdropFilter: 'blur(10px)',\n backdropFilter: 'blur(10px)',\n ...theme.applyStyles('light', {\n background: 'rgba(255, 255, 255, 0.7)',\n }),\n ...theme.applyStyles('dark', {\n background: 'rgba(10, 10, 10, 0.7)',\n }),\n })\n }\n },\n MuiDrawer: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('dark', {\n background: 'transparent',\n }),\n }),\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n marginBottom: '6px'\n }),\n },\n },\n MuiPaper: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: theme.shape.borderRadius,\n WebkitBackdropFilter: 'blur(3px)',\n backdropFilter: 'blur(3px)',\n ...theme.applyStyles('light', {\n border: '1px solid #ffffff7a',\n background: 'rgb(230 230 230 / 5%)',\n boxShadow: \n '0 10px 22px 0 rgba(6, 6, 14, 0.1),' +\n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' +\n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n ...theme.applyStyles('dark', {\n border: '1px solid #d2d2d20f',\n background: 'rgb(230 230 230 / 1%)',\n boxShadow: \n '0 24px 32px 0 rgba(6, 6, 14, 0.70),' + \n '0 24px 48px 0 rgba(199, 211, 234, 0.05) inset,' + \n '0 1px 1px 0 rgba(199, 211, 234, 0.12) inset',\n }),\n })\n }\n },\n MuiPopover: {\n styleOverrides: {\n paper: ({ theme }) => ({\n ...theme.applyStyles('light', {\n background: '#ffffff9c',\n }),\n ...theme.applyStyles('dark', {\n background: '#040404c2',\n }),\n })\n }\n },\n MuiTextField: {\n defaultProps: { size: 'small' },\n },\n MuiSelect: {\n defaultProps: {\n size: 'small',\n IconComponent: ChevronDown\n },\n styleOverrides: {\n icon: {\n top: '50%',\n transform: 'translateY(-50%)',\n marginTop: 0,\n },\n select: {\n paddingTop: '10px',\n paddingBottom: '10px',\n },\n }\n },\n MuiOutlinedInput: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n borderRadius: 8,\n ...theme.applyStyles('light', {\n background: '#ffffffc4'\n }),\n ...theme.applyStyles('dark', {\n background: '#ffffff05'\n })\n }),\n notchedOutline: ({ theme }) => ({\n borderWidth: 1,\n ...theme.applyStyles('light', {\n borderColor: '#d9d9d987'\n }),\n ...theme.applyStyles('dark', {\n borderColor: '#ffffff0d'\n })\n }),\n },\n },\n MuiMenuItem: {\n styleOverrides: {\n root: ({ theme }) => ({\n fontSize: theme.typography.body2.fontSize,\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n textDecoration: 'none',\n '&:hover': {\n color: theme.palette.primary.dark,\n textDecoration: 'underline',\n },\n }),\n },\n },\n MuiListItemButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: 8,\n '&.Mui-selected': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.selected,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n '&:hover': {\n ...theme.applyStyles('light', {\n backgroundColor: theme.palette.action.hover,\n }),\n ...theme.applyStyles('dark', {\n backgroundColor: '#ffffff1a',\n }),\n },\n },\n }),\n },\n },\n MuiDataGrid: {\n styleOverrides: {\n root: ({ theme }) => ({\n border: 'none',\n backgroundColor: 'transparent',\n overflow: 'hidden',\n '& .MuiDataGrid-columnHeaders': {\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }\n }),\n columnHeaders: ({ theme }) => ({\n backgroundColor: '#ffffff0a',\n borderBottom: '1px solid',\n borderColor: theme.palette.divider,\n }),\n columnHeader: {\n backgroundColor: 'transparent',\n },\n cell: ({ theme }) => ({\n borderBottom: '1px solid',\n backgroundColor: 'transparent',\n borderColor: theme.palette.divider,\n }),\n },\n },\n },\n});\n\nexport default OxygenTheme;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAkBA,SAAS,mBAA0B;AAGnC,SAAS,aAAa,SAAS;AAC/B,OAAO,WAAW;AAElB,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AAEvC,IAAM,wBAAwB;AAAA,EAC5B,SAAS;AAAA,IACP,OAAO;AAAA,IACP,YAAY;AAAA,EACd;AACF;AAEO,IAAM,6BAA6B;AAAA,EACxC,YAAY;AAAA,IACV,gBAAgB;AAAA,MACd,gBAAgB;AAAA,QACd,uCAAuC;AAAA,UACrC,sBAAsB;AAAA,UACtB,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,UAKjB,qBAAqB;AAAA,QACvB;AAAA,QACA,wCAAwC;AAAA,UACtC,sBAAsB;AAAA,UACtB,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA,UAKjB,qBAAqB;AAAA,QACvB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;AAGA,IAAM,YAAY,YAAY;AAE9B,IAAM,cAAqB,YAAY;AAAA,EACrC,YAAY;AAAA,IACV,YAAY;AAAA,IACZ,mBAAmB;AAAA,IACnB,UAAU;AAAA,IACV,IAAI;AAAA,MACF,UAAU,UAAU,WAAW,QAAQ,EAAE;AAAA,MACzC,YAAY;AAAA,IACd;AAAA,IACA,IAAI;AAAA,MACF,UAAU,UAAU,WAAW,QAAQ,EAAE;AAAA,MACzC,YAAY;AAAA,IACd;AAAA,IACA,IAAI;AAAA,MACF,UAAU,UAAU,WAAW,QAAQ,EAAE;AAAA,MACzC,YAAY;AAAA,IACd;AAAA,IACA,IAAI;AAAA,MACF,UAAU,UAAU,WAAW,QAAQ,EAAE;AAAA,MACzC,YAAY;AAAA,IACd;AAAA,IACA,IAA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AA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AAAA,MACX,gBAAgB;AAAA,QACd,MAAM,CAAC,EAAE,MAAM,OAAO;AAAA,UACpB,QAAQ;AAAA,UACR,iBAAiB;AAAA,UACjB,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
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wso2/oxygen-ui",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.10",
|
|
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,34 +49,37 @@
|
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://github.com/wso2/oxygen-ui#readme",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@fontsource-variable/inter": "
|
|
52
|
+
"@fontsource-variable/inter": "5.2.8"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@emotion/react": "
|
|
56
|
-
"@emotion/styled": "
|
|
57
|
-
"@mui/material": "
|
|
58
|
-
"@mui/x-charts": "
|
|
59
|
-
"@mui/x-data-grid": "
|
|
60
|
-
"@mui/x-date-pickers": "
|
|
61
|
-
"@mui/x-tree-view": "
|
|
62
|
-
"
|
|
63
|
-
"react
|
|
64
|
-
"
|
|
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.16.0",
|
|
61
|
+
"@mui/x-tree-view": "8.14.0",
|
|
62
|
+
"date-fns": "4.1.0",
|
|
63
|
+
"react": "19.2.3",
|
|
64
|
+
"react-dom": "19.2.3",
|
|
65
|
+
"@wso2/oxygen-ui-icons-react": "0.0.1-alpha.10"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
|
-
"@
|
|
68
|
-
"@types/react
|
|
69
|
-
"@
|
|
70
|
-
"@typescript-eslint/
|
|
71
|
-
"@
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"eslint
|
|
75
|
-
"eslint-plugin-react
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
68
|
+
"@eslint/js": "9.39.0",
|
|
69
|
+
"@types/react": "19.2.2",
|
|
70
|
+
"@types/react-dom": "19.2.2",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "7.0.1",
|
|
72
|
+
"@typescript-eslint/parser": "7.0.1",
|
|
73
|
+
"@vitest/ui": "4.0.6",
|
|
74
|
+
"esbuild": "0.25.11",
|
|
75
|
+
"eslint": "9.12.0",
|
|
76
|
+
"eslint-plugin-react": "7.37.5",
|
|
77
|
+
"eslint-plugin-react-hooks": "4.6.2",
|
|
78
|
+
"rimraf": "6.1.0",
|
|
79
|
+
"typescript": "5.9.3",
|
|
80
|
+
"vite": "7.1.12",
|
|
81
|
+
"vitest": "4.0.6",
|
|
82
|
+
"@wso2/esbuild-plugin-inline-css-fonts": "0.0.1-alpha.5"
|
|
80
83
|
},
|
|
81
84
|
"publishConfig": {
|
|
82
85
|
"access": "public"
|
|
@@ -84,18 +87,21 @@
|
|
|
84
87
|
"nx": {
|
|
85
88
|
"targets": {
|
|
86
89
|
"build": {
|
|
87
|
-
"dependsOn": [
|
|
90
|
+
"dependsOn": [
|
|
91
|
+
"^build"
|
|
92
|
+
]
|
|
88
93
|
}
|
|
89
94
|
}
|
|
90
95
|
},
|
|
91
96
|
"scripts": {
|
|
92
|
-
"build": "pnpm clean && tsc -p tsconfig.json && node esbuild.config.
|
|
93
|
-
"build:watch": "node esbuild.config.
|
|
94
|
-
"dev": "node esbuild.config.
|
|
97
|
+
"build": "pnpm clean && tsc -p tsconfig.json && node esbuild.config.js",
|
|
98
|
+
"build:watch": "node esbuild.config.js --watch",
|
|
99
|
+
"dev": "node esbuild.config.js --watch",
|
|
95
100
|
"typecheck": "tsc --noEmit",
|
|
96
|
-
"lint": "eslint src
|
|
97
|
-
"lint:fix": "eslint src --
|
|
101
|
+
"lint": "eslint src",
|
|
102
|
+
"lint:fix": "eslint src --fix",
|
|
98
103
|
"clean": "rimraf dist",
|
|
99
|
-
"test": "vitest"
|
|
104
|
+
"test": "vitest run --passWithNoTests",
|
|
105
|
+
"test:watch": "vitest"
|
|
100
106
|
}
|
|
101
107
|
}
|