@wso2/oxygen-ui 0.24.0 → 0.26.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/.ai/AGENTS.md +2 -7
- package/.ai/components.md +4 -4
- package/.ai/patterns.md +0 -4
- package/.ai/theming.md +0 -11
- package/.claude/components.md +128 -4
- package/.claude/patterns.md +0 -4
- package/.claude/theming.md +0 -8
- package/README.md +1 -1
- package/bin/cli.js +1 -1
- package/dist/animations/PageLoader/PageLoader.d.ts +92 -0
- package/dist/animations/PageLoader/PageLoaderIcon.d.ts +20 -0
- package/dist/animations/PageLoader/PageLoaderWordmark.d.ts +19 -0
- package/dist/animations/PageLoader/index.d.ts +4 -0
- package/dist/animations/index.d.ts +2 -0
- package/dist/components/HeaderBreadcrumbs/HeaderBreadcrumbs.d.ts +100 -0
- package/dist/components/HeaderBreadcrumbs/HeaderBreadcrumbsSegment.d.ts +54 -0
- package/dist/components/HeaderBreadcrumbs/index.d.ts +26 -0
- package/dist/components/HeaderBreadcrumbs/persistence.d.ts +87 -0
- package/dist/components/HeaderBreadcrumbs/types.d.ts +125 -0
- package/dist/components/HeaderBreadcrumbs/useHeaderBreadcrumbs.d.ts +150 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/index.js +3001 -2388
- package/dist/index.js.map +4 -4
- package/dist/styles/OxygenThemeBase.d.ts +16 -1
- package/dist/styles/Themes/index.d.ts +0 -3
- package/dist/utils/createOxygenTheme.d.ts +2 -2
- package/package.json +5 -3
- package/dist/styles/Themes/WSO2Theme.d.ts +0 -20
|
@@ -59,6 +59,16 @@ interface CustomThemeProperties {
|
|
|
59
59
|
declare module '@mui/material/styles' {
|
|
60
60
|
interface Theme extends CustomThemeProperties {
|
|
61
61
|
}
|
|
62
|
+
interface Palette {
|
|
63
|
+
/**
|
|
64
|
+
* A categorical blue, for marking one kind of thing apart from another (a tag, a legend, a status
|
|
65
|
+
* that is neither good nor bad). Use it for text, outlines and light tints, not for solid fills.
|
|
66
|
+
*/
|
|
67
|
+
blue: Palette['primary'];
|
|
68
|
+
}
|
|
69
|
+
interface PaletteOptions {
|
|
70
|
+
blue?: PaletteOptions['primary'];
|
|
71
|
+
}
|
|
62
72
|
interface ThemeOptions extends Partial<CustomThemeProperties> {
|
|
63
73
|
}
|
|
64
74
|
interface ThemeVars extends CustomThemeProperties {
|
|
@@ -73,7 +83,12 @@ declare module '@mui/material/Avatar' {
|
|
|
73
83
|
* Color of the `light` variant.
|
|
74
84
|
* @default 'primary'
|
|
75
85
|
*/
|
|
76
|
-
color?: 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
|
|
86
|
+
color?: 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning' | 'blue';
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
declare module '@mui/material/Chip' {
|
|
90
|
+
interface ChipPropsColorOverrides {
|
|
91
|
+
blue: true;
|
|
77
92
|
}
|
|
78
93
|
}
|
|
79
94
|
export interface OxygenTheme extends Theme {
|
|
@@ -16,11 +16,8 @@
|
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
18
|
export { default as OxygenTheme } from './DefaultTheme';
|
|
19
|
-
export { default as AcrylicOrangeTheme } from './AcrylicOrangeTheme';
|
|
20
|
-
export { default as AcrylicPurpleTheme } from './AcrylicPurpleTheme';
|
|
21
19
|
export { default as ClassicTheme } from './ClassicTheme';
|
|
22
20
|
export { default as HighContrastTheme } from './HighContrastTheme';
|
|
23
21
|
export { default as PaleBaseTheme } from './PaleBaseTheme';
|
|
24
22
|
export { default as PaleGrayTheme } from './PaleGray';
|
|
25
23
|
export { default as PaleIndigoTheme } from './PaleIndigo';
|
|
26
|
-
export { default as WSO2Theme } from './WSO2Theme';
|
|
@@ -41,7 +41,7 @@ import { type OxygenTheme } from '../styles/OxygenThemeBase';
|
|
|
41
41
|
* }
|
|
42
42
|
* });
|
|
43
43
|
*
|
|
44
|
-
* // Create a theme extending
|
|
44
|
+
* // Create a theme extending ClassicTheme
|
|
45
45
|
* const MyCustomTheme = createOxygenTheme({
|
|
46
46
|
* components: {
|
|
47
47
|
* MuiButton: {
|
|
@@ -50,7 +50,7 @@ import { type OxygenTheme } from '../styles/OxygenThemeBase';
|
|
|
50
50
|
* }
|
|
51
51
|
* }
|
|
52
52
|
* }
|
|
53
|
-
* },
|
|
53
|
+
* }, ClassicTheme);
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
56
|
export declare function createOxygenTheme(config?: Partial<ThemeOptions> | Record<string, any>, baseTheme?: Theme): OxygenTheme;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wso2/oxygen-ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.26.0",
|
|
4
|
+
"description": "Choreo Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
],
|
|
36
36
|
"keywords": [
|
|
37
37
|
"wso2",
|
|
38
|
+
"choreo",
|
|
39
|
+
"choreo-labs",
|
|
38
40
|
"oxygen-ui",
|
|
39
41
|
"design-system",
|
|
40
42
|
"material-ui",
|
|
@@ -84,7 +86,7 @@
|
|
|
84
86
|
"@typescript-eslint/parser": "8.45.0",
|
|
85
87
|
"@vitest/ui": "4.0.6",
|
|
86
88
|
"@wso2/esbuild-plugin-inline-css-fonts": "^0.0.1",
|
|
87
|
-
"@wso2/oxygen-ui-icons-react": "^0.
|
|
89
|
+
"@wso2/oxygen-ui-icons-react": "^0.26.0",
|
|
88
90
|
"esbuild": "0.25.11",
|
|
89
91
|
"eslint": "9.12.0",
|
|
90
92
|
"eslint-plugin-react": "7.37.5",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2026, 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 '../OxygenThemeBase';
|
|
19
|
-
declare const WSO2Theme: OxygenTheme;
|
|
20
|
-
export default WSO2Theme;
|