@vuu-ui/vuu-shell 0.6.5 → 0.6.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-shell",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "VUU UI Shell",
|
|
5
5
|
"author": "heswell",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"@salt-ds/core": "1.0.0",
|
|
9
9
|
"@salt-ds/icons": "1.0.0",
|
|
10
10
|
"@heswell/salt-lab": "1.0.0-alpha.0-vuu.1",
|
|
11
|
-
"@vuu-ui/vuu-data": "0.6.
|
|
12
|
-
"@vuu-ui/vuu-layout": "0.6.
|
|
13
|
-
"@vuu-ui/vuu-utils": "0.6.
|
|
11
|
+
"@vuu-ui/vuu-data": "0.6.6",
|
|
12
|
+
"@vuu-ui/vuu-layout": "0.6.6",
|
|
13
|
+
"@vuu-ui/vuu-utils": "0.6.6",
|
|
14
14
|
"classnames": "^2.2.6",
|
|
15
15
|
"react": "^17.0.2",
|
|
16
16
|
"react-dom": "^17.0.2"
|
package/types/shell.d.ts
CHANGED
package/types/shellTypes.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactElement } from "react";
|
|
2
2
|
export declare const DEFAULT_DENSITY = "medium";
|
|
3
3
|
export declare const DEFAULT_THEME = "salt-theme";
|
|
4
|
-
export
|
|
4
|
+
export type Density = "high" | "medium" | "low" | "touch";
|
|
5
5
|
export interface ThemeContextProps {
|
|
6
6
|
density?: Density;
|
|
7
7
|
themes?: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
2
|
import "./ThemeSwitch.css";
|
|
3
|
-
export
|
|
3
|
+
export type ThemeMode = "light" | "dark";
|
|
4
4
|
export interface ThemeSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
5
5
|
defaultMode?: ThemeMode;
|
|
6
6
|
mode?: ThemeMode;
|