@para-ui/core 4.0.57 → 4.0.58
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/AutoButton/index.js +4 -2
- package/Breadcrumbs/index.js +16 -20
- package/ComboSelect/index.js +3 -3
- package/DynamicMultiBox/index.js +3 -3
- package/Form/index.js +3 -3
- package/FormItem/index.js +3 -3
- package/README.md +8 -0
- package/Selector/index.js +2 -0
- package/SelectorPicker/index.js +1 -0
- package/Stepper/index.js +1 -1
- package/Switch/index.js +2 -2
- package/Table/index.js +497 -432
- package/Tabs/index.js +2 -2
- package/Transfer/index.js +14 -4
- package/index.js +1 -1
- package/package.json +1 -1
- package/umd/AutoButton.js +2 -2
- package/umd/Breadcrumbs.js +3 -3
- package/umd/Selector.js +7 -7
- package/umd/SelectorPicker.js +4 -4
- package/umd/Transfer.js +1 -1
- /package/_verture/{index-3b048316.js → index-7558fb61.js} +0 -0
package/AutoButton/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var localeJson = {
|
|
|
39
39
|
en
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-auto-button {\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content {\n border-radius: 4px;\n overflow: hidden;\n padding: 4px 0;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn {\n height: 30px;\n line-height: 30px;\n color: rgb(29, 33, 38);\n cursor: pointer;\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn > .paraui-v4-auto-tips {\n padding: 0 10px;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn.item-btn-disabled {\n background-color: rgb(255, 255, 255);\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}";
|
|
42
|
+
var css_248z = "@charset \"UTF-8\";\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-auto-button {\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content {\n border-radius: 4px;\n overflow: hidden;\n padding: 4px 0;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn {\n width: 100%;\n height: 30px;\n line-height: 30px;\n color: rgb(29, 33, 38);\n cursor: pointer;\n background-color: rgb(255, 255, 255);\n text-align: right;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn > .button-label {\n justify-content: flex-start;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn > .paraui-v4-auto-tips {\n padding: 0 10px;\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn:hover {\n background-color: rgb(247, 248, 250);\n}\n.paraui-v4-auto-button-dropdown .auto-button-dropdown-content .item-btn.item-btn-disabled {\n background-color: rgb(255, 255, 255);\n color: rgb(161, 168, 179);\n cursor: not-allowed;\n}";
|
|
43
43
|
styleInject(css_248z);
|
|
44
44
|
|
|
45
45
|
const AutoButton = props => {
|
|
@@ -97,7 +97,9 @@ const AutoButton = props => {
|
|
|
97
97
|
};
|
|
98
98
|
/** 更多每一项内容 */
|
|
99
99
|
const renderMoreContentItem = (item, label, parentItem) => {
|
|
100
|
-
return jsx(
|
|
100
|
+
return jsx(Button, Object.assign({
|
|
101
|
+
variant: "text",
|
|
102
|
+
disabled: item.disabled,
|
|
101
103
|
className: clsx('item-btn', {
|
|
102
104
|
'item-btn-disabled': item.disabled
|
|
103
105
|
}),
|
package/Breadcrumbs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import More from '@para-ui/icons/More';
|
|
|
6
6
|
import Return from '@para-ui/icons/Return';
|
|
7
7
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
8
8
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
9
|
+
import { u as useResizeObserver } from '../_verture/useResizeObserver-960e470e.js';
|
|
9
10
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
10
11
|
import '../_verture/tslib.es6-55ed4bd2.js';
|
|
11
12
|
import '../Tooltip/index.js';
|
|
@@ -61,40 +62,35 @@ const Breadcrumbs = props => {
|
|
|
61
62
|
timer: null,
|
|
62
63
|
showMore: false,
|
|
63
64
|
hideArr: [],
|
|
64
|
-
hidePos: 0
|
|
65
|
+
hidePos: 0,
|
|
66
|
+
list
|
|
65
67
|
});
|
|
66
68
|
constData.current.isBack = isBack;
|
|
67
69
|
constData.current.showMore = showMore;
|
|
68
70
|
constData.current.isShrink = isShrink;
|
|
69
71
|
constData.current.minNum = minNum;
|
|
72
|
+
constData.current.list = list;
|
|
73
|
+
useResizeObserver({
|
|
74
|
+
dom: boxRef.current,
|
|
75
|
+
cb: () => changeSize()
|
|
76
|
+
});
|
|
70
77
|
useEffect(() => {
|
|
71
|
-
|
|
72
|
-
return () => {
|
|
73
|
-
clearTimeout(constData.current.timer);
|
|
74
|
-
window.removeEventListener('resize', winResize);
|
|
75
|
-
};
|
|
76
|
-
}, []);
|
|
77
|
-
useEffect(() => {
|
|
78
|
-
const arr = new Array(props.list.length).fill(false);
|
|
78
|
+
const arr = new Array(constData.current.list.length).fill(false);
|
|
79
79
|
constData.current.hideArr = arr;
|
|
80
80
|
setHideArr(arr);
|
|
81
81
|
changeSize();
|
|
82
82
|
}, [list]);
|
|
83
83
|
/** 点击面包屑 */
|
|
84
84
|
const clickItem = (item, index) => () => {
|
|
85
|
-
if (
|
|
85
|
+
if (constData.current.list.length - 1 === index || item.disabled) return;
|
|
86
86
|
onClickItem && onClickItem(item);
|
|
87
87
|
};
|
|
88
88
|
/** 点击返回, 又返回执行返回事件,否则默认返回上级 */
|
|
89
89
|
const clickBack = () => {
|
|
90
90
|
if (onBack) return onBack();
|
|
91
|
-
if (
|
|
92
|
-
const item =
|
|
93
|
-
clickItem(item,
|
|
94
|
-
};
|
|
95
|
-
/** 改变屏幕 */
|
|
96
|
-
const winResize = () => {
|
|
97
|
-
changeSize();
|
|
91
|
+
if (constData.current.list.length < 2) return;
|
|
92
|
+
const item = constData.current.list[constData.current.list.length - 2];
|
|
93
|
+
clickItem(item, constData.current.list.length - 2)();
|
|
98
94
|
};
|
|
99
95
|
/** 去除遮罩 */
|
|
100
96
|
const hideMask = () => {
|
|
@@ -108,14 +104,14 @@ const Breadcrumbs = props => {
|
|
|
108
104
|
if (!bol) {
|
|
109
105
|
constData.current.hidePos = 0;
|
|
110
106
|
constData.current.showMore = false;
|
|
111
|
-
const arr = new Array(
|
|
107
|
+
const arr = new Array(constData.current.list.length).fill(false);
|
|
112
108
|
constData.current.hideArr = arr;
|
|
113
109
|
setHideArr(arr);
|
|
114
110
|
setShowMore(false);
|
|
115
111
|
}
|
|
116
|
-
if (
|
|
112
|
+
if (constData.current.list.length <= constData.current.minNum + 1) return hideMask();
|
|
117
113
|
// 面包屑数组长度必须大于最少显示数
|
|
118
|
-
if (constData.current.hidePos ===
|
|
114
|
+
if (constData.current.hidePos === constData.current.list.length - constData.current.minNum - 1) return hideMask();
|
|
119
115
|
// 隐藏到最小显示数,停止
|
|
120
116
|
boxRef.current.classList.add("".concat($prefixCls, "-breadcrumbs-calculation"));
|
|
121
117
|
constData.current.timer = setTimeout(() => {
|
package/ComboSelect/index.js
CHANGED
|
@@ -24,6 +24,8 @@ import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
|
24
24
|
import { Search } from '../Search/index.js';
|
|
25
25
|
import LoadingOutlined from '@para-ui/icons/LoadingF';
|
|
26
26
|
import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
|
|
27
|
+
import '../_verture/typeof-adeedc13.js';
|
|
28
|
+
import '../_verture/slicedToArray-61604a6c.js';
|
|
27
29
|
import '../Checkbox/index.js';
|
|
28
30
|
import '../Help/index.js';
|
|
29
31
|
import '@para-ui/icons/Help';
|
|
@@ -35,6 +37,7 @@ import '@para-ui/icons/UpTriangleF';
|
|
|
35
37
|
import '@para-ui/icons/DownTriangleF';
|
|
36
38
|
import '@para-ui/icons/Panel';
|
|
37
39
|
import '../Empty/index.js';
|
|
40
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
38
41
|
import '../_verture/index-0f5ee6f7.js';
|
|
39
42
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
40
43
|
import '../Radio/index.js';
|
|
@@ -57,9 +60,6 @@ import '@para-ui/icons/DoubleRight';
|
|
|
57
60
|
import '../ScrollBar/index.js';
|
|
58
61
|
import '../_verture/useResizeObserver-960e470e.js';
|
|
59
62
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
60
|
-
import '../_verture/slicedToArray-61604a6c.js';
|
|
61
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
62
|
-
import '../_verture/typeof-adeedc13.js';
|
|
63
63
|
import '../_verture/index-8ac46bd9.js';
|
|
64
64
|
import '../_verture/typeof-6ec38efd.js';
|
|
65
65
|
import 'rc-tree';
|
package/DynamicMultiBox/index.js
CHANGED
|
@@ -52,6 +52,8 @@ import '@para-ui/icons/Up';
|
|
|
52
52
|
import '../MultiBox/index.js';
|
|
53
53
|
import '@para-ui/icons/Internet';
|
|
54
54
|
import '../Table/index.js';
|
|
55
|
+
import '../_verture/typeof-adeedc13.js';
|
|
56
|
+
import '../_verture/slicedToArray-61604a6c.js';
|
|
55
57
|
import '../_verture/index-cd9ede02.js';
|
|
56
58
|
import '@para-ui/icons/CheckCircleF';
|
|
57
59
|
import '@para-ui/icons/WarningCircle';
|
|
@@ -59,6 +61,7 @@ import '@para-ui/icons/WarningCircleF';
|
|
|
59
61
|
import '@para-ui/icons/ScreenF';
|
|
60
62
|
import '@para-ui/icons/UpTriangleF';
|
|
61
63
|
import '@para-ui/icons/DownTriangleF';
|
|
64
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
62
65
|
import '../Radio/index.js';
|
|
63
66
|
import '../OperateBtn/index.js';
|
|
64
67
|
import '@para-ui/icons/More';
|
|
@@ -73,9 +76,6 @@ import '../ScrollBar/index.js';
|
|
|
73
76
|
import '../_verture/useResizeObserver-960e470e.js';
|
|
74
77
|
import '../_verture/index-320d67c4.js';
|
|
75
78
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
76
|
-
import '../_verture/slicedToArray-61604a6c.js';
|
|
77
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
78
|
-
import '../_verture/typeof-adeedc13.js';
|
|
79
79
|
import '../_verture/index-8ac46bd9.js';
|
|
80
80
|
import '../_verture/typeof-6ec38efd.js';
|
|
81
81
|
import 'rc-tree';
|
package/Form/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { DeepClone } from '@paraview/lib';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-
|
|
4
|
+
import { F as FormItem, l as localeJson, v as validate } from '../_verture/index-7558fb61.js';
|
|
5
5
|
import { $ as $prefixCls } from '../_verture/constant-5317fc89.js';
|
|
6
6
|
import { u as useFormatMessage } from '../_verture/useFormatMessage-1fc7c957.js';
|
|
7
7
|
import '../TextField/index.js';
|
|
@@ -54,10 +54,12 @@ import 'rc-input-number';
|
|
|
54
54
|
import '@para-ui/icons/Up';
|
|
55
55
|
import '../ComboSelect/index.js';
|
|
56
56
|
import '../Table/index.js';
|
|
57
|
+
import '../_verture/typeof-adeedc13.js';
|
|
57
58
|
import '@para-ui/icons/ScreenF';
|
|
58
59
|
import '@para-ui/icons/UpTriangleF';
|
|
59
60
|
import '@para-ui/icons/DownTriangleF';
|
|
60
61
|
import '@para-ui/icons/Panel';
|
|
62
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
61
63
|
import '../_verture/index-0f5ee6f7.js';
|
|
62
64
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
63
65
|
import '../OperateBtn/index.js';
|
|
@@ -74,8 +76,6 @@ import '../ScrollBar/index.js';
|
|
|
74
76
|
import '../_verture/useResizeObserver-960e470e.js';
|
|
75
77
|
import '../_verture/index-320d67c4.js';
|
|
76
78
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
77
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
78
|
-
import '../_verture/typeof-adeedc13.js';
|
|
79
79
|
import '../_verture/index-8ac46bd9.js';
|
|
80
80
|
import '../_verture/typeof-6ec38efd.js';
|
|
81
81
|
import 'rc-tree';
|
package/FormItem/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { F as default } from '../_verture/index-
|
|
3
|
+
export { F as default } from '../_verture/index-7558fb61.js';
|
|
4
4
|
import 'clsx';
|
|
5
5
|
import '../Label/index.js';
|
|
6
6
|
import '../_verture/constant-5317fc89.js';
|
|
@@ -54,10 +54,12 @@ import 'rc-input-number';
|
|
|
54
54
|
import '@para-ui/icons/Up';
|
|
55
55
|
import '../ComboSelect/index.js';
|
|
56
56
|
import '../Table/index.js';
|
|
57
|
+
import '../_verture/typeof-adeedc13.js';
|
|
57
58
|
import '@para-ui/icons/ScreenF';
|
|
58
59
|
import '@para-ui/icons/UpTriangleF';
|
|
59
60
|
import '@para-ui/icons/DownTriangleF';
|
|
60
61
|
import '@para-ui/icons/Panel';
|
|
62
|
+
import '../_verture/defineProperty-6f62bb2a.js';
|
|
61
63
|
import '../_verture/index-0f5ee6f7.js';
|
|
62
64
|
import '../_verture/sortable.esm-76fe46a4.js';
|
|
63
65
|
import '../OperateBtn/index.js';
|
|
@@ -74,8 +76,6 @@ import '../ScrollBar/index.js';
|
|
|
74
76
|
import '../_verture/useResizeObserver-960e470e.js';
|
|
75
77
|
import '../_verture/index-320d67c4.js';
|
|
76
78
|
import '../_verture/toConsumableArray-599cd94a.js';
|
|
77
|
-
import '../_verture/defineProperty-6f62bb2a.js';
|
|
78
|
-
import '../_verture/typeof-adeedc13.js';
|
|
79
79
|
import '../_verture/index-8ac46bd9.js';
|
|
80
80
|
import '../_verture/typeof-6ec38efd.js';
|
|
81
81
|
import 'rc-tree';
|
package/README.md
CHANGED
package/Selector/index.js
CHANGED
|
@@ -41,6 +41,7 @@ import 'rc-dropdown';
|
|
|
41
41
|
import 'dayjs';
|
|
42
42
|
import '@para-ui/icons/More';
|
|
43
43
|
import '@para-ui/icons/Return';
|
|
44
|
+
import '../_verture/useResizeObserver-960e470e.js';
|
|
44
45
|
|
|
45
46
|
var en = {
|
|
46
47
|
root: 'root',
|
|
@@ -608,6 +609,7 @@ const SelectorMainContent = props => {
|
|
|
608
609
|
className: "nav-box"
|
|
609
610
|
}, {
|
|
610
611
|
children: jsx(Breadcrumbs, {
|
|
612
|
+
minNum: 1,
|
|
611
613
|
list: breadcrumbsList,
|
|
612
614
|
separator: breadcrumbsSeparator,
|
|
613
615
|
onClickItem: onClickBreadcrums
|
package/SelectorPicker/index.js
CHANGED
package/Stepper/index.js
CHANGED
package/Switch/index.js
CHANGED
|
@@ -26,8 +26,8 @@ var zh = {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
var localeJson = {
|
|
29
|
-
zh
|
|
30
|
-
en
|
|
29
|
+
zh,
|
|
30
|
+
en
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/3 下午5:58\n* @description\n*/\n/**\n* @author linhd\n* @date 2023/4/11 14:16\n* @description 最新色卡\n*/\n.paraui-v4-switch {\n position: relative;\n display: inline-block;\n width: 32px;\n height: 16px;\n vertical-align: middle;\n background-color: transparent;\n border: 0;\n cursor: pointer;\n transition: all 0.2s;\n user-select: none;\n}\n.paraui-v4-switch .component-switch {\n border: none;\n cursor: pointer;\n}\n.paraui-v4-switch:before {\n position: absolute;\n top: 0px;\n left: 0;\n width: 100%;\n height: 16px;\n border-radius: 8px;\n background-color: rgb(212, 218, 227);\n content: \"\";\n transition: all 0.2s;\n}\na .paraui-v4-switch:focus {\n outline: 0;\n box-shadow: none;\n}\n.paraui-v4-switch.component-switch-checked:focus {\n box-shadow: none;\n}\n.paraui-v4-switch:focus:hover {\n box-shadow: none;\n}\n.paraui-v4-switch.component-switch-checked:before {\n background-color: rgb(46, 101, 230);\n}\n.paraui-v4-switch-loading *, .paraui-v4-switch.component-switch-disabled * {\n box-shadow: none;\n}\n.paraui-v4-switch-loading .component-switch-inner::before, .paraui-v4-switch.component-switch-disabled .component-switch-inner::before {\n position: absolute;\n top: 0px;\n left: 0;\n width: 100%;\n height: 16px;\n background-color: rgba(255, 255, 255, 0.5);\n content: \"\";\n z-index: 100;\n}\n.paraui-v4-switch .component-switch-inner {\n display: block;\n margin: 0 7px 0 25px;\n font-size: 14px;\n transition: margin 0.2s;\n}\n.paraui-v4-switch.component-switch-checked .component-switch-inner {\n margin: 0 25px 0 7px;\n}\n.paraui-v4-switch .component-switch-handle {\n position: absolute;\n top: 2px;\n left: 2px;\n width: 12px;\n height: 12px;\n transition: all 0.2s ease-in-out;\n}\n.paraui-v4-switch .component-switch-handle::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: rgb(255, 255, 255);\n border-radius: 9px;\n box-shadow: none;\n transition: all 0.2s ease-in-out;\n content: \"\";\n}\n.paraui-v4-switch.component-switch-checked .component-switch-handle {\n left: calc(100% - 14px);\n}\n.paraui-v4-switch.component-switch-checked .component-switch-handle::before {\n background-color: rgb(255, 255, 255);\n}\n.paraui-v4-switch:not(.paraui-v4-switch-disabled):active .component-switch-handle::before {\n right: -30%;\n left: 0;\n}\n.paraui-v4-switch:not(.paraui-v4-switch-disabled):active.component-switch-checked .component-switch-handle::before {\n right: 0;\n left: -30%;\n}\n.paraui-v4-switch .component-switch-loading-icon {\n position: relative;\n top: 1px;\n color: rgb(46, 101, 230);\n font-size: 10px;\n vertical-align: top;\n animation: switchLoadingCircle 1s infinite linear;\n}\n.paraui-v4-switch.component-switch-checked .component-switch-loading-icon {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-switch-small {\n min-width: 28px;\n height: 14px;\n line-height: 14px;\n}\n.paraui-v4-switch-small .component-switch-inner {\n margin: 0 5px 0 18px;\n font-size: 14px;\n}\n.paraui-v4-switch-small .component-switch-handle {\n width: 12px;\n height: 12px;\n top: 3px;\n left: 2px;\n}\n.paraui-v4-switch-small .component-switch-loading-icon {\n top: 1.5px;\n font-size: 9px;\n}\n.paraui-v4-switch-small.component-switch-checked .component-switch-inner {\n margin: 0 18px 0 5px;\n}\n.paraui-v4-switch-small.component-switch-checked .component-switch-handle {\n left: calc(100% - 12px - 2px);\n}\n@keyframes switchLoadingCircle {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.paraui-v4-switch-disabled::before {\n background-color: rgb(225, 229, 236);\n}\n.paraui-v4-switch-disabled.component-switch-checked::before {\n background-color: rgb(151, 178, 242);\n}\n\n.component-label-box {\n display: flex;\n align-items: center;\n}\n.component-label-box .sup-text {\n color: rgb(92, 101, 115);\n font-size: 14px;\n margin-left: 10px;\n line-height: 16px;\n}\n.component-label-box .sup-text > a {\n text-decoration: none;\n cursor: pointer;\n color: rgb(46, 101, 230);\n}\n.component-label-box .sup-text > a:hover {\n color: rgb(87, 131, 235);\n}\n\n.paraui-v4-switch-label {\n display: inline-flex;\n align-items: flex-end;\n}\n.paraui-v4-switch-label .component-disabled-text {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-switch-label .component-desc-text {\n margin-bottom: 0;\n margin-right: 10px;\n line-height: 16px;\n color: rgb(29, 33, 38);\n}\n.paraui-v4-switch-label .component-desc-text .paraui-v4-help {\n line-height: 1;\n}\n.paraui-v4-switch-label .component-desc-text .paraui-v4-help svg {\n top: 0;\n}\n.paraui-v4-switch-label .paraui-v4-label-text-container {\n display: flex;\n flex-direction: column;\n}\n\n.paraui-v4-switch-desc-end {\n flex-direction: row-reverse;\n}\n.paraui-v4-switch-desc-end .component-desc-text {\n margin-right: 0;\n}\n\n.component-switch-disabled > div:nth-child(1)::before {\n transition: all 2s ease-in-out;\n}";
|