linear-react-components-ui 2.0.0-beta.2 → 2.0.0-beta.3
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/lib/buttons/DefaultButton.js +1 -1
- package/lib/drawer/Drawer.js +2 -2
- package/lib/fieldset/index.js +3 -3
- package/lib/inputs/base/InputTextBase.js +1 -1
- package/lib/labels/DefaultLabel.js +1 -1
- package/lib/menus/sidenav/NavMenuItem.js +1 -1
- package/lib/menus/sidenav/NavSubMenuItem.js +1 -1
- package/lib/panel/Default.js +3 -3
- package/lib/permissionValidations.js +2 -1
- package/lib/radio/index.js +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import j from "../_virtual/lodash.js";
|
|
|
4
4
|
import c from "../icons/index.js";
|
|
5
5
|
import nt from "../spinner/index.js";
|
|
6
6
|
import it from "../dropdown/withDropdown.js";
|
|
7
|
-
import {
|
|
7
|
+
import { OPTIONS_ON_DENIED as k, actionsOnPermissionDenied as rt } from "../permissionValidations.js";
|
|
8
8
|
import { Tooltip as st } from "../tooltip/index.js";
|
|
9
9
|
const ot = ({
|
|
10
10
|
dropdown: e,
|
package/lib/drawer/Drawer.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as M } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as w, useState as R, useEffect as h } from "react";
|
|
3
3
|
import H from "react-dom";
|
|
4
4
|
import V from "./helpers.js";
|
|
5
|
-
import {
|
|
5
|
+
import { OPTIONS_ON_DENIED as q, actionsOnPermissionDenied as z } from "../permissionValidations.js";
|
|
6
6
|
import '../assets/styles/drawers.css';/* empty css */
|
|
7
7
|
import A from "./Header.js";
|
|
8
8
|
import F from "./Content.js";
|
|
@@ -33,7 +33,7 @@ const te = ({
|
|
|
33
33
|
i.current.className = "drawercontainer", f && (i.current.className = f);
|
|
34
34
|
const o = w(null), {
|
|
35
35
|
hideContent: B
|
|
36
|
-
} =
|
|
36
|
+
} = q, [$] = R(z([B], O)), k = p ? {
|
|
37
37
|
opacity: 0.4,
|
|
38
38
|
pointerEvent: "none",
|
|
39
39
|
placeContent: "center"
|
package/lib/fieldset/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as f, jsxs as b } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as I } from "../_virtual/compiler-runtime.js";
|
|
3
3
|
import { useState as R, Fragment as G } from "react";
|
|
4
4
|
import k from "../gridlayout/GridCol.js";
|
|
5
|
-
import {
|
|
5
|
+
import { OPTIONS_ON_DENIED as q, actionsOnPermissionDenied as z } from "../permissionValidations.js";
|
|
6
6
|
import B from "../noPermission/index.js";
|
|
7
7
|
import '../assets/styles/fieldset.css';/* empty css */
|
|
8
8
|
const W = (n) => {
|
|
@@ -22,9 +22,9 @@ const W = (n) => {
|
|
|
22
22
|
} = n, v = N === void 0 ? "left" : N, s = w === void 0 ? "none" : w, $ = O === void 0 ? null : O, E = x === void 0 ? null : x, {
|
|
23
23
|
hideContent: j,
|
|
24
24
|
unvisible: A
|
|
25
|
-
} =
|
|
25
|
+
} = q;
|
|
26
26
|
let i;
|
|
27
|
-
t[0] !== p ? (i =
|
|
27
|
+
t[0] !== p ? (i = z([j, A], p), t[0] = p, t[1] = i) : i = t[1];
|
|
28
28
|
const [r] = R(i), P = H;
|
|
29
29
|
let c;
|
|
30
30
|
t[2] !== s ? (c = (S) => {
|
|
@@ -4,7 +4,7 @@ import De from "../../_virtual/lodash.js";
|
|
|
4
4
|
import we from "../inputHOC.js";
|
|
5
5
|
import '../../assets/styles/input.css';/* empty css */
|
|
6
6
|
import { getRightElements as Oe, getInputWrapperClass as Fe, getInputClass as Ne } from "./helpers.js";
|
|
7
|
-
import {
|
|
7
|
+
import { OPTIONS_ON_DENIED as f, actionsOnPermissionDenied as Pe } from "../../permissionValidations.js";
|
|
8
8
|
import Re from "../../hint/index.js";
|
|
9
9
|
import { ErrorMessage as We } from "../errorMessage/index.js";
|
|
10
10
|
import H from "../../textContent/index.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as P, jsxs as j } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as y } from "../_virtual/compiler-runtime.js";
|
|
3
3
|
import { useRef as F, useState as L, Fragment as W } from "react";
|
|
4
4
|
import q from "../icons/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import { OPTIONS_ON_DENIED as k, actionsOnPermissionDenied as B } from "../permissionValidations.js";
|
|
6
6
|
import { Tooltip as G } from "../tooltip/index.js";
|
|
7
7
|
const V = (C) => {
|
|
8
8
|
const e = y.c(28), {
|
|
@@ -5,7 +5,7 @@ import De from "../../icons/index.js";
|
|
|
5
5
|
import { Tooltip as Ne } from "../../tooltip/index.js";
|
|
6
6
|
import Ee from "./MenuLink.js";
|
|
7
7
|
import { SideNavContext as ye, SubMenuContext as Ie } from "./helpers.js";
|
|
8
|
-
import {
|
|
8
|
+
import { OPTIONS_ON_DENIED as pe, actionsOnPermissionDenied as He } from "../../permissionValidations.js";
|
|
9
9
|
const Le = (D) => {
|
|
10
10
|
const e = Se.c(70), {
|
|
11
11
|
iconName: N,
|
|
@@ -3,7 +3,7 @@ import { c as v } from "../../_virtual/compiler-runtime.js";
|
|
|
3
3
|
import { useContext as D, useState as S } from "react";
|
|
4
4
|
import h from "./MenuLink.js";
|
|
5
5
|
import { SubMenuContext as I } from "./helpers.js";
|
|
6
|
-
import {
|
|
6
|
+
import { OPTIONS_ON_DENIED as f, actionsOnPermissionDenied as M } from "../../permissionValidations.js";
|
|
7
7
|
const P = (p) => {
|
|
8
8
|
const e = v.c(13), {
|
|
9
9
|
title: l,
|
package/lib/panel/Default.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useState as S } from "react";
|
|
|
4
4
|
import G from "../gridlayout/GridCol.js";
|
|
5
5
|
import H from "./Header.js";
|
|
6
6
|
import V from "./helpers.js";
|
|
7
|
-
import {
|
|
7
|
+
import { OPTIONS_ON_DENIED as k, actionsOnPermissionDenied as q } from "../permissionValidations.js";
|
|
8
8
|
const M = (E) => {
|
|
9
9
|
const e = A.c(37);
|
|
10
10
|
let s, t, i, l, r, d, c, u, h, n, a;
|
|
@@ -24,9 +24,9 @@ const M = (E) => {
|
|
|
24
24
|
const $ = u === void 0 ? !0 : u, P = h === void 0 ? 0.1 : h, [p, j] = S($), {
|
|
25
25
|
hideContent: I,
|
|
26
26
|
unvisible: _
|
|
27
|
-
} =
|
|
27
|
+
} = k;
|
|
28
28
|
let C;
|
|
29
|
-
e[12] !== d ? (C =
|
|
29
|
+
e[12] !== d ? (C = q([I, _], d), e[12] = d, e[13] = C) : C = e[13];
|
|
30
30
|
const [o] = S(C);
|
|
31
31
|
let v;
|
|
32
32
|
e[14] !== t || e[15] !== i ? (v = () => {
|
package/lib/radio/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as b, jsxs as H } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as de } from "../_virtual/compiler-runtime.js";
|
|
3
3
|
import { useState as ie, useEffect as ce } from "react";
|
|
4
4
|
import '../assets/styles/radio.css';/* empty css */
|
|
5
|
-
import {
|
|
5
|
+
import { OPTIONS_ON_DENIED as se, actionsOnPermissionDenied as re } from "../permissionValidations.js";
|
|
6
6
|
import me from "../popover/index.js";
|
|
7
7
|
import oe from "../textContent/index.js";
|
|
8
8
|
const fe = (le) => {
|