@omni-design/components 0.7.0 → 0.7.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.
- package/dist/OmniDesignProvider.esm.js +1 -1
- package/dist/OmniDesignProvider.esm.js.map +1 -1
- package/dist/OmniDesignProvider.js +1 -1
- package/dist/OmniDesignProvider.js.map +1 -1
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/types/components/contrast.d.ts +11 -0
- package/package.json +1 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export function parseColor(str: any): {
|
|
2
|
+
r: number;
|
|
3
|
+
g: number;
|
|
4
|
+
b: number;
|
|
5
|
+
a: number;
|
|
6
|
+
};
|
|
7
|
+
export function compositeOver(fg: any, bg: any): any;
|
|
8
|
+
export function getLuminance(color: any): number;
|
|
9
|
+
export function getContrast(color1: any, color2: any, bgBase: any): string;
|
|
10
|
+
export function getCssVar(varName: any): string;
|
|
11
|
+
export function getCssVarFrom(el: any, varName: any): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omni-design/components",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "DynoDesign adaptive component library \u2014 token-driven React components with customizable CSS theming",
|
|
5
5
|
"author": "Lise Noble",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -104,7 +104,6 @@
|
|
|
104
104
|
"url": "https://github.com/lwnoble/omni-design"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@dynodesign/components": "^0.4.1",
|
|
108
107
|
"@mui/x-tree-view": "^8.27.2",
|
|
109
108
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
110
109
|
"react-router-dom": "^7.13.1",
|