kwant-ui 3.14.8 → 3.14.9-alpha.1
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/GlobalStyles/index.ts +51 -4
- package/dist/components/Calendar/CalendarUtils.d.ts +2 -5
- package/dist/components/HoverCalender/types.d.ts +1 -0
- package/dist/hooks/useDropdown.d.ts +11 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/dist/package.json +1 -1
- package/dist/stories/HoverCalender/HoverCalenderContainer.stories.d.ts +11 -0
- package/package.json +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +0 -19
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/Button.styled.d.ts.map +0 -1
- package/dist/components/Button/helper.d.ts.map +0 -1
- package/dist/components/Button/types.d.ts.map +0 -1
- package/dist/components/MultiSelect/onOutsideClick.d.ts +0 -3
- package/dist/components/Slider/Slider.d.ts.map +0 -1
- package/dist/components/Slider/Slider.styled.d.ts.map +0 -1
- package/dist/components/Slider/index.d.ts.map +0 -1
- package/dist/components/Slider/types.d.ts.map +0 -1
- package/dist/components/StepperDrawer/StepperDrawer.d.ts +0 -3
- package/dist/components/StepperDrawer/StepperDrawer.types.d.ts +0 -8
- package/dist/components/StepperDrawer/StepperDrawer.utils.d.ts +0 -1
- package/dist/components/StepperDrawer/StepperDrawerStyled.d.ts +0 -5
- package/dist/components/StepperDrawer/index.d.ts +0 -2
- package/dist/components/Text/TextStyled.d.ts.map +0 -1
- package/dist/components/Text/index.d.ts.map +0 -1
- package/dist/components/Text/types.d.ts.map +0 -1
- package/dist/components/Text/typography.d.ts.map +0 -1
- package/dist/components/Text/utils.d.ts.map +0 -1
- package/dist/components/stepper/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/kwant-ui.es.js +0 -4345
- package/dist/kwant-ui.umd.js +0 -507
- package/dist/public/assets/sprite.svg +0 -9502
- package/dist/stories/Drawer/StepperDrawerStory.d.ts +0 -2
- package/dist/stories/StepperDrawer.stories.d.ts +0 -72
- package/dist/themes/colors.d.ts.map +0 -1
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/types.d.ts.map +0 -1
- package/dist/types.d.ts +0 -572
package/GlobalStyles/index.ts
CHANGED
|
@@ -83,9 +83,14 @@ const GlobalStyles = createGlobalStyle<{ theme: Color }>`
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
.rmdp-calendar{
|
|
87
|
+
.rmdp-day-picker{
|
|
88
|
+
padding: 0;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
86
92
|
.date-picker-range{
|
|
87
93
|
.rmdp-calendar {
|
|
88
|
-
width: 576px;
|
|
89
94
|
.rmdp-day-picker{
|
|
90
95
|
gap: 24px;
|
|
91
96
|
}
|
|
@@ -124,6 +129,11 @@ const GlobalStyles = createGlobalStyle<{ theme: Color }>`
|
|
|
124
129
|
padding: 1.5rem;
|
|
125
130
|
}
|
|
126
131
|
|
|
132
|
+
.rmdp-header{
|
|
133
|
+
margin-top: 0;
|
|
134
|
+
padding: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
127
137
|
.rmdp-container {
|
|
128
138
|
width: 100%;
|
|
129
139
|
display: block !important;
|
|
@@ -171,13 +181,23 @@ const GlobalStyles = createGlobalStyle<{ theme: Color }>`
|
|
|
171
181
|
background-color: ${theme.secondary.secondary100};
|
|
172
182
|
}
|
|
173
183
|
.rmdp-week {
|
|
174
|
-
justify-content:
|
|
184
|
+
justify-content: space-between;
|
|
185
|
+
|
|
186
|
+
&:first-child {
|
|
187
|
+
padding: 16px 0;
|
|
188
|
+
margin-bottom: 0 !important;
|
|
189
|
+
|
|
190
|
+
.rmdp-week-day{
|
|
191
|
+
height: auto !important;
|
|
192
|
+
aspect-ratio: auto;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
175
196
|
.rmdp-day, .rmdp-week-day {
|
|
197
|
+
flex: 1;
|
|
176
198
|
${typography.body2};
|
|
177
199
|
font-weight: ${FONT_WEIGHT.regular};
|
|
178
200
|
color: ${theme.grey.grey500};
|
|
179
|
-
width: 32px;
|
|
180
|
-
height: 32px;
|
|
181
201
|
}
|
|
182
202
|
|
|
183
203
|
&:not(:last-child){
|
|
@@ -200,6 +220,33 @@ const GlobalStyles = createGlobalStyle<{ theme: Color }>`
|
|
|
200
220
|
color: ${(props) => props.theme.blue.blue1000} !important;
|
|
201
221
|
}
|
|
202
222
|
}
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
.rmdp-day.rmdp-range{
|
|
226
|
+
&.start, &.end{
|
|
227
|
+
background-color: ${theme.blue.blue100};
|
|
228
|
+
span{
|
|
229
|
+
background-color: red;
|
|
230
|
+
width: 32px;
|
|
231
|
+
height: 32px;
|
|
232
|
+
aspect-ratio: 1 !important;
|
|
233
|
+
position: static;
|
|
234
|
+
background-color: rgb(16, 63, 232);
|
|
235
|
+
border-radius: 50% !important;
|
|
236
|
+
}
|
|
237
|
+
&.start.end{
|
|
238
|
+
background-color: transparent;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
&.start{
|
|
243
|
+
border-radius: 50% 0 0 50% !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
&.end{
|
|
247
|
+
border-radius: 0 50% 50% 0 !important;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
203
250
|
|
|
204
251
|
.rmdp-day.rmdp-today span {
|
|
205
252
|
background-color: #d4e2e7;
|
|
@@ -11,11 +11,8 @@ export declare const CALENDAR_CONSTANTS: {
|
|
|
11
11
|
LAST_30_DAYS: DateObject[];
|
|
12
12
|
THIS_MONTH: DateObject[];
|
|
13
13
|
};
|
|
14
|
-
export declare const getSidebarOptions: (projectDuration?: ICalendar.ProjectDuration) =>
|
|
14
|
+
export declare const getSidebarOptions: (projectDuration?: ICalendar.ProjectDuration) => {
|
|
15
15
|
title: string;
|
|
16
16
|
value: () => DateObject[];
|
|
17
|
-
}
|
|
18
|
-
title: string;
|
|
19
|
-
value?: undefined;
|
|
20
|
-
})[];
|
|
17
|
+
}[];
|
|
21
18
|
export { fullMonthsText, regexInputValidate, weeks };
|