scorer-ui-kit 1.7.8 → 1.7.9
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/LineUI/LineUI.d.ts +1 -0
- package/dist/LineUI/index.d.ts +2 -0
- package/dist/index.js +65 -17
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +65 -17
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/LineUI/LineUI.d.ts
CHANGED
package/dist/LineUI/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export interface IDragLineUISharedOptions {
|
|
|
35
35
|
setIndexOffset: number;
|
|
36
36
|
pointIndexOffset: number;
|
|
37
37
|
showPoint: boolean;
|
|
38
|
+
showDirectionMark?: boolean;
|
|
38
39
|
}
|
|
39
40
|
export interface LineUIOptions {
|
|
40
41
|
showHandleFinder?: boolean;
|
|
@@ -51,6 +52,7 @@ export interface LineUIOptions {
|
|
|
51
52
|
y: number;
|
|
52
53
|
};
|
|
53
54
|
boundaryOffset?: number;
|
|
55
|
+
showDirectionMark?: boolean;
|
|
54
56
|
}
|
|
55
57
|
export declare type LineUIVideoOptions = VideoHTMLAttributes<HTMLVideoElement>;
|
|
56
58
|
export { LineUI, LineUIVideo, LineUIRTC, LineReducer, LineSetContext };
|
package/dist/index.js
CHANGED
|
@@ -6559,7 +6559,7 @@ var HandleUnit = function HandleUnit(props) {
|
|
|
6559
6559
|
}, index + pointIndexOffset))));
|
|
6560
6560
|
};
|
|
6561
6561
|
|
|
6562
|
-
var _templateObject$H, _templateObject2$F, _templateObject3$z, _templateObject4$t, _templateObject5$q, _templateObject6$n, _templateObject7$m, _templateObject8$l, _templateObject9$i, _templateObject10$f, _templateObject11$b;
|
|
6562
|
+
var _templateObject$H, _templateObject2$F, _templateObject3$z, _templateObject4$t, _templateObject5$q, _templateObject6$n, _templateObject7$m, _templateObject8$l, _templateObject9$i, _templateObject10$f, _templateObject11$b, _templateObject12$6;
|
|
6563
6563
|
var ContrastLine = styled__default.line(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n stroke: ", ";\n mix-blend-mode: multiply;\n"])), function (_ref) {
|
|
6564
6564
|
var theme = _ref.theme,
|
|
6565
6565
|
styling = _ref.styling;
|
|
@@ -6602,6 +6602,7 @@ var GrabHandleContrast = styled__default(GrabHandle)(_templateObject9$i || (_tem
|
|
|
6602
6602
|
var GrabHandleGroup = styled__default.g(_templateObject10$f || (_templateObject10$f = _taggedTemplateLiteralLoose(["\n\n ", ", ", " {\n transition: r 250ms ease;\n }\n\n ", ";\n"])), GrabHandle, GrabHandleContrast, function (props) {
|
|
6603
6603
|
return props.showIndex && styled.css(_templateObject11$b || (_templateObject11$b = _taggedTemplateLiteralLoose(["\n ", ", ", " {\n pointer-events: none;\n r: ", ";\n }\n "])), GrabHandle, GrabHandleContrast, props.originalRadius * 1.75);
|
|
6604
6604
|
});
|
|
6605
|
+
var DMCircle = styled__default.circle(_templateObject12$6 || (_templateObject12$6 = _taggedTemplateLiteralLoose(["\n fill: hsla(203, 100%, 35%, 0.49);\n"])));
|
|
6605
6606
|
|
|
6606
6607
|
var LineUnit = function LineUnit(props) {
|
|
6607
6608
|
var x1 = props.x1,
|
|
@@ -6621,7 +6622,8 @@ var LineUnit = function LineUnit(props) {
|
|
|
6621
6622
|
var handleFinderActive = options.handleFinderActive,
|
|
6622
6623
|
revealSetIndex = options.revealSetIndex,
|
|
6623
6624
|
showMoveHandle = options.showMoveHandle,
|
|
6624
|
-
setIndexOffset = options.setIndexOffset
|
|
6625
|
+
setIndexOffset = options.setIndexOffset,
|
|
6626
|
+
showDirectionMark = options.showDirectionMark;
|
|
6625
6627
|
var a = x1 - x2;
|
|
6626
6628
|
var b = y1 - y2;
|
|
6627
6629
|
var distance = Math.sqrt(a * a + b * b);
|
|
@@ -6680,6 +6682,49 @@ var LineUnit = function LineUnit(props) {
|
|
|
6680
6682
|
x: (x2 + x1) / 2,
|
|
6681
6683
|
y: (y2 + y1) / 2
|
|
6682
6684
|
};
|
|
6685
|
+
|
|
6686
|
+
var directionMarkCoordinate = function directionMarkCoordinate() {
|
|
6687
|
+
var angle = Math.atan2(y2 - y1, x2 - x1);
|
|
6688
|
+
var angleMode = Math.PI / 2 - angle;
|
|
6689
|
+
var x = midpoint.x + Math.sin(angleMode) - 5;
|
|
6690
|
+
var y = midpoint.y + Math.cos(angleMode);
|
|
6691
|
+
var rotate = 180 / Math.PI * Math.atan2(y2 - y1, x2 - x1);
|
|
6692
|
+
var labelRotate = -rotate;
|
|
6693
|
+
return {
|
|
6694
|
+
x: x,
|
|
6695
|
+
y: y,
|
|
6696
|
+
rotate: rotate,
|
|
6697
|
+
labelRotate: labelRotate
|
|
6698
|
+
};
|
|
6699
|
+
};
|
|
6700
|
+
|
|
6701
|
+
var getDirectionMarkLine = function getDirectionMarkLine() {
|
|
6702
|
+
var dmCoordinate = directionMarkCoordinate();
|
|
6703
|
+
return React__default.createElement("g", {
|
|
6704
|
+
transform: "translate(" + dmCoordinate.x + "," + dmCoordinate.y + ") rotate(" + dmCoordinate.rotate + ") scale(" + unit * 1 + ")"
|
|
6705
|
+
}, React__default.createElement("g", {
|
|
6706
|
+
transform: 'translate(-3,-30) scale(0.8)'
|
|
6707
|
+
}, React__default.createElement(DMCircle, {
|
|
6708
|
+
r: 12,
|
|
6709
|
+
cx: 6,
|
|
6710
|
+
cy: 7
|
|
6711
|
+
}), React__default.createElement(Icon, {
|
|
6712
|
+
color: 'inverse',
|
|
6713
|
+
icon: 'Up',
|
|
6714
|
+
size: 12,
|
|
6715
|
+
weight: 'heavy',
|
|
6716
|
+
forSvgUsage: true
|
|
6717
|
+
})), React__default.createElement("g", {
|
|
6718
|
+
transform: "translate(0,30) rotate(" + dmCoordinate.labelRotate + ")"
|
|
6719
|
+
}, React__default.createElement(LabelText$2, {
|
|
6720
|
+
styling: styling,
|
|
6721
|
+
fontSize: 14 + "px",
|
|
6722
|
+
x: 0,
|
|
6723
|
+
y: 0,
|
|
6724
|
+
showIndex: revealSetIndex || handleFinderActive
|
|
6725
|
+
}, label)));
|
|
6726
|
+
};
|
|
6727
|
+
|
|
6683
6728
|
return React__default.createElement("g", null, React__default.createElement(ContrastLine, {
|
|
6684
6729
|
styling: styling,
|
|
6685
6730
|
strokeLinecap: 'round',
|
|
@@ -6725,7 +6770,7 @@ var LineUnit = function LineUnit(props) {
|
|
|
6725
6770
|
x: midpoint.x - 3 * unit,
|
|
6726
6771
|
y: midpoint.y + 4 * unit,
|
|
6727
6772
|
showIndex: revealSetIndex || handleFinderActive
|
|
6728
|
-
}, lineSetId + setIndexOffset)), label && React__default.createElement(LabelText$2, {
|
|
6773
|
+
}, lineSetId + setIndexOffset)), showDirectionMark ? getDirectionMarkLine() : label && React__default.createElement(LabelText$2, {
|
|
6729
6774
|
styling: styling,
|
|
6730
6775
|
fontSize: unit * 14 + "px",
|
|
6731
6776
|
x: midpoint.x - 16 * unit,
|
|
@@ -7021,7 +7066,9 @@ var LineUI = function LineUI(_ref) {
|
|
|
7021
7066
|
showPoint = _ref$options$showPoin2 === void 0 ? false : _ref$options$showPoin2,
|
|
7022
7067
|
fixedImgDimensions = _ref$options.fixedImgDimensions,
|
|
7023
7068
|
_ref$options$boundary = _ref$options.boundaryOffset,
|
|
7024
|
-
boundaryOffset = _ref$options$boundary === void 0 ? 0 : _ref$options$boundary
|
|
7069
|
+
boundaryOffset = _ref$options$boundary === void 0 ? 0 : _ref$options$boundary,
|
|
7070
|
+
_ref$options$showDire = _ref$options.showDirectionMark,
|
|
7071
|
+
showDirectionMark = _ref$options$showDire === void 0 ? false : _ref$options$showDire;
|
|
7025
7072
|
|
|
7026
7073
|
var _useState = React.useState({
|
|
7027
7074
|
x: {
|
|
@@ -7148,7 +7195,8 @@ var LineUI = function LineUI(_ref) {
|
|
|
7148
7195
|
showMoveHandle: showMoveHandle || showMoveHandle !== false && showGrabHandle !== false,
|
|
7149
7196
|
setIndexOffset: setIndexOffset,
|
|
7150
7197
|
pointIndexOffset: pointIndexOffset,
|
|
7151
|
-
showPoint: showPoint
|
|
7198
|
+
showPoint: showPoint,
|
|
7199
|
+
showDirectionMark: showDirectionMark
|
|
7152
7200
|
};
|
|
7153
7201
|
return React__default.createElement(Container$t, null, React__default.createElement(Image$1, {
|
|
7154
7202
|
ref: imgRef,
|
|
@@ -8839,7 +8887,7 @@ var TableHeaderTitle = function TableHeaderTitle(_ref4) {
|
|
|
8839
8887
|
}), header);
|
|
8840
8888
|
};
|
|
8841
8889
|
|
|
8842
|
-
var _templateObject$Y, _templateObject2$T, _templateObject3$J, _templateObject4$D, _templateObject5$z, _templateObject6$t, _templateObject7$r, _templateObject8$p, _templateObject9$k, _templateObject10$h, _templateObject11$d, _templateObject12$
|
|
8890
|
+
var _templateObject$Y, _templateObject2$T, _templateObject3$J, _templateObject4$D, _templateObject5$z, _templateObject6$t, _templateObject7$r, _templateObject8$p, _templateObject9$k, _templateObject10$h, _templateObject11$d, _templateObject12$7, _templateObject13$5, _templateObject14$4, _templateObject15$3;
|
|
8843
8891
|
var HeaderRow = styled__default.div(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n display: table-row;\n height: 50px;\n"])));
|
|
8844
8892
|
var HeaderItem = styled__default.div(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteralLoose(["\n display: table-cell;\n height: inherit;\n vertical-align:top;\n line-height: 20px;\n position: relative;\n font-family: ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (p) {
|
|
8845
8893
|
return p.theme.fontFamily.ui;
|
|
@@ -8866,7 +8914,7 @@ var TitleItems = styled__default.div(_templateObject9$k || (_templateObject9$k =
|
|
|
8866
8914
|
return alignment && styled.css(_templateObject10$h || (_templateObject10$h = _taggedTemplateLiteralLoose(["\n ", ";\n ", ";\n "])), alignment === 'right' ? 'align-items: flex-end' : null, alignment === 'center' ? 'align-items: center' : null);
|
|
8867
8915
|
});
|
|
8868
8916
|
var GroupTitle = styled__default.div(_templateObject11$d || (_templateObject11$d = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n margin-bottom: 4px;\n"])));
|
|
8869
|
-
var Title$4 = styled__default.div(_templateObject12$
|
|
8917
|
+
var Title$4 = styled__default.div(_templateObject12$7 || (_templateObject12$7 = _taggedTemplateLiteralLoose(["\n padding-left: 2px;\n padding-right: 8px;\n color: hsla(210, 2%, 51%, 0.65);\n font-weight: 500;\n font-size: 12px;\n letter-spacing: 0.3px;\n white-space: nowrap;\n"])));
|
|
8870
8918
|
var EmptyTitle = styled__default.div(_templateObject13$5 || (_templateObject13$5 = _taggedTemplateLiteralLoose(["\n height: 20px;\n"])));
|
|
8871
8919
|
var MiddleLine = styled__default.div(_templateObject14$4 || (_templateObject14$4 = _taggedTemplateLiteralLoose(["\n height: 1px;\n background: hsl(0, 0%, 93%);\n flex: 1;\n ", ";\n"])), function (_ref6) {
|
|
8872
8920
|
var isLastOfGroup = _ref6.isLastOfGroup;
|
|
@@ -11211,7 +11259,7 @@ var ContentArea = styled__default.div(_templateObject6$w || (_templateObject6$w
|
|
|
11211
11259
|
return paddingOverride ? paddingOverride : '70px 90px';
|
|
11212
11260
|
});
|
|
11213
11261
|
|
|
11214
|
-
var _templateObject$1a, _templateObject2$13, _templateObject3$V, _templateObject4$P, _templateObject5$K, _templateObject6$x, _templateObject7$t, _templateObject8$r, _templateObject9$m, _templateObject10$j, _templateObject11$e, _templateObject12$
|
|
11262
|
+
var _templateObject$1a, _templateObject2$13, _templateObject3$V, _templateObject4$P, _templateObject5$K, _templateObject6$x, _templateObject7$t, _templateObject8$r, _templateObject9$m, _templateObject10$j, _templateObject11$e, _templateObject12$8, _templateObject13$6, _templateObject14$5, _templateObject15$4, _templateObject16$3, _templateObject17$3, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2;
|
|
11215
11263
|
var ContextTitle = styled__default.div(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteralLoose(["\n opacity: 0;\n\n ", "\n\n ", "\n"])), function (_ref) {
|
|
11216
11264
|
var theme = _ref.theme;
|
|
11217
11265
|
return styled.css(_templateObject2$13 || (_templateObject2$13 = _taggedTemplateLiteralLoose(["\n transition: opacity ", " ", ";\n "])), theme.animation.speed.fast, theme.animation.easing.primary.easeInOut);
|
|
@@ -11232,7 +11280,7 @@ var StyledAnchor = styled__default.a(_templateObject9$m || (_templateObject9$m =
|
|
|
11232
11280
|
var ExternalIconWrapper = styled__default.div(_templateObject10$j || (_templateObject10$j = _taggedTemplateLiteralLoose(["\n margin-left: 15px;\n"])));
|
|
11233
11281
|
var ContextWrapper = styled__default.div(_templateObject11$e || (_templateObject11$e = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n\n ", "\n\n &:hover ", "{\n opacity: 1;\n ", ";\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n"])), ContextActionBaseCSS, function (_ref5) {
|
|
11234
11282
|
var theme = _ref5.theme;
|
|
11235
|
-
return theme && styled.css(_templateObject12$
|
|
11283
|
+
return theme && styled.css(_templateObject12$8 || (_templateObject12$8 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"]);
|
|
11236
11284
|
}, function (_ref6) {
|
|
11237
11285
|
var $menuOpen = _ref6.$menuOpen;
|
|
11238
11286
|
return $menuOpen && styled.css(_templateObject13$6 || (_templateObject13$6 = _taggedTemplateLiteralLoose(["\n ", "{\n opacity: 1;\n }\n"])), ContextTitle);
|
|
@@ -11472,7 +11520,7 @@ var useMenu = function useMenu(defaultMenuOpen) {
|
|
|
11472
11520
|
};
|
|
11473
11521
|
};
|
|
11474
11522
|
|
|
11475
|
-
var _templateObject$1b, _templateObject2$14, _templateObject3$W, _templateObject4$Q, _templateObject5$L, _templateObject6$y, _templateObject7$u, _templateObject8$s, _templateObject9$n, _templateObject10$k, _templateObject11$f, _templateObject12$
|
|
11523
|
+
var _templateObject$1b, _templateObject2$14, _templateObject3$W, _templateObject4$Q, _templateObject5$L, _templateObject6$y, _templateObject7$u, _templateObject8$s, _templateObject9$n, _templateObject10$k, _templateObject11$f, _templateObject12$9, _templateObject13$7, _templateObject14$6, _templateObject15$5;
|
|
11476
11524
|
var Submenu = styled__default.ul(_templateObject$1b || (_templateObject$1b = _taggedTemplateLiteralLoose(["\n display: block;\n position: relative;\n margin-left: 40px;\n padding: 0;\n\n"])));
|
|
11477
11525
|
var SubmenuHeader = styled__default.div(_templateObject2$14 || (_templateObject2$14 = _taggedTemplateLiteralLoose(["\n display: block;\n height: 40px;\n margin-left: 40px;\n"])));
|
|
11478
11526
|
var SubmenuItemTitle = styled__default.span(_templateObject3$W || (_templateObject3$W = _taggedTemplateLiteralLoose(["\n display: block;\n ", ";\n\n"])), function (_ref) {
|
|
@@ -11492,7 +11540,7 @@ var SubmenuItem = styled__default.li(_templateObject8$s || (_templateObject8$s =
|
|
|
11492
11540
|
});
|
|
11493
11541
|
var SubmenuContainer = styled__default.div(_templateObject11$f || (_templateObject11$f = _taggedTemplateLiteralLoose(["\n ", ";\n\n position: relative;\n overflow: hidden;\n\n &::after {\n display: block;\n content: '';\n width: 1px;\n position: absolute;\n left: 40px;\n top: 0;\n bottom: 35px;\n background: ", ";\n }\n\n"])), function (_ref4) {
|
|
11494
11542
|
var theme = _ref4.theme;
|
|
11495
|
-
return theme && styled.css(_templateObject12$
|
|
11543
|
+
return theme && styled.css(_templateObject12$9 || (_templateObject12$9 = _taggedTemplateLiteralLoose(["\n transition:\n max-height ", " ", ",\n opacity ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut, theme.animation.speed.fast, theme.animation.easing.primary.easeOut);
|
|
11496
11544
|
}, function (_ref5) {
|
|
11497
11545
|
var colors = _ref5.theme.colors;
|
|
11498
11546
|
return colors.divider;
|
|
@@ -11619,7 +11667,7 @@ var generateSubmenus = function generateSubmenus(submenu, onClickCallback) {
|
|
|
11619
11667
|
return output;
|
|
11620
11668
|
};
|
|
11621
11669
|
|
|
11622
|
-
var _templateObject$1c, _templateObject2$15, _templateObject3$X, _templateObject4$R, _templateObject5$M, _templateObject6$z, _templateObject7$v, _templateObject8$t, _templateObject9$o, _templateObject10$l, _templateObject11$g, _templateObject12$
|
|
11670
|
+
var _templateObject$1c, _templateObject2$15, _templateObject3$X, _templateObject4$R, _templateObject5$M, _templateObject6$z, _templateObject7$v, _templateObject8$t, _templateObject9$o, _templateObject10$l, _templateObject11$g, _templateObject12$a, _templateObject13$8, _templateObject14$7, _templateObject15$6;
|
|
11623
11671
|
var Logo = styled__default(reactRouterDom.Link)(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteralLoose(["\n height: 50px;\n margin: 0 20px 55px 15px;\n display: flex;\n\n object {\n pointer-events: none;\n }\n"])));
|
|
11624
11672
|
var LogoMark = styled__default.div(_templateObject2$15 || (_templateObject2$15 = _taggedTemplateLiteralLoose(["\n height: 50px;\n flex: 0 0 50px;\n margin-right: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n"])));
|
|
11625
11673
|
var LogoType = styled__default.div(_templateObject3$X || (_templateObject3$X = _taggedTemplateLiteralLoose(["\n opacity: 0;\n flex: 1;\n height: 50px;\n display: flex;\n justify-content: left;\n align-items: center;\n"])));
|
|
@@ -11636,7 +11684,7 @@ var PushContainer = styled__default.div(_templateObject10$l || (_templateObject1
|
|
|
11636
11684
|
isPinned = _ref2.isPinned;
|
|
11637
11685
|
return theme && styled.css(_templateObject11$g || (_templateObject11$g = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), isPinned ? theme.dimensions.global.mainMenu.width.open : theme.dimensions.global.mainMenu.width.closed);
|
|
11638
11686
|
});
|
|
11639
|
-
var Container$O = styled__default.div(_templateObject12$
|
|
11687
|
+
var Container$O = styled__default.div(_templateObject12$a || (_templateObject12$a = _taggedTemplateLiteralLoose(["\n z-index: 99;\n position: fixed;\n top: 0;\n left: 0;\n ", "\n\n box-sizing: border-box;\n height: 100%;\n padding: 20px 0 0 0;\n overflow: hidden;\n"])), function (_ref3) {
|
|
11640
11688
|
var theme = _ref3.theme,
|
|
11641
11689
|
open = _ref3.open,
|
|
11642
11690
|
desktopSize = _ref3.desktopSize;
|
|
@@ -11757,7 +11805,7 @@ var MainMenu = function MainMenu(_ref5) {
|
|
|
11757
11805
|
}) : null)))), document.body));
|
|
11758
11806
|
};
|
|
11759
11807
|
|
|
11760
|
-
var _templateObject$1d, _templateObject2$16, _templateObject3$Y, _templateObject4$S, _templateObject5$N, _templateObject6$A, _templateObject7$w, _templateObject8$u, _templateObject9$p, _templateObject10$m, _templateObject11$h, _templateObject12$
|
|
11808
|
+
var _templateObject$1d, _templateObject2$16, _templateObject3$Y, _templateObject4$S, _templateObject5$N, _templateObject6$A, _templateObject7$w, _templateObject8$u, _templateObject9$p, _templateObject10$m, _templateObject11$h, _templateObject12$b, _templateObject13$9, _templateObject14$8, _templateObject15$7, _templateObject16$4;
|
|
11761
11809
|
var DrawerTop = styled__default.div(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteralLoose([""])));
|
|
11762
11810
|
var DrawerBottom = styled__default.div(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref) {
|
|
11763
11811
|
var theme = _ref.theme;
|
|
@@ -11779,7 +11827,7 @@ var Logout = styled__default.div(_templateObject8$u || (_templateObject8$u = _ta
|
|
|
11779
11827
|
var LinkMenu = styled__default.ul(_templateObject9$p || (_templateObject9$p = _taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 12px 0 0 0;\n list-style: none;\n"])));
|
|
11780
11828
|
var LinkMenuItem = styled__default.li(_templateObject10$m || (_templateObject10$m = _taggedTemplateLiteralLoose(["\n padding: 10px 0;\n"])));
|
|
11781
11829
|
var IconWrapper$3 = styled__default.div(_templateObject11$h || (_templateObject11$h = _taggedTemplateLiteralLoose(["\n flex: 0 40px;\n width: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n > div {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"])));
|
|
11782
|
-
var LinkMenuItemA = styled__default(reactRouterDom.Link)(_templateObject12$
|
|
11830
|
+
var LinkMenuItemA = styled__default(reactRouterDom.Link)(_templateObject12$b || (_templateObject12$b = _taggedTemplateLiteralLoose(["\n ", ";\n display: block;\n width: 100%;\n\n ", ";\n\n ", ";\n"])), resetButtonStyles, function (_ref5) {
|
|
11783
11831
|
var theme = _ref5.theme;
|
|
11784
11832
|
return styled.css(_templateObject13$9 || (_templateObject13$9 = _taggedTemplateLiteralLoose(["\n ", ";\n\n &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem["default"], theme.typography.global.mainMenu.subItem.hover);
|
|
11785
11833
|
}, function (_ref6) {
|
|
@@ -11922,7 +11970,7 @@ var NotificationsHistory = function NotificationsHistory(_ref3) {
|
|
|
11922
11970
|
return React__default.createElement(Container$Q, null, unread && React__default.createElement(React.Fragment, null, React__default.createElement(StatusContainer, null, readNotificationsText), renderNotifications(unread, 'unread')), read && React__default.createElement(React.Fragment, null, React__default.createElement(StatusContainer, null, unreadNotificationsText), renderNotifications(read, 'read')));
|
|
11923
11971
|
};
|
|
11924
11972
|
|
|
11925
|
-
var _templateObject$1g, _templateObject2$19, _templateObject3$$, _templateObject4$U, _templateObject5$P, _templateObject6$C, _templateObject7$y, _templateObject8$w, _templateObject9$q, _templateObject10$n, _templateObject11$i, _templateObject12$
|
|
11973
|
+
var _templateObject$1g, _templateObject2$19, _templateObject3$$, _templateObject4$U, _templateObject5$P, _templateObject6$C, _templateObject7$y, _templateObject8$w, _templateObject9$q, _templateObject10$n, _templateObject11$i, _templateObject12$c, _templateObject13$a, _templateObject14$9;
|
|
11926
11974
|
var Container$R = styled__default.div(_templateObject$1g || (_templateObject$1g = _taggedTemplateLiteralLoose(["\n z-index: 9;\n position: sticky;\n top: 0;\n align-self: flex-start;\n height: 65px;\n width: 100%;\n display: flex;\n justify-content: space-between;\n\n ", "\n"])), function (_ref) {
|
|
11927
11975
|
var theme = _ref.theme,
|
|
11928
11976
|
colors = _ref.theme.colors;
|
|
@@ -11966,7 +12014,7 @@ var Drawer = styled__default.div(_templateObject11$i || (_templateObject11$i = _
|
|
|
11966
12014
|
return baseWidth ? baseWidth : "200px";
|
|
11967
12015
|
}, function (_ref11) {
|
|
11968
12016
|
var theme = _ref11.theme;
|
|
11969
|
-
return styled.css(_templateObject12$
|
|
12017
|
+
return styled.css(_templateObject12$c || (_templateObject12$c = _taggedTemplateLiteralLoose(["\n transition:\n opacity ", " ", ",\n right ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut);
|
|
11970
12018
|
}, function (_ref12) {
|
|
11971
12019
|
var isOpen = _ref12.isOpen;
|
|
11972
12020
|
return isOpen && styled.css(_templateObject13$a || (_templateObject13$a = _taggedTemplateLiteralLoose(["\n right: 0;\n opacity: 1;\n visibility: visible;\n "])));
|