@salutejs/plasma-new-hope 0.330.0-canary.1655.16198986399.0 → 0.330.0-canary.2009.16162480074.0
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/cjs/components/Drawer/Drawer.css +5 -7
- package/cjs/components/Drawer/Drawer.js +1 -1
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Modal/Modal.css +6 -9
- package/cjs/components/Modal/Modal.js +3 -7
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Modal/Modal.styles.js +4 -6
- package/cjs/components/Modal/Modal.styles.js.map +1 -1
- package/cjs/components/Modal/{Modal.styles_1obtvtw.css → Modal.styles_1gt0sfn.css} +3 -4
- package/cjs/components/Notification/NotificationsProvider.css +3 -7
- package/cjs/components/Popup/Popup.js +3 -65
- package/cjs/components/Popup/Popup.js.map +1 -1
- package/cjs/components/Popup/Popup.styles.js +19 -31
- package/cjs/components/Popup/Popup.styles.js.map +1 -1
- package/cjs/components/Popup/Popup.styles_gq4luz.css +4 -0
- package/cjs/components/Popup/Popup.tokens.js +1 -10
- package/cjs/components/Popup/Popup.tokens.js.map +1 -1
- package/cjs/components/Popup/PopupContext.css +3 -7
- package/cjs/components/Popup/utils/index.js.map +1 -1
- package/cjs/components/TextArea/TextArea.js +8 -22
- package/cjs/components/TextArea/TextArea.js.map +1 -1
- package/cjs/components/TextArea/TextArea.styles.js +64 -101
- package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
- package/cjs/components/TextArea/TextArea.styles_1r7xix5.css +20 -0
- package/cjs/components/TextArea/TextArea.tokens.js +1 -3
- package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
- package/cjs/components/TextArea/TextArea_e0xkpd.css +1 -0
- package/cjs/components/TextArea/ui/Hint/Hint.css +18 -22
- package/cjs/components/TextArea/variations/_clear/base.js +1 -1
- package/cjs/components/TextArea/variations/_clear/base_16hm89e.css +1 -0
- package/cjs/components/TextArea/variations/_disabled/base.js +1 -1
- package/cjs/components/TextArea/variations/_disabled/base_1bn0zc9.css +1 -0
- package/cjs/components/TextArea/variations/_read-only/base.js +1 -1
- package/cjs/components/TextArea/variations/_read-only/{base_vk912g.css → base_1v0syh0.css} +1 -1
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/index.css +29 -36
- package/emotion/cjs/components/Drawer/Drawer.js +2 -3
- package/emotion/cjs/components/Modal/Modal.js +4 -8
- package/emotion/cjs/components/Modal/Modal.styles.js +6 -11
- package/emotion/cjs/components/Popup/Popup.js +4 -68
- package/emotion/cjs/components/Popup/Popup.styles.js +8 -22
- package/emotion/cjs/components/Popup/Popup.tokens.js +1 -10
- package/emotion/cjs/components/Popup/utils/index.js +0 -16
- package/emotion/cjs/components/TextArea/TextArea.js +8 -20
- package/emotion/cjs/components/TextArea/TextArea.styles.js +41 -78
- package/emotion/cjs/components/TextArea/TextArea.tokens.js +1 -3
- package/emotion/cjs/components/TextArea/mixins/applyDynamicLabel.js +2 -2
- package/emotion/cjs/components/TextField/TextField.js +1 -1
- package/emotion/cjs/components/_Icon/index.js +0 -4
- package/emotion/es/components/Drawer/Drawer.js +2 -3
- package/emotion/es/components/Modal/Modal.js +5 -9
- package/emotion/es/components/Modal/Modal.styles.js +6 -8
- package/emotion/es/components/Popup/Popup.js +5 -64
- package/emotion/es/components/Popup/Popup.styles.js +8 -16
- package/emotion/es/components/Popup/Popup.tokens.js +1 -10
- package/emotion/es/components/Popup/utils/index.js +0 -3
- package/emotion/es/components/TextArea/TextArea.js +9 -21
- package/emotion/es/components/TextArea/TextArea.styles.js +41 -66
- package/emotion/es/components/TextArea/TextArea.tokens.js +1 -3
- package/emotion/es/components/TextArea/mixins/applyDynamicLabel.js +2 -2
- package/emotion/es/components/TextField/TextField.js +1 -1
- package/emotion/es/components/_Icon/index.js +0 -1
- package/es/components/Drawer/Drawer.css +5 -7
- package/es/components/Drawer/Drawer.js +1 -1
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Modal/Modal.css +6 -9
- package/es/components/Modal/Modal.js +6 -10
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/components/Modal/Modal.styles.js +5 -6
- package/es/components/Modal/Modal.styles.js.map +1 -1
- package/es/components/Modal/{Modal.styles_1obtvtw.css → Modal.styles_1gt0sfn.css} +3 -4
- package/es/components/Notification/NotificationsProvider.css +3 -7
- package/es/components/Popup/Popup.js +4 -65
- package/es/components/Popup/Popup.js.map +1 -1
- package/es/components/Popup/Popup.styles.js +20 -30
- package/es/components/Popup/Popup.styles.js.map +1 -1
- package/es/components/Popup/Popup.styles_gq4luz.css +4 -0
- package/es/components/Popup/Popup.tokens.js +1 -10
- package/es/components/Popup/Popup.tokens.js.map +1 -1
- package/es/components/Popup/PopupContext.css +3 -7
- package/es/components/Popup/utils/index.js.map +1 -1
- package/es/components/TextArea/TextArea.js +9 -23
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextArea/TextArea.styles.js +65 -100
- package/es/components/TextArea/TextArea.styles.js.map +1 -1
- package/es/components/TextArea/TextArea.styles_1r7xix5.css +20 -0
- package/es/components/TextArea/TextArea.tokens.js +1 -3
- package/es/components/TextArea/TextArea.tokens.js.map +1 -1
- package/es/components/TextArea/TextArea_e0xkpd.css +1 -0
- package/es/components/TextArea/ui/Hint/Hint.css +18 -22
- package/es/components/TextArea/variations/_clear/base.js +1 -1
- package/es/components/TextArea/variations/_clear/base_16hm89e.css +1 -0
- package/es/components/TextArea/variations/_disabled/base.js +1 -1
- package/es/components/TextArea/variations/_disabled/base_1bn0zc9.css +1 -0
- package/es/components/TextArea/variations/_read-only/base.js +1 -1
- package/es/components/TextArea/variations/_read-only/{base_vk912g.css → base_1v0syh0.css} +1 -1
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/index.css +29 -36
- package/package.json +4 -5
- package/styled-components/cjs/components/Drawer/Drawer.js +2 -3
- package/styled-components/cjs/components/Modal/Modal.js +4 -8
- package/styled-components/cjs/components/Modal/Modal.styles.js +8 -50
- package/styled-components/cjs/components/Popup/Popup.js +4 -68
- package/styled-components/cjs/components/Popup/Popup.styles.js +8 -68
- package/styled-components/cjs/components/Popup/Popup.tokens.js +1 -10
- package/styled-components/cjs/components/Popup/utils/index.js +0 -16
- package/styled-components/cjs/components/TextArea/TextArea.js +7 -19
- package/styled-components/cjs/components/TextArea/TextArea.styles.js +28 -76
- package/styled-components/cjs/components/TextArea/TextArea.tokens.js +1 -3
- package/styled-components/cjs/components/TextArea/mixins/applyDynamicLabel.js +2 -2
- package/styled-components/cjs/components/_Icon/index.js +0 -4
- package/styled-components/es/components/Drawer/Drawer.js +2 -3
- package/styled-components/es/components/Modal/Modal.js +5 -9
- package/styled-components/es/components/Modal/Modal.styles.js +4 -8
- package/styled-components/es/components/Popup/Popup.js +5 -64
- package/styled-components/es/components/Popup/Popup.styles.js +4 -23
- package/styled-components/es/components/Popup/Popup.tokens.js +1 -10
- package/styled-components/es/components/Popup/utils/index.js +0 -3
- package/styled-components/es/components/TextArea/TextArea.js +8 -20
- package/styled-components/es/components/TextArea/TextArea.styles.js +28 -64
- package/styled-components/es/components/TextArea/TextArea.tokens.js +1 -3
- package/styled-components/es/components/TextArea/mixins/applyDynamicLabel.js +2 -2
- package/styled-components/es/components/_Icon/index.js +0 -1
- package/types/components/Breadcrumbs/utils/index.d.ts +1 -1
- package/types/components/Carousel/CarouselOld/Carousel.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/utils/sizeToIconSize.d.ts +1 -1
- package/types/components/Drawer/Drawer.d.ts +2 -2
- package/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.types.d.ts +1 -1
- package/types/components/Drawer/Drawer.types.d.ts.map +1 -1
- package/types/components/Modal/Modal.d.ts +1 -1
- package/types/components/Modal/Modal.d.ts.map +1 -1
- package/types/components/Modal/Modal.styles.d.ts +0 -1
- package/types/components/Modal/Modal.styles.d.ts.map +1 -1
- package/types/components/Popup/Popup.d.ts +1 -1
- package/types/components/Popup/Popup.d.ts.map +1 -1
- package/types/components/Popup/Popup.styles.d.ts +0 -2
- package/types/components/Popup/Popup.styles.d.ts.map +1 -1
- package/types/components/Popup/Popup.tokens.d.ts +0 -9
- package/types/components/Popup/Popup.tokens.d.ts.map +1 -1
- package/types/components/Popup/Popup.types.d.ts +0 -52
- package/types/components/Popup/Popup.types.d.ts.map +1 -1
- package/types/components/Popup/utils/index.d.ts +0 -3
- package/types/components/Popup/utils/index.d.ts.map +1 -1
- package/types/components/Select/utils/sizeToIconSize.d.ts +1 -1
- package/types/components/Table/ui/HeadCell/HeadCell.d.ts +1 -1
- package/types/components/TextArea/TextArea.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.styles.d.ts +1 -10
- package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.tokens.d.ts +0 -2
- package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.types.d.ts +0 -5
- package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
- package/types/components/TextArea/mixins/applyDynamicLabel.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/Tree/utils/sizeToIconSize.d.ts +1 -1
- package/types/components/_Icon/index.d.ts +0 -1
- package/types/components/_Icon/index.d.ts.map +1 -1
- package/cjs/components/Popup/Popup.styles_kpf3dd.css +0 -6
- package/cjs/components/Popup/utils/getHandleStyles.js +0 -58
- package/cjs/components/Popup/utils/getHandleStyles.js.map +0 -1
- package/cjs/components/Popup/utils/getRatioBasedOnPlacement.js +0 -36
- package/cjs/components/Popup/utils/getRatioBasedOnPlacement.js.map +0 -1
- package/cjs/components/Popup/utils/getResizeDirections.js +0 -73
- package/cjs/components/Popup/utils/getResizeDirections.js.map +0 -1
- package/cjs/components/TextArea/TextArea.styles_exqsyh.css +0 -24
- package/cjs/components/TextArea/TextArea_c31ipk.css +0 -1
- package/cjs/components/TextArea/variations/_clear/base_1vo4ba5.css +0 -1
- package/cjs/components/TextArea/variations/_disabled/base_s6ttw.css +0 -1
- package/cjs/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -30
- package/cjs/components/_Icon/Icon.assets/ResizeDiagonal.js.map +0 -1
- package/cjs/components/_Icon/Icons/IconResizeDiagonal.js +0 -30
- package/cjs/components/_Icon/Icons/IconResizeDiagonal.js.map +0 -1
- package/emotion/cjs/components/Popup/utils/getHandleStyles.js +0 -61
- package/emotion/cjs/components/Popup/utils/getRatioBasedOnPlacement.js +0 -54
- package/emotion/cjs/components/Popup/utils/getResizeDirections.js +0 -82
- package/emotion/cjs/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -83
- package/emotion/cjs/components/_Icon/Icons/IconResizeDiagonal.js +0 -86
- package/emotion/es/components/Popup/utils/getHandleStyles.js +0 -51
- package/emotion/es/components/Popup/utils/getRatioBasedOnPlacement.js +0 -44
- package/emotion/es/components/Popup/utils/getResizeDirections.js +0 -72
- package/emotion/es/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -68
- package/emotion/es/components/_Icon/Icons/IconResizeDiagonal.js +0 -71
- package/es/components/Popup/Popup.styles_kpf3dd.css +0 -6
- package/es/components/Popup/utils/getHandleStyles.js +0 -54
- package/es/components/Popup/utils/getHandleStyles.js.map +0 -1
- package/es/components/Popup/utils/getRatioBasedOnPlacement.js +0 -32
- package/es/components/Popup/utils/getRatioBasedOnPlacement.js.map +0 -1
- package/es/components/Popup/utils/getResizeDirections.js +0 -69
- package/es/components/Popup/utils/getResizeDirections.js.map +0 -1
- package/es/components/TextArea/TextArea.styles_exqsyh.css +0 -24
- package/es/components/TextArea/TextArea_c31ipk.css +0 -1
- package/es/components/TextArea/variations/_clear/base_1vo4ba5.css +0 -1
- package/es/components/TextArea/variations/_disabled/base_s6ttw.css +0 -1
- package/es/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -22
- package/es/components/_Icon/Icon.assets/ResizeDiagonal.js.map +0 -1
- package/es/components/_Icon/Icons/IconResizeDiagonal.js +0 -22
- package/es/components/_Icon/Icons/IconResizeDiagonal.js.map +0 -1
- package/styled-components/cjs/components/Popup/utils/getHandleStyles.js +0 -61
- package/styled-components/cjs/components/Popup/utils/getRatioBasedOnPlacement.js +0 -54
- package/styled-components/cjs/components/Popup/utils/getResizeDirections.js +0 -82
- package/styled-components/cjs/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -83
- package/styled-components/cjs/components/_Icon/Icons/IconResizeDiagonal.js +0 -86
- package/styled-components/es/components/Popup/utils/getHandleStyles.js +0 -51
- package/styled-components/es/components/Popup/utils/getRatioBasedOnPlacement.js +0 -44
- package/styled-components/es/components/Popup/utils/getResizeDirections.js +0 -72
- package/styled-components/es/components/_Icon/Icon.assets/ResizeDiagonal.js +0 -68
- package/styled-components/es/components/_Icon/Icons/IconResizeDiagonal.js +0 -71
- package/types/components/Popup/utils/getHandleStyles.d.ts +0 -29
- package/types/components/Popup/utils/getHandleStyles.d.ts.map +0 -1
- package/types/components/Popup/utils/getRatioBasedOnPlacement.d.ts +0 -3
- package/types/components/Popup/utils/getRatioBasedOnPlacement.d.ts.map +0 -1
- package/types/components/Popup/utils/getResizeDirections.d.ts +0 -14
- package/types/components/Popup/utils/getResizeDirections.d.ts.map +0 -1
- package/types/components/_Icon/Icon.assets/ResizeDiagonal.d.ts +0 -4
- package/types/components/_Icon/Icon.assets/ResizeDiagonal.d.ts.map +0 -1
- package/types/components/_Icon/Icons/IconResizeDiagonal.d.ts +0 -4
- package/types/components/_Icon/Icons/IconResizeDiagonal.d.ts.map +0 -1
@@ -1,44 +0,0 @@
|
|
1
|
-
export var getRatioBasedOnPlacement = function(placement) {
|
2
|
-
switch(placement){
|
3
|
-
case 'center':
|
4
|
-
{
|
5
|
-
return [
|
6
|
-
2,
|
7
|
-
2
|
8
|
-
];
|
9
|
-
}
|
10
|
-
case 'top':
|
11
|
-
case 'bottom':
|
12
|
-
{
|
13
|
-
return [
|
14
|
-
2,
|
15
|
-
1
|
16
|
-
];
|
17
|
-
}
|
18
|
-
case 'left':
|
19
|
-
case 'right':
|
20
|
-
{
|
21
|
-
return [
|
22
|
-
1,
|
23
|
-
2
|
24
|
-
];
|
25
|
-
}
|
26
|
-
case 'top-left':
|
27
|
-
case 'top-right':
|
28
|
-
case 'bottom-left':
|
29
|
-
case 'bottom-right':
|
30
|
-
{
|
31
|
-
return [
|
32
|
-
1,
|
33
|
-
1
|
34
|
-
];
|
35
|
-
}
|
36
|
-
default:
|
37
|
-
{
|
38
|
-
return [
|
39
|
-
2,
|
40
|
-
2
|
41
|
-
];
|
42
|
-
}
|
43
|
-
}
|
44
|
-
};
|
@@ -1,72 +0,0 @@
|
|
1
|
-
export var getResizeDirections = function(directions) {
|
2
|
-
if (!directions) {
|
3
|
-
return {
|
4
|
-
top: true,
|
5
|
-
right: true,
|
6
|
-
bottom: true,
|
7
|
-
left: true,
|
8
|
-
topRight: true,
|
9
|
-
bottomRight: true,
|
10
|
-
bottomLeft: true,
|
11
|
-
topLeft: true
|
12
|
-
};
|
13
|
-
}
|
14
|
-
var result = {
|
15
|
-
top: false,
|
16
|
-
right: false,
|
17
|
-
bottom: false,
|
18
|
-
left: false,
|
19
|
-
topRight: false,
|
20
|
-
bottomRight: false,
|
21
|
-
bottomLeft: false,
|
22
|
-
topLeft: false
|
23
|
-
};
|
24
|
-
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
25
|
-
try {
|
26
|
-
for(var _iterator = directions[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
27
|
-
var dir = _step.value;
|
28
|
-
switch(dir){
|
29
|
-
case 'top':
|
30
|
-
result.top = true;
|
31
|
-
break;
|
32
|
-
case 'right':
|
33
|
-
result.right = true;
|
34
|
-
break;
|
35
|
-
case 'bottom':
|
36
|
-
result.bottom = true;
|
37
|
-
break;
|
38
|
-
case 'left':
|
39
|
-
result.left = true;
|
40
|
-
break;
|
41
|
-
case 'top-right':
|
42
|
-
result.topRight = true;
|
43
|
-
break;
|
44
|
-
case 'top-left':
|
45
|
-
result.topLeft = true;
|
46
|
-
break;
|
47
|
-
case 'bottom-right':
|
48
|
-
result.bottomRight = true;
|
49
|
-
break;
|
50
|
-
case 'bottom-left':
|
51
|
-
result.bottomLeft = true;
|
52
|
-
break;
|
53
|
-
default:
|
54
|
-
break;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
} catch (err) {
|
58
|
-
_didIteratorError = true;
|
59
|
-
_iteratorError = err;
|
60
|
-
} finally{
|
61
|
-
try {
|
62
|
-
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
63
|
-
_iterator.return();
|
64
|
-
}
|
65
|
-
} finally{
|
66
|
-
if (_didIteratorError) {
|
67
|
-
throw _iteratorError;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
}
|
71
|
-
return result;
|
72
|
-
};
|
@@ -1,68 +0,0 @@
|
|
1
|
-
function _define_property(obj, key, value) {
|
2
|
-
if (key in obj) {
|
3
|
-
Object.defineProperty(obj, key, {
|
4
|
-
value: value,
|
5
|
-
enumerable: true,
|
6
|
-
configurable: true,
|
7
|
-
writable: true
|
8
|
-
});
|
9
|
-
} else {
|
10
|
-
obj[key] = value;
|
11
|
-
}
|
12
|
-
return obj;
|
13
|
-
}
|
14
|
-
function _object_spread(target) {
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
17
|
-
var ownKeys = Object.keys(source);
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
21
|
-
}));
|
22
|
-
}
|
23
|
-
ownKeys.forEach(function(key) {
|
24
|
-
_define_property(target, key, source[key]);
|
25
|
-
});
|
26
|
-
}
|
27
|
-
return target;
|
28
|
-
}
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
30
|
-
var keys = Object.keys(object);
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
33
|
-
if (enumerableOnly) {
|
34
|
-
symbols = symbols.filter(function(sym) {
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
36
|
-
});
|
37
|
-
}
|
38
|
-
keys.push.apply(keys, symbols);
|
39
|
-
}
|
40
|
-
return keys;
|
41
|
-
}
|
42
|
-
function _object_spread_props(target, source) {
|
43
|
-
source = source != null ? source : {};
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
46
|
-
} else {
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
49
|
-
});
|
50
|
-
}
|
51
|
-
return target;
|
52
|
-
}
|
53
|
-
import React from "react";
|
54
|
-
export var ResizeDiagonal = function(props) {
|
55
|
-
return /*#__PURE__*/ React.createElement("svg", _object_spread_props(_object_spread({
|
56
|
-
width: "100%",
|
57
|
-
viewBox: "0 0 24 24",
|
58
|
-
fill: "none"
|
59
|
-
}, props), {
|
60
|
-
xmlns: "http://www.w3.org/2000/svg"
|
61
|
-
}), /*#__PURE__*/ React.createElement("path", {
|
62
|
-
d: "M21.5 13.25C21.5985 13.25 21.6961 13.269 21.7871 13.3066C21.8781 13.3443 21.9606 13.4001 22.0303 13.4697C22.1 13.5394 22.1556 13.6218 22.1934 13.7129C22.2311 13.8039 22.25 13.9015 22.25 14C22.25 14.0985 22.2311 14.1961 22.1934 14.2871C22.1556 14.3782 22.1 14.4606 22.0303 14.5303L14.5303 22.0303C14.4606 22.0999 14.3781 22.1557 14.2871 22.1934C14.1961 22.231 14.0985 22.25 14 22.25C13.9015 22.25 13.8039 22.2311 13.7129 22.1934C13.6218 22.1556 13.5394 22.1 13.4697 22.0303C13.4001 21.9606 13.3443 21.8781 13.3066 21.7871C13.269 21.6961 13.25 21.5985 13.25 21.5C13.25 21.4015 13.269 21.3039 13.3066 21.2129C13.3443 21.1219 13.4001 21.0394 13.4697 20.9697L20.9697 13.4697C21.0394 13.4 21.1218 13.3444 21.2129 13.3066C21.3039 13.2689 21.4015 13.25 21.5 13.25Z",
|
63
|
-
fill: "currentColor"
|
64
|
-
}), /*#__PURE__*/ React.createElement("path", {
|
65
|
-
d: "M20 4.99902C20.0985 4.99902 20.1961 5.01892 20.2871 5.05664C20.3782 5.09438 20.4606 5.15 20.5303 5.21973C20.6 5.28938 20.6556 5.37184 20.6934 5.46289C20.7311 5.55392 20.751 5.65146 20.751 5.75C20.751 5.84855 20.7311 5.94607 20.6934 6.03711C20.6556 6.12816 20.6 6.21062 20.5303 6.28027L6.28027 20.5303C6.13955 20.671 5.94901 20.75 5.75 20.75C5.551 20.75 5.36045 20.671 5.21973 20.5303C5.07901 20.3895 5.00001 20.199 5 20C5 19.801 5.07902 19.6105 5.21973 19.4697L19.4697 5.21973C19.5394 5.14999 19.6218 5.09438 19.7129 5.05664C19.8039 5.01891 19.9015 4.99903 20 4.99902Z",
|
66
|
-
fill: "currentColor"
|
67
|
-
}));
|
68
|
-
};
|
@@ -1,71 +0,0 @@
|
|
1
|
-
function _define_property(obj, key, value) {
|
2
|
-
if (key in obj) {
|
3
|
-
Object.defineProperty(obj, key, {
|
4
|
-
value: value,
|
5
|
-
enumerable: true,
|
6
|
-
configurable: true,
|
7
|
-
writable: true
|
8
|
-
});
|
9
|
-
} else {
|
10
|
-
obj[key] = value;
|
11
|
-
}
|
12
|
-
return obj;
|
13
|
-
}
|
14
|
-
function _object_spread(target) {
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
17
|
-
var ownKeys = Object.keys(source);
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
21
|
-
}));
|
22
|
-
}
|
23
|
-
ownKeys.forEach(function(key) {
|
24
|
-
_define_property(target, key, source[key]);
|
25
|
-
});
|
26
|
-
}
|
27
|
-
return target;
|
28
|
-
}
|
29
|
-
function _object_without_properties(source, excluded) {
|
30
|
-
if (source == null) return {};
|
31
|
-
var target = _object_without_properties_loose(source, excluded);
|
32
|
-
var key, i;
|
33
|
-
if (Object.getOwnPropertySymbols) {
|
34
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
35
|
-
for(i = 0; i < sourceSymbolKeys.length; i++){
|
36
|
-
key = sourceSymbolKeys[i];
|
37
|
-
if (excluded.indexOf(key) >= 0) continue;
|
38
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
39
|
-
target[key] = source[key];
|
40
|
-
}
|
41
|
-
}
|
42
|
-
return target;
|
43
|
-
}
|
44
|
-
function _object_without_properties_loose(source, excluded) {
|
45
|
-
if (source == null) return {};
|
46
|
-
var target = {};
|
47
|
-
var sourceKeys = Object.keys(source);
|
48
|
-
var key, i;
|
49
|
-
for(i = 0; i < sourceKeys.length; i++){
|
50
|
-
key = sourceKeys[i];
|
51
|
-
if (excluded.indexOf(key) >= 0) continue;
|
52
|
-
target[key] = source[key];
|
53
|
-
}
|
54
|
-
return target;
|
55
|
-
}
|
56
|
-
import React from "react";
|
57
|
-
import { ResizeDiagonal } from "../Icon.assets/ResizeDiagonal";
|
58
|
-
import { IconRoot } from "../IconRoot";
|
59
|
-
export var IconResizeDiagonal = function(_param) {
|
60
|
-
var _param_size = _param.size, size = _param_size === void 0 ? 's' : _param_size, color = _param.color, className = _param.className, rest = _object_without_properties(_param, [
|
61
|
-
"size",
|
62
|
-
"color",
|
63
|
-
"className"
|
64
|
-
]);
|
65
|
-
return /*#__PURE__*/ React.createElement(IconRoot, _object_spread({
|
66
|
-
className: className,
|
67
|
-
size: size,
|
68
|
-
color: color,
|
69
|
-
icon: ResizeDiagonal
|
70
|
-
}, rest));
|
71
|
-
};
|
@@ -1,29 +0,0 @@
|
|
1
|
-
interface ReturnData {
|
2
|
-
topRight: {
|
3
|
-
width: string;
|
4
|
-
height: string;
|
5
|
-
top: string;
|
6
|
-
right: string;
|
7
|
-
};
|
8
|
-
bottomRight: {
|
9
|
-
width: string;
|
10
|
-
height: string;
|
11
|
-
right: string;
|
12
|
-
bottom: string;
|
13
|
-
};
|
14
|
-
bottomLeft: {
|
15
|
-
width: string;
|
16
|
-
height: string;
|
17
|
-
bottom: string;
|
18
|
-
left: string;
|
19
|
-
};
|
20
|
-
topLeft: {
|
21
|
-
width: string;
|
22
|
-
height: string;
|
23
|
-
top: string;
|
24
|
-
left: string;
|
25
|
-
};
|
26
|
-
}
|
27
|
-
export declare const getHandleStyles: (iconSize?: "xs" | "s" | "m") => ReturnData;
|
28
|
-
export {};
|
29
|
-
//# sourceMappingURL=getHandleStyles.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getHandleStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/Popup/utils/getHandleStyles.ts"],"names":[],"mappings":"AAAA,UAAU,UAAU;IAChB,QAAQ,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,WAAW,EAAE;QACT,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE;QACR,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,OAAO,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;KAChB,CAAC;CACL;AAmBD,eAAO,MAAM,eAAe,cAAc,IAAI,GAAG,GAAG,GAAG,GAAG,KAAS,UA8BlE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getRatioBasedOnPlacement.d.ts","sourceRoot":"","sources":["../../../../src/components/Popup/utils/getRatioBasedOnPlacement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,eAAO,MAAM,wBAAwB,cAAe,cAAc,KAAG,CAAC,MAAM,EAAE,MAAM,CA2BnF,CAAC"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import type { ResizeDirections } from '../Popup.types';
|
2
|
-
interface Directions {
|
3
|
-
top?: boolean;
|
4
|
-
right?: boolean;
|
5
|
-
bottom?: boolean;
|
6
|
-
left?: boolean;
|
7
|
-
topRight?: boolean;
|
8
|
-
bottomRight?: boolean;
|
9
|
-
bottomLeft?: boolean;
|
10
|
-
topLeft?: boolean;
|
11
|
-
}
|
12
|
-
export declare const getResizeDirections: (directions?: ResizeDirections) => Directions;
|
13
|
-
export {};
|
14
|
-
//# sourceMappingURL=getResizeDirections.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getResizeDirections.d.ts","sourceRoot":"","sources":["../../../../src/components/Popup/utils/getResizeDirections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,UAAU,UAAU;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,mBAAmB,gBAAiB,gBAAgB,KAAG,UAyDnE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ResizeDiagonal.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icon.assets/ResizeDiagonal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAW9C,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"IconResizeDiagonal.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icons/IconResizeDiagonal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAElD,CAAC"}
|