@wso2/oxygen-ui 0.0.1-alpha.11 → 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 (32) hide show
  1. package/dist/animations/ParticleBackground/ParticleBackground.d.ts +66 -0
  2. package/dist/{styles/OxygenTheme/OxygenTheme.d.ts → animations/ParticleBackground/index.d.ts} +2 -2
  3. package/dist/animations/index.d.ts +18 -0
  4. package/dist/components/CodeBlock/CodeBlock.d.ts +47 -0
  5. package/dist/components/CodeBlock/index.d.ts +19 -0
  6. package/dist/components/ColorSchemeImage/index.d.ts +19 -0
  7. package/dist/components/ColorSchemeToggle/index.d.ts +18 -0
  8. package/dist/components/ComplexSelect/ComplexSelectDivider.d.ts +1 -2
  9. package/dist/components/PageTitle/PageTitle.d.ts +34 -0
  10. package/dist/components/PageTitle/PageTitleAvatar.d.ts +16 -0
  11. package/dist/components/PageTitle/PageTitleHeader.d.ts +16 -0
  12. package/dist/components/PageTitle/PageTitleLink.d.ts +20 -0
  13. package/dist/components/PageTitle/PageTitleSubHeader.d.ts +16 -0
  14. package/dist/components/PageTitle/index.d.ts +27 -0
  15. package/dist/components/index.d.ts +28 -0
  16. package/dist/contexts/OxygenUIThemeProvider/index.d.ts +20 -0
  17. package/dist/contexts/index.d.ts +19 -0
  18. package/dist/hooks/index.d.ts +18 -0
  19. package/dist/hooks/useThemeContent/index.d.ts +18 -0
  20. package/dist/hooks/useThemeContent/useThemeContent.d.ts +57 -0
  21. package/dist/index.d.ts +7 -10
  22. package/dist/index.js +1126 -186
  23. package/dist/index.js.map +4 -4
  24. package/dist/styles/Themes/AsgardeoTheme.d.ts +17 -0
  25. package/dist/styles/Themes/ChoreoTheme.d.ts +20 -0
  26. package/dist/styles/Themes/ClassicTheme.d.ts +20 -0
  27. package/dist/styles/Themes/HighContrastTheme.d.ts +20 -0
  28. package/dist/styles/Themes/OxygenBaseTheme.d.ts +66 -0
  29. package/dist/styles/Themes/index.d.ts +22 -0
  30. package/dist/styles/index.d.ts +18 -0
  31. package/package.json +10 -8
  32. package/dist/styles/OxygenTheme/OxygenThemeWithRadialBackground.d.ts +0 -17
@@ -0,0 +1,17 @@
1
+ import type { OxygenTheme } from './OxygenBaseTheme';
2
+ /**
3
+ * Asgardeo Theme - Oxygen Theme with Radial Background Design
4
+ * This theme extends the base OxygenTheme and adds radial gradient backgrounds
5
+ * that respond to light/dark color schemes.
6
+ *
7
+ * Usage:
8
+ * ```tsx
9
+ * import { OxygenUIThemeProvider, AsgardeoTheme } from '@wso2/oxygen-ui';
10
+ *
11
+ * <OxygenUIThemeProvider theme={AsgardeoTheme}>
12
+ * <App />
13
+ * </OxygenUIThemeProvider>
14
+ * ```
15
+ */
16
+ declare const AsgardeoTheme: OxygenTheme;
17
+ export default AsgardeoTheme;
@@ -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 { OxygenTheme } from './OxygenBaseTheme';
19
+ declare const ChoreoTheme: OxygenTheme;
20
+ export default ChoreoTheme;
@@ -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 { OxygenTheme } from './OxygenBaseTheme';
19
+ declare const ClassicTheme: OxygenTheme;
20
+ export default ClassicTheme;
@@ -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 { OxygenTheme } from './OxygenBaseTheme';
19
+ declare const HighContrastTheme: OxygenTheme;
20
+ export default HighContrastTheme;
@@ -0,0 +1,66 @@
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 Theme } from '@mui/material/styles';
19
+ interface CustomThemeProperties {
20
+ blur: {
21
+ light: string;
22
+ medium: string;
23
+ heavy: string;
24
+ };
25
+ border: {
26
+ width: string;
27
+ style: string;
28
+ };
29
+ gradient: {
30
+ primary: string;
31
+ };
32
+ syntax: {
33
+ light: {
34
+ background: string;
35
+ text: string;
36
+ comment: string;
37
+ keyword: string;
38
+ string: string;
39
+ function: string;
40
+ number: string;
41
+ operator: string;
42
+ };
43
+ dark: {
44
+ background: string;
45
+ text: string;
46
+ comment: string;
47
+ keyword: string;
48
+ string: string;
49
+ function: string;
50
+ number: string;
51
+ operator: string;
52
+ };
53
+ };
54
+ }
55
+ declare module '@mui/material/styles' {
56
+ interface Theme extends CustomThemeProperties {
57
+ }
58
+ interface ThemeOptions extends Partial<CustomThemeProperties> {
59
+ }
60
+ interface ThemeVars extends CustomThemeProperties {
61
+ }
62
+ }
63
+ export interface OxygenTheme extends Theme, CustomThemeProperties {
64
+ }
65
+ declare const _default: OxygenTheme;
66
+ export default _default;
@@ -0,0 +1,22 @@
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
+ export { default as OxygenTheme } from './OxygenBaseTheme';
19
+ export { default as AsgardeoTheme } from './AsgardeoTheme';
20
+ export { default as ChoreoTheme } from './ChoreoTheme';
21
+ export { default as ClassicTheme } from './ClassicTheme';
22
+ export { default as HighContrastTheme } from './HighContrastTheme';
@@ -0,0 +1,18 @@
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
+ export * from './Themes';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wso2/oxygen-ui",
3
- "version": "0.0.1-alpha.11",
3
+ "version": "0.0.1-alpha.12",
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",
@@ -24,8 +24,8 @@
24
24
  "README.md"
25
25
  ],
26
26
  "sideEffects": [
27
- "src/styles/OxygenTheme/theme.css",
28
- "dist/styles/OxygenTheme/theme.css"
27
+ "src/styles/Themes/theme.css",
28
+ "dist/styles/Themes/theme.css"
29
29
  ],
30
30
  "keywords": [
31
31
  "wso2",
@@ -49,7 +49,8 @@
49
49
  },
50
50
  "homepage": "https://github.com/wso2/oxygen-ui#readme",
51
51
  "dependencies": {
52
- "@fontsource-variable/inter": "5.2.8"
52
+ "@fontsource-variable/inter": "5.2.8",
53
+ "prismjs": "^1.30.0"
53
54
  },
54
55
  "peerDependencies": {
55
56
  "@emotion/react": "11.14.0",
@@ -62,19 +63,20 @@
62
63
  "date-fns": "4.1.0",
63
64
  "react": "19.2.3",
64
65
  "react-dom": "19.2.3",
65
- "@wso2/oxygen-ui-icons-react": "0.0.1-alpha.10"
66
+ "@wso2/oxygen-ui-icons-react": "0.0.1-alpha.12"
66
67
  },
67
68
  "devDependencies": {
68
69
  "@eslint/js": "9.39.0",
70
+ "@types/prismjs": "^1.26.5",
69
71
  "@types/react": "19.2.2",
70
72
  "@types/react-dom": "19.2.2",
71
- "@typescript-eslint/eslint-plugin": "7.0.1",
72
- "@typescript-eslint/parser": "7.0.1",
73
+ "@typescript-eslint/eslint-plugin": "8.45.0",
74
+ "@typescript-eslint/parser": "8.45.0",
73
75
  "@vitest/ui": "4.0.6",
74
76
  "esbuild": "0.25.11",
75
77
  "eslint": "9.12.0",
76
78
  "eslint-plugin-react": "7.37.5",
77
- "eslint-plugin-react-hooks": "4.6.2",
79
+ "eslint-plugin-react-hooks": "5.2.0",
78
80
  "rimraf": "6.1.0",
79
81
  "typescript": "5.9.3",
80
82
  "vite": "7.1.12",
@@ -1,17 +0,0 @@
1
- import { Theme } from '@mui/material/styles';
2
- /**
3
- * Oxygen Theme with Radial Background Design
4
- * This theme extends the base OxygenTheme and adds radial gradient backgrounds
5
- * that respond to light/dark color schemes.
6
- *
7
- * Usage:
8
- * ```tsx
9
- * import { OxygenUIThemeProvider, OxygenThemeWithRadialBackground } from '@wso2/oxygen-ui';
10
- *
11
- * <OxygenUIThemeProvider theme={OxygenThemeWithRadialBackground}>
12
- * <App />
13
- * </OxygenUIThemeProvider>
14
- * ```
15
- */
16
- declare const OxygenThemeWithRadialBackground: Theme;
17
- export default OxygenThemeWithRadialBackground;