@mailstep/design-system 0.7.25-beta.14 → 0.7.25-beta.17
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/package.json
CHANGED
|
@@ -4,8 +4,8 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { groupsHeight, timeIntervalWidth } from '../../utils/constants';
|
|
6
6
|
import styled, { th } from '@xstyled/styled-components';
|
|
7
|
-
export var GroupContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: ", "px;\n display: flex;\n border-bottom: 1px solid ", ";\n width:
|
|
8
|
-
export var GroupItem = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n width: ", ";\n
|
|
7
|
+
export var GroupContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: ", "px;\n display: flex;\n border-bottom: 1px solid ", ";\n width: max-content;\n flex: 0 0 auto;\n"], ["\n height: ", "px;\n display: flex;\n border-bottom: 1px solid ", ";\n width: max-content;\n flex: 0 0 auto;\n"])), groupsHeight, th.color('lightGray6'));
|
|
8
|
+
export var GroupItem = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n width: ", ";\n min-width: 350px;\n height: 100%;\n font-size: 14px;\n font-weight: 600;\n padding: 10px;\n border-right: 1px solid ", ";\n\n &:last-child {\n border-right: none;\n }\n"], ["\n background-color: ", ";\n width: ", ";\n min-width: 350px;\n height: 100%;\n font-size: 14px;\n font-weight: 600;\n padding: 10px;\n border-right: 1px solid ", ";\n\n &:last-child {\n border-right: none;\n }\n"])), function (_a) {
|
|
9
9
|
var bg = _a.bg;
|
|
10
10
|
return bg || th.color('bgLightGray');
|
|
11
11
|
}, function (_a) {
|
|
@@ -4,8 +4,8 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
4
4
|
};
|
|
5
5
|
import { minuteHeight, stepInMinutes, timeIntervalWidth } from '../../utils/constants';
|
|
6
6
|
import styled, { th } from '@xstyled/styled-components';
|
|
7
|
-
export var TimeSlotsContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n flex: 1 1 auto;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n width:
|
|
8
|
-
export var EmptyTimeSlot = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: ", "px;\n width: ", ";\n
|
|
7
|
+
export var TimeSlotsContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n flex: 1 1 auto;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n width: max-content;\n\n -ms-overflow-style: none;\n scrollbar-width: none;\n scroll-behavior: smooth;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"], ["\n position: relative;\n flex: 1 1 auto;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n width: max-content;\n\n -ms-overflow-style: none;\n scrollbar-width: none;\n scroll-behavior: smooth;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"])));
|
|
8
|
+
export var EmptyTimeSlot = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: ", "px;\n width: ", ";\n min-width: 350px;\n position: relative;\n background-color: ", ";\n cursor: ", ";\n border-right: 1px solid ", ";\n\n &:last-child {\n border-right: none;\n }\n\n &:hover {\n background-color: ", ";\n }\n"], ["\n height: ", "px;\n width: ", ";\n min-width: 350px;\n position: relative;\n background-color: ", ";\n cursor: ", ";\n border-right: 1px solid ", ";\n\n &:last-child {\n border-right: none;\n }\n\n &:hover {\n background-color: ", ";\n }\n"])), minuteHeight * stepInMinutes, function (_a) {
|
|
9
9
|
var groupsCount = _a.groupsCount;
|
|
10
10
|
return "calc((100% / ".concat(groupsCount, ") - (").concat(timeIntervalWidth, "px / ").concat(groupsCount, "))");
|
|
11
11
|
}, function (_a) {
|
package/ui/index.es.js
CHANGED
|
@@ -51550,7 +51550,7 @@ const Jke = (e = !0) => {
|
|
|
51550
51550
|
height: ${qke}px;
|
|
51551
51551
|
display: flex;
|
|
51552
51552
|
border-bottom: 1px solid ${W.color("lightGray6")};
|
|
51553
|
-
width:
|
|
51553
|
+
width: max-content;
|
|
51554
51554
|
flex: 0 0 auto;
|
|
51555
51555
|
`, eOe = Z.div`
|
|
51556
51556
|
background-color: ${({
|
|
@@ -51559,8 +51559,7 @@ const Jke = (e = !0) => {
|
|
|
51559
51559
|
width: ${({
|
|
51560
51560
|
groupsCount: e
|
|
51561
51561
|
}) => `calc((100% / ${e}) - (${n0}px / ${e}))`};
|
|
51562
|
-
|
|
51563
|
-
min-width: 300px;
|
|
51562
|
+
min-width: 350px;
|
|
51564
51563
|
height: 100%;
|
|
51565
51564
|
font-size: 14px;
|
|
51566
51565
|
font-weight: 600;
|
|
@@ -51757,7 +51756,7 @@ const cP = /* @__PURE__ */ Tn(aOe), oOe = Z.div`
|
|
|
51757
51756
|
overflow-y: auto;
|
|
51758
51757
|
display: flex;
|
|
51759
51758
|
flex-direction: column;
|
|
51760
|
-
width:
|
|
51759
|
+
width: max-content;
|
|
51761
51760
|
|
|
51762
51761
|
-ms-overflow-style: none;
|
|
51763
51762
|
scrollbar-width: none;
|
|
@@ -51771,8 +51770,7 @@ const cP = /* @__PURE__ */ Tn(aOe), oOe = Z.div`
|
|
|
51771
51770
|
width: ${({
|
|
51772
51771
|
groupsCount: e
|
|
51773
51772
|
}) => `calc((100% / ${e}) - (${n0}px / ${e}))`};
|
|
51774
|
-
|
|
51775
|
-
min-width: 300px;
|
|
51773
|
+
min-width: 350px;
|
|
51776
51774
|
position: relative;
|
|
51777
51775
|
background-color: ${({
|
|
51778
51776
|
isSlotSelected: e
|
package/ui/index.umd.js
CHANGED
|
@@ -3581,13 +3581,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
3581
3581
|
height: ${$Oe}px;
|
|
3582
3582
|
display: flex;
|
|
3583
3583
|
border-bottom: 1px solid ${H.color("lightGray6")};
|
|
3584
|
-
width:
|
|
3584
|
+
width: max-content;
|
|
3585
3585
|
flex: 0 0 auto;
|
|
3586
3586
|
`,tPe=Y.div`
|
|
3587
3587
|
background-color: ${({bg:e})=>e||H.color("bgLightGray")};
|
|
3588
3588
|
width: ${({groupsCount:e})=>`calc((100% / ${e}) - (${id}px / ${e}))`};
|
|
3589
|
-
|
|
3590
|
-
min-width: 300px;
|
|
3589
|
+
min-width: 350px;
|
|
3591
3590
|
height: 100%;
|
|
3592
3591
|
font-size: 14px;
|
|
3593
3592
|
font-weight: 600;
|
|
@@ -3658,7 +3657,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
3658
3657
|
overflow-y: auto;
|
|
3659
3658
|
display: flex;
|
|
3660
3659
|
flex-direction: column;
|
|
3661
|
-
width:
|
|
3660
|
+
width: max-content;
|
|
3662
3661
|
|
|
3663
3662
|
-ms-overflow-style: none;
|
|
3664
3663
|
scrollbar-width: none;
|
|
@@ -3670,8 +3669,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
3670
3669
|
`,bPe=Y.div`
|
|
3671
3670
|
height: ${pf*ad}px;
|
|
3672
3671
|
width: ${({groupsCount:e})=>`calc((100% / ${e}) - (${id}px / ${e}))`};
|
|
3673
|
-
|
|
3674
|
-
min-width: 300px;
|
|
3672
|
+
min-width: 350px;
|
|
3675
3673
|
position: relative;
|
|
3676
3674
|
background-color: ${({isSlotSelected:e})=>e?H.color("blue20"):""};
|
|
3677
3675
|
cursor: ${({isSlotSelected:e,activeTime:t})=>e||!t?"default":"pointer"};
|