5htp-core 0.4.1 → 0.4.2
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 +2 -3
- package/src/client/app/index.ts +8 -7
- package/src/client/assets/css/components/button.less +13 -9
- package/src/client/assets/css/components/table.less +13 -1
- package/src/client/assets/css/core.less +0 -1
- package/src/client/assets/css/text/text.less +1 -2
- package/src/client/assets/css/utils/layouts.less +8 -0
- package/src/client/components/Form.ts +7 -1
- package/src/client/components/Select/index.tsx +14 -2
- package/src/client/components/Table/index.tsx +56 -80
- package/src/client/components/containers/Popover/index.tsx +2 -2
- package/src/client/components/input/Checkbox/index.tsx +6 -4
- package/src/client/components/inputv3/date/Calendar.css +156 -0
- package/src/client/components/inputv3/date/Clock.css +62 -0
- package/src/client/components/inputv3/date/DateTimePicker.css +132 -0
- package/src/client/components/inputv3/date/index.tsx +9 -9
- package/src/client/components/inputv3/index.tsx +36 -38
- package/src/client/services/router/index.tsx +3 -2
- package/src/client/services/router/request/api.ts +27 -10
- package/src/client/services/router/request/index.ts +0 -8
- package/src/common/router/layouts.ts +3 -2
- package/src/common/validation/schema.ts +2 -5
- package/src/common/validation/validators.ts +5 -6
- package/src/server/services/database/index.ts +2 -2
- package/src/server/services/router/response/index.ts +0 -0
- package/src/server/services/router/response/page/document.tsx +4 -6
- package/src/client/assets/fonts/Inter.zip +0 -0
- package/src/client/assets/fonts/Lato/index.less +0 -71
- package/src/client/assets/fonts/Lato/latin-400.woff2 +0 -0
- package/src/client/assets/fonts/Lato/latin-700.woff2 +0 -0
- package/src/client/assets/fonts/Lato/latin-900.woff2 +0 -0
- package/src/client/assets/fonts/Lato/latin-ext-400.woff2 +0 -0
- package/src/client/assets/fonts/Lato/latin-ext-700.woff2 +0 -0
- package/src/client/assets/fonts/Lato/latin-ext-900.woff2 +0 -0
- package/src/client/assets/fonts/Oswald.zip +0 -0
- package/src/client/components/inputv3/date/react-calendar.less +0 -143
- package/src/client/components/inputv3/date/react-daterange-picker.less +0 -112
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
.react-calendar {
|
|
2
|
-
width: 350px;
|
|
3
|
-
max-width: 100%;
|
|
4
|
-
background: white;
|
|
5
|
-
border: 1px solid #a0a096;
|
|
6
|
-
font-family: Arial, Helvetica, sans-serif;
|
|
7
|
-
line-height: 1.125em;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.react-calendar--doubleView {
|
|
11
|
-
width: 700px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.react-calendar--doubleView .react-calendar__viewContainer {
|
|
15
|
-
display: flex;
|
|
16
|
-
margin: -0.5em;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.react-calendar--doubleView .react-calendar__viewContainer > * {
|
|
20
|
-
width: 50%;
|
|
21
|
-
margin: 0.5em;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.react-calendar,
|
|
25
|
-
.react-calendar *,
|
|
26
|
-
.react-calendar *:before,
|
|
27
|
-
.react-calendar *:after {
|
|
28
|
-
-moz-box-sizing: border-box;
|
|
29
|
-
-webkit-box-sizing: border-box;
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.react-calendar button {
|
|
34
|
-
margin: 0;
|
|
35
|
-
border: 0;
|
|
36
|
-
outline: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.react-calendar button:enabled:hover {
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.react-calendar__navigation {
|
|
44
|
-
display: flex;
|
|
45
|
-
height: 44px;
|
|
46
|
-
margin-bottom: 1em;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.react-calendar__navigation button {
|
|
50
|
-
min-width: 44px;
|
|
51
|
-
background: none;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.react-calendar__navigation button:disabled {
|
|
55
|
-
background-color: #f0f0f0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.react-calendar__navigation button:enabled:hover,
|
|
59
|
-
.react-calendar__navigation button:enabled:focus {
|
|
60
|
-
background-color: #e6e6e6;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.react-calendar__month-view__weekdays {
|
|
64
|
-
text-align: center;
|
|
65
|
-
text-transform: uppercase;
|
|
66
|
-
font-weight: bold;
|
|
67
|
-
font-size: 0.75em;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.react-calendar__month-view__weekdays__weekday {
|
|
71
|
-
padding: 0.5em;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.react-calendar__month-view__weekNumbers .react-calendar__tile {
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
justify-content: center;
|
|
78
|
-
font-size: 0.75em;
|
|
79
|
-
font-weight: bold;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.react-calendar__month-view__days__day--weekend {
|
|
83
|
-
color: #d10000;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.react-calendar__month-view__days__day--neighboringMonth {
|
|
87
|
-
color: #757575;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.react-calendar__year-view .react-calendar__tile,
|
|
91
|
-
.react-calendar__decade-view .react-calendar__tile,
|
|
92
|
-
.react-calendar__century-view .react-calendar__tile {
|
|
93
|
-
padding: 2em 0.5em;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.react-calendar__tile {
|
|
97
|
-
max-width: 100%;
|
|
98
|
-
padding: 10px 6.6667px;
|
|
99
|
-
background: none;
|
|
100
|
-
text-align: center;
|
|
101
|
-
line-height: 16px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.react-calendar__tile:disabled {
|
|
105
|
-
background-color: #f0f0f0;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.react-calendar__tile:enabled:hover,
|
|
109
|
-
.react-calendar__tile:enabled:focus {
|
|
110
|
-
background-color: #e6e6e6;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.react-calendar__tile--now {
|
|
114
|
-
background: #ffff76;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.react-calendar__tile--now:enabled:hover,
|
|
118
|
-
.react-calendar__tile--now:enabled:focus {
|
|
119
|
-
background: #ffffa9;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.react-calendar__tile--hasActive {
|
|
123
|
-
background: #76baff;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.react-calendar__tile--hasActive:enabled:hover,
|
|
127
|
-
.react-calendar__tile--hasActive:enabled:focus {
|
|
128
|
-
background: #a9d4ff;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.react-calendar__tile--active {
|
|
132
|
-
background: #006edc;
|
|
133
|
-
color: white;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.react-calendar__tile--active:enabled:hover,
|
|
137
|
-
.react-calendar__tile--active:enabled:focus {
|
|
138
|
-
background: #1087ff;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.react-calendar--selectRange .react-calendar__tile--hover {
|
|
142
|
-
background-color: #e6e6e6;
|
|
143
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
.react-daterange-picker {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.react-daterange-picker,
|
|
7
|
-
.react-daterange-picker *,
|
|
8
|
-
.react-daterange-picker *:before,
|
|
9
|
-
.react-daterange-picker *:after {
|
|
10
|
-
-moz-box-sizing: border-box;
|
|
11
|
-
-webkit-box-sizing: border-box;
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.react-daterange-picker--disabled {
|
|
16
|
-
background-color: #f0f0f0;
|
|
17
|
-
color: #6d6d6d;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.react-daterange-picker__wrapper {
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-grow: 1;
|
|
23
|
-
flex-shrink: 0;
|
|
24
|
-
align-items: center;
|
|
25
|
-
border: thin solid gray;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.react-daterange-picker__inputGroup {
|
|
29
|
-
min-width: calc((4px * 3) + 0.54em * 8 + 0.217em * 2);
|
|
30
|
-
height: 100%;
|
|
31
|
-
flex-grow: 1;
|
|
32
|
-
padding: 0 2px;
|
|
33
|
-
box-sizing: content-box;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.react-daterange-picker__inputGroup__divider {
|
|
37
|
-
padding: 1px 0;
|
|
38
|
-
white-space: pre;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.react-daterange-picker__inputGroup__divider,
|
|
42
|
-
.react-daterange-picker__inputGroup__leadingZero {
|
|
43
|
-
display: inline-block;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.react-daterange-picker__inputGroup__input {
|
|
47
|
-
min-width: 0.54em;
|
|
48
|
-
height: 100%;
|
|
49
|
-
position: relative;
|
|
50
|
-
padding: 0 1px;
|
|
51
|
-
border: 0;
|
|
52
|
-
background: none;
|
|
53
|
-
font: inherit;
|
|
54
|
-
box-sizing: content-box;
|
|
55
|
-
-webkit-appearance: textfield;
|
|
56
|
-
-moz-appearance: textfield;
|
|
57
|
-
appearance: textfield;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.react-daterange-picker__inputGroup__input::-webkit-outer-spin-button,
|
|
61
|
-
.react-daterange-picker__inputGroup__input::-webkit-inner-spin-button {
|
|
62
|
-
-webkit-appearance: none;
|
|
63
|
-
-moz-appearance: none;
|
|
64
|
-
appearance: none;
|
|
65
|
-
margin: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.react-daterange-picker__inputGroup__input:invalid {
|
|
69
|
-
background: rgba(255, 0, 0, 0.1);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.react-daterange-picker__inputGroup__input--hasLeadingZero {
|
|
73
|
-
margin-left: -0.54em;
|
|
74
|
-
padding-left: calc(1px + 0.54em);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.react-daterange-picker__button {
|
|
78
|
-
border: 0;
|
|
79
|
-
background: transparent;
|
|
80
|
-
padding: 4px 6px;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.react-daterange-picker__button:enabled {
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.react-daterange-picker__button:enabled:hover .react-daterange-picker__button__icon,
|
|
88
|
-
.react-daterange-picker__button:enabled:focus .react-daterange-picker__button__icon {
|
|
89
|
-
stroke: #0078d7;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.react-daterange-picker__button:disabled .react-daterange-picker__button__icon {
|
|
93
|
-
stroke: #6d6d6d;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.react-daterange-picker__button svg {
|
|
97
|
-
display: inherit;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.react-daterange-picker__calendar {
|
|
101
|
-
width: 350px;
|
|
102
|
-
max-width: 100vw;
|
|
103
|
-
z-index: 1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.react-daterange-picker__calendar--closed {
|
|
107
|
-
display: none;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.react-daterange-picker__calendar .react-calendar {
|
|
111
|
-
border-width: thin;
|
|
112
|
-
}
|