@uniformdev/mesh-sdk-react 19.72.2-alpha.0 → 19.73.1-alpha.12
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/index.esm.js +8 -8
- package/dist/index.js +1 -1
- package/dist/index.mjs +8 -8
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -3002,7 +3002,7 @@ import {
|
|
|
3002
3002
|
import { mergeRegister } from "@lexical/utils";
|
|
3003
3003
|
import { AiFillPlusCircle } from "@react-icons/all-files/ai/AiFillPlusCircle";
|
|
3004
3004
|
import { createVariableReference } from "@uniformdev/canvas";
|
|
3005
|
-
import { HorizontalRhythm as HorizontalRhythm2, MenuGroup,
|
|
3005
|
+
import { HorizontalRhythm as HorizontalRhythm2, MenuGroup, MenuItemInner, MenuItemSeparator } from "@uniformdev/design-system";
|
|
3006
3006
|
import { dequal as dequal2 } from "dequal/lite";
|
|
3007
3007
|
import {
|
|
3008
3008
|
$createTextNode,
|
|
@@ -3766,7 +3766,7 @@ function VariablesPlugin({
|
|
|
3766
3766
|
currentCumulativeMenuIndex++;
|
|
3767
3767
|
const myCumulativeIndex = currentCumulativeMenuIndex;
|
|
3768
3768
|
return /* @__PURE__ */ jsx32(
|
|
3769
|
-
|
|
3769
|
+
MenuItemInner,
|
|
3770
3770
|
{
|
|
3771
3771
|
active: selectedIndex === myCumulativeIndex,
|
|
3772
3772
|
onClick: () => {
|
|
@@ -4213,7 +4213,7 @@ import { CLEAR_EDITOR_COMMAND } from "lexical";
|
|
|
4213
4213
|
// src/components/Variables/toolbox/SelectVariableMenu.tsx
|
|
4214
4214
|
import { BsFillPlusCircleFill } from "@react-icons/all-files/bs/BsFillPlusCircleFill";
|
|
4215
4215
|
import { CgUsbC } from "@react-icons/all-files/cg/CgUsbC";
|
|
4216
|
-
import { HorizontalRhythm as HorizontalRhythm3, Menu as Menu2, MenuGroup as MenuGroup2, MenuItem as
|
|
4216
|
+
import { HorizontalRhythm as HorizontalRhythm3, Menu as Menu2, MenuGroup as MenuGroup2, MenuItem as MenuItem2, MenuItemSeparator as MenuItemSeparator2 } from "@uniformdev/design-system";
|
|
4217
4217
|
import { useRef as useRef11 } from "react";
|
|
4218
4218
|
import { Fragment as Fragment7, jsx as jsx34, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
|
|
4219
4219
|
function SelectVariableMenu({
|
|
@@ -4256,7 +4256,7 @@ function SelectVariableMenu({
|
|
|
4256
4256
|
menuLabel: menuTooltip,
|
|
4257
4257
|
children: [
|
|
4258
4258
|
showAddVariableMenuOptionForReals ? /* @__PURE__ */ jsx34(
|
|
4259
|
-
|
|
4259
|
+
MenuItem2,
|
|
4260
4260
|
{
|
|
4261
4261
|
onClick: async () => {
|
|
4262
4262
|
const result = await editVariable("", getEditorContext == null ? void 0 : getEditorContext());
|
|
@@ -4278,7 +4278,7 @@ function SelectVariableMenu({
|
|
|
4278
4278
|
return /* @__PURE__ */ jsx34(MenuGroup2, { title: (_a = group.name) != null ? _a : "", children: group.variables.map((variable) => {
|
|
4279
4279
|
const { name, displayName, helpText } = variable;
|
|
4280
4280
|
return /* @__PURE__ */ jsxs19(
|
|
4281
|
-
|
|
4281
|
+
MenuItem2,
|
|
4282
4282
|
{
|
|
4283
4283
|
id: name,
|
|
4284
4284
|
css: menuItemTextGroup,
|
|
@@ -4293,7 +4293,7 @@ function SelectVariableMenu({
|
|
|
4293
4293
|
}) }, group.name);
|
|
4294
4294
|
}),
|
|
4295
4295
|
menuHasVariableOptions && onResetVariables ? /* @__PURE__ */ jsx34(MenuItemSeparator2, {}) : null,
|
|
4296
|
-
onResetVariables ? /* @__PURE__ */ jsx34(
|
|
4296
|
+
onResetVariables ? /* @__PURE__ */ jsx34(MenuItem2, { onClick: onResetVariables, css: { color: "var(--brand-secondary-5)" }, children: "Reset" }) : null,
|
|
4297
4297
|
tip && (menuHasVariableOptions || onResetVariables) ? /* @__PURE__ */ jsx34(MenuItemSeparator2, {}) : null,
|
|
4298
4298
|
tip ? /* @__PURE__ */ jsx34("i", { css: variablesTipText, children: tip }) : null
|
|
4299
4299
|
]
|
|
@@ -7121,7 +7121,7 @@ import {
|
|
|
7121
7121
|
LoadingIndicator as LoadingIndicator5,
|
|
7122
7122
|
LoadingOverlay as LoadingOverlay2,
|
|
7123
7123
|
Menu as Menu4,
|
|
7124
|
-
MenuItem as
|
|
7124
|
+
MenuItem as MenuItem3,
|
|
7125
7125
|
ParameterGroup,
|
|
7126
7126
|
ParameterImage,
|
|
7127
7127
|
ParameterImageInner,
|
|
@@ -7177,7 +7177,7 @@ export {
|
|
|
7177
7177
|
LoadingIndicator5 as LoadingIndicator,
|
|
7178
7178
|
LoadingOverlay2 as LoadingOverlay,
|
|
7179
7179
|
Menu4 as Menu,
|
|
7180
|
-
|
|
7180
|
+
MenuItem3 as MenuItem,
|
|
7181
7181
|
MeshApp,
|
|
7182
7182
|
OPEN_INSERT_VARIABLE_COMMAND,
|
|
7183
7183
|
ObjectSearchContainer,
|
package/dist/index.js
CHANGED
|
@@ -3944,7 +3944,7 @@ function VariablesPlugin({
|
|
|
3944
3944
|
currentCumulativeMenuIndex++;
|
|
3945
3945
|
const myCumulativeIndex = currentCumulativeMenuIndex;
|
|
3946
3946
|
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3947
|
-
import_design_system17.
|
|
3947
|
+
import_design_system17.MenuItemInner,
|
|
3948
3948
|
{
|
|
3949
3949
|
active: selectedIndex === myCumulativeIndex,
|
|
3950
3950
|
onClick: () => {
|
package/dist/index.mjs
CHANGED
|
@@ -3002,7 +3002,7 @@ import {
|
|
|
3002
3002
|
import { mergeRegister } from "@lexical/utils";
|
|
3003
3003
|
import { AiFillPlusCircle } from "@react-icons/all-files/ai/AiFillPlusCircle";
|
|
3004
3004
|
import { createVariableReference } from "@uniformdev/canvas";
|
|
3005
|
-
import { HorizontalRhythm as HorizontalRhythm2, MenuGroup,
|
|
3005
|
+
import { HorizontalRhythm as HorizontalRhythm2, MenuGroup, MenuItemInner, MenuItemSeparator } from "@uniformdev/design-system";
|
|
3006
3006
|
import { dequal as dequal2 } from "dequal/lite";
|
|
3007
3007
|
import {
|
|
3008
3008
|
$createTextNode,
|
|
@@ -3766,7 +3766,7 @@ function VariablesPlugin({
|
|
|
3766
3766
|
currentCumulativeMenuIndex++;
|
|
3767
3767
|
const myCumulativeIndex = currentCumulativeMenuIndex;
|
|
3768
3768
|
return /* @__PURE__ */ jsx32(
|
|
3769
|
-
|
|
3769
|
+
MenuItemInner,
|
|
3770
3770
|
{
|
|
3771
3771
|
active: selectedIndex === myCumulativeIndex,
|
|
3772
3772
|
onClick: () => {
|
|
@@ -4213,7 +4213,7 @@ import { CLEAR_EDITOR_COMMAND } from "lexical";
|
|
|
4213
4213
|
// src/components/Variables/toolbox/SelectVariableMenu.tsx
|
|
4214
4214
|
import { BsFillPlusCircleFill } from "@react-icons/all-files/bs/BsFillPlusCircleFill";
|
|
4215
4215
|
import { CgUsbC } from "@react-icons/all-files/cg/CgUsbC";
|
|
4216
|
-
import { HorizontalRhythm as HorizontalRhythm3, Menu as Menu2, MenuGroup as MenuGroup2, MenuItem as
|
|
4216
|
+
import { HorizontalRhythm as HorizontalRhythm3, Menu as Menu2, MenuGroup as MenuGroup2, MenuItem as MenuItem2, MenuItemSeparator as MenuItemSeparator2 } from "@uniformdev/design-system";
|
|
4217
4217
|
import { useRef as useRef11 } from "react";
|
|
4218
4218
|
import { Fragment as Fragment7, jsx as jsx34, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
|
|
4219
4219
|
function SelectVariableMenu({
|
|
@@ -4256,7 +4256,7 @@ function SelectVariableMenu({
|
|
|
4256
4256
|
menuLabel: menuTooltip,
|
|
4257
4257
|
children: [
|
|
4258
4258
|
showAddVariableMenuOptionForReals ? /* @__PURE__ */ jsx34(
|
|
4259
|
-
|
|
4259
|
+
MenuItem2,
|
|
4260
4260
|
{
|
|
4261
4261
|
onClick: async () => {
|
|
4262
4262
|
const result = await editVariable("", getEditorContext == null ? void 0 : getEditorContext());
|
|
@@ -4278,7 +4278,7 @@ function SelectVariableMenu({
|
|
|
4278
4278
|
return /* @__PURE__ */ jsx34(MenuGroup2, { title: (_a = group.name) != null ? _a : "", children: group.variables.map((variable) => {
|
|
4279
4279
|
const { name, displayName, helpText } = variable;
|
|
4280
4280
|
return /* @__PURE__ */ jsxs19(
|
|
4281
|
-
|
|
4281
|
+
MenuItem2,
|
|
4282
4282
|
{
|
|
4283
4283
|
id: name,
|
|
4284
4284
|
css: menuItemTextGroup,
|
|
@@ -4293,7 +4293,7 @@ function SelectVariableMenu({
|
|
|
4293
4293
|
}) }, group.name);
|
|
4294
4294
|
}),
|
|
4295
4295
|
menuHasVariableOptions && onResetVariables ? /* @__PURE__ */ jsx34(MenuItemSeparator2, {}) : null,
|
|
4296
|
-
onResetVariables ? /* @__PURE__ */ jsx34(
|
|
4296
|
+
onResetVariables ? /* @__PURE__ */ jsx34(MenuItem2, { onClick: onResetVariables, css: { color: "var(--brand-secondary-5)" }, children: "Reset" }) : null,
|
|
4297
4297
|
tip && (menuHasVariableOptions || onResetVariables) ? /* @__PURE__ */ jsx34(MenuItemSeparator2, {}) : null,
|
|
4298
4298
|
tip ? /* @__PURE__ */ jsx34("i", { css: variablesTipText, children: tip }) : null
|
|
4299
4299
|
]
|
|
@@ -7121,7 +7121,7 @@ import {
|
|
|
7121
7121
|
LoadingIndicator as LoadingIndicator5,
|
|
7122
7122
|
LoadingOverlay as LoadingOverlay2,
|
|
7123
7123
|
Menu as Menu4,
|
|
7124
|
-
MenuItem as
|
|
7124
|
+
MenuItem as MenuItem3,
|
|
7125
7125
|
ParameterGroup,
|
|
7126
7126
|
ParameterImage,
|
|
7127
7127
|
ParameterImageInner,
|
|
@@ -7177,7 +7177,7 @@ export {
|
|
|
7177
7177
|
LoadingIndicator5 as LoadingIndicator,
|
|
7178
7178
|
LoadingOverlay2 as LoadingOverlay,
|
|
7179
7179
|
Menu4 as Menu,
|
|
7180
|
-
|
|
7180
|
+
MenuItem3 as MenuItem,
|
|
7181
7181
|
MeshApp,
|
|
7182
7182
|
OPEN_INSERT_VARIABLE_COMMAND,
|
|
7183
7183
|
ObjectSearchContainer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk-react",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.73.1-alpha.12+bf15f68ec",
|
|
4
4
|
"description": "Uniform Mesh Framework SDK for React",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@lexical/selection": "^0.12.0",
|
|
51
51
|
"@lexical/utils": "^0.12.0",
|
|
52
52
|
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.10.1/react-icons-all-files-4.10.1.tgz",
|
|
53
|
-
"@uniformdev/canvas": "19.
|
|
54
|
-
"@uniformdev/design-system": "19.
|
|
55
|
-
"@uniformdev/mesh-sdk": "19.
|
|
53
|
+
"@uniformdev/canvas": "19.73.1-alpha.12+bf15f68ec",
|
|
54
|
+
"@uniformdev/design-system": "19.73.1-alpha.12+bf15f68ec",
|
|
55
|
+
"@uniformdev/mesh-sdk": "19.73.1-alpha.12+bf15f68ec",
|
|
56
56
|
"dequal": "^2.0.3",
|
|
57
57
|
"lexical": "^0.12.0",
|
|
58
58
|
"mitt": "^3.0.0",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "bf15f68ec4734c8364bd2ab844abe18160c4714c"
|
|
90
90
|
}
|