@teselagen/ui 0.4.17 → 0.4.18
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/index.cjs.js +0 -2
- package/index.es.js +0 -2
- package/package.json +1 -1
- package/src/style.css +3 -0
- package/src/utils/menuUtils.js +0 -3
- package/style.css +3 -0
package/index.cjs.js
CHANGED
|
@@ -72240,7 +72240,6 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React$
|
|
|
72240
72240
|
__name(_ResizableDraggableDialog, "ResizableDraggableDialog");
|
|
72241
72241
|
let ResizableDraggableDialog = _ResizableDraggableDialog;
|
|
72242
72242
|
function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3, disabled }) {
|
|
72243
|
-
console.log(`navTo:`, navTo);
|
|
72244
72243
|
if (disabled) {
|
|
72245
72244
|
return /* @__PURE__ */ React$1.createElement("li", { className: core.Classes.POPOVER_DISMISS }, /* @__PURE__ */ React$1.createElement(core.MenuItem, { icon, disabled: true, text: text2 }));
|
|
72246
72245
|
}
|
|
@@ -72292,7 +72291,6 @@ const EnhancedMenuItem = compose(
|
|
|
72292
72291
|
if (navTo) {
|
|
72293
72292
|
MenuItemComp = MenuItemLink;
|
|
72294
72293
|
}
|
|
72295
|
-
console.log(`navTo:`, navTo);
|
|
72296
72294
|
return /* @__PURE__ */ React$1.createElement(
|
|
72297
72295
|
MenuItemComp,
|
|
72298
72296
|
__spreadProps(__spreadValues(__spreadValues({
|
package/index.es.js
CHANGED
|
@@ -72222,7 +72222,6 @@ const _ResizableDraggableDialog = class _ResizableDraggableDialog extends React_
|
|
|
72222
72222
|
__name(_ResizableDraggableDialog, "ResizableDraggableDialog");
|
|
72223
72223
|
let ResizableDraggableDialog = _ResizableDraggableDialog;
|
|
72224
72224
|
function MenuItemLink({ text: text2, onClick, icon, navTo, active: active3, disabled }) {
|
|
72225
|
-
console.log(`navTo:`, navTo);
|
|
72226
72225
|
if (disabled) {
|
|
72227
72226
|
return /* @__PURE__ */ React__default.createElement("li", { className: Classes.POPOVER_DISMISS }, /* @__PURE__ */ React__default.createElement(MenuItem, { icon, disabled: true, text: text2 }));
|
|
72228
72227
|
}
|
|
@@ -72274,7 +72273,6 @@ const EnhancedMenuItem = compose(
|
|
|
72274
72273
|
if (navTo) {
|
|
72275
72274
|
MenuItemComp = MenuItemLink;
|
|
72276
72275
|
}
|
|
72277
|
-
console.log(`navTo:`, navTo);
|
|
72278
72276
|
return /* @__PURE__ */ React__default.createElement(
|
|
72279
72277
|
MenuItemComp,
|
|
72280
72278
|
__spreadProps(__spreadValues(__spreadValues({
|
package/package.json
CHANGED
package/src/style.css
CHANGED
|
@@ -224,6 +224,9 @@ button:not(:disabled):active {
|
|
|
224
224
|
.bp3-tabs.bp3-vertical > .bp3-tab-panel {
|
|
225
225
|
min-width: 0px;
|
|
226
226
|
}
|
|
227
|
+
.bp3-toast[class*="bp3-intent-"] .bp3-button.tg-clear-all-toasts {
|
|
228
|
+
border: 1px solid white !important;
|
|
229
|
+
}
|
|
227
230
|
.bp3-toast[class*="bp3-intent-"] .bp3-button.tg-clear-all-toasts:hover {
|
|
228
231
|
/* background: blue !important; */
|
|
229
232
|
/* background: unset !important; */
|
package/src/utils/menuUtils.js
CHANGED
|
@@ -24,8 +24,6 @@ import fuzzysearch from "fuzzysearch";
|
|
|
24
24
|
import classNames from "classnames";
|
|
25
25
|
// https://github.com/palantir/blueprint/issues/2820
|
|
26
26
|
export function MenuItemLink({ text, onClick, icon, navTo, active, disabled }) {
|
|
27
|
-
console.log(`navTo:`, navTo)
|
|
28
|
-
|
|
29
27
|
if (disabled) {
|
|
30
28
|
return (
|
|
31
29
|
<li className={Classes.POPOVER_DISMISS}>
|
|
@@ -80,7 +78,6 @@ export const EnhancedMenuItem = compose(
|
|
|
80
78
|
if (navTo) {
|
|
81
79
|
MenuItemComp = MenuItemLink;
|
|
82
80
|
}
|
|
83
|
-
console.log(`navTo:`,navTo)
|
|
84
81
|
return (
|
|
85
82
|
<MenuItemComp
|
|
86
83
|
popoverProps={{
|
package/style.css
CHANGED
|
@@ -9042,6 +9042,9 @@ button:not(:disabled):active {
|
|
|
9042
9042
|
.bp3-tabs.bp3-vertical > .bp3-tab-panel {
|
|
9043
9043
|
min-width: 0px;
|
|
9044
9044
|
}
|
|
9045
|
+
.bp3-toast[class*="bp3-intent-"] .bp3-button.tg-clear-all-toasts {
|
|
9046
|
+
border: 1px solid white !important;
|
|
9047
|
+
}
|
|
9045
9048
|
.bp3-toast[class*="bp3-intent-"] .bp3-button.tg-clear-all-toasts:hover {
|
|
9046
9049
|
/* background: blue !important; */
|
|
9047
9050
|
/* background: unset !important; */
|