@mailstep/design-system 0.7.25-beta.4 → 0.7.25-beta.5
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,7 +4,7 @@ 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:
|
|
7
|
+
export var GroupContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: ", "px;\n display: flex;\n border-bottom: 1px solid ", ";\n width: 100%;\n"], ["\n height: ", "px;\n display: flex;\n border-bottom: 1px solid ", ";\n width: 100%;\n"])), groupsHeight, th.color('lightGray6'));
|
|
8
8
|
export var GroupItem = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n width: ", ";\n max-width: 400px;\n min-width: 300px;\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 max-width: 400px;\n min-width: 300px;\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');
|
|
@@ -4,7 +4,7 @@ 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 overflow-y: auto;\n display: flex;\n flex-direction: column;\n width:
|
|
7
|
+
export var TimeSlotsContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n width: 100%;\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 overflow-y: auto;\n display: flex;\n flex-direction: column;\n width: 100%;\n\n -ms-overflow-style: none;\n scrollbar-width: none;\n scroll-behavior: smooth;\n\n &::-webkit-scrollbar {\n display: none;\n }\n"])));
|
|
8
8
|
export var EmptyTimeSlot = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n height: ", "px;\n width: ", ";\n max-width: 400px;\n min-width: 300px;\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 max-width: 400px;\n min-width: 300px;\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, "))");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Scheduler as default } from './Scheduler';
|
|
2
|
-
export type { GroupType, ActiveHours, TimeSlotType, SelectedTimeSlotType } from './types';
|
|
2
|
+
export type { GroupType, ActiveHours, TimeSlotType, SelectedTimeSlotType, TimeSlotDefinitionType } from './types';
|
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: 100%;
|
|
51554
51554
|
`, eOe = Y.div`
|
|
51555
51555
|
background-color: ${({
|
|
51556
51556
|
bg: e
|
|
@@ -51749,7 +51749,7 @@ const cP = /* @__PURE__ */ Tn(aOe), oOe = Y.div`
|
|
|
51749
51749
|
overflow-y: auto;
|
|
51750
51750
|
display: flex;
|
|
51751
51751
|
flex-direction: column;
|
|
51752
|
-
width:
|
|
51752
|
+
width: 100%;
|
|
51753
51753
|
|
|
51754
51754
|
-ms-overflow-style: none;
|
|
51755
51755
|
scrollbar-width: none;
|
package/ui/index.umd.js
CHANGED
|
@@ -3581,7 +3581,7 @@ 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: 100%;
|
|
3585
3585
|
`,tPe=Y.div`
|
|
3586
3586
|
background-color: ${({bg:e})=>e||H.color("bgLightGray")};
|
|
3587
3587
|
width: ${({groupsCount:e})=>`calc((100% / ${e}) - (${R3}px / ${e}))`};
|
|
@@ -3655,7 +3655,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
3655
3655
|
overflow-y: auto;
|
|
3656
3656
|
display: flex;
|
|
3657
3657
|
flex-direction: column;
|
|
3658
|
-
width:
|
|
3658
|
+
width: 100%;
|
|
3659
3659
|
|
|
3660
3660
|
-ms-overflow-style: none;
|
|
3661
3661
|
scrollbar-width: none;
|