@wso2/oxygen-ui 0.0.1-alpha.10 → 0.0.1-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +134 -2
  2. package/dist/animations/ParticleBackground/ParticleBackground.d.ts +66 -0
  3. package/dist/animations/ParticleBackground/index.d.ts +19 -0
  4. package/dist/animations/index.d.ts +18 -0
  5. package/dist/components/CodeBlock/CodeBlock.d.ts +47 -0
  6. package/dist/components/CodeBlock/index.d.ts +19 -0
  7. package/dist/components/ColorSchemeImage/index.d.ts +19 -0
  8. package/dist/components/ColorSchemeToggle/index.d.ts +18 -0
  9. package/dist/components/ComplexSelect/ComplexSelect.d.ts +17 -0
  10. package/dist/components/ComplexSelect/ComplexSelectDivider.d.ts +4 -0
  11. package/dist/components/ComplexSelect/ComplexSelectListHeader.d.ts +7 -0
  12. package/dist/components/ComplexSelect/ComplexSelectMenuItem.d.ts +16 -0
  13. package/dist/components/ComplexSelect/ComplexSelectMenuItemAvatar.d.ts +7 -0
  14. package/dist/components/ComplexSelect/ComplexSelectMenuItemIcon.d.ts +7 -0
  15. package/dist/components/ComplexSelect/ComplexSelectMenuItemText.d.ts +8 -0
  16. package/dist/components/ComplexSelect/index.d.ts +21 -0
  17. package/dist/components/PageTitle/PageTitle.d.ts +34 -0
  18. package/dist/components/PageTitle/PageTitleAvatar.d.ts +16 -0
  19. package/dist/components/PageTitle/PageTitleHeader.d.ts +16 -0
  20. package/dist/components/PageTitle/PageTitleLink.d.ts +20 -0
  21. package/dist/components/PageTitle/PageTitleSubHeader.d.ts +16 -0
  22. package/dist/components/PageTitle/index.d.ts +27 -0
  23. package/dist/components/ThemeSwitcher/ThemeSelect.d.ts +37 -0
  24. package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +65 -0
  25. package/dist/components/ThemeSwitcher/index.d.ts +4 -0
  26. package/dist/components/index.d.ts +28 -0
  27. package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.d.ts +58 -3
  28. package/dist/contexts/OxygenUIThemeProvider/index.d.ts +20 -0
  29. package/dist/contexts/index.d.ts +19 -0
  30. package/dist/hooks/index.d.ts +18 -0
  31. package/dist/hooks/useThemeContent/index.d.ts +18 -0
  32. package/dist/hooks/useThemeContent/useThemeContent.d.ts +57 -0
  33. package/dist/index.d.ts +7 -4
  34. package/dist/index.js +1360 -169
  35. package/dist/index.js.map +4 -4
  36. package/dist/styles/Themes/AsgardeoTheme.d.ts +17 -0
  37. package/dist/styles/Themes/ChoreoTheme.d.ts +20 -0
  38. package/dist/styles/Themes/ClassicTheme.d.ts +20 -0
  39. package/dist/styles/Themes/HighContrastTheme.d.ts +20 -0
  40. package/dist/styles/Themes/OxygenBaseTheme.d.ts +66 -0
  41. package/dist/styles/Themes/index.d.ts +22 -0
  42. package/dist/styles/index.d.ts +18 -0
  43. package/dist/utils/index.d.ts +18 -0
  44. package/dist/utils/pxToRem.d.ts +23 -0
  45. package/package.json +10 -8
  46. package/dist/components/ColorSchemeImage/ColorSchemeImage.js +0 -57
  47. package/dist/components/ColorSchemeImage/ColorSchemeImage.js.map +0 -7
  48. package/dist/components/ColorSchemeToggle/ColorSchemeToggle.js +0 -76
  49. package/dist/components/ColorSchemeToggle/ColorSchemeToggle.js.map +0 -7
  50. package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js +0 -378
  51. package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js.map +0 -7
  52. package/dist/styles/OxygenTheme/OxygenTheme.d.ts +0 -38
  53. package/dist/styles/OxygenTheme/OxygenTheme.js +0 -356
  54. package/dist/styles/OxygenTheme/OxygenTheme.js.map +0 -7
@@ -1,378 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __defProps = Object.defineProperties;
3
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
- var __spreadValues = (a, b) => {
9
- for (var prop in b || (b = {}))
10
- if (__hasOwnProp.call(b, prop))
11
- __defNormalProp(a, prop, b[prop]);
12
- if (__getOwnPropSymbols)
13
- for (var prop of __getOwnPropSymbols(b)) {
14
- if (__propIsEnum.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- }
17
- return a;
18
- };
19
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
-
21
- // src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx
22
- import { useMemo } from "react";
23
- import { ThemeProvider as MUIThemeProvider, StyledEngineProvider, createTheme as createTheme2 } from "@mui/material/styles";
24
- import { CssBaseline } from "@mui/material";
25
-
26
- // src/styles/OxygenTheme/OxygenTheme.ts
27
- import { createTheme } from "@mui/material/styles";
28
- import { ChevronDown, X } from "@wso2/oxygen-ui-icons-react";
29
- import React from "react";
30
- var noShadows = Array(25).fill("none");
31
- var OxygenThemePrimitives = {
32
- primary: {
33
- color: "linear-gradient(77.74deg, #e74420ff 11.16%, #fa7b3f 99.55%)",
34
- colorHover: "linear-gradient(77.74deg, #d04036ff 11.16%, #f2621f 99.55%)"
35
- }
36
- };
37
- var RadialBodyBackgroundDesign = {
38
- components: {
39
- MuiCssBaseline: {
40
- styleOverrides: {
41
- "html[data-color-scheme='dark'] body": {
42
- backgroundAttachment: "fixed",
43
- backgroundImage: `
44
- radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.15) 10%, rgba(0, 0, 0, 0) 60% 40%),
45
- radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.32) 1%, rgba(0, 0, 0, 0) 40% 70%),
46
- radial-gradient(circle at center, rgba(0, 0, 0, 0.6) 0%, var(--mui-palette-background-default) 100%)
47
- `,
48
- backgroundBlendMode: "screen"
49
- },
50
- "html[data-color-scheme='light'] body": {
51
- backgroundAttachment: "fixed",
52
- backgroundImage: `
53
- radial-gradient(circle at 65% 30%, rgba(255, 116, 0, 0.1) 10%, rgba(255, 255, 255, 0) 40% 40%),
54
- radial-gradient(circle at 15% 50%, rgba(74, 41, 165, 0.1) 1%, rgba(255, 255, 255, 0) 40% 70%),
55
- radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, var(--mui-palette-background-default) 100%)
56
- `,
57
- backgroundBlendMode: "normal"
58
- }
59
- }
60
- }
61
- }
62
- };
63
- var baseTheme = createTheme();
64
- var OxygenTheme = createTheme({
65
- typography: {
66
- fontFamily: "'Inter Variable', sans-serif",
67
- fontWeightRegular: 400,
68
- fontSize: 14,
69
- h1: {
70
- fontSize: baseTheme.typography.pxToRem(36),
71
- fontWeight: 400
72
- },
73
- h2: {
74
- fontSize: baseTheme.typography.pxToRem(30),
75
- fontWeight: 400
76
- },
77
- h3: {
78
- fontSize: baseTheme.typography.pxToRem(24),
79
- fontWeight: 400
80
- },
81
- h4: {
82
- fontSize: baseTheme.typography.pxToRem(18),
83
- fontWeight: 400
84
- },
85
- h5: {
86
- fontSize: baseTheme.typography.pxToRem(16),
87
- fontWeight: 400
88
- },
89
- h6: {
90
- fontSize: baseTheme.typography.pxToRem(14),
91
- fontWeight: 500
92
- },
93
- subtitle1: {
94
- fontSize: baseTheme.typography.pxToRem(18)
95
- },
96
- subtitle2: {
97
- fontSize: baseTheme.typography.pxToRem(14),
98
- fontWeight: 400
99
- },
100
- body1: {
101
- fontSize: baseTheme.typography.pxToRem(14)
102
- },
103
- body2: {
104
- fontSize: baseTheme.typography.pxToRem(14),
105
- fontWeight: 400
106
- },
107
- caption: {
108
- fontSize: baseTheme.typography.pxToRem(12),
109
- fontWeight: 400
110
- }
111
- },
112
- shadows: noShadows,
113
- shape: {
114
- borderRadius: 15
115
- },
116
- cssVariables: {
117
- colorSchemeSelector: "data-color-scheme"
118
- },
119
- colorSchemes: {
120
- light: {
121
- palette: {
122
- primary: {
123
- main: "#fa7b3f",
124
- contrastText: "#ffffff"
125
- },
126
- secondary: {
127
- main: "#e8e8e8"
128
- },
129
- background: {
130
- default: "#f5f5f5",
131
- paper: "#ffffff"
132
- },
133
- text: {
134
- primary: "#40404B",
135
- secondary: "#40404B"
136
- },
137
- divider: "#00000012"
138
- }
139
- },
140
- dark: {
141
- palette: {
142
- primary: {
143
- main: "#F87643",
144
- contrastText: "#ffffff"
145
- },
146
- secondary: {
147
- main: "#3c3c3c"
148
- },
149
- background: {
150
- default: "#000000",
151
- paper: "#00000088"
152
- },
153
- text: {
154
- primary: "#efefef",
155
- secondary: "#D0D3E2"
156
- },
157
- divider: "#ffffff16"
158
- }
159
- }
160
- },
161
- components: {
162
- MuiAvatar: {
163
- styleOverrides: {
164
- root: ({ theme }) => __spreadValues(__spreadValues({}, theme.applyStyles("light", {
165
- backgroundColor: "#ebebeb",
166
- color: "#40404B"
167
- })), theme.applyStyles("dark", {
168
- backgroundColor: "#3c3c3c",
169
- color: "#D0D3E2"
170
- }))
171
- }
172
- },
173
- MuiAutocomplete: {
174
- defaultProps: {
175
- popupIcon: React.createElement(ChevronDown),
176
- clearIcon: React.createElement(X)
177
- }
178
- },
179
- MuiButton: {
180
- styleOverrides: {
181
- root: {
182
- borderRadius: 20,
183
- textTransform: "none",
184
- fontWeight: 400
185
- },
186
- containedPrimary: {
187
- "&:not(:disabled)": {
188
- background: OxygenThemePrimitives.primary.color,
189
- color: "#fff",
190
- "&:hover": {
191
- background: OxygenThemePrimitives.primary.colorHover,
192
- color: "#fff"
193
- }
194
- }
195
- }
196
- }
197
- },
198
- MuiDialog: {
199
- styleOverrides: {
200
- paper: ({ theme }) => __spreadValues(__spreadValues({
201
- WebkitBackdropFilter: "blur(10px)",
202
- backdropFilter: "blur(10px)"
203
- }, theme.applyStyles("light", {
204
- background: "rgba(255, 255, 255, 0.7)"
205
- })), theme.applyStyles("dark", {
206
- background: "rgba(10, 10, 10, 0.7)"
207
- }))
208
- }
209
- },
210
- MuiDrawer: {
211
- styleOverrides: {
212
- paper: ({ theme }) => __spreadValues({}, theme.applyStyles("dark", {
213
- background: "transparent"
214
- }))
215
- }
216
- },
217
- MuiFormLabel: {
218
- styleOverrides: {
219
- root: ({ theme }) => ({
220
- fontSize: theme.typography.body2.fontSize,
221
- marginBottom: "6px"
222
- })
223
- }
224
- },
225
- MuiPaper: {
226
- styleOverrides: {
227
- root: ({ theme }) => __spreadValues(__spreadValues({
228
- borderRadius: theme.shape.borderRadius,
229
- WebkitBackdropFilter: "blur(3px)",
230
- backdropFilter: "blur(3px)"
231
- }, theme.applyStyles("light", {
232
- border: "1px solid #ffffff7a",
233
- background: "rgb(230 230 230 / 5%)",
234
- 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"
235
- })), theme.applyStyles("dark", {
236
- border: "1px solid #d2d2d20f",
237
- background: "rgb(230 230 230 / 1%)",
238
- 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"
239
- }))
240
- }
241
- },
242
- MuiPopover: {
243
- styleOverrides: {
244
- paper: ({ theme }) => __spreadValues(__spreadValues({}, theme.applyStyles("light", {
245
- background: "#ffffff9c"
246
- })), theme.applyStyles("dark", {
247
- background: "#040404c2"
248
- }))
249
- }
250
- },
251
- MuiTextField: {
252
- defaultProps: { size: "small" }
253
- },
254
- MuiSelect: {
255
- defaultProps: {
256
- size: "small",
257
- IconComponent: ChevronDown
258
- },
259
- styleOverrides: {
260
- icon: {
261
- top: "50%",
262
- transform: "translateY(-50%)",
263
- marginTop: 0
264
- },
265
- select: {
266
- paddingTop: "10px",
267
- paddingBottom: "10px"
268
- }
269
- }
270
- },
271
- MuiOutlinedInput: {
272
- styleOverrides: {
273
- root: ({ theme }) => __spreadValues(__spreadValues({
274
- fontSize: theme.typography.body2.fontSize,
275
- borderRadius: 8
276
- }, theme.applyStyles("light", {
277
- background: "#ffffffc4"
278
- })), theme.applyStyles("dark", {
279
- background: "#ffffff05"
280
- })),
281
- notchedOutline: ({ theme }) => __spreadValues(__spreadValues({
282
- borderWidth: 1
283
- }, theme.applyStyles("light", {
284
- borderColor: "#d9d9d987"
285
- })), theme.applyStyles("dark", {
286
- borderColor: "#ffffff0d"
287
- }))
288
- }
289
- },
290
- MuiMenuItem: {
291
- styleOverrides: {
292
- root: ({ theme }) => ({
293
- fontSize: theme.typography.body2.fontSize
294
- })
295
- }
296
- },
297
- MuiLink: {
298
- styleOverrides: {
299
- root: ({ theme }) => ({
300
- color: theme.palette.primary.main,
301
- textDecoration: "none",
302
- "&:hover": {
303
- color: theme.palette.primary.dark,
304
- textDecoration: "underline"
305
- }
306
- })
307
- }
308
- },
309
- MuiListItemButton: {
310
- styleOverrides: {
311
- root: ({ theme }) => ({
312
- borderRadius: 8,
313
- "&.Mui-selected": __spreadProps(__spreadValues(__spreadValues({}, theme.applyStyles("light", {
314
- backgroundColor: theme.palette.action.selected
315
- })), theme.applyStyles("dark", {
316
- backgroundColor: "#ffffff1a"
317
- })), {
318
- "&:hover": __spreadValues(__spreadValues({}, theme.applyStyles("light", {
319
- backgroundColor: theme.palette.action.hover
320
- })), theme.applyStyles("dark", {
321
- backgroundColor: "#ffffff1a"
322
- }))
323
- })
324
- })
325
- }
326
- },
327
- MuiDataGrid: {
328
- styleOverrides: {
329
- root: ({ theme }) => ({
330
- border: "none",
331
- backgroundColor: "transparent",
332
- overflow: "hidden",
333
- "& .MuiDataGrid-columnHeaders": {
334
- backgroundColor: "#ffffff0a",
335
- borderBottom: "1px solid",
336
- borderColor: theme.palette.divider
337
- }
338
- }),
339
- columnHeaders: ({ theme }) => ({
340
- backgroundColor: "#ffffff0a",
341
- borderBottom: "1px solid",
342
- borderColor: theme.palette.divider
343
- }),
344
- columnHeader: {
345
- backgroundColor: "transparent"
346
- },
347
- cell: ({ theme }) => ({
348
- borderBottom: "1px solid",
349
- backgroundColor: "transparent",
350
- borderColor: theme.palette.divider
351
- })
352
- }
353
- }
354
- }
355
- });
356
- var OxygenTheme_default = OxygenTheme;
357
-
358
- // src/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.tsx
359
- import { jsx, jsxs } from "react/jsx-runtime";
360
- function OxygenUIThemeProvider({
361
- children,
362
- theme,
363
- radialBackground = false
364
- }) {
365
- const resolvedTheme = useMemo(() => {
366
- if (theme) return theme;
367
- if (!radialBackground) return OxygenTheme_default;
368
- return createTheme2(OxygenTheme_default, RadialBodyBackgroundDesign);
369
- }, [theme, radialBackground]);
370
- return /* @__PURE__ */ jsx(StyledEngineProvider, { injectFirst: true, children: /* @__PURE__ */ jsxs(MUIThemeProvider, { theme: resolvedTheme, children: [
371
- /* @__PURE__ */ jsx(CssBaseline, {}),
372
- children
373
- ] }) });
374
- }
375
- export {
376
- OxygenUIThemeProvider as default
377
- };
378
- //# sourceMappingURL=OxygenUIThemeProvider.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 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 { useMemo } from 'react';\nimport { ThemeProvider as MUIThemeProvider, StyledEngineProvider, Theme, createTheme } from '@mui/material/styles';\nimport { CssBaseline } from '@mui/material';\nimport OxygenTheme, { RadialBodyBackgroundDesign } from '../../styles/OxygenTheme/OxygenTheme';\n\ninterface OxygenUIThemeProviderProps {\n children: React.ReactNode;\n theme?: Theme;\n radialBackground?: boolean;\n}\n\nexport default function OxygenUIThemeProvider({\n children,\n theme,\n radialBackground = false\n}: OxygenUIThemeProviderProps) {\n\n const resolvedTheme = useMemo(() => {\n if (theme) return theme;\n\n if (!radialBackground) return OxygenTheme;\n\n // Create a new Oxygen UI theme with CssBaseline overrides with radial background\n return createTheme(OxygenTheme, RadialBodyBackgroundDesign);\n }, [theme, radialBackground]);\n\n return (\n <StyledEngineProvider injectFirst>\n <MUIThemeProvider theme={resolvedTheme}>\n <CssBaseline />\n {children}\n </MUIThemeProvider>\n </StyledEngineProvider>\n );\n}\n", "/**\n * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).\n *\n * WSO2 LLC. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { createTheme, 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,eAAe;AACxB,SAAS,iBAAiB,kBAAkB,sBAA6B,eAAAA,oBAAmB;AAC5F,SAAS,mBAAmB;;;ACF5B,SAAS,mBAA0B;AAGnC,SAAS,aAAa,SAAS;AAC/B,OAAO,WAAW;AAElB,IAAM,YAAY,MAAM,EAAE,EAAE,KAAK,MAAM;AA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O;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;;;ADjVT,SACE,KADF;AAjBS,SAAR,sBAAuC;AAAA,EAC5C;AAAA,EACA;AAAA,EACA,mBAAmB;AACrB,GAA+B;AAE7B,QAAM,gBAAgB,QAAQ,MAAM;AAClC,QAAI,MAAO,QAAO;AAElB,QAAI,CAAC,iBAAkB,QAAO;AAG9B,WAAOC,aAAY,qBAAa,0BAA0B;AAAA,EAC5D,GAAG,CAAC,OAAO,gBAAgB,CAAC;AAE5B,SACE,oBAAC,wBAAqB,aAAW,MAC/B,+BAAC,oBAAiB,OAAO,eACvB;AAAA,wBAAC,eAAY;AAAA,IACZ;AAAA,KACH,GACF;AAEJ;",
6
- "names": ["createTheme", "createTheme"]
7
- }
@@ -1,38 +0,0 @@
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 { 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;
38
- export default OxygenTheme;