@wso2/oxygen-ui 0.23.0 → 0.23.1

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.
@@ -0,0 +1,29 @@
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 { Theme } from '@mui/material/styles';
19
+ /**
20
+ * Returns a copy of a built theme without the values that were derived from the theme itself, so that
21
+ * extendTheme derives them again when the theme is extended. Values the theme was explicitly given,
22
+ * see rememberExplicitThemeValues, are kept: extendTheme applies them over the derived ones.
23
+ */
24
+ export declare function omitDerivedThemeValues(theme: Theme): Partial<Theme>;
25
+ /**
26
+ * Remembers the values for the derived keys in the options a theme was built from, so that they
27
+ * survive omitDerivedThemeValues when the theme is extended.
28
+ */
29
+ export declare function rememberExplicitThemeValues(theme: Theme, options: Record<string, unknown>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wso2/oxygen-ui",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
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.23.0",
87
+ "@wso2/oxygen-ui-icons-react": "^0.23.1",
88
88
  "esbuild": "0.25.11",
89
89
  "eslint": "9.12.0",
90
90
  "eslint-plugin-react": "7.37.5",