@wso2/oxygen-ui 0.22.0 → 0.23.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 -0
- package/.claude/skills/oxygen-form/SKILL.md +7 -4
- package/.claude/skills/oxygen-select/SKILL.md +139 -0
- package/.claude/skills/oxygen-textfield/SKILL.md +91 -0
- package/README.md +2 -0
- package/bin/cli.js +4 -0
- package/dist/components/AppBreadcrumbs/AppBreadcrumbs.d.ts +3 -2
- package/dist/components/Select/Select.d.ts +23 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1356 -925
- package/dist/index.js.map +4 -4
- package/dist/styles/Themes/ChoreoLabsTheme.d.ts +49 -0
- package/package.json +2 -2
|
@@ -22,7 +22,56 @@ declare module '@mui/material/styles' {
|
|
|
22
22
|
}
|
|
23
23
|
interface PaletteOptions {
|
|
24
24
|
accent?: PaletteOptions['primary'];
|
|
25
|
+
Button?: Partial<ChoreoLabsButtonPalette>;
|
|
26
|
+
Breadcrumbs?: Partial<ChoreoLabsBreadcrumbsPalette>;
|
|
27
|
+
Link?: Partial<ChoreoLabsLinkPalette>;
|
|
25
28
|
}
|
|
29
|
+
interface Palette {
|
|
30
|
+
Button?: ChoreoLabsButtonPalette;
|
|
31
|
+
Breadcrumbs?: ChoreoLabsBreadcrumbsPalette;
|
|
32
|
+
Link?: ChoreoLabsLinkPalette;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/** Link colours that differ between the light and dark schemes */
|
|
36
|
+
interface ChoreoLabsLinkPalette {
|
|
37
|
+
/** Default (text colour) links on hover */
|
|
38
|
+
hoverColor: string;
|
|
39
|
+
/** Text of links with a palette `color` */
|
|
40
|
+
primaryColor: string;
|
|
41
|
+
secondaryColor: string;
|
|
42
|
+
successColor: string;
|
|
43
|
+
errorColor: string;
|
|
44
|
+
warningColor: string;
|
|
45
|
+
infoColor: string;
|
|
46
|
+
}
|
|
47
|
+
/** Breadcrumb colours that differ between the light and dark schemes */
|
|
48
|
+
interface ChoreoLabsBreadcrumbsPalette {
|
|
49
|
+
/** Parent levels */
|
|
50
|
+
linkColor: string;
|
|
51
|
+
/** Parent levels on hover */
|
|
52
|
+
linkHoverColor: string;
|
|
53
|
+
/** The slash between levels */
|
|
54
|
+
separatorColor: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Button colours that differ between the light and dark schemes. Kept in the palette so each scheme
|
|
58
|
+
* swaps them through CSS variables, instead of scheme selectors that would outrank the disabled style.
|
|
59
|
+
*/
|
|
60
|
+
interface ChoreoLabsButtonPalette {
|
|
61
|
+
/** Outlined primary border and label, and text primary label */
|
|
62
|
+
outlinedColor: string;
|
|
63
|
+
/** Text primary label on hover */
|
|
64
|
+
textHoverColor: string;
|
|
65
|
+
/** Contained secondary fill on hover and when pressed */
|
|
66
|
+
containedSecondaryHoverBg: string;
|
|
67
|
+
/** Contained secondary label on hover */
|
|
68
|
+
containedSecondaryHoverColor: string;
|
|
69
|
+
/** Contained secondary label when pressed */
|
|
70
|
+
containedSecondaryActiveColor: string;
|
|
71
|
+
disabledBg: string;
|
|
72
|
+
disabledColor: string;
|
|
73
|
+
/** Keyboard focus ring */
|
|
74
|
+
focusRing: string;
|
|
26
75
|
}
|
|
27
76
|
declare module '@mui/material/Button' {
|
|
28
77
|
interface ButtonPropsColorOverrides {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wso2/oxygen-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.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",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@typescript-eslint/parser": "8.45.0",
|
|
85
85
|
"@vitest/ui": "4.0.6",
|
|
86
86
|
"@wso2/esbuild-plugin-inline-css-fonts": "^0.0.1",
|
|
87
|
-
"@wso2/oxygen-ui-icons-react": "^0.
|
|
87
|
+
"@wso2/oxygen-ui-icons-react": "^0.23.0",
|
|
88
88
|
"esbuild": "0.25.11",
|
|
89
89
|
"eslint": "9.12.0",
|
|
90
90
|
"eslint-plugin-react": "7.37.5",
|