@wso2/oxygen-ui 0.4.0 → 0.6.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 +18 -15
- package/.ai/components.md +706 -73
- package/.ai/migration.md +4 -2
- package/.ai/patterns.md +20 -8
- package/.ai/theming.md +18 -2
- package/.claude/components.md +706 -73
- package/.claude/migration.md +4 -2
- package/.claude/patterns.md +20 -8
- package/.claude/skills/oxygen-component/SKILL.md +12 -6
- package/.claude/skills/oxygen-migrate/SKILL.md +5 -2
- package/.claude/skills/oxygen-sync/SKILL.md +157 -0
- package/.claude/theming.md +18 -2
- package/bin/cli.js +143 -43
- package/dist/components/ComplexSelect/ComplexSelectDivider.d.ts +3 -0
- package/dist/components/ComplexSelect/ComplexSelectListHeader.d.ts +3 -0
- package/dist/components/ComplexSelect/ComplexSelectMenuItemAvatar.d.ts +3 -0
- package/dist/components/ComplexSelect/ComplexSelectMenuItemIcon.d.ts +3 -0
- package/dist/components/ComplexSelect/ComplexSelectMenuItemText.d.ts +3 -0
- package/dist/components/Footer/Footer.d.ts +29 -26
- package/dist/components/Footer/FooterCopyright.d.ts +37 -0
- package/dist/components/Footer/FooterDivider.d.ts +28 -0
- package/dist/components/Footer/FooterLink.d.ts +38 -0
- package/dist/components/Footer/FooterVersion.d.ts +35 -0
- package/dist/components/Footer/index.d.ts +7 -0
- package/dist/components/UserMenu/UserMenu.d.ts +27 -32
- package/dist/components/UserMenu/UserMenuContext.d.ts +33 -0
- package/dist/components/UserMenu/UserMenuDivider.d.ts +22 -0
- package/dist/components/UserMenu/UserMenuHeader.d.ts +35 -0
- package/dist/components/UserMenu/UserMenuItem.d.ts +35 -0
- package/dist/components/UserMenu/UserMenuLogout.d.ts +33 -0
- package/dist/components/UserMenu/UserMenuTrigger.d.ts +33 -0
- package/dist/components/UserMenu/index.d.ts +9 -0
- package/dist/index.js +1480 -593
- package/dist/index.js.map +4 -4
- package/dist/styles/Themes/ChoreoTheme.d.ts +20 -0
- package/dist/styles/Themes/PaleBaseTheme.d.ts +25 -0
- package/dist/styles/Themes/PaleGray.d.ts +20 -0
- package/dist/styles/Themes/PaleIndigo.d.ts +20 -0
- package/dist/styles/Themes/index.d.ts +4 -0
- package/dist/utils/pxToRem.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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 './OxygenThemeBase';
|
|
19
|
+
declare const ChoreoTheme: OxygenTheme;
|
|
20
|
+
export default ChoreoTheme;
|
|
@@ -0,0 +1,25 @@
|
|
|
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 module '@mui/material/styles' {
|
|
20
|
+
interface TypeBackground {
|
|
21
|
+
acrylic?: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
declare const _default: OxygenTheme;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 _default: OxygenTheme;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 _default: OxygenTheme;
|
|
20
|
+
export default _default;
|
|
@@ -18,5 +18,9 @@
|
|
|
18
18
|
export { default as OxygenTheme } from './AcrylicBaseTheme';
|
|
19
19
|
export { default as AcrylicOrangeTheme } from './AcrylicOrangeTheme';
|
|
20
20
|
export { default as AcrylicPurpleTheme } from './AcrylicPurpleTheme';
|
|
21
|
+
export { default as ChoreoTheme } from './ChoreoTheme';
|
|
21
22
|
export { default as ClassicTheme } from './ClassicTheme';
|
|
22
23
|
export { default as HighContrastTheme } from './HighContrastTheme';
|
|
24
|
+
export { default as PaleBaseTheme } from './PaleBaseTheme';
|
|
25
|
+
export { default as PaleGrayTheme } from './PaleGray';
|
|
26
|
+
export { default as PaleIndigoTheme } from './PaleIndigo';
|
package/dist/utils/pxToRem.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* under the License.
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
|
-
* Helper function to convert px to rem based on base font size (
|
|
19
|
+
* Helper function to convert px to rem based on standard base font size (16px)
|
|
20
20
|
* @param size - The size in pixels
|
|
21
21
|
* @returns The size in rem units
|
|
22
22
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wso2/oxygen-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
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",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"vite": "7.1.12",
|
|
88
88
|
"vitest": "4.0.6",
|
|
89
89
|
"@wso2/esbuild-plugin-inline-css-fonts": "^0.0.1",
|
|
90
|
-
"@wso2/oxygen-ui-icons-react": "^0.
|
|
90
|
+
"@wso2/oxygen-ui-icons-react": "^0.6.0"
|
|
91
91
|
},
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|