@ohos-ports/braneframe-plugin-settings 0.6.7-beta.1 → 0.6.7-beta.2
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.
|
@@ -13,10 +13,10 @@ import { LocalStorageStore } from "@dxos/local-storage";
|
|
|
13
13
|
// packages/apps/plugins/plugin-settings/src/components/SettingsDialog.tsx
|
|
14
14
|
import React from "react";
|
|
15
15
|
import { Surface, usePlugins } from "@dxos/app-framework";
|
|
16
|
-
import { Button, Dialog, useTranslation } from "@
|
|
16
|
+
import { Button, Dialog, useTranslation } from "@dxos/react-ui";
|
|
17
17
|
// dxos-react-ui 0.11.x removed List/ListItem (moved to the dedicated list package).
|
|
18
18
|
import { List, ListItem, ListItemHeading } from "@dxos/react-list";
|
|
19
|
-
import { ghostHover, ghostSelected } from "@
|
|
19
|
+
import { ghostHover, ghostSelected } from "@dxos/react-ui-theme";
|
|
20
20
|
import { nonNullable } from "@dxos/util";
|
|
21
21
|
var SettingsDialog = ({ selected, onSelected }) => {
|
|
22
22
|
const { t } = useTranslation(SETTINGS_PLUGIN);
|
|
@@ -89,7 +89,7 @@ var PluginList = ({ title, plugins, selected, onSelect }) => {
|
|
|
89
89
|
|
|
90
90
|
// packages/apps/plugins/plugin-settings/src/components/SettingsValue.tsx
|
|
91
91
|
import React2 from "react";
|
|
92
|
-
import { Input } from "@
|
|
92
|
+
import { Input } from "@dxos/react-ui";
|
|
93
93
|
var SettingsValue = ({ label, description, secondary, children }) => {
|
|
94
94
|
const primary = /* @__PURE__ */ React2.createElement("div", {
|
|
95
95
|
role: "none",
|
package/dist/lib/node/index.cjs
CHANGED
|
@@ -42,13 +42,13 @@ var import_app_framework = require("@dxos/app-framework");
|
|
|
42
42
|
var import_local_storage = require("@dxos/local-storage");
|
|
43
43
|
var import_react3 = __toESM(require("react"));
|
|
44
44
|
var import_app_framework2 = require("@dxos/app-framework");
|
|
45
|
-
var import_react_ui = require("@
|
|
46
|
-
var import_react_ui_theme = require("@
|
|
45
|
+
var import_react_ui = require("@dxos/react-ui");
|
|
46
|
+
var import_react_ui_theme = require("@dxos/react-ui-theme");
|
|
47
47
|
// dxos-react-ui 0.11.x removed List/ListItem (moved to the dedicated list package).
|
|
48
48
|
var import_react_list = require("@dxos/react-list");
|
|
49
49
|
var import_util = require("@dxos/util");
|
|
50
50
|
var import_react4 = __toESM(require("react"));
|
|
51
|
-
var import_react_ui2 = require("@
|
|
51
|
+
var import_react_ui2 = require("@dxos/react-ui");
|
|
52
52
|
var SettingsDialog = ({ selected, onSelected }) => {
|
|
53
53
|
const { t } = (0, import_react_ui.useTranslation)(import_chunk_EHXHP3H5.SETTINGS_PLUGIN);
|
|
54
54
|
const { plugins, enabled } = (0, import_app_framework2.usePlugins)();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/braneframe-plugin-settings",
|
|
3
|
-
"version": "0.6.7-beta.
|
|
3
|
+
"version": "0.6.7-beta.2",
|
|
4
4
|
"description": "DXOS app plugin for aggregating and rendering plugin settings.",
|
|
5
5
|
"homepage": "https://github.com/ohos-ports/ohos-ports/tree/main/ports/braneframe-plugin-settings/0.6.7",
|
|
6
6
|
"bugs": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@dxos/local-storage": "0.6.7",
|
|
41
41
|
"@dxos/util": "0.6.7",
|
|
42
|
-
"@dxos/react-list": "
|
|
42
|
+
"@dxos/react-list": "0.6.7",
|
|
43
43
|
"@braneframe/plugin-graph": "0.6.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@phosphor-icons/react": "^2.1.5",
|
|
57
57
|
"react": "~18.2.0",
|
|
58
58
|
"@dxos/app-framework": "0.6.7",
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
59
|
+
"@dxos/react-ui": "0.6.7",
|
|
60
|
+
"@dxos/react-ui-theme": "0.6.7"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
@@ -67,4 +67,4 @@
|
|
|
67
67
|
"url": "https://github.com/ohos-ports/ohos-ports.git",
|
|
68
68
|
"directory": "ports/braneframe-plugin-settings/0.6.7"
|
|
69
69
|
}
|
|
70
|
-
}
|
|
70
|
+
}
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
7
|
import { type Plugin, Surface, usePlugins } from '@dxos/app-framework';
|
|
8
|
-
import { Button, Dialog, useTranslation } from '@
|
|
8
|
+
import { Button, Dialog, useTranslation } from '@dxos/react-ui';
|
|
9
9
|
// dxos-react-ui 0.11.x removed List/ListItem (moved to the dedicated list package).
|
|
10
10
|
// @dxos/react-list provides the headless primitives and loads in Node ESM.
|
|
11
11
|
import { List, ListItem, ListItemHeading } from '@dxos/react-list';
|
|
12
|
-
import { ghostHover, ghostSelected } from '@
|
|
12
|
+
import { ghostHover, ghostSelected } from '@dxos/react-ui-theme';
|
|
13
13
|
import { nonNullable } from '@dxos/util';
|
|
14
14
|
|
|
15
15
|
import { SETTINGS_PLUGIN } from '../meta';
|